diff --git a/.babelrc b/.babelrc deleted file mode 100755 index cf39283..0000000 --- a/.babelrc +++ /dev/null @@ -1,24 +0,0 @@ -{ - "plugins": [ - [ - "babel-plugin-styled-components", - { - "ssr": false - } - ], - "@babel/plugin-proposal-class-properties" - ], - "presets": [ - [ - "@babel/env", - { - "targets": { - "node": "6.11.5" - }, - "spec": true, - "useBuiltIns": "usage" - } - ], - "@babel/react" - ] -} \ No newline at end of file diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 index b512c09..f813275 --- a/.gitignore +++ b/.gitignore @@ -1 +1,69 @@ -node_modules \ No newline at end of file +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Typescript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# dotenv environment variable files +.env* + +# gatsby files +.cache/ +public + +# Mac files +.DS_Store + +# Yarn +yarn-error.log +.pnp/ +.pnp.js +# Yarn Integrity file +.yarn-integrity diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..58d06c3 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,4 @@ +.cache +package.json +package-lock.json +public diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..33d2cfa --- /dev/null +++ b/.prettierrc @@ -0,0 +1,4 @@ +{ + "arrowParens": "avoid", + "semi": false +} diff --git a/Dockerfile b/Dockerfile deleted file mode 100755 index 132b639..0000000 --- a/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -FROM alpine:3.4 - -MAINTAINER spondbob spondbob@eamca.com - -# Install Nodejs -RUN apk add --update nodejs - -# Install & cache modules -ADD package.json /tmp/package.json -RUN cd /tmp && npm i webpack webpack-dev-server -g && npm install - -ENV NODE_ENV development - -# Add base code & node modules to app -ENV app /var/app -RUN mkdir -p $app && cp -a /tmp/node_modules $app -WORKDIR $app -ADD . $app - -CMD ["npm", "start"] \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..7e964c1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,14 @@ +The BSD Zero Clause License (0BSD) + +Copyright (c) 2020 Gatsby Inc. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/README.md b/README.md old mode 100755 new mode 100644 index 1bf1670..d8ae269 --- a/README.md +++ b/README.md @@ -1,18 +1,99 @@ -resume -============ - -### About -My digital resume allows readers to easily looking at relevant skill sets by filtering related experience and projects. Build with React library to manage contents and user interaction. - -### Stacks -- React: The Javascript library -- react-redux: Managing loaded data in the state -- json-loader: Loading JSON data into React environment -- Webpack & Babel: Javascript bundler -- Docker: Isolating applications and setting up required environment - -### Todos -- Use `id` instead of `section` consonants -- Refactor `all_data` state structure to use key-value, rather than index-value. i.e. `state[id] = ...` -- Use `keywords: {stacks: [...], name: [...]}` struture for each section items -- Show number of items of each section on sidebar navigation \ No newline at end of file + +

+ + Gatsby + +

+

+ Gatsby's hello-world starter +

+ +Kick off your project with this hello-world boilerplate. This starter ships with the main Gatsby configuration files you might need to get up and running blazing fast with the blazing fast app generator for React. + +_Have another more specific idea? You may want to check out our vibrant collection of [official and community-created starters](https://www.gatsbyjs.org/docs/gatsby-starters/)._ + +## πŸš€ Quick start + +1. **Create a Gatsby site.** + + Use the Gatsby CLI to create a new site, specifying the hello-world starter. + + ```shell + # create a new Gatsby site using the hello-world starter + gatsby new my-hello-world-starter https://github.com/gatsbyjs/gatsby-starter-hello-world + ``` + +1. **Start developing.** + + Navigate into your new site’s directory and start it up. + + ```shell + cd my-hello-world-starter/ + gatsby develop + ``` + +1. **Open the source code and start editing!** + + Your site is now running at `http://localhost:8000`! + + _Note: You'll also see a second link: _`http://localhost:8000/___graphql`_. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the [Gatsby tutorial](https://www.gatsbyjs.org/tutorial/part-five/#introducing-graphiql)._ + + Open the `my-hello-world-starter` directory in your code editor of choice and edit `src/pages/index.js`. Save your changes and the browser will update in real time! + +## 🧐 What's inside? + +A quick look at the top-level files and directories you'll see in a Gatsby project. + + . + β”œβ”€β”€ node_modules + β”œβ”€β”€ src + β”œβ”€β”€ .gitignore + β”œβ”€β”€ .prettierrc + β”œβ”€β”€ gatsby-browser.js + β”œβ”€β”€ gatsby-config.js + β”œβ”€β”€ gatsby-node.js + β”œβ”€β”€ gatsby-ssr.js + β”œβ”€β”€ LICENSE + β”œβ”€β”€ package-lock.json + β”œβ”€β”€ package.json + └── README.md + +1. **`/node_modules`**: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed. + +2. **`/src`**: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser) such as your site header or a page template. `src` is a convention for β€œsource code”. + +3. **`.gitignore`**: This file tells git which files it should not track / not maintain a version history for. + +4. **`.prettierrc`**: This is a configuration file for [Prettier](https://prettier.io/). Prettier is a tool to help keep the formatting of your code consistent. + +5. **`gatsby-browser.js`**: This file is where Gatsby expects to find any usage of the [Gatsby browser APIs](https://www.gatsbyjs.org/docs/browser-apis/) (if any). These allow customization/extension of default Gatsby settings affecting the browser. + +6. **`gatsby-config.js`**: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. (Check out the [config docs](https://www.gatsbyjs.org/docs/gatsby-config/) for more detail). + +7. **`gatsby-node.js`**: This file is where Gatsby expects to find any usage of the [Gatsby Node APIs](https://www.gatsbyjs.org/docs/node-apis/) (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process. + +8. **`gatsby-ssr.js`**: This file is where Gatsby expects to find any usage of the [Gatsby server-side rendering APIs](https://www.gatsbyjs.org/docs/ssr-apis/) (if any). These allow customization of default Gatsby settings affecting server-side rendering. + +9. **`LICENSE`**: This Gatsby starter is licensed under the 0BSD license. This means that you can see this file as a placeholder and replace it with your own license. + +10. **`package-lock.json`** (See `package.json` below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. **(You won’t change this file directly).** + +11. **`package.json`**: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project. + +12. **`README.md`**: A text file containing useful reference information about your project. + +## πŸŽ“ Learning Gatsby + +Looking for more guidance? Full documentation for Gatsby lives [on the website](https://www.gatsbyjs.org/). Here are some places to start: + +- **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://www.gatsbyjs.org/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process. + +- **To dive straight into code samples, head [to our documentation](https://www.gatsbyjs.org/docs/).** In particular, check out the _Guides_, _API Reference_, and _Advanced Tutorials_ sections in the sidebar. + +## πŸ’« Deploy + +[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/gatsbyjs/gatsby-starter-hello-world) + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/gatsbyjs/gatsby-starter-hello-world) + + diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100755 index 6cf71a1..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,16 +0,0 @@ -# Ref https://docs.docker.com/compose/compose-file/#/version-2 -version: '2' - -services: - webpack: - build: - context: . - dockerfile: Dockerfile - volumes: - - .:/var/app - - node_modules:/var/app/node_modules - ports: - - 8080:8080 -volumes: - node_modules: - driver: local \ No newline at end of file diff --git a/docs/CNAME b/docs/CNAME deleted file mode 100644 index 028b980..0000000 --- a/docs/CNAME +++ /dev/null @@ -1 +0,0 @@ -resume.eamca.com \ No newline at end of file diff --git a/docs/index.html b/docs/index.html deleted file mode 100755 index 586b2a4..0000000 --- a/docs/index.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - Rizky Noor Ichwan - Resume - - - - - - -
- - - - - - - \ No newline at end of file diff --git a/docs/main.js b/docs/main.js deleted file mode 100755 index 22819a9..0000000 --- a/docs/main.js +++ /dev/null @@ -1,106 +0,0 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=22)}([function(e,t,n){"use strict";e.exports=n(23)},function(e,t,n){e.exports=n(27)()},function(e,t,n){"use strict";e.exports=n(29)},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(24)},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return tt});var r=n(8),a=n.n(r),o=n(13),i=n.n(o),l=n(0),s=n.n(l),u=n(14),c=n(2),d=n(9),f=(n(1),n(3),n(21)),p=function(e,t){for(var n=[e[0]],r=0,a=t.length;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},k=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},w=function(e){return"object"===(void 0===e?"undefined":h(e))&&e.constructor===Object},S=Object.freeze([]),x=Object.freeze({});function T(e){return"function"==typeof e}function C(e){return e.displayName||e.name||"Component"}function E(e){return e&&"string"==typeof e.styledComponentId}var P=void 0!==e&&e.env.SC_ATTR||"data-styled",_="undefined"!=typeof window&&"HTMLElement"in window,N="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||!1,O={};var I=function(e){function t(n){m(this,t);for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o0&&-1!==n.slice(0,t).indexOf(W)&&n.slice(t-W.length,t)!==W?"."+z:e};D.use([function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(W)>0&&(n[0]=n[0].replace(B,$))},U,L]),M.use([U,L]);function H(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",a=e.join("").replace(R,""),o=t&&n?n+" "+t+" { "+a+" }":a;return z=r,W=t,B=new RegExp("\\"+W+"\\b","g"),D(n||!t?"":t,o)}var q=function(){return n.nc},V=function(e,t,n){n&&((e[t]||(e[t]=Object.create(null)))[n]=!0)},Q=function(e,t){e[t]=Object.create(null)},G=function(e){return function(t,n){return void 0!==e[t]&&e[t][n]}},K=function(e){var t="";for(var n in e)t+=Object.keys(e[n]).join(" ")+" ";return t.trim()},Y=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets.length,n=0;n"+e()+""}},te=function(e,t){return function(){var n,r=((n={})[P]=K(t),n["data-styled-version"]="4.1.1",n),a=q();return a&&(r.nonce=a),s.a.createElement("style",g({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},ne=function(e){return function(){return Object.keys(e)}},re=function(e){return document.createTextNode(J(e))},ae=function e(t,n){var r=void 0===t?Object.create(null):t,a=void 0===n?Object.create(null):n,o=function(e){var t=a[e];return void 0!==t?t:a[e]=[""]},i=function(){var e="";for(var t in a){var n=a[t][0];n&&(e+=J(t)+n)}return e};return{clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=g({},e[n]);return t}(r),n=Object.create(null);for(var o in a)n[o]=[a[o][0]];return e(t,n)},css:i,getIds:ne(a),hasNameForId:G(r),insertMarker:o,insertRules:function(e,t,n){o(e)[0]+=t.join(" "),V(r,e,n)},removeRules:function(e){var t=a[e];void 0!==t&&(t[0]="",Q(r,e))},sealed:!1,styleTag:null,toElement:te(i,r),toHTML:ee(i,r)}},oe=function(e,t,n,r,a){if(_&&!n){var o=function(e,t,n){var r=document.createElement("style");r.setAttribute(P,""),r.setAttribute("data-styled-version","4.1.1");var a=q();if(a&&r.setAttribute("nonce",a),r.appendChild(document.createTextNode("")),e&&!t)e.appendChild(r);else{if(!t||!e||!t.parentNode)throw new I(6);t.parentNode.insertBefore(r,n?t:t.nextSibling)}return r}(e,t,r);return N?function(e,t){var n=Object.create(null),r=Object.create(null),a=void 0!==t,o=!1,i=function(t){var a=r[t];return void 0!==a?a:(r[t]=re(t),e.appendChild(r[t]),n[t]=Object.create(null),r[t])},l=function(){var e="";for(var t in r)e+=r[t].data;return e};return{clone:function(){throw new I(5)},css:l,getIds:ne(r),hasNameForId:G(n),insertMarker:i,insertRules:function(e,r,l){for(var s=i(e),u=[],c=r.length,d=0;d0&&(o=!0,t().insertRules(e+"-import",u))},removeRules:function(i){var l=r[i];if(void 0!==l){var s=re(i);e.replaceChild(s,l),r[i]=s,Q(n,i),a&&o&&t().removeRules(i+"-import")}},sealed:!1,styleTag:e,toElement:te(l,n),toHTML:ee(l,n)}}(o,a):function(e,t){var n=Object.create(null),r=Object.create(null),a=[],o=void 0!==t,i=!1,l=function(e){var t=r[e];return void 0!==t?t:(r[e]=a.length,a.push(0),Q(n,e),r[e])},s=function(){var t=Y(e).cssRules,n="";for(var o in r){n+=J(o);for(var i=r[o],l=Z(a,i),s=l-a[i];s0&&(i=!0,t().insertRules(r+"-import",h)),a[c]+=p,V(n,r,u)},removeRules:function(l){var s=r[l];if(void 0!==s){var u=a[s];!function(e,t,n){for(var r=t-n,a=t;a>r;a-=1)e.deleteRule(a)}(Y(e),Z(a,s)-1,u),a[s]=0,Q(n,l),o&&i&&t().removeRules(l+"-import")}},sealed:!1,styleTag:e,toElement:te(s,n),toHTML:ee(s,n)}}(o,a)}return ae()},ie=/\s+/,le=void 0;le=_?N?40:1e3:-1;var se=0,ue=void 0,ce=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];m(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=oe(t.target,n?n.styleTag:null,t.forceServer,!0)},se+=1,this.id=se,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!_||this.forceServer)return this;var e=[],t=[],n=!1,r=document.querySelectorAll("style["+P+'][data-styled-version="4.1.1"]'),a=r.length;if(!a)return this;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];ue=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map(function(e){for(var n=e.getIds(),r=e.clone(),a=0;a1?t-1:0),r=1;r=4;)t=1540483477*(65535&(t=255&e.charCodeAt(a)|(255&e.charCodeAt(++a))<<8|(255&e.charCodeAt(++a))<<16|(255&e.charCodeAt(++a))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++a;switch(n){case 3:r^=(255&e.charCodeAt(a+2))<<16;case 2:r^=(255&e.charCodeAt(a+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(a)))+((1540483477*(r>>>16)&65535)<<16)}return((r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16))^r>>>15)>>>0}var be=52,ke=function(e){return String.fromCharCode(e+(e>25?39:97))};function we(e){var t="",n=void 0;for(n=e;n>be;n=Math.floor(n/be))t=ke(n%be)+t;return ke(n%be)+t}function Se(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:x,r=!!n&&e.theme===n.theme;return e.theme&&!r?e.theme:t||n.theme},_e=/[[\].#*$><+~=|^:(),"'`-]+/g,Ne=/(^-|-$)/g;function Oe(e){return e.replace(_e,"-").replace(Ne,"")}function Ie(e){return"string"==typeof e}var Ae={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},je={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Re=((xe={})[c.ForwardRef]={$$typeof:!0,render:!0},xe),Me=Object.defineProperty,De=Object.getOwnPropertyNames,Fe=Object.getOwnPropertySymbols,Le=void 0===Fe?function(){return[]}:Fe,Ue=Object.getOwnPropertyDescriptor,ze=Object.getPrototypeOf,We=Object.prototype,Be=Array.prototype;function $e(e,t,n){if("string"!=typeof t){var r=ze(t);r&&r!==We&&$e(e,r,n);for(var a=Be.concat(De(t),Le(t)),o=Re[e.$$typeof]||Ae,i=Re[t.$$typeof]||Ae,l=a.length,s=void 0,u=void 0;l--;)if(u=a[l],!(je[u]||n&&n[u]||i&&i[u]||o&&o[u])&&(s=Ue(t,u)))try{Me(e,u,s)}catch(e){}return e}return e}var He=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}},qe=Object(l.createContext)(),Ve=qe.Consumer,Qe=(function(e){function t(n){m(this,t);var r=k(this,e.call(this,n));return r.getContext=Object(d.a)(r.getContext.bind(r)),r.renderInner=r.renderInner.bind(r),r}v(t,e),t.prototype.render=function(){return this.props.children?s.a.createElement(qe.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return s.a.createElement(qe.Provider,{value:t},s.a.Children.only(this.props.children))},t.prototype.getTheme=function(e,t){if(T(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":h(e)))throw new I(8);return g({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)}}(l.Component),function(){function e(){m(this,e),this.masterSheet=ce.master,this.instance=this.masterSheet.clone(),this.sealed=!1}e.prototype.seal=function(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},e.prototype.collectStyles=function(e){if(this.sealed)throw new I(2);return s.a.createElement(Ke,{sheet:this.instance},e)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(e){throw new I(3)}}(),Object(l.createContext)()),Ge=Qe.Consumer,Ke=function(e){function t(n){m(this,t);var r=k(this,e.call(this,n));return r.getContext=Object(d.a)(r.getContext),r}return v(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new ce(t);throw new I(4)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.sheet,r=e.target;return s.a.createElement(Qe.Provider,{value:this.getContext(n,r)},t)},t}(l.Component),Ye=(new Set,{});He(function(){return console.warn('The "innerRef" API has been removed in styled-components v4 in favor of React 16 ref forwarding, use "ref" instead like a typical component.')}),He(function(e,t){return console.warn('Functions as object-form attrs({}) keys are now deprecated and will be removed in a future version of styled-components. Switch to the new attrs(props => ({})) syntax instead for easier and more powerful composition. The attrs key in question is "'+e+'" on component "'+t+'".')}),He(function(e,t){return console.warn("It looks like you've used a non styled-component as the value for the \""+e+'" prop in an object-form attrs constructor of "'+t+"\".\nYou should use the new function-form attrs constructor which avoids this issue: attrs(props => ({ yourStuff }))\nTo continue using the deprecated object syntax, you'll need to wrap your component prop in a function to make it available inside the styled component (you'll still get the deprecation warning though.)\nFor example, { "+e+": () => InnerComponent } instead of { "+e+": InnerComponent }")});var Xe=function(e){function t(){m(this,t);var n=k(this,e.call(this));return n.attrs={},n.renderOuter=n.renderOuter.bind(n),n.renderInner=n.renderInner.bind(n),n}return v(t,e),t.prototype.render=function(){return s.a.createElement(Ge,null,this.renderOuter)},t.prototype.renderOuter=function(e){return this.styleSheet=e,this.props.forwardedClass.componentStyle.isStatic?this.renderInner():s.a.createElement(Ve,null,this.renderInner)},t.prototype.renderInner=function(e){var t=this.props.forwardedClass,n=t.componentStyle,r=t.defaultProps,a=t.styledComponentId,o=t.target,i=void 0;i=n.isStatic?this.generateAndInjectStyles(x,this.props,this.styleSheet):void 0!==e?this.generateAndInjectStyles(Pe(this.props,e,r),this.props,this.styleSheet):this.generateAndInjectStyles(this.props.theme||x,this.props,this.styleSheet);var s=this.props.as||this.attrs.as||o,u=Ie(s),c={},d=g({},this.attrs,this.props),p=void 0;for(p in d)"forwardedClass"!==p&&"as"!==p&&("forwardedRef"===p?c.ref=d[p]:u&&!Object(f.a)(p)||(c[p]=d[p]));return this.props.style&&this.attrs.style&&(c.style=g({},this.attrs.style,this.props.style)),c.className=[this.props.className,a,this.attrs.className,i].filter(Boolean).join(" "),Object(l.createElement)(s,c)},t.prototype.buildExecutionContext=function(e,t,n){var r=this,a=g({},t,{theme:e});return n.length?(this.attrs={},n.forEach(function(e){var n,o=e,i=!1,l=void 0,s=void 0;for(s in T(o)&&(o=o(t),i=!0),o)l=o[s],i||!T(l)||(n=l)&&n.prototype&&n.prototype.isReactComponent||E(l)||(l=l(a)),r.attrs[s]=l,a[s]=l}),a):a},t.prototype.generateAndInjectStyles=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ce.master,r=t.forwardedClass,a=r.attrs,o=r.componentStyle;r.warnTooManyClasses;return o.isStatic&&!a.length?o.generateAndInjectStyles(x,n):o.generateAndInjectStyles(this.buildExecutionContext(e,t,a),n)},t}(l.Component);function Je(e,t,n){var r=E(e),a=!Ie(e),o=t.displayName,i=void 0===o?function(e){return Ie(e)?"styled."+e:"Styled("+C(e)+")"}(e):o,l=t.componentId,u=void 0===l?function(e,t,n){var r="string"!=typeof t?"sc":Oe(t),a=(Ye[r]||0)+1;Ye[r]=a;var o=r+"-"+e.generateName(r+a);return n?n+"-"+o:o}(Ee,t.displayName,t.parentComponentId):l,c=t.ParentComponent,d=void 0===c?Xe:c,f=t.attrs,p=void 0===f?S:f,h=t.displayName&&t.componentId?Oe(t.displayName)+"-"+t.componentId:t.componentId||u,m=r&&e.attrs?Array.prototype.concat(e.attrs,p).filter(Boolean):p,y=new Ee(r?e.componentStyle.rules.concat(n):n,m,h),v=s.a.forwardRef(function(e,t){return s.a.createElement(d,g({},e,{forwardedClass:v,forwardedRef:t}))});return v.attrs=m,v.componentStyle=y,v.displayName=i,v.styledComponentId=h,v.target=r?e.target:e,v.withComponent=function(e){var r=t.componentId,a=b(t,["componentId"]),o=r&&r+"-"+(Ie(e)?e:Oe(C(e)));return Je(e,g({},a,{attrs:m,componentId:o,ParentComponent:d}),n)},v.toString=function(){return"."+v.styledComponentId},a&&$e(v,e,{attrs:!0,componentStyle:!0,displayName:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var Ze=function(e){return function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:x;if(!Object(c.isValidElementType)(n))throw new I(1,String(n));var a=function(){return t(n,r,ge.apply(void 0,arguments))};return a.withConfig=function(a){return e(t,n,g({},r,a))},a.attrs=function(a){return e(t,n,g({},r,{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)}))},a}(Je,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){Ze[e]=Ze(e)});var et=function(){function e(t,n){m(this,e),this.rules=t,this.componentId=n,this.isStatic=Se(t,S),ce.master.hasId(n)||ce.master.deferredInject(n,[])}return e.prototype.createStyles=function(e,t){var n=H(ye(this.rules,e,t),"");t.inject(this.componentId,n)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)},e}();function tt(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r])/g,v=/([[}=:>])\s+/g,b=/(\{[^{]+?);(?=\})/g,k=/\s{2,}/g,w=/([^\(])(:+) */g,S=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,T=/([\s\S]*?);/g,C=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,P=/stretch|:\s*\w+\-(?:conte|avail)/,_=/([^-])(image-set\()/,N="-webkit-",O="-moz-",I="-ms-",A=59,j=125,R=123,M=40,D=41,F=91,L=93,U=10,z=13,W=9,B=64,$=32,H=38,q=45,V=95,Q=42,G=44,K=58,Y=39,X=34,J=47,Z=62,ee=43,te=126,ne=0,re=12,ae=11,oe=107,ie=109,le=115,se=112,ue=111,ce=105,de=99,fe=100,pe=112,he=1,me=1,ye=0,ge=1,ve=1,be=1,ke=0,we=0,Se=0,xe=[],Te=[],Ce=0,Ee=null,Pe=-2,_e=-1,Ne=0,Oe=1,Ie=2,Ae=3,je=0,Re=1,Me="",De="",Fe="";function Le(e,t,a,o,i){for(var l,s,c=0,d=0,f=0,p=0,g=0,v=0,b=0,k=0,S=0,T=0,C=0,E=0,P=0,_=0,V=0,ke=0,Te=0,Ee=0,Pe=0,_e=a.length,ze=_e-1,Ve="",Qe="",Ge="",Ke="",Ye="",Xe="";V<_e;){if(b=a.charCodeAt(V),V===ze&&d+p+f+c!==0&&(0!==d&&(b=d===J?U:J),p=f=c=0,_e++,ze++),d+p+f+c===0){if(V===ze&&(ke>0&&(Qe=Qe.replace(r,"")),Qe.trim().length>0)){switch(b){case $:case W:case A:case z:case U:break;default:Qe+=a.charAt(V)}b=A}if(1===Te)switch(b){case R:case j:case A:case X:case Y:case M:case D:case G:Te=0;case W:case z:case U:case $:break;default:for(Te=0,Pe=V,g=b,V--,b=A;Pe<_e;)switch(a.charCodeAt(Pe++)){case U:case z:case A:++V,b=g,Pe=_e;break;case K:ke>0&&(++V,b=g);case R:Pe=_e}}switch(b){case R:for(g=(Qe=Qe.trim()).charCodeAt(0),C=1,Pe=++V;V<_e;){switch(b=a.charCodeAt(V)){case R:C++;break;case j:C--;break;case J:switch(v=a.charCodeAt(V+1)){case Q:case J:V=qe(v,V,ze,a)}break;case F:b++;case M:b++;case X:case Y:for(;V++0&&(Qe=Qe.replace(r,"")),v=Qe.charCodeAt(1)){case fe:case ie:case le:case q:l=t;break;default:l=xe}if(Pe=(Ge=Le(t,l,Ge,v,i+1)).length,Se>0&&0===Pe&&(Pe=Qe.length),Ce>0&&(l=Ue(xe,Qe,Ee),s=He(Ae,Ge,l,t,me,he,Pe,v,i,o),Qe=l.join(""),void 0!==s&&0===(Pe=(Ge=s.trim()).length)&&(v=0,Ge="")),Pe>0)switch(v){case le:Qe=Qe.replace(x,$e);case fe:case ie:case q:Ge=Qe+"{"+Ge+"}";break;case oe:Ge=(Qe=Qe.replace(h,"$1 $2"+(Re>0?Me:"")))+"{"+Ge+"}",Ge=1===ve||2===ve&&Be("@"+Ge,3)?"@"+N+Ge+"@"+Ge:"@"+Ge;break;default:Ge=Qe+Ge,o===pe&&(Ke+=Ge,Ge="")}else Ge="";break;default:Ge=Le(t,Ue(t,Qe,Ee),Ge,o,i+1)}Ye+=Ge,E=0,Te=0,_=0,ke=0,Ee=0,P=0,Qe="",Ge="",b=a.charCodeAt(++V);break;case j:case A:if((Pe=(Qe=(ke>0?Qe.replace(r,""):Qe).trim()).length)>1)switch(0===_&&((g=Qe.charCodeAt(0))===q||g>96&&g<123)&&(Pe=(Qe=Qe.replace(" ",":")).length),Ce>0&&void 0!==(s=He(Oe,Qe,t,e,me,he,Ke.length,o,i,o))&&0===(Pe=(Qe=s.trim()).length)&&(Qe="\0\0"),g=Qe.charCodeAt(0),v=Qe.charCodeAt(1),g){case ne:break;case B:if(v===ce||v===de){Xe+=Qe+a.charAt(V);break}default:if(Qe.charCodeAt(Pe-1)===K)break;Ke+=We(Qe,g,v,Qe.charCodeAt(2))}E=0,Te=0,_=0,ke=0,Ee=0,Qe="",b=a.charCodeAt(++V)}}switch(b){case z:case U:if(d+p+f+c+we===0)switch(T){case D:case Y:case X:case B:case te:case Z:case Q:case ee:case J:case q:case K:case G:case A:case R:case j:break;default:_>0&&(Te=1)}d===J?d=0:ge+E===0&&o!==oe&&Qe.length>0&&(ke=1,Qe+="\0"),Ce*je>0&&He(Ne,Qe,t,e,me,he,Ke.length,o,i,o),he=1,me++;break;case A:case j:if(d+p+f+c===0){he++;break}default:switch(he++,Ve=a.charAt(V),b){case W:case $:if(p+c+d===0)switch(k){case G:case K:case W:case $:Ve="";break;default:b!==$&&(Ve=" ")}break;case ne:Ve="\\0";break;case re:Ve="\\f";break;case ae:Ve="\\v";break;case H:p+d+c===0&&ge>0&&(Ee=1,ke=1,Ve="\f"+Ve);break;case 108:if(p+d+c+ye===0&&_>0)switch(V-_){case 2:k===se&&a.charCodeAt(V-3)===K&&(ye=k);case 8:S===ue&&(ye=S)}break;case K:p+d+c===0&&(_=V);break;case G:d+f+p+c===0&&(ke=1,Ve+="\r");break;case X:case Y:0===d&&(p=p===b?0:0===p?b:p);break;case F:p+d+f===0&&c++;break;case L:p+d+f===0&&c--;break;case D:p+d+c===0&&f--;break;case M:if(p+d+c===0){if(0===E)switch(2*k+3*S){case 533:break;default:C=0,E=1}f++}break;case B:d+f+p+c+_+P===0&&(P=1);break;case Q:case J:if(p+c+f>0)break;switch(d){case 0:switch(2*b+3*a.charCodeAt(V+1)){case 235:d=J;break;case 220:Pe=V,d=Q}break;case Q:b===J&&k===Q&&Pe+2!==V&&(33===a.charCodeAt(Pe+2)&&(Ke+=a.substring(Pe,V+1)),Ve="",d=0)}}if(0===d){if(ge+p+c+P===0&&o!==oe&&b!==A)switch(b){case G:case te:case Z:case ee:case D:case M:if(0===E){switch(k){case W:case $:case U:case z:Ve+="\0";break;default:Ve="\0"+Ve+(b===G?"":"\0")}ke=1}else switch(b){case M:_+7===V&&108===k&&(_=0),E=++C;break;case D:0==(E=--C)&&(ke=1,Ve+="\0")}break;case W:case $:switch(k){case ne:case R:case j:case A:case G:case re:case W:case $:case U:case z:break;default:0===E&&(ke=1,Ve+="\0")}}Qe+=Ve,b!==$&&b!==W&&(T=b)}}S=k,k=b,V++}if(Pe=Ke.length,Se>0&&0===Pe&&0===Ye.length&&0===t[0].length==0&&(o!==ie||1===t.length&&(ge>0?De:Fe)===t[0])&&(Pe=t.join(",").length+2),Pe>0){if(l=0===ge&&o!==oe?function(e){for(var t,n,a=0,o=e.length,i=Array(o);a1)){if(f=s.charCodeAt(s.length-1),p=n.charCodeAt(0),t="",0!==c)switch(f){case Q:case te:case Z:case ee:case $:case M:break;default:t=" "}switch(p){case H:n=t+De;case te:case Z:case ee:case $:case D:case M:break;case F:n=t+n+De;break;case K:switch(2*n.charCodeAt(1)+3*n.charCodeAt(2)){case 530:if(be>0){n=t+n.substring(8,d-1);break}default:(c<1||l[c-1].length<1)&&(n=t+De+n)}break;case G:t="";default:n=d>1&&n.indexOf(":")>0?t+n.replace(w,"$1"+De+"$2"):t+n+De}s+=n}i[a]=s.replace(r,"").trim()}return i}(t):t,Ce>0&&void 0!==(s=He(Ie,Ke,l,e,me,he,Pe,o,i,o))&&0===(Ke=s).length)return Xe+Ke+Ye;if(Ke=l.join(",")+"{"+Ke+"}",ve*ye!=0){switch(2!==ve||Be(Ke,2)||(ye=0),ye){case ue:Ke=Ke.replace(y,":"+O+"$1")+Ke;break;case se:Ke=Ke.replace(m,"::"+N+"input-$1")+Ke.replace(m,"::"+O+"$1")+Ke.replace(m,":"+I+"input-$1")+Ke}ye=0}}return Xe+Ke+Ye}function Ue(e,t,n){var r=t.trim().split(c),a=r,o=r.length,i=e.length;switch(i){case 0:case 1:for(var l=0,s=0===i?"":e[0]+" ";l0&&ge>0)return a.replace(f,"$1").replace(d,"$1"+Fe);break;default:return e.trim()+a.replace(d,"$1"+e.trim())}default:if(n*ge>0&&a.indexOf("\f")>0)return a.replace(d,(e.charCodeAt(0)===K?"":"$1")+e.trim())}return e+a}function We(e,t,n,r){var u,c=0,d=e+";",f=2*t+3*n+4*r;if(944===f)return function(e){var t=e.length,n=e.indexOf(":",9)+1,r=e.substring(0,n).trim(),a=e.substring(n,t-1).trim();switch(e.charCodeAt(9)*Re){case 0:break;case q:if(110!==e.charCodeAt(10))break;default:for(var o=a.split((a="",l)),i=0,n=0,t=o.length;iB&&d<90||d>96&&d<123||d===V||d===q&&u.charCodeAt(1)!==q))switch(isNaN(parseFloat(u))+(-1!==u.indexOf("("))){case 1:switch(u){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:u+=Me}}c[n++]=u}a+=(0===i?"":",")+c.join(" ")}}return a=r+a+";",1===ve||2===ve&&Be(a,1)?N+a+a:a}(d);if(0===ve||2===ve&&!Be(d,1))return d;switch(f){case 1015:return 97===d.charCodeAt(10)?N+d+d:d;case 951:return 116===d.charCodeAt(3)?N+d+d:d;case 963:return 110===d.charCodeAt(5)?N+d+d:d;case 1009:if(100!==d.charCodeAt(4))break;case 969:case 942:return N+d+d;case 978:return N+d+O+d+d;case 1019:case 983:return N+d+O+d+I+d+d;case 883:return d.charCodeAt(8)===q?N+d+d:d.indexOf("image-set(",11)>0?d.replace(_,"$1"+N+"$2")+d:d;case 932:if(d.charCodeAt(4)===q)switch(d.charCodeAt(5)){case 103:return N+"box-"+d.replace("-grow","")+N+d+I+d.replace("grow","positive")+d;case 115:return N+d+I+d.replace("shrink","negative")+d;case 98:return N+d+I+d.replace("basis","preferred-size")+d}return N+d+I+d+d;case 964:return N+d+I+"flex-"+d+d;case 1023:if(99!==d.charCodeAt(8))break;return u=d.substring(d.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),N+"box-pack"+u+N+d+I+"flex-pack"+u+d;case 1005:return o.test(d)?d.replace(a,":"+N)+d.replace(a,":"+O)+d:d;case 1e3:switch(c=(u=d.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(c)){case 226:u=d.replace(S,"tb");break;case 232:u=d.replace(S,"tb-rl");break;case 220:u=d.replace(S,"lr");break;default:return d}return N+d+I+u+d;case 1017:if(-1===d.indexOf("sticky",9))return d;case 975:switch(c=(d=e).length-10,f=(u=(33===d.charCodeAt(c)?d.substring(0,c):d).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(u.charCodeAt(8)<111)break;case 115:d=d.replace(u,N+u)+";"+d;break;case 207:case 102:d=d.replace(u,N+(f>102?"inline-":"")+"box")+";"+d.replace(u,N+u)+";"+d.replace(u,I+u+"box")+";"+d}return d+";";case 938:if(d.charCodeAt(5)===q)switch(d.charCodeAt(6)){case 105:return u=d.replace("-items",""),N+d+N+"box-"+u+I+"flex-"+u+d;case 115:return N+d+I+"flex-item-"+d.replace(C,"")+d;default:return N+d+I+"flex-line-pack"+d.replace("align-content","").replace(C,"")+d}break;case 973:case 989:if(d.charCodeAt(3)!==q||122===d.charCodeAt(4))break;case 931:case 953:if(!0===P.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?We(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):d.replace(u,N+u)+d.replace(u,O+u.replace("fill-",""))+d;break;case 962:if(d=N+d+(102===d.charCodeAt(5)?I+d:"")+d,n+r===211&&105===d.charCodeAt(13)&&d.indexOf("transform",10)>0)return d.substring(0,d.indexOf(";",27)+1).replace(i,"$1"+N+"$2")+d}return d}function Be(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10),a=e.substring(n+1,e.length-1);return Ee(2!==t?r:r.replace(E,"$1"),a,t)}function $e(e,t){var n=We(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(T," or ($1)").substring(4):"("+t+")"}function He(e,t,n,r,a,o,i,l,s,u){for(var c,d=0,f=t;d0&&(Me=a.replace(p,o===F?"":"-")),o=1,1===ge?Fe=a:De=a;var i,l=[Fe];Ce>0&&void 0!==(i=He(_e,n,l,l,me,he,0,0,0,0))&&"string"==typeof i&&(n=i);var s=Le(xe,l,n,0,0);return Ce>0&&void 0!==(i=He(Pe,s,l,l,me,he,s.length,0,0,0))&&"string"!=typeof(s=i)&&(o=0),Me="",Fe="",De="",ye=0,me=1,he=1,ke*o==0?s:s.replace(r,"").replace(g,"").replace(v,"$1").replace(b,"$1").replace(k," ")}return Qe.use=function e(t){switch(t){case void 0:case null:Ce=Te.length=0;break;default:if("function"==typeof t)Te[Ce++]=t;else if("object"==typeof t)for(var n=0,r=t.length;nI.length&&I.push(e)}function R(e,t,n){return null==e?0:function e(t,n,r,a){var l=typeof t;"undefined"!==l&&"boolean"!==l||(t=null);var s=!1;if(null===t)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case o:case i:s=!0}}if(s)return r(a,t,""===n?"."+M(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var u=0;uthis.eventPool.length&&this.eventPool.push(e)}function de(e){e.eventPool=[],e.getPooled=ue,e.release=ce}a(se.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ie)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ie)},persist:function(){this.isPersistent=ie},isPersistent:le,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=le,this._dispatchInstances=this._dispatchListeners=null}}),se.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},se.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return a(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=a({},r.Interface,e),n.extend=r.extend,de(n),n},de(se);var fe=se.extend({data:null}),pe=se.extend({data:null}),he=[9,13,27,32],me=q&&"CompositionEvent"in window,ye=null;q&&"documentMode"in document&&(ye=document.documentMode);var ge=q&&"TextEvent"in window&&!ye,ve=q&&(!me||ye&&8=ye),be=String.fromCharCode(32),ke={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},we=!1;function Se(e,t){switch(e){case"keyup":return-1!==he.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function xe(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Te=!1;var Ce={eventTypes:ke,extractEvents:function(e,t,n,r){var a=void 0,o=void 0;if(me)e:{switch(e){case"compositionstart":a=ke.compositionStart;break e;case"compositionend":a=ke.compositionEnd;break e;case"compositionupdate":a=ke.compositionUpdate;break e}a=void 0}else Te?Se(e,n)&&(a=ke.compositionEnd):"keydown"===e&&229===n.keyCode&&(a=ke.compositionStart);return a?(ve&&"ko"!==n.locale&&(Te||a!==ke.compositionStart?a===ke.compositionEnd&&Te&&(o=oe()):(re="value"in(ne=r)?ne.value:ne.textContent,Te=!0)),a=fe.getPooled(a,t,n,r),o?a.data=o:null!==(o=xe(n))&&(a.data=o),H(a),o=a):o=null,(e=ge?function(e,t){switch(e){case"compositionend":return xe(t);case"keypress":return 32!==t.which?null:(we=!0,be);case"textInput":return(e=t.data)===be&&we?null:e;default:return null}}(e,n):function(e,t){if(Te)return"compositionend"===e||!me&&Se(e,t)?(e=oe(),ae=re=ne=null,Te=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1