PageSourceSearch

https://whitepaper.io/_next/static/chunks/pages/coin/[id]/pdf-e017450476aa6e48f6de.js

js whitepaper.io collected 2026-10-02 06:04:04 UTC 6,775 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[456],{640:function(e,t,n){"use strict";var a=n(1742),c={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,r,s,i,l,d=!1;t||(t={}),n=t.debug||!1;try{if(r=a(),s=document.createRange(),i=document.getSelection(),(l=document.createElement("span")).textContent=e,l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(a){if(a.stopPropagation(),t.format)if(a.preventDefault(),"undefined"===typeof a.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=c[t.format]||c.default;window.clipboardData.setData(o,e)}else a.clipboardData.clearData(),a.clipboardData.setData(t.format,e);t.onCopy&&(a.preventDefault(),t.onCopy(a.clipboardData))})),document.body.appendChild(l),s.selectNodeContents(l),i.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");d=!0}catch(p){n&&console.error("unable to copy using execCommand: ",p),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),d=!0}catch(p){n&&console.error("unable to copy using clipboardData: ",p),n&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{i&&("function"==typeof i.removeRange?i.removeRange(s):i.removeAllRanges()),l&&document.body.removeChild(l),r()}return d}},7667:function(e,t,n){"use strict";n.r(t);var a=n(5893),c=n(7294),o=n(6024),r=n(1436),s=n(7814),i=n(640),l=n.n(i),d=n(1163),p=n(6822),u=n(384);t.default=function(){var e=(0,d.useRouter)(),t=(0,c.useState)({}),n=t[0],i=t[1],f=(0,c.useState)({}),x=f[0],m=f[1],h=e.query.id,g=String(e.query.doc)||"0";return(0,c.useEffect)((function(){h&&fetch("".concat("https://api-new.whitepaper.io","/coins?slug=").concat(h)).then((function(e){return e.json()})).then((function(e){i(e)}))}),[e]),(0,c.useEffect)((function(){n._id&&g&&!x.key&&!n.whitepaper&&fetch("".concat("https://api-new.whitepaper.io","/documents?id=").concat(n._id)).then((function(e){return e.json()})).then((function(e){e[g]&&m(e[g])}))}),[n]),(0,a.jsx)(p.Z,{children:(n.whitepaper||x.key)&&(0,a.jsxs)("div",{className:"flex w-full h-full",id:"pdf-view",children:[(0,a.jsxs)("div",{className:"side-panel flex flex-col hidden md:flex",children:[(0,a.jsxs)("div",{className:"flex gap-3 py-2 px-5 bg-white items-center",children:[(0,a.jsx)("div",{className:"text-[12px] font-normal",children:"Whitepaper"}),(0,a.jsx)("div",{className:"text-[10px] font-normal",children:(0,a.jsx)(s.G,{icon:r._tD})}),(0,a.jsx)("div",{className:"text-[12px] font-normal",children:n.name})]}),(0,a.jsxs)("div",{className:"text-[26px] font-bold pt-6",children:[n.name,"Whitepaper"]}),(0,a.jsx)("div",{className:"text-[16px] font-normal text-[#2F3135] pt-2",children:n.description}),(0,a.jsxs)("div",{className:"flex items-center gap-2 text-[13px] font-bold text-[#2F3135] pt-8 cursor-pointer",onClick:function(){l()(n.whitepaper?"".concat("https://api-new.whitepaper.io","/documents/pdf?slug=").concat(n.slug):"".concat("https://api-new.whitepaper.io","/documents/pdf?id=").concat(x.key))},children:[(0,a.jsx)(s.G,{icon:o.kZ}),"Copy Link"]}),n.price&&(0,a.jsxs)("div",{className:"mt-10 rounded-[10px] bg-lg-green border-[1px] border-[#EEEEF0] p-4 flex justify-center items-center flex-col",children:[(0,a.jsxs)("div",{className:"flex justify-center bg-[#F1F4FD] items-center w-full rounded-[4px] h-[67px]",children:[(0,a.jsx)("p",{className:"pr-[12px] font-bold",children:"".concat(n.price?"$".concat((0,u.u)(n.price)):"")}),n.percent_change_24h&&(n.percent_change_24h>0?(0,a.jsxs)("div",{className:"flex justify-center items-center",children:[(0,a.jsx)("div",{className:"mx-2 text-green-700 h-full flex justify-center items-center text-[25px] mt-[15px]",children:(0,a.jsx)(s.G,{icon:r.foy})}),(0,a.jsxs)("div",{className:"text-green-700",children:[Number(n.percent_change_24h).toFixed(2)," ","%"]})]}):(0,a.jsxs)("div",{className:"flex justify-center items-center",children:[(0,a.jsx)("div",{className:"mx-2 text-red-600 h-full flex justify-center items-center text-[25px] mb-[10px]",children:(0,a.jsx)(s.G,{icon:r.u9C})}),(0,a.jsxs)("div",{className:"text-red-600",children:[Number(-1*n.percent_change_24h).toFixed(2)," ","%"]})]}))]}),(0,a.jsx)("button",{className:"bg-[#3F64F2] py-[13px] rounded-[50px] text-[#fff] w-full mt-3",children:"Trade ".concat(n.name)})]}),(0,a.jsxs)("div",{className:"flex flex-col w-full p-4 mb-10 border border-gray-200  bg-lg-green md:border-transparent mt-4 rounded-[10px]",children:[(0,a.jsxs)("div",{className:"flex gap-[6px] justify-center align-center",children:[(0,a.jsx)("img",{src:n.logo?"typeform_upload"===n.logo.type?n.logo.value:"https://res.cloudinary.com/dp2uu228v/image/upload/w_100,h_100,c_fill,dpr_2.0,f_auto/".concat(n.logo.value):"",className:"w-[30px] rounded-[30px] m-2",alt:""}),(0,a.jsx)("div",{className:"text-[16px] font-bold flex-1 flex items-center",children:n.name})]}),(0,a.jsx)("a",{className:"bg-[#F8FAFD] p-3 rounded-[12px] text-[#3F64F2] w-full mt-[6px] text-[15px] font-bold cursor-pointer",href:"/coin/".concat(n.slug),children:"Return"})]})]}),(0,a.jsx)("div",{className:"flex flex-col flex-1",children:(0,a.jsx)("object",{data:n.whitepaper?"".concat("https://api-new.whitepaper.io","/documents/pdf?slug=").concat(n.slug):"".concat("https://api-new.whitepaper.io","/documents/pdf?id=").concat(x.key),width:"100%",height:"100%","aria-label":"".concat(n.name," Whitepaper")})})]})})}},384:function(e,t,n){"use strict";n.d(t,{u:function(){return a}});var a=function(e){if(e>=10)return e.toFixed(2);if(e>=1)return e.toFixed(3);var t=-Math.floor(Math.log(e)/Math.log(10)+1);return e.toFixed(t+3)}},7959:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/coin/[id]/pdf",function(){return n(7667)}])},1742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],a=0;a<e.rangeCount;a++)n.push(e.getRangeAt(a));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEac
1h((function(t){e.addRange(t)})),t&&t.focus()}}}},function(e){e.O(0,[774,523,597,743,947,494,822],(function(){return t=7959,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.