This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/packages/sia-skynet/build/static/js/main.73ef0a5e.chunk.js

2 lines
49 KiB
JavaScript

(this["webpackJsonpsia-skynet"]=this["webpackJsonpsia-skynet"]||[]).push([[0],{231:function(e,t,a){},232:function(e,t,a){},233:function(e,t,a){},234:function(e,t,a){},235:function(e,t,a){},236:function(e,t,a){},240:function(e,t,a){},245:function(e,t,a){},246:function(e,t,a){},248:function(e,t,a){},249:function(e,t,a){},250:function(e,t,a){},251:function(e,t,a){},254:function(e,t,a){},255:function(e,t,a){"use strict";a.r(t);var n=a(0),l=a.n(n),r=a(15),c=a.n(r);a(36),a(37);var s=function(){return l.a.createElement("div",{className:"app"},l.a.createElement("img",{className:"top-swoosh",src:"/images/top-swoosh.svg",alt:"top swoosh"}),l.a.createElement("div",{className:"width"},l.a.createElement(se,null),l.a.createElement(fe,null),l.a.createElement(pe,null),l.a.createElement(ve,null)),l.a.createElement("div",{className:"home-white"},l.a.createElement("div",{className:"width"},l.a.createElement(ge,null),l.a.createElement(je,null))),l.a.createElement(ne,null))},o=a(28),i=a(3),m=a.n(i);a(38);function u(e){var t=e.href,a=e.type,n=e.children,r=e.full,c=e.className,s=Object(o.a)(e,["href","type","children","full","className"]),i=m()("button",{full:r},c);return t?l.a.createElement("a",Object.assign({href:t,className:i},s),n):a?l.a.createElement("button",Object.assign({type:a,className:i},s),n):l.a.createElement("button",Object.assign({type:"button",className:i},s),n)}var d=a(27),h=a(257),f=(a(39),{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#171917",color:"#e6e1dc"},"hljs-comment":{color:"#bc9458",fontStyle:"italic"},"hljs-quote":{color:"#bc9458",fontStyle:"italic"},"hljs-keyword":{color:"#c26230"},"hljs-selector-tag":{color:"#c26230"},"hljs-string":{color:"#a5c261"},"hljs-number":{color:"#a5c261"},"hljs-regexp":{color:"#a5c261"},"hljs-variable":{color:"#a5c261"},"hljs-template-variable":{color:"#a5c261"},"hljs-subst":{color:"#519f50"},"hljs-tag":{color:"#e8bf6a"},"hljs-name":{color:"#e8bf6a"},"hljs-type":{color:"#da4939"},"hljs-symbol":{color:"#6d9cbe"},"hljs-bullet":{color:"#6d9cbe"},"hljs-built_in":{color:"#6d9cbe"},"hljs-builtin-name":{color:"#6d9cbe"},"hljs-attr":{color:"#6d9cbe"},"hljs-link":{color:"#6d9cbe",textDecoration:"underline"},"hljs-params":{color:"#d0d0ff"},"hljs-attribute":{color:"#cda869"},"hljs-meta":{color:"#9b859d"},"hljs-title":{color:"#ffc66d"},"hljs-section":{color:"#ffc66d"},"hljs-addition":{backgroundColor:"#144212",color:"#e6e1dc",display:"inline-block",width:"100%"},"hljs-deletion":{backgroundColor:"#600",color:"#e6e1dc",display:"inline-block",width:"100%"},"hljs-selector-class":{color:"#9b703f"},"hljs-selector-id":{color:"#8b98ab"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}});function p(){var e=Object(n.useState)(1),t=Object(d.a)(e,2),a=t[0],r=t[1];return l.a.createElement("div",{className:"code-examples"},l.a.createElement("ul",{className:"code-examples-tabs"},l.a.createElement("li",{onClick:function(){return r(1)},className:m()({active:1===a})},"Python"),l.a.createElement("li",{onClick:function(){return r(2)},className:m()({active:2===a})},"CURL"),l.a.createElement("li",{onClick:function(){return r(3)},className:m()({active:3===a})},"Node.js"),l.a.createElement("li",{onClick:function(){return r(4)},className:m()({active:4===a})},"Go")),l.a.createElement("div",{className:"code-examples-body"},1===a&&l.a.createElement(h.a,{wrapLines:!0,showLineNumbers:!0,language:"python",style:f},'from siaskynet import Skynet\npath = "./image.jpg"\nskylink = Skynet.UploadFile(path)\nprint("Upload successful, skylink: " + skylink)'),2===a&&l.a.createElement(h.a,{wrapLines:!0,showLineNumbers:!0,language:"curl",style:f},'curl -X POST "https://siasky.net/api/skyfile" -F file=@image.jpg'),3===a&&l.a.createElement(h.a,{wrapLines:!0,showLineNumbers:!0,language:"node",style:f},"const skynet = require('@nebulous/skynet');\n\n(async () => {\n\tconst path = \"./image.jpg\"\n\tconst skylink = await skynet.UploadFile(\n\t\tpath,\n\t\tskynet.DefaultUploadOptions\n\t)\n\tconsole.log(`Upload successful, skylink: ${skylink}`)\n})()"),4===a&&l.a.createElement(h.a,{wrapLines:!0,showLineNumbers:!0,language:"go",style:f},'package main\n\nimport (\n\t"fmt"\n\tskynet "github.com/NebulousLabs/go-skynet"\n)\n\t\t\t\t\t\t\nfunc main() {\n\tskylink, err := skynet.UploadFile("./image.jpg", skynet.DefaultUploadOptions)\n\tif err != nil {\n\t\tfmt.Printf("Unable to upload: %v\n", err.Error())\n\t\treturn\n\t}\n\tfmt.Printf("Upload successful, skylink: %v\n", skylink)\n}')))}a(231);function E(e){var t=e.className;return l.a.createElement("svg",{className:t,viewBox:"0 0 34 46",width:34,height:46,xmlns:"http://www.w3.org/2000/svg"},l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{d:"M5 33H3a2 2 0 01-2-2V3a2 2 0 012-2h16l14 14v16a2 2 0 01-2 2h-2 0",stroke:"#171917",strokeWidth:"2",strokeLinejoin:"round"}),l.a.createElement("path",{d:"M17 45c6.627 0 12-5.373 12-12s-5.373-12-12-12S5 26.373 5 33s5.373 12 12 12zm-5-12l5 5 5-5m-5 5V27",stroke:"#57B560",strokeWidth:"2",strokeLinejoin:"round"}),l.a.createElement("path",{d:"M19 1l14 14H21a2 2 0 01-2-2V1z",fill:"#171917"})))}function v(e){var t=e.className;return l.a.createElement("svg",{viewBox:"0 0 32 32",width:32,height:32,className:t,xmlns:"http://www.w3.org/2000/svg"},l.a.createElement("path",{d:"M0 16.406c0 7.247 4.584 13.397 10.942 15.566.8.151 1.092-.356 1.092-.79 0-.39-.013-1.422-.021-2.79-4.45.99-5.39-2.2-5.39-2.2-.728-1.895-1.777-2.4-1.777-2.4-1.452-1.018.11-.997.11-.997 1.606.116 2.451 1.691 2.451 1.691 1.428 2.507 3.745 1.783 4.657 1.363.145-1.06.559-1.783 1.015-2.194-3.552-.414-7.288-1.82-7.288-8.107 0-1.792.624-3.256 1.647-4.403-.164-.415-.713-2.083.158-4.34 0 0 1.343-.443 4.399 1.68A14.975 14.975 0 0116 7.933c1.36.006 2.728.188 4.007.552 3.054-2.123 4.395-1.68 4.395-1.68.873 2.257.324 3.925.16 4.34 1.025 1.147 1.644 2.611 1.644 4.403 0 6.301-3.74 7.688-7.305 8.095.575.507 1.085 1.508 1.085 3.038 0 2.193-.018 3.963-.018 4.5 0 .44.288.949 1.1.789C27.42 29.797 32 23.652 32 16.406 32 7.345 24.836 0 15.999 0 7.164 0 0 7.345 0 16.406z",fill:"currentColor",fillRule:"evenodd"}))}function g(e){var t=e.className;return l.a.createElement("svg",{className:t,viewBox:"0 0 32 32",width:32,height:36,xmlns:"http://www.w3.org/2000/svg"},l.a.createElement("path",{d:"M28 0a4 4 0 014 4v24a4 4 0 01-4 4H4a4 4 0 01-4-4V4a4 4 0 014-4h24zm-8.7 10.182c-1.73 0-3.131 1.48-3.131 3.304 0 .26.026.512.08.753-2.604-.138-4.912-1.452-6.459-3.453a3.436 3.436 0 00-.424 1.662c0 1.146.554 2.158 1.394 2.751a3.021 3.021 0 01-1.42-.413v.04c0 1.603 1.08 2.938 2.515 3.241-.264.078-.54.116-.827.116-.201 0-.398-.02-.589-.058.399 1.312 1.556 2.269 2.927 2.294a6.083 6.083 0 01-4.639 1.37 8.544 8.544 0 004.803 1.484c5.765 0 8.915-5.036 8.915-9.403 0-.144-.002-.286-.008-.427A6.55 6.55 0 0024 11.73a6.005 6.005 0 01-1.8.52 3.28 3.28 0 001.378-1.827 6.076 6.076 0 01-1.99.802 3.05 3.05 0 00-2.287-1.044z",fill:"currentColor",fillRule:"evenodd"}))}function b(e){var t=e.className;return l.a.createElement("svg",{className:t,viewBox:"0 0 32 36",width:32,height:36,xmlns:"http://www.w3.org/2000/svg"},l.a.createElement("path",{d:"M3.746 0h24.49a3.768 3.768 0 013.757 3.524l.007.198V36l-3.947-3.395-2.212-2.015-2.339-2.142.969 3.322H3.746c-1.998 0-3.637-1.564-3.74-3.524L0 28.048V3.722C0 1.736 1.575.108 3.548.005L3.746 0h24.49zm9.613 8.623l-.236-.217c-.374.005-2.658.111-5.064 1.887 0 0-2.631 4.702-2.631 10.494 0 0 1.535 2.614 5.574 2.741 0 0 .676-.799 1.224-1.489-2.32-.69-3.198-2.124-3.198-2.124s.183.127.512.309c.018 0 .036.018.073.036.055.037.11.055.164.091.457.254.914.454 1.334.617.75.309 1.645.581 2.687.78 1.37.255 2.979.346 4.733.019.86-.163 1.736-.4 2.65-.78.64-.237 1.352-.582 2.102-1.072 0 0-.914 1.47-3.308 2.142.548.672 1.206 1.453 1.206 1.453 4.039-.127 5.574-2.741 5.574-2.723 0-5.792-2.632-10.494-2.632-10.494-2.389-1.776-4.687-1.882-5.063-1.887h-.054l-.256.29c3.107.926 4.551 2.287 4.551 2.287a15.265 15.265 0 00-5.5-1.724 15.565 15.565 0 00-3.692.036c-.11 0-.202.018-.311.036-.64.073-2.193.29-4.149 1.144-.676.29-1.078.508-1.078.508l.017-.015c.166-.152 1.585-1.391 4.477-2.26l.294-.085-.183-.218zm5.995 6.481c1.023 0 1.864.89 1.864 1.997 0 1.108-.823 1.997-1.864 1.997-1.024 0-1.865-.89-1.865-1.997 0-1.107.823-1.997 1.865-1.997zm-6.671 0c1.042 0 1.882.89 1.864 1.997 0 1.108-.822 1.997-1.864 1.997-1.023 0-1.864-.89-1.864-1.997 0-1.107.822-1.997 1.864-1.997z",fill:"currentColor",fillRule:"nonzero"}))}function w(e){var t=e.className;return l.a.createElement("svg",{className:t,viewBox:"0 0 15 7",width:15,height:7,xmlns:"http://www.w3.org/2000/svg"},l.a.createElement("path",{d:"M0 6h12L7 1",stroke:"currentColor",strokeWidth:"2",fill:"none",fillRule:"evenodd"}))}function k(e){var t=e.className;return l.a.createElement("svg",{className:t,viewBox:"0 0 34 34",width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},l.a.createElement("path",{d:"M17 13c8.837 0 16-2.686 16-6s-7.163-6-16-6S1 3.686 1 7s7.163 6 16 6zm0 20c8.837 0 16-2.686 16-6s-7.163-6-16-6-16 2.686-16 6 7.163 6 16 6zM33 7v20M1 27V7m7 25V12",stroke:"currentColor",strokeWidth:"2",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function y(e){var t=e.className;return l.a.createElement("svg",{className:t,viewBox:"0 0 18 18",width:18,height:18,xmlns:"http://www.w3.org/2000/svg"},l.a.createElement("path",{d:"M9 17A8 8 0 109 1a8 8 0 000 16zm4-1.072C11.087 17.033 7.745 14.826 5.536 11 3.326 7.174 3.086 3.176 5 2.072",stroke:"currentColor",strokeWidth:"2",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function N(e){var t=e.className;return l.a.createElement("svg",{className:t,viewBox:"0 0 38 38",width:38,height:38,xmlns:"http://www.w3.org/2000/svg"},l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{fill:"currentColor",d:"M19 25L1 31l18 6 18-6z"}),l.a.createElement("path",{d:"M19 1L1 31l18 6 18-6L19 1zm0 0v36m18-6l-18-6-18 6",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round"})))}function j(e){var t=e.className;return l.a.createElement("svg",{className:t,width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},l.a.createElement("path",{d:"M26 26v-9.849C26 10.623 21.578 6.027 16.05 6 10.497 5.973 5.973 10.496 6 16.05 6.028 21.578 10.623 26 16.151 26H26zM16 0c8.837 0 16 7.163 16 16v16H16C7.163 32 0 24.837 0 16S7.163 0 16 0z",fill:"currentColor",fillRule:"nonzero"}))}function x(e){return l.a.createElement("svg",Object.assign({viewBox:"0 0 36 40",width:"36",height:"40"},e),l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{d:"M35.5 16.207L19.793.5H2A1.5 1.5 0 00.5 2v36A1.5 1.5 0 002 39.5h32a1.5 1.5 0 001.5-1.5V16.207z",stroke:"#C5CEC7",fill:"#FFF"}),l.a.createElement("path",{d:"M20 1l15 15H22a2 2 0 01-2-2V1z",fill:"#C5CEC7"})))}function O(e){return l.a.createElement("svg",Object.assign({width:38,height:42,viewBox:"0 0 38 42"},e),l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{d:"M3 1h18l16 16v22a2 2 0 01-2 2H3a2 2 0 01-2-2V3a2 2 0 012-2zm12 24l3 3 5-5",stroke:"#57B560",strokeWidth:2,strokeLinejoin:"round"}),l.a.createElement("path",{d:"M21 2l15 15H23a2 2 0 01-2-2V2z",fill:"#57B560"})))}function z(e){return l.a.createElement("svg",Object.assign({width:38,height:42,viewBox:"0 0 38 42"},e),l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{d:"M3 1h18l16 16v22a2 2 0 01-2 2H3a2 2 0 01-2-2V3a2 2 0 012-2zm15 21v7m0 2v2",stroke:"#E65C5C",strokeWidth:2,strokeLinejoin:"round"}),l.a.createElement("path",{d:"M21 2l15 15H23a2 2 0 01-2-2V2z",fill:"#E65C5C"})))}function C(e){return l.a.createElement("svg",Object.assign({width:26,height:26,viewBox:"0 0 26 26"},e),l.a.createElement("path",{d:"M13 25c6.627 0 12-5.373 12-12S19.627 1 13 1 1 6.373 1 13",stroke:"#171917",strokeWidth:2,fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function S(e){return l.a.createElement("svg",Object.assign({width:169,height:39,viewBox:"0 0 169 39"},e),l.a.createElement("path",{d:"M160.701 31.245c-2.736 0-4.788-.706-6.156-2.118-1.369-1.411-2.053-3.424-2.053-6.039V2.674h7.487v6.33H169v6.15h-9.02v7.355c0 1.753.886 2.63 2.66 2.63h6.134v6.106h-8.073zm-24.942 0c-1.744 0-3.352-.268-4.826-.803-1.473-.535-2.751-1.292-3.833-2.273a10.275 10.275 0 01-2.526-3.521c-.602-1.367-.902-2.882-.902-4.546 0-1.635.3-3.135.902-4.502a10.275 10.275 0 012.526-3.521c1.082-.98 2.36-1.738 3.833-2.273 1.474-.535 3.082-.803 4.826-.803h5.728c1.293 0 2.42.179 3.383.535.962.357 1.767.847 2.413 1.471a5.823 5.823 0 011.443 2.251c.316.877.474 1.835.474 2.875 0 1.961-.571 3.432-1.714 4.412-1.143.981-3.022 1.471-5.638 1.471h-8.028v-4.056h6.45c1.172 0 1.759-.52 1.759-1.56 0-1.1-.572-1.649-1.714-1.649h-4.6c-1.354 0-2.451.46-3.293 1.382-.842.921-1.263 2.228-1.263 3.922s.42 2.964 1.263 3.811c.842.847 1.94 1.27 3.292 1.27h12.268v6.107H135.76zm-22.867 0V19.567c0-2.526-1.308-3.789-3.924-3.789h-7.532v15.467H93.86V9.003h15.29c3.728 0 6.54.922 8.434 2.764 1.894 1.842 2.841 4.457 2.841 7.844v11.634h-7.532zM67.293 39v-6.418h2.39c.963 0 1.715-.193 2.256-.58a4.58 4.58 0 001.308-1.426L62.422 9.003h7.623l6.675 14.263 6.855-14.263h7.668L78.749 33.43c-.48.95-.984 1.775-1.51 2.473a7.85 7.85 0 01-1.782 1.739 7.11 7.11 0 01-2.233 1.025c-.827.223-1.781.334-2.864.334h-3.067zm-14.207-7.755l-7.713-9.316a4.647 4.647 0 01-.54-.914 2.306 2.306 0 01-.181-.913v-.535c0-.654.225-1.278.676-1.872l7.487-8.692h8.48l-9.02 10.787 9.47 11.455h-8.66zm-17.41 0V0h7.532v31.245h-7.532zm-35.315 0v-7.488h21.92c.571 0 1.037-.171 1.398-.513.36-.342.541-.825.541-1.449 0-.624-.18-1.114-.541-1.47-.36-.357-.827-.535-1.398-.535H9.38c-1.353 0-2.608-.216-3.766-.647-1.157-.43-2.15-1.025-2.976-1.782a8.005 8.005 0 01-1.94-2.742C.233 13.55 0 12.361 0 11.054 0 9.746.233 8.55.7 7.466A8.184 8.184 0 012.638 4.68c.826-.773 1.819-1.367 2.976-1.783 1.158-.416 2.413-.624 3.766-.624h22.281v7.444H9.742c-.571 0-1.03.163-1.375.49-.346.327-.52.802-.52 1.426 0 .594.174 1.07.52 1.426.345.357.804.535 1.375.535h12.9c1.383 0 2.646.216 3.788.647a9.097 9.097 0 012.977 1.805 8.038 8.038 0 011.962 2.785c.466 1.085.7 2.266.7 3.544 0 1.337-.234 2.548-.7 3.632a8.267 8.267 0 01-1.962 2.808 8.62 8.62 0 01-2.977 1.806c-1.142.416-2.405.624-3.788.624H.36z",fill:"#57B560",fillRule:"evenodd"}))}function L(e){return l.a.createElement("svg",Object.assign({width:18,height:18,viewBox:"0 0 18 18"},e),l.a.createElement("path",{d:"M15 13v2a2 2 0 01-2 2H3a2 2 0 01-2-2V5a2 2 0 012-2h2m2.464 3.293L6.05 7.707a3 3 0 104.243 4.243l1.414-1.414h0m-1.414-7.072l1.414-1.414a3 3 0 114.243 4.243l-1.414 1.414h0M8.879 9.121L13.12 4.88",stroke:"currentColor",strokeWidth:2,fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function M(e){return l.a.createElement("svg",Object.assign({width:26,height:26,viewBox:"0 0 26 26"},e),l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{d:"M2.604 18.997c1.66 2.873 7.656 2.513 13.396-.8C21.74 14.881 25.05 9.87 23.392 7A11.919 11.919 0 0125 13c0 6.627-5.373 12-12 12a11.995 11.995 0 01-10.396-6.003z",fill:"#343734"}),l.a.createElement("path",{d:"M25 13c0-6.627-5.373-12-12-12S1 6.373 1 13s5.373 12 12 12 12-5.373 12-12zm-1.608-6C25.05 9.87 21.74 14.882 16 18.196S4.265 21.87 2.608 19",stroke:"#343734",strokeWidth:2,strokeLinejoin:"round"})))}function B(e){return l.a.createElement("svg",Object.assign({width:263,height:258,viewBox:"0 0 263 258"},e),l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{fill:"#343734",d:"M132 129L1.726 176.77l-.058.329 107.758 79.926 128.596-38.25.057-.329z"}),l.a.createElement("path",{d:"M154.574.975L24.821 45.791 1.668 177.1l107.758 79.926 128.596-38.25 23.153-131.308L154.575.975zm106.6 86.492L132 129 24.82 45.791m213.202 172.983L132 129 1.668 177.099",stroke:"#343734",strokeWidth:2,strokeLinejoin:"round"})))}function V(e){return l.a.createElement("svg",Object.assign({width:"74",height:"65",viewBox:"0 0 74 65"},e),l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{d:"M70.723 64.302a7.37 7.37 0 01-1.284-.378c-.773-.31-1.922-.92-2.798-1.486-1.213-.783-3.053-2.198-4.377-3.366-.197-.174-.5-.44-.675-.591a30.765 30.765 0 01-.6-.54l-.697-.645c-1.56-1.439-4.53-4.45-5.93-6.012a130.07 130.07 0 00-.74-.815c-.78-.853-1.041-1.162-1.034-1.223.006-.053.031-.057.397-.065l.391-.008.106.094c.059.052.287.301.508.554.386.442.631.71 1.102 1.207.12.126.358.385.529.574.695.773 2.875 2.99 3.775 3.84l.773.728c2.248 2.122 4.849 4.165 6.701 5.264.977.58 1.39.776 2.212 1.053.665.225.984.288 1.441.288.315 0 .407-.011.604-.073.656-.203 1.032-.63 1.236-1.404.227-.863.18-1.9-.156-3.475-.407-1.902-1.404-4.676-2.618-7.284l-.48-1.034a102.853 102.853 0 00-1.512-3.031l-.435-.804a102.52 102.52 0 00-1.62-2.902c-.849-1.456-1.166-1.992-1.27-2.14-.185-.263-.25-.411-.265-.604-.01-.135-.004-.182.03-.211.1-.082.099-.083 1.212 1.791a151.95 151.95 0 011.618 2.83c.154.277.322.574.373.661.05.087.218.397.371.69.153.292.372.706.486.919 2.905 5.452 4.814 10.273 5.253 13.263.137.933.157 1.79.057 2.457a2.6 2.6 0 01-.287.887c-.103.207-.17.297-.371.492-.424.413-.778.543-1.46.538a4.251 4.251 0 01-.566-.04zm-35.6-38.46l-.167-.267c-.05-.078-.212-.352-.361-.61-.428-.738-1.288-2.173-1.341-2.236a4.831 4.831 0 01-.225-.366l-.176-.309.007-.953.008-.953.183.342c.101.189.317.586.48.884.164.298.353.647.42.776.122.232.505.899.788 1.37.081.133.226.38.323.545.096.166.217.363.269.438.124.18.385.632.386.669 0 .026-.435.704-.495.77-.012.014-.056-.029-.1-.1zm12.844-7.816a15.927 15.927 0 01-.397-.454 46.908 46.908 0 00-.6-.69l-.894-1.005A102.4 102.4 0 0043 12.545c-1.017-1.063-3.083-3.11-3.403-3.37-.062-.05-.298-.267-.524-.48-.225-.214-.64-.589-.921-.833l-.77-.672c-.241-.21-.842-.701-1.5-1.228-1.467-1.172-3.393-2.41-4.442-2.857-1.46-.621-2.446-.748-3.135-.403-.473.237-.808.689-.977 1.317-.123.462-.164 1.581-.074 2.018.017.08.058.361.092.627.055.423.057.49.021.526-.045.044-1.114.5-1.173.499-.08-.001-.116-.066-.267-.476-.297-.805-.465-1.339-.54-1.717a10.455 10.455 0 00-.115-.522c-.038-.137-.135-.79-.186-1.25a13.667 13.667 0 01-.028-.905c-.003-.608.003-.723.058-.976.15-.702.369-1.111.759-1.423.366-.294.714-.4 1.308-.401.55 0 .946.077 1.605.318 1.856.676 4.035 2.07 6.575 4.205.32.27.662.554.758.633.097.08.404.35.683.604.28.252.555.498.614.546.17.138 1.753 1.635 2.5 2.365.378.368.993.989 1.368 1.379.375.39.73.754.789.81.059.054.342.352.63.66l.927.991c.222.237.589.637.815.89.226.252.508.563.625.69.203.219.786.879 1.255 1.42a95.017 95.017 0 011.823 2.12c.194.23.32.404.314.433-.007.04-.047.051-.195.058-.183.008-.185.008-.302-.115z",fill:"#8B8C8B"}),l.a.createElement("g",{fill:"#57B560"},l.a.createElement("path",{d:"M10.955 47.843c-3.147-.218-5.926-1.194-8.708-3.057a18.634 18.634 0 01-.64-.455 21.592 21.592 0 00-.406-.3 35.55 35.55 0 01-1.031-.848l-.13-.112.26-.267c.306-.313.935-.953 1.1-1.119l.825-.84a4399.636 4399.636 0 011.623-1.66c.047-.05.068-.034.509.4 1.054 1.037 2.124 1.78 3.564 2.472.306.147.57.267.588.267.017 0 .073.022.124.048.312.158 1.476.511 1.96.594l.52.088c.335.057 1.562.083 1.93.042.766-.086 1.517-.283 2.07-.543a4.835 4.835 0 001.2-.77c.665-.56 1.04-1.157 1.113-1.774.078-.653-.073-1.318-.415-1.828a3.3 3.3 0 00-.39-.443c-.363-.345-.711-.557-1.309-.8-.352-.142-.818-.26-1.708-.434l-1.086-.213-1.071-.212c-1.24-.242-2.214-.456-2.809-.617-1.057-.286-2.059-.616-2.692-.887l-.435-.185c-.4-.172-.97-.486-1.418-.783-.612-.405-1.24-1.016-1.626-1.584-.443-.65-.648-1.117-.907-2.063-.155-.57-.208-1.908-.107-2.745.11-.916.459-2.015.88-2.775.279-.503.385-.666.714-1.095.97-1.267 2.307-2.315 3.695-2.895.908-.38 1.885-.654 2.721-.762l.695-.09c.45-.057 2.034-.083 2.563-.042 1.672.132 2.948.401 4.458.941.526.188 1.62.69 2.244 1.032.29.157.548.306.782.45.135.083.272.165.304.182.198.107 1.55 1.03 1.642 1.12.053.053.077.018-.411.618-.279.344-.544.674-.637.795a44.636 44.636 0 00-.565.697l-.478.597c-.071.088-.215.268-.318.399-.104.13-.234.292-.29.358-.055.066-.178.218-.272.337a1.43 1.43 0 01-.192.218c-.012 0-.182-.136-.38-.303-.302-.256-.926-.73-1.182-.9-.966-.64-1.63-.972-2.592-1.295a11.186 11.186 0 00-2.156-.49c-.361-.042-1.381-.035-1.723.013-1.295.183-2.325.624-3.048 1.306a2.68 2.68 0 00-.872 1.779c-.05.522.072 1.098.31 1.478.136.215.465.58.61.677.057.038.156.107.22.153.308.223 1.21.592 1.694.692l.535.113c.32.068.596.124 1.998.408l.97.195c.263.054.712.144.999.201.287.057.697.142.912.187.215.046.495.101.623.123 1.097.19 2.707.695 3.402 1.066l.245.13c1.846.978 2.981 2.441 3.37 4.344.135.657.159.9.159 1.647 0 .533-.012.771-.052 1.01-.32 1.95-1.058 3.45-2.385 4.853-1.045 1.105-2.265 1.868-3.929 2.459-1.064.377-2.259.603-3.706.7-.466.03-1.588.03-2.055-.003zM25.88 33.702v-14.17h5.733v28.341H25.88zM28.326 16.627a4.613 4.613 0 01-.432-.111c-.955-.29-1.7-1.068-1.93-2.016-.402-1.65.727-3.245 2.45-3.462.326-.04.369-.04.728.012 1.161.169 2.062.954 2.374 2.071.068.243.079.333.08.705.001.399-.005.448-.092.748-.23.786-.691 1.351-1.426 1.748a3.68 3.68 0 01-.93.306 3.288 3.288 0 01-.822-.001zm19.67 31.215a20.2 20.2 0 01-1.921-.256c-.954-.198-1.92-.491-2.664-.81a2.324 2.324 0 00-.255-.098c-.042 0-1.005-.482-1.349-.675a14.43 14.43 0 01-3.826-3.124 10.298 10.298 0 01-.52-.628 30.045 30.045 0 00-.238-.33c-.303-.415-.573-.814-.573-.849a.283.283 0 00-.053-.088c-.147-.187-.579-1.008-.881-1.676-.546-1.207-.938-2.705-1.124-4.297-.043-.367-.043-2.24 0-2.618.218-1.903.66-3.419 1.462-5.008.205-.405.254-.496.49-.896a16.639 16.639 0 011.104-1.576c.314-.413 1.152-1.29 1.666-1.744.268-.237.846-.7 1.135-.91a20.14 20.14 0 011.109-.724c1.055-.594 1.854-.954 2.826-1.274.787-.259 1.748-.486 2.429-.573l.695-.089c.186-.024.705-.05 1.18-.059.855-.016 1.314.005 1.99.094.175.023.42.054.545.068.664.077 2.155.467 2.826.74.117.047.224.086.238.086.022 0 .304.119.72.304 1.104.493 2.243 1.208 3.27 2.051.19.157.889.801 1.076.992 1.531 1.566 2.728 3.55 3.367 5.588.261.83.486 1.837.542 2.427.015.16.042.392.06.518.025.166.037 2.282.044 7.846l.01 7.62-7.536-.005c-4.145-.002-7.675-.014-7.845-.027zm9.645-9.965c0-5.097.002-5.045-.24-6.081a8.79 8.79 0 00-1.259-2.829c-.725-1.062-1.812-2.064-2.907-2.68a13.402 13.402 0 00-1.21-.565c-.725-.254-1.163-.367-1.797-.463-.453-.068-.584-.076-1.272-.076-.685 0-.823.009-1.274.076-1.203.18-2.33.59-3.33 1.21-1.069.662-1.94 1.506-2.688 2.601-.082.12-.15.23-.15.245a.263.263 0 01-.053.094c-.059.075-.355.634-.466.88a8.535 8.535 0 00-.58 1.919c-.194 1.1-.196 1.826-.01 2.917.076.454.27 1.168.399 1.482.04.098.074.188.074.2 0 .026.195.44.34.723.672 1.305 1.758 2.485 3.033 3.293 1.297.823 2.705 1.28 4.3 1.397.07.005 2.146.011 4.61.014l4.48.005v-4.362z"})),l.a.createElement("g",{fill:"#8B8C8B"},l.a.createElement("path",{d:"M12.858 15.565a1.32 1.32 0 01-.906-.946c-.035-.14-.043-.398-.043-1.377v-1.205h-.647v-1.023h.647V9.776h1.264v1.238h1.012v1.023h-1.012v1.085c0 1.07.001 1.086.063 1.204a.56.56 0 00.16.18c.133.086.367.084.547-.003.09-.043.137-.055.145-.034l.153.403.142.372-.064.051a2.122 2.122 0 01-.602.28c-.236.058-.652.053-.859-.01zm-11.01-2.282l-.8-2.255.629-.007a9.34 9.34 0 01.641.004c.007.006.21.633.45 1.393.24.76.445 1.39.455 1.401.01.011.226-.613.482-1.386l.464-1.405H5.26l.464 1.406c.255.773.471 1.397.481 1.386.01-.01.192-.57.405-1.244l.44-1.393.055-.169h1.28l-.802 2.262-.804 2.261-.588-.007-.59-.007-.436-1.418c-.24-.78-.442-1.412-.45-1.405-.009.008-.212.646-.453 1.419l-.437 1.404-.589.007-.588.007-.8-2.254zM9.127 13.275v-2.261h1.32v4.522h-1.32v-2.261zM15.253 12.481V9.426h1.292v1.063c0 .585.01 1.064.024 1.064.013 0 .065-.05.116-.11.123-.147.45-.349.691-.427.267-.087.789-.108 1.052-.043a1.692 1.692 0 011.225 1.16c.045.143.051.327.06 1.782l.01 1.621h-1.265l-.008-1.433c-.008-1.43-.008-1.434-.073-1.588a.892.892 0 00-.498-.476.819.819 0 00-.392-.05c-.395.02-.675.188-.835.5l-.093.18-.008 1.433-.008 1.434h-1.29v-3.055zm-5.79-2.187c-.428-.207-.52-.728-.187-1.057.447-.44 1.198-.145 1.198.472 0 .505-.538.816-1.012.585z"})),l.a.createElement("g",{fill:"#8B8C8B"},l.a.createElement("path",{d:"M9.392 6.591a1.669 1.669 0 01-1.225-1.185c-.053-.195-.057-.303-.057-1.791V2.03h1.282v1.408c0 1.356.002 1.414.06 1.574a.919.919 0 00.442.49c.12.058.178.067.41.067.237 0 .292-.01.445-.076a.902.902 0 00.552-.68c.015-.087.028-.75.028-1.471V2.031h1.31v4.522h-1.31V6.27c0-.155-.003-.282-.008-.282-.004 0-.104.088-.22.195-.35.32-.717.452-1.251.449a2.547 2.547 0 01-.458-.04zm10.761-.01a1.329 1.329 0 01-.918-.946c-.035-.14-.044-.398-.044-1.377V3.054h-.655V2.03h.655V.793h1.281V2.03h1.026v1.023h-1.026v1.084c0 1.071.001 1.086.065 1.204a.562.562 0 00.16.181c.136.085.373.084.556-.004.09-.043.139-.054.147-.033l.155.403.144.371-.065.052a2.163 2.163 0 01-.61.279c-.24.058-.662.054-.87-.01zM13.836 4.292V2.031h1.338v4.522h-1.338V4.292zM16.342 3.498V.443h1.339v6.11h-1.339V3.498zM14.176 1.31c-.434-.207-.527-.728-.19-1.056.454-.441 1.216-.146 1.216.471 0 .504-.543.815-1.026.586zM2.043.444h1.34v1.103c0 .607.002 1.104.006 1.104s.098-.082.21-.182c.394-.355.734-.49 1.296-.511.447-.017.694.029 1.047.196.555.263.96.763 1.148 1.414.057.197.066.29.066.711 0 .548-.048.792-.23 1.167-.283.582-.848 1.03-1.45 1.148-.18.036-.708.05-.855.023-.45-.088-.832-.287-1.095-.57l-.143-.153v.66h-1.34V.443zm2.926 5.1c.44-.123.765-.459.876-.904.179-.716-.201-1.41-.876-1.599a1.68 1.68 0 00-.707-.002c-.374.107-.641.35-.796.721-.086.204-.108.673-.044.909.118.432.397.736.794.864.187.06.558.066.753.011z"}))))}function R(e){return l.a.createElement("svg",Object.assign({viewBox:"0 0 108 90",width:108,height:90,xmlns:"http://www.w3.org/2000/svg"},e),l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{d:"M2.503 60.68C17.967 87.463 52.216 96.64 79 81.176c26.784-15.464 35.961-49.713 20.497-76.498m-96.994 56C17.967 87.464 52.216 96.641 79 81.177c-24.689 4.287-42.188-2.498-52.497-20.354M59 46.536c26.784-15.464 44.916-34.204 40.497-41.857C95.08-2.973 69.784 3.36 43 18.823S-1.916 53.027 2.503 60.68C6.92 68.332 32.216 62 59 46.536z",stroke:"#57B560",strokeWidth:"2",strokeLinejoin:"round"}),l.a.createElement("path",{d:"M2.503 60.68c2.507 4.343 11.738 4.181 24.15.403C36.983 78.745 54.431 85.443 79 81.177 52.216 96.64 17.967 87.464 2.503 60.679z",fill:"#57B560"})))}function I(e){return l.a.createElement("svg",Object.assign({width:54,height:41,viewBox:"0 0 54 41"},e),l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{d:"M16.37 15.835l4.977 23.803a5.993 5.993 0 01-3.932-3.067L3.382 9.611c2.529 2.237 7.161 4.467 12.988 6.224z",fill:"#57B560"}),l.a.createElement("path",{d:"M25.53 17.995c14.141 2.493 26.225.999 26.99-3.338.764-4.338-10.08-9.875-24.22-12.368-14.142-2.494-26.226-1-26.99 3.338C.545 9.964 11.389 15.5 25.53 17.995zM1.31 5.627L17.419 36.58a6 6 0 009.376 1.653L52.52 14.657h0M1.31 5.627L17.415 36.57a5.993 5.993 0 003.932 3.067l-5.005-23.941",stroke:"#57B560",strokeWidth:2,strokeLinejoin:"round"})))}function H(e){return l.a.createElement("svg",Object.assign({width:27,height:27,viewBox:"0 0 27 27"},e),l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{d:"M2.485 9.73c-1.134 3.12 2.996 7.482 9.224 9.749 6.228 2.267 12.195 1.58 13.328-1.534a11.921 11.921 0 01-3.562 5.088c-5.077 4.26-12.646 3.598-16.906-1.479A11.995 11.995 0 012.485 9.73z",fill:"#57B560"}),l.a.createElement("path",{d:"M21.475 23.033c5.076-4.26 5.739-11.829 1.479-16.906C18.694 1.05 11.124.388 6.048 4.648.97 8.908.308 16.478 4.568 21.554c4.26 5.077 11.83 5.74 16.907 1.48zm3.562-5.088c-1.133 3.114-7.1 3.8-13.328 1.534-6.228-2.267-10.358-6.629-9.224-9.743",stroke:"#57B560",strokeWidth:2,strokeLinejoin:"round"})))}function U(e){return l.a.createElement("svg",Object.assign({width:51,height:51,viewBox:"0 0 51 51"},e),l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{d:"M7.389 10.392l-.013.022c-4.26 5.077.518 16.1 10.672 24.62 10.153 8.52 21.838 11.31 26.098 6.234l.016-.013a23.89 23.89 0 01-10.192 7.138C21.514 52.927 7.742 46.505 3.208 34.05c-3.04-8.355-1.152-17.303 4.18-23.657z",fill:"#57B560"}),l.a.createElement("path",{d:"M33.97 48.393c12.455-4.533 18.877-18.305 14.344-30.76C43.78 5.176 30.008-1.246 17.553 3.287 5.097 7.822-1.325 21.594 3.208 34.05 7.742 46.505 21.514 52.927 33.97 48.393zm10.176-7.125c-4.26 5.077-15.945 2.285-26.098-6.235-10.154-8.52-14.932-19.542-10.672-24.62",stroke:"#57B560",strokeWidth:2,strokeLinejoin:"round"})))}function T(e){return l.a.createElement("svg",Object.assign({width:97,height:95,viewBox:"0 0 97 95"},e),l.a.createElement("defs",null,l.a.createElement("filter",{id:"prefix__a",width:"133.3%",height:"136.1%",x:"-16.7%",y:"-18.1%",filterUnits:"objectBoundingBox"},l.a.createElement("feMorphology",{in:"SourceAlpha",operator:"dilate",radius:1,result:"shadowSpreadOuter1"}),l.a.createElement("feOffset",{in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),l.a.createElement("feMorphology",{in:"SourceAlpha",radius:1,result:"shadowInner"}),l.a.createElement("feOffset",{in:"shadowInner",result:"shadowInner"}),l.a.createElement("feComposite",{in:"shadowOffsetOuter1",in2:"shadowInner",operator:"out",result:"shadowOffsetOuter1"}),l.a.createElement("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:4}),l.a.createElement("feColorMatrix",{in:"shadowBlurOuter1",values:"0 0 0 0 0.341176471 0 0 0 0 0.709803922 0 0 0 0 0.376470588 0 0 0 0.3 0"})),l.a.createElement("path",{id:"prefix__b",d:"M34.5 24c18.225 0 33-5.373 33-12S52.725 0 34.5 0s-33 5.373-33 12 14.775 12 33 12zm0 48c18.225 0 33-5.373 33-12s-14.775-12-33-12-33 5.373-33 12 14.775 12 33 12zm33-60v48m-66 0V12m12 9v48"})),l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{fill:"#FFF",fillOpacity:.8,d:"M9.782 36.669l-.064-.188c-1.961-6.242 10.014-16.204 26.97-22.375 17.126-6.234 32.847-6.238 35.114-.01L88.219 59.2c2.266 6.228-9.78 16.33-26.906 22.563-17.126 6.233-32.847 6.238-35.114.01L9.782 36.67z"}),l.a.createElement("path",{fill:"#57B560",d:"M9.782 36.669c1.287 3.536 6.911 5.063 14.667 4.581l16.417 45.105c-7.756.482-13.38-1.045-14.667-4.58L9.782 36.668z"}),l.a.createElement("g",{strokeLinejoin:"round",transform:"rotate(-20 75.593 .85)"},l.a.createElement("use",{fill:"#000",filter:"url(#prefix__a)",xlinkHref:"#prefix__b"}),l.a.createElement("use",{stroke:"#57B560",strokeWidth:2,xlinkHref:"#prefix__b"}))))}function W(e){return l.a.createElement("svg",Object.assign({width:26,height:26,viewBox:"0 0 26 26"},e),l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{d:"M2.604 18.997c1.66 2.873 7.656 2.513 13.396-.8C21.74 14.881 25.05 9.87 23.392 7A11.919 11.919 0 0125 13c0 6.627-5.373 12-12 12a11.995 11.995 0 01-10.396-6.003z",fill:"#171917"}),l.a.createElement("path",{d:"M25 13c0-6.627-5.373-12-12-12S1 6.373 1 13s5.373 12 12 12 12-5.373 12-12zm-1.608-6C25.05 9.87 21.74 14.882 16 18.196S4.265 21.87 2.608 19",stroke:"#171917",strokeWidth:2,strokeLinejoin:"round"})))}function A(e){return l.a.createElement("svg",Object.assign({width:57,height:52,viewBox:"0 0 57 52"},e),l.a.createElement("g",{fill:"none",fillRule:"evenodd"},l.a.createElement("path",{fill:"#171917",d:"M29 26L1.66 30.947l18.447 19.485 26.657-3.068z"}),l.a.createElement("path",{d:"M37.893 1.568L10.78 5.888l-9.12 25.06 18.447 19.484 26.657-3.068 9.12-25.058L37.894 1.568zm17.992 20.738L29 26 10.78 5.889m35.984 41.475L29 26 1.66 30.947",stroke:"#171917",strokeWidth:2,strokeLinejoin:"round"})))}function F(e){return l.a.createElement("svg",Object.assign({width:146,height:146,viewBox:"0 0 146 146"},e),l.a.createElement("g",{transform:"translate(1 1)",fill:"none",fillRule:"evenodd"},l.a.createElement("circle",{fillOpacity:.8,fill:"#FFF",cx:72,cy:72,r:72}),l.a.createElement("path",{d:"M72 144c39.765 0 72-32.235 72-72S111.765 0 72 0 0 32.235 0 72s32.235 72 72 72zm36-9.646C90.781 144.295 60.705 124.437 40.823 90 20.941 55.563 18.781 19.587 36 9.646",stroke:"#171917",strokeWidth:2,strokeLinejoin:"round"}),l.a.createElement("path",{d:"M36.094 9.578L36 9.646C18.781 19.587 20.94 55.563 40.823 90c19.882 34.437 49.958 54.295 67.177 44.354l.045-.013C97.445 140.484 85.133 144 72 144c-39.765 0-72-32.235-72-72C0 45.311 14.521 22.014 36.094 9.578z",fill:"#171917"})))}function D(e){var t=e.type,a=e.url,n=e.className;return l.a.createElement("div",{className:m()("sample",n)},l.a.createElement("a",{download:!0,href:a},l.a.createElement(E,null),l.a.createElement("span",{className:"sample-name"},l.a.createElement("strong",null,t)," Sample"),l.a.createElement("span",{className:"sample-download"},"Download")))}a(232);function _(e){var t=e.icon,a=e.title,n=e.greenText,r=e.url;return l.a.createElement("a",{href:r,className:"social-link"},l.a.createElement("span",{className:"social-link-icon"},"github"===t?l.a.createElement(v,null):"discord"===t?l.a.createElement(b,null):"twitter"===t?l.a.createElement(g,null):void 0),l.a.createElement("span",{className:"social-link-text"},l.a.createElement("span",{className:"social-link-title"},a),l.a.createElement("span",{className:"social-link-green"},n)))}a(233);function q(e){var t=e.children;return l.a.createElement("div",{className:"circle-icon"},t)}a(234);function P(e){var t=e.title,a=e.children;return l.a.createElement("div",{className:"faq"},l.a.createElement("div",{className:"faq-dash"}),l.a.createElement("div",{className:"faq-text"},l.a.createElement("h3",null,t),a))}var G=a(4),J=a(5),Q=a(8),X=a(6),K=a(9),Y=(a(235),function(e){function t(){var e,a;Object(G.a)(this,t);for(var n=arguments.length,r=new Array(n),c=0;c<n;c++)r[c]=arguments[c];return(a=Object(Q.a)(this,(e=Object(X.a)(t)).call.apply(e,[this].concat(r)))).state={copied:!1},a.getIcon=function(){var e=a.props.status;return"uploading"===e||"processing"===e?l.a.createElement(x,null):"error"===e?l.a.createElement(z,null):l.a.createElement(O,null)},a.copyToClipboard=function(e){a.urlRef.current.select(),document.execCommand("copy"),e.target.focus(),a.setState({copied:!0},(function(){setTimeout((function(){a.setState({copied:!1})}),1500)}))},a.urlRef=l.a.createRef(),a}return Object(K.a)(t,e),Object(J.a)(t,[{key:"render",value:function(){var e=this.props,t=e.file,a=e.url,n=e.status,r=this.state.copied?"Copied!":"Copy to clipboard";return l.a.createElement("div",{className:"upload-file"},l.a.createElement("div",{className:"upload-file-icon"},this.getIcon()),l.a.createElement("div",{className:"upload-file-text"},l.a.createElement("h3",null,t.name),l.a.createElement("p",null,"uploading"===n&&"Uploading...","processing"===n&&"Processing...","error"===n&&l.a.createElement("span",{className:"red-text"},"Error processing file."),"complete"===n&&l.a.createElement("a",{href:a,className:"url green-text"},a))),("uploading"===n||"processing"===n)&&l.a.createElement("div",{className:"upload-file-loading"},l.a.createElement($,null)),"complete"===n&&l.a.createElement("button",{onClick:this.copyToClipboard,className:"upload-file-copy"},l.a.createElement("p",{className:"upload-file-copy-tooltip"},r),l.a.createElement(L,null),l.a.createElement("textarea",{value:a,ref:this.urlRef})))}}]),t}(n.Component));a(236);function $(){return l.a.createElement("div",{className:"loading-spinner"},l.a.createElement(C,null))}var Z=a(1),ee=a.n(Z),te=a(7),ae=a.n(te);a(240);function ne(){return l.a.createElement(ae.a,{effect:"active"},l.a.createElement("footer",{className:"footer"},l.a.createElement("div",{className:"width"},l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("div",{className:"footer-column"},l.a.createElement(V,null))),l.a.createElement("div",{className:"footer-column"},l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("h2",null,"Sia Elsewhere"),l.a.createElement("ul",null,l.a.createElement("li",null,l.a.createElement("a",{href:"#"},"Sia Jobs ",l.a.createElement(w,null))),l.a.createElement("li",null,l.a.createElement("a",{href:"https://skynet.luxor.tech"},"Luxor Tech",l.a.createElement(w,null))),l.a.createElement("li",null,l.a.createElement("a",{href:"https://sialoop.net"},"Sia Loop ",l.a.createElement(w,null))),l.a.createElement("li",null,l.a.createElement("a",{href:"https://skynet.tutemwesi.com"},"Tutem Wesi ",l.a.createElement(w,null)))))),l.a.createElement("div",{className:"footer-column"},l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("h2",null,"Social"),l.a.createElement("ul",null,l.a.createElement("li",null,l.a.createElement("a",{href:"#"},"Reddit",l.a.createElement(w,null))),l.a.createElement("li",null,l.a.createElement("a",{href:"#"},"Twitter ",l.a.createElement(w,null))),l.a.createElement("li",null,l.a.createElement("a",{href:"#"},"Discord ",l.a.createElement(w,null))),l.a.createElement("li",null,l.a.createElement("a",{href:"#"},"Github ",l.a.createElement(w,null)))))),l.a.createElement("div",{className:"footer-column"},l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("h2",null,"Stay up-to-date with Skynet updates"),l.a.createElement(ce,{id:"check2",light:!0})))),l.a.createElement(B,{className:"footer-cube fadeInUp delay2"}),l.a.createElement(M,{className:"footer-orb fadeInUp delay2"})))}var le=a(29),re=(a(245),function(e){var t,a,n=e.status,r=e.message,c=e.onValidated,s=e.light,o=e.id;return l.a.createElement("form",{className:m()("home-stay-form",{light:s}),onSubmit:function(e){return e.preventDefault()}},l.a.createElement("input",{ref:function(e){return t=e},type:"email",placeholder:"Email Address",validate:!0}),l.a.createElement("div",{className:"home-form-stay-existing"},l.a.createElement("input",{ref:function(e){return a=e},type:"checkbox",id:o}),l.a.createElement("label",{htmlFor:o},"I have previous experience using Sia")),l.a.createElement("button",{className:"button",onClick:function(){t.value.indexOf("@")>-1&&c({EMAIL:t.value,USER:a.checked?"Yes":"No"})}},"Get Updates"),"sending"===n&&l.a.createElement("p",{className:"message"},"sending..."),"error"===n&&l.a.createElement("p",{className:"message red-text",dangerouslySetInnerHTML:{__html:r}}),"success"===n&&l.a.createElement("p",{className:"message",dangerouslySetInnerHTML:{__html:r}}))});function ce(e){var t=e.light,a=e.id;return l.a.createElement(le.a,{url:"https://tech.us11.list-manage.com/subscribe/post?u=5df238d9e852f9801b5f2c92e&amp;id=ab6bea4cc2",render:function(e){var n=e.subscribe,r=e.status,c=e.message;return l.a.createElement(re,{id:a,status:r,message:c,light:t,onValidated:function(e){return n(e)}})}})}a(246);function se(){return l.a.createElement(ae.a,{effect:"active"},l.a.createElement("div",{className:"home-top"},l.a.createElement(S,{className:"logo"}),l.a.createElement("h1",{className:"fadeInUp delay2"},"Build the Future Web."),l.a.createElement("p",{className:"fadeInUp delay4"},"Skynet is a decentralized file sharing and content distribution protocol."),l.a.createElement(R,{className:"deco-1 fadeInUp delay8"}),l.a.createElement(I,{className:"deco-2 fadeInUp delay8"})))}var oe=a(11),ie=a.n(oe),me=a(30),ue=a(12),de=a(16),he=a(26),fe=(a(248),function(e){function t(){var e,a;Object(G.a)(this,t);for(var n=arguments.length,l=new Array(n),r=0;r<n;r++)l[r]=arguments[r];return(a=Object(Q.a)(this,(e=Object(X.a)(t)).call.apply(e,[this].concat(l)))).state={files:[]},a.handleDrop=function(){var e=Object(de.a)(ie.a.mark((function e(t){return ie.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a.setState({files:[].concat(Object(ue.a)(t.map((function(e){return{file:e,status:"uploading"}}))),Object(ue.a)(a.state.files))}),t.forEach(function(){var e=Object(de.a)(ie.a.mark((function e(t){var n,l,r,c,s,o;return ie.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="https://siasky.net/api/skyfile?filename=".concat(t.name),(l=new FormData).append("file",t),r=function(e,n){a.setState((function(a){var l=a.files.findIndex((function(e){return e.file===t}));return{files:[].concat(Object(ue.a)(a.files.slice(0,l)),[Object(me.a)({},a.files[l],{status:e,url:"https://siasky.net/file/".concat(n)})],Object(ue.a)(a.files.slice(l+1)))}}))},e.prev=4,e.next=7,fetch(n,{method:"POST",body:l,mode:"cors"});case 7:return c=e.sent,e.next=10,c.json();case 10:s=e.sent,o=s.skylink,r("complete",o),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(4),r("error");case 18:case"end":return e.stop()}}),e,null,[[4,15]])})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),a}return Object(K.a)(t,e),Object(J.a)(t,[{key:"render",value:function(){var e=this;return l.a.createElement(ae.a,{effect:"active"},l.a.createElement("div",{className:"home-upload"},l.a.createElement("div",{className:"home-upload-box fadeInUp delay6"},l.a.createElement(he.a,{onDrop:function(t){return e.handleDrop(t)}},(function(e){var t=e.getRootProps,a=e.getInputProps,n=e.isDragActive;return l.a.createElement(l.a.Fragment,null,l.a.createElement("div",Object.assign({className:m()("home-upload-dashed",{"drop-active":n})},t()),l.a.createElement("span",{className:"home-upload-text"},"Drag & drop your file(s) here to pin"),l.a.createElement(u,null,"Browse")),l.a.createElement("input",Object.assign({},a(),{className:"offscreen"})))})),this.state.files.length>0&&l.a.createElement("div",{className:"home-uploaded-files"},this.state.files.map((function(e,t){return l.a.createElement(Y,Object.assign({key:t},e))})))),l.a.createElement("p",{className:"bottom-text fadeInUp delay8"},"Once a file has been uploaded, a 46 byte link called a 'Skylink' is generated. That link can then be shared with anyone to fetch the file from Skynet."),l.a.createElement(H,{className:"deco-3 fadeInUp delay8"}),l.a.createElement(U,{className:"deco-4 fadeInUp delay8"}),l.a.createElement(T,{className:"deco-5 fadeInUp delay8"})))}}]),t}(n.Component));a(249);function pe(){return l.a.createElement("div",{className:"home-built"},l.a.createElement("header",{className:"home-built-header"},l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("div",{className:"home-built-divider"},l.a.createElement("div",{className:"small-divider"}),l.a.createElement("div",{className:"divider"}),l.a.createElement(y,{className:"small-orb"}),l.a.createElement(q,null,l.a.createElement(k,null)),l.a.createElement(y,{className:"small-orb"}),l.a.createElement("div",{className:"divider"}),l.a.createElement("div",{className:"small-divider"}))),l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("h2",null,"Infrastructure built for",l.a.createElement("br",null),l.a.createElement("strong",null,"application developers")))),l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement(p,null)))}a(250);var Ee=[{type:"HTML",url:"#"},{type:"PDF",url:"#"},{type:"Image",url:"#"},{type:"Audio",url:"#"},{type:"Video",url:"#"},{type:"JSON",url:"#"},{type:"Dapps",url:"#"}];function ve(){return l.a.createElement("div",{className:"home-samples"},l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("p",null,"Skynet has SDKs for popular programming languages which integrate seamlessly with existing applications. Above are a few code snippets for uploading and downloading data from Skynet.")),l.a.createElement(ae.a,{effect:"active"},l.a.createElement("div",{className:"home-samples-samples"},Ee.map((function(e,t){return l.a.createElement(D,Object.assign({className:"fadeInUp delay".concat(2*(t+1)),key:"".concat(t,"-").concat(e.url)},e))})))))}a(251);var ge=function(e){function t(){return Object(G.a)(this,t),Object(Q.a)(this,Object(X.a)(t).apply(this,arguments))}return Object(K.a)(t,e),Object(J.a)(t,[{key:"render",value:function(){return l.a.createElement("div",{className:"home-stay"},l.a.createElement("header",{className:"home-stay-header"},l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("div",{className:"home-stay-divider"},l.a.createElement(q,null,l.a.createElement(N,null)),l.a.createElement(y,null),l.a.createElement("div",{className:"divider"}),l.a.createElement("div",{className:"small-divider"}))),l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("h2",null,"Stay up to date with",l.a.createElement("br",null),l.a.createElement("strong",null,"Skynet updates")))),l.a.createElement("div",{className:"home-stay-flex"},l.a.createElement("div",{className:"home-stay-left"},l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("p",null,"Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Cras justo odio, dapibus ac facilisis in.")),l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement(ce,{id:"check1"})),l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("p",{className:"disclaimer-text"},"Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Cras justo odio, dapibus ac facilisis in."))),l.a.createElement("ul",{className:"home-stay-right"},l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("li",null,l.a.createElement(_,{icon:"github",url:"https://github.com/NebulousLabs/skynet-webportal",greenText:"View project on Github",title:l.a.createElement(l.a.Fragment,null,"NebulousLabs/",l.a.createElement("strong",null,"Skynet-Webportal"))}))),l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("li",null,l.a.createElement(_,{icon:"discord",url:"https://discord.gg/sia",greenText:"View project on Github",title:l.a.createElement("strong",null,"/Sia")}))),l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("li",null,l.a.createElement(_,{icon:"twitter",url:"https://twitter.com/SiaTechHQ?s=20",greenText:"View project on Github",title:l.a.createElement("strong",null,"@SiaTechHQ")}))))))}}]),t}(n.Component),be=a(24),we=a.n(be),ke=a(25),ye=a.n(ke),Ne=(a(254),[{name:"TB Used",value:664},{name:"TB Capacity",value:2315},{name:"Hosts",value:335},{name:"Storage/TB",value:91,cent:!0},{name:"Bandwidth/TB",value:18,cent:!0}]),je=function(e){function t(){var e,a;Object(G.a)(this,t);for(var n=arguments.length,l=new Array(n),r=0;r<n;r++)l[r]=arguments[r];return(a=Object(Q.a)(this,(e=Object(X.a)(t)).call.apply(e,[this].concat(l)))).state={visable:!1},a.onChange=function(e){e&&!a.state.visable&&a.setState({visable:!0})},a}return Object(K.a)(t,e),Object(J.a)(t,[{key:"render",value:function(){var e=this;return l.a.createElement("div",{className:"home-network"},l.a.createElement("header",{className:"home-network-header"},l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("div",{className:"home-network-divider"},l.a.createElement(q,null,l.a.createElement(j,null)),l.a.createElement(y,null),l.a.createElement("div",{className:"divider"}),l.a.createElement("div",{className:"small-divider"}))),l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("h2",null,"Sia",l.a.createElement("br",null),l.a.createElement("strong",null,"Network")))),l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement(ye.a,{onChange:this.onChange,partialVisibility:!0,offset:{bottom:100},scrollThrottle:50},l.a.createElement("div",{className:"home-network-stats"},Ne.map((function(t,a){return l.a.createElement(l.a.Fragment,{key:a},l.a.createElement("div",{key:a,className:"home-network-stat"},l.a.createElement("div",{className:"inner"},l.a.createElement("h3",null,e.state.visable?l.a.createElement(we.a,{end:t.value,duration:3.2}):0,t.cent&&"\xa2"),l.a.createElement("span",{className:"network-stat-name"},t.name))),4!==a&&l.a.createElement("div",{className:"divider"}))})),l.a.createElement(W,{className:"deco-6"}),l.a.createElement(A,{className:"deco-7"}),l.a.createElement(F,{className:"deco-8"})))),l.a.createElement("div",{className:"home-network-columns"},l.a.createElement("div",{className:"home-network-column left"},l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("p",null,"Skynet Webportal is a low cost server that sits between Skynet and everyday users, enabling them to access Skynet content without needing to operate any special software. Once the Skylinks are generated, they can be shared with anyone to fetch data from Skynet. The original uploader does not need to stay online in order for the file to remain available. The Sia network handles all of the pinning, guaranteeing both high speeds and excellent uptime. A typical Skynet download starts in under 500 milliseconds and can stream at rates as high as 1 gigabit per second. The Sia network serves as the backend storage layer for Skynet.")),l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("p",null,"Sia is the leading decentralized cloud storage platform. No signups, no servers, no trusted third parties. Sia leverages blockchain technology to create a data storage marketplace that is more robust and more affordable than traditional cloud storage providers. Storage costs are as much as 10x lower than traditional infrastructure, bandwidth costs as much as 100x lower, all without sacrificing performance or reliability."),l.a.createElement("p",null,l.a.createElement("a",{className:"more",href:"https://sia.tech/"},"Learn more about Sia ",l.a.createElement(w,null))))),l.a.createElement("div",{className:"home-network-column"},l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement(P,{title:"What does pinning mean?"},l.a.createElement("p",null,"Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make."))),l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement(P,{title:"Is my data secure?"},l.a.createElement("p",null,"Cras justo odio, dapibus ac facilisis in, egestas eget quam. Sed posuere consectetur est at lobortis."))),l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement(P,{title:"How does Sia compare to other decentralized storage solutions?"},l.a.createElement("p",null,"Cras justo odio, dapibus ac facilisis in, egestas eget quam. Sed posuere consectetur est at lobortis."))),l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement(P,{title:"How long will my files be available?"},l.a.createElement("p",null,"Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."))),l.a.createElement(ee.a,{distance:"40px",bottom:!0},l.a.createElement("a",{className:"more more-faq",href:"https://support.sia.tech/"},"View more faq",l.a.createElement(w,null))))))}}]),t}(n.Component);c.a.render(l.a.createElement(s,null),document.getElementById("root"))},31:function(e,t,a){e.exports=a(255)},36:function(e,t,a){},37:function(e,t,a){},38:function(e,t,a){},39:function(e,t,a){}},[[31,1,2]]]);
//# sourceMappingURL=main.73ef0a5e.chunk.js.map