diff --git a/404.html b/404.html index d54ee66b..753842c6 100644 --- a/404.html +++ b/404.html @@ -320,6 +320,6 @@

Membership

- \ No newline at end of file + \ No newline at end of file diff --git a/404/index.html b/404/index.html index 85f8a69c..946a76b6 100644 --- a/404/index.html +++ b/404/index.html @@ -320,6 +320,6 @@

Membership

- \ No newline at end of file + \ No newline at end of file diff --git a/_gatsby/slices/_gatsby-scripts-1.html b/_gatsby/slices/_gatsby-scripts-1.html index ac6d2bb4..ae1baf4d 100644 --- a/_gatsby/slices/_gatsby-scripts-1.html +++ b/_gatsby/slices/_gatsby-scripts-1.html @@ -2,6 +2,6 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/app-2d767e7c384c01ce3a51.js b/app-2d767e7c384c01ce3a51.js new file mode 100644 index 00000000..b051bce9 --- /dev/null +++ b/app-2d767e7c384c01ce3a51.js @@ -0,0 +1,3 @@ +/*! For license information please see app-2d767e7c384c01ce3a51.js.LICENSE.txt */ +(self.webpackChunkemilia=self.webpackChunkemilia||[]).push([[524],{5655:function(e,t,r){"use strict";r.d(t,{A:function(){return oe}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?l(w,--b):0,g--,10===v&&(g=1,m--),v}function C(){return v=b2||R(v)>3?"":" "}function N(e,t){for(;--t&&C()&&!(v<48||v>102||v>57&&v<65||v>70&&v<97););return _(e,P()+(t<6&&32==k()&&32==C()))}function A(e){for(;C();)switch(v){case e:return b;case 34:case 39:34!==e&&39!==e&&A(v);break;case 40:41===e&&A(e);break;case 92:C()}return b}function L(e,t){for(;C()&&e+v!==57&&(e+v!==84||47!==k()););return"/*"+_(t,b-1)+"*"+a(47===e?e:C())}function D(e){for(;!R(k());)C();return _(e,b)}var I="-ms-",W="-moz-",$="-webkit-",H="comm",z="rule",B="decl",F="@keyframes";function q(e,t){for(var r="",n=p(e),o=0;o0&&d(W)-y&&h(v>32?X(W+";",n,r,y-1):X(c(W," ","")+";",n,r,y-2),p);break;case 59:W+=";";default:if(h(I=G(W,t,r,m,g,o,f,O,j=[],A=[],y),i),123===R)if(0===g)Q(W,t,I,I,j,i,y,f,A);else switch(99===b&&110===l(W,3)?100:b){case 100:case 108:case 109:case 115:Q(e,I,I,n&&h(G(e,I,I,0,0,o,f,O,o,j=[],y),A),o,A,y,f,n?j:A);break;default:Q(W,I,I,I,[""],A,0,f,A)}}m=g=v=0,S=_=1,O=W="",y=s;break;case 58:y=1+d(W),v=w;default:if(S<1)if(123==R)--S;else if(125==R&&0==S++&&125==E())continue;switch(W+=a(R),R*S){case 38:_=g>0?1:(W+="\f",-1);break;case 44:f[m++]=(d(W)-1)*_,_=1;break;case 64:45===k()&&(W+=M(C())),b=k(),g=y=d(O=W+=D(P())),R++;break;case 45:45===w&&2==d(W)&&(S=0)}}return i}function G(e,t,r,n,a,i,u,l,d,h,m){for(var g=a-1,y=0===a?i:[""],b=p(y),v=0,w=0,x=0;v0?y[E]+" "+C:c(C,/&\f/g,y[E])))&&(d[x++]=k);return S(e,t,r,0===a?z:l,d,h,m)}function Y(e,t,r){return S(e,t,r,H,a(v),f(e,2,-2),0)}function X(e,t,r,n){return S(e,t,r,B,f(e,0,n),f(e,n+1,-1),n)}var V=function(e,t,r){for(var n=0,o=0;n=o,o=k(),38===n&&12===o&&(t[r]=1),!R(o);)C();return _(e,b)},K=function(e,t){return j(function(e,t){var r=-1,n=44;do{switch(R(n)){case 0:38===n&&12===k()&&(t[r]=1),e[r]+=V(b-1,t,r);break;case 2:e[r]+=M(n);break;case 4:if(44===n){e[++r]=58===k()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=a(n)}}while(n=C());return e}(O(e),t))},Z=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Z.get(r))&&!n){Z.set(e,!0);for(var o=[],a=K(t,o),i=r.props,s=0,c=0;s6)switch(l(e,t+1)){case 109:if(45!==l(e,t+4))break;case 102:return c(e,/(.+:)(.+)-([^]+)/,"$1"+$+"$2-$3$1"+W+(108==l(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?re(c(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==l(e,t+1))break;case 6444:switch(l(e,d(e)-3-(~u(e,"!important")&&10))){case 107:return c(e,":",":"+$)+e;case 101:return c(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+$+(45===l(e,14)?"inline-":"")+"box$3$1"+$+"$2$3$1"+I+"$2box$3")+e}break;case 5936:switch(l(e,t+11)){case 114:return $+e+I+c(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $+e+I+c(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $+e+I+c(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return $+e+I+e+e}return e}var ne=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case B:e.return=re(e.value,e.length);break;case F:return q([x(e,{value:c(e.value,"@","@"+$)})],n);case z:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([x(e,{props:[c(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return q([x(e,{props:[c(t,/:(plac\w+)/,":"+$+"input-$1")]}),x(e,{props:[c(t,/:(plac\w+)/,":-moz-$1")]}),x(e,{props:[c(t,/:(plac\w+)/,I+"input-$1")]})],n)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,a,i=e.stylisPlugins||ne,s={},c=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+c;return{name:u,styles:o,next:h}}},1287:function(e,t,r){"use strict";var n;r.d(t,{i:function(){return s},s:function(){return i}});var o=r(6540),a=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,i=a||function(e){return e()},s=a||o.useLayoutEffect},41:function(e,t,r){"use strict";r.d(t,{Rk:function(){return n},SF:function(){return o},sk:function(){return a}});function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")})),n}var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}},7141:function(e,t,r){"use strict";r.d(t,{G6:function(){return E},an:function(){return O}});var n=r(6540),o=r(3101),a=r(8053),i=r(7437);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t2?r-2:0),a=2;a=0){if("string"==typeof t&&t.startsWith("-")){var r=t.substring(1),n=i(e,r,r);return"number"==typeof n?-1*n:"-"+n}return i(e,t,t)}var o=Math.abs(t),a=i(e,o,o);return"string"==typeof a?"-"+a:-1*Number(a)},h=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginBlock","marginBlockEnd","marginBlockStart","marginInline","marginInlineEnd","marginInlineStart","top","bottom","left","right"].reduce((function(e,t){var r;return n({},e,((r={})[t]=p,r))}),{}),m=function e(t){return void 0===t&&(t={}),function(r){void 0===r&&(r={});var p=n({},u,"theme"in r?r.theme:r),m=function(e){return function(t){var r={},n=t&&t.breakpoints||c,o=[null].concat(n.map((function(e){return e.includes("@media")?e:"@media screen and (min-width: "+e+")"})));for(var a in e){var i=a,s=e[i];if("function"==typeof s&&(s=s(t||{})),!1!==s&&null!=s)if(Array.isArray(s))for(var u=0;u{if("/"===e)return e;const n=e.endsWith("/");return((e,t)=>{for(const r of e)if(t.endsWith(r))return!0;return!1})(r,e)?e:"always"===t?n?e:`${e}/`:"never"===t&&n?e.slice(0,-1):e}},7035:function(e,t,r){"use strict";t.RV=t.z_=void 0;var n=r(3215);t.z_=n.ScrollHandler;var o=r(3721);t.RV=o.useScrollRestoration},3215:function(e,t,r){"use strict";var n=r(4994);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=n(r(2475)),a=n(r(6221)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(6540)),s=n(r(5556)),c=r(4351);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}var l=i.createContext(new c.SessionStorage);t.ScrollContext=l,l.displayName="GatsbyScrollContext";var f=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),a=0;a{}},3309:function(e,t){"use strict";t.__esModule=!0,t.getForwards=function(e){return null==e?void 0:e.flatMap((e=>(null==e?void 0:e.forward)||[]))}},9300:function(e,t,r){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),r=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();r&&r.remove();const a=(0,o.getForwards)(e),i=document.createElement("script");i.dataset.partytown="",i.innerHTML=(0,n.partytownSnippet)({forward:a}),document.head.appendChild(i)};var n=r(4656),o=r(3309)},6877:function(e,t,r){t.components={"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-color-your-emotion-index-mdx":()=>Promise.all([r.e(10),r.e(864),r.e(369)]).then(r.bind(r,9295)),"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-ichiyo-index-mdx":()=>Promise.all([r.e(10),r.e(864),r.e(939)]).then(r.bind(r,90)),"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-insect-computer-hybrid-speaker-index-mdx":()=>Promise.all([r.e(10),r.e(864),r.e(527)]).then(r.bind(r,7766)),"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-laugh-at-your-own-pace-index-mdx":()=>Promise.all([r.e(10),r.e(864),r.e(176)]).then(r.bind(r,150)),"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-mu-zero-vae-index-mdx":()=>Promise.all([r.e(10),r.e(864),r.e(194)]).then(r.bind(r,9151)),"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-predictaps-index-mdx":()=>Promise.all([r.e(10),r.e(864),r.e(673)]).then(r.bind(r,6625)),"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-simulated-consensus-index-mdx":()=>Promise.all([r.e(10),r.e(864),r.e(932)]).then(r.bind(r,9223)),"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-steering-index-mdx":()=>Promise.all([r.e(10),r.e(864),r.e(923)]).then(r.bind(r,3590)),"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-sumart-index-mdx":()=>Promise.all([r.e(10),r.e(864),r.e(690)]).then(r.bind(r,134)),"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-the-way-index-mdx":()=>Promise.all([r.e(10),r.e(864),r.e(739)]).then(r.bind(r,9777)),"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-traverco-ar-index-mdx":()=>Promise.all([r.e(10),r.e(864),r.e(644)]).then(r.bind(r,682)),"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-projects-query-tsx":()=>Promise.all([r.e(10),r.e(864),r.e(699)]).then(r.bind(r,2702)),"component---src-pages-404-tsx":()=>Promise.all([r.e(10),r.e(453)]).then(r.bind(r,731)),"component---src-pages-markdown-remark-frontmatter-slug-js":()=>r.e(330).then(r.bind(r,6987))}},9377:function(e,t,r){e.exports=[{plugin:r(7634),options:{plugins:[]}},{plugin:r(7914),options:{plugins:[],name:"Emilia - @lekoarts/gatsby-theme-emilia",short_name:"Emilia",description:"Minimalistic portfolio/photography site with masonry grid, page transitions and big images. Themeable with Theme UI.",start_url:"/",background_color:"#fff",display:"standalone",icons:[{src:"/neko-android-chrome-192x192.png",sizes:"192x192",type:"image/png"},{src:"/neko-android-chrome-512x512.png",sizes:"512x512",type:"image/png"}],legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:null}},{plugin:r(2311),options:{plugins:[]}}]},20:function(e,t,r){const n=r(9377),{getResourceURLsForPathname:o,loadPage:a,loadPageSync:i}=r(6814).Zf;t.N=function(e,t,r,s){void 0===t&&(t={});let c=n.map((r=>{if(!r.plugin[e])return;t.getResourceURLsForPathname=o,t.loadPage=a,t.loadPageSync=i;const n=r.plugin[e](t,r.options);return n&&s&&(t=s({args:t,result:n,plugin:r})),n}));return c=c.filter((e=>void 0!==e)),c.length>0?c:r?[r]:[]},t.v=(e,t,r)=>n.reduce(((r,n)=>n.plugin[e]?r.then((()=>n.plugin[e](t,n.options))):r),Promise.resolve())},700:function(e,t){t.U=()=>""},9369:function(e,t,r){"use strict";r.d(t,{A:function(){return n}});var n=function(e){return e=e||Object.create(null),{on:function(t,r){(e[t]||(e[t]=[])).push(r)},off:function(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit:function(t,r){(e[t]||[]).slice().map((function(e){e(r)})),(e["*"]||[]).slice().map((function(e){e(t,r)}))}}}()},8990:function(e,t,r){"use strict";r.d(t,{Yl:function(){return d},Hh:function(){return h},UA:function(){return p},QX:function(){return f}});var n=r(6462),o=r(8797),a=e=>{if(void 0===e)return e;let[t,r=""]=e.split("?");return r&&(r="?"+r),"/"===t?"/"+r:"/"===t.charAt(t.length-1)?t.slice(0,-1)+r:t+r},i=r(6491);const s=new Map;let c=[];const u=e=>{let t=e;if(-1!==e.indexOf("?")){const[r,n]=e.split("?");t=r+"?"+encodeURIComponent(n)}const r=decodeURIComponent(t);return(0,o.A)(r,decodeURIComponent("")).split("#")[0]};function l(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const f=e=>{c=e},d=e=>{const t=m(e),r=c.map((e=>{let{path:t,matchPath:r}=e;return{path:r,originalPath:t}})),o=(0,n.pick)(r,t);return o?a(o.route.originalPath):null},p=e=>{const t=m(e),r=c.map((e=>{let{path:t,matchPath:r}=e;return{path:r,originalPath:t}})),o=(0,n.pick)(r,t);return o?o.params:{}},h=e=>{const t=u(l(e));if(s.has(t))return s.get(t);const r=(0,i.X)(e);if(r)return h(r.toPath);let n=d(t);return n||(n=m(e)),s.set(t,n),n},m=e=>{let t=u(l(e));return"/index.html"===t&&(t="/"),t=a(t),t}},4810:function(e,t,r){"use strict";r.r(t),r.d(t,{Link:function(){return s.N_},PageRenderer:function(){return a()},Script:function(){return E.Script},ScriptStrategy:function(){return E.ScriptStrategy},Slice:function(){return w},StaticQuery:function(){return c.de},StaticQueryContext:function(){return c.G},collectedScriptsByPage:function(){return E.collectedScriptsByPage},graphql:function(){return k},navigate:function(){return s.oo},parsePath:function(){return s.Rr},prefetchPathname:function(){return C},scriptCache:function(){return E.scriptCache},scriptCallbackCache:function(){return E.scriptCallbackCache},useScrollRestoration:function(){return i.RV},useStaticQuery:function(){return c.GR},withAssetPrefix:function(){return s.Zf},withPrefix:function(){return s.Fe}});var n=r(6814),o=r(2549),a=r.n(o),i=r(7035),s=r(7078),c=r(7231),u=r(7387),l=r(8593),f=r(6540),d=r(8587),p=r(700),h=r(2024);const m=e=>{let{sliceId:t,children:r}=e;const n=[f.createElement("slice-start",{id:t+"-1"}),f.createElement("slice-end",{id:t+"-1"})];return r&&(n.push(r),n.push(f.createElement("slice-start",{id:t+"-2"}),f.createElement("slice-end",{id:t+"-2"}))),n},g=["sliceName","allowEmpty","children"],y=e=>{let{sliceName:t,allowEmpty:r,children:n}=e,o=(0,d.A)(e,g);const a=(0,f.useContext)(h.Jr),i=(0,f.useContext)(h.hr),s=a[t];if(!s){if(r)return null;throw new Error('Slice "'+s+'" for "'+t+'" slot not found')}const c=((e,t)=>Object.keys(t).length?e+"-"+(0,p.U)(t):e)(s,o);let u=i[c];return u?n&&(u.hasChildren=!0):i[c]=u={props:o,sliceName:s,hasChildren:!!n},f.createElement(m,{sliceId:c},n)},b=["sliceName","allowEmpty","children"],v=e=>{let{sliceName:t,allowEmpty:r,children:n}=e,o=(0,d.A)(e,b);const a=(0,f.useContext)(h.Jr),i=(0,f.useContext)(h.dd),s=a[t],c=i.get(s);if(!c){if(r)return null;throw new Error('Slice "'+s+'" for "'+t+'" slot not found')}return f.createElement(c.component,Object.assign({sliceContext:c.sliceContext,data:c.data},o),n)};function w(e){{const r=Object.assign({},e,{sliceName:e.alias});delete r.alias,delete r.__renderedByLocation;const n=(0,f.useContext)(h.j$),o=x(e);if(Object.keys(o).length)throw new S("browser"===n.renderEnvironment,r.sliceName,o,e.__renderedByLocation);if("server"===n.renderEnvironment)return f.createElement(y,r);if("browser"===n.renderEnvironment)return f.createElement(v,r);if("engines"===n.renderEnvironment||"dev-ssr"===n.renderEnvironment)return f.createElement(v,r);if("slices"===n.renderEnvironment){let r="";try{r='\n\nSlice component "'+n.sliceRoot.name+'" ('+n.sliceRoot.componentPath+') tried to render '}catch(t){}throw new Error("Nested slices are not supported."+r+"\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices")}throw new Error('Slice context "'+n.renderEnvironment+'" is not supported.')}}let S=function(e){function t(r,n,o,a){var i;const s=Object.entries(o).map((e=>{let[t,r]=e;return'not serializable "'+r+'" type passed to "'+t+'" prop'})).join(", "),c="SlicePropsError";let u="",l="";if(r){const e=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack().trim().split("\n").slice(1);e[0]=e[0].trim(),u="\n"+e.join("\n"),l='Slice "'+n+'" was passed props that are not serializable ('+s+")."}else{l=c+': Slice "'+n+'" was passed props that are not serializable ('+s+").";u=l+"\n"+(new Error).stack.trim().split("\n").slice(2).join("\n")}return(i=e.call(this,l)||this).name=c,u?i.stack=u:Error.captureStackTrace(i,t),a&&(i.forcedLocation=Object.assign({},a,{functionName:"Slice"})),i}return(0,u.A)(t,e),t}((0,l.A)(Error));const x=function(e,t,r,n){void 0===t&&(t={}),void 0===r&&(r=[]),void 0===n&&(n=null);for(const[o,a]of Object.entries(e)){if(null==a||!n&&"children"===o)continue;const e=n?n+"."+o:o;"function"==typeof a?t[e]=typeof a:"object"==typeof a&&r.indexOf(a)<=0&&(r.push(a),x(a,t,r,e))}return t};var E=r(5535);const C=n.Ay.enqueue;function k(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},6814:function(e,t,r){"use strict";r.d(t,{Wi:function(){return f},N5:function(){return S},Ay:function(){return C},Rh:function(){return P},LE:function(){return k},Zf:function(){return E},iC:function(){return x}});var n=r(7387),o=r(4506),a=r(8163);const i=function(e){if("undefined"==typeof document)return!1;const t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(r){return!1}return!1}("prefetch")?function(e,t){return new Promise(((r,n)=>{if("undefined"==typeof document)return void n();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((e=>{o.setAttribute(e,t[e])})),o.onload=r,o.onerror=n;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}))}:function(e){return new Promise(((t,r)=>{const n=new XMLHttpRequest;n.open("GET",e,!0),n.onload=()=>{200===n.status?t():r()},n.send(null)}))},s={};var c=function(e,t){return new Promise((r=>{s[e]?r():i(e,t).then((()=>{r(),s[e]=!0})).catch((()=>{}))}))},u=r(9369),l=r(8990);const f={Error:"error",Success:"success"},d=e=>{const[t,r]=e.split("?");var n;return"/page-data/"+("/"===t?"index":(n="/"===(n=t)[0]?n.slice(1):n).endsWith("/")?n.slice(0,-1):n)+"/page-data.json"+(r?"?"+r:"")},p=e=>e.startsWith("//");function h(e,t){return void 0===t&&(t="GET"),new Promise((r=>{const n=new XMLHttpRequest;n.open(t,e,!0),n.onreadystatechange=()=>{4==n.readyState&&r(n)},n.send(null)}))}const m=/bot|crawler|spider|crawling/i,g=function(e,t,r){var n;void 0===t&&(t=null);const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(n=e.slicesMap)&&void 0!==n?n:{}};return{component:t,head:r,json:e.result,page:o}};function y(e){return new Promise((t=>{try{const r=e.readRoot();t(r)}catch(r){if(!Object.hasOwnProperty.call(r,"_response")||!Object.hasOwnProperty.call(r,"_status"))throw r;setTimeout((()=>{y(e).then(t)}),200)}}))}let b=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.slicesDataDb=new Map,this.sliceInflightDb=new Map,this.slicesDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,l.QX)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=h(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then((t=>(this.inFlightNetworkRequests.delete(e),t))).catch((t=>{throw this.inFlightNetworkRequests.delete(e),t}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((e=>e))},t.fetchPageDataJson=function(e){const{pagePath:t,retries:r=0}=e,n=d(t);return this.memoizedGet(n).then((n=>{const{status:o,responseText:a}=n;if(200===o)try{const r=JSON.parse(a);if(void 0===r.path)throw new Error("not a valid pageData response");const n=t.split("?")[1];return n&&!r.path.includes(n)&&(r.path+="?"+n),Object.assign(e,{status:f.Success,payload:r})}catch(i){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:f.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):r<3?this.fetchPageDataJson(Object.assign(e,{retries:r+1})):Object.assign(e,{status:f.Error})}))},t.fetchPartialHydrationJson=function(e){const{pagePath:t,retries:r=0}=e,n=d(t).replace(".json","-rsc.json");return this.memoizedGet(n).then((n=>{const{status:o,responseText:a}=n;if(200===o)try{return Object.assign(e,{status:f.Success,payload:a})}catch(i){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:f.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):r<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:r+1})):Object.assign(e,{status:f.Error})}))},t.loadPageDataJson=function(e){const t=(0,l.Hh)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then((e=>(this.pageDataDb.set(t,e),e)))},t.loadPartialHydrationJson=function(e){const t=(0,l.Hh)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then((e=>(this.partialHydrationDb.set(t,e),e)))},t.loadSliceDataJson=function(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return h("/slice-data/"+e+".json","GET").then((t=>{const r=JSON.parse(t.responseText);return this.slicesDataDb.set(e,r),{sliceName:e,jsonPayload:r}}))},t.findMatchPath=function(e){return(0,l.Yl)(e)},t.loadPage=function(e){const t=(0,l.Hh)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const r=[this.loadAppData(),this.loadPageDataJson(t)];const n=Promise.all(r).then((e=>{const[r,n,i]=e;if(n.status===f.Error||(null==i?void 0:i.status)===f.Error)return{status:f.Error};let s=n.payload;const{componentChunkName:c,staticQueryHashes:l=[],slicesMap:d={}}=s,p={},h=Array.from(new Set(Object.values(d))),m=e=>{if(this.slicesDb.has(e.name))return this.slicesDb.get(e.name);if(this.sliceInflightDb.has(e.name))return this.sliceInflightDb.get(e.name);const t=this.loadComponent(e.componentChunkName).then((t=>{return{component:(r=t,r&&r.default||r),sliceContext:e.result.sliceContext,data:e.result.data};var r}));return this.sliceInflightDb.set(e.name,t),t.then((t=>{this.slicesDb.set(e.name,t),this.sliceInflightDb.delete(e.name)})),t};return Promise.all(h.map((e=>this.loadSliceDataJson(e)))).then((e=>{const d=[],h=(0,o.A)(l);for(const{jsonPayload:t,sliceName:r}of Object.values(e)){d.push(Object.assign({name:r},t));for(const e of t.staticQueryHashes)h.includes(e)||h.push(e)}const b=[Promise.all(d.map(m)),this.loadComponent(c,"head")];b.push(this.loadComponent(c));const v=Promise.all(b).then((e=>{const[t,o,c]=e;p.createdAt=new Date;for(const r of t)(!r||r instanceof Error)&&(p.status=f.Error,p.error=r);let u;if((!c||c instanceof Error)&&(p.status=f.Error,p.error=c),p.status!==f.Error){if(p.status=f.Success,!0!==n.notFound&&!0!==(null==i?void 0:i.notFound)||(p.notFound=!0),s=Object.assign(s,{webpackCompilationHash:r?r.webpackCompilationHash:""}),"string"==typeof(null==i?void 0:i.payload)){u=g(s,null,o),u.partialHydration=i.payload;const e=new ReadableStream({start(e){const t=new TextEncoder;e.enqueue(t.encode(i.payload))},pull(e){e.close()},cancel(){}});return y((0,a.createFromReadableStream)(e)).then((e=>(u.partialHydration=e,u)))}u=g(s,c,o)}return u})),w=Promise.all(h.map((e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet("/page-data/sq/d/"+e+".json").then((t=>{const r=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:r}})).catch((()=>{throw new Error("We couldn't load \"/page-data/sq/d/"+e+'.json"')}))}))).then((e=>{const t={};return e.forEach((e=>{let{staticQueryHash:r,jsonPayload:n}=e;t[r]=n,this.staticQueryDb[r]=n})),t}));return Promise.all([v,w]).then((e=>{let r,[n,o]=e;return n&&(r=Object.assign({},n,{staticQueryResults:o}),p.payload=r,u.A.emit("onPostLoadPageResources",{page:r,pageResources:r})),this.pageDb.set(t,p),p.error?{error:p.error,status:p.status}:r})).catch((e=>({error:e,status:f.Error})))}))}));return n.then((()=>{this.inFlightDb.delete(t)})).catch((e=>{throw this.inFlightDb.delete(t),e})),this.inFlightDb.set(t,n),n},t.loadPageSync=function(e,t){void 0===t&&(t={});const r=(0,l.Hh)(e);if(this.pageDb.has(r)){var n;const e=this.pageDb.get(r);if(e.payload)return e.payload;if(null!==(n=t)&&void 0!==n&&n.withErrorDetails)return{error:e.error,status:e.status}}},t.shouldPrefetch=function(e){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&((!navigator.userAgent||!m.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){if(!this.shouldPrefetch(e))return{then:e=>e(!1),abort:()=>{}};if(this.prefetchTriggered.has(e))return{then:e=>e(!0),abort:()=>{}};const t={resolve:null,reject:null,promise:null};t.promise=new Promise(((e,r)=>{t.resolve=e,t.reject=r})),this.prefetchQueued.push([e,t]);const r=new AbortController;return r.signal.addEventListener("abort",(()=>{const t=this.prefetchQueued.findIndex((t=>{let[r]=t;return r===e}));-1!==t&&this.prefetchQueued.splice(t,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)),{then:(e,r)=>t.promise.then(e,r),abort:r.abort.bind(r)}},t._processNextPrefetchBatch=function(){(window.requestIdleCallback||(e=>setTimeout(e,0)))((()=>{const e=this.prefetchQueued.splice(0,4),t=Promise.all(e.map((e=>{let[t,r]=e;return this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled?r.resolve(!1):this.doPrefetch((0,l.Hh)(t)).then((()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t)),r.resolve(!0)}))})));this.prefetchQueued.length?t.then((()=>{setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)})):this.isPrefetchQueueRunning=!1}))},t.doPrefetch=function(e){const t=d(e);return c(t,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(e)))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,l.Hh)(e),r=this.pageDataDb.get(t);if(r){const e=g(r.payload);return[].concat((0,o.A)(v(e.page.componentChunkName)),[d(t)])}return null},t.isPageNotFound=function(e){const t=(0,l.Hh)(e),r=this.pageDb.get(t);return!r||r.notFound},t.loadAppData=function(e){return void 0===e&&(e=0),this.memoizedGet("/page-data/app-data.json").then((t=>{const{status:r,responseText:n}=t;let o;if(200!==r&&e<3)return this.loadAppData(e+1);if(200===r)try{const e=JSON.parse(n);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(a){}return o}))},e}();const v=e=>(window.___chunkMapping[e]||[]).map((e=>""+e));let w,S=function(e){function t(t,r,n){var o;return o=e.call(this,(function(e,r){if(void 0===r&&(r="components"),!t[r="components"][e])throw new Error("We couldn't find the correct component chunk with the name \""+e+'"');return t[r][e]().catch((e=>e))}),r)||this,n&&o.pageDataDb.set((0,l.Hh)(n.path),{pagePath:n.path,payload:n,status:"success"}),o}(0,n.A)(t,e);var r=t.prototype;return r.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((e=>{if(e.status!==f.Success)return Promise.resolve();const t=e.payload,r=t.componentChunkName,n=v(r);return Promise.all(n.map(c)).then((()=>t))}))},r.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((e=>e.notFound?p(t)?e:h(t,"HEAD").then((t=>200===t.status?{status:f.Error}:e)):e))},r.loadPartialHydrationJson=function(t){return e.prototype.loadPartialHydrationJson.call(this,t).then((e=>e.notFound?p(t)?e:h(t,"HEAD").then((t=>200===t.status?{status:f.Error}:e)):e))},t}(b);const x=e=>{w=e},E={enqueue:e=>w.prefetch(e),getResourceURLsForPathname:e=>w.getResourceURLsForPathname(e),loadPage:e=>w.loadPage(e),loadPageSync:function(e,t){return void 0===t&&(t={}),w.loadPageSync(e,t)},prefetch:e=>w.prefetch(e),isPageNotFound:e=>w.isPageNotFound(e),hovering:e=>w.hovering(e),loadAppData:()=>w.loadAppData()};var C=E;function k(){return w?w.staticQueryDb:{}}function P(){return w?w.slicesDb:{}}},6017:function(e,t,r){"use strict";r.d(t,{A:function(){return C}});var n=r(6540),o=r(5556),a=r.n(o),i=r(20),s=r(8990),c=r(4506),u=r(4810),l=r(6462),f=r(9732);function d(e){let{children:t,callback:r}=e;return(0,n.useEffect)((()=>{r()})),t}const p=["link","meta","style","title","base","noscript","script","html","body"];function h(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){const n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function m(e,t){void 0===t&&(t={html:{},body:{}});const r=new Map,n=[];for(const u of e.childNodes){var o,a;const e=u.nodeName.toLowerCase(),l=null===(o=u.attributes)||void 0===o||null===(a=o.id)||void 0===a?void 0:a.value;if(b(u)){if(y(e))if("html"===e||"body"===e)for(const r of u.attributes){const n="style"===r.name;var i;if(t[e]=Object.assign({},t[e]),n||(t[e][r.name]=r.value),n)t[e].style=""+(null!==(i=t[e])&&void 0!==i&&i.style?t[e].style:"")+r.value+" "}else{let e=u.cloneNode(!0);if(e.setAttribute("data-gatsby-head",!0),"script"===e.nodeName.toLowerCase()&&(e=g(e)),l)if(r.has(l)){var s;const t=r.get(l);null===(s=n[t].parentNode)||void 0===s||s.removeChild(n[t]),n[t]=e}else n.push(e),r.set(l,n.length-1);else n.push(e)}u.childNodes.length&&n.push.apply(n,(0,c.A)(m(u,t).validHeadNodes))}}return{validHeadNodes:n,htmlAndBodyAttributes:t}}function g(e){const t=document.createElement("script");for(const r of e.attributes)t.setAttribute(r.name,r.value);return t.innerHTML=e.innerHTML,t}function y(e){return p.includes(e)}function b(e){return 1===e.nodeType}const v=document.createElement("div"),w={html:[],body:[]},S=()=>{var e;const{validHeadNodes:t,htmlAndBodyAttributes:r}=m(v);w.html=Object.keys(r.html),w.body=Object.keys(r.body),function(e){if(!e)return;const{html:t,body:r}=e,n=document.querySelector("html");n&&Object.entries(t).forEach((e=>{let[t,r]=e;n.setAttribute(t,r)}));const o=document.querySelector("body");o&&Object.entries(r).forEach((e=>{let[t,r]=e;o.setAttribute(t,r)}))}(r);const n=document.querySelectorAll("[data-gatsby-head]");var o;if(0===n.length)return void(o=document.head).append.apply(o,(0,c.A)(t));const a=[];!function(e){let{oldNodes:t,newNodes:r,onStale:n,onNew:o}=e;for(const a of t){const e=r.findIndex((e=>h(e,a)));-1===e?n(a):r.splice(e,1)}for(const a of r)o(a)}({oldNodes:n,newNodes:t,onStale:e=>e.parentNode.removeChild(e),onNew:e=>a.push(e)}),(e=document.head).append.apply(e,a)};function x(e){let{pageComponent:t,staticQueryResults:r,pageComponentProps:o}=e;(0,n.useEffect)((()=>{if(null!=t&&t.Head){!function(e){if("function"!=typeof e)throw new Error('Expected "Head" export to be a function got "'+typeof e+'".')}(t.Head);const{render:a}=(0,f.n)(),s=n.createElement(t.Head,{location:{pathname:(e=o).location.pathname},params:e.params,data:e.data||{},serverData:e.serverData,pageContext:e.pageContext}),c=(0,i.N)("wrapRootElement",{element:s},s,(e=>{let{result:t}=e;return{element:t}})).pop();a(n.createElement(d,{callback:S},n.createElement(u.StaticQueryContext.Provider,{value:r},n.createElement(l.LocationProvider,null,c))),v)}var e;return()=>{!function(){const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)}(),function(e){if(!e)return;const{html:t,body:r}=e;if(t){const e=document.querySelector("html");t.forEach((t=>{e&&e.removeAttribute(t)}))}if(r){const e=document.querySelector("body");r.forEach((t=>{e&&e.removeAttribute(t)}))}}(w)}}))}function E(e){const t=Object.assign({},e,{params:Object.assign({},(0,s.UA)(e.location.pathname),e.pageResources.json.pageContext.__params)});let r;var o;r=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,n.createElement)((o=e.pageResources.component)&&o.default||o,Object.assign({},t,{key:e.path||e.pageResources.page.path}));x({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,i.N)("wrapPageElement",{element:r,props:t},r,(e=>{let{result:r}=e;return{element:r,props:t}})).pop()}E.propTypes={location:a().object.isRequired,pageResources:a().object.isRequired,data:a().object,pageContext:a().object.isRequired};var C=E},6498:function(e,t,r){"use strict";var n=r(7387),o=r(20),a=r(6540),i=r(6462),s=r(7035),c=r(7231),u=r(2024),l=r(6814),f=r(6491),d=r(9369);const p={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"};var h=r(7078);function m(e){const t=(0,f.X)(e),{hash:r,search:n}=window.location;return null!=t&&(window.___replace(t.toPath+n+r),!0)}let g="";window.addEventListener("unhandledrejection",(e=>{/loading chunk \d* failed./i.test(e.reason)&&g&&(window.location.pathname=g)}));const y=(e,t)=>{m(e.pathname)||(g=e.pathname,(0,o.N)("onPreRouteUpdate",{location:e,prevLocation:t}))},b=(e,t)=>{m(e.pathname)||(0,o.N)("onRouteUpdate",{location:e,prevLocation:t})},v=function(e,t){if(void 0===t&&(t={}),"number"==typeof e)return void i.globalHistory.navigate(e);const{pathname:r,search:n,hash:a}=(0,h.Rr)(e),s=(0,f.X)(r);if(s&&(e=s.toPath+n+a),window.___swUpdated)return void(window.location=r+n+a);const c=setTimeout((()=>{d.A.emit("onDelayedLoadPageResources",{pathname:r}),(0,o.N)("onRouteUpdateDelayed",{location:window.location})}),1e3);l.Ay.loadPage(r+n).then((o=>{if(!o||o.status===l.Wi.Error)return window.history.replaceState({},"",location.href),window.location=r,void clearTimeout(c);o&&o.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=r+n+a),(0,i.navigate)(e,t),clearTimeout(c)}))};function w(e,t){let{location:r}=t;const{pathname:n,hash:a}=r,i=(0,o.N)("shouldUpdateScroll",{prevRouterProps:e,pathname:n,routerProps:{location:r},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(i.length>0)return i[i.length-1];if(e){const{location:{pathname:t}}=e;if(t===n)return a?decodeURI(a.slice(1)):[0,0]}return!0}let S=function(e){function t(t){var r;return(r=e.call(this,t)||this).announcementRef=a.createRef(),r}(0,n.A)(t,e);var r=t.prototype;return r.componentDidUpdate=function(e,t){requestAnimationFrame((()=>{let e="new page at "+this.props.location.pathname;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const r="Navigated to "+e;if(this.announcementRef.current){this.announcementRef.current.innerText!==r&&(this.announcementRef.current.innerText=r)}}))},r.render=function(){return a.createElement("div",Object.assign({},p,{ref:this.announcementRef}))},t}(a.Component);const x=(e,t)=>{var r,n;return e.href!==t.href||(null==e||null===(r=e.state)||void 0===r?void 0:r.key)!==(null==t||null===(n=t.state)||void 0===n?void 0:n.key)};let E=function(e){function t(t){var r;return r=e.call(this,t)||this,y(t.location,null),r}(0,n.A)(t,e);var r=t.prototype;return r.componentDidMount=function(){b(this.props.location,null)},r.shouldComponentUpdate=function(e){return!!x(this.props.location,e.location)&&(y(e.location,this.props.location),!0)},r.componentDidUpdate=function(e){x(e.location,this.props.location)&&b(this.props.location,e.location)},r.render=function(){return a.createElement(a.Fragment,null,this.props.children,a.createElement(S,{location:location}))},t}(a.Component);var C=r(6017),k=r(6877);function P(e,t){for(var r in e)if(!(r in t))return!0;for(var n in t)if(e[n]!==t[n])return!0;return!1}var _=function(e){function t(t){var r;r=e.call(this)||this;const{location:n,pageResources:o}=t;return r.state={location:Object.assign({},n),pageResources:o||l.Ay.loadPageSync(n.pathname+n.search,{withErrorDetails:!0})},r}(0,n.A)(t,e),t.getDerivedStateFromProps=function(e,t){let{location:r}=e;if(t.location.href!==r.href){return{pageResources:l.Ay.loadPageSync(r.pathname+r.search,{withErrorDetails:!0}),location:Object.assign({},r)}}return{location:Object.assign({},r)}};var r=t.prototype;return r.loadResources=function(e){l.Ay.loadPage(e).then((t=>{t&&t.status!==l.Wi.Error?this.setState({location:Object.assign({},window.location),pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)}))},r.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,r){return P(e.props,t)||P(e.state,r)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},r.render=function(){return this.props.children(this.state)},t}(a.Component),R=r(8797),O=r(9732);const j=new l.N5(k,[],window.pageData);(0,l.iC)(j),j.setApiRunner(o.N);const{render:M,hydrate:T}=(0,O.n)();window.asyncRequires=k,window.___emitter=d.A,window.___loader=l.Zf,i.globalHistory.listen((e=>{e.location.action=e.action})),window.___push=e=>v(e,{replace:!1}),window.___replace=e=>v(e,{replace:!0}),window.___navigate=(e,t)=>v(e,t);const N="gatsby-reload-compilation-hash-match";(0,o.v)("onClientEntry").then((()=>{(0,o.N)("registerServiceWorker").filter(Boolean).length>0&&r(626);const e=e=>a.createElement(i.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.createElement(C.A,e)),t=a.createContext({}),f={renderEnvironment:"browser"};let d=function(e){function r(){return e.apply(this,arguments)||this}return(0,n.A)(r,e),r.prototype.render=function(){const{children:e}=this.props;return a.createElement(i.Location,null,(r=>{let{location:n}=r;return a.createElement(_,{location:n},(r=>{let{pageResources:n,location:o}=r;const i=(0,l.LE)(),s=(0,l.Rh)();return a.createElement(c.G.Provider,{value:i},a.createElement(u.j$.Provider,{value:f},a.createElement(u.dd.Provider,{value:s},a.createElement(u.Jr.Provider,{value:n.page.slicesMap},a.createElement(t.Provider,{value:{pageResources:n,location:o}},e)))))}))}))},r}(a.Component),p=function(r){function o(){return r.apply(this,arguments)||this}return(0,n.A)(o,r),o.prototype.render=function(){return a.createElement(t.Consumer,null,(t=>{let{pageResources:r,location:n}=t;return a.createElement(E,{location:n},a.createElement(s.z_,{location:n,shouldUpdateScroll:w},a.createElement(i.Router,{basepath:"",location:n,id:"gatsby-focus-wrapper"},a.createElement(e,Object.assign({path:"/404.html"===r.page.path||"/500.html"===r.page.path?(0,R.A)(n.pathname,""):encodeURI((r.page.matchPath||r.page.path).split("?")[0])},this.props,{location:n,pageResources:r},r.json)))))}))},o}(a.Component);const{pagePath:h,location:m}=window;h&&""+h!==m.pathname+(h.includes("?")?m.search:"")&&!(j.findMatchPath((0,R.A)(m.pathname,""))||h.match(/^\/(404|500)(\/?|.html)$/)||h.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,i.navigate)(""+h+(h.includes("?")?"":m.search)+m.hash,{replace:!0});const g=()=>{try{return sessionStorage}catch(e){return null}};l.Zf.loadPage(m.pathname+m.search).then((e=>{var t;const r=g();if(null!=e&&null!==(t=e.page)&&void 0!==t&&t.webpackCompilationHash&&e.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),r)){if(!("1"===r.getItem(N)))return r.setItem(N,"1"),void window.location.reload(!0)}if(r&&r.removeItem(N),!e||e.status===l.Wi.Error){const t="page resources for "+m.pathname+" not found. Not rendering React";if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}const n=(0,o.N)("wrapRootElement",{element:a.createElement(p,null)},a.createElement(p,null),(e=>{let{result:t}=e;return{element:t}})).pop(),i=function(){const e=a.useRef(!1);return a.useEffect((()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.N)("onInitialClientRender"))}),[]),a.createElement(d,null,n)},s=document.getElementById("gatsby-focus-wrapper");let c=M;s&&s.children.length&&(c=T);const u=(0,o.N)("replaceHydrateFunction",void 0,c)[0];function f(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;u(a.createElement(i,null),e)}const h=document;if("complete"===h.readyState||"loading"!==h.readyState&&!h.documentElement.doScroll)setTimeout((function(){f()}),0);else{const e=function(){h.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),f()};h.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}}))}))},963:function(e,t,r){"use strict";r.r(t);var n=r(6540),o=r(6814),a=r(6017);t.default=e=>{let{location:t}=e;const r=o.Ay.loadPageSync(t.pathname);return r?n.createElement(a.A,Object.assign({location:t,pageResources:r},r.json)):null}},2549:function(e,t,r){var n;e.exports=(n=r(963))&&n.default||n},9732:function(e,t,r){"use strict";r.d(t,{n:function(){return o}});const n=new WeakMap;function o(){const e=r(5338);return{render:(t,r)=>{let o=n.get(r);o||n.set(r,o=e.createRoot(r)),o.render(t)},hydrate:(t,r)=>e.hydrateRoot(r,t)}}},6491:function(e,t,r){"use strict";r.d(t,{X:function(){return a}});const n=new Map,o=new Map;function a(e){let t=n.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach((e=>{e.ignoreCase?o.set(e.fromPath,e):n.set(e.fromPath,e)}))},626:function(e,t,r){"use strict";r.r(t);var n=r(20);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then((function(e){e.addEventListener("updatefound",(()=>{(0,n.N)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,n.N)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,n.N)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,n.N)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,n.N)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},2024:function(e,t,r){"use strict";r.d(t,{Jr:function(){return i},dd:function(){return o},hr:function(){return s},j$:function(){return a}});var n=r(6540);const o=n.createContext({}),a=n.createContext({}),i=n.createContext({}),s=n.createContext({})},7231:function(e,t,r){"use strict";r.d(t,{de:function(){return c},G:function(){return o},GR:function(){return u}});var n=r(6540);r(2480);const o=(a="StaticQuery",i={},n.createServerContext?function(e,t){return void 0===t&&(t=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=n.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(a,i):n.createContext(i));var a,i;function s(e){let{staticQueryData:t,data:r,query:o,render:a}=e;const i=r?r.data:t[o]&&t[o].data;return n.createElement(n.Fragment,null,i&&a(i),!i&&n.createElement("div",null,"Loading (StaticQuery)"))}const c=e=>{const{data:t,query:r,render:a,children:i}=e;return n.createElement(o.Consumer,null,(e=>n.createElement(s,{data:t,query:r,render:a||i,staticQueryData:e})))},u=e=>{var t;n.useContext;const r=n.useContext(o);if(isNaN(Number(e)))throw new Error("useStaticQuery was called with a string but expects to be called using `graphql`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql`"+e+"`);\n");if(null!==(t=r[e])&&void 0!==t&&t.data)return r[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},8797:function(e,t,r){"use strict";function n(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(t+"/")?e.slice(t.length):e:e}r.d(t,{A:function(){return n}})},7914:function(e,t,r){"use strict";r.r(t),r.d(t,{onRouteUpdate:function(){return n}});r(4810),r(4598);const n=function(e,t){let{location:r}=e}},4598:function(e,t,r){"use strict";var n=r(4810)},7634:function(e,t,r){"use strict";r.r(t),r.d(t,{wrapRootElement:function(){return N}});var n=r(6540),o=r(3101),a=r(8053),i=r(7141),s=r(7437),c=function(){return(0,o.Y)(s.mL,{styles:function(e){var t,r=e;if(!1===(r.config||r).useRootStyles||r.styles&&!r.styles.root)return null;var n=!1===(null==(t=r.config)?void 0:t.useBorderBox)?void 0:"border-box";return(0,a.AH)({"*":{boxSizing:n},html:{variant:"styles.root"},body:{margin:0}})(r)}})},u=function(e){var t=e.theme,r=e.children,a=(0,o.FL)()===o.Jv;return n.createElement(o.NP,{theme:t},n.createElement(i.an,null,a&&n.createElement(c,null),r))},l=r(8993);function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,R.useStaticQuery)("2744905544").themeUiConfig,j=r(8453);const M=e=>{let{children:t}=e;const r=O(),{preset:a,prismPreset:i}=r,s=a.default||a,c=(0,o.h1)(s,{styles:{pre:i}}),f=(0,o.h1)(c,P);return n.createElement(u,{theme:f},n.createElement(j.xA,{components:(0,l.Yd)((0,j.RP)(_))},t))},T=e=>{let{element:t}=e;return n.createElement(M,null,t)},N=e=>{let{element:t}=e;return n.createElement(T,{element:t})}},4146:function(e,t,r){"use strict";var n=r(4363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var i=l(r);f&&(i=i.concat(f(r)));for(var s=c(t),m=c(r),g=0;g((e,t)=>{const{forward:r=[],...n}=e||{},o=JSON.stringify(n,((e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t)));return["!(function(w,p,f,c){",Object.keys(n).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",r.length>0?`.concat(${JSON.stringify(r)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.7.6 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(f,1e4),e.addEventListener("pt0",w),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):f())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.7.6":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;nl;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},2195:function(e,t,r){"use strict";var n=r(9504),o=n({}.toString),a=n("".slice);e.exports=function(e){return a(o(e),8,-1)}},7740:function(e,t,r){"use strict";var n=r(9297),o=r(5031),a=r(7347),i=r(4913);e.exports=function(e,t,r){for(var s=o(t),c=i.f,u=a.f,l=0;l0&&n[0]<4?1:+(n[0]+n[1])),!o&&i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},6518:function(e,t,r){"use strict";var n=r(4576),o=r(7347).f,a=r(6699),i=r(6840),s=r(9433),c=r(7740),u=r(2796);e.exports=function(e,t){var r,l,f,d,p,h=e.target,m=e.global,g=e.stat;if(r=m?n:g?n[h]||s(h,{}):n[h]&&n[h].prototype)for(l in t){if(d=t[l],f=e.dontCallGetSet?(p=o(r,l))&&p.value:r[l],!u(m?l:h+(g?".":"#")+l,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;c(d,f)}(e.sham||f&&f.sham)&&a(d,"sham",!0),i(r,l,d,e)}}},9039:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},616:function(e,t,r){"use strict";var n=r(9039);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9565:function(e,t,r){"use strict";var n=r(616),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},350:function(e,t,r){"use strict";var n=r(3724),o=r(9297),a=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,s=o(a,"name"),c=s&&"something"===function(){}.name,u=s&&(!n||n&&i(a,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},9504:function(e,t,r){"use strict";var n=r(616),o=Function.prototype,a=o.call,i=n&&o.bind.bind(a,a);e.exports=n?i:function(e){return function(){return a.apply(e,arguments)}}},7751:function(e,t,r){"use strict";var n=r(4576),o=r(4901);e.exports=function(e,t){return arguments.length<2?(r=n[e],o(r)?r:void 0):n[e]&&n[e][t];var r}},5966:function(e,t,r){"use strict";var n=r(9306),o=r(4117);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},4576:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:function(e,t,r){"use strict";var n=r(9504),o=r(8981),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},421:function(e){"use strict";e.exports={}},5917:function(e,t,r){"use strict";var n=r(3724),o=r(9039),a=r(4055);e.exports=!n&&!o((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},7055:function(e,t,r){"use strict";var n=r(9504),o=r(9039),a=r(2195),i=Object,s=n("".split);e.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"===a(e)?s(e,""):i(e)}:i},3706:function(e,t,r){"use strict";var n=r(9504),o=r(4901),a=r(7629),i=n(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},1181:function(e,t,r){"use strict";var n,o,a,i=r(8622),s=r(4576),c=r(34),u=r(6699),l=r(9297),f=r(7629),d=r(6119),p=r(421),h="Object already initialized",m=s.TypeError,g=s.WeakMap;if(i||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw new m(h);return t.facade=e,y.set(e,t),t},o=function(e){return y.get(e)||{}},a=function(e){return y.has(e)}}else{var b=d("state");p[b]=!0,n=function(e,t){if(l(e,b))throw new m(h);return t.facade=e,u(e,b,t),t},o=function(e){return l(e,b)?e[b]:{}},a=function(e){return l(e,b)}}e.exports={set:n,get:o,has:a,enforce:function(e){return a(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return r}}}},4901:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},2796:function(e,t,r){"use strict";var n=r(9039),o=r(4901),a=/#|\.prototype\./,i=function(e,t){var r=c[s(e)];return r===l||r!==u&&(o(t)?n(t):!!t)},s=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},4117:function(e){"use strict";e.exports=function(e){return null==e}},34:function(e,t,r){"use strict";var n=r(4901);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},8776:function(e){"use strict";e.exports=!1},757:function(e,t,r){"use strict";var n=r(7751),o=r(4901),a=r(1625),i=r(7040),s=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&a(t.prototype,s(e))}},6198:function(e,t,r){"use strict";var n=r(8014);e.exports=function(e){return n(e.length)}},283:function(e,t,r){"use strict";var n=r(9504),o=r(9039),a=r(4901),i=r(9297),s=r(3724),c=r(350).CONFIGURABLE,u=r(3706),l=r(1181),f=l.enforce,d=l.get,p=String,h=Object.defineProperty,m=n("".slice),g=n("".replace),y=n([].join),b=s&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),v=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===m(p(t),0,7)&&(t="["+g(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!i(e,"name")||c&&e.name!==t)&&(s?h(e,"name",{value:t,configurable:!0}):e.name=t),b&&r&&i(r,"arity")&&e.length!==r.arity&&h(e,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?s&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var n=f(e);return i(n,"source")||(n.source=y(v,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return a(this)&&d(this).source||u(this)}),"toString")},741:function(e){"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},4913:function(e,t,r){"use strict";var n=r(3724),o=r(5917),a=r(8686),i=r(8551),s=r(6969),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=n?a?function(e,t,r){if(i(e),t=s(t),i(r),"function"==typeof e&&"prototype"===t&&"value"in r&&p in r&&!r[p]){var n=l(e,t);n&&n[p]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(i(e),t=s(t),i(r),o)try{return u(e,t,r)}catch(n){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},7347:function(e,t,r){"use strict";var n=r(3724),o=r(9565),a=r(8773),i=r(6980),s=r(5397),c=r(6969),u=r(9297),l=r(5917),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=c(t),l)try{return f(e,t)}catch(r){}if(u(e,t))return i(!o(a.f,e,t),e[t])}},8480:function(e,t,r){"use strict";var n=r(1828),o=r(8727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},3717:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},1625:function(e,t,r){"use strict";var n=r(9504);e.exports=n({}.isPrototypeOf)},1828:function(e,t,r){"use strict";var n=r(9504),o=r(9297),a=r(5397),i=r(9617).indexOf,s=r(421),c=n([].push);e.exports=function(e,t){var r,n=a(e),u=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&c(l,r);for(;t.length>u;)o(n,r=t[u++])&&(~i(l,r)||c(l,r));return l}},8773:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},4270:function(e,t,r){"use strict";var n=r(9565),o=r(4901),a=r(34),i=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&o(r=e.toString)&&!a(s=n(r,e)))return s;if(o(r=e.valueOf)&&!a(s=n(r,e)))return s;if("string"!==t&&o(r=e.toString)&&!a(s=n(r,e)))return s;throw new i("Can't convert object to primitive value")}},5031:function(e,t,r){"use strict";var n=r(7751),o=r(9504),a=r(8480),i=r(3717),s=r(8551),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(s(e)),r=i.f;return r?c(t,r(e)):t}},7750:function(e,t,r){"use strict";var n=r(4117),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},6119:function(e,t,r){"use strict";var n=r(5745),o=r(3392),a=n("keys");e.exports=function(e){return a[e]||(a[e]=o(e))}},7629:function(e,t,r){"use strict";var n=r(8776),o=r(4576),a=r(9433),i="__core-js_shared__",s=e.exports=o[i]||a(i,{});(s.versions||(s.versions=[])).push({version:"3.39.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(e,t,r){"use strict";var n=r(7629);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},4495:function(e,t,r){"use strict";var n=r(9519),o=r(9039),a=r(4576).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},5610:function(e,t,r){"use strict";var n=r(1291),o=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):a(r,t)}},5397:function(e,t,r){"use strict";var n=r(7055),o=r(7750);e.exports=function(e){return n(o(e))}},1291:function(e,t,r){"use strict";var n=r(741);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8014:function(e,t,r){"use strict";var n=r(1291),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},8981:function(e,t,r){"use strict";var n=r(7750),o=Object;e.exports=function(e){return o(n(e))}},2777:function(e,t,r){"use strict";var n=r(9565),o=r(34),a=r(757),i=r(5966),s=r(4270),c=r(8227),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var r,c=i(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!o(r)||a(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},6969:function(e,t,r){"use strict";var n=r(2777),o=r(757);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},6823:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(r){return"Object"}}},3392:function(e,t,r){"use strict";var n=r(9504),o=0,a=Math.random(),i=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++o+a,36)}},7040:function(e,t,r){"use strict";var n=r(4495);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:function(e,t,r){"use strict";var n=r(3724),o=r(9039);e.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8622:function(e,t,r){"use strict";var n=r(4576),o=r(4901),a=n.WeakMap;e.exports=o(a)&&/native code/.test(String(a))},8227:function(e,t,r){"use strict";var n=r(4576),o=r(5745),a=r(9297),i=r(3392),s=r(4495),c=r(7040),u=n.Symbol,l=o("wks"),f=c?u.for||u:u&&u.withoutSetter||i;e.exports=function(e){return a(l,e)||(l[e]=s&&a(u,e)?u[e]:f("Symbol."+e)),l[e]}},5081:function(e,t,r){"use strict";var n=r(6518),o=r(4576);n({global:!0,forced:o.globalThis!==o},{globalThis:o})},2480:function(e,t,r){"use strict";r(5081)},7387:function(e,t,r){"use strict";r.d(t,{A:function(){return o}});var n=r(3662);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,n.A)(e,t)}},8587:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}r.d(t,{A:function(){return n}})},3662:function(e,t,r){"use strict";function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}r.d(t,{A:function(){return n}})},4506:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}const u=e=>{const{search:t,hash:r,href:n,origin:o,protocol:a,host:i,hostname:s,port:c}=e.location;let{pathname:u}=e.location;return!u&&n&&d&&(u=new URL(n).pathname),{pathname:encodeURI(decodeURI(u)),search:t,hash:r,href:n,origin:o,protocol:a,host:i,hostname:s,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},l=(e,t)=>{let r=[],n=u(e),o=!1,a=()=>{};return{get location(){return n},get transitioning(){return o},_onTransitionComplete(){o=!1,a()},listen(t){r.push(t);const o=()=>{n=u(e),t({location:n,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),r=r.filter((e=>e!==t))}},navigate(t,{state:i,replace:c=!1}={}){if("number"==typeof t)e.history.go(t);else{i=s({},i,{key:Date.now()+""});try{o||c?e.history.replaceState(i,null,t):e.history.pushState(i,null,t)}catch(r){e.location[c?"replace":"assign"](t)}}n=u(e),o=!0;const l=new Promise((e=>a=e));return r.forEach((e=>e({location:n,action:"PUSH"}))),l}}},f=(e="/")=>{const t=e.indexOf("?"),r={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let n=0;const o=[r],a=[null];return{get location(){return o[n]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return n},get state(){return a[n]},pushState(e,t,r){const[i,s=""]=r.split("?");n++,o.push({pathname:i,search:s.length?`?${s}`:s}),a.push(e)},replaceState(e,t,r){const[i,s=""]=r.split("?");o[n]={pathname:i,search:s},a[n]=e},go(e){const t=n+e;t<0||t>a.length-1||(n=t)}}}},d=!("undefined"==typeof window||!window.document||!window.document.createElement),p=l(d?window:f()),{navigate:h}=p;function m(e,t){return o.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=o.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):o.createContext(t)}const g=m("Base",{baseuri:"/",basepath:"/"}),y=m("Location"),b=()=>o.useContext(g),v=()=>o.useContext(y);function w(e){this.uri=e}const S=e=>e instanceof w,x=e=>{throw new w(e)};function E(e){const{to:t,replace:r=!0,state:n,noThrow:a,baseuri:i}=e;o.useEffect((()=>{Promise.resolve().then((()=>{const o=R(t,i);h(O(o,e),{replace:r,state:n})}))}),[]);const s=R(t,i);return a||x(O(s,e)),null}const C=e=>{const t=v(),{baseuri:r}=b();return o.createElement(E,s({},t,{baseuri:r},e))};C.propTypes={from:a.string,to:a.string.isRequired};const k=(e,t)=>e.substr(0,t.length)===t,P=(e,t)=>{let r,n;const[o]=t.split("?"),a=D(o),s=""===a[0],c=L(e);for(let u=0,l=c.length;u dynamic segment "${n[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(r);f[n[1]]=t}else if(t!==r){e=!0;break}}if(!e){r={route:o,params:f,uri:"/"+a.slice(0,p).join("/")};break}}return r||n||null},_=(e,t)=>P([{path:e}],t),R=(e,t)=>{if(k(e,"/"))return e;const[r,n]=e.split("?"),[o]=t.split("?"),a=D(r),i=D(o);if(""===a[0])return I(o,n);if(!k(a[0],".")){const e=i.concat(a).join("/");return I(("/"===o?"":"/")+e,n)}const s=i.concat(a),c=[];for(let u=0,l=s.length;u{const[r,n=""]=e.split("?");let o="/"+D(r).map((e=>{const r=M.exec(e);return r?t[r[1]]:e})).join("/");const{location:{search:a=""}={}}=t,i=a.split("?")[1]||"";return o=I(o,n,i),o},j=(e,t)=>{const r=e=>T(e);return D(e).filter(r).sort().join("/")===D(t).filter(r).sort().join("/")},M=/^:(.+)/,T=e=>M.test(e),N=e=>e&&"*"===e[0],A=(e,t)=>({route:e,score:e.default?0:D(e.path).reduce(((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:T(t)?e+=2:N(t)?e-=5:e+=3,e)),0),index:t}),L=e=>e.map(A).sort(((e,t)=>e.scoret.score?-1:e.index-t.index)),D=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),I=(e,...t)=>e+((t=t.filter((e=>e&&e.length>0)))&&t.length>0?`?${t.join("&")}`:""),W=["uri","path"],$=(e,t)=>{const r=Object.keys(e);return r.length===Object.keys(t).length&&r.every((r=>t.hasOwnProperty(r)&&e[r]===t[r]))},H=e=>e.replace(/(^\/+|\/+$)/g,""),z=e=>t=>{if(!t)return null;if(t.type===o.Fragment&&t.props.children)return o.Children.map(t.props.children,z(e));if(i(t.props.path||t.props.default||t.type===C,`: Children of must have a \`path\` or \`default\` prop, or be a \`\`. None found on element type \`${t.type}\``),i(!!(t.type!==C||t.props.from&&t.props.to),` requires both "from" and "to" props when inside a .`),i(!(t.type===C&&!j(t.props.from,t.props.to)),` has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const r=t.type===C?t.props.from:t.props.path,n="/"===r?e:`${H(e)}/${H(r)}`;return{value:t,default:t.props.default,path:t.props.children?`${H(n)}/*`:n}},B=["innerRef"],F=["to","state","replace","getProps"],q=["key"];let{forwardRef:U}=n||(n=r.t(o,2));void 0===U&&(U=e=>e);const J=()=>{},Q=U(((e,t)=>{let{innerRef:r}=e,n=c(e,B);const{baseuri:a}=b(),{location:i}=v(),{to:u,state:l,replace:f,getProps:d=J}=n,p=c(n,F),m=R(u,a),g=encodeURI(m),y=i.pathname===g,w=k(i.pathname,g);return o.createElement("a",s({ref:t||r,"aria-current":y?"page":void 0},p,d({isCurrent:y,isPartiallyCurrent:w,href:m,location:i}),{href:m,onClick:e=>{if(p.onClick&&p.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=f;if("boolean"!=typeof f&&y){const e=c(s({},i.state),q);t=$(s({},l),e)}h(m,{state:l,replace:t})}}}))}));Q.displayName="Link",Q.propTypes={to:a.string.isRequired};class G extends o.Component{constructor(...e){super(...e),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...e){this.setState({}),this.props.onError(...e)}render(){return this.props.children}}const Y=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function X({children:e}){const[t,r]=o.useState(),n=o.useRef(),a=o.useMemo((()=>({componentDidCatch:n,error:t,setError:r})),[t]);return o.createElement(Y.Provider,{value:a},o.createElement(G,{error:t,onError:(e,t)=>{r(e),null==n.current||n.current(e,t)}},e))}X.displayName="ReactUseErrorBoundaryContext";const V=function(e){var t,r;function n(t){return o.createElement(X,null,o.createElement(e,s({key:"WrappedComponent"},t)))}return n.displayName=`WithErrorBoundary(${null!=(t=null!=(r=e.displayName)?r:e.name)?t:"Component"})`,n}((({history:e=p,children:t})=>{const{location:r}=e,[n,a]=o.useState({location:r}),[i]=function(){const e=o.useContext(Y);e.componentDidCatch.current=void 0;const t=o.useCallback((()=>{e.setError(void 0)}),[]);return[e.error,t]}();if(o.useEffect((()=>{e._onTransitionComplete()}),[n.location]),o.useEffect((()=>{let t=!1;const r=e.listen((({location:e})=>{Promise.resolve().then((()=>{requestAnimationFrame((()=>{t||a({location:e})}))}))}));return()=>{t=!0,r()}}),[]),i){if(!S(i))throw i;h(i.uri,{replace:!0})}return o.createElement(y.Provider,{value:n},"function"==typeof t?t(n):t||null)})),K=({children:e})=>{const t=v();return t?e(t):o.createElement(V,null,e)},Z=({url:e,children:t})=>{const r=e.indexOf("?");let n,a="";return r>-1?(n=e.substring(0,r),a=e.substring(r)):n=e,o.createElement(y.Provider,{value:{location:{pathname:n,search:a,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:r}=b(),{location:n}=v(),o=R(e,r),a=_(o,n.pathname);return t({location:n,match:a?s({},a.params,{uri:a.uri,path:e}):null})},te=["uri","location","component"],re=["children","style","component","uri","location"],ne=e=>{let{uri:t,location:r,component:n}=e,a=c(e,te);return o.createElement(ae,s({},a,{component:n,uri:t,location:r}))};let oe=0;const ae=e=>{let{children:t,style:r,component:n="div",uri:a,location:i}=e,u=c(e,re);const l=o.useRef(),f=o.useRef(!0),d=o.useRef(a),p=o.useRef(i.pathname),h=o.useRef(!1);o.useEffect((()=>(oe++,m(),()=>{oe--,0===oe&&(f.current=!0)})),[]),o.useEffect((()=>{let e=!1,t=!1;a!==d.current&&(d.current=a,e=!0),i.pathname!==p.current&&(p.current=i.pathname,t=!0),h.current=e||t&&i.pathname===a,h.current&&m()}),[a,i]);const m=o.useCallback((()=>{var e;f.current?f.current=!1:(e=l.current,h.current&&e&&e.focus())}),[]);return o.createElement(n,s({style:s({outline:"none"},r),tabIndex:"-1",ref:l},u),t)},ie=["location","primary","children","basepath","baseuri","component"],se=e=>{const t=b(),r=v();return o.createElement(ce,s({},t,r,e))};function ce(e){const{location:t,primary:r=!0,children:n,basepath:a,component:i="div"}=e,u=c(e,ie),l=o.Children.toArray(n).reduce(((e,t)=>{const r=z(a)(t);return e.concat(r)}),[]),{pathname:f}=t,d=P(l,f);if(d){const{params:e,uri:n,route:c,route:{value:l}}=d,f=c.default?a:c.path.replace(/\*$/,""),p=s({},e,{uri:n,location:t}),h=o.cloneElement(l,p,l.props.children?o.createElement(se,{location:t,primary:r},l.props.children):void 0),m=r?ne:i,y=r?s({uri:n,location:t,component:i},u):u;return o.createElement(g.Provider,{value:{baseuri:n,basepath:f}},o.createElement(m,y,h))}return null}const ue=()=>{const e=v();if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},le=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},fe=()=>{const e=b();if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const t=ue(),r=_(e.basepath,t.pathname);return r?r.params:null},de=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=b();if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const r=ue(),n=R(e,t.baseuri),o=_(n,r.pathname);return o?s({},o.params,{uri:o.uri,path:e}):null}},8453:function(e,t,r){"use strict";r.d(t,{RP:function(){return a},xA:function(){return s}});var n=r(6540);const o=n.createContext({});function a(e){const t=n.useContext(o);return n.useMemo((()=>"function"==typeof e?e(t):{...t,...e}),[t,e])}const i={};function s({components:e,children:t,disableParentContext:r}){let s;return s=r?"function"==typeof e?e({}):e||i:a(e),n.createElement(o.Provider,{value:s},t)}},7078:function(e,t,r){"use strict";r.d(t,{Fe:function(){return p},N_:function(){return x},Rr:function(){return c},Zf:function(){return b},oo:function(){return E}});var n=r(5556),o=r(6540),a=r(6462),i=r(6395);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if("string"==typeof e)return!(e=>u.test(e))(e)},f=()=>"",d=()=>"";function p(e,t=f()){var r;if(!l(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const n=null!=(r=null!=t?t:d())?r:"/";return`${null!=n&&n.endsWith("/")?n.slice(0,-1):n}${e.startsWith("/")?e:`/${e}`}`}const h=e=>null==e?void 0:e.startsWith("/");function m(e,t){const{pathname:r,search:n,hash:o}=c(e);return`${(0,i.T)(r,t)}${n}${o}`}const g=(e,t)=>"number"==typeof e?e:l(e)?h(e)?function(e){const t=p(e),r="always";return m(t,r)}(e):function(e,t){if(h(e))return e;const r="always",n=(0,a.resolve)(e,t);return m(n,r)}(e,t):e,y=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function b(e){return p(e,d())}const v={activeClassName:n.string,activeStyle:n.object,partiallyActive:n.bool};function w(e){return o.createElement(a.Location,null,(({location:t})=>o.createElement(S,s({},e,{_location:t}))))}class S extends o.Component{constructor(e){super(e),this.defaultGetProps=({isPartiallyCurrent:e,isCurrent:t})=>(this.props.partiallyActive?e:t)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:s({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=c(g(this.props.to,e)),r=t.pathname+t.search;if(e!==r)return ___loader.enqueue(r)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const r=new window.IntersectionObserver((r=>{r.forEach((r=>{e===r.target&&t(r.isIntersecting||r.intersectionRatio>0)}))}));return r.observe(e),{instance:r,el:e}})(e,(e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const e=this.props,{to:t,getProps:r=this.defaultGetProps,onClick:n,onMouseEnter:i,state:u,replace:f,_location:d}=e,p=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,y),h=g(t,d.pathname);return l(h)?o.createElement(a.Link,s({to:h,state:u,getProps:r,innerRef:this.handleRef,onMouseEnter:e=>{i&&i(e);const t=c(h);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(n&&n(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=f;const r=encodeURI(h)===d.pathname;"boolean"!=typeof f&&r&&(t=!0),window.___navigate(h,{state:u,replace:t})}return!0}},p)):o.createElement("a",s({href:h},p))}}S.propTypes=s({},v,{onClick:n.func,to:n.string.isRequired,replace:n.bool,state:n.object});const x=o.forwardRef(((e,t)=>o.createElement(w,s({innerRef:t},e)))),E=(e,t)=>{window.___navigate(g(e,window.location.pathname),t)}},5535:function(e,t,r){"use strict";r.r(t),r.d(t,{Script:function(){return h},ScriptStrategy:function(){return u},collectedScriptsByPage:function(){return s},scriptCache:function(){return d},scriptCallbackCache:function(){return p}});var n=r(6540),o=r(6462);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;ti.get(e)||[],set(e,t){const r=i.get(e)||[];r.push(t),i.set(e,r)},delete(e){i.delete(e)}},c="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){const t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};var u,l;(l=u||(u={})).postHydrate="post-hydrate",l.idle="idle",l.offMainThread="off-main-thread";const f=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),d=new Set,p=new Map;function h(e){return n.createElement(o.Location,null,(()=>n.createElement(m,e)))}function m(e){const{src:t,strategy:r=u.postHydrate}=e||{},{pathname:i}=(0,o.useLocation)();if((0,n.useEffect)((()=>{let t;switch(r){case u.postHydrate:t=g(e);break;case u.idle:c((()=>{t=g(e)}));break;case u.offMainThread:{const t=b(e);s.set(i,t)}}return()=>{const{script:e,loadCallback:r,errorCallback:n}=t||{};r&&(null==e||e.removeEventListener("load",r)),n&&(null==e||e.removeEventListener("error",n)),null==e||e.remove()}}),[]),r===u.offMainThread){const o=y(e),c=b(e);return"undefined"==typeof window&&s.set(i,c),n.createElement("script",o?a({type:"text/partytown","data-strategy":r,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:y(e)}}):a({type:"text/partytown",src:v(t),"data-strategy":r,crossOrigin:"anonymous"},c))}return null}function g(e){const{id:t,src:r,strategy:n=u.postHydrate,onLoad:o,onError:i}=e||{},s=t||r,c=["load","error"],l={load:o,error:i};if(s){for(const e of c)if(null!=l&&l[e]){var f;const t=p.get(s)||{},{callbacks:r=[]}=(null==t?void 0:t[e])||{};var h,m;r.push(null==l?void 0:l[e]),null!=t&&null!=(f=t[e])&&f.event?null==l||null==(h=l[e])||h.call(l,null==t||null==(m=t[e])?void 0:m.event):p.set(s,a({},t,{[e]:{callbacks:r}}))}if(d.has(s))return null}const g=y(e),v=b(e),S=document.createElement("script");t&&(S.id=t),S.dataset.strategy=n;for(const[a,u]of Object.entries(v))S.setAttribute(a,u);g&&(S.textContent=g),r&&(S.src=r);const x={};if(s){for(const e of c){const t=t=>w(t,s,e);S.addEventListener(e,t),x[`${e}Callback`]=t}d.add(s)}return document.body.appendChild(S),{script:S,loadCallback:x.loadCallback,errorCallback:x.errorCallback}}function y(e){const{dangerouslySetInnerHTML:t,children:r=""}=e||{},{__html:n=""}=t||{};return n||r}function b(e){const t={};for(const[r,n]of Object.entries(e))f.has(r)||(t[r]=n);return t}function v(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function w(e,t,r){const n=p.get(t)||{};for(const a of(null==n||null==(o=n[r])?void 0:o.callbacks)||[]){var o;a(e)}p.set(t,{[r]:{event:e}})}}},function(e){e.O(0,[593],(function(){return t=6498,e(e.s=t);var t}));e.O()}]); +//# sourceMappingURL=app-2d767e7c384c01ce3a51.js.map \ No newline at end of file diff --git a/app-c58b6da0fa71b65498dc.js.LICENSE.txt b/app-2d767e7c384c01ce3a51.js.LICENSE.txt similarity index 100% rename from app-c58b6da0fa71b65498dc.js.LICENSE.txt rename to app-2d767e7c384c01ce3a51.js.LICENSE.txt diff --git a/app-c58b6da0fa71b65498dc.js.map b/app-2d767e7c384c01ce3a51.js.map similarity index 55% rename from app-c58b6da0fa71b65498dc.js.map rename to app-2d767e7c384c01ce3a51.js.map index ab4917db..c0f1fad3 100644 --- a/app-c58b6da0fa71b65498dc.js.map +++ b/app-2d767e7c384c01ce3a51.js.map @@ -1 +1 @@ -{"version":3,"file":"app-c58b6da0fa71b65498dc.js","mappings":";sIAyDA,IAAIA,EAA0B,WAE5B,SAASA,EAAWC,GAClB,IAAIC,EAAQC,KAEZA,KAAKC,WAAa,SAAUC,GAC1B,IAAIC,EAIAA,EAFsB,IAAtBJ,EAAMK,KAAKC,OACTN,EAAMO,eACCP,EAAMO,eAAeC,YACrBR,EAAMS,QACNT,EAAMU,UAAUC,WAEhBX,EAAMI,OAGRJ,EAAMK,KAAKL,EAAMK,KAAKC,OAAS,GAAGE,YAG7CR,EAAMU,UAAUE,aAAaT,EAAKC,GAElCJ,EAAMK,KAAKQ,KAAKV,EAClB,EAEAF,KAAKa,cAA8BC,IAAnBhB,EAAQiB,QAAwCjB,EAAQiB,OACxEf,KAAKI,KAAO,GACZJ,KAAKgB,IAAM,EACXhB,KAAKiB,MAAQnB,EAAQmB,MAErBjB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AM+Y,EAAEq/B,KAAK33C,OAAO6V,QAAQ+hC,GAAG34C,EAAEoS,IAAIiH,KAAK/Y,EAAE+Y,GAAGq/B,GAAG,OAAOp4C,CAAC,CAAC,SAAS0J,EAAE2uC,GAAG,GAAGA,EAAE,MAAM,4BAA4BtnB,mBAAmBsnB,IAAI,CAAC,SAASJ,EAAEI,EAAEr4C,EAAE+Y,GAAG,MAAMq/B,EAAEP,EAAEnyC,IAAI1F,IAAI,CAAC,EAAE,IAAI,MAAMA,KAAK,MAAMo4C,GAAG,OAAOoE,EAAEpE,EAAEr/B,SAAI,EAAOyjC,EAAEsQ,YAAY,GAAG,CAAC,IAAItQ,EAAEx8C,EAAEq4C,EAAE,CAACR,EAAElyC,IAAI3F,EAAE,CAAC,CAAC+Y,GAAG,CAAC6sB,MAAMyS,IAAI","sources":["webpack://emilia/./node_modules/@emotion/sheet/dist/emotion-sheet.esm.js","webpack://emilia/./node_modules/stylis/src/Utility.js","webpack://emilia/./node_modules/stylis/src/Tokenizer.js","webpack://emilia/./node_modules/stylis/src/Enum.js","webpack://emilia/./node_modules/stylis/src/Serializer.js","webpack://emilia/./node_modules/stylis/src/Parser.js","webpack://emilia/./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js","webpack://emilia/./node_modules/stylis/src/Middleware.js","webpack://emilia/./node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js","webpack://emilia/./node_modules/@emotion/react/dist/emotion-react.browser.esm.js","webpack://emilia/./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack://emilia/./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack://emilia/./node_modules/@emotion/serialize/dist/emotion-serialize.esm.js","webpack://emilia/./node_modules/@emotion/hash/dist/emotion-hash.esm.js","webpack://emilia/./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js","webpack://emilia/./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js","webpack://emilia/./node_modules/@theme-ui/color-modes/dist/theme-ui-color-modes.esm.js","webpack://emilia/./node_modules/@theme-ui/core/dist/parseProps-376f43a7.esm.js","webpack://emilia/./node_modules/@theme-ui/core/dist/theme-ui-core.esm.js","webpack://emilia/./node_modules/@theme-ui/css/dist/theme-ui-css.esm.js","webpack://emilia/./node_modules/@theme-ui/mdx/dist/theme-ui-mdx.esm.js","webpack://emilia/./node_modules/deepmerge/dist/cjs.js","webpack://emilia/./node_modules/gatsby-page-utils/dist/apply-trailing-slash-option.js","webpack://emilia/./node_modules/gatsby-react-router-scroll/index.js","webpack://emilia/./node_modules/gatsby-react-router-scroll/scroll-handler.js","webpack://emilia/./node_modules/gatsby-react-router-scroll/session-storage.js","webpack://emilia/./node_modules/gatsby-react-router-scroll/use-scroll-restoration.js","webpack://emilia/./node_modules/gatsby/dist/internal-plugins/partytown/gatsby-browser.js","webpack://emilia/./node_modules/gatsby/dist/internal-plugins/partytown/utils/get-forwards.js","webpack://emilia/./node_modules/gatsby/dist/internal-plugins/partytown/utils/inject-partytown-snippet.js","webpack://emilia/./.cache/_this_is_virtual_fs_path_/$virtual/async-requires.js","webpack://emilia/./.cache/api-runner-browser-plugins.js","webpack://emilia/./.cache/api-runner-browser.js","webpack://emilia/./.cache/create-content-digest-browser-shim.js","webpack://emilia/./.cache/emitter.js","webpack://emilia/./node_modules/mitt/dist/mitt.es.js","webpack://emilia/./.cache/normalize-page-path.js","webpack://emilia/./.cache/find-path.js","webpack://emilia/./.cache/slice/server-slice-renderer.js","webpack://emilia/./.cache/slice/server-slice.js","webpack://emilia/./.cache/slice/inline-slice.js","webpack://emilia/./.cache/slice.js","webpack://emilia/./.cache/gatsby-browser-entry.js","webpack://emilia/./.cache/prefetch.js","webpack://emilia/./.cache/loader.js","webpack://emilia/./.cache/head/components/fire-callback-in-effect.js","webpack://emilia/./.cache/head/constants.js","webpack://emilia/./.cache/head/utils.js","webpack://emilia/./.cache/head/head-export-handler-for-browser.js","webpack://emilia/./.cache/page-renderer.js","webpack://emilia/./.cache/route-announcer-props.js","webpack://emilia/./.cache/navigation.js","webpack://emilia/./node_modules/shallow-compare/es/index.js","webpack://emilia/./.cache/ensure-resources.js","webpack://emilia/./.cache/production-app.js","webpack://emilia/./.cache/public-page-renderer-prod.js","webpack://emilia/./.cache/public-page-renderer.js","webpack://emilia/./.cache/react-dom-utils.js","webpack://emilia/./.cache/redirect-utils.js","webpack://emilia/./.cache/register-service-worker.js","webpack://emilia/./.cache/slice/context.js","webpack://emilia/./.cache/static-query.js","webpack://emilia/./.cache/context-utils.js","webpack://emilia/./.cache/strip-prefix.js","webpack://emilia/./node_modules/gatsby-plugin-manifest/gatsby-browser.js","webpack://emilia/./node_modules/gatsby-plugin-manifest/get-manifest-pathname.js","webpack://emilia/./node_modules/@theme-ui/theme-provider/dist/theme-ui-theme-provider.esm.js","webpack://emilia/./node_modules/@theme-ui/preset-tailwind/dist/theme-ui-preset-tailwind.esm.js","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/gatsby-plugin-theme-ui/index.ts","webpack://emilia/./node_modules/gatsby-plugin-theme-ui/src/components.js","webpack://emilia/./node_modules/gatsby-plugin-theme-ui/src/hooks/configOptions.js","webpack://emilia/./node_modules/gatsby-plugin-theme-ui/src/provider.js","webpack://emilia/./node_modules/gatsby-plugin-theme-ui/gatsby-browser.js","webpack://emilia/./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack://emilia/./node_modules/invariant/browser.js","webpack://emilia/./node_modules/react-is/cjs/react-is.production.min.js","webpack://emilia/./node_modules/react-is/index.js","webpack://emilia/./node_modules/react-server-dom-webpack/cjs/react-server-dom-webpack.production.min.js","webpack://emilia/./node_modules/react-server-dom-webpack/index.js","webpack://emilia/./node_modules/@babel/runtime/helpers/assertThisInitialized.js","webpack://emilia/./node_modules/@babel/runtime/helpers/extends.js","webpack://emilia/./node_modules/@babel/runtime/helpers/inheritsLoose.js","webpack://emilia/./node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack://emilia/./node_modules/@babel/runtime/helpers/setPrototypeOf.js","webpack://emilia/./node_modules/@builder.io/partytown/integration/index.cjs","webpack://emilia/./node_modules/core-js/internals/a-callable.js","webpack://emilia/./node_modules/core-js/internals/an-object.js","webpack://emilia/./node_modules/core-js/internals/array-includes.js","webpack://emilia/./node_modules/core-js/internals/classof-raw.js","webpack://emilia/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://emilia/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://emilia/./node_modules/core-js/internals/create-property-descriptor.js","webpack://emilia/./node_modules/core-js/internals/define-built-in.js","webpack://emilia/./node_modules/core-js/internals/define-global-property.js","webpack://emilia/./node_modules/core-js/internals/descriptors.js","webpack://emilia/./node_modules/core-js/internals/document-create-element.js","webpack://emilia/./node_modules/core-js/internals/enum-bug-keys.js","webpack://emilia/./node_modules/core-js/internals/environment-user-agent.js","webpack://emilia/./node_modules/core-js/internals/environment-v8-version.js","webpack://emilia/./node_modules/core-js/internals/export.js","webpack://emilia/./node_modules/core-js/internals/fails.js","webpack://emilia/./node_modules/core-js/internals/function-bind-native.js","webpack://emilia/./node_modules/core-js/internals/function-call.js","webpack://emilia/./node_modules/core-js/internals/function-name.js","webpack://emilia/./node_modules/core-js/internals/function-uncurry-this.js","webpack://emilia/./node_modules/core-js/internals/get-built-in.js","webpack://emilia/./node_modules/core-js/internals/get-method.js","webpack://emilia/./node_modules/core-js/internals/global-this.js","webpack://emilia/./node_modules/core-js/internals/has-own-property.js","webpack://emilia/./node_modules/core-js/internals/hidden-keys.js","webpack://emilia/./node_modules/core-js/internals/ie8-dom-define.js","webpack://emilia/./node_modules/core-js/internals/indexed-object.js","webpack://emilia/./node_modules/core-js/internals/inspect-source.js","webpack://emilia/./node_modules/core-js/internals/internal-state.js","webpack://emilia/./node_modules/core-js/internals/is-callable.js","webpack://emilia/./node_modules/core-js/internals/is-forced.js","webpack://emilia/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://emilia/./node_modules/core-js/internals/is-object.js","webpack://emilia/./node_modules/core-js/internals/is-pure.js","webpack://emilia/./node_modules/core-js/internals/is-symbol.js","webpack://emilia/./node_modules/core-js/internals/length-of-array-like.js","webpack://emilia/./node_modules/core-js/internals/make-built-in.js","webpack://emilia/./node_modules/core-js/internals/math-trunc.js","webpack://emilia/./node_modules/core-js/internals/object-define-property.js","webpack://emilia/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://emilia/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://emilia/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://emilia/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://emilia/./node_modules/core-js/internals/object-keys-internal.js","webpack://emilia/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://emilia/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://emilia/./node_modules/core-js/internals/own-keys.js","webpack://emilia/./node_modules/core-js/internals/require-object-coercible.js","webpack://emilia/./node_modules/core-js/internals/shared-key.js","webpack://emilia/./node_modules/core-js/internals/shared-store.js","webpack://emilia/./node_modules/core-js/internals/shared.js","webpack://emilia/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://emilia/./node_modules/core-js/internals/to-absolute-index.js","webpack://emilia/./node_modules/core-js/internals/to-indexed-object.js","webpack://emilia/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://emilia/./node_modules/core-js/internals/to-length.js","webpack://emilia/./node_modules/core-js/internals/to-object.js","webpack://emilia/./node_modules/core-js/internals/to-primitive.js","webpack://emilia/./node_modules/core-js/internals/to-property-key.js","webpack://emilia/./node_modules/core-js/internals/try-to-string.js","webpack://emilia/./node_modules/core-js/internals/uid.js","webpack://emilia/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://emilia/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://emilia/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://emilia/./node_modules/core-js/internals/well-known-symbol.js","webpack://emilia/./node_modules/core-js/modules/es.global-this.js","webpack://emilia/./node_modules/core-js/modules/esnext.global-this.js","webpack://emilia/./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://emilia/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://emilia/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://emilia/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://emilia/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://emilia/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://emilia/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://emilia/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack://emilia/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://emilia/./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack://emilia/./node_modules/@babel/runtime/helpers/esm/construct.js","webpack://emilia/./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","webpack://emilia/./node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js","webpack://emilia/./node_modules/@babel/runtime/helpers/esm/isNativeFunction.js","webpack://emilia/./node_modules/@gatsbyjs/reach-router/dist/index.modern.mjs","webpack://emilia/./node_modules/@mdx-js/react/lib/index.js","webpack://emilia/./node_modules/gatsby-link/dist/index.modern.mjs","webpack://emilia/./node_modules/gatsby-script/dist/index.modern.mjs"],"sourcesContent":["var isDevelopment = false;\n\n/*\n\nBased off glamor's StyleSheet, thanks Sunil ❤️\n\nhigh performance StyleSheet for css-in-js systems\n\n- uses multiple style tags behind the scenes for millions of rules\n- uses `insertRule` for appending in production for *much* faster performance\n\n// usage\n\nimport { StyleSheet } from '@emotion/sheet'\n\nlet styleSheet = new StyleSheet({ key: '', container: document.head })\n\nstyleSheet.insert('#box { border: 1px solid red; }')\n- appends a css rule into the stylesheet\n\nstyleSheet.flush()\n- empties the stylesheet of all its contents\n\n*/\n\nfunction sheetForTag(tag) {\n if (tag.sheet) {\n return tag.sheet;\n } // this weirdness brought to you by firefox\n\n /* istanbul ignore next */\n\n\n for (var i = 0; i < document.styleSheets.length; i++) {\n if (document.styleSheets[i].ownerNode === tag) {\n return document.styleSheets[i];\n }\n } // this function should always return with a value\n // TS can't understand it though so we make it stop complaining here\n\n\n return undefined;\n}\n\nfunction createStyleElement(options) {\n var tag = document.createElement('style');\n tag.setAttribute('data-emotion', options.key);\n\n if (options.nonce !== undefined) {\n tag.setAttribute('nonce', options.nonce);\n }\n\n tag.appendChild(document.createTextNode(''));\n tag.setAttribute('data-s', '');\n return tag;\n}\n\nvar StyleSheet = /*#__PURE__*/function () {\n // Using Node instead of HTMLElement since container may be a ShadowRoot\n function StyleSheet(options) {\n var _this = this;\n\n this._insertTag = function (tag) {\n var before;\n\n if (_this.tags.length === 0) {\n if (_this.insertionPoint) {\n before = _this.insertionPoint.nextSibling;\n } else if (_this.prepend) {\n before = _this.container.firstChild;\n } else {\n before = _this.before;\n }\n } else {\n before = _this.tags[_this.tags.length - 1].nextSibling;\n }\n\n _this.container.insertBefore(tag, before);\n\n _this.tags.push(tag);\n };\n\n this.isSpeedy = options.speedy === undefined ? !isDevelopment : options.speedy;\n this.tags = [];\n this.ctr = 0;\n this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets\n\n this.key = options.key;\n this.container = options.container;\n this.prepend = options.prepend;\n this.insertionPoint = options.insertionPoint;\n this.before = null;\n }\n\n var _proto = StyleSheet.prototype;\n\n _proto.hydrate = function hydrate(nodes) {\n nodes.forEach(this._insertTag);\n };\n\n _proto.insert = function insert(rule) {\n // the max length is how many rules we have per style tag, it's 65000 in speedy mode\n // it's 1 in dev because we insert source maps that map a single rule to a location\n // and you can only have one source map per style tag\n if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {\n this._insertTag(createStyleElement(this));\n }\n\n var tag = this.tags[this.tags.length - 1];\n\n if (this.isSpeedy) {\n var sheet = sheetForTag(tag);\n\n try {\n // this is the ultrafast version, works across browsers\n // the big drawback is that the css won't be editable in devtools\n sheet.insertRule(rule, sheet.cssRules.length);\n } catch (e) {\n }\n } else {\n tag.appendChild(document.createTextNode(rule));\n }\n\n this.ctr++;\n };\n\n _proto.flush = function flush() {\n this.tags.forEach(function (tag) {\n var _tag$parentNode;\n\n return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);\n });\n this.tags = [];\n this.ctr = 0;\n };\n\n return StyleSheet;\n}();\n\nexport { StyleSheet };\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @return {number}\n */\nexport function indexof (value, search) {\n\treturn value.indexOf(search)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: ''}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0), root, {length: -root.length}, props)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen, sizeof} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\tvar length = sizeof(children)\n\n\tfor (var i = 0; i < length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: element.value = element.props.join(',')\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f') != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @return {object}\n */\nexport function comment (value, root, parent) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @return {object}\n */\nexport function declaration (value, root, parent, length) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length)\n}\n","import { StyleSheet } from '@emotion/sheet';\nimport { dealloc, alloc, next, token, from, peek, delimit, slice, position, RULESET, combine, match, serialize, copy, replace, WEBKIT, MOZ, MS, KEYFRAMES, DECLARATION, hash, charat, strlen, indexof, stringify, rulesheet, middleware, compile } from 'stylis';\nimport '@emotion/weak-memoize';\nimport '@emotion/memoize';\n\nvar identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {\n var previous = 0;\n var character = 0;\n\n while (true) {\n previous = character;\n character = peek(); // &\\f\n\n if (previous === 38 && character === 12) {\n points[index] = 1;\n }\n\n if (token(character)) {\n break;\n }\n\n next();\n }\n\n return slice(begin, position);\n};\n\nvar toRules = function toRules(parsed, points) {\n // pretend we've started with a comma\n var index = -1;\n var character = 44;\n\n do {\n switch (token(character)) {\n case 0:\n // &\\f\n if (character === 38 && peek() === 12) {\n // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings\n // stylis inserts \\f after & to know when & where it should replace this sequence with the context selector\n // and when it should just concatenate the outer and inner selectors\n // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here\n points[index] = 1;\n }\n\n parsed[index] += identifierWithPointTracking(position - 1, points, index);\n break;\n\n case 2:\n parsed[index] += delimit(character);\n break;\n\n case 4:\n // comma\n if (character === 44) {\n // colon\n parsed[++index] = peek() === 58 ? '&\\f' : '';\n points[index] = parsed[index].length;\n break;\n }\n\n // fallthrough\n\n default:\n parsed[index] += from(character);\n }\n } while (character = next());\n\n return parsed;\n};\n\nvar getRules = function getRules(value, points) {\n return dealloc(toRules(alloc(value), points));\n}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11\n\n\nvar fixedElements = /* #__PURE__ */new WeakMap();\nvar compat = function compat(element) {\n if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo\n // negative .length indicates that this rule has been already prefixed\n element.length < 1) {\n return;\n }\n\n var value = element.value;\n var parent = element.parent;\n var isImplicitRule = element.column === parent.column && element.line === parent.line;\n\n while (parent.type !== 'rule') {\n parent = parent.parent;\n if (!parent) return;\n } // short-circuit for the simplest case\n\n\n if (element.props.length === 1 && value.charCodeAt(0) !== 58\n /* colon */\n && !fixedElements.get(parent)) {\n return;\n } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)\n // then the props has already been manipulated beforehand as they that array is shared between it and its \"rule parent\"\n\n\n if (isImplicitRule) {\n return;\n }\n\n fixedElements.set(element, true);\n var points = [];\n var rules = getRules(value, points);\n var parentRules = parent.props;\n\n for (var i = 0, k = 0; i < rules.length; i++) {\n for (var j = 0; j < parentRules.length; j++, k++) {\n element.props[k] = points[i] ? rules[i].replace(/&\\f/g, parentRules[j]) : parentRules[j] + \" \" + rules[i];\n }\n }\n};\nvar removeLabel = function removeLabel(element) {\n if (element.type === 'decl') {\n var value = element.value;\n\n if ( // charcode for l\n value.charCodeAt(0) === 108 && // charcode for b\n value.charCodeAt(2) === 98) {\n // this ignores label\n element[\"return\"] = '';\n element.value = '';\n }\n }\n};\n\n/* eslint-disable no-fallthrough */\n\nfunction prefix(value, length) {\n switch (hash(value, length)) {\n // color-adjust\n case 5103:\n return WEBKIT + 'print-' + value + value;\n // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\n case 5737:\n case 4201:\n case 3177:\n case 3433:\n case 1641:\n case 4457:\n case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\n case 5572:\n case 6356:\n case 5844:\n case 3191:\n case 6645:\n case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\n case 6391:\n case 5879:\n case 5623:\n case 6135:\n case 4599:\n case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\n case 4215:\n case 6389:\n case 5109:\n case 5365:\n case 5621:\n case 3829:\n return WEBKIT + value + value;\n // appearance, user-select, transform, hyphens, text-size-adjust\n\n case 5349:\n case 4246:\n case 4810:\n case 6968:\n case 2756:\n return WEBKIT + value + MOZ + value + MS + value + value;\n // flex, flex-direction\n\n case 6828:\n case 4268:\n return WEBKIT + value + MS + value + value;\n // order\n\n case 6165:\n return WEBKIT + value + MS + 'flex-' + value + value;\n // align-items\n\n case 5187:\n return WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;\n // align-self\n\n case 5443:\n return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;\n // align-content\n\n case 4675:\n return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;\n // flex-shrink\n\n case 5548:\n return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;\n // flex-basis\n\n case 5292:\n return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;\n // flex-grow\n\n case 6060:\n return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;\n // transition\n\n case 4554:\n return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;\n // cursor\n\n case 6187:\n return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;\n // background, background-image\n\n case 5495:\n case 3959:\n return replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1');\n // justify-content\n\n case 4968:\n return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;\n // (margin|padding)-inline-(start|end)\n\n case 4095:\n case 3583:\n case 4068:\n case 2532:\n return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;\n // (min|max)?(width|height|inline-size|block-size)\n\n case 8116:\n case 7059:\n case 5753:\n case 5535:\n case 5445:\n case 5701:\n case 4933:\n case 4677:\n case 5533:\n case 5789:\n case 5021:\n case 4765:\n // stretch, max-content, min-content, fill-available\n if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {\n // (m)ax-content, (m)in-content\n case 109:\n // -\n if (charat(value, length + 4) !== 45) break;\n // (f)ill-available, (f)it-content\n\n case 102:\n return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;\n // (s)tretch\n\n case 115:\n return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;\n }\n break;\n // position: sticky\n\n case 4949:\n // (s)ticky?\n if (charat(value, length + 1) !== 115) break;\n // display: (flex|inline-flex)\n\n case 6444:\n switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {\n // stic(k)y\n case 107:\n return replace(value, ':', ':' + WEBKIT) + value;\n // (inline-)?fl(e)x\n\n case 101:\n return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;\n }\n\n break;\n // writing-mode\n\n case 5936:\n switch (charat(value, length + 11)) {\n // vertical-l(r)\n case 114:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value;\n // vertical-r(l)\n\n case 108:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value;\n // horizontal(-)tb\n\n case 45:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value;\n }\n\n return WEBKIT + value + MS + value + value;\n }\n\n return value;\n}\n\nvar prefixer = function prefixer(element, index, children, callback) {\n if (element.length > -1) if (!element[\"return\"]) switch (element.type) {\n case DECLARATION:\n element[\"return\"] = prefix(element.value, element.length);\n break;\n\n case KEYFRAMES:\n return serialize([copy(element, {\n value: replace(element.value, '@', '@' + WEBKIT)\n })], callback);\n\n case RULESET:\n if (element.length) return combine(element.props, function (value) {\n switch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n // :read-(only|write)\n case ':read-only':\n case ':read-write':\n return serialize([copy(element, {\n props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]\n })], callback);\n // :placeholder\n\n case '::placeholder':\n return serialize([copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]\n })], callback);\n }\n\n return '';\n });\n }\n};\n\nvar defaultStylisPlugins = [prefixer];\n\nvar createCache = function createCache(options) {\n var key = options.key;\n\n if (key === 'css') {\n var ssrStyles = document.querySelectorAll(\"style[data-emotion]:not([data-s])\"); // get SSRed styles out of the way of React's hydration\n // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)\n // note this very very intentionally targets all style elements regardless of the key to ensure\n // that creating a cache works inside of render of a React component\n\n Array.prototype.forEach.call(ssrStyles, function (node) {\n // we want to only move elements which have a space in the data-emotion attribute value\n // because that indicates that it is an Emotion 11 server-side rendered style elements\n // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector\n // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)\n // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles\n // will not result in the Emotion 10 styles being destroyed\n var dataEmotionAttribute = node.getAttribute('data-emotion');\n\n if (dataEmotionAttribute.indexOf(' ') === -1) {\n return;\n }\n\n document.head.appendChild(node);\n node.setAttribute('data-s', '');\n });\n }\n\n var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;\n\n var inserted = {};\n var container;\n var nodesToHydrate = [];\n\n {\n container = options.container || document.head;\n Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which\n // means that the style elements we're looking at are only Emotion 11 server-rendered style elements\n document.querySelectorAll(\"style[data-emotion^=\\\"\" + key + \" \\\"]\"), function (node) {\n var attrib = node.getAttribute(\"data-emotion\").split(' ');\n\n for (var i = 1; i < attrib.length; i++) {\n inserted[attrib[i]] = true;\n }\n\n nodesToHydrate.push(node);\n });\n }\n\n var _insert;\n\n var omnipresentPlugins = [compat, removeLabel];\n\n {\n var currentSheet;\n var finalizingPlugins = [stringify, rulesheet(function (rule) {\n currentSheet.insert(rule);\n })];\n var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));\n\n var stylis = function stylis(styles) {\n return serialize(compile(styles), serializer);\n };\n\n _insert = function insert(selector, serialized, sheet, shouldCache) {\n currentSheet = sheet;\n\n stylis(selector ? selector + \"{\" + serialized.styles + \"}\" : serialized.styles);\n\n if (shouldCache) {\n cache.inserted[serialized.name] = true;\n }\n };\n }\n\n var cache = {\n key: key,\n sheet: new StyleSheet({\n key: key,\n container: container,\n nonce: options.nonce,\n speedy: options.speedy,\n prepend: options.prepend,\n insertionPoint: options.insertionPoint\n }),\n nonce: options.nonce,\n inserted: inserted,\n registered: {},\n insert: _insert\n };\n cache.sheet.hydrate(nodesToHydrate);\n return cache;\n};\n\nexport { createCache as default };\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine} from './Utility.js'\nimport {copy, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\treturn serialize([copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]})], callback)\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\treturn serialize([\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]})\n\t\t\t\t\t\t\t\t\t], callback)\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import * as React from 'react';\nimport { useContext, forwardRef } from 'react';\nimport createCache from '@emotion/cache';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport weakMemoize from '@emotion/weak-memoize';\nimport hoistNonReactStatics from '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\n\nvar isDevelopment = false;\n\nvar EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case\n// because this module is primarily intended for the browser and node\n// but it's also required in react native and similar environments sometimes\n// and we could have a special build just for that\n// but this is much easier and the native packages\n// might use a different theme context in the future anyway\ntypeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({\n key: 'css'\n}) : null);\n\nvar CacheProvider = EmotionCacheContext.Provider;\nvar __unsafe_useEmotionCache = function useEmotionCache() {\n return useContext(EmotionCacheContext);\n};\n\nvar withEmotionCache = function withEmotionCache(func) {\n return /*#__PURE__*/forwardRef(function (props, ref) {\n // the cache will never be null in the browser\n var cache = useContext(EmotionCacheContext);\n return func(props, cache, ref);\n });\n};\n\nvar ThemeContext = /* #__PURE__ */React.createContext({});\n\nvar useTheme = function useTheme() {\n return React.useContext(ThemeContext);\n};\n\nvar getTheme = function getTheme(outerTheme, theme) {\n if (typeof theme === 'function') {\n var mergedTheme = theme(outerTheme);\n\n return mergedTheme;\n }\n\n return _extends({}, outerTheme, theme);\n};\n\nvar createCacheWithTheme = /* #__PURE__ */weakMemoize(function (outerTheme) {\n return weakMemoize(function (theme) {\n return getTheme(outerTheme, theme);\n });\n});\nvar ThemeProvider = function ThemeProvider(props) {\n var theme = React.useContext(ThemeContext);\n\n if (props.theme !== theme) {\n theme = createCacheWithTheme(theme)(props.theme);\n }\n\n return /*#__PURE__*/React.createElement(ThemeContext.Provider, {\n value: theme\n }, props.children);\n};\nfunction withTheme(Component) {\n var componentName = Component.displayName || Component.name || 'Component';\n var WithTheme = /*#__PURE__*/React.forwardRef(function render(props, ref) {\n var theme = React.useContext(ThemeContext);\n return /*#__PURE__*/React.createElement(Component, _extends({\n theme: theme,\n ref: ref\n }, props));\n });\n WithTheme.displayName = \"WithTheme(\" + componentName + \")\";\n return hoistNonReactStatics(WithTheme, Component);\n}\n\nvar hasOwn = {}.hasOwnProperty;\n\nvar typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';\nvar createEmotionProps = function createEmotionProps(type, props) {\n\n var newProps = {};\n\n for (var _key in props) {\n if (hasOwn.call(props, _key)) {\n newProps[_key] = props[_key];\n }\n }\n\n newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:\n\n return newProps;\n};\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n useInsertionEffectAlwaysWithSyncFallback(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n\n return null;\n};\n\nvar Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {\n var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works\n // not passing the registered cache to serializeStyles because it would\n // make certain babel optimisations not possible\n\n if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {\n cssProp = cache.registered[cssProp];\n }\n\n var WrappedComponent = props[typePropName];\n var registeredStyles = [cssProp];\n var className = '';\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, registeredStyles, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(registeredStyles, undefined, React.useContext(ThemeContext));\n\n className += cache.key + \"-\" + serialized.name;\n var newProps = {};\n\n for (var _key2 in props) {\n if (hasOwn.call(props, _key2) && _key2 !== 'css' && _key2 !== typePropName && (!isDevelopment )) {\n newProps[_key2] = props[_key2];\n }\n }\n\n newProps.className = className;\n\n if (ref) {\n newProps.ref = ref;\n }\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof WrappedComponent === 'string'\n }), /*#__PURE__*/React.createElement(WrappedComponent, newProps));\n});\n\nvar Emotion$1 = Emotion;\n\nexport { CacheProvider as C, Emotion$1 as E, ThemeContext as T, __unsafe_useEmotionCache as _, ThemeProvider as a, withTheme as b, createEmotionProps as c, hasOwn as h, isDevelopment as i, useTheme as u, withEmotionCache as w };\n","import { h as hasOwn, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext, i as isDevelopment } from './emotion-element-f0de968e.browser.esm.js';\nexport { C as CacheProvider, T as ThemeContext, a as ThemeProvider, _ as __unsafe_useEmotionCache, u as useTheme, w as withEmotionCache, b as withTheme } from './emotion-element-f0de968e.browser.esm.js';\nimport * as React from 'react';\nimport { insertStyles, registerStyles, getRegisteredStyles } from '@emotion/utils';\nimport { useInsertionEffectWithLayoutFallback, useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\nimport { serializeStyles } from '@emotion/serialize';\nimport '@emotion/cache';\nimport '@babel/runtime/helpers/extends';\nimport '@emotion/weak-memoize';\nimport '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport 'hoist-non-react-statics';\n\nvar jsx = function jsx(type, props) {\n // eslint-disable-next-line prefer-rest-params\n var args = arguments;\n\n if (props == null || !hasOwn.call(props, 'css')) {\n return React.createElement.apply(undefined, args);\n }\n\n var argsLength = args.length;\n var createElementArgArray = new Array(argsLength);\n createElementArgArray[0] = Emotion;\n createElementArgArray[1] = createEmotionProps(type, props);\n\n for (var i = 2; i < argsLength; i++) {\n createElementArgArray[i] = args[i];\n }\n\n return React.createElement.apply(null, createElementArgArray);\n};\n\n(function (_jsx) {\n var JSX;\n\n (function (_JSX) {})(JSX || (JSX = _jsx.JSX || (_jsx.JSX = {})));\n})(jsx || (jsx = {}));\n\n// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild\n// initial client-side render from SSR, use place of hydrating tag\n\nvar Global = /* #__PURE__ */withEmotionCache(function (props, cache) {\n\n var styles = props.styles;\n var serialized = serializeStyles([styles], undefined, React.useContext(ThemeContext));\n // but it is based on a constant that will never change at runtime\n // it's effectively like having two implementations and switching them out\n // so it's not actually breaking anything\n\n\n var sheetRef = React.useRef();\n useInsertionEffectWithLayoutFallback(function () {\n var key = cache.key + \"-global\"; // use case of https://github.com/emotion-js/emotion/issues/2675\n\n var sheet = new cache.sheet.constructor({\n key: key,\n nonce: cache.sheet.nonce,\n container: cache.sheet.container,\n speedy: cache.sheet.isSpeedy\n });\n var rehydrating = false;\n var node = document.querySelector(\"style[data-emotion=\\\"\" + key + \" \" + serialized.name + \"\\\"]\");\n\n if (cache.sheet.tags.length) {\n sheet.before = cache.sheet.tags[0];\n }\n\n if (node !== null) {\n rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other s\n\n node.setAttribute('data-emotion', key);\n sheet.hydrate([node]);\n }\n\n sheetRef.current = [sheet, rehydrating];\n return function () {\n sheet.flush();\n };\n }, [cache]);\n useInsertionEffectWithLayoutFallback(function () {\n var sheetRefCurrent = sheetRef.current;\n var sheet = sheetRefCurrent[0],\n rehydrating = sheetRefCurrent[1];\n\n if (rehydrating) {\n sheetRefCurrent[1] = false;\n return;\n }\n\n if (serialized.next !== undefined) {\n // insert keyframes\n insertStyles(cache, serialized.next, true);\n }\n\n if (sheet.tags.length) {\n // if this doesn't exist then it will be null so the style element will be appended\n var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;\n sheet.before = element;\n sheet.flush();\n }\n\n cache.insert(\"\", serialized, sheet, false);\n }, [cache, serialized.name]);\n return null;\n});\n\nfunction css() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return serializeStyles(args);\n}\n\nfunction keyframes() {\n var insertable = css.apply(void 0, arguments);\n var name = \"animation-\" + insertable.name;\n return {\n name: name,\n styles: \"@keyframes \" + name + \"{\" + insertable.styles + \"}\",\n anim: 1,\n toString: function toString() {\n return \"_EMO_\" + this.name + \"_\" + this.styles + \"_EMO_\";\n }\n };\n}\n\nvar classnames = function classnames(args) {\n var len = args.length;\n var i = 0;\n var cls = '';\n\n for (; i < len; i++) {\n var arg = args[i];\n if (arg == null) continue;\n var toAdd = void 0;\n\n switch (typeof arg) {\n case 'boolean':\n break;\n\n case 'object':\n {\n if (Array.isArray(arg)) {\n toAdd = classnames(arg);\n } else {\n\n toAdd = '';\n\n for (var k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += ' ');\n toAdd += k;\n }\n }\n }\n\n break;\n }\n\n default:\n {\n toAdd = arg;\n }\n }\n\n if (toAdd) {\n cls && (cls += ' ');\n cls += toAdd;\n }\n }\n\n return cls;\n};\n\nfunction merge(registered, css, className) {\n var registeredStyles = [];\n var rawClassName = getRegisteredStyles(registered, registeredStyles, className);\n\n if (registeredStyles.length < 2) {\n return className;\n }\n\n return rawClassName + css(registeredStyles);\n}\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serializedArr = _ref.serializedArr;\n useInsertionEffectAlwaysWithSyncFallback(function () {\n\n for (var i = 0; i < serializedArr.length; i++) {\n insertStyles(cache, serializedArr[i], false);\n }\n });\n\n return null;\n};\n\nvar ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {\n var hasRendered = false;\n var serializedArr = [];\n\n var css = function css() {\n if (hasRendered && isDevelopment) {\n throw new Error('css can only be used during render');\n }\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var serialized = serializeStyles(args, cache.registered);\n serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`\n\n registerStyles(cache, serialized, false);\n return cache.key + \"-\" + serialized.name;\n };\n\n var cx = function cx() {\n if (hasRendered && isDevelopment) {\n throw new Error('cx can only be used during render');\n }\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return merge(cache.registered, css, classnames(args));\n };\n\n var content = {\n css: css,\n cx: cx,\n theme: React.useContext(ThemeContext)\n };\n var ele = props.children(content);\n hasRendered = true;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serializedArr: serializedArr\n }), ele);\n});\n\nexport { ClassNames, Global, jsx as createElement, css, jsx, keyframes };\n","var unitlessKeys = {\n animationIterationCount: 1,\n aspectRatio: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n scale: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","import hashString from '@emotion/hash';\nimport unitless from '@emotion/unitless';\nimport memoize from '@emotion/memoize';\n\nvar isDevelopment = false;\n\nvar hyphenateRegex = /[A-Z]|^ms/g;\nvar animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;\n\nvar isCustomProperty = function isCustomProperty(property) {\n return property.charCodeAt(1) === 45;\n};\n\nvar isProcessableValue = function isProcessableValue(value) {\n return value != null && typeof value !== 'boolean';\n};\n\nvar processStyleName = /* #__PURE__ */memoize(function (styleName) {\n return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();\n});\n\nvar processStyleValue = function processStyleValue(key, value) {\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n if (typeof value === 'string') {\n return value.replace(animationRegex, function (match, p1, p2) {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n };\n return p1;\n });\n }\n }\n }\n\n if (unitless[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {\n return value + 'px';\n }\n\n return value;\n};\n\nvar noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';\n\nfunction handleInterpolation(mergedProps, registered, interpolation) {\n if (interpolation == null) {\n return '';\n }\n\n var componentSelector = interpolation;\n\n if (componentSelector.__emotion_styles !== undefined) {\n\n return componentSelector;\n }\n\n switch (typeof interpolation) {\n case 'boolean':\n {\n return '';\n }\n\n case 'object':\n {\n var keyframes = interpolation;\n\n if (keyframes.anim === 1) {\n cursor = {\n name: keyframes.name,\n styles: keyframes.styles,\n next: cursor\n };\n return keyframes.name;\n }\n\n var serializedStyles = interpolation;\n\n if (serializedStyles.styles !== undefined) {\n var next = serializedStyles.next;\n\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n };\n next = next.next;\n }\n }\n\n var styles = serializedStyles.styles + \";\";\n return styles;\n }\n\n return createStringFromObject(mergedProps, registered, interpolation);\n }\n\n case 'function':\n {\n if (mergedProps !== undefined) {\n var previousCursor = cursor;\n var result = interpolation(mergedProps);\n cursor = previousCursor;\n return handleInterpolation(mergedProps, registered, result);\n }\n\n break;\n }\n } // finalize string values (regular strings and functions interpolated into css calls)\n\n\n var asString = interpolation;\n\n if (registered == null) {\n return asString;\n }\n\n var cached = registered[asString];\n return cached !== undefined ? cached : asString;\n}\n\nfunction createStringFromObject(mergedProps, registered, obj) {\n var string = '';\n\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n string += handleInterpolation(mergedProps, registered, obj[i]) + \";\";\n }\n } else {\n for (var key in obj) {\n var value = obj[key];\n\n if (typeof value !== 'object') {\n var asString = value;\n\n if (registered != null && registered[asString] !== undefined) {\n string += key + \"{\" + registered[asString] + \"}\";\n } else if (isProcessableValue(asString)) {\n string += processStyleName(key) + \":\" + processStyleValue(key, asString) + \";\";\n }\n } else {\n if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment) {\n throw new Error(noComponentSelectorMessage);\n }\n\n if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {\n for (var _i = 0; _i < value.length; _i++) {\n if (isProcessableValue(value[_i])) {\n string += processStyleName(key) + \":\" + processStyleValue(key, value[_i]) + \";\";\n }\n }\n } else {\n var interpolated = handleInterpolation(mergedProps, registered, value);\n\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n string += processStyleName(key) + \":\" + interpolated + \";\";\n break;\n }\n\n default:\n {\n\n string += key + \"{\" + interpolated + \"}\";\n }\n }\n }\n }\n }\n }\n\n return string;\n}\n\nvar labelPattern = /label:\\s*([^\\s;{]+)\\s*(;|$)/g; // this is the cursor for keyframes\n// keyframes are stored on the SerializedStyles object as a linked list\n\nvar cursor;\nfunction serializeStyles(args, registered, mergedProps) {\n if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {\n return args[0];\n }\n\n var stringMode = true;\n var styles = '';\n cursor = undefined;\n var strings = args[0];\n\n if (strings == null || strings.raw === undefined) {\n stringMode = false;\n styles += handleInterpolation(mergedProps, registered, strings);\n } else {\n var asTemplateStringsArr = strings;\n\n styles += asTemplateStringsArr[0];\n } // we start at 1 since we've already handled the first arg\n\n\n for (var i = 1; i < args.length; i++) {\n styles += handleInterpolation(mergedProps, registered, args[i]);\n\n if (stringMode) {\n var templateStringsArr = strings;\n\n styles += templateStringsArr[i];\n }\n } // using a global regex with .exec is stateful so lastIndex has to be reset each time\n\n\n labelPattern.lastIndex = 0;\n var identifierName = '';\n var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName += '-' + match[1];\n }\n\n var name = hashString(styles) + identifierName;\n\n return {\n name: name,\n styles: styles,\n next: cursor\n };\n}\n\nexport { serializeStyles };\n","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n // const m = 0x5bd1e995;\n // const r = 24;\n // Initialize the hash\n var h = 0; // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length;\n\n for (; len >= 4; ++i, len -= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n k ^=\n /* k >>> r: */\n k >>> 24;\n h =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Handle the last few bytes of the input array\n\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n\n h ^= h >>> 13;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport { murmur2 as default };\n","import * as React from 'react';\n\nvar syncFallback = function syncFallback(create) {\n return create();\n};\n\nvar useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;\nvar useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;\nvar useInsertionEffectWithLayoutFallback = useInsertionEffect || React.useLayoutEffect;\n\nexport { useInsertionEffectAlwaysWithSyncFallback, useInsertionEffectWithLayoutFallback };\n","var isBrowser = true;\n\nfunction getRegisteredStyles(registered, registeredStyles, classNames) {\n var rawClassName = '';\n classNames.split(' ').forEach(function (className) {\n if (registered[className] !== undefined) {\n registeredStyles.push(registered[className] + \";\");\n } else if (className) {\n rawClassName += className + \" \";\n }\n });\n return rawClassName;\n}\nvar registerStyles = function registerStyles(cache, serialized, isStringTag) {\n var className = cache.key + \"-\" + serialized.name;\n\n if ( // we only need to add the styles to the registered cache if the\n // class name could be used further down\n // the tree but if it's a string tag, we know it won't\n // so we don't have to add it to registered cache.\n // this improves memory usage since we can avoid storing the whole style string\n (isStringTag === false || // we need to always store it if we're in compat mode and\n // in node since emotion-server relies on whether a style is in\n // the registered cache to know whether a style is global or not\n // also, note that this check will be dead code eliminated in the browser\n isBrowser === false ) && cache.registered[className] === undefined) {\n cache.registered[className] = serialized.styles;\n }\n};\nvar insertStyles = function insertStyles(cache, serialized, isStringTag) {\n registerStyles(cache, serialized, isStringTag);\n var className = cache.key + \"-\" + serialized.name;\n\n if (cache.inserted[serialized.name] === undefined) {\n var current = serialized;\n\n do {\n cache.insert(serialized === current ? \".\" + className : '', current, cache.sheet, true);\n\n current = current.next;\n } while (current !== undefined);\n }\n};\n\nexport { getRegisteredStyles, insertStyles, registerStyles };\n","import React, { useState, useEffect, useCallback, useMemo, useLayoutEffect } from 'react';\nimport { useThemeUI, jsx, __ThemeUIInternalBaseThemeProvider } from '@theme-ui/core';\nimport { css, get } from '@theme-ui/css';\nimport { Global } from '@emotion/react';\n\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nvar toVarName = function toVarName(key) {\n return \"--theme-ui-\" + key.replace('-__default', '');\n};\n\nvar toVarValue = function toVarValue(key) {\n return \"var(\" + toVarName(key) + \")\";\n};\n\nvar join = function join() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return args.filter(Boolean).join('-');\n};\n\nvar reservedKeys = new Set(['useCustomProperties', 'initialColorModeName', 'printColorModeName', 'initialColorMode', 'useLocalStorage', 'config']); // convert theme values to custom properties\n\nvar toCustomProperties = function toCustomProperties(obj, parent) {\n var next = Array.isArray(obj) ? [] : {};\n\n for (var key in obj) {\n var value = obj[key];\n var name = join(parent, key);\n\n if (value && typeof value === 'object') {\n next[key] = toCustomProperties(value, name);\n continue;\n }\n\n if (reservedKeys.has(key)) {\n next[key] = value;\n continue;\n }\n\n next[key] = toVarValue(name);\n }\n\n return next;\n};\n/**\n * @internal\n * Recursively transforms an object into CSS variables excluding \"modes\" key.\n */\n\nvar __objectToVars = function __objectToVars(parent, obj) {\n var vars = {};\n\n for (var key in obj) {\n if (key === 'modes') continue;\n var name = join(parent, key);\n var value = obj[key];\n\n if (value && typeof value === 'object') {\n vars = _extends({}, vars, __objectToVars(name, value));\n } else {\n vars[toVarName(name)] = value;\n }\n }\n\n return vars;\n};\n/**\n * @internal\n * Creates root styles for color modes.\n * - Transforms color scale into CSS variables.\n * - Sets background and text color.\n */\n\nvar __createColorStyles = function __createColorStyles(theme) {\n if (theme === void 0) {\n theme = {};\n }\n\n var _ref = theme.config || theme || {},\n useCustomProperties = _ref.useCustomProperties,\n initialColorModeName = _ref.initialColorModeName,\n printColorModeName = _ref.printColorModeName,\n useRootStyles = _ref.useRootStyles;\n\n var colors = theme.rawColors || theme.colors;\n if (!colors || useRootStyles === false) return {};\n\n if (useCustomProperties === false) {\n return css({\n color: 'text',\n bg: 'background'\n })(theme);\n }\n\n var modes = colors.modes || {};\n\n var styles = __createColorProperties(colors, modes);\n\n if (printColorModeName) {\n var printMode = modes[printColorModeName];\n if (!printMode && printColorModeName === initialColorModeName) printMode = colors;\n\n if (printMode) {\n styles['@media print'] = __objectToVars('colors', printMode);\n } else {\n console.error(\"Theme UI `printColorModeName` was not found in colors scale\", {\n colors: colors,\n printColorModeName: printColorModeName\n });\n }\n }\n\n var colorToVarValue = function colorToVarValue(color) {\n return toVarValue(\"colors-\" + color);\n };\n\n return css(_extends({}, styles, {\n color: colorToVarValue('text'),\n bg: colorToVarValue('background')\n }))(theme);\n};\n/**\n * @internal\n * Returns an object with colors turned into Custom CSS Properties and\n * .theme-ui- classes used for no-flash serverside rendering.\n */\n\nfunction __createColorProperties(colors, modes) {\n var styles = __objectToVars('colors', colors);\n\n Object.keys(modes).forEach(function (mode) {\n var className = \".theme-ui-\" + mode;\n var key = \"&\" + className + \", \" + className + \" &\";\n styles[key] = __objectToVars('colors', modes[mode]);\n });\n return styles;\n}\n\nvar STORAGE_KEY = 'theme-ui-color-mode';\nvar DARK_QUERY = '(prefers-color-scheme: dark)';\nvar LIGHT_QUERY = '(prefers-color-scheme: light)';\nvar storage = {\n get: function get() {\n try {\n return window.localStorage.getItem(STORAGE_KEY);\n } catch (err) {\n console.warn('localStorage is disabled and color mode might not work as expected.', 'Please check your Site Settings.', err);\n }\n },\n set: function set(value) {\n try {\n window.localStorage.setItem(STORAGE_KEY, value);\n } catch (err) {\n console.warn('localStorage is disabled and color mode might not work as expected.', 'Please check your Site Settings.', err);\n }\n }\n};\n\nvar getPreferredColorScheme = function getPreferredColorScheme() {\n if (typeof window !== 'undefined' && window.matchMedia) {\n if (window.matchMedia(DARK_QUERY).matches) {\n return 'dark';\n }\n\n if (window.matchMedia(LIGHT_QUERY).matches) {\n return 'light';\n }\n }\n\n return null;\n};\n\nvar useClientsideEffect = typeof window === 'undefined' ? function () {} : useLayoutEffect;\n\nvar TopLevelColorModeProvider = function TopLevelColorModeProvider(_ref) {\n var outerCtx = _ref.outerCtx,\n children = _ref.children;\n var outerTheme = outerCtx.theme || {};\n\n var _ref2 = outerTheme.config || outerTheme,\n initialColorModeName = _ref2.initialColorModeName,\n useColorSchemeMediaQuery = _ref2.useColorSchemeMediaQuery,\n useLocalStorage = _ref2.useLocalStorage;\n\n var _useState = useState(function () {\n var preferredMode = useColorSchemeMediaQuery !== false && getPreferredColorScheme();\n return preferredMode || initialColorModeName;\n }),\n colorMode = _useState[0],\n setColorMode = _useState[1]; // on first render, we read the color mode from localStorage and\n // clear the class on document element body\n\n\n useClientsideEffect(function () {\n var stored = useLocalStorage !== false && storage.get();\n\n if (typeof document !== 'undefined') {\n document.documentElement.classList.remove('theme-ui-' + stored);\n }\n\n if (useColorSchemeMediaQuery !== 'system' && stored && stored !== colorMode) {\n colorMode = stored;\n setColorMode(stored);\n }\n }, []); // when mode changes, we save it to localStorage\n\n useEffect(function () {\n if (colorMode && useLocalStorage !== false) {\n storage.set(colorMode);\n }\n }, [colorMode, useLocalStorage]);\n var setPreferredColorScheme = useCallback(function () {\n var preferredColorScheme = getPreferredColorScheme();\n setColorMode(preferredColorScheme || initialColorModeName);\n }, [initialColorModeName]);\n useEffect(function () {\n if (useColorSchemeMediaQuery === 'system' && window.matchMedia) {\n // It doesn't matter if we add the listener only to the dark media query\n // Because in our callback function we'll check for both media queries (light and dark).\n var darkMQL = window.matchMedia(DARK_QUERY);\n\n if (typeof darkMQL.addEventListener === 'function') {\n darkMQL.addEventListener('change', setPreferredColorScheme);\n } else if (typeof darkMQL.addListener === 'function') {\n darkMQL.addListener(setPreferredColorScheme);\n }\n }\n\n return function () {\n if (useColorSchemeMediaQuery === 'system' && window.matchMedia) {\n var _darkMQL = window.matchMedia(DARK_QUERY);\n\n if (typeof _darkMQL.removeEventListener === 'function') {\n _darkMQL.removeEventListener('change', setPreferredColorScheme);\n } else if (typeof _darkMQL.removeListener === 'function') {\n _darkMQL.removeListener(setPreferredColorScheme);\n }\n }\n };\n }, [useColorSchemeMediaQuery, setPreferredColorScheme]);\n\n if (process.env.NODE_ENV !== 'production') {\n var _outerTheme$colors, _outerTheme$colors2;\n\n if ((_outerTheme$colors = outerTheme.colors) != null && _outerTheme$colors.modes && initialColorModeName && Object.keys(outerTheme.colors.modes).indexOf(initialColorModeName) > -1) {\n console.warn('[theme-ui] The `initialColorModeName` value should be a unique name' + ' and cannot reference a key in `theme.colors.modes`.');\n }\n\n var allColorKeys = [];\n\n var flattenKeys = function flattenKeys(obj) {\n Object.keys(obj).forEach(function (key) {\n allColorKeys.push(key);\n\n if (typeof obj[key] === 'object') {\n flattenKeys(obj[key]);\n }\n });\n return allColorKeys;\n };\n\n flattenKeys((_outerTheme$colors2 = outerTheme.colors) != null ? _outerTheme$colors2 : {}).forEach(function (color) {\n if (color !== color.trim()) {\n console.warn(\"[theme-ui] Key `\" + color + \"` in theme.colors contains leading/trailing \" + 'whitespace, which can cause bugs in your project.');\n }\n });\n }\n\n var newTheme = useThemeWithAppliedColorMode({\n colorMode: colorMode,\n outerTheme: outerTheme\n });\n\n var newCtx = _extends({}, outerCtx, {\n theme: newTheme,\n colorMode: colorMode,\n setColorMode: setColorMode\n });\n\n return /*#__PURE__*/React.createElement(__ThemeUIInternalBaseThemeProvider, {\n context: newCtx\n }, /*#__PURE__*/React.createElement(GlobalColorStyles, {\n theme: newTheme\n }), children);\n};\n\nfunction useColorMode() {\n var _useThemeUI = useThemeUI(),\n colorMode = _useThemeUI.colorMode,\n setColorMode = _useThemeUI.setColorMode;\n\n if (typeof setColorMode !== 'function') {\n throw new Error(\"[useColorMode] requires the ColorModeProvider component\");\n } // We're allowing the user to specify a narrower type for its color mode name.\n\n\n return [colorMode, setColorMode];\n}\n\nvar omitModes = function omitModes(colors) {\n var res = _extends({}, colors);\n\n delete res.modes;\n return res;\n};\n\nfunction copyRawColors(colors, outerThemeRawColors) {\n for (var _i = 0, _Object$entries = Object.entries(colors); _i < _Object$entries.length; _i++) {\n var _Object$entries$_i = _Object$entries[_i],\n key = _Object$entries$_i[0],\n value = _Object$entries$_i[1];\n\n if (typeof value === 'string' && !value.startsWith('var(')) {\n outerThemeRawColors[key] = value;\n } else if (typeof value === 'object') {\n var newValue = _extends({}, outerThemeRawColors[key]);\n\n copyRawColors(value, newValue);\n outerThemeRawColors[key] = newValue;\n }\n }\n}\n\nfunction useThemeWithAppliedColorMode(_ref3) {\n var outerTheme = _ref3.outerTheme,\n colorMode = _ref3.colorMode;\n var theme = useMemo(function () {\n var res = _extends({}, outerTheme);\n\n var modes = get(res, 'colors.modes', {});\n var currentColorMode = get(modes, colorMode, {});\n\n if (colorMode) {\n res.colors = _extends({}, res.colors, currentColorMode);\n }\n\n var _ref4 = outerTheme.config || outerTheme,\n useCustomProperties = _ref4.useCustomProperties,\n _ref4$initialColorMod = _ref4.initialColorModeName,\n initialColorModeName = _ref4$initialColorMod === void 0 ? '__default' : _ref4$initialColorMod;\n\n var outerThemeRawColors = outerTheme.rawColors || outerTheme.colors || {};\n\n if (useCustomProperties !== false) {\n var alreadyHasRawColors = res.rawColors != null;\n var colors = res.colors || {};\n\n if (alreadyHasRawColors) {\n outerThemeRawColors = _extends({}, outerThemeRawColors);\n copyRawColors(colors, outerThemeRawColors);\n\n if (outerThemeRawColors.modes) {\n outerThemeRawColors.modes[initialColorModeName] = omitModes(outerThemeRawColors);\n }\n\n res.rawColors = outerThemeRawColors;\n } else {\n if (!('modes' in outerThemeRawColors)) {\n res.rawColors = colors;\n } else {\n var _extends2;\n\n var _modes = _extends((_extends2 = {}, _extends2[initialColorModeName] = omitModes(outerThemeRawColors), _extends2), outerThemeRawColors.modes);\n\n res.rawColors = _extends({}, colors, {\n modes: _modes\n });\n /* modes doesn't match index signature by design */\n }\n }\n\n res.colors = toCustomProperties(omitModes(outerThemeRawColors), 'colors');\n }\n\n return res;\n }, [colorMode, outerTheme]);\n return theme;\n}\n\nfunction GlobalColorStyles(_ref5) {\n var theme = _ref5.theme;\n return jsx(Global, {\n styles: function styles() {\n return {\n html: __createColorStyles(theme)\n };\n }\n });\n}\n\nfunction NestedColorModeProvider(_ref6) {\n var _newTheme$config2;\n\n var outerCtx = _ref6.outerCtx,\n children = _ref6.children;\n var newTheme = useThemeWithAppliedColorMode({\n outerTheme: outerCtx.theme,\n colorMode: outerCtx.colorMode\n }); // Nested theme providers need to be rerendered after hydration for the correct\n // color mode to apply.\n\n var _useState2 = useState( // Note: we could also check some \"ssr-enabled\" flag as an optimization for\n // SPAs, as deeply nested theme providers will also pay a performance penalty\n // for this SSR bug fix\n function () {\n var _newTheme$config;\n\n return ((_newTheme$config = newTheme.config) == null ? void 0 : _newTheme$config.useLocalStorage) !== false;\n }),\n needsRerender = _useState2[0],\n setNeedsRerender = _useState2[1];\n\n useClientsideEffect(function () {\n return void setNeedsRerender(false);\n }, []);\n var themeColors = newTheme.rawColors || newTheme.colors;\n var useCustomProperties = (_newTheme$config2 = newTheme.config) == null ? void 0 : _newTheme$config2.useCustomProperties;\n var colorVars = useMemo(function () {\n if (useCustomProperties === false) {\n return {};\n }\n\n var colors = themeColors || {};\n return css(__createColorProperties(colors, colors.modes || {}))(newTheme);\n }, [newTheme, themeColors, useCustomProperties]);\n return /*#__PURE__*/React.createElement(__ThemeUIInternalBaseThemeProvider, {\n context: _extends({}, outerCtx, {\n theme: newTheme\n })\n }, jsx('div', {\n 'data-themeui-nested-provider': true,\n // the key here ensures that children will be rerendered after color\n // mode is read from localStorage\n key: Number(needsRerender),\n suppressHydrationWarning: true,\n css: colorVars,\n children: children\n }));\n}\n\nvar ColorModeProvider = function ColorModeProvider(_ref7) {\n var children = _ref7.children;\n var outerCtx = useThemeUI();\n var isTopLevelColorModeProvider = typeof outerCtx.setColorMode !== 'function';\n return isTopLevelColorModeProvider ? /*#__PURE__*/React.createElement(TopLevelColorModeProvider, {\n outerCtx: outerCtx\n }, children) : /*#__PURE__*/React.createElement(NestedColorModeProvider, {\n outerCtx: outerCtx\n }, children);\n};\nvar noflash = \"(function() { try {\\n var mode = localStorage.getItem('theme-ui-color-mode');\\n if (!mode) return\\n document.documentElement.classList.add('theme-ui-' + mode);\\n} catch (e) {} })();\";\nvar InitializeColorMode = function InitializeColorMode() {\n return jsx('script', {\n key: 'theme-ui-no-flash',\n dangerouslySetInnerHTML: {\n __html: noflash\n }\n });\n};\n\nexport { ColorModeProvider, InitializeColorMode, useColorMode };\n","import { css } from '@theme-ui/css';\n\nvar getCSS = function getCSS(props) {\n return function (theme) {\n var styles = css(props.sx)(theme);\n var raw = typeof props.css === 'function' ? props.css(theme) : props.css;\n return [styles, raw];\n };\n};\n\nfunction parseProps(props) {\n if (!props || !props.sx && !props.css) return props;\n var next = {};\n\n for (var key in props) {\n if (key === 'sx') continue;\n next[key] = props[key];\n }\n\n next.css = getCSS(props);\n return next;\n}\n\nexport { parseProps as p };\n","import { jsx as jsx$1, ThemeContext } from '@emotion/react';\nimport * as React from 'react';\nimport deepmerge from 'deepmerge';\nimport packageInfo from '@emotion/react/package.json';\nimport { p as parseProps } from './parseProps-376f43a7.esm.js';\nimport '@theme-ui/css';\n\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nvar __EMOTION_VERSION__ = packageInfo.version;\nvar jsx = function jsx(type, props) {\n for (var _len = arguments.length, children = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n children[_key - 2] = arguments[_key];\n }\n\n return jsx$1.apply(void 0, [type, parseProps(props)].concat(children));\n};\n/**\n * @internal for Babel JSX pragma\n * @see https://github.com/system-ui/theme-ui/issues/1603\n */\n\nvar createElement = jsx;\n\n/**\n * @internal\n */\nvar __themeUiDefaultContextValue = {\n __EMOTION_VERSION__: __EMOTION_VERSION__,\n theme: {}\n};\n/**\n * @internal\n */\n\nvar __ThemeUIContext = /*#__PURE__*/React.createContext(__themeUiDefaultContextValue);\nvar useThemeUI = function useThemeUI() {\n return React.useContext(__ThemeUIContext);\n};\nvar canUseSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT = canUseSymbol ? Symbol.for('react.element') : 0xeac7;\nvar FORWARD_REF = canUseSymbol ? Symbol.for('react.forward_ref') : 0xeac7;\nvar deepmergeOptions = {\n isMergeableObject: function isMergeableObject(n) {\n return !!n && typeof n === 'object' && n.$$typeof !== REACT_ELEMENT && n.$$typeof !== FORWARD_REF;\n },\n arrayMerge: function arrayMerge(_leftArray, rightArray) {\n return rightArray;\n }\n};\n/**\n * Deeply merge themes\n */\n\nvar merge = function merge(a, b) {\n return deepmerge(a, b, deepmergeOptions);\n};\n\nfunction mergeAll() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return deepmerge.all(args, deepmergeOptions);\n}\n\nmerge.all = mergeAll;\n\n/**\n * @internal\n */\nvar __ThemeUIInternalBaseThemeProvider = function __ThemeUIInternalBaseThemeProvider(_ref) {\n var context = _ref.context,\n children = _ref.children;\n return jsx(ThemeContext.Provider, {\n value: context.theme\n }, jsx(__ThemeUIContext.Provider, {\n value: context,\n children: children\n }));\n};\nfunction ThemeProvider(_ref2) {\n var theme = _ref2.theme,\n children = _ref2.children;\n var outer = useThemeUI();\n\n if (process.env.NODE_ENV !== 'production') {\n if (outer.__EMOTION_VERSION__ !== __EMOTION_VERSION__) {\n console.warn('Multiple versions of Emotion detected,', 'and theming might not work as expected.', 'Please ensure there is only one copy of @emotion/react installed in your application.');\n }\n }\n\n var context = typeof theme === 'function' ? _extends({}, outer, {\n theme: theme(outer.theme)\n }) : merge.all({}, outer, {\n theme: theme\n });\n return jsx(__ThemeUIInternalBaseThemeProvider, {\n context: context,\n children: children\n });\n}\n\nexport { ThemeProvider, __ThemeUIContext, __ThemeUIInternalBaseThemeProvider, __themeUiDefaultContextValue, createElement, jsx, merge, useThemeUI };\n","function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\n/**\n * Allows for nested scales with shorthand values\n * @example\n * {\n * colors: {\n * primary: { __default: '#00f', light: '#33f' }\n * }\n * }\n * css({ color: 'primary' }); // { color: '#00f' }\n * css({ color: 'primary.light' }) // { color: '#33f' }\n */\n\nvar THEME_UI_DEFAULT_KEY = '__default';\n\nvar hasDefault = function hasDefault(x) {\n return typeof x === 'object' && x !== null && THEME_UI_DEFAULT_KEY in x;\n};\n/**\n * Extracts value under path from a deeply nested object.\n * Used for Themes, variants and Theme UI style objects.\n * Given a path to object with `__default` key, returns the value under that key.\n *\n * @param obj a theme, variant or style object\n * @param path path separated with dots (`.`)\n * @param fallback default value returned if get(obj, path) is not found\n */\n\n\nfunction get(obj, path, fallback, p, undef) {\n var pathArray = path && typeof path === 'string' ? path.split('.') : [path];\n\n for (p = 0; p < pathArray.length; p++) {\n obj = obj ? obj[pathArray[p]] : undef;\n }\n\n if (obj === undef) return fallback;\n return hasDefault(obj) ? obj[THEME_UI_DEFAULT_KEY] : obj;\n}\nvar getObjectWithVariants = function getObjectWithVariants(obj, theme) {\n if (obj && obj['variant']) {\n var result = {};\n\n for (var key in obj) {\n var x = obj[key];\n\n if (key === 'variant') {\n var val = typeof x === 'function' ? x(theme) : x;\n var variant = getObjectWithVariants(get(theme, val), theme);\n result = _extends({}, result, variant);\n } else {\n result[key] = x;\n }\n }\n\n return result;\n }\n\n return obj;\n};\nvar defaultBreakpoints = [40, 52, 64].map(function (n) {\n return n + 'em';\n});\nvar defaultTheme = {\n space: [0, 4, 8, 16, 32, 64, 128, 256, 512],\n fontSizes: [12, 14, 16, 20, 24, 32, 48, 64, 72]\n};\nvar aliases = {\n bg: 'backgroundColor',\n m: 'margin',\n mt: 'marginTop',\n mr: 'marginRight',\n mb: 'marginBottom',\n ml: 'marginLeft',\n mx: 'marginX',\n my: 'marginY',\n p: 'padding',\n pt: 'paddingTop',\n pr: 'paddingRight',\n pb: 'paddingBottom',\n pl: 'paddingLeft',\n px: 'paddingX',\n py: 'paddingY'\n};\nvar multiples = {\n marginX: ['marginLeft', 'marginRight'],\n marginY: ['marginTop', 'marginBottom'],\n paddingX: ['paddingLeft', 'paddingRight'],\n paddingY: ['paddingTop', 'paddingBottom'],\n scrollMarginX: ['scrollMarginLeft', 'scrollMarginRight'],\n scrollMarginY: ['scrollMarginTop', 'scrollMarginBottom'],\n scrollPaddingX: ['scrollPaddingLeft', 'scrollPaddingRight'],\n scrollPaddingY: ['scrollPaddingTop', 'scrollPaddingBottom'],\n size: ['width', 'height']\n};\nvar scales = {\n color: 'colors',\n background: 'colors',\n backgroundColor: 'colors',\n borderColor: 'colors',\n caretColor: 'colors',\n columnRuleColor: 'colors',\n outlineColor: 'colors',\n textDecorationColor: 'colors',\n opacity: 'opacities',\n transition: 'transitions',\n margin: 'space',\n marginTop: 'space',\n marginRight: 'space',\n marginBottom: 'space',\n marginLeft: 'space',\n marginX: 'space',\n marginY: 'space',\n marginBlock: 'space',\n marginBlockEnd: 'space',\n marginBlockStart: 'space',\n marginInline: 'space',\n marginInlineEnd: 'space',\n marginInlineStart: 'space',\n padding: 'space',\n paddingTop: 'space',\n paddingRight: 'space',\n paddingBottom: 'space',\n paddingLeft: 'space',\n paddingX: 'space',\n paddingY: 'space',\n paddingBlock: 'space',\n paddingBlockEnd: 'space',\n paddingBlockStart: 'space',\n paddingInline: 'space',\n paddingInlineEnd: 'space',\n paddingInlineStart: 'space',\n scrollMargin: 'space',\n scrollMarginTop: 'space',\n scrollMarginRight: 'space',\n scrollMarginBottom: 'space',\n scrollMarginLeft: 'space',\n scrollMarginX: 'space',\n scrollMarginY: 'space',\n scrollPadding: 'space',\n scrollPaddingTop: 'space',\n scrollPaddingRight: 'space',\n scrollPaddingBottom: 'space',\n scrollPaddingLeft: 'space',\n scrollPaddingX: 'space',\n scrollPaddingY: 'space',\n inset: 'space',\n insetBlock: 'space',\n insetBlockEnd: 'space',\n insetBlockStart: 'space',\n insetInline: 'space',\n insetInlineEnd: 'space',\n insetInlineStart: 'space',\n top: 'space',\n right: 'space',\n bottom: 'space',\n left: 'space',\n gridGap: 'space',\n gridColumnGap: 'space',\n gridRowGap: 'space',\n gap: 'space',\n columnGap: 'space',\n rowGap: 'space',\n fontFamily: 'fonts',\n fontSize: 'fontSizes',\n fontWeight: 'fontWeights',\n lineHeight: 'lineHeights',\n letterSpacing: 'letterSpacings',\n border: 'borders',\n borderTop: 'borders',\n borderRight: 'borders',\n borderBottom: 'borders',\n borderLeft: 'borders',\n borderWidth: 'borderWidths',\n borderStyle: 'borderStyles',\n borderRadius: 'radii',\n borderTopRightRadius: 'radii',\n borderTopLeftRadius: 'radii',\n borderBottomRightRadius: 'radii',\n borderBottomLeftRadius: 'radii',\n borderTopWidth: 'borderWidths',\n borderTopColor: 'colors',\n borderTopStyle: 'borderStyles',\n borderBottomWidth: 'borderWidths',\n borderBottomColor: 'colors',\n borderBottomStyle: 'borderStyles',\n borderLeftWidth: 'borderWidths',\n borderLeftColor: 'colors',\n borderLeftStyle: 'borderStyles',\n borderRightWidth: 'borderWidths',\n borderRightColor: 'colors',\n borderRightStyle: 'borderStyles',\n borderBlock: 'borders',\n borderBlockColor: 'colors',\n borderBlockEnd: 'borders',\n borderBlockEndColor: 'colors',\n borderBlockEndStyle: 'borderStyles',\n borderBlockEndWidth: 'borderWidths',\n borderBlockStart: 'borders',\n borderBlockStartColor: 'colors',\n borderBlockStartStyle: 'borderStyles',\n borderBlockStartWidth: 'borderWidths',\n borderBlockStyle: 'borderStyles',\n borderBlockWidth: 'borderWidths',\n borderEndEndRadius: 'radii',\n borderEndStartRadius: 'radii',\n borderInline: 'borders',\n borderInlineColor: 'colors',\n borderInlineEnd: 'borders',\n borderInlineEndColor: 'colors',\n borderInlineEndStyle: 'borderStyles',\n borderInlineEndWidth: 'borderWidths',\n borderInlineStart: 'borders',\n borderInlineStartColor: 'colors',\n borderInlineStartStyle: 'borderStyles',\n borderInlineStartWidth: 'borderWidths',\n borderInlineStyle: 'borderStyles',\n borderInlineWidth: 'borderWidths',\n borderStartEndRadius: 'radii',\n borderStartStartRadius: 'radii',\n columnRuleWidth: 'borderWidths',\n boxShadow: 'shadows',\n textShadow: 'shadows',\n zIndex: 'zIndices',\n width: 'sizes',\n minWidth: 'sizes',\n maxWidth: 'sizes',\n height: 'sizes',\n minHeight: 'sizes',\n maxHeight: 'sizes',\n flexBasis: 'sizes',\n size: 'sizes',\n blockSize: 'sizes',\n inlineSize: 'sizes',\n maxBlockSize: 'sizes',\n maxInlineSize: 'sizes',\n minBlockSize: 'sizes',\n minInlineSize: 'sizes',\n columnWidth: 'sizes',\n // svg\n fill: 'colors',\n stroke: 'colors'\n};\n\nvar positiveOrNegative = function positiveOrNegative(scale, value) {\n if (typeof value !== 'number' || value >= 0) {\n if (typeof value === 'string' && value.startsWith('-')) {\n var valueWithoutMinus = value.substring(1);\n\n var _n = get(scale, valueWithoutMinus, valueWithoutMinus);\n\n if (typeof _n === 'number') {\n return _n * -1;\n }\n\n return \"-\" + _n;\n }\n\n return get(scale, value, value);\n }\n\n var absolute = Math.abs(value);\n var n = get(scale, absolute, absolute);\n if (typeof n === 'string') return '-' + n;\n return Number(n) * -1;\n};\n\nvar transforms = ['margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginBlock', 'marginBlockEnd', 'marginBlockStart', 'marginInline', 'marginInlineEnd', 'marginInlineStart', 'top', 'bottom', 'left', 'right'].reduce(function (acc, curr) {\n var _extends2;\n\n return _extends({}, acc, (_extends2 = {}, _extends2[curr] = positiveOrNegative, _extends2));\n}, {});\n\nvar responsive = function responsive(styles) {\n return function (theme) {\n var next = {};\n var breakpoints = theme && theme.breakpoints || defaultBreakpoints;\n var mediaQueries = [null].concat(breakpoints.map(function (n) {\n return n.includes('@media') ? n : \"@media screen and (min-width: \" + n + \")\";\n }));\n\n for (var k in styles) {\n var key = k;\n var value = styles[key];\n\n if (typeof value === 'function') {\n value = value(theme || {});\n }\n\n if (value === false || value == null) {\n continue;\n }\n\n if (!Array.isArray(value)) {\n next[key] = value;\n continue;\n }\n\n for (var i = 0; i < value.slice(0, mediaQueries.length).length; i++) {\n var media = mediaQueries[i];\n\n if (!media) {\n next[key] = value[i];\n continue;\n }\n\n next[media] = next[media] || {};\n if (value[i] == null) continue;\n next[media][key] = value[i];\n }\n }\n\n return next;\n };\n};\n\nvar css = function css(args) {\n if (args === void 0) {\n args = {};\n }\n\n return function (props) {\n if (props === void 0) {\n props = {};\n }\n\n var theme = _extends({}, defaultTheme, 'theme' in props ? props.theme : props); // insert variant props before responsive styles, so they can be merged\n // we need to maintain order of the style props, so if a variant is place in the middle\n // of other props, it will extends its props at that same location order.\n\n\n var obj = getObjectWithVariants(typeof args === 'function' ? args(theme) : args, theme);\n var styles = responsive(obj)(theme);\n var result = {};\n\n for (var key in styles) {\n var x = styles[key];\n var val = typeof x === 'function' ? x(theme) : x;\n\n if (val && typeof val === 'object') {\n if (hasDefault(val)) {\n result[key] = val[THEME_UI_DEFAULT_KEY];\n continue;\n } // On type level, val can also be an array here,\n // but we transform all arrays in `responsive` function.\n\n\n result[key] = css(val)(theme);\n continue;\n }\n\n var prop = key in aliases ? aliases[key] : key;\n var scaleName = prop in scales ? scales[prop] : undefined;\n var scale = scaleName ? theme == null ? void 0 : theme[scaleName] : get(theme, prop, {});\n var transform = get(transforms, prop, get);\n var value = transform(scale, val, val);\n\n if (prop in multiples) {\n var dirs = multiples[prop];\n\n for (var i = 0; i < dirs.length; i++) {\n result[dirs[i]] = value;\n }\n } else {\n result[prop] = value;\n }\n }\n\n return result;\n };\n};\n\nexport { THEME_UI_DEFAULT_KEY, css, defaultBreakpoints, get, getObjectWithVariants, multiples, scales };\n","import { jsx } from '@theme-ui/core';\nimport { css, get } from '@theme-ui/css';\nimport { useMemo } from 'react';\n\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\n// mdx components\nvar tags = ['p', 'b', 'i', 'a', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'img', 'pre', 'code', 'ol', 'ul', 'li', 'blockquote', 'hr', 'em', 'table', 'tr', 'th', 'td', 'em', 'strong', 'del', // mdx\n'inlineCode', 'thematicBreak', // other\n'div', // theme-ui\n'root'];\nvar aliases = {\n inlineCode: 'code',\n thematicBreak: 'hr',\n root: 'div'\n};\n\nvar isAlias = function isAlias(x) {\n return x in aliases;\n};\n\nvar alias = function alias(n) {\n return isAlias(n) ? aliases[n] : n;\n};\n/**\n * Extracts styles from `theme.styles` object\n */\n\n\nvar themed = function themed(key) {\n return function (theme) {\n return css(get(theme, \"styles.\" + key))(theme);\n };\n};\n\nvar createThemedComponent = function createThemedComponent(name, variant) {\n var variantStyles = themed(variant);\n\n var component = function component(props) {\n var extraStyles = {};\n\n if (name === 'th' || name === 'td') {\n var _ref = props,\n align = _ref.align;\n if (align !== 'char') extraStyles.textAlign = align;\n }\n\n return jsx(name, _extends({}, props, {\n css: [props.css, variantStyles, extraStyles].filter(Boolean)\n }));\n };\n\n component.displayName = \"Themed(\" + name + \")\";\n return component;\n};\n\nvar defaultMdxComponents = {};\nvar Themed = {};\ntags.forEach(function (tag) {\n var component = createThemedComponent(alias(tag), tag);\n defaultMdxComponents[tag] = component;\n Themed[tag] = component;\n});\n\nfunction wrapComponent(value, key) {\n var component = function component(props) {\n return jsx(value, _extends({}, props, {\n css: themed(key)\n }));\n };\n\n component.displayName = \"MdxComponents('\" + key + \"')\";\n return component;\n}\n/** @internal */\n\n\nvar wrapComponentsWithThemeStyles = function wrapComponentsWithThemeStyles(comps) {\n var next = _extends({}, defaultMdxComponents); // We enrich user's components with the styles from theme.styles.\n // Example: `components.p` will get the styles from `theme.styles.p` as className.\n\n\n for (var _i = 0, _Object$keys = Object.keys(comps); _i < _Object$keys.length; _i++) {\n var key = _Object$keys[_i];\n var value = comps[key];\n next[key] = typeof value === 'object' ? wrapComponentsWithThemeStyles(value) : wrapComponent(value, key);\n }\n\n return next;\n};\n\n/**\n * @example\n * import { MDXProvider, useMDXComponents } from '@mdx-js/react'\n *\n * function MyMdxProvider({ children }) {\n * const components = useThemedStylesWithMdx(useMDXComponents())\n *\n * return {children}\n * }\n */\n\nfunction useThemedStylesWithMdx(outerComponents) {\n return useMemo(function () {\n return wrapComponentsWithThemeStyles(_extends({}, defaultMdxComponents, outerComponents));\n }, [outerComponents]);\n}\n\nexport { Themed, defaultMdxComponents, themed, useThemedStylesWithMdx };\n","'use strict';\n\nvar isMergeableObject = function isMergeableObject(value) {\n\treturn isNonNullObject(value)\n\t\t&& !isSpecial(value)\n};\n\nfunction isNonNullObject(value) {\n\treturn !!value && typeof value === 'object'\n}\n\nfunction isSpecial(value) {\n\tvar stringValue = Object.prototype.toString.call(value);\n\n\treturn stringValue === '[object RegExp]'\n\t\t|| stringValue === '[object Date]'\n\t\t|| isReactElement(value)\n}\n\n// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\nvar canUseSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;\n\nfunction isReactElement(value) {\n\treturn value.$$typeof === REACT_ELEMENT_TYPE\n}\n\nfunction emptyTarget(val) {\n\treturn Array.isArray(val) ? [] : {}\n}\n\nfunction cloneUnlessOtherwiseSpecified(value, options) {\n\treturn (options.clone !== false && options.isMergeableObject(value))\n\t\t? deepmerge(emptyTarget(value), value, options)\n\t\t: value\n}\n\nfunction defaultArrayMerge(target, source, options) {\n\treturn target.concat(source).map(function(element) {\n\t\treturn cloneUnlessOtherwiseSpecified(element, options)\n\t})\n}\n\nfunction getMergeFunction(key, options) {\n\tif (!options.customMerge) {\n\t\treturn deepmerge\n\t}\n\tvar customMerge = options.customMerge(key);\n\treturn typeof customMerge === 'function' ? customMerge : deepmerge\n}\n\nfunction getEnumerableOwnPropertySymbols(target) {\n\treturn Object.getOwnPropertySymbols\n\t\t? Object.getOwnPropertySymbols(target).filter(function(symbol) {\n\t\t\treturn Object.propertyIsEnumerable.call(target, symbol)\n\t\t})\n\t\t: []\n}\n\nfunction getKeys(target) {\n\treturn Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))\n}\n\nfunction propertyIsOnObject(object, property) {\n\ttry {\n\t\treturn property in object\n\t} catch(_) {\n\t\treturn false\n\t}\n}\n\n// Protects from prototype poisoning and unexpected merging up the prototype chain.\nfunction propertyIsUnsafe(target, key) {\n\treturn propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,\n\t\t&& !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,\n\t\t\t&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.\n}\n\nfunction mergeObject(target, source, options) {\n\tvar destination = {};\n\tif (options.isMergeableObject(target)) {\n\t\tgetKeys(target).forEach(function(key) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n\t\t});\n\t}\n\tgetKeys(source).forEach(function(key) {\n\t\tif (propertyIsUnsafe(target, key)) {\n\t\t\treturn\n\t\t}\n\n\t\tif (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {\n\t\t\tdestination[key] = getMergeFunction(key, options)(target[key], source[key], options);\n\t\t} else {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n\t\t}\n\t});\n\treturn destination\n}\n\nfunction deepmerge(target, source, options) {\n\toptions = options || {};\n\toptions.arrayMerge = options.arrayMerge || defaultArrayMerge;\n\toptions.isMergeableObject = options.isMergeableObject || isMergeableObject;\n\t// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()\n\t// implementations can use it. The caller may not replace it.\n\toptions.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;\n\n\tvar sourceIsArray = Array.isArray(source);\n\tvar targetIsArray = Array.isArray(target);\n\tvar sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n\tif (!sourceAndTargetTypesMatch) {\n\t\treturn cloneUnlessOtherwiseSpecified(source, options)\n\t} else if (sourceIsArray) {\n\t\treturn options.arrayMerge(target, source, options)\n\t} else {\n\t\treturn mergeObject(target, source, options)\n\t}\n}\n\ndeepmerge.all = function deepmergeAll(array, options) {\n\tif (!Array.isArray(array)) {\n\t\tthrow new Error('first argument should be an array')\n\t}\n\n\treturn array.reduce(function(prev, next) {\n\t\treturn deepmerge(prev, next, options)\n\t}, {})\n};\n\nvar deepmerge_1 = deepmerge;\n\nmodule.exports = deepmerge_1;\n","\"use strict\";\n\nexports.__esModule = true;\nexports.applyTrailingSlashOption = void 0;\nconst endsWithSuffixes = (suffixes, input) => {\n for (const suffix of suffixes) {\n if (input.endsWith(suffix)) return true;\n }\n return false;\n};\nconst suffixes = [`.html`, `.json`, `.js`, `.map`, `.txt`, `.xml`, `.pdf`];\nconst applyTrailingSlashOption = (input, option = `always`) => {\n if (input === `/`) return input;\n const hasTrailingSlash = input.endsWith(`/`);\n if (endsWithSuffixes(suffixes, input)) {\n return input;\n }\n if (option === `always`) {\n return hasTrailingSlash ? input : `${input}/`;\n }\n if (option === `never`) {\n return hasTrailingSlash ? input.slice(0, -1) : input;\n }\n return input;\n};\nexports.applyTrailingSlashOption = applyTrailingSlashOption;","\"use strict\";\n\nexports.__esModule = true;\nexports.useScrollRestoration = exports.ScrollContext = void 0;\nvar _scrollHandler = require(\"./scroll-handler\");\nexports.ScrollContext = _scrollHandler.ScrollHandler;\nvar _useScrollRestoration = require(\"./use-scroll-restoration\");\nexports.useScrollRestoration = _useScrollRestoration.useScrollRestoration;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nexports.__esModule = true;\nexports.ScrollHandler = exports.ScrollContext = void 0;\nvar _assertThisInitialized2 = _interopRequireDefault(require(\"@babel/runtime/helpers/assertThisInitialized\"));\nvar _inheritsLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/inheritsLoose\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _sessionStorage = require(\"./session-storage\");\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\nvar ScrollContext = /*#__PURE__*/React.createContext(new _sessionStorage.SessionStorage());\nexports.ScrollContext = ScrollContext;\nScrollContext.displayName = \"GatsbyScrollContext\";\nvar ScrollHandler = /*#__PURE__*/function (_React$Component) {\n (0, _inheritsLoose2.default)(ScrollHandler, _React$Component);\n function ScrollHandler() {\n var _this;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this._stateStorage = new _sessionStorage.SessionStorage();\n _this._isTicking = false;\n _this._latestKnownScrollY = 0;\n _this.scrollListener = function () {\n _this._latestKnownScrollY = window.scrollY;\n if (!_this._isTicking) {\n _this._isTicking = true;\n requestAnimationFrame(_this._saveScroll.bind((0, _assertThisInitialized2.default)(_this)));\n }\n };\n _this.windowScroll = function (position, prevProps) {\n if (_this.shouldUpdateScroll(prevProps, _this.props)) {\n window.scrollTo(0, position);\n }\n };\n _this.scrollToHash = function (hash, prevProps) {\n var node = document.getElementById(hash.substring(1));\n if (node && _this.shouldUpdateScroll(prevProps, _this.props)) {\n node.scrollIntoView();\n }\n };\n _this.shouldUpdateScroll = function (prevRouterProps, routerProps) {\n var shouldUpdateScroll = _this.props.shouldUpdateScroll;\n if (!shouldUpdateScroll) {\n return true;\n }\n\n // Hack to allow accessing this._stateStorage.\n return shouldUpdateScroll.call((0, _assertThisInitialized2.default)(_this), prevRouterProps, routerProps);\n };\n return _this;\n }\n var _proto = ScrollHandler.prototype;\n _proto._saveScroll = function _saveScroll() {\n var key = this.props.location.key || null;\n if (key) {\n this._stateStorage.save(this.props.location, key, this._latestKnownScrollY);\n }\n this._isTicking = false;\n };\n _proto.componentDidMount = function componentDidMount() {\n window.addEventListener(\"scroll\", this.scrollListener);\n var scrollPosition;\n var _this$props$location = this.props.location,\n key = _this$props$location.key,\n hash = _this$props$location.hash;\n if (key) {\n scrollPosition = this._stateStorage.read(this.props.location, key);\n }\n\n /** If a hash is present in the browser url as the component mounts (i.e. the user is navigating\n * from an external website) then scroll to the hash instead of any previously stored scroll\n * position. */\n if (hash) {\n this.scrollToHash(decodeURI(hash), undefined);\n } else if (scrollPosition) {\n this.windowScroll(scrollPosition, undefined);\n }\n };\n _proto.componentWillUnmount = function componentWillUnmount() {\n window.removeEventListener(\"scroll\", this.scrollListener);\n };\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var _this$props$location2 = this.props.location,\n hash = _this$props$location2.hash,\n key = _this$props$location2.key;\n var scrollPosition;\n if (key) {\n scrollPosition = this._stateStorage.read(this.props.location, key);\n }\n\n /** There are two pieces of state: the browser url and\n * history state which keeps track of scroll position\n * Native behaviour prescribes that we ought to restore scroll position\n * when a user navigates back in their browser (this is the `POP` action)\n * Currently, reach router has a bug that prevents this at https://github.com/reach/router/issues/228\n * So we _always_ stick to the url as a source of truth — if the url\n * contains a hash, we scroll to it\n */\n\n if (hash) {\n this.scrollToHash(decodeURI(hash), prevProps);\n } else {\n this.windowScroll(scrollPosition, prevProps);\n }\n };\n _proto.render = function render() {\n return /*#__PURE__*/React.createElement(ScrollContext.Provider, {\n value: this._stateStorage\n }, this.props.children);\n };\n return ScrollHandler;\n}(React.Component);\nexports.ScrollHandler = ScrollHandler;\nScrollHandler.propTypes = {\n shouldUpdateScroll: _propTypes.default.func,\n children: _propTypes.default.element.isRequired,\n location: _propTypes.default.object.isRequired\n};","\"use strict\";\n\nexports.__esModule = true;\nexports.SessionStorage = void 0;\nvar STATE_KEY_PREFIX = \"@@scroll|\";\nvar GATSBY_ROUTER_SCROLL_STATE = \"___GATSBY_REACT_ROUTER_SCROLL\";\nvar SessionStorage = /*#__PURE__*/function () {\n function SessionStorage() {}\n var _proto = SessionStorage.prototype;\n _proto.read = function read(location, key) {\n var stateKey = this.getStateKey(location, key);\n try {\n var value = window.sessionStorage.getItem(stateKey);\n return value ? JSON.parse(value) : 0;\n } catch (e) {\n if (process.env.NODE_ENV !== \"production\") {\n console.warn(\"[gatsby-react-router-scroll] Unable to access sessionStorage; sessionStorage is not available.\");\n }\n if (window && window[GATSBY_ROUTER_SCROLL_STATE] && window[GATSBY_ROUTER_SCROLL_STATE][stateKey]) {\n return window[GATSBY_ROUTER_SCROLL_STATE][stateKey];\n }\n return 0;\n }\n };\n _proto.save = function save(location, key, value) {\n var stateKey = this.getStateKey(location, key);\n var storedValue = JSON.stringify(value);\n try {\n window.sessionStorage.setItem(stateKey, storedValue);\n } catch (e) {\n if (window && window[GATSBY_ROUTER_SCROLL_STATE]) {\n window[GATSBY_ROUTER_SCROLL_STATE][stateKey] = JSON.parse(storedValue);\n } else {\n window[GATSBY_ROUTER_SCROLL_STATE] = {};\n window[GATSBY_ROUTER_SCROLL_STATE][stateKey] = JSON.parse(storedValue);\n }\n if (process.env.NODE_ENV !== \"production\") {\n console.warn(\"[gatsby-react-router-scroll] Unable to save state in sessionStorage; sessionStorage is not available.\");\n }\n }\n };\n _proto.getStateKey = function getStateKey(location, key) {\n var stateKeyBase = \"\" + STATE_KEY_PREFIX + location.pathname;\n return key === null || typeof key === \"undefined\" ? stateKeyBase : stateKeyBase + \"|\" + key;\n };\n return SessionStorage;\n}();\nexports.SessionStorage = SessionStorage;","\"use strict\";\n\nexports.__esModule = true;\nexports.useScrollRestoration = useScrollRestoration;\nvar _scrollHandler = require(\"./scroll-handler\");\nvar _react = require(\"react\");\nvar _reachRouter = require(\"@gatsbyjs/reach-router\");\nfunction useScrollRestoration(identifier) {\n var location = (0, _reachRouter.useLocation)();\n var state = (0, _react.useContext)(_scrollHandler.ScrollContext);\n var ref = (0, _react.useRef)(null);\n (0, _react.useLayoutEffect)(function () {\n if (ref.current) {\n var position = state.read(location, identifier);\n ref.current.scrollTo(0, position || 0);\n }\n }, [location.key]);\n return {\n ref: ref,\n onScroll: function onScroll() {\n if (ref.current) {\n state.save(location, identifier, ref.current.scrollTop);\n }\n }\n };\n}","\"use strict\";\n\nexports.__esModule = true;\nexports.onInitialClientRender = void 0;\nvar _gatsbyScript = require(\"gatsby-script\");\nvar _injectPartytownSnippet = require(\"./utils/inject-partytown-snippet\");\n// Makes sure off-main-thread scripts are loaded in `gatsby develop`\nconst onInitialClientRender = () => {\n if (process.env.NODE_ENV !== `development`) {\n return;\n }\n (0, _injectPartytownSnippet.injectPartytownSnippet)(_gatsbyScript.collectedScriptsByPage.get(window.location.pathname));\n\n // Clear scripts after we've used them to avoid leaky behavior\n _gatsbyScript.collectedScriptsByPage.delete(window.location.pathname);\n};\n\n// Client-side navigation (CSR, e.g. Gatsby Link navigations) are broken upstream in Partytown.\n// We need an official API from Partytown for handling re-configuration and on-demand script loading.\n// Until then, `off-main-thread` scripts load only on server-side navigation (SSR).\n// See https://github.com/BuilderIO/partytown/issues/74 for more details.\nexports.onInitialClientRender = onInitialClientRender;\n//# sourceMappingURL=gatsby-browser.js.map","\"use strict\";\n\nexports.__esModule = true;\nexports.getForwards = getForwards;\nfunction getForwards(collectedScripts) {\n return collectedScripts === null || collectedScripts === void 0 ? void 0 : collectedScripts.flatMap(script => (script === null || script === void 0 ? void 0 : script.forward) || []);\n}\n//# sourceMappingURL=get-forwards.js.map","\"use strict\";\n\nexports.__esModule = true;\nexports.injectPartytownSnippet = injectPartytownSnippet;\nvar _integration = require(\"@builder.io/partytown/integration\");\nvar _getForwards = require(\"./get-forwards\");\n// Adapted from https://github.com/BuilderIO/partytown/blob/main/src/react/snippet.tsx to only include CSR logic\nfunction injectPartytownSnippet(collectedScripts) {\n if (!collectedScripts.length) {\n return;\n }\n const existingSnippet = document.querySelector(`script[data-partytown]`);\n const existingSandbox = document.querySelector(`iframe[src*=\"~partytown/partytown-sandbox-sw\"]`);\n if (existingSnippet) {\n existingSnippet.remove();\n }\n if (existingSandbox) {\n existingSandbox.remove();\n }\n const forwards = (0, _getForwards.getForwards)(collectedScripts);\n const snippet = document.createElement(`script`);\n snippet.dataset.partytown = ``;\n snippet.innerHTML = (0, _integration.partytownSnippet)({\n forward: forwards\n });\n document.head.appendChild(snippet);\n}\n//# sourceMappingURL=inject-partytown-snippet.js.map","exports.components = {\n \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-color-your-emotion-index-mdx\": () => import(\"./../../../node_modules/@lekoarts/gatsby-theme-emilia-core/src/templates/project-query.tsx?__contentFilePath=/Users/runner/work/nawta.github.io/nawta.github.io/content/projects/color-your-emotion/index.mdx\" /* webpackChunkName: \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-color-your-emotion-index-mdx\" */),\n \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-ichiyo-index-mdx\": () => import(\"./../../../node_modules/@lekoarts/gatsby-theme-emilia-core/src/templates/project-query.tsx?__contentFilePath=/Users/runner/work/nawta.github.io/nawta.github.io/content/projects/Ichiyo/index.mdx\" /* webpackChunkName: \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-ichiyo-index-mdx\" */),\n \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-insect-computer-hybrid-speaker-index-mdx\": () => import(\"./../../../node_modules/@lekoarts/gatsby-theme-emilia-core/src/templates/project-query.tsx?__contentFilePath=/Users/runner/work/nawta.github.io/nawta.github.io/content/projects/insect-computer-hybrid-speaker/index.mdx\" /* webpackChunkName: \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-insect-computer-hybrid-speaker-index-mdx\" */),\n \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-laugh-at-your-own-pace-index-mdx\": () => import(\"./../../../node_modules/@lekoarts/gatsby-theme-emilia-core/src/templates/project-query.tsx?__contentFilePath=/Users/runner/work/nawta.github.io/nawta.github.io/content/projects/laugh-at-your-own-pace/index.mdx\" /* webpackChunkName: \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-laugh-at-your-own-pace-index-mdx\" */),\n \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-mu-zero-vae-index-mdx\": () => import(\"./../../../node_modules/@lekoarts/gatsby-theme-emilia-core/src/templates/project-query.tsx?__contentFilePath=/Users/runner/work/nawta.github.io/nawta.github.io/content/projects/MuZeroVAE/index.mdx\" /* webpackChunkName: \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-mu-zero-vae-index-mdx\" */),\n \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-predictaps-index-mdx\": () => import(\"./../../../node_modules/@lekoarts/gatsby-theme-emilia-core/src/templates/project-query.tsx?__contentFilePath=/Users/runner/work/nawta.github.io/nawta.github.io/content/projects/predictaps/index.mdx\" /* webpackChunkName: \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-predictaps-index-mdx\" */),\n \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-simulated-consensus-index-mdx\": () => import(\"./../../../node_modules/@lekoarts/gatsby-theme-emilia-core/src/templates/project-query.tsx?__contentFilePath=/Users/runner/work/nawta.github.io/nawta.github.io/content/projects/SimulatedConsensus/index.mdx\" /* webpackChunkName: \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-simulated-consensus-index-mdx\" */),\n \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-steering-index-mdx\": () => import(\"./../../../node_modules/@lekoarts/gatsby-theme-emilia-core/src/templates/project-query.tsx?__contentFilePath=/Users/runner/work/nawta.github.io/nawta.github.io/content/projects/steering/index.mdx\" /* webpackChunkName: \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-steering-index-mdx\" */),\n \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-sumart-index-mdx\": () => import(\"./../../../node_modules/@lekoarts/gatsby-theme-emilia-core/src/templates/project-query.tsx?__contentFilePath=/Users/runner/work/nawta.github.io/nawta.github.io/content/projects/SUMART/index.mdx\" /* webpackChunkName: \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-sumart-index-mdx\" */),\n \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-the-way-index-mdx\": () => import(\"./../../../node_modules/@lekoarts/gatsby-theme-emilia-core/src/templates/project-query.tsx?__contentFilePath=/Users/runner/work/nawta.github.io/nawta.github.io/content/projects/the-way/index.mdx\" /* webpackChunkName: \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-the-way-index-mdx\" */),\n \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-traverco-ar-index-mdx\": () => import(\"./../../../node_modules/@lekoarts/gatsby-theme-emilia-core/src/templates/project-query.tsx?__contentFilePath=/Users/runner/work/nawta.github.io/nawta.github.io/content/projects/travercoAR/index.mdx\" /* webpackChunkName: \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-project-query-tsx-content-file-path-content-projects-traverco-ar-index-mdx\" */),\n \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-projects-query-tsx\": () => import(\"./../../../node_modules/@lekoarts/gatsby-theme-emilia-core/src/templates/projects-query.tsx\" /* webpackChunkName: \"component---node-modules-lekoarts-gatsby-theme-emilia-core-src-templates-projects-query-tsx\" */),\n \"component---src-pages-404-tsx\": () => import(\"./../../../src/pages/404.tsx\" /* webpackChunkName: \"component---src-pages-404-tsx\" */),\n \"component---src-pages-markdown-remark-frontmatter-slug-js\": () => import(\"./../../../src/pages/{MarkdownRemark.frontmatter__slug}.js\" /* webpackChunkName: \"component---src-pages-markdown-remark-frontmatter-slug-js\" */)\n}\n\n","module.exports = [{\n plugin: require('../node_modules/gatsby-plugin-theme-ui/gatsby-browser.js'),\n options: {\"plugins\":[]},\n },{\n plugin: require('../node_modules/gatsby-plugin-manifest/gatsby-browser.js'),\n options: {\"plugins\":[],\"name\":\"Emilia - @lekoarts/gatsby-theme-emilia\",\"short_name\":\"Emilia\",\"description\":\"Minimalistic portfolio/photography site with masonry grid, page transitions and big images. Themeable with Theme UI.\",\"start_url\":\"/\",\"background_color\":\"#fff\",\"display\":\"standalone\",\"icons\":[{\"src\":\"/neko-android-chrome-192x192.png\",\"sizes\":\"192x192\",\"type\":\"image/png\"},{\"src\":\"/neko-android-chrome-512x512.png\",\"sizes\":\"512x512\",\"type\":\"image/png\"}],\"legacy\":true,\"theme_color_in_head\":true,\"cache_busting_mode\":\"query\",\"crossOrigin\":\"anonymous\",\"include_favicon\":true,\"cacheDigest\":null},\n },{\n plugin: require('../node_modules/gatsby/dist/internal-plugins/partytown/gatsby-browser.js'),\n options: {\"plugins\":[]},\n }]\n","const plugins = require(`./api-runner-browser-plugins`)\nconst { getResourceURLsForPathname, loadPage, loadPageSync } =\n require(`./loader`).publicLoader\n\nexports.apiRunner = (api, args = {}, defaultReturn, argTransform) => {\n // Hooks for gatsby-cypress's API handler\n if (process.env.CYPRESS_SUPPORT) {\n if (window.___apiHandler) {\n window.___apiHandler(api)\n } else if (window.___resolvedAPIs) {\n window.___resolvedAPIs.push(api)\n } else {\n window.___resolvedAPIs = [api]\n }\n }\n\n let results = plugins.map(plugin => {\n if (!plugin.plugin[api]) {\n return undefined\n }\n\n args.getResourceURLsForPathname = getResourceURLsForPathname\n args.loadPage = loadPage\n args.loadPageSync = loadPageSync\n\n const result = plugin.plugin[api](args, plugin.options)\n if (result && argTransform) {\n args = argTransform({ args, result, plugin })\n }\n return result\n })\n\n // Filter out undefined results.\n results = results.filter(result => typeof result !== `undefined`)\n\n if (results.length > 0) {\n return results\n } else if (defaultReturn) {\n return [defaultReturn]\n } else {\n return []\n }\n}\n\nexports.apiRunnerAsync = (api, args, defaultReturn) =>\n plugins.reduce(\n (previous, next) =>\n next.plugin[api]\n ? previous.then(() => next.plugin[api](args, next.options))\n : previous,\n Promise.resolve()\n )\n","exports.createContentDigest = () => ``\n","import mitt from \"mitt\"\n\nconst emitter = mitt()\nexport default emitter\n","// \n// An event handler can take an optional event argument\n// and should not return a value\n \n \n\n// An array of all currently registered event handlers for a type\n \n \n// A map of event types and their corresponding event handlers.\n \n \n \n \n\n/** Mitt: Tiny (~200b) functional event emitter / pubsub.\n * @name mitt\n * @returns {Mitt}\n */\nfunction mitt(all ) {\n\tall = all || Object.create(null);\n\n\treturn {\n\t\t/**\n\t\t * Register an event handler for the given type.\n\t\t *\n\t\t * @param {String} type\tType of event to listen for, or `\"*\"` for all events\n\t\t * @param {Function} handler Function to call in response to given event\n\t\t * @memberOf mitt\n\t\t */\n\t\ton: function on(type , handler ) {\n\t\t\t(all[type] || (all[type] = [])).push(handler);\n\t\t},\n\n\t\t/**\n\t\t * Remove an event handler for the given type.\n\t\t *\n\t\t * @param {String} type\tType of event to unregister `handler` from, or `\"*\"`\n\t\t * @param {Function} handler Handler function to remove\n\t\t * @memberOf mitt\n\t\t */\n\t\toff: function off(type , handler ) {\n\t\t\tif (all[type]) {\n\t\t\t\tall[type].splice(all[type].indexOf(handler) >>> 0, 1);\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Invoke all handlers for the given type.\n\t\t * If present, `\"*\"` handlers are invoked after type-matched handlers.\n\t\t *\n\t\t * @param {String} type The event type to invoke\n\t\t * @param {Any} [evt] Any value (object is recommended and powerful), passed to each handler\n\t\t * @memberOf mitt\n\t\t */\n\t\temit: function emit(type , evt ) {\n\t\t\t(all[type] || []).slice().map(function (handler) { handler(evt); });\n\t\t\t(all['*'] || []).slice().map(function (handler) { handler(type, evt); });\n\t\t}\n\t};\n}\n\nexport default mitt;\n//# sourceMappingURL=mitt.es.js.map\n","export default pathAndSearch => {\n if (pathAndSearch === undefined) {\n return pathAndSearch\n }\n let [path, search = ``] = pathAndSearch.split(`?`)\n if (search) {\n search = `?` + search\n }\n\n if (path === `/`) {\n return `/` + search\n }\n if (path.charAt(path.length - 1) === `/`) {\n return path.slice(0, -1) + search\n }\n return path + search\n}\n","import { pick } from \"@gatsbyjs/reach-router\"\nimport stripPrefix from \"./strip-prefix\"\nimport normalizePagePath from \"./normalize-page-path\"\nimport { maybeGetBrowserRedirect } from \"./redirect-utils.js\"\n\nconst pathCache = new Map()\nlet matchPaths = []\n\nconst trimPathname = rawPathname => {\n let newRawPathname = rawPathname\n const queryIndex = rawPathname.indexOf(`?`)\n\n if (queryIndex !== -1) {\n const [path, qs] = rawPathname.split(`?`)\n newRawPathname = `${path}?${encodeURIComponent(qs)}`\n }\n\n const pathname = decodeURIComponent(newRawPathname)\n\n // Remove the pathPrefix from the pathname.\n const trimmedPathname = stripPrefix(\n pathname,\n decodeURIComponent(__BASE_PATH__)\n )\n // Remove any hashfragment\n .split(`#`)[0]\n\n return trimmedPathname\n}\n\nfunction absolutify(path) {\n // If it's already absolute, return as-is\n if (\n path.startsWith(`/`) ||\n path.startsWith(`https://`) ||\n path.startsWith(`http://`)\n ) {\n return path\n }\n // Calculate path relative to current location, adding a trailing slash to\n // match behavior of @reach/router\n return new URL(\n path,\n window.location.href + (window.location.href.endsWith(`/`) ? `` : `/`)\n ).pathname\n}\n\n/**\n * Set list of matchPaths\n *\n * @param {Array<{path: string, matchPath: string}>} value collection of matchPaths\n */\nexport const setMatchPaths = value => {\n matchPaths = value\n}\n\n/**\n * Return a matchpath url\n * if `match-paths.json` contains `{ \"/foo*\": \"/page1\", ...}`, then\n * `/foo?bar=far` => `/page1`\n *\n * @param {string} rawPathname A raw pathname\n * @return {string|null}\n */\nexport const findMatchPath = rawPathname => {\n const trimmedPathname = cleanPath(rawPathname)\n\n const pickPaths = matchPaths.map(({ path, matchPath }) => {\n return {\n path: matchPath,\n originalPath: path,\n }\n })\n\n const path = pick(pickPaths, trimmedPathname)\n\n if (path) {\n return normalizePagePath(path.route.originalPath)\n }\n\n return null\n}\n\n/**\n * Return a matchpath params from reach/router rules\n * if `match-paths.json` contains `{ \":bar/*foo\" }`, and the path is /baz/zaz/zoo\n * then it returns\n * { bar: baz, foo: zaz/zoo }\n *\n * @param {string} rawPathname A raw pathname\n * @return {object}\n */\nexport const grabMatchParams = rawPathname => {\n const trimmedPathname = cleanPath(rawPathname)\n\n const pickPaths = matchPaths.map(({ path, matchPath }) => {\n return {\n path: matchPath,\n originalPath: path,\n }\n })\n\n const path = pick(pickPaths, trimmedPathname)\n\n if (path) {\n return path.params\n }\n\n return {}\n}\n\n// Given a raw URL path, returns the cleaned version of it (trim off\n// `#` and query params), or if it matches an entry in\n// `match-paths.json`, its matched path is returned\n//\n// E.g. `/foo?bar=far` => `/foo`\n//\n// Or if `match-paths.json` contains `{ \"/foo*\": \"/page1\", ...}`, then\n// `/foo?bar=far` => `/page1`\nexport const findPath = rawPathname => {\n const trimmedPathname = trimPathname(absolutify(rawPathname))\n if (pathCache.has(trimmedPathname)) {\n return pathCache.get(trimmedPathname)\n }\n\n const redirect = maybeGetBrowserRedirect(rawPathname)\n if (redirect) {\n return findPath(redirect.toPath)\n }\n\n let foundPath = findMatchPath(trimmedPathname)\n\n if (!foundPath) {\n foundPath = cleanPath(rawPathname)\n }\n\n pathCache.set(trimmedPathname, foundPath)\n\n return foundPath\n}\n\n/**\n * Clean a url and converts /index.html => /\n * E.g. `/foo?bar=far` => `/foo`\n *\n * @param {string} rawPathname A raw pathname\n * @return {string}\n */\nexport const cleanPath = rawPathname => {\n const trimmedPathname = trimPathname(absolutify(rawPathname))\n\n let foundPath = trimmedPathname\n if (foundPath === `/index.html`) {\n foundPath = `/`\n }\n\n foundPath = normalizePagePath(foundPath)\n\n return foundPath\n}\n","import React from \"react\"\n\nexport const ServerSliceRenderer = ({ sliceId, children }) => {\n const contents = [\n React.createElement(`slice-start`, {\n id: `${sliceId}-1`,\n }),\n React.createElement(`slice-end`, {\n id: `${sliceId}-1`,\n }),\n ]\n\n if (children) {\n // if children exist, we split the slice into a before and after piece\n // see renderSlices in render-html\n contents.push(children)\n contents.push(\n React.createElement(`slice-start`, {\n id: `${sliceId}-2`,\n }),\n React.createElement(`slice-end`, {\n id: `${sliceId}-2`,\n })\n )\n }\n\n return contents\n}\n","import React, { useContext } from \"react\"\nimport { createContentDigest } from \"gatsby-core-utils/create-content-digest\"\nimport { SlicesMapContext, SlicesPropsContext } from \"./context\"\nimport { ServerSliceRenderer } from \"./server-slice-renderer\"\n\nconst getSliceId = (sliceName, sliceProps) => {\n if (!Object.keys(sliceProps).length) {\n return sliceName\n }\n\n const propsString = createContentDigest(sliceProps)\n return `${sliceName}-${propsString}`\n}\n\nexport const ServerSlice = ({\n sliceName,\n allowEmpty,\n children,\n ...sliceProps\n}) => {\n const slicesMap = useContext(SlicesMapContext)\n const slicesProps = useContext(SlicesPropsContext)\n const concreteSliceName = slicesMap[sliceName]\n\n if (!concreteSliceName) {\n if (allowEmpty) {\n return null\n } else {\n throw new Error(\n `Slice \"${concreteSliceName}\" for \"${sliceName}\" slot not found`\n )\n }\n }\n\n const sliceId = getSliceId(concreteSliceName, sliceProps)\n\n // set props on context object for static-entry to return\n let sliceUsage = slicesProps[sliceId]\n if (!sliceUsage) {\n slicesProps[sliceId] = sliceUsage = {\n props: sliceProps,\n sliceName: concreteSliceName,\n hasChildren: !!children,\n }\n } else {\n if (children) {\n sliceUsage.hasChildren = true\n }\n }\n\n return {children}\n}\n","import React, { useContext } from \"react\"\nimport { SlicesMapContext, SlicesResultsContext } from \"./context\"\n\nexport const InlineSlice = ({\n sliceName,\n allowEmpty,\n children,\n ...sliceProps\n}) => {\n const slicesMap = useContext(SlicesMapContext)\n const slicesResultsMap = useContext(SlicesResultsContext)\n const concreteSliceName = slicesMap[sliceName]\n const slice = slicesResultsMap.get(concreteSliceName)\n\n if (!slice) {\n if (allowEmpty) {\n return null\n } else {\n throw new Error(\n `Slice \"${concreteSliceName}\" for \"${sliceName}\" slot not found`\n )\n }\n }\n\n return (\n \n {children}\n \n )\n}\n","\"use client\"\n\nimport React, { useContext } from \"react\"\nimport { ServerSlice } from \"./slice/server-slice\"\nimport { InlineSlice } from \"./slice/inline-slice\"\nimport { SlicesContext } from \"./slice/context\"\n\nexport function Slice(props) {\n if (process.env.GATSBY_SLICES) {\n // we use sliceName internally, so remap alias to sliceName\n const internalProps = {\n ...props,\n sliceName: props.alias,\n }\n delete internalProps.alias\n delete internalProps.__renderedByLocation\n\n const slicesContext = useContext(SlicesContext)\n\n // validate props\n const propErrors = validateSliceProps(props)\n if (Object.keys(propErrors).length) {\n throw new SlicePropsError(\n slicesContext.renderEnvironment === `browser`,\n internalProps.sliceName,\n propErrors,\n props.__renderedByLocation\n )\n }\n\n if (slicesContext.renderEnvironment === `server`) {\n return \n } else if (slicesContext.renderEnvironment === `browser`) {\n // in the browser, we'll just render the component as is\n return \n } else if (\n slicesContext.renderEnvironment === `engines` ||\n slicesContext.renderEnvironment === `dev-ssr`\n ) {\n // if we're in SSR, we'll just render the component as is\n return \n } else if (slicesContext.renderEnvironment === `slices`) {\n // we are not yet supporting nested slices\n\n let additionalContextMessage = ``\n\n // just in case generating additional contextual information fails, we still want the base message to show\n // and not show another cryptic error message\n try {\n additionalContextMessage = `\\n\\nSlice component \"${slicesContext.sliceRoot.name}\" (${slicesContext.sliceRoot.componentPath}) tried to render `\n } catch {\n // don't need to handle it, we will just skip the additional context message if we fail to generate it\n }\n\n throw new Error(\n `Nested slices are not supported.${additionalContextMessage}\\n\\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices`\n )\n } else {\n throw new Error(\n `Slice context \"${slicesContext.renderEnvironment}\" is not supported.`\n )\n }\n } else {\n throw new Error(`Slices are disabled.`)\n }\n}\n\nclass SlicePropsError extends Error {\n constructor(inBrowser, sliceName, propErrors, renderedByLocation) {\n const errors = Object.entries(propErrors)\n .map(\n ([key, value]) =>\n `not serializable \"${value}\" type passed to \"${key}\" prop`\n )\n .join(`, `)\n\n const name = `SlicePropsError`\n let stack = ``\n let message = ``\n\n if (inBrowser) {\n // They're just (kinda) kidding, I promise... You can still work here <3\n // https://www.gatsbyjs.com/careers/\n const fullStack =\n React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack()\n\n // remove the first line of the stack trace\n const stackLines = fullStack.trim().split(`\\n`).slice(1)\n stackLines[0] = stackLines[0].trim()\n stack = `\\n` + stackLines.join(`\\n`)\n\n message = `Slice \"${sliceName}\" was passed props that are not serializable (${errors}).`\n } else {\n // we can't really grab any extra info outside of the browser, so just print what we can\n message = `${name}: Slice \"${sliceName}\" was passed props that are not serializable (${errors}).`\n const stackLines = new Error().stack.trim().split(`\\n`).slice(2)\n stack = `${message}\\n${stackLines.join(`\\n`)}`\n }\n\n super(message)\n this.name = name\n if (stack) {\n this.stack = stack\n } else {\n Error.captureStackTrace(this, SlicePropsError)\n }\n\n if (renderedByLocation) {\n this.forcedLocation = { ...renderedByLocation, functionName: `Slice` }\n }\n }\n}\n\nconst validateSliceProps = (\n props,\n errors = {},\n seenObjects = [],\n path = null\n) => {\n // recursively validate all props\n for (const [name, value] of Object.entries(props)) {\n if (\n value === undefined ||\n value === null ||\n (!path && name === `children`)\n ) {\n continue\n }\n\n const propPath = path ? `${path}.${name}` : name\n\n if (typeof value === `function`) {\n errors[propPath] = typeof value\n } else if (typeof value === `object` && seenObjects.indexOf(value) <= 0) {\n seenObjects.push(value)\n validateSliceProps(value, errors, seenObjects, propPath)\n }\n }\n\n return errors\n}\n","import loader from \"./loader\"\n\nconst prefetchPathname = loader.enqueue\n\nfunction graphql() {\n throw new Error(\n `It appears like Gatsby is misconfigured. Gatsby related \\`graphql\\` calls ` +\n `are supposed to only be evaluated at compile time, and then compiled away. ` +\n `Unfortunately, something went wrong and the query was left in the compiled code.\\n\\n` +\n `Unless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.`\n )\n}\n\nexport { default as PageRenderer } from \"./public-page-renderer\"\nexport { useScrollRestoration } from \"gatsby-react-router-scroll\"\nexport {\n Link,\n withPrefix,\n withAssetPrefix,\n navigate,\n parsePath,\n} from \"gatsby-link\"\n\nexport { graphql, prefetchPathname }\nexport { StaticQuery, StaticQueryContext, useStaticQuery } from \"./static-query\"\nexport { Slice } from \"./slice\"\nexport * from \"gatsby-script\"\n","const support = function (feature) {\n if (typeof document === `undefined`) {\n return false\n }\n const fakeLink = document.createElement(`link`)\n try {\n if (fakeLink.relList && typeof fakeLink.relList.supports === `function`) {\n return fakeLink.relList.supports(feature)\n }\n } catch (err) {\n return false\n }\n return false\n}\n\nconst linkPrefetchStrategy = function (url, options) {\n return new Promise((resolve, reject) => {\n if (typeof document === `undefined`) {\n reject()\n return\n }\n\n const link = document.createElement(`link`)\n link.setAttribute(`rel`, `prefetch`)\n link.setAttribute(`href`, url)\n\n Object.keys(options).forEach(key => {\n link.setAttribute(key, options[key])\n })\n\n link.onload = resolve\n link.onerror = reject\n\n const parentElement =\n document.getElementsByTagName(`head`)[0] ||\n document.getElementsByName(`script`)[0].parentNode\n parentElement.appendChild(link)\n })\n}\n\nconst xhrPrefetchStrategy = function (url) {\n return new Promise((resolve, reject) => {\n const req = new XMLHttpRequest()\n req.open(`GET`, url, true)\n\n req.onload = () => {\n if (req.status === 200) {\n resolve()\n } else {\n reject()\n }\n }\n\n req.send(null)\n })\n}\n\nconst supportedPrefetchStrategy = support(`prefetch`)\n ? linkPrefetchStrategy\n : xhrPrefetchStrategy\n\nconst preFetched = {}\n\nconst prefetch = function (url, options) {\n return new Promise(resolve => {\n if (preFetched[url]) {\n resolve()\n return\n }\n\n supportedPrefetchStrategy(url, options)\n .then(() => {\n resolve()\n preFetched[url] = true\n })\n .catch(() => {}) // 404s are logged to the console anyway\n })\n}\n\nexport default prefetch\n","import { createFromReadableStream } from \"react-server-dom-webpack\"\nimport prefetchHelper from \"./prefetch\"\nimport emitter from \"./emitter\"\nimport { setMatchPaths, findPath, findMatchPath } from \"./find-path\"\n\n/**\n * Available resource loading statuses\n */\nexport const PageResourceStatus = {\n /**\n * At least one of critical resources failed to load\n */\n Error: `error`,\n /**\n * Resources loaded successfully\n */\n Success: `success`,\n}\n\nconst preferDefault = m => (m && m.default) || m\n\nconst stripSurroundingSlashes = s => {\n s = s[0] === `/` ? s.slice(1) : s\n s = s.endsWith(`/`) ? s.slice(0, -1) : s\n return s\n}\n\nconst createPageDataUrl = rawPath => {\n const [path, maybeSearch] = rawPath.split(`?`)\n const fixedPath = path === `/` ? `index` : stripSurroundingSlashes(path)\n return `${__PATH_PREFIX__}/page-data/${fixedPath}/page-data.json${\n maybeSearch ? `?${maybeSearch}` : ``\n }`\n}\n\n/**\n * Utility to check the path that goes into doFetch for e.g. potential malicious intentions.\n * It checks for \"//\" because with this you could do a fetch request to a different domain.\n */\nconst shouldAbortFetch = rawPath => rawPath.startsWith(`//`)\n\nfunction doFetch(url, method = `GET`) {\n return new Promise(resolve => {\n const req = new XMLHttpRequest()\n req.open(method, url, true)\n req.onreadystatechange = () => {\n if (req.readyState == 4) {\n resolve(req)\n }\n }\n req.send(null)\n })\n}\n\nconst doesConnectionSupportPrefetch = () => {\n if (\n `connection` in navigator &&\n typeof navigator.connection !== `undefined`\n ) {\n if ((navigator.connection.effectiveType || ``).includes(`2g`)) {\n return false\n }\n if (navigator.connection.saveData) {\n return false\n }\n }\n return true\n}\n\n// Regex that matches common search crawlers\nconst BOT_REGEX = /bot|crawler|spider|crawling/i\n\nconst toPageResources = (pageData, component = null, head) => {\n const page = {\n componentChunkName: pageData.componentChunkName,\n path: pageData.path,\n webpackCompilationHash: pageData.webpackCompilationHash,\n matchPath: pageData.matchPath,\n staticQueryHashes: pageData.staticQueryHashes,\n getServerDataError: pageData.getServerDataError,\n slicesMap: pageData.slicesMap ?? {},\n }\n\n return {\n component,\n head,\n json: pageData.result,\n page,\n }\n}\n\nfunction waitForResponse(response) {\n return new Promise(resolve => {\n try {\n const result = response.readRoot()\n resolve(result)\n } catch (err) {\n if (\n Object.hasOwnProperty.call(err, `_response`) &&\n Object.hasOwnProperty.call(err, `_status`)\n ) {\n setTimeout(() => {\n waitForResponse(response).then(resolve)\n }, 200)\n } else {\n throw err\n }\n }\n })\n}\n\nexport class BaseLoader {\n constructor(loadComponent, matchPaths) {\n // Map of pagePath -> Page. Where Page is an object with: {\n // status: PageResourceStatus.Success || PageResourceStatus.Error,\n // payload: PageResources, // undefined if PageResourceStatus.Error\n // }\n // PageResources is {\n // component,\n // json: pageData.result,\n // page: {\n // componentChunkName,\n // path,\n // webpackCompilationHash,\n // staticQueryHashes\n // },\n // staticQueryResults\n // }\n this.pageDb = new Map()\n this.inFlightDb = new Map()\n this.staticQueryDb = {}\n this.pageDataDb = new Map()\n this.partialHydrationDb = new Map()\n this.slicesDataDb = new Map()\n this.sliceInflightDb = new Map()\n this.slicesDb = new Map()\n this.isPrefetchQueueRunning = false\n this.prefetchQueued = []\n this.prefetchTriggered = new Set()\n this.prefetchCompleted = new Set()\n this.loadComponent = loadComponent\n setMatchPaths(matchPaths)\n }\n\n inFlightNetworkRequests = new Map()\n\n memoizedGet(url) {\n let inFlightPromise = this.inFlightNetworkRequests.get(url)\n\n if (!inFlightPromise) {\n inFlightPromise = doFetch(url, `GET`)\n this.inFlightNetworkRequests.set(url, inFlightPromise)\n }\n\n // Prefer duplication with then + catch over .finally to prevent problems in ie11 + firefox\n return inFlightPromise\n .then(response => {\n this.inFlightNetworkRequests.delete(url)\n return response\n })\n .catch(err => {\n this.inFlightNetworkRequests.delete(url)\n throw err\n })\n }\n\n setApiRunner(apiRunner) {\n this.apiRunner = apiRunner\n this.prefetchDisabled = apiRunner(`disableCorePrefetching`).some(a => a)\n }\n\n fetchPageDataJson(loadObj) {\n const { pagePath, retries = 0 } = loadObj\n const url = createPageDataUrl(pagePath)\n return this.memoizedGet(url).then(req => {\n const { status, responseText } = req\n\n // Handle 200\n if (status === 200) {\n try {\n const jsonPayload = JSON.parse(responseText)\n if (jsonPayload.path === undefined) {\n throw new Error(`not a valid pageData response`)\n }\n\n const maybeSearch = pagePath.split(`?`)[1]\n if (maybeSearch && !jsonPayload.path.includes(maybeSearch)) {\n jsonPayload.path += `?${maybeSearch}`\n }\n\n return Object.assign(loadObj, {\n status: PageResourceStatus.Success,\n payload: jsonPayload,\n })\n } catch (err) {\n // continue regardless of error\n }\n }\n\n // Handle 404\n if (status === 404 || status === 200) {\n // If the request was for a 404/500 page and it doesn't exist, we're done\n if (pagePath === `/404.html` || pagePath === `/500.html`) {\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n }\n\n // Need some code here to cache the 404 request. In case\n // multiple loadPageDataJsons result in 404s\n return this.fetchPageDataJson(\n Object.assign(loadObj, { pagePath: `/404.html`, notFound: true })\n )\n }\n\n // handle 500 response (Unrecoverable)\n if (status === 500) {\n return this.fetchPageDataJson(\n Object.assign(loadObj, {\n pagePath: `/500.html`,\n internalServerError: true,\n })\n )\n }\n\n // Handle everything else, including status === 0, and 503s. Should retry\n if (retries < 3) {\n return this.fetchPageDataJson(\n Object.assign(loadObj, { retries: retries + 1 })\n )\n }\n\n // Retried 3 times already, result is an error.\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n })\n }\n\n fetchPartialHydrationJson(loadObj) {\n const { pagePath, retries = 0 } = loadObj\n const url = createPageDataUrl(pagePath).replace(`.json`, `-rsc.json`)\n return this.memoizedGet(url).then(req => {\n const { status, responseText } = req\n\n // Handle 200\n if (status === 200) {\n try {\n return Object.assign(loadObj, {\n status: PageResourceStatus.Success,\n payload: responseText,\n })\n } catch (err) {\n // continue regardless of error\n }\n }\n\n // Handle 404\n if (status === 404 || status === 200) {\n // If the request was for a 404/500 page and it doesn't exist, we're done\n if (pagePath === `/404.html` || pagePath === `/500.html`) {\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n }\n\n // Need some code here to cache the 404 request. In case\n // multiple loadPageDataJsons result in 404s\n return this.fetchPartialHydrationJson(\n Object.assign(loadObj, { pagePath: `/404.html`, notFound: true })\n )\n }\n\n // handle 500 response (Unrecoverable)\n if (status === 500) {\n return this.fetchPartialHydrationJson(\n Object.assign(loadObj, {\n pagePath: `/500.html`,\n internalServerError: true,\n })\n )\n }\n\n // Handle everything else, including status === 0, and 503s. Should retry\n if (retries < 3) {\n return this.fetchPartialHydrationJson(\n Object.assign(loadObj, { retries: retries + 1 })\n )\n }\n\n // Retried 3 times already, result is an error.\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n })\n }\n\n loadPageDataJson(rawPath) {\n const pagePath = findPath(rawPath)\n if (this.pageDataDb.has(pagePath)) {\n const pageData = this.pageDataDb.get(pagePath)\n if (process.env.BUILD_STAGE !== `develop` || !pageData.stale) {\n return Promise.resolve(pageData)\n }\n }\n\n return this.fetchPageDataJson({ pagePath }).then(pageData => {\n this.pageDataDb.set(pagePath, pageData)\n\n return pageData\n })\n }\n\n loadPartialHydrationJson(rawPath) {\n const pagePath = findPath(rawPath)\n if (this.partialHydrationDb.has(pagePath)) {\n const pageData = this.partialHydrationDb.get(pagePath)\n if (process.env.BUILD_STAGE !== `develop` || !pageData.stale) {\n return Promise.resolve(pageData)\n }\n }\n\n return this.fetchPartialHydrationJson({ pagePath }).then(pageData => {\n this.partialHydrationDb.set(pagePath, pageData)\n\n return pageData\n })\n }\n\n loadSliceDataJson(sliceName) {\n if (this.slicesDataDb.has(sliceName)) {\n const jsonPayload = this.slicesDataDb.get(sliceName)\n return Promise.resolve({ sliceName, jsonPayload })\n }\n\n const url = `${__PATH_PREFIX__}/slice-data/${sliceName}.json`\n return doFetch(url, `GET`).then(res => {\n const jsonPayload = JSON.parse(res.responseText)\n\n this.slicesDataDb.set(sliceName, jsonPayload)\n return { sliceName, jsonPayload }\n })\n }\n\n findMatchPath(rawPath) {\n return findMatchPath(rawPath)\n }\n\n // TODO check all uses of this and whether they use undefined for page resources not exist\n loadPage(rawPath) {\n const pagePath = findPath(rawPath)\n if (this.pageDb.has(pagePath)) {\n const page = this.pageDb.get(pagePath)\n if (process.env.BUILD_STAGE !== `develop` || !page.payload.stale) {\n if (page.error) {\n return Promise.resolve({\n error: page.error,\n status: page.status,\n })\n }\n\n return Promise.resolve(page.payload)\n }\n }\n\n if (this.inFlightDb.has(pagePath)) {\n return this.inFlightDb.get(pagePath)\n }\n\n const loadDataPromises = [\n this.loadAppData(),\n this.loadPageDataJson(pagePath),\n ]\n\n if (global.hasPartialHydration) {\n loadDataPromises.push(this.loadPartialHydrationJson(pagePath))\n }\n\n const inFlightPromise = Promise.all(loadDataPromises).then(allData => {\n const [appDataResponse, pageDataResponse, rscDataResponse] = allData\n\n if (\n pageDataResponse.status === PageResourceStatus.Error ||\n rscDataResponse?.status === PageResourceStatus.Error\n ) {\n return {\n status: PageResourceStatus.Error,\n }\n }\n\n let pageData = pageDataResponse.payload\n\n const {\n componentChunkName,\n staticQueryHashes: pageStaticQueryHashes = [],\n slicesMap = {},\n } = pageData\n\n const finalResult = {}\n\n const dedupedSliceNames = Array.from(new Set(Object.values(slicesMap)))\n\n const loadSlice = slice => {\n if (this.slicesDb.has(slice.name)) {\n return this.slicesDb.get(slice.name)\n } else if (this.sliceInflightDb.has(slice.name)) {\n return this.sliceInflightDb.get(slice.name)\n }\n\n const inFlight = this.loadComponent(slice.componentChunkName).then(\n component => {\n return {\n component: preferDefault(component),\n sliceContext: slice.result.sliceContext,\n data: slice.result.data,\n }\n }\n )\n\n this.sliceInflightDb.set(slice.name, inFlight)\n inFlight.then(results => {\n this.slicesDb.set(slice.name, results)\n this.sliceInflightDb.delete(slice.name)\n })\n\n return inFlight\n }\n\n return Promise.all(\n dedupedSliceNames.map(sliceName => this.loadSliceDataJson(sliceName))\n ).then(slicesData => {\n const slices = []\n const dedupedStaticQueryHashes = [...pageStaticQueryHashes]\n\n for (const { jsonPayload, sliceName } of Object.values(slicesData)) {\n slices.push({ name: sliceName, ...jsonPayload })\n for (const staticQueryHash of jsonPayload.staticQueryHashes) {\n if (!dedupedStaticQueryHashes.includes(staticQueryHash)) {\n dedupedStaticQueryHashes.push(staticQueryHash)\n }\n }\n }\n\n const loadChunkPromises = [\n Promise.all(slices.map(loadSlice)),\n this.loadComponent(componentChunkName, `head`),\n ]\n\n if (!global.hasPartialHydration) {\n loadChunkPromises.push(this.loadComponent(componentChunkName))\n }\n\n // In develop we have separate chunks for template and Head components\n // to enable HMR (fast refresh requires single exports).\n // In production we have shared chunk with both exports. Double loadComponent here\n // will be deduped by webpack runtime resulting in single request and single module\n // being loaded for both `component` and `head`.\n // get list of components to get\n const componentChunkPromises = Promise.all(loadChunkPromises).then(\n components => {\n const [sliceComponents, headComponent, pageComponent] = components\n\n finalResult.createdAt = new Date()\n\n for (const sliceComponent of sliceComponents) {\n if (!sliceComponent || sliceComponent instanceof Error) {\n finalResult.status = PageResourceStatus.Error\n finalResult.error = sliceComponent\n }\n }\n\n if (\n !global.hasPartialHydration &&\n (!pageComponent || pageComponent instanceof Error)\n ) {\n finalResult.status = PageResourceStatus.Error\n finalResult.error = pageComponent\n }\n\n let pageResources\n\n if (finalResult.status !== PageResourceStatus.Error) {\n finalResult.status = PageResourceStatus.Success\n if (\n pageDataResponse.notFound === true ||\n rscDataResponse?.notFound === true\n ) {\n finalResult.notFound = true\n }\n pageData = Object.assign(pageData, {\n webpackCompilationHash: appDataResponse\n ? appDataResponse.webpackCompilationHash\n : ``,\n })\n\n if (typeof rscDataResponse?.payload === `string`) {\n pageResources = toPageResources(pageData, null, headComponent)\n\n pageResources.partialHydration = rscDataResponse.payload\n\n const readableStream = new ReadableStream({\n start(controller) {\n const te = new TextEncoder()\n controller.enqueue(te.encode(rscDataResponse.payload))\n },\n pull(controller) {\n // close on next read when queue is empty\n controller.close()\n },\n cancel() {},\n })\n\n return waitForResponse(\n createFromReadableStream(readableStream)\n ).then(result => {\n pageResources.partialHydration = result\n\n return pageResources\n })\n } else {\n pageResources = toPageResources(\n pageData,\n pageComponent,\n headComponent\n )\n }\n }\n\n // undefined if final result is an error\n return pageResources\n }\n )\n\n // get list of static queries to get\n const staticQueryBatchPromise = Promise.all(\n dedupedStaticQueryHashes.map(staticQueryHash => {\n // Check for cache in case this static query result has already been loaded\n if (this.staticQueryDb[staticQueryHash]) {\n const jsonPayload = this.staticQueryDb[staticQueryHash]\n return { staticQueryHash, jsonPayload }\n }\n\n return this.memoizedGet(\n `${__PATH_PREFIX__}/page-data/sq/d/${staticQueryHash}.json`\n )\n .then(req => {\n const jsonPayload = JSON.parse(req.responseText)\n return { staticQueryHash, jsonPayload }\n })\n .catch(() => {\n throw new Error(\n `We couldn't load \"${__PATH_PREFIX__}/page-data/sq/d/${staticQueryHash}.json\"`\n )\n })\n })\n ).then(staticQueryResults => {\n const staticQueryResultsMap = {}\n\n staticQueryResults.forEach(({ staticQueryHash, jsonPayload }) => {\n staticQueryResultsMap[staticQueryHash] = jsonPayload\n this.staticQueryDb[staticQueryHash] = jsonPayload\n })\n\n return staticQueryResultsMap\n })\n\n return (\n Promise.all([componentChunkPromises, staticQueryBatchPromise])\n .then(([pageResources, staticQueryResults]) => {\n let payload\n if (pageResources) {\n payload = { ...pageResources, staticQueryResults }\n finalResult.payload = payload\n emitter.emit(`onPostLoadPageResources`, {\n page: payload,\n pageResources: payload,\n })\n }\n\n this.pageDb.set(pagePath, finalResult)\n\n if (finalResult.error) {\n return {\n error: finalResult.error,\n status: finalResult.status,\n }\n }\n\n return payload\n })\n // when static-query fail to load we throw a better error\n .catch(err => {\n return {\n error: err,\n status: PageResourceStatus.Error,\n }\n })\n )\n })\n })\n\n inFlightPromise\n .then(() => {\n this.inFlightDb.delete(pagePath)\n })\n .catch(error => {\n this.inFlightDb.delete(pagePath)\n throw error\n })\n\n this.inFlightDb.set(pagePath, inFlightPromise)\n\n return inFlightPromise\n }\n\n // returns undefined if the page does not exists in cache\n loadPageSync(rawPath, options = {}) {\n const pagePath = findPath(rawPath)\n if (this.pageDb.has(pagePath)) {\n const pageData = this.pageDb.get(pagePath)\n\n if (pageData.payload) {\n return pageData.payload\n }\n\n if (options?.withErrorDetails) {\n return {\n error: pageData.error,\n status: pageData.status,\n }\n }\n }\n return undefined\n }\n\n shouldPrefetch(pagePath) {\n // Skip prefetching if we know user is on slow or constrained connection\n if (!doesConnectionSupportPrefetch()) {\n return false\n }\n\n // Don't prefetch if this is a crawler bot\n if (navigator.userAgent && BOT_REGEX.test(navigator.userAgent)) {\n return false\n }\n\n // Check if the page exists.\n if (this.pageDb.has(pagePath)) {\n return false\n }\n\n return true\n }\n\n prefetch(pagePath) {\n if (!this.shouldPrefetch(pagePath)) {\n return {\n then: resolve => resolve(false),\n abort: () => {},\n }\n }\n if (this.prefetchTriggered.has(pagePath)) {\n return {\n then: resolve => resolve(true),\n abort: () => {},\n }\n }\n\n const defer = {\n resolve: null,\n reject: null,\n promise: null,\n }\n defer.promise = new Promise((resolve, reject) => {\n defer.resolve = resolve\n defer.reject = reject\n })\n this.prefetchQueued.push([pagePath, defer])\n const abortC = new AbortController()\n abortC.signal.addEventListener(`abort`, () => {\n const index = this.prefetchQueued.findIndex(([p]) => p === pagePath)\n // remove from the queue\n if (index !== -1) {\n this.prefetchQueued.splice(index, 1)\n }\n })\n\n if (!this.isPrefetchQueueRunning) {\n this.isPrefetchQueueRunning = true\n setTimeout(() => {\n this._processNextPrefetchBatch()\n }, 3000)\n }\n\n return {\n then: (resolve, reject) => defer.promise.then(resolve, reject),\n abort: abortC.abort.bind(abortC),\n }\n }\n\n _processNextPrefetchBatch() {\n const idleCallback = window.requestIdleCallback || (cb => setTimeout(cb, 0))\n\n idleCallback(() => {\n const toPrefetch = this.prefetchQueued.splice(0, 4)\n const prefetches = Promise.all(\n toPrefetch.map(([pagePath, dPromise]) => {\n // Tell plugins with custom prefetching logic that they should start\n // prefetching this path.\n if (!this.prefetchTriggered.has(pagePath)) {\n this.apiRunner(`onPrefetchPathname`, { pathname: pagePath })\n this.prefetchTriggered.add(pagePath)\n }\n\n // If a plugin has disabled core prefetching, stop now.\n if (this.prefetchDisabled) {\n return dPromise.resolve(false)\n }\n\n return this.doPrefetch(findPath(pagePath)).then(() => {\n if (!this.prefetchCompleted.has(pagePath)) {\n this.apiRunner(`onPostPrefetchPathname`, { pathname: pagePath })\n this.prefetchCompleted.add(pagePath)\n }\n\n dPromise.resolve(true)\n })\n })\n )\n\n if (this.prefetchQueued.length) {\n prefetches.then(() => {\n setTimeout(() => {\n this._processNextPrefetchBatch()\n }, 3000)\n })\n } else {\n this.isPrefetchQueueRunning = false\n }\n })\n }\n\n doPrefetch(pagePath) {\n const pageDataUrl = createPageDataUrl(pagePath)\n\n if (global.hasPartialHydration) {\n return Promise.all([\n prefetchHelper(pageDataUrl, {\n crossOrigin: `anonymous`,\n as: `fetch`,\n }).then(() =>\n // This was just prefetched, so will return a response from\n // the cache instead of making another request to the server\n this.loadPageDataJson(pagePath)\n ),\n prefetchHelper(pageDataUrl.replace(`.json`, `-rsc.json`), {\n crossOrigin: `anonymous`,\n as: `fetch`,\n }).then(() =>\n // This was just prefetched, so will return a response from\n // the cache instead of making another request to the server\n this.loadPartialHydrationJson(pagePath)\n ),\n ])\n } else {\n return prefetchHelper(pageDataUrl, {\n crossOrigin: `anonymous`,\n as: `fetch`,\n }).then(() =>\n // This was just prefetched, so will return a response from\n // the cache instead of making another request to the server\n this.loadPageDataJson(pagePath)\n )\n }\n }\n\n hovering(rawPath) {\n this.loadPage(rawPath)\n }\n\n getResourceURLsForPathname(rawPath) {\n const pagePath = findPath(rawPath)\n const page = this.pageDataDb.get(pagePath)\n if (page) {\n const pageResources = toPageResources(page.payload)\n\n return [\n ...createComponentUrls(pageResources.page.componentChunkName),\n createPageDataUrl(pagePath),\n ]\n } else {\n return null\n }\n }\n\n isPageNotFound(rawPath) {\n const pagePath = findPath(rawPath)\n const page = this.pageDb.get(pagePath)\n return !page || page.notFound\n }\n\n loadAppData(retries = 0) {\n return this.memoizedGet(`${__PATH_PREFIX__}/page-data/app-data.json`).then(\n req => {\n const { status, responseText } = req\n\n let appData\n\n if (status !== 200 && retries < 3) {\n // Retry 3 times incase of non-200 responses\n return this.loadAppData(retries + 1)\n }\n\n // Handle 200\n if (status === 200) {\n try {\n const jsonPayload = JSON.parse(responseText)\n if (jsonPayload.webpackCompilationHash === undefined) {\n throw new Error(`not a valid app-data response`)\n }\n\n appData = jsonPayload\n } catch (err) {\n // continue regardless of error\n }\n }\n\n return appData\n }\n )\n }\n}\n\nconst createComponentUrls = componentChunkName =>\n (window.___chunkMapping[componentChunkName] || []).map(\n chunk => __PATH_PREFIX__ + chunk\n )\n\nexport class ProdLoader extends BaseLoader {\n constructor(asyncRequires, matchPaths, pageData) {\n const loadComponent = (chunkName, exportType = `components`) => {\n if (!global.hasPartialHydration) {\n exportType = `components`\n }\n\n if (!asyncRequires[exportType][chunkName]) {\n throw new Error(\n `We couldn't find the correct component chunk with the name \"${chunkName}\"`\n )\n }\n\n return (\n asyncRequires[exportType][chunkName]()\n // loader will handle the case when component is error\n .catch(err => err)\n )\n }\n\n super(loadComponent, matchPaths)\n\n if (pageData) {\n this.pageDataDb.set(findPath(pageData.path), {\n pagePath: pageData.path,\n payload: pageData,\n status: `success`,\n })\n }\n }\n\n doPrefetch(pagePath) {\n return super.doPrefetch(pagePath).then(result => {\n if (result.status !== PageResourceStatus.Success) {\n return Promise.resolve()\n }\n const pageData = result.payload\n const chunkName = pageData.componentChunkName\n const componentUrls = createComponentUrls(chunkName)\n return Promise.all(componentUrls.map(prefetchHelper)).then(() => pageData)\n })\n }\n\n loadPageDataJson(rawPath) {\n return super.loadPageDataJson(rawPath).then(data => {\n if (data.notFound) {\n if (shouldAbortFetch(rawPath)) {\n return data\n }\n // check if html file exist using HEAD request:\n // if it does we should navigate to it instead of showing 404\n return doFetch(rawPath, `HEAD`).then(req => {\n if (req.status === 200) {\n // page (.html file) actually exist (or we asked for 404 )\n // returning page resources status as errored to trigger\n // regular browser navigation to given page\n return {\n status: PageResourceStatus.Error,\n }\n }\n\n // if HEAD request wasn't 200, return notFound result\n // and show 404 page\n return data\n })\n }\n return data\n })\n }\n\n loadPartialHydrationJson(rawPath) {\n return super.loadPartialHydrationJson(rawPath).then(data => {\n if (data.notFound) {\n if (shouldAbortFetch(rawPath)) {\n return data\n }\n // check if html file exist using HEAD request:\n // if it does we should navigate to it instead of showing 404\n return doFetch(rawPath, `HEAD`).then(req => {\n if (req.status === 200) {\n // page (.html file) actually exist (or we asked for 404 )\n // returning page resources status as errored to trigger\n // regular browser navigation to given page\n return {\n status: PageResourceStatus.Error,\n }\n }\n\n // if HEAD request wasn't 200, return notFound result\n // and show 404 page\n return data\n })\n }\n return data\n })\n }\n}\n\nlet instance\n\nexport const setLoader = _loader => {\n instance = _loader\n}\n\nexport const publicLoader = {\n enqueue: rawPath => instance.prefetch(rawPath),\n\n // Real methods\n getResourceURLsForPathname: rawPath =>\n instance.getResourceURLsForPathname(rawPath),\n loadPage: rawPath => instance.loadPage(rawPath),\n // TODO add deprecation to v4 so people use withErrorDetails and then we can remove in v5 and change default behaviour\n loadPageSync: (rawPath, options = {}) =>\n instance.loadPageSync(rawPath, options),\n prefetch: rawPath => instance.prefetch(rawPath),\n isPageNotFound: rawPath => instance.isPageNotFound(rawPath),\n hovering: rawPath => instance.hovering(rawPath),\n loadAppData: () => instance.loadAppData(),\n}\n\nexport default publicLoader\n\nexport function getStaticQueryResults() {\n if (instance) {\n return instance.staticQueryDb\n } else {\n return {}\n }\n}\n\nexport function getSliceResults() {\n if (instance) {\n return instance.slicesDb\n } else {\n return {}\n }\n}\n","import { useEffect } from \"react\"\n\n/*\n * Calls callback in an effect and renders children\n */\nexport function FireCallbackInEffect({ children, callback }) {\n useEffect(() => {\n callback()\n })\n\n return children\n}\n","export const VALID_NODE_NAMES = [\n `link`,\n `meta`,\n `style`,\n `title`,\n `base`,\n `noscript`,\n `script`,\n `html`,\n `body`,\n]\n","import { VALID_NODE_NAMES } from \"./constants\"\n\n/**\n * Filter the props coming from a page down to just the ones that are relevant for head.\n * This e.g. filters out properties that are undefined during SSR.\n */\nexport function filterHeadProps(input) {\n return {\n location: {\n pathname: input.location.pathname,\n },\n params: input.params,\n data: input.data || {},\n serverData: input.serverData,\n pageContext: input.pageContext,\n }\n}\n\n/**\n * Throw error if Head export is not a valid function\n */\nexport function headExportValidator(head) {\n if (typeof head !== `function`)\n throw new Error(\n `Expected \"Head\" export to be a function got \"${typeof head}\".`\n )\n}\n\n/**\n * Warn once for same messsage\n */\nlet warnOnce = _ => {}\nif (process.env.NODE_ENV !== `production`) {\n const warnings = new Set()\n warnOnce = msg => {\n if (!warnings.has(msg)) {\n console.warn(msg)\n }\n warnings.add(msg)\n }\n}\n\n/**\n * Warn for invalid tags in Head which may have been directly added or introduced by `wrapRootElement`\n * @param {string} tagName\n */\nexport function warnForInvalidTag(tagName) {\n if (process.env.NODE_ENV !== `production`) {\n const warning = createWarningForInvalidTag(tagName)\n warnOnce(warning)\n }\n}\n\nfunction createWarningForInvalidTag(tagName) {\n return `<${tagName}> is not a valid head element. Please use one of the following: ${VALID_NODE_NAMES.join(\n `, `\n )}.\\n\\nAlso make sure that wrapRootElement in gatsby-ssr/gatsby-browser doesn't contain UI elements: https://gatsby.dev/invalid-head-elements`\n}\n\n/**\n * When a `nonce` is present on an element, browsers such as Chrome and Firefox strip it out of the\n * actual HTML attributes for security reasons *when the element is added to the document*. Thus,\n * given two equivalent elements that have nonces, `Element,isEqualNode()` will return false if one\n * of those elements gets added to the document. Although the `element.nonce` property will be the\n * same for both elements, the one that was added to the document will return an empty string for\n * its nonce HTML attribute value.\n *\n * This custom `isEqualNode()` function therefore removes the nonce value from the `newTag` before\n * comparing it to `oldTag`, restoring it afterwards.\n *\n * For more information, see:\n * https://bugs.chromium.org/p/chromium/issues/detail?id=1211471#c12\n */\nexport function isEqualNode(oldTag, newTag) {\n if (oldTag instanceof HTMLElement && newTag instanceof HTMLElement) {\n const nonce = newTag.getAttribute(`nonce`)\n // Only strip the nonce if `oldTag` has had it stripped. An element's nonce attribute will not\n // be stripped if there is no content security policy response header that includes a nonce.\n if (nonce && !oldTag.getAttribute(`nonce`)) {\n const cloneTag = newTag.cloneNode(true)\n cloneTag.setAttribute(`nonce`, ``)\n cloneTag.nonce = nonce\n return nonce === oldTag.nonce && oldTag.isEqualNode(cloneTag)\n }\n }\n\n return oldTag.isEqualNode(newTag)\n}\n\nexport function diffNodes({ oldNodes, newNodes, onStale, onNew }) {\n for (const existingHeadElement of oldNodes) {\n const indexInNewNodes = newNodes.findIndex(e =>\n isEqualNode(e, existingHeadElement)\n )\n\n if (indexInNewNodes === -1) {\n onStale(existingHeadElement)\n } else {\n // this node is re-created as-is, so we keep old node, and remove it from list of new nodes (as we handled it already here)\n newNodes.splice(indexInNewNodes, 1)\n }\n }\n\n // remaing new nodes didn't have matching old node, so need to be added\n for (const newNode of newNodes) {\n onNew(newNode)\n }\n}\n\nexport function getValidHeadNodesAndAttributes(\n rootNode,\n htmlAndBodyAttributes = {\n html: {},\n body: {},\n }\n) {\n const seenIds = new Map()\n const validHeadNodes = []\n\n // Filter out non-element nodes before looping since we don't care about them\n for (const node of rootNode.childNodes) {\n const nodeName = node.nodeName.toLowerCase()\n const id = node.attributes?.id?.value\n\n if (!isElementType(node)) continue\n\n if (isValidNodeName(nodeName)) {\n // and tags are treated differently, in that we don't render them, we only extract the attributes and apply them separetely\n if (nodeName === `html` || nodeName === `body`) {\n for (const attribute of node.attributes) {\n const isStyleAttribute = attribute.name === `style`\n\n // Merge attributes for same nodeName from previous loop iteration\n htmlAndBodyAttributes[nodeName] = {\n ...htmlAndBodyAttributes[nodeName],\n }\n\n if (!isStyleAttribute) {\n htmlAndBodyAttributes[nodeName][attribute.name] = attribute.value\n }\n\n // If there is already a style attribute, we need to merge them as otherwise the last one will \"win\"\n if (isStyleAttribute) {\n htmlAndBodyAttributes[nodeName].style = `${\n htmlAndBodyAttributes[nodeName]?.style\n ? htmlAndBodyAttributes[nodeName].style\n : ``\n }${attribute.value} `\n }\n }\n } else {\n let clonedNode = node.cloneNode(true)\n clonedNode.setAttribute(`data-gatsby-head`, true)\n\n // // This is hack to make script tags work\n if (clonedNode.nodeName.toLowerCase() === `script`) {\n clonedNode = massageScript(clonedNode)\n }\n // Duplicate ids are not allowed in the head, so we need to dedupe them\n if (id) {\n if (!seenIds.has(id)) {\n validHeadNodes.push(clonedNode)\n seenIds.set(id, validHeadNodes.length - 1)\n } else {\n const indexOfPreviouslyInsertedNode = seenIds.get(id)\n validHeadNodes[\n indexOfPreviouslyInsertedNode\n ].parentNode?.removeChild(\n validHeadNodes[indexOfPreviouslyInsertedNode]\n )\n validHeadNodes[indexOfPreviouslyInsertedNode] = clonedNode\n }\n } else {\n validHeadNodes.push(clonedNode)\n }\n }\n } else {\n warnForInvalidTag(nodeName)\n }\n\n if (node.childNodes.length) {\n validHeadNodes.push(\n ...getValidHeadNodesAndAttributes(node, htmlAndBodyAttributes)\n .validHeadNodes\n )\n }\n }\n\n return { validHeadNodes, htmlAndBodyAttributes }\n}\n\nfunction massageScript(node) {\n const script = document.createElement(`script`)\n for (const attr of node.attributes) {\n script.setAttribute(attr.name, attr.value)\n }\n script.innerHTML = node.innerHTML\n\n return script\n}\n\nexport function isValidNodeName(nodeName) {\n return VALID_NODE_NAMES.includes(nodeName)\n}\n/*\n * For Head, we only care about element nodes(type = 1), so this util is used to skip over non-element nodes\n * For Node type, see https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType\n */\nexport function isElementType(node) {\n return node.nodeType === 1\n}\n\n/**\n * Removes all the head elements that were added by `Head`\n */\nexport function removePrevHeadElements() {\n const prevHeadNodes = document.querySelectorAll(`[data-gatsby-head]`)\n for (const node of prevHeadNodes) {\n node.parentNode.removeChild(node)\n }\n}\n\nexport function applyHtmlAndBodyAttributes(htmlAndBodyAttributes) {\n if (!htmlAndBodyAttributes) return\n\n const { html, body } = htmlAndBodyAttributes\n\n const htmlElement = document.querySelector(`html`)\n if (htmlElement) {\n Object.entries(html).forEach(([attributeName, attributeValue]) => {\n htmlElement.setAttribute(attributeName, attributeValue)\n })\n }\n\n const bodyElement = document.querySelector(`body`)\n if (bodyElement) {\n Object.entries(body).forEach(([attributeName, attributeValue]) => {\n bodyElement.setAttribute(attributeName, attributeValue)\n })\n }\n}\n\nexport function removeHtmlAndBodyAttributes(htmlAndBodyattributeList) {\n if (!htmlAndBodyattributeList) return\n\n const { html, body } = htmlAndBodyattributeList\n\n if (html) {\n const htmlElement = document.querySelector(`html`)\n html.forEach(attributeName => {\n if (htmlElement) {\n htmlElement.removeAttribute(attributeName)\n }\n })\n }\n\n if (body) {\n const bodyElement = document.querySelector(`body`)\n body.forEach(attributeName => {\n if (bodyElement) {\n bodyElement.removeAttribute(attributeName)\n }\n })\n }\n}\n","import React from \"react\"\nimport { useEffect } from \"react\"\nimport { StaticQueryContext } from \"gatsby\"\nimport { LocationProvider } from \"@gatsbyjs/reach-router\"\nimport { reactDOMUtils } from \"../react-dom-utils\"\nimport { FireCallbackInEffect } from \"./components/fire-callback-in-effect\"\nimport {\n headExportValidator,\n filterHeadProps,\n diffNodes,\n getValidHeadNodesAndAttributes,\n removePrevHeadElements,\n applyHtmlAndBodyAttributes,\n removeHtmlAndBodyAttributes,\n} from \"./utils\"\nimport { apiRunner } from \"../api-runner-browser\"\n\nconst hiddenRoot = document.createElement(`div`)\nconst keysOfHtmlAndBodyAttributes = {\n html: [],\n body: [],\n}\n\nconst onHeadRendered = () => {\n const { validHeadNodes, htmlAndBodyAttributes } =\n getValidHeadNodesAndAttributes(hiddenRoot)\n\n keysOfHtmlAndBodyAttributes.html = Object.keys(htmlAndBodyAttributes.html)\n keysOfHtmlAndBodyAttributes.body = Object.keys(htmlAndBodyAttributes.body)\n\n applyHtmlAndBodyAttributes(htmlAndBodyAttributes)\n\n /**\n * The rest of the code block below is a diffing mechanism to ensure that\n * the head elements aren't duplicted on every re-render.\n */\n const existingHeadElements = document.querySelectorAll(`[data-gatsby-head]`)\n\n if (existingHeadElements.length === 0) {\n document.head.append(...validHeadNodes)\n return\n }\n\n const newHeadNodes = []\n diffNodes({\n oldNodes: existingHeadElements,\n newNodes: validHeadNodes,\n onStale: node => node.parentNode.removeChild(node),\n onNew: node => newHeadNodes.push(node),\n })\n\n document.head.append(...newHeadNodes)\n}\n\nif (process.env.BUILD_STAGE === `develop`) {\n // sigh ... and elements are not valid descedents of
(our hidden element)\n // react-dom in dev mode will warn about this. There doesn't seem to be a way to render arbitrary\n // user Head without hitting this issue (our hidden element could be just \"new Document()\", but\n // this can only have 1 child, and we don't control what is being rendered so that's not an option)\n // instead we continue to render to
, and just silence warnings for and elements\n // https://github.com/facebook/react/blob/e2424f33b3ad727321fc12e75c5e94838e84c2b5/packages/react-dom-bindings/src/client/validateDOMNesting.js#L498-L520\n const originalConsoleError = console.error.bind(console)\n console.error = (...args) => {\n if (\n Array.isArray(args) &&\n args.length >= 2 &&\n args[0]?.includes?.(`validateDOMNesting(...): %s cannot appear as`) &&\n (args[1] === `` || args[1] === ``)\n ) {\n return undefined\n }\n return originalConsoleError(...args)\n }\n\n /* We set up observer to be able to regenerate after react-refresh\n updates our hidden element.\n */\n const observer = new MutationObserver(onHeadRendered)\n observer.observe(hiddenRoot, {\n attributes: true,\n childList: true,\n characterData: true,\n subtree: true,\n })\n}\n\nexport function headHandlerForBrowser({\n pageComponent,\n staticQueryResults,\n pageComponentProps,\n}) {\n useEffect(() => {\n if (pageComponent?.Head) {\n headExportValidator(pageComponent.Head)\n\n const { render } = reactDOMUtils()\n\n const HeadElement = (\n \n )\n\n const WrapHeadElement = apiRunner(\n `wrapRootElement`,\n { element: HeadElement },\n HeadElement,\n ({ result }) => {\n return { element: result }\n }\n ).pop()\n\n render(\n // just a hack to call the callback after react has done first render\n // Note: In dev, we call onHeadRendered twice( in FireCallbackInEffect and after mutualution observer dectects initail render into hiddenRoot) this is for hot reloading\n // In Prod we only call onHeadRendered in FireCallbackInEffect to render to head\n \n \n {WrapHeadElement}\n \n ,\n hiddenRoot\n )\n }\n\n return () => {\n removePrevHeadElements()\n removeHtmlAndBodyAttributes(keysOfHtmlAndBodyAttributes)\n }\n })\n}\n","import React, { Suspense, createElement } from \"react\"\nimport PropTypes from \"prop-types\"\nimport { apiRunner } from \"./api-runner-browser\"\nimport { grabMatchParams } from \"./find-path\"\nimport { headHandlerForBrowser } from \"./head/head-export-handler-for-browser\"\n\n// Renders page\nfunction PageRenderer(props) {\n const pageComponentProps = {\n ...props,\n params: {\n ...grabMatchParams(props.location.pathname),\n ...props.pageResources.json.pageContext.__params,\n },\n }\n\n const preferDefault = m => (m && m.default) || m\n\n let pageElement\n if (props.pageResources.partialHydration) {\n pageElement = props.pageResources.partialHydration\n } else {\n pageElement = createElement(preferDefault(props.pageResources.component), {\n ...pageComponentProps,\n key: props.path || props.pageResources.page.path,\n })\n }\n\n const pageComponent = props.pageResources.head\n\n headHandlerForBrowser({\n pageComponent,\n staticQueryResults: props.pageResources.staticQueryResults,\n pageComponentProps,\n })\n\n const wrappedPage = apiRunner(\n `wrapPageElement`,\n {\n element: pageElement,\n props: pageComponentProps,\n },\n pageElement,\n ({ result }) => {\n return { element: result, props: pageComponentProps }\n }\n ).pop()\n\n return wrappedPage\n}\n\nPageRenderer.propTypes = {\n location: PropTypes.object.isRequired,\n pageResources: PropTypes.object.isRequired,\n data: PropTypes.object,\n pageContext: PropTypes.object.isRequired,\n}\n\nexport default PageRenderer\n","// This is extracted to separate module because it's shared\n// between browser and SSR code\nexport const RouteAnnouncerProps = {\n id: `gatsby-announcer`,\n style: {\n position: `absolute`,\n top: 0,\n width: 1,\n height: 1,\n padding: 0,\n overflow: `hidden`,\n clip: `rect(0, 0, 0, 0)`,\n whiteSpace: `nowrap`,\n border: 0,\n },\n \"aria-live\": `assertive`,\n \"aria-atomic\": `true`,\n}\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport loader, { PageResourceStatus } from \"./loader\"\nimport { maybeGetBrowserRedirect } from \"./redirect-utils.js\"\nimport { apiRunner } from \"./api-runner-browser\"\nimport emitter from \"./emitter\"\nimport { RouteAnnouncerProps } from \"./route-announcer-props\"\nimport {\n navigate as reachNavigate,\n globalHistory,\n} from \"@gatsbyjs/reach-router\"\nimport { parsePath } from \"gatsby-link\"\n\nfunction maybeRedirect(pathname) {\n const redirect = maybeGetBrowserRedirect(pathname)\n const { hash, search } = window.location\n\n if (redirect != null) {\n window.___replace(redirect.toPath + search + hash)\n return true\n } else {\n return false\n }\n}\n\n// Catch unhandled chunk loading errors and force a restart of the app.\nlet nextRoute = ``\n\nwindow.addEventListener(`unhandledrejection`, event => {\n if (/loading chunk \\d* failed./i.test(event.reason)) {\n if (nextRoute) {\n window.location.pathname = nextRoute\n }\n }\n})\n\nconst onPreRouteUpdate = (location, prevLocation) => {\n if (!maybeRedirect(location.pathname)) {\n nextRoute = location.pathname\n apiRunner(`onPreRouteUpdate`, { location, prevLocation })\n }\n}\n\nconst onRouteUpdate = (location, prevLocation) => {\n if (!maybeRedirect(location.pathname)) {\n apiRunner(`onRouteUpdate`, { location, prevLocation })\n if (\n process.env.GATSBY_QUERY_ON_DEMAND &&\n process.env.GATSBY_QUERY_ON_DEMAND_LOADING_INDICATOR === `true`\n ) {\n emitter.emit(`onRouteUpdate`, { location, prevLocation })\n }\n }\n}\n\nconst navigate = (to, options = {}) => {\n // Support forward/backward navigation with numbers\n // navigate(-2) (jumps back 2 history steps)\n // navigate(2) (jumps forward 2 history steps)\n if (typeof to === `number`) {\n globalHistory.navigate(to)\n return\n }\n\n const { pathname, search, hash } = parsePath(to)\n const redirect = maybeGetBrowserRedirect(pathname)\n\n // If we're redirecting, just replace the passed in pathname\n // to the one we want to redirect to.\n if (redirect) {\n to = redirect.toPath + search + hash\n }\n\n // If we had a service worker update, no matter the path, reload window and\n // reset the pathname whitelist\n if (window.___swUpdated) {\n window.location = pathname + search + hash\n return\n }\n\n // Start a timer to wait for a second before transitioning and showing a\n // loader in case resources aren't around yet.\n const timeoutId = setTimeout(() => {\n emitter.emit(`onDelayedLoadPageResources`, { pathname })\n apiRunner(`onRouteUpdateDelayed`, {\n location: window.location,\n })\n }, 1000)\n\n loader.loadPage(pathname + search).then(pageResources => {\n // If no page resources, then refresh the page\n // Do this, rather than simply `window.location.reload()`, so that\n // pressing the back/forward buttons work - otherwise when pressing\n // back, the browser will just change the URL and expect JS to handle\n // the change, which won't always work since it might not be a Gatsby\n // page.\n if (!pageResources || pageResources.status === PageResourceStatus.Error) {\n window.history.replaceState({}, ``, location.href)\n window.location = pathname\n clearTimeout(timeoutId)\n return\n }\n\n // If the loaded page has a different compilation hash to the\n // window, then a rebuild has occurred on the server. Reload.\n if (process.env.NODE_ENV === `production` && pageResources) {\n if (\n pageResources.page.webpackCompilationHash !==\n window.___webpackCompilationHash\n ) {\n // Purge plugin-offline cache\n if (\n `serviceWorker` in navigator &&\n navigator.serviceWorker.controller !== null &&\n navigator.serviceWorker.controller.state === `activated`\n ) {\n navigator.serviceWorker.controller.postMessage({\n gatsbyApi: `clearPathResources`,\n })\n }\n\n window.location = pathname + search + hash\n }\n }\n reachNavigate(to, options)\n clearTimeout(timeoutId)\n })\n}\n\nfunction shouldUpdateScroll(prevRouterProps, { location }) {\n const { pathname, hash } = location\n const results = apiRunner(`shouldUpdateScroll`, {\n prevRouterProps,\n // `pathname` for backwards compatibility\n pathname,\n routerProps: { location },\n getSavedScrollPosition: args => [\n 0,\n // FIXME this is actually a big code smell, we should fix this\n // eslint-disable-next-line @babel/no-invalid-this\n this._stateStorage.read(args, args.key),\n ],\n })\n if (results.length > 0) {\n // Use the latest registered shouldUpdateScroll result, this allows users to override plugin's configuration\n // @see https://github.com/gatsbyjs/gatsby/issues/12038\n return results[results.length - 1]\n }\n\n if (prevRouterProps) {\n const {\n location: { pathname: oldPathname },\n } = prevRouterProps\n if (oldPathname === pathname) {\n // Scroll to element if it exists, if it doesn't, or no hash is provided,\n // scroll to top.\n return hash ? decodeURI(hash.slice(1)) : [0, 0]\n }\n }\n return true\n}\n\nfunction init() {\n // The \"scroll-behavior\" package expects the \"action\" to be on the location\n // object so let's copy it over.\n globalHistory.listen(args => {\n args.location.action = args.action\n })\n\n window.___push = to => navigate(to, { replace: false })\n window.___replace = to => navigate(to, { replace: true })\n window.___navigate = (to, options) => navigate(to, options)\n}\n\nclass RouteAnnouncer extends React.Component {\n constructor(props) {\n super(props)\n this.announcementRef = React.createRef()\n }\n\n componentDidUpdate(prevProps, nextProps) {\n requestAnimationFrame(() => {\n let pageName = `new page at ${this.props.location.pathname}`\n if (document.title) {\n pageName = document.title\n }\n const pageHeadings = document.querySelectorAll(`#gatsby-focus-wrapper h1`)\n if (pageHeadings && pageHeadings.length) {\n pageName = pageHeadings[0].textContent\n }\n const newAnnouncement = `Navigated to ${pageName}`\n if (this.announcementRef.current) {\n const oldAnnouncement = this.announcementRef.current.innerText\n if (oldAnnouncement !== newAnnouncement) {\n this.announcementRef.current.innerText = newAnnouncement\n }\n }\n })\n }\n\n render() {\n return
\n }\n}\n\nconst compareLocationProps = (prevLocation, nextLocation) => {\n if (prevLocation.href !== nextLocation.href) {\n return true\n }\n\n if (prevLocation?.state?.key !== nextLocation?.state?.key) {\n return true\n }\n\n return false\n}\n\n// Fire on(Pre)RouteUpdate APIs\nclass RouteUpdates extends React.Component {\n constructor(props) {\n super(props)\n onPreRouteUpdate(props.location, null)\n }\n\n componentDidMount() {\n onRouteUpdate(this.props.location, null)\n }\n\n shouldComponentUpdate(nextProps) {\n if (compareLocationProps(this.props.location, nextProps.location)) {\n onPreRouteUpdate(nextProps.location, this.props.location)\n return true\n }\n return false\n }\n\n componentDidUpdate(prevProps) {\n if (compareLocationProps(prevProps.location, this.props.location)) {\n onRouteUpdate(this.props.location, prevProps.location)\n }\n }\n\n render() {\n return (\n \n {this.props.children}\n \n \n )\n }\n}\n\nRouteUpdates.propTypes = {\n location: PropTypes.object.isRequired,\n}\n\nexport { init, shouldUpdateScroll, RouteUpdates, maybeGetBrowserRedirect }\n","// Pulled from react-compat\n// https://github.com/developit/preact-compat/blob/7c5de00e7c85e2ffd011bf3af02899b63f699d3a/src/index.js#L349\nfunction shallowDiffers(a, b) {\n for (var i in a) {\n if (!(i in b)) return true;\n }for (var _i in b) {\n if (a[_i] !== b[_i]) return true;\n }return false;\n}\n\nexport default (function (instance, nextProps, nextState) {\n return shallowDiffers(instance.props, nextProps) || shallowDiffers(instance.state, nextState);\n});","import React from \"react\"\nimport loader, { PageResourceStatus } from \"./loader\"\nimport shallowCompare from \"shallow-compare\"\n\nclass EnsureResources extends React.Component {\n constructor(props) {\n super()\n const { location, pageResources } = props\n this.state = {\n location: { ...location },\n pageResources:\n pageResources ||\n loader.loadPageSync(location.pathname + location.search, {\n withErrorDetails: true,\n }),\n }\n }\n\n static getDerivedStateFromProps({ location }, prevState) {\n if (prevState.location.href !== location.href) {\n const pageResources = loader.loadPageSync(\n location.pathname + location.search,\n {\n withErrorDetails: true,\n }\n )\n\n return {\n pageResources,\n location: { ...location },\n }\n }\n\n return {\n location: { ...location },\n }\n }\n\n loadResources(rawPath) {\n loader.loadPage(rawPath).then(pageResources => {\n if (pageResources && pageResources.status !== PageResourceStatus.Error) {\n this.setState({\n location: { ...window.location },\n pageResources,\n })\n } else {\n window.history.replaceState({}, ``, location.href)\n window.location = rawPath\n }\n })\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n // Always return false if we're missing resources.\n if (!nextState.pageResources) {\n this.loadResources(\n nextProps.location.pathname + nextProps.location.search\n )\n return false\n }\n\n if (\n process.env.BUILD_STAGE === `develop` &&\n nextState.pageResources.stale\n ) {\n this.loadResources(\n nextProps.location.pathname + nextProps.location.search\n )\n return false\n }\n\n // Check if the component or json have changed.\n if (this.state.pageResources !== nextState.pageResources) {\n return true\n }\n if (\n this.state.pageResources.component !== nextState.pageResources.component\n ) {\n return true\n }\n\n if (this.state.pageResources.json !== nextState.pageResources.json) {\n return true\n }\n // Check if location has changed on a page using internal routing\n // via matchPath configuration.\n if (\n this.state.location.key !== nextState.location.key &&\n nextState.pageResources.page &&\n (nextState.pageResources.page.matchPath ||\n nextState.pageResources.page.path)\n ) {\n return true\n }\n return shallowCompare(this, nextProps, nextState)\n }\n\n render() {\n if (\n process.env.NODE_ENV !== `production` &&\n (!this.state.pageResources ||\n this.state.pageResources.status === PageResourceStatus.Error)\n ) {\n const message = `EnsureResources was not able to find resources for path: \"${this.props.location.pathname}\"\nThis typically means that an issue occurred building components for that path.\nRun \\`gatsby clean\\` to remove any cached elements.`\n if (this.state.pageResources?.error) {\n console.error(message)\n throw this.state.pageResources.error\n }\n\n throw new Error(message)\n }\n\n return this.props.children(this.state)\n }\n}\n\nexport default EnsureResources\n","import { apiRunner, apiRunnerAsync } from \"./api-runner-browser\"\nimport React from \"react\"\nimport { Router, navigate, Location, BaseContext } from \"@gatsbyjs/reach-router\"\nimport { ScrollContext } from \"gatsby-react-router-scroll\"\nimport { StaticQueryContext } from \"./static-query\"\nimport {\n SlicesMapContext,\n SlicesContext,\n SlicesResultsContext,\n} from \"./slice/context\"\nimport {\n shouldUpdateScroll,\n init as navigationInit,\n RouteUpdates,\n} from \"./navigation\"\nimport emitter from \"./emitter\"\nimport PageRenderer from \"./page-renderer\"\nimport asyncRequires from \"$virtual/async-requires\"\nimport {\n setLoader,\n ProdLoader,\n publicLoader,\n PageResourceStatus,\n getStaticQueryResults,\n getSliceResults,\n} from \"./loader\"\nimport EnsureResources from \"./ensure-resources\"\nimport stripPrefix from \"./strip-prefix\"\n\n// Generated during bootstrap\nimport matchPaths from \"$virtual/match-paths.json\"\nimport { reactDOMUtils } from \"./react-dom-utils\"\n\nconst loader = new ProdLoader(asyncRequires, matchPaths, window.pageData)\nsetLoader(loader)\nloader.setApiRunner(apiRunner)\n\nconst { render, hydrate } = reactDOMUtils()\n\nwindow.asyncRequires = asyncRequires\nwindow.___emitter = emitter\nwindow.___loader = publicLoader\n\nnavigationInit()\n\nconst reloadStorageKey = `gatsby-reload-compilation-hash-match`\n\napiRunnerAsync(`onClientEntry`).then(() => {\n // Let plugins register a service worker. The plugin just needs\n // to return true.\n if (apiRunner(`registerServiceWorker`).filter(Boolean).length > 0) {\n require(`./register-service-worker`)\n }\n\n // In gatsby v2 if Router is used in page using matchPaths\n // paths need to contain full path.\n // For example:\n // - page have `/app/*` matchPath\n // - inside template user needs to use `/app/xyz` as path\n // Resetting `basepath`/`baseuri` keeps current behaviour\n // to not introduce breaking change.\n // Remove this in v3\n const RouteHandler = props => (\n \n \n \n )\n\n const DataContext = React.createContext({})\n\n const slicesContext = {\n renderEnvironment: `browser`,\n }\n\n class GatsbyRoot extends React.Component {\n render() {\n const { children } = this.props\n return (\n \n {({ location }) => (\n \n {({ pageResources, location }) => {\n const staticQueryResults = getStaticQueryResults()\n const sliceResults = getSliceResults()\n\n return (\n \n \n \n \n \n {children}\n \n \n \n \n \n )\n }}\n \n )}\n \n )\n }\n }\n\n class LocationHandler extends React.Component {\n render() {\n return (\n \n {({ pageResources, location }) => (\n \n \n \n \n \n \n \n )}\n \n )\n }\n }\n\n const { pagePath, location: browserLoc } = window\n\n // Explicitly call navigate if the canonical path (window.pagePath)\n // is different to the browser path (window.location.pathname). SSR\n // page paths might include search params, while SSG and DSG won't.\n // If page path include search params we also compare query params.\n // But only if NONE of the following conditions hold:\n //\n // - The url matches a client side route (page.matchPath)\n // - it's a 404 page\n // - it's the offline plugin shell (/offline-plugin-app-shell-fallback/)\n if (\n pagePath &&\n __BASE_PATH__ + pagePath !==\n browserLoc.pathname + (pagePath.includes(`?`) ? browserLoc.search : ``) &&\n !(\n loader.findMatchPath(stripPrefix(browserLoc.pathname, __BASE_PATH__)) ||\n pagePath.match(/^\\/(404|500)(\\/?|.html)$/) ||\n pagePath.match(/^\\/offline-plugin-app-shell-fallback\\/?$/)\n )\n ) {\n navigate(\n __BASE_PATH__ +\n pagePath +\n (!pagePath.includes(`?`) ? browserLoc.search : ``) +\n browserLoc.hash,\n {\n replace: true,\n }\n )\n }\n\n // It's possible that sessionStorage can throw an exception if access is not granted, see https://github.com/gatsbyjs/gatsby/issues/34512\n const getSessionStorage = () => {\n try {\n return sessionStorage\n } catch {\n return null\n }\n }\n\n publicLoader.loadPage(browserLoc.pathname + browserLoc.search).then(page => {\n const sessionStorage = getSessionStorage()\n\n if (\n page?.page?.webpackCompilationHash &&\n page.page.webpackCompilationHash !== window.___webpackCompilationHash\n ) {\n // Purge plugin-offline cache\n if (\n `serviceWorker` in navigator &&\n navigator.serviceWorker.controller !== null &&\n navigator.serviceWorker.controller.state === `activated`\n ) {\n navigator.serviceWorker.controller.postMessage({\n gatsbyApi: `clearPathResources`,\n })\n }\n\n // We have not matching html + js (inlined `window.___webpackCompilationHash`)\n // with our data (coming from `app-data.json` file). This can cause issues such as\n // errors trying to load static queries (as list of static queries is inside `page-data`\n // which might not match to currently loaded `.js` scripts).\n // We are making attempt to reload if hashes don't match, but we also have to handle case\n // when reload doesn't fix it (possibly broken deploy) so we don't end up in infinite reload loop\n if (sessionStorage) {\n const isReloaded = sessionStorage.getItem(reloadStorageKey) === `1`\n\n if (!isReloaded) {\n sessionStorage.setItem(reloadStorageKey, `1`)\n window.location.reload(true)\n return\n }\n }\n }\n\n if (sessionStorage) {\n sessionStorage.removeItem(reloadStorageKey)\n }\n\n if (!page || page.status === PageResourceStatus.Error) {\n const message = `page resources for ${browserLoc.pathname} not found. Not rendering React`\n\n // if the chunk throws an error we want to capture the real error\n // This should help with https://github.com/gatsbyjs/gatsby/issues/19618\n if (page && page.error) {\n console.error(message)\n throw page.error\n }\n\n throw new Error(message)\n }\n\n const SiteRoot = apiRunner(\n `wrapRootElement`,\n { element: },\n ,\n ({ result }) => {\n return { element: result }\n }\n ).pop()\n\n const App = function App() {\n const onClientEntryRanRef = React.useRef(false)\n\n React.useEffect(() => {\n if (!onClientEntryRanRef.current) {\n onClientEntryRanRef.current = true\n if (performance.mark) {\n performance.mark(`onInitialClientRender`)\n }\n\n apiRunner(`onInitialClientRender`)\n }\n }, [])\n\n return {SiteRoot}\n }\n\n const focusEl = document.getElementById(`gatsby-focus-wrapper`)\n\n // Client only pages have any empty body so we just do a normal\n // render to avoid React complaining about hydration mis-matches.\n let defaultRenderer = render\n if (focusEl && focusEl.children.length) {\n defaultRenderer = hydrate\n }\n\n const renderer = apiRunner(\n `replaceHydrateFunction`,\n undefined,\n defaultRenderer\n )[0]\n\n function runRender() {\n const rootElement =\n typeof window !== `undefined`\n ? document.getElementById(`___gatsby`)\n : null\n\n renderer(, rootElement)\n }\n\n // https://github.com/madrobby/zepto/blob/b5ed8d607f67724788ec9ff492be297f64d47dfc/src/zepto.js#L439-L450\n // TODO remove IE 10 support\n const doc = document\n if (\n doc.readyState === `complete` ||\n (doc.readyState !== `loading` && !doc.documentElement.doScroll)\n ) {\n setTimeout(function () {\n runRender()\n }, 0)\n } else {\n const handler = function () {\n doc.removeEventListener(`DOMContentLoaded`, handler, false)\n window.removeEventListener(`load`, handler, false)\n\n runRender()\n }\n\n doc.addEventListener(`DOMContentLoaded`, handler, false)\n window.addEventListener(`load`, handler, false)\n }\n\n return\n })\n})\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\n\nimport loader from \"./loader\"\nimport InternalPageRenderer from \"./page-renderer\"\n\nconst ProdPageRenderer = ({ location }) => {\n const pageResources = loader.loadPageSync(location.pathname)\n if (!pageResources) {\n return null\n }\n return React.createElement(InternalPageRenderer, {\n location,\n pageResources,\n ...pageResources.json,\n })\n}\n\nProdPageRenderer.propTypes = {\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired,\n }).isRequired,\n}\n\nexport default ProdPageRenderer\n","const preferDefault = m => (m && m.default) || m\n\nif (process.env.BUILD_STAGE === `develop`) {\n module.exports = preferDefault(require(`./public-page-renderer-dev`))\n} else if (process.env.BUILD_STAGE === `build-javascript`) {\n module.exports = preferDefault(require(`./public-page-renderer-prod`))\n} else {\n module.exports = () => null\n}\n","const map = new WeakMap()\n\nexport function reactDOMUtils() {\n const reactDomClient = require(`react-dom/client`)\n\n const render = (Component, el) => {\n let root = map.get(el)\n if (!root) {\n map.set(el, (root = reactDomClient.createRoot(el)))\n }\n root.render(Component)\n }\n\n const hydrate = (Component, el) => reactDomClient.hydrateRoot(el, Component)\n\n return { render, hydrate }\n}\n","import redirects from \"./redirects.json\"\n\n// Convert to a map for faster lookup in maybeRedirect()\n\nconst redirectMap = new Map()\nconst redirectIgnoreCaseMap = new Map()\n\nredirects.forEach(redirect => {\n if (redirect.ignoreCase) {\n redirectIgnoreCaseMap.set(redirect.fromPath, redirect)\n } else {\n redirectMap.set(redirect.fromPath, redirect)\n }\n})\n\nexport function maybeGetBrowserRedirect(pathname) {\n let redirect = redirectMap.get(pathname)\n if (!redirect) {\n redirect = redirectIgnoreCaseMap.get(pathname.toLowerCase())\n }\n return redirect\n}\n","import { apiRunner } from \"./api-runner-browser\"\n\nif (\n window.location.protocol !== `https:` &&\n window.location.hostname !== `localhost`\n) {\n console.error(\n `Service workers can only be used over HTTPS, or on localhost for development`\n )\n} else if (`serviceWorker` in navigator) {\n navigator.serviceWorker\n .register(`${__BASE_PATH__}/sw.js`)\n .then(function (reg) {\n reg.addEventListener(`updatefound`, () => {\n apiRunner(`onServiceWorkerUpdateFound`, { serviceWorker: reg })\n // The updatefound event implies that reg.installing is set; see\n // https://w3c.github.io/ServiceWorker/#service-worker-registration-updatefound-event\n const installingWorker = reg.installing\n console.log(`installingWorker`, installingWorker)\n installingWorker.addEventListener(`statechange`, () => {\n switch (installingWorker.state) {\n case `installed`:\n if (navigator.serviceWorker.controller) {\n // At this point, the old content will have been purged and the fresh content will\n // have been added to the cache.\n\n // We set a flag so Gatsby Link knows to refresh the page on next navigation attempt\n window.___swUpdated = true\n // We call the onServiceWorkerUpdateReady API so users can show update prompts.\n apiRunner(`onServiceWorkerUpdateReady`, { serviceWorker: reg })\n\n // If resources failed for the current page, reload.\n if (window.___failedResources) {\n console.log(`resources failed, SW updated - reloading`)\n window.location.reload()\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a \"Content is cached for offline use.\" message.\n console.log(`Content is now available offline!`)\n\n // Post to service worker that install is complete.\n // Delay to allow time for the event listener to be added --\n // otherwise fetch is called too soon and resources aren't cached.\n apiRunner(`onServiceWorkerInstalled`, { serviceWorker: reg })\n }\n break\n\n case `redundant`:\n console.error(`The installing service worker became redundant.`)\n apiRunner(`onServiceWorkerRedundant`, { serviceWorker: reg })\n break\n\n case `activated`:\n apiRunner(`onServiceWorkerActive`, { serviceWorker: reg })\n break\n }\n })\n })\n })\n .catch(function (e) {\n console.error(`Error during service worker registration:`, e)\n })\n}\n","import React from \"react\"\n\nconst SlicesResultsContext = React.createContext({})\nconst SlicesContext = React.createContext({})\nconst SlicesMapContext = React.createContext({})\nconst SlicesPropsContext = React.createContext({})\n\nexport {\n SlicesResultsContext,\n SlicesContext,\n SlicesMapContext,\n SlicesPropsContext,\n}\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport { createServerOrClientContext } from \"./context-utils\"\n\nconst StaticQueryContext = createServerOrClientContext(`StaticQuery`, {})\n\nfunction StaticQueryDataRenderer({ staticQueryData, data, query, render }) {\n const finalData = data\n ? data.data\n : staticQueryData[query] && staticQueryData[query].data\n\n return (\n \n {finalData && render(finalData)}\n {!finalData &&
Loading (StaticQuery)
}\n
\n )\n}\n\nlet warnedAboutStaticQuery = false\n\n// TODO(v6): Remove completely\nconst StaticQuery = props => {\n const { data, query, render, children } = props\n\n if (process.env.NODE_ENV === `development` && !warnedAboutStaticQuery) {\n console.warn(\n `The component is deprecated and will be removed in Gatsby v6. Use useStaticQuery instead. Refer to the migration guide for more information: https://gatsby.dev/migrating-4-to-5/#staticquery--is-deprecated`\n )\n warnedAboutStaticQuery = true\n }\n\n return (\n \n {staticQueryData => (\n \n )}\n \n )\n}\n\nStaticQuery.propTypes = {\n data: PropTypes.object,\n query: PropTypes.string.isRequired,\n render: PropTypes.func,\n children: PropTypes.func,\n}\n\nconst useStaticQuery = query => {\n if (\n typeof React.useContext !== `function` &&\n process.env.NODE_ENV === `development`\n ) {\n // TODO(v5): Remove since we require React >= 18\n throw new Error(\n `You're likely using a version of React that doesn't support Hooks\\n` +\n `Please update React and ReactDOM to 16.8.0 or later to use the useStaticQuery hook.`\n )\n }\n\n const context = React.useContext(StaticQueryContext)\n\n // query is a stringified number like `3303882` when wrapped with graphql, If a user forgets\n // to wrap the query in a grqphql, then casting it to a Number results in `NaN` allowing us to\n // catch the misuse of the API and give proper direction\n if (isNaN(Number(query))) {\n throw new Error(`useStaticQuery was called with a string but expects to be called using \\`graphql\\`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql\\`${query}\\`);\n`)\n }\n\n if (context[query]?.data) {\n return context[query].data\n } else {\n throw new Error(\n `The result of this StaticQuery could not be fetched.\\n\\n` +\n `This is likely a bug in Gatsby and if refreshing the page does not fix it, ` +\n `please open an issue in https://github.com/gatsbyjs/gatsby/issues`\n )\n }\n}\n\nexport { StaticQuery, StaticQueryContext, useStaticQuery }\n","import React from \"react\"\n\n// Ensure serverContext is not created more than once as React will throw when creating it more than once\n// https://github.com/facebook/react/blob/dd2d6522754f52c70d02c51db25eb7cbd5d1c8eb/packages/react/src/ReactServerContext.js#L101\nconst createServerContext = (name, defaultValue = null) => {\n /* eslint-disable no-undef */\n if (!globalThis.__SERVER_CONTEXT) {\n globalThis.__SERVER_CONTEXT = {}\n }\n\n if (!globalThis.__SERVER_CONTEXT[name]) {\n globalThis.__SERVER_CONTEXT[name] = React.createServerContext(\n name,\n defaultValue\n )\n }\n\n return globalThis.__SERVER_CONTEXT[name]\n}\n\nfunction createServerOrClientContext(name, defaultValue) {\n if (React.createServerContext) {\n return createServerContext(name, defaultValue)\n }\n\n return React.createContext(defaultValue)\n}\n\nexport { createServerOrClientContext }\n","/**\n * Remove a prefix from a string. Return the input string if the given prefix\n * isn't found.\n */\n\nexport default function stripPrefix(str, prefix = ``) {\n if (!prefix) {\n return str\n }\n\n if (str === prefix) {\n return `/`\n }\n\n if (str.startsWith(`${prefix}/`)) {\n return str.slice(prefix.length)\n }\n\n return str\n}\n","/* global __MANIFEST_PLUGIN_HAS_LOCALISATION__ */\nimport { withPrefix } from \"gatsby\";\nimport getManifestForPathname from \"./get-manifest-pathname\";\n\n// when we don't have localisation in our manifest, we tree shake everything away\nexport const onRouteUpdate = function onRouteUpdate({\n location\n}, pluginOptions) {\n if (__MANIFEST_PLUGIN_HAS_LOCALISATION__) {\n const {\n localize\n } = pluginOptions;\n const manifestFilename = getManifestForPathname(location.pathname, localize, true);\n const manifestEl = document.head.querySelector(`link[rel=\"manifest\"]`);\n if (manifestEl) {\n manifestEl.setAttribute(`href`, withPrefix(manifestFilename));\n }\n }\n};","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\nvar _gatsby = require(\"gatsby\");\n/**\n * Get a manifest filename depending on localized pathname\n *\n * @param {string} pathname\n * @param {Array<{start_url: string, lang: string}>} localizedManifests\n * @param {boolean} shouldPrependPathPrefix\n * @return string\n */\nvar _default = (pathname, localizedManifests, shouldPrependPathPrefix = false) => {\n const defaultFilename = `manifest.webmanifest`;\n if (!Array.isArray(localizedManifests)) {\n return defaultFilename;\n }\n const localizedManifest = localizedManifests.find(app => {\n let startUrl = app.start_url;\n if (shouldPrependPathPrefix) {\n startUrl = (0, _gatsby.withPrefix)(startUrl);\n }\n return pathname.startsWith(startUrl);\n });\n if (!localizedManifest) {\n return defaultFilename;\n }\n return `manifest_${localizedManifest.lang}.webmanifest`;\n};\nexports.default = _default;","import React from 'react';\nimport { useThemeUI, ThemeProvider as ThemeProvider$1, jsx, __themeUiDefaultContextValue } from '@theme-ui/core';\nimport { css } from '@theme-ui/css';\nimport { ColorModeProvider } from '@theme-ui/color-modes';\nimport { Global } from '@emotion/react';\n\nvar RootStyles = function RootStyles() {\n return jsx(Global, {\n styles: function styles(emotionTheme) {\n var _theme$config;\n\n var theme = emotionTheme;\n\n var _ref = theme.config || theme,\n useRootStyles = _ref.useRootStyles;\n\n if (useRootStyles === false || theme.styles && !theme.styles.root) {\n return null;\n }\n\n var boxSizing = ((_theme$config = theme.config) == null ? void 0 : _theme$config.useBorderBox) === false ? undefined : 'border-box';\n return css({\n '*': {\n boxSizing: boxSizing\n },\n html: {\n variant: 'styles.root'\n },\n body: {\n margin: 0\n }\n })(theme);\n }\n });\n};\n\nvar ThemeProvider = function ThemeProvider(_ref2) {\n var theme = _ref2.theme,\n children = _ref2.children;\n var outer = useThemeUI();\n var isTopLevel = outer === __themeUiDefaultContextValue;\n return /*#__PURE__*/React.createElement(ThemeProvider$1, {\n theme: theme\n }, /*#__PURE__*/React.createElement(ColorModeProvider, null, isTopLevel && /*#__PURE__*/React.createElement(RootStyles, null), children));\n};\n\nexport { ThemeProvider };\n","import { makeColorsScale, makeTheme } from '@theme-ui/css/utils';\n\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nvar borderWidths = {\n px: '1px',\n '0': '0',\n '2': '2px',\n '4': '4px',\n '8': '8px'\n};\nvar breakpoints = ['640px', '768px', '1024px', '1280px'];\nvar baseColors = makeColorsScale({\n transparent: 'transparent',\n black: '#000',\n white: '#fff',\n gray: ['', '#f7fafc', '#edf2f7', '#e2e8f0', '#cbd5e0', '#a0aec0', '#718096', '#4a5568', '#2d3748', '#1a202c'],\n red: ['', '#fff5f5', '#fed7d7', '#feb2b2', '#fc8181', '#f56565', '#e53e3e', '#c53030', '#9b2c2c', '#742a2a'],\n orange: ['', '#fffaf0', '#feebc8', '#fbd38d', '#f6ad55', '#ed8936', '#dd6b20', '#c05621', '#9c4221', '#7b341e'],\n yellow: ['', '#fffff0', '#fefcbf', '#faf089', '#f6e05e', '#ecc94b', '#d69e2e', '#b7791f', '#975a16', '#744210'],\n green: ['', '#f0fff4', '#c6f6d5', '#9ae6b4', '#68d391', '#48bb78', '#38a169', '#2f855a', '#276749', '#22543d'],\n teal: ['', '#e6fffa', '#b2f5ea', '#81e6d9', '#4fd1c5', '#38b2ac', '#319795', '#2c7a7b', '#285e61', '#234e52'],\n blue: ['', '#ebf8ff', '#bee3f8', '#90cdf4', '#63b3ed', '#4299e1', '#3182ce', '#2b6cb0', '#2c5282', '#2a4365'],\n indigo: ['', '#ebf4ff', '#c3dafe', '#a3bffa', '#7f9cf5', '#667eea', '#5a67d8', '#4c51bf', '#434190', '#3c366b'],\n purple: ['', '#faf5ff', '#e9d8fd', '#d6bcfa', '#b794f4', '#9f7aea', '#805ad5', '#6b46c1', '#553c9a', '#44337a'],\n pink: ['', '#fff5f7', '#fed7e2', '#fbb6ce', '#f687b3', '#ed64a6', '#d53f8c', '#b83280', '#97266d', '#702459']\n});\nvar commonButtonStyles = {\n py: 2,\n px: 3,\n cursor: \"pointer\",\n fontSize: \"100%\",\n lineHeight: \"inherit\"\n};\nvar buttons = {\n simple: _extends({}, commonButtonStyles, {\n backgroundColor: \"primary\",\n border: \"none\",\n color: \"white\",\n fontWeight: \"bold\",\n borderRadius: \"default\",\n '&:hover': {\n backgroundColor: \"primaryHover\"\n }\n }),\n pill: _extends({}, commonButtonStyles, {\n backgroundColor: \"primary\",\n border: \"none\",\n color: \"white\",\n fontWeight: \"bold\",\n borderRadius: \"full\",\n '&:hover': {\n backgroundColor: \"primaryHover\"\n }\n }),\n outline: _extends({}, commonButtonStyles, {\n backgroundColor: \"transparent\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"primary\",\n color: \"primary\",\n fontWeight: \"semibold\",\n borderRadius: \"default\",\n '&:hover': {\n backgroundColor: \"primary\",\n color: \"white\",\n borderColor: \"transparent\"\n }\n }),\n bordered: _extends({}, commonButtonStyles, {\n backgroundColor: \"primary\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"primaryHover\",\n color: \"white\",\n fontWeight: \"bold\",\n borderRadius: \"default\",\n '&:hover': {\n backgroundColor: \"primaryHover\"\n }\n }),\n disabled: _extends({}, commonButtonStyles, {\n backgroundColor: \"primary\",\n border: \"none\",\n opacity: 0.5,\n cursor: \"not-allowed\",\n color: \"white\",\n fontWeight: \"bold\",\n borderRadius: \"default\"\n }),\n '3D': _extends({}, commonButtonStyles, {\n backgroundColor: \"primary\",\n border: \"none\",\n borderBottomWidth: \"4px\",\n borderBottomStyle: \"solid\",\n borderBottomColor: \"primaryHover\",\n color: \"white\",\n fontWeight: \"bold\",\n borderRadius: \"default\",\n transition: \"transform 0.3s ease-in-out\",\n '&:hover': {\n transform: \"translateY(-1px)\"\n }\n }),\n elevated: _extends({}, commonButtonStyles, {\n backgroundColor: \"white\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"gray.4\",\n color: \"text\",\n fontWeight: \"bold\",\n borderRadius: \"default\",\n boxShadow: \"default\",\n '&:hover': {\n backgroundColor: \"gray.1\"\n }\n })\n};\nvar colors = makeColorsScale(_extends({}, baseColors, {\n grayDark: baseColors.gray[8],\n text: baseColors.gray[8],\n background: baseColors.white,\n primary: baseColors.blue[7],\n primaryHover: baseColors.blue[8],\n secondary: baseColors.gray[6],\n muted: baseColors.gray[3],\n success: baseColors.green[3],\n info: baseColors.blue[4],\n warning: baseColors.yellow[3],\n danger: baseColors.red[3],\n light: baseColors.gray[1],\n dark: baseColors.gray[8],\n textMuted: baseColors.gray[6]\n}));\nvar baseFonts = {\n sans: 'system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\"',\n serif: 'Georgia,Cambria,\"Times New Roman\",Times,serif',\n mono: 'Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace'\n};\nvar fonts = _extends({}, baseFonts, {\n body: baseFonts.sans,\n heading: 'inherit',\n monospace: baseFonts.mono\n});\nvar fontSizes = ['0.875rem', '1rem', '1.25rem', '1.5rem', '1.875rem', '2.25rem', '3rem', '4rem', '4.5rem'];\nvar baseFontWeights = {\n hairline: 100,\n thin: 200,\n light: 300,\n normal: 400,\n medium: 500,\n semibold: 600,\n bold: 700,\n extrabold: 800,\n black: 900\n};\nvar fontWeights = _extends({}, baseFontWeights, {\n body: baseFontWeights.normal,\n heading: baseFontWeights.bold\n});\nvar commonInputStyles = {\n py: 2,\n px: 3,\n fontSize: \"100%\",\n borderRadius: \"default\",\n appearance: \"none\",\n lineHeight: \"tight\"\n};\nvar inputs = {\n shadow: _extends({}, commonInputStyles, {\n border: \"none\",\n color: \"gray.7\",\n boxShadow: \"default\",\n '&:focus': {\n outline: \"none\",\n boxShadow: \"outline\"\n }\n }),\n inline: _extends({}, commonInputStyles, {\n backgroundColor: \"gray.2\",\n borderWidth: \"2px\",\n borderStyle: \"solid\",\n borderColor: \"gray.2\",\n color: \"gray.7\",\n '&:focus': {\n outline: \"none\",\n borderColor: \"primary\",\n backgroundColor: \"white\"\n }\n }),\n underline: _extends({}, commonInputStyles, {\n backgroundColor: \"transparent\",\n border: \"none\",\n borderBottomWidth: \"2px\",\n borderBottomStyle: \"solid\",\n borderBottomColor: \"primary\",\n borderRadius: \"0px\",\n color: \"gray.7\",\n '&:focus': {\n outline: \"none\",\n borderColor: \"primary\",\n backgroundColor: \"white\"\n }\n })\n};\nvar letterSpacings = {\n tighter: '-0.05em',\n tight: '-0.025em',\n normal: '0',\n wide: '0.025em',\n wider: '0.05em',\n widest: '0.1em'\n};\nvar baseLineHeights = {\n none: '1',\n tight: '1.25',\n snug: '1.375',\n normal: '1.5',\n relaxed: '1.625',\n loose: '2'\n};\nvar lineHeights = _extends({}, baseLineHeights, {\n body: baseLineHeights.relaxed,\n heading: baseLineHeights.tight\n});\nvar radii = {\n none: '0',\n sm: '0.125rem',\n default: '0.25rem',\n md: '0.375rem',\n lg: '0.5rem',\n full: '9999px'\n};\nvar tailwindSpacing = {\n px: '1px',\n '0': '0',\n '1': '0.25rem',\n '2': '0.5rem',\n '3': '0.75rem',\n '4': '1rem',\n '5': '1.25rem',\n '6': '1.5rem',\n '8': '2rem',\n '10': '2.5rem',\n '12': '3rem',\n '16': '4rem',\n '20': '5rem',\n '24': '6rem',\n '32': '8rem',\n '40': '10rem',\n '48': '12rem',\n '56': '14rem',\n '64': '16rem'\n};\nvar tailwindMaxWidth = {\n xs: '20rem',\n sm: '24rem',\n md: '28rem',\n lg: '32rem',\n xl: '36rem',\n '2xl': '42rem',\n '3xl': '48rem',\n '4xl': '56rem',\n '5xl': '64rem',\n '6xl': '72rem'\n};\nvar tailwindWidth = {\n '1/2': '50%',\n '1/3': '33.333333%',\n '2/3': '66.666667%',\n '1/4': '25%',\n '2/4': '50%',\n '3/4': '75%',\n '1/5': '20%',\n '2/5': '40%',\n '3/5': '60%',\n '4/5': '80%',\n '1/6': '16.666667%',\n '2/6': '33.333333%',\n '3/6': '50%',\n '4/6': '66.666667%',\n '5/6': '83.333333%',\n '1/12': '8.333333%',\n '2/12': '16.666667%',\n '3/12': '25%',\n '4/12': '33.333333%',\n '5/12': '41.666667%',\n '6/12': '50%',\n '7/12': '58.333333%',\n '8/12': '66.666667%',\n '9/12': '75%',\n '10/12': '83.333333%',\n '11/12': '91.666667%'\n};\nvar sizes = _extends({}, tailwindSpacing, tailwindMaxWidth, tailwindWidth, {\n full: '100%',\n screenHeight: '100vh',\n screenWidth: '100vw'\n});\nvar shadows = {\n xs: '0 0 0 1px rgba(0, 0, 0, 0.05)',\n sm: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',\n default: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',\n md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',\n lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',\n xl: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',\n '2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25)',\n inner: 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)',\n outline: '0 0 0 3px rgba(66, 153, 225, 0.5)',\n none: 'none'\n};\nvar space = ['0', '0.25rem', '0.5rem', '1rem', '2rem', '4rem', '8rem', '16rem', '32rem'];\nvar zIndices = {\n auto: 'auto',\n '0': 0,\n '10': 10,\n '20': 20,\n '30': 30,\n '40': 40,\n '50': 50\n};\nvar heading = {\n fontFamily: 'heading',\n fontWeight: 'heading',\n lineHeight: 'heading',\n m: 0,\n mb: 1\n};\nvar styles = {\n root: {\n fontFamily: 'body',\n lineHeight: 'body',\n fontWeight: 'body'\n },\n a: {\n color: 'primary',\n textDecoration: 'none',\n ':hover': {\n textDecoration: 'underline'\n }\n },\n h1: _extends({}, heading, {\n fontSize: 6,\n mt: 2\n }),\n h2: _extends({}, heading, {\n fontSize: 5,\n mt: 2\n }),\n h3: _extends({}, heading, {\n fontSize: 4,\n mt: 3\n }),\n h4: _extends({}, heading, {\n fontSize: 3\n }),\n h5: _extends({}, heading, {\n fontSize: 2\n }),\n h6: _extends({}, heading, {\n fontSize: 1,\n mb: 2\n }),\n code: {},\n pre: {},\n hr: {\n bg: 'muted',\n border: 0,\n height: '1px',\n m: 3\n }\n};\nvar transforms = {\n transformOrigin: {\n center: 'center',\n top: 'top',\n 'top-right': 'top right',\n right: 'right',\n 'bottom-right': 'bottom right',\n bottom: 'bottom',\n 'bottom-left': 'bottom left',\n left: 'left',\n 'top-left': 'top left'\n },\n translate: _extends({}, tailwindSpacing, {\n '-full': '-100%',\n '-1/2': '-50%',\n '1/2': '50%',\n full: '100%'\n }),\n scale: {\n '0': '0',\n '50': '.5',\n '75': '.75',\n '90': '.9',\n '95': '.95',\n '100': '1',\n '105': '1.05',\n '110': '1.1',\n '125': '1.25',\n '150': '1.5'\n },\n rotate: {\n '-180': '-180deg',\n '-90': '-90deg',\n '-45': '-45deg',\n '0': '0',\n '45': '45deg',\n '90': '90deg',\n '180': '180deg'\n },\n skew: {\n '-12': '-12deg',\n '-6': '-6deg',\n '-3': '-3deg',\n '0': '0',\n '3': '3deg',\n '6': '6deg',\n '12': '12deg'\n }\n};\nvar transitions = {\n property: {\n none: 'none',\n all: 'all',\n default: 'background-color, border-color, color, fill, stroke, opacity, box-shadow, transform',\n colors: 'background-color, border-color, color, fill, stroke',\n opacity: 'opacity',\n shadow: 'box-shadow',\n transform: 'transform'\n },\n timingFunction: {\n linear: 'linear',\n in: 'cubic-bezier(0.4, 0, 1, 1)',\n out: 'cubic-bezier(0, 0, 0.2, 1)',\n 'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)'\n },\n duration: {\n '75': '75ms',\n '100': '100ms',\n '150': '150ms',\n '200': '200ms',\n '300': '300ms',\n '500': '500ms',\n '700': '700ms',\n '1000': '1000ms'\n }\n};\nvar tailwind = makeTheme({\n borderWidths: borderWidths,\n breakpoints: breakpoints,\n colors: colors,\n fonts: fonts,\n fontSizes: fontSizes,\n fontWeights: fontWeights,\n letterSpacings: letterSpacings,\n lineHeights: lineHeights,\n sizes: sizes,\n shadows: shadows,\n space: space,\n radii: radii,\n zIndices: zIndices,\n styles: styles,\n buttons: buttons,\n inputs: inputs,\n transforms: transforms,\n transitions: transitions\n});\n\nexport { baseColors, baseFontWeights, baseFonts, baseLineHeights, borderWidths, breakpoints, buttons, colors, tailwind as default, fontSizes, fontWeights, fonts, inputs, letterSpacings, lineHeights, radii, shadows, sizes, space, styles, tailwind, transforms, transitions, zIndices };\n","import { merge } from \"theme-ui\"\nimport tailwind from \"@theme-ui/preset-tailwind\"\n\nconst theme = merge(tailwind, {\n config: {\n initialColorModeName: `light`,\n },\n colors: {\n text: tailwind.colors.gray[8],\n primary: tailwind.colors.blue[6],\n background: tailwind.colors.gray[1],\n backgroundPattern: `#F1F4F7`,\n iconPrimary: tailwind.colors.gray[8],\n iconSecondary: tailwind.colors.gray[6],\n textMuted: tailwind.colors.gray[7],\n heading: tailwind.colors.black,\n toggleIcon: tailwind.colors.black,\n muted: tailwind.colors.gray[3],\n modes: {\n dark: {\n primary: tailwind.colors.blue[4],\n text: tailwind.colors.gray[4],\n background: tailwind.colors.gray[9],\n backgroundPattern: `#1D2330`,\n iconPrimary: tailwind.colors.gray[4],\n iconSecondary: tailwind.colors.gray[1],\n textMuted: tailwind.colors.gray[6],\n heading: tailwind.colors.white,\n toggleIcon: tailwind.colors.white,\n muted: tailwind.colors.gray[8],\n },\n },\n },\n layout: {\n footer: {\n display: `block`,\n color: `text`,\n pt: 6,\n pb: 4,\n },\n main: {\n position: `relative`,\n },\n header: {\n position: `relative`,\n overflow: `hidden`,\n justifyContent: `center`,\n },\n projectHead: {\n position: `relative`,\n overflow: `hidden`,\n justifyContent: `center`,\n },\n container: {\n px: [3, 4],\n py: [2, 3],\n maxWidth: `1600px`,\n },\n },\n styles: {\n root: {\n color: `text`,\n backgroundColor: `background`,\n margin: 0,\n padding: 0,\n boxSizing: `border-box`,\n textRendering: `optimizeLegibility`,\n WebkitFontSmoothing: `antialiased`,\n MozOsxFontSmoothing: `grayscale`,\n WebkitTextSizeAdjust: `100%`,\n img: {\n borderStyle: `none`,\n },\n pre: {\n fontFamily: `monospace`,\n fontSize: `1em`,\n },\n },\n a: {\n color: `primary`,\n textDecoration: `none`,\n transition: `all 0.3s ease-in-out`,\n },\n p: {\n fontSize: 1,\n letterSpacing: `-0.003em`,\n lineHeight: `body`,\n \"--baseline-multiplier\": 0.179,\n \"--x-height-multiplier\": 0.35,\n },\n h1: {\n fontSize: [4, 5],\n mt: 2,\n color: `heading`,\n },\n h2: {\n fontSize: [3, 4],\n mt: 2,\n color: `heading`,\n },\n h3: {\n fontSize: [2, 3],\n mt: 3,\n color: `heading`,\n },\n h4: {\n fontSize: [1, 2],\n color: `heading`,\n },\n h5: {\n fontSize: 1,\n color: `heading`,\n },\n h6: {\n fontSize: 1,\n mb: 2,\n color: `heading`,\n },\n },\n})\n\nexport default theme\n","// add custom MDX components here\nconst components = {}\n\nexport default components\n","import { useStaticQuery, graphql } from 'gatsby'\n\nconst useThemeUiConfig = () => {\n const data = useStaticQuery(graphql`\n query {\n themeUiConfig(id: { eq: \"gatsby-plugin-theme-ui-config\" }) {\n preset\n prismPreset\n }\n }\n `)\n\n return data.themeUiConfig\n}\n\nexport default useThemeUiConfig\n","import { ThemeProvider, merge } from 'theme-ui'\nimport { useThemedStylesWithMdx } from '@theme-ui/mdx'\nimport React from 'react'\n\nimport localTheme from './index'\nimport components from './components'\nimport useThemeUiConfig from './hooks/configOptions'\n\nimport { MDXProvider, useMDXComponents } from '@mdx-js/react'\n\nconst Root = ({ children }) => {\n const themeUiConfig = useThemeUiConfig()\n const { preset, prismPreset } = themeUiConfig\n\n const theme = preset.default || preset\n\n const themeWithPrism = merge(theme, {\n styles: {\n pre: prismPreset,\n },\n })\n\n const fullTheme = merge(themeWithPrism, localTheme)\n\n return (\n \n \n {children}\n \n \n )\n}\n\nexport const WrapRootElement = ({ element }) => {\n return {element}\n}\n","import * as React from 'react'\nimport { WrapRootElement } from './src/provider'\n\nexport const wrapRootElement = ({ element }) =>\n React.createElement(WrapRootElement, { element })\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/**\n * @license React\n * react-server-dom-webpack.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var k=require(\"react\"),l={stream:!0},n=new Map,p=Symbol.for(\"react.element\"),q=Symbol.for(\"react.lazy\"),r=Symbol.for(\"react.default_value\"),t=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function u(a){t[a]||(t[a]=k.createServerContext(a,r));return t[a]}function v(a,b,c){this._status=a;this._value=b;this._response=c}v.prototype.then=function(a){0===this._status?(null===this._value&&(this._value=[]),this._value.push(a)):a()};\nfunction w(a){switch(a._status){case 3:return a._value;case 1:var b=JSON.parse(a._value,a._response._fromJSON);a._status=3;return a._value=b;case 2:b=a._value;for(var c=b.chunks,d=0;d {\n const { forward = [], ...filteredConfig } = config || {};\n const configStr = JSON.stringify(filteredConfig, (k, v) => {\n if (typeof v === 'function') {\n v = String(v);\n if (v.startsWith(k + '(')) {\n v = 'function ' + v;\n }\n }\n return v;\n });\n return [\n `!(function(w,p,f,c){`,\n Object.keys(filteredConfig).length > 0\n ? `c=w[p]=Object.assign(w[p]||{},${configStr});`\n : `c=w[p]=w[p]||{};`,\n `c[f]=(c[f]||[])`,\n forward.length > 0 ? `.concat(${JSON.stringify(forward)})` : ``,\n `})(window,'partytown','forward');`,\n snippetCode,\n ].join('');\n};\n\n/**\n * The `type` attribute for Partytown scripts, which does two things:\n *\n * 1. Prevents the ` - \ No newline at end of file + \ No newline at end of file diff --git a/c2833e12b9a7c106fd87c0740348ec050af8d68c-81b1f35b8904e1ce78b2.js b/c2833e12b9a7c106fd87c0740348ec050af8d68c-81b1f35b8904e1ce78b2.js new file mode 100644 index 00000000..457bc045 --- /dev/null +++ b/c2833e12b9a7c106fd87c0740348ec050af8d68c-81b1f35b8904e1ce78b2.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkemilia=self.webpackChunkemilia||[]).push([[10],{6835:function(e,t,n){n.d(t,{DZ:function(){return y},N_:function(){return v},az:function(){return p},mc:function(){return I},so:function(){return g}});var r=n(4684),a=n(7437),i=n(6540),l=n(8053);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var m=["__themeKey","__css","variant","css","sx","as"],h=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","m","mt","mr","mb","ml","mx","my","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","p","pt","pr","pb","pl","px","py","color","backgroundColor","bg","opacity"],d=function(e){return h.includes(e)},p=(0,i.forwardRef)((function(e,t){var n=(0,r.u)(),i=e,c=i.__themeKey,d=void 0===c?"variants":c,p=i.__css,g=i.variant,f=i.css,E=i.sx,v=i.as,y=void 0===v?"div":v,w=s(i,m),b=(0,l.AH)(p)(n),I=(0,l.Jt)(n,d+"."+g)||(0,l.Jt)(n,g),k=I&&(0,l.AH)(I)(n),P=(0,l.AH)(E)(n),S=(0,l.AH)(function(e){for(var t,n={},r=u(h);!(t=r()).done;){var a=t.value;n[a]=e[a]}return n}(w))(n),C=[{boxSizing:"border-box",margin:0,minWidth:0},b,k,P,S,f];return h.forEach((function(e){delete w[e]})),(0,a.Y)(y,o({ref:t,css:C},w))})),g=i.forwardRef((function(e,t){return i.createElement(p,o({ref:t},e,{sx:o({display:"flex"},e.sx)}))})),f=function(e){return function(t){var n={};for(var r in t)e(r||"")&&(n[r]=t[r]);return n}},E=/^m[trblxy]?$/;f((function(e){return E.test(e)})),f((function(e){return!E.test(e)}));var v=i.forwardRef((function(e,t){return i.createElement(p,o({ref:t,as:"a",variant:"styles.a"},e,{__themeKey:"links"}))})),y=i.forwardRef((function(e,t){return i.createElement(p,o({ref:t,as:"h2",variant:"heading"},e,{__themeKey:"text",__css:{fontFamily:"heading",fontWeight:"heading",lineHeight:"heading"}}))})),w=["size"],b=i.forwardRef((function(e,t){var n=e.size,r=void 0===n?24:n,a=o({xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"currentcolor"},s(e,w));return i.createElement(p,o({ref:t,as:"svg"},a))}));b.displayName="SVG";(0,a.i7)({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),f(d),f((function(e){return!d(e)}));var I=i.forwardRef((function(e,t){return i.createElement(p,o({ref:t,variant:"container"},e,{__themeKey:"layout",__css:{width:"100%",maxWidth:"container",mx:"auto"}}))}))},2729:function(e){const t=/[\p{Lu}]/u,n=/[\p{Ll}]/u,r=/^[\p{Lu}](?![\p{Lu}])/gu,a=/([\p{Alpha}\p{N}_]|$)/u,i=/[_.\- ]+/,l=new RegExp("^"+i.source),o=new RegExp(i.source+a.source,"gu"),s=new RegExp("\\d+"+a.source,"gu"),c=(e,a)=>{if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");if(a={pascalCase:!1,preserveConsecutiveUppercase:!1,...a},0===(e=Array.isArray(e)?e.map((e=>e.trim())).filter((e=>e.length)).join("-"):e.trim()).length)return"";const i=!1===a.locale?e=>e.toLowerCase():e=>e.toLocaleLowerCase(a.locale),c=!1===a.locale?e=>e.toUpperCase():e=>e.toLocaleUpperCase(a.locale);if(1===e.length)return a.pascalCase?c(e):i(e);return e!==i(e)&&(e=((e,r,a)=>{let i=!1,l=!1,o=!1;for(let s=0;s(r.lastIndex=0,e.replace(r,(e=>t(e)))))(e,i):i(e),a.pascalCase&&(e=c(e.charAt(0))+e.slice(1)),((e,t)=>(o.lastIndex=0,s.lastIndex=0,e.replace(o,((e,n)=>t(n))).replace(s,(e=>t(e)))))(e,c)};e.exports=c,e.exports.default=c},2532:function(e,t,n){n.d(t,{G:function(){return O},L:function(){return p},M:function(){return I},P:function(){return b},_:function(){return o},a:function(){return l},b:function(){return u},g:function(){return m},h:function(){return s}});n(6910);var r=n(6540),a=(n(2729),n(5556)),i=n.n(a);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}const s=()=>"undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype;function c(e,t,n){const r={};let a="gatsby-image-wrapper";return"fixed"===n?(r.width=e,r.height=t):"constrained"===n&&(a="gatsby-image-wrapper gatsby-image-wrapper-constrained"),{className:a,"data-gatsby-image-wrapper":"",style:r}}function u(e,t,n,r,a){return void 0===a&&(a={}),l({},n,{loading:r,shouldLoad:e,"data-main-image":"",style:l({},a,{opacity:t?1:0})})}function m(e,t,n,r,a,i,o,s){const c={};i&&(c.backgroundColor=i,"fixed"===n?(c.width=r,c.height=a,c.backgroundColor=i,c.position="relative"):("constrained"===n||"fullWidth"===n)&&(c.position="absolute",c.top=0,c.left=0,c.bottom=0,c.right=0)),o&&(c.objectFit=o),s&&(c.objectPosition=s);const u=l({},e,{"aria-hidden":!0,"data-placeholder-image":"",style:l({opacity:t?0:1,transition:"opacity 500ms linear"},c)});return u}const h=["children"],d=function(e){let{layout:t,width:n,height:a}=e;return"fullWidth"===t?r.createElement("div",{"aria-hidden":!0,style:{paddingTop:a/n*100+"%"}}):"constrained"===t?r.createElement("div",{style:{maxWidth:n,display:"block"}},r.createElement("img",{alt:"",role:"presentation","aria-hidden":"true",src:"data:image/svg+xml;charset=utf-8,%3Csvg%20height='"+a+"'%20width='"+n+"'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%3E%3C/svg%3E",style:{maxWidth:"100%",display:"block",position:"static"}})):null},p=function(e){let{children:t}=e,n=o(e,h);return r.createElement(r.Fragment,null,r.createElement(d,l({},n)),t,null)},g=["src","srcSet","loading","alt","shouldLoad"],f=["fallback","sources","shouldLoad"],E=function(e){let{src:t,srcSet:n,loading:a,alt:i="",shouldLoad:s}=e,c=o(e,g);return r.createElement("img",l({},c,{decoding:"async",loading:a,src:s?t:void 0,"data-src":s?void 0:t,srcSet:s?n:void 0,"data-srcset":s?void 0:n,alt:i}))},v=function(e){let{fallback:t,sources:n=[],shouldLoad:a=!0}=e,i=o(e,f);const s=i.sizes||(null==t?void 0:t.sizes),c=r.createElement(E,l({},i,t,{sizes:s,shouldLoad:a}));return n.length?r.createElement("picture",null,n.map((e=>{let{media:t,srcSet:n,type:i}=e;return r.createElement("source",{key:t+"-"+i+"-"+n,type:i,media:t,srcSet:a?n:void 0,"data-srcset":a?void 0:n,sizes:s})})),c):c};var y;E.propTypes={src:a.string.isRequired,alt:a.string.isRequired,sizes:a.string,srcSet:a.string,shouldLoad:a.bool},v.displayName="Picture",v.propTypes={alt:a.string.isRequired,shouldLoad:a.bool,fallback:a.exact({src:a.string.isRequired,srcSet:a.string,sizes:a.string}),sources:a.arrayOf(a.oneOfType([a.exact({media:a.string.isRequired,type:a.string,sizes:a.string,srcSet:a.string.isRequired}),a.exact({media:a.string,type:a.string.isRequired,sizes:a.string,srcSet:a.string.isRequired})]))};const w=["fallback"],b=function(e){let{fallback:t}=e,n=o(e,w);return t?r.createElement(v,l({},n,{fallback:{src:t},"aria-hidden":!0,alt:""})):r.createElement("div",l({},n))};b.displayName="Placeholder",b.propTypes={fallback:a.string,sources:null==(y=v.propTypes)?void 0:y.sources,alt:function(e,t,n){return e[t]?new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Validation failed."):null}};const I=function(e){return r.createElement(r.Fragment,null,r.createElement(v,l({},e)),r.createElement("noscript",null,r.createElement(v,l({},e,{shouldLoad:!0}))))};I.displayName="MainImage",I.propTypes=v.propTypes;const k=["as","className","class","style","image","loading","imgClassName","imgStyle","backgroundColor","objectFit","objectPosition"],P=["style","className"],S=e=>e.replace(/\n/g,""),C=function(e,t,n){for(var r=arguments.length,a=new Array(r>3?r-3:0),l=3;lJSON.stringify(a.images)),[a.images]);h&&(m=h);const C=function(e,t,n){let r="";return"fullWidth"===e&&(r=''),"constrained"===e&&(r='
"),r}(y,E,v);return(0,r.useEffect)((()=>{R||(R=n.e(108).then(n.bind(n,1108)).then((e=>{let{renderImageToString:t,swapPlaceholderImage:n}=e;return j=t,{renderImageToString:t,swapPlaceholderImage:n}})));const e=P.current.querySelector("[data-gatsby-image-ssr]");if(e&&s())return e.complete?(null==d||d({wasCached:!0}),null==p||p({wasCached:!0}),setTimeout((()=>{e.removeAttribute("data-gatsby-image-ssr")}),0)):(null==d||d({wasCached:!0}),e.addEventListener("load",(function t(){e.removeEventListener("load",t),null==p||p({wasCached:!0}),setTimeout((()=>{e.removeAttribute("data-gatsby-image-ssr")}),0)}))),void M.add(S);if(j&&M.has(S))return;let t,r;return R.then((e=>{let{renderImageToString:n,swapPlaceholderImage:o}=e;P.current&&(P.current.innerHTML=n(l({isLoading:!0,isLoaded:M.has(S),image:a},f)),M.has(S)||(t=requestAnimationFrame((()=>{P.current&&(r=o(P.current,S,M,i,d,p,g))}))))})),()=>{t&&cancelAnimationFrame(t),r&&r()}}),[a]),(0,r.useLayoutEffect)((()=>{M.has(S)&&j&&(P.current.innerHTML=j(l({isLoading:M.has(S),isLoaded:M.has(S),image:a},f)),null==d||d({wasCached:!0}),null==p||p({wasCached:!0}))}),[a]),(0,r.createElement)(t,l({},k,{style:l({},b,i,{backgroundColor:u}),className:I+(m?" "+m:""),ref:P,dangerouslySetInnerHTML:{__html:C},suppressHydrationWarning:!0}))},O=(0,r.memo)((function(e){return e.image?(0,r.createElement)(T,e):null}));O.propTypes=A,O.displayName="GatsbyImage";const N=["src","__imageData","__error","width","height","aspectRatio","tracedSVGOptions","placeholder","formats","quality","transformOptions","jpgOptions","pngOptions","webpOptions","avifOptions","blurredOptions","breakpoints","outputPixelDensities"];function H(e){return function(t){let{src:n,__imageData:a,__error:i}=t,s=o(t,N);return i&&console.warn(i),a?r.createElement(e,l({image:a},s)):(console.warn("Image not loaded",n),null)}}const L=H((function(e){let{as:t="div",className:n,class:a,style:i,image:s,loading:h="lazy",imgClassName:d,imgStyle:g,backgroundColor:f,objectFit:E,objectPosition:v}=e,y=o(e,k);if(!s)return console.warn("[gatsby-plugin-image] Missing image prop"),null;a&&(n=a),g=l({objectFit:E,objectPosition:v,backgroundColor:f},g);const{width:w,height:C,layout:A,images:x,placeholder:_,backgroundColor:M}=s,R=c(w,C,A),{style:j,className:T}=R,O=o(R,P),N={fallback:void 0,sources:[]};return x.fallback&&(N.fallback=l({},x.fallback,{srcSet:x.fallback.srcSet?S(x.fallback.srcSet):void 0})),x.sources&&(N.sources=x.sources.map((e=>l({},e,{srcSet:S(e.srcSet)})))),r.createElement(t,l({},O,{style:l({},j,i,{backgroundColor:f}),className:T+(n?" "+n:"")}),r.createElement(p,{layout:A,width:w,height:C},r.createElement(b,l({},m(_,!1,A,w,C,M,E,v))),r.createElement(I,l({"data-gatsby-image-ssr":"",className:d},y,u("eager"===h,!1,N,h,g)))))})),D=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a{if(void 0!==e.layout&&!J.has(e.layout))return new Error("Invalid value "+e.layout+'" provided for prop "layout". Defaulting to "constrained". Valid values are "fixed", "fullWidth" or "constrained".')}};L.displayName="StaticImage",L.propTypes=F;const W=H(O);W.displayName="StaticImage",W.propTypes=F},1758:function(e,t,n){var r=n(6540),a=n(7141),i=n(557),l=n(2155);t.A=()=>{const[e]=(0,a.G6)(),t="dark"===e;return(0,i.Y)(r.Fragment,null,(0,i.Y)("div",{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,width:"100%",height:"100%",color:"backgroundPattern"}},(0,i.Y)(l.A,{id:"bgPattern",height:"100%",width:"100%"})),(0,i.Y)("div",{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(180deg, rgba(0, 0, 0, 0) 34.99%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, "+(t?"0.35":"0.15")+") 100%)"}}))}},9745:function(e,t,n){n.d(t,{A:function(){return w}});var r=n(6540),a=n(8053),i=n(7437),l=n(7141),o=n(557),s=n(6835),c=n(9383),u=n(2338);const m={position:"relative",width:"24px",height:"24px",borderRadius:"50%",transition:"all 0.45s ease","&:before":{content:'""',position:"absolute",right:"-9px",top:"-9px",height:"24px",width:"24px",transition:"transform 0.45s ease",borderRadius:"50%"},"&:after":{content:'""',width:"8px",height:"8px",borderRadius:"50%",margin:"-4px 0 0 -4px",position:"absolute",top:"50%",left:"50%",transition:"all 0.35s ease",boxShadow:e=>"0 -23px 0 "+(0,a.Jt)(e,"colors.toggleIcon")+", 0 23px 0 "+(0,a.Jt)(e,"colors.toggleIcon")+", 23px 0 0 "+(0,a.Jt)(e,"colors.toggleIcon")+", -23px 0 0 "+(0,a.Jt)(e,"colors.toggleIcon")+", 15px 15px 0 "+(0,a.Jt)(e,"colors.toggleIcon")+", -15px 15px 0 "+(0,a.Jt)(e,"colors.toggleIcon")+", 15px -15px 0 "+(0,a.Jt)(e,"colors.toggleIcon")+", -15px -15px 0 "+(0,a.Jt)(e,"colors.toggleIcon")}},h={opacity:.65,position:"relative",borderRadius:"5px",width:"40px",height:"25px",display:"flex",alignItems:"center",justifyContent:"center",transition:"opacity 0.3s ease",border:"none",outline:"none",background:"none",cursor:"pointer",padding:0,appearance:"none","&:hover, &:focus":{opacity:1}},d=()=>(0,o.Y)("button",{type:"button",sx:h,"aria-label":"Color mode toggle"},(0,o.Y)("div",{sx:Object.assign({},m,{transform:"scale(0.55)","&:before":Object.assign({},m["&:before"],{opacity:0}),"&:after":Object.assign({},m["&:after"],{transform:"scale(0)"})})})),p=e=>{let{children:t,fallback:n}=e;const[a,i]=r.useState(!1);return r.useEffect((()=>{i(!0)}),[]),a?(0,o.Y)(r.Fragment,null,t):n?(0,o.Y)(r.Fragment,null,n):null};var g=()=>{const[e,t]=(0,l.G6)(),n="dark"===e;return(0,o.Y)(s.so,{sx:{alignItems:"center",justifyContent:["center","center","center","flex-end"]}},(0,o.Y)("div",{sx:{mr:2}},"Toggle Mode"),(0,o.Y)(p,{fallback:(0,o.Y)(d,null)},(0,o.Y)("button",{onClick:()=>{const e=n?"light":"dark";t(e),document.documentElement.classList.value="theme-ui-"+e},type:"button","aria-label":n?"Activate Light mode":"Activate Dark mode",title:n?"Activate Light mode":"Activate Dark mode",sx:h},(0,o.Y)("div",{sx:Object.assign({},m,{border:e=>n?"4px solid "+(0,a.Jt)(e,"colors.toggleIcon"):"none",backgroundColor:n?"toggleIcon":"transparent",transform:n?"scale(0.55)":"scale(1)",overflow:n?"visible":"hidden",boxShadow:e=>n?"none":"inset 8px -8px 0px 0px "+(0,a.Jt)(e,"colors.toggleIcon"),"&:before":Object.assign({},m["&:before"],{border:e=>n?"2px solid "+(0,a.Jt)(e,"colors.toggleIcon"):"none",transform:n?"translate(14px, -14px)":"translate(0, 0)",opacity:n?0:1}),"&:after":Object.assign({},m["&:after"],{transform:n?"scale(1)":"scale(0)"})})}))))},f=n(8453);function E(e){const t=Object.assign({h2:"h2",p:"p",a:"a",br:"br",strong:"strong",hr:"hr",ul:"ul",li:"li",h3:"h3",h4:"h4",ol:"ol"},(0,f.RP)(),e.components);return r.createElement(r.Fragment,null,r.createElement(t.h2,null,"About Me"),"\n",r.createElement(t.p,null,"(En)\r\nNaoto Nishida is a 1st year PhD candidate in the Graduate School of Interdisciplinary Information Studies, at ",r.createElement(t.a,{href:"https://www.iii.u-tokyo.ac.jp/"},"University of Tokyo"),", working with ",r.createElement(t.a,{href:"https://lab.rekimoto.org/members/yoshio-ishiguro/"},"Yoshio Ishiguro")," and ",r.createElement(t.a,{href:"https://lab.rekimoto.org/members/rekimoto/"},"Jun Rekimoto"),".\r\nPreviously, I was working with Prof. ",r.createElement(t.a,{href:"https://lab.rekimoto.org/members/rekimoto/"},"Jun Rekimoto")," in my master's, with Prof. ",r.createElement(t.a,{href:"https://www.iplab.cs.tsukuba.ac.jp/~shizuki/index-e.html"},"Buntarou Shizuki")," in my bachelor's, with Prof. ",r.createElement(t.a,{href:"https://hci.prof/"},"Xiang Anthony Chen")," while I was a visiting scholar at ",r.createElement(t.a,{href:"https://www.ucla.edu/"},"UCLA"),", and Dr. ",r.createElement(t.a,{href:"https://sites.google.com/view/ikema2"},"Kaori Ikematsu")," while my internship at Yahoo!JAPAN.\r\nHis research interests lie widely in Human-Computer Interaction, Human-AI Interaction, Natural Language Processing and Machine Learning, especially ones relevant to language, learning, or communication(e.g., AI-based learning, AI-assisted communication, etc)."),"\n",r.createElement(t.p,null,"(Ja)\r\n",r.createElement(t.a,{href:"https://www.iii.u-tokyo.ac.jp/"},"東京大学大学院学際情報学府"),"の博士1年生です (指導教員:",r.createElement(t.a,{href:"https://lab.rekimoto.org/members/yoshio-ishiguro/"},"石黒祥生"),"先生, 副指導: ",r.createElement(t.a,{href:"https://lab.rekimoto.org/members/rekimoto/"},"暦本純一"),"先生).\r\n修士時代には",r.createElement(t.a,{href:"https://lab.rekimoto.org/members/rekimoto/"},"暦本純一"),"先生,学部時代には",r.createElement(t.a,{href:"https://www.iplab.cs.tsukuba.ac.jp/~shizuki/"},"志築文太郎"),"先生,",r.createElement(t.a,{href:"https://www.ucla.edu/"},"UCLA"),"の留学時代には",r.createElement(t.a,{href:"https://hci.prof/"},"Xiang Anthony Chen"),"先生,Yahoo!JAPAN研究所でのインターン時代には",r.createElement(t.a,{href:"https://sites.google.com/view/ikema2"},"池松香"),"先生にお世話になっていました.",r.createElement(t.br),"\n","言語学習,映画鑑賞,フリーマーケット巡りおよびスポーツ(柔術,登山)が好きです.",r.createElement(t.br),"\n","AIと人間のインタラクション(例えばAIを用いた学習支援や技能習得,AIとの対話など)に興味があります."),"\n",r.createElement(t.p,null,r.createElement(t.strong,null,r.createElement("u",null,r.createElement(t.a,{href:"https://drive.google.com/file/d/1N6G3iBiAMTbzCHQg2jKHWKBHp70PWHFQ/view?usp=sharing"},"Curriculum Vitae")))),"\n",r.createElement(t.p,null,r.createElement(t.strong,null,"Email:")," nawta [at] g.ecc.u-tokyo.ac.jp"),"\n",r.createElement(t.p,null,r.createElement(t.strong,null,"Address:")," Room A102, Daiwa Ubiquitous Computing Research Building, 7-3-1, Hongo, Bunkyo-ku, Tokyo 113-8654, Japan."),"\n",r.createElement(t.hr),"\n",r.createElement(t.h2,null,"News"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.12 One paper got accepted to ",r.createElement(t.a,{href:"https://iui.acm.org/2025/"},"IUI 2025"),"!"),"\n",r.createElement(t.li,null,"2024.12 Received Leave a Nest Grant Incu-be Incentive Award!"),"\n",r.createElement(t.li,null,"2024.12 Enjoyed SV at SIGGRAPH Asia 2024:)"),"\n",r.createElement(t.li,null,"2024.11 Participating ",r.createElement(t.a,{href:"https://www.acc.go.kr/en/event.do?PID=0302&action=Read&bnkey=EM_0000007969"},"ACC CREATORS Residency 2024")," as a collaborator with ",r.createElement(t.a,{href:"https://ryutaaoki.jp/"},"Ryuta Aoki"),"'s artwork :)"),"\n"),"\n",r.createElement("small",null,r.createElement("details",null,r.createElement("summary",null,"Read More"),r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.10 Enjoyed my stay at Pittsburgh! Yeee!"),"\n",r.createElement(t.li,null,"2024.10 Submitted One paper to ",r.createElement(t.a,{href:"https://iui.acm.org/2025/"},"IUI 2025"),"!"),"\n",r.createElement(t.li,null,"2024.08 One demo paper got accepted ",r.createElement(t.a,{href:"https://uist.acm.org/2024/"},"UIST 2024"),"!"),"\n",r.createElement(t.li,null,"2024.03 I graduated from my master's! now I'm a PhD candidate!"),"\n",r.createElement(t.li,null,"2024.02 My course work on reinforcement learning got selected as one of the excellent works! Check our ",r.createElement(t.a,{href:"https://drive.google.com/file/d/1ZxZ6zm2DwHUqnFqtQskJjIxW03lqxJpg/view?usp=sharing"},"paper")," and ",r.createElement(t.a,{href:"https://drive.google.com/file/d/131KIxNktSpwvC5Ta4RMRBIVFFKvPB380/view?usp=sharing"},"poster")),"\n",r.createElement(t.li,null,"2024.02 My work got awarded at Telecommunication Interdisciplinary Research Award!"),"\n",r.createElement(t.li,null,"2024.02 Our work was selected as an Excellent Work at ",r.createElement(t.a,{href:"https://deeplearning.jp/lectures/world-model-2023/"},"World Model and Intelligence")," Final Course Project"),"\n",r.createElement(t.li,null,"2024.02 We got Best Prototype Award at ",r.createElement(t.a,{href:"https://tei.acm.org/2024/"},"TEI 2024")," Student Design Competition!"),"\n",r.createElement(t.li,null,"2024.02 One paper got accepted to ",r.createElement(t.a,{href:"https://sites.google.com/cluster.mu/1st-ws-seamless-reality/"},"IEEE VR 2024 Workshop")),"\n",r.createElement(t.li,null,"2024.01 I defended my master's thesis!"),"\n",r.createElement(t.li,null,"2024.01 I submitted one paper to ",r.createElement(t.a,{href:"https://sites.google.com/cluster.mu/1st-ws-seamless-reality/"},"IEEE VR 2024 Workshop")),"\n",r.createElement(t.li,null,"2024.01 I submitted my master's thesis!"),"\n",r.createElement(t.li,null,"2023.11 One paper got accepted to ",r.createElement(t.a,{href:"https://tei.acm.org/2024/"},"TEI 2024")),"\n",r.createElement(t.li,null,"2023.10 I submitted one paper to ",r.createElement(t.a,{href:"https://tei.acm.org/2024/"},"TEI 2024")),"\n",r.createElement(t.li,null,"2023.10 Our work 'Ichiyo' got an Honorable Mention at ",r.createElement(t.a,{href:"https://newhope.g-mark.org/award/2023/23NHA040011.html"},"GOOD DESIGN NEW HOPE AWARD 2023")),"\n",r.createElement(t.li,null,"2023.10 I reviewed one paper from ",r.createElement(t.a,{href:"https://aaai.org/aaai-conference/"},"AAAI-24")),"\n",r.createElement(t.li,null,"2023.09 I reviewed one paper from ",r.createElement(t.a,{href:"https://chi2024.acm.org/"},"CHI 2024")),"\n",r.createElement(t.li,null,"2023.09 I presented a paper at ",r.createElement(t.a,{href:"https://mobilehci.acm.org/2023/index.php"},"mobileHCI 2023")," at Athens :)"),"\n",r.createElement(t.li,null,"2023.08 I just passed QE!"),"\n",r.createElement(t.li,null,"2023.07 I presented a poster at ",r.createElement(t.a,{href:"http://cvim.ipsj.or.jp/MIRU2023/company-event/#huawei-event"},"HUAWEI TOKYO RESEARCH CENTER Discussion Night in MIRU2023")),"\n",r.createElement(t.li,null,"2023.06 I Attended ",r.createElement(t.a,{href:"https://sigchi.jp/seminar/chi2023/"},"CHI study meeting(CHI勉強会)"),"."),"\n",r.createElement(t.li,null,"2023.06 One paper got accepted to mobileHCI."),"\n",r.createElement(t.li,null,"2023.05 I started to join ",r.createElement(t.a,{href:"https://www.cyberagent.co.jp/careers/special/students/tech_lounge/"},"CA Tech Lounge"),"."),"\n",r.createElement(t.li,null,"2023.05 I submitted a revised paper to mobileHCI."),"\n",r.createElement(t.li,null,"2023.04 I served as a student volunteer at CHI 2023."),"\n",r.createElement(t.li,null,"2023.04 I have come back to Japan! The researcher life in UCLA is totally mind blowing!"),"\n",r.createElement(t.li,null,"2023.04 ",r.createElement(t.a,{href:"https://www.tandfonline.com/doi/full/10.1080/10447318.2023.2192586"},"My co-author journal")," is now on online."),"\n",r.createElement(t.li,null,"2023.03 I am selected for Gary Marsden Travel Award for CHI 2023!"),"\n",r.createElement(t.li,null,"2023.03 The 1st notification of mobileHCI just came back. Let's revise:)"),"\n",r.createElement(t.li,null,"2023.03 My co-author paper is accepted for International Journal of Human-Computer Interaction (IJHCI)."),"\n",r.createElement(t.li,null,"2023.02 ",r.createElement(t.a,{href:"http://id.nii.ac.jp/1001/00224250/"},"My paper IPSJ Journal")," is now on online. Kudos to IPSJ for the Valentine's present:)"),"\n",r.createElement(t.li,null,"2023.01 I reviewed one CHI LBW paper."),"\n",r.createElement(t.li,null,"2023.01 I am selected for Study Abroad Scholarships from the University of Tokyo(100,000 JPY/month, for 3 months)"),"\n",r.createElement(t.li,null,"2023.01 My co-author paper is submitted to ",r.createElement(t.a,{href:"https://www.anlp.jp/proceedings/annual_meeting/2023/"},"NLP2023"),"!"),"\n",r.createElement(t.li,null,"2023.01 I arrived at UCLA!"),"\n",r.createElement(t.li,null,"2022.12 I demonstrated our Traverco AR at ",r.createElement(t.a,{href:"https://www.wiss.org/WISS2022/"},"WISS2022"),"."),"\n",r.createElement(t.li,null,"2022.12 I re-submitted CHI Paper."),"\n",r.createElement(t.li,null,"2022.11 I gave a short presentation at ",r.createElement(t.a,{href:"https://sigchi.jp/seminar/uist2022/"},"UIST study meeting 2022"),r.createElement("small",null," [",r.createElement(t.a,{href:"https://youtu.be/TPrJvXp5lnA?t=3358"},"video archive"),"]"),"! Had lot of fun with HCI colleagues there."),"\n",r.createElement(t.li,null,"2022.11 I demonstrated our works at ",r.createElement(t.a,{href:"https://rkmtlab.github.io/openhouse2022/"},"Rekimoto Lab Openhouse"),"."),"\n",r.createElement(t.li,null,"2022.11 One paper got accepted to ",r.createElement(t.a,{href:"https://www.wiss.org/WISS2022/"},"WISS2022"),"."),"\n",r.createElement(t.li,null,"2022.11 I demonstrated two art works at ",r.createElement(t.a,{href:"https://archive.iiiexhibition.com/log/i3e24/"},"東京大学制作展 True 2022"),"."),"\n",r.createElement(t.li,null,"2022.11 One paper got accepted to ",r.createElement(t.a,{href:"https://www.ipsj.or.jp/journal/cfp/23-E.html"},"IPSJ Journal"),"."),"\n",r.createElement(t.li,null,"2022.11 One paper got Revise & Resubmit decision from ",r.createElement(t.a,{href:"https://chi2023.acm.org"},"CHI2023"),". I'll do my best!"),"\n",r.createElement(t.li,null,"2022.10 I'm visiting ",r.createElement(t.a,{href:"https://hci.ucla.edu"},"UCLA HCI Research")," from next Jan to Apr! Really excited to collaborate with Prof. Anthony and his talented students there!"),"\n",r.createElement(t.li,null,"2022.09 I submitted one paper to ",r.createElement(t.a,{href:"https://chi2023.acm.org"},"CHI2023"),", and one revised paper to ",r.createElement(t.a,{href:"https://www.ipsj.or.jp/journal/cfp/23-E.html"},"IPSJ Journal"),"."),"\n",r.createElement(t.li,null,"2022.08 One paper notified as conditionally accepted to ",r.createElement(t.a,{href:"https://www.ipsj.or.jp/journal/cfp/23-E.html"},"IPSJ Journal"),"."),"\n",r.createElement(t.li,null,"2022.07 I am selected for Charitable Trust Hisao Iwai Memorial Tokyo Scholarship Education Fund(120,000 JPY/month, for 2 years), it was an honor to give a speech as a representative of the selected students."),"\n",r.createElement(t.li,null,"2022.07 I got exemptions: enrollment fee and tuition(2022 Spring)."),"\n",r.createElement(t.li,null,"2022.07 I demonstrated two art works at ",r.createElement(t.a,{href:"https://iiiexhibition.com/log/iiiEx2022/"},"東京大学制作展 EXTRA 2022"),"."),"\n",r.createElement(t.li,null,"2022.06 I am selected for Japan Student Service Organization Scholarship(88,000 JPY/month, for 2 years)."),"\n",r.createElement(t.li,null,"2022.06 I visited Cornell for a presentation at L@S2021. Great to meet Mose and the attendees there."),"\n",r.createElement(t.li,null,"2022.05 I submitted one paper to IPSJ Journal."),"\n",r.createElement(t.li,null,"2022.03 One paper got accepted to Learning at Scale 2022 Work-in-Progress which I will be attending in-person!"),"\n",r.createElement(t.li,null,"2022.02 My senior thesis got accepted."),"\n",r.createElement(t.li,null,"2021.12 One paper got accepted to WISS 2021 Workshop."),"\n",r.createElement(t.li,null,"2021.10 I'll be serving as a student volunteer at SIGGRAPH Asia 2021."),"\n",r.createElement(t.li,null,"2021.03 One Paper got accepted to ACM CHI IICW 2021 Workshop."),"\n"))),"\n",r.createElement(t.hr),"\n",r.createElement(t.h2,null,"My Activities"),"\n",r.createElement(t.p,null,"Below are English-translated excerpts from my ",r.createElement(t.a,{href:"https://drive.google.com/file/d/1N6G3iBiAMTbzCHQg2jKHWKBHp70PWHFQ/view?usp=sharing"},"CV (En/Ja together)"),"."),"\n",r.createElement(t.h3,null,"Publications"),"\n",r.createElement(t.h4,null,"Journal"),"\n",r.createElement(t.ol,null,"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida*"),", Kaori Ikematsu*, Junichi Sato, Shota Yamanaka, Kota Tsubouchi (*co-1st authors).\r\n",r.createElement("strong",null,"Single-tap Latency Reduction with Single- or Double- tap Prediction,"),"\r\nProceedings of the ACM on Human-Computer Interaction (PACMHCI, presented at MobileHCI ’23), No.7, Article 224, September. 2023. 26 pages. DOI:",r.createElement(t.a,{href:"https://doi.org/10.1145/3604271"},"10.1145/3604271")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida"),", Kaisei Yokoyama, Buntarou Shizuki.\r\n",r.createElement("strong",null,"Implementation of Language Learning Assistance System by Video Playback Speed Adjustment Based on Facial Expressions and Evaluation of Its Effect on Learners’ Comprehension,"),"\r\nJournal of Information Processing Society of Japan, vol.64, No.2, February. 2023. 11 pages. in Japanese. DOI: ",r.createElement(t.a,{href:"http://doi.org/10.20729/00224250"},"10.20729/00224250"),". ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1hXnVU-i2_RrmwWSJcA_93rZ8v_aS734s/view?usp=sharing"},"Paper"),"]")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,"Takuma Hidaka, Yusuke Sei, ",r.createElement("u",null,"Naoto Nishida"),", Shota Yamanaka, Buntarou Shizuki.\r\n",r.createElement("strong",null,"Advanced Investigation of Steering Performance with Error-Accepting Delays,"),"\r\nInternational Journal of Human-Computer Interaction (IJHCI), April. 2023. 14 pages. DOI: ",r.createElement(t.a,{href:"https://www.tandfonline.com/doi/full/10.1080/10447318.2023.2192586"},"10.1080/10447318.2023.2192586")),"\n"),"\n"),"\n",r.createElement(t.h4,null,"Long Paper"),"\n",r.createElement(t.ol,null,"\n",r.createElement(t.li,null,r.createElement("u",null,"Naoto Nishida"),", Yoshio Ishiguro, Jun Rekimoto, Naomi Yamashita.\r\n",r.createElement("strong",null,"Dynamik: Syntactically-Driven Dynamic Font Sizing for Emphasis of Key Information,"),"\r\nProceedings of the 30th International Conference on Intelligent User Interfaces (IUI ’25), ACM (tba)"),"\n"),"\n",r.createElement(t.h4,null,"Short Paper"),"\n",r.createElement(t.ol,null,"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida"),", Hinako Nozaki, Buntarou Shizuki.\r\n",r.createElement("strong",null,"Laugh at Your Own Pace: Basic Performance Evaluation of Language Learning Assistance by Adjustment of Video Playback Speeds Based on Laughter Detection,"),"\r\nIn Proceedings of the Ninth ACM Conference on Learning @ Scale (L@S ’22), June. 2022. 6 pages. DOI: ",r.createElement(t.a,{href:"https://doi.org/10.1145/3491140.3528299"},"10.1145/3491140.3528299"),". ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.iplab.cs.tsukuba.ac.jp/paper/international/nishida_las2022.pdf"},"Paper"),"]")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,"Koki Tamura, Nobushige Doi, ",r.createElement("u",null,"Naoto Nishida"),", Junjie Chen, Hitomi Yanaka.\r\n",r.createElement("strong",null,"Japanese Fluency Filtering Using Surprisal,"),"\r\n29th of the Association for Natural Language Processing (NLP2023), March. 2023. 6 pages. in Japanese. ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1xYvQVpj7HwvHLk7hR9dvTfPNsWCzUJ8z/view?usp=sharing"},"Paper"),"][",r.createElement(t.a,{href:"https://www.anlp.jp/proceedings/annual_meeting/2023/"},"HP"),"]")),"\n"),"\n"),"\n",r.createElement(t.h4,null,"Workshops/Poster"),"\n",r.createElement(t.ol,null,"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida"),", Hirotaka Hiraki, Jun Rekimoto, Yoshio Ishiguro.\r\n",r.createElement("strong",null,"Real-Time Word-Level Temporal Segmentation in Streaming Speech Recognition."),"\r\n37th Annual ACM Symposium on User Interface Software and Technology (UIST ’24), October 2024. 3 pages. DOI:",r.createElement(t.a,{href:"https://doi.org/10.1145/3672539.3686738"},"10.1145/3672539.3686738"),". ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1M5EucuX5vodQgKOk2A1gGYQDPAnxrLX_/view?usp=sharing"},"Poster"),"]")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida"),", Jun Rekimoto.\r\n",r.createElement("strong",null,"SUMART: SUMmARizing Translation from Wordy to Concise Expression."),"\r\n31st the IEEE Conference on Virtual Reality and 3D User Interfaces (1st Workshop on Seamless Reality: AR Technologies for Seamless Perception and Cognition between Cyber and Physical Spaces), March 2024. 3 pages. DOI: ",r.createElement(t.a,{href:"https://doi.org/10.1109/VRW62533.2024.00119"},"10.1109/VRW62533.2024.00119"),". ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1MM81an2ks6_z8rHhjEs3aaXJtxAegD_6/view?usp=sharing"},"Paper"),"]")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida*"),", Hirofumi Shibata*, Ayako Yogo*, Yu Shimada*, Toma Ishii*(*co-1st authors).\r\n",r.createElement("strong",null,"Ichiyo: Fragile and Transient Interaction in Neighborhood."),"\r\nEighteenth International Conference on Tangible, Embedded, and Embodied Interaction (TEI ’24 Student Design Competition), February 2024. 3 pages. DOI: ",r.createElement(t.a,{href:"https://doi.org/10.1145/3623509.3635866"},"10.1145/3623509.3635866"),". ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1XJeN_yUejc5OVCOIMvGv5F9IdAIMGQ0i/view?usp=sharing"},"Paper"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1Rn16XSD0yEsv5f0ME2-vTtUw1qTBfTWK/view?usp=sharing"},"Supplemental Video"),r.createElement(t.a,{href:"https://drive.google.com/file/d/1XFnZUYT9VDWZyIfjNWg4R1Q_R8-BnjpK/view?usp=sharing"},"Slide"),"] ")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida"),", Sakiho Horibe, Jun Rekimoto.\r\n",r.createElement("strong",null,"Traverco AR: Transcription-assisted Verbal Communication via AR glasses."),"\r\n30th Workshop on Interactive Systems and Software (WISS 2022 Demo/Poster).\r\nDecember 2022. 3 pages. in Japanese.",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.wiss.org/WISS2022Proceedings/data/1-A02.pdf"},"Paper"),"][",r.createElement(t.a,{href:"https://www.wiss.org/WISS2022Proceedings/"},"Workshop Page"),"]")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida"),", Hinako Nozaki, Buntarou Shizuki.\r\n",r.createElement("strong",null,"Language Learning Assistance by Automatic Adjustment of Playback Speed Based on Facial Expression."),"\r\n29th Workshop on Interactive Systems and Software (WISS 2021 Demo/Poster).\r\nDecember 2021. 3 pages. in Japanese. ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.wiss.org/WISS2021Proceedings/data/1-A09.pdf"},"Paper"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1kCp8FUoCV5tiuWHWerNOnFTmM6yz3i6i/view?usp=sharing"},"Poster1"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1sLXqn93z4wl_Ym30pDtErbGgvjnEJTmN/view?usp=sharing"},"Poster2"),"][",r.createElement(t.a,{href:"https://www.wiss.org/WISS2021Proceedings/"},"Workshop Page"),"]")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,"Yuga Tsukuda, ",r.createElement("u",null,"Naoto Nishida"),", Jun Lu, and Yoichi Ochiai.\r\n",r.createElement(t.strong,null,"Insect-Computer Hybrid Speaker: Speaker using Chirp of the Cicada Controlled by Electrical Muscle Stimulation."),"\r\nACM CHI 2021 Workshop on Design and Creation of Inclusive User Interactions Through Immersive\r\nMedia (ACM CHI IICW ’21). May 2021. 5 pages. ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1Gv5o8t94oQg8jvn8UkxMBDoYoXVzPQkq/view"},"Preprint"),"][",r.createElement(t.a,{href:"https://sites.google.com/view/acm-chi-iicw21/home"},"Workshop Page"),"][",r.createElement(t.a,{href:"https://www.youtube.com/watch?v=wdhv4QByH6c"},"Demo Video"),"]")),"\n"),"\n"),"\n",r.createElement(t.h3,null,"Academic Services"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"RA","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.04-Present ",r.createElement(t.a,{href:"https://spring-gx.adm.s.u-tokyo.ac.jp/en/boost/"},"BOOST NAIS")),"\n",r.createElement(t.li,null,"2023.10-2024.03 ",r.createElement(t.a,{href:"https://www.iiw.i.u-tokyo.ac.jp/en/"},"International Graduate Program of Innovation for Intelligent World Program")),"\n"),"\n"),"\n",r.createElement(t.li,null,"Student Volunteer","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.12 SIGGRAPH Asia 2024 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1bH6Dv31OEI1QUOH4jbDCPDQY0ZCOyxcC/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2024.03 IEEE VR 2024"),"\n",r.createElement(t.li,null,"2024.02 TEI 2024"),"\n",r.createElement(t.li,null,"2023.04 CHI 2023"),"\n",r.createElement(t.li,null,"2021.12 SIGGRAPH Asia 2021 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/107YQz5yFzuxs_93eLvYzCeg3JBX1ekLW/view?usp=sharing"},"Acceptance Mail"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1zZF7-mheNJW0H5B6Yz8a1l8N7bE7f0iV/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2018.12 SIGGRAPH Asia 2018 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1eqnw1YRtWk7D4Fm7W1RC2fs7qrDXsMS5/view?usp=sharing"},"Acceptance Mail"),"]")),"\n"),"\n"),"\n",r.createElement(t.li,null,"Part Time Jobs","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2023.12 31st Workshop on Interactive Systems and Software(WISS2023)"),"\n",r.createElement(t.li,null,"2021.12 29th Workshop on Interactive Systems and Software(WISS2021)"),"\n"),"\n"),"\n",r.createElement(t.li,null,"Internships","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.04-06 GENIAC Program at Matsuo Lab"),"\n",r.createElement(t.li,null,"2022.03 OIST Science Challenge 2022 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1yk5evdEUg2J872brfN5ucY3_iirmvh6r/view?usp=sharing"},"Certificate"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1sdwNyr9eWYqfTge0oN01w2uCJ28088pW/view?usp=sharing"},"Presentation Slide"),"]")),"\n"),"\n"),"\n"),"\n",r.createElement(t.h3,null,"Industory Services"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"RA","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.04-11 ",r.createElement(t.a,{href:"https://tier4.jp/"},"TIER IV")," Student Researcher"),"\n"),"\n"),"\n",r.createElement(t.li,null,"Internships","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2023.05-11 ",r.createElement(t.a,{href:"https://www.cyberagent.co.jp/en/"},"CyberAgent, Inc.")," - ",r.createElement(t.a,{href:"https://www.cyberagent.co.jp/careers/special/students/tech_lounge/"},"CA Tech Lounge")," for ML Engineer / Data Scientist ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1aG17IjUN2_xhnTuxavVua8sig04GXH9w/view?usp=sharing"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2022.04-2023.09 ",r.createElement(t.a,{href:"https://en.wikipedia.org/wiki/Yahoo_Japan"},"Yahoo! JAPAN")," R&D - Researcher"),"\n",r.createElement(t.li,null,"2020.08 ",r.createElement(t.a,{href:"https://global.rakuten.com/corp/"},"Rakuten")," ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://github.com/nawta/TeamA"},"Project Repository"),"]")," - Engineer"),"\n",r.createElement(t.li,null,"2020.08 ",r.createElement(t.a,{href:"https://www.teamlab.art/"},"Teamlab")," - Engineer",r.createElement(t.br),"\n",r.createElement("small",null,"etc...")),"\n"),"\n"),"\n",r.createElement(t.li,null,"Part Time Jobs","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.11-12 ",r.createElement(t.a,{href:"https://volocitee.com/"},"VOLOCITEE Inc.")," - Engineer"),"\n",r.createElement(t.li,null,"2023.01-06 ",r.createElement(t.a,{href:"https://matsuo-institute.com/"},"Matsuo Institute")," - R&D Engineer"),"\n",r.createElement(t.li,null,"2021.01-09 ",r.createElement(t.a,{href:"https://smt-sol.jp/"},"Smart Solutions")," - Engineer"),"\n"),"\n"),"\n",r.createElement(t.li,null,"Hackathon","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2019.07-08 Hack U 2019 TOKYO ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://hacku.yahoo.co.jp/hacku2019tokyo/"},"Detail"),"]")),"\n",r.createElement(t.li,null,"2019.07 IBM Hackathon ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://github.com/nawta/otomo"},"Project Page"),"]")," ",r.createElement("small",null,"etc...")),"\n"),"\n"),"\n"),"\n",r.createElement(t.h3,null,"Award"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.12 Leave a Nest Grant Incu-be Incentive Award"),"\n",r.createElement(t.li,null,"2024.03 Telecommunication Interdisciplinary Research Award ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1jArYlNjqPhORauvgeJpT6CJ-gPPQTMo-/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2024.02 Excellent Project - World Model and Intelligence 2023 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1ZxZ6zm2DwHUqnFqtQskJjIxW03lqxJpg/view?usp=sharing"},"Paper"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/131KIxNktSpwvC5Ta4RMRBIVFFKvPB380/view?usp=sharing"},"Poster"),"]")),"\n",r.createElement(t.li,null,"2024.02 TEI 2024 Student Design Competition - Best Prototype Award ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1b5kn71FFk0SbktvuEMEXdPh6o_OcUeVP/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2023.10 GOOD DESIGN NEW HOPE AWARD 2023 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://newhope.g-mark.org/award/2023/23NHA040011.html"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1V8C1y-mHujYVzm0flEFRshk5hD2Il9JK/view?usp=sharing"},"HP backup"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1nyr1hWeFxnmlV4HI50Psow37eVAcQh58/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2022.03 Dean's Award from University of Tsukuba ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1VVcvHf4D0OGzFqIJX4q6-E5yZn-uRA1m/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2022.03 Excellent Foreign Language Activity - 1st Prize ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1lFcv0DKXW69NMg9KNMNEghpnis63Wyvn/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2020.08 National Russian Language Essay Competition ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1wgKDe_AYS1awr0ZMvtacNmvN3fow749w/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2019.09 FUJIFILM Hackathon - 1st Prize"),"\n"),"\n",r.createElement(t.h3,null,"Grants"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.10 SPRING GX International Conference Dispatch Program (for UIST 2024) 300,000 JPY"),"\n",r.createElement(t.li,null,"2024.03-2027.03 Iue Memorial Foundation Scholarship 50,000 JPY/month"),"\n",r.createElement(t.li,null,"2024.02 Telecommunication Interdisciplinary Research Award 300,000 JPY"),"\n",r.createElement(t.li,null,"2024.04-2027.03 The Univerisity of Tokyo PhD Fellowship 280,000 JPY/month"),"\n",r.createElement(t.li,null,"2023.10-2024.03 The Univerisity of Tokyo PhD Fellowship 180,000 JPY/month"),"\n",r.createElement(t.li,null,"2023.09 Google East Asia Student Travel Grants (for MobileHCI 2023) 1,000 USD"),"\n",r.createElement(t.li,null,"2023.04 Gary Marsden Travel Award (for CHI 2023) 2,500 USD"),"\n",r.createElement(t.li,null,"2023.01-2023.04 Study Abroad Scholarships from the University of Tokyo 100,000 JPY/month"),"\n",r.createElement(t.li,null,"2022.04-2024.03 Charitable Trust Hisao Iwai Memorial Tokyo Scholarship Education Fund 120,000 JPY/month"),"\n",r.createElement(t.li,null,"2022.04-2024.03 Japan Student Service Organization (JASSO) 88,000 JPY/month"),"\n",r.createElement(t.li,null,"2019.03 University of Tsukuba Overseas Study Support Program 100,000 JPY"),"\n",r.createElement(t.li,null,"2018.08 University of Tsukuba Overseas Study Support Program 100,000 JPY"),"\n",r.createElement(t.li,null,"2018.05 Advancing Researcher Experience Program (ARE) 50,000JPY ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.are.tsukuba.ac.jp/wp-content/uploads/sites/25/2019/01/ARE_NEWS_No.8.pdf"},"Brochure"),"]")),"\n"),"\n",r.createElement(t.h3,null,"Fee Exemptions"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2023.01 Tuition Fee (Full, 267900 JPY)"),"\n",r.createElement(t.li,null,"2022.07 Tuition Fee (Full, 267900 JPY)"),"\n",r.createElement(t.li,null,"2022.04 Admission Fee (Half, 141000 JPY)"),"\n"),"\n",r.createElement(t.h3,null,"Misc Activities"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.12 UIST study meeting 2024 - presenter"),"\n",r.createElement(t.li,null,"2024.11 2024 Asia Culture Center Global Experts Workshop IV - Presenter ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1UgWOzPpVLpY1YUpzdtAUyfAX6X9iL3W-/view?usp=sharing"},"Submitted Portfolio"),"][",r.createElement(t.a,{href:"https://www.acc.go.kr/en/education.do?PID=0402&action=Read&bnkey=EM_0000007705"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1DgQ4XVtQ7NB73fG9kQC3EEk3SmpFDb8N/view?usp=sharing"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2024.11 Asia Culture Center CREATORS Residency 2024 Open Studio “AI·Human·Multiverse” - Exhibitor ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.acc.go.kr/en/event.do?PID=0302&action=Read&bnkey=EM_0000007969"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1DgQ4XVtQ7NB73fG9kQC3EEk3SmpFDb8N/view?usp=sharing"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2023.12 UIST study meeting 2023 - presenter ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://sigchi.jp/seminar/uist2023/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1lGucYzuBAjO6bGUwnfJzCDBzgxkBajuc/view?usp=sharing"},"HP backup"),"]"),r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1tu-_TmOGqQjKFhOKYQheVb9jiV0kNWGf/view?usp=sharing"},"Slide"),"]")),"\n",r.createElement(t.li,null,"2023.07 ",r.createElement(t.a,{href:"http://cvim.ipsj.or.jp/MIRU2023/company-event/#huawei-event"},"HUAWEI TOKYO RESEARCH CENTER Discussion Night in MIRU2023")," - presenter ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/11uin8kvfj0gNNoQnWPcssoV-5wG_9MbF/view?usp=sharing"},"Poster"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1U79-CAQFCOnalD6LXfRBDA9iNOOQtjqF/view?usp=drive_link"},"HP backup"),"][",r.createElement(t.a,{href:"https://frontechno.jp/huaweijapan-miru2023/"},"Huawei HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/128x6CDjwFc3L-t3AO5z-7cY0malhKFkc/view?usp=drive_link"},"Huawei HP backup"),"]")),"\n",r.createElement(t.li,null,"2023.06 CHI study meeting 2023 - presenter ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://sigchi.jp/seminar/chi2023/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1Mj3lHw4WfrutQdUwPzksh9Aa6GzNgZiM/view?usp=drive_link"},"HP backup"),"]"),r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.youtube.com/live/uSbZQEwEJ7c?feature=share&t=11854"},"YouTube Archive"),"]"),r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1alvf-ryJyHf6bD0veveRFUUNdi92lIeM/view?usp=sharing"},"Slide"),"]")),"\n",r.createElement(t.li,null,"2022.11 UIST study meeting 2022 - presenter ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://sigchi.jp/seminar/uist2022/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1AaxWP8VfXKZ3g-TZ2EBRHhDpQ2fj2Tqy/view?usp=drive_link"},"HP backup"),"]"),r.createElement("small",null,"[",r.createElement(t.a,{href:"https://youtu.be/TPrJvXp5lnA?t=3358"},"YouTube Archive"),"]"),r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1fiw-YpV0k_ka-qf_UazsBafxPlZZEpo-/view?usp=sharing"},"Slide"),"]")),"\n",r.createElement(t.li,null,"2022.04-2023.03 iiiExhibition - Web Team leader ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.iiiexhibition.com/"},"Web"),"][",r.createElement(t.a,{href:"https://archive.iiiexhibition.com/log/iiiEx2022/"},"HP 2022 Extra"),"][",r.createElement(t.a,{href:"https://archive.iiiexhibition.com/log/i3e24/"},"HP 2022 True"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1iwtzDFAYcxFnI7STy4Vn-lyYyaOnkqCW/view?usp=sharing"},"HP 2022 Extra backup"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1fIAeyMqKXQ5JQn6ezeT2u7gNavabs9Cp/view?usp=sharing"},"HP 2022 True backup"),"]")),"\n",r.createElement(t.li,null,"2022.02 Tsukuba Global Plus - Completion ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://tgplus.hass.tsukuba.ac.jp/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1mpG5Yr8wgYG_7IE3WBhXTcIqfuRCYsom/view?usp=sharing"},"HP backup"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/18BJmOkXnvL78ThvKYwtCDUsS5opcxcyK/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2020.01 The 5th Trilingual Day Forum in Tsukuba - Participated as a poster presenter ",r.createElement("small",null,"[",r.createElement(t.a,{href:"http://hdl.handle.net/2241/0002000207"},"Report"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1MahOM7AfZDPPR-a9_duwx3jRNAgI_wow/view?usp=drive_link"},"Report backup"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1zkwtWZRgpJAb1GMESonMEOVrUoXMxoL8/view?usp=sharing"},"Poster"),"]")),"\n",r.createElement(t.li,null,"2019.09 Japan-Russia Youth Forum in Saint Petersburg ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.jrex.or.jp/forum/russia-2019/"},"Detail"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1_Fr9jMEzscERqbuuhsNxk4jdJK9Ze8aU/view?usp=sharing"},"Presentation Slide"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1JnSZDkeW_ltBNTl5F6MDx1XjDOe5cV_M/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2019.06-2020.01 Special Project on Information Media",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://github.com/nawta/compare_fullbody_detector"},"Project Repository"),"]")),"\n",r.createElement(t.li,null,"2019.02-2019.03 Study at Al-Farabi Kazakhstan National University ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://tsukuba.repo.nii.ac.jp/records/54482#.YfEnw1jP0c8"},"Training Report"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1MLpWCguj9KcvKg7gMHqgnrn80w48FJL8/view?usp=sharing"},"Presentation Slide"),"]")),"\n",r.createElement(t.li,null,"2018.09 Study at Saint Petersburg University ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://tsukuba.repo.nii.ac.jp/records/49783#.YfEmdVjP0c8"},"Training Report"),"]")),"\n",r.createElement(t.li,null,"2018.05-2019.03 Advancing Researcher Experience Program ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/18a_aycEyQxSL5kK3kqKt6KfdxCYB5GU3/view?usp=sharing"},"Poster"),"]")),"\n",r.createElement(t.li,null,"2015.07 Student Ambassador Program in Charleroi(Belgium) and in Chantilly(France) ",r.createElement("small",null,r.createElement(t.a,{href:"https://www.himeji-iec.or.jp/dispatch/2157"}))),"\n"),"\n",r.createElement(t.h3,null,"Qualification"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.10 AI-Entrepreneurship Learning Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1sxnMYoDv1hbkxdeOdeh6J8YvqBtorgtl/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2024.05 Deep Reinforcement Learning Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1vddBPJ59ZF1hf0dZV1YZUhIfGhOVGaiI/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2024.03 World Models and Intelligence Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1hFR-HV3ZG7vEy4CN75ibVQW0Qy6meu8n/view?usp=sharing"},"Certificate"),"][",r.createElement(t.a,{href:"https://deeplearning.jp/lectures/world-model-2023/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1Ph8DOm2HtuNGNIjdfrNnTH2CmMJbLZ1t/view?usp=sharing"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2023.10 Large Language Models Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1RcvbpAA6xK4XIOOChzqaKzyigLQZmPbM/view?usp=sharing"},"Certificate"),"][",r.createElement(t.a,{href:"https://deeplearning.jp/llm2023/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1M8Hwewy2DxPQmwpC5sBau3p_ccdh-kCj/view?usp=drive_link"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2023.10 Financial Market Trading and Machine Learning Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1hwPKhcxoUVfwqtiDNwp9lh8Twi2ZnRQ-/view?usp=sharing"},"Certificate"),"][",r.createElement(t.a,{href:"https://deeplearning.jp/finance-2023sm/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1HIDWh30qvICigLRdoDryViwDo5YVzNcf/view?usp=drive_link"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2023.01 Google Cloud | Cloud Digital Leader ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.credential.net/4aafad6e-d25f-4b38-82ef-aa7bc5b1e35d?key=66b28286f80c003a70a988c08512add2c90677af9e7cc830a9644fa6590eb1c3"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2022.10 Deep Generative Models Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1ApN6U1WlnAfFagB6GS9cNJWvlulRyJS6/view?usp=sharing"},"Certificate"),"][",r.createElement(t.a,{href:"https://deeplearning.jp/deep-generative-model-2022sm/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1f2wUErZ8a1gEBOMNRSwyZ7OrL0WN-D4O/view?usp=drive_link"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2022.08 Fundamentals of Deep Learning Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1VbkhPRNjicFwAW7JZuoIXfQu_tH4l4dU/view?usp=share_link"},"Certificate"),"][",r.createElement(t.a,{href:"https://deeplearning.jp/lectures/dlb2022/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1cOTxcE2S9tfQSHabqs1pWCF00INBVRDu/view?usp=drive_link"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2022.08 GCI Data Scientist Training Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1FM1qPjKi1zf0txbgNocN_8Nh9mTP8EdY/view?usp=sharing"},"Certificate"),"][",r.createElement(t.a,{href:"https://gci2.t.u-tokyo.ac.jp/archives/course/gci-2024-winter-6"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1CeDvWW9b34MSmQzYKNqCbOywuu6Z4MyU/view?usp=drive_link"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2022.03 Japan Statistical Society Certificate Data Science, Advanced ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/10nDfO4f51kpz5UlMkhIiBXE448PjPfPB/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2020.12 Applied Information Technology Engineer Examination ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1-GCWANGni2J1T_sd9twfeQ869s9xt8ts/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2020.12 CG Engineer Certificate, Expert"),"\n",r.createElement(t.li,null,"2020.08 EIKEN Grade 1 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1hD9Shd1p2eMKn5mdwah1lT3qxEbMpE-8/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2020.04 Driver's Licence"),"\n",r.createElement(t.li,null,"2019.11 Russian Language Proficiency Test Level 3 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/12Xhs6H06H4WRSAzLnANF8PbwljbihaCC/view?usp=sharing"},"Certificate"),"]")),"\n"),"\n",r.createElement(t.h3,null,"Review"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2023.11 Deep Learning 5 - Generative Models (Book in Japanese) ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.amazon.co.jp/dp/4814400594?tag=note0e2a-22&linkCode=ogi&th=1&psc=1"},"Amazon Page"),"]")),"\n",r.createElement(t.li,null,"2023.10 AAAI-24 Student Program"),"\n",r.createElement(t.li,null,"2023.09 CHI 2024 Full Paper"),"\n",r.createElement(t.li,null,"2023.01 CHI 2023 LateBreakingWork"),"\n",r.createElement(t.li,null,"2022.04-2025.03(Expected) ‘Information Processing’ (Journal of Information Processing Society of Japan, in Japanese)"),"\n",r.createElement(t.li,null,"2021.12 Deep Learning 4 - Reignforcement Learning (Book in Japanese) ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://onl.la/jLTZCyb"},"Amazon Page"),"]")),"\n"),"\n",r.createElement(t.h3,null,"Media/Press"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"\n",r.createElement("small",null,"2023.11 Good Design 2023 New Hope Award Honorable Mention, The University of Tokyo III/GSII [",r.createElement(t.a,{href:"https://www.iii.u-tokyo.ac.jp/news/2023110619679"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1i8plcpKQ7XAuKOgOwVn2D_6xgShOhrwa/view?usp=sharing"},"HP Backup"),"]"),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement("small",null,"2023.9 Single-tap Latency Reduction with Single- or Double- tap Prediction, Yahoo! JAPAN R&D\r\n[",r.createElement(t.a,{href:"https://randd.yahoo.co.jp/jp/papers/1144"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1LlNGKzAaWLiXpJFLzvaijrv0ZZgLghvI/view?usp=sharing"},"HP Backup"),"]"),"\n"),"\n"),"\n",r.createElement(t.h3,null,"Membership"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"ACM Student Member"),"\n",r.createElement(t.li,null,"IEEE Student Member"),"\n",r.createElement(t.li,null,"Information Processing Society of Japan Student Member"),"\n",r.createElement(t.li,null,"The Japanese Alpine Club"),"\n"))}var v=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,f.RP)(),e.components);return t?r.createElement(t,e,r.createElement(E,e)):E(e)};var y=()=>{const{showThemeAuthor:e}=(0,c.A)(),[t]=(0,l.G6)(),n="dark"===t;return(0,o.Y)(s.az,{as:"footer",variant:"layout.footer",sx:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, "+(n?"0.35":"0.15")+") 100%)"}},(0,o.Y)(s.mc,null,(0,o.Y)("div",{sx:{display:"grid",gridGap:4,gridTemplateColumns:["1fr","1fr","1fr","2fr 1fr"]}},(0,o.Y)("div",{sx:{p:{mb:0},h2:{mt:0,mb:1}}},(0,o.Y)(v,null)),(0,o.Y)(s.so,{sx:{textAlign:["center","center","center","right"],flexDirection:"column",justifyContent:"space-between"}},(0,o.Y)(g,null),(0,o.Y)("div",{sx:{mt:[4,4,4,0]}},(0,o.Y)("div",{sx:{a:{ml:[1,1,1,2],mr:[1,1,1,0]}}},(0,o.Y)(u.A,null)),(0,o.Y)("div",{sx:{color:"textMuted"}},"Copyright © ",(new Date).getFullYear(),". All rights reserved."))))))};var w=e=>{let{children:t}=e;return r.createElement(r.Fragment,null,r.createElement(i.mL,{styles:e=>({"*":{boxSizing:"inherit"},"[hidden]":{display:"none"},"::selection":{background:(0,a.Jt)(e,"colors.text"),color:(0,a.Jt)(e,"colors.background")}})}),t,r.createElement(y,null))}},2455:function(e,t,n){n.d(t,{A:function(){return l}});var r=n(6540),a=n(4810);var i=()=>(0,a.useStaticQuery)("2421966660").site.siteMetadata;var l=e=>{let{title:t="",description:n="",pathname:l="",image:o="",children:s=null}=e;const c=i(),{siteTitle:u,siteTitleAlt:m,siteUrl:h,siteDescription:d,siteImage:p,author:g,siteLanguage:f}=c,E={title:t?t+" | "+u:m,description:n||d,url:""+h+(l||""),image:""+h+(o||p)};return r.createElement(r.Fragment,null,r.createElement("html",{lang:f}),r.createElement("title",null,E.title),r.createElement("meta",{name:"description",content:E.description}),r.createElement("meta",{name:"image",content:E.image}),r.createElement("meta",{property:"og:title",content:E.title}),r.createElement("meta",{property:"og:url",content:E.url}),r.createElement("meta",{property:"og:description",content:E.description}),r.createElement("meta",{property:"og:image",content:E.image}),r.createElement("meta",{property:"og:type",content:"website"}),r.createElement("meta",{property:"og:image:alt",content:E.description}),r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("meta",{name:"twitter:title",content:E.title}),r.createElement("meta",{name:"twitter:url",content:E.url}),r.createElement("meta",{name:"twitter:description",content:E.description}),r.createElement("meta",{name:"twitter:image",content:E.image}),r.createElement("meta",{name:"twitter:image:alt",content:E.description}),r.createElement("meta",{name:"twitter:creator",content:g}),r.createElement("meta",{name:"gatsby-theme",content:"@lekoarts/gatsby-theme-emilia"}),r.createElement("link",{rel:"icon",type:"image/png",sizes:"32x32",href:(0,a.withPrefix)("/inu-favicon-32x32.png")}),r.createElement("link",{rel:"icon",type:"image/png",sizes:"16x16",href:(0,a.withPrefix)("/inu-favicon-16x16.png")}),r.createElement("link",{rel:"apple-touch-icon",sizes:"180x180",href:(0,a.withPrefix)("/penguin-apple-touch-icon.png")}),s)}},2338:function(e,t,n){var r=n(6540),a=n(557),i=n(8993),l=n(9383);t.A=()=>{const{socialMedia:e}=(0,l.A)();return(0,a.Y)(r.Fragment,null,e.map((e=>(0,a.Y)(i.IE.a,{key:e.title,href:e.href},e.title))))}},2155:function(e,t,n){var r=n(8587),a=n(557),i=n(4810);const l=["id"];t.A=e=>{let{id:t}=e,n=(0,r.A)(e,l);return(0,a.Y)("svg",n,(0,a.Y)("use",{href:(0,i.withPrefix)("/icons.svg#"+t)}))}},9383:function(e,t,n){var r=n(4810);t.A=()=>(0,r.useStaticQuery)("1181966677").emiliaConfig},557:function(e,t,n){n.d(t,{Y:function(){return r}});var r=n(3101).Y},2217:function(e,t,n){var r=n(9039);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},7680:function(e,t,n){var r=n(9504);e.exports=r([].slice)},4488:function(e,t,n){var r=n(7680),a=Math.floor,i=function(e,t){var n=e.length;if(n<8)for(var l,o,s=1;s0;)e[o]=e[--o];o!==s++&&(e[o]=l)}else for(var c=a(n/2),u=i(r(e,0,c),t),m=i(r(e,c),t),h=u.length,d=m.length,p=0,g=0;p3)){if(p)return!0;if(f)return f<603;var e,t,n,r,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)E.push({k:t+r,v:n})}for(E.sort((function(e,t){return t.v-e.v})),r=0;rc(n)?1:-1}}(e)),n=o(a),r=0;rg(e,r),i=y();a.write=e=>g(e,i);var l=y();a.onStart=e=>g(e,l);var o=y();a.onFrame=e=>g(e,o);var s=y();a.onFinish=e=>g(e,s);var c=[];a.setTimeout=(e,t)=>{const n=a.now()+t,r=()=>{const e=c.findIndex((e=>e.cancel==r));~e&&c.splice(e,1),d-=~e?1:0},i={time:n,handler:e,cancel:r};return c.splice(u(n),0,i),d+=1,f(),i};var u=e=>~(~c.findIndex((t=>t.time>e))||~c.length);a.cancel=e=>{l.delete(e),o.delete(e),s.delete(e),r.delete(e),i.delete(e)},a.sync=e=>{p=!0,a.batchedUpdates(e),p=!1},a.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,a.onStart(n)}return r.handler=e,r.cancel=()=>{l.delete(n),t=null},r};var m="undefined"!=typeof window?window.requestAnimationFrame:()=>{};a.use=e=>m=e,a.now="undefined"!=typeof performance?()=>performance.now():Date.now,a.batchedUpdates=e=>e(),a.catch=console.error,a.frameLoop="always",a.advance=()=>{"demand"!==a.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):v()};var h=-1,d=0,p=!1;function g(e,t){p?(t.delete(e),e(0)):(t.add(e),f())}function f(){h<0&&(h=0,"demand"!==a.frameLoop&&m(E))}function E(){~h&&(m(E),a.batchedUpdates(v))}function v(){const e=h;h=a.now();const t=u(h);t&&(w(c.splice(0,t),(e=>e.handler())),d-=t),d?(l.flush(),r.flush(e?Math.min(64,h-e):16.667),o.flush(),i.flush(),s.flush()):h=-1}function y(){let e=new Set,t=e;return{add(n){d+=t!=e||e.has(n)?0:1,e.add(n)},delete(n){return d-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,d-=t.size,w(t,(t=>t(n)&&e.add(t))),d+=e.size,t=e)}}}function w(e,t){e.forEach((e=>{try{t(e)}catch(n){a.catch(n)}}))}var b=n(6540),I=Object.defineProperty,k={};function P(){}((e,t)=>{for(var n in t)I(e,n,{get:t[n],enumerable:!0})})(k,{assign:()=>D,colors:()=>N,createStringInterpolator:()=>R,skipAnimation:()=>H,to:()=>j,willAdvance:()=>L});var S={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function C(e,t){if(S.arr(e)){if(!S.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function x(e,t,n){if(S.arr(e))for(let r=0;rS.und(e)?[]:S.arr(e)?e:[e];function M(e,t){if(e.size){const n=Array.from(e);e.clear(),A(n,t)}}var R,j,T=(e,...t)=>M(e,(e=>e(...t))),O=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),N=null,H=!1,L=P,D=e=>{e.to&&(j=e.to),e.now&&(a.now=e.now),void 0!==e.colors&&(N=e.colors),null!=e.skipAnimation&&(H=e.skipAnimation),e.createStringInterpolator&&(R=e.createStringInterpolator),e.requestAnimationFrame&&a.use(e.requestAnimationFrame),e.batchedUpdates&&(a.batchedUpdates=e.batchedUpdates),e.willAdvance&&(L=e.willAdvance),e.frameLoop&&(a.frameLoop=e.frameLoop)},J=new Set,F=[],W=[],Y=0,z={get idle(){return!J.size&&!F.length},start(e){Y>e.priority?(J.add(e),a.onStart(V)):(U(e),a(G))},advance:G,sort(e){if(Y)a.onFrame((()=>z.sort(e)));else{const t=F.indexOf(e);~t&&(F.splice(t,1),q(e))}},clear(){F=[],J.clear()}};function V(){J.forEach(U),J.clear(),a(G)}function U(e){F.includes(e)||q(e)}function q(e){F.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(F,(t=>t.priority>e.priority)),0,e)}function G(e){const t=W;for(let n=0;n0}var Q="[-+]?\\d*\\.?\\d+",B=Q+"%";function K(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var X=new RegExp("rgb"+K(Q,Q,Q)),Z=new RegExp("rgba"+K(Q,Q,Q,Q)),$=new RegExp("hsl"+K(Q,B,B)),ee=new RegExp("hsla"+K(Q,B,B,Q)),te=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ne=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,re=/^#([0-9a-fA-F]{6})$/,ae=/^#([0-9a-fA-F]{8})$/;function ie(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function le(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,a=2*n-r,i=ie(a,r,e+1/3),l=ie(a,r,e),o=ie(a,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*l)<<16|Math.round(255*o)<<8}function oe(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function se(e){return(parseFloat(e)%360+360)%360/360}function ce(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ue(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function me(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=re.exec(e))?parseInt(t[1]+"ff",16)>>>0:N&&void 0!==N[e]?N[e]:(t=X.exec(e))?(oe(t[1])<<24|oe(t[2])<<16|oe(t[3])<<8|255)>>>0:(t=Z.exec(e))?(oe(t[1])<<24|oe(t[2])<<16|oe(t[3])<<8|ce(t[4]))>>>0:(t=te.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ae.exec(e))?parseInt(t[1],16)>>>0:(t=ne.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=$.exec(e))?(255|le(se(t[1]),ue(t[2]),ue(t[3])))>>>0:(t=ee.exec(e))?(le(se(t[1]),ue(t[2]),ue(t[3]))|ce(t[4]))>>>0:null}(e);if(null===t)return e;t=t||0;return`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}var he=(e,t,n)=>{if(S.fun(e))return e;if(S.arr(e))return he({range:e,output:t,extrapolate:n});if(S.str(e.output[0]))return R(e);const r=e,a=r.output,i=r.range||[0,1],l=r.extrapolateLeft||r.extrapolate||"extend",o=r.extrapolateRight||r.extrapolate||"extend",s=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n=e);++n);return n-1}(e,i);return function(e,t,n,r,a,i,l,o,s){let c=s?s(e):e;if(cn){if("identity"===o)return c;"clamp"===o&&(c=n)}if(r===a)return r;if(t===n)return e<=t?r:a;t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t);c=i(c),r===-1/0?c=-c:a===1/0?c+=r:c=c*(a-r)+r;return c}(e,i[t],i[t+1],a[t],a[t+1],s,l,o,r.map)}};var de=1.70158,pe=1.525*de,ge=de+1,fe=2*Math.PI/3,Ee=2*Math.PI/4.5,ve=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},ye={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>ge*e*e*e-de*e*e,easeOutBack:e=>1+ge*Math.pow(e-1,3)+de*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-pe)/2:(Math.pow(2*e-2,2)*((pe+1)*(2*e-2)+pe)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*fe),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*fe)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Ee)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Ee)/2+1,easeInBounce:e=>1-ve(1-e),easeOutBounce:ve,easeInOutBounce:e=>e<.5?(1-ve(1-2*e))/2:(1+ve(2*e-1))/2,steps:(e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,a="end"===t?Math.floor(r):Math.ceil(r);return i=0,l=1,o=a/e,Math.min(Math.max(o,i),l);var i,l,o}},we=Symbol.for("FluidValue.get"),be=Symbol.for("FluidValue.observers"),Ie=e=>Boolean(e&&e[we]),ke=e=>e&&e[we]?e[we]():e,Pe=e=>e[be]||null;function Se(e,t){const n=e[be];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var Ce=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");Ae(this,e)}},Ae=(e,t)=>Re(e,we,t);function xe(e,t){if(e[we]){let n=e[be];n||Re(e,be,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function _e(e,t){const n=e[be];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[be]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var Me,Re=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),je=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Te=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Oe=new RegExp(`(${je.source})(%|[a-z]+)`,"i"),Ne=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,He=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Le=e=>{const[t,n]=De(e);if(!t||O())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&He.test(n)?Le(n):n||e},De=e=>{const t=He.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},Je=(e,t,n,r,a)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${a})`,Fe=e=>{Me||(Me=N?new RegExp(`(${Object.keys(N).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>ke(e).replace(He,Le).replace(Te,me).replace(Me,me))),n=t.map((e=>e.match(je).map(Number))),r=n[0].map(((e,t)=>n.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))).map((t=>he({...e,output:t})));return e=>{const n=!Oe.test(t[0])&&t.find((e=>Oe.test(e)))?.replace(je,"");let a=0;return t[0].replace(je,(()=>`${r[a++](e)}${n||""}`)).replace(Ne,Je)}},We="react-spring: ",Ye=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${We}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},ze=Ye(console.warn);var Ve=Ye(console.warn);function Ue(e){return S.str(e)&&("#"==e[0]||/\d/.test(e)||!O()&&He.test(e)||e in(N||{}))}var qe=O()?b.useEffect:b.useLayoutEffect,Ge=()=>{const e=(0,b.useRef)(!1);return qe((()=>(e.current=!0,()=>{e.current=!1})),[]),e};function Qe(){const e=(0,b.useState)()[1],t=Ge();return()=>{t.current&&e(Math.random())}}var Be=e=>(0,b.useEffect)(e,Ke),Ke=[];function Xe(e){const t=(0,b.useRef)();return(0,b.useEffect)((()=>{t.current=e})),t.current}var Ze=Symbol.for("Animated:node"),$e=e=>e&&e[Ze],et=(e,t)=>{return n=e,r=Ze,a=t,Object.defineProperty(n,r,{value:a,writable:!0,configurable:!0});var n,r,a},tt=e=>e&&e[Ze]&&e[Ze].getPayload(),nt=class{constructor(){et(this,this)}getPayload(){return this.payload||[]}},rt=class extends nt{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,S.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new rt(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return S.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,S.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},at=class extends rt{constructor(e){super(0),this._string=null,this._toString=he({output:[e,e]})}static create(e){return new at(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(S.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=he({output:[this.getValue(),e]})),this._value=0,super.reset()}},it={dependencies:null},lt=class extends nt{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return x(this.source,((n,r)=>{var a;(a=n)&&a[Ze]===a?t[r]=n.getValue(e):Ie(n)?t[r]=ke(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&A(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return x(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){it.dependencies&&Ie(e)&&it.dependencies.add(e);const t=tt(e);t&&A(t,(e=>this.add(e)))}},ot=class extends lt{constructor(e){super(e)}static create(e){return new ot(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,n)=>t.setValue(e[n]))).some(Boolean):(super.setValue(e.map(st)),!0)}};function st(e){return(Ue(e)?at:rt).create(e)}function ct(e){const t=$e(e);return t?t.constructor:S.arr(e)?ot:Ue(e)?at:rt}var ut=(e,t)=>{const n=!S.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,b.forwardRef)(((r,i)=>{const l=(0,b.useRef)(null),o=n&&(0,b.useCallback)((e=>{l.current=function(e,t){e&&(S.fun(e)?e(t):e.current=t);return t}(i,e)}),[i]),[s,c]=function(e,t){const n=new Set;it.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new lt(e),it.dependencies=null,[e,n]}(r,t),u=Qe(),m=()=>{const e=l.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&u()},h=new mt(m,c),d=(0,b.useRef)();qe((()=>(d.current=h,A(c,(e=>xe(e,h))),()=>{d.current&&(A(d.current.deps,(e=>_e(e,d.current))),a.cancel(d.current.update))}))),(0,b.useEffect)(m,[]),Be((()=>()=>{const e=d.current;A(e.deps,(t=>_e(t,e)))}));const p=t.getComponentProps(s.getValue());return b.createElement(e,{...p,ref:o})}))},mt=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&a.write(this.update)}};var ht=Symbol.for("AnimatedComponent"),dt=e=>S.str(e)?e:e&&S.str(e.displayName)?e.displayName:S.fun(e)&&e.name||null;function pt(e,...t){return S.fun(e)?e(...t):e}var gt=(e,t)=>!0===e||!!(t&&e&&(S.fun(e)?e(t):_(e).includes(t))),ft=(e,t)=>S.obj(e)?t&&e[t]:e,Et=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,vt=e=>e,yt=(e,t=vt)=>{let n=wt;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const a of n){const n=t(e[a],a);S.und(n)||(r[a]=n)}return r},wt=["config","onProps","onStart","onChange","onPause","onResume","onRest"],bt={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function It(e){const t=function(e){const t={};let n=0;if(x(e,((e,r)=>{bt[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return x(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function kt(e){return e=ke(e),S.arr(e)?e.map(kt):Ue(e)?k.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Pt(e){for(const t in e)return!0;return!1}function St(e){return S.fun(e)||S.arr(e)&&S.obj(e[0])}function Ct(e,t){e.ref?.delete(e),t?.delete(e)}function At(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var xt={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},_t={...xt.default,mass:1,damping:1,easing:ye.linear,clamp:!1},Mt=class{constructor(){this.velocity=0,Object.assign(this,_t)}};function Rt(e,t){if(S.und(t.decay)){const n=!S.und(t.tension)||!S.und(t.friction);!n&&S.und(t.frequency)&&S.und(t.damping)&&S.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var jt=[],Tt=class{constructor(){this.changed=!1,this.values=jt,this.toValues=null,this.fromValues=jt,this.config=new Mt,this.immediate=!1}};function Ot(e,{key:t,props:n,defaultProps:r,state:i,actions:l}){return new Promise(((o,s)=>{let c,u,m=gt(n.cancel??r?.cancel,t);if(m)p();else{S.und(n.pause)||(i.paused=gt(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||gt(e,t)),c=pt(n.delay||0,t),e?(i.resumeQueue.add(d),l.pause()):(l.resume(),d())}function h(){i.resumeQueue.add(d),i.timeouts.delete(u),u.cancel(),c=u.time-a.now()}function d(){c>0&&!k.skipAnimation?(i.delayed=!0,u=a.setTimeout(p,c),i.pauseQueue.add(h),i.timeouts.add(u)):p()}function p(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(h),i.timeouts.delete(u),e<=(i.cancelId||0)&&(m=!0);try{l.start({...n,callId:e,cancel:m},o)}catch(t){s(t)}}}))}var Nt=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?Dt(e.get()):t.every((e=>e.noop))?Ht(e.get()):Lt(e.get(),t.every((e=>e.finished))),Ht=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Lt=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Dt=e=>({value:e,cancelled:!0,finished:!1});function Jt(e,t,n,r){const{callId:i,parentId:l,onRest:o}=t,{asyncTo:s,promise:c}=n;return l||e!==s||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const u=yt(t,((e,t)=>"onRest"===t?void 0:e));let m,h;const d=new Promise(((e,t)=>(m=e,h=t))),p=e=>{const t=i<=(n.cancelId||0)&&Dt(r)||i!==n.asyncId&&Lt(r,!1);if(t)throw e.result=t,h(e),e},g=(e,t)=>{const a=new Wt,l=new Yt;return(async()=>{if(k.skipAnimation)throw Ft(n),l.result=Lt(r,!1),h(l),l;p(a);const o=S.obj(e)?{...e}:{...t,to:e};o.parentId=i,x(u,((e,t)=>{S.und(o[t])&&(o[t]=e)}));const s=await r.start(o);return p(a),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),s})()};let f;if(k.skipAnimation)return Ft(n),Lt(r,!1);try{let t;t=S.arr(e)?(async e=>{for(const t of e)await g(t)})(e):Promise.resolve(e(g,r.stop.bind(r))),await Promise.all([t.then(m),d]),f=Lt(r.get(),!0,!1)}catch(E){if(E instanceof Wt)f=E.result;else{if(!(E instanceof Yt))throw E;f=E.result}}finally{i==n.asyncId&&(n.asyncId=l,n.asyncTo=l?s:void 0,n.promise=l?c:void 0)}return S.fun(o)&&a.batchedUpdates((()=>{o(f,r,r.item)})),f})():c}function Ft(e,t){M(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Wt=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Yt=class extends Error{constructor(){super("SkipAnimationSignal")}},zt=e=>e instanceof Ut,Vt=1,Ut=class extends Ce{constructor(){super(...arguments),this.id=Vt++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=$e(this);return e&&e.getValue()}to(...e){return k.to(this,e)}interpolate(...e){return ze(`${We}The "interpolate" function is deprecated in v9 (use "to" instead)`),k.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Se(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||z.sort(this),Se(this,{type:"priority",parent:this,priority:e})}},qt=Symbol.for("SpringPhase"),Gt=e=>(1&e[qt])>0,Qt=e=>(2&e[qt])>0,Bt=e=>(4&e[qt])>0,Kt=(e,t)=>t?e[qt]|=3:e[qt]&=-3,Xt=(e,t)=>t?e[qt]|=4:e[qt]&=-5,Zt=class extends Ut{constructor(e,t){if(super(),this.animation=new Tt,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!S.und(e)||!S.und(t)){const n=S.obj(e)?{...e}:{...t,from:e};S.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Qt(this)||this._state.asyncTo)||Bt(this)}get goal(){return ke(this.animation.to)}get velocity(){const e=$e(this);return e instanceof rt?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return Gt(this)}get isAnimating(){return Qt(this)}get isPaused(){return Bt(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:a}=r;const{config:i}=r,l=tt(r.to);!l&&Ie(r.to)&&(a=_(ke(r.to))),r.values.forEach(((o,s)=>{if(o.done)return;const c=o.constructor==at?1:l?l[s].lastPosition:a[s];let u=r.immediate,m=c;if(!u){if(m=o.lastPosition,i.tension<=0)return void(o.done=!0);let t=o.elapsedTime+=e;const n=r.fromValues[s],a=null!=o.v0?o.v0:o.v0=S.arr(i.velocity)?i.velocity[s]:i.velocity;let l;const h=i.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n)));if(S.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,r=Math.exp(-(1-e)*t);m=n+a/(1-e)*(1-r),u=Math.abs(o.lastPosition-m)<=h,l=a*r}else{l=null==o.lastVelocity?a:o.lastVelocity;const t=i.restVelocity||h/10,r=i.clamp?0:i.bounce,s=!S.und(r),d=n==c?o.v0>0:nt,p||(u=Math.abs(c-m)<=h,!u));++e){s&&(g=m==c||m>c==d,g&&(l=-l*r,m=c));l+=(1e-6*-i.tension*(m-c)+.001*-i.friction*l)/i.mass*f,m+=l*f}}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,o.durationProgress>0&&(o.elapsedTime=i.duration*o.durationProgress,t=o.elapsedTime+=e)),r=(i.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,o.durationProgress=r),m=n+i.easing(r)*(c-n),l=(m-o.lastPosition)/e,u=1==r}o.lastVelocity=l,Number.isNaN(m)&&(console.warn("Got NaN while animating:",this),u=!0)}l&&!l[s].done&&(u=!1),u?o.done=!0:t=!1,o.setValue(m,i.round)&&(n=!0)}));const o=$e(this),s=o.getValue();if(t){const e=ke(r.to);s===e&&!n||i.decay?n&&i.decay&&this._onChange(s):(o.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(s)}set(e){return a.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Qt(this)){const{to:e,config:t}=this.animation;a.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return S.und(e)?(n=this.queue||[],this.queue=[]):n=[S.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>Nt(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Ft(this._state,e&&this._lastCallId),a.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=S.obj(n)?n[t]:n,(null==n||St(n))&&(n=void 0),r=S.obj(r)?r[t]:r,null==r&&(r=void 0);const a={to:n,from:r};return Gt(this)||(e.reverse&&([n,r]=[r,n]),r=ke(r),S.und(r)?$e(this)||this._set(n):this._set(r)),a}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,yt(e,((e,t)=>/^on/.test(t)?ft(e,n):e))),ln(this,e,"onProps"),on(this,"onProps",e,this);const a=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const i=this._state;return Ot(++this._lastCallId,{key:n,props:e,defaultProps:r,state:i,actions:{pause:()=>{Bt(this)||(Xt(this,!0),T(i.pauseQueue),on(this,"onPause",Lt(this,$t(this,this.animation.to)),this))},resume:()=>{Bt(this)&&(Xt(this,!1),Qt(this)&&this._resume(),T(i.resumeQueue),on(this,"onResume",Lt(this,$t(this,this.animation.to)),this))},start:this._merge.bind(this,a)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=en(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Dt(this));const r=!S.und(e.to),i=!S.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(Dt(this));this._lastToId=t.callId}const{key:l,defaultProps:o,animation:s}=this,{to:c,from:u}=s;let{to:m=c,from:h=u}=e;!i||r||t.default&&!S.und(m)||(m=h),t.reverse&&([m,h]=[h,m]);const d=!C(h,u);d&&(s.from=h),h=ke(h);const p=!C(m,c);p&&this._focus(m);const g=St(t.to),{config:f}=s,{decay:E,velocity:v}=f;(r||i)&&(f.velocity=0),t.config&&!g&&function(e,t,n){n&&(Rt(n={...n},t),t={...n,...t}),Rt(e,t),Object.assign(e,t);for(const l in _t)null==e[l]&&(e[l]=_t[l]);let{frequency:r,damping:a}=e;const{mass:i}=e;S.und(r)||(r<.01&&(r=.01),a<0&&(a=0),e.tension=Math.pow(2*Math.PI/r,2)*i,e.friction=4*Math.PI*a*i/r)}(f,pt(t.config,l),t.config!==o.config?pt(o.config,l):void 0);let y=$e(this);if(!y||S.und(m))return n(Lt(this,!0));const w=S.und(t.reset)?i&&!t.default:!S.und(h)&>(t.reset,l),b=w?h:this.get(),I=kt(m),k=S.num(I)||S.arr(I)||Ue(I),P=!g&&(!k||gt(o.immediate||t.immediate,l));if(p){const e=ct(m);if(e!==y.constructor){if(!P)throw Error(`Cannot animate between ${y.constructor.name} and ${e.name}, as the "to" prop suggests`);y=this._set(I)}}const x=y.constructor;let M=Ie(m),R=!1;if(!M){const e=w||!Gt(this)&&d;(p||e)&&(R=C(kt(b),I),M=!R),(C(s.immediate,P)||P)&&C(f.decay,E)&&C(f.velocity,v)||(M=!0)}if(R&&Qt(this)&&(s.changed&&!w?M=!0:M||this._stop(c)),!g&&((M||Ie(c))&&(s.values=y.getPayload(),s.toValues=Ie(m)?null:x==at?[1]:_(I)),s.immediate!=P&&(s.immediate=P,P||w||this._set(c)),M)){const{onRest:e}=s;A(an,(e=>ln(this,t,e)));const r=Lt(this,$t(this,c));T(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&a.batchedUpdates((()=>{s.changed=!w,e?.(r,this),w?pt(o.onRest,r):s.onStart?.(r,this)}))}w&&this._set(b),g?n(Jt(t.to,t,this._state,this)):M?this._start():Qt(this)&&!p?this._pendingCalls.add(n):n(Ht(b))}_focus(e){const t=this.animation;e!==t.to&&(Pe(this)&&this._detach(),t.to=e,Pe(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Ie(t)&&(xe(t,this),zt(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Ie(e)&&_e(e,this)}_set(e,t=!0){const n=ke(e);if(!S.und(n)){const e=$e(this);if(!e||!C(n,e.getValue())){const r=ct(n);e&&e.constructor==r?e.setValue(n):et(this,r.create(n)),e&&a.batchedUpdates((()=>{this._onChange(n,t)}))}}return $e(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,on(this,"onStart",Lt(this,$t(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),pt(this.animation.onChange,e,this)),pt(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;$e(this).reset(ke(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),Qt(this)||(Kt(this,!0),Bt(this)||this._resume())}_resume(){k.skipAnimation?this.finish():z.start(this)}_stop(e,t){if(Qt(this)){Kt(this,!1);const n=this.animation;A(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Se(this,{type:"idle",parent:this});const r=t?Dt(this.get()):Lt(this.get(),$t(this,e??n.to));T(this._pendingCalls,r),n.changed&&(n.changed=!1,on(this,"onRest",r,this))}}};function $t(e,t){const n=kt(t);return C(kt(e.get()),n)}function en(e,t=e.loop,n=e.to){const r=pt(t);if(r){const a=!0!==r&&It(r),i=(a||e).reverse,l=!a||a.reset;return tn({...e,loop:t,default:!1,pause:void 0,to:!i||St(n)?n:void 0,from:l?e.from:void 0,reset:l,...a})}}function tn(e){const{to:t,from:n}=e=It(e),r=new Set;return S.obj(t)&&rn(t,r),S.obj(n)&&rn(n,r),e.keys=r.size?Array.from(r):null,e}function nn(e){const t=tn(e);return S.und(t.default)&&(t.default=yt(t)),t}function rn(e,t){x(e,((e,n)=>null!=e&&t.add(n)))}var an=["onStart","onRest","onChange","onPause","onResume"];function ln(e,t,n){e.animation[n]=t[n]!==Et(t,n)?ft(t[n],e.key):void 0}function on(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var sn=["onStart","onChange","onRest"],cn=1,un=class{constructor(e,t){this.id=cn++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,n)=>e[n]=t.get())),e}set(e){for(const t in e){const n=e[t];S.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(tn(e)),this}start(e){let{queue:t}=this;return e?t=_(e).map(tn):this.queue=[],this._flush?this._flush(this,t):(En(this,t),mn(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;A(_(t),(t=>n[t].stop(!!e)))}else Ft(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(S.und(e))this.start({pause:!0});else{const t=this.springs;A(_(e),(e=>t[e].pause()))}return this}resume(e){if(S.und(e))this.start({pause:!1});else{const t=this.springs;A(_(e),(e=>t[e].resume()))}return this}each(e){x(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,a=this._changed.size>0;(r&&!this._started||a&&!this._started)&&(this._started=!0,M(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const i=!r&&this._started,l=a||i&&n.size?this.get():null;a&&t.size&&M(t,(([e,t])=>{t.value=l,e(t,this,this._item)})),i&&(this._started=!1,M(n,(([e,t])=>{t.value=l,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}a.onFrame(this._onFrame)}};function mn(e,t){return Promise.all(t.map((t=>hn(e,t)))).then((t=>Nt(e,t)))}async function hn(e,t,n){const{keys:r,to:i,from:l,loop:o,onRest:s,onResolve:c}=t,u=S.obj(t.default)&&t.default;o&&(t.loop=!1),!1===i&&(t.to=null),!1===l&&(t.from=null);const m=S.arr(i)||S.fun(i)?i:void 0;m?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):A(sn,(n=>{const r=t[n];if(S.fun(r)){const a=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=a.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):a.set(r,{value:null,finished:e||!1,cancelled:t||!1})},u&&(u[n]=t[n])}}));const h=e._state;t.pause===!h.paused?(h.paused=t.pause,T(t.pause?h.pauseQueue:h.resumeQueue)):h.paused&&(t.pause=!0);const d=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),p=!0===t.cancel||!0===Et(t,"cancel");(m||p&&h.asyncId)&&d.push(Ot(++e._lastAsyncId,{props:t,state:h,actions:{pause:P,resume:P,start(t,n){p?(Ft(h,e._lastAsyncId),n(Dt(e))):(t.onRest=s,n(Jt(m,t,h,e)))}}})),h.paused&&await new Promise((e=>{h.resumeQueue.add(e)}));const g=Nt(e,await Promise.all(d));if(o&&g.finished&&(!n||!g.noop)){const n=en(t,o,i);if(n)return En(e,[n]),hn(e,n,!0)}return c&&a.batchedUpdates((()=>c(g,e,e.item))),g}function dn(e,t){const n={...e.springs};return t&&A(_(t),(e=>{S.und(e.keys)&&(e=tn(e)),S.obj(e.to)||(e={...e,to:void 0}),fn(n,e,(e=>gn(e)))})),pn(e,n),n}function pn(e,t){x(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,xe(t,e))}))}function gn(e,t){const n=new Zt;return n.key=e,t&&xe(n,t),n}function fn(e,t,n){t.keys&&A(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function En(e,t){A(t,(t=>{fn(e.springs,t,(t=>gn(t,e)))}))}var vn,yn,wn=({children:e,...t})=>{const n=(0,b.useContext)(bn),r=t.pause||!!n.pause,a=t.immediate||!!n.immediate;t=function(e,t){const[n]=(0,b.useState)((()=>({inputs:t,result:e()}))),r=(0,b.useRef)(),a=r.current;let i=a;i?Boolean(t&&i.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n{r.current=i,a==n&&(n.inputs=n.result=void 0)}),[i]),i.result}((()=>({pause:r,immediate:a})),[r,a]);const{Provider:i}=bn;return b.createElement(i,{value:t},e)},bn=(vn=wn,yn={},Object.assign(vn,b.createContext(yn)),vn.Provider._context=vn,vn.Consumer._context=vn,vn);wn.Provider=bn.Provider,wn.Consumer=bn.Consumer;var In=()=>{const e=[],t=function(t){Ve(`${We}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return A(e,((e,a)=>{if(S.und(t))r.push(e.start());else{const i=n(t,e,a);i&&r.push(e.start(i))}})),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return A(e,(e=>e.pause(...arguments))),this},t.resume=function(){return A(e,(e=>e.resume(...arguments))),this},t.set=function(t){A(e,((e,n)=>{const r=S.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return A(e,((e,r)=>{if(S.und(t))n.push(e.start());else{const a=this._getProps(t,e,r);a&&n.push(e.start(a))}})),n},t.stop=function(){return A(e,(e=>e.stop(...arguments))),this},t.update=function(t){return A(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return S.fun(e)?e(n,t):e};return t._getProps=n,t};function kn(e,t,n){const r=S.fun(t)&&t;r&&!n&&(n=[]);const a=(0,b.useMemo)((()=>r||3==arguments.length?In():void 0),[]),i=(0,b.useRef)(0),l=Qe(),o=(0,b.useMemo)((()=>({ctrls:[],queue:[],flush(e,t){const n=dn(e,t);return i.current>0&&!o.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?mn(e,t):new Promise((r=>{pn(e,n),o.queue.push((()=>{r(mn(e,t))})),l()}))}})),[]),s=(0,b.useRef)([...o.ctrls]),c=[],u=Xe(e)||0;function m(e,n){for(let a=e;a{A(s.current.slice(e,u),(e=>{Ct(e,a),e.stop(!0)})),s.current.length=e,m(u,e)}),[e]),(0,b.useMemo)((()=>{m(0,Math.min(u,e))}),n);const h=s.current.map(((e,t)=>dn(e,c[t]))),d=(0,b.useContext)(wn),p=Xe(d),g=d!==p&&Pt(d);qe((()=>{i.current++,o.ctrls=s.current;const{queue:e}=o;e.length&&(o.queue=[],A(e,(e=>e()))),A(s.current,((e,t)=>{a?.add(e),g&&e.start({default:d});const n=c[t];n&&(At(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),Be((()=>()=>{A(o.ctrls,(e=>e.stop(!0)))}));const f=h.map((e=>({...e})));return a?[f,a]:f}function Pn(e,t){const n=S.fun(e),[[r],a]=kn(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,a]:r}var Sn=class extends Ut{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=he(...t);const n=this._get(),r=ct(n);et(this,r.create(n))}advance(e){const t=this._get();C(t,this.get())||($e(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&An(this._active)&&xn(this)}_get(){const e=S.arr(this.source)?this.source.map(ke):_(ke(this.source));return this.calc(...e)}_start(){this.idle&&!An(this._active)&&(this.idle=!1,A(tt(this),(e=>{e.done=!1})),k.skipAnimation?(a.batchedUpdates((()=>this.advance())),xn(this)):z.start(this))}_attach(){let e=1;A(_(this.source),(t=>{Ie(t)&&xe(t,this),zt(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){A(_(this.source),(e=>{Ie(e)&&_e(e,this)})),this._active.clear(),xn(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=_(this.source).reduce(((e,t)=>Math.max(e,(zt(t)?t.priority:0)+1)),0))}};function Cn(e){return!1!==e.idle}function An(e){return!e.size||Array.from(e).every(Cn)}function xn(e){e.idle||(e.idle=!0,A(tt(e),(e=>{e.done=!0})),Se(e,{type:"idle",parent:e}))}k.assign({createStringInterpolator:Fe,to:(e,t)=>new Sn(e,t)});z.advance;var _n=n(961),Mn=/^--/;function Rn(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||Mn.test(e)||Tn.hasOwnProperty(e)&&Tn[e]?(""+t).trim():t+"px"}var jn={};var Tn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},On=["Webkit","Ms","Moz","O"];Tn=Object.keys(Tn).reduce(((e,t)=>(On.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),Tn);var Nn=/^(matrix|translate|scale|rotate|skew)/,Hn=/^(translate)/,Ln=/^(rotate|skew)/,Dn=(e,t)=>S.num(e)&&0!==e?e+t:e,Jn=(e,t)=>S.arr(e)?e.every((e=>Jn(e,t))):S.num(e)?e===t:parseFloat(e)===t,Fn=class extends lt{constructor({x:e,y:t,z:n,...r}){const a=[],i=[];(e||t||n)&&(a.push([e||0,t||0,n||0]),i.push((e=>[`translate3d(${e.map((e=>Dn(e,"px"))).join(",")})`,Jn(e,0)]))),x(r,((e,t)=>{if("transform"===t)a.push([e||""]),i.push((e=>[e,""===e]));else if(Nn.test(t)){if(delete r[t],S.und(e))return;const n=Hn.test(t)?"px":Ln.test(t)?"deg":"";a.push(_(e)),i.push("rotate3d"===t?([e,t,r,a])=>[`rotate3d(${e},${t},${r},${Dn(a,n)})`,Jn(a,0)]:e=>[`${t}(${e.map((e=>Dn(e,n))).join(",")})`,Jn(e,t.startsWith("scale")?1:0)])}})),a.length&&(r.transform=new Wn(a,i)),super(r)}},Wn=class extends Ce{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return A(this.inputs,((n,r)=>{const a=ke(n[0]),[i,l]=this.transforms[r](S.arr(a)?a:n.map(ke));e+=" "+i,t=t&&l})),t?"none":e}observerAdded(e){1==e&&A(this.inputs,(e=>A(e,(e=>Ie(e)&&xe(e,this)))))}observerRemoved(e){0==e&&A(this.inputs,(e=>A(e,(e=>Ie(e)&&_e(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),Se(this,e)}};k.assign({batchedUpdates:_n.unstable_batchedUpdates,createStringInterpolator:Fe,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var Yn=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new lt(e),getComponentProps:r=e=>e}={})=>{const a={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},i=e=>{const t=dt(e)||"Anonymous";return(e=S.str(e)?i[e]||(i[e]=ut(e,a)):e[ht]||(e[ht]=ut(e,a))).displayName=`Animated(${t})`,e};return x(e,((t,n)=>{S.arr(e)&&(n=dt(t)),i[n]=i(t)})),{animated:i}})(["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","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"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:a,children:i,scrollTop:l,scrollLeft:o,viewBox:s,...c}=t,u=Object.values(c),m=Object.keys(c).map((t=>n||e.hasAttribute(t)?t:jn[t]||(jn[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==i&&(e.textContent=i);for(const h in a)if(a.hasOwnProperty(h)){const t=Rn(h,a[h]);Mn.test(h)?e.style.setProperty(h,t):e.style[h]=t}m.forEach(((t,n)=>{e.setAttribute(t,u[n])})),void 0!==r&&(e.className=r),void 0!==l&&(e.scrollTop=l),void 0!==o&&(e.scrollLeft=o),void 0!==s&&e.setAttribute("viewBox",s)},createAnimatedStyle:e=>new Fn(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),zn=Yn.animated}}]); +//# sourceMappingURL=c2833e12b9a7c106fd87c0740348ec050af8d68c-81b1f35b8904e1ce78b2.js.map \ No newline at end of file diff --git a/c2833e12b9a7c106fd87c0740348ec050af8d68c-81b1f35b8904e1ce78b2.js.map b/c2833e12b9a7c106fd87c0740348ec050af8d68c-81b1f35b8904e1ce78b2.js.map new file mode 100644 index 00000000..fdb07c29 --- /dev/null +++ b/c2833e12b9a7c106fd87c0740348ec050af8d68c-81b1f35b8904e1ce78b2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"c2833e12b9a7c106fd87c0740348ec050af8d68c-81b1f35b8904e1ce78b2.js","mappings":"iRAIA,SAASA,IAcP,OAbAA,EAAWC,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GAC1D,IAAK,IAA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ACPC,MAAO,WACPC,WAAY,WACZC,OAAQ,WACRC,YAAa,cG0Cf,IAAIpf,GF/Da,EAACzZ,GAChBua,sBAAsB,KAAM,EAC5BL,sBAAuB/pB,GAAU,IAAI4oB,GAAe5oB,GACpD0qB,oBAAqBnsB,GAAUA,GAC7B,CAAC,KACH,MAAMoqC,EAAa,CACjBve,sBACAL,sBACAW,qBAEI7B,EAAYxpB,IAChB,MAAMoC,EAAcmpB,GAAevrB,IAAc,YAOjD,OALEA,EADE2b,EAAIpZ,IAAIvC,GACEwpB,EAASxpB,KAAewpB,EAASxpB,GAAagqB,GAAahqB,EAAWspC,IAEtEtpC,EAAUsrB,MAActrB,EAAUsrB,IAAYtB,GAAahqB,EAAWspC,KAE1ElnC,YAAc,YAAYA,KAC7BpC,CAAS,EAQlB,OANAic,EAAUzL,GAAY,CAACxQ,EAAWzD,KAC5Bof,EAAIxe,IAAIqT,KACVjU,EAAMgvB,GAAevrB,IAEvBwpB,EAASjtB,GAAOitB,EAASxpB,EAAU,IAE9B,CACLwpB,WACD,EEmCQ+f,CAhJM,CACf,IACA,OACA,UACA,OACA,UACA,QACA,QACA,IACA,OACA,MACA,MACA,MACA,aACA,OACA,KACA,SACA,SACA,UACA,OACA,OACA,MACA,WACA,OACA,WACA,KACA,MACA,UACA,MACA,SACA,MACA,KACA,KACA,KACA,QACA,WACA,aACA,SACA,SACA,OACA,KACA,KACA,KACA,KACA,KACA,KACA,OACA,SACA,SACA,KACA,OACA,IACA,SACA,MACA,QACA,MACA,MACA,SACA,QACA,SACA,KACA,OACA,OACA,MACA,OACA,OACA,WACA,OACA,QACA,MACA,WACA,SACA,KACA,WACA,SACA,SACA,IACA,QACA,UACA,MACA,WACA,IACA,KACA,KACA,OACA,IACA,OACA,SACA,UACA,SACA,QACA,SACA,OACA,SACA,QACA,MACA,UACA,MACA,QACA,QACA,KACA,WACA,QACA,KACA,QACA,OACA,QACA,KACA,QACA,IACA,KACA,MACA,QACA,MAEA,SACA,WACA,OACA,U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","sources":["webpack://emilia/./node_modules/@theme-ui/components/dist/theme-ui-components.esm.js","webpack://emilia/./node_modules/camelcase/index.js","webpack://emilia/../src/image-utils.ts","webpack://emilia/../src/components/hooks.ts","webpack://emilia/../src/components/layout-wrapper.tsx","webpack://emilia/../src/components/picture.tsx","webpack://emilia/../src/components/placeholder.tsx","webpack://emilia/../src/components/main-image.tsx","webpack://emilia/../src/components/gatsby-image.server.tsx","webpack://emilia/../src/components/gatsby-image.browser.tsx","webpack://emilia/../src/components/static-image.server.tsx","webpack://emilia/../src/components/static-image.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/components/header-background.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/components/colormode-toggle.tsx","webpack://emilia/./src/@lekoarts/gatsby-theme-emilia/texts/about-me.mdx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/components/footer.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/components/layout.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/hooks/use-site-metadata.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/components/seo.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/components/social-media-list.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/components/svg.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/hooks/use-emilia-config.tsx","webpack://emilia/./node_modules/theme-ui/dist/theme-ui.esm.js","webpack://emilia/./node_modules/core-js/internals/array-method-is-strict.js","webpack://emilia/./node_modules/core-js/internals/array-slice.js","webpack://emilia/./node_modules/core-js/internals/array-sort.js","webpack://emilia/./node_modules/core-js/internals/classof.js","webpack://emilia/./node_modules/core-js/internals/delete-property-or-throw.js","webpack://emilia/./node_modules/core-js/internals/environment-ff-version.js","webpack://emilia/./node_modules/core-js/internals/environment-is-ie-or-edge.js","webpack://emilia/./node_modules/core-js/internals/environment-webkit-version.js","webpack://emilia/./node_modules/core-js/internals/to-string-tag-support.js","webpack://emilia/./node_modules/core-js/internals/to-string.js","webpack://emilia/./node_modules/core-js/modules/es.array.sort.js","webpack://emilia/./node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.mjs","webpack://emilia/./node_modules/@react-spring/shared/dist/react-spring_shared.modern.mjs","webpack://emilia/./node_modules/@react-spring/animated/dist/react-spring_animated.modern.mjs","webpack://emilia/./node_modules/@react-spring/core/dist/react-spring_core.modern.mjs","webpack://emilia/./node_modules/@react-spring/web/dist/react-spring_web.modern.mjs"],"sourcesContent":["import { useTheme, jsx, keyframes } from '@emotion/react';\nimport React, { forwardRef } from 'react';\nimport { css, get } from '@theme-ui/css';\n\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n return arr2;\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _createForOfIteratorHelperLoose(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (it) return (it = it.call(o)).next.bind(it);\n\n if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n return function () {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nvar _excluded$g = [\"__themeKey\", \"__css\", \"variant\", \"css\", \"sx\", \"as\"];\nvar boxSystemProps = [// space scale props (inherited from @styled-system/space)\n'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'm', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', // color props (inherited from @styled-system/color)\n'color', 'backgroundColor', 'bg', 'opacity'];\n\n/**\n * @internal\n */\nvar __isBoxStyledSystemProp = function __isBoxStyledSystemProp(prop) {\n return boxSystemProps.includes(prop);\n};\n\nvar pickSystemProps = function pickSystemProps(props) {\n var res = {};\n\n for (var _iterator = _createForOfIteratorHelperLoose(boxSystemProps), _step; !(_step = _iterator()).done;) {\n var key = _step.value;\n res[key] = props[key];\n }\n\n return res;\n};\n/**\n * Use the Box component as a layout primitive to add margin, padding, and colors to content.\n * @see https://theme-ui.com/components/box\n */\n\n\nvar Box$1 = /*#__PURE__*/forwardRef(function Box(props, ref) {\n var theme = useTheme();\n\n var _ref = props,\n _ref$__themeKey = _ref.__themeKey,\n __themeKey = _ref$__themeKey === void 0 ? 'variants' : _ref$__themeKey,\n __css = _ref.__css,\n variant = _ref.variant,\n cssProp = _ref.css,\n sx = _ref.sx,\n _ref$as = _ref.as,\n Component = _ref$as === void 0 ? 'div' : _ref$as,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded$g);\n\n var baseStyles = {\n boxSizing: 'border-box',\n margin: 0,\n minWidth: 0\n };\n\n var __cssStyles = css(__css)(theme);\n\n var variantInTheme = get(theme, __themeKey + \".\" + variant) || get(theme, variant);\n var variantStyles = variantInTheme && css(variantInTheme)(theme);\n var sxPropStyles = css(sx)(theme);\n var systemPropsStyles = css(pickSystemProps(rest))(theme);\n var style = [baseStyles, __cssStyles, variantStyles, sxPropStyles, systemPropsStyles, cssProp];\n boxSystemProps.forEach(function (name) {\n delete rest[name];\n });\n return jsx(Component, _extends({\n ref: ref,\n css: style\n }, rest));\n});\n\n/**\n * Use the Flex component to create flexbox layouts.\n * @see https://theme-ui.com/components/flex\n */\nvar Flex = /*#__PURE__*/React.forwardRef(function Flex(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref\n }, props, {\n sx: _extends({\n display: 'flex'\n }, props.sx)\n }));\n});\n\nvar getProps = function getProps(test) {\n return function (props) {\n var next = {};\n\n for (var key in props) {\n if (test(key || '')) next[key] = props[key];\n }\n\n return next;\n };\n};\nvar MRE = /^m[trblxy]?$/;\nvar getMargin = getProps(function (k) {\n return MRE.test(k);\n});\nvar omitMargin = getProps(function (k) {\n return !MRE.test(k);\n});\n/** @internal */\n\nfunction __internalProps(props) {\n return props;\n}\n/**\n * @internal Props used by Theme UI Components not intended for user code.\n */\n\nvar _excluded$f = [\"width\", \"columns\", \"gap\", \"repeat\"];\n\nvar px = function px(n) {\n return typeof n === 'number' ? n + 'px' : n;\n};\n\nvar singleWidthToColumns = function singleWidthToColumns(width, repeat) {\n return width ? \"repeat(auto-\" + repeat + \", minmax(\" + px(width) + \", 1fr))\" : null;\n};\n\nvar widthToColumns = function widthToColumns(width, repeat) {\n return Array.isArray(width) ? width.map(function (w) {\n return singleWidthToColumns(w, repeat);\n }) : singleWidthToColumns(width, repeat);\n};\n\nvar singleCountToColumns = function singleCountToColumns(n) {\n return n ? typeof n === 'number' ? \"repeat(\" + n + \", 1fr)\" : n : null;\n};\n\nvar countToColumns = function countToColumns(n) {\n return Array.isArray(n) ? n.map(singleCountToColumns) : singleCountToColumns(n);\n};\n\n/**\n * CSS grid layout component to arrange direct child elements in a tiled grid layout.\n * @see https://theme-ui.com/components/grid\n */\nvar Grid = /*#__PURE__*/React.forwardRef(function Grid(_ref, ref) {\n var width = _ref.width,\n columns = _ref.columns,\n _ref$gap = _ref.gap,\n gap = _ref$gap === void 0 ? 3 : _ref$gap,\n _ref$repeat = _ref.repeat,\n repeat = _ref$repeat === void 0 ? 'fit' : _ref$repeat,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$f);\n\n var gridTemplateColumns = !!width ? widthToColumns(width, repeat) : countToColumns(columns);\n var __css = {\n display: 'grid',\n gridGap: gap,\n gridTemplateColumns: gridTemplateColumns\n };\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref\n }, props, __internalProps({\n __themeKey: 'grids',\n __css: __css\n })));\n});\n\nvar Box = Box$1;\n\n/**\n * Primitive button component with variants\n * @see https://theme-ui.com/components/button\n */\nvar Button = /*#__PURE__*/React.forwardRef(function Button(props, ref) {\n return /*#__PURE__*/React.createElement(Box, _extends({\n ref: ref,\n as: \"button\",\n variant: \"primary\"\n }, props, __internalProps({\n __themeKey: 'buttons',\n __css: {\n appearance: 'none',\n display: props.hidden ? undefined : 'inline-block',\n textAlign: 'center',\n lineHeight: 'inherit',\n textDecoration: 'none',\n fontSize: 'inherit',\n px: 3,\n py: 2,\n color: 'white',\n bg: 'primary',\n border: 0,\n borderRadius: 4\n }\n })));\n});\n\n/**\n * Link variants can be defined in the `theme.links` object.\n * By default the Link component will use styles defined in `theme.styles.a`.\n * @see https://theme-ui.com/components/link\n */\nvar Link = /*#__PURE__*/React.forwardRef(function Link(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"a\",\n variant: \"styles.a\"\n }, props, __internalProps({\n __themeKey: 'links'\n })));\n});\n\n/**\n * Primitive typographic component.\n *\n * Text style variants can be defined in the theme.text object.\n * The Paragraph component uses theme.text.paragraph as its default variant style.\n * @see https://theme-ui.com/components/paragraph\n */\nvar Paragraph = /*#__PURE__*/React.forwardRef(function Paragraph(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"p\",\n variant: \"paragraph\"\n }, props, __internalProps({\n __themeKey: 'text',\n __css: {\n fontFamily: 'body',\n fontWeight: 'body',\n lineHeight: 'body'\n }\n })));\n});\n\n/**\n * Primitive typographic component.\n *\n * Text style variants can be defined in the theme.text object.\n * @see https://theme-ui.com/components/text\n */\nvar Text = /*#__PURE__*/React.forwardRef(function Text(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n as: \"span\",\n ref: ref,\n variant: \"default\"\n }, props, __internalProps({\n __themeKey: 'text'\n })));\n});\n\n/**\n * Primitive heading component, defaults to

.\n *\n * Text style variants can be defined in the theme.text object.\n * The Heading component uses theme.text.heading as its default variant style.\n * @see https://theme-ui.com/components/heading\n */\nvar Heading = /*#__PURE__*/React.forwardRef(function Heading(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"h2\",\n variant: \"heading\"\n }, props, __internalProps({\n __themeKey: 'text',\n __css: {\n fontFamily: 'heading',\n fontWeight: 'heading',\n lineHeight: 'heading'\n }\n })));\n});\n\n/**\n * Image style variants can be defined in the theme.images object.\n * @see https://theme-ui.com/components/image/\n */\nvar Image = /*#__PURE__*/React.forwardRef(function Image(props, ref) {\n var __outerCss = props.__css;\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"img\"\n }, props, __internalProps({\n __themeKey: 'images',\n __css: _extends({\n maxWidth: '100%',\n height: 'auto'\n }, __outerCss)\n })));\n});\n\n/**\n * Card style variants can be defined in the `theme.cards` object.\n * By default the Card component uses the `theme.cards.primary` variant.\n * @see https://theme-ui.com/components/card\n */\nvar Card = /*#__PURE__*/React.forwardRef(function Card(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n variant: \"primary\"\n }, props, __internalProps({\n __themeKey: 'cards'\n })));\n});\n\n/**\n * Label variants can be defined in `theme.forms`\n * and the component uses the `theme.forms.label` variant by default.\n * @see https://theme-ui.com/components/label/\n */\nvar Label = /*#__PURE__*/React.forwardRef(function Label(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"label\",\n variant: \"label\"\n }, props, __internalProps({\n __themeKey: 'forms',\n __css: {\n width: '100%',\n display: 'flex'\n }\n })));\n});\n\nvar _excluded$e = [\"sx\", \"autofillBackgroundColor\"];\nvar autofillStyles = {\n boxShadow: 'inset 0 0 0 1000px var(--theme-ui-input-autofill-bg)',\n fontSize: 'inherit',\n ':first-line': {\n fontSize: '1rem'\n }\n};\nvar defaultInputStyles = {\n display: 'block',\n width: '100%',\n p: 2,\n appearance: 'none',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n border: '1px solid',\n borderRadius: 4,\n color: 'inherit',\n bg: 'transparent',\n ':autofill, :autofill:hover, :autofill:focus': autofillStyles,\n ':-webkit-autofill, :-webkit-autofill:hover, :-webkit-autofill:focus': autofillStyles\n};\n\n/**\n * Input variants can be defined in `theme.forms`\n * and the component uses the `theme.forms.input` variant by default.\n * @see https://theme-ui.com/components/input/\n */\nvar Input = /*#__PURE__*/React.forwardRef(function Input(_ref, ref) {\n var sx = _ref.sx,\n _ref$autofillBackgrou = _ref.autofillBackgroundColor,\n autofillBackgroundColor = _ref$autofillBackgrou === void 0 ? 'background' : _ref$autofillBackgrou,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded$e);\n\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"input\",\n variant: \"input\",\n sx: _extends({\n '--theme-ui-input-autofill-bg': function themeUiInputAutofillBg(theme) {\n return theme.colors && get(theme.colors, autofillBackgroundColor, null);\n }\n }, sx)\n }, rest, __internalProps({\n __themeKey: 'forms',\n __css: defaultInputStyles\n })));\n});\n\nvar _excluded$d = [\"size\"];\nvar SVG = /*#__PURE__*/React.forwardRef(function SVG(_ref, ref) {\n var _ref$size = _ref.size,\n size = _ref$size === void 0 ? 24 : _ref$size,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded$d);\n\n var svgProps = _extends({\n xmlns: 'http://www.w3.org/2000/svg',\n width: size,\n height: size,\n viewBox: '0 0 24 24',\n fill: 'currentcolor'\n }, rest);\n\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"svg\"\n }, svgProps));\n});\nSVG.displayName = 'SVG';\n\nvar _excluded$c = [\"arrow\"];\n\nvar DownArrow = function DownArrow(props) {\n return /*#__PURE__*/React.createElement(SVG, props, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 10l5 5 5-5z\"\n }));\n};\n\n/**\n * Select variants can be defined in `theme.forms`\n * and the component uses the `theme.forms.select` variant by default.\n * @see https://theme-ui.com/components/select/\n */\nvar Select = /*#__PURE__*/React.forwardRef(function Select(_ref, ref) {\n var arrow = _ref.arrow,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$c);\n\n var __css = {\n display: 'block',\n width: '100%',\n p: 2,\n paddingRight: 4,\n appearance: 'none',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n border: '1px solid',\n borderRadius: 4,\n color: 'inherit',\n backgroundColor: function backgroundColor(theme) {\n return get(theme, 'colors.background', null);\n }\n };\n return /*#__PURE__*/React.createElement(Box$1, _extends({}, getMargin(props), {\n sx: {\n display: 'flex'\n }\n }), /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"select\",\n variant: \"select\"\n }, omitMargin(props), __internalProps({\n __themeKey: 'forms',\n __css: __css\n }))), arrow || /*#__PURE__*/React.createElement(DownArrow, {\n sx: {\n ml: -28,\n alignSelf: 'center',\n pointerEvents: 'none'\n }\n }));\n});\n\n/**\n * Form textarea component\n *\n * Textarea variants can be defined in `theme.forms`\n * and the component uses the `theme.forms.textarea` variant by default.\n * @see https://theme-ui.com/components/textarea/\n */\nvar Textarea = /*#__PURE__*/React.forwardRef(function Textarea(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"textarea\",\n variant: \"textarea\"\n }, props, __internalProps({\n __themeKey: 'forms',\n __css: {\n display: 'block',\n width: '100%',\n p: 2,\n appearance: 'none',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n border: '1px solid',\n borderRadius: 4,\n color: 'inherit',\n bg: 'transparent'\n }\n })));\n});\n\nvar _excluded$b = [\"className\", \"sx\", \"variant\"];\n\nvar RadioChecked = function RadioChecked(props) {\n return /*#__PURE__*/React.createElement(SVG, props, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n }));\n};\n\nvar RadioUnchecked = function RadioUnchecked(props) {\n return /*#__PURE__*/React.createElement(SVG, props, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n }));\n};\n\nvar RadioIcon = function RadioIcon(props) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(RadioChecked, _extends({}, props, __internalProps({\n __css: {\n display: 'none',\n 'input:checked ~ &': {\n display: 'block'\n }\n }\n }))), /*#__PURE__*/React.createElement(RadioUnchecked, _extends({}, props, __internalProps({\n __css: {\n display: 'block',\n 'input:checked ~ &': {\n display: 'none'\n }\n }\n }))));\n};\n\n/**\n * Form radio input component\n *\n * Radio variants can be defined in `theme.forms` and the\n * component uses the `theme.forms.radio variant` by default.\n * @see https://theme-ui.com/components/radio/\n */\nvar Radio = /*#__PURE__*/React.forwardRef(function Radio(_ref, ref) {\n var className = _ref.className,\n sx = _ref.sx,\n _ref$variant = _ref.variant,\n variant = _ref$variant === void 0 ? 'radio' : _ref$variant,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$b);\n\n return /*#__PURE__*/React.createElement(Box$1, {\n sx: {\n minWidth: 'min-content'\n }\n }, /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"input\",\n type: \"radio\"\n }, props, {\n sx: {\n position: 'absolute',\n opacity: 0,\n zIndex: -1,\n width: 1,\n height: 1,\n overflow: 'hidden'\n }\n })), /*#__PURE__*/React.createElement(Box$1, _extends({\n as: RadioIcon,\n \"aria-hidden\": \"true\",\n variant: variant,\n className: className,\n sx: sx\n }, __internalProps({\n __themeKey: 'forms',\n __css: {\n mr: 2,\n borderRadius: 9999,\n color: 'gray',\n flexShrink: 0,\n 'input:checked ~ &': {\n color: 'primary'\n },\n 'input:focus ~ &': {\n bg: 'highlight'\n }\n }\n }))));\n});\n\nvar _excluded$a = [\"className\", \"sx\", \"variant\", \"children\"];\n\nvar CheckboxChecked = function CheckboxChecked(props) {\n return /*#__PURE__*/React.createElement(SVG, props, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z\"\n }));\n};\n\nvar CheckboxUnchecked = function CheckboxUnchecked(props) {\n return /*#__PURE__*/React.createElement(SVG, props, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\"\n }));\n};\n\nvar CheckboxIcon = function CheckboxIcon(props) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(CheckboxChecked, _extends({}, props, __internalProps({\n __css: {\n display: 'none',\n 'input:checked ~ &': {\n display: 'block'\n }\n }\n }))), /*#__PURE__*/React.createElement(CheckboxUnchecked, _extends({}, props, __internalProps({\n __css: {\n display: 'block',\n 'input:checked ~ &': {\n display: 'none'\n }\n }\n }))));\n};\n\n/**\n * Form checkbox input component\n *\n * Checkbox variants can be defined in `theme.forms` and the\n * component uses the `theme.forms.checkbox` variant by default.\n * @see https://theme-ui.com/components/checkbox/\n */\nvar Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(_ref, ref) {\n var className = _ref.className,\n sx = _ref.sx,\n _ref$variant = _ref.variant,\n variant = _ref$variant === void 0 ? 'checkbox' : _ref$variant,\n children = _ref.children,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$a);\n\n return /*#__PURE__*/React.createElement(Box$1, {\n sx: {\n minWidth: 'min-content'\n }\n }, /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"input\",\n type: \"checkbox\"\n }, props, {\n sx: {\n position: 'absolute',\n opacity: 0,\n zIndex: -1,\n width: 1,\n height: 1,\n overflow: 'hidden'\n }\n })), /*#__PURE__*/React.createElement(Box$1, _extends({\n as: CheckboxIcon,\n \"aria-hidden\": \"true\",\n variant: variant,\n className: className,\n sx: sx\n }, __internalProps({\n __themeKey: 'forms',\n __css: {\n mr: 2,\n borderRadius: 4,\n color: 'gray',\n flexShrink: 0,\n 'input:checked ~ &': {\n color: 'primary'\n },\n 'input:focus ~ &': {\n color: 'primary',\n bg: 'highlight'\n }\n }\n }))), children);\n});\n\nvar _excluded$9 = [\"className\", \"label\", \"sx\", \"variant\"];\nvar GUTTER = 2;\nvar SIZE = 18;\n\n/**\n * Form switch component\n *\n * Switch variants can be defined in `theme.forms`\n * and the component uses the `theme.forms.switch` variant by default.\n */\nvar Switch = /*#__PURE__*/React.forwardRef(function Switch(_ref, ref) {\n var className = _ref.className,\n label = _ref.label,\n sx = _ref.sx,\n _ref$variant = _ref.variant,\n variant = _ref$variant === void 0 ? 'switch' : _ref$variant,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded$9);\n\n var __css = {\n position: 'relative',\n flexShrink: 0,\n bg: 'gray',\n borderRadius: SIZE,\n height: SIZE + GUTTER * 2,\n width: SIZE * 2 + GUTTER * 2,\n mr: 2,\n 'input:disabled ~ &': {\n opacity: 0.5,\n cursor: 'not-allowed'\n },\n '& > div': {\n display: 'flex',\n alignItems: 'center',\n borderRadius: '50%',\n height: SIZE,\n width: SIZE,\n bg: 'white',\n boxShadow: '0 1px 2px rgba(0, 0, 0, 0.1)',\n position: 'relative',\n transform: 'translateX(0%)',\n transition: \"transform 240ms cubic-bezier(0.165, 0.840, 0.440, 1.000)\"\n },\n 'input:checked ~ &': {\n bg: 'primary',\n '> div': {\n transform: 'translateX(100%)'\n }\n }\n };\n return /*#__PURE__*/React.createElement(Label, {\n sx: {\n cursor: 'pointer'\n }\n }, /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"input\",\n type: \"checkbox\",\n \"aria-label\": label\n }, rest, {\n sx: {\n position: 'absolute',\n opacity: 0,\n zIndex: -1,\n width: 1,\n height: 1,\n overflow: 'hidden'\n }\n }, __internalProps({\n __themeKey: 'forms'\n }))), /*#__PURE__*/React.createElement(Box$1, _extends({\n css: {\n padding: GUTTER\n },\n variant: variant,\n className: className,\n sx: sx\n }, __internalProps({\n __themeKey: 'forms',\n __css: __css\n })), /*#__PURE__*/React.createElement(Box$1, null)), /*#__PURE__*/React.createElement(\"span\", null, label));\n});\n\nvar thumbStyle = {\n appearance: 'none',\n width: 16,\n height: 16,\n bg: 'currentcolor',\n border: 0,\n borderRadius: 9999,\n variant: 'forms.slider.thumb'\n};\nvar sliderStyle = {\n display: 'block',\n width: '100%',\n height: 4,\n my: 2,\n cursor: 'pointer',\n appearance: 'none',\n borderRadius: 9999,\n color: 'inherit',\n bg: 'gray',\n ':focus': {\n outline: 'none',\n color: 'primary'\n },\n '&::-webkit-slider-thumb': thumbStyle,\n '&::-moz-range-thumb': thumbStyle,\n '&::-ms-thumb': thumbStyle\n};\n\n/**\n * Range input element\n *\n * Slider variants can be defined in the `theme.forms` object.\n * The Slider component uses `theme.forms.slider` as its default variant style.\n * @see https://theme-ui.com/components/slider/\n */\nvar Slider = /*#__PURE__*/React.forwardRef(function Slider(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"input\",\n type: \"range\",\n variant: \"slider\"\n }, props, __internalProps({\n __themeKey: 'forms',\n __css: sliderStyle\n })));\n});\n\nvar _excluded$8 = [\"as\", \"label\", \"id\", \"name\"];\nvar Field = /*#__PURE__*/React.forwardRef(function Field(_ref, ref) {\n var _ref$as = _ref.as,\n Control = _ref$as === void 0 ? Input : _ref$as,\n label = _ref.label,\n id = _ref.id,\n name = _ref.name,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded$8);\n\n var fieldIdentifier = id || name;\n\n var controlProps = _extends({\n ref: ref,\n name: name,\n id: fieldIdentifier\n }, omitMargin(rest));\n\n return /*#__PURE__*/React.createElement(Box$1, getMargin(rest), /*#__PURE__*/React.createElement(Label, {\n htmlFor: fieldIdentifier\n }, label), /*#__PURE__*/React.createElement(Control, controlProps));\n}); // Field is generic bcs of `as` prop, so we can't just use types from forwardRef\n\n/**\n * Horizontal `` bar\n * @see https://theme-ui.com/components/progress/\n */\nvar Progress = /*#__PURE__*/React.forwardRef(function Progress(props, ref) {\n var __css = {\n display: 'block',\n width: '100%',\n height: '4px',\n margin: 0,\n padding: 0,\n overflow: 'hidden',\n appearance: 'none',\n color: 'primary',\n bg: 'gray',\n borderRadius: 9999,\n border: 'none',\n '&::-webkit-progress-bar': {\n bg: 'transparent'\n },\n '&::-webkit-progress-value': {\n bg: 'currentcolor'\n },\n '&::-moz-progress-bar': {\n bg: 'currentcolor'\n }\n };\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"progress\",\n variant: \"styles.progress\"\n }, props, __internalProps({\n __css: __css\n })));\n});\n\nvar _excluded$7 = [\"size\", \"strokeWidth\", \"value\", \"min\", \"max\", \"title\"];\n\n/**\n * Single value SVG donut chart\n * @see https://theme-ui.com/components/donut/\n */\nvar Donut = /*#__PURE__*/React.forwardRef(function Donut(_ref, ref) {\n var _ref$size = _ref.size,\n size = _ref$size === void 0 ? 128 : _ref$size,\n _ref$strokeWidth = _ref.strokeWidth,\n strokeWidth = _ref$strokeWidth === void 0 ? 2 : _ref$strokeWidth,\n _ref$value = _ref.value,\n value = _ref$value === void 0 ? 0 : _ref$value,\n _ref$min = _ref.min,\n min = _ref$min === void 0 ? 0 : _ref$min,\n _ref$max = _ref.max,\n max = _ref$max === void 0 ? 1 : _ref$max,\n title = _ref.title,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$7);\n\n var r = 16 - (typeof strokeWidth === 'number' ? strokeWidth : parseFloat(strokeWidth));\n var C = 2 * r * Math.PI;\n var offset = C - (value - min) / (max - min) * C;\n var svgProps = {\n strokeWidth: strokeWidth,\n viewBox: '0 0 32 32',\n width: size,\n height: size,\n fill: 'none',\n stroke: 'currentcolor'\n };\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"svg\",\n role: \"img\",\n \"aria-valuenow\": value,\n \"aria-valuemin\": min,\n \"aria-valuemax\": max\n }, svgProps, props, __internalProps({\n __css: {\n color: 'primary'\n }\n })), title && /*#__PURE__*/React.createElement(\"title\", null, title), /*#__PURE__*/React.createElement(\"circle\", {\n cx: 16,\n cy: 16,\n r: r,\n opacity: 1 / 8\n }), /*#__PURE__*/React.createElement(\"circle\", {\n cx: 16,\n cy: 16,\n r: r,\n strokeDasharray: C,\n strokeDashoffset: offset,\n transform: \"rotate(-90 16 16)\"\n }));\n});\n\nvar _excluded$6 = [\"size\", \"strokeWidth\", \"max\", \"title\", \"duration\"];\nvar spin = keyframes({\n from: {\n transform: 'rotate(0deg)'\n },\n to: {\n transform: 'rotate(360deg)'\n }\n});\nvar Spinner = /*#__PURE__*/React.forwardRef(function Spinner(_ref, ref) {\n var _ref$size = _ref.size,\n size = _ref$size === void 0 ? 48 : _ref$size,\n _ref$strokeWidth = _ref.strokeWidth,\n strokeWidth = _ref$strokeWidth === void 0 ? 4 : _ref$strokeWidth;\n _ref.max;\n var _ref$title = _ref.title,\n title = _ref$title === void 0 ? 'Loading...' : _ref$title,\n _ref$duration = _ref.duration,\n duration = _ref$duration === void 0 ? 500 : _ref$duration,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$6);\n\n var r = 16 - strokeWidth;\n var C = 2 * r * Math.PI;\n var offset = C - 1 / 4 * C;\n var __css = {\n color: 'primary',\n overflow: 'visible'\n };\n var circleProps = {\n cx: 16,\n cy: 16,\n r: r,\n strokeDasharray: C,\n strokeDashoffset: offset\n };\n var __circleCss = {\n transformOrigin: '50% 50%',\n animationName: spin.toString(),\n animationTimingFunction: 'linear',\n animationDuration: duration + 'ms',\n animationIterationCount: 'infinite'\n };\n var svgProps = {\n strokeWidth: strokeWidth,\n viewBox: '0 0 32 32',\n width: size,\n height: size,\n fill: 'none',\n stroke: 'currentColor',\n role: 'img'\n };\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"svg\"\n }, svgProps, props, __internalProps({\n __css: __css\n })), /*#__PURE__*/React.createElement(\"title\", null, title), /*#__PURE__*/React.createElement(\"circle\", {\n cx: 16,\n cy: 16,\n r: r,\n opacity: 1 / 8\n }), /*#__PURE__*/React.createElement(Box$1, _extends({\n as: \"circle\"\n }, circleProps, __internalProps({\n __css: __circleCss\n }))));\n});\n\nvar _excluded$5 = [\"size\"];\nvar Avatar = /*#__PURE__*/React.forwardRef(function Avatar(_ref, ref) {\n var _ref$size = _ref.size,\n size = _ref$size === void 0 ? 48 : _ref$size,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$5);\n\n return /*#__PURE__*/React.createElement(Image, _extends({\n ref: ref,\n width: size,\n height: size,\n variant: \"avatar\"\n }, props, __internalProps({\n __css: {\n borderRadius: 9999\n }\n })));\n});\n\nvar Badge = /*#__PURE__*/React.forwardRef(function Badge(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n variant: \"primary\"\n }, props, __internalProps({\n __themeKey: 'badges',\n __css: {\n display: 'inline-block',\n verticalAlign: 'baseline',\n fontSize: 0,\n fontWeight: 'bold',\n whiteSpace: 'nowrap',\n px: 1,\n borderRadius: 2,\n color: 'white',\n bg: 'primary'\n }\n })));\n});\n\nvar _excluded$4 = [\"size\"];\n\n/**\n * Transparent button for SVG icons\n *\n * IconButton variants can be defined in the `theme.buttons` object.\n * By default the IconButton component will use styles defined in `theme.buttons.icon`.\n *\n * @see https://theme-ui.com/components/icon-button\n */\nvar IconButton = /*#__PURE__*/React.forwardRef(function IconButton(_ref, ref) {\n var _css;\n\n var _ref$size = _ref.size,\n size = _ref$size === void 0 ? 32 : _ref$size,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$4);\n\n var emotionCssLabel = ((_css = props.__css) == null ? void 0 : _css.label) || 'IconButton';\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"button\",\n variant: \"icon\"\n }, props, __internalProps({\n __themeKey: 'buttons',\n __css: {\n label: emotionCssLabel,\n appearance: 'none',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n padding: 1,\n width: size,\n height: size,\n color: 'inherit',\n bg: 'transparent',\n border: 'none',\n borderRadius: 4\n }\n })));\n});\n\nvar _excluded$3 = [\"size\"];\nvar CloseIcon = /*#__PURE__*/React.createElement(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"24\",\n height: \"24\",\n fill: \"currentColor\",\n viewBox: \"0 0 24 24\"\n}, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\n}));\n\n/**\n * Button with close (×) icon.\n *\n * The Close component renders as a \n)\n\ninterface ITogglePrimitiveProps {\n fallback?: React.ReactNode\n}\n\nconst TogglePrimitive: React.FC> = ({\n children,\n fallback = undefined,\n}) => {\n const [mounted, setMounted] = React.useState(false)\n\n React.useEffect(() => {\n setMounted(true)\n }, [])\n\n if (!mounted) {\n if (!fallback) {\n return null\n }\n return {fallback}\n }\n\n return {children}\n}\n\nconst ColorModeToggle = () => {\n const [colorMode, setColorMode] = useColorMode<\"light\" | \"dark\">()\n const isDark = colorMode === `dark`\n\n return (\n \n
Toggle Mode
\n }>\n {\n const next = isDark ? `light` : `dark`\n setColorMode(next)\n document.documentElement.classList.value = `theme-ui-${next}`\n }}\n type=\"button\"\n aria-label={isDark ? `Activate Light mode` : `Activate Dark mode`}\n title={isDark ? `Activate Light mode` : `Activate Dark mode`}\n sx={buttonBaseStyles}\n >\n (isDark ? `4px solid ${get(t, `colors.toggleIcon`)}` : `none`),\n backgroundColor: isDark ? `toggleIcon` : `transparent`,\n transform: isDark ? `scale(0.55)` : `scale(1)`,\n overflow: isDark ? `visible` : `hidden`,\n boxShadow: (t) => (isDark ? `none` : `inset 8px -8px 0px 0px ${get(t, `colors.toggleIcon`)}`),\n \"&:before\": {\n ...iconBaseStyles[`&:before`],\n border: (t) => (isDark ? `2px solid ${get(t, `colors.toggleIcon`)}` : `none`),\n transform: isDark ? `translate(14px, -14px)` : `translate(0, 0)`,\n opacity: isDark ? 0 : 1,\n },\n \"&:after\": {\n ...iconBaseStyles[`&:after`],\n transform: isDark ? `scale(1)` : `scale(0)`,\n },\n }}\n />\n \n \n
\n )\n}\n\nexport default ColorModeToggle\n","/*@jsxRuntime classic @jsx React.createElement @jsxFrag React.Fragment*/\nimport {useMDXComponents as _provideComponents} from \"@mdx-js/react\";\nimport React from \"react\";\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n h2: \"h2\",\n p: \"p\",\n a: \"a\",\n br: \"br\",\n strong: \"strong\",\n hr: \"hr\",\n ul: \"ul\",\n li: \"li\",\n h3: \"h3\",\n h4: \"h4\",\n ol: \"ol\"\n }, _provideComponents(), props.components);\n return React.createElement(React.Fragment, null, React.createElement(_components.h2, null, \"About Me\"), \"\\n\", React.createElement(_components.p, null, \"(En)\\r\\nNaoto Nishida is a 1st year PhD candidate in the Graduate School of Interdisciplinary Information Studies, at \", React.createElement(_components.a, {\n href: \"https://www.iii.u-tokyo.ac.jp/\"\n }, \"University of Tokyo\"), \", working with \", React.createElement(_components.a, {\n href: \"https://lab.rekimoto.org/members/yoshio-ishiguro/\"\n }, \"Yoshio Ishiguro\"), \" and \", React.createElement(_components.a, {\n href: \"https://lab.rekimoto.org/members/rekimoto/\"\n }, \"Jun Rekimoto\"), \".\\r\\nPreviously, I was working with Prof. \", React.createElement(_components.a, {\n href: \"https://lab.rekimoto.org/members/rekimoto/\"\n }, \"Jun Rekimoto\"), \" in my master's, with Prof. \", React.createElement(_components.a, {\n href: \"https://www.iplab.cs.tsukuba.ac.jp/~shizuki/index-e.html\"\n }, \"Buntarou Shizuki\"), \" in my bachelor's, with Prof. \", React.createElement(_components.a, {\n href: \"https://hci.prof/\"\n }, \"Xiang Anthony Chen\"), \" while I was a visiting scholar at \", React.createElement(_components.a, {\n href: \"https://www.ucla.edu/\"\n }, \"UCLA\"), \", and Dr. \", React.createElement(_components.a, {\n href: \"https://sites.google.com/view/ikema2\"\n }, \"Kaori Ikematsu\"), \" while my internship at Yahoo!JAPAN.\\r\\nHis research interests lie widely in Human-Computer Interaction, Human-AI Interaction, Natural Language Processing and Machine Learning, especially ones relevant to language, learning, or communication(e.g., AI-based learning, AI-assisted communication, etc).\"), \"\\n\", React.createElement(_components.p, null, \"(Ja)\\r\\n\", React.createElement(_components.a, {\n href: \"https://www.iii.u-tokyo.ac.jp/\"\n }, \"東京大学大学院学際情報学府\"), \"の博士1年生です (指導教員:\", React.createElement(_components.a, {\n href: \"https://lab.rekimoto.org/members/yoshio-ishiguro/\"\n }, \"石黒祥生\"), \"先生, 副指導: \", React.createElement(_components.a, {\n href: \"https://lab.rekimoto.org/members/rekimoto/\"\n }, \"暦本純一\"), \"先生).\\r\\n修士時代には\", React.createElement(_components.a, {\n href: \"https://lab.rekimoto.org/members/rekimoto/\"\n }, \"暦本純一\"), \"先生,学部時代には\", React.createElement(_components.a, {\n href: \"https://www.iplab.cs.tsukuba.ac.jp/~shizuki/\"\n }, \"志築文太郎\"), \"先生,\", React.createElement(_components.a, {\n href: \"https://www.ucla.edu/\"\n }, \"UCLA\"), \"の留学時代には\", React.createElement(_components.a, {\n href: \"https://hci.prof/\"\n }, \"Xiang Anthony Chen\"), \"先生,Yahoo!JAPAN研究所でのインターン時代には\", React.createElement(_components.a, {\n href: \"https://sites.google.com/view/ikema2\"\n }, \"池松香\"), \"先生にお世話になっていました.\", React.createElement(_components.br), \"\\n\", \"言語学習,映画鑑賞,フリーマーケット巡りおよびスポーツ(柔術,登山)が好きです.\", React.createElement(_components.br), \"\\n\", \"AIと人間のインタラクション(例えばAIを用いた学習支援や技能習得,AIとの対話など)に興味があります.\"), \"\\n\", React.createElement(_components.p, null, React.createElement(_components.strong, null, React.createElement(\"u\", null, React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1N6G3iBiAMTbzCHQg2jKHWKBHp70PWHFQ/view?usp=sharing\"\n }, \"Curriculum Vitae\")))), \"\\n\", React.createElement(_components.p, null, React.createElement(_components.strong, null, \"Email:\"), \" nawta [at] g.ecc.u-tokyo.ac.jp\"), \"\\n\", React.createElement(_components.p, null, React.createElement(_components.strong, null, \"Address:\"), \" Room A102, Daiwa Ubiquitous Computing Research Building, 7-3-1, Hongo, Bunkyo-ku, Tokyo 113-8654, Japan.\"), \"\\n\", React.createElement(_components.hr), \"\\n\", React.createElement(_components.h2, null, \"News\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.12 One paper got accepted to \", React.createElement(_components.a, {\n href: \"https://iui.acm.org/2025/\"\n }, \"IUI 2025\"), \"!\"), \"\\n\", React.createElement(_components.li, null, \"2024.12 Received Leave a Nest Grant Incu-be Incentive Award!\"), \"\\n\", React.createElement(_components.li, null, \"2024.12 Enjoyed SV at SIGGRAPH Asia 2024:)\"), \"\\n\", React.createElement(_components.li, null, \"2024.11 Participating \", React.createElement(_components.a, {\n href: \"https://www.acc.go.kr/en/event.do?PID=0302&action=Read&bnkey=EM_0000007969\"\n }, \"ACC CREATORS Residency 2024\"), \" as a collaborator with \", React.createElement(_components.a, {\n href: \"https://ryutaaoki.jp/\"\n }, \"Ryuta Aoki\"), \"'s artwork :)\"), \"\\n\"), \"\\n\", React.createElement(\"small\", null, React.createElement(\"details\", null, React.createElement(\"summary\", null, \"Read More\"), React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.10 Enjoyed my stay at Pittsburgh! Yeee!\"), \"\\n\", React.createElement(_components.li, null, \"2024.10 Submitted One paper to \", React.createElement(_components.a, {\n href: \"https://iui.acm.org/2025/\"\n }, \"IUI 2025\"), \"!\"), \"\\n\", React.createElement(_components.li, null, \"2024.08 One demo paper got accepted \", React.createElement(_components.a, {\n href: \"https://uist.acm.org/2024/\"\n }, \"UIST 2024\"), \"!\"), \"\\n\", React.createElement(_components.li, null, \"2024.03 I graduated from my master's! now I'm a PhD candidate!\"), \"\\n\", React.createElement(_components.li, null, \"2024.02 My course work on reinforcement learning got selected as one of the excellent works! Check our \", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1ZxZ6zm2DwHUqnFqtQskJjIxW03lqxJpg/view?usp=sharing\"\n }, \"paper\"), \" and \", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/131KIxNktSpwvC5Ta4RMRBIVFFKvPB380/view?usp=sharing\"\n }, \"poster\")), \"\\n\", React.createElement(_components.li, null, \"2024.02 My work got awarded at Telecommunication Interdisciplinary Research Award!\"), \"\\n\", React.createElement(_components.li, null, \"2024.02 Our work was selected as an Excellent Work at \", React.createElement(_components.a, {\n href: \"https://deeplearning.jp/lectures/world-model-2023/\"\n }, \"World Model and Intelligence\"), \" Final Course Project\"), \"\\n\", React.createElement(_components.li, null, \"2024.02 We got Best Prototype Award at \", React.createElement(_components.a, {\n href: \"https://tei.acm.org/2024/\"\n }, \"TEI 2024\"), \" Student Design Competition!\"), \"\\n\", React.createElement(_components.li, null, \"2024.02 One paper got accepted to \", React.createElement(_components.a, {\n href: \"https://sites.google.com/cluster.mu/1st-ws-seamless-reality/\"\n }, \"IEEE VR 2024 Workshop\")), \"\\n\", React.createElement(_components.li, null, \"2024.01 I defended my master's thesis!\"), \"\\n\", React.createElement(_components.li, null, \"2024.01 I submitted one paper to \", React.createElement(_components.a, {\n href: \"https://sites.google.com/cluster.mu/1st-ws-seamless-reality/\"\n }, \"IEEE VR 2024 Workshop\")), \"\\n\", React.createElement(_components.li, null, \"2024.01 I submitted my master's thesis!\"), \"\\n\", React.createElement(_components.li, null, \"2023.11 One paper got accepted to \", React.createElement(_components.a, {\n href: \"https://tei.acm.org/2024/\"\n }, \"TEI 2024\")), \"\\n\", React.createElement(_components.li, null, \"2023.10 I submitted one paper to \", React.createElement(_components.a, {\n href: \"https://tei.acm.org/2024/\"\n }, \"TEI 2024\")), \"\\n\", React.createElement(_components.li, null, \"2023.10 Our work 'Ichiyo' got an Honorable Mention at \", React.createElement(_components.a, {\n href: \"https://newhope.g-mark.org/award/2023/23NHA040011.html\"\n }, \"GOOD DESIGN NEW HOPE AWARD 2023\")), \"\\n\", React.createElement(_components.li, null, \"2023.10 I reviewed one paper from \", React.createElement(_components.a, {\n href: \"https://aaai.org/aaai-conference/\"\n }, \"AAAI-24\")), \"\\n\", React.createElement(_components.li, null, \"2023.09 I reviewed one paper from \", React.createElement(_components.a, {\n href: \"https://chi2024.acm.org/\"\n }, \"CHI 2024\")), \"\\n\", React.createElement(_components.li, null, \"2023.09 I presented a paper at \", React.createElement(_components.a, {\n href: \"https://mobilehci.acm.org/2023/index.php\"\n }, \"mobileHCI 2023\"), \" at Athens :)\"), \"\\n\", React.createElement(_components.li, null, \"2023.08 I just passed QE!\"), \"\\n\", React.createElement(_components.li, null, \"2023.07 I presented a poster at \", React.createElement(_components.a, {\n href: \"http://cvim.ipsj.or.jp/MIRU2023/company-event/#huawei-event\"\n }, \"HUAWEI TOKYO RESEARCH CENTER Discussion Night in MIRU2023\")), \"\\n\", React.createElement(_components.li, null, \"2023.06 I Attended \", React.createElement(_components.a, {\n href: \"https://sigchi.jp/seminar/chi2023/\"\n }, \"CHI study meeting(CHI勉強会)\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2023.06 One paper got accepted to mobileHCI.\"), \"\\n\", React.createElement(_components.li, null, \"2023.05 I started to join \", React.createElement(_components.a, {\n href: \"https://www.cyberagent.co.jp/careers/special/students/tech_lounge/\"\n }, \"CA Tech Lounge\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2023.05 I submitted a revised paper to mobileHCI.\"), \"\\n\", React.createElement(_components.li, null, \"2023.04 I served as a student volunteer at CHI 2023.\"), \"\\n\", React.createElement(_components.li, null, \"2023.04 I have come back to Japan! The researcher life in UCLA is totally mind blowing!\"), \"\\n\", React.createElement(_components.li, null, \"2023.04 \", React.createElement(_components.a, {\n href: \"https://www.tandfonline.com/doi/full/10.1080/10447318.2023.2192586\"\n }, \"My co-author journal\"), \" is now on online.\"), \"\\n\", React.createElement(_components.li, null, \"2023.03 I am selected for Gary Marsden Travel Award for CHI 2023!\"), \"\\n\", React.createElement(_components.li, null, \"2023.03 The 1st notification of mobileHCI just came back. Let's revise:)\"), \"\\n\", React.createElement(_components.li, null, \"2023.03 My co-author paper is accepted for International Journal of Human-Computer Interaction (IJHCI).\"), \"\\n\", React.createElement(_components.li, null, \"2023.02 \", React.createElement(_components.a, {\n href: \"http://id.nii.ac.jp/1001/00224250/\"\n }, \"My paper IPSJ Journal\"), \" is now on online. Kudos to IPSJ for the Valentine's present:)\"), \"\\n\", React.createElement(_components.li, null, \"2023.01 I reviewed one CHI LBW paper.\"), \"\\n\", React.createElement(_components.li, null, \"2023.01 I am selected for Study Abroad Scholarships from the University of Tokyo(100,000 JPY/month, for 3 months)\"), \"\\n\", React.createElement(_components.li, null, \"2023.01 My co-author paper is submitted to \", React.createElement(_components.a, {\n href: \"https://www.anlp.jp/proceedings/annual_meeting/2023/\"\n }, \"NLP2023\"), \"!\"), \"\\n\", React.createElement(_components.li, null, \"2023.01 I arrived at UCLA!\"), \"\\n\", React.createElement(_components.li, null, \"2022.12 I demonstrated our Traverco AR at \", React.createElement(_components.a, {\n href: \"https://www.wiss.org/WISS2022/\"\n }, \"WISS2022\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.12 I re-submitted CHI Paper.\"), \"\\n\", React.createElement(_components.li, null, \"2022.11 I gave a short presentation at \", React.createElement(_components.a, {\n href: \"https://sigchi.jp/seminar/uist2022/\"\n }, \"UIST study meeting 2022\"), React.createElement(\"small\", null, \" [\", React.createElement(_components.a, {\n href: \"https://youtu.be/TPrJvXp5lnA?t=3358\"\n }, \"video archive\"), \"]\"), \"! Had lot of fun with HCI colleagues there.\"), \"\\n\", React.createElement(_components.li, null, \"2022.11 I demonstrated our works at \", React.createElement(_components.a, {\n href: \"https://rkmtlab.github.io/openhouse2022/\"\n }, \"Rekimoto Lab Openhouse\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.11 One paper got accepted to \", React.createElement(_components.a, {\n href: \"https://www.wiss.org/WISS2022/\"\n }, \"WISS2022\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.11 I demonstrated two art works at \", React.createElement(_components.a, {\n href: \"https://archive.iiiexhibition.com/log/i3e24/\"\n }, \"東京大学制作展 True 2022\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.11 One paper got accepted to \", React.createElement(_components.a, {\n href: \"https://www.ipsj.or.jp/journal/cfp/23-E.html\"\n }, \"IPSJ Journal\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.11 One paper got Revise & Resubmit decision from \", React.createElement(_components.a, {\n href: \"https://chi2023.acm.org\"\n }, \"CHI2023\"), \". I'll do my best!\"), \"\\n\", React.createElement(_components.li, null, \"2022.10 I'm visiting \", React.createElement(_components.a, {\n href: \"https://hci.ucla.edu\"\n }, \"UCLA HCI Research\"), \" from next Jan to Apr! Really excited to collaborate with Prof. Anthony and his talented students there!\"), \"\\n\", React.createElement(_components.li, null, \"2022.09 I submitted one paper to \", React.createElement(_components.a, {\n href: \"https://chi2023.acm.org\"\n }, \"CHI2023\"), \", and one revised paper to \", React.createElement(_components.a, {\n href: \"https://www.ipsj.or.jp/journal/cfp/23-E.html\"\n }, \"IPSJ Journal\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.08 One paper notified as conditionally accepted to \", React.createElement(_components.a, {\n href: \"https://www.ipsj.or.jp/journal/cfp/23-E.html\"\n }, \"IPSJ Journal\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.07 I am selected for Charitable Trust Hisao Iwai Memorial Tokyo Scholarship Education Fund(120,000 JPY/month, for 2 years), it was an honor to give a speech as a representative of the selected students.\"), \"\\n\", React.createElement(_components.li, null, \"2022.07 I got exemptions: enrollment fee and tuition(2022 Spring).\"), \"\\n\", React.createElement(_components.li, null, \"2022.07 I demonstrated two art works at \", React.createElement(_components.a, {\n href: \"https://iiiexhibition.com/log/iiiEx2022/\"\n }, \"東京大学制作展 EXTRA 2022\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.06 I am selected for Japan Student Service Organization Scholarship(88,000 JPY/month, for 2 years).\"), \"\\n\", React.createElement(_components.li, null, \"2022.06 I visited Cornell for a presentation at L@S2021. Great to meet Mose and the attendees there.\"), \"\\n\", React.createElement(_components.li, null, \"2022.05 I submitted one paper to IPSJ Journal.\"), \"\\n\", React.createElement(_components.li, null, \"2022.03 One paper got accepted to Learning at Scale 2022 Work-in-Progress which I will be attending in-person!\"), \"\\n\", React.createElement(_components.li, null, \"2022.02 My senior thesis got accepted.\"), \"\\n\", React.createElement(_components.li, null, \"2021.12 One paper got accepted to WISS 2021 Workshop.\"), \"\\n\", React.createElement(_components.li, null, \"2021.10 I'll be serving as a student volunteer at SIGGRAPH Asia 2021.\"), \"\\n\", React.createElement(_components.li, null, \"2021.03 One Paper got accepted to ACM CHI IICW 2021 Workshop.\"), \"\\n\"))), \"\\n\", React.createElement(_components.hr), \"\\n\", React.createElement(_components.h2, null, \"My Activities\"), \"\\n\", React.createElement(_components.p, null, \"Below are English-translated excerpts from my \", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1N6G3iBiAMTbzCHQg2jKHWKBHp70PWHFQ/view?usp=sharing\"\n }, \"CV (En/Ja together)\"), \".\"), \"\\n\", React.createElement(_components.h3, null, \"Publications\"), \"\\n\", React.createElement(_components.h4, null, \"Journal\"), \"\\n\", React.createElement(_components.ol, null, \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida*\"), \", Kaori Ikematsu*, Junichi Sato, Shota Yamanaka, Kota Tsubouchi (*co-1st authors).\\r\\n\", React.createElement(\"strong\", null, \"Single-tap Latency Reduction with Single- or Double- tap Prediction,\"), \"\\r\\nProceedings of the ACM on Human-Computer Interaction (PACMHCI, presented at MobileHCI ’23), No.7, Article 224, September. 2023. 26 pages. DOI:\", React.createElement(_components.a, {\n href: \"https://doi.org/10.1145/3604271\"\n }, \"10.1145/3604271\")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida\"), \", Kaisei Yokoyama, Buntarou Shizuki.\\r\\n\", React.createElement(\"strong\", null, \"Implementation of Language Learning Assistance System by Video Playback Speed Adjustment Based on Facial Expressions and Evaluation of Its Effect on Learners’ Comprehension,\"), \"\\r\\nJournal of Information Processing Society of Japan, vol.64, No.2, February. 2023. 11 pages. in Japanese. DOI: \", React.createElement(_components.a, {\n href: \"http://doi.org/10.20729/00224250\"\n }, \"10.20729/00224250\"), \". \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1hXnVU-i2_RrmwWSJcA_93rZ8v_aS734s/view?usp=sharing\"\n }, \"Paper\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, \"Takuma Hidaka, Yusuke Sei, \", React.createElement(\"u\", null, \"Naoto Nishida\"), \", Shota Yamanaka, Buntarou Shizuki.\\r\\n\", React.createElement(\"strong\", null, \"Advanced Investigation of Steering Performance with Error-Accepting Delays,\"), \"\\r\\nInternational Journal of Human-Computer Interaction (IJHCI), April. 2023. 14 pages. DOI: \", React.createElement(_components.a, {\n href: \"https://www.tandfonline.com/doi/full/10.1080/10447318.2023.2192586\"\n }, \"10.1080/10447318.2023.2192586\")), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.h4, null, \"Long Paper\"), \"\\n\", React.createElement(_components.ol, null, \"\\n\", React.createElement(_components.li, null, React.createElement(\"u\", null, \"Naoto Nishida\"), \", Yoshio Ishiguro, Jun Rekimoto, Naomi Yamashita.\\r\\n\", React.createElement(\"strong\", null, \"Dynamik: Syntactically-Driven Dynamic Font Sizing for Emphasis of Key Information,\"), \"\\r\\nProceedings of the 30th International Conference on Intelligent User Interfaces (IUI ’25), ACM (tba)\"), \"\\n\"), \"\\n\", React.createElement(_components.h4, null, \"Short Paper\"), \"\\n\", React.createElement(_components.ol, null, \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida\"), \", Hinako Nozaki, Buntarou Shizuki.\\r\\n\", React.createElement(\"strong\", null, \"Laugh at Your Own Pace: Basic Performance Evaluation of Language Learning Assistance by Adjustment of Video Playback Speeds Based on Laughter Detection,\"), \"\\r\\nIn Proceedings of the Ninth ACM Conference on Learning @ Scale (L@S ’22), June. 2022. 6 pages. DOI: \", React.createElement(_components.a, {\n href: \"https://doi.org/10.1145/3491140.3528299\"\n }, \"10.1145/3491140.3528299\"), \". \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.iplab.cs.tsukuba.ac.jp/paper/international/nishida_las2022.pdf\"\n }, \"Paper\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, \"Koki Tamura, Nobushige Doi, \", React.createElement(\"u\", null, \"Naoto Nishida\"), \", Junjie Chen, Hitomi Yanaka.\\r\\n\", React.createElement(\"strong\", null, \"Japanese Fluency Filtering Using Surprisal,\"), \"\\r\\n29th of the Association for Natural Language Processing (NLP2023), March. 2023. 6 pages. in Japanese. \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1xYvQVpj7HwvHLk7hR9dvTfPNsWCzUJ8z/view?usp=sharing\"\n }, \"Paper\"), \"][\", React.createElement(_components.a, {\n href: \"https://www.anlp.jp/proceedings/annual_meeting/2023/\"\n }, \"HP\"), \"]\")), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.h4, null, \"Workshops/Poster\"), \"\\n\", React.createElement(_components.ol, null, \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida\"), \", Hirotaka Hiraki, Jun Rekimoto, Yoshio Ishiguro.\\r\\n\", React.createElement(\"strong\", null, \"Real-Time Word-Level Temporal Segmentation in Streaming Speech Recognition.\"), \"\\r\\n37th Annual ACM Symposium on User Interface Software and Technology (UIST ’24), October 2024. 3 pages. DOI:\", React.createElement(_components.a, {\n href: \"https://doi.org/10.1145/3672539.3686738\"\n }, \"10.1145/3672539.3686738\"), \". \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1M5EucuX5vodQgKOk2A1gGYQDPAnxrLX_/view?usp=sharing\"\n }, \"Poster\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida\"), \", Jun Rekimoto.\\r\\n\", React.createElement(\"strong\", null, \"SUMART: SUMmARizing Translation from Wordy to Concise Expression.\"), \"\\r\\n31st the IEEE Conference on Virtual Reality and 3D User Interfaces (1st Workshop on Seamless Reality: AR Technologies for Seamless Perception and Cognition between Cyber and Physical Spaces), March 2024. 3 pages. DOI: \", React.createElement(_components.a, {\n href: \"https://doi.org/10.1109/VRW62533.2024.00119\"\n }, \"10.1109/VRW62533.2024.00119\"), \". \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1MM81an2ks6_z8rHhjEs3aaXJtxAegD_6/view?usp=sharing\"\n }, \"Paper\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida*\"), \", Hirofumi Shibata*, Ayako Yogo*, Yu Shimada*, Toma Ishii*(*co-1st authors).\\r\\n\", React.createElement(\"strong\", null, \"Ichiyo: Fragile and Transient Interaction in Neighborhood.\"), \"\\r\\nEighteenth International Conference on Tangible, Embedded, and Embodied Interaction (TEI ’24 Student Design Competition), February 2024. 3 pages. DOI: \", React.createElement(_components.a, {\n href: \"https://doi.org/10.1145/3623509.3635866\"\n }, \"10.1145/3623509.3635866\"), \". \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1XJeN_yUejc5OVCOIMvGv5F9IdAIMGQ0i/view?usp=sharing\"\n }, \"Paper\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1Rn16XSD0yEsv5f0ME2-vTtUw1qTBfTWK/view?usp=sharing\"\n }, \"Supplemental Video\"), React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1XFnZUYT9VDWZyIfjNWg4R1Q_R8-BnjpK/view?usp=sharing\"\n }, \"Slide\"), \"] \")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida\"), \", Sakiho Horibe, Jun Rekimoto.\\r\\n\", React.createElement(\"strong\", null, \"Traverco AR: Transcription-assisted Verbal Communication via AR glasses.\"), \"\\r\\n30th Workshop on Interactive Systems and Software (WISS 2022 Demo/Poster).\\r\\nDecember 2022. 3 pages. in Japanese.\", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.wiss.org/WISS2022Proceedings/data/1-A02.pdf\"\n }, \"Paper\"), \"][\", React.createElement(_components.a, {\n href: \"https://www.wiss.org/WISS2022Proceedings/\"\n }, \"Workshop Page\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida\"), \", Hinako Nozaki, Buntarou Shizuki.\\r\\n\", React.createElement(\"strong\", null, \"Language Learning Assistance by Automatic Adjustment of Playback Speed Based on Facial Expression.\"), \"\\r\\n29th Workshop on Interactive Systems and Software (WISS 2021 Demo/Poster).\\r\\nDecember 2021. 3 pages. in Japanese. \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.wiss.org/WISS2021Proceedings/data/1-A09.pdf\"\n }, \"Paper\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1kCp8FUoCV5tiuWHWerNOnFTmM6yz3i6i/view?usp=sharing\"\n }, \"Poster1\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1sLXqn93z4wl_Ym30pDtErbGgvjnEJTmN/view?usp=sharing\"\n }, \"Poster2\"), \"][\", React.createElement(_components.a, {\n href: \"https://www.wiss.org/WISS2021Proceedings/\"\n }, \"Workshop Page\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, \"Yuga Tsukuda, \", React.createElement(\"u\", null, \"Naoto Nishida\"), \", Jun Lu, and Yoichi Ochiai.\\r\\n\", React.createElement(_components.strong, null, \"Insect-Computer Hybrid Speaker: Speaker using Chirp of the Cicada Controlled by Electrical Muscle Stimulation.\"), \"\\r\\nACM CHI 2021 Workshop on Design and Creation of Inclusive User Interactions Through Immersive\\r\\nMedia (ACM CHI IICW ’21). May 2021. 5 pages. \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1Gv5o8t94oQg8jvn8UkxMBDoYoXVzPQkq/view\"\n }, \"Preprint\"), \"][\", React.createElement(_components.a, {\n href: \"https://sites.google.com/view/acm-chi-iicw21/home\"\n }, \"Workshop Page\"), \"][\", React.createElement(_components.a, {\n href: \"https://www.youtube.com/watch?v=wdhv4QByH6c\"\n }, \"Demo Video\"), \"]\")), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Academic Services\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"RA\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.04-Present \", React.createElement(_components.a, {\n href: \"https://spring-gx.adm.s.u-tokyo.ac.jp/en/boost/\"\n }, \"BOOST NAIS\")), \"\\n\", React.createElement(_components.li, null, \"2023.10-2024.03 \", React.createElement(_components.a, {\n href: \"https://www.iiw.i.u-tokyo.ac.jp/en/\"\n }, \"International Graduate Program of Innovation for Intelligent World Program\")), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"Student Volunteer\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.12 SIGGRAPH Asia 2024 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1bH6Dv31OEI1QUOH4jbDCPDQY0ZCOyxcC/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2024.03 IEEE VR 2024\"), \"\\n\", React.createElement(_components.li, null, \"2024.02 TEI 2024\"), \"\\n\", React.createElement(_components.li, null, \"2023.04 CHI 2023\"), \"\\n\", React.createElement(_components.li, null, \"2021.12 SIGGRAPH Asia 2021 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/107YQz5yFzuxs_93eLvYzCeg3JBX1ekLW/view?usp=sharing\"\n }, \"Acceptance Mail\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1zZF7-mheNJW0H5B6Yz8a1l8N7bE7f0iV/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2018.12 SIGGRAPH Asia 2018 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1eqnw1YRtWk7D4Fm7W1RC2fs7qrDXsMS5/view?usp=sharing\"\n }, \"Acceptance Mail\"), \"]\")), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"Part Time Jobs\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2023.12 31st Workshop on Interactive Systems and Software(WISS2023)\"), \"\\n\", React.createElement(_components.li, null, \"2021.12 29th Workshop on Interactive Systems and Software(WISS2021)\"), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"Internships\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.04-06 GENIAC Program at Matsuo Lab\"), \"\\n\", React.createElement(_components.li, null, \"2022.03 OIST Science Challenge 2022 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1yk5evdEUg2J872brfN5ucY3_iirmvh6r/view?usp=sharing\"\n }, \"Certificate\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1sdwNyr9eWYqfTge0oN01w2uCJ28088pW/view?usp=sharing\"\n }, \"Presentation Slide\"), \"]\")), \"\\n\"), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Industory Services\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"RA\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.04-11 \", React.createElement(_components.a, {\n href: \"https://tier4.jp/\"\n }, \"TIER IV\"), \" Student Researcher\"), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"Internships\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2023.05-11 \", React.createElement(_components.a, {\n href: \"https://www.cyberagent.co.jp/en/\"\n }, \"CyberAgent, Inc.\"), \" - \", React.createElement(_components.a, {\n href: \"https://www.cyberagent.co.jp/careers/special/students/tech_lounge/\"\n }, \"CA Tech Lounge\"), \" for ML Engineer / Data Scientist \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1aG17IjUN2_xhnTuxavVua8sig04GXH9w/view?usp=sharing\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.04-2023.09 \", React.createElement(_components.a, {\n href: \"https://en.wikipedia.org/wiki/Yahoo_Japan\"\n }, \"Yahoo! JAPAN\"), \" R&D - Researcher\"), \"\\n\", React.createElement(_components.li, null, \"2020.08 \", React.createElement(_components.a, {\n href: \"https://global.rakuten.com/corp/\"\n }, \"Rakuten\"), \" \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://github.com/nawta/TeamA\"\n }, \"Project Repository\"), \"]\"), \" - Engineer\"), \"\\n\", React.createElement(_components.li, null, \"2020.08 \", React.createElement(_components.a, {\n href: \"https://www.teamlab.art/\"\n }, \"Teamlab\"), \" - Engineer\", React.createElement(_components.br), \"\\n\", React.createElement(\"small\", null, \"etc...\")), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"Part Time Jobs\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.11-12 \", React.createElement(_components.a, {\n href: \"https://volocitee.com/\"\n }, \"VOLOCITEE Inc.\"), \" - Engineer\"), \"\\n\", React.createElement(_components.li, null, \"2023.01-06 \", React.createElement(_components.a, {\n href: \"https://matsuo-institute.com/\"\n }, \"Matsuo Institute\"), \" - R&D Engineer\"), \"\\n\", React.createElement(_components.li, null, \"2021.01-09 \", React.createElement(_components.a, {\n href: \"https://smt-sol.jp/\"\n }, \"Smart Solutions\"), \" - Engineer\"), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"Hackathon\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2019.07-08 Hack U 2019 TOKYO \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://hacku.yahoo.co.jp/hacku2019tokyo/\"\n }, \"Detail\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2019.07 IBM Hackathon \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://github.com/nawta/otomo\"\n }, \"Project Page\"), \"]\"), \" \", React.createElement(\"small\", null, \"etc...\")), \"\\n\"), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Award\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.12 Leave a Nest Grant Incu-be Incentive Award\"), \"\\n\", React.createElement(_components.li, null, \"2024.03 Telecommunication Interdisciplinary Research Award \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1jArYlNjqPhORauvgeJpT6CJ-gPPQTMo-/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2024.02 Excellent Project - World Model and Intelligence 2023 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1ZxZ6zm2DwHUqnFqtQskJjIxW03lqxJpg/view?usp=sharing\"\n }, \"Paper\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/131KIxNktSpwvC5Ta4RMRBIVFFKvPB380/view?usp=sharing\"\n }, \"Poster\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2024.02 TEI 2024 Student Design Competition - Best Prototype Award \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1b5kn71FFk0SbktvuEMEXdPh6o_OcUeVP/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.10 GOOD DESIGN NEW HOPE AWARD 2023 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://newhope.g-mark.org/award/2023/23NHA040011.html\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1V8C1y-mHujYVzm0flEFRshk5hD2Il9JK/view?usp=sharing\"\n }, \"HP backup\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1nyr1hWeFxnmlV4HI50Psow37eVAcQh58/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.03 Dean's Award from University of Tsukuba \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1VVcvHf4D0OGzFqIJX4q6-E5yZn-uRA1m/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.03 Excellent Foreign Language Activity - 1st Prize \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1lFcv0DKXW69NMg9KNMNEghpnis63Wyvn/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2020.08 National Russian Language Essay Competition \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1wgKDe_AYS1awr0ZMvtacNmvN3fow749w/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2019.09 FUJIFILM Hackathon - 1st Prize\"), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Grants\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.10 SPRING GX International Conference Dispatch Program (for UIST 2024) 300,000 JPY\"), \"\\n\", React.createElement(_components.li, null, \"2024.03-2027.03 Iue Memorial Foundation Scholarship 50,000 JPY/month\"), \"\\n\", React.createElement(_components.li, null, \"2024.02 Telecommunication Interdisciplinary Research Award 300,000 JPY\"), \"\\n\", React.createElement(_components.li, null, \"2024.04-2027.03 The Univerisity of Tokyo PhD Fellowship 280,000 JPY/month\"), \"\\n\", React.createElement(_components.li, null, \"2023.10-2024.03 The Univerisity of Tokyo PhD Fellowship 180,000 JPY/month\"), \"\\n\", React.createElement(_components.li, null, \"2023.09 Google East Asia Student Travel Grants (for MobileHCI 2023) 1,000 USD\"), \"\\n\", React.createElement(_components.li, null, \"2023.04 Gary Marsden Travel Award (for CHI 2023) 2,500 USD\"), \"\\n\", React.createElement(_components.li, null, \"2023.01-2023.04 Study Abroad Scholarships from the University of Tokyo 100,000 JPY/month\"), \"\\n\", React.createElement(_components.li, null, \"2022.04-2024.03 Charitable Trust Hisao Iwai Memorial Tokyo Scholarship Education Fund 120,000 JPY/month\"), \"\\n\", React.createElement(_components.li, null, \"2022.04-2024.03 Japan Student Service Organization (JASSO) 88,000 JPY/month\"), \"\\n\", React.createElement(_components.li, null, \"2019.03 University of Tsukuba Overseas Study Support Program 100,000 JPY\"), \"\\n\", React.createElement(_components.li, null, \"2018.08 University of Tsukuba Overseas Study Support Program 100,000 JPY\"), \"\\n\", React.createElement(_components.li, null, \"2018.05 Advancing Researcher Experience Program (ARE) 50,000JPY \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.are.tsukuba.ac.jp/wp-content/uploads/sites/25/2019/01/ARE_NEWS_No.8.pdf\"\n }, \"Brochure\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Fee Exemptions\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2023.01 Tuition Fee (Full, 267900 JPY)\"), \"\\n\", React.createElement(_components.li, null, \"2022.07 Tuition Fee (Full, 267900 JPY)\"), \"\\n\", React.createElement(_components.li, null, \"2022.04 Admission Fee (Half, 141000 JPY)\"), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Misc Activities\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.12 UIST study meeting 2024 - presenter\"), \"\\n\", React.createElement(_components.li, null, \"2024.11 2024 Asia Culture Center Global Experts Workshop IV - Presenter \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1UgWOzPpVLpY1YUpzdtAUyfAX6X9iL3W-/view?usp=sharing\"\n }, \"Submitted Portfolio\"), \"][\", React.createElement(_components.a, {\n href: \"https://www.acc.go.kr/en/education.do?PID=0402&action=Read&bnkey=EM_0000007705\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1DgQ4XVtQ7NB73fG9kQC3EEk3SmpFDb8N/view?usp=sharing\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2024.11 Asia Culture Center CREATORS Residency 2024 Open Studio “AI·Human·Multiverse” - Exhibitor \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.acc.go.kr/en/event.do?PID=0302&action=Read&bnkey=EM_0000007969\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1DgQ4XVtQ7NB73fG9kQC3EEk3SmpFDb8N/view?usp=sharing\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.12 UIST study meeting 2023 - presenter \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://sigchi.jp/seminar/uist2023/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1lGucYzuBAjO6bGUwnfJzCDBzgxkBajuc/view?usp=sharing\"\n }, \"HP backup\"), \"]\"), React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1tu-_TmOGqQjKFhOKYQheVb9jiV0kNWGf/view?usp=sharing\"\n }, \"Slide\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.07 \", React.createElement(_components.a, {\n href: \"http://cvim.ipsj.or.jp/MIRU2023/company-event/#huawei-event\"\n }, \"HUAWEI TOKYO RESEARCH CENTER Discussion Night in MIRU2023\"), \" - presenter \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/11uin8kvfj0gNNoQnWPcssoV-5wG_9MbF/view?usp=sharing\"\n }, \"Poster\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1U79-CAQFCOnalD6LXfRBDA9iNOOQtjqF/view?usp=drive_link\"\n }, \"HP backup\"), \"][\", React.createElement(_components.a, {\n href: \"https://frontechno.jp/huaweijapan-miru2023/\"\n }, \"Huawei HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/128x6CDjwFc3L-t3AO5z-7cY0malhKFkc/view?usp=drive_link\"\n }, \"Huawei HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.06 CHI study meeting 2023 - presenter \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://sigchi.jp/seminar/chi2023/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1Mj3lHw4WfrutQdUwPzksh9Aa6GzNgZiM/view?usp=drive_link\"\n }, \"HP backup\"), \"]\"), React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.youtube.com/live/uSbZQEwEJ7c?feature=share&t=11854\"\n }, \"YouTube Archive\"), \"]\"), React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1alvf-ryJyHf6bD0veveRFUUNdi92lIeM/view?usp=sharing\"\n }, \"Slide\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.11 UIST study meeting 2022 - presenter \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://sigchi.jp/seminar/uist2022/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1AaxWP8VfXKZ3g-TZ2EBRHhDpQ2fj2Tqy/view?usp=drive_link\"\n }, \"HP backup\"), \"]\"), React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://youtu.be/TPrJvXp5lnA?t=3358\"\n }, \"YouTube Archive\"), \"]\"), React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1fiw-YpV0k_ka-qf_UazsBafxPlZZEpo-/view?usp=sharing\"\n }, \"Slide\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.04-2023.03 iiiExhibition - Web Team leader \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.iiiexhibition.com/\"\n }, \"Web\"), \"][\", React.createElement(_components.a, {\n href: \"https://archive.iiiexhibition.com/log/iiiEx2022/\"\n }, \"HP 2022 Extra\"), \"][\", React.createElement(_components.a, {\n href: \"https://archive.iiiexhibition.com/log/i3e24/\"\n }, \"HP 2022 True\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1iwtzDFAYcxFnI7STy4Vn-lyYyaOnkqCW/view?usp=sharing\"\n }, \"HP 2022 Extra backup\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1fIAeyMqKXQ5JQn6ezeT2u7gNavabs9Cp/view?usp=sharing\"\n }, \"HP 2022 True backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.02 Tsukuba Global Plus - Completion \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://tgplus.hass.tsukuba.ac.jp/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1mpG5Yr8wgYG_7IE3WBhXTcIqfuRCYsom/view?usp=sharing\"\n }, \"HP backup\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/18BJmOkXnvL78ThvKYwtCDUsS5opcxcyK/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2020.01 The 5th Trilingual Day Forum in Tsukuba - Participated as a poster presenter \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"http://hdl.handle.net/2241/0002000207\"\n }, \"Report\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1MahOM7AfZDPPR-a9_duwx3jRNAgI_wow/view?usp=drive_link\"\n }, \"Report backup\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1zkwtWZRgpJAb1GMESonMEOVrUoXMxoL8/view?usp=sharing\"\n }, \"Poster\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2019.09 Japan-Russia Youth Forum in Saint Petersburg \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.jrex.or.jp/forum/russia-2019/\"\n }, \"Detail\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1_Fr9jMEzscERqbuuhsNxk4jdJK9Ze8aU/view?usp=sharing\"\n }, \"Presentation Slide\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1JnSZDkeW_ltBNTl5F6MDx1XjDOe5cV_M/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2019.06-2020.01 Special Project on Information Media\", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://github.com/nawta/compare_fullbody_detector\"\n }, \"Project Repository\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2019.02-2019.03 Study at Al-Farabi Kazakhstan National University \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://tsukuba.repo.nii.ac.jp/records/54482#.YfEnw1jP0c8\"\n }, \"Training Report\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1MLpWCguj9KcvKg7gMHqgnrn80w48FJL8/view?usp=sharing\"\n }, \"Presentation Slide\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2018.09 Study at Saint Petersburg University \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://tsukuba.repo.nii.ac.jp/records/49783#.YfEmdVjP0c8\"\n }, \"Training Report\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2018.05-2019.03 Advancing Researcher Experience Program \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/18a_aycEyQxSL5kK3kqKt6KfdxCYB5GU3/view?usp=sharing\"\n }, \"Poster\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2015.07 Student Ambassador Program in Charleroi(Belgium) and in Chantilly(France) \", React.createElement(\"small\", null, React.createElement(_components.a, {\n href: \"https://www.himeji-iec.or.jp/dispatch/2157\"\n }))), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Qualification\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.10 AI-Entrepreneurship Learning Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1sxnMYoDv1hbkxdeOdeh6J8YvqBtorgtl/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2024.05 Deep Reinforcement Learning Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1vddBPJ59ZF1hf0dZV1YZUhIfGhOVGaiI/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2024.03 World Models and Intelligence Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1hFR-HV3ZG7vEy4CN75ibVQW0Qy6meu8n/view?usp=sharing\"\n }, \"Certificate\"), \"][\", React.createElement(_components.a, {\n href: \"https://deeplearning.jp/lectures/world-model-2023/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1Ph8DOm2HtuNGNIjdfrNnTH2CmMJbLZ1t/view?usp=sharing\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.10 Large Language Models Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1RcvbpAA6xK4XIOOChzqaKzyigLQZmPbM/view?usp=sharing\"\n }, \"Certificate\"), \"][\", React.createElement(_components.a, {\n href: \"https://deeplearning.jp/llm2023/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1M8Hwewy2DxPQmwpC5sBau3p_ccdh-kCj/view?usp=drive_link\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.10 Financial Market Trading and Machine Learning Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1hwPKhcxoUVfwqtiDNwp9lh8Twi2ZnRQ-/view?usp=sharing\"\n }, \"Certificate\"), \"][\", React.createElement(_components.a, {\n href: \"https://deeplearning.jp/finance-2023sm/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1HIDWh30qvICigLRdoDryViwDo5YVzNcf/view?usp=drive_link\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.01 Google Cloud | Cloud Digital Leader \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.credential.net/4aafad6e-d25f-4b38-82ef-aa7bc5b1e35d?key=66b28286f80c003a70a988c08512add2c90677af9e7cc830a9644fa6590eb1c3\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.10 Deep Generative Models Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1ApN6U1WlnAfFagB6GS9cNJWvlulRyJS6/view?usp=sharing\"\n }, \"Certificate\"), \"][\", React.createElement(_components.a, {\n href: \"https://deeplearning.jp/deep-generative-model-2022sm/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1f2wUErZ8a1gEBOMNRSwyZ7OrL0WN-D4O/view?usp=drive_link\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.08 Fundamentals of Deep Learning Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1VbkhPRNjicFwAW7JZuoIXfQu_tH4l4dU/view?usp=share_link\"\n }, \"Certificate\"), \"][\", React.createElement(_components.a, {\n href: \"https://deeplearning.jp/lectures/dlb2022/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1cOTxcE2S9tfQSHabqs1pWCF00INBVRDu/view?usp=drive_link\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.08 GCI Data Scientist Training Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1FM1qPjKi1zf0txbgNocN_8Nh9mTP8EdY/view?usp=sharing\"\n }, \"Certificate\"), \"][\", React.createElement(_components.a, {\n href: \"https://gci2.t.u-tokyo.ac.jp/archives/course/gci-2024-winter-6\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1CeDvWW9b34MSmQzYKNqCbOywuu6Z4MyU/view?usp=drive_link\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.03 Japan Statistical Society Certificate Data Science, Advanced \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/10nDfO4f51kpz5UlMkhIiBXE448PjPfPB/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2020.12 Applied Information Technology Engineer Examination \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1-GCWANGni2J1T_sd9twfeQ869s9xt8ts/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2020.12 CG Engineer Certificate, Expert\"), \"\\n\", React.createElement(_components.li, null, \"2020.08 EIKEN Grade 1 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1hD9Shd1p2eMKn5mdwah1lT3qxEbMpE-8/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2020.04 Driver's Licence\"), \"\\n\", React.createElement(_components.li, null, \"2019.11 Russian Language Proficiency Test Level 3 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/12Xhs6H06H4WRSAzLnANF8PbwljbihaCC/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Review\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2023.11 Deep Learning 5 - Generative Models (Book in Japanese) \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.amazon.co.jp/dp/4814400594?tag=note0e2a-22&linkCode=ogi&th=1&psc=1\"\n }, \"Amazon Page\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.10 AAAI-24 Student Program\"), \"\\n\", React.createElement(_components.li, null, \"2023.09 CHI 2024 Full Paper\"), \"\\n\", React.createElement(_components.li, null, \"2023.01 CHI 2023 LateBreakingWork\"), \"\\n\", React.createElement(_components.li, null, \"2022.04-2025.03(Expected) ‘Information Processing’ (Journal of Information Processing Society of Japan, in Japanese)\"), \"\\n\", React.createElement(_components.li, null, \"2021.12 Deep Learning 4 - Reignforcement Learning (Book in Japanese) \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://onl.la/jLTZCyb\"\n }, \"Amazon Page\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Media/Press\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(\"small\", null, \"2023.11 Good Design 2023 New Hope Award Honorable Mention, The University of Tokyo III/GSII [\", React.createElement(_components.a, {\n href: \"https://www.iii.u-tokyo.ac.jp/news/2023110619679\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1i8plcpKQ7XAuKOgOwVn2D_6xgShOhrwa/view?usp=sharing\"\n }, \"HP Backup\"), \"]\"), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(\"small\", null, \"2023.9 Single-tap Latency Reduction with Single- or Double- tap Prediction, Yahoo! JAPAN R&D\\r\\n[\", React.createElement(_components.a, {\n href: \"https://randd.yahoo.co.jp/jp/papers/1144\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1LlNGKzAaWLiXpJFLzvaijrv0ZZgLghvI/view?usp=sharing\"\n }, \"HP Backup\"), \"]\"), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Membership\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"ACM Student Member\"), \"\\n\", React.createElement(_components.li, null, \"IEEE Student Member\"), \"\\n\", React.createElement(_components.li, null, \"Information Processing Society of Japan Student Member\"), \"\\n\", React.createElement(_components.li, null, \"The Japanese Alpine Club\"), \"\\n\"));\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? React.createElement(MDXLayout, props, React.createElement(_createMdxContent, props)) : _createMdxContent(props);\n}\nexport default MDXContent;\n","/** @jsx jsx */\nimport { Box, jsx, Container, Flex, Link, useColorMode } from \"theme-ui\"\nimport useEmiliaConfig from \"../hooks/use-emilia-config\"\nimport SocialMediaList from \"./social-media-list\"\nimport ColorModeToggle from \"./colormode-toggle\"\nimport AboutMeMDX from \"../texts/about-me.mdx\"\n\nconst Footer = () => {\n const { showThemeAuthor } = useEmiliaConfig()\n const [colorMode] = useColorMode<\"light\" | \"dark\">()\n const isDark = colorMode === `dark`\n\n return (\n \n \n
\n \n \n
\n \n \n
\n
\n \n
\n
Copyright © {new Date().getFullYear()}. All rights reserved.
\n
\n \n

\n \n \n )\n}\n\nexport default Footer\n","import * as React from \"react\"\nimport { get } from \"theme-ui\"\nimport { Global } from \"@emotion/react\"\nimport Footer from \"./footer\"\n\ntype LayoutProps = { children: React.ReactNode }\n\nconst Layout = ({ children }: LayoutProps) => (\n \n ({\n \"*\": {\n boxSizing: `inherit`,\n },\n \"[hidden]\": {\n display: `none`,\n },\n \"::selection\": {\n background: get(t, `colors.text`),\n color: get(t, `colors.background`),\n },\n })}\n />\n {children}\n
\n \n)\n\nexport default Layout\n","import { graphql, useStaticQuery } from \"gatsby\"\n\ntype UseSiteMetadataProps = {\n site: {\n siteMetadata: {\n siteTitle: string\n siteTitleAlt: string\n siteHeadline: string\n siteUrl: string\n siteDescription: string\n siteImage: string\n siteLanguage: string\n author: string\n [key: string]: unknown\n }\n }\n}\n\nconst useSiteMetadata = () => {\n const data = useStaticQuery(graphql`\n query {\n site {\n siteMetadata {\n siteTitle\n siteTitleAlt\n siteHeadline\n siteUrl\n siteDescription\n siteImage\n siteLanguage\n author\n }\n }\n }\n `)\n\n return data.site.siteMetadata\n}\n\nexport default useSiteMetadata\n","import * as React from \"react\"\nimport { withPrefix } from \"gatsby\"\nimport useSiteMetadata from \"../hooks/use-site-metadata\"\n\ntype SEOProps = {\n title?: string\n description?: string\n pathname?: string\n image?: string\n children?: React.ReactNode\n}\n\nconst Seo = ({ title = ``, description = ``, pathname = ``, image = ``, children = null }: SEOProps) => {\n const site = useSiteMetadata()\n\n const {\n siteTitle,\n siteTitleAlt: defaultTitle,\n siteUrl,\n siteDescription: defaultDescription,\n siteImage: defaultImage,\n author,\n siteLanguage,\n } = site\n\n const seo = {\n title: title ? `${title} | ${siteTitle}` : defaultTitle,\n description: description || defaultDescription,\n url: `${siteUrl}${pathname || ``}`,\n image: `${siteUrl}${image || defaultImage}`,\n }\n return (\n <>\n \n {seo.title}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \r\n \r\n \r\n {children}\n \n )\n}\n\nexport default Seo\n","/** @jsx jsx */\nimport * as React from \"react\"\nimport { jsx } from \"theme-ui\"\nimport { Themed } from \"@theme-ui/mdx\"\nimport useEmiliaConfig from \"../hooks/use-emilia-config\"\n\nconst SocialMediaList = () => {\n const { socialMedia } = useEmiliaConfig()\n\n return (\n \n {socialMedia.map((entry) => (\n \n {entry.title}\n \n ))}\n \n )\n}\n\nexport default SocialMediaList\n","/** @jsx jsx */\nimport { jsx } from \"theme-ui\"\nimport { withPrefix } from \"gatsby\"\n\ntype IconType = \"bgPattern\" | \"leftArrow\" | \"location\"\n\ntype SVGProps = {\n id: IconType\n [x: string]: any\n}\n\nconst Svg = ({ id, ...props }: SVGProps) => (\n \n \n \n)\n\nexport default Svg\n","import { graphql, useStaticQuery } from \"gatsby\"\n\ntype UseEmiliaConfigProps = {\n emiliaConfig: {\n name: string\n location: string\n socialMedia: {\n href: string\n title: string\n }[]\n showThemeAuthor: boolean\n assetsPath: string\n }\n}\n\nconst useEmiliaConfig = () => {\n const data = useStaticQuery(graphql`\n query {\n emiliaConfig {\n name\n location\n socialMedia {\n href\n title\n }\n showThemeAuthor\n assetsPath\n }\n }\n `)\n\n return data.emiliaConfig\n}\n\nexport default useEmiliaConfig\n","import { jsx as jsx$1 } from '@theme-ui/core';\nexport { __ThemeUIContext, createElement, merge, useThemeUI } from '@theme-ui/core';\nexport { InitializeColorMode, useColorMode } from '@theme-ui/color-modes';\nexport { ThemeProvider } from '@theme-ui/theme-provider';\nexport * from '@theme-ui/components';\nexport { css, get } from '@theme-ui/css';\n\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nvar BaseStyles = function BaseStyles(props) {\n return jsx('div', _extends({}, props, {\n sx: _extends({\n fontFamily: 'body',\n lineHeight: 'body',\n fontWeight: 'body',\n variant: 'styles'\n }, props.sx)\n }));\n};\nvar jsx = jsx$1;\n\nexport { BaseStyles, jsx };\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","'use strict';\nvar arraySlice = require('../internals/array-slice');\n\nvar floor = Math.floor;\n\nvar sort = function (array, comparefn) {\n var length = array.length;\n\n if (length < 8) {\n // insertion sort\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n }\n } else {\n // merge sort\n var middle = floor(length / 2);\n var left = sort(arraySlice(array, 0, middle), comparefn);\n var right = sort(arraySlice(array, middle), comparefn);\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n }\n }\n\n return array;\n};\n\nmodule.exports = sort;\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (O, P) {\n if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n","'use strict';\nvar userAgent = require('../internals/environment-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","'use strict';\nvar UA = require('../internals/environment-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","'use strict';\nvar userAgent = require('../internals/environment-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/environment-ff-version');\nvar IE_OR_EDGE = require('../internals/environment-is-ie-or-edge');\nvar V8 = require('../internals/environment-v8-version');\nvar WEBKIT = require('../internals/environment-webkit-version');\n\nvar test = [];\nvar nativeSort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = lengthOfArrayLike(items);\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) deletePropertyOrThrow(array, index++);\n\n return array;\n }\n});\n","// src/index.ts\nvar updateQueue = makeQueue();\nvar raf = (fn) => schedule(fn, updateQueue);\nvar writeQueue = makeQueue();\nraf.write = (fn) => schedule(fn, writeQueue);\nvar onStartQueue = makeQueue();\nraf.onStart = (fn) => schedule(fn, onStartQueue);\nvar onFrameQueue = makeQueue();\nraf.onFrame = (fn) => schedule(fn, onFrameQueue);\nvar onFinishQueue = makeQueue();\nraf.onFinish = (fn) => schedule(fn, onFinishQueue);\nvar timeouts = [];\nraf.setTimeout = (handler, ms) => {\n const time = raf.now() + ms;\n const cancel = () => {\n const i = timeouts.findIndex((t) => t.cancel == cancel);\n if (~i)\n timeouts.splice(i, 1);\n pendingCount -= ~i ? 1 : 0;\n };\n const timeout = { time, handler, cancel };\n timeouts.splice(findTimeout(time), 0, timeout);\n pendingCount += 1;\n start();\n return timeout;\n};\nvar findTimeout = (time) => ~(~timeouts.findIndex((t) => t.time > time) || ~timeouts.length);\nraf.cancel = (fn) => {\n onStartQueue.delete(fn);\n onFrameQueue.delete(fn);\n onFinishQueue.delete(fn);\n updateQueue.delete(fn);\n writeQueue.delete(fn);\n};\nraf.sync = (fn) => {\n sync = true;\n raf.batchedUpdates(fn);\n sync = false;\n};\nraf.throttle = (fn) => {\n let lastArgs;\n function queuedFn() {\n try {\n fn(...lastArgs);\n } finally {\n lastArgs = null;\n }\n }\n function throttled(...args) {\n lastArgs = args;\n raf.onStart(queuedFn);\n }\n throttled.handler = fn;\n throttled.cancel = () => {\n onStartQueue.delete(queuedFn);\n lastArgs = null;\n };\n return throttled;\n};\nvar nativeRaf = typeof window != \"undefined\" ? window.requestAnimationFrame : (\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n () => {\n }\n);\nraf.use = (impl) => nativeRaf = impl;\nraf.now = typeof performance != \"undefined\" ? () => performance.now() : Date.now;\nraf.batchedUpdates = (fn) => fn();\nraf.catch = console.error;\nraf.frameLoop = \"always\";\nraf.advance = () => {\n if (raf.frameLoop !== \"demand\") {\n console.warn(\n \"Cannot call the manual advancement of rafz whilst frameLoop is not set as demand\"\n );\n } else {\n update();\n }\n};\nvar ts = -1;\nvar pendingCount = 0;\nvar sync = false;\nfunction schedule(fn, queue) {\n if (sync) {\n queue.delete(fn);\n fn(0);\n } else {\n queue.add(fn);\n start();\n }\n}\nfunction start() {\n if (ts < 0) {\n ts = 0;\n if (raf.frameLoop !== \"demand\") {\n nativeRaf(loop);\n }\n }\n}\nfunction stop() {\n ts = -1;\n}\nfunction loop() {\n if (~ts) {\n nativeRaf(loop);\n raf.batchedUpdates(update);\n }\n}\nfunction update() {\n const prevTs = ts;\n ts = raf.now();\n const count = findTimeout(ts);\n if (count) {\n eachSafely(timeouts.splice(0, count), (t) => t.handler());\n pendingCount -= count;\n }\n if (!pendingCount) {\n stop();\n return;\n }\n onStartQueue.flush();\n updateQueue.flush(prevTs ? Math.min(64, ts - prevTs) : 16.667);\n onFrameQueue.flush();\n writeQueue.flush();\n onFinishQueue.flush();\n}\nfunction makeQueue() {\n let next = /* @__PURE__ */ new Set();\n let current = next;\n return {\n add(fn) {\n pendingCount += current == next && !next.has(fn) ? 1 : 0;\n next.add(fn);\n },\n delete(fn) {\n pendingCount -= current == next && next.has(fn) ? 1 : 0;\n return next.delete(fn);\n },\n flush(arg) {\n if (current.size) {\n next = /* @__PURE__ */ new Set();\n pendingCount -= current.size;\n eachSafely(current, (fn) => fn(arg) && next.add(fn));\n pendingCount += next.size;\n current = next;\n }\n }\n };\n}\nfunction eachSafely(values, each) {\n values.forEach((value) => {\n try {\n each(value);\n } catch (e) {\n raf.catch(e);\n }\n });\n}\nvar __raf = {\n /** The number of pending tasks */\n count() {\n return pendingCount;\n },\n /** Whether there's a raf update loop running */\n isRunning() {\n return ts >= 0;\n },\n /** Clear internal state. Never call from update loop! */\n clear() {\n ts = -1;\n timeouts = [];\n onStartQueue = makeQueue();\n updateQueue = makeQueue();\n onFrameQueue = makeQueue();\n writeQueue = makeQueue();\n onFinishQueue = makeQueue();\n pendingCount = 0;\n }\n};\nexport {\n __raf,\n raf\n};\n//# sourceMappingURL=react-spring_rafz.modern.mjs.map","var __defProp = Object.defineProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\n\n// src/globals.ts\nvar globals_exports = {};\n__export(globals_exports, {\n assign: () => assign,\n colors: () => colors,\n createStringInterpolator: () => createStringInterpolator,\n skipAnimation: () => skipAnimation,\n to: () => to,\n willAdvance: () => willAdvance\n});\nimport { raf } from \"@react-spring/rafz\";\n\n// src/helpers.ts\nfunction noop() {\n}\nvar defineHidden = (obj, key, value) => Object.defineProperty(obj, key, { value, writable: true, configurable: true });\nvar is = {\n arr: Array.isArray,\n obj: (a) => !!a && a.constructor.name === \"Object\",\n fun: (a) => typeof a === \"function\",\n str: (a) => typeof a === \"string\",\n num: (a) => typeof a === \"number\",\n und: (a) => a === void 0\n};\nfunction isEqual(a, b) {\n if (is.arr(a)) {\n if (!is.arr(b) || a.length !== b.length)\n return false;\n for (let i = 0; i < a.length; i++) {\n if (a[i] !== b[i])\n return false;\n }\n return true;\n }\n return a === b;\n}\nvar each = (obj, fn) => obj.forEach(fn);\nfunction eachProp(obj, fn, ctx) {\n if (is.arr(obj)) {\n for (let i = 0; i < obj.length; i++) {\n fn.call(ctx, obj[i], `${i}`);\n }\n return;\n }\n for (const key in obj) {\n if (obj.hasOwnProperty(key)) {\n fn.call(ctx, obj[key], key);\n }\n }\n}\nvar toArray = (a) => is.und(a) ? [] : is.arr(a) ? a : [a];\nfunction flush(queue, iterator) {\n if (queue.size) {\n const items = Array.from(queue);\n queue.clear();\n each(items, iterator);\n }\n}\nvar flushCalls = (queue, ...args) => flush(queue, (fn) => fn(...args));\nvar isSSR = () => typeof window === \"undefined\" || !window.navigator || /ServerSideRendering|^Deno\\//.test(window.navigator.userAgent);\n\n// src/globals.ts\nvar createStringInterpolator;\nvar to;\nvar colors = null;\nvar skipAnimation = false;\nvar willAdvance = noop;\nvar assign = (globals) => {\n if (globals.to)\n to = globals.to;\n if (globals.now)\n raf.now = globals.now;\n if (globals.colors !== void 0)\n colors = globals.colors;\n if (globals.skipAnimation != null)\n skipAnimation = globals.skipAnimation;\n if (globals.createStringInterpolator)\n createStringInterpolator = globals.createStringInterpolator;\n if (globals.requestAnimationFrame)\n raf.use(globals.requestAnimationFrame);\n if (globals.batchedUpdates)\n raf.batchedUpdates = globals.batchedUpdates;\n if (globals.willAdvance)\n willAdvance = globals.willAdvance;\n if (globals.frameLoop)\n raf.frameLoop = globals.frameLoop;\n};\n\n// src/FrameLoop.ts\nimport { raf as raf2 } from \"@react-spring/rafz\";\nvar startQueue = /* @__PURE__ */ new Set();\nvar currentFrame = [];\nvar prevFrame = [];\nvar priority = 0;\nvar frameLoop = {\n get idle() {\n return !startQueue.size && !currentFrame.length;\n },\n /** Advance the given animation on every frame until idle. */\n start(animation) {\n if (priority > animation.priority) {\n startQueue.add(animation);\n raf2.onStart(flushStartQueue);\n } else {\n startSafely(animation);\n raf2(advance);\n }\n },\n /** Advance all animations by the given time. */\n advance,\n /** Call this when an animation's priority changes. */\n sort(animation) {\n if (priority) {\n raf2.onFrame(() => frameLoop.sort(animation));\n } else {\n const prevIndex = currentFrame.indexOf(animation);\n if (~prevIndex) {\n currentFrame.splice(prevIndex, 1);\n startUnsafely(animation);\n }\n }\n },\n /**\n * Clear all animations. For testing purposes.\n *\n * ☠️ Never call this from within the frameloop.\n */\n clear() {\n currentFrame = [];\n startQueue.clear();\n }\n};\nfunction flushStartQueue() {\n startQueue.forEach(startSafely);\n startQueue.clear();\n raf2(advance);\n}\nfunction startSafely(animation) {\n if (!currentFrame.includes(animation))\n startUnsafely(animation);\n}\nfunction startUnsafely(animation) {\n currentFrame.splice(\n findIndex(currentFrame, (other) => other.priority > animation.priority),\n 0,\n animation\n );\n}\nfunction advance(dt) {\n const nextFrame = prevFrame;\n for (let i = 0; i < currentFrame.length; i++) {\n const animation = currentFrame[i];\n priority = animation.priority;\n if (!animation.idle) {\n willAdvance(animation);\n animation.advance(dt);\n if (!animation.idle) {\n nextFrame.push(animation);\n }\n }\n }\n priority = 0;\n prevFrame = currentFrame;\n prevFrame.length = 0;\n currentFrame = nextFrame;\n return currentFrame.length > 0;\n}\nfunction findIndex(arr, test) {\n const index = arr.findIndex(test);\n return index < 0 ? arr.length : index;\n}\n\n// src/clamp.ts\nvar clamp = (min, max, v) => Math.min(Math.max(v, min), max);\n\n// src/colors.ts\nvar colors2 = {\n transparent: 0,\n aliceblue: 4042850303,\n antiquewhite: 4209760255,\n aqua: 16777215,\n aquamarine: 2147472639,\n azure: 4043309055,\n beige: 4126530815,\n bisque: 4293182719,\n black: 255,\n blanchedalmond: 4293643775,\n blue: 65535,\n blueviolet: 2318131967,\n brown: 2771004159,\n burlywood: 3736635391,\n burntsienna: 3934150143,\n cadetblue: 1604231423,\n chartreuse: 2147418367,\n chocolate: 3530104575,\n coral: 4286533887,\n cornflowerblue: 1687547391,\n cornsilk: 4294499583,\n crimson: 3692313855,\n cyan: 16777215,\n darkblue: 35839,\n darkcyan: 9145343,\n darkgoldenrod: 3095792639,\n darkgray: 2846468607,\n darkgreen: 6553855,\n darkgrey: 2846468607,\n darkkhaki: 3182914559,\n darkmagenta: 2332068863,\n darkolivegreen: 1433087999,\n darkorange: 4287365375,\n darkorchid: 2570243327,\n darkred: 2332033279,\n darksalmon: 3918953215,\n darkseagreen: 2411499519,\n darkslateblue: 1211993087,\n darkslategray: 793726975,\n darkslategrey: 793726975,\n darkturquoise: 13554175,\n darkviolet: 2483082239,\n deeppink: 4279538687,\n deepskyblue: 12582911,\n dimgray: 1768516095,\n dimgrey: 1768516095,\n dodgerblue: 512819199,\n firebrick: 2988581631,\n floralwhite: 4294635775,\n forestgreen: 579543807,\n fuchsia: 4278255615,\n gainsboro: 3705462015,\n ghostwhite: 4177068031,\n gold: 4292280575,\n goldenrod: 3668254975,\n gray: 2155905279,\n green: 8388863,\n greenyellow: 2919182335,\n grey: 2155905279,\n honeydew: 4043305215,\n hotpink: 4285117695,\n indianred: 3445382399,\n indigo: 1258324735,\n ivory: 4294963455,\n khaki: 4041641215,\n lavender: 3873897215,\n lavenderblush: 4293981695,\n lawngreen: 2096890111,\n lemonchiffon: 4294626815,\n lightblue: 2916673279,\n lightcoral: 4034953471,\n lightcyan: 3774873599,\n lightgoldenrodyellow: 4210742015,\n lightgray: 3553874943,\n lightgreen: 2431553791,\n lightgrey: 3553874943,\n lightpink: 4290167295,\n lightsalmon: 4288707327,\n lightseagreen: 548580095,\n lightskyblue: 2278488831,\n lightslategray: 2005441023,\n lightslategrey: 2005441023,\n lightsteelblue: 2965692159,\n lightyellow: 4294959359,\n lime: 16711935,\n limegreen: 852308735,\n linen: 4210091775,\n magenta: 4278255615,\n maroon: 2147483903,\n mediumaquamarine: 1724754687,\n mediumblue: 52735,\n mediumorchid: 3126187007,\n mediumpurple: 2473647103,\n mediumseagreen: 1018393087,\n mediumslateblue: 2070474495,\n mediumspringgreen: 16423679,\n mediumturquoise: 1221709055,\n mediumvioletred: 3340076543,\n midnightblue: 421097727,\n mintcream: 4127193855,\n mistyrose: 4293190143,\n moccasin: 4293178879,\n navajowhite: 4292783615,\n navy: 33023,\n oldlace: 4260751103,\n olive: 2155872511,\n olivedrab: 1804477439,\n orange: 4289003775,\n orangered: 4282712319,\n orchid: 3664828159,\n palegoldenrod: 4008225535,\n palegreen: 2566625535,\n paleturquoise: 2951671551,\n palevioletred: 3681588223,\n papayawhip: 4293907967,\n peachpuff: 4292524543,\n peru: 3448061951,\n pink: 4290825215,\n plum: 3718307327,\n powderblue: 2967529215,\n purple: 2147516671,\n rebeccapurple: 1714657791,\n red: 4278190335,\n rosybrown: 3163525119,\n royalblue: 1097458175,\n saddlebrown: 2336560127,\n salmon: 4202722047,\n sandybrown: 4104413439,\n seagreen: 780883967,\n seashell: 4294307583,\n sienna: 2689740287,\n silver: 3233857791,\n skyblue: 2278484991,\n slateblue: 1784335871,\n slategray: 1887473919,\n slategrey: 1887473919,\n snow: 4294638335,\n springgreen: 16744447,\n steelblue: 1182971135,\n tan: 3535047935,\n teal: 8421631,\n thistle: 3636451583,\n tomato: 4284696575,\n turquoise: 1088475391,\n violet: 4001558271,\n wheat: 4125012991,\n white: 4294967295,\n whitesmoke: 4126537215,\n yellow: 4294902015,\n yellowgreen: 2597139199\n};\n\n// src/colorMatchers.ts\nvar NUMBER = \"[-+]?\\\\d*\\\\.?\\\\d+\";\nvar PERCENTAGE = NUMBER + \"%\";\nfunction call(...parts) {\n return \"\\\\(\\\\s*(\" + parts.join(\")\\\\s*,\\\\s*(\") + \")\\\\s*\\\\)\";\n}\nvar rgb = new RegExp(\"rgb\" + call(NUMBER, NUMBER, NUMBER));\nvar rgba = new RegExp(\"rgba\" + call(NUMBER, NUMBER, NUMBER, NUMBER));\nvar hsl = new RegExp(\"hsl\" + call(NUMBER, PERCENTAGE, PERCENTAGE));\nvar hsla = new RegExp(\n \"hsla\" + call(NUMBER, PERCENTAGE, PERCENTAGE, NUMBER)\n);\nvar hex3 = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;\nvar hex4 = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;\nvar hex6 = /^#([0-9a-fA-F]{6})$/;\nvar hex8 = /^#([0-9a-fA-F]{8})$/;\n\n// src/normalizeColor.ts\nfunction normalizeColor(color) {\n let match;\n if (typeof color === \"number\") {\n return color >>> 0 === color && color >= 0 && color <= 4294967295 ? color : null;\n }\n if (match = hex6.exec(color))\n return parseInt(match[1] + \"ff\", 16) >>> 0;\n if (colors && colors[color] !== void 0) {\n return colors[color];\n }\n if (match = rgb.exec(color)) {\n return (parse255(match[1]) << 24 | // r\n parse255(match[2]) << 16 | // g\n parse255(match[3]) << 8 | // b\n 255) >>> // a\n 0;\n }\n if (match = rgba.exec(color)) {\n return (parse255(match[1]) << 24 | // r\n parse255(match[2]) << 16 | // g\n parse255(match[3]) << 8 | // b\n parse1(match[4])) >>> // a\n 0;\n }\n if (match = hex3.exec(color)) {\n return parseInt(\n match[1] + match[1] + // r\n match[2] + match[2] + // g\n match[3] + match[3] + // b\n \"ff\",\n // a\n 16\n ) >>> 0;\n }\n if (match = hex8.exec(color))\n return parseInt(match[1], 16) >>> 0;\n if (match = hex4.exec(color)) {\n return parseInt(\n match[1] + match[1] + // r\n match[2] + match[2] + // g\n match[3] + match[3] + // b\n match[4] + match[4],\n // a\n 16\n ) >>> 0;\n }\n if (match = hsl.exec(color)) {\n return (hslToRgb(\n parse360(match[1]),\n // h\n parsePercentage(match[2]),\n // s\n parsePercentage(match[3])\n // l\n ) | 255) >>> // a\n 0;\n }\n if (match = hsla.exec(color)) {\n return (hslToRgb(\n parse360(match[1]),\n // h\n parsePercentage(match[2]),\n // s\n parsePercentage(match[3])\n // l\n ) | parse1(match[4])) >>> // a\n 0;\n }\n return null;\n}\nfunction hue2rgb(p, q, t) {\n if (t < 0)\n t += 1;\n if (t > 1)\n t -= 1;\n if (t < 1 / 6)\n return p + (q - p) * 6 * t;\n if (t < 1 / 2)\n return q;\n if (t < 2 / 3)\n return p + (q - p) * (2 / 3 - t) * 6;\n return p;\n}\nfunction hslToRgb(h, s, l) {\n const q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n const p = 2 * l - q;\n const r = hue2rgb(p, q, h + 1 / 3);\n const g = hue2rgb(p, q, h);\n const b = hue2rgb(p, q, h - 1 / 3);\n return Math.round(r * 255) << 24 | Math.round(g * 255) << 16 | Math.round(b * 255) << 8;\n}\nfunction parse255(str) {\n const int = parseInt(str, 10);\n if (int < 0)\n return 0;\n if (int > 255)\n return 255;\n return int;\n}\nfunction parse360(str) {\n const int = parseFloat(str);\n return (int % 360 + 360) % 360 / 360;\n}\nfunction parse1(str) {\n const num = parseFloat(str);\n if (num < 0)\n return 0;\n if (num > 1)\n return 255;\n return Math.round(num * 255);\n}\nfunction parsePercentage(str) {\n const int = parseFloat(str);\n if (int < 0)\n return 0;\n if (int > 100)\n return 1;\n return int / 100;\n}\n\n// src/colorToRgba.ts\nfunction colorToRgba(input) {\n let int32Color = normalizeColor(input);\n if (int32Color === null)\n return input;\n int32Color = int32Color || 0;\n const r = (int32Color & 4278190080) >>> 24;\n const g = (int32Color & 16711680) >>> 16;\n const b = (int32Color & 65280) >>> 8;\n const a = (int32Color & 255) / 255;\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n}\n\n// src/createInterpolator.ts\nvar createInterpolator = (range, output, extrapolate) => {\n if (is.fun(range)) {\n return range;\n }\n if (is.arr(range)) {\n return createInterpolator({\n range,\n output,\n extrapolate\n });\n }\n if (is.str(range.output[0])) {\n return createStringInterpolator(range);\n }\n const config = range;\n const outputRange = config.output;\n const inputRange = config.range || [0, 1];\n const extrapolateLeft = config.extrapolateLeft || config.extrapolate || \"extend\";\n const extrapolateRight = config.extrapolateRight || config.extrapolate || \"extend\";\n const easing = config.easing || ((t) => t);\n return (input) => {\n const range2 = findRange(input, inputRange);\n return interpolate(\n input,\n inputRange[range2],\n inputRange[range2 + 1],\n outputRange[range2],\n outputRange[range2 + 1],\n easing,\n extrapolateLeft,\n extrapolateRight,\n config.map\n );\n };\n};\nfunction interpolate(input, inputMin, inputMax, outputMin, outputMax, easing, extrapolateLeft, extrapolateRight, map) {\n let result = map ? map(input) : input;\n if (result < inputMin) {\n if (extrapolateLeft === \"identity\")\n return result;\n else if (extrapolateLeft === \"clamp\")\n result = inputMin;\n }\n if (result > inputMax) {\n if (extrapolateRight === \"identity\")\n return result;\n else if (extrapolateRight === \"clamp\")\n result = inputMax;\n }\n if (outputMin === outputMax)\n return outputMin;\n if (inputMin === inputMax)\n return input <= inputMin ? outputMin : outputMax;\n if (inputMin === -Infinity)\n result = -result;\n else if (inputMax === Infinity)\n result = result - inputMin;\n else\n result = (result - inputMin) / (inputMax - inputMin);\n result = easing(result);\n if (outputMin === -Infinity)\n result = -result;\n else if (outputMax === Infinity)\n result = result + outputMin;\n else\n result = result * (outputMax - outputMin) + outputMin;\n return result;\n}\nfunction findRange(input, inputRange) {\n for (var i = 1; i < inputRange.length - 1; ++i)\n if (inputRange[i] >= input)\n break;\n return i - 1;\n}\n\n// src/easings.ts\nvar steps = (steps2, direction = \"end\") => (progress2) => {\n progress2 = direction === \"end\" ? Math.min(progress2, 0.999) : Math.max(progress2, 1e-3);\n const expanded = progress2 * steps2;\n const rounded = direction === \"end\" ? Math.floor(expanded) : Math.ceil(expanded);\n return clamp(0, 1, rounded / steps2);\n};\nvar c1 = 1.70158;\nvar c2 = c1 * 1.525;\nvar c3 = c1 + 1;\nvar c4 = 2 * Math.PI / 3;\nvar c5 = 2 * Math.PI / 4.5;\nvar bounceOut = (x) => {\n const n1 = 7.5625;\n const d1 = 2.75;\n if (x < 1 / d1) {\n return n1 * x * x;\n } else if (x < 2 / d1) {\n return n1 * (x -= 1.5 / d1) * x + 0.75;\n } else if (x < 2.5 / d1) {\n return n1 * (x -= 2.25 / d1) * x + 0.9375;\n } else {\n return n1 * (x -= 2.625 / d1) * x + 0.984375;\n }\n};\nvar easings = {\n linear: (x) => x,\n easeInQuad: (x) => x * x,\n easeOutQuad: (x) => 1 - (1 - x) * (1 - x),\n easeInOutQuad: (x) => x < 0.5 ? 2 * x * x : 1 - Math.pow(-2 * x + 2, 2) / 2,\n easeInCubic: (x) => x * x * x,\n easeOutCubic: (x) => 1 - Math.pow(1 - x, 3),\n easeInOutCubic: (x) => x < 0.5 ? 4 * x * x * x : 1 - Math.pow(-2 * x + 2, 3) / 2,\n easeInQuart: (x) => x * x * x * x,\n easeOutQuart: (x) => 1 - Math.pow(1 - x, 4),\n easeInOutQuart: (x) => x < 0.5 ? 8 * x * x * x * x : 1 - Math.pow(-2 * x + 2, 4) / 2,\n easeInQuint: (x) => x * x * x * x * x,\n easeOutQuint: (x) => 1 - Math.pow(1 - x, 5),\n easeInOutQuint: (x) => x < 0.5 ? 16 * x * x * x * x * x : 1 - Math.pow(-2 * x + 2, 5) / 2,\n easeInSine: (x) => 1 - Math.cos(x * Math.PI / 2),\n easeOutSine: (x) => Math.sin(x * Math.PI / 2),\n easeInOutSine: (x) => -(Math.cos(Math.PI * x) - 1) / 2,\n easeInExpo: (x) => x === 0 ? 0 : Math.pow(2, 10 * x - 10),\n easeOutExpo: (x) => x === 1 ? 1 : 1 - Math.pow(2, -10 * x),\n easeInOutExpo: (x) => x === 0 ? 0 : x === 1 ? 1 : x < 0.5 ? Math.pow(2, 20 * x - 10) / 2 : (2 - Math.pow(2, -20 * x + 10)) / 2,\n easeInCirc: (x) => 1 - Math.sqrt(1 - Math.pow(x, 2)),\n easeOutCirc: (x) => Math.sqrt(1 - Math.pow(x - 1, 2)),\n easeInOutCirc: (x) => x < 0.5 ? (1 - Math.sqrt(1 - Math.pow(2 * x, 2))) / 2 : (Math.sqrt(1 - Math.pow(-2 * x + 2, 2)) + 1) / 2,\n easeInBack: (x) => c3 * x * x * x - c1 * x * x,\n easeOutBack: (x) => 1 + c3 * Math.pow(x - 1, 3) + c1 * Math.pow(x - 1, 2),\n easeInOutBack: (x) => x < 0.5 ? Math.pow(2 * x, 2) * ((c2 + 1) * 2 * x - c2) / 2 : (Math.pow(2 * x - 2, 2) * ((c2 + 1) * (x * 2 - 2) + c2) + 2) / 2,\n easeInElastic: (x) => x === 0 ? 0 : x === 1 ? 1 : -Math.pow(2, 10 * x - 10) * Math.sin((x * 10 - 10.75) * c4),\n easeOutElastic: (x) => x === 0 ? 0 : x === 1 ? 1 : Math.pow(2, -10 * x) * Math.sin((x * 10 - 0.75) * c4) + 1,\n easeInOutElastic: (x) => x === 0 ? 0 : x === 1 ? 1 : x < 0.5 ? -(Math.pow(2, 20 * x - 10) * Math.sin((20 * x - 11.125) * c5)) / 2 : Math.pow(2, -20 * x + 10) * Math.sin((20 * x - 11.125) * c5) / 2 + 1,\n easeInBounce: (x) => 1 - bounceOut(1 - x),\n easeOutBounce: bounceOut,\n easeInOutBounce: (x) => x < 0.5 ? (1 - bounceOut(1 - 2 * x)) / 2 : (1 + bounceOut(2 * x - 1)) / 2,\n steps\n};\n\n// src/fluids.ts\nvar $get = Symbol.for(\"FluidValue.get\");\nvar $observers = Symbol.for(\"FluidValue.observers\");\nvar hasFluidValue = (arg) => Boolean(arg && arg[$get]);\nvar getFluidValue = (arg) => arg && arg[$get] ? arg[$get]() : arg;\nvar getFluidObservers = (target) => target[$observers] || null;\nfunction callFluidObserver(observer2, event) {\n if (observer2.eventObserved) {\n observer2.eventObserved(event);\n } else {\n observer2(event);\n }\n}\nfunction callFluidObservers(target, event) {\n const observers = target[$observers];\n if (observers) {\n observers.forEach((observer2) => {\n callFluidObserver(observer2, event);\n });\n }\n}\nvar FluidValue = class {\n constructor(get) {\n if (!get && !(get = this.get)) {\n throw Error(\"Unknown getter\");\n }\n setFluidGetter(this, get);\n }\n};\n$get, $observers;\nvar setFluidGetter = (target, get) => setHidden(target, $get, get);\nfunction addFluidObserver(target, observer2) {\n if (target[$get]) {\n let observers = target[$observers];\n if (!observers) {\n setHidden(target, $observers, observers = /* @__PURE__ */ new Set());\n }\n if (!observers.has(observer2)) {\n observers.add(observer2);\n if (target.observerAdded) {\n target.observerAdded(observers.size, observer2);\n }\n }\n }\n return observer2;\n}\nfunction removeFluidObserver(target, observer2) {\n const observers = target[$observers];\n if (observers && observers.has(observer2)) {\n const count = observers.size - 1;\n if (count) {\n observers.delete(observer2);\n } else {\n target[$observers] = null;\n }\n if (target.observerRemoved) {\n target.observerRemoved(count, observer2);\n }\n }\n}\nvar setHidden = (target, key, value) => Object.defineProperty(target, key, {\n value,\n writable: true,\n configurable: true\n});\n\n// src/regexs.ts\nvar numberRegex = /[+\\-]?(?:0|[1-9]\\d*)(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/g;\nvar colorRegex = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\\((-?\\d+%?[,\\s]+){2,3}\\s*[\\d\\.]+%?\\))/gi;\nvar unitRegex = new RegExp(`(${numberRegex.source})(%|[a-z]+)`, \"i\");\nvar rgbaRegex = /rgba\\(([0-9\\.-]+), ([0-9\\.-]+), ([0-9\\.-]+), ([0-9\\.-]+)\\)/gi;\nvar cssVariableRegex = /var\\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\\)/;\n\n// src/variableToRgba.ts\nvar variableToRgba = (input) => {\n const [token, fallback] = parseCSSVariable(input);\n if (!token || isSSR()) {\n return input;\n }\n const value = window.getComputedStyle(document.documentElement).getPropertyValue(token);\n if (value) {\n return value.trim();\n } else if (fallback && fallback.startsWith(\"--\")) {\n const value2 = window.getComputedStyle(document.documentElement).getPropertyValue(fallback);\n if (value2) {\n return value2;\n } else {\n return input;\n }\n } else if (fallback && cssVariableRegex.test(fallback)) {\n return variableToRgba(fallback);\n } else if (fallback) {\n return fallback;\n }\n return input;\n};\nvar parseCSSVariable = (current) => {\n const match = cssVariableRegex.exec(current);\n if (!match)\n return [,];\n const [, token, fallback] = match;\n return [token, fallback];\n};\n\n// src/stringInterpolation.ts\nvar namedColorRegex;\nvar rgbaRound = (_, p1, p2, p3, p4) => `rgba(${Math.round(p1)}, ${Math.round(p2)}, ${Math.round(p3)}, ${p4})`;\nvar createStringInterpolator2 = (config) => {\n if (!namedColorRegex)\n namedColorRegex = colors ? (\n // match color names, ignore partial matches\n new RegExp(`(${Object.keys(colors).join(\"|\")})(?!\\\\w)`, \"g\")\n ) : (\n // never match\n /^\\b$/\n );\n const output = config.output.map((value) => {\n return getFluidValue(value).replace(cssVariableRegex, variableToRgba).replace(colorRegex, colorToRgba).replace(namedColorRegex, colorToRgba);\n });\n const keyframes = output.map((value) => value.match(numberRegex).map(Number));\n const outputRanges = keyframes[0].map(\n (_, i) => keyframes.map((values) => {\n if (!(i in values)) {\n throw Error('The arity of each \"output\" value must be equal');\n }\n return values[i];\n })\n );\n const interpolators = outputRanges.map(\n (output2) => createInterpolator({ ...config, output: output2 })\n );\n return (input) => {\n const missingUnit = !unitRegex.test(output[0]) && output.find((value) => unitRegex.test(value))?.replace(numberRegex, \"\");\n let i = 0;\n return output[0].replace(\n numberRegex,\n () => `${interpolators[i++](input)}${missingUnit || \"\"}`\n ).replace(rgbaRegex, rgbaRound);\n };\n};\n\n// src/deprecations.ts\nvar prefix = \"react-spring: \";\nvar once = (fn) => {\n const func = fn;\n let called = false;\n if (typeof func != \"function\") {\n throw new TypeError(`${prefix}once requires a function parameter`);\n }\n return (...args) => {\n if (!called) {\n func(...args);\n called = true;\n }\n };\n};\nvar warnInterpolate = once(console.warn);\nfunction deprecateInterpolate() {\n warnInterpolate(\n `${prefix}The \"interpolate\" function is deprecated in v9 (use \"to\" instead)`\n );\n}\nvar warnDirectCall = once(console.warn);\nfunction deprecateDirectCall() {\n warnDirectCall(\n `${prefix}Directly calling start instead of using the api object is deprecated in v9 (use \".start\" instead), this will be removed in later 0.X.0 versions`\n );\n}\n\n// src/isAnimatedString.ts\nfunction isAnimatedString(value) {\n return is.str(value) && (value[0] == \"#\" || /\\d/.test(value) || // Do not identify a CSS variable as an AnimatedString if its SSR\n !isSSR() && cssVariableRegex.test(value) || value in (colors || {}));\n}\n\n// src/dom-events/scroll/index.ts\nimport { raf as raf3 } from \"@react-spring/rafz\";\n\n// src/dom-events/resize/resizeElement.ts\nvar observer;\nvar resizeHandlers = /* @__PURE__ */ new WeakMap();\nvar handleObservation = (entries) => entries.forEach(({ target, contentRect }) => {\n return resizeHandlers.get(target)?.forEach((handler) => handler(contentRect));\n});\nfunction resizeElement(handler, target) {\n if (!observer) {\n if (typeof ResizeObserver !== \"undefined\") {\n observer = new ResizeObserver(handleObservation);\n }\n }\n let elementHandlers = resizeHandlers.get(target);\n if (!elementHandlers) {\n elementHandlers = /* @__PURE__ */ new Set();\n resizeHandlers.set(target, elementHandlers);\n }\n elementHandlers.add(handler);\n if (observer) {\n observer.observe(target);\n }\n return () => {\n const elementHandlers2 = resizeHandlers.get(target);\n if (!elementHandlers2)\n return;\n elementHandlers2.delete(handler);\n if (!elementHandlers2.size && observer) {\n observer.unobserve(target);\n }\n };\n}\n\n// src/dom-events/resize/resizeWindow.ts\nvar listeners = /* @__PURE__ */ new Set();\nvar cleanupWindowResizeHandler;\nvar createResizeHandler = () => {\n const handleResize = () => {\n listeners.forEach(\n (callback) => callback({\n width: window.innerWidth,\n height: window.innerHeight\n })\n );\n };\n window.addEventListener(\"resize\", handleResize);\n return () => {\n window.removeEventListener(\"resize\", handleResize);\n };\n};\nvar resizeWindow = (callback) => {\n listeners.add(callback);\n if (!cleanupWindowResizeHandler) {\n cleanupWindowResizeHandler = createResizeHandler();\n }\n return () => {\n listeners.delete(callback);\n if (!listeners.size && cleanupWindowResizeHandler) {\n cleanupWindowResizeHandler();\n cleanupWindowResizeHandler = void 0;\n }\n };\n};\n\n// src/dom-events/resize/index.ts\nvar onResize = (callback, { container = document.documentElement } = {}) => {\n if (container === document.documentElement) {\n return resizeWindow(callback);\n } else {\n return resizeElement(callback, container);\n }\n};\n\n// src/progress.ts\nvar progress = (min, max, value) => max - min === 0 ? 1 : (value - min) / (max - min);\n\n// src/dom-events/scroll/ScrollHandler.ts\nvar SCROLL_KEYS = {\n x: {\n length: \"Width\",\n position: \"Left\"\n },\n y: {\n length: \"Height\",\n position: \"Top\"\n }\n};\nvar ScrollHandler = class {\n constructor(callback, container) {\n this.createAxis = () => ({\n current: 0,\n progress: 0,\n scrollLength: 0\n });\n this.updateAxis = (axisName) => {\n const axis = this.info[axisName];\n const { length, position } = SCROLL_KEYS[axisName];\n axis.current = this.container[`scroll${position}`];\n axis.scrollLength = this.container[`scroll${length}`] - this.container[`client${length}`];\n axis.progress = progress(0, axis.scrollLength, axis.current);\n };\n this.update = () => {\n this.updateAxis(\"x\");\n this.updateAxis(\"y\");\n };\n this.sendEvent = () => {\n this.callback(this.info);\n };\n this.advance = () => {\n this.update();\n this.sendEvent();\n };\n this.callback = callback;\n this.container = container;\n this.info = {\n time: 0,\n x: this.createAxis(),\n y: this.createAxis()\n };\n }\n};\n\n// src/dom-events/scroll/index.ts\nvar scrollListeners = /* @__PURE__ */ new WeakMap();\nvar resizeListeners = /* @__PURE__ */ new WeakMap();\nvar onScrollHandlers = /* @__PURE__ */ new WeakMap();\nvar getTarget = (container) => container === document.documentElement ? window : container;\nvar onScroll = (callback, { container = document.documentElement } = {}) => {\n let containerHandlers = onScrollHandlers.get(container);\n if (!containerHandlers) {\n containerHandlers = /* @__PURE__ */ new Set();\n onScrollHandlers.set(container, containerHandlers);\n }\n const containerHandler = new ScrollHandler(callback, container);\n containerHandlers.add(containerHandler);\n if (!scrollListeners.has(container)) {\n const listener = () => {\n containerHandlers?.forEach((handler) => handler.advance());\n return true;\n };\n scrollListeners.set(container, listener);\n const target = getTarget(container);\n window.addEventListener(\"resize\", listener, { passive: true });\n if (container !== document.documentElement) {\n resizeListeners.set(container, onResize(listener, { container }));\n }\n target.addEventListener(\"scroll\", listener, { passive: true });\n }\n const animateScroll = scrollListeners.get(container);\n raf3(animateScroll);\n return () => {\n raf3.cancel(animateScroll);\n const containerHandlers2 = onScrollHandlers.get(container);\n if (!containerHandlers2)\n return;\n containerHandlers2.delete(containerHandler);\n if (containerHandlers2.size)\n return;\n const listener = scrollListeners.get(container);\n scrollListeners.delete(container);\n if (listener) {\n getTarget(container).removeEventListener(\"scroll\", listener);\n window.removeEventListener(\"resize\", listener);\n resizeListeners.get(container)?.();\n }\n };\n};\n\n// src/hooks/useConstant.ts\nimport { useRef } from \"react\";\nfunction useConstant(init) {\n const ref = useRef(null);\n if (ref.current === null) {\n ref.current = init();\n }\n return ref.current;\n}\n\n// src/hooks/useForceUpdate.ts\nimport { useState } from \"react\";\n\n// src/hooks/useIsMounted.ts\nimport { useRef as useRef2 } from \"react\";\n\n// src/hooks/useIsomorphicLayoutEffect.ts\nimport { useEffect, useLayoutEffect } from \"react\";\nvar useIsomorphicLayoutEffect = isSSR() ? useEffect : useLayoutEffect;\n\n// src/hooks/useIsMounted.ts\nvar useIsMounted = () => {\n const isMounted = useRef2(false);\n useIsomorphicLayoutEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return isMounted;\n};\n\n// src/hooks/useForceUpdate.ts\nfunction useForceUpdate() {\n const update = useState()[1];\n const isMounted = useIsMounted();\n return () => {\n if (isMounted.current) {\n update(Math.random());\n }\n };\n}\n\n// src/hooks/useMemoOne.ts\nimport { useEffect as useEffect2, useRef as useRef3, useState as useState2 } from \"react\";\nfunction useMemoOne(getResult, inputs) {\n const [initial] = useState2(\n () => ({\n inputs,\n result: getResult()\n })\n );\n const committed = useRef3();\n const prevCache = committed.current;\n let cache = prevCache;\n if (cache) {\n const useCache = Boolean(\n inputs && cache.inputs && areInputsEqual(inputs, cache.inputs)\n );\n if (!useCache) {\n cache = {\n inputs,\n result: getResult()\n };\n }\n } else {\n cache = initial;\n }\n useEffect2(() => {\n committed.current = cache;\n if (prevCache == initial) {\n initial.inputs = initial.result = void 0;\n }\n }, [cache]);\n return cache.result;\n}\nfunction areInputsEqual(next, prev) {\n if (next.length !== prev.length) {\n return false;\n }\n for (let i = 0; i < next.length; i++) {\n if (next[i] !== prev[i]) {\n return false;\n }\n }\n return true;\n}\n\n// src/hooks/useOnce.ts\nimport { useEffect as useEffect3 } from \"react\";\nvar useOnce = (effect) => useEffect3(effect, emptyDeps);\nvar emptyDeps = [];\n\n// src/hooks/usePrev.ts\nimport { useEffect as useEffect4, useRef as useRef4 } from \"react\";\nfunction usePrev(value) {\n const prevRef = useRef4();\n useEffect4(() => {\n prevRef.current = value;\n });\n return prevRef.current;\n}\n\n// src/hooks/useReducedMotion.ts\nimport { useState as useState3 } from \"react\";\nvar useReducedMotion = () => {\n const [reducedMotion, setReducedMotion] = useState3(null);\n useIsomorphicLayoutEffect(() => {\n const mql = window.matchMedia(\"(prefers-reduced-motion)\");\n const handleMediaChange = (e) => {\n setReducedMotion(e.matches);\n assign({\n skipAnimation: e.matches\n });\n };\n handleMediaChange(mql);\n if (mql.addEventListener) {\n mql.addEventListener(\"change\", handleMediaChange);\n } else {\n mql.addListener(handleMediaChange);\n }\n return () => {\n if (mql.removeEventListener) {\n mql.removeEventListener(\"change\", handleMediaChange);\n } else {\n mql.removeListener(handleMediaChange);\n }\n };\n }, []);\n return reducedMotion;\n};\n\n// src/index.ts\nimport { raf as raf4 } from \"@react-spring/rafz\";\nexport {\n FluidValue,\n globals_exports as Globals,\n addFluidObserver,\n callFluidObserver,\n callFluidObservers,\n clamp,\n colorToRgba,\n colors2 as colors,\n createInterpolator,\n createStringInterpolator2 as createStringInterpolator,\n defineHidden,\n deprecateDirectCall,\n deprecateInterpolate,\n each,\n eachProp,\n easings,\n flush,\n flushCalls,\n frameLoop,\n getFluidObservers,\n getFluidValue,\n hasFluidValue,\n hex3,\n hex4,\n hex6,\n hex8,\n hsl,\n hsla,\n is,\n isAnimatedString,\n isEqual,\n isSSR,\n noop,\n onResize,\n onScroll,\n once,\n prefix,\n raf4 as raf,\n removeFluidObserver,\n rgb,\n rgba,\n setFluidGetter,\n toArray,\n useConstant,\n useForceUpdate,\n useIsomorphicLayoutEffect,\n useMemoOne,\n useOnce,\n usePrev,\n useReducedMotion\n};\n//# sourceMappingURL=react-spring_shared.modern.mjs.map","// src/Animated.ts\nimport { defineHidden } from \"@react-spring/shared\";\nvar $node = Symbol.for(\"Animated:node\");\nvar isAnimated = (value) => !!value && value[$node] === value;\nvar getAnimated = (owner) => owner && owner[$node];\nvar setAnimated = (owner, node) => defineHidden(owner, $node, node);\nvar getPayload = (owner) => owner && owner[$node] && owner[$node].getPayload();\nvar Animated = class {\n constructor() {\n setAnimated(this, this);\n }\n /** Get every `AnimatedValue` used by this node. */\n getPayload() {\n return this.payload || [];\n }\n};\n\n// src/AnimatedValue.ts\nimport { is } from \"@react-spring/shared\";\nvar AnimatedValue = class extends Animated {\n constructor(_value) {\n super();\n this._value = _value;\n this.done = true;\n this.durationProgress = 0;\n if (is.num(this._value)) {\n this.lastPosition = this._value;\n }\n }\n /** @internal */\n static create(value) {\n return new AnimatedValue(value);\n }\n getPayload() {\n return [this];\n }\n getValue() {\n return this._value;\n }\n setValue(value, step) {\n if (is.num(value)) {\n this.lastPosition = value;\n if (step) {\n value = Math.round(value / step) * step;\n if (this.done) {\n this.lastPosition = value;\n }\n }\n }\n if (this._value === value) {\n return false;\n }\n this._value = value;\n return true;\n }\n reset() {\n const { done } = this;\n this.done = false;\n if (is.num(this._value)) {\n this.elapsedTime = 0;\n this.durationProgress = 0;\n this.lastPosition = this._value;\n if (done)\n this.lastVelocity = null;\n this.v0 = null;\n }\n }\n};\n\n// src/AnimatedString.ts\nimport { is as is2, createInterpolator } from \"@react-spring/shared\";\nvar AnimatedString = class extends AnimatedValue {\n constructor(value) {\n super(0);\n this._string = null;\n this._toString = createInterpolator({\n output: [value, value]\n });\n }\n /** @internal */\n static create(value) {\n return new AnimatedString(value);\n }\n getValue() {\n const value = this._string;\n return value == null ? this._string = this._toString(this._value) : value;\n }\n setValue(value) {\n if (is2.str(value)) {\n if (value == this._string) {\n return false;\n }\n this._string = value;\n this._value = 1;\n } else if (super.setValue(value)) {\n this._string = null;\n } else {\n return false;\n }\n return true;\n }\n reset(goal) {\n if (goal) {\n this._toString = createInterpolator({\n output: [this.getValue(), goal]\n });\n }\n this._value = 0;\n super.reset();\n }\n};\n\n// src/AnimatedArray.ts\nimport { isAnimatedString } from \"@react-spring/shared\";\n\n// src/AnimatedObject.ts\nimport {\n each,\n eachProp,\n getFluidValue,\n hasFluidValue\n} from \"@react-spring/shared\";\n\n// src/context.ts\nvar TreeContext = { dependencies: null };\n\n// src/AnimatedObject.ts\nvar AnimatedObject = class extends Animated {\n constructor(source) {\n super();\n this.source = source;\n this.setValue(source);\n }\n getValue(animated) {\n const values = {};\n eachProp(this.source, (source, key) => {\n if (isAnimated(source)) {\n values[key] = source.getValue(animated);\n } else if (hasFluidValue(source)) {\n values[key] = getFluidValue(source);\n } else if (!animated) {\n values[key] = source;\n }\n });\n return values;\n }\n /** Replace the raw object data */\n setValue(source) {\n this.source = source;\n this.payload = this._makePayload(source);\n }\n reset() {\n if (this.payload) {\n each(this.payload, (node) => node.reset());\n }\n }\n /** Create a payload set. */\n _makePayload(source) {\n if (source) {\n const payload = /* @__PURE__ */ new Set();\n eachProp(source, this._addToPayload, payload);\n return Array.from(payload);\n }\n }\n /** Add to a payload set. */\n _addToPayload(source) {\n if (TreeContext.dependencies && hasFluidValue(source)) {\n TreeContext.dependencies.add(source);\n }\n const payload = getPayload(source);\n if (payload) {\n each(payload, (node) => this.add(node));\n }\n }\n};\n\n// src/AnimatedArray.ts\nvar AnimatedArray = class extends AnimatedObject {\n constructor(source) {\n super(source);\n }\n /** @internal */\n static create(source) {\n return new AnimatedArray(source);\n }\n getValue() {\n return this.source.map((node) => node.getValue());\n }\n setValue(source) {\n const payload = this.getPayload();\n if (source.length == payload.length) {\n return payload.map((node, i) => node.setValue(source[i])).some(Boolean);\n }\n super.setValue(source.map(makeAnimated));\n return true;\n }\n};\nfunction makeAnimated(value) {\n const nodeType = isAnimatedString(value) ? AnimatedString : AnimatedValue;\n return nodeType.create(value);\n}\n\n// src/getAnimatedType.ts\nimport { is as is3, isAnimatedString as isAnimatedString2 } from \"@react-spring/shared\";\nfunction getAnimatedType(value) {\n const parentNode = getAnimated(value);\n return parentNode ? parentNode.constructor : is3.arr(value) ? AnimatedArray : isAnimatedString2(value) ? AnimatedString : AnimatedValue;\n}\n\n// src/createHost.ts\nimport { is as is5, eachProp as eachProp2 } from \"@react-spring/shared\";\n\n// src/withAnimated.tsx\nimport * as React from \"react\";\nimport { forwardRef, useRef, useCallback, useEffect } from \"react\";\nimport {\n is as is4,\n each as each2,\n raf,\n useForceUpdate,\n useOnce,\n addFluidObserver,\n removeFluidObserver,\n useIsomorphicLayoutEffect\n} from \"@react-spring/shared\";\nvar withAnimated = (Component, host) => {\n const hasInstance = (\n // Function components must use \"forwardRef\" to avoid being\n // re-rendered on every animation frame.\n !is4.fun(Component) || Component.prototype && Component.prototype.isReactComponent\n );\n return forwardRef((givenProps, givenRef) => {\n const instanceRef = useRef(null);\n const ref = hasInstance && // eslint-disable-next-line react-hooks/rules-of-hooks\n useCallback(\n (value) => {\n instanceRef.current = updateRef(givenRef, value);\n },\n [givenRef]\n );\n const [props, deps] = getAnimatedState(givenProps, host);\n const forceUpdate = useForceUpdate();\n const callback = () => {\n const instance = instanceRef.current;\n if (hasInstance && !instance) {\n return;\n }\n const didUpdate = instance ? host.applyAnimatedValues(instance, props.getValue(true)) : false;\n if (didUpdate === false) {\n forceUpdate();\n }\n };\n const observer = new PropsObserver(callback, deps);\n const observerRef = useRef();\n useIsomorphicLayoutEffect(() => {\n observerRef.current = observer;\n each2(deps, (dep) => addFluidObserver(dep, observer));\n return () => {\n if (observerRef.current) {\n each2(\n observerRef.current.deps,\n (dep) => removeFluidObserver(dep, observerRef.current)\n );\n raf.cancel(observerRef.current.update);\n }\n };\n });\n useEffect(callback, []);\n useOnce(() => () => {\n const observer2 = observerRef.current;\n each2(observer2.deps, (dep) => removeFluidObserver(dep, observer2));\n });\n const usedProps = host.getComponentProps(props.getValue());\n return /* @__PURE__ */ React.createElement(Component, { ...usedProps, ref });\n });\n};\nvar PropsObserver = class {\n constructor(update, deps) {\n this.update = update;\n this.deps = deps;\n }\n eventObserved(event) {\n if (event.type == \"change\") {\n raf.write(this.update);\n }\n }\n};\nfunction getAnimatedState(props, host) {\n const dependencies = /* @__PURE__ */ new Set();\n TreeContext.dependencies = dependencies;\n if (props.style)\n props = {\n ...props,\n style: host.createAnimatedStyle(props.style)\n };\n props = new AnimatedObject(props);\n TreeContext.dependencies = null;\n return [props, dependencies];\n}\nfunction updateRef(ref, value) {\n if (ref) {\n if (is4.fun(ref))\n ref(value);\n else\n ref.current = value;\n }\n return value;\n}\n\n// src/createHost.ts\nvar cacheKey = Symbol.for(\"AnimatedComponent\");\nvar createHost = (components, {\n applyAnimatedValues = () => false,\n createAnimatedStyle = (style) => new AnimatedObject(style),\n getComponentProps = (props) => props\n} = {}) => {\n const hostConfig = {\n applyAnimatedValues,\n createAnimatedStyle,\n getComponentProps\n };\n const animated = (Component) => {\n const displayName = getDisplayName(Component) || \"Anonymous\";\n if (is5.str(Component)) {\n Component = animated[Component] || (animated[Component] = withAnimated(Component, hostConfig));\n } else {\n Component = Component[cacheKey] || (Component[cacheKey] = withAnimated(Component, hostConfig));\n }\n Component.displayName = `Animated(${displayName})`;\n return Component;\n };\n eachProp2(components, (Component, key) => {\n if (is5.arr(components)) {\n key = getDisplayName(Component);\n }\n animated[key] = animated(Component);\n });\n return {\n animated\n };\n};\nvar getDisplayName = (arg) => is5.str(arg) ? arg : arg && is5.str(arg.displayName) ? arg.displayName : is5.fun(arg) && arg.name || null;\nexport {\n Animated,\n AnimatedArray,\n AnimatedObject,\n AnimatedString,\n AnimatedValue,\n createHost,\n getAnimated,\n getAnimatedType,\n getPayload,\n isAnimated,\n setAnimated\n};\n//# sourceMappingURL=react-spring_animated.modern.mjs.map","// src/hooks/useChain.ts\nimport { each, useIsomorphicLayoutEffect } from \"@react-spring/shared\";\n\n// src/helpers.ts\nimport {\n is,\n toArray,\n eachProp,\n getFluidValue,\n isAnimatedString,\n Globals as G\n} from \"@react-spring/shared\";\nfunction callProp(value, ...args) {\n return is.fun(value) ? value(...args) : value;\n}\nvar matchProp = (value, key) => value === true || !!(key && value && (is.fun(value) ? value(key) : toArray(value).includes(key)));\nvar resolveProp = (prop, key) => is.obj(prop) ? key && prop[key] : prop;\nvar getDefaultProp = (props, key) => props.default === true ? props[key] : props.default ? props.default[key] : void 0;\nvar noopTransform = (value) => value;\nvar getDefaultProps = (props, transform = noopTransform) => {\n let keys = DEFAULT_PROPS;\n if (props.default && props.default !== true) {\n props = props.default;\n keys = Object.keys(props);\n }\n const defaults2 = {};\n for (const key of keys) {\n const value = transform(props[key], key);\n if (!is.und(value)) {\n defaults2[key] = value;\n }\n }\n return defaults2;\n};\nvar DEFAULT_PROPS = [\n \"config\",\n \"onProps\",\n \"onStart\",\n \"onChange\",\n \"onPause\",\n \"onResume\",\n \"onRest\"\n];\nvar RESERVED_PROPS = {\n config: 1,\n from: 1,\n to: 1,\n ref: 1,\n loop: 1,\n reset: 1,\n pause: 1,\n cancel: 1,\n reverse: 1,\n immediate: 1,\n default: 1,\n delay: 1,\n onProps: 1,\n onStart: 1,\n onChange: 1,\n onPause: 1,\n onResume: 1,\n onRest: 1,\n onResolve: 1,\n // Transition props\n items: 1,\n trail: 1,\n sort: 1,\n expires: 1,\n initial: 1,\n enter: 1,\n update: 1,\n leave: 1,\n children: 1,\n onDestroyed: 1,\n // Internal props\n keys: 1,\n callId: 1,\n parentId: 1\n};\nfunction getForwardProps(props) {\n const forward = {};\n let count = 0;\n eachProp(props, (value, prop) => {\n if (!RESERVED_PROPS[prop]) {\n forward[prop] = value;\n count++;\n }\n });\n if (count) {\n return forward;\n }\n}\nfunction inferTo(props) {\n const to2 = getForwardProps(props);\n if (to2) {\n const out = { to: to2 };\n eachProp(props, (val, key) => key in to2 || (out[key] = val));\n return out;\n }\n return { ...props };\n}\nfunction computeGoal(value) {\n value = getFluidValue(value);\n return is.arr(value) ? value.map(computeGoal) : isAnimatedString(value) ? G.createStringInterpolator({\n range: [0, 1],\n output: [value, value]\n })(1) : value;\n}\nfunction hasProps(props) {\n for (const _ in props)\n return true;\n return false;\n}\nfunction isAsyncTo(to2) {\n return is.fun(to2) || is.arr(to2) && is.obj(to2[0]);\n}\nfunction detachRefs(ctrl, ref) {\n ctrl.ref?.delete(ctrl);\n ref?.delete(ctrl);\n}\nfunction replaceRef(ctrl, ref) {\n if (ref && ctrl.ref !== ref) {\n ctrl.ref?.delete(ctrl);\n ref.add(ctrl);\n ctrl.ref = ref;\n }\n}\n\n// src/hooks/useChain.ts\nfunction useChain(refs, timeSteps, timeFrame = 1e3) {\n useIsomorphicLayoutEffect(() => {\n if (timeSteps) {\n let prevDelay = 0;\n each(refs, (ref, i) => {\n const controllers = ref.current;\n if (controllers.length) {\n let delay = timeFrame * timeSteps[i];\n if (isNaN(delay))\n delay = prevDelay;\n else\n prevDelay = delay;\n each(controllers, (ctrl) => {\n each(ctrl.queue, (props) => {\n const memoizedDelayProp = props.delay;\n props.delay = (key) => delay + callProp(memoizedDelayProp || 0, key);\n });\n });\n ref.start();\n }\n });\n } else {\n let p = Promise.resolve();\n each(refs, (ref) => {\n const controllers = ref.current;\n if (controllers.length) {\n const queues = controllers.map((ctrl) => {\n const q = ctrl.queue;\n ctrl.queue = [];\n return q;\n });\n p = p.then(() => {\n each(\n controllers,\n (ctrl, i) => each(queues[i] || [], (update2) => ctrl.queue.push(update2))\n );\n return Promise.all(ref.start());\n });\n }\n });\n }\n });\n}\n\n// src/hooks/useSpring.ts\nimport { is as is9 } from \"@react-spring/shared\";\n\n// src/hooks/useSprings.ts\nimport { useContext as useContext2, useMemo, useRef } from \"react\";\nimport {\n is as is8,\n each as each5,\n usePrev,\n useOnce,\n useForceUpdate,\n useIsomorphicLayoutEffect as useIsomorphicLayoutEffect2\n} from \"@react-spring/shared\";\n\n// src/SpringValue.ts\nimport {\n is as is5,\n raf as raf3,\n each as each2,\n isEqual,\n toArray as toArray2,\n eachProp as eachProp3,\n frameLoop as frameLoop2,\n flushCalls,\n getFluidValue as getFluidValue2,\n isAnimatedString as isAnimatedString2,\n Globals as G5,\n callFluidObservers as callFluidObservers2,\n hasFluidValue,\n addFluidObserver,\n removeFluidObserver,\n getFluidObservers\n} from \"@react-spring/shared\";\nimport {\n AnimatedValue,\n AnimatedString,\n getPayload,\n getAnimated as getAnimated2,\n setAnimated,\n getAnimatedType\n} from \"@react-spring/animated\";\n\n// src/AnimationConfig.ts\nimport { is as is2, easings } from \"@react-spring/shared\";\n\n// src/constants.ts\nvar config = {\n default: { tension: 170, friction: 26 },\n gentle: { tension: 120, friction: 14 },\n wobbly: { tension: 180, friction: 12 },\n stiff: { tension: 210, friction: 20 },\n slow: { tension: 280, friction: 60 },\n molasses: { tension: 280, friction: 120 }\n};\n\n// src/AnimationConfig.ts\nvar defaults = {\n ...config.default,\n mass: 1,\n damping: 1,\n easing: easings.linear,\n clamp: false\n};\nvar AnimationConfig = class {\n constructor() {\n /**\n * The initial velocity of one or more values.\n *\n * @default 0\n */\n this.velocity = 0;\n Object.assign(this, defaults);\n }\n};\nfunction mergeConfig(config2, newConfig, defaultConfig) {\n if (defaultConfig) {\n defaultConfig = { ...defaultConfig };\n sanitizeConfig(defaultConfig, newConfig);\n newConfig = { ...defaultConfig, ...newConfig };\n }\n sanitizeConfig(config2, newConfig);\n Object.assign(config2, newConfig);\n for (const key in defaults) {\n if (config2[key] == null) {\n config2[key] = defaults[key];\n }\n }\n let { frequency, damping } = config2;\n const { mass } = config2;\n if (!is2.und(frequency)) {\n if (frequency < 0.01)\n frequency = 0.01;\n if (damping < 0)\n damping = 0;\n config2.tension = Math.pow(2 * Math.PI / frequency, 2) * mass;\n config2.friction = 4 * Math.PI * damping * mass / frequency;\n }\n return config2;\n}\nfunction sanitizeConfig(config2, props) {\n if (!is2.und(props.decay)) {\n config2.duration = void 0;\n } else {\n const isTensionConfig = !is2.und(props.tension) || !is2.und(props.friction);\n if (isTensionConfig || !is2.und(props.frequency) || !is2.und(props.damping) || !is2.und(props.mass)) {\n config2.duration = void 0;\n config2.decay = void 0;\n }\n if (isTensionConfig) {\n config2.frequency = void 0;\n }\n }\n}\n\n// src/Animation.ts\nvar emptyArray = [];\nvar Animation = class {\n constructor() {\n this.changed = false;\n this.values = emptyArray;\n this.toValues = null;\n this.fromValues = emptyArray;\n this.config = new AnimationConfig();\n this.immediate = false;\n }\n};\n\n// src/scheduleProps.ts\nimport { is as is3, raf, Globals as G2 } from \"@react-spring/shared\";\nfunction scheduleProps(callId, { key, props, defaultProps, state, actions }) {\n return new Promise((resolve, reject) => {\n let delay;\n let timeout;\n let cancel = matchProp(props.cancel ?? defaultProps?.cancel, key);\n if (cancel) {\n onStart();\n } else {\n if (!is3.und(props.pause)) {\n state.paused = matchProp(props.pause, key);\n }\n let pause = defaultProps?.pause;\n if (pause !== true) {\n pause = state.paused || matchProp(pause, key);\n }\n delay = callProp(props.delay || 0, key);\n if (pause) {\n state.resumeQueue.add(onResume);\n actions.pause();\n } else {\n actions.resume();\n onResume();\n }\n }\n function onPause() {\n state.resumeQueue.add(onResume);\n state.timeouts.delete(timeout);\n timeout.cancel();\n delay = timeout.time - raf.now();\n }\n function onResume() {\n if (delay > 0 && !G2.skipAnimation) {\n state.delayed = true;\n timeout = raf.setTimeout(onStart, delay);\n state.pauseQueue.add(onPause);\n state.timeouts.add(timeout);\n } else {\n onStart();\n }\n }\n function onStart() {\n if (state.delayed) {\n state.delayed = false;\n }\n state.pauseQueue.delete(onPause);\n state.timeouts.delete(timeout);\n if (callId <= (state.cancelId || 0)) {\n cancel = true;\n }\n try {\n actions.start({ ...props, callId, cancel }, resolve);\n } catch (err) {\n reject(err);\n }\n }\n });\n}\n\n// src/runAsync.ts\nimport {\n is as is4,\n raf as raf2,\n flush,\n eachProp as eachProp2,\n Globals as G3\n} from \"@react-spring/shared\";\n\n// src/AnimationResult.ts\nvar getCombinedResult = (target, results) => results.length == 1 ? results[0] : results.some((result) => result.cancelled) ? getCancelledResult(target.get()) : results.every((result) => result.noop) ? getNoopResult(target.get()) : getFinishedResult(\n target.get(),\n results.every((result) => result.finished)\n);\nvar getNoopResult = (value) => ({\n value,\n noop: true,\n finished: true,\n cancelled: false\n});\nvar getFinishedResult = (value, finished, cancelled = false) => ({\n value,\n finished,\n cancelled\n});\nvar getCancelledResult = (value) => ({\n value,\n cancelled: true,\n finished: false\n});\n\n// src/runAsync.ts\nfunction runAsync(to2, props, state, target) {\n const { callId, parentId, onRest } = props;\n const { asyncTo: prevTo, promise: prevPromise } = state;\n if (!parentId && to2 === prevTo && !props.reset) {\n return prevPromise;\n }\n return state.promise = (async () => {\n state.asyncId = callId;\n state.asyncTo = to2;\n const defaultProps = getDefaultProps(\n props,\n (value, key) => (\n // The `onRest` prop is only called when the `runAsync` promise is resolved.\n key === \"onRest\" ? void 0 : value\n )\n );\n let preventBail;\n let bail;\n const bailPromise = new Promise(\n (resolve, reject) => (preventBail = resolve, bail = reject)\n );\n const bailIfEnded = (bailSignal) => {\n const bailResult = (\n // The `cancel` prop or `stop` method was used.\n callId <= (state.cancelId || 0) && getCancelledResult(target) || // The async `to` prop was replaced.\n callId !== state.asyncId && getFinishedResult(target, false)\n );\n if (bailResult) {\n bailSignal.result = bailResult;\n bail(bailSignal);\n throw bailSignal;\n }\n };\n const animate = (arg1, arg2) => {\n const bailSignal = new BailSignal();\n const skipAnimationSignal = new SkipAnimationSignal();\n return (async () => {\n if (G3.skipAnimation) {\n stopAsync(state);\n skipAnimationSignal.result = getFinishedResult(target, false);\n bail(skipAnimationSignal);\n throw skipAnimationSignal;\n }\n bailIfEnded(bailSignal);\n const props2 = is4.obj(arg1) ? { ...arg1 } : { ...arg2, to: arg1 };\n props2.parentId = callId;\n eachProp2(defaultProps, (value, key) => {\n if (is4.und(props2[key])) {\n props2[key] = value;\n }\n });\n const result2 = await target.start(props2);\n bailIfEnded(bailSignal);\n if (state.paused) {\n await new Promise((resume) => {\n state.resumeQueue.add(resume);\n });\n }\n return result2;\n })();\n };\n let result;\n if (G3.skipAnimation) {\n stopAsync(state);\n return getFinishedResult(target, false);\n }\n try {\n let animating;\n if (is4.arr(to2)) {\n animating = (async (queue) => {\n for (const props2 of queue) {\n await animate(props2);\n }\n })(to2);\n } else {\n animating = Promise.resolve(to2(animate, target.stop.bind(target)));\n }\n await Promise.all([animating.then(preventBail), bailPromise]);\n result = getFinishedResult(target.get(), true, false);\n } catch (err) {\n if (err instanceof BailSignal) {\n result = err.result;\n } else if (err instanceof SkipAnimationSignal) {\n result = err.result;\n } else {\n throw err;\n }\n } finally {\n if (callId == state.asyncId) {\n state.asyncId = parentId;\n state.asyncTo = parentId ? prevTo : void 0;\n state.promise = parentId ? prevPromise : void 0;\n }\n }\n if (is4.fun(onRest)) {\n raf2.batchedUpdates(() => {\n onRest(result, target, target.item);\n });\n }\n return result;\n })();\n}\nfunction stopAsync(state, cancelId) {\n flush(state.timeouts, (t) => t.cancel());\n state.pauseQueue.clear();\n state.resumeQueue.clear();\n state.asyncId = state.asyncTo = state.promise = void 0;\n if (cancelId)\n state.cancelId = cancelId;\n}\nvar BailSignal = class extends Error {\n constructor() {\n super(\n \"An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.\"\n );\n }\n};\nvar SkipAnimationSignal = class extends Error {\n constructor() {\n super(\"SkipAnimationSignal\");\n }\n};\n\n// src/FrameValue.ts\nimport {\n deprecateInterpolate,\n frameLoop,\n FluidValue as FluidValue2,\n Globals as G4,\n callFluidObservers\n} from \"@react-spring/shared\";\nimport { getAnimated } from \"@react-spring/animated\";\nvar isFrameValue = (value) => value instanceof FrameValue;\nvar nextId = 1;\nvar FrameValue = class extends FluidValue2 {\n constructor() {\n super(...arguments);\n this.id = nextId++;\n this._priority = 0;\n }\n get priority() {\n return this._priority;\n }\n set priority(priority) {\n if (this._priority != priority) {\n this._priority = priority;\n this._onPriorityChange(priority);\n }\n }\n /** Get the current value */\n get() {\n const node = getAnimated(this);\n return node && node.getValue();\n }\n /** Create a spring that maps our value to another value */\n to(...args) {\n return G4.to(this, args);\n }\n /** @deprecated Use the `to` method instead. */\n interpolate(...args) {\n deprecateInterpolate();\n return G4.to(this, args);\n }\n toJSON() {\n return this.get();\n }\n observerAdded(count) {\n if (count == 1)\n this._attach();\n }\n observerRemoved(count) {\n if (count == 0)\n this._detach();\n }\n /** Called when the first child is added. */\n _attach() {\n }\n /** Called when the last child is removed. */\n _detach() {\n }\n /** Tell our children about our new value */\n _onChange(value, idle = false) {\n callFluidObservers(this, {\n type: \"change\",\n parent: this,\n value,\n idle\n });\n }\n /** Tell our children about our new priority */\n _onPriorityChange(priority) {\n if (!this.idle) {\n frameLoop.sort(this);\n }\n callFluidObservers(this, {\n type: \"priority\",\n parent: this,\n priority\n });\n }\n};\n\n// src/SpringPhase.ts\nvar $P = Symbol.for(\"SpringPhase\");\nvar HAS_ANIMATED = 1;\nvar IS_ANIMATING = 2;\nvar IS_PAUSED = 4;\nvar hasAnimated = (target) => (target[$P] & HAS_ANIMATED) > 0;\nvar isAnimating = (target) => (target[$P] & IS_ANIMATING) > 0;\nvar isPaused = (target) => (target[$P] & IS_PAUSED) > 0;\nvar setActiveBit = (target, active) => active ? target[$P] |= IS_ANIMATING | HAS_ANIMATED : target[$P] &= ~IS_ANIMATING;\nvar setPausedBit = (target, paused) => paused ? target[$P] |= IS_PAUSED : target[$P] &= ~IS_PAUSED;\n\n// src/SpringValue.ts\nvar SpringValue = class extends FrameValue {\n constructor(arg1, arg2) {\n super();\n /** The animation state */\n this.animation = new Animation();\n /** Some props have customizable default values */\n this.defaultProps = {};\n /** The state for `runAsync` calls */\n this._state = {\n paused: false,\n delayed: false,\n pauseQueue: /* @__PURE__ */ new Set(),\n resumeQueue: /* @__PURE__ */ new Set(),\n timeouts: /* @__PURE__ */ new Set()\n };\n /** The promise resolvers of pending `start` calls */\n this._pendingCalls = /* @__PURE__ */ new Set();\n /** The counter for tracking `scheduleProps` calls */\n this._lastCallId = 0;\n /** The last `scheduleProps` call that changed the `to` prop */\n this._lastToId = 0;\n this._memoizedDuration = 0;\n if (!is5.und(arg1) || !is5.und(arg2)) {\n const props = is5.obj(arg1) ? { ...arg1 } : { ...arg2, from: arg1 };\n if (is5.und(props.default)) {\n props.default = true;\n }\n this.start(props);\n }\n }\n /** Equals true when not advancing on each frame. */\n get idle() {\n return !(isAnimating(this) || this._state.asyncTo) || isPaused(this);\n }\n get goal() {\n return getFluidValue2(this.animation.to);\n }\n get velocity() {\n const node = getAnimated2(this);\n return node instanceof AnimatedValue ? node.lastVelocity || 0 : node.getPayload().map((node2) => node2.lastVelocity || 0);\n }\n /**\n * When true, this value has been animated at least once.\n */\n get hasAnimated() {\n return hasAnimated(this);\n }\n /**\n * When true, this value has an unfinished animation,\n * which is either active or paused.\n */\n get isAnimating() {\n return isAnimating(this);\n }\n /**\n * When true, all current and future animations are paused.\n */\n get isPaused() {\n return isPaused(this);\n }\n /**\n *\n *\n */\n get isDelayed() {\n return this._state.delayed;\n }\n /** Advance the current animation by a number of milliseconds */\n advance(dt) {\n let idle = true;\n let changed = false;\n const anim = this.animation;\n let { toValues } = anim;\n const { config: config2 } = anim;\n const payload = getPayload(anim.to);\n if (!payload && hasFluidValue(anim.to)) {\n toValues = toArray2(getFluidValue2(anim.to));\n }\n anim.values.forEach((node2, i) => {\n if (node2.done)\n return;\n const to2 = (\n // Animated strings always go from 0 to 1.\n node2.constructor == AnimatedString ? 1 : payload ? payload[i].lastPosition : toValues[i]\n );\n let finished = anim.immediate;\n let position = to2;\n if (!finished) {\n position = node2.lastPosition;\n if (config2.tension <= 0) {\n node2.done = true;\n return;\n }\n let elapsed = node2.elapsedTime += dt;\n const from = anim.fromValues[i];\n const v0 = node2.v0 != null ? node2.v0 : node2.v0 = is5.arr(config2.velocity) ? config2.velocity[i] : config2.velocity;\n let velocity;\n const precision = config2.precision || (from == to2 ? 5e-3 : Math.min(1, Math.abs(to2 - from) * 1e-3));\n if (!is5.und(config2.duration)) {\n let p = 1;\n if (config2.duration > 0) {\n if (this._memoizedDuration !== config2.duration) {\n this._memoizedDuration = config2.duration;\n if (node2.durationProgress > 0) {\n node2.elapsedTime = config2.duration * node2.durationProgress;\n elapsed = node2.elapsedTime += dt;\n }\n }\n p = (config2.progress || 0) + elapsed / this._memoizedDuration;\n p = p > 1 ? 1 : p < 0 ? 0 : p;\n node2.durationProgress = p;\n }\n position = from + config2.easing(p) * (to2 - from);\n velocity = (position - node2.lastPosition) / dt;\n finished = p == 1;\n } else if (config2.decay) {\n const decay = config2.decay === true ? 0.998 : config2.decay;\n const e = Math.exp(-(1 - decay) * elapsed);\n position = from + v0 / (1 - decay) * (1 - e);\n finished = Math.abs(node2.lastPosition - position) <= precision;\n velocity = v0 * e;\n } else {\n velocity = node2.lastVelocity == null ? v0 : node2.lastVelocity;\n const restVelocity = config2.restVelocity || precision / 10;\n const bounceFactor = config2.clamp ? 0 : config2.bounce;\n const canBounce = !is5.und(bounceFactor);\n const isGrowing = from == to2 ? node2.v0 > 0 : from < to2;\n let isMoving;\n let isBouncing = false;\n const step = 1;\n const numSteps = Math.ceil(dt / step);\n for (let n = 0; n < numSteps; ++n) {\n isMoving = Math.abs(velocity) > restVelocity;\n if (!isMoving) {\n finished = Math.abs(to2 - position) <= precision;\n if (finished) {\n break;\n }\n }\n if (canBounce) {\n isBouncing = position == to2 || position > to2 == isGrowing;\n if (isBouncing) {\n velocity = -velocity * bounceFactor;\n position = to2;\n }\n }\n const springForce = -config2.tension * 1e-6 * (position - to2);\n const dampingForce = -config2.friction * 1e-3 * velocity;\n const acceleration = (springForce + dampingForce) / config2.mass;\n velocity = velocity + acceleration * step;\n position = position + velocity * step;\n }\n }\n node2.lastVelocity = velocity;\n if (Number.isNaN(position)) {\n console.warn(`Got NaN while animating:`, this);\n finished = true;\n }\n }\n if (payload && !payload[i].done) {\n finished = false;\n }\n if (finished) {\n node2.done = true;\n } else {\n idle = false;\n }\n if (node2.setValue(position, config2.round)) {\n changed = true;\n }\n });\n const node = getAnimated2(this);\n const currVal = node.getValue();\n if (idle) {\n const finalVal = getFluidValue2(anim.to);\n if ((currVal !== finalVal || changed) && !config2.decay) {\n node.setValue(finalVal);\n this._onChange(finalVal);\n } else if (changed && config2.decay) {\n this._onChange(currVal);\n }\n this._stop();\n } else if (changed) {\n this._onChange(currVal);\n }\n }\n /** Set the current value, while stopping the current animation */\n set(value) {\n raf3.batchedUpdates(() => {\n this._stop();\n this._focus(value);\n this._set(value);\n });\n return this;\n }\n /**\n * Freeze the active animation in time, as well as any updates merged\n * before `resume` is called.\n */\n pause() {\n this._update({ pause: true });\n }\n /** Resume the animation if paused. */\n resume() {\n this._update({ pause: false });\n }\n /** Skip to the end of the current animation. */\n finish() {\n if (isAnimating(this)) {\n const { to: to2, config: config2 } = this.animation;\n raf3.batchedUpdates(() => {\n this._onStart();\n if (!config2.decay) {\n this._set(to2, false);\n }\n this._stop();\n });\n }\n return this;\n }\n /** Push props into the pending queue. */\n update(props) {\n const queue = this.queue || (this.queue = []);\n queue.push(props);\n return this;\n }\n start(to2, arg2) {\n let queue;\n if (!is5.und(to2)) {\n queue = [is5.obj(to2) ? to2 : { ...arg2, to: to2 }];\n } else {\n queue = this.queue || [];\n this.queue = [];\n }\n return Promise.all(\n queue.map((props) => {\n const up = this._update(props);\n return up;\n })\n ).then((results) => getCombinedResult(this, results));\n }\n /**\n * Stop the current animation, and cancel any delayed updates.\n *\n * Pass `true` to call `onRest` with `cancelled: true`.\n */\n stop(cancel) {\n const { to: to2 } = this.animation;\n this._focus(this.get());\n stopAsync(this._state, cancel && this._lastCallId);\n raf3.batchedUpdates(() => this._stop(to2, cancel));\n return this;\n }\n /** Restart the animation. */\n reset() {\n this._update({ reset: true });\n }\n /** @internal */\n eventObserved(event) {\n if (event.type == \"change\") {\n this._start();\n } else if (event.type == \"priority\") {\n this.priority = event.priority + 1;\n }\n }\n /**\n * Parse the `to` and `from` range from the given `props` object.\n *\n * This also ensures the initial value is available to animated components\n * during the render phase.\n */\n _prepareNode(props) {\n const key = this.key || \"\";\n let { to: to2, from } = props;\n to2 = is5.obj(to2) ? to2[key] : to2;\n if (to2 == null || isAsyncTo(to2)) {\n to2 = void 0;\n }\n from = is5.obj(from) ? from[key] : from;\n if (from == null) {\n from = void 0;\n }\n const range = { to: to2, from };\n if (!hasAnimated(this)) {\n if (props.reverse)\n [to2, from] = [from, to2];\n from = getFluidValue2(from);\n if (!is5.und(from)) {\n this._set(from);\n } else if (!getAnimated2(this)) {\n this._set(to2);\n }\n }\n return range;\n }\n /** Every update is processed by this method before merging. */\n _update({ ...props }, isLoop) {\n const { key, defaultProps } = this;\n if (props.default)\n Object.assign(\n defaultProps,\n getDefaultProps(\n props,\n (value, prop) => /^on/.test(prop) ? resolveProp(value, key) : value\n )\n );\n mergeActiveFn(this, props, \"onProps\");\n sendEvent(this, \"onProps\", props, this);\n const range = this._prepareNode(props);\n if (Object.isFrozen(this)) {\n throw Error(\n \"Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?\"\n );\n }\n const state = this._state;\n return scheduleProps(++this._lastCallId, {\n key,\n props,\n defaultProps,\n state,\n actions: {\n pause: () => {\n if (!isPaused(this)) {\n setPausedBit(this, true);\n flushCalls(state.pauseQueue);\n sendEvent(\n this,\n \"onPause\",\n getFinishedResult(this, checkFinished(this, this.animation.to)),\n this\n );\n }\n },\n resume: () => {\n if (isPaused(this)) {\n setPausedBit(this, false);\n if (isAnimating(this)) {\n this._resume();\n }\n flushCalls(state.resumeQueue);\n sendEvent(\n this,\n \"onResume\",\n getFinishedResult(this, checkFinished(this, this.animation.to)),\n this\n );\n }\n },\n start: this._merge.bind(this, range)\n }\n }).then((result) => {\n if (props.loop && result.finished && !(isLoop && result.noop)) {\n const nextProps = createLoopUpdate(props);\n if (nextProps) {\n return this._update(nextProps, true);\n }\n }\n return result;\n });\n }\n /** Merge props into the current animation */\n _merge(range, props, resolve) {\n if (props.cancel) {\n this.stop(true);\n return resolve(getCancelledResult(this));\n }\n const hasToProp = !is5.und(range.to);\n const hasFromProp = !is5.und(range.from);\n if (hasToProp || hasFromProp) {\n if (props.callId > this._lastToId) {\n this._lastToId = props.callId;\n } else {\n return resolve(getCancelledResult(this));\n }\n }\n const { key, defaultProps, animation: anim } = this;\n const { to: prevTo, from: prevFrom } = anim;\n let { to: to2 = prevTo, from = prevFrom } = range;\n if (hasFromProp && !hasToProp && (!props.default || is5.und(to2))) {\n to2 = from;\n }\n if (props.reverse)\n [to2, from] = [from, to2];\n const hasFromChanged = !isEqual(from, prevFrom);\n if (hasFromChanged) {\n anim.from = from;\n }\n from = getFluidValue2(from);\n const hasToChanged = !isEqual(to2, prevTo);\n if (hasToChanged) {\n this._focus(to2);\n }\n const hasAsyncTo = isAsyncTo(props.to);\n const { config: config2 } = anim;\n const { decay, velocity } = config2;\n if (hasToProp || hasFromProp) {\n config2.velocity = 0;\n }\n if (props.config && !hasAsyncTo) {\n mergeConfig(\n config2,\n callProp(props.config, key),\n // Avoid calling the same \"config\" prop twice.\n props.config !== defaultProps.config ? callProp(defaultProps.config, key) : void 0\n );\n }\n let node = getAnimated2(this);\n if (!node || is5.und(to2)) {\n return resolve(getFinishedResult(this, true));\n }\n const reset = (\n // When `reset` is undefined, the `from` prop implies `reset: true`,\n // except for declarative updates. When `reset` is defined, there\n // must exist a value to animate from.\n is5.und(props.reset) ? hasFromProp && !props.default : !is5.und(from) && matchProp(props.reset, key)\n );\n const value = reset ? from : this.get();\n const goal = computeGoal(to2);\n const isAnimatable = is5.num(goal) || is5.arr(goal) || isAnimatedString2(goal);\n const immediate = !hasAsyncTo && (!isAnimatable || matchProp(defaultProps.immediate || props.immediate, key));\n if (hasToChanged) {\n const nodeType = getAnimatedType(to2);\n if (nodeType !== node.constructor) {\n if (immediate) {\n node = this._set(goal);\n } else\n throw Error(\n `Cannot animate between ${node.constructor.name} and ${nodeType.name}, as the \"to\" prop suggests`\n );\n }\n }\n const goalType = node.constructor;\n let started = hasFluidValue(to2);\n let finished = false;\n if (!started) {\n const hasValueChanged = reset || !hasAnimated(this) && hasFromChanged;\n if (hasToChanged || hasValueChanged) {\n finished = isEqual(computeGoal(value), goal);\n started = !finished;\n }\n if (!isEqual(anim.immediate, immediate) && !immediate || !isEqual(config2.decay, decay) || !isEqual(config2.velocity, velocity)) {\n started = true;\n }\n }\n if (finished && isAnimating(this)) {\n if (anim.changed && !reset) {\n started = true;\n } else if (!started) {\n this._stop(prevTo);\n }\n }\n if (!hasAsyncTo) {\n if (started || hasFluidValue(prevTo)) {\n anim.values = node.getPayload();\n anim.toValues = hasFluidValue(to2) ? null : goalType == AnimatedString ? [1] : toArray2(goal);\n }\n if (anim.immediate != immediate) {\n anim.immediate = immediate;\n if (!immediate && !reset) {\n this._set(prevTo);\n }\n }\n if (started) {\n const { onRest } = anim;\n each2(ACTIVE_EVENTS, (type) => mergeActiveFn(this, props, type));\n const result = getFinishedResult(this, checkFinished(this, prevTo));\n flushCalls(this._pendingCalls, result);\n this._pendingCalls.add(resolve);\n if (anim.changed)\n raf3.batchedUpdates(() => {\n anim.changed = !reset;\n onRest?.(result, this);\n if (reset) {\n callProp(defaultProps.onRest, result);\n } else {\n anim.onStart?.(result, this);\n }\n });\n }\n }\n if (reset) {\n this._set(value);\n }\n if (hasAsyncTo) {\n resolve(runAsync(props.to, props, this._state, this));\n } else if (started) {\n this._start();\n } else if (isAnimating(this) && !hasToChanged) {\n this._pendingCalls.add(resolve);\n } else {\n resolve(getNoopResult(value));\n }\n }\n /** Update the `animation.to` value, which might be a `FluidValue` */\n _focus(value) {\n const anim = this.animation;\n if (value !== anim.to) {\n if (getFluidObservers(this)) {\n this._detach();\n }\n anim.to = value;\n if (getFluidObservers(this)) {\n this._attach();\n }\n }\n }\n _attach() {\n let priority = 0;\n const { to: to2 } = this.animation;\n if (hasFluidValue(to2)) {\n addFluidObserver(to2, this);\n if (isFrameValue(to2)) {\n priority = to2.priority + 1;\n }\n }\n this.priority = priority;\n }\n _detach() {\n const { to: to2 } = this.animation;\n if (hasFluidValue(to2)) {\n removeFluidObserver(to2, this);\n }\n }\n /**\n * Update the current value from outside the frameloop,\n * and return the `Animated` node.\n */\n _set(arg, idle = true) {\n const value = getFluidValue2(arg);\n if (!is5.und(value)) {\n const oldNode = getAnimated2(this);\n if (!oldNode || !isEqual(value, oldNode.getValue())) {\n const nodeType = getAnimatedType(value);\n if (!oldNode || oldNode.constructor != nodeType) {\n setAnimated(this, nodeType.create(value));\n } else {\n oldNode.setValue(value);\n }\n if (oldNode) {\n raf3.batchedUpdates(() => {\n this._onChange(value, idle);\n });\n }\n }\n }\n return getAnimated2(this);\n }\n _onStart() {\n const anim = this.animation;\n if (!anim.changed) {\n anim.changed = true;\n sendEvent(\n this,\n \"onStart\",\n getFinishedResult(this, checkFinished(this, anim.to)),\n this\n );\n }\n }\n _onChange(value, idle) {\n if (!idle) {\n this._onStart();\n callProp(this.animation.onChange, value, this);\n }\n callProp(this.defaultProps.onChange, value, this);\n super._onChange(value, idle);\n }\n // This method resets the animation state (even if already animating) to\n // ensure the latest from/to range is used, and it also ensures this spring\n // is added to the frameloop.\n _start() {\n const anim = this.animation;\n getAnimated2(this).reset(getFluidValue2(anim.to));\n if (!anim.immediate) {\n anim.fromValues = anim.values.map((node) => node.lastPosition);\n }\n if (!isAnimating(this)) {\n setActiveBit(this, true);\n if (!isPaused(this)) {\n this._resume();\n }\n }\n }\n _resume() {\n if (G5.skipAnimation) {\n this.finish();\n } else {\n frameLoop2.start(this);\n }\n }\n /**\n * Exit the frameloop and notify `onRest` listeners.\n *\n * Always wrap `_stop` calls with `batchedUpdates`.\n */\n _stop(goal, cancel) {\n if (isAnimating(this)) {\n setActiveBit(this, false);\n const anim = this.animation;\n each2(anim.values, (node) => {\n node.done = true;\n });\n if (anim.toValues) {\n anim.onChange = anim.onPause = anim.onResume = void 0;\n }\n callFluidObservers2(this, {\n type: \"idle\",\n parent: this\n });\n const result = cancel ? getCancelledResult(this.get()) : getFinishedResult(this.get(), checkFinished(this, goal ?? anim.to));\n flushCalls(this._pendingCalls, result);\n if (anim.changed) {\n anim.changed = false;\n sendEvent(this, \"onRest\", result, this);\n }\n }\n }\n};\nfunction checkFinished(target, to2) {\n const goal = computeGoal(to2);\n const value = computeGoal(target.get());\n return isEqual(value, goal);\n}\nfunction createLoopUpdate(props, loop = props.loop, to2 = props.to) {\n const loopRet = callProp(loop);\n if (loopRet) {\n const overrides = loopRet !== true && inferTo(loopRet);\n const reverse = (overrides || props).reverse;\n const reset = !overrides || overrides.reset;\n return createUpdate({\n ...props,\n loop,\n // Avoid updating default props when looping.\n default: false,\n // Never loop the `pause` prop.\n pause: void 0,\n // For the \"reverse\" prop to loop as expected, the \"to\" prop\n // must be undefined. The \"reverse\" prop is ignored when the\n // \"to\" prop is an array or function.\n to: !reverse || isAsyncTo(to2) ? to2 : void 0,\n // Ignore the \"from\" prop except on reset.\n from: reset ? props.from : void 0,\n reset,\n // The \"loop\" prop can return a \"useSpring\" props object to\n // override any of the original props.\n ...overrides\n });\n }\n}\nfunction createUpdate(props) {\n const { to: to2, from } = props = inferTo(props);\n const keys = /* @__PURE__ */ new Set();\n if (is5.obj(to2))\n findDefined(to2, keys);\n if (is5.obj(from))\n findDefined(from, keys);\n props.keys = keys.size ? Array.from(keys) : null;\n return props;\n}\nfunction declareUpdate(props) {\n const update2 = createUpdate(props);\n if (is5.und(update2.default)) {\n update2.default = getDefaultProps(update2);\n }\n return update2;\n}\nfunction findDefined(values, keys) {\n eachProp3(values, (value, key) => value != null && keys.add(key));\n}\nvar ACTIVE_EVENTS = [\n \"onStart\",\n \"onRest\",\n \"onChange\",\n \"onPause\",\n \"onResume\"\n];\nfunction mergeActiveFn(target, props, type) {\n target.animation[type] = props[type] !== getDefaultProp(props, type) ? resolveProp(props[type], target.key) : void 0;\n}\nfunction sendEvent(target, type, ...args) {\n target.animation[type]?.(...args);\n target.defaultProps[type]?.(...args);\n}\n\n// src/Controller.ts\nimport {\n is as is6,\n raf as raf4,\n each as each3,\n noop,\n flush as flush2,\n toArray as toArray3,\n eachProp as eachProp4,\n flushCalls as flushCalls2,\n addFluidObserver as addFluidObserver2\n} from \"@react-spring/shared\";\nvar BATCHED_EVENTS = [\"onStart\", \"onChange\", \"onRest\"];\nvar nextId2 = 1;\nvar Controller = class {\n constructor(props, flush3) {\n this.id = nextId2++;\n /** The animated values */\n this.springs = {};\n /** The queue of props passed to the `update` method. */\n this.queue = [];\n /** The counter for tracking `scheduleProps` calls */\n this._lastAsyncId = 0;\n /** The values currently being animated */\n this._active = /* @__PURE__ */ new Set();\n /** The values that changed recently */\n this._changed = /* @__PURE__ */ new Set();\n /** Equals false when `onStart` listeners can be called */\n this._started = false;\n /** State used by the `runAsync` function */\n this._state = {\n paused: false,\n pauseQueue: /* @__PURE__ */ new Set(),\n resumeQueue: /* @__PURE__ */ new Set(),\n timeouts: /* @__PURE__ */ new Set()\n };\n /** The event queues that are flushed once per frame maximum */\n this._events = {\n onStart: /* @__PURE__ */ new Map(),\n onChange: /* @__PURE__ */ new Map(),\n onRest: /* @__PURE__ */ new Map()\n };\n this._onFrame = this._onFrame.bind(this);\n if (flush3) {\n this._flush = flush3;\n }\n if (props) {\n this.start({ default: true, ...props });\n }\n }\n /**\n * Equals `true` when no spring values are in the frameloop, and\n * no async animation is currently active.\n */\n get idle() {\n return !this._state.asyncTo && Object.values(this.springs).every((spring) => {\n return spring.idle && !spring.isDelayed && !spring.isPaused;\n });\n }\n get item() {\n return this._item;\n }\n set item(item) {\n this._item = item;\n }\n /** Get the current values of our springs */\n get() {\n const values = {};\n this.each((spring, key) => values[key] = spring.get());\n return values;\n }\n /** Set the current values without animating. */\n set(values) {\n for (const key in values) {\n const value = values[key];\n if (!is6.und(value)) {\n this.springs[key].set(value);\n }\n }\n }\n /** Push an update onto the queue of each value. */\n update(props) {\n if (props) {\n this.queue.push(createUpdate(props));\n }\n return this;\n }\n /**\n * Start the queued animations for every spring, and resolve the returned\n * promise once all queued animations have finished or been cancelled.\n *\n * When you pass a queue (instead of nothing), that queue is used instead of\n * the queued animations added with the `update` method, which are left alone.\n */\n start(props) {\n let { queue } = this;\n if (props) {\n queue = toArray3(props).map(createUpdate);\n } else {\n this.queue = [];\n }\n if (this._flush) {\n return this._flush(this, queue);\n }\n prepareKeys(this, queue);\n return flushUpdateQueue(this, queue);\n }\n /** @internal */\n stop(arg, keys) {\n if (arg !== !!arg) {\n keys = arg;\n }\n if (keys) {\n const springs = this.springs;\n each3(toArray3(keys), (key) => springs[key].stop(!!arg));\n } else {\n stopAsync(this._state, this._lastAsyncId);\n this.each((spring) => spring.stop(!!arg));\n }\n return this;\n }\n /** Freeze the active animation in time */\n pause(keys) {\n if (is6.und(keys)) {\n this.start({ pause: true });\n } else {\n const springs = this.springs;\n each3(toArray3(keys), (key) => springs[key].pause());\n }\n return this;\n }\n /** Resume the animation if paused. */\n resume(keys) {\n if (is6.und(keys)) {\n this.start({ pause: false });\n } else {\n const springs = this.springs;\n each3(toArray3(keys), (key) => springs[key].resume());\n }\n return this;\n }\n /** Call a function once per spring value */\n each(iterator) {\n eachProp4(this.springs, iterator);\n }\n /** @internal Called at the end of every animation frame */\n _onFrame() {\n const { onStart, onChange, onRest } = this._events;\n const active = this._active.size > 0;\n const changed = this._changed.size > 0;\n if (active && !this._started || changed && !this._started) {\n this._started = true;\n flush2(onStart, ([onStart2, result]) => {\n result.value = this.get();\n onStart2(result, this, this._item);\n });\n }\n const idle = !active && this._started;\n const values = changed || idle && onRest.size ? this.get() : null;\n if (changed && onChange.size) {\n flush2(onChange, ([onChange2, result]) => {\n result.value = values;\n onChange2(result, this, this._item);\n });\n }\n if (idle) {\n this._started = false;\n flush2(onRest, ([onRest2, result]) => {\n result.value = values;\n onRest2(result, this, this._item);\n });\n }\n }\n /** @internal */\n eventObserved(event) {\n if (event.type == \"change\") {\n this._changed.add(event.parent);\n if (!event.idle) {\n this._active.add(event.parent);\n }\n } else if (event.type == \"idle\") {\n this._active.delete(event.parent);\n } else\n return;\n raf4.onFrame(this._onFrame);\n }\n};\nfunction flushUpdateQueue(ctrl, queue) {\n return Promise.all(queue.map((props) => flushUpdate(ctrl, props))).then(\n (results) => getCombinedResult(ctrl, results)\n );\n}\nasync function flushUpdate(ctrl, props, isLoop) {\n const { keys, to: to2, from, loop, onRest, onResolve } = props;\n const defaults2 = is6.obj(props.default) && props.default;\n if (loop) {\n props.loop = false;\n }\n if (to2 === false)\n props.to = null;\n if (from === false)\n props.from = null;\n const asyncTo = is6.arr(to2) || is6.fun(to2) ? to2 : void 0;\n if (asyncTo) {\n props.to = void 0;\n props.onRest = void 0;\n if (defaults2) {\n defaults2.onRest = void 0;\n }\n } else {\n each3(BATCHED_EVENTS, (key) => {\n const handler = props[key];\n if (is6.fun(handler)) {\n const queue = ctrl[\"_events\"][key];\n props[key] = ({ finished, cancelled }) => {\n const result2 = queue.get(handler);\n if (result2) {\n if (!finished)\n result2.finished = false;\n if (cancelled)\n result2.cancelled = true;\n } else {\n queue.set(handler, {\n value: null,\n finished: finished || false,\n cancelled: cancelled || false\n });\n }\n };\n if (defaults2) {\n defaults2[key] = props[key];\n }\n }\n });\n }\n const state = ctrl[\"_state\"];\n if (props.pause === !state.paused) {\n state.paused = props.pause;\n flushCalls2(props.pause ? state.pauseQueue : state.resumeQueue);\n } else if (state.paused) {\n props.pause = true;\n }\n const promises = (keys || Object.keys(ctrl.springs)).map(\n (key) => ctrl.springs[key].start(props)\n );\n const cancel = props.cancel === true || getDefaultProp(props, \"cancel\") === true;\n if (asyncTo || cancel && state.asyncId) {\n promises.push(\n scheduleProps(++ctrl[\"_lastAsyncId\"], {\n props,\n state,\n actions: {\n pause: noop,\n resume: noop,\n start(props2, resolve) {\n if (cancel) {\n stopAsync(state, ctrl[\"_lastAsyncId\"]);\n resolve(getCancelledResult(ctrl));\n } else {\n props2.onRest = onRest;\n resolve(\n runAsync(\n asyncTo,\n props2,\n state,\n ctrl\n )\n );\n }\n }\n }\n })\n );\n }\n if (state.paused) {\n await new Promise((resume) => {\n state.resumeQueue.add(resume);\n });\n }\n const result = getCombinedResult(ctrl, await Promise.all(promises));\n if (loop && result.finished && !(isLoop && result.noop)) {\n const nextProps = createLoopUpdate(props, loop, to2);\n if (nextProps) {\n prepareKeys(ctrl, [nextProps]);\n return flushUpdate(ctrl, nextProps, true);\n }\n }\n if (onResolve) {\n raf4.batchedUpdates(() => onResolve(result, ctrl, ctrl.item));\n }\n return result;\n}\nfunction getSprings(ctrl, props) {\n const springs = { ...ctrl.springs };\n if (props) {\n each3(toArray3(props), (props2) => {\n if (is6.und(props2.keys)) {\n props2 = createUpdate(props2);\n }\n if (!is6.obj(props2.to)) {\n props2 = { ...props2, to: void 0 };\n }\n prepareSprings(springs, props2, (key) => {\n return createSpring(key);\n });\n });\n }\n setSprings(ctrl, springs);\n return springs;\n}\nfunction setSprings(ctrl, springs) {\n eachProp4(springs, (spring, key) => {\n if (!ctrl.springs[key]) {\n ctrl.springs[key] = spring;\n addFluidObserver2(spring, ctrl);\n }\n });\n}\nfunction createSpring(key, observer) {\n const spring = new SpringValue();\n spring.key = key;\n if (observer) {\n addFluidObserver2(spring, observer);\n }\n return spring;\n}\nfunction prepareSprings(springs, props, create) {\n if (props.keys) {\n each3(props.keys, (key) => {\n const spring = springs[key] || (springs[key] = create(key));\n spring[\"_prepareNode\"](props);\n });\n }\n}\nfunction prepareKeys(ctrl, queue) {\n each3(queue, (props) => {\n prepareSprings(ctrl.springs, props, (key) => {\n return createSpring(key, ctrl);\n });\n });\n}\n\n// src/SpringContext.tsx\nimport * as React from \"react\";\nimport { useContext } from \"react\";\nimport { useMemoOne } from \"@react-spring/shared\";\nvar SpringContext = ({\n children,\n ...props\n}) => {\n const inherited = useContext(ctx);\n const pause = props.pause || !!inherited.pause, immediate = props.immediate || !!inherited.immediate;\n props = useMemoOne(() => ({ pause, immediate }), [pause, immediate]);\n const { Provider } = ctx;\n return /* @__PURE__ */ React.createElement(Provider, { value: props }, children);\n};\nvar ctx = makeContext(SpringContext, {});\nSpringContext.Provider = ctx.Provider;\nSpringContext.Consumer = ctx.Consumer;\nfunction makeContext(target, init) {\n Object.assign(target, React.createContext(init));\n target.Provider._context = target;\n target.Consumer._context = target;\n return target;\n}\n\n// src/SpringRef.ts\nimport { each as each4, is as is7, deprecateDirectCall } from \"@react-spring/shared\";\nvar SpringRef = () => {\n const current = [];\n const SpringRef2 = function(props) {\n deprecateDirectCall();\n const results = [];\n each4(current, (ctrl, i) => {\n if (is7.und(props)) {\n results.push(ctrl.start());\n } else {\n const update2 = _getProps(props, ctrl, i);\n if (update2) {\n results.push(ctrl.start(update2));\n }\n }\n });\n return results;\n };\n SpringRef2.current = current;\n SpringRef2.add = function(ctrl) {\n if (!current.includes(ctrl)) {\n current.push(ctrl);\n }\n };\n SpringRef2.delete = function(ctrl) {\n const i = current.indexOf(ctrl);\n if (~i)\n current.splice(i, 1);\n };\n SpringRef2.pause = function() {\n each4(current, (ctrl) => ctrl.pause(...arguments));\n return this;\n };\n SpringRef2.resume = function() {\n each4(current, (ctrl) => ctrl.resume(...arguments));\n return this;\n };\n SpringRef2.set = function(values) {\n each4(current, (ctrl, i) => {\n const update2 = is7.fun(values) ? values(i, ctrl) : values;\n if (update2) {\n ctrl.set(update2);\n }\n });\n };\n SpringRef2.start = function(props) {\n const results = [];\n each4(current, (ctrl, i) => {\n if (is7.und(props)) {\n results.push(ctrl.start());\n } else {\n const update2 = this._getProps(props, ctrl, i);\n if (update2) {\n results.push(ctrl.start(update2));\n }\n }\n });\n return results;\n };\n SpringRef2.stop = function() {\n each4(current, (ctrl) => ctrl.stop(...arguments));\n return this;\n };\n SpringRef2.update = function(props) {\n each4(current, (ctrl, i) => ctrl.update(this._getProps(props, ctrl, i)));\n return this;\n };\n const _getProps = function(arg, ctrl, index) {\n return is7.fun(arg) ? arg(index, ctrl) : arg;\n };\n SpringRef2._getProps = _getProps;\n return SpringRef2;\n};\n\n// src/hooks/useSprings.ts\nfunction useSprings(length, props, deps) {\n const propsFn = is8.fun(props) && props;\n if (propsFn && !deps)\n deps = [];\n const ref = useMemo(\n () => propsFn || arguments.length == 3 ? SpringRef() : void 0,\n []\n );\n const layoutId = useRef(0);\n const forceUpdate = useForceUpdate();\n const state = useMemo(\n () => ({\n ctrls: [],\n queue: [],\n flush(ctrl, updates2) {\n const springs2 = getSprings(ctrl, updates2);\n const canFlushSync = layoutId.current > 0 && !state.queue.length && !Object.keys(springs2).some((key) => !ctrl.springs[key]);\n return canFlushSync ? flushUpdateQueue(ctrl, updates2) : new Promise((resolve) => {\n setSprings(ctrl, springs2);\n state.queue.push(() => {\n resolve(flushUpdateQueue(ctrl, updates2));\n });\n forceUpdate();\n });\n }\n }),\n []\n );\n const ctrls = useRef([...state.ctrls]);\n const updates = [];\n const prevLength = usePrev(length) || 0;\n useMemo(() => {\n each5(ctrls.current.slice(length, prevLength), (ctrl) => {\n detachRefs(ctrl, ref);\n ctrl.stop(true);\n });\n ctrls.current.length = length;\n declareUpdates(prevLength, length);\n }, [length]);\n useMemo(() => {\n declareUpdates(0, Math.min(prevLength, length));\n }, deps);\n function declareUpdates(startIndex, endIndex) {\n for (let i = startIndex; i < endIndex; i++) {\n const ctrl = ctrls.current[i] || (ctrls.current[i] = new Controller(null, state.flush));\n const update2 = propsFn ? propsFn(i, ctrl) : props[i];\n if (update2) {\n updates[i] = declareUpdate(update2);\n }\n }\n }\n const springs = ctrls.current.map((ctrl, i) => getSprings(ctrl, updates[i]));\n const context = useContext2(SpringContext);\n const prevContext = usePrev(context);\n const hasContext = context !== prevContext && hasProps(context);\n useIsomorphicLayoutEffect2(() => {\n layoutId.current++;\n state.ctrls = ctrls.current;\n const { queue } = state;\n if (queue.length) {\n state.queue = [];\n each5(queue, (cb) => cb());\n }\n each5(ctrls.current, (ctrl, i) => {\n ref?.add(ctrl);\n if (hasContext) {\n ctrl.start({ default: context });\n }\n const update2 = updates[i];\n if (update2) {\n replaceRef(ctrl, update2.ref);\n if (ctrl.ref) {\n ctrl.queue.push(update2);\n } else {\n ctrl.start(update2);\n }\n }\n });\n });\n useOnce(() => () => {\n each5(state.ctrls, (ctrl) => ctrl.stop(true));\n });\n const values = springs.map((x) => ({ ...x }));\n return ref ? [values, ref] : values;\n}\n\n// src/hooks/useSpring.ts\nfunction useSpring(props, deps) {\n const isFn = is9.fun(props);\n const [[values], ref] = useSprings(\n 1,\n isFn ? props : [props],\n isFn ? deps || [] : deps\n );\n return isFn || arguments.length == 2 ? [values, ref] : values;\n}\n\n// src/hooks/useSpringRef.ts\nimport { useState } from \"react\";\nvar initSpringRef = () => SpringRef();\nvar useSpringRef = () => useState(initSpringRef)[0];\n\n// src/hooks/useSpringValue.ts\nimport { useConstant, useOnce as useOnce2 } from \"@react-spring/shared\";\nvar useSpringValue = (initial, props) => {\n const springValue = useConstant(() => new SpringValue(initial, props));\n useOnce2(() => () => {\n springValue.stop();\n });\n return springValue;\n};\n\n// src/hooks/useTrail.ts\nimport { each as each6, is as is10, useIsomorphicLayoutEffect as useIsomorphicLayoutEffect3 } from \"@react-spring/shared\";\nfunction useTrail(length, propsArg, deps) {\n const propsFn = is10.fun(propsArg) && propsArg;\n if (propsFn && !deps)\n deps = [];\n let reverse = true;\n let passedRef = void 0;\n const result = useSprings(\n length,\n (i, ctrl) => {\n const props = propsFn ? propsFn(i, ctrl) : propsArg;\n passedRef = props.ref;\n reverse = reverse && props.reverse;\n return props;\n },\n // Ensure the props function is called when no deps exist.\n // This works around the 3 argument rule.\n deps || [{}]\n );\n useIsomorphicLayoutEffect3(() => {\n each6(result[1].current, (ctrl, i) => {\n const parent = result[1].current[i + (reverse ? 1 : -1)];\n replaceRef(ctrl, passedRef);\n if (ctrl.ref) {\n if (parent) {\n ctrl.update({ to: parent.springs });\n }\n return;\n }\n if (parent) {\n ctrl.start({ to: parent.springs });\n } else {\n ctrl.start();\n }\n });\n }, deps);\n if (propsFn || arguments.length == 3) {\n const ref = passedRef ?? result[1];\n ref[\"_getProps\"] = (propsArg2, ctrl, i) => {\n const props = is10.fun(propsArg2) ? propsArg2(i, ctrl) : propsArg2;\n if (props) {\n const parent = ref.current[i + (props.reverse ? 1 : -1)];\n if (parent)\n props.to = parent.springs;\n return props;\n }\n };\n return result;\n }\n return result[0];\n}\n\n// src/hooks/useTransition.tsx\nimport * as React2 from \"react\";\nimport { useContext as useContext3, useRef as useRef2, useMemo as useMemo2 } from \"react\";\nimport {\n is as is11,\n toArray as toArray4,\n useForceUpdate as useForceUpdate2,\n useOnce as useOnce3,\n usePrev as usePrev2,\n each as each7,\n useIsomorphicLayoutEffect as useIsomorphicLayoutEffect4\n} from \"@react-spring/shared\";\nfunction useTransition(data, props, deps) {\n const propsFn = is11.fun(props) && props;\n const {\n reset,\n sort,\n trail = 0,\n expires = true,\n exitBeforeEnter = false,\n onDestroyed,\n ref: propsRef,\n config: propsConfig\n } = propsFn ? propsFn() : props;\n const ref = useMemo2(\n () => propsFn || arguments.length == 3 ? SpringRef() : void 0,\n []\n );\n const items = toArray4(data);\n const transitions = [];\n const usedTransitions = useRef2(null);\n const prevTransitions = reset ? null : usedTransitions.current;\n useIsomorphicLayoutEffect4(() => {\n usedTransitions.current = transitions;\n });\n useOnce3(() => {\n each7(transitions, (t) => {\n ref?.add(t.ctrl);\n t.ctrl.ref = ref;\n });\n return () => {\n each7(usedTransitions.current, (t) => {\n if (t.expired) {\n clearTimeout(t.expirationId);\n }\n detachRefs(t.ctrl, ref);\n t.ctrl.stop(true);\n });\n };\n });\n const keys = getKeys(items, propsFn ? propsFn() : props, prevTransitions);\n const expired = reset && usedTransitions.current || [];\n useIsomorphicLayoutEffect4(\n () => each7(expired, ({ ctrl, item, key }) => {\n detachRefs(ctrl, ref);\n callProp(onDestroyed, item, key);\n })\n );\n const reused = [];\n if (prevTransitions)\n each7(prevTransitions, (t, i) => {\n if (t.expired) {\n clearTimeout(t.expirationId);\n expired.push(t);\n } else {\n i = reused[i] = keys.indexOf(t.key);\n if (~i)\n transitions[i] = t;\n }\n });\n each7(items, (item, i) => {\n if (!transitions[i]) {\n transitions[i] = {\n key: keys[i],\n item,\n phase: \"mount\" /* MOUNT */,\n ctrl: new Controller()\n };\n transitions[i].ctrl.item = item;\n }\n });\n if (reused.length) {\n let i = -1;\n const { leave } = propsFn ? propsFn() : props;\n each7(reused, (keyIndex, prevIndex) => {\n const t = prevTransitions[prevIndex];\n if (~keyIndex) {\n i = transitions.indexOf(t);\n transitions[i] = { ...t, item: items[keyIndex] };\n } else if (leave) {\n transitions.splice(++i, 0, t);\n }\n });\n }\n if (is11.fun(sort)) {\n transitions.sort((a, b) => sort(a.item, b.item));\n }\n let delay = -trail;\n const forceUpdate = useForceUpdate2();\n const defaultProps = getDefaultProps(props);\n const changes = /* @__PURE__ */ new Map();\n const exitingTransitions = useRef2(/* @__PURE__ */ new Map());\n const forceChange = useRef2(false);\n each7(transitions, (t, i) => {\n const key = t.key;\n const prevPhase = t.phase;\n const p = propsFn ? propsFn() : props;\n let to2;\n let phase;\n const propsDelay = callProp(p.delay || 0, key);\n if (prevPhase == \"mount\" /* MOUNT */) {\n to2 = p.enter;\n phase = \"enter\" /* ENTER */;\n } else {\n const isLeave = keys.indexOf(key) < 0;\n if (prevPhase != \"leave\" /* LEAVE */) {\n if (isLeave) {\n to2 = p.leave;\n phase = \"leave\" /* LEAVE */;\n } else if (to2 = p.update) {\n phase = \"update\" /* UPDATE */;\n } else\n return;\n } else if (!isLeave) {\n to2 = p.enter;\n phase = \"enter\" /* ENTER */;\n } else\n return;\n }\n to2 = callProp(to2, t.item, i);\n to2 = is11.obj(to2) ? inferTo(to2) : { to: to2 };\n if (!to2.config) {\n const config2 = propsConfig || defaultProps.config;\n to2.config = callProp(config2, t.item, i, phase);\n }\n delay += trail;\n const payload = {\n ...defaultProps,\n // we need to add our props.delay value you here.\n delay: propsDelay + delay,\n ref: propsRef,\n immediate: p.immediate,\n // This prevents implied resets.\n reset: false,\n // Merge any phase-specific props.\n ...to2\n };\n if (phase == \"enter\" /* ENTER */ && is11.und(payload.from)) {\n const p2 = propsFn ? propsFn() : props;\n const from = is11.und(p2.initial) || prevTransitions ? p2.from : p2.initial;\n payload.from = callProp(from, t.item, i);\n }\n const { onResolve } = payload;\n payload.onResolve = (result) => {\n callProp(onResolve, result);\n const transitions2 = usedTransitions.current;\n const t2 = transitions2.find((t3) => t3.key === key);\n if (!t2)\n return;\n if (result.cancelled && t2.phase != \"update\" /* UPDATE */) {\n return;\n }\n if (t2.ctrl.idle) {\n const idle = transitions2.every((t3) => t3.ctrl.idle);\n if (t2.phase == \"leave\" /* LEAVE */) {\n const expiry = callProp(expires, t2.item);\n if (expiry !== false) {\n const expiryMs = expiry === true ? 0 : expiry;\n t2.expired = true;\n if (!idle && expiryMs > 0) {\n if (expiryMs <= 2147483647)\n t2.expirationId = setTimeout(forceUpdate, expiryMs);\n return;\n }\n }\n }\n if (idle && transitions2.some((t3) => t3.expired)) {\n exitingTransitions.current.delete(t2);\n if (exitBeforeEnter) {\n forceChange.current = true;\n }\n forceUpdate();\n }\n }\n };\n const springs = getSprings(t.ctrl, payload);\n if (phase === \"leave\" /* LEAVE */ && exitBeforeEnter) {\n exitingTransitions.current.set(t, { phase, springs, payload });\n } else {\n changes.set(t, { phase, springs, payload });\n }\n });\n const context = useContext3(SpringContext);\n const prevContext = usePrev2(context);\n const hasContext = context !== prevContext && hasProps(context);\n useIsomorphicLayoutEffect4(() => {\n if (hasContext) {\n each7(transitions, (t) => {\n t.ctrl.start({ default: context });\n });\n }\n }, [context]);\n each7(changes, (_, t) => {\n if (exitingTransitions.current.size) {\n const ind = transitions.findIndex((state) => state.key === t.key);\n transitions.splice(ind, 1);\n }\n });\n useIsomorphicLayoutEffect4(\n () => {\n each7(\n exitingTransitions.current.size ? exitingTransitions.current : changes,\n ({ phase, payload }, t) => {\n const { ctrl } = t;\n t.phase = phase;\n ref?.add(ctrl);\n if (hasContext && phase == \"enter\" /* ENTER */) {\n ctrl.start({ default: context });\n }\n if (payload) {\n replaceRef(ctrl, payload.ref);\n if ((ctrl.ref || ref) && !forceChange.current) {\n ctrl.update(payload);\n } else {\n ctrl.start(payload);\n if (forceChange.current) {\n forceChange.current = false;\n }\n }\n }\n }\n );\n },\n reset ? void 0 : deps\n );\n const renderTransitions = (render) => /* @__PURE__ */ React2.createElement(React2.Fragment, null, transitions.map((t, i) => {\n const { springs } = changes.get(t) || t.ctrl;\n const elem = render({ ...springs }, t.item, t, i);\n return elem && elem.type ? /* @__PURE__ */ React2.createElement(\n elem.type,\n {\n ...elem.props,\n key: is11.str(t.key) || is11.num(t.key) ? t.key : t.ctrl.id,\n ref: elem.ref\n }\n ) : elem;\n }));\n return ref ? [renderTransitions, ref] : renderTransitions;\n}\nvar nextKey = 1;\nfunction getKeys(items, { key, keys = key }, prevTransitions) {\n if (keys === null) {\n const reused = /* @__PURE__ */ new Set();\n return items.map((item) => {\n const t = prevTransitions && prevTransitions.find(\n (t2) => t2.item === item && t2.phase !== \"leave\" /* LEAVE */ && !reused.has(t2)\n );\n if (t) {\n reused.add(t);\n return t.key;\n }\n return nextKey++;\n });\n }\n return is11.und(keys) ? items : is11.fun(keys) ? items.map(keys) : toArray4(keys);\n}\n\n// src/hooks/useScroll.ts\nimport { each as each8, onScroll, useIsomorphicLayoutEffect as useIsomorphicLayoutEffect5 } from \"@react-spring/shared\";\nvar useScroll = ({\n container,\n ...springOptions\n} = {}) => {\n const [scrollValues, api] = useSpring(\n () => ({\n scrollX: 0,\n scrollY: 0,\n scrollXProgress: 0,\n scrollYProgress: 0,\n ...springOptions\n }),\n []\n );\n useIsomorphicLayoutEffect5(() => {\n const cleanupScroll = onScroll(\n ({ x, y }) => {\n api.start({\n scrollX: x.current,\n scrollXProgress: x.progress,\n scrollY: y.current,\n scrollYProgress: y.progress\n });\n },\n { container: container?.current || void 0 }\n );\n return () => {\n each8(Object.values(scrollValues), (value) => value.stop());\n cleanupScroll();\n };\n }, []);\n return scrollValues;\n};\n\n// src/hooks/useResize.ts\nimport { onResize, each as each9, useIsomorphicLayoutEffect as useIsomorphicLayoutEffect6 } from \"@react-spring/shared\";\nvar useResize = ({\n container,\n ...springOptions\n}) => {\n const [sizeValues, api] = useSpring(\n () => ({\n width: 0,\n height: 0,\n ...springOptions\n }),\n []\n );\n useIsomorphicLayoutEffect6(() => {\n const cleanupScroll = onResize(\n ({ width, height }) => {\n api.start({\n width,\n height,\n immediate: sizeValues.width.get() === 0 || sizeValues.height.get() === 0\n });\n },\n { container: container?.current || void 0 }\n );\n return () => {\n each9(Object.values(sizeValues), (value) => value.stop());\n cleanupScroll();\n };\n }, []);\n return sizeValues;\n};\n\n// src/hooks/useInView.ts\nimport { useRef as useRef3, useState as useState2 } from \"react\";\nimport { is as is12, useIsomorphicLayoutEffect as useIsomorphicLayoutEffect7 } from \"@react-spring/shared\";\nvar defaultThresholdOptions = {\n any: 0,\n all: 1\n};\nfunction useInView(props, args) {\n const [isInView, setIsInView] = useState2(false);\n const ref = useRef3();\n const propsFn = is12.fun(props) && props;\n const springsProps = propsFn ? propsFn() : {};\n const { to: to2 = {}, from = {}, ...restSpringProps } = springsProps;\n const intersectionArguments = propsFn ? args : props;\n const [springs, api] = useSpring(() => ({ from, ...restSpringProps }), []);\n useIsomorphicLayoutEffect7(() => {\n const element = ref.current;\n const {\n root,\n once,\n amount = \"any\",\n ...restArgs\n } = intersectionArguments ?? {};\n if (!element || once && isInView || typeof IntersectionObserver === \"undefined\")\n return;\n const activeIntersections = /* @__PURE__ */ new WeakMap();\n const onEnter = () => {\n if (to2) {\n api.start(to2);\n }\n setIsInView(true);\n const cleanup = () => {\n if (from) {\n api.start(from);\n }\n setIsInView(false);\n };\n return once ? void 0 : cleanup;\n };\n const handleIntersection = (entries) => {\n entries.forEach((entry) => {\n const onLeave = activeIntersections.get(entry.target);\n if (entry.isIntersecting === Boolean(onLeave)) {\n return;\n }\n if (entry.isIntersecting) {\n const newOnLeave = onEnter();\n if (is12.fun(newOnLeave)) {\n activeIntersections.set(entry.target, newOnLeave);\n } else {\n observer.unobserve(entry.target);\n }\n } else if (onLeave) {\n onLeave();\n activeIntersections.delete(entry.target);\n }\n });\n };\n const observer = new IntersectionObserver(handleIntersection, {\n root: root && root.current || void 0,\n threshold: typeof amount === \"number\" || Array.isArray(amount) ? amount : defaultThresholdOptions[amount],\n ...restArgs\n });\n observer.observe(element);\n return () => observer.unobserve(element);\n }, [intersectionArguments]);\n if (propsFn) {\n return [ref, springs];\n }\n return [ref, isInView];\n}\n\n// src/components/Spring.tsx\nfunction Spring({ children, ...props }) {\n return children(useSpring(props));\n}\n\n// src/components/Trail.tsx\nimport { is as is13 } from \"@react-spring/shared\";\nfunction Trail({\n items,\n children,\n ...props\n}) {\n const trails = useTrail(items.length, props);\n return items.map((item, index) => {\n const result = children(item, index);\n return is13.fun(result) ? result(trails[index]) : result;\n });\n}\n\n// src/components/Transition.tsx\nfunction Transition({\n items,\n children,\n ...props\n}) {\n return useTransition(items, props)(children);\n}\n\n// src/interpolate.ts\nimport { deprecateInterpolate as deprecateInterpolate2 } from \"@react-spring/shared\";\n\n// src/Interpolation.ts\nimport {\n is as is14,\n raf as raf5,\n each as each10,\n isEqual as isEqual2,\n toArray as toArray5,\n frameLoop as frameLoop3,\n getFluidValue as getFluidValue3,\n createInterpolator,\n Globals as G6,\n callFluidObservers as callFluidObservers3,\n addFluidObserver as addFluidObserver3,\n removeFluidObserver as removeFluidObserver2,\n hasFluidValue as hasFluidValue2\n} from \"@react-spring/shared\";\nimport {\n getAnimated as getAnimated3,\n setAnimated as setAnimated2,\n getAnimatedType as getAnimatedType2,\n getPayload as getPayload2\n} from \"@react-spring/animated\";\nvar Interpolation = class extends FrameValue {\n constructor(source, args) {\n super();\n this.source = source;\n /** Equals false when in the frameloop */\n this.idle = true;\n /** The inputs which are currently animating */\n this._active = /* @__PURE__ */ new Set();\n this.calc = createInterpolator(...args);\n const value = this._get();\n const nodeType = getAnimatedType2(value);\n setAnimated2(this, nodeType.create(value));\n }\n advance(_dt) {\n const value = this._get();\n const oldValue = this.get();\n if (!isEqual2(value, oldValue)) {\n getAnimated3(this).setValue(value);\n this._onChange(value, this.idle);\n }\n if (!this.idle && checkIdle(this._active)) {\n becomeIdle(this);\n }\n }\n _get() {\n const inputs = is14.arr(this.source) ? this.source.map(getFluidValue3) : toArray5(getFluidValue3(this.source));\n return this.calc(...inputs);\n }\n _start() {\n if (this.idle && !checkIdle(this._active)) {\n this.idle = false;\n each10(getPayload2(this), (node) => {\n node.done = false;\n });\n if (G6.skipAnimation) {\n raf5.batchedUpdates(() => this.advance());\n becomeIdle(this);\n } else {\n frameLoop3.start(this);\n }\n }\n }\n // Observe our sources only when we're observed.\n _attach() {\n let priority = 1;\n each10(toArray5(this.source), (source) => {\n if (hasFluidValue2(source)) {\n addFluidObserver3(source, this);\n }\n if (isFrameValue(source)) {\n if (!source.idle) {\n this._active.add(source);\n }\n priority = Math.max(priority, source.priority + 1);\n }\n });\n this.priority = priority;\n this._start();\n }\n // Stop observing our sources once we have no observers.\n _detach() {\n each10(toArray5(this.source), (source) => {\n if (hasFluidValue2(source)) {\n removeFluidObserver2(source, this);\n }\n });\n this._active.clear();\n becomeIdle(this);\n }\n /** @internal */\n eventObserved(event) {\n if (event.type == \"change\") {\n if (event.idle) {\n this.advance();\n } else {\n this._active.add(event.parent);\n this._start();\n }\n } else if (event.type == \"idle\") {\n this._active.delete(event.parent);\n } else if (event.type == \"priority\") {\n this.priority = toArray5(this.source).reduce(\n (highest, parent) => Math.max(highest, (isFrameValue(parent) ? parent.priority : 0) + 1),\n 0\n );\n }\n }\n};\nfunction isIdle(source) {\n return source.idle !== false;\n}\nfunction checkIdle(active) {\n return !active.size || Array.from(active).every(isIdle);\n}\nfunction becomeIdle(self) {\n if (!self.idle) {\n self.idle = true;\n each10(getPayload2(self), (node) => {\n node.done = true;\n });\n callFluidObservers3(self, {\n type: \"idle\",\n parent: self\n });\n }\n}\n\n// src/interpolate.ts\nvar to = (source, ...args) => new Interpolation(source, args);\nvar interpolate = (source, ...args) => (deprecateInterpolate2(), new Interpolation(source, args));\n\n// src/globals.ts\nimport {\n Globals,\n frameLoop as frameLoop4,\n createStringInterpolator\n} from \"@react-spring/shared\";\nGlobals.assign({\n createStringInterpolator,\n to: (source, args) => new Interpolation(source, args)\n});\nvar update = frameLoop4.advance;\n\n// src/index.ts\nimport {\n createInterpolator as createInterpolator2,\n useIsomorphicLayoutEffect as useIsomorphicLayoutEffect8,\n useReducedMotion,\n easings as easings2\n} from \"@react-spring/shared\";\nexport * from \"@react-spring/types\";\nexport {\n BailSignal,\n Controller,\n FrameValue,\n Globals,\n Interpolation,\n Spring,\n SpringContext,\n SpringRef,\n SpringValue,\n Trail,\n Transition,\n config,\n createInterpolator2 as createInterpolator,\n easings2 as easings,\n inferTo,\n interpolate,\n to,\n update,\n useChain,\n useInView,\n useIsomorphicLayoutEffect8 as useIsomorphicLayoutEffect,\n useReducedMotion,\n useResize,\n useScroll,\n useSpring,\n useSpringRef,\n useSpringValue,\n useSprings,\n useTrail,\n useTransition\n};\n//# sourceMappingURL=react-spring_core.modern.mjs.map","// src/index.ts\nimport { Globals } from \"@react-spring/core\";\nimport { unstable_batchedUpdates } from \"react-dom\";\nimport { createStringInterpolator, colors } from \"@react-spring/shared\";\nimport { createHost } from \"@react-spring/animated\";\n\n// src/applyAnimatedValues.ts\nvar isCustomPropRE = /^--/;\nfunction dangerousStyleValue(name, value) {\n if (value == null || typeof value === \"boolean\" || value === \"\")\n return \"\";\n if (typeof value === \"number\" && value !== 0 && !isCustomPropRE.test(name) && !(isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name]))\n return value + \"px\";\n return (\"\" + value).trim();\n}\nvar attributeCache = {};\nfunction applyAnimatedValues(instance, props) {\n if (!instance.nodeType || !instance.setAttribute) {\n return false;\n }\n const isFilterElement = instance.nodeName === \"filter\" || instance.parentNode && instance.parentNode.nodeName === \"filter\";\n const {\n className,\n style,\n children,\n scrollTop,\n scrollLeft,\n viewBox,\n ...attributes\n } = props;\n const values = Object.values(attributes);\n const names = Object.keys(attributes).map(\n (name) => isFilterElement || instance.hasAttribute(name) ? name : attributeCache[name] || (attributeCache[name] = name.replace(\n /([A-Z])/g,\n // Attributes are written in dash case\n (n) => \"-\" + n.toLowerCase()\n ))\n );\n if (children !== void 0) {\n instance.textContent = children;\n }\n for (const name in style) {\n if (style.hasOwnProperty(name)) {\n const value = dangerousStyleValue(name, style[name]);\n if (isCustomPropRE.test(name)) {\n instance.style.setProperty(name, value);\n } else {\n instance.style[name] = value;\n }\n }\n }\n names.forEach((name, i) => {\n instance.setAttribute(name, values[i]);\n });\n if (className !== void 0) {\n instance.className = className;\n }\n if (scrollTop !== void 0) {\n instance.scrollTop = scrollTop;\n }\n if (scrollLeft !== void 0) {\n instance.scrollLeft = scrollLeft;\n }\n if (viewBox !== void 0) {\n instance.setAttribute(\"viewBox\", viewBox);\n }\n}\nvar isUnitlessNumber = {\n animationIterationCount: true,\n borderImageOutset: true,\n borderImageSlice: true,\n borderImageWidth: true,\n boxFlex: true,\n boxFlexGroup: true,\n boxOrdinalGroup: true,\n columnCount: true,\n columns: true,\n flex: true,\n flexGrow: true,\n flexPositive: true,\n flexShrink: true,\n flexNegative: true,\n flexOrder: true,\n gridRow: true,\n gridRowEnd: true,\n gridRowSpan: true,\n gridRowStart: true,\n gridColumn: true,\n gridColumnEnd: true,\n gridColumnSpan: true,\n gridColumnStart: true,\n fontWeight: true,\n lineClamp: true,\n lineHeight: true,\n opacity: true,\n order: true,\n orphans: true,\n tabSize: true,\n widows: true,\n zIndex: true,\n zoom: true,\n // SVG-related properties\n fillOpacity: true,\n floodOpacity: true,\n stopOpacity: true,\n strokeDasharray: true,\n strokeDashoffset: true,\n strokeMiterlimit: true,\n strokeOpacity: true,\n strokeWidth: true\n};\nvar prefixKey = (prefix, key) => prefix + key.charAt(0).toUpperCase() + key.substring(1);\nvar prefixes = [\"Webkit\", \"Ms\", \"Moz\", \"O\"];\nisUnitlessNumber = Object.keys(isUnitlessNumber).reduce((acc, prop) => {\n prefixes.forEach((prefix) => acc[prefixKey(prefix, prop)] = acc[prop]);\n return acc;\n}, isUnitlessNumber);\n\n// src/AnimatedStyle.ts\nimport { AnimatedObject } from \"@react-spring/animated\";\nimport {\n is,\n each,\n toArray,\n eachProp,\n FluidValue,\n getFluidValue,\n callFluidObservers,\n hasFluidValue,\n addFluidObserver,\n removeFluidObserver\n} from \"@react-spring/shared\";\nvar domTransforms = /^(matrix|translate|scale|rotate|skew)/;\nvar pxTransforms = /^(translate)/;\nvar degTransforms = /^(rotate|skew)/;\nvar addUnit = (value, unit) => is.num(value) && value !== 0 ? value + unit : value;\nvar isValueIdentity = (value, id) => is.arr(value) ? value.every((v) => isValueIdentity(v, id)) : is.num(value) ? value === id : parseFloat(value) === id;\nvar AnimatedStyle = class extends AnimatedObject {\n constructor({ x, y, z, ...style }) {\n const inputs = [];\n const transforms = [];\n if (x || y || z) {\n inputs.push([x || 0, y || 0, z || 0]);\n transforms.push((xyz) => [\n `translate3d(${xyz.map((v) => addUnit(v, \"px\")).join(\",\")})`,\n // prettier-ignore\n isValueIdentity(xyz, 0)\n ]);\n }\n eachProp(style, (value, key) => {\n if (key === \"transform\") {\n inputs.push([value || \"\"]);\n transforms.push((transform) => [transform, transform === \"\"]);\n } else if (domTransforms.test(key)) {\n delete style[key];\n if (is.und(value))\n return;\n const unit = pxTransforms.test(key) ? \"px\" : degTransforms.test(key) ? \"deg\" : \"\";\n inputs.push(toArray(value));\n transforms.push(\n key === \"rotate3d\" ? ([x2, y2, z2, deg]) => [\n `rotate3d(${x2},${y2},${z2},${addUnit(deg, unit)})`,\n isValueIdentity(deg, 0)\n ] : (input) => [\n `${key}(${input.map((v) => addUnit(v, unit)).join(\",\")})`,\n isValueIdentity(input, key.startsWith(\"scale\") ? 1 : 0)\n ]\n );\n }\n });\n if (inputs.length) {\n style.transform = new FluidTransform(inputs, transforms);\n }\n super(style);\n }\n};\nvar FluidTransform = class extends FluidValue {\n constructor(inputs, transforms) {\n super();\n this.inputs = inputs;\n this.transforms = transforms;\n this._value = null;\n }\n get() {\n return this._value || (this._value = this._get());\n }\n _get() {\n let transform = \"\";\n let identity = true;\n each(this.inputs, (input, i) => {\n const arg1 = getFluidValue(input[0]);\n const [t, id] = this.transforms[i](\n is.arr(arg1) ? arg1 : input.map(getFluidValue)\n );\n transform += \" \" + t;\n identity = identity && id;\n });\n return identity ? \"none\" : transform;\n }\n // Start observing our inputs once we have an observer.\n observerAdded(count) {\n if (count == 1)\n each(\n this.inputs,\n (input) => each(\n input,\n (value) => hasFluidValue(value) && addFluidObserver(value, this)\n )\n );\n }\n // Stop observing our inputs once we have no observers.\n observerRemoved(count) {\n if (count == 0)\n each(\n this.inputs,\n (input) => each(\n input,\n (value) => hasFluidValue(value) && removeFluidObserver(value, this)\n )\n );\n }\n eventObserved(event) {\n if (event.type == \"change\") {\n this._value = null;\n }\n callFluidObservers(this, event);\n }\n};\n\n// src/primitives.ts\nvar primitives = [\n \"a\",\n \"abbr\",\n \"address\",\n \"area\",\n \"article\",\n \"aside\",\n \"audio\",\n \"b\",\n \"base\",\n \"bdi\",\n \"bdo\",\n \"big\",\n \"blockquote\",\n \"body\",\n \"br\",\n \"button\",\n \"canvas\",\n \"caption\",\n \"cite\",\n \"code\",\n \"col\",\n \"colgroup\",\n \"data\",\n \"datalist\",\n \"dd\",\n \"del\",\n \"details\",\n \"dfn\",\n \"dialog\",\n \"div\",\n \"dl\",\n \"dt\",\n \"em\",\n \"embed\",\n \"fieldset\",\n \"figcaption\",\n \"figure\",\n \"footer\",\n \"form\",\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\",\n \"head\",\n \"header\",\n \"hgroup\",\n \"hr\",\n \"html\",\n \"i\",\n \"iframe\",\n \"img\",\n \"input\",\n \"ins\",\n \"kbd\",\n \"keygen\",\n \"label\",\n \"legend\",\n \"li\",\n \"link\",\n \"main\",\n \"map\",\n \"mark\",\n \"menu\",\n \"menuitem\",\n \"meta\",\n \"meter\",\n \"nav\",\n \"noscript\",\n \"object\",\n \"ol\",\n \"optgroup\",\n \"option\",\n \"output\",\n \"p\",\n \"param\",\n \"picture\",\n \"pre\",\n \"progress\",\n \"q\",\n \"rp\",\n \"rt\",\n \"ruby\",\n \"s\",\n \"samp\",\n \"script\",\n \"section\",\n \"select\",\n \"small\",\n \"source\",\n \"span\",\n \"strong\",\n \"style\",\n \"sub\",\n \"summary\",\n \"sup\",\n \"table\",\n \"tbody\",\n \"td\",\n \"textarea\",\n \"tfoot\",\n \"th\",\n \"thead\",\n \"time\",\n \"title\",\n \"tr\",\n \"track\",\n \"u\",\n \"ul\",\n \"var\",\n \"video\",\n \"wbr\",\n // SVG\n \"circle\",\n \"clipPath\",\n \"defs\",\n \"ellipse\",\n \"foreignObject\",\n \"g\",\n \"image\",\n \"line\",\n \"linearGradient\",\n \"mask\",\n \"path\",\n \"pattern\",\n \"polygon\",\n \"polyline\",\n \"radialGradient\",\n \"rect\",\n \"stop\",\n \"svg\",\n \"text\",\n \"tspan\"\n];\n\n// src/index.ts\nexport * from \"@react-spring/core\";\nGlobals.assign({\n batchedUpdates: unstable_batchedUpdates,\n createStringInterpolator,\n colors\n});\nvar host = createHost(primitives, {\n applyAnimatedValues,\n createAnimatedStyle: (style) => new AnimatedStyle(style),\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n getComponentProps: ({ scrollTop, scrollLeft, ...props }) => props\n});\nvar animated = host.animated;\nexport {\n animated as a,\n animated\n};\n//# sourceMappingURL=react-spring_web.modern.mjs.map"],"names":["_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","_objectWithoutPropertiesLoose","excluded","sourceKeys","keys","indexOf","_arrayLikeToArray","arr","len","arr2","Array","_createForOfIteratorHelperLoose","o","allowArrayLike","it","Symbol","iterator","next","isArray","minLen","n","toString","slice","constructor","name","from","test","_unsupportedIterableToArray","done","value","TypeError","_excluded$g","boxSystemProps","__isBoxStyledSystemProp","prop","includes","Box$1","forwardRef","props","ref","theme","u","_ref","_ref$__themeKey","__themeKey","__css","variant","cssProp","css","sx","_ref$as","as","Component","rest","__cssStyles","variantInTheme","variantStyles","sxPropStyles","systemPropsStyles","_step","res","_iterator","pickSystemProps","style","boxSizing","margin","minWidth","forEach","Flex","display","getProps","MRE","k","Link","Heading","fontFamily","fontWeight","lineHeight","_excluded$d","SVG","_ref$size","size","svgProps","xmlns","width","height","viewBox","fill","displayName","transform","to","str","Container","maxWidth","mx","UPPERCASE","LOWERCASE","LEADING_CAPITAL","IDENTIFIER","SEPARATORS","LEADING_SEPARATORS","RegExp","SEPARATORS_AND_IDENTIFIER","NUMBERS_AND_IDENTIFIER","camelCase","input","options","pascalCase","preserveConsecutiveUppercase","map","x","trim","filter","join","toLowerCase","locale","string","toLocaleLowerCase","toUpperCase","toLocaleUpperCase","isLastCharLower","isLastCharUpper","isLastLastCharUpper","character","preserveCamelCase","replace","lastIndex","m1","charAt","_","identifier","m","postProcess","module","exports","W","hasNativeLazyLoadSupport","HTMLImageElement","z","e","t","a","s","className","P","h","loading","shouldLoad","opacity","A","r","l","backgroundColor","position","top","left","bottom","right","objectFit","objectPosition","d","transition","H","F","_ref5","layout","paddingTop","alt","role","src","G","children","V","B","U","srcSet","decoding","Y","fallback","sources","sizes","_ref6","media","type","X","propTypes","isRequired","J","Z","Error","K","Q","ee","te","ae","_len","_key","c","concat","ie","image","se","re","ne","Set","oe","le","de","class","g","onStartLoad","p","onLoad","onError","f","w","y","b","v","E","S","M","N","$","JSON","stringify","images","I","then","_ref7","renderImageToString","swapPlaceholderImage","current","querySelector","complete","wasCached","setTimeout","removeAttribute","addEventListener","removeEventListener","add","has","_ref8","innerHTML","isLoading","isLoaded","requestAnimationFrame","cancelAnimationFrame","dangerouslySetInnerHTML","__html","suppressHydrationWarning","ce","he","ue","__imageData","__error","console","warn","ge","imgClassName","imgStyle","placeholder","pe","_len2","_key2","me","fe","we","HeaderBackground","colorMode","useColorMode","isDark","jsx","React","color","Svg","id","background","iconBaseStyles","borderRadius","content","boxShadow","get","buttonBaseStyles","alignItems","justifyContent","border","outline","cursor","padding","appearance","FallbackIcon","TogglePrimitive","mounted","setMounted","ColorModeToggle","setColorMode","mr","onClick","document","documentElement","classList","title","overflow","_createMdxContent","_components","h2","br","strong","hr","ul","li","h3","h4","ol","_provideComponents","components","href","wrapper","MDXLayout","Footer","showThemeAuthor","useEmiliaConfig","Box","gridGap","gridTemplateColumns","mb","mt","AboutMeMDX","textAlign","flexDirection","ml","SocialMediaList","Date","getFullYear","Global","styles","useSiteMetadata","useStaticQuery","site","siteMetadata","description","pathname","siteTitle","siteTitleAlt","defaultTitle","siteUrl","siteDescription","defaultDescription","siteImage","defaultImage","author","siteLanguage","seo","url","lang","property","rel","withPrefix","socialMedia","entry","Themed","_excluded","emiliaConfig","fails","METHOD_NAME","argument","method","uncurryThis","arraySlice","floor","Math","sort","array","comparefn","element","j","middle","llength","rlength","lindex","rindex","TO_STRING_TAG_SUPPORT","isCallable","classofRaw","TO_STRING_TAG","wellKnownSymbol","$Object","CORRECT_ARGUMENTS","O","tag","result","undefined","error","tryGet","callee","tryToString","$TypeError","firefox","match","UA","webkit","String","classof","$String","aCallable","toObject","lengthOfArrayLike","deletePropertyOrThrow","internalSort","arrayMethodIsStrict","FF","IE_OR_EDGE","V8","WEBKIT","nativeSort","push","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STRICT_METHOD","STABLE_SORT","code","chr","index","fromCharCode","proto","forced","itemsLength","items","arrayLength","getSortCompare","updateQueue","makeQueue","raf","fn","schedule","writeQueue","write","onStartQueue","onStart","onFrameQueue","onFrame","onFinishQueue","onFinish","timeouts","handler","ms","time","now","cancel","findIndex","splice","pendingCount","timeout","findTimeout","start","delete","sync","batchedUpdates","throttle","lastArgs","queuedFn","throttled","args","nativeRaf","window","use","impl","performance","catch","frameLoop","advance","update","ts","queue","loop","prevTs","count","eachSafely","flush","min","arg","values","each","__defProp","defineProperty","globals_exports","noop","all","enumerable","__export","colors","createStringInterpolator","skipAnimation","willAdvance","is","obj","fun","num","und","isEqual","eachProp","ctx","toArray","clear","flushCalls","isSSR","navigator","userAgent","globals","startQueue","currentFrame","prevFrame","priority","idle","animation","flushStartQueue","startSafely","prevIndex","startUnsafely","other","dt","nextFrame","NUMBER","PERCENTAGE","parts","rgb","rgba","hsl","hsla","hex3","hex4","hex6","hex8","hue2rgb","q","hslToRgb","round","parse255","int","parseInt","parse360","parseFloat","parse1","parsePercentage","colorToRgba","int32Color","exec","normalizeColor","createInterpolator","range","output","extrapolate","config","outputRange","inputRange","extrapolateLeft","extrapolateRight","easing","range2","findRange","inputMin","inputMax","outputMin","outputMax","Infinity","interpolate","c1","c2","c3","c4","PI","c5","bounceOut","n1","d1","easings","linear","easeInQuad","easeOutQuad","easeInOutQuad","pow","easeInCubic","easeOutCubic","easeInOutCubic","easeInQuart","easeOutQuart","easeInOutQuart","easeInQuint","easeOutQuint","easeInOutQuint","easeInSine","cos","easeOutSine","sin","easeInOutSine","easeInExpo","easeOutExpo","easeInOutExpo","easeInCirc","sqrt","easeOutCirc","easeInOutCirc","easeInBack","easeOutBack","easeInOutBack","easeInElastic","easeOutElastic","easeInOutElastic","easeInBounce","easeOutBounce","easeInOutBounce","steps","steps2","direction","progress2","expanded","max","rounded","ceil","$get","for","$observers","hasFluidValue","Boolean","getFluidValue","getFluidObservers","callFluidObservers","event","observers","observer2","eventObserved","callFluidObserver","FluidValue","setFluidGetter","setHidden","addFluidObserver","observerAdded","removeFluidObserver","observerRemoved","namedColorRegex","writable","configurable","numberRegex","colorRegex","unitRegex","rgbaRegex","cssVariableRegex","variableToRgba","token","parseCSSVariable","getComputedStyle","getPropertyValue","startsWith","value2","rgbaRound","p1","p2","p3","p4","createStringInterpolator2","keyframes","Number","interpolators","output2","missingUnit","find","prefix","once","func","called","warnInterpolate","warnDirectCall","isAnimatedString","useEffect","useLayoutEffect","useIsMounted","isMounted","useRef","useForceUpdate","useState","random","useOnce","effect","emptyDeps","usePrev","prevRef","$node","getAnimated","owner","setAnimated","node","defineHidden","getPayload","Animated","payload","AnimatedValue","_value","super","durationProgress","lastPosition","create","getValue","setValue","step","reset","elapsedTime","lastVelocity","v0","AnimatedString","_string","_toString","goal","TreeContext","dependencies","AnimatedObject","animated","_makePayload","_addToPayload","AnimatedArray","some","makeAnimated","getAnimatedType","parentNode","withAnimated","host","hasInstance","isReactComponent","givenProps","givenRef","instanceRef","useCallback","updateRef","deps","createAnimatedStyle","getAnimatedState","forceUpdate","callback","instance","applyAnimatedValues","observer","PropsObserver","observerRef","dep","usedProps","getComponentProps","cacheKey","getDisplayName","callProp","matchProp","resolveProp","getDefaultProp","default","noopTransform","getDefaultProps","DEFAULT_PROPS","defaults2","RESERVED_PROPS","pause","reverse","immediate","delay","onProps","onChange","onPause","onResume","onRest","onResolve","trail","expires","initial","enter","leave","onDestroyed","callId","parentId","inferTo","to2","forward","getForwardProps","out","val","computeGoal","hasProps","isAsyncTo","detachRefs","ctrl","replaceRef","tension","friction","gentle","wobbly","stiff","slow","molasses","defaults","mass","damping","clamp","AnimationConfig","velocity","sanitizeConfig","config2","decay","isTensionConfig","frequency","duration","emptyArray","Animation","changed","toValues","fromValues","scheduleProps","defaultProps","state","actions","Promise","resolve","reject","paused","resumeQueue","resume","delayed","pauseQueue","cancelId","err","getCombinedResult","results","cancelled","getCancelledResult","every","getNoopResult","getFinishedResult","finished","runAsync","asyncTo","prevTo","promise","prevPromise","asyncId","preventBail","bail","bailPromise","bailIfEnded","bailSignal","bailResult","animate","arg1","arg2","BailSignal","skipAnimationSignal","SkipAnimationSignal","stopAsync","props2","result2","animating","stop","item","isFrameValue","FrameValue","nextId","_priority","_onPriorityChange","toJSON","_attach","_detach","_onChange","parent","$P","hasAnimated","isAnimating","isPaused","setActiveBit","active","IS_ANIMATING","setPausedBit","SpringValue","_state","_pendingCalls","_lastCallId","_lastToId","_memoizedDuration","node2","isDelayed","anim","elapsed","precision","abs","exp","restVelocity","bounceFactor","bounce","canBounce","isGrowing","isMoving","isBouncing","numSteps","progress","isNaN","currVal","finalVal","_stop","set","_focus","_set","_update","finish","_onStart","_start","_prepareNode","isLoop","mergeActiveFn","sendEvent","isFrozen","checkFinished","_resume","_merge","nextProps","createLoopUpdate","hasToProp","hasFromProp","prevFrom","hasFromChanged","hasToChanged","hasAsyncTo","newConfig","defaultConfig","mergeConfig","isAnimatable","nodeType","goalType","started","hasValueChanged","ACTIVE_EVENTS","oldNode","loopRet","overrides","createUpdate","findDefined","declareUpdate","update2","BATCHED_EVENTS","nextId2","Controller","flush3","springs","_lastAsyncId","_active","_changed","_started","_events","Map","_onFrame","_flush","spring","_item","prepareKeys","flushUpdateQueue","onStart2","onChange2","onRest2","flushUpdate","async","promises","getSprings","prepareSprings","createSpring","setSprings","init","SpringContext","inherited","useContext","getResult","inputs","committed","prevCache","cache","prev","areInputsEqual","useMemoOne","Provider","_context","Consumer","SpringRef","SpringRef2","_getProps","useSprings","propsFn","useMemo","layoutId","ctrls","updates2","springs2","updates","prevLength","declareUpdates","startIndex","endIndex","context","prevContext","hasContext","cb","useSpring","isFn","Interpolation","calc","_get","_dt","checkIdle","becomeIdle","reduce","highest","isIdle","self","isCustomPropRE","dangerousStyleValue","isUnitlessNumber","attributeCache","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","lineClamp","order","orphans","tabSize","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","prefixes","acc","substring","prefixKey","domTransforms","pxTransforms","degTransforms","addUnit","unit","isValueIdentity","AnimatedStyle","transforms","xyz","x2","y2","z2","deg","FluidTransform","identity","unstable_batchedUpdates","transparent","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","burntsienna","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","hostConfig","createHost","setAttribute","isFilterElement","nodeName","scrollTop","scrollLeft","attributes","names","hasAttribute","textContent","setProperty"],"sourceRoot":""} \ No newline at end of file diff --git a/c2833e12b9a7c106fd87c0740348ec050af8d68c-8a0f9413302e018f3c5a.js b/c2833e12b9a7c106fd87c0740348ec050af8d68c-8a0f9413302e018f3c5a.js deleted file mode 100644 index 97006a7b..00000000 --- a/c2833e12b9a7c106fd87c0740348ec050af8d68c-8a0f9413302e018f3c5a.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunkemilia=self.webpackChunkemilia||[]).push([[10],{6835:function(e,t,n){n.d(t,{DZ:function(){return y},N_:function(){return v},az:function(){return p},mc:function(){return I},so:function(){return g}});var r=n(4684),a=n(7437),i=n(6540),l=n(8053);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var m=["__themeKey","__css","variant","css","sx","as"],h=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","m","mt","mr","mb","ml","mx","my","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","p","pt","pr","pb","pl","px","py","color","backgroundColor","bg","opacity"],d=function(e){return h.includes(e)},p=(0,i.forwardRef)((function(e,t){var n=(0,r.u)(),i=e,c=i.__themeKey,d=void 0===c?"variants":c,p=i.__css,g=i.variant,f=i.css,E=i.sx,v=i.as,y=void 0===v?"div":v,w=s(i,m),b=(0,l.AH)(p)(n),I=(0,l.Jt)(n,d+"."+g)||(0,l.Jt)(n,g),k=I&&(0,l.AH)(I)(n),P=(0,l.AH)(E)(n),S=(0,l.AH)(function(e){for(var t,n={},r=u(h);!(t=r()).done;){var a=t.value;n[a]=e[a]}return n}(w))(n),C=[{boxSizing:"border-box",margin:0,minWidth:0},b,k,P,S,f];return h.forEach((function(e){delete w[e]})),(0,a.Y)(y,o({ref:t,css:C},w))})),g=i.forwardRef((function(e,t){return i.createElement(p,o({ref:t},e,{sx:o({display:"flex"},e.sx)}))})),f=function(e){return function(t){var n={};for(var r in t)e(r||"")&&(n[r]=t[r]);return n}},E=/^m[trblxy]?$/;f((function(e){return E.test(e)})),f((function(e){return!E.test(e)}));var v=i.forwardRef((function(e,t){return i.createElement(p,o({ref:t,as:"a",variant:"styles.a"},e,{__themeKey:"links"}))})),y=i.forwardRef((function(e,t){return i.createElement(p,o({ref:t,as:"h2",variant:"heading"},e,{__themeKey:"text",__css:{fontFamily:"heading",fontWeight:"heading",lineHeight:"heading"}}))})),w=["size"],b=i.forwardRef((function(e,t){var n=e.size,r=void 0===n?24:n,a=o({xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"currentcolor"},s(e,w));return i.createElement(p,o({ref:t,as:"svg"},a))}));b.displayName="SVG";(0,a.i7)({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),f(d),f((function(e){return!d(e)}));var I=i.forwardRef((function(e,t){return i.createElement(p,o({ref:t,variant:"container"},e,{__themeKey:"layout",__css:{width:"100%",maxWidth:"container",mx:"auto"}}))}))},2729:function(e){const t=/[\p{Lu}]/u,n=/[\p{Ll}]/u,r=/^[\p{Lu}](?![\p{Lu}])/gu,a=/([\p{Alpha}\p{N}_]|$)/u,i=/[_.\- ]+/,l=new RegExp("^"+i.source),o=new RegExp(i.source+a.source,"gu"),s=new RegExp("\\d+"+a.source,"gu"),c=(e,a)=>{if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");if(a={pascalCase:!1,preserveConsecutiveUppercase:!1,...a},0===(e=Array.isArray(e)?e.map((e=>e.trim())).filter((e=>e.length)).join("-"):e.trim()).length)return"";const i=!1===a.locale?e=>e.toLowerCase():e=>e.toLocaleLowerCase(a.locale),c=!1===a.locale?e=>e.toUpperCase():e=>e.toLocaleUpperCase(a.locale);if(1===e.length)return a.pascalCase?c(e):i(e);return e!==i(e)&&(e=((e,r,a)=>{let i=!1,l=!1,o=!1;for(let s=0;s(r.lastIndex=0,e.replace(r,(e=>t(e)))))(e,i):i(e),a.pascalCase&&(e=c(e.charAt(0))+e.slice(1)),((e,t)=>(o.lastIndex=0,s.lastIndex=0,e.replace(o,((e,n)=>t(n))).replace(s,(e=>t(e)))))(e,c)};e.exports=c,e.exports.default=c},2532:function(e,t,n){n.d(t,{G:function(){return O},L:function(){return p},M:function(){return I},P:function(){return b},_:function(){return o},a:function(){return l},b:function(){return u},g:function(){return m},h:function(){return s}});n(6910);var r=n(6540),a=(n(2729),n(5556)),i=n.n(a);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}const s=()=>"undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype;function c(e,t,n){const r={};let a="gatsby-image-wrapper";return"fixed"===n?(r.width=e,r.height=t):"constrained"===n&&(a="gatsby-image-wrapper gatsby-image-wrapper-constrained"),{className:a,"data-gatsby-image-wrapper":"",style:r}}function u(e,t,n,r,a){return void 0===a&&(a={}),l({},n,{loading:r,shouldLoad:e,"data-main-image":"",style:l({},a,{opacity:t?1:0})})}function m(e,t,n,r,a,i,o,s){const c={};i&&(c.backgroundColor=i,"fixed"===n?(c.width=r,c.height=a,c.backgroundColor=i,c.position="relative"):("constrained"===n||"fullWidth"===n)&&(c.position="absolute",c.top=0,c.left=0,c.bottom=0,c.right=0)),o&&(c.objectFit=o),s&&(c.objectPosition=s);const u=l({},e,{"aria-hidden":!0,"data-placeholder-image":"",style:l({opacity:t?0:1,transition:"opacity 500ms linear"},c)});return u}const h=["children"],d=function(e){let{layout:t,width:n,height:a}=e;return"fullWidth"===t?r.createElement("div",{"aria-hidden":!0,style:{paddingTop:a/n*100+"%"}}):"constrained"===t?r.createElement("div",{style:{maxWidth:n,display:"block"}},r.createElement("img",{alt:"",role:"presentation","aria-hidden":"true",src:"data:image/svg+xml;charset=utf-8,%3Csvg%20height='"+a+"'%20width='"+n+"'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%3E%3C/svg%3E",style:{maxWidth:"100%",display:"block",position:"static"}})):null},p=function(e){let{children:t}=e,n=o(e,h);return r.createElement(r.Fragment,null,r.createElement(d,l({},n)),t,null)},g=["src","srcSet","loading","alt","shouldLoad"],f=["fallback","sources","shouldLoad"],E=function(e){let{src:t,srcSet:n,loading:a,alt:i="",shouldLoad:s}=e,c=o(e,g);return r.createElement("img",l({},c,{decoding:"async",loading:a,src:s?t:void 0,"data-src":s?void 0:t,srcSet:s?n:void 0,"data-srcset":s?void 0:n,alt:i}))},v=function(e){let{fallback:t,sources:n=[],shouldLoad:a=!0}=e,i=o(e,f);const s=i.sizes||(null==t?void 0:t.sizes),c=r.createElement(E,l({},i,t,{sizes:s,shouldLoad:a}));return n.length?r.createElement("picture",null,n.map((e=>{let{media:t,srcSet:n,type:i}=e;return r.createElement("source",{key:t+"-"+i+"-"+n,type:i,media:t,srcSet:a?n:void 0,"data-srcset":a?void 0:n,sizes:s})})),c):c};var y;E.propTypes={src:a.string.isRequired,alt:a.string.isRequired,sizes:a.string,srcSet:a.string,shouldLoad:a.bool},v.displayName="Picture",v.propTypes={alt:a.string.isRequired,shouldLoad:a.bool,fallback:a.exact({src:a.string.isRequired,srcSet:a.string,sizes:a.string}),sources:a.arrayOf(a.oneOfType([a.exact({media:a.string.isRequired,type:a.string,sizes:a.string,srcSet:a.string.isRequired}),a.exact({media:a.string,type:a.string.isRequired,sizes:a.string,srcSet:a.string.isRequired})]))};const w=["fallback"],b=function(e){let{fallback:t}=e,n=o(e,w);return t?r.createElement(v,l({},n,{fallback:{src:t},"aria-hidden":!0,alt:""})):r.createElement("div",l({},n))};b.displayName="Placeholder",b.propTypes={fallback:a.string,sources:null==(y=v.propTypes)?void 0:y.sources,alt:function(e,t,n){return e[t]?new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Validation failed."):null}};const I=function(e){return r.createElement(r.Fragment,null,r.createElement(v,l({},e)),r.createElement("noscript",null,r.createElement(v,l({},e,{shouldLoad:!0}))))};I.displayName="MainImage",I.propTypes=v.propTypes;const k=["as","className","class","style","image","loading","imgClassName","imgStyle","backgroundColor","objectFit","objectPosition"],P=["style","className"],S=e=>e.replace(/\n/g,""),C=function(e,t,n){for(var r=arguments.length,a=new Array(r>3?r-3:0),l=3;lJSON.stringify(a.images)),[a.images]);h&&(m=h);const C=function(e,t,n){let r="";return"fullWidth"===e&&(r=''),"constrained"===e&&(r='
"),r}(y,E,v);return(0,r.useEffect)((()=>{R||(R=n.e(108).then(n.bind(n,1108)).then((e=>{let{renderImageToString:t,swapPlaceholderImage:n}=e;return j=t,{renderImageToString:t,swapPlaceholderImage:n}})));const e=P.current.querySelector("[data-gatsby-image-ssr]");if(e&&s())return e.complete?(null==d||d({wasCached:!0}),null==p||p({wasCached:!0}),setTimeout((()=>{e.removeAttribute("data-gatsby-image-ssr")}),0)):(null==d||d({wasCached:!0}),e.addEventListener("load",(function t(){e.removeEventListener("load",t),null==p||p({wasCached:!0}),setTimeout((()=>{e.removeAttribute("data-gatsby-image-ssr")}),0)}))),void M.add(S);if(j&&M.has(S))return;let t,r;return R.then((e=>{let{renderImageToString:n,swapPlaceholderImage:o}=e;P.current&&(P.current.innerHTML=n(l({isLoading:!0,isLoaded:M.has(S),image:a},f)),M.has(S)||(t=requestAnimationFrame((()=>{P.current&&(r=o(P.current,S,M,i,d,p,g))}))))})),()=>{t&&cancelAnimationFrame(t),r&&r()}}),[a]),(0,r.useLayoutEffect)((()=>{M.has(S)&&j&&(P.current.innerHTML=j(l({isLoading:M.has(S),isLoaded:M.has(S),image:a},f)),null==d||d({wasCached:!0}),null==p||p({wasCached:!0}))}),[a]),(0,r.createElement)(t,l({},k,{style:l({},b,i,{backgroundColor:u}),className:I+(m?" "+m:""),ref:P,dangerouslySetInnerHTML:{__html:C},suppressHydrationWarning:!0}))},O=(0,r.memo)((function(e){return e.image?(0,r.createElement)(T,e):null}));O.propTypes=A,O.displayName="GatsbyImage";const N=["src","__imageData","__error","width","height","aspectRatio","tracedSVGOptions","placeholder","formats","quality","transformOptions","jpgOptions","pngOptions","webpOptions","avifOptions","blurredOptions","breakpoints","outputPixelDensities"];function H(e){return function(t){let{src:n,__imageData:a,__error:i}=t,s=o(t,N);return i&&console.warn(i),a?r.createElement(e,l({image:a},s)):(console.warn("Image not loaded",n),null)}}const L=H((function(e){let{as:t="div",className:n,class:a,style:i,image:s,loading:h="lazy",imgClassName:d,imgStyle:g,backgroundColor:f,objectFit:E,objectPosition:v}=e,y=o(e,k);if(!s)return console.warn("[gatsby-plugin-image] Missing image prop"),null;a&&(n=a),g=l({objectFit:E,objectPosition:v,backgroundColor:f},g);const{width:w,height:C,layout:A,images:x,placeholder:_,backgroundColor:M}=s,R=c(w,C,A),{style:j,className:T}=R,O=o(R,P),N={fallback:void 0,sources:[]};return x.fallback&&(N.fallback=l({},x.fallback,{srcSet:x.fallback.srcSet?S(x.fallback.srcSet):void 0})),x.sources&&(N.sources=x.sources.map((e=>l({},e,{srcSet:S(e.srcSet)})))),r.createElement(t,l({},O,{style:l({},j,i,{backgroundColor:f}),className:T+(n?" "+n:"")}),r.createElement(p,{layout:A,width:w,height:C},r.createElement(b,l({},m(_,!1,A,w,C,M,E,v))),r.createElement(I,l({"data-gatsby-image-ssr":"",className:d},y,u("eager"===h,!1,N,h,g)))))})),D=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a{if(void 0!==e.layout&&!J.has(e.layout))return new Error("Invalid value "+e.layout+'" provided for prop "layout". Defaulting to "constrained". Valid values are "fixed", "fullWidth" or "constrained".')}};L.displayName="StaticImage",L.propTypes=F;const W=H(O);W.displayName="StaticImage",W.propTypes=F},1758:function(e,t,n){var r=n(6540),a=n(7141),i=n(557),l=n(2155);t.A=()=>{const[e]=(0,a.G6)(),t="dark"===e;return(0,i.Y)(r.Fragment,null,(0,i.Y)("div",{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,width:"100%",height:"100%",color:"backgroundPattern"}},(0,i.Y)(l.A,{id:"bgPattern",height:"100%",width:"100%"})),(0,i.Y)("div",{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(180deg, rgba(0, 0, 0, 0) 34.99%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, "+(t?"0.35":"0.15")+") 100%)"}}))}},9745:function(e,t,n){n.d(t,{A:function(){return w}});var r=n(6540),a=n(8053),i=n(7437),l=n(7141),o=n(557),s=n(6835),c=n(9383),u=n(2338);const m={position:"relative",width:"24px",height:"24px",borderRadius:"50%",transition:"all 0.45s ease","&:before":{content:'""',position:"absolute",right:"-9px",top:"-9px",height:"24px",width:"24px",transition:"transform 0.45s ease",borderRadius:"50%"},"&:after":{content:'""',width:"8px",height:"8px",borderRadius:"50%",margin:"-4px 0 0 -4px",position:"absolute",top:"50%",left:"50%",transition:"all 0.35s ease",boxShadow:e=>"0 -23px 0 "+(0,a.Jt)(e,"colors.toggleIcon")+", 0 23px 0 "+(0,a.Jt)(e,"colors.toggleIcon")+", 23px 0 0 "+(0,a.Jt)(e,"colors.toggleIcon")+", -23px 0 0 "+(0,a.Jt)(e,"colors.toggleIcon")+", 15px 15px 0 "+(0,a.Jt)(e,"colors.toggleIcon")+", -15px 15px 0 "+(0,a.Jt)(e,"colors.toggleIcon")+", 15px -15px 0 "+(0,a.Jt)(e,"colors.toggleIcon")+", -15px -15px 0 "+(0,a.Jt)(e,"colors.toggleIcon")}},h={opacity:.65,position:"relative",borderRadius:"5px",width:"40px",height:"25px",display:"flex",alignItems:"center",justifyContent:"center",transition:"opacity 0.3s ease",border:"none",outline:"none",background:"none",cursor:"pointer",padding:0,appearance:"none","&:hover, &:focus":{opacity:1}},d=()=>(0,o.Y)("button",{type:"button",sx:h,"aria-label":"Color mode toggle"},(0,o.Y)("div",{sx:Object.assign({},m,{transform:"scale(0.55)","&:before":Object.assign({},m["&:before"],{opacity:0}),"&:after":Object.assign({},m["&:after"],{transform:"scale(0)"})})})),p=e=>{let{children:t,fallback:n}=e;const[a,i]=r.useState(!1);return r.useEffect((()=>{i(!0)}),[]),a?(0,o.Y)(r.Fragment,null,t):n?(0,o.Y)(r.Fragment,null,n):null};var g=()=>{const[e,t]=(0,l.G6)(),n="dark"===e;return(0,o.Y)(s.so,{sx:{alignItems:"center",justifyContent:["center","center","center","flex-end"]}},(0,o.Y)("div",{sx:{mr:2}},"Toggle Mode"),(0,o.Y)(p,{fallback:(0,o.Y)(d,null)},(0,o.Y)("button",{onClick:()=>{const e=n?"light":"dark";t(e),document.documentElement.classList.value="theme-ui-"+e},type:"button","aria-label":n?"Activate Light mode":"Activate Dark mode",title:n?"Activate Light mode":"Activate Dark mode",sx:h},(0,o.Y)("div",{sx:Object.assign({},m,{border:e=>n?"4px solid "+(0,a.Jt)(e,"colors.toggleIcon"):"none",backgroundColor:n?"toggleIcon":"transparent",transform:n?"scale(0.55)":"scale(1)",overflow:n?"visible":"hidden",boxShadow:e=>n?"none":"inset 8px -8px 0px 0px "+(0,a.Jt)(e,"colors.toggleIcon"),"&:before":Object.assign({},m["&:before"],{border:e=>n?"2px solid "+(0,a.Jt)(e,"colors.toggleIcon"):"none",transform:n?"translate(14px, -14px)":"translate(0, 0)",opacity:n?0:1}),"&:after":Object.assign({},m["&:after"],{transform:n?"scale(1)":"scale(0)"})})}))))},f=n(8453);function E(e){const t=Object.assign({h2:"h2",p:"p",a:"a",br:"br",strong:"strong",hr:"hr",ul:"ul",li:"li",h3:"h3",h4:"h4",ol:"ol"},(0,f.RP)(),e.components);return r.createElement(r.Fragment,null,r.createElement(t.h2,null,"About Me"),"\n",r.createElement(t.p,null,"(En)\nNaoto Nishida is a 1st year PhD candidate in the Graduate School of Interdisciplinary Information Studies, at ",r.createElement(t.a,{href:"https://www.iii.u-tokyo.ac.jp/"},"University of Tokyo"),", working with ",r.createElement(t.a,{href:"https://lab.rekimoto.org/members/yoshio-ishiguro/"},"Yoshio Ishiguro")," and ",r.createElement(t.a,{href:"https://lab.rekimoto.org/members/rekimoto/"},"Jun Rekimoto"),".\nPreviously, I was working with Prof. ",r.createElement(t.a,{href:"https://lab.rekimoto.org/members/rekimoto/"},"Jun Rekimoto")," in my master's, with Prof. ",r.createElement(t.a,{href:"https://www.iplab.cs.tsukuba.ac.jp/~shizuki/index-e.html"},"Buntarou Shizuki")," in my bachelor's, with Prof. ",r.createElement(t.a,{href:"https://hci.prof/"},"Xiang Anthony Chen")," while I was a visiting scholar at ",r.createElement(t.a,{href:"https://www.ucla.edu/"},"UCLA"),", and Dr. ",r.createElement(t.a,{href:"https://sites.google.com/view/ikema2"},"Kaori Ikematsu")," while my internship at Yahoo!JAPAN.\nHis research interests lie widely in Human-Computer Interaction, Human-AI Interaction, Natural Language Processing and Machine Learning, especially ones relevant to language, learning, or communication(e.g., AI-based learning, AI-assisted communication, etc)."),"\n",r.createElement(t.p,null,"(Ja)\n",r.createElement(t.a,{href:"https://www.iii.u-tokyo.ac.jp/"},"東京大学大学院学際情報学府"),"の博士1年生です (指導教員:",r.createElement(t.a,{href:"https://lab.rekimoto.org/members/yoshio-ishiguro/"},"石黒祥生"),"先生, 副指導: ",r.createElement(t.a,{href:"https://lab.rekimoto.org/members/rekimoto/"},"暦本純一"),"先生).\n修士時代には",r.createElement(t.a,{href:"https://lab.rekimoto.org/members/rekimoto/"},"暦本純一"),"先生,学部時代には",r.createElement(t.a,{href:"https://www.iplab.cs.tsukuba.ac.jp/~shizuki/"},"志築文太郎"),"先生,",r.createElement(t.a,{href:"https://www.ucla.edu/"},"UCLA"),"の留学時代には",r.createElement(t.a,{href:"https://hci.prof/"},"Xiang Anthony Chen"),"先生,Yahoo!JAPAN研究所でのインターン時代には",r.createElement(t.a,{href:"https://sites.google.com/view/ikema2"},"池松香"),"先生にお世話になっていました.",r.createElement(t.br),"\n","言語学習,映画鑑賞,フリーマーケット巡りおよびスポーツ(柔術,登山)が好きです.",r.createElement(t.br),"\n","AIと人間のインタラクション(例えばAIを用いた学習支援や技能習得,AIとの対話など)に興味があります."),"\n",r.createElement(t.p,null,r.createElement(t.strong,null,r.createElement("u",null,r.createElement(t.a,{href:"https://drive.google.com/file/d/1N6G3iBiAMTbzCHQg2jKHWKBHp70PWHFQ/view?usp=sharing"},"Curriculum Vitae")))),"\n",r.createElement(t.p,null,r.createElement(t.strong,null,"Email:")," nawta [at] g.ecc.u-tokyo.ac.jp"),"\n",r.createElement(t.p,null,r.createElement(t.strong,null,"Address:")," Room A102, Daiwa Ubiquitous Computing Research Building, 7-3-1, Hongo, Bunkyo-ku, Tokyo 113-8654, Japan."),"\n",r.createElement(t.hr),"\n",r.createElement(t.h2,null,"News"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.12 One paper got accepted to ",r.createElement(t.a,{href:"https://iui.acm.org/2025/"},"IUI 2025"),"!"),"\n",r.createElement(t.li,null,"2024.12 Received Leave a Nest Grant Incu-be Incentive Award!"),"\n",r.createElement(t.li,null,"2024.12 Enjoyed SV at SIGGRAPH Asia 2024:)"),"\n",r.createElement(t.li,null,"2024.11 Participating ",r.createElement(t.a,{href:"https://www.acc.go.kr/en/event.do?PID=0302&action=Read&bnkey=EM_0000007969"},"ACC CREATORS Residency 2024")," as a collaborator with ",r.createElement(t.a,{href:"https://ryutaaoki.jp/"},"Ryuta Aoki"),"'s artwork :)"),"\n"),"\n",r.createElement("small",null,r.createElement("details",null,r.createElement("summary",null,"Read More"),r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.10 Enjoyed my stay at Pittsburgh! Yeee!"),"\n",r.createElement(t.li,null,"2024.10 Submitted One paper to ",r.createElement(t.a,{href:"https://iui.acm.org/2025/"},"IUI 2025"),"!"),"\n",r.createElement(t.li,null,"2024.08 One demo paper got accepted ",r.createElement(t.a,{href:"https://uist.acm.org/2024/"},"UIST 2024"),"!"),"\n",r.createElement(t.li,null,"2024.03 I graduated from my master's! now I'm a PhD candidate!"),"\n",r.createElement(t.li,null,"2024.02 My course work on reinforcement learning got selected as one of the excellent works! Check our ",r.createElement(t.a,{href:"https://drive.google.com/file/d/1ZxZ6zm2DwHUqnFqtQskJjIxW03lqxJpg/view?usp=sharing"},"paper")," and ",r.createElement(t.a,{href:"https://drive.google.com/file/d/131KIxNktSpwvC5Ta4RMRBIVFFKvPB380/view?usp=sharing"},"poster")),"\n",r.createElement(t.li,null,"2024.02 My work got awarded at Telecommunication Interdisciplinary Research Award!"),"\n",r.createElement(t.li,null,"2024.02 Our work was selected as an Excellent Work at ",r.createElement(t.a,{href:"https://deeplearning.jp/lectures/world-model-2023/"},"World Model and Intelligence")," Final Course Project"),"\n",r.createElement(t.li,null,"2024.02 We got Best Prototype Award at ",r.createElement(t.a,{href:"https://tei.acm.org/2024/"},"TEI 2024")," Student Design Competition!"),"\n",r.createElement(t.li,null,"2024.02 One paper got accepted to ",r.createElement(t.a,{href:"https://sites.google.com/cluster.mu/1st-ws-seamless-reality/"},"IEEE VR 2024 Workshop")),"\n",r.createElement(t.li,null,"2024.01 I defended my master's thesis!"),"\n",r.createElement(t.li,null,"2024.01 I submitted one paper to ",r.createElement(t.a,{href:"https://sites.google.com/cluster.mu/1st-ws-seamless-reality/"},"IEEE VR 2024 Workshop")),"\n",r.createElement(t.li,null,"2024.01 I submitted my master's thesis!"),"\n",r.createElement(t.li,null,"2023.11 One paper got accepted to ",r.createElement(t.a,{href:"https://tei.acm.org/2024/"},"TEI 2024")),"\n",r.createElement(t.li,null,"2023.10 I submitted one paper to ",r.createElement(t.a,{href:"https://tei.acm.org/2024/"},"TEI 2024")),"\n",r.createElement(t.li,null,"2023.10 Our work 'Ichiyo' got an Honorable Mention at ",r.createElement(t.a,{href:"https://newhope.g-mark.org/award/2023/23NHA040011.html"},"GOOD DESIGN NEW HOPE AWARD 2023")),"\n",r.createElement(t.li,null,"2023.10 I reviewed one paper from ",r.createElement(t.a,{href:"https://aaai.org/aaai-conference/"},"AAAI-24")),"\n",r.createElement(t.li,null,"2023.09 I reviewed one paper from ",r.createElement(t.a,{href:"https://chi2024.acm.org/"},"CHI 2024")),"\n",r.createElement(t.li,null,"2023.09 I presented a paper at ",r.createElement(t.a,{href:"https://mobilehci.acm.org/2023/index.php"},"mobileHCI 2023")," at Athens :)"),"\n",r.createElement(t.li,null,"2023.08 I just passed QE!"),"\n",r.createElement(t.li,null,"2023.07 I presented a poster at ",r.createElement(t.a,{href:"http://cvim.ipsj.or.jp/MIRU2023/company-event/#huawei-event"},"HUAWEI TOKYO RESEARCH CENTER Discussion Night in MIRU2023")),"\n",r.createElement(t.li,null,"2023.06 I Attended ",r.createElement(t.a,{href:"https://sigchi.jp/seminar/chi2023/"},"CHI study meeting(CHI勉強会)"),"."),"\n",r.createElement(t.li,null,"2023.06 One paper got accepted to mobileHCI."),"\n",r.createElement(t.li,null,"2023.05 I started to join ",r.createElement(t.a,{href:"https://www.cyberagent.co.jp/careers/special/students/tech_lounge/"},"CA Tech Lounge"),"."),"\n",r.createElement(t.li,null,"2023.05 I submitted a revised paper to mobileHCI."),"\n",r.createElement(t.li,null,"2023.04 I served as a student volunteer at CHI 2023."),"\n",r.createElement(t.li,null,"2023.04 I have come back to Japan! The researcher life in UCLA is totally mind blowing!"),"\n",r.createElement(t.li,null,"2023.04 ",r.createElement(t.a,{href:"https://www.tandfonline.com/doi/full/10.1080/10447318.2023.2192586"},"My co-author journal")," is now on online."),"\n",r.createElement(t.li,null,"2023.03 I am selected for Gary Marsden Travel Award for CHI 2023!"),"\n",r.createElement(t.li,null,"2023.03 The 1st notification of mobileHCI just came back. Let's revise:)"),"\n",r.createElement(t.li,null,"2023.03 My co-author paper is accepted for International Journal of Human-Computer Interaction (IJHCI)."),"\n",r.createElement(t.li,null,"2023.02 ",r.createElement(t.a,{href:"http://id.nii.ac.jp/1001/00224250/"},"My paper IPSJ Journal")," is now on online. Kudos to IPSJ for the Valentine's present:)"),"\n",r.createElement(t.li,null,"2023.01 I reviewed one CHI LBW paper."),"\n",r.createElement(t.li,null,"2023.01 I am selected for Study Abroad Scholarships from the University of Tokyo(100,000 JPY/month, for 3 months)"),"\n",r.createElement(t.li,null,"2023.01 My co-author paper is submitted to ",r.createElement(t.a,{href:"https://www.anlp.jp/proceedings/annual_meeting/2023/"},"NLP2023"),"!"),"\n",r.createElement(t.li,null,"2023.01 I arrived at UCLA!"),"\n",r.createElement(t.li,null,"2022.12 I demonstrated our Traverco AR at ",r.createElement(t.a,{href:"https://www.wiss.org/WISS2022/"},"WISS2022"),"."),"\n",r.createElement(t.li,null,"2022.12 I re-submitted CHI Paper."),"\n",r.createElement(t.li,null,"2022.11 I gave a short presentation at ",r.createElement(t.a,{href:"https://sigchi.jp/seminar/uist2022/"},"UIST study meeting 2022"),r.createElement("small",null," [",r.createElement(t.a,{href:"https://youtu.be/TPrJvXp5lnA?t=3358"},"video archive"),"]"),"! Had lot of fun with HCI colleagues there."),"\n",r.createElement(t.li,null,"2022.11 I demonstrated our works at ",r.createElement(t.a,{href:"https://rkmtlab.github.io/openhouse2022/"},"Rekimoto Lab Openhouse"),"."),"\n",r.createElement(t.li,null,"2022.11 One paper got accepted to ",r.createElement(t.a,{href:"https://www.wiss.org/WISS2022/"},"WISS2022"),"."),"\n",r.createElement(t.li,null,"2022.11 I demonstrated two art works at ",r.createElement(t.a,{href:"https://archive.iiiexhibition.com/log/i3e24/"},"東京大学制作展 True 2022"),"."),"\n",r.createElement(t.li,null,"2022.11 One paper got accepted to ",r.createElement(t.a,{href:"https://www.ipsj.or.jp/journal/cfp/23-E.html"},"IPSJ Journal"),"."),"\n",r.createElement(t.li,null,"2022.11 One paper got Revise & Resubmit decision from ",r.createElement(t.a,{href:"https://chi2023.acm.org"},"CHI2023"),". I'll do my best!"),"\n",r.createElement(t.li,null,"2022.10 I'm visiting ",r.createElement(t.a,{href:"https://hci.ucla.edu"},"UCLA HCI Research")," from next Jan to Apr! Really excited to collaborate with Prof. Anthony and his talented students there!"),"\n",r.createElement(t.li,null,"2022.09 I submitted one paper to ",r.createElement(t.a,{href:"https://chi2023.acm.org"},"CHI2023"),", and one revised paper to ",r.createElement(t.a,{href:"https://www.ipsj.or.jp/journal/cfp/23-E.html"},"IPSJ Journal"),"."),"\n",r.createElement(t.li,null,"2022.08 One paper notified as conditionally accepted to ",r.createElement(t.a,{href:"https://www.ipsj.or.jp/journal/cfp/23-E.html"},"IPSJ Journal"),"."),"\n",r.createElement(t.li,null,"2022.07 I am selected for Charitable Trust Hisao Iwai Memorial Tokyo Scholarship Education Fund(120,000 JPY/month, for 2 years), it was an honor to give a speech as a representative of the selected students."),"\n",r.createElement(t.li,null,"2022.07 I got exemptions: enrollment fee and tuition(2022 Spring)."),"\n",r.createElement(t.li,null,"2022.07 I demonstrated two art works at ",r.createElement(t.a,{href:"https://iiiexhibition.com/log/iiiEx2022/"},"東京大学制作展 EXTRA 2022"),"."),"\n",r.createElement(t.li,null,"2022.06 I am selected for Japan Student Service Organization Scholarship(88,000 JPY/month, for 2 years)."),"\n",r.createElement(t.li,null,"2022.06 I visited Cornell for a presentation at L@S2021. Great to meet Mose and the attendees there."),"\n",r.createElement(t.li,null,"2022.05 I submitted one paper to IPSJ Journal."),"\n",r.createElement(t.li,null,"2022.03 One paper got accepted to Learning at Scale 2022 Work-in-Progress which I will be attending in-person!"),"\n",r.createElement(t.li,null,"2022.02 My senior thesis got accepted."),"\n",r.createElement(t.li,null,"2021.12 One paper got accepted to WISS 2021 Workshop."),"\n",r.createElement(t.li,null,"2021.10 I'll be serving as a student volunteer at SIGGRAPH Asia 2021."),"\n",r.createElement(t.li,null,"2021.03 One Paper got accepted to ACM CHI IICW 2021 Workshop."),"\n"))),"\n",r.createElement(t.hr),"\n",r.createElement(t.h2,null,"My Activities"),"\n",r.createElement(t.p,null,"Below are English-translated excerpts from my ",r.createElement(t.a,{href:"https://drive.google.com/file/d/1N6G3iBiAMTbzCHQg2jKHWKBHp70PWHFQ/view?usp=sharing"},"CV (En/Ja together)"),"."),"\n",r.createElement(t.h3,null,"Publications"),"\n",r.createElement(t.h4,null,"Journal"),"\n",r.createElement(t.ol,null,"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida*"),", Kaori Ikematsu*, Junichi Sato, Shota Yamanaka, Kota Tsubouchi (*co-1st authors).\n",r.createElement("strong",null,"Single-tap Latency Reduction with Single- or Double- tap Prediction,"),"\nProceedings of the ACM on Human-Computer Interaction (PACMHCI, presented at MobileHCI ’23), No.7, Article 224, September. 2023. 26 pages. DOI:",r.createElement(t.a,{href:"https://doi.org/10.1145/3604271"},"10.1145/3604271")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida"),", Kaisei Yokoyama, Buntarou Shizuki.\n",r.createElement("strong",null,"Implementation of Language Learning Assistance System by Video Playback Speed Adjustment Based on Facial Expressions and Evaluation of Its Effect on Learners’ Comprehension,"),"\nJournal of Information Processing Society of Japan, vol.64, No.2, February. 2023. 11 pages. in Japanese. DOI: ",r.createElement(t.a,{href:"http://doi.org/10.20729/00224250"},"10.20729/00224250"),". ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1hXnVU-i2_RrmwWSJcA_93rZ8v_aS734s/view?usp=sharing"},"Paper"),"]")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,"Takuma Hidaka, Yusuke Sei, ",r.createElement("u",null,"Naoto Nishida"),", Shota Yamanaka, Buntarou Shizuki.\n",r.createElement("strong",null,"Advanced Investigation of Steering Performance with Error-Accepting Delays,"),"\nInternational Journal of Human-Computer Interaction (IJHCI), April. 2023. 14 pages. DOI: ",r.createElement(t.a,{href:"https://www.tandfonline.com/doi/full/10.1080/10447318.2023.2192586"},"10.1080/10447318.2023.2192586")),"\n"),"\n"),"\n",r.createElement(t.h4,null,"Long Paper"),"\n",r.createElement(t.ol,null,"\n",r.createElement(t.li,null,r.createElement("u",null,"Naoto Nishida"),", Yoshio Ishiguro, Jun Rekimoto, Naomi Yamashita.\n",r.createElement("strong",null,"Dynamik: Syntactically-Driven Dynamic Font Sizing for Emphasis of Key Information,"),"\nProceedings of the 30th International Conference on Intelligent User Interfaces (IUI ’25), ACM (tba)"),"\n"),"\n",r.createElement(t.h4,null,"Short Paper"),"\n",r.createElement(t.ol,null,"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida"),", Hinako Nozaki, Buntarou Shizuki.\n",r.createElement("strong",null,"Laugh at Your Own Pace: Basic Performance Evaluation of Language Learning Assistance by Adjustment of Video Playback Speeds Based on Laughter Detection,"),"\nIn Proceedings of the Ninth ACM Conference on Learning @ Scale (L@S ’22), June. 2022. 6 pages. DOI: ",r.createElement(t.a,{href:"https://doi.org/10.1145/3491140.3528299"},"10.1145/3491140.3528299"),". ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.iplab.cs.tsukuba.ac.jp/paper/international/nishida_las2022.pdf"},"Paper"),"]")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,"Koki Tamura, Nobushige Doi, ",r.createElement("u",null,"Naoto Nishida"),", Junjie Chen, Hitomi Yanaka.\n",r.createElement("strong",null,"Japanese Fluency Filtering Using Surprisal,"),"\n29th of the Association for Natural Language Processing (NLP2023), March. 2023. 6 pages. in Japanese. ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1xYvQVpj7HwvHLk7hR9dvTfPNsWCzUJ8z/view?usp=sharing"},"Paper"),"][",r.createElement(t.a,{href:"https://www.anlp.jp/proceedings/annual_meeting/2023/"},"HP"),"]")),"\n"),"\n"),"\n",r.createElement(t.h4,null,"Workshops/Poster"),"\n",r.createElement(t.ol,null,"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida"),", Hirotaka Hiraki, Jun Rekimoto, Yoshio Ishiguro.\n",r.createElement("strong",null,"Real-Time Word-Level Temporal Segmentation in Streaming Speech Recognition."),"\n37th Annual ACM Symposium on User Interface Software and Technology (UIST ’24), October 2024. 3 pages. DOI:",r.createElement(t.a,{href:"https://doi.org/10.1145/3672539.3686738"},"10.1145/3672539.3686738"),". ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1M5EucuX5vodQgKOk2A1gGYQDPAnxrLX_/view?usp=sharing"},"Poster"),"]")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida"),", Jun Rekimoto.\n",r.createElement("strong",null,"SUMART: SUMmARizing Translation from Wordy to Concise Expression."),"\n31st the IEEE Conference on Virtual Reality and 3D User Interfaces (1st Workshop on Seamless Reality: AR Technologies for Seamless Perception and Cognition between Cyber and Physical Spaces), March 2024. 3 pages. DOI: ",r.createElement(t.a,{href:"https://doi.org/10.1109/VRW62533.2024.00119"},"10.1109/VRW62533.2024.00119"),". ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1MM81an2ks6_z8rHhjEs3aaXJtxAegD_6/view?usp=sharing"},"Paper"),"]")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida*"),", Hirofumi Shibata*, Ayako Yogo*, Yu Shimada*, Toma Ishii*(*co-1st authors).\n",r.createElement("strong",null,"Ichiyo: Fragile and Transient Interaction in Neighborhood."),"\nEighteenth International Conference on Tangible, Embedded, and Embodied Interaction (TEI ’24 Student Design Competition), February 2024. 3 pages. DOI: ",r.createElement(t.a,{href:"https://doi.org/10.1145/3623509.3635866"},"10.1145/3623509.3635866"),". ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1XJeN_yUejc5OVCOIMvGv5F9IdAIMGQ0i/view?usp=sharing"},"Paper"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1Rn16XSD0yEsv5f0ME2-vTtUw1qTBfTWK/view?usp=sharing"},"Supplemental Video"),r.createElement(t.a,{href:"https://drive.google.com/file/d/1XFnZUYT9VDWZyIfjNWg4R1Q_R8-BnjpK/view?usp=sharing"},"Slide"),"] ")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida"),", Sakiho Horibe, Jun Rekimoto.\n",r.createElement("strong",null,"Traverco AR: Transcription-assisted Verbal Communication via AR glasses."),"\n30th Workshop on Interactive Systems and Software (WISS 2022 Demo/Poster).\nDecember 2022. 3 pages. in Japanese.",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.wiss.org/WISS2022Proceedings/data/1-A02.pdf"},"Paper"),"][",r.createElement(t.a,{href:"https://www.wiss.org/WISS2022Proceedings/"},"Workshop Page"),"]")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,r.createElement("u",null,"Naoto Nishida"),", Hinako Nozaki, Buntarou Shizuki.\n",r.createElement("strong",null,"Language Learning Assistance by Automatic Adjustment of Playback Speed Based on Facial Expression."),"\n29th Workshop on Interactive Systems and Software (WISS 2021 Demo/Poster).\nDecember 2021. 3 pages. in Japanese. ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.wiss.org/WISS2021Proceedings/data/1-A09.pdf"},"Paper"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1kCp8FUoCV5tiuWHWerNOnFTmM6yz3i6i/view?usp=sharing"},"Poster1"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1sLXqn93z4wl_Ym30pDtErbGgvjnEJTmN/view?usp=sharing"},"Poster2"),"][",r.createElement(t.a,{href:"https://www.wiss.org/WISS2021Proceedings/"},"Workshop Page"),"]")),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement(t.p,null,"Yuga Tsukuda, ",r.createElement("u",null,"Naoto Nishida"),", Jun Lu, and Yoichi Ochiai.\n",r.createElement(t.strong,null,"Insect-Computer Hybrid Speaker: Speaker using Chirp of the Cicada Controlled by Electrical Muscle Stimulation."),"\nACM CHI 2021 Workshop on Design and Creation of Inclusive User Interactions Through Immersive\nMedia (ACM CHI IICW ’21). May 2021. 5 pages. ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1Gv5o8t94oQg8jvn8UkxMBDoYoXVzPQkq/view"},"Preprint"),"][",r.createElement(t.a,{href:"https://sites.google.com/view/acm-chi-iicw21/home"},"Workshop Page"),"][",r.createElement(t.a,{href:"https://www.youtube.com/watch?v=wdhv4QByH6c"},"Demo Video"),"]")),"\n"),"\n"),"\n",r.createElement(t.h3,null,"Academic Services"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"RA","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.04-Present ",r.createElement(t.a,{href:"https://spring-gx.adm.s.u-tokyo.ac.jp/en/boost/"},"BOOST NAIS")),"\n",r.createElement(t.li,null,"2023.10-2024.03 ",r.createElement(t.a,{href:"https://www.iiw.i.u-tokyo.ac.jp/en/"},"International Graduate Program of Innovation for Intelligent World Program")),"\n"),"\n"),"\n",r.createElement(t.li,null,"Student Volunteer","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.12 SIGGRAPH Asia 2024 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1bH6Dv31OEI1QUOH4jbDCPDQY0ZCOyxcC/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2024.03 IEEE VR 2024"),"\n",r.createElement(t.li,null,"2024.02 TEI 2024"),"\n",r.createElement(t.li,null,"2023.04 CHI 2023"),"\n",r.createElement(t.li,null,"2021.12 SIGGRAPH Asia 2021 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/107YQz5yFzuxs_93eLvYzCeg3JBX1ekLW/view?usp=sharing"},"Acceptance Mail"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1zZF7-mheNJW0H5B6Yz8a1l8N7bE7f0iV/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2018.12 SIGGRAPH Asia 2018 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1eqnw1YRtWk7D4Fm7W1RC2fs7qrDXsMS5/view?usp=sharing"},"Acceptance Mail"),"]")),"\n"),"\n"),"\n",r.createElement(t.li,null,"Part Time Jobs","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2023.12 31st Workshop on Interactive Systems and Software(WISS2023)"),"\n",r.createElement(t.li,null,"2021.12 29th Workshop on Interactive Systems and Software(WISS2021)"),"\n"),"\n"),"\n",r.createElement(t.li,null,"Internships","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.04-06 GENIAC Program at Matsuo Lab"),"\n",r.createElement(t.li,null,"2022.03 OIST Science Challenge 2022 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1yk5evdEUg2J872brfN5ucY3_iirmvh6r/view?usp=sharing"},"Certificate"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1sdwNyr9eWYqfTge0oN01w2uCJ28088pW/view?usp=sharing"},"Presentation Slide"),"]")),"\n"),"\n"),"\n"),"\n",r.createElement(t.h3,null,"Industory Services"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"RA","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.04-11 ",r.createElement(t.a,{href:"https://tier4.jp/"},"TIER IV")," Student Researcher"),"\n"),"\n"),"\n",r.createElement(t.li,null,"Internships","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2023.05-11 ",r.createElement(t.a,{href:"https://www.cyberagent.co.jp/en/"},"CyberAgent, Inc.")," - ",r.createElement(t.a,{href:"https://www.cyberagent.co.jp/careers/special/students/tech_lounge/"},"CA Tech Lounge")," for ML Engineer / Data Scientist ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1aG17IjUN2_xhnTuxavVua8sig04GXH9w/view?usp=sharing"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2022.04-2023.09 ",r.createElement(t.a,{href:"https://en.wikipedia.org/wiki/Yahoo_Japan"},"Yahoo! JAPAN")," R&D - Researcher"),"\n",r.createElement(t.li,null,"2020.08 ",r.createElement(t.a,{href:"https://global.rakuten.com/corp/"},"Rakuten")," ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://github.com/nawta/TeamA"},"Project Repository"),"]")," - Engineer"),"\n",r.createElement(t.li,null,"2020.08 ",r.createElement(t.a,{href:"https://www.teamlab.art/"},"Teamlab")," - Engineer",r.createElement(t.br),"\n",r.createElement("small",null,"etc...")),"\n"),"\n"),"\n",r.createElement(t.li,null,"Part Time Jobs","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.11-12 ",r.createElement(t.a,{href:"https://volocitee.com/"},"VOLOCITEE Inc.")," - Engineer"),"\n",r.createElement(t.li,null,"2023.01-06 ",r.createElement(t.a,{href:"https://matsuo-institute.com/"},"Matsuo Institute")," - R&D Engineer"),"\n",r.createElement(t.li,null,"2021.01-09 ",r.createElement(t.a,{href:"https://smt-sol.jp/"},"Smart Solutions")," - Engineer"),"\n"),"\n"),"\n",r.createElement(t.li,null,"Hackathon","\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2019.07-08 Hack U 2019 TOKYO ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://hacku.yahoo.co.jp/hacku2019tokyo/"},"Detail"),"]")),"\n",r.createElement(t.li,null,"2019.07 IBM Hackathon ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://github.com/nawta/otomo"},"Project Page"),"]")," ",r.createElement("small",null,"etc...")),"\n"),"\n"),"\n"),"\n",r.createElement(t.h3,null,"Award"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.12 Leave a Nest Grant Incu-be Incentive Award"),"\n",r.createElement(t.li,null,"2024.03 Telecommunication Interdisciplinary Research Award ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1jArYlNjqPhORauvgeJpT6CJ-gPPQTMo-/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2024.02 Excellent Project - World Model and Intelligence 2023 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1ZxZ6zm2DwHUqnFqtQskJjIxW03lqxJpg/view?usp=sharing"},"Paper"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/131KIxNktSpwvC5Ta4RMRBIVFFKvPB380/view?usp=sharing"},"Poster"),"]")),"\n",r.createElement(t.li,null,"2024.02 TEI 2024 Student Design Competition - Best Prototype Award ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1b5kn71FFk0SbktvuEMEXdPh6o_OcUeVP/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2023.10 GOOD DESIGN NEW HOPE AWARD 2023 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://newhope.g-mark.org/award/2023/23NHA040011.html"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1V8C1y-mHujYVzm0flEFRshk5hD2Il9JK/view?usp=sharing"},"HP backup"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1nyr1hWeFxnmlV4HI50Psow37eVAcQh58/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2022.03 Dean's Award from University of Tsukuba ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1VVcvHf4D0OGzFqIJX4q6-E5yZn-uRA1m/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2022.03 Excellent Foreign Language Activity - 1st Prize ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1lFcv0DKXW69NMg9KNMNEghpnis63Wyvn/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2020.08 National Russian Language Essay Competition ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1wgKDe_AYS1awr0ZMvtacNmvN3fow749w/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2019.09 FUJIFILM Hackathon - 1st Prize"),"\n"),"\n",r.createElement(t.h3,null,"Grants"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.10 SPRING GX International Conference Dispatch Program (for UIST 2024) 300,000 JPY"),"\n",r.createElement(t.li,null,"2024.03-2027.03 Iue Memorial Foundation Scholarship 50,000 JPY/month"),"\n",r.createElement(t.li,null,"2024.02 Telecommunication Interdisciplinary Research Award 300,000 JPY"),"\n",r.createElement(t.li,null,"2024.04-2027.03 The Univerisity of Tokyo PhD Fellowship 280,000 JPY/month"),"\n",r.createElement(t.li,null,"2023.10-2024.03 The Univerisity of Tokyo PhD Fellowship 180,000 JPY/month"),"\n",r.createElement(t.li,null,"2023.09 Google East Asia Student Travel Grants (for MobileHCI 2023) 1,000 USD"),"\n",r.createElement(t.li,null,"2023.04 Gary Marsden Travel Award (for CHI 2023) 2,500 USD"),"\n",r.createElement(t.li,null,"2023.01-2023.04 Study Abroad Scholarships from the University of Tokyo 100,000 JPY/month"),"\n",r.createElement(t.li,null,"2022.04-2024.03 Charitable Trust Hisao Iwai Memorial Tokyo Scholarship Education Fund 120,000 JPY/month"),"\n",r.createElement(t.li,null,"2022.04-2024.03 Japan Student Service Organization (JASSO) 88,000 JPY/month"),"\n",r.createElement(t.li,null,"2019.03 University of Tsukuba Overseas Study Support Program 100,000 JPY"),"\n",r.createElement(t.li,null,"2018.08 University of Tsukuba Overseas Study Support Program 100,000 JPY"),"\n",r.createElement(t.li,null,"2018.05 Advancing Researcher Experience Program (ARE) 50,000JPY ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.are.tsukuba.ac.jp/wp-content/uploads/sites/25/2019/01/ARE_NEWS_No.8.pdf"},"Brochure"),"]")),"\n"),"\n",r.createElement(t.h3,null,"Fee Exemptions"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2023.01 Tuition Fee (Full, 267900 JPY)"),"\n",r.createElement(t.li,null,"2022.07 Tuition Fee (Full, 267900 JPY)"),"\n",r.createElement(t.li,null,"2022.04 Admission Fee (Half, 141000 JPY)"),"\n"),"\n",r.createElement(t.h3,null,"Misc Activities"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.12 UIST study meeting 2024 - presenter"),"\n",r.createElement(t.li,null,"2024.11 2024 Asia Culture Center Global Experts Workshop IV - Presenter ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1UgWOzPpVLpY1YUpzdtAUyfAX6X9iL3W-/view?usp=sharing"},"Submitted Portfolio"),"][",r.createElement(t.a,{href:"https://www.acc.go.kr/en/education.do?PID=0402&action=Read&bnkey=EM_0000007705"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1DgQ4XVtQ7NB73fG9kQC3EEk3SmpFDb8N/view?usp=sharing"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2024.11 Asia Culture Center CREATORS Residency 2024 Open Studio “AI·Human·Multiverse” - Exhibitor ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.acc.go.kr/en/event.do?PID=0302&action=Read&bnkey=EM_0000007969"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1DgQ4XVtQ7NB73fG9kQC3EEk3SmpFDb8N/view?usp=sharing"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2023.12 UIST study meeting 2023 - presenter ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://sigchi.jp/seminar/uist2023/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1lGucYzuBAjO6bGUwnfJzCDBzgxkBajuc/view?usp=sharing"},"HP backup"),"]"),r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1tu-_TmOGqQjKFhOKYQheVb9jiV0kNWGf/view?usp=sharing"},"Slide"),"]")),"\n",r.createElement(t.li,null,"2023.07 ",r.createElement(t.a,{href:"http://cvim.ipsj.or.jp/MIRU2023/company-event/#huawei-event"},"HUAWEI TOKYO RESEARCH CENTER Discussion Night in MIRU2023")," - presenter ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/11uin8kvfj0gNNoQnWPcssoV-5wG_9MbF/view?usp=sharing"},"Poster"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1U79-CAQFCOnalD6LXfRBDA9iNOOQtjqF/view?usp=drive_link"},"HP backup"),"][",r.createElement(t.a,{href:"https://frontechno.jp/huaweijapan-miru2023/"},"Huawei HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/128x6CDjwFc3L-t3AO5z-7cY0malhKFkc/view?usp=drive_link"},"Huawei HP backup"),"]")),"\n",r.createElement(t.li,null,"2023.06 CHI study meeting 2023 - presenter ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://sigchi.jp/seminar/chi2023/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1Mj3lHw4WfrutQdUwPzksh9Aa6GzNgZiM/view?usp=drive_link"},"HP backup"),"]"),r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.youtube.com/live/uSbZQEwEJ7c?feature=share&t=11854"},"YouTube Archive"),"]"),r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1alvf-ryJyHf6bD0veveRFUUNdi92lIeM/view?usp=sharing"},"Slide"),"]")),"\n",r.createElement(t.li,null,"2022.11 UIST study meeting 2022 - presenter ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://sigchi.jp/seminar/uist2022/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1AaxWP8VfXKZ3g-TZ2EBRHhDpQ2fj2Tqy/view?usp=drive_link"},"HP backup"),"]"),r.createElement("small",null,"[",r.createElement(t.a,{href:"https://youtu.be/TPrJvXp5lnA?t=3358"},"YouTube Archive"),"]"),r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1fiw-YpV0k_ka-qf_UazsBafxPlZZEpo-/view?usp=sharing"},"Slide"),"]")),"\n",r.createElement(t.li,null,"2022.04-2023.03 iiiExhibition - Web Team leader ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.iiiexhibition.com/"},"Web"),"][",r.createElement(t.a,{href:"https://archive.iiiexhibition.com/log/iiiEx2022/"},"HP 2022 Extra"),"][",r.createElement(t.a,{href:"https://archive.iiiexhibition.com/log/i3e24/"},"HP 2022 True"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1iwtzDFAYcxFnI7STy4Vn-lyYyaOnkqCW/view?usp=sharing"},"HP 2022 Extra backup"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1fIAeyMqKXQ5JQn6ezeT2u7gNavabs9Cp/view?usp=sharing"},"HP 2022 True backup"),"]")),"\n",r.createElement(t.li,null,"2022.02 Tsukuba Global Plus - Completion ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://tgplus.hass.tsukuba.ac.jp/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1mpG5Yr8wgYG_7IE3WBhXTcIqfuRCYsom/view?usp=sharing"},"HP backup"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/18BJmOkXnvL78ThvKYwtCDUsS5opcxcyK/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2020.01 The 5th Trilingual Day Forum in Tsukuba - Participated as a poster presenter ",r.createElement("small",null,"[",r.createElement(t.a,{href:"http://hdl.handle.net/2241/0002000207"},"Report"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1MahOM7AfZDPPR-a9_duwx3jRNAgI_wow/view?usp=drive_link"},"Report backup"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1zkwtWZRgpJAb1GMESonMEOVrUoXMxoL8/view?usp=sharing"},"Poster"),"]")),"\n",r.createElement(t.li,null,"2019.09 Japan-Russia Youth Forum in Saint Petersburg ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.jrex.or.jp/forum/russia-2019/"},"Detail"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1_Fr9jMEzscERqbuuhsNxk4jdJK9Ze8aU/view?usp=sharing"},"Presentation Slide"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1JnSZDkeW_ltBNTl5F6MDx1XjDOe5cV_M/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2019.06-2020.01 Special Project on Information Media",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://github.com/nawta/compare_fullbody_detector"},"Project Repository"),"]")),"\n",r.createElement(t.li,null,"2019.02-2019.03 Study at Al-Farabi Kazakhstan National University ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://tsukuba.repo.nii.ac.jp/records/54482#.YfEnw1jP0c8"},"Training Report"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1MLpWCguj9KcvKg7gMHqgnrn80w48FJL8/view?usp=sharing"},"Presentation Slide"),"]")),"\n",r.createElement(t.li,null,"2018.09 Study at Saint Petersburg University ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://tsukuba.repo.nii.ac.jp/records/49783#.YfEmdVjP0c8"},"Training Report"),"]")),"\n",r.createElement(t.li,null,"2018.05-2019.03 Advancing Researcher Experience Program ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/18a_aycEyQxSL5kK3kqKt6KfdxCYB5GU3/view?usp=sharing"},"Poster"),"]")),"\n",r.createElement(t.li,null,"2015.07 Student Ambassador Program in Charleroi(Belgium) and in Chantilly(France) ",r.createElement("small",null,r.createElement(t.a,{href:"https://www.himeji-iec.or.jp/dispatch/2157"}))),"\n"),"\n",r.createElement(t.h3,null,"Qualification"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2024.10 AI-Entrepreneurship Learning Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1sxnMYoDv1hbkxdeOdeh6J8YvqBtorgtl/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2024.05 Deep Reinforcement Learning Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1vddBPJ59ZF1hf0dZV1YZUhIfGhOVGaiI/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2024.03 World Models and Intelligence Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1hFR-HV3ZG7vEy4CN75ibVQW0Qy6meu8n/view?usp=sharing"},"Certificate"),"][",r.createElement(t.a,{href:"https://deeplearning.jp/lectures/world-model-2023/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1Ph8DOm2HtuNGNIjdfrNnTH2CmMJbLZ1t/view?usp=sharing"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2023.10 Large Language Models Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1RcvbpAA6xK4XIOOChzqaKzyigLQZmPbM/view?usp=sharing"},"Certificate"),"][",r.createElement(t.a,{href:"https://deeplearning.jp/llm2023/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1M8Hwewy2DxPQmwpC5sBau3p_ccdh-kCj/view?usp=drive_link"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2023.10 Financial Market Trading and Machine Learning Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1hwPKhcxoUVfwqtiDNwp9lh8Twi2ZnRQ-/view?usp=sharing"},"Certificate"),"][",r.createElement(t.a,{href:"https://deeplearning.jp/finance-2023sm/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1HIDWh30qvICigLRdoDryViwDo5YVzNcf/view?usp=drive_link"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2023.01 Google Cloud | Cloud Digital Leader ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.credential.net/4aafad6e-d25f-4b38-82ef-aa7bc5b1e35d?key=66b28286f80c003a70a988c08512add2c90677af9e7cc830a9644fa6590eb1c3"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2022.10 Deep Generative Models Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1ApN6U1WlnAfFagB6GS9cNJWvlulRyJS6/view?usp=sharing"},"Certificate"),"][",r.createElement(t.a,{href:"https://deeplearning.jp/deep-generative-model-2022sm/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1f2wUErZ8a1gEBOMNRSwyZ7OrL0WN-D4O/view?usp=drive_link"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2022.08 Fundamentals of Deep Learning Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1VbkhPRNjicFwAW7JZuoIXfQu_tH4l4dU/view?usp=share_link"},"Certificate"),"][",r.createElement(t.a,{href:"https://deeplearning.jp/lectures/dlb2022/"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1cOTxcE2S9tfQSHabqs1pWCF00INBVRDu/view?usp=drive_link"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2022.08 GCI Data Scientist Training Course - Completed ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1FM1qPjKi1zf0txbgNocN_8Nh9mTP8EdY/view?usp=sharing"},"Certificate"),"][",r.createElement(t.a,{href:"https://gci2.t.u-tokyo.ac.jp/archives/course/gci-2024-winter-6"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1CeDvWW9b34MSmQzYKNqCbOywuu6Z4MyU/view?usp=drive_link"},"HP backup"),"]")),"\n",r.createElement(t.li,null,"2022.03 Japan Statistical Society Certificate Data Science, Advanced ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/10nDfO4f51kpz5UlMkhIiBXE448PjPfPB/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2020.12 Applied Information Technology Engineer Examination ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1-GCWANGni2J1T_sd9twfeQ869s9xt8ts/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2020.12 CG Engineer Certificate, Expert"),"\n",r.createElement(t.li,null,"2020.08 EIKEN Grade 1 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/1hD9Shd1p2eMKn5mdwah1lT3qxEbMpE-8/view?usp=sharing"},"Certificate"),"]")),"\n",r.createElement(t.li,null,"2020.04 Driver's Licence"),"\n",r.createElement(t.li,null,"2019.11 Russian Language Proficiency Test Level 3 ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://drive.google.com/file/d/12Xhs6H06H4WRSAzLnANF8PbwljbihaCC/view?usp=sharing"},"Certificate"),"]")),"\n"),"\n",r.createElement(t.h3,null,"Review"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"2023.11 Deep Learning 5 - Generative Models (Book in Japanese) ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://www.amazon.co.jp/dp/4814400594?tag=note0e2a-22&linkCode=ogi&th=1&psc=1"},"Amazon Page"),"]")),"\n",r.createElement(t.li,null,"2023.10 AAAI-24 Student Program"),"\n",r.createElement(t.li,null,"2023.09 CHI 2024 Full Paper"),"\n",r.createElement(t.li,null,"2023.01 CHI 2023 LateBreakingWork"),"\n",r.createElement(t.li,null,"2022.04-2025.03(Expected) ‘Information Processing’ (Journal of Information Processing Society of Japan, in Japanese)"),"\n",r.createElement(t.li,null,"2021.12 Deep Learning 4 - Reignforcement Learning (Book in Japanese) ",r.createElement("small",null,"[",r.createElement(t.a,{href:"https://onl.la/jLTZCyb"},"Amazon Page"),"]")),"\n"),"\n",r.createElement(t.h3,null,"Media/Press"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"\n",r.createElement("small",null,"2023.11 Good Design 2023 New Hope Award Honorable Mention, The University of Tokyo III/GSII [",r.createElement(t.a,{href:"https://www.iii.u-tokyo.ac.jp/news/2023110619679"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1i8plcpKQ7XAuKOgOwVn2D_6xgShOhrwa/view?usp=sharing"},"HP Backup"),"]"),"\n"),"\n",r.createElement(t.li,null,"\n",r.createElement("small",null,"2023.9 Single-tap Latency Reduction with Single- or Double- tap Prediction, Yahoo! JAPAN R&D\n[",r.createElement(t.a,{href:"https://randd.yahoo.co.jp/jp/papers/1144"},"HP"),"][",r.createElement(t.a,{href:"https://drive.google.com/file/d/1LlNGKzAaWLiXpJFLzvaijrv0ZZgLghvI/view?usp=sharing"},"HP Backup"),"]"),"\n"),"\n"),"\n",r.createElement(t.h3,null,"Membership"),"\n",r.createElement(t.ul,null,"\n",r.createElement(t.li,null,"ACM Student Member"),"\n",r.createElement(t.li,null,"IEEE Student Member"),"\n",r.createElement(t.li,null,"Information Processing Society of Japan Student Member"),"\n",r.createElement(t.li,null,"The Japanese Alpine Club"),"\n"))}var v=function(e){void 0===e&&(e={});const{wrapper:t}=Object.assign({},(0,f.RP)(),e.components);return t?r.createElement(t,e,r.createElement(E,e)):E(e)};var y=()=>{const{showThemeAuthor:e}=(0,c.A)(),[t]=(0,l.G6)(),n="dark"===t;return(0,o.Y)(s.az,{as:"footer",variant:"layout.footer",sx:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, "+(n?"0.35":"0.15")+") 100%)"}},(0,o.Y)(s.mc,null,(0,o.Y)("div",{sx:{display:"grid",gridGap:4,gridTemplateColumns:["1fr","1fr","1fr","2fr 1fr"]}},(0,o.Y)("div",{sx:{p:{mb:0},h2:{mt:0,mb:1}}},(0,o.Y)(v,null)),(0,o.Y)(s.so,{sx:{textAlign:["center","center","center","right"],flexDirection:"column",justifyContent:"space-between"}},(0,o.Y)(g,null),(0,o.Y)("div",{sx:{mt:[4,4,4,0]}},(0,o.Y)("div",{sx:{a:{ml:[1,1,1,2],mr:[1,1,1,0]}}},(0,o.Y)(u.A,null)),(0,o.Y)("div",{sx:{color:"textMuted"}},"Copyright © ",(new Date).getFullYear(),". All rights reserved."))))))};var w=e=>{let{children:t}=e;return r.createElement(r.Fragment,null,r.createElement(i.mL,{styles:e=>({"*":{boxSizing:"inherit"},"[hidden]":{display:"none"},"::selection":{background:(0,a.Jt)(e,"colors.text"),color:(0,a.Jt)(e,"colors.background")}})}),t,r.createElement(y,null))}},2455:function(e,t,n){n.d(t,{A:function(){return l}});var r=n(6540),a=n(4810);var i=()=>(0,a.useStaticQuery)("2421966660").site.siteMetadata;var l=e=>{let{title:t="",description:n="",pathname:l="",image:o="",children:s=null}=e;const c=i(),{siteTitle:u,siteTitleAlt:m,siteUrl:h,siteDescription:d,siteImage:p,author:g,siteLanguage:f}=c,E={title:t?t+" | "+u:m,description:n||d,url:""+h+(l||""),image:""+h+(o||p)};return r.createElement(r.Fragment,null,r.createElement("html",{lang:f}),r.createElement("title",null,E.title),r.createElement("meta",{name:"description",content:E.description}),r.createElement("meta",{name:"image",content:E.image}),r.createElement("meta",{property:"og:title",content:E.title}),r.createElement("meta",{property:"og:url",content:E.url}),r.createElement("meta",{property:"og:description",content:E.description}),r.createElement("meta",{property:"og:image",content:E.image}),r.createElement("meta",{property:"og:type",content:"website"}),r.createElement("meta",{property:"og:image:alt",content:E.description}),r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("meta",{name:"twitter:title",content:E.title}),r.createElement("meta",{name:"twitter:url",content:E.url}),r.createElement("meta",{name:"twitter:description",content:E.description}),r.createElement("meta",{name:"twitter:image",content:E.image}),r.createElement("meta",{name:"twitter:image:alt",content:E.description}),r.createElement("meta",{name:"twitter:creator",content:g}),r.createElement("meta",{name:"gatsby-theme",content:"@lekoarts/gatsby-theme-emilia"}),r.createElement("link",{rel:"icon",type:"image/png",sizes:"32x32",href:(0,a.withPrefix)("/inu-favicon-32x32.png")}),r.createElement("link",{rel:"icon",type:"image/png",sizes:"16x16",href:(0,a.withPrefix)("/inu-favicon-16x16.png")}),r.createElement("link",{rel:"apple-touch-icon",sizes:"180x180",href:(0,a.withPrefix)("/penguin-apple-touch-icon.png")}),s)}},2338:function(e,t,n){var r=n(6540),a=n(557),i=n(8993),l=n(9383);t.A=()=>{const{socialMedia:e}=(0,l.A)();return(0,a.Y)(r.Fragment,null,e.map((e=>(0,a.Y)(i.IE.a,{key:e.title,href:e.href},e.title))))}},2155:function(e,t,n){var r=n(8587),a=n(557),i=n(4810);const l=["id"];t.A=e=>{let{id:t}=e,n=(0,r.A)(e,l);return(0,a.Y)("svg",n,(0,a.Y)("use",{href:(0,i.withPrefix)("/icons.svg#"+t)}))}},9383:function(e,t,n){var r=n(4810);t.A=()=>(0,r.useStaticQuery)("1181966677").emiliaConfig},557:function(e,t,n){n.d(t,{Y:function(){return r}});var r=n(3101).Y},2217:function(e,t,n){var r=n(9039);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},7680:function(e,t,n){var r=n(9504);e.exports=r([].slice)},4488:function(e,t,n){var r=n(7680),a=Math.floor,i=function(e,t){var n=e.length;if(n<8)for(var l,o,s=1;s0;)e[o]=e[--o];o!==s++&&(e[o]=l)}else for(var c=a(n/2),u=i(r(e,0,c),t),m=i(r(e,c),t),h=u.length,d=m.length,p=0,g=0;p3)){if(p)return!0;if(f)return f<603;var e,t,n,r,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)E.push({k:t+r,v:n})}for(E.sort((function(e,t){return t.v-e.v})),r=0;rc(n)?1:-1}}(e)),n=o(a),r=0;rg(e,r),i=y();a.write=e=>g(e,i);var l=y();a.onStart=e=>g(e,l);var o=y();a.onFrame=e=>g(e,o);var s=y();a.onFinish=e=>g(e,s);var c=[];a.setTimeout=(e,t)=>{const n=a.now()+t,r=()=>{const e=c.findIndex((e=>e.cancel==r));~e&&c.splice(e,1),d-=~e?1:0},i={time:n,handler:e,cancel:r};return c.splice(u(n),0,i),d+=1,f(),i};var u=e=>~(~c.findIndex((t=>t.time>e))||~c.length);a.cancel=e=>{l.delete(e),o.delete(e),s.delete(e),r.delete(e),i.delete(e)},a.sync=e=>{p=!0,a.batchedUpdates(e),p=!1},a.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,a.onStart(n)}return r.handler=e,r.cancel=()=>{l.delete(n),t=null},r};var m="undefined"!=typeof window?window.requestAnimationFrame:()=>{};a.use=e=>m=e,a.now="undefined"!=typeof performance?()=>performance.now():Date.now,a.batchedUpdates=e=>e(),a.catch=console.error,a.frameLoop="always",a.advance=()=>{"demand"!==a.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):v()};var h=-1,d=0,p=!1;function g(e,t){p?(t.delete(e),e(0)):(t.add(e),f())}function f(){h<0&&(h=0,"demand"!==a.frameLoop&&m(E))}function E(){~h&&(m(E),a.batchedUpdates(v))}function v(){const e=h;h=a.now();const t=u(h);t&&(w(c.splice(0,t),(e=>e.handler())),d-=t),d?(l.flush(),r.flush(e?Math.min(64,h-e):16.667),o.flush(),i.flush(),s.flush()):h=-1}function y(){let e=new Set,t=e;return{add(n){d+=t!=e||e.has(n)?0:1,e.add(n)},delete(n){return d-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,d-=t.size,w(t,(t=>t(n)&&e.add(t))),d+=e.size,t=e)}}}function w(e,t){e.forEach((e=>{try{t(e)}catch(n){a.catch(n)}}))}var b=n(6540),I=Object.defineProperty,k={};function P(){}((e,t)=>{for(var n in t)I(e,n,{get:t[n],enumerable:!0})})(k,{assign:()=>D,colors:()=>N,createStringInterpolator:()=>R,skipAnimation:()=>H,to:()=>j,willAdvance:()=>L});var S={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function C(e,t){if(S.arr(e)){if(!S.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function x(e,t,n){if(S.arr(e))for(let r=0;rS.und(e)?[]:S.arr(e)?e:[e];function M(e,t){if(e.size){const n=Array.from(e);e.clear(),A(n,t)}}var R,j,T=(e,...t)=>M(e,(e=>e(...t))),O=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),N=null,H=!1,L=P,D=e=>{e.to&&(j=e.to),e.now&&(a.now=e.now),void 0!==e.colors&&(N=e.colors),null!=e.skipAnimation&&(H=e.skipAnimation),e.createStringInterpolator&&(R=e.createStringInterpolator),e.requestAnimationFrame&&a.use(e.requestAnimationFrame),e.batchedUpdates&&(a.batchedUpdates=e.batchedUpdates),e.willAdvance&&(L=e.willAdvance),e.frameLoop&&(a.frameLoop=e.frameLoop)},J=new Set,F=[],W=[],Y=0,z={get idle(){return!J.size&&!F.length},start(e){Y>e.priority?(J.add(e),a.onStart(V)):(U(e),a(G))},advance:G,sort(e){if(Y)a.onFrame((()=>z.sort(e)));else{const t=F.indexOf(e);~t&&(F.splice(t,1),q(e))}},clear(){F=[],J.clear()}};function V(){J.forEach(U),J.clear(),a(G)}function U(e){F.includes(e)||q(e)}function q(e){F.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(F,(t=>t.priority>e.priority)),0,e)}function G(e){const t=W;for(let n=0;n0}var Q="[-+]?\\d*\\.?\\d+",B=Q+"%";function K(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var X=new RegExp("rgb"+K(Q,Q,Q)),Z=new RegExp("rgba"+K(Q,Q,Q,Q)),$=new RegExp("hsl"+K(Q,B,B)),ee=new RegExp("hsla"+K(Q,B,B,Q)),te=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ne=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,re=/^#([0-9a-fA-F]{6})$/,ae=/^#([0-9a-fA-F]{8})$/;function ie(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function le(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,a=2*n-r,i=ie(a,r,e+1/3),l=ie(a,r,e),o=ie(a,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*l)<<16|Math.round(255*o)<<8}function oe(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function se(e){return(parseFloat(e)%360+360)%360/360}function ce(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ue(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function me(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=re.exec(e))?parseInt(t[1]+"ff",16)>>>0:N&&void 0!==N[e]?N[e]:(t=X.exec(e))?(oe(t[1])<<24|oe(t[2])<<16|oe(t[3])<<8|255)>>>0:(t=Z.exec(e))?(oe(t[1])<<24|oe(t[2])<<16|oe(t[3])<<8|ce(t[4]))>>>0:(t=te.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ae.exec(e))?parseInt(t[1],16)>>>0:(t=ne.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=$.exec(e))?(255|le(se(t[1]),ue(t[2]),ue(t[3])))>>>0:(t=ee.exec(e))?(le(se(t[1]),ue(t[2]),ue(t[3]))|ce(t[4]))>>>0:null}(e);if(null===t)return e;t=t||0;return`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}var he=(e,t,n)=>{if(S.fun(e))return e;if(S.arr(e))return he({range:e,output:t,extrapolate:n});if(S.str(e.output[0]))return R(e);const r=e,a=r.output,i=r.range||[0,1],l=r.extrapolateLeft||r.extrapolate||"extend",o=r.extrapolateRight||r.extrapolate||"extend",s=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n=e);++n);return n-1}(e,i);return function(e,t,n,r,a,i,l,o,s){let c=s?s(e):e;if(cn){if("identity"===o)return c;"clamp"===o&&(c=n)}if(r===a)return r;if(t===n)return e<=t?r:a;t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t);c=i(c),r===-1/0?c=-c:a===1/0?c+=r:c=c*(a-r)+r;return c}(e,i[t],i[t+1],a[t],a[t+1],s,l,o,r.map)}};var de=1.70158,pe=1.525*de,ge=de+1,fe=2*Math.PI/3,Ee=2*Math.PI/4.5,ve=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},ye={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>ge*e*e*e-de*e*e,easeOutBack:e=>1+ge*Math.pow(e-1,3)+de*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-pe)/2:(Math.pow(2*e-2,2)*((pe+1)*(2*e-2)+pe)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*fe),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*fe)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Ee)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Ee)/2+1,easeInBounce:e=>1-ve(1-e),easeOutBounce:ve,easeInOutBounce:e=>e<.5?(1-ve(1-2*e))/2:(1+ve(2*e-1))/2,steps:(e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,a="end"===t?Math.floor(r):Math.ceil(r);return i=0,l=1,o=a/e,Math.min(Math.max(o,i),l);var i,l,o}},we=Symbol.for("FluidValue.get"),be=Symbol.for("FluidValue.observers"),Ie=e=>Boolean(e&&e[we]),ke=e=>e&&e[we]?e[we]():e,Pe=e=>e[be]||null;function Se(e,t){const n=e[be];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var Ce=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");Ae(this,e)}},Ae=(e,t)=>Re(e,we,t);function xe(e,t){if(e[we]){let n=e[be];n||Re(e,be,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function _e(e,t){const n=e[be];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[be]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var Me,Re=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),je=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Te=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Oe=new RegExp(`(${je.source})(%|[a-z]+)`,"i"),Ne=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,He=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Le=e=>{const[t,n]=De(e);if(!t||O())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&He.test(n)?Le(n):n||e},De=e=>{const t=He.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},Je=(e,t,n,r,a)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${a})`,Fe=e=>{Me||(Me=N?new RegExp(`(${Object.keys(N).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>ke(e).replace(He,Le).replace(Te,me).replace(Me,me))),n=t.map((e=>e.match(je).map(Number))),r=n[0].map(((e,t)=>n.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))).map((t=>he({...e,output:t})));return e=>{const n=!Oe.test(t[0])&&t.find((e=>Oe.test(e)))?.replace(je,"");let a=0;return t[0].replace(je,(()=>`${r[a++](e)}${n||""}`)).replace(Ne,Je)}},We="react-spring: ",Ye=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${We}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},ze=Ye(console.warn);var Ve=Ye(console.warn);function Ue(e){return S.str(e)&&("#"==e[0]||/\d/.test(e)||!O()&&He.test(e)||e in(N||{}))}var qe=O()?b.useEffect:b.useLayoutEffect,Ge=()=>{const e=(0,b.useRef)(!1);return qe((()=>(e.current=!0,()=>{e.current=!1})),[]),e};function Qe(){const e=(0,b.useState)()[1],t=Ge();return()=>{t.current&&e(Math.random())}}var Be=e=>(0,b.useEffect)(e,Ke),Ke=[];function Xe(e){const t=(0,b.useRef)();return(0,b.useEffect)((()=>{t.current=e})),t.current}var Ze=Symbol.for("Animated:node"),$e=e=>e&&e[Ze],et=(e,t)=>{return n=e,r=Ze,a=t,Object.defineProperty(n,r,{value:a,writable:!0,configurable:!0});var n,r,a},tt=e=>e&&e[Ze]&&e[Ze].getPayload(),nt=class{constructor(){et(this,this)}getPayload(){return this.payload||[]}},rt=class extends nt{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,S.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new rt(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return S.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,S.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},at=class extends rt{constructor(e){super(0),this._string=null,this._toString=he({output:[e,e]})}static create(e){return new at(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(S.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=he({output:[this.getValue(),e]})),this._value=0,super.reset()}},it={dependencies:null},lt=class extends nt{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return x(this.source,((n,r)=>{var a;(a=n)&&a[Ze]===a?t[r]=n.getValue(e):Ie(n)?t[r]=ke(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&A(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return x(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){it.dependencies&&Ie(e)&&it.dependencies.add(e);const t=tt(e);t&&A(t,(e=>this.add(e)))}},ot=class extends lt{constructor(e){super(e)}static create(e){return new ot(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,n)=>t.setValue(e[n]))).some(Boolean):(super.setValue(e.map(st)),!0)}};function st(e){return(Ue(e)?at:rt).create(e)}function ct(e){const t=$e(e);return t?t.constructor:S.arr(e)?ot:Ue(e)?at:rt}var ut=(e,t)=>{const n=!S.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,b.forwardRef)(((r,i)=>{const l=(0,b.useRef)(null),o=n&&(0,b.useCallback)((e=>{l.current=function(e,t){e&&(S.fun(e)?e(t):e.current=t);return t}(i,e)}),[i]),[s,c]=function(e,t){const n=new Set;it.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new lt(e),it.dependencies=null,[e,n]}(r,t),u=Qe(),m=()=>{const e=l.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&u()},h=new mt(m,c),d=(0,b.useRef)();qe((()=>(d.current=h,A(c,(e=>xe(e,h))),()=>{d.current&&(A(d.current.deps,(e=>_e(e,d.current))),a.cancel(d.current.update))}))),(0,b.useEffect)(m,[]),Be((()=>()=>{const e=d.current;A(e.deps,(t=>_e(t,e)))}));const p=t.getComponentProps(s.getValue());return b.createElement(e,{...p,ref:o})}))},mt=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&a.write(this.update)}};var ht=Symbol.for("AnimatedComponent"),dt=e=>S.str(e)?e:e&&S.str(e.displayName)?e.displayName:S.fun(e)&&e.name||null;function pt(e,...t){return S.fun(e)?e(...t):e}var gt=(e,t)=>!0===e||!!(t&&e&&(S.fun(e)?e(t):_(e).includes(t))),ft=(e,t)=>S.obj(e)?t&&e[t]:e,Et=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,vt=e=>e,yt=(e,t=vt)=>{let n=wt;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const a of n){const n=t(e[a],a);S.und(n)||(r[a]=n)}return r},wt=["config","onProps","onStart","onChange","onPause","onResume","onRest"],bt={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function It(e){const t=function(e){const t={};let n=0;if(x(e,((e,r)=>{bt[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return x(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function kt(e){return e=ke(e),S.arr(e)?e.map(kt):Ue(e)?k.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Pt(e){for(const t in e)return!0;return!1}function St(e){return S.fun(e)||S.arr(e)&&S.obj(e[0])}function Ct(e,t){e.ref?.delete(e),t?.delete(e)}function At(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var xt={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},_t={...xt.default,mass:1,damping:1,easing:ye.linear,clamp:!1},Mt=class{constructor(){this.velocity=0,Object.assign(this,_t)}};function Rt(e,t){if(S.und(t.decay)){const n=!S.und(t.tension)||!S.und(t.friction);!n&&S.und(t.frequency)&&S.und(t.damping)&&S.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var jt=[],Tt=class{constructor(){this.changed=!1,this.values=jt,this.toValues=null,this.fromValues=jt,this.config=new Mt,this.immediate=!1}};function Ot(e,{key:t,props:n,defaultProps:r,state:i,actions:l}){return new Promise(((o,s)=>{let c,u,m=gt(n.cancel??r?.cancel,t);if(m)p();else{S.und(n.pause)||(i.paused=gt(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||gt(e,t)),c=pt(n.delay||0,t),e?(i.resumeQueue.add(d),l.pause()):(l.resume(),d())}function h(){i.resumeQueue.add(d),i.timeouts.delete(u),u.cancel(),c=u.time-a.now()}function d(){c>0&&!k.skipAnimation?(i.delayed=!0,u=a.setTimeout(p,c),i.pauseQueue.add(h),i.timeouts.add(u)):p()}function p(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(h),i.timeouts.delete(u),e<=(i.cancelId||0)&&(m=!0);try{l.start({...n,callId:e,cancel:m},o)}catch(t){s(t)}}}))}var Nt=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?Dt(e.get()):t.every((e=>e.noop))?Ht(e.get()):Lt(e.get(),t.every((e=>e.finished))),Ht=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Lt=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Dt=e=>({value:e,cancelled:!0,finished:!1});function Jt(e,t,n,r){const{callId:i,parentId:l,onRest:o}=t,{asyncTo:s,promise:c}=n;return l||e!==s||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const u=yt(t,((e,t)=>"onRest"===t?void 0:e));let m,h;const d=new Promise(((e,t)=>(m=e,h=t))),p=e=>{const t=i<=(n.cancelId||0)&&Dt(r)||i!==n.asyncId&&Lt(r,!1);if(t)throw e.result=t,h(e),e},g=(e,t)=>{const a=new Wt,l=new Yt;return(async()=>{if(k.skipAnimation)throw Ft(n),l.result=Lt(r,!1),h(l),l;p(a);const o=S.obj(e)?{...e}:{...t,to:e};o.parentId=i,x(u,((e,t)=>{S.und(o[t])&&(o[t]=e)}));const s=await r.start(o);return p(a),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),s})()};let f;if(k.skipAnimation)return Ft(n),Lt(r,!1);try{let t;t=S.arr(e)?(async e=>{for(const t of e)await g(t)})(e):Promise.resolve(e(g,r.stop.bind(r))),await Promise.all([t.then(m),d]),f=Lt(r.get(),!0,!1)}catch(E){if(E instanceof Wt)f=E.result;else{if(!(E instanceof Yt))throw E;f=E.result}}finally{i==n.asyncId&&(n.asyncId=l,n.asyncTo=l?s:void 0,n.promise=l?c:void 0)}return S.fun(o)&&a.batchedUpdates((()=>{o(f,r,r.item)})),f})():c}function Ft(e,t){M(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Wt=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Yt=class extends Error{constructor(){super("SkipAnimationSignal")}},zt=e=>e instanceof Ut,Vt=1,Ut=class extends Ce{constructor(){super(...arguments),this.id=Vt++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=$e(this);return e&&e.getValue()}to(...e){return k.to(this,e)}interpolate(...e){return ze(`${We}The "interpolate" function is deprecated in v9 (use "to" instead)`),k.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Se(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||z.sort(this),Se(this,{type:"priority",parent:this,priority:e})}},qt=Symbol.for("SpringPhase"),Gt=e=>(1&e[qt])>0,Qt=e=>(2&e[qt])>0,Bt=e=>(4&e[qt])>0,Kt=(e,t)=>t?e[qt]|=3:e[qt]&=-3,Xt=(e,t)=>t?e[qt]|=4:e[qt]&=-5,Zt=class extends Ut{constructor(e,t){if(super(),this.animation=new Tt,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!S.und(e)||!S.und(t)){const n=S.obj(e)?{...e}:{...t,from:e};S.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Qt(this)||this._state.asyncTo)||Bt(this)}get goal(){return ke(this.animation.to)}get velocity(){const e=$e(this);return e instanceof rt?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return Gt(this)}get isAnimating(){return Qt(this)}get isPaused(){return Bt(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:a}=r;const{config:i}=r,l=tt(r.to);!l&&Ie(r.to)&&(a=_(ke(r.to))),r.values.forEach(((o,s)=>{if(o.done)return;const c=o.constructor==at?1:l?l[s].lastPosition:a[s];let u=r.immediate,m=c;if(!u){if(m=o.lastPosition,i.tension<=0)return void(o.done=!0);let t=o.elapsedTime+=e;const n=r.fromValues[s],a=null!=o.v0?o.v0:o.v0=S.arr(i.velocity)?i.velocity[s]:i.velocity;let l;const h=i.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n)));if(S.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,r=Math.exp(-(1-e)*t);m=n+a/(1-e)*(1-r),u=Math.abs(o.lastPosition-m)<=h,l=a*r}else{l=null==o.lastVelocity?a:o.lastVelocity;const t=i.restVelocity||h/10,r=i.clamp?0:i.bounce,s=!S.und(r),d=n==c?o.v0>0:nt,p||(u=Math.abs(c-m)<=h,!u));++e){s&&(g=m==c||m>c==d,g&&(l=-l*r,m=c));l+=(1e-6*-i.tension*(m-c)+.001*-i.friction*l)/i.mass*f,m+=l*f}}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,o.durationProgress>0&&(o.elapsedTime=i.duration*o.durationProgress,t=o.elapsedTime+=e)),r=(i.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,o.durationProgress=r),m=n+i.easing(r)*(c-n),l=(m-o.lastPosition)/e,u=1==r}o.lastVelocity=l,Number.isNaN(m)&&(console.warn("Got NaN while animating:",this),u=!0)}l&&!l[s].done&&(u=!1),u?o.done=!0:t=!1,o.setValue(m,i.round)&&(n=!0)}));const o=$e(this),s=o.getValue();if(t){const e=ke(r.to);s===e&&!n||i.decay?n&&i.decay&&this._onChange(s):(o.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(s)}set(e){return a.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Qt(this)){const{to:e,config:t}=this.animation;a.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return S.und(e)?(n=this.queue||[],this.queue=[]):n=[S.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>Nt(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Ft(this._state,e&&this._lastCallId),a.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=S.obj(n)?n[t]:n,(null==n||St(n))&&(n=void 0),r=S.obj(r)?r[t]:r,null==r&&(r=void 0);const a={to:n,from:r};return Gt(this)||(e.reverse&&([n,r]=[r,n]),r=ke(r),S.und(r)?$e(this)||this._set(n):this._set(r)),a}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,yt(e,((e,t)=>/^on/.test(t)?ft(e,n):e))),ln(this,e,"onProps"),on(this,"onProps",e,this);const a=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const i=this._state;return Ot(++this._lastCallId,{key:n,props:e,defaultProps:r,state:i,actions:{pause:()=>{Bt(this)||(Xt(this,!0),T(i.pauseQueue),on(this,"onPause",Lt(this,$t(this,this.animation.to)),this))},resume:()=>{Bt(this)&&(Xt(this,!1),Qt(this)&&this._resume(),T(i.resumeQueue),on(this,"onResume",Lt(this,$t(this,this.animation.to)),this))},start:this._merge.bind(this,a)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=en(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Dt(this));const r=!S.und(e.to),i=!S.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(Dt(this));this._lastToId=t.callId}const{key:l,defaultProps:o,animation:s}=this,{to:c,from:u}=s;let{to:m=c,from:h=u}=e;!i||r||t.default&&!S.und(m)||(m=h),t.reverse&&([m,h]=[h,m]);const d=!C(h,u);d&&(s.from=h),h=ke(h);const p=!C(m,c);p&&this._focus(m);const g=St(t.to),{config:f}=s,{decay:E,velocity:v}=f;(r||i)&&(f.velocity=0),t.config&&!g&&function(e,t,n){n&&(Rt(n={...n},t),t={...n,...t}),Rt(e,t),Object.assign(e,t);for(const l in _t)null==e[l]&&(e[l]=_t[l]);let{frequency:r,damping:a}=e;const{mass:i}=e;S.und(r)||(r<.01&&(r=.01),a<0&&(a=0),e.tension=Math.pow(2*Math.PI/r,2)*i,e.friction=4*Math.PI*a*i/r)}(f,pt(t.config,l),t.config!==o.config?pt(o.config,l):void 0);let y=$e(this);if(!y||S.und(m))return n(Lt(this,!0));const w=S.und(t.reset)?i&&!t.default:!S.und(h)&>(t.reset,l),b=w?h:this.get(),I=kt(m),k=S.num(I)||S.arr(I)||Ue(I),P=!g&&(!k||gt(o.immediate||t.immediate,l));if(p){const e=ct(m);if(e!==y.constructor){if(!P)throw Error(`Cannot animate between ${y.constructor.name} and ${e.name}, as the "to" prop suggests`);y=this._set(I)}}const x=y.constructor;let M=Ie(m),R=!1;if(!M){const e=w||!Gt(this)&&d;(p||e)&&(R=C(kt(b),I),M=!R),(C(s.immediate,P)||P)&&C(f.decay,E)&&C(f.velocity,v)||(M=!0)}if(R&&Qt(this)&&(s.changed&&!w?M=!0:M||this._stop(c)),!g&&((M||Ie(c))&&(s.values=y.getPayload(),s.toValues=Ie(m)?null:x==at?[1]:_(I)),s.immediate!=P&&(s.immediate=P,P||w||this._set(c)),M)){const{onRest:e}=s;A(an,(e=>ln(this,t,e)));const r=Lt(this,$t(this,c));T(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&a.batchedUpdates((()=>{s.changed=!w,e?.(r,this),w?pt(o.onRest,r):s.onStart?.(r,this)}))}w&&this._set(b),g?n(Jt(t.to,t,this._state,this)):M?this._start():Qt(this)&&!p?this._pendingCalls.add(n):n(Ht(b))}_focus(e){const t=this.animation;e!==t.to&&(Pe(this)&&this._detach(),t.to=e,Pe(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Ie(t)&&(xe(t,this),zt(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Ie(e)&&_e(e,this)}_set(e,t=!0){const n=ke(e);if(!S.und(n)){const e=$e(this);if(!e||!C(n,e.getValue())){const r=ct(n);e&&e.constructor==r?e.setValue(n):et(this,r.create(n)),e&&a.batchedUpdates((()=>{this._onChange(n,t)}))}}return $e(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,on(this,"onStart",Lt(this,$t(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),pt(this.animation.onChange,e,this)),pt(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;$e(this).reset(ke(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),Qt(this)||(Kt(this,!0),Bt(this)||this._resume())}_resume(){k.skipAnimation?this.finish():z.start(this)}_stop(e,t){if(Qt(this)){Kt(this,!1);const n=this.animation;A(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Se(this,{type:"idle",parent:this});const r=t?Dt(this.get()):Lt(this.get(),$t(this,e??n.to));T(this._pendingCalls,r),n.changed&&(n.changed=!1,on(this,"onRest",r,this))}}};function $t(e,t){const n=kt(t);return C(kt(e.get()),n)}function en(e,t=e.loop,n=e.to){const r=pt(t);if(r){const a=!0!==r&&It(r),i=(a||e).reverse,l=!a||a.reset;return tn({...e,loop:t,default:!1,pause:void 0,to:!i||St(n)?n:void 0,from:l?e.from:void 0,reset:l,...a})}}function tn(e){const{to:t,from:n}=e=It(e),r=new Set;return S.obj(t)&&rn(t,r),S.obj(n)&&rn(n,r),e.keys=r.size?Array.from(r):null,e}function nn(e){const t=tn(e);return S.und(t.default)&&(t.default=yt(t)),t}function rn(e,t){x(e,((e,n)=>null!=e&&t.add(n)))}var an=["onStart","onRest","onChange","onPause","onResume"];function ln(e,t,n){e.animation[n]=t[n]!==Et(t,n)?ft(t[n],e.key):void 0}function on(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var sn=["onStart","onChange","onRest"],cn=1,un=class{constructor(e,t){this.id=cn++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,n)=>e[n]=t.get())),e}set(e){for(const t in e){const n=e[t];S.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(tn(e)),this}start(e){let{queue:t}=this;return e?t=_(e).map(tn):this.queue=[],this._flush?this._flush(this,t):(En(this,t),mn(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;A(_(t),(t=>n[t].stop(!!e)))}else Ft(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(S.und(e))this.start({pause:!0});else{const t=this.springs;A(_(e),(e=>t[e].pause()))}return this}resume(e){if(S.und(e))this.start({pause:!1});else{const t=this.springs;A(_(e),(e=>t[e].resume()))}return this}each(e){x(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,a=this._changed.size>0;(r&&!this._started||a&&!this._started)&&(this._started=!0,M(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const i=!r&&this._started,l=a||i&&n.size?this.get():null;a&&t.size&&M(t,(([e,t])=>{t.value=l,e(t,this,this._item)})),i&&(this._started=!1,M(n,(([e,t])=>{t.value=l,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}a.onFrame(this._onFrame)}};function mn(e,t){return Promise.all(t.map((t=>hn(e,t)))).then((t=>Nt(e,t)))}async function hn(e,t,n){const{keys:r,to:i,from:l,loop:o,onRest:s,onResolve:c}=t,u=S.obj(t.default)&&t.default;o&&(t.loop=!1),!1===i&&(t.to=null),!1===l&&(t.from=null);const m=S.arr(i)||S.fun(i)?i:void 0;m?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):A(sn,(n=>{const r=t[n];if(S.fun(r)){const a=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=a.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):a.set(r,{value:null,finished:e||!1,cancelled:t||!1})},u&&(u[n]=t[n])}}));const h=e._state;t.pause===!h.paused?(h.paused=t.pause,T(t.pause?h.pauseQueue:h.resumeQueue)):h.paused&&(t.pause=!0);const d=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),p=!0===t.cancel||!0===Et(t,"cancel");(m||p&&h.asyncId)&&d.push(Ot(++e._lastAsyncId,{props:t,state:h,actions:{pause:P,resume:P,start(t,n){p?(Ft(h,e._lastAsyncId),n(Dt(e))):(t.onRest=s,n(Jt(m,t,h,e)))}}})),h.paused&&await new Promise((e=>{h.resumeQueue.add(e)}));const g=Nt(e,await Promise.all(d));if(o&&g.finished&&(!n||!g.noop)){const n=en(t,o,i);if(n)return En(e,[n]),hn(e,n,!0)}return c&&a.batchedUpdates((()=>c(g,e,e.item))),g}function dn(e,t){const n={...e.springs};return t&&A(_(t),(e=>{S.und(e.keys)&&(e=tn(e)),S.obj(e.to)||(e={...e,to:void 0}),fn(n,e,(e=>gn(e)))})),pn(e,n),n}function pn(e,t){x(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,xe(t,e))}))}function gn(e,t){const n=new Zt;return n.key=e,t&&xe(n,t),n}function fn(e,t,n){t.keys&&A(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function En(e,t){A(t,(t=>{fn(e.springs,t,(t=>gn(t,e)))}))}var vn,yn,wn=({children:e,...t})=>{const n=(0,b.useContext)(bn),r=t.pause||!!n.pause,a=t.immediate||!!n.immediate;t=function(e,t){const[n]=(0,b.useState)((()=>({inputs:t,result:e()}))),r=(0,b.useRef)(),a=r.current;let i=a;i?Boolean(t&&i.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n{r.current=i,a==n&&(n.inputs=n.result=void 0)}),[i]),i.result}((()=>({pause:r,immediate:a})),[r,a]);const{Provider:i}=bn;return b.createElement(i,{value:t},e)},bn=(vn=wn,yn={},Object.assign(vn,b.createContext(yn)),vn.Provider._context=vn,vn.Consumer._context=vn,vn);wn.Provider=bn.Provider,wn.Consumer=bn.Consumer;var In=()=>{const e=[],t=function(t){Ve(`${We}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return A(e,((e,a)=>{if(S.und(t))r.push(e.start());else{const i=n(t,e,a);i&&r.push(e.start(i))}})),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return A(e,(e=>e.pause(...arguments))),this},t.resume=function(){return A(e,(e=>e.resume(...arguments))),this},t.set=function(t){A(e,((e,n)=>{const r=S.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return A(e,((e,r)=>{if(S.und(t))n.push(e.start());else{const a=this._getProps(t,e,r);a&&n.push(e.start(a))}})),n},t.stop=function(){return A(e,(e=>e.stop(...arguments))),this},t.update=function(t){return A(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return S.fun(e)?e(n,t):e};return t._getProps=n,t};function kn(e,t,n){const r=S.fun(t)&&t;r&&!n&&(n=[]);const a=(0,b.useMemo)((()=>r||3==arguments.length?In():void 0),[]),i=(0,b.useRef)(0),l=Qe(),o=(0,b.useMemo)((()=>({ctrls:[],queue:[],flush(e,t){const n=dn(e,t);return i.current>0&&!o.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?mn(e,t):new Promise((r=>{pn(e,n),o.queue.push((()=>{r(mn(e,t))})),l()}))}})),[]),s=(0,b.useRef)([...o.ctrls]),c=[],u=Xe(e)||0;function m(e,n){for(let a=e;a{A(s.current.slice(e,u),(e=>{Ct(e,a),e.stop(!0)})),s.current.length=e,m(u,e)}),[e]),(0,b.useMemo)((()=>{m(0,Math.min(u,e))}),n);const h=s.current.map(((e,t)=>dn(e,c[t]))),d=(0,b.useContext)(wn),p=Xe(d),g=d!==p&&Pt(d);qe((()=>{i.current++,o.ctrls=s.current;const{queue:e}=o;e.length&&(o.queue=[],A(e,(e=>e()))),A(s.current,((e,t)=>{a?.add(e),g&&e.start({default:d});const n=c[t];n&&(At(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),Be((()=>()=>{A(o.ctrls,(e=>e.stop(!0)))}));const f=h.map((e=>({...e})));return a?[f,a]:f}function Pn(e,t){const n=S.fun(e),[[r],a]=kn(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,a]:r}var Sn=class extends Ut{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=he(...t);const n=this._get(),r=ct(n);et(this,r.create(n))}advance(e){const t=this._get();C(t,this.get())||($e(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&An(this._active)&&xn(this)}_get(){const e=S.arr(this.source)?this.source.map(ke):_(ke(this.source));return this.calc(...e)}_start(){this.idle&&!An(this._active)&&(this.idle=!1,A(tt(this),(e=>{e.done=!1})),k.skipAnimation?(a.batchedUpdates((()=>this.advance())),xn(this)):z.start(this))}_attach(){let e=1;A(_(this.source),(t=>{Ie(t)&&xe(t,this),zt(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){A(_(this.source),(e=>{Ie(e)&&_e(e,this)})),this._active.clear(),xn(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=_(this.source).reduce(((e,t)=>Math.max(e,(zt(t)?t.priority:0)+1)),0))}};function Cn(e){return!1!==e.idle}function An(e){return!e.size||Array.from(e).every(Cn)}function xn(e){e.idle||(e.idle=!0,A(tt(e),(e=>{e.done=!0})),Se(e,{type:"idle",parent:e}))}k.assign({createStringInterpolator:Fe,to:(e,t)=>new Sn(e,t)});z.advance;var _n=n(961),Mn=/^--/;function Rn(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||Mn.test(e)||Tn.hasOwnProperty(e)&&Tn[e]?(""+t).trim():t+"px"}var jn={};var Tn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},On=["Webkit","Ms","Moz","O"];Tn=Object.keys(Tn).reduce(((e,t)=>(On.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),Tn);var Nn=/^(matrix|translate|scale|rotate|skew)/,Hn=/^(translate)/,Ln=/^(rotate|skew)/,Dn=(e,t)=>S.num(e)&&0!==e?e+t:e,Jn=(e,t)=>S.arr(e)?e.every((e=>Jn(e,t))):S.num(e)?e===t:parseFloat(e)===t,Fn=class extends lt{constructor({x:e,y:t,z:n,...r}){const a=[],i=[];(e||t||n)&&(a.push([e||0,t||0,n||0]),i.push((e=>[`translate3d(${e.map((e=>Dn(e,"px"))).join(",")})`,Jn(e,0)]))),x(r,((e,t)=>{if("transform"===t)a.push([e||""]),i.push((e=>[e,""===e]));else if(Nn.test(t)){if(delete r[t],S.und(e))return;const n=Hn.test(t)?"px":Ln.test(t)?"deg":"";a.push(_(e)),i.push("rotate3d"===t?([e,t,r,a])=>[`rotate3d(${e},${t},${r},${Dn(a,n)})`,Jn(a,0)]:e=>[`${t}(${e.map((e=>Dn(e,n))).join(",")})`,Jn(e,t.startsWith("scale")?1:0)])}})),a.length&&(r.transform=new Wn(a,i)),super(r)}},Wn=class extends Ce{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return A(this.inputs,((n,r)=>{const a=ke(n[0]),[i,l]=this.transforms[r](S.arr(a)?a:n.map(ke));e+=" "+i,t=t&&l})),t?"none":e}observerAdded(e){1==e&&A(this.inputs,(e=>A(e,(e=>Ie(e)&&xe(e,this)))))}observerRemoved(e){0==e&&A(this.inputs,(e=>A(e,(e=>Ie(e)&&_e(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),Se(this,e)}};k.assign({batchedUpdates:_n.unstable_batchedUpdates,createStringInterpolator:Fe,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var Yn=((e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new lt(e),getComponentProps:r=e=>e}={})=>{const a={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},i=e=>{const t=dt(e)||"Anonymous";return(e=S.str(e)?i[e]||(i[e]=ut(e,a)):e[ht]||(e[ht]=ut(e,a))).displayName=`Animated(${t})`,e};return x(e,((t,n)=>{S.arr(e)&&(n=dt(t)),i[n]=i(t)})),{animated:i}})(["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","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"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{className:r,style:a,children:i,scrollTop:l,scrollLeft:o,viewBox:s,...c}=t,u=Object.values(c),m=Object.keys(c).map((t=>n||e.hasAttribute(t)?t:jn[t]||(jn[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==i&&(e.textContent=i);for(const h in a)if(a.hasOwnProperty(h)){const t=Rn(h,a[h]);Mn.test(h)?e.style.setProperty(h,t):e.style[h]=t}m.forEach(((t,n)=>{e.setAttribute(t,u[n])})),void 0!==r&&(e.className=r),void 0!==l&&(e.scrollTop=l),void 0!==o&&(e.scrollLeft=o),void 0!==s&&e.setAttribute("viewBox",s)},createAnimatedStyle:e=>new Fn(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),zn=Yn.animated}}]); -//# sourceMappingURL=c2833e12b9a7c106fd87c0740348ec050af8d68c-8a0f9413302e018f3c5a.js.map \ No newline at end of file diff --git a/c2833e12b9a7c106fd87c0740348ec050af8d68c-8a0f9413302e018f3c5a.js.map b/c2833e12b9a7c106fd87c0740348ec050af8d68c-8a0f9413302e018f3c5a.js.map deleted file mode 100644 index bd7c1a23..00000000 --- a/c2833e12b9a7c106fd87c0740348ec050af8d68c-8a0f9413302e018f3c5a.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"c2833e12b9a7c106fd87c0740348ec050af8d68c-8a0f9413302e018f3c5a.js","mappings":"iRAIA,SAASA,IAcP,OAbAA,EAAWC,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GAC1D,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CACzC,IAAIG,EAASF,UAAUD,GAEvB,IAAK,IAAII,KAAOD,EACVP,OAAOS,UAAUC,eAAeC,KAAKJ,EAAQC,KAC/CL,EAAOK,GAAOD,EAAOC,GAG3B,CAEA,OAAOL,CACT,EACOJ,EAASa,MAAMC,KAAMR,UAC9B,CAEA,SAASS,EAA8BP,EAAQQ,GAC7C,GAAc,MAAVR,EAAgB,MAAO,CAAC,EAC5B,IAEIC,EAAKJ,EAFLD,EAAS,CAAC,EACVa,EAAahB,OAAOiB,KAAKV,GAG7B,IAAKH,EAAI,EAAGA,EAAIY,EAAWV,OAAQF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AUsrB,IAAYtB,GAAahqB,EAAWspC,KAE1ElnC,YAAc,YAAYA,KAC7BpC,CAAS,EAQlB,OANAic,EAAUzL,GAAY,CAACxQ,EAAWzD,KAC5Bof,EAAIxe,IAAIqT,KACVjU,EAAMgvB,GAAevrB,IAEvBwpB,EAASjtB,GAAOitB,EAASxpB,EAAU,IAE9B,CACLwpB,WACD,EEmCQ+f,CAhJM,CACf,IACA,OACA,UACA,OACA,UACA,QACA,QACA,IACA,OACA,MACA,MACA,MACA,aACA,OACA,KACA,SACA,SACA,UACA,OACA,OACA,MACA,WACA,OACA,WACA,KACA,MACA,UACA,MACA,SACA,MACA,KACA,KACA,KACA,QACA,WACA,aACA,SACA,SACA,OACA,KACA,KACA,KACA,KACA,KACA,KACA,OACA,SACA,SACA,KACA,OACA,IACA,SACA,MACA,QACA,MACA,MACA,SACA,QACA,SACA,KACA,OACA,OACA,MACA,OACA,OACA,WACA,OACA,QACA,MACA,WACA,SACA,KACA,WACA,SACA,SACA,IACA,QACA,UACA,MACA,WACA,IACA,KACA,KACA,OACA,IACA,OACA,SACA,UACA,SACA,QACA,SACA,OACA,SACA,QACA,MACA,UACA,MACA,QACA,QACA,KACA,WACA,QACA,KACA,QACA,OACA,QACA,KACA,QACA,IACA,KACA,MACA,QACA,MAEA,SACA,WACA,OACA,UACA,gBACA,IACA,QACA,OACA,iBACA,OACA,OACA,UACA,UACA,WACA,iBACA,OACA,OACA,MACA,OACA,SAUgC,CAChCxe,oBAvWF,SAA6BD,EAAU5rB,GACrC,IAAK4rB,EAAS+L,WAAa/L,EAAS0e,aAClC,OAAO,EAET,MAAMC,EAAwC,WAAtB3e,EAAS4e,UAAyB5e,EAASf,YAA+C,WAAjCe,EAASf,WAAW2f,UAC/F,UACJ/jC,EAAS,MACThF,EAAK,SACL4G,EAAQ,UACRoiC,EAAS,WACTC,EAAU,QACV1nC,KACG2nC,GACD3qC,EACE4b,EAAS/e,OAAO+e,OAAO+uB,GACvBC,EAAQ/tC,OAAOiB,KAAK6sC,GAAYpmC,KACnCrF,GAASqrC,GAAmB3e,EAASif,aAAa3rC,GAAQA,EAAOi+B,GAAej+B,KAAUi+B,GAAej+B,GAAQA,EAAKqG,QACrH,YAECzG,GAAM,IAAMA,EAAE8F,wBAGF,IAAbyD,IACFujB,EAASkf,YAAcziC,GAEzB,IAAK,MAAMnJ,KAAQuC,EACjB,GAAIA,EAAMlE,eAAe2B,GAAO,CAC9B,MAAMK,EAAQ09B,GAAoB/9B,EAAMuC,EAAMvC,IAC1C89B,GAAe59B,KAAKF,GACtB0sB,EAASnqB,MAAMspC,YAAY7rC,EAAMK,GAEjCqsB,EAASnqB,MAAMvC,GAAQK,CAE3B,CAEFqrC,EAAM/oC,SAAQ,CAAC3C,EAAMjC,KACnB2uB,EAAS0e,aAAaprC,EAAM0c,EAAO3e,GAAG,SAEtB,IAAdwJ,IACFmlB,EAASnlB,UAAYA,QAEL,IAAdgkC,IACF7e,EAAS6e,UAAYA,QAEJ,IAAfC,IACF9e,EAAS8e,WAAaA,QAER,IAAZ1nC,GACF4oB,EAAS0e,aAAa,UAAWtnC,EAErC,EAsTEwoB,oBAAsB/pB,GAAU,IAAI2+B,GAAc3+B,GAElD0qB,kBAAmB,EAAGse,YAAWC,gBAAe1qC,KAAYA,IAE1DsqB,GAAWS,GAAKT,Q","sources":["webpack://emilia/./node_modules/@theme-ui/components/dist/theme-ui-components.esm.js","webpack://emilia/./node_modules/camelcase/index.js","webpack://emilia/../src/image-utils.ts","webpack://emilia/../src/components/hooks.ts","webpack://emilia/../src/components/layout-wrapper.tsx","webpack://emilia/../src/components/picture.tsx","webpack://emilia/../src/components/placeholder.tsx","webpack://emilia/../src/components/main-image.tsx","webpack://emilia/../src/components/gatsby-image.server.tsx","webpack://emilia/../src/components/gatsby-image.browser.tsx","webpack://emilia/../src/components/static-image.server.tsx","webpack://emilia/../src/components/static-image.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/components/header-background.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/components/colormode-toggle.tsx","webpack://emilia/./src/@lekoarts/gatsby-theme-emilia/texts/about-me.mdx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/components/footer.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/components/layout.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/hooks/use-site-metadata.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/components/seo.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/components/social-media-list.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/components/svg.tsx","webpack://emilia/./node_modules/@lekoarts/gatsby-theme-emilia/src/hooks/use-emilia-config.tsx","webpack://emilia/./node_modules/theme-ui/dist/theme-ui.esm.js","webpack://emilia/./node_modules/core-js/internals/array-method-is-strict.js","webpack://emilia/./node_modules/core-js/internals/array-slice.js","webpack://emilia/./node_modules/core-js/internals/array-sort.js","webpack://emilia/./node_modules/core-js/internals/classof.js","webpack://emilia/./node_modules/core-js/internals/delete-property-or-throw.js","webpack://emilia/./node_modules/core-js/internals/environment-ff-version.js","webpack://emilia/./node_modules/core-js/internals/environment-is-ie-or-edge.js","webpack://emilia/./node_modules/core-js/internals/environment-webkit-version.js","webpack://emilia/./node_modules/core-js/internals/to-string-tag-support.js","webpack://emilia/./node_modules/core-js/internals/to-string.js","webpack://emilia/./node_modules/core-js/modules/es.array.sort.js","webpack://emilia/./node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.mjs","webpack://emilia/./node_modules/@react-spring/shared/dist/react-spring_shared.modern.mjs","webpack://emilia/./node_modules/@react-spring/animated/dist/react-spring_animated.modern.mjs","webpack://emilia/./node_modules/@react-spring/core/dist/react-spring_core.modern.mjs","webpack://emilia/./node_modules/@react-spring/web/dist/react-spring_web.modern.mjs"],"sourcesContent":["import { useTheme, jsx, keyframes } from '@emotion/react';\nimport React, { forwardRef } from 'react';\nimport { css, get } from '@theme-ui/css';\n\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n return arr2;\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _createForOfIteratorHelperLoose(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (it) return (it = it.call(o)).next.bind(it);\n\n if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n return function () {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nvar _excluded$g = [\"__themeKey\", \"__css\", \"variant\", \"css\", \"sx\", \"as\"];\nvar boxSystemProps = [// space scale props (inherited from @styled-system/space)\n'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'm', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', // color props (inherited from @styled-system/color)\n'color', 'backgroundColor', 'bg', 'opacity'];\n\n/**\n * @internal\n */\nvar __isBoxStyledSystemProp = function __isBoxStyledSystemProp(prop) {\n return boxSystemProps.includes(prop);\n};\n\nvar pickSystemProps = function pickSystemProps(props) {\n var res = {};\n\n for (var _iterator = _createForOfIteratorHelperLoose(boxSystemProps), _step; !(_step = _iterator()).done;) {\n var key = _step.value;\n res[key] = props[key];\n }\n\n return res;\n};\n/**\n * Use the Box component as a layout primitive to add margin, padding, and colors to content.\n * @see https://theme-ui.com/components/box\n */\n\n\nvar Box$1 = /*#__PURE__*/forwardRef(function Box(props, ref) {\n var theme = useTheme();\n\n var _ref = props,\n _ref$__themeKey = _ref.__themeKey,\n __themeKey = _ref$__themeKey === void 0 ? 'variants' : _ref$__themeKey,\n __css = _ref.__css,\n variant = _ref.variant,\n cssProp = _ref.css,\n sx = _ref.sx,\n _ref$as = _ref.as,\n Component = _ref$as === void 0 ? 'div' : _ref$as,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded$g);\n\n var baseStyles = {\n boxSizing: 'border-box',\n margin: 0,\n minWidth: 0\n };\n\n var __cssStyles = css(__css)(theme);\n\n var variantInTheme = get(theme, __themeKey + \".\" + variant) || get(theme, variant);\n var variantStyles = variantInTheme && css(variantInTheme)(theme);\n var sxPropStyles = css(sx)(theme);\n var systemPropsStyles = css(pickSystemProps(rest))(theme);\n var style = [baseStyles, __cssStyles, variantStyles, sxPropStyles, systemPropsStyles, cssProp];\n boxSystemProps.forEach(function (name) {\n delete rest[name];\n });\n return jsx(Component, _extends({\n ref: ref,\n css: style\n }, rest));\n});\n\n/**\n * Use the Flex component to create flexbox layouts.\n * @see https://theme-ui.com/components/flex\n */\nvar Flex = /*#__PURE__*/React.forwardRef(function Flex(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref\n }, props, {\n sx: _extends({\n display: 'flex'\n }, props.sx)\n }));\n});\n\nvar getProps = function getProps(test) {\n return function (props) {\n var next = {};\n\n for (var key in props) {\n if (test(key || '')) next[key] = props[key];\n }\n\n return next;\n };\n};\nvar MRE = /^m[trblxy]?$/;\nvar getMargin = getProps(function (k) {\n return MRE.test(k);\n});\nvar omitMargin = getProps(function (k) {\n return !MRE.test(k);\n});\n/** @internal */\n\nfunction __internalProps(props) {\n return props;\n}\n/**\n * @internal Props used by Theme UI Components not intended for user code.\n */\n\nvar _excluded$f = [\"width\", \"columns\", \"gap\", \"repeat\"];\n\nvar px = function px(n) {\n return typeof n === 'number' ? n + 'px' : n;\n};\n\nvar singleWidthToColumns = function singleWidthToColumns(width, repeat) {\n return width ? \"repeat(auto-\" + repeat + \", minmax(\" + px(width) + \", 1fr))\" : null;\n};\n\nvar widthToColumns = function widthToColumns(width, repeat) {\n return Array.isArray(width) ? width.map(function (w) {\n return singleWidthToColumns(w, repeat);\n }) : singleWidthToColumns(width, repeat);\n};\n\nvar singleCountToColumns = function singleCountToColumns(n) {\n return n ? typeof n === 'number' ? \"repeat(\" + n + \", 1fr)\" : n : null;\n};\n\nvar countToColumns = function countToColumns(n) {\n return Array.isArray(n) ? n.map(singleCountToColumns) : singleCountToColumns(n);\n};\n\n/**\n * CSS grid layout component to arrange direct child elements in a tiled grid layout.\n * @see https://theme-ui.com/components/grid\n */\nvar Grid = /*#__PURE__*/React.forwardRef(function Grid(_ref, ref) {\n var width = _ref.width,\n columns = _ref.columns,\n _ref$gap = _ref.gap,\n gap = _ref$gap === void 0 ? 3 : _ref$gap,\n _ref$repeat = _ref.repeat,\n repeat = _ref$repeat === void 0 ? 'fit' : _ref$repeat,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$f);\n\n var gridTemplateColumns = !!width ? widthToColumns(width, repeat) : countToColumns(columns);\n var __css = {\n display: 'grid',\n gridGap: gap,\n gridTemplateColumns: gridTemplateColumns\n };\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref\n }, props, __internalProps({\n __themeKey: 'grids',\n __css: __css\n })));\n});\n\nvar Box = Box$1;\n\n/**\n * Primitive button component with variants\n * @see https://theme-ui.com/components/button\n */\nvar Button = /*#__PURE__*/React.forwardRef(function Button(props, ref) {\n return /*#__PURE__*/React.createElement(Box, _extends({\n ref: ref,\n as: \"button\",\n variant: \"primary\"\n }, props, __internalProps({\n __themeKey: 'buttons',\n __css: {\n appearance: 'none',\n display: props.hidden ? undefined : 'inline-block',\n textAlign: 'center',\n lineHeight: 'inherit',\n textDecoration: 'none',\n fontSize: 'inherit',\n px: 3,\n py: 2,\n color: 'white',\n bg: 'primary',\n border: 0,\n borderRadius: 4\n }\n })));\n});\n\n/**\n * Link variants can be defined in the `theme.links` object.\n * By default the Link component will use styles defined in `theme.styles.a`.\n * @see https://theme-ui.com/components/link\n */\nvar Link = /*#__PURE__*/React.forwardRef(function Link(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"a\",\n variant: \"styles.a\"\n }, props, __internalProps({\n __themeKey: 'links'\n })));\n});\n\n/**\n * Primitive typographic component.\n *\n * Text style variants can be defined in the theme.text object.\n * The Paragraph component uses theme.text.paragraph as its default variant style.\n * @see https://theme-ui.com/components/paragraph\n */\nvar Paragraph = /*#__PURE__*/React.forwardRef(function Paragraph(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"p\",\n variant: \"paragraph\"\n }, props, __internalProps({\n __themeKey: 'text',\n __css: {\n fontFamily: 'body',\n fontWeight: 'body',\n lineHeight: 'body'\n }\n })));\n});\n\n/**\n * Primitive typographic component.\n *\n * Text style variants can be defined in the theme.text object.\n * @see https://theme-ui.com/components/text\n */\nvar Text = /*#__PURE__*/React.forwardRef(function Text(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n as: \"span\",\n ref: ref,\n variant: \"default\"\n }, props, __internalProps({\n __themeKey: 'text'\n })));\n});\n\n/**\n * Primitive heading component, defaults to

.\n *\n * Text style variants can be defined in the theme.text object.\n * The Heading component uses theme.text.heading as its default variant style.\n * @see https://theme-ui.com/components/heading\n */\nvar Heading = /*#__PURE__*/React.forwardRef(function Heading(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"h2\",\n variant: \"heading\"\n }, props, __internalProps({\n __themeKey: 'text',\n __css: {\n fontFamily: 'heading',\n fontWeight: 'heading',\n lineHeight: 'heading'\n }\n })));\n});\n\n/**\n * Image style variants can be defined in the theme.images object.\n * @see https://theme-ui.com/components/image/\n */\nvar Image = /*#__PURE__*/React.forwardRef(function Image(props, ref) {\n var __outerCss = props.__css;\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"img\"\n }, props, __internalProps({\n __themeKey: 'images',\n __css: _extends({\n maxWidth: '100%',\n height: 'auto'\n }, __outerCss)\n })));\n});\n\n/**\n * Card style variants can be defined in the `theme.cards` object.\n * By default the Card component uses the `theme.cards.primary` variant.\n * @see https://theme-ui.com/components/card\n */\nvar Card = /*#__PURE__*/React.forwardRef(function Card(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n variant: \"primary\"\n }, props, __internalProps({\n __themeKey: 'cards'\n })));\n});\n\n/**\n * Label variants can be defined in `theme.forms`\n * and the component uses the `theme.forms.label` variant by default.\n * @see https://theme-ui.com/components/label/\n */\nvar Label = /*#__PURE__*/React.forwardRef(function Label(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"label\",\n variant: \"label\"\n }, props, __internalProps({\n __themeKey: 'forms',\n __css: {\n width: '100%',\n display: 'flex'\n }\n })));\n});\n\nvar _excluded$e = [\"sx\", \"autofillBackgroundColor\"];\nvar autofillStyles = {\n boxShadow: 'inset 0 0 0 1000px var(--theme-ui-input-autofill-bg)',\n fontSize: 'inherit',\n ':first-line': {\n fontSize: '1rem'\n }\n};\nvar defaultInputStyles = {\n display: 'block',\n width: '100%',\n p: 2,\n appearance: 'none',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n border: '1px solid',\n borderRadius: 4,\n color: 'inherit',\n bg: 'transparent',\n ':autofill, :autofill:hover, :autofill:focus': autofillStyles,\n ':-webkit-autofill, :-webkit-autofill:hover, :-webkit-autofill:focus': autofillStyles\n};\n\n/**\n * Input variants can be defined in `theme.forms`\n * and the component uses the `theme.forms.input` variant by default.\n * @see https://theme-ui.com/components/input/\n */\nvar Input = /*#__PURE__*/React.forwardRef(function Input(_ref, ref) {\n var sx = _ref.sx,\n _ref$autofillBackgrou = _ref.autofillBackgroundColor,\n autofillBackgroundColor = _ref$autofillBackgrou === void 0 ? 'background' : _ref$autofillBackgrou,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded$e);\n\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"input\",\n variant: \"input\",\n sx: _extends({\n '--theme-ui-input-autofill-bg': function themeUiInputAutofillBg(theme) {\n return theme.colors && get(theme.colors, autofillBackgroundColor, null);\n }\n }, sx)\n }, rest, __internalProps({\n __themeKey: 'forms',\n __css: defaultInputStyles\n })));\n});\n\nvar _excluded$d = [\"size\"];\nvar SVG = /*#__PURE__*/React.forwardRef(function SVG(_ref, ref) {\n var _ref$size = _ref.size,\n size = _ref$size === void 0 ? 24 : _ref$size,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded$d);\n\n var svgProps = _extends({\n xmlns: 'http://www.w3.org/2000/svg',\n width: size,\n height: size,\n viewBox: '0 0 24 24',\n fill: 'currentcolor'\n }, rest);\n\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"svg\"\n }, svgProps));\n});\nSVG.displayName = 'SVG';\n\nvar _excluded$c = [\"arrow\"];\n\nvar DownArrow = function DownArrow(props) {\n return /*#__PURE__*/React.createElement(SVG, props, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 10l5 5 5-5z\"\n }));\n};\n\n/**\n * Select variants can be defined in `theme.forms`\n * and the component uses the `theme.forms.select` variant by default.\n * @see https://theme-ui.com/components/select/\n */\nvar Select = /*#__PURE__*/React.forwardRef(function Select(_ref, ref) {\n var arrow = _ref.arrow,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$c);\n\n var __css = {\n display: 'block',\n width: '100%',\n p: 2,\n paddingRight: 4,\n appearance: 'none',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n border: '1px solid',\n borderRadius: 4,\n color: 'inherit',\n backgroundColor: function backgroundColor(theme) {\n return get(theme, 'colors.background', null);\n }\n };\n return /*#__PURE__*/React.createElement(Box$1, _extends({}, getMargin(props), {\n sx: {\n display: 'flex'\n }\n }), /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"select\",\n variant: \"select\"\n }, omitMargin(props), __internalProps({\n __themeKey: 'forms',\n __css: __css\n }))), arrow || /*#__PURE__*/React.createElement(DownArrow, {\n sx: {\n ml: -28,\n alignSelf: 'center',\n pointerEvents: 'none'\n }\n }));\n});\n\n/**\n * Form textarea component\n *\n * Textarea variants can be defined in `theme.forms`\n * and the component uses the `theme.forms.textarea` variant by default.\n * @see https://theme-ui.com/components/textarea/\n */\nvar Textarea = /*#__PURE__*/React.forwardRef(function Textarea(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"textarea\",\n variant: \"textarea\"\n }, props, __internalProps({\n __themeKey: 'forms',\n __css: {\n display: 'block',\n width: '100%',\n p: 2,\n appearance: 'none',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n border: '1px solid',\n borderRadius: 4,\n color: 'inherit',\n bg: 'transparent'\n }\n })));\n});\n\nvar _excluded$b = [\"className\", \"sx\", \"variant\"];\n\nvar RadioChecked = function RadioChecked(props) {\n return /*#__PURE__*/React.createElement(SVG, props, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n }));\n};\n\nvar RadioUnchecked = function RadioUnchecked(props) {\n return /*#__PURE__*/React.createElement(SVG, props, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n }));\n};\n\nvar RadioIcon = function RadioIcon(props) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(RadioChecked, _extends({}, props, __internalProps({\n __css: {\n display: 'none',\n 'input:checked ~ &': {\n display: 'block'\n }\n }\n }))), /*#__PURE__*/React.createElement(RadioUnchecked, _extends({}, props, __internalProps({\n __css: {\n display: 'block',\n 'input:checked ~ &': {\n display: 'none'\n }\n }\n }))));\n};\n\n/**\n * Form radio input component\n *\n * Radio variants can be defined in `theme.forms` and the\n * component uses the `theme.forms.radio variant` by default.\n * @see https://theme-ui.com/components/radio/\n */\nvar Radio = /*#__PURE__*/React.forwardRef(function Radio(_ref, ref) {\n var className = _ref.className,\n sx = _ref.sx,\n _ref$variant = _ref.variant,\n variant = _ref$variant === void 0 ? 'radio' : _ref$variant,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$b);\n\n return /*#__PURE__*/React.createElement(Box$1, {\n sx: {\n minWidth: 'min-content'\n }\n }, /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"input\",\n type: \"radio\"\n }, props, {\n sx: {\n position: 'absolute',\n opacity: 0,\n zIndex: -1,\n width: 1,\n height: 1,\n overflow: 'hidden'\n }\n })), /*#__PURE__*/React.createElement(Box$1, _extends({\n as: RadioIcon,\n \"aria-hidden\": \"true\",\n variant: variant,\n className: className,\n sx: sx\n }, __internalProps({\n __themeKey: 'forms',\n __css: {\n mr: 2,\n borderRadius: 9999,\n color: 'gray',\n flexShrink: 0,\n 'input:checked ~ &': {\n color: 'primary'\n },\n 'input:focus ~ &': {\n bg: 'highlight'\n }\n }\n }))));\n});\n\nvar _excluded$a = [\"className\", \"sx\", \"variant\", \"children\"];\n\nvar CheckboxChecked = function CheckboxChecked(props) {\n return /*#__PURE__*/React.createElement(SVG, props, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z\"\n }));\n};\n\nvar CheckboxUnchecked = function CheckboxUnchecked(props) {\n return /*#__PURE__*/React.createElement(SVG, props, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\"\n }));\n};\n\nvar CheckboxIcon = function CheckboxIcon(props) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(CheckboxChecked, _extends({}, props, __internalProps({\n __css: {\n display: 'none',\n 'input:checked ~ &': {\n display: 'block'\n }\n }\n }))), /*#__PURE__*/React.createElement(CheckboxUnchecked, _extends({}, props, __internalProps({\n __css: {\n display: 'block',\n 'input:checked ~ &': {\n display: 'none'\n }\n }\n }))));\n};\n\n/**\n * Form checkbox input component\n *\n * Checkbox variants can be defined in `theme.forms` and the\n * component uses the `theme.forms.checkbox` variant by default.\n * @see https://theme-ui.com/components/checkbox/\n */\nvar Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(_ref, ref) {\n var className = _ref.className,\n sx = _ref.sx,\n _ref$variant = _ref.variant,\n variant = _ref$variant === void 0 ? 'checkbox' : _ref$variant,\n children = _ref.children,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$a);\n\n return /*#__PURE__*/React.createElement(Box$1, {\n sx: {\n minWidth: 'min-content'\n }\n }, /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"input\",\n type: \"checkbox\"\n }, props, {\n sx: {\n position: 'absolute',\n opacity: 0,\n zIndex: -1,\n width: 1,\n height: 1,\n overflow: 'hidden'\n }\n })), /*#__PURE__*/React.createElement(Box$1, _extends({\n as: CheckboxIcon,\n \"aria-hidden\": \"true\",\n variant: variant,\n className: className,\n sx: sx\n }, __internalProps({\n __themeKey: 'forms',\n __css: {\n mr: 2,\n borderRadius: 4,\n color: 'gray',\n flexShrink: 0,\n 'input:checked ~ &': {\n color: 'primary'\n },\n 'input:focus ~ &': {\n color: 'primary',\n bg: 'highlight'\n }\n }\n }))), children);\n});\n\nvar _excluded$9 = [\"className\", \"label\", \"sx\", \"variant\"];\nvar GUTTER = 2;\nvar SIZE = 18;\n\n/**\n * Form switch component\n *\n * Switch variants can be defined in `theme.forms`\n * and the component uses the `theme.forms.switch` variant by default.\n */\nvar Switch = /*#__PURE__*/React.forwardRef(function Switch(_ref, ref) {\n var className = _ref.className,\n label = _ref.label,\n sx = _ref.sx,\n _ref$variant = _ref.variant,\n variant = _ref$variant === void 0 ? 'switch' : _ref$variant,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded$9);\n\n var __css = {\n position: 'relative',\n flexShrink: 0,\n bg: 'gray',\n borderRadius: SIZE,\n height: SIZE + GUTTER * 2,\n width: SIZE * 2 + GUTTER * 2,\n mr: 2,\n 'input:disabled ~ &': {\n opacity: 0.5,\n cursor: 'not-allowed'\n },\n '& > div': {\n display: 'flex',\n alignItems: 'center',\n borderRadius: '50%',\n height: SIZE,\n width: SIZE,\n bg: 'white',\n boxShadow: '0 1px 2px rgba(0, 0, 0, 0.1)',\n position: 'relative',\n transform: 'translateX(0%)',\n transition: \"transform 240ms cubic-bezier(0.165, 0.840, 0.440, 1.000)\"\n },\n 'input:checked ~ &': {\n bg: 'primary',\n '> div': {\n transform: 'translateX(100%)'\n }\n }\n };\n return /*#__PURE__*/React.createElement(Label, {\n sx: {\n cursor: 'pointer'\n }\n }, /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"input\",\n type: \"checkbox\",\n \"aria-label\": label\n }, rest, {\n sx: {\n position: 'absolute',\n opacity: 0,\n zIndex: -1,\n width: 1,\n height: 1,\n overflow: 'hidden'\n }\n }, __internalProps({\n __themeKey: 'forms'\n }))), /*#__PURE__*/React.createElement(Box$1, _extends({\n css: {\n padding: GUTTER\n },\n variant: variant,\n className: className,\n sx: sx\n }, __internalProps({\n __themeKey: 'forms',\n __css: __css\n })), /*#__PURE__*/React.createElement(Box$1, null)), /*#__PURE__*/React.createElement(\"span\", null, label));\n});\n\nvar thumbStyle = {\n appearance: 'none',\n width: 16,\n height: 16,\n bg: 'currentcolor',\n border: 0,\n borderRadius: 9999,\n variant: 'forms.slider.thumb'\n};\nvar sliderStyle = {\n display: 'block',\n width: '100%',\n height: 4,\n my: 2,\n cursor: 'pointer',\n appearance: 'none',\n borderRadius: 9999,\n color: 'inherit',\n bg: 'gray',\n ':focus': {\n outline: 'none',\n color: 'primary'\n },\n '&::-webkit-slider-thumb': thumbStyle,\n '&::-moz-range-thumb': thumbStyle,\n '&::-ms-thumb': thumbStyle\n};\n\n/**\n * Range input element\n *\n * Slider variants can be defined in the `theme.forms` object.\n * The Slider component uses `theme.forms.slider` as its default variant style.\n * @see https://theme-ui.com/components/slider/\n */\nvar Slider = /*#__PURE__*/React.forwardRef(function Slider(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"input\",\n type: \"range\",\n variant: \"slider\"\n }, props, __internalProps({\n __themeKey: 'forms',\n __css: sliderStyle\n })));\n});\n\nvar _excluded$8 = [\"as\", \"label\", \"id\", \"name\"];\nvar Field = /*#__PURE__*/React.forwardRef(function Field(_ref, ref) {\n var _ref$as = _ref.as,\n Control = _ref$as === void 0 ? Input : _ref$as,\n label = _ref.label,\n id = _ref.id,\n name = _ref.name,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded$8);\n\n var fieldIdentifier = id || name;\n\n var controlProps = _extends({\n ref: ref,\n name: name,\n id: fieldIdentifier\n }, omitMargin(rest));\n\n return /*#__PURE__*/React.createElement(Box$1, getMargin(rest), /*#__PURE__*/React.createElement(Label, {\n htmlFor: fieldIdentifier\n }, label), /*#__PURE__*/React.createElement(Control, controlProps));\n}); // Field is generic bcs of `as` prop, so we can't just use types from forwardRef\n\n/**\n * Horizontal `` bar\n * @see https://theme-ui.com/components/progress/\n */\nvar Progress = /*#__PURE__*/React.forwardRef(function Progress(props, ref) {\n var __css = {\n display: 'block',\n width: '100%',\n height: '4px',\n margin: 0,\n padding: 0,\n overflow: 'hidden',\n appearance: 'none',\n color: 'primary',\n bg: 'gray',\n borderRadius: 9999,\n border: 'none',\n '&::-webkit-progress-bar': {\n bg: 'transparent'\n },\n '&::-webkit-progress-value': {\n bg: 'currentcolor'\n },\n '&::-moz-progress-bar': {\n bg: 'currentcolor'\n }\n };\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"progress\",\n variant: \"styles.progress\"\n }, props, __internalProps({\n __css: __css\n })));\n});\n\nvar _excluded$7 = [\"size\", \"strokeWidth\", \"value\", \"min\", \"max\", \"title\"];\n\n/**\n * Single value SVG donut chart\n * @see https://theme-ui.com/components/donut/\n */\nvar Donut = /*#__PURE__*/React.forwardRef(function Donut(_ref, ref) {\n var _ref$size = _ref.size,\n size = _ref$size === void 0 ? 128 : _ref$size,\n _ref$strokeWidth = _ref.strokeWidth,\n strokeWidth = _ref$strokeWidth === void 0 ? 2 : _ref$strokeWidth,\n _ref$value = _ref.value,\n value = _ref$value === void 0 ? 0 : _ref$value,\n _ref$min = _ref.min,\n min = _ref$min === void 0 ? 0 : _ref$min,\n _ref$max = _ref.max,\n max = _ref$max === void 0 ? 1 : _ref$max,\n title = _ref.title,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$7);\n\n var r = 16 - (typeof strokeWidth === 'number' ? strokeWidth : parseFloat(strokeWidth));\n var C = 2 * r * Math.PI;\n var offset = C - (value - min) / (max - min) * C;\n var svgProps = {\n strokeWidth: strokeWidth,\n viewBox: '0 0 32 32',\n width: size,\n height: size,\n fill: 'none',\n stroke: 'currentcolor'\n };\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"svg\",\n role: \"img\",\n \"aria-valuenow\": value,\n \"aria-valuemin\": min,\n \"aria-valuemax\": max\n }, svgProps, props, __internalProps({\n __css: {\n color: 'primary'\n }\n })), title && /*#__PURE__*/React.createElement(\"title\", null, title), /*#__PURE__*/React.createElement(\"circle\", {\n cx: 16,\n cy: 16,\n r: r,\n opacity: 1 / 8\n }), /*#__PURE__*/React.createElement(\"circle\", {\n cx: 16,\n cy: 16,\n r: r,\n strokeDasharray: C,\n strokeDashoffset: offset,\n transform: \"rotate(-90 16 16)\"\n }));\n});\n\nvar _excluded$6 = [\"size\", \"strokeWidth\", \"max\", \"title\", \"duration\"];\nvar spin = keyframes({\n from: {\n transform: 'rotate(0deg)'\n },\n to: {\n transform: 'rotate(360deg)'\n }\n});\nvar Spinner = /*#__PURE__*/React.forwardRef(function Spinner(_ref, ref) {\n var _ref$size = _ref.size,\n size = _ref$size === void 0 ? 48 : _ref$size,\n _ref$strokeWidth = _ref.strokeWidth,\n strokeWidth = _ref$strokeWidth === void 0 ? 4 : _ref$strokeWidth;\n _ref.max;\n var _ref$title = _ref.title,\n title = _ref$title === void 0 ? 'Loading...' : _ref$title,\n _ref$duration = _ref.duration,\n duration = _ref$duration === void 0 ? 500 : _ref$duration,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$6);\n\n var r = 16 - strokeWidth;\n var C = 2 * r * Math.PI;\n var offset = C - 1 / 4 * C;\n var __css = {\n color: 'primary',\n overflow: 'visible'\n };\n var circleProps = {\n cx: 16,\n cy: 16,\n r: r,\n strokeDasharray: C,\n strokeDashoffset: offset\n };\n var __circleCss = {\n transformOrigin: '50% 50%',\n animationName: spin.toString(),\n animationTimingFunction: 'linear',\n animationDuration: duration + 'ms',\n animationIterationCount: 'infinite'\n };\n var svgProps = {\n strokeWidth: strokeWidth,\n viewBox: '0 0 32 32',\n width: size,\n height: size,\n fill: 'none',\n stroke: 'currentColor',\n role: 'img'\n };\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"svg\"\n }, svgProps, props, __internalProps({\n __css: __css\n })), /*#__PURE__*/React.createElement(\"title\", null, title), /*#__PURE__*/React.createElement(\"circle\", {\n cx: 16,\n cy: 16,\n r: r,\n opacity: 1 / 8\n }), /*#__PURE__*/React.createElement(Box$1, _extends({\n as: \"circle\"\n }, circleProps, __internalProps({\n __css: __circleCss\n }))));\n});\n\nvar _excluded$5 = [\"size\"];\nvar Avatar = /*#__PURE__*/React.forwardRef(function Avatar(_ref, ref) {\n var _ref$size = _ref.size,\n size = _ref$size === void 0 ? 48 : _ref$size,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$5);\n\n return /*#__PURE__*/React.createElement(Image, _extends({\n ref: ref,\n width: size,\n height: size,\n variant: \"avatar\"\n }, props, __internalProps({\n __css: {\n borderRadius: 9999\n }\n })));\n});\n\nvar Badge = /*#__PURE__*/React.forwardRef(function Badge(props, ref) {\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n variant: \"primary\"\n }, props, __internalProps({\n __themeKey: 'badges',\n __css: {\n display: 'inline-block',\n verticalAlign: 'baseline',\n fontSize: 0,\n fontWeight: 'bold',\n whiteSpace: 'nowrap',\n px: 1,\n borderRadius: 2,\n color: 'white',\n bg: 'primary'\n }\n })));\n});\n\nvar _excluded$4 = [\"size\"];\n\n/**\n * Transparent button for SVG icons\n *\n * IconButton variants can be defined in the `theme.buttons` object.\n * By default the IconButton component will use styles defined in `theme.buttons.icon`.\n *\n * @see https://theme-ui.com/components/icon-button\n */\nvar IconButton = /*#__PURE__*/React.forwardRef(function IconButton(_ref, ref) {\n var _css;\n\n var _ref$size = _ref.size,\n size = _ref$size === void 0 ? 32 : _ref$size,\n props = _objectWithoutPropertiesLoose(_ref, _excluded$4);\n\n var emotionCssLabel = ((_css = props.__css) == null ? void 0 : _css.label) || 'IconButton';\n return /*#__PURE__*/React.createElement(Box$1, _extends({\n ref: ref,\n as: \"button\",\n variant: \"icon\"\n }, props, __internalProps({\n __themeKey: 'buttons',\n __css: {\n label: emotionCssLabel,\n appearance: 'none',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n padding: 1,\n width: size,\n height: size,\n color: 'inherit',\n bg: 'transparent',\n border: 'none',\n borderRadius: 4\n }\n })));\n});\n\nvar _excluded$3 = [\"size\"];\nvar CloseIcon = /*#__PURE__*/React.createElement(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"24\",\n height: \"24\",\n fill: \"currentColor\",\n viewBox: \"0 0 24 24\"\n}, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\n}));\n\n/**\n * Button with close (×) icon.\n *\n * The Close component renders as a \n)\n\ninterface ITogglePrimitiveProps {\n fallback?: React.ReactNode\n}\n\nconst TogglePrimitive: React.FC> = ({\n children,\n fallback = undefined,\n}) => {\n const [mounted, setMounted] = React.useState(false)\n\n React.useEffect(() => {\n setMounted(true)\n }, [])\n\n if (!mounted) {\n if (!fallback) {\n return null\n }\n return {fallback}\n }\n\n return {children}\n}\n\nconst ColorModeToggle = () => {\n const [colorMode, setColorMode] = useColorMode<\"light\" | \"dark\">()\n const isDark = colorMode === `dark`\n\n return (\n \n
Toggle Mode
\n }>\n {\n const next = isDark ? `light` : `dark`\n setColorMode(next)\n document.documentElement.classList.value = `theme-ui-${next}`\n }}\n type=\"button\"\n aria-label={isDark ? `Activate Light mode` : `Activate Dark mode`}\n title={isDark ? `Activate Light mode` : `Activate Dark mode`}\n sx={buttonBaseStyles}\n >\n (isDark ? `4px solid ${get(t, `colors.toggleIcon`)}` : `none`),\n backgroundColor: isDark ? `toggleIcon` : `transparent`,\n transform: isDark ? `scale(0.55)` : `scale(1)`,\n overflow: isDark ? `visible` : `hidden`,\n boxShadow: (t) => (isDark ? `none` : `inset 8px -8px 0px 0px ${get(t, `colors.toggleIcon`)}`),\n \"&:before\": {\n ...iconBaseStyles[`&:before`],\n border: (t) => (isDark ? `2px solid ${get(t, `colors.toggleIcon`)}` : `none`),\n transform: isDark ? `translate(14px, -14px)` : `translate(0, 0)`,\n opacity: isDark ? 0 : 1,\n },\n \"&:after\": {\n ...iconBaseStyles[`&:after`],\n transform: isDark ? `scale(1)` : `scale(0)`,\n },\n }}\n />\n \n \n
\n )\n}\n\nexport default ColorModeToggle\n","/*@jsxRuntime classic @jsx React.createElement @jsxFrag React.Fragment*/\nimport {useMDXComponents as _provideComponents} from \"@mdx-js/react\";\nimport React from \"react\";\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n h2: \"h2\",\n p: \"p\",\n a: \"a\",\n br: \"br\",\n strong: \"strong\",\n hr: \"hr\",\n ul: \"ul\",\n li: \"li\",\n h3: \"h3\",\n h4: \"h4\",\n ol: \"ol\"\n }, _provideComponents(), props.components);\n return React.createElement(React.Fragment, null, React.createElement(_components.h2, null, \"About Me\"), \"\\n\", React.createElement(_components.p, null, \"(En)\\nNaoto Nishida is a 1st year PhD candidate in the Graduate School of Interdisciplinary Information Studies, at \", React.createElement(_components.a, {\n href: \"https://www.iii.u-tokyo.ac.jp/\"\n }, \"University of Tokyo\"), \", working with \", React.createElement(_components.a, {\n href: \"https://lab.rekimoto.org/members/yoshio-ishiguro/\"\n }, \"Yoshio Ishiguro\"), \" and \", React.createElement(_components.a, {\n href: \"https://lab.rekimoto.org/members/rekimoto/\"\n }, \"Jun Rekimoto\"), \".\\nPreviously, I was working with Prof. \", React.createElement(_components.a, {\n href: \"https://lab.rekimoto.org/members/rekimoto/\"\n }, \"Jun Rekimoto\"), \" in my master's, with Prof. \", React.createElement(_components.a, {\n href: \"https://www.iplab.cs.tsukuba.ac.jp/~shizuki/index-e.html\"\n }, \"Buntarou Shizuki\"), \" in my bachelor's, with Prof. \", React.createElement(_components.a, {\n href: \"https://hci.prof/\"\n }, \"Xiang Anthony Chen\"), \" while I was a visiting scholar at \", React.createElement(_components.a, {\n href: \"https://www.ucla.edu/\"\n }, \"UCLA\"), \", and Dr. \", React.createElement(_components.a, {\n href: \"https://sites.google.com/view/ikema2\"\n }, \"Kaori Ikematsu\"), \" while my internship at Yahoo!JAPAN.\\nHis research interests lie widely in Human-Computer Interaction, Human-AI Interaction, Natural Language Processing and Machine Learning, especially ones relevant to language, learning, or communication(e.g., AI-based learning, AI-assisted communication, etc).\"), \"\\n\", React.createElement(_components.p, null, \"(Ja)\\n\", React.createElement(_components.a, {\n href: \"https://www.iii.u-tokyo.ac.jp/\"\n }, \"東京大学大学院学際情報学府\"), \"の博士1年生です (指導教員:\", React.createElement(_components.a, {\n href: \"https://lab.rekimoto.org/members/yoshio-ishiguro/\"\n }, \"石黒祥生\"), \"先生, 副指導: \", React.createElement(_components.a, {\n href: \"https://lab.rekimoto.org/members/rekimoto/\"\n }, \"暦本純一\"), \"先生).\\n修士時代には\", React.createElement(_components.a, {\n href: \"https://lab.rekimoto.org/members/rekimoto/\"\n }, \"暦本純一\"), \"先生,学部時代には\", React.createElement(_components.a, {\n href: \"https://www.iplab.cs.tsukuba.ac.jp/~shizuki/\"\n }, \"志築文太郎\"), \"先生,\", React.createElement(_components.a, {\n href: \"https://www.ucla.edu/\"\n }, \"UCLA\"), \"の留学時代には\", React.createElement(_components.a, {\n href: \"https://hci.prof/\"\n }, \"Xiang Anthony Chen\"), \"先生,Yahoo!JAPAN研究所でのインターン時代には\", React.createElement(_components.a, {\n href: \"https://sites.google.com/view/ikema2\"\n }, \"池松香\"), \"先生にお世話になっていました.\", React.createElement(_components.br), \"\\n\", \"言語学習,映画鑑賞,フリーマーケット巡りおよびスポーツ(柔術,登山)が好きです.\", React.createElement(_components.br), \"\\n\", \"AIと人間のインタラクション(例えばAIを用いた学習支援や技能習得,AIとの対話など)に興味があります.\"), \"\\n\", React.createElement(_components.p, null, React.createElement(_components.strong, null, React.createElement(\"u\", null, React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1N6G3iBiAMTbzCHQg2jKHWKBHp70PWHFQ/view?usp=sharing\"\n }, \"Curriculum Vitae\")))), \"\\n\", React.createElement(_components.p, null, React.createElement(_components.strong, null, \"Email:\"), \" nawta [at] g.ecc.u-tokyo.ac.jp\"), \"\\n\", React.createElement(_components.p, null, React.createElement(_components.strong, null, \"Address:\"), \" Room A102, Daiwa Ubiquitous Computing Research Building, 7-3-1, Hongo, Bunkyo-ku, Tokyo 113-8654, Japan.\"), \"\\n\", React.createElement(_components.hr), \"\\n\", React.createElement(_components.h2, null, \"News\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.12 One paper got accepted to \", React.createElement(_components.a, {\n href: \"https://iui.acm.org/2025/\"\n }, \"IUI 2025\"), \"!\"), \"\\n\", React.createElement(_components.li, null, \"2024.12 Received Leave a Nest Grant Incu-be Incentive Award!\"), \"\\n\", React.createElement(_components.li, null, \"2024.12 Enjoyed SV at SIGGRAPH Asia 2024:)\"), \"\\n\", React.createElement(_components.li, null, \"2024.11 Participating \", React.createElement(_components.a, {\n href: \"https://www.acc.go.kr/en/event.do?PID=0302&action=Read&bnkey=EM_0000007969\"\n }, \"ACC CREATORS Residency 2024\"), \" as a collaborator with \", React.createElement(_components.a, {\n href: \"https://ryutaaoki.jp/\"\n }, \"Ryuta Aoki\"), \"'s artwork :)\"), \"\\n\"), \"\\n\", React.createElement(\"small\", null, React.createElement(\"details\", null, React.createElement(\"summary\", null, \"Read More\"), React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.10 Enjoyed my stay at Pittsburgh! Yeee!\"), \"\\n\", React.createElement(_components.li, null, \"2024.10 Submitted One paper to \", React.createElement(_components.a, {\n href: \"https://iui.acm.org/2025/\"\n }, \"IUI 2025\"), \"!\"), \"\\n\", React.createElement(_components.li, null, \"2024.08 One demo paper got accepted \", React.createElement(_components.a, {\n href: \"https://uist.acm.org/2024/\"\n }, \"UIST 2024\"), \"!\"), \"\\n\", React.createElement(_components.li, null, \"2024.03 I graduated from my master's! now I'm a PhD candidate!\"), \"\\n\", React.createElement(_components.li, null, \"2024.02 My course work on reinforcement learning got selected as one of the excellent works! Check our \", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1ZxZ6zm2DwHUqnFqtQskJjIxW03lqxJpg/view?usp=sharing\"\n }, \"paper\"), \" and \", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/131KIxNktSpwvC5Ta4RMRBIVFFKvPB380/view?usp=sharing\"\n }, \"poster\")), \"\\n\", React.createElement(_components.li, null, \"2024.02 My work got awarded at Telecommunication Interdisciplinary Research Award!\"), \"\\n\", React.createElement(_components.li, null, \"2024.02 Our work was selected as an Excellent Work at \", React.createElement(_components.a, {\n href: \"https://deeplearning.jp/lectures/world-model-2023/\"\n }, \"World Model and Intelligence\"), \" Final Course Project\"), \"\\n\", React.createElement(_components.li, null, \"2024.02 We got Best Prototype Award at \", React.createElement(_components.a, {\n href: \"https://tei.acm.org/2024/\"\n }, \"TEI 2024\"), \" Student Design Competition!\"), \"\\n\", React.createElement(_components.li, null, \"2024.02 One paper got accepted to \", React.createElement(_components.a, {\n href: \"https://sites.google.com/cluster.mu/1st-ws-seamless-reality/\"\n }, \"IEEE VR 2024 Workshop\")), \"\\n\", React.createElement(_components.li, null, \"2024.01 I defended my master's thesis!\"), \"\\n\", React.createElement(_components.li, null, \"2024.01 I submitted one paper to \", React.createElement(_components.a, {\n href: \"https://sites.google.com/cluster.mu/1st-ws-seamless-reality/\"\n }, \"IEEE VR 2024 Workshop\")), \"\\n\", React.createElement(_components.li, null, \"2024.01 I submitted my master's thesis!\"), \"\\n\", React.createElement(_components.li, null, \"2023.11 One paper got accepted to \", React.createElement(_components.a, {\n href: \"https://tei.acm.org/2024/\"\n }, \"TEI 2024\")), \"\\n\", React.createElement(_components.li, null, \"2023.10 I submitted one paper to \", React.createElement(_components.a, {\n href: \"https://tei.acm.org/2024/\"\n }, \"TEI 2024\")), \"\\n\", React.createElement(_components.li, null, \"2023.10 Our work 'Ichiyo' got an Honorable Mention at \", React.createElement(_components.a, {\n href: \"https://newhope.g-mark.org/award/2023/23NHA040011.html\"\n }, \"GOOD DESIGN NEW HOPE AWARD 2023\")), \"\\n\", React.createElement(_components.li, null, \"2023.10 I reviewed one paper from \", React.createElement(_components.a, {\n href: \"https://aaai.org/aaai-conference/\"\n }, \"AAAI-24\")), \"\\n\", React.createElement(_components.li, null, \"2023.09 I reviewed one paper from \", React.createElement(_components.a, {\n href: \"https://chi2024.acm.org/\"\n }, \"CHI 2024\")), \"\\n\", React.createElement(_components.li, null, \"2023.09 I presented a paper at \", React.createElement(_components.a, {\n href: \"https://mobilehci.acm.org/2023/index.php\"\n }, \"mobileHCI 2023\"), \" at Athens :)\"), \"\\n\", React.createElement(_components.li, null, \"2023.08 I just passed QE!\"), \"\\n\", React.createElement(_components.li, null, \"2023.07 I presented a poster at \", React.createElement(_components.a, {\n href: \"http://cvim.ipsj.or.jp/MIRU2023/company-event/#huawei-event\"\n }, \"HUAWEI TOKYO RESEARCH CENTER Discussion Night in MIRU2023\")), \"\\n\", React.createElement(_components.li, null, \"2023.06 I Attended \", React.createElement(_components.a, {\n href: \"https://sigchi.jp/seminar/chi2023/\"\n }, \"CHI study meeting(CHI勉強会)\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2023.06 One paper got accepted to mobileHCI.\"), \"\\n\", React.createElement(_components.li, null, \"2023.05 I started to join \", React.createElement(_components.a, {\n href: \"https://www.cyberagent.co.jp/careers/special/students/tech_lounge/\"\n }, \"CA Tech Lounge\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2023.05 I submitted a revised paper to mobileHCI.\"), \"\\n\", React.createElement(_components.li, null, \"2023.04 I served as a student volunteer at CHI 2023.\"), \"\\n\", React.createElement(_components.li, null, \"2023.04 I have come back to Japan! The researcher life in UCLA is totally mind blowing!\"), \"\\n\", React.createElement(_components.li, null, \"2023.04 \", React.createElement(_components.a, {\n href: \"https://www.tandfonline.com/doi/full/10.1080/10447318.2023.2192586\"\n }, \"My co-author journal\"), \" is now on online.\"), \"\\n\", React.createElement(_components.li, null, \"2023.03 I am selected for Gary Marsden Travel Award for CHI 2023!\"), \"\\n\", React.createElement(_components.li, null, \"2023.03 The 1st notification of mobileHCI just came back. Let's revise:)\"), \"\\n\", React.createElement(_components.li, null, \"2023.03 My co-author paper is accepted for International Journal of Human-Computer Interaction (IJHCI).\"), \"\\n\", React.createElement(_components.li, null, \"2023.02 \", React.createElement(_components.a, {\n href: \"http://id.nii.ac.jp/1001/00224250/\"\n }, \"My paper IPSJ Journal\"), \" is now on online. Kudos to IPSJ for the Valentine's present:)\"), \"\\n\", React.createElement(_components.li, null, \"2023.01 I reviewed one CHI LBW paper.\"), \"\\n\", React.createElement(_components.li, null, \"2023.01 I am selected for Study Abroad Scholarships from the University of Tokyo(100,000 JPY/month, for 3 months)\"), \"\\n\", React.createElement(_components.li, null, \"2023.01 My co-author paper is submitted to \", React.createElement(_components.a, {\n href: \"https://www.anlp.jp/proceedings/annual_meeting/2023/\"\n }, \"NLP2023\"), \"!\"), \"\\n\", React.createElement(_components.li, null, \"2023.01 I arrived at UCLA!\"), \"\\n\", React.createElement(_components.li, null, \"2022.12 I demonstrated our Traverco AR at \", React.createElement(_components.a, {\n href: \"https://www.wiss.org/WISS2022/\"\n }, \"WISS2022\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.12 I re-submitted CHI Paper.\"), \"\\n\", React.createElement(_components.li, null, \"2022.11 I gave a short presentation at \", React.createElement(_components.a, {\n href: \"https://sigchi.jp/seminar/uist2022/\"\n }, \"UIST study meeting 2022\"), React.createElement(\"small\", null, \" [\", React.createElement(_components.a, {\n href: \"https://youtu.be/TPrJvXp5lnA?t=3358\"\n }, \"video archive\"), \"]\"), \"! Had lot of fun with HCI colleagues there.\"), \"\\n\", React.createElement(_components.li, null, \"2022.11 I demonstrated our works at \", React.createElement(_components.a, {\n href: \"https://rkmtlab.github.io/openhouse2022/\"\n }, \"Rekimoto Lab Openhouse\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.11 One paper got accepted to \", React.createElement(_components.a, {\n href: \"https://www.wiss.org/WISS2022/\"\n }, \"WISS2022\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.11 I demonstrated two art works at \", React.createElement(_components.a, {\n href: \"https://archive.iiiexhibition.com/log/i3e24/\"\n }, \"東京大学制作展 True 2022\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.11 One paper got accepted to \", React.createElement(_components.a, {\n href: \"https://www.ipsj.or.jp/journal/cfp/23-E.html\"\n }, \"IPSJ Journal\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.11 One paper got Revise & Resubmit decision from \", React.createElement(_components.a, {\n href: \"https://chi2023.acm.org\"\n }, \"CHI2023\"), \". I'll do my best!\"), \"\\n\", React.createElement(_components.li, null, \"2022.10 I'm visiting \", React.createElement(_components.a, {\n href: \"https://hci.ucla.edu\"\n }, \"UCLA HCI Research\"), \" from next Jan to Apr! Really excited to collaborate with Prof. Anthony and his talented students there!\"), \"\\n\", React.createElement(_components.li, null, \"2022.09 I submitted one paper to \", React.createElement(_components.a, {\n href: \"https://chi2023.acm.org\"\n }, \"CHI2023\"), \", and one revised paper to \", React.createElement(_components.a, {\n href: \"https://www.ipsj.or.jp/journal/cfp/23-E.html\"\n }, \"IPSJ Journal\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.08 One paper notified as conditionally accepted to \", React.createElement(_components.a, {\n href: \"https://www.ipsj.or.jp/journal/cfp/23-E.html\"\n }, \"IPSJ Journal\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.07 I am selected for Charitable Trust Hisao Iwai Memorial Tokyo Scholarship Education Fund(120,000 JPY/month, for 2 years), it was an honor to give a speech as a representative of the selected students.\"), \"\\n\", React.createElement(_components.li, null, \"2022.07 I got exemptions: enrollment fee and tuition(2022 Spring).\"), \"\\n\", React.createElement(_components.li, null, \"2022.07 I demonstrated two art works at \", React.createElement(_components.a, {\n href: \"https://iiiexhibition.com/log/iiiEx2022/\"\n }, \"東京大学制作展 EXTRA 2022\"), \".\"), \"\\n\", React.createElement(_components.li, null, \"2022.06 I am selected for Japan Student Service Organization Scholarship(88,000 JPY/month, for 2 years).\"), \"\\n\", React.createElement(_components.li, null, \"2022.06 I visited Cornell for a presentation at L@S2021. Great to meet Mose and the attendees there.\"), \"\\n\", React.createElement(_components.li, null, \"2022.05 I submitted one paper to IPSJ Journal.\"), \"\\n\", React.createElement(_components.li, null, \"2022.03 One paper got accepted to Learning at Scale 2022 Work-in-Progress which I will be attending in-person!\"), \"\\n\", React.createElement(_components.li, null, \"2022.02 My senior thesis got accepted.\"), \"\\n\", React.createElement(_components.li, null, \"2021.12 One paper got accepted to WISS 2021 Workshop.\"), \"\\n\", React.createElement(_components.li, null, \"2021.10 I'll be serving as a student volunteer at SIGGRAPH Asia 2021.\"), \"\\n\", React.createElement(_components.li, null, \"2021.03 One Paper got accepted to ACM CHI IICW 2021 Workshop.\"), \"\\n\"))), \"\\n\", React.createElement(_components.hr), \"\\n\", React.createElement(_components.h2, null, \"My Activities\"), \"\\n\", React.createElement(_components.p, null, \"Below are English-translated excerpts from my \", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1N6G3iBiAMTbzCHQg2jKHWKBHp70PWHFQ/view?usp=sharing\"\n }, \"CV (En/Ja together)\"), \".\"), \"\\n\", React.createElement(_components.h3, null, \"Publications\"), \"\\n\", React.createElement(_components.h4, null, \"Journal\"), \"\\n\", React.createElement(_components.ol, null, \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida*\"), \", Kaori Ikematsu*, Junichi Sato, Shota Yamanaka, Kota Tsubouchi (*co-1st authors).\\n\", React.createElement(\"strong\", null, \"Single-tap Latency Reduction with Single- or Double- tap Prediction,\"), \"\\nProceedings of the ACM on Human-Computer Interaction (PACMHCI, presented at MobileHCI ’23), No.7, Article 224, September. 2023. 26 pages. DOI:\", React.createElement(_components.a, {\n href: \"https://doi.org/10.1145/3604271\"\n }, \"10.1145/3604271\")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida\"), \", Kaisei Yokoyama, Buntarou Shizuki.\\n\", React.createElement(\"strong\", null, \"Implementation of Language Learning Assistance System by Video Playback Speed Adjustment Based on Facial Expressions and Evaluation of Its Effect on Learners’ Comprehension,\"), \"\\nJournal of Information Processing Society of Japan, vol.64, No.2, February. 2023. 11 pages. in Japanese. DOI: \", React.createElement(_components.a, {\n href: \"http://doi.org/10.20729/00224250\"\n }, \"10.20729/00224250\"), \". \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1hXnVU-i2_RrmwWSJcA_93rZ8v_aS734s/view?usp=sharing\"\n }, \"Paper\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, \"Takuma Hidaka, Yusuke Sei, \", React.createElement(\"u\", null, \"Naoto Nishida\"), \", Shota Yamanaka, Buntarou Shizuki.\\n\", React.createElement(\"strong\", null, \"Advanced Investigation of Steering Performance with Error-Accepting Delays,\"), \"\\nInternational Journal of Human-Computer Interaction (IJHCI), April. 2023. 14 pages. DOI: \", React.createElement(_components.a, {\n href: \"https://www.tandfonline.com/doi/full/10.1080/10447318.2023.2192586\"\n }, \"10.1080/10447318.2023.2192586\")), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.h4, null, \"Long Paper\"), \"\\n\", React.createElement(_components.ol, null, \"\\n\", React.createElement(_components.li, null, React.createElement(\"u\", null, \"Naoto Nishida\"), \", Yoshio Ishiguro, Jun Rekimoto, Naomi Yamashita.\\n\", React.createElement(\"strong\", null, \"Dynamik: Syntactically-Driven Dynamic Font Sizing for Emphasis of Key Information,\"), \"\\nProceedings of the 30th International Conference on Intelligent User Interfaces (IUI ’25), ACM (tba)\"), \"\\n\"), \"\\n\", React.createElement(_components.h4, null, \"Short Paper\"), \"\\n\", React.createElement(_components.ol, null, \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida\"), \", Hinako Nozaki, Buntarou Shizuki.\\n\", React.createElement(\"strong\", null, \"Laugh at Your Own Pace: Basic Performance Evaluation of Language Learning Assistance by Adjustment of Video Playback Speeds Based on Laughter Detection,\"), \"\\nIn Proceedings of the Ninth ACM Conference on Learning @ Scale (L@S ’22), June. 2022. 6 pages. DOI: \", React.createElement(_components.a, {\n href: \"https://doi.org/10.1145/3491140.3528299\"\n }, \"10.1145/3491140.3528299\"), \". \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.iplab.cs.tsukuba.ac.jp/paper/international/nishida_las2022.pdf\"\n }, \"Paper\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, \"Koki Tamura, Nobushige Doi, \", React.createElement(\"u\", null, \"Naoto Nishida\"), \", Junjie Chen, Hitomi Yanaka.\\n\", React.createElement(\"strong\", null, \"Japanese Fluency Filtering Using Surprisal,\"), \"\\n29th of the Association for Natural Language Processing (NLP2023), March. 2023. 6 pages. in Japanese. \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1xYvQVpj7HwvHLk7hR9dvTfPNsWCzUJ8z/view?usp=sharing\"\n }, \"Paper\"), \"][\", React.createElement(_components.a, {\n href: \"https://www.anlp.jp/proceedings/annual_meeting/2023/\"\n }, \"HP\"), \"]\")), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.h4, null, \"Workshops/Poster\"), \"\\n\", React.createElement(_components.ol, null, \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida\"), \", Hirotaka Hiraki, Jun Rekimoto, Yoshio Ishiguro.\\n\", React.createElement(\"strong\", null, \"Real-Time Word-Level Temporal Segmentation in Streaming Speech Recognition.\"), \"\\n37th Annual ACM Symposium on User Interface Software and Technology (UIST ’24), October 2024. 3 pages. DOI:\", React.createElement(_components.a, {\n href: \"https://doi.org/10.1145/3672539.3686738\"\n }, \"10.1145/3672539.3686738\"), \". \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1M5EucuX5vodQgKOk2A1gGYQDPAnxrLX_/view?usp=sharing\"\n }, \"Poster\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida\"), \", Jun Rekimoto.\\n\", React.createElement(\"strong\", null, \"SUMART: SUMmARizing Translation from Wordy to Concise Expression.\"), \"\\n31st the IEEE Conference on Virtual Reality and 3D User Interfaces (1st Workshop on Seamless Reality: AR Technologies for Seamless Perception and Cognition between Cyber and Physical Spaces), March 2024. 3 pages. DOI: \", React.createElement(_components.a, {\n href: \"https://doi.org/10.1109/VRW62533.2024.00119\"\n }, \"10.1109/VRW62533.2024.00119\"), \". \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1MM81an2ks6_z8rHhjEs3aaXJtxAegD_6/view?usp=sharing\"\n }, \"Paper\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida*\"), \", Hirofumi Shibata*, Ayako Yogo*, Yu Shimada*, Toma Ishii*(*co-1st authors).\\n\", React.createElement(\"strong\", null, \"Ichiyo: Fragile and Transient Interaction in Neighborhood.\"), \"\\nEighteenth International Conference on Tangible, Embedded, and Embodied Interaction (TEI ’24 Student Design Competition), February 2024. 3 pages. DOI: \", React.createElement(_components.a, {\n href: \"https://doi.org/10.1145/3623509.3635866\"\n }, \"10.1145/3623509.3635866\"), \". \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1XJeN_yUejc5OVCOIMvGv5F9IdAIMGQ0i/view?usp=sharing\"\n }, \"Paper\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1Rn16XSD0yEsv5f0ME2-vTtUw1qTBfTWK/view?usp=sharing\"\n }, \"Supplemental Video\"), React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1XFnZUYT9VDWZyIfjNWg4R1Q_R8-BnjpK/view?usp=sharing\"\n }, \"Slide\"), \"] \")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida\"), \", Sakiho Horibe, Jun Rekimoto.\\n\", React.createElement(\"strong\", null, \"Traverco AR: Transcription-assisted Verbal Communication via AR glasses.\"), \"\\n30th Workshop on Interactive Systems and Software (WISS 2022 Demo/Poster).\\nDecember 2022. 3 pages. in Japanese.\", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.wiss.org/WISS2022Proceedings/data/1-A02.pdf\"\n }, \"Paper\"), \"][\", React.createElement(_components.a, {\n href: \"https://www.wiss.org/WISS2022Proceedings/\"\n }, \"Workshop Page\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, React.createElement(\"u\", null, \"Naoto Nishida\"), \", Hinako Nozaki, Buntarou Shizuki.\\n\", React.createElement(\"strong\", null, \"Language Learning Assistance by Automatic Adjustment of Playback Speed Based on Facial Expression.\"), \"\\n29th Workshop on Interactive Systems and Software (WISS 2021 Demo/Poster).\\nDecember 2021. 3 pages. in Japanese. \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.wiss.org/WISS2021Proceedings/data/1-A09.pdf\"\n }, \"Paper\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1kCp8FUoCV5tiuWHWerNOnFTmM6yz3i6i/view?usp=sharing\"\n }, \"Poster1\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1sLXqn93z4wl_Ym30pDtErbGgvjnEJTmN/view?usp=sharing\"\n }, \"Poster2\"), \"][\", React.createElement(_components.a, {\n href: \"https://www.wiss.org/WISS2021Proceedings/\"\n }, \"Workshop Page\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(_components.p, null, \"Yuga Tsukuda, \", React.createElement(\"u\", null, \"Naoto Nishida\"), \", Jun Lu, and Yoichi Ochiai.\\n\", React.createElement(_components.strong, null, \"Insect-Computer Hybrid Speaker: Speaker using Chirp of the Cicada Controlled by Electrical Muscle Stimulation.\"), \"\\nACM CHI 2021 Workshop on Design and Creation of Inclusive User Interactions Through Immersive\\nMedia (ACM CHI IICW ’21). May 2021. 5 pages. \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1Gv5o8t94oQg8jvn8UkxMBDoYoXVzPQkq/view\"\n }, \"Preprint\"), \"][\", React.createElement(_components.a, {\n href: \"https://sites.google.com/view/acm-chi-iicw21/home\"\n }, \"Workshop Page\"), \"][\", React.createElement(_components.a, {\n href: \"https://www.youtube.com/watch?v=wdhv4QByH6c\"\n }, \"Demo Video\"), \"]\")), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Academic Services\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"RA\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.04-Present \", React.createElement(_components.a, {\n href: \"https://spring-gx.adm.s.u-tokyo.ac.jp/en/boost/\"\n }, \"BOOST NAIS\")), \"\\n\", React.createElement(_components.li, null, \"2023.10-2024.03 \", React.createElement(_components.a, {\n href: \"https://www.iiw.i.u-tokyo.ac.jp/en/\"\n }, \"International Graduate Program of Innovation for Intelligent World Program\")), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"Student Volunteer\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.12 SIGGRAPH Asia 2024 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1bH6Dv31OEI1QUOH4jbDCPDQY0ZCOyxcC/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2024.03 IEEE VR 2024\"), \"\\n\", React.createElement(_components.li, null, \"2024.02 TEI 2024\"), \"\\n\", React.createElement(_components.li, null, \"2023.04 CHI 2023\"), \"\\n\", React.createElement(_components.li, null, \"2021.12 SIGGRAPH Asia 2021 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/107YQz5yFzuxs_93eLvYzCeg3JBX1ekLW/view?usp=sharing\"\n }, \"Acceptance Mail\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1zZF7-mheNJW0H5B6Yz8a1l8N7bE7f0iV/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2018.12 SIGGRAPH Asia 2018 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1eqnw1YRtWk7D4Fm7W1RC2fs7qrDXsMS5/view?usp=sharing\"\n }, \"Acceptance Mail\"), \"]\")), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"Part Time Jobs\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2023.12 31st Workshop on Interactive Systems and Software(WISS2023)\"), \"\\n\", React.createElement(_components.li, null, \"2021.12 29th Workshop on Interactive Systems and Software(WISS2021)\"), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"Internships\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.04-06 GENIAC Program at Matsuo Lab\"), \"\\n\", React.createElement(_components.li, null, \"2022.03 OIST Science Challenge 2022 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1yk5evdEUg2J872brfN5ucY3_iirmvh6r/view?usp=sharing\"\n }, \"Certificate\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1sdwNyr9eWYqfTge0oN01w2uCJ28088pW/view?usp=sharing\"\n }, \"Presentation Slide\"), \"]\")), \"\\n\"), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Industory Services\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"RA\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.04-11 \", React.createElement(_components.a, {\n href: \"https://tier4.jp/\"\n }, \"TIER IV\"), \" Student Researcher\"), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"Internships\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2023.05-11 \", React.createElement(_components.a, {\n href: \"https://www.cyberagent.co.jp/en/\"\n }, \"CyberAgent, Inc.\"), \" - \", React.createElement(_components.a, {\n href: \"https://www.cyberagent.co.jp/careers/special/students/tech_lounge/\"\n }, \"CA Tech Lounge\"), \" for ML Engineer / Data Scientist \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1aG17IjUN2_xhnTuxavVua8sig04GXH9w/view?usp=sharing\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.04-2023.09 \", React.createElement(_components.a, {\n href: \"https://en.wikipedia.org/wiki/Yahoo_Japan\"\n }, \"Yahoo! JAPAN\"), \" R&D - Researcher\"), \"\\n\", React.createElement(_components.li, null, \"2020.08 \", React.createElement(_components.a, {\n href: \"https://global.rakuten.com/corp/\"\n }, \"Rakuten\"), \" \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://github.com/nawta/TeamA\"\n }, \"Project Repository\"), \"]\"), \" - Engineer\"), \"\\n\", React.createElement(_components.li, null, \"2020.08 \", React.createElement(_components.a, {\n href: \"https://www.teamlab.art/\"\n }, \"Teamlab\"), \" - Engineer\", React.createElement(_components.br), \"\\n\", React.createElement(\"small\", null, \"etc...\")), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"Part Time Jobs\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.11-12 \", React.createElement(_components.a, {\n href: \"https://volocitee.com/\"\n }, \"VOLOCITEE Inc.\"), \" - Engineer\"), \"\\n\", React.createElement(_components.li, null, \"2023.01-06 \", React.createElement(_components.a, {\n href: \"https://matsuo-institute.com/\"\n }, \"Matsuo Institute\"), \" - R&D Engineer\"), \"\\n\", React.createElement(_components.li, null, \"2021.01-09 \", React.createElement(_components.a, {\n href: \"https://smt-sol.jp/\"\n }, \"Smart Solutions\"), \" - Engineer\"), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"Hackathon\", \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2019.07-08 Hack U 2019 TOKYO \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://hacku.yahoo.co.jp/hacku2019tokyo/\"\n }, \"Detail\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2019.07 IBM Hackathon \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://github.com/nawta/otomo\"\n }, \"Project Page\"), \"]\"), \" \", React.createElement(\"small\", null, \"etc...\")), \"\\n\"), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Award\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.12 Leave a Nest Grant Incu-be Incentive Award\"), \"\\n\", React.createElement(_components.li, null, \"2024.03 Telecommunication Interdisciplinary Research Award \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1jArYlNjqPhORauvgeJpT6CJ-gPPQTMo-/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2024.02 Excellent Project - World Model and Intelligence 2023 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1ZxZ6zm2DwHUqnFqtQskJjIxW03lqxJpg/view?usp=sharing\"\n }, \"Paper\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/131KIxNktSpwvC5Ta4RMRBIVFFKvPB380/view?usp=sharing\"\n }, \"Poster\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2024.02 TEI 2024 Student Design Competition - Best Prototype Award \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1b5kn71FFk0SbktvuEMEXdPh6o_OcUeVP/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.10 GOOD DESIGN NEW HOPE AWARD 2023 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://newhope.g-mark.org/award/2023/23NHA040011.html\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1V8C1y-mHujYVzm0flEFRshk5hD2Il9JK/view?usp=sharing\"\n }, \"HP backup\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1nyr1hWeFxnmlV4HI50Psow37eVAcQh58/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.03 Dean's Award from University of Tsukuba \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1VVcvHf4D0OGzFqIJX4q6-E5yZn-uRA1m/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.03 Excellent Foreign Language Activity - 1st Prize \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1lFcv0DKXW69NMg9KNMNEghpnis63Wyvn/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2020.08 National Russian Language Essay Competition \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1wgKDe_AYS1awr0ZMvtacNmvN3fow749w/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2019.09 FUJIFILM Hackathon - 1st Prize\"), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Grants\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.10 SPRING GX International Conference Dispatch Program (for UIST 2024) 300,000 JPY\"), \"\\n\", React.createElement(_components.li, null, \"2024.03-2027.03 Iue Memorial Foundation Scholarship 50,000 JPY/month\"), \"\\n\", React.createElement(_components.li, null, \"2024.02 Telecommunication Interdisciplinary Research Award 300,000 JPY\"), \"\\n\", React.createElement(_components.li, null, \"2024.04-2027.03 The Univerisity of Tokyo PhD Fellowship 280,000 JPY/month\"), \"\\n\", React.createElement(_components.li, null, \"2023.10-2024.03 The Univerisity of Tokyo PhD Fellowship 180,000 JPY/month\"), \"\\n\", React.createElement(_components.li, null, \"2023.09 Google East Asia Student Travel Grants (for MobileHCI 2023) 1,000 USD\"), \"\\n\", React.createElement(_components.li, null, \"2023.04 Gary Marsden Travel Award (for CHI 2023) 2,500 USD\"), \"\\n\", React.createElement(_components.li, null, \"2023.01-2023.04 Study Abroad Scholarships from the University of Tokyo 100,000 JPY/month\"), \"\\n\", React.createElement(_components.li, null, \"2022.04-2024.03 Charitable Trust Hisao Iwai Memorial Tokyo Scholarship Education Fund 120,000 JPY/month\"), \"\\n\", React.createElement(_components.li, null, \"2022.04-2024.03 Japan Student Service Organization (JASSO) 88,000 JPY/month\"), \"\\n\", React.createElement(_components.li, null, \"2019.03 University of Tsukuba Overseas Study Support Program 100,000 JPY\"), \"\\n\", React.createElement(_components.li, null, \"2018.08 University of Tsukuba Overseas Study Support Program 100,000 JPY\"), \"\\n\", React.createElement(_components.li, null, \"2018.05 Advancing Researcher Experience Program (ARE) 50,000JPY \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.are.tsukuba.ac.jp/wp-content/uploads/sites/25/2019/01/ARE_NEWS_No.8.pdf\"\n }, \"Brochure\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Fee Exemptions\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2023.01 Tuition Fee (Full, 267900 JPY)\"), \"\\n\", React.createElement(_components.li, null, \"2022.07 Tuition Fee (Full, 267900 JPY)\"), \"\\n\", React.createElement(_components.li, null, \"2022.04 Admission Fee (Half, 141000 JPY)\"), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Misc Activities\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.12 UIST study meeting 2024 - presenter\"), \"\\n\", React.createElement(_components.li, null, \"2024.11 2024 Asia Culture Center Global Experts Workshop IV - Presenter \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1UgWOzPpVLpY1YUpzdtAUyfAX6X9iL3W-/view?usp=sharing\"\n }, \"Submitted Portfolio\"), \"][\", React.createElement(_components.a, {\n href: \"https://www.acc.go.kr/en/education.do?PID=0402&action=Read&bnkey=EM_0000007705\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1DgQ4XVtQ7NB73fG9kQC3EEk3SmpFDb8N/view?usp=sharing\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2024.11 Asia Culture Center CREATORS Residency 2024 Open Studio “AI·Human·Multiverse” - Exhibitor \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.acc.go.kr/en/event.do?PID=0302&action=Read&bnkey=EM_0000007969\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1DgQ4XVtQ7NB73fG9kQC3EEk3SmpFDb8N/view?usp=sharing\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.12 UIST study meeting 2023 - presenter \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://sigchi.jp/seminar/uist2023/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1lGucYzuBAjO6bGUwnfJzCDBzgxkBajuc/view?usp=sharing\"\n }, \"HP backup\"), \"]\"), React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1tu-_TmOGqQjKFhOKYQheVb9jiV0kNWGf/view?usp=sharing\"\n }, \"Slide\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.07 \", React.createElement(_components.a, {\n href: \"http://cvim.ipsj.or.jp/MIRU2023/company-event/#huawei-event\"\n }, \"HUAWEI TOKYO RESEARCH CENTER Discussion Night in MIRU2023\"), \" - presenter \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/11uin8kvfj0gNNoQnWPcssoV-5wG_9MbF/view?usp=sharing\"\n }, \"Poster\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1U79-CAQFCOnalD6LXfRBDA9iNOOQtjqF/view?usp=drive_link\"\n }, \"HP backup\"), \"][\", React.createElement(_components.a, {\n href: \"https://frontechno.jp/huaweijapan-miru2023/\"\n }, \"Huawei HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/128x6CDjwFc3L-t3AO5z-7cY0malhKFkc/view?usp=drive_link\"\n }, \"Huawei HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.06 CHI study meeting 2023 - presenter \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://sigchi.jp/seminar/chi2023/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1Mj3lHw4WfrutQdUwPzksh9Aa6GzNgZiM/view?usp=drive_link\"\n }, \"HP backup\"), \"]\"), React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.youtube.com/live/uSbZQEwEJ7c?feature=share&t=11854\"\n }, \"YouTube Archive\"), \"]\"), React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1alvf-ryJyHf6bD0veveRFUUNdi92lIeM/view?usp=sharing\"\n }, \"Slide\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.11 UIST study meeting 2022 - presenter \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://sigchi.jp/seminar/uist2022/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1AaxWP8VfXKZ3g-TZ2EBRHhDpQ2fj2Tqy/view?usp=drive_link\"\n }, \"HP backup\"), \"]\"), React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://youtu.be/TPrJvXp5lnA?t=3358\"\n }, \"YouTube Archive\"), \"]\"), React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1fiw-YpV0k_ka-qf_UazsBafxPlZZEpo-/view?usp=sharing\"\n }, \"Slide\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.04-2023.03 iiiExhibition - Web Team leader \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.iiiexhibition.com/\"\n }, \"Web\"), \"][\", React.createElement(_components.a, {\n href: \"https://archive.iiiexhibition.com/log/iiiEx2022/\"\n }, \"HP 2022 Extra\"), \"][\", React.createElement(_components.a, {\n href: \"https://archive.iiiexhibition.com/log/i3e24/\"\n }, \"HP 2022 True\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1iwtzDFAYcxFnI7STy4Vn-lyYyaOnkqCW/view?usp=sharing\"\n }, \"HP 2022 Extra backup\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1fIAeyMqKXQ5JQn6ezeT2u7gNavabs9Cp/view?usp=sharing\"\n }, \"HP 2022 True backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.02 Tsukuba Global Plus - Completion \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://tgplus.hass.tsukuba.ac.jp/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1mpG5Yr8wgYG_7IE3WBhXTcIqfuRCYsom/view?usp=sharing\"\n }, \"HP backup\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/18BJmOkXnvL78ThvKYwtCDUsS5opcxcyK/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2020.01 The 5th Trilingual Day Forum in Tsukuba - Participated as a poster presenter \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"http://hdl.handle.net/2241/0002000207\"\n }, \"Report\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1MahOM7AfZDPPR-a9_duwx3jRNAgI_wow/view?usp=drive_link\"\n }, \"Report backup\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1zkwtWZRgpJAb1GMESonMEOVrUoXMxoL8/view?usp=sharing\"\n }, \"Poster\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2019.09 Japan-Russia Youth Forum in Saint Petersburg \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.jrex.or.jp/forum/russia-2019/\"\n }, \"Detail\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1_Fr9jMEzscERqbuuhsNxk4jdJK9Ze8aU/view?usp=sharing\"\n }, \"Presentation Slide\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1JnSZDkeW_ltBNTl5F6MDx1XjDOe5cV_M/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2019.06-2020.01 Special Project on Information Media\", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://github.com/nawta/compare_fullbody_detector\"\n }, \"Project Repository\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2019.02-2019.03 Study at Al-Farabi Kazakhstan National University \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://tsukuba.repo.nii.ac.jp/records/54482#.YfEnw1jP0c8\"\n }, \"Training Report\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1MLpWCguj9KcvKg7gMHqgnrn80w48FJL8/view?usp=sharing\"\n }, \"Presentation Slide\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2018.09 Study at Saint Petersburg University \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://tsukuba.repo.nii.ac.jp/records/49783#.YfEmdVjP0c8\"\n }, \"Training Report\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2018.05-2019.03 Advancing Researcher Experience Program \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/18a_aycEyQxSL5kK3kqKt6KfdxCYB5GU3/view?usp=sharing\"\n }, \"Poster\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2015.07 Student Ambassador Program in Charleroi(Belgium) and in Chantilly(France) \", React.createElement(\"small\", null, React.createElement(_components.a, {\n href: \"https://www.himeji-iec.or.jp/dispatch/2157\"\n }))), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Qualification\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2024.10 AI-Entrepreneurship Learning Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1sxnMYoDv1hbkxdeOdeh6J8YvqBtorgtl/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2024.05 Deep Reinforcement Learning Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1vddBPJ59ZF1hf0dZV1YZUhIfGhOVGaiI/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2024.03 World Models and Intelligence Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1hFR-HV3ZG7vEy4CN75ibVQW0Qy6meu8n/view?usp=sharing\"\n }, \"Certificate\"), \"][\", React.createElement(_components.a, {\n href: \"https://deeplearning.jp/lectures/world-model-2023/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1Ph8DOm2HtuNGNIjdfrNnTH2CmMJbLZ1t/view?usp=sharing\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.10 Large Language Models Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1RcvbpAA6xK4XIOOChzqaKzyigLQZmPbM/view?usp=sharing\"\n }, \"Certificate\"), \"][\", React.createElement(_components.a, {\n href: \"https://deeplearning.jp/llm2023/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1M8Hwewy2DxPQmwpC5sBau3p_ccdh-kCj/view?usp=drive_link\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.10 Financial Market Trading and Machine Learning Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1hwPKhcxoUVfwqtiDNwp9lh8Twi2ZnRQ-/view?usp=sharing\"\n }, \"Certificate\"), \"][\", React.createElement(_components.a, {\n href: \"https://deeplearning.jp/finance-2023sm/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1HIDWh30qvICigLRdoDryViwDo5YVzNcf/view?usp=drive_link\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.01 Google Cloud | Cloud Digital Leader \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.credential.net/4aafad6e-d25f-4b38-82ef-aa7bc5b1e35d?key=66b28286f80c003a70a988c08512add2c90677af9e7cc830a9644fa6590eb1c3\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.10 Deep Generative Models Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1ApN6U1WlnAfFagB6GS9cNJWvlulRyJS6/view?usp=sharing\"\n }, \"Certificate\"), \"][\", React.createElement(_components.a, {\n href: \"https://deeplearning.jp/deep-generative-model-2022sm/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1f2wUErZ8a1gEBOMNRSwyZ7OrL0WN-D4O/view?usp=drive_link\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.08 Fundamentals of Deep Learning Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1VbkhPRNjicFwAW7JZuoIXfQu_tH4l4dU/view?usp=share_link\"\n }, \"Certificate\"), \"][\", React.createElement(_components.a, {\n href: \"https://deeplearning.jp/lectures/dlb2022/\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1cOTxcE2S9tfQSHabqs1pWCF00INBVRDu/view?usp=drive_link\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.08 GCI Data Scientist Training Course - Completed \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1FM1qPjKi1zf0txbgNocN_8Nh9mTP8EdY/view?usp=sharing\"\n }, \"Certificate\"), \"][\", React.createElement(_components.a, {\n href: \"https://gci2.t.u-tokyo.ac.jp/archives/course/gci-2024-winter-6\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1CeDvWW9b34MSmQzYKNqCbOywuu6Z4MyU/view?usp=drive_link\"\n }, \"HP backup\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2022.03 Japan Statistical Society Certificate Data Science, Advanced \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/10nDfO4f51kpz5UlMkhIiBXE448PjPfPB/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2020.12 Applied Information Technology Engineer Examination \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1-GCWANGni2J1T_sd9twfeQ869s9xt8ts/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2020.12 CG Engineer Certificate, Expert\"), \"\\n\", React.createElement(_components.li, null, \"2020.08 EIKEN Grade 1 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1hD9Shd1p2eMKn5mdwah1lT3qxEbMpE-8/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2020.04 Driver's Licence\"), \"\\n\", React.createElement(_components.li, null, \"2019.11 Russian Language Proficiency Test Level 3 \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/12Xhs6H06H4WRSAzLnANF8PbwljbihaCC/view?usp=sharing\"\n }, \"Certificate\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Review\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"2023.11 Deep Learning 5 - Generative Models (Book in Japanese) \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://www.amazon.co.jp/dp/4814400594?tag=note0e2a-22&linkCode=ogi&th=1&psc=1\"\n }, \"Amazon Page\"), \"]\")), \"\\n\", React.createElement(_components.li, null, \"2023.10 AAAI-24 Student Program\"), \"\\n\", React.createElement(_components.li, null, \"2023.09 CHI 2024 Full Paper\"), \"\\n\", React.createElement(_components.li, null, \"2023.01 CHI 2023 LateBreakingWork\"), \"\\n\", React.createElement(_components.li, null, \"2022.04-2025.03(Expected) ‘Information Processing’ (Journal of Information Processing Society of Japan, in Japanese)\"), \"\\n\", React.createElement(_components.li, null, \"2021.12 Deep Learning 4 - Reignforcement Learning (Book in Japanese) \", React.createElement(\"small\", null, \"[\", React.createElement(_components.a, {\n href: \"https://onl.la/jLTZCyb\"\n }, \"Amazon Page\"), \"]\")), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Media/Press\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(\"small\", null, \"2023.11 Good Design 2023 New Hope Award Honorable Mention, The University of Tokyo III/GSII [\", React.createElement(_components.a, {\n href: \"https://www.iii.u-tokyo.ac.jp/news/2023110619679\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1i8plcpKQ7XAuKOgOwVn2D_6xgShOhrwa/view?usp=sharing\"\n }, \"HP Backup\"), \"]\"), \"\\n\"), \"\\n\", React.createElement(_components.li, null, \"\\n\", React.createElement(\"small\", null, \"2023.9 Single-tap Latency Reduction with Single- or Double- tap Prediction, Yahoo! JAPAN R&D\\n[\", React.createElement(_components.a, {\n href: \"https://randd.yahoo.co.jp/jp/papers/1144\"\n }, \"HP\"), \"][\", React.createElement(_components.a, {\n href: \"https://drive.google.com/file/d/1LlNGKzAaWLiXpJFLzvaijrv0ZZgLghvI/view?usp=sharing\"\n }, \"HP Backup\"), \"]\"), \"\\n\"), \"\\n\"), \"\\n\", React.createElement(_components.h3, null, \"Membership\"), \"\\n\", React.createElement(_components.ul, null, \"\\n\", React.createElement(_components.li, null, \"ACM Student Member\"), \"\\n\", React.createElement(_components.li, null, \"IEEE Student Member\"), \"\\n\", React.createElement(_components.li, null, \"Information Processing Society of Japan Student Member\"), \"\\n\", React.createElement(_components.li, null, \"The Japanese Alpine Club\"), \"\\n\"));\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? React.createElement(MDXLayout, props, React.createElement(_createMdxContent, props)) : _createMdxContent(props);\n}\nexport default MDXContent;\n","/** @jsx jsx */\nimport { Box, jsx, Container, Flex, Link, useColorMode } from \"theme-ui\"\nimport useEmiliaConfig from \"../hooks/use-emilia-config\"\nimport SocialMediaList from \"./social-media-list\"\nimport ColorModeToggle from \"./colormode-toggle\"\nimport AboutMeMDX from \"../texts/about-me.mdx\"\n\nconst Footer = () => {\n const { showThemeAuthor } = useEmiliaConfig()\n const [colorMode] = useColorMode<\"light\" | \"dark\">()\n const isDark = colorMode === `dark`\n\n return (\n \n \n
\n \n \n
\n \n \n
\n
\n \n
\n
Copyright © {new Date().getFullYear()}. All rights reserved.
\n
\n \n

\n \n \n )\n}\n\nexport default Footer\n","import * as React from \"react\"\nimport { get } from \"theme-ui\"\nimport { Global } from \"@emotion/react\"\nimport Footer from \"./footer\"\n\ntype LayoutProps = { children: React.ReactNode }\n\nconst Layout = ({ children }: LayoutProps) => (\n \n ({\n \"*\": {\n boxSizing: `inherit`,\n },\n \"[hidden]\": {\n display: `none`,\n },\n \"::selection\": {\n background: get(t, `colors.text`),\n color: get(t, `colors.background`),\n },\n })}\n />\n {children}\n