PageSourceSearch

https://lootlang-gabe.vercel.app/_next/static/chunks/pages/faq-1fe1a390a562e91dc4ff.js

js lootlang-gabe.vercel.app collected 2026-10-03 07:15:34 UTC 16,125 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[746],{3929:function(e,t,n){"use strict";n.d(t,{zw:function(){return f}});var r=n(6939);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function s(e,t,n){return(s=c()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&i(o,n.prototype),o}).apply(null,arguments)}function l(e){var t="function"===typeof Map?new Map:void 0;return(l=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return s(e,arguments,a(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),i(r,e)})(e)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var d=function(e){function t(){var t;return(t=e.call(this)||this).name=t.constructor.name,t.message="The user rejected the request.",t}return o(t,e),t}(l(Error));function h(e){var t=e.supportedChainIds,n=e.rpc;return t||(n?Object.keys(n).map((function(e){return Number(e)})):void 0)}var f=function(e){function t(t){var n;return(n=e.call(this,{supportedChainIds:h(t)})||this).config=t,n.handleChainChanged=n.handleChainChanged.bind(u(n)),n.handleAccountsChanged=n.handleAccountsChanged.bind(u(n)),n.handleDisconnect=n.handleDisconnect.bind(u(n)),n}o(t,e);var r=t.prototype;return r.handleChainChanged=function(e){this.emitUpdate({chainId:e})},r.handleAccountsChanged=function(e){this.emitUpdate({account:e[0]})},r.handleDisconnect=function(){this.emitDeactivate()},r.activate=function(){try{var e=this,t=function(){return e.walletConnectProvider.on("chainChanged",e.handleChainChanged),e.walletConnectProvider.on("accountsChanged",e.handleAccountsChanged),e.walletConnectProvider.on("disconnect",e.handleDisconnect),Promise.resolve(e.walletConnectProvider.enable().then((function(e){return e[0]})).catch((function(e){if("User closed modal"===e.message)throw new d;throw e}))).then((function(t){return{provider:e.walletConnectProvider,account:t}}))},r=function(){if(!e.walletConnectProvider)return Promise.resolve(Promise.all([n.e(6),n.e(563)]).then(n.bind(n,3006)).then((function(e){var t;return null!=(t=null==e?void 0:e.default)?t:e}))).then((function(t){e.walletConnectProvider=new t(e.config)}))}();return Promise.resolve(r&&r.then?r.then(t):t())}catch(o){return Promise.reject(o)}},r.getProvider=function(){try{return Promise.resolve(this.walletConnectProvider)}catch(e){return Promise.reject(e)}},r.getChainId=function(){try{return Promise.resolve(this.walletConnectProvider.chainId)}catch(e){return Promise.reject(e)}},r.getAccount=function(){try{return Promise.resolve(this.walletConnectProvider.accounts).then((function(e){return e[0]}))}catch(e){return Promise.reject(e)}},r.deactivate=function(){this.walletConnectProvider&&(this.walletConnectProvider.removeListener("disconnect",this.handleDisconnect),this.walletConnectProvider.removeListener("chainChanged",this.handleChainChanged),this.walletConnectProvider.removeListener("accountsChanged",this.handleAccountsChanged),this.walletConnectProvider.disconnect())},r.close=function(){try{return this.emitDeactivate(),Promise.resolve()}catch(e){return Promise.reject(e)}},t}(r.Q)},4941:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(5893),o=n(7294),a=n(1664),i=n(1163),c=n(9008),s=n(7495),l=n(6717),u=n(4409),d=n.n(u),h=n(337);function f(e){var t=e.children,n=e.page;return(0,r.jsxs)("div",{children:[(0,r.jsx)(v,{}),(0,r.jsx)(y,{page:n}),(0,r.jsx)("div",{className:d().content,children:t})]})}var p="Lootlang",m="Lootlang is an entire language generated and stored on chain.",g="https://lootlang-gabe.vercel.app";function v(){return(0,r.jsxs)(c.default,{children:[(0,r.jsx)("title",{children:p}),(0,r.jsx)("meta",{name:"title",content:p}),(0,r.jsx)("meta",{name:"description",content:m}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{property:"og:url",content:g}),(0,r.jsx)("meta",{property:"og:title",content:p}),(0,r.jsx)("meta",{property:"og:description",content:m}),(0,r.jsx)("meta",{property:"og:image",content:"".concat(g,"/meta3.png")}),(0,r.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{property:"twitter:url",content:g}),(0,r.jsx)("meta",{property:"twitter:title",content:p}),(0,r.jsx)("meta",{property:"twitter:description",content:m}),(0,r.jsx)("meta",{property:"twitter:image",content:"".concat(g,"/meta3.png")}
1),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"true"}),(0,r.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;700&display=swap",rel:"stylesheet"})]})}function y(e){var t=(0,o.useState)(!1),n=t[0],c=t[1],u=(0,i.useRouter)().pathname,f=(0,s.K)(),p=f.activate,m=f.activateBrowserWallet,g=f.deactivate,v=f.account,y=(f.active,f.library),w=(f.chainId,f.error);(0,h.e)();(0,o.useEffect)((function(){w&&"The user rejected the request."===w.message&&window.location.reload()}),[w]);var _=v?"0x...".concat(v.substr(v.length-4)):null;return(0,r.jsxs)(r.Fragment,{children:[n&&(0,r.jsxs)("div",{className:d().connect,children:["Shall we connect with"," ",(0,r.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),m((function(e){alert('There was an error connecting with Metamask. Make sure you have Metamask installed and that you are logged in. There error message is "'.concat(e.message,'"')),console.log("error",e)})),c(!1)},children:"Metamask"})," ","or"," ",(0,r.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),p(l.L),c(!1)},children:"Wallet Connect"}),"?"]}),(0,r.jsxs)("div",{className:d().header,children:[(0,r.jsx)("div",{className:d().header__logo,children:(0,r.jsx)(a.default,{href:"/",children:(0,r.jsx)("a",{children:"Lootlang"})})}),(0,r.jsx)("div",{className:d().header__links,children:(0,r.jsxs)("ul",{children:[[{name:"FAQ",path:"/faq"},{name:"Community",path:"/community"}].map((function(e,t){var n=e.name,o=e.path;return(0,r.jsx)("li",{children:(0,r.jsx)(a.default,{href:o,children:(0,r.jsx)("a",{className:u===o?d().header__links_active:void 0,children:n})})},t)})),(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),v?(g(),y&&y.connection&&"metamask"!==y.connection.url&&(window.localStorage.removeItem("walletconnect"),window.location.reload())):c(!0)},children:v?_:"+Wallet"})})]})}),!1]})]})}},2167:function(e,t,n){"use strict";var r=n(3848);t.default=void 0;var o,a=(o=n(7294))&&o.__esModule?o:{default:o},i=n(1063),c=n(4651),s=n(7426);var l={};function u(e,t,n,r){if(e&&i.isLocalURL(t)){e.prefetch(t,n,r).catch((function(e){0}));var o=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;l[t+"%"+n+(o?"%"+o:"")]=!0}}var d=function(e){var t,n=!1!==e.prefetch,o=c.useRouter(),d=a.default.useMemo((function(){var t=i.resolveHref(o,e.href,!0),n=r(t,2),a=n[0],c=n[1];return{href:a,as:e.as?i.resolveHref(o,e.as):c||a}}),[o,e.href,e.as]),h=d.href,f=d.as,p=e.children,m=e.replace,g=e.shallow,v=e.scroll,y=e.locale;"string"===typeof p&&(p=a.default.createElement("a",null,p));var w=(t=a.default.Children.only(p))&&"object"===typeof t&&t.ref,_=s.useIntersection({rootMargin:"200px"}),j=r(_,2),b=j[0],x=j[1],k=a.default.useCallback((function(e){b(e),w&&("function"===typeof w?w(e):"object"===typeof w&&(w.current=e))}),[w,b]);a.default.useEffect((function(){var e=x&&n&&i.isLocalURL(h),t="undefined"!==typeof y?y:o&&o.locale,r=l[h+"%"+f+(t?"%"+t:"")];e&&!r&&u(o,h,f,{locale:t})}),[f,h,x,y,n,o]);var L={ref:k,onClick:function(e){t.props&&"function"===typeof t.props.onClick&&t.props.onClick(e),e.defaultPrevented||function(e,t,n,r,o,a,c,s){("A"!==e.currentTarget.nodeName||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&i.isLocalURL(n))&&(e.preventDefault(),null==c&&r.indexOf("#")>=0&&(c=!1),t[o?"replace":"push"](n,r,{shallow:a,locale:s,scroll:c}))}(e,o,h,f,m,g,v,y)},onMouseEnter:function(e){i.isLocalURL(h)&&(t.props&&"function"===typeof t.props.onMouseEnter&&t.props.onMouseEnter(e),u(o,h,f,{priority:!0}))}};if(e.passHref||"a"===t.type&&!("href"in t.props)){var C="undefined"!==typeof y?y:o&&o.locale,P=o&&o.isLocaleDomain&&i.getDomainLocale(f,C,o&&o.locales,o&&o.domainLocales);L.href=P||i.addBasePath(i.addLocale(f,C,o&&o.defaultLocale))}return a.default.cloneElement(t,L)};t.default=d},7426:function(e,t,n){"use strict";var r=n(3848);Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootMargin,n=e.disabled||!i,s=o.useRef(),l=o.useState(!1),u=r(l,2),d=u[0],h=u[1],f=o.useCallback((function(e){s.current&&(s.current(),s.current=void 0),n||d||e&&e.tagName&&(s.current=function(e,t,n){var r=function(e){var t=e.rootMargin||"",n=c.get(t);if(n)return n;var r=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var t=r.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return c.set(t,n={id:t,observer:o,elements:r}),n}(n),o=r.id,a=r.observer,i=r.elements;return i.set(e,t),a.observe(e),function(){i.delete(e),a.unobserve(e),0===i.size&&(a.disconnect(),c.delete(o))}}(e,(function(e){return e&&h(e)}),{rootMargin:t}))}),[n,t,d]);
1return o.useEffect((function(){if(!i&&!d){var e=a.requestIdleCallback((function(){return h(!0)}));return function(){return a.cancelIdleCallback(e)}}}),[d]),[f,d]};var o=n(7294),a=n(3447),i="undefined"!==typeof IntersectionObserver;var c=new Map},830:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(5893),o=n(1664),a=n(4941),i=n(2790),c=n.n(i);function s(){return(0,r.jsx)(a.Z,{children:(0,r.jsxs)("div",{className:c().faq,children:[(0,r.jsx)("h2",{children:"Frequently Asked Questions"}),(0,r.jsxs)("div",{className:c().faq__item,children:[(0,r.jsx)("h3",{children:"What is Lootlang"}),(0,r.jsxs)("p",{children:["Lootlang is a collection of 1,348 unique word packs, each containing 8 words that will be dynamically generated at the time of mint. Creating appealing words is a bit harder than randomely shuffling letters. Lootlang uses the first know on-chain"," ",(0,r.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://en.wikipedia.org/wiki/N-gram",children:"n-gram"})," ","algorithm to generate words by predicting the next letter in a sequence.",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),"The probability model that powers our algorithm was trained on a large body of English literature. To take it a weeflavin bit further, we're throwing a multi-day event in our"," ",(0,r.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://discord.com/invite/Tcvu7h3Xte",children:"Discord"}
1)," ","where members can invent new words and continue to shape the algorithm before our contract goes live."," ",(0,r.jsx)("i",{children:"Lootlang is quite literally being crafted by the community as we speak."})]})]}),(0,r.jsxs)("div",{className:c().faq__item,children:[(0,r.jsx)("h3",{children:"Why is Lootlang special?"}),(0,r.jsxs)("p",{children:["Lootlang is all about the community. Instead of dictating a set roadmap, we're opening this up to the infinite imagination of Lootlang holders. Ideas include a community governed Lootlang dictionary, artist collabs, rarity explorers, word games, and"," ",(0,r.jsx)(o.default,{href:"/community",children:(0,r.jsx)("a",{children:"more"})}),". No idea is too big, too small, or too shlamloppy. Of course, we'll be around to hack on ideas with you and drive visibility to interesting projects."]})]}),(0,r.jsxs)("div",{className:c().faq__item,children:[(0,r.jsx)("h3",{children:"Is this related to Loot?"}),(0,r.jsxs)("p",{children:["Lootlang was heavily inspired by the"," ",(0,r.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://www.lootproject.com/",children:"Loot Project"}),", both in its visual simplicity (obviously) and technically (we also dynamically generate all words, metadata, and images on-chain). We would be thrilled to see Lootlang make its way across the Loot ecosystem, but we leave that up to the community."]})]}),(0,r.jsxs)("div",{className:c().faq__item,children:[(0,r.jsx)("h3",{children:"How does rarity work?"}),(0,r.jsxs)("p",{children:["Lootlang rarity is primarily about word length and word quality. Word length is specified on-chain and displayed within OpenSea. 1 letter words and 16 letter words (the longest) are extremely rare. Word quality is entirely subjective and will be dictated by the Lootlang community.",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),'There are other potential traits to explore, including letter siblings (like "zz"), word combinations within a pack, and word popularity within Loot derivatives. We leave it open to the community to come up with new and interesting ways to value Lootlang.']})]}),(0,r.jsxs)("div",{className:c().faq__item,children:[(0,r.jsx)("h3",{children:"What are shuffles?"}),(0,r.jsxs)("p",{children:["Every Lootlang NFT comes with 5 shuffles. A shuffle enables you to replace 1 or more words on your NFT with newly generated words. You might decide to keep shuffling until you get a rare (short or long) word. You might go for a pack of words that sound appealing. This is your decision to make.",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),"Beware: Legend has it that on Ethereum block"," ",(0,r.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://etherscan.io/block/countdown/13487654",children:"13487654"})," ","all remaining shuffles are destroyed and Lootlang will remain forever unchangable.",(0,r.jsx)("br",{})," ",(0,r.jsx)("br",{}),"To shuffle your Lootlang NFT"," ",(0,r.jsx)(o.default,{href:"/view",children:(0,r.jsx)("a",{children:"click here"})})," ",'and then enter your token ID (or "Pack ID"). You can also do this directly from the contract on Etherscan by following this'," ",(0,r.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://lootlang.notion.site/lootlang/Shuffling-your-Lootlang-NFT-9e81ace5cb9444dc9bcc17e0c6aa05db",children:"guide"}),"."]})]}),(0,r.jsxs)("div",{className:c().faq__item,children:[(0,r.jsx)("h3",{children:"I have more questions"}),(0,r.jsxs)("p",{children:["Don't be shy you lagglemad! Trundlehop over to our"," ",(0,r.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:"https://discord.gg/fqqxjyTVCc",children:"Discord"})," ","and ask away."]})]})]})})}},6717:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r="https://mainnet.infura.io/v3/84842078b09946638c03157f83405213",o="https://rinkeby.infura.io/v3/84842078b09946638c03157f83405213",a=new(n(3929).zw)({rpc:{1:r,4:o},qrcode:!0,pollingInterval:12e3})},5770:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/faq",function(){return n(830)}])},4409:function(e){e.exports={content:"Layout_content__VOyDc",banner:"Layout_banner__16nk-",connect:"Layout_connect__2rkGL",header:"Layout_header__2iLWX",header__logo:"Layout_header__logo__2Zu-m",header__links:"Layout_header__links__2tkmn",header__links_active:"Layout_header__links_active__2DGAB",footer
1:"Layout_footer__2GYdL"}},2790:function(e){e.exports={faq:"FAQ_faq__Rl9-M",faq__item:"FAQ_faq__item__1YopL"}},9008:function(e,t,n){e.exports=n(639)},1664:function(e,t,n){e.exports=n(2167)},1163:function(e,t,n){e.exports=n(4651)}},function(e){e.O(0,[774,888,179],(function(){return t=5770,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.