diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index dfe0770..0000000 --- a/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -# Auto detect text files and perform LF normalization -* text=auto diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 1054d4f..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Deploy to GitHub Pages - -on: - push: - branches: [main] - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Setup pnpm - uses: pnpm/action-setup@v2 - with: - version: 8 # Use your preferred pnpm version - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 18 - cache: 'pnpm' - - - name: Install dependencies - run: pnpm install --no-frozen-lockfile - - - name: Build - run: pnpm build - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./out - - cname: docs.it-scripts.com - user_name: github-actions[bot] - user_email: 41898282+github-actions[bot]@users.noreply.github.com \ No newline at end of file diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b51e153..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -.next -.vscode -node_modules -out diff --git a/pages/common-errors.mdx b/.nojekyll similarity index 100% rename from pages/common-errors.mdx rename to .nojekyll diff --git a/.npmrc b/.npmrc deleted file mode 100644 index b7425b9..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -enable-pre-post-scripts=true \ No newline at end of file diff --git a/404.html b/404.html new file mode 100644 index 0000000..6e3fe52 --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +

404

Redirecting...

\ No newline at end of file diff --git a/CNAME b/CNAME index af01e69..0a34867 100644 --- a/CNAME +++ b/CNAME @@ -1 +1 @@ -docs.it-scripts.com \ No newline at end of file +docs.it-scripts.com diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 490da1f..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Shu Ding - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md deleted file mode 100644 index 264f08c..0000000 --- a/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# it-scripts script Documentation - -## Local Development - -First, run `pnpm i` to install the dependencies. - -Then, run `pnpm dev` to start the development server and visit localhost:3000. - -## Acknowledgements - -- [`Qbox-project/qbox-project.github.io`](https://github.com/Qbox-project/qbox-project.github.io/tree/main) - This repository startet as a fork of the Qbox Project Documentation repository -- [`shuding/nextra-docs-template`](https://github.com/shuding/nextra-docs-template) - the template used -- [`overextended/overextended.github.io`](https://github.com/overextended/overextended.github.io) - much of the styling copied over from here diff --git a/_next/static/chunks/2549-2e19dde8916f318f.js b/_next/static/chunks/2549-2e19dde8916f318f.js new file mode 100644 index 0000000..9e19fdd --- /dev/null +++ b/_next/static/chunks/2549-2e19dde8916f318f.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2549],{1048:function(e,t,r){"use strict";r.d(t,{Z:function(){return createReactComponent}});var n=r(959),a=r(507),o=r.n(a),i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},s=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,__defNormalProp=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__spreadValues=(e,t)=>{for(var r in t||(t={}))h.call(t,r)&&__defNormalProp(e,r,t[r]);if(d)for(var r of d(t))x.call(t,r)&&__defNormalProp(e,r,t[r]);return e},__spreadProps=(e,t)=>l(e,c(t)),__objRest=(e,t)=>{var r={};for(var n in e)h.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&d)for(var n of d(e))0>t.indexOf(n)&&x.call(e,n)&&(r[n]=e[n]);return r},createReactComponent=(e,t,r)=>{let a=(0,n.forwardRef)((t,a)=>{var{color:o="currentColor",size:s=24,stroke:l=2,children:c}=t,d=__objRest(t,["color","size","stroke","children"]);return(0,n.createElement)("svg",__spreadValues(__spreadProps(__spreadValues({ref:a},i),{width:s,height:s,stroke:o,strokeWidth:l,className:`tabler-icon tabler-icon-${e}`}),d),[...r.map(([e,t])=>(0,n.createElement)(e,t)),...c||[]])});return a.propTypes={color:o().string,size:o().oneOfType([o().string,o().number]),stroke:o().oneOfType([o().string,o().number])},a.displayName=`${t}`,a}},500:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=(0,r(1048).Z)("chevron-right","IconChevronRight",[["path",{d:"M9 6l6 6l-6 6",key:"svg-0"}]])},7082:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=(0,r(1048).Z)("external-link","IconExternalLink",[["path",{d:"M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6",key:"svg-0"}],["path",{d:"M11 13l9 -9",key:"svg-1"}],["path",{d:"M15 4h5v5",key:"svg-2"}]])},7090:function(e,t){"use strict";t.Z={src:"/_next/static/media/processing_table_hide.db2fee94.png",height:325,width:318,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAqUlEQVR42hXM7YrCMBCF4SQz6bi0rjewsLCLot7/JQmKUpTSmCbOh/HXgQPv4w/7/5/fPwgAGDbf69v5Mucp0oDb3REjCmtH8XI+pSk5H8Z0x8f0DN575wHxektFqomj1g99H2NUVaLucR/rXBorZpiXlIsL5sexlrIAQMuhcRG7L+qH9YaZ53lRdcL2ubmtmcjLVIgwgAMEVUYIsenMknOtLwuNX3i1ojfs4F0coVpNagAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},1334:function(e,t){"use strict";t.Z={src:"/_next/static/media/processing_table_show.bcdc59ef.png",height:326,width:318,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAArklEQVR42g2L2xKCIBQA+ZXuwjmAhhnTTRNKSsVr4///Sczs0+4skbitW9f3fp6GZfnl5V1l4mlyMvZdN3qVxledKhWrLOGSy0SQwrzzwpz1TV8eDEXEgCFnjJO68a0fpnlx7rs70GApIA3BvGxpTVnaR1EgF4xhRCE0Urn62/humNJMrzb7iOIhAiGPxNi3fVWV+5z0mQIAchBcxjIcTdMO7tMyiNcbut1BADD5A3agKumSa6h2AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},9187:function(e,t,r){"use strict";r.d(t,{Z:function(){return components_Accordion}});var n=r(1527),a=r(959),o=r(1048),i=(0,o.Z)("chevron-down","IconChevronDown",[["path",{d:"M6 9l6 6l6 -6",key:"svg-0"}]]),s=r(500),l=(0,o.Z)("hash","IconHash",[["path",{d:"M5 9l14 0",key:"svg-0"}],["path",{d:"M5 15l14 0",key:"svg-1"}],["path",{d:"M11 4l-4 16",key:"svg-2"}],["path",{d:"M17 4l-4 16",key:"svg-3"}]]),components_Accordion=e=>{let{title:t,children:r,defaultOpen:o=!1}=e,[c,d]=(0,a.useState)(o),[h,x]=(0,a.useState)(0),[u,g]=(0,a.useState)(!1),p=(0,a.useRef)(null),m=(0,a.useRef)(null),b=t.toLowerCase().replace(/\s+/g,"-"),scrollToAccordion=()=>{m.current&&m.current.scrollIntoView({behavior:"smooth",block:"center"})};(0,a.useEffect)(()=>{window.location.hash==="#".concat(b)&&(d(!0),scrollToAccordion())},[b]),(0,a.useEffect)(()=>{c&&p.current?x(p.current.scrollHeight):x(0)},[c]);let handleHashtagClick=async e=>{e.stopPropagation();let t="".concat(window.location.origin).concat(window.location.pathname,"#").concat(b);window.history.replaceState(null,"",t),scrollToAccordion();try{await navigator.clipboard.writeText(t),g(!0),setTimeout(()=>g(!1),3e3)}catch(e){console.error("Failed to copy: ",e)}};return(0,n.jsxs)("div",{id:b,ref:m,className:"relative border-0 rounded border-zinc-300 bg-zinc-200 dark:bg-zinc-900",children:[(0,n.jsxs)("button",{onClick:()=>{d(!c)},className:"w-full text-left p-4 flex items-center space-x-2 text-black focus:outline-none dark:text-white",children:[(0,n.jsx)("span",{children:c?(0,n.jsx)(i,{}):(0,n.jsx)(s.Z,{})}),(0,n.jsx)("span",{className:"text-lg flex-grow",children:t}),(0,n.jsx)("span",{onClick:handleHashtagClick,className:"text-gray-500 cursor-pointer transition-transform transform hover:scale-110 hover:text-gray-300",title:"Get link to this section",children:(0,n.jsx)(l,{})})]}),(0,n.jsx)("div",{ref:p,style:{height:"".concat(h,"px")},className:"overflow-hidden transition-height duration-300 ease-in-out",children:(0,n.jsx)("div",{className:"p-4 text-gray-900 dark:text-gray-300",children:r})}),u&&(0,n.jsx)("div",{className:"fixed bottom-4 right-4 bg-gray-800 text-white px-4 py-2 rounded shadow-lg transition-opacity duration-500",children:"The link has been copied!"})]})}},2639:function(e,t,r){"use strict";var n=r(1527);r(959),t.Z=e=>{let{children:t}=e;return(0,n.jsxs)("div",{className:"border border-zinc-700 rounded-md bg-gray-900 my-4",children:[" ",t]})}},772:function(e,t,r){"use strict";r.d(t,{U:function(){return Callout}});var n=r(6259),a=r(1048),o=(0,a.Z)("circle-check","IconCircleCheck",[["path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M9 12l2 2l4 -4",key:"svg-1"}]]),i=(0,a.Z)("alert-triangle","IconAlertTriangle",[["path",{d:"M12 9v4",key:"svg-0"}],["path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]]),s=(0,a.Z)("info-circle","IconInfoCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]]),l=(0,a.Z)("alert-circle","IconAlertCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 8v4",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]]),c=r(1527),d={default:"\uD83D\uDCA1",success:(0,c.jsx)(o,{className:"mt-1 size-5"}),error:(0,c.jsx)(i,{className:"mt-1 size-5"}),info:(0,c.jsx)(s,{className:"mt-1 size-5"}),warning:(0,c.jsx)(l,{className:"mt-1 size-5"})},h={default:(0,n.Z)("border border-orange-100 bg-orange-50 text-orange-800 dark:border-0 dark:bg-orange-400/20 dark:text-orange-300"),success:(0,n.Z)("border border-green-50 bg-green-50 text-green-900 dark:border-0 dark:bg-green-900/30 dark:text-green-200"),error:(0,n.Z)("border border-red-100 bg-red-100 text-red-900 dark:border-0 dark:bg-red-900/30 dark:text-red-200"),info:(0,n.Z)("border border-blue-100 bg-blue-100 text-blue-900 dark:border-0 dark:bg-blue-900/30 dark:text-blue-200"),warning:(0,n.Z)("border border-yellow-50 bg-yellow-50 text-yellow-900 dark:border-0 dark:bg-yellow-700/30 dark:text-yellow-200")};function Callout(e){let{children:t,type:r="default",emoji:a=d[r]}=e;return(0,c.jsxs)("div",{className:(0,n.Z)("nextra-callout nx-overflow-x-auto nx-mt-6 nx-flex nx-rounded-lg nx-border nx-py-2 ltr:nx-pr-4 rtl:nx-pl-4","contrast-more:nx-border-current contrast-more:dark:nx-border-current",h[r]),children:[(0,c.jsx)("div",{className:"nx-select-none nx-text-xl ltr:nx-pl-3 ltr:nx-pr-2 rtl:nx-pr-3 rtl:nx-pl-2",style:{fontFamily:'"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},children:a}),(0,c.jsx)("div",{className:"nx-w-full nx-min-w-0 nx-leading-7",children:t})]})}},9013:function(e,t,r){"use strict";var n=r(1527),a=r(959),o=r(7082),i=r(500),s=r(6259);let l={card:(0,s.Z)("nx-group nx-flex nx-overflow-hidden nx-rounded-lg nx-border nx-border-gray-200","nx-text-current nx-no-underline dark:nx-shadow-none","hover:nx-shadow-gray-100 dark:hover:nx-shadow-none nx-shadow-gray-100","active:nx-shadow-sm active:nx-shadow-gray-200","nx-transition-all nx-duration-200 hover:nx-border-gray-300","nx-bg-transparent nx-shadow-sm dark:nx-border-neutral-800 hover:nx-bg-slate-50 hover:nx-shadow-md dark:hover:nx-border-neutral-700 dark:hover:nx-bg-neutral-900","my-4"),title:(0,s.Z)("nx-font-semibold nx-text-gray-700 hover:nx-text-gray-900","dark:nx-text-neutral-200 dark:hover:nx-text-neutral-50"),description:(0,s.Z)("nx-text-sm nx-text-gray-500 dark:nx-text-gray-400")},fetchMetaData=async e=>{try{var t,r,n,a,o,i;let s=await fetch(e);if(!s.ok)throw Error("Netzwerkantwort war nicht ok");let l=await s.text(),c=new DOMParser,d=c.parseFromString(l,"text/html"),h=(null===(t=d.querySelector('meta[property="og:title"]'))||void 0===t?void 0:t.getAttribute("content"))||(null===(r=d.querySelector("title"))||void 0===r?void 0:r.textContent)||"Kein Titel",x=(null===(n=d.querySelector('meta[property="og:description"]'))||void 0===n?void 0:n.getAttribute("content"))||(null===(a=d.querySelector('meta[name="description"]'))||void 0===a?void 0:a.getAttribute("content"))||"Keine Beschreibung",u=(null===(o=d.querySelector('link[rel="icon"]'))||void 0===o?void 0:o.getAttribute("href"))||(null===(i=d.querySelector('link[rel="shortcut icon"]'))||void 0===i?void 0:i.getAttribute("href"))||"https://example.com/default-icon.png";return{title:h,description:x,icon:new URL(u,e).href}}catch(e){return console.error("Fehler beim Abrufen der Metadaten:",e),{title:"Fehler",description:"Metadaten konnten nicht abgerufen werden.",icon:"https://example.com/error-icon.png"}}};t.Z=e=>{var t;let{href:r,icon:s,manualTitle:c,manualDescript:d,children:h}=e,[x,u]=(0,a.useState)(null),[g,p]=(0,a.useState)(!0);return((0,a.useEffect)(()=>{c||d?(u({title:c||"Kein Titel verf\xfcgbar",description:d||"Keine Beschreibung verf\xfcgbar",icon:"https://example.com/web-icon.png"}),p(!1)):fetchMetaData(r).then(e=>{u(e),p(!1)})},[r,c,d]),h)?(0,n.jsxs)("a",{href:r,className:"nx-flex nx-items-center nx-no-underline nx-text-current nx-transition-colors hover:nx-text-blue-600 dark:hover:nx-text-blue-400",target:"_blank",rel:"noopener noreferrer",children:[h,(0,n.jsx)(o.Z,{className:"nx-ml-1 nx-inline-block nx-h-4 nx-w-4"})]}):g?(0,n.jsx)("div",{className:"nx-flex nx-items-center nx-justify-center nx-h-20 nx-bg-zinc-100 dark:nx-bg-zinc-800 nx-rounded-lg nx-animate-pulse",children:(0,n.jsx)("span",{className:"nx-text-zinc-500 dark:nx-text-zinc-400",children:"L\xe4dt..."})}):(0,n.jsx)("a",{href:r,className:l.card,target:"_blank",rel:"noopener noreferrer",children:(0,n.jsxs)("div",{className:"nx-flex nx-items-center nx-w-full nx-p-4 nx-relative",children:[(0,n.jsx)("div",{className:"nx-flex-shrink-0 nx-mr-12",children:s?"string"==typeof s?(0,n.jsx)("img",{src:s,alt:"Favicon",className:"w-6 h-6 mr-3"}):a.isValidElement(s)?a.cloneElement(s,{className:"w-6 h-6 mr-3"}):a.createElement(s,{className:"w-6 h-6 mr-3"}):(0,n.jsx)("img",{src:null==x?void 0:x.icon,alt:"Favicon",className:"w-6 h-6 mr-3"})}),(0,n.jsxs)("div",{className:"nx-flex-grow px-4",children:[(0,n.jsx)("span",{className:l.title,children:null==x?void 0:x.title}),(0,n.jsx)("div",{className:"nx-mt-1",children:(0,n.jsx)("span",{className:l.description,children:(null==x?void 0:x.description)&&((t=x.description).length<=120?t:t.substring(0,120)+"...")})})]}),(0,n.jsx)("span",{className:"absolute right-4 content-end nx-top-1/2 nx-transform nx--translate-y-1/2",children:(0,n.jsx)(i.Z,{className:"nx-transition-transform nx-duration-75 group-hover:nx-translate-x-[2px]"})})]})})}},4049:function(e,t,r){"use strict";var n=r(6257);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,e.exports=function(){function shim(e,t,r,a,o,i){if(i!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function getShim(){return shim}shim.isRequired=shim;var e={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return e.PropTypes=e,e}},507:function(e,t,r){e.exports=r(4049)()},6257:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]); \ No newline at end of file diff --git a/_next/static/chunks/7154-2d10f122ab0aba56.js b/_next/static/chunks/7154-2d10f122ab0aba56.js new file mode 100644 index 0000000..bb3c7a6 --- /dev/null +++ b/_next/static/chunks/7154-2d10f122ab0aba56.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7154],{5554:function(e,t,a){var n,r="__lodash_hash_undefined__",o=1/0,i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,l=/^\./,s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,p=/^\[object .+?Constructor\]$/,f="object"==typeof a.g&&a.g&&a.g.Object===Object&&a.g,h="object"==typeof self&&self&&self.Object===Object&&self,d=f||h||Function("return this")(),g=Array.prototype,_=Function.prototype,y=Object.prototype,b=d["__core-js_shared__"],m=(n=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",v=_.toString,w=y.hasOwnProperty,C=y.toString,x=RegExp("^"+v.call(w).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=d.Symbol,O=g.splice,S=getNative(d,"Map"),M=getNative(Object,"create"),T=j?j.prototype:void 0,k=T?T.toString:void 0;function Hash(e){var t=-1,a=e?e.length:0;for(this.clear();++t-1},ListCache.prototype.set=function(e,t){var a=this.__data__,n=assocIndexOf(a,e);return n<0?a.push([e,t]):a[n][1]=t,this},MapCache.prototype.clear=function(){this.__data__={hash:new Hash,map:new(S||ListCache),string:new Hash}},MapCache.prototype.delete=function(e){return getMapData(this,e).delete(e)},MapCache.prototype.get=function(e){return getMapData(this,e).get(e)},MapCache.prototype.has=function(e){return getMapData(this,e).has(e)},MapCache.prototype.set=function(e,t){return getMapData(this,e).set(e,t),this};var P=memoize(function(e){e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(isSymbol(e))return k?k.call(e):"";var t=e+"";return"0"==t&&1/e==-o?"-0":t}(t);var t,a=[];return l.test(e)&&a.push(""),e.replace(s,function(e,t,n,r){a.push(n?r.replace(u,"$1"):t||e)}),a});function memoize(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var memoized=function(){var a=arguments,n=t?t.apply(this,a):a[0],r=memoized.cache;if(r.has(n))return r.get(n);var o=e.apply(this,a);return memoized.cache=r.set(n,o),o};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache;var I=Array.isArray;function isObject(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function isSymbol(e){return"symbol"==typeof e||!!e&&"object"==typeof e&&"[object Symbol]"==C.call(e)}e.exports=function(e,t,a){var n=null==e?void 0:function(e,t){var a;t=!function(e,t){if(I(e))return!1;var a=typeof e;return!!("number"==a||"symbol"==a||"boolean"==a||null==e||isSymbol(e))||c.test(e)||!i.test(e)||null!=t&&e in Object(t)}(t,e)?I(a=t)?a:P(a):[t];for(var n=0,r=t.length;null!=e&&n{if(isFolder(t)){let a=e.replace("/","");return[a,t.title||pageTitleFromFilename(a)]}return[e,t||pageTitleFromFilename(e)]}))}function setupNextraPage({pageNextRoute:e,pageOpts:t,nextraLayout:a,themeConfig:r,MDXContent:c,hot:l,pageOptsChecksum:s,dynamicMetaModules:u=[]}){var h;"undefined"==typeof window&&(globalThis.__nextra_resolvePageMap=async()=>{if(n)return n;let e=JSON.parse(JSON.stringify(d.pageMap));return await Promise.all(u.map(async([t,{metaObjectKeyPath:a,metaParentKeyPath:n}])=>{let r=await t,i=await r.default(),c=o()(e,a);c.data=i;let l=o()(e,n);!function collectCatchAllRoutes(e,t,a=!0){if(a){collectCatchAllRoutes(e,{kind:"Meta",data:t.data,locale:t.locale},!1),t.data=normalizeMetaData(t.data);return}for(let[a,r]of Object.entries(t.data)){if(!isFolder(r)){var n;if("*"===a)continue;e.children.push({kind:"MdxPage",...t.locale&&{locale:t.locale},name:a,route:(n=e.route,f(p.join(n,a.replace(/^index$/,""))))});continue}let o=a.replace("/",""),i={kind:"Folder",name:o,route:`${e.route}/${o}`,children:[{kind:"Meta",...t.locale&&{locale:t.locale},data:normalizeMetaData(r.items)}]};e.children.push(i),collectCatchAllRoutes(i,{kind:"Meta",data:r.items,locale:t.locale},!1)}}(l,c)})),n=e});let d=globalThis[h=i.eZ]||(globalThis[h]=Object.create(null));return t.pageMap?(d.pageMap=t.pageMap,d.Layout=a):(t={...t,pageMap:d.pageMap,flexsearch:d.flexsearch},r=d.themeConfig),t={frontMatter:{},...t},d.route=t.route,d.context||(d.context=Object.create(null)),d.context[e]={Content:c,pageOpts:t,themeConfig:r},Nextra}},4473:function(e){"use strict";e.exports=e=>{let t=/^\\\\\?\\/.test(e),a=/[^\u0000-\u0080]+/.test(e);return t||a?e:e.replace(/\\/g,"/")}},9378:function(e,t,a){let n=a(3587),r=a(2168),o="[^\\s'’\\(\\)!?;:\"-]",i=RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${o}))|(${o}))(${o}*[’']*${o}*)`,"g"),convertToRegExp=e=>e.map(e=>[RegExp(`\\b${e}\\b`,"gi"),e]);e.exports=(e,t={})=>{e=e.toLowerCase().replace(i,(e,t="",a,r,o,i,c)=>{let l=e.length+i>=c.length,s=function(e){let t=e[0];return/\s/.test(t)?e.slice(1):/[\(\)]/.test(t)?null:e}(e);return s?!a&&n.has(r+o)&&!l?s:t+(r||a).toUpperCase()+o:e});let a=t.special||[],o=[...r,...a],c=convertToRegExp(o);return c.forEach(([t,a])=>{e=e.replace(t,a)}),e}},3587:function(e){e.exports=new Set(["for","and","nor","but","or","yet","so","a","an","the","aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"])},2168:function(e){e.exports=["ZEIT","ZEIT Inc.","Vercel","Vercel Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","vercel.app","vercel.json","CI","CD","CDN","package.json","package.lock","yarn.lock","GitHub","GitLab","CSS","Sass","JS","JavaScript","TypeScript","HTML","WordPress","Next.js","Node.js","Webpack","Docker","Bash","Kubernetes","SWR","TinaCMS","UI","UX","TS","TSX","iPhone","iPad","watchOS","iOS","iPadOS","macOS","PHP","composer.json","composer.lock","CMS","SQL","C","C#","GraphQL","GraphiQL","JWT","JWTs"]},6067:function(e,t,a){a(1527)}}]); \ No newline at end of file diff --git a/_next/static/chunks/framework-adf42c24273f58da.js b/_next/static/chunks/framework-adf42c24273f58da.js new file mode 100644 index 0000000..85c9646 --- /dev/null +++ b/_next/static/chunks/framework-adf42c24273f58da.js @@ -0,0 +1,33 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9774],{3746:function(n,t,a){/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var u,i,o,s,w,x,C=a(959),_=a(2962);function p(n){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+n,a=1;a