1 line
No EOL
2.8 KiB
JavaScript
1 line
No EOL
2.8 KiB
JavaScript
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{9404:function(t,n,e){"use strict";e.d(n,{wx:function(){return u}});var r=e(7294),o=function(){return(o=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t}).apply(this,arguments)};function c(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>n.indexOf(r)&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)0>n.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(e[r[o]]=t[r[o]]);return e}var i=Object.fromEntries(["h1","h2","h3","h4","h5","h6"].map(function(t){return[t,function(n){var e=n.children,i=n.id,a=c(n,["children","id"]);return r.createElement(t,o({},o({id:i},a)),i&&r.createElement("a",{className:"anchor",href:"#"+encodeURIComponent(i)}),e)}]})),a={get:function(t,n){var e,r,c=t.tagName,i=t.attrs;if("symbol"==typeof n)r={};else if(n.startsWith("#"))r={id:n.slice(1)};else if(n.includes("=")){var s=n.indexOf("=");(e={})[n.slice(0,s)]=n.slice(s+1),r=e}else r={class:i.class?i.class+" "+n:n};return new Proxy(Object.assign(function(){},{tagName:c,attrs:o(o({},i),r)}),a)},apply:function(t,n,e){var i=t.tagName,a=t.attrs,s=a.class,u=a.for,l=a.style,f=c(a,["class","for","style"]),p=e[0],y=e.slice(1),h=p instanceof Array?p[0]+y.map(function(t,n){return"".concat(t).concat(p[n+1])}).join(""):p;return r.createElement(i,o(o({className:s,htmlFor:u},null==l?{}:{style:Object.fromEntries(l.split(";").flatMap(function(t){var n=t.indexOf(":");if(n<0)return[];var e=t.slice(0,n),r=t.slice(n+1),o=e.split("-");return[[o[0]+o.slice(1).map(function(t){return t[0].toUpperCase()+t.slice(1)}).join(""),r]]}))}),f),h)}},s=new Proxy({},{get:function(t,n){var e=n.toString();return new Proxy(Object.assign(function(){},{tagName:e,attrs:{}}),a)}});s.span,s.code;var u=o({},i)},6840:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return e(4178)}])},4178:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return i}});var r=e(5893);e(7294);var o=e(1151),c=e(9404);function i(t){let{Component:n,pageProps:e,router:i}=t;return(0,r.jsx)(o.Zo,{components:c.wx,children:(0,r.jsx)(n,{router:i,...e})})}e(9644)},9644:function(){},1151:function(t,n,e){"use strict";e.d(n,{Zo:function(){return a},ah:function(){return c}});var r=e(7294);let o=r.createContext({});function c(t){let n=r.useContext(o);return r.useMemo(()=>"function"==typeof t?t(n):{...n,...t},[n,t])}let i={};function a({components:t,children:n,disableParentContext:e}){let a;return a=e?"function"==typeof t?t({}):t||i:c(t),r.createElement(o.Provider,{value:a},n)}}},function(t){var n=function(n){return t(t.s=n)};t.O(0,[774,179],function(){return n(6840),n(6885)}),_N_E=t.O()}]); |