PageSourceSearch

https://use.ink/assets/js/1df93b7f.43db0120.js

js use.ink collected 2026-10-03 21:45:36 UTC 74,420 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkink_docs=self.webpackChunkink_docs||[]).push([[1619,4583],{2082:(e,t,a)=>{a.r(t),a.d(t,{default:()=>d});a(36672);var l=a(55874),s=a(17716),n=a(7932),r=a(97500),c=a.n(r),i=a(23420);const o=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("title",{children:"Smart Contracts on Polkadot in Rust | ink!"}),(0,i.jsx)("meta",{name:"description",content:"Build Rust-based smart contracts on Polkadot with ink!"}),(0,i.jsx)("meta",{name:"keywords",content:"Smart contracts, Rust, Polkadot, PolkaVM, RISC-V"}),(0,i.jsx)("meta",{property:"og:title",content:"Smart Contracts on Polkadot in Rust | ink!"}),(0,i.jsx)("meta",{property:"og:description",content:"Build Rust-based smart contracts on Polkadot with ink!"}),(0,i.jsx)("meta",{property:"og:image",content:"https://use.ink/img/opengraph/home.png"}),(0,i.jsx)("meta",{property:"og:url",content:"https://use.ink/"}),(0,i.jsx)("meta",{property:"og:type",content:"website"}),(0,i.jsx)("meta",{property:"og:site_name",content:"ink!"}),(0,i.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,i.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,i.jsx)("meta",{property:"og:image:height",content:"630"}),(0,i.jsx)("meta",{property:"og:image:alt",content:"ink! logo"}),(0,i.jsx)("meta",{property:"og:image:type",content:"image/png"})]});function d({children:e,head:t,className:a,ref:r,hasBackground:d=!0}){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.A,{children:t||o}),(0,i.jsx)(l.F,{}),(0,i.jsx)("main",{className:c()("page flex flex-col min-h-screen pt-[80px] z-10",a),ref:r,children:e}),(0,i.jsx)(s.w,{}),d&&(0,i.jsx)("div",{className:"absolute inset-0 z-0 section-bg"})]})}},6639:(e,t,a)=>{a.r(t),a.d(t,{default:()=>_t});var l=a(36672),s=a(2082),n=a(11306),r=a(36342),c=a(16511),i=a(97500),o=a.n(i),d=a(23420);function m({notice:e,title:t,description:a,cta:l,media:s,variant:n="left",level:r="h1",classNames:c}){return"center"===n?(0,d.jsxs)("div",{className:o()("flex flex-col items-center text-center",c?.container),children:[s&&(0,d.jsx)("div",{className:o()("w-full",c?.media),children:s}),(0,d.jsxs)("div",{className:o()("text-wrapper flex flex-col gap-[30px] max-w-2xl",c?.textWrapper),children:[e&&(0,d.jsx)("div",{className:"text-sm text-gray-500",children:e}),"h1"===r?(0,d.jsx)("h1",{className:o()("text-[64px] font-bold leading-[57px] p-0 m-0",c?.title),children:t}):(0,d.jsx)("h2",{className:o()("p-0 m-0",c?.title),children:t}),(0,d.jsx)("p",{className:o()("font-[600] p-0 m-0 text-[#dcd7e0]",c?.description),children:a}),(0,d.jsx)("div",{className:"flex justify-center",children:l})]})]}):(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-2 lg:grid-cols-2 lg:my-0",children:[(0,d.jsx)("div",{className:o()("flex flex-col gap-[30px] justify-center max-w-2xl text-center lg:text-left "+("left"===n?"order-1":"order-2"),c?.container),children:(0,d.jsxs)("div",{className:o()("text-wrapper flex flex-col gap-[30px] max-w-2xl",c?.textWrapper),children:[e&&(0,d.jsx)("div",{className:"text-sm text-gray-500",children:e}),"h1"===r?(0,d.jsx)("h1",{className:o()("text-[64px] font-bold leading-[57px] p-0 m-0",c?.title),children:t}):(0,d.jsx)("h2",{className:o()("font-bold p-0 m-0",c?.title),children:t}),(0,d.jsx)("p",{className:o()("font-[600] p-0 m-0 text-[#dcd7e0]",c?.description),children:a}),l]})}),s&&(0,d.jsx)("div",{className:o()(""+("left"===n?"order-2":"w-full order-1"),c?.media),children:s})]})}var p=a(57241);function h({children:e}){return(0,d.jsx)("div",{style:{alignContent:"center",alignItems:"center",backgroundColor:"#8c7cf714",borderRadius:"48px",boxShadow:"inset 0 .7113342898827977px .7113342898827977px -.75px #ffffff2e, inset 0 1.9371521717053837px 1.9371521717053837px -1.5px #ffffff2d, inset 0 4.253285051195417px 4.253285051195417px -2.25px #ffffff2a, inset 0 9.4413216807344px 9.4413216807344px -3px #ffffff23, inset 0 24px 24px -3.75px #ffffff10, 0 24px 24px #0000000d",display:"flex",gap:"24px",top:"calc(30.864197530864217% - 500px / 2)"},className:"w-full xl:overflow-visible lg:w-[1000px] lg:h-[500px] px-[30px] py-[50px] lg:px-[60px] lg:py-[60px] justify-center mb-16 lg:mb-0",children:e})}var x,f,g,u,v,b,w,j,y,M,E,N,k,_,z=a(21789),L=a(80712);function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},A.apply(null,arguments)}const C=({title:e,titleId:t,...a})=>l.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"Layer_1",x:0,y:0,viewBox:"0 0 130.9 99.5","aria-labelledby":t},a),e?l.createElement("title",{id:t},e):null,x||(x=l.createElement("style",null,".st0{fill:#5d4dc4}.st1{fill:#8d7cf7}.st2{fill:none}.st3{fill:#b8aeff}")),f||(f=l.createElement("path",{d:"M96.6 36.2c-.3-.1-4.9-2-11.6-4.3-.5-.2-1-.4-1.6-.5-7.4-2.5-16.8-5.6-25.7-7.6-.5-.1-1-.2-1.5-.4-6.5-1.4-12.5-2.2-17-1.9-1.3-2 2.8-11.3 13.6-16.3.9-.4 1.8-.8 2.7-1.1 2.6-.9 5.6-1.6 9-1.9L69 12.5c-.5-3.6-.4-7.6-.1-10.5 3.3 0 6.9.4 10.9 1.3.8.2 1.7.4 2.6.6 2.6.7 5.3 1.6 8.2 2.6-.1.1.4 15.2 6 29.7",className:"st0"})),g||(g=l.createElement("path",{d:"m86.3 31.5-1.3.4-1.3.4q0-.15-.3-.9c-1.1-3.8-4.9-18.2-3.8-28 .8.2 1.7.4 2.6.6-1 10.6 4.1 27.3 4.1 27.5M59.1 23.3l-2.5.8c0-.1-.1-.3-.2-.8-.8-2.7-3.5-11.8-3.4-18.2.9-.4 1.8-.8 2.7-1.1-.7 6.8 3.4 19.2 3.4 19.3",className:"st1"})),u||(u=l.createElement("path",{d:"M96.7 36.2s-40.2-16-57.3-14.7C37.7 18.9 45 3.9 64.6 2.2l4.5 10.3c-.6-3.6-.5-7.6-.2-10.5 6.1.1 13.3 1.4 21.7 4.6 0 0 .4 15.1 6.1 29.6",className:"st2"})),v||(v=l.createElement("path",{d:"M25.4 50v.2l-.3 2.7-.3 2.1-.3 2.7-.1 1.5S13.2 65.1 6.9 80.8c-.3.7-1.3.8-1.6.1-1.2-2.3-3.2-6.8-4.3-12.8-.2-1.1-.4-2.2-.5-3.3-.9-6.8-.6-15.1 2.8-24 .3-.9.7-1.8 1.1-2.8 1.8-4 4.2-8.1 7.3-12.3.5-.6 1.5-.4 1.6.4.5 4.4 2.8 14.4 12.1 23.9",className:"st0"})),b||(b=l.createElement("path",{d:"m26.9 50.4-.5 2.6c-.5-.1-.9-.2-1.4-.2-11.3-2.2-18.5-8.4-21.9-12 .3-.9.7-1.8 1.1-2.8 2.6 3 9.6 9.8 21 12.2.6 0 1.1.1 1.7.2M25.9 55.1l-.2 2.7h-1.2C11.8 57.4 3.4 65.4 1 68.1.8 67 .6 65.9.5 64.8 4.3 61 12.7 54.6 24.9 55c.3 0 .7.1 1 .1",className:"st1"})),w||(w=l.createElement("path",{d:"M25.4 50c-9.3-9.4-11.5-19.5-12.1-23.9-.1-.8-1.1-1.1-1.6-.4C-7.5 50.8 2 74.4 5.3 80.9c.3.7 1.3.6 1.6-.1C13.2 65 24.4 59.2 24.4 59.2z",className:"st2"})),j||(j=l.createElement("path",{d:"M71.6 28.2c-.2-.6-3.8-15.7-3.9-28.1h2.7c.1 12.2 3.8 27.4 3.8 27.5z",className:"st1"})),y||(y=l.createElement("path",{d:"M108.8 45.3c-4.6-25.7-11.1-35.7-11.5-26.2s3 19.8 3 19.8 4.1 5.1 8.5 6.4M49.6 88c-9 8.5 5 22.5 30.6-3.1z",className:"st0"})),M||(M=l.createElement("path",{d:"M130.9 60.3c.1 3.9-16.4 9.5-38.1 18.9q-6.
115 2.7-12.6 5.7c-1.4.6-2.7 1.2-4.1 1.7-11 4.2-20.7 3.7-28.7.6C33.1 81.7 24.2 68 23.1 57.9c-1.4-14 9.3-33.7 21.5-40.2 2-1.1 4-1.8 6.1-2 .9-.1 1.9-.1 2.8-.1 4.5.1 9.7 1.7 15.2 4 3.4 1.5 6.9 3.3 10.4 5.3 4.5 2.5 9 5.4 13.2 8.3 4.3 3 8.3 6 11.6 8.6 15.5 12.2 26.9 13.9 27 18.5",className:"st1"})),E||(E=l.createElement("path",{d:"M92.9 79.2q-6.15 2.7-12.6 5.7c-1.4.6-2.7 1.2-4.1 1.7-18.7-17.9 3.2-26.2 3.4-30.6.1-4-10.6-20.9-.3-31.1 4.5 2.5 9 5.4 13.2 8.3-12.6 22.2.4 46 .4 46",className:"st3"})),l.createElement("path",{d:"M107.9 59.3c-.9.7-2.1 1.1-3.4 1.2-4.8.2-8.1-4.9-5.8-9.2 2-3.8 6.8-4.4 9.8-1.8.4.4.8.8 1.1 1.3 1.9 3 .9 6.7-1.7 8.5",style:{fill:"#fff"}}),N||(N=l.createElement("path",{d:"M47.5 87.2C33.1 81.7 24.2 68 23.1 57.9c-1.4-14 9.3-33.7 21.5-40.2-15.1 24.1-10.5 57.2 2.9 69.5M68.8 19.6c-2.5 14.9-14.6 12.8-15.2-4 4.5.1 9.8 1.7 15.2 4",className:"st3"})),l.createElement("path",{d:"M69.5 53.4c0 1-2 3.4-5 5.2-3.5 2.1-8.2 3.3-12.3.7-.6-.4-1.2-.8-1.7-1.3-3.7-3.6-2.8-8.9.2-12 1.4-1.5 3.3-2.4 5.4-2.5 7.2-.5 13.2 7.5 13.4 9.9-.1-.1-.1 0 0 0-.1 0 0 0 0 0",style:{fill:"#e2dcfe"}}),k||(k=l.createElement("path",{d:"M69.4 53.3c-12.6-.4-18.7-7.4-18.7-7.4 1.4-1.5 3.3-2.4 5.4-2.5 7.2-.4 13.1 7.6 13.3 9.9M64.4 58.6c-3.5 2.1-8.2 3.3-12.3.7-.6-.4-1.2-.8-1.7-1.3.1 0 7.1-5.4 14 .6",className:"st3"})),_||(_=l.createElement("path",{d:"M107.9 59.3c-1.4.3-3.1.1-4.4-1-3.1-2.4-2.4-7.3 1.3-8.8 1.2-.5 2.5-.5 3.6-.1.4.4.8.8 1.1 1.3 2 3.1 1 6.8-1.6 8.6"})));var F,Z,B,H,V,O,S,P,R,D,I,W,q,$,G,T,U,Y,X;function K(){return K=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},K.apply(null,arguments)}const J=({title:e,titleId:t,...a})=>l.createElement("svg",K({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"Layer_1",x:0,y:0,viewBox:"0 0 109.7 87.4","aria-labelledby":t},a),e?l.createElement("title",{id:t},e):null,F||(F=l.createElement("style",null,".st0{fill:#8d7cf7}.st1{fill:#5d4dc4}.st2{fill:none}.st3{fill:#b8aeff}")),Z||(Z=l.createElement("path",{d:"M25.1 50.8s-.2.7-.7 1.8c-1.8 4.3-7.2 14.9-14.4 12.8-3.9-1.1-5.6-4-5.5-7 0-.7.1-1.3.3-2 .7-2.6 2.6-5.1 5.3-6.6C2.8 46.9 0 41.1 0 36.3q0-1.5.3-2.7c.8-3.2 3.1-5.3 6.2-4.5 5.1 1.4 6.2 9.6 11.5 14.4.8.7 1.7 1.4 2.7 1.9s2.1 1 3.4 1.3l.7 2.8z",className:"st0"})),B||(B=l.createElement("path",{d:"M25.1 50.8s-.2.7-.7 1.8c-5.3 4.8-11.5 6.1-16.1 6.1-1.4 0-2.7-.1-3.8-.3 0-.7.1-1.3.3-2 4.5.8 13.2.5 20-7zM20.7 45.4c-.8.1-1.6.1-2.4.1C9.5 45.5 3.2 40 0 36.3q0-1.5.3-2.7c2.3 3.1 8.5 9.8 17.7 10q1.2.9 2.7 1.8",className:"st1"})),H||(H=l.createElement("path",{d:"M24.1 46.6C13 44 13 30.9 6.5 29.1c-7.8-2.3-10.7 15 3.5 20.7-6.6 3.7-8.1 13.3 0 15.6 9.1 2.6 15.2-14.6 15.2-14.6z",className:"st2"})),V||(V=l.createElement("path",{d:"M65 79.2c-5 5.9-12.2 8.4-17.5 8.2-.9 0-1.8-.2-2.5-.4-4.8-1.2-7.1-5.1-3-11.3l9.5 1.4 2.3.3z",className:"st0"})),O||(O=l.createElement("path",{d:"M54.5 76c-.2.5-.5 1-.7 1.6-2.1 4.1-4.6 7.7-6.3 9.8-.9 0-1.8-.2-2.5-.4 1.5-1.8 4.2-5.5 6.5-9.8.4-.7.7-1.4 1-2.1z",className:"st1"})),S||(S=l.createElement("path",{d:"M42 75.7c-8.9 13.1 12 16.4 23 3.5z",className:"st2"})),P||(P=l.createElement("path",{d:"m80.3 24.5-16.9-.3h-3.3c-4.6.1-9.9-2.7-13.5-6.5-.6-.6-1.1-1.3-1.6-2-2.9-4-3.6-8.7 0-12.3C47.8.6 52.2-.4 57.1.3c.8.1 1.5.3 2.3.5C66.2 2.5 73.5 7.9 77.8 17c.3.7.7 1.5.9 2.2.6 1.7 1.2 3.4 1.6 5.3",className:"st0"})),R||(R=l.createElement("path",{d:"M78.7 19.3C63.4 18.9 57.9 7.3 57 .2c.8.1 1.5.3 2.3.5.9 4.3 4.3 15.5 18.5 16.3.3.7.6 1.5.9 2.3M63.6 24.9l-2.2.5c0-.1-.1-.5-.4-1.2-1-2.5-4.5-7.8-14.5-6.5-.6-.6-1.1-1.3-1.6-2 13.6-2.3 17.6 5.9 18.5 8.5.1.4.2.7.2.7",className:"st1"})),D||(D=l.createElement("path",{d:"M44.9 3.3c-8.1 8 5.3 21 15.1 20.8l20.3.3C75 1.5 53-4.6 44.9 3.3",className:"st2"})),I||(I=l.createElement("path",{d:"m33.5 27.3 14.9-2.2c-10.8-9.7-17.5-1.1-14.9 2.2",className:"st0"})),W||(W=l.createElement("path",{d:"M67.2 79.1c-1.4.1-2.8.1-4.1.1-12.7.1-22-2.9-28.4-7.3-.7-.5-1.4-1-2-1.5-5.2-4.3-8-9.7-8.7-14.9-1.3-10.5-3.2-22.6 7-27.2.7-.3 1.5-.6 2.3-.9 1.1-.3 2.2-.6 3.5-.8 6.6-1 20-2.9 33-2.8 4.4 0 8.7.3 12.8.9 3.6.5 7 1.3 9.9 2.5 8.5 3.3 10.2 11.4 11 20.4 18.7 19.2-7.6 30-36.3 31.5",className:"st3"})),l.createElement("path",{d:"M47 47.3c.9 1.6 2.2 6-1.2 9.8-2.2 2.5-7 3.6-9.3 2.4-2.1-1.1-2-4.2 2.4-6.1-8.9-5.5-4-10.2 0-10.7 3.9-.4 7.2 3 8.1 4.6",style:{fill:"#e2dcfe"}}),q||(q=l.createElement("path",{d:"M47.8 51.9c-9.3 0-12.8-8.6-12.9-8.7l2.2-.9c.1.3 3.2 7.8 11.7 7.1l.2 2.4c-.4.1-.8.1-1.2.1",className:"st3"})),$||($=l.createElement("path",{d:"M57 38.1q-3.15.3-5.7.3c-14.8 0-19.2-7.4-20.4-10.2.7-.3 1.5-.6 2.3-.9 1 2.5 5.7 10.2 23.5 8.3zM55.5 67.2l-.5 2.4c-11.8-2.7-17.9.5-20.2 2.3-.7-.5-1.4-1-2-1.5 2.3-2 9.1-6.3 22.7-3.2",className:"st0"})),G||(G=l.createElement("path",{d:"M67.2 79.1c-1.4.1-2.8.1-4.1.1-25.8.2-37.5-12.2-39-23.7-1.7-12.2-3.9-26.5 12.6-28.8 6.6-1 20-2.9 33-2.8 4.4 0 8.7.3 12.8.9 3.6.5 7 1.4 9.9 2.5 8.5 3.3 10.2 11.4 11 20.4 18.8 19.1-7.5 29.9-36.2 31.4",className:"st2"})),T||(T=l.createElement("path",{d:"M67.2 79.1c-1.4.1-2.8.1-4.1.1-13.9-4.6-22.2-42 6.6-55.3 4.4 0 8.7.3 12.8.9 3.6.5 7 1.4 9.9 2.5 8.5 3.3 10.2 11.4 11 20.4 18.8 19.1-7.5 29.9-36.2 31.4",className:"st1"})),U||(U=l.createElement("path",{d:"M97.1 73.2c-7.9 3.4-18.8 5.4-29.9 5.9-8.5-6.2-12.9-41.6 15.3-54.4 3.6.5 7 1.3 9.9 2.5 8.5 3.3 10.2 11.4 11 20.4 2.2 2.2 3.8 4.4 4.8 6.4 4.3 8.5-1 14.9-11.1 19.2",className:"st0"})),Y||(Y=l.createElement("path",{d:"M97.1 73.2c4-7.2 1.4-16.4 11.1-19.1 4.4 8.4-1 14.8-11.1 19.1",className:"st3"}
1)),X||(X=l.createElement("path",{d:"M92.7 43.9c-.4 3.5-3.3 5.3-5.2 3.3s-1.3-6.4 1-7.8 4.6 1 4.2 4.5"})));var Q=a(47805);function ee(){const e=(0,L.F)();return(0,d.jsxs)("section",{className:"relative lg:h-[810px] overflow-visible pt-16 lg:pt-0",style:{background:"linear-gradient(180deg,#2f247d 64%,var(--token-420fbc77-dab0-404b-b97a-ded7df998265, rgb(19, 15, 33)) 70%)"},children:[(0,d.jsxs)("div",{className:"absolute left-0 w-full h-full overflow-hidden -top-12",children:[(0,d.jsx)(C,{className:"z-50 absolute left-28 w-[110px] h-[110px] animate-swim-right will-change-transform"}),(0,d.jsx)(J,{className:"z-50 absolute bottom-8 -left-16 w-[110px] h-[110px] animate-swim-right-slow will-change-transform"}),(0,d.jsx)(Q.A,{className:"z-50 absolute bottom-28 -right-8 w-[110px] h-[110px] animate-swim-left will-change-transform"})]}),(0,d.jsx)("div",{className:"container relative z-10 flex flex-col items-center justify-center pb-48 overflow-hidden mb-72",children:(0,d.jsx)(h,{children:(0,d.jsx)(m,{classNames:{media:"flex flex-col items-center justify-center"},variant:"left",title:"Composable by Design",description:"Learn how to build faster with reusable, modular smart contract components.",level:"h2",cta:(0,d.jsx)("div",{className:"flex flex-col justify-center gap-4 lg:justify-start md:flex-row md:gap-4",children:(0,d.jsx)(r.A,{to:`/docs/${e?.label??"v5"}`,className:"hover:scale-105 hover:-rotate-1 !transition-all duration-300",children:(0,d.jsx)(c.$,{size:"lg",variant:"secondary",children:"Access the docs"})})}),media:(0,d.jsx)("div",{className:"relative w-[280px] h-[280px] lg:w-[450px] lg:h-[450px]",children:(0,d.jsx)(z.N,{src:(0,p.Ay)("animations/Squink-educator.riv"),autoplay:!0})})})})}),(0,d.jsx)("div",{className:"absolute bottom-0 left-0 w-full h-[810px] overflow-visible h-fit",children:(0,d.jsx)("img",{src:(0,p.Ay)("/img/footer.svg"),className:"object-cover object-bottom w-full h-full",alt:"Deep Sea"})})]})}var te,ae,le,se,ne,re,ce,ie,oe,de,me,pe,he,xe=a(93641),fe=a(50330);function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},ge.apply(null,arguments)}const ue=({title:e,titleId:t,...a})=>l.createElement("svg",ge({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"Layer_1",x:0,y:0,viewBox:"0 0 86.3 50.2","aria-labelledby":t},a),e?l.createElement("title",{id:t},e):null,te||(te=l.createElement("style",null,".st0{fill:#8d7cf7}.st1{fill:#5d4dc4}.st2{fill:none}")),ae||(ae=l.createElement("path",{d:"M73.3 18.1s-3.7 0-9.2.2H63c-5.8.2-13.4.6-20.9 1.5-.5 0-1 .1-1.4.2-4.1.5-8.1 1.1-11.8 1.8-.4.1-.7.1-1 .2-2.3.5-4.4 1-6.4 1.7-1.5-3.8-.8-7.4 1.5-10.2q.6-.75 1.5-1.5c2.5-2.2 6.1-3.7 10.3-4 .7-.1 1.5-.1 2.2-.1 3.6.1 7.5 1 11.5 2.9C46.9 5.4 49.9.4 54.8 0c.7-.1 1.5 0 2.3.2 4.8.9 10.8 5.9 16.2 17.9",className:"st0"})),le||(le=l.createElement("path",{d:"m65.1 17.9-.9.4-.9.4-.2-.4L54.8 0c.7-.1 1.5 0 2.3.2zM42.8 19.6l-.6.3-1.2.5-.3-.4-5.8-12.1c.7-.1 1.5-.1 2.2-.1zM29.9 21.3l-.9.5-.9.5-.1-.3-4.9-8.6q.6-.75 1.5-1.5z",className:"st1"})),se||(se=l.createElement("path",{d:"M73.3 18.1C60.8-9.6 45.1 0 48.5 10.7c-16.4-8-31.3 1.7-26.9 12.9 17.1-5.5 51.7-5.5 51.7-5.5",className:"st2"})),ne||(ne=l.createElement("path",{d:"M63.3 42.1 54 50.2c-2.4 0-4.6-.2-6.7-.5-.8-.1-1.6-.3-2.3-.4-12.1-2.6-18.4-9.7-18.4-9.7L51 41.2l1.3.1z",className:"st1"})),l.createElement("path",{d:"m53.1 41.9-5.8 7.7c-.8-.1-1.6-.3-2.3-.4l6.1-8 .4-.6.9.7z",style:{fill:"#372b8f"}}),re||(re=l.createElement("path",{d:"M63.3 42.1 54 50.2c-18 0-27.5-10.6-27.5-10.6z",className:"st2"})),ce||(ce=l.createElement("path",{d:"M13.2 30.6c0 .5-.1 1.1-.1 1.7-.1.8-.3 1.5-.6 2.3-2 5.8-7.4 11.4-7.4 11.4s-2.3-3.2-3.8-7.8c-.2-.6-.4-1.2-.6-1.9-.9-3.4-1.1-7.5.1-11.6.2-.7.4-1.4.7-2 .9-2.3 2.4-4.6 4.5-6.8 0 0 5 5.4 6.7 11.2.2.8.4 1.6.5 2.3z",className:"st0"})),l.createElement("path",{d:"M84.9 34.7c-8.9 4.7-18.2 7.2-27.2 8.2-.7.1-1.4.1-2.1.2-7 .5-13.6.1-19.7-1-.7-.1-1.4-.3-2.1-.4-8.4-1.8-15.4-5-19.8-8.9-1.1-1-1-2.7.1-3.6 1.8-1.5 3.7-2.8 5.5-4.1.6-.4 1.2-.9 1.9-1.3 13.1-8.6 25.4-11.9 36.1-10.9.8.1 1.5.2 2.2.3C70.9 14.9 80 21.3 85.9 31c.8 1.3.3 3-1 3.7",style:{fill:"#b8aeff"}}),ie||(ie=l.createElement("ellipse",{cx:70.6,cy:26.7,rx:3.7,ry:3,transform:"rotate(-74.473 70.633 26.745)"})),oe||(oe=l.createElement("path",{d:"M48.9 28.4c.1 2.4-8.5 5.7-10.9 4.4s-3.4-6.6-.9-8.8 11.6 2 11.8 4.4",className:"st0"})),de||(de=l.createElement("path",{d:"M13.2 29.5.8 24.6c.2-.6.4-1.3.7-1.9l11.2 4.4c.2.8.4 1.6.5 2.4M13.1 32.3c-.1.8-.3 1.5-.6 2.3L1.3 38.1c-.2-.6-.4-1.2-.6-1.9z",className:"st1"})),me||(me=l.createElement("path",{d:"M13.2 30.6c0-7-7.2-14.7-7.2-14.7C-7 29.6 5.1 46 5.1 46s8.1-8.4 8.1-15.4",className:"st2"})),pe||(pe=l.createElement("path",{d:"M57.7 42.9c-.7.1-1.4.1-2.1.2-2.2-4.9-6.3-17.3 2
1-30.1.8.1 1.5.2 2.2.3-9.1 13-4.2 25.5-2.1 29.6M35.9 42c-.7-.1-1.4-.3-2.1-.4-1.2-8.7-10.9-14.7-14.3-16.5.6-.4 1.2-.9 1.9-1.3C25.8 26.3 35 32.7 35.9 42",className:"st0"})),he||(he=l.createElement("path",{d:"M84.9 34.7c-27.4 14.4-58.7 8.5-70.9-2-1.1-1-1.1-2.7.1-3.6C44.8 4.5 73 9.7 85.9 31c.8 1.3.3 3-1 3.7",className:"st2"})));var ve=a(57336);function be(){return(0,d.jsxs)("section",{className:"relative flex flex-col items-center pt-28 lg:pt-0 justify-center section-risc lg:h-[800px]",style:{background:"linear-gradient(180deg,#7565da 0%,rgb(48,36,125) 51%)"},children:[(0,d.jsx)(xe.A,{className:"absolute left-0 w-full h-auto -top-4 md:-top-6 lg:-top-8 xl:-top-10"}),(0,d.jsxs)("div",{className:"absolute top-0 left-0 w-full h-full overflow-hidden",children:[(0,d.jsx)(fe.A,{className:"absolute top-4 right-20 w-[30px] h-[30px] animate-swim-left will-change-transform"}),(0,d.jsx)(ue,{className:"absolute top-10 left-0 w-[100px] h-[60px] animate-swim-right will-change-transform"})]}),(0,d.jsx)("div",{className:"container relative z-10 flex flex-col items-center justify-center",children:(0,d.jsx)(h,{children:(0,d.jsx)(m,{classNames:{media:"flex items-center justify-center",textWrapper:"!ml-8"},variant:"right",title:"PolkaVM for Max Efficiency",description:"Get blazing fast execution and lower gas costs with PolkaVM RISC-V engine.",level:"h2",cta:(0,d.jsx)("div",{className:"flex flex-col justify-center gap-4 lg:justify-start md:flex-row md:gap-4",children:(0,d.jsx)(r.A,{to:"/docs/v6/background/why-riscv-and-polkavm-for-smart-contracts",className:"hover:scale-105 hover:-rotate-1 !transition-all duration-300",children:(0,d.jsx)(c.$,{size:"lg",variant:"secondary",children:"Explore PolkaVM"})})}),media:(0,d.jsx)("div",{className:"w-full h-[200px] md:h-[400px] lg:h-[600px] xl:overflow-visible relative scale-[115%] lg:scale-[150%] lg:-ml-24 lg:-mt-8 mb-8 lg:mb-0",children:(0,d.jsx)(z.N,{src:"animations/Risc-v.riv",autoplay:!0,layout:new ve.Layout({alignment:ve.Alignment.Center})})})})})})]})}var we=a(94969);const je=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M252,152a12,12,0,0,1-12,12H228v12a12,12,0,0,1-24,0V164H192a12,12,0,0,1,0-24h12V128a12,12,0,0,1,24,0v12h12A12,12,0,0,1,252,152ZM56,76H68V88a12,12,0,0,0,24,0V76h12a12,12,0,1,0,0-24H92V40a12,12,0,0,0-24,0V52H56a12,12,0,0,0,0,24ZM184,188h-4v-4a12,12,0,0,0-24,0v4h-4a12,12,0,0,0,0,24h4v4a12,12,0,0,0,24,0v-4h4a12,12,0,0,0,0-24ZM222.14,82.83,82.82,222.14a20,20,0,0,1-28.28,0L33.85,201.46a20,20,0,0,1,0-28.29L173.17,33.86a20,20,0,0,1,28.28,0l20.69,20.68A20,20,0,0,1,222.14,82.83ZM159,112,144,97,53.65,187.31l15,15Zm43.31-43.31-15-15L161,80l15,15Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M176,112,74.34,213.66a8,8,0,0,1-11.31,0L42.34,193a8,8,0,0,1,0-11.31L144,80Z",opacity:"0.2"}
1),l.createElement("path",{d:"M248,152a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V160H192a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,152ZM56,72H72V88a8,8,0,0,0,16,0V72h16a8,8,0,0,0,0-16H88V40a8,8,0,0,0-16,0V56H56a8,8,0,0,0,0,16ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80Zm-54.63,32L144,91.31l-96,96L68.68,208ZM208,68.69,187.31,48l-32,32L176,100.69Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M248,152a8,8,0,0,1-8,8H224v16a8,8,0,0,1-16,0V160H192a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16A8,8,0,0,1,248,152ZM56,72H72V88a8,8,0,0,0,16,0V72h16a8,8,0,0,0,0-16H88V40a8,8,0,0,0-16,0V56H56a8,8,0,0,0,0,16ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80ZM208,68.69,187.31,48l-32,32L176,100.69Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M246,152a6,6,0,0,1-6,6H222v18a6,6,0,0,1-12,0V158H192a6,6,0,0,1,0-12h18V128a6,6,0,0,1,12,0v18h18A6,6,0,0,1,246,152ZM56,70H74V88a6,6,0,0,0,12,0V70h18a6,6,0,0,0,0-12H86V40a6,6,0,0,0-12,0V58H56a6,6,0,0,0,0,12ZM184,194H174V184a6,6,0,0,0-12,0v10H152a6,6,0,0,0,0,12h10v10a6,6,0,0,0,12,0V206h10a6,6,0,0,0,0-12ZM217.9,78.59,78.58,217.9a14,14,0,0,1-19.8,0L38.09,197.21a14,14,0,0,1,0-19.8L177.41,38.1a14,14,0,0,1,19.8,0L217.9,58.79A14,14,0,0,1,217.9,78.59ZM167.51,112,144,88.49,46.58,185.9a2,2,0,0,0,0,2.83l20.69,20.68a2,2,0,0,0,2.82,0h0Zm41.9-44.73L188.73,46.59a2,2,0,0,0-2.83,0L152.48,80,176,103.52,209.41,70.1A2,2,0,0,0,209.41,67.27Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M48,64a8,8,0,0,1,8-8H72V40a8,8,0,0,1,16,0V56h16a8,8,0,0,1,0,16H88V88a8,8,0,0,1-16,0V72H56A8,8,0,0,1,48,64ZM184,192h-8v-8a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16Zm56-48H224V128a8,8,0,0,0-16,0v16H192a8,8,0,0,0,0,16h16v16a8,8,0,0,0,16,0V160h16a8,8,0,0,0,0-16ZM219.31,80,80,219.31a16,16,0,0,1-22.62,0L36.68,198.63a16,16,0,0,1,0-22.63L176,36.69a16,16,0,0,1,22.63,0l20.68,20.68A16,16,0,0,1,219.31,80Zm-54.63,32L144,91.31l-96,96L68.68,208ZM208,68.69,187.31,48l-32,32L176,100.69Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M244,152a4,4,0,0,1-4,4H220v20a4,4,0,0,1-8,0V156H192a4,4,0,0,1,0-8h20V128a4,4,0,0,1,8,0v20h20A4,4,0,0,1,244,152ZM56,68H76V88a4,4,0,0,0,8,0V68h20a4,4,0,0,0,0-8H84V40a4,4,0,0,0-8,0V60H56a4,4,0,0,0,0,8ZM184,196H172V184a4,4,0,0,0-8,0v12H152a4,4,0,0,0,0,8h12v12a4,4,0,0,0,8,0V204h12a4,4,0,0,0,0-8ZM216.48,77.17,77.17,216.49a12,12,0,0,1-17,0L39.51,195.8a12,12,0,0,1,0-17L178.83,39.51a12,12,0,0,1,17,0L216.48,60.2A12,12,0,0,1,216.48,77.17ZM170.34,112,144,85.66,45.17,184.49a4,4,0,0,0,0,5.65l20.68,20.69a4,4,0,0,0,5.66,0Zm40.49-46.14L190.14,45.17a4,4,0,0,0-5.66,0L149.65,80,176,106.34l34.83-34.83A4,4,0,0,0,210.83,65.86Z"}))]]),ye=l.forwardRef((e,t)=>l.createElement(we.A,{ref:t,...e,weights:je}));ye.displayName="MagicWandIcon";const Me=ye;var Ee,Ne,ke,_e,ze,Le,Ae=a(76240);function Ce({text:e,element:t="p",className:a}){const l={hidden:{opacity:0,y:40},visible:{opacity:1,y:0},transition:{duration:1,ease:"linear",bounce:0,delay:.5}};return(0,d.jsxs)(t,{className:a,children:[(0,d.jsx)("span",{className:"sr-only",children:e}),(0,d.jsx)(Ae.P.span,{className:"will-change-transform",initial:"hidden",animate:"visible","aria-hidden":!0,transition:{staggerChildren:.06},children:e.split(" ").map((e,t)=>(0,d.jsxs)("span",{className:"inline-block",children:[e.split("").map((e,t)=>(0,d.jsx)(Ae.P.span,{className:"inline-block",variants:l,children:e},t)),(0,d.jsx)("span",{className:"inline-block",children:"\xa0"})]},t))})]})}function Fe(){return Fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},Fe.apply(null,arguments)}const Ze=({title:e,titleId:t,...a})=>l.createElement("svg",Fe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 65 100","aria-labelledby":t},a),e?l.createElement("title",{id:t},e):null,Ee||(Ee=l.createElement("path",{d:"M48.453 0 32.294 28.573H0L16.147 0z",opacity:.45}
1)),Ne||(Ne=l.createElement("path",{d:"M32.294 28.573h32.305L48.453 0H16.147Z",opacity:.6})),ke||(ke=l.createElement("path",{d:"m16.147 57.134 16.147-28.561L16.147 0 0 28.573Z",opacity:.8})),_e||(_e=l.createElement("path",{d:"m16.307 100 16.16-28.573h32.306L48.613 100z",opacity:.45})),ze||(ze=l.createElement("path",{d:"M32.467 71.427H.161L16.307 100h32.306Z",opacity:.6})),Le||(Le=l.createElement("path",{d:"M48.613 42.866 32.467 71.427 48.613 100l16.16-28.573Z",opacity:.8})));var Be,He,Ve,Oe,Se,Pe,Re;function De(){return De=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},De.apply(null,arguments)}const Ie=({title:e,titleId:t,...a})=>l.createElement("svg",De({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 142 137","aria-labelledby":t},a),e?l.createElement("title",{id:t},e):null,Be||(Be=l.createElement("path",{fill:"#FF5C16",d:"m132.24 131.751-30.481-9.076-22.986 13.741-16.038-.007-23-13.734-30.467 9.076L0 100.465l9.268-34.723L0 36.385 9.268 0l47.607 28.443h27.757L132.24 0l9.268 36.385-9.268 29.357 9.268 34.723z"})),He||(He=l.createElement("path",{fill:"#FF5C16",d:"m9.274 0 47.608 28.463-1.893 19.534zm30.468 100.478 20.947 15.957-20.947 6.24zm19.273-26.381L54.989 48.01l-25.77 17.74-.014-.007v.013l.08 18.26 10.45-9.918h19.28ZM132.24 0 84.632 28.463l1.887 19.534zm-30.467 100.478-20.948 15.957 20.948 6.24zm10.529-34.723h.007zv-.013l-.006.007-25.77-17.739L82.5 74.097h19.272l10.457 9.917z"})),Ve||(Ve=l.createElement("path",{fill:"#E34807",d:"m39.735 122.675-30.467 9.076L0 100.478h39.735zM59.008 74.09l5.82 37.714-8.066-20.97-27.49-6.82 10.456-9.923h19.28Zm42.764 48.585 30.468 9.076 9.268-31.273h-39.736zM82.5 74.09l-5.82 37.714 8.065-20.97 27.491-6.82-10.463-9.923H82.5Z"})),Oe||(Oe=l.createElement("path",{fill:"#FF8D5D",d:"m0 100.465 9.268-34.723h19.93l.073 18.266 27.492 6.82 8.065 20.969-4.146 4.618-20.947-15.957H0zm141.508 0-9.268-34.723h-19.931l-.073 18.266-27.49 6.82-8.066 20.969 4.145 4.618 20.948-15.957h39.735zM84.632 28.443H56.875L54.99 47.977l9.839 63.8H76.68l9.845-63.8z"})),Se||(Se=l.createElement("path",{fill:"#661800",d:"M9.268 0 0 36.385l9.268 29.357h19.93l25.784-17.745zm43.98 81.665h-9.029l-4.916 4.819 17.466 4.33-3.521-9.155zM132.24 0l9.268 36.385-9.268 29.357h-19.931L86.526 47.997zM88.273 81.665h9.042l4.916 4.825-17.486 4.338 3.528-9.17zm-9.507 42.305 2.06-7.542-4.146-4.618H64.82l-4.145 4.618 2.059 7.542"})),Pe||(Pe=l.createElement("path",{fill:"#C0C4CD",d:"M78.766 123.969v12.453H62.735v-12.453h16.03Z"})),Re||(Re=l.createElement("path",{fill:"#E7EBF6",d:"m39.742 122.662 23.006 13.754v-12.453l-2.06-7.541zm62.031 0-23.007 13.754v-12.453l2.06-7.541z"})));var We,qe=a(13526);function $e(){return $e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},$e.apply(null,arguments)}const Ge=({title:e,titleId:t,...a})=>l.createElement("svg",$e({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1476 257","aria-labelledby":t},a),e?l.createElement("title",{id:t},e):null,We||(We=l.createElement("path",{fill:"#DFC6FE",d:"M0 61.701h415.961c-6.35-23.634-43.975-3.273-43.975-3.273-19.565-16.92-52.607-3.472-59.356-4.343-6.738-.87-28.7-49.029-62.614-53.802s-72.833 50.981-80.003 52.061c-7.169 1.081-22.823-9.766-31.738-9.325-8.915.44-22.171 14.969-34.566 14.969S68.27 43.239 49.137 43.239 0 61.701 0 61.701m1243.393 18.756s-240.512 3.587-357.898 0c11.07-21.137 48.727-28.312 59.797-5.979 60.238-83.331 120.918-68.3 145.729-3.053 33.662-25.658 71.014-6.546 85.364 2.633 9.461 6.053 20.237-5.266 34.965-6.336 17.914-1.301 32.043 12.735 32.043 12.735M735.74 184.736c-180.137.87-320.231 3.378-452.031 1.028 38.709-24.966 56.549-36.788 108.419-5.161 0 0 12.984-11.161 34.419-11.413 9.725-.115 20.521 7.206 27.27 7.122 6.75-.083 22.319-8.926 36.585-10.647 14.266-1.72 37.794 7.931 44.942 7.847 7.139-.084 38.519-48.662 68.691-47.813 30.172.86 49.105 24.452 64.002 41.855 14.886 17.413 20.805 14.475 34.219 7.216 13.404-7.258 33.494 9.955 33.494 9.955Zm740.67 71.488c-114.253 3.598-352.663-1.878-352.663-1.878 30.729-21.168 58.241-3.892 58.241-3.892 45.405-31.542 79.34.64 84.839.64s18.05-43.543 52.28-49.889c40.464-7.5 92.639 52.711 92.639 52.711 16.526-24.473 64.664 2.308 64.664 2.308"})));function Te({className:e}){return(0,d.jsx)("div",{className:"absolute inset-0 overflow-hidden -z-0",children:(0,d.jsx)("div",{className:(0,qe.A)("absolute opacity-5 top-0 left-1/4 w-[1404px] h-[246px] will-change-transform animate-clouds pointer-events-none",e),children:(0,d.jsx)(Ge,{className:"w-full h-full"})})})}function Ue(){return(0,d.jsxs)("section",{className:"relative flex flex-col items-center justify-center section-solidity lg:h-[800
1px] overflow-hidden",style:{background:"linear-gradient(180deg,#221e4a 0%,#413685 100%)"},children:[(0,d.jsx)(Te,{className:"absolute -top-24 left-1/4"}),(0,d.jsx)("div",{className:"absolute top-0 left-1/2 translate-x-[180px] w-[240px] h-[240px] z-20 pointer-events-none",children:(0,d.jsx)("div",{className:"hidden w-full h-full will-change-transform animate-zeppelin md:block",children:(0,d.jsx)(z.N,{src:(0,p.Ay)("animations/Zeppelin.riv"),autoplay:!0,animations:["airship","head","tentacle"]})})}),(0,d.jsx)("div",{className:"container !max-w-[1000px] relative z-10 flex flex-col items-center justify-center",children:(0,d.jsx)(h,{children:(0,d.jsx)(m,{classNames:{container:"order-4 lg:order-1 lg:mb-0",media:"flex items-center justify-center",textWrapper:"max-w-[400px]"},variant:"left",notice:(0,d.jsxs)("span",{className:"flex flex-row items-center gap-2 !text-[#ffc249] justify-center lg:justify-start pointer-events-auto",children:[(0,d.jsx)(Me,{size:16,weight:"fill",className:"inline animate-flip"}),(0,d.jsx)(Ce,{text:"NEW FEATURE",element:"span",className:"text-[16px] font-[600]"})]}),title:"Solidity + MetaMask Compatible",description:"ink! offers native compatibility with Solidity contracts and tooling such as MetaMask, out of the box! By bridging these ecosystems, you can combine the security and performance benefits of Rust with Solidity\u2019s extensive developer community and tooling.",level:"h2",cta:(0,d.jsx)("div",{className:"flex flex-col justify-center gap-4 lg:justify-start md:flex-row md:gap-4",children:(0,d.jsx)(r.A,{to:"/docs/v6/solidity-interop/use-ink-with-solidity-abi",className:"hover:scale-105 hover:-rotate-1 !transition-all duration-300",children:(0,d.jsx)(c.$,{size:"lg",variant:"secondary",children:"Learn more"})})}),media:(0,d.jsxs)("div",{className:"relative w-[265px] h-[265px] scale-75 lg:scale-100",children:[(0,d.jsx)("div",{className:(0,qe.A)("absolute bottom-0 right-0 z-0 h-fit w-fit flex items-center justify-center bg-[#8c7cf7] shadow-[8px_8px_0px_0px_#6957de] rounded-[30px] duration-500 p-2.5"),style:{transform:"rotate(30deg) skewX(-12deg) skewY(-12deg)"},children:(0,d.jsx)("div",{className:"flex items-center justify-center bg-white border-[#6957de] border-4 border-solid rounded-[24px]",children:(0,d.jsx)("div",{className:"flex items-center p-4 text-black",children:(0,d.jsx)(Ie,{className:"w-[100px] h-[100px] lg:w-[100px] lg:h-[100px]"})})})}),(0,d.jsx)("div",{className:(0,qe.A)("absolute top-0 left-0 z-0 h-fit w-fit flex items-center justify-center bg-[#8c7cf7] shadow-[8px_8px_0px_0px_#6957de] rounded-[30px] duration-500 p-2.5"),style:{transform:"rotate(15deg) skewX(-15deg) skewY(-3deg)"},children:(0,d.jsx)("div",{className:"flex items-center justify-center bg-white border-[#6957de] border-4 border-solid rounded-[24px]",children:(0,d.jsx)("div",{className:"flex items-center p-4 text-black",children:(0,d.jsx)(Ze,{className:"w-[100px] h-[100px]"})})})})]})})})})]})}function Ye(){return(0,d.jsxs)("section",{className:"relative flex flex-col items-center justify-center section-rust lg:h-[800px]",style:{background:"linear-gradient(180deg,rgba(24,18,56,0) 0%,#221E4A 100%)"},children:[(0,d.jsx)(Te,{className:"absolute bottom-0 left-1/3"}),(0,d.jsx)("div",{className:"container relative z-10 flex flex-col items-center justify-center",children:(0,d.jsx)(h,{children:(0,d.jsx)(m,{variant:"right",title:"Get Rust-Powered Protection Built-in",description:"Deploy smart contracts with built-in safety guarantees from the world's most secure programming language.",level:"h2",cta:(0,d.jsx)("div",{className:"flex flex-col justify-center gap-4 lg:justify-start md:flex-row md:gap-4",children:(0,d.jsx)(r.A,{to:"https://github.com/use-ink/ink-examples",className:"hover:scale-105 hover:-rotate-1 !transition-all duration-300",children:(0,d.jsx)(c.$,{size:"lg",variant:"secondary",children:"See ink! examples"})})}),media:(0,d.jsx)("div",{className:"w-full mt-8 lg:mt-0 h-[300px] lg:h-[410px]",children:(0,d.jsx)(z.N,{src:"animations/medal.riv",autoplay:!0})})})})})]})}var Xe;function Ke(){return Ke=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},Ke.apply(null,arguments)}const Je=({title:e,titleId:t,...a})=>l.createElement("svg",Ke({xmlns:"http://www.w3.org/2000/svg",width:490,height:777,viewB
1ox:"0 0 490 777","aria-labelledby":t},a),void 0===e?l.createElement("title",{id:t},"Artboard"):e?l.createElement("title",{id:t},e):null,Xe||(Xe=l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("path",{fill:"#8647CB",d:"M412.118 96.425c-13.551 18.272-16.933 28.329-20.5 38.509 0 0 29.161 16.49 55.44 3.372 48.681-24.317 42.11-88.734 40.726-98.539-.78-5.647-18.233 11.182-38.114 27.416-14.452 11.632-31.85 21.565-37.552 29.242"}),l.createElement("path",{fill:"#BB82FA",d:"M476.964 60.309c-2.227 4.257-4.07 8.85-6.384 13.057-1.014 1.956-2.29 4.567-3.34 6.386-11.04 19.722-27.33 37.337-48.332 46.112-7.543 3.266-15.776 5.325-23.978 6.132-3.922.392-3.414 6.112.544 5.857 41.245-3.438 73.142-38.485 84.078-76.627.404-1.499-1.875-2.353-2.588-.917"}),l.createElement("path",{fill:"#BB82FA",d:"M-206.285 304.73c-5.768 25.192-10.405 52.422-13.822 81.741l28.603-8.543c2.762-18.382 5.892-36.204 9.466-53.194C-146.037 153.378-64.947 54.125 53.274 22.961c26.998-7.161 54.995-4.853 81.681 2.125.483.163 1.016.24 1.412.353 18.385 4.957 36.017 12.018 52.218 19.756 1.09.513 2.092.977 3.182 1.49 24.246 11.805 44.927 24.784 59.362 33.58 38.558 23.417 93.383 78.857 164.612 52.084.324-.16 1.104-2.711.694-2.601-63.965 10.99-90.165-16.03-145.047-50.372C214.601 43.934 146.706-9.468 62.55 1.296c-77.976 10.059-217.384 77.72-268.834 303.435M477.2 690.1c-19.9 15.3-63.8 43.2-136.1 48.5-13.5 1-27.9 1.2-43.4.4-8.1-.4-16.3-.9-24.6-1.4-92.5-5.8-195.8-15.4-287 39.2l-19.8-83.5c162.9-63.1 259.2-26.7 326.4-6s116.2 19.9 156.7 3.2c6.8-2.8 12.8-5.2 17.9-7.2h.1c25.2-9.6 29.4-8.3 9.8 6.8"}),l.createElement("path",{fill:"#8647CB",d:"M467.4 683.3h-.1c-5.1 2-11.1 4.3-17.9 7.2-40.4 16.7-89.5 17.5-156.7-3.2s-163.5-57-326.4 6l6.1 25.8s116.8-39.4 217.9-22 161.5 22.6 214.3 14.4c52.6-8.1 73.5-31.9 62.8-28.2"}),l.createElement("g",{fill:"#D7B6FA"},l.createElement("path",{d:"M407.8 698.5c-9.5 1.6-15.4 6.2-10.5 8.3s16.8.1 21.5-3.6c4.6-3.6-1.5-6.3-11-4.7M353.3 697.9c-12.2-1.4-20.8 2.2-15.4 6.4 5.4 4.3 20.7 6 27.5 3.2 6.9-2.9.2-8.2-12.1-9.6M293.2 686.9c-15.2-2.8-26.1 1-19.7 6.9 6.4 5.8 25.4 9.3 34.1 6.3 8.8-3.2.7-10.5-14.4-13.2M220.9 669.8c-19-3.1-32.8 3.1-24.9 11.1s31.6 11.8 42.7 6.9c11-4.9 1.1-14.9-17.8-18M131.6 661.7c-22.5.9-37.2 10.9-26.5 17.9s38.7 5.8 50.5-2.1c11.8-8-1.5-16.8-24-15.8M24.5 675.9c-26 5.4-41.6 18.4-28 23.4s46.1-1.7 58.5-12.1-4.4-16.7-30.5-11.3"})),l.createElement("path",{fill:"#D7B6FA",d:"M341.1 738.7c-13.5 1-27.9 1.2-43.4.4-8.1-.4-16.3-.9-24.6-1.4-92.5-5.8-195.8-15.4-287 39.2 91.7-86.6 311.6-37.8 355-38.2"}),l.createElement("path",{fill:"#BB82FA",d:"M259.5 604.1c-47.7 20.9-103.4 30.9-165.9 24-40.1-4.4-83.1-15.7-128.5-35.3L-.7 458.9c144.4 116.1 340.1-1.1 365.3-93.4 20.6-75.4-28.7-126-83.1-137.6-38-8-88.4-4-56.4-12.6 13.6-3.7 26.6-6.2 39-7.6 147.7-17.3 211.8 116.2 159.5 232.1-30.3 67.4-86.6 130.3-164.1 164.3"}),l.createElement("path",{fill:"#965CD5",d:"M419.3 449.1c-1.5 3.1-3.1 6.1-4.7 9.2-11.3 7.3-22.7 9.9-32.6 10.3-2.5.1-5 .1-7.3-.1-18.4-1.1-31.9-8.6-32.5-9l2.3-4c.1.1 13.3 7.4 30.7 8.4 16.7 1 31.5-4 44.1-14.8"}),l.createElement("path",{fill:"#8647CB",d:"M-.6 532.4v-73.5c144.4 116.1 340.1-1.1 365.3-93.4 20.6-75.4-28.7-126-83.1-137.6-38-8-88.4-4-56.4-12.6 13.6-3.7 26.6-6.2 39-7.6h.1c30.5-.1 75.1 10 102.2 37.3 34.9 35.1 45 90.3 23 150.7C341.4 527.1 189.9 634-.6 532.4"}),l.createElement("g",{fill:"#D7B6FA"},l.createElement("path",{d:"M74.8 546.1c-32.2-8.9-47.9-29.4-28.3-36.9s59.9 3.6 72.5 20-12 25.7-44.2 16.9M213.4 547.9c-26.9 6.3-46.4-3.4-35.1-17.5s45-22.1 60.6-14.3 1.4 25.5-25.5 31.8M310.3 495.9c-19 15.2-38.2 15-34.7-.5s27.2-34.5 42.7-34.3c15.4.3 10.9 19.6-8 34.8M368.1 413.8c-9.9 17.5-25 23.4-27.1 10.6-2.2-12.8 10.2-34.6 22.3-39.4 12-4.6 14.7 11.3 4.8 28.8M387.1 333.6c-.7 16.7-9.3 27-15.4 18.6s-5.2-29.2 1.7-37.5c6.8-8.3 14.4 2.2 13.7 18.9M357.1 277.4c-7.4-13.2-5.3-25.5 3.8-22.2s18.3 19.9 16.7 29.7c-1.7 9.9-13.1 5.7-20.5-7.5M320.6 242.1c-11.9-6.7-16.1-16.7-7.5-18s23.4 7.2 26.8 15.1-7.4 9.6-19.3 2.9M278.6 225.9c-9.2-1-14.2-6.8-9.1-10.5s16.6-2.6 20.7 2.1c4 4.7-2.4 9.4-11.6 8.4M246.2 223.1c-5.7 1.7-10.3-1.1-8.2-5.1s9.2-6.1 12.9-3.8 1 7.2-4.7 8.9"})),l.createElement("g",{transform:"translate(187 225)"},l.createElement("path",{fill:"#5A4EBD",d:"M188 105.8c-5.4 46.1-43.4 80.5-88.3 82.8l-.2 1.3-15.8-1.9C32.2 181.9-4.7 135.3 1.4 83.8S54.1-4.6 105.6 1.5l15 1.8-.1 1.2c43.6 12.4 73 54.9 67.5 101.3"}
1),l.createElement("circle",{cx:109.7,cy:96.6,r:93.9,fill:"#897DEF"}),l.createElement("circle",{cx:109.7,cy:96.6,r:77.1,fill:"#FFF"}),l.createElement("circle",{cx:109.7,cy:96.6,r:77.1,stroke:"#5A4EBD",strokeWidth:4.5}),l.createElement("g",{fill:"#FF2670",transform:"translate(41 29)"},l.createElement("ellipse",{cx:74.691,cy:16.984,rx:13.501,ry:23.201,transform:"rotate(-83.293 74.69 16.984)"}),l.createElement("ellipse",{cx:62.778,cy:118.109,rx:13.501,ry:23.201,transform:"rotate(-83.293 62.778 118.11)"}),l.createElement("ellipse",{cx:115.495,cy:47.479,rx:13.5,ry:23.2,transform:"rotate(-23.291 115.495 47.48)"}),l.createElement("ellipse",{cx:22.011,cy:87.765,rx:13.5,ry:23.2,transform:"rotate(-23.291 22.01 87.765)"}),l.createElement("ellipse",{cx:109.593,cy:98.112,rx:23.201,ry:13.501,transform:"rotate(-53.289 109.593 98.112)"}),l.createElement("ellipse",{cx:27.947,cy:37.2,rx:23.201,ry:13.501,transform:"rotate(-53.289 27.947 37.2)"}))))));var Qe,et,tt,at,lt,st,nt,rt,ct,it,ot,dt,mt,pt,ht,xt,ft,gt,ut,vt;function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},bt.apply(null,arguments)}const wt=({title:e,titleId:t,...a})=>l.createElement("svg",bt({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 986.3 766.2","aria-labelledby":t},a),e?l.createElement("title",{id:t},e):null,Qe||(Qe=l.createElement("path",{fill:"#BB82FA",d:"M588.5 219.5c-5.8-.7-11.6-1.5-17.5-2.4-23.9-3.7-47.3-8.1-69.8-13.7-56-13.7-106.6-34.2-146.6-67.2-40.2-33.2-51.8-81.4-21.7-113.1q3.9-4.05 8.7-7.8c32.8-25.1 91-18.7 117.2 13.4 26.1 32.1 9.9 60.8-20.4 63.8-29.1 3-54.2-6-64.9-20.6-8.9-12.2 8.2-18.5 20.5-18.3 12.2.2 25.1 5.1-1.9 10.1 41.3 11.9 49.1-6.5 33.3-19.8-15-12.6-57.9-18.8-63.4 3.6-.9 3.6-1.1 7-.8 10.3 1.1 11.4 9 21.4 22 31.3 1.5 1.1 3 2.2 4.6 3.3 8.2 5.7 18.1 11.4 29.4 17.3 6.4 3.3 13.2 6.7 20.3 10.2 13.8 6.7 28.8 12.6 46.5 17.7 25.2 7.3 56 12.9 97 16.9 6.6.6 13.5 1.2 20.6 1.8 30.8 2.4 66.9 4 109.8 4.8l-4.1 62.5s-20.9 1.2-51.2.5c-19.5-.3-43.2-1.6-67.6-4.6"})),et||(et=l.createElement("path",{fill:"#8647CB",d:"M392.2 63.9c41.3 11.9 49.1-6.5 33.3-19.8-15-12.6-57.9-18.8-63.4 3.6 2.6-40.6 81-30.8 88.4 1 4.6 20-19.3 31.6-58.3 15.2"})),tt||(tt=l.createElement("path",{fill:"#8647CB",d:"m588.5 219.5-7.2-.9c-.5-.1-1-.1-1.6-.2-1-.1-2-.3-2.9-.4-.8-.1-1.6-.2-2.3-.3-1.1-.2-2.3-.3-3.4-.5l-7.8-1.2c-.5-.1-1-.2-1.5-.2-2.7-.4-5.4-.9-8.1-1.4-.7-.1-1.3-.2-2-.4-1.9-.3-3.7-.7-5.6-1-.7-.1-1.4-.2-2.1-.4-4.3-.8-8.5-1.6-12.7-2.4-1.4-.3-2.7-.6-4.1-.8-1.5-.3-3-.6-4.6-1-1.1-.2-2.1-.4-3.2-.7-1.1-.2-2.1-.5-3.2-.7-2.1-.5-4.2-.9-6.2-1.4l-8.7-2.1c-56-13.7-106.6-34.2-146.6-67.2-40.2-33.2-51.8-81.4-21.7-113.1-11.7 17.2-19.1 73.1 54 114.3 27.9 15.7 63.2 27.3 100.5 35.7 32.2 7.3 65.8 12.2 97.4 15.5 15.8 1.6 31.2 2.8 45.5 3.6 33.3 1.9 61.5 1.9 79 .9l-2 30.7s-1.3.1-3.8.2h-1c-.8 0-1.8.1-2.9.1h-3.5c-.6 0-1.2 0-1.8.1-.7 0-1.4 0-2.1.1H691c-2 0-4.1.1-6.4.1-2.7 0-5.7 0-8.8.1H666c-3.2 0-6.5-.1-9.9-.2-19.6-.6-43.2-1.9-67.6-4.9"})),at||(at=l.createElement("path",{fill:"#D7B6FA",d:"M431.4 184.9c-15.2-5.3-22-14.9-12.3-17.3s28.7 4.2 34.1 11.9c5.5 7.7-6.6 10.7-21.8 5.4M496.3 207.4q-1.95-.45-3.6-.9c-17.6-5-26.1-14.5-15.1-18.2 3.9-1.3 9.3-1.5 15.1-.9 11.5 1.2 24.5 5.6 30.1 11.3 8.1 8.4-6.5 13.2-26.5 8.7M370.6 155.5c-13.5-9-18-19.5-8-18.9s26.9 11.8 30.4 20.2c3.6 8.4-8.9 7.7-22.4-1.3M326.8 112.8c-7.7-11.1-7.6-20.6.1-17.2s17.3 17.3 17.3 24.9-9.7 3.4-17.4-7.7M312.4 65.3c-.6-10.9 3.5-17.8 7.3-12.5s4.6 19 1.3 24.5c-3.2 5.6-8-1.1-8.6-12M394.9 34.8c-9.2-.6-14.7-4.9-9.9-7.7s16.3-2.1 20.7 1.3-1.5 7-10.8 6.4M425.5 42.7c-6.4-4.2-7.8-10-2.6-10.5 5.3-.5 13.3 4.7 14.4 9.4s-5.4 5.2-11.8 1.1M431.3 60c2.8-4.5 7.3-6 8.2-2.6s-2.6 9.1-6.2 10.2c-3.7 1.2-4.8-3.1-2-7.6"})),lt||(lt=l.createElement("path",{fill:"#965CD5",d:"M383.3 89.3c-34-9.5-37.6-23-22-31.3 1.1 11.3 9 21.4 22 31.3M387.8 92.6c8.2 5.7 18.1 11.4 29.4 17.3-7.7 4.7-27.2 1-29.4-17.3"})),st||(st=l.createElement("path",{fill:"#BB82FA",d:"M675.4 520.4c-70.5 163.8-154.8 198.1-210.7 188.8-13.9-2.3-26-7.3-35.7-13.6-30.4-19.8-44.2-47.3-59.7-76.5-14.9-27.9-31.4-57.3-65.6-83.3-40-30.4-107.8-51-158-42.3l-14.7-1.4s55.2-16.8 111.8-6c.7.1 1.4.3 2 .4 14.7 2.9 30 7.3 45.4 13.7 19.2 7.9 36.5 18.8 52.6 31 46.3 35.2 81.5 80.6 116.8 92.4 27.9 9.3 58.5-6.6 85.6-36 19-20.6 36.3-47.9 49.9-77.7z"})),nt||(nt=l.createElement("path",{fill:"#8647CB",d:"M675.4 520.4c-70.5 163.8-154.8 198.1-210.7 188.8 67.2-5.2 133.4-102 174.3-193.5zM369.2 619.1c-14.9-27.8-31.4-57.3-65.6-83.3-40-30.4-99.7-44.9-158-38.6-41.1 4.4-30.7-5.1-5.4-10.3 18.7-3.8 45.9-11.6 102.6-.7.7.1 1.4.3 2 .4 58.4 12.1 106.6 60.7 124.4 132.5"})),rt||(rt=l.createElement("path",{fill:"#D7B6FA",d:"M627.9 624.2c-13.1 21.8-29.1 30.8-28.8 16.3s16.7-41.7 29.6-49c12.8-7.3 12.4 10.9-.8 32.7M560.2 691.5c-19.2 14.4-36.4 16.8-30.9 4.3s29.4-30.5 43.2-32.5c13.7-1.8 6.9 13.8-12.3 28.2M672.9 539.4c-9.6 21.3-24.4 30.7-26.7 17s9.6-40.3 21.5-47.9c11.8-7.5 14.7 9.6 5.2 30.9M327 560.3c-8.1-10.3-9.3-19.7-2.2-16.9s17.3 15.7 18.3 23.2-8 4-16.1-6.3M279.8 521.8c-12.5-8.3-16.7-18.7-7.6-18.7s24.7 10.3 28.1 18.6-8 8.4-20.5.1M233.3 500.8c-8.9-2.4-13.2-8.7-7.7-11.3 5.5-2.7 16.6.3 20.1 5.3 3.4 5-3.5 8.4-12.4 6M189.3 492.6c-7.5-.2-12.1-4.2-8.3-7.1s13.2-2.7 16.9.5c3.6 3.2-1.1 6.8-8.6 6.6M154.8 494.8c-5.7.8-9.7-2.2-7.3-5.3 2.4-3.2 9.5-4.2 12.8-1.8s.1 6.3-5.5 7.1M545.3 587.9c-49.1 71.4-97.9 52.9-147.3-1.7-19.8-21.9-39.2-38.1-55.2-55.1 46.3 35.2 81.5 80.6 116.8 92.4 27.9 9.3 58.5-6.6 85.6-36 0 .2 0 .4.1.4"})),ct||(ct=l.createElement("path",{fill:"#965CD5",d:"M487.1 625.2c-4.9 20.8-20.8 28.1-35 34.5-15 6.8-28.2 12.8-26.8 33.3-1.3-.9-2.5-1.8-3.7-2.7-.1-20.7 14.7-27.4 29-33.9 13.7-6.2 27.8-12.6 32.6-30.6q1.8-.3 3.9-.6"})),it||(it=l.createElement("path",{fill:"#BB82FA",d:"M113.4 197.6c29-4.9 62.5-6.4 95.8-3.6 92.9 7.9 285.5 59 443.2 187.8 142.4 116.2 159 211.4 333.9 275.4l-41.8 109C710.3 644.4 652.4 466.9 480.4 351.7c-120.6-80.8-227.6-109.9-295.2-116.6-28.8-2.9-50.4-1.6-62.8 1.4-.9.2-1.8.5-2.7.7-13.6 3.6-22.2 8.5-26.2 13.9-7.5 10 1 21.8 23.3 30.4 34.9 13.4 76.6 20.9 63.6-7.6-5.2-11.4-13.8-21.6-12.9-24 1.2-3.2 12.1 4 22.8 15.3 12.4 13 22.1 32.6 8.8 45.7-4.1 4.1-10.5 7.5-19.7 9.9-42 11-111.6-15-144-56.7-22.3-31.4 18.1-56.3 78-66.5"})),ot||(ot=l.createElement("path",{fill:"#BB82FA",d:"m986.3 657.2-41.8 109c-173.2-90-250-210.5-347.7-313.8-1.3-1.4-2.6-2.8-3.9-4.1-14.8-15.5-30.2-30.6-46.4-45.1-1.9-1.7-3.8-3.4-5.7-5-15.2-13.3-31.2-26-48.3-38.2l-6-4.2c-2-1.4-4-2.7-6-4.1-120.6-80.8-227.6-109.9-295.2-116.6-28.8-2.8-50.4-1.6-62.8 1.4-.9.2-1.8.5-2.7.7-13.6 3.6-22.2 8.5-26.2 13.9-7.5 10 1 21.8 23.3 30.4 34.9 13.4 76.6 20.9 63.6-7.7-5.2-11.4-13.8-21.6-12.9-24 1.2-3.2 12.1 4 22.8 15.3 12.4 13 22.1 32.6 8.8 45.7-4.1 4.1-10.5 7.5-19.7 9.9-42 11-111.6-15-144-56.7-22.2-31.5 18.1-56.3 78.1-66.5 28.9-4.9 62.5-6.4 95.8-3.6 92.9 7.9 285.5 59 443.2 187.8 142.2 116.4 158.8 211.6 333.7 275.5"})),dt||(dt=l.createElement("path",{fill:"#965CD5",d:"m492.4 360-6-4.2c-4-9.1-10-17.6-9.1-30.3.8-7.4 4.3-14 8.9-19.6.6-.8 1.3-1.5 1.9-2.3l1.9 1.5c-2.1 3.3-4.1 6.6-5.6 10.
11-8.3 18 3.9 29.7 8 44.8M596.8 452.4c-1.3-1.4-2.6-2.8-3.9-4.1 1.8-23.8-13.5-39.5-45.4-45-.4-.1-.7-.1-1.1-.2-1.9-1.7-3.8-3.4-5.7-5 7.6.7 15 2.1 22.2 4.4 15.6 4.9 30.1 15.4 33.5 32.3 1.3 5.9 1.3 11.7.4 17.6"})),mt||(mt=l.createElement("path",{fill:"#8647CB",d:"M93.5 251.2c-7.5 10 1 21.8 23.3 30.4 34.9 13.4 76.6 20.9 63.6-7.6-5.2-11.4-13.8-21.6-12.9-24 1.2-3.2 12.1 4 22.8 15.3 12.4 13 22.1 32.6 8.8 45.7-27.9 18.6-74.7 2.6-98.4-14.1-21.4-15.2-23.3-31.9-7.2-45.7"})),pt||(pt=l.createElement("path",{fill:"#D7B6FA",d:"M116 282.8c12 6.2 16.7 15.6 8.4 16.9s-23.3-6.5-27.1-14c-3.7-7.5 6.6-9.1 18.7-2.9M167.7 296.2c9.8-.6 16.4 4.8 11.8 9.7s-16.9 5.7-22.2 1.4c-5.2-4.3.6-10.5 10.4-11.1M180.3 276.5c-1.8-7.7 0-13.2 3.3-9.9s5.6 12.9 4.1 17.3c-1.4 4.4-5.6.3-7.4-7.4"})),ht||(ht=l.createElement("path",{fill:"#8647CB",d:"M113.4 197.6c29-4.9 62.5-6.4 95.8-3.6 92.9 7.9 285.5 59 443.2 187.8 142.4 116.2 159 211.4 333.9 275.4l-22.1 57.5c-114.1-26.4-180.8-135.4-326.7-285.6-144.6-149-376.3-237.3-524.1-231.5"})),xt||(xt=l.createElement("path",{fill:"#D7B6FA",d:"M202.3 187.9c13.8 1.2 22.1 6.3 14.9 9.1s-24.5 1.3-31.1-2.7 2.4-7.6 16.2-6.4M279.2 199.7c19.6 4.4 30.6 12.6 19.8 14.7s-35.2-3.5-44-10c-8.9-6.5 4.6-9.1 24.2-4.7M372.9 225.7c22.3 7.8 34.1 18.6 21.3 19.5s-40.6-8.8-50.1-17.5c-9.4-8.7 6.6-9.8 28.8-2M469.7 264.5c23.5 11.6 34.6 26.2 20 26.2s-44.1-14.5-53-26.2 9.5-11.7 33 0M577.3 325.1c23.4 16.5 32 35.4 15.5 34S547 337 540.1 321.9s13.8-13.4 37.2 3.2M689 418.9c24 21.5 30.4 44.7 11.4 41.7s-49-29.9-54.1-48.4c-5-18.6 18.7-14.8 42.7 6.7M773.3 510.4c.3.2.5.5.8.8 21.4 22.4 25.7 45.1 7.7 40.8-11-2.7-25.3-14.2-35.5-26.9-6.4-8-11.3-16.5-12.6-23.5-3.4-18 18.5-13 39.6 8.8"})),ft||(ft=l.createElement("path",{fill:"#BB82FA",d:"M936.8 650.2c30 11.9 43.2 33.1 23.9 38.2-19.4 5.1-56.8-9.7-67.4-26.7-10.7-16.9 13.5-23.4 43.5-11.5M746.3 525c9-11.3 19-14.4 27-14.6.3.2.5.5.8.8 21.4 22.4 25.7 45.1 7.7 40.8-11-2.7-25.2-14.3-35.5-27"})),gt||(gt=l.createElement("path",{d:"M154.4 189.5c-3.7-1.4-18.4-6.7-18.4-6.7-.5-.2-.9-.6-1.2-1.1l-8.8-19.2c-.9-2-3.2-3.1-5.2-2.3-2.2.9-3.2 3.3-2.2 5.4l8.1 17.7c.4.8.2 1.8-.5 2.4 0 0-3.3 3.2-6.5 5.9-3.9 3.3 2.9 8.2 5.3 6.1 2.3-2.1 7.2-6.6 7.2-6.6.6-.5 1.4-.7 2.1-.4 0 0 14.1 5.2 17.6 6.4 3.4 1.3 6.2-6.2 2.5-7.6"})),ut||(ut=l.createElement("path",{d:"M206.1 78.4c-5.9 1.7-10.3 3.6-13.7 5.7-12.7 8-10.3 18.9-16.2 34.6-9.5 25.3-44.4 37.4-44.4 37.4-6.1 24.7-29.3 5.2-29.3 5.2-56.6 20.3-86.4 32.5-78.1 17.4-33.4 12.6-31.4 3.8-1-11.1C53.7 152.7 69 145.1 69 145.1c-18.6-3.2-10.7-7.7 8.6-19.4 20-12.2 47.8-27.2 60.2-35 12.3-7.8 18.7-26.7 33-31.1 6.7-2 15.3 1.8 22.7 6.5 5.7 3.7 10.7 7.8 13.2 10.1.7.6.4 1.9-.6 2.2"})),vt||(vt=l.createElement("path",{fill:"#FFF",d:"M169.4 74.7h-.3c-1.1-.1-1.9-1.1-1.8-2.2.4-4 3.5-6.9 7.7-7.1s7.6 2.4 8.3 6.3c.2 1.1-.5 2.1-1.6 2.3s-2.1-.5-2.3-1.6c-.4-2.4-2.5-3.2-4.2-3.1s-3.7 1-3.9 3.4c-.1 1.2-.9 2-1.9 2"})));function jt(){const e=(0,L.F)();return(0,d.jsxs)("section",{className:"relative flex flex-col items-center justify-center w-full overflow-hidden section-interop md:h-[820px]",children:[(0,d.jsx)(Te,{}),(0,d.jsx)(Je,{className:"absolute hidden sm:block top-[20px] lg:top-0 h-full -left-[100px] md:left-0 origin-left max-w-[30%] z-30 pointer-events-none"}),(0,d.jsx)(wt,{className:"absolute hidden sm:block top-[50px] lg:top-0 -right-[180px] md:-right-[280px] lg:-right-[380px] h-full origin-right max-w-[55%] 2xl:max-w-[1000px] z-30 pointer-events-none"}),(0,d.jsx)("div",{className:"container relative z-10 flex flex-col items-center justify-center pointer-events-none",children:(0,d.jsx)(h,{children:(0,d.jsx)(m,{classNames:{container:"max-w-lg",description:"max-w-[350px] text-center items-center w-full",textWrapper:"items-center"},variant:"center",title:"Future-Proof Interoperability",description:"Develop smart contracts that seamlessly integrate across Polkadot, Kusama, and Substrate.",level:"h2",cta:(0,d.jsx)("div",{className:"flex flex-row gap-4 pointer-events-auto",children:(0,d.jsx)(r.A,{to:`/docs/${e?.label??"v5"}`,className:"",children:(0,d.jsx)(c.$,{variant:"secondary",size:"lg",className:"!transition-all duration-300 hover:scale-105 hover:-rotate-1",children:"Read the docs"})})}),media:(0,d.jsx)(d.Fragment,{})})})}),(0,d.jsxs)("div",{className:"relative h-[350px] w-full -mt-[100px] sm:hidden",children:[(0,d.jsx)(Je,{className:"absolute top-[full]  h-full left-[-25%] md:left-0 origin-left max-h-[90%] max-w-[80%] z-30 pointer-events-none"}),(0,d.jsx)(wt,{className:"absolute top-[0px] -right-[40%] h-full origin-right max-w-[90%] z-30 pointer-events-none"})]})]})}const yt=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M243,96a20.33,20.33,0,0,0-17.74-14l-56.59-4.57L146.83,24.62a20.36,20.36,0,0,0-37.66,0L87.35,77.44,30.76,82A20.45,20.45,0,0,0,19.1,117.88l43.18,37.24-13.2,55.7A20.37,20.37,0,0,0,79.57,233L128,203.19,176.43,233a20.39,20.39,0,0,0,30.49-22.15l-13.2-55.7,43.18-37.24A20.43,20.43,0,0,0,243,96ZM172.53,141.7a12,12,0,0,0-3.84,11.86L181.58,208l-47.29-29.08a12,12,0,0,0-12.58,0L74.42,208l12.89-54.4a12,12,0,0,0-3.84-11.86L41.2,105.24l55.4-4.47a12,12,0,0,0,10.13-7.38L128,41.89l21.27,51.5a12,12,0,0,0,10.13,7.38l55.4,4.47Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M229.06,108.79l-48.7,42,14.88,62.79a8.4,8.4,0,0,1-12.52,9.17L128,189.09,73.28,222.74a8.4,8.4,0,0,1-12.52-9.17l14.88-62.79-48.7-42A8.46,8.46,0,0,1,31.73,94L95.64,88.8l24.62-59.6a8.36,8.36,0,0,1,15.48,0l24.62,59.6L224.27,94A8.46,8.46,0,0,1,229.06,108.79Z",opacity:"0.2"}),l.createElement("path",{d:"M239.18,97.26A16.38,16.38,0,0,0,224.92,86l-59-4.76L143.14,26.15a16.36,16.36,0,0,0-30.27,0L90.11,81.23,31.08,86a16.46,16.46,0,0,0-9.37,28.86l45,38.83L53,211.75a16.38,16.38,0,0,0,24.5,17.82L128,198.49l50.53,31.08A16.4,16.4,0,0,0,203,211.75l-13.76-58.07,45-38.83A16.43,16.43,0,0,0,239.18,97.26Zm-15.34,5.47-48.7,42a8,8,0,0,0-2.56,7.91l14.88,62.8a.37.37,0,0,1-.17.48c-.18.14-.23.11-.38,0l-54.72-33.65a8,8,0,0,0-8.38,0L69.09,215.94c-.15.09-.19.12-.38,0a.37.37,0,0,1-.17-.48l14.88-62.8a8,8,0,0,0-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13
1-.5s.18-.27.33-.29l63.92-5.16A8,8,0,0,0,103,91.86l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153,91.86a8,8,0,0,0,6.75,4.92l63.92,5.16c.15,0,.24,0,.33.29S224,102.63,223.84,102.73Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M234.29,114.85l-45,38.83L203,211.75a16.4,16.4,0,0,1-24.5,17.82L128,198.49,77.47,229.57A16.4,16.4,0,0,1,53,211.75l13.76-58.07-45-38.83A16.46,16.46,0,0,1,31.08,86l59-4.76,22.76-55.08a16.36,16.36,0,0,1,30.27,0l22.75,55.08,59,4.76a16.46,16.46,0,0,1,9.37,28.86Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M237.28,97.87A14.18,14.18,0,0,0,224.76,88l-60.25-4.87-23.22-56.2a14.37,14.37,0,0,0-26.58,0L91.49,83.11,31.24,88a14.18,14.18,0,0,0-12.52,9.89A14.43,14.43,0,0,0,23,113.32L69,152.93l-14,59.25a14.4,14.4,0,0,0,5.59,15,14.1,14.1,0,0,0,15.91.6L128,196.12l51.58,31.71a14.1,14.1,0,0,0,15.91-.6,14.4,14.4,0,0,0,5.59-15l-14-59.25L233,113.32A14.43,14.43,0,0,0,237.28,97.87Zm-12.14,6.37-48.69,42a6,6,0,0,0-1.92,5.92l14.88,62.79a2.35,2.35,0,0,1-.95,2.57,2.24,2.24,0,0,1-2.6.1L131.14,184a6,6,0,0,0-6.28,0L70.14,217.61a2.24,2.24,0,0,1-2.6-.1,2.35,2.35,0,0,1-1-2.57l14.88-62.79a6,6,0,0,0-1.92-5.92l-48.69-42a2.37,2.37,0,0,1-.73-2.65,2.28,2.28,0,0,1,2.07-1.65l63.92-5.16a6,6,0,0,0,5.06-3.69l24.63-59.6a2.35,2.35,0,0,1,4.38,0l24.63,59.6a6,6,0,0,0,5.06,3.69l63.92,5.16a2.28,2.28,0,0,1,2.07,1.65A2.37,2.37,0,0,1,225.14,104.24Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M239.18,97.26A16.38,16.38,0,0,0,224.92,86l-59-4.76L143.14,26.15a16.36,16.36,0,0,0-30.27,0L90.11,81.23,31.08,86a16.46,16.46,0,0,0-9.37,28.86l45,38.83L53,211.75a16.38,16.38,0,0,0,24.5,17.82L128,198.49l50.53,31.08A16.4,16.4,0,0,0,203,211.75l-13.76-58.07,45-38.83A16.43,16.43,0,0,0,239.18,97.26Zm-15.34,5.47-48.7,42a8,8,0,0,0-2.56,7.91l14.88,62.8a.37.37,0,0,1-.17.48c-.18.14-.23.11-.38,0l-54.72-33.65a8,8,0,0,0-8.38,0L69.09,215.94c-.15.09-.19.12-.38,0a.37.37,0,0,1-.17-.48l14.88-62.8a8,8,0,0,0-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13-.5s.18-.27.33-.29l63.92-5.16A8,8,0,0,0,103,91.86l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153,91.86a8,8,0,0,0,6.75,4.92l63.92,5.16c.15,0,.24,0,.33.29S224,102.63,223.84,102.73Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M235.36,98.49A12.21,12.21,0,0,0,224.59,90l-61.47-5L139.44,27.67a12.37,12.37,0,0,0-22.88,0L92.88,85,31.41,90a12.45,12.45,0,0,0-7.07,21.84l46.85,40.41L56.87,212.64a12.35,12.35,0,0,0,18.51,13.49L128,193.77l52.62,32.36a12.12,12.12,0,0,0,13.69-.51,12.28,12.28,0,0,0,4.82-13l-14.32-60.42,46.85-40.41A12.29,12.29,0,0,0,235.36,98.49Zm-8.93,7.26-48.68,42a4,4,0,0,0-1.28,3.95l14.87,62.79a4.37,4.37,0,0,1-1.72,4.65,4.24,4.24,0,0,1-4.81.18L130.1,185.67a4,4,0,0,0-4.2,0L71.19,219.32a4.24,4.24,0,0,1-4.81-.18,4.37,4.37,0,0,1-1.72-4.65L79.53,151.7a4,4,0,0,0-1.28-3.95l-48.68-42A4.37,4.37,0,0,1,28.25,101a4.31,4.31,0,0,1,3.81-3L96,92.79a4,4,0,0,0,3.38-2.46L124,30.73a4.35,4.35,0,0,1,8.08,0l24.62,59.6A4,4,0,0,0,160,92.79l63.9,5.15a4.31,4.31,0,0,1,3.81,3A4.37,4.37,0,0,1,226.43,105.75Z"}))]]),Mt=l.forwardRef((e,t)=>l.createElement(we.A,{ref:t,...e,weights:yt}));Mt.displayName="StarIcon";const Et=Mt;function Nt(){const e=(0,L.F)();return(0,d.jsx)("section",{className:"relative flex flex-col lg:h-[710px] pointer-events-none section-intro",children:(0,d.jsx)("div",{className:"container lg:!px-0 relative z-10 flex flex-col items-center justify-center mb-16",children:(0,d.jsx)(m,{classNames:{container:"h-full",textWrapper:"lg:w-[500px] min-h-[70vh] lg:h-auto flex flex-col justify-center"},notice:(0,d.jsxs)("a",{className:"flex flex-row items-center gap-2 !text-[#ffc249] hover:!text-[rgb(189,130,253)] justify-center lg:justify-start pointer-events-auto",href:"https://github.com/use-ink/ink",target:"_blank",rel:"noreferrer",children:[(0,d.jsx)(Et,{size:16,weight:"fill",className:"inline animate-flip"}),(0,d.jsx)(Ce,{text:"1.4K+ stars on GitHub!",element:"span",className:"text-[16px] font-[600]"})]}),title:"Build Rust-Based Smart Contracts",description:"Build, test, and deploy smart contracts with ink!",cta:(0,d.jsxs)("div",{className:"flex flex-col gap-3 md:flex-row",children:[(0,d.jsx)(r.A,{to:`/docs/${e?.label??"v5"}`,className:" !transition-all duration-300 flex-1 lg:flex-none pointer-events-auto",children:(0,d.jsx)(c.$,{size:"lg",className:"w-full lg:w-auto",children:"Start building"})}),(0,d.jsx)(r.A,{to:"/tutorials",className:"flex-1 pointer-events-auto lg:flex-none",children:(0,d.jsx)(c.$,{variant:"secondary",size:"lg",className:"!transition-all duration-300 w-full lg:w-auto",children:"View tutorials"})})]}),media:(0,d.jsx)(Ae.P.div,{initial:{opacity:0,y:-100,x:10}
1,animate:{opacity:1,y:-10,x:10},transition:{duration:1.5,ease:"easeInOut"},className:"w-full h-full px-0 overflow-hidden md:px-4",children:(0,d.jsx)("div",{className:"w-full mt-8 lg:mt-0 h-[550px] lg:h-[710px] scale-[115%] lg:scale-125",children:(0,d.jsx)(z.N,{src:"animations/Hero.riv",autoplay:!0,animations:["main","head","code","floating"],layout:new ve.Layout({alignment:ve.Alignment.Center})})})})})})})}const kt=(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("title",{children:"Home | ink!"}),(0,d.jsx)("meta",{name:"description",content:"ink! is the Rust smart contract language of Polkadot. Running on RISC-V and PolkaVM."}),(0,d.jsx)("meta",{name:"keywords",content:"Smart contracts, Rust, Polkadot, PolkaVM, RISC-V"}),(0,d.jsx)("meta",{name:"author",content:"ink! Alliance"}),(0,d.jsx)("meta",{property:"og:title",content:"Home | ink!"}),(0,d.jsx)("meta",{property:"og:description",content:"ink! is the Rust smart contract language of Polkadot. Running on RISC-V and PolkaVM."}),(0,d.jsx)("meta",{property:"og:image",content:"https://use.ink/img/opengraph/home.png"}),(0,d.jsx)("meta",{property:"og:url",content:"https://use.ink/"}),(0,d.jsx)("meta",{property:"og:type",content:"website"}),(0,d.jsx)("meta",{property:"og:site_name",content:"ink!"}),(0,d.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,d.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,d.jsx)("meta",{property:"og:image:height",content:"630"}),(0,d.jsx)("meta",{property:"og:image:alt",content:"ink! logo"}),(0,d.jsx)("meta",{property:"og:image:type",content:"image/png"})]});function _t(){return(0,d.jsxs)(s.default,{head:kt,className:"!mt-0",children:[(0,d.jsx)("div",{style:{width:"100vw",height:"350vh",position:"absolute",top:0,left:0,zIndex:-1},children:(0,d.jsx)(n._,{className:"!fixed"})}),(0,d.jsxs)("div",{className:"relative",children:[(0,d.jsx)(Nt,{}),(0,d.jsx)(jt,{}),(0,d.jsx)(Ye,{}),(0,d.jsx)(Ue,{}),(0,d.jsx)(be,{}),(0,d.jsx)(ee,{})]})]})}},11306:(e,t,a)=>{a.d(t,{_:()=>r});var l=a(36672),s=a(13526),n=a(23420);function r({className:e}){const t=(0,l.useRef)(null);return(0,l.useEffect)(()=>{const e=t.current;if(!e)return;const a=e.getContext("2d");if(!a)return;const l=window.devicePixelRatio||1,s=()=>{e.width=window.innerWidth*l,e.height=window.innerHeight*l,e.style.width=`${window.innerWidth}px`,e.style.height=`${window.innerHeight}px`,a.scale(l,l)};s();const n=Array.from({length:100},()=>({x:Math.random()*window.innerWidth,y:Math.random()*window.innerHeight,radius:1.5*Math.random()+.5,opacity:.3*Math.random()+.4,speed:.2*Math.random()+.1}));let r,c=0;function i(){c=window.scrollY}function o(){s()}return window.addEventListener("scroll",i),window.addEventListener("resize",o),function t(){a.clearRect(0,0,e.width,e.height),n.forEach(e=>{let t=e.y-c*e.speed;t<0&&(t=window.innerHeight+t%window.innerHeight),a.beginPath(),a.arc(e.x,t,e.radius,0,2*Math.PI),a.fillStyle=`rgba(255, 255, 255, ${e.opacity})`,a.fill()});const l=a.createLinearGradient(0,0,0,e.height);l.addColorStop(0,"rgba(0, 0, 0, 1)"),l.addColorStop(.7,"rgba(0, 0, 0, 0)"),a.globalCompositeOperation="destination-in",a.fillStyle=l,a.fillRect(0,0,e.width,e.height),a.globalCompositeOperation="source-over",r=requestAnimationFrame(t)}(),()=>{cancelAnimationFrame(r),window.removeEventListener("scroll",i),window.removeEventListener("resize",o)}},[]),(0,n.jsx)("canvas",{ref:t,className:(0,s.A)("absolute inset-0 pointer-events-none",e),style:{zIndex:-1}})}},16511:(e,t,a)=>{a.d(t,{$:()=>i});a(36672);var l=a(61143),s=a(80846),n=a(39163),r=a(23420);const c=(0,s.F)("inline-flex font-montserrat items-center !border-transparent !border-solid !border-[1px] justify-center gap-2 whitespace-nowrap rounded-[12px] text-sm font-[700] transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive !transition-all !duration-200 hover:scale-[103%] hover:lg:scale-105 hover:-rotate-[0.25deg] hover:lg:-rotate-[0.5deg] text-[16px] will-change-transform",{variants:{variant:{base:"bg-primary text-white shadow-xs hover:bg-primary/90 bg-white text-black border-none",default:"rounded-lg !text-white opacity-100 bg-gradient-to-br from-[rgba(134,71,203,0.6)] to-[rgba(140,124,247,0.66)] hover:from-[rgba(134,71,203)] hover:to-[rgba(140,124,247,0.83)] shadow-[inset_5px_5px_12px_rgba(222,191,255,0.13),inset_0px_1px_4px_rgb(249,166,255),inset_0px_1px_2px_rgba(255,255,255,0.33)] hover:shadow-[inset_5px_5px_12px_rgba(222,191,255,0.25),inset_0px_1px_4px_rgb(249,166,255),inset_0px_1px_2px_rgba(255,255,255,0.33),0px_0px_10px_0px_rgba(189,130,253,0.5)]",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:(0,n.cn)("bg-gradient-to-br from-[rgba(189,130,253,0.05)] to-[rgba(189,130,253,0.05)]","hover:from-[rgba(189,130,253,0.15)] hover:to-[rgba(189,130,253,0.15)]","text-white hover:!border-[#BD82FD] hover:text-white","shadow-[rgba(222,_191,_255,_0.13)_5px_5px_12px_0px_inset,_rgba(189,_130,_253,_0.33)_0px_1px_4px_0px_inset,_rgba(255,_255,_255,_0.2)_0px_1px_2px_0px_inset]","hover:shadow-[rgba(222,_191,_255,_0.13)_5px_5px_12px_0px_inset,_rgba(189,_130,_253,_0.33)_0px_1px_4px_0px_inset,_rgba(255,_255,_255,_0.2)_0px_1px_2px_0px_inset,#bd82fdaa_0_0_10px]","hover:bg-[#bd82fd0d]"),ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-min-content px-[15px] py-[10px] has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>
1svg]:px-2.5",lg:"h-min-content rounded-[12px] px-[36px] py-[18px] has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function i({className:e,variant:t,size:a,asChild:s=!1,...i}){const o=s?l.DX:"button";return(0,r.jsx)(o,{"data-slot":"button",className:(0,n.cn)(c({variant:t,size:a,className:e})),...i})}},21789:(e,t,a)=>{a.d(t,{N:()=>r});a(36672);var l=a(57241),s=a(57336),n=a(23420);function r(e){const{RiveComponent:t}=(0,s.useRive)({src:(0,l.Ay)(e.src),layout:new s.Layout({fit:s.Fit.Contain,alignment:s.Alignment.TopCenter}),...e});return(0,n.jsx)(t,{className:"w-full h-full will-change-transform"})}},47805:(e,t,a)=>{a.d(t,{A:()=>w});var l,s,n,r,c,i,o,d,m,p,h,x,f,g,u,v=a(36672);function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},b.apply(null,arguments)}const w=({title:e,titleId:t,...a})=>v.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"Layer_1",x:0,y:0,viewBox:"0 0 114.6 91.8","aria-labelledby":t},a),e?v.createElement("title",{id:t},e):null,l||(l=v.createElement("style",null,".st1{fill:#5d4dc4}.st2{fill:none}.st3{fill:#8d7cf7}.st4{fill:#b8aeff}")),v.createElement("path",{d:"M84.5 77.3c-9.2 10.7-18.3 15-24.2 14.4-.3 0-.5-.1-.8-.1q-1.5-.3-2.7-.9c-5.4-2.7-7-10.1-4-15.2l14.6.8 2.5.1z",style:{fill:"#372b8f"}}),s||(s=v.createElement("path",{d:"M70 75.8c-.1.2-.1.5-.2.7-1.9 7.1-7.4 12.6-10.3 15.1q-1.5-.3-2.7-.9c2-1.6 8.4-7.1 10.6-14.3.1-.4.2-.8.3-1.1z",className:"st1"})),n||(n=v.createElement("path",{d:"M52.8 75.6c-3.6 6.1-.7 15.3 7.5 16.2 5.9.6 15-3.7 24.2-14.4z",className:"st2"})),r||(r=v.createElement("path",{d:"M27.1 57.4c-.1.9-.1 1.8-.3 2.6-.9 6.9-3.7 13.5-9.4 15.7q-1.2.45-2.4.6c-.8.1-1.6 0-2.4-.2-6.1-1.3-9.6-10 4.5-23.7-1.2-.2-2.4-.4-3.4-.7-.9-.2-1.8-.5-2.6-.9-10.6-4-13.6-14.7-9-20.6.5-.6 1.1-1.2 1.7-1.7q1.95-1.5 4.8-2.1c8.7-1.8 13.6 5.1 16.1 12.8.3.8.5 1.6.7 2.4.3 1 .5 2 .7 2.9.2.8.3 1.6.4 2.4.3 1.8.5 3.6.6 5 .1 1.7.1 3.6 0 5.5",className:"st1"})),c||(c=v.createElement("path",{d:"M25.4 41.5c-.8.1-1.6.1-2.4.1-11.1 0-18.4-8-21-11.4.5-.6 1.1-1.2 1.7-1.7 2.3 3 9.8 11.5 20.9 10.7.4.7.6 1.5.8 2.3M26.5 46.8c-2.4.2-8.5 1.2-12.9 5-.9-.2-1.8-.5-2.6-.9 4.9-4.9 12.1-6.2 15.1-6.5.2.8.3 1.6.4 2.4M27.1 57.4c-.1.9-.1 1.8-.3 2.6-9.9 3.4-11.5 13.2-11.8 16.3-.8.1-1.6 0-2.4-.2.4-3.6 2.4-15.3 14.5-18.7",className:"st3"})),i||(i=v.createElement("path",{d:"M27.1 51.9c-.5-9.2-4.7-28.4-18.5-25.5-13.8 2.8-10.9 23.8 8.5 26.1-17.6 17.1-7.7 26.5.3 23.4s10.2-14.8 9.7-24",className:"st2"})),o||(o=v.createElement("path",{d:"m94.5 30.7-53.9.5C33.5 20 34.1 10.7 39.1 5.3c.7-.8 1.6-1.5 2.5-2.1C45 .8 49.7-.3 55 .1c.8.1 1.7.2 2.5.3 4.7.8 9.8 2.8 14.9 6.1.7.5 1.5 1 2.2 1.5 6.9 5 13.8 12.4 19.9 22.7",className:"st1"})),d||(d=v.createElement("path",{d:"M67.9 18.2 66.2 20c-.4-.4-9-8.5-11.2-19.9.8.1 1.7.2 2.5.3 2.3 10.2 10.3 17.7 10.4 17.8M49.9 25 48 26.6c-.4-.5-8.6-10.4-8.9-21.3.7-.8 1.6-1.5 2.5-2.1-.8 10.8 8.2 21.7 8.3 21.8M75.9 20l-2.3.6c-.1-.4-2.2-8.3-1.1-14.1.7.5 1.5 1 2.2 1.5-.6 5.2 1.2 11.9 1.2 12",className:"st3"})),m||(m=v.createElement("path",{d:"m40.6 31.2 53.9-.5c-28.7-48.6-74.9-32.6-53.9.5",className:"st2"})),p||(p=v.createElement("path",{d:"M114.6 50.6C101.7 69.1 88.5 78 75.5 79.7c-5 .6-10 .2-14.9-1.2-7.8-2.2-15.4-6.7-22.8-12.9-4.1-3.5-8.2-7.6-12.1-12.1-.7-.8-.8-2.1-.2-3C29.4 44.6 33.3 39.4 37 35c7-8 13.6-13.5 20.1-16.4s12.8-3.2 19-1c4.2 1.5 8.3 4.1 12.5 7.8.5.5 1 .9 1.5 1.4 4.3 3.9 8 7.2 11 10.1 10.4 9.7 13.5 13.7 13.5 13.7",className:"st3"})),h||(h=v.createElement("path",{d:"M75.5 79.7c-5 .6-10 .2-14.9-1.2-21-34.1-3.5-59.9-3.5-59.9 6.5-2.9 12.8-3.2 19-1-24.4 28.4-.6 62.1-.6 62.1",className:"st1"})),x||(x=v.createElement("path",{d:"M37.8 65.6c-4.1-3.5-8.2-7.6-12.1-12.1-.7-.8-.8-2.1-.2-3C29.4 44.6 33.3 39.4 37 35c-5.8 17 .6 30 .8 30.6M99.1 46.5c-5.4 9.9-17.5 11.3-21.8 2.5s2.4-21.1 12.1-22.2c.2 0 .5 0 .7-.1 4.3 3.9 8 7.2 11 10.1.4 3-.2 6.4-2 9.7M59.5 50.1c0 .7-.2 1.3-.7 1.8-8.8 7.4-14.4 4.4-15.5-1.1-.1-.6-.2-1.2-.2-1.9 0-.8.1-1.5.2-2.3.7-4.3 3.5-8.1 5.2-7.8 1.9.4 7.8 4.4 10 6 .5.4.9 1 .9 1.6v.8l.1 2.3z",className:"st4"})),f||(f=v.createElement("path",{d:"M59.5 49.7c-2.2.9-4.4 1.2-6.6 1.2-4.2 0-8-1.2-9.9-1.9 0-.8.1-1.5.2-2.3 2.2.9 9.9 3.6 16.1.7z",className:"st3"})),g||(g=v.createElement("path",{d:"m59.3 46.5.2 3.6c0 .7-.2 1.3-.7 1.8-8.8 7.4-14.4 4.4-15.5-1.1-1.2-5.6 2.9-12.4 5.2-11.9 1.9.4 7.8 4.5 10 6 .5.4.8 1 .8 1.6",className:"st2"})),u||(u=v.createElement("path",{d:"M90.7 42.9c-1 4-4.6 5.8-6.6 3.2s-.8-7.6 2.2-9c2.9-1.4 5.3 1.8 4.4 5.8"})))},50330:(e,t,a)=>{a.d(t,{A:()=>n});var l=a(36672);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},s.apply(null,arguments)}const n=({title:e,titleId:t,...a})=>l.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 32.18 25.72","aria-labelledby":t},a),e?l.createElement("title",{id:t},e):null,l.createElement("path",{d:"m13.93 8.7 13.93-1.03C19.34-6.77 8.99 2.47 13.93 8.7",style:{fill:"#8d7cf7",strokeWidth:0}}),l.createElement("path",{d:"M7.04 13.99 1.09 8.86A.659.659 0 0 0 0 9.39l.5 11.24c.02.52.61.81 1.04.51l5.14-3.61.36-3.53Z",style:{fill:"#5d4dc4",strokeWidth:0}}),l.createElement("path",{d:"M20.97 25.54c-2.61.39-5.15.13-7.34-.65-3.71-1.31-6.46-4.07-7.04-7.6-.81-5.01 3.09-9.86 8.96-11.57.69-.21 1.4-.36 2.14-.47 7.03-1.04 13.47 2.65 14.38 8.24.91 5.61-4.06 11-11.1 12.05",style:{fill:"#8d7cf7",strokeWidth:0}}),l.createElement("path",{d:"M20.97 25.54c-2.61.39-5.15.13-7.34-.65l1.92-19.17c.69-.21 1.4-.36 2.14-.47 7.03-1.04 13.47 2.65 14.38 8.24.91 5.61-4.06 11-11.1 12.05",style:{fill:"#b8aeff",strokeWidth:0}}),l.createElement("ellipse",{cx:24.88,cy:14.54,rx:2.6,ry:2.22,style:{strokeWidth:0},transform:"rotate(-62.11 24.88 14.541)"}))},55874:(e,t,a)=>{a.d(t,{F:()=>_});var l=a(36672),s=a(76240),n=a(92540),r=a(17659),c=a(23750),i=a(36342),o=a(57241),d=a(72569),m=a(39163),p=a(34593),h=a(16511),x=a(74429),f=a(68277),g=a(24139),u=a(44619),v=a(25772),b=a(14601),w=a(53691),j=a(5335),y=a(49603),M=a(23420);const E=[{title:"Build",links:[{label:"Docs",href:"/docs",icon:(0,M.jsx)(x.i,{size:20,weight:"fill"})},{label:"Tutorials",href:"/tutorials",icon:(0,M.jsx)(f.D,{size:20,weight:"fill"})},{label:"Chains",href:"/chains",icon:(0,M.jsx)(g.N,{size:20})},{label:"Projects",href:"/projects",icon:(0,M.jsx)(u.p,{size:20,weight:"fill"})}]},{title:"Community",links:[{label:"About",href:"/about",icon:(0,M.jsx)(v.R,{size:20,weight:"fill"})},{label:"News",href:"/news",icon:(0,M.jsx)(b.M,{size:20,weight:"fill"})}
1,{label:"Bounties",href:"/bounties",icon:(0,M.jsx)(w.W,{size:20,weight:"fill"})},{label:"Stories",href:"/stories",icon:(0,M.jsx)(j.G,{size:20,weight:"fill"})},{label:"YouTube",href:"https://www.youtube.com/@ink-lang",icon:(0,M.jsx)(y.b,{size:20,weight:"fill"})}]},{title:"ink!ubator",href:"/inkubator"}];var N=a(56674),k=a(80712);function _({className:e,cta:t="Documentation",ctaLink:a="",children:x,childrenRight:f}){const g=(0,k.F)(),[u,v]=(0,l.useState)(!1),b=a.includes("http")?a:(0,o.Ay)(`docs/${g?.label??"v5"}${a}`),w=(0,o.Ay)("/img/text-white.svg"),j=E.map(e=>({...e,links:e.links?.map(e=>({...e,href:e.href?.replace("/docs",`/docs/${g?.label??"v5"}`)}))})),y=[...E.filter(e=>"ink!ubator"!==e.title),{title:"Funding",links:[{label:"ink!ubator",href:"/inkubator",icon:(0,M.jsx)(r.T,{size:20,weight:"fill"})}]}];(0,l.useEffect)(()=>{document.body.style.overflow=u?"hidden":""},[u]);const _=(0,o.Ay)("/").slice(0,-1);return(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)(s.P.header,{className:(0,m.cn)("nav-top fixed w-full z-40",e),initial:{opacity:0,y:-50},animate:{opacity:1,y:0},transition:{duration:.4,ease:"easeInOut"},children:[(0,M.jsxs)("div",{className:"relative z-10 flex flex-col items-center justify-center gap-1 px-4 py-2 text-white text-sm",style:{backgroundColor:"#8b0000"},children:[(0,M.jsx)("p",{className:"m-0",children:"Since January 2026, we are unfortunately unable to actively maintain or develop ink! further."}),(0,M.jsxs)("p",{className:"m-0",children:["We have written down the details in a"," ",(0,M.jsx)("a",{href:"https://forum.polkadot.network/t/discontinuation-of-ink-rust-smart-contract-language/16849",className:"text-white underline",children:"Polkadot Forum post"}),"."]})]}),(0,M.jsx)("div",{className:"absolute inset-0 z-0 mask"}),(0,M.jsx)("div",{className:"mx-auto",children:(0,M.jsxs)("div",{className:"ml-6 mr-2 md:ml-8 md:mr-8 flex items-center h-[80px] justify-between md:justify-start",children:[(0,M.jsxs)("div",{className:"flex flex-row items-center",children:[(0,M.jsx)("div",{className:"flex items-center mr-4",children:(0,M.jsx)(i.A,{href:"/",className:"z-10 font-bold",children:(0,M.jsx)("img",{src:w,alt:"ink!",className:"w-20 h-20"})})}),(0,M.jsxs)(s.P.div,{className:"z-10 flex-row items-center gap-2",initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:1,ease:"easeInOut",delay:.2},children:[(0,M.jsx)("span",{className:"block text-xs",children:"Powered by"}),(0,M.jsx)(d.A,{className:"w-auto h-[20px]"})]})]}),(0,M.jsx)("nav",{className:"z-10 items-center flex-1 hidden navbar md:flex !bg-none !backdrop-filter-none",children:(0,M.jsx)("div",{className:"flex gap-6 mx-auto",children:j.map(e=>(0,M.jsx)(p.j,{item:e},e.title))})}),(0,M.jsx)("div",{className:"z-10 md:hidden",children:(0,M.jsx)(c.F,{toggled:u,toggle:v,color:"#BD82FD",size:22,distance:"lg",rounded:!0,label:"Open menu"})}),f||(0,M.jsx)("div",{className:"hidden md:block",children:(0,M.jsx)(i.A,{href:b,children:(0,M.jsx)(h.$,{variant:"base",className:"transition-all !duration-300 hover:scale-105 hover:rotate-1 will-change-transform",children:t})})})]})})]}),(0,M.jsx)(n.N,{children:u&&(0,M.jsx)(s.P.div,{initial:{y:"-100%"},animate:{y:0},exit:{y:"-100%"},transition:{duration:.25,ease:"easeInOut"},className:"fixed z-30 flex flex-col w-full h-screen bg-gradient-to-b from-black/90 to-[#151023]/90 lg:hidden backdrop-blur-md border-0 border-b-2 border-[rgb(189,130,253)] border-solid",children:(0,M.jsx)("nav",{className:"flex flex-col gap-4 mt-[60px] overflow-y-auto p-6",children:y.map(e=>(0,M.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,M.jsx)("span",{className:"font-semibold text-[#BD82FD] text-[14px] uppercase",children:e.title}),(0,M.jsx)("div",{className:"flex flex-col gap-2 text-center",children:e.links.map(e=>{let t=e.href;return t=e.href.includes("http")?e.href:_+e.href,(0,M.jsx)(N.c,{href:t,icon:e.icon,children:e.label},e.label)})})]},e.title))})})})]})}},93641:(e,t,a)=>{a.d(t,{A:()=>r});var l,s=a(36672);function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},n.apply(null,arguments)}const r=({title:e,titleId:t,...a})=>s.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 1240.52 300.63","aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,l||(l=s.createElement("defs",null,s.createElement("linearGradient",{id:"a",x1:620.28,x2:620.28,y1:25.32,y2:292.02,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{offset:0,stopColor:"#7d6ce6"}),s.createElement("stop",{offset:.1,stopColor:"#7d6ce6",stopOpacity:.95}),s.createElement("stop",{offset:.27,stopColor:"#7d6ce6",stopOpacity:.8}),s.createElement("stop",{offset:.51,stopColor:"#7d6ce6",stopOpacity:.57}),s.createElement("stop",{offset:.79,stopColor:"#7d6ce6",stopOpacity:.26}),s.createElement("stop",{offset:1,stopColor:"#7d6ce6",stopOpacity:0})))),s.createElement("path",{d:"M1120.91 15.39c-20.75-1.65-37.56-13.15-67.15-9.73S998.72 23.77 957.22 13s-72.51-17.77-107.7-6.8c-33.53 10.45-62.66 19.93-89.26 12.15-48.42-14.16-82.67-13.5-114.95-5.06S596.75 6.7 546.98 6.7s-67.25 15.93-114.8 15.93c-66.34 0-69.88-17.3-111.63-22.02-33.81-3.82-74.11 11.82-93.21 13.14S192.7 2.53 162.53 4.56c-31.86 2.13-36.36 13.93-66.95 13.52C67.21 17.67 45.02.28.3 13.78v286.85h1239.96V10.55c-66.71-10.06-98.6 6.48-119.35 4.84",style:{fill:"url(#a)",strokeWidth:0}}),s.createElement("path",{d:"M1051.55 19.12c12.49-2.59 20.79.12 15.1 4.07-5.7 3.95-21.31 7.18-28.1 5.82s.52-7.3 13.01-9.89ZM1085.46 27.68c-3.81-.87-5.6-3.99-3.22-5.62s7.14-.54 8.57 1.96-1.54 4.53-5.35 3.66M540.3 20.71c0 4.95 34.97 8.01 34.97 3.64s-34.97-8.59-34.97-3.64M271.18 24.68c-7.58 2.01-12.82-.41-9.58-3.48s12.72-5.58 17.06-4.51.1 5.99-7.49 7.99ZM249.47 27.71c-3.58.17-5.91-1.63-4.19-3.25s6.19-1.83 8.05-.39-.28 3.46-3.86 3.64",style:{fill:"#bdb3ff",strokeWidth:0}}),s.createElement("path",{d:"M.3 22.78c66.16-18.77 89.18 2.1 121.39 0 32.2-2.1 38.88-9.48 81.26-1.87s52.84-10.87 97.04-11.8 66.8 19 103.61 17.39 74.29-8.4 111.28-14.42 57.29 3.47 87.01 12.35 53.12-4.58 89.12-8.87 50.72 10.99 89.44 10.99S840.66 11.25 883 9.38c27.33-1.21 53.1 10.44 81.11 16.32 34.99 7.35 64.06-5.81 78.66-9.95s29.97-7.28 62.88 6.8c32.9 14.08 61.96-3.43 83.42-9.76s51.2.65 51.2.65",style:{fill:"none",stroke:"#5e4dc4",strokeMiterlimit:10,strokeWidth:"2.2px"}}))}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.