PageSourceSearch

https://hyper.is/_next/static/chunks/pages/store/[name]/source-09cc04bbf4f8d432.js

js hyper.is collected 2026-10-02 02:24:14 UTC 5,669 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[513],{6369:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/store/[name]/source",function(){return t(8882)}])},5262:function(e,n,t){"use strict";t.d(n,{Z:function(){return x}});var o=t(1527),a=t(959),s=t(3147),l=t(1348),c=t.n(l),i=t(5024),r=t.n(i),d=e=>{let{pluginName:n,open:t,onClose:l}=e,[i,d]=(0,a.useState)(!1);if((0,a.useEffect)(()=>(t?document.body.style.overflow="hidden":document.body.style.overflow="auto",()=>{document.body.style.overflow="auto"}),[t]),!t)return null;let _=()=>{let e=(0,s.m)("hyper i ".concat(n));e&&(d(!0),setTimeout(()=>d(!1),1500))};return(0,o.jsxs)("div",{className:c().root,children:[(0,o.jsx)("div",{className:c().backdrop,onClick:l}),(0,o.jsxs)("div",{className:c().content,children:[(0,o.jsxs)("h2",{children:["Install ",n]}),(0,o.jsx)("p",{children:"Run the following command in Hyper:"}),(0,o.jsxs)("pre",{children:["hyper i ",n]}),(0,o.jsxs)("span",{className:c().buttons,children:[(0,o.jsx)(r(),{href:"/store/security-notice",className:c().security,children:"Security Notice"}),(0,o.jsx)("button",{onClick:_,disabled:i,children:i?"Copied":"Copy"})]})]})]})},_=t(4653),u=t.n(_),p=t(1738),m=t(3547),h=t(2901),f=t.n(h),x=e=>{let{npmData:n,variant:t}=e,[s,l]=(0,a.useState)(!1),c=()=>{(0,p.B)({action:"Opened install modal",category:"plugin",label:"open_install_modal",value:n.collected.metadata.name}),l(!0)};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(d,{pluginName:n.collected.metadata.name,open:s,onClose:()=>l(!1)}),(0,o.jsxs)("div",{className:u().root,children:[(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"".concat(u().author," ").concat(u().borderFollowed),children:[(0,o.jsx)(f(),{className:u().avatar,email:n.collected.metadata.publisher.email}),(0,o.jsx)("span",{children:n.collected.metadata.publisher.username})]}),(0,o.jsx)("span",{className:"".concat(u().downloads," ").concat(u().borderFollowed),children:n.collected.npm.downloads[2].count>0?(0,o.jsxs)(o.Fragment,{children:[n.collected.npm.downloads[2].count.toLocaleString()," ","downloads in the last month"]}):(0,o.jsx)(o.Fragment,{children:"Brand new!"})}),(0,o.jsx)("a",{href:n.collected.metadata.links.repository,target:"_blank",rel:"noopener noreferrer",className:u().github,children:(0,o.jsx)(m.Tf,{size:14})})]}),"description"===t?(0,o.jsx)(r(),{href:"/store/[name]/source",as:"/store/".concat(n.collected.metadata.name,"/source"),className:u().link,children:"view source code"}):(0,o.jsx)(r(),{href:"/store/[name]",as:"/store/".concat(n.collected.metadata.name),className:u().link,children:"view description"}),(0,o.jsxs)("span",{className:u().version,children:["Version ",n.collected.metadata.version]}),(0,o.jsx)("a",{className:"".concat(u().install," ").concat(u().loaded),onClick:c,children:"Install"})]})]})}},8882:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return u},default:function(){return p}});var o=t(1527),a=t(959),s=t(1138),l=t(4204),c=t(5262),i=t(3547),r=t(9794),d=t.n(r);let _=e=>e.replace(/^\/+|\/+$/g,"");var u=!0;function p(e){let{plugin:n,npmData:t,pluginMeta:r,cache:u}=e,p=(0,s.useRouter)(),[m,h]=(0,a.useState)(null);(0,a.useEffect)(()=>{let e=p.asPath.split("?")[1];h(e?"/".concat(e):r.files.find(e=>"file"===e.type).path)},[p]);let f=e=>p.push("/store/[name]/source","/store/".concat(n.name,"/source?").concat(_(e))),x=e=>(0,o.jsx)("div",{className:d().files,children:e.map((e,n)=>(0,o.jsxs)("div",{children:["file"===e.type&&(0,o.jsxs)("a",{className:"".concat(d().file," ").concat(e.path===m?d().active:""),onClick:()=>f(e.path),children:[(0,o.jsx)(i.$B,{width:11,height:15,className:d().icon}),e.path.replace(/^\/+|\/+$/g,"").split("/").pop()]}),"directory"===e.type&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("label",{className:d().file,htmlFor:"reveal-".concat(e.path),children:[(0,o.jsx)(i.tP,{size:12,className:d().icon}),e.path.replace(/^\/+|\/+$/g,"").split("/").pop()]},n),(0,o.jsx)("input",{className:d().directoryToggle,type:"checkbox",role:"button",id:"reveal-".concat(e.path)}),(0,o.jsx)("div",{className:d().directoryList,children:x(e.files)})]})]},n))});return(0,o.jsxs)(l.Z,{title:"Hyper™ Store - Source of ".concat(n.name),description:n.description,image:n.preview,children:[(0,o.jsx)("h1",{className:d().name,children:n.name}),(0,o.jsx)("div",{className:d().container,children:(0,o.jsxs)(o.Fragment,{children:[x(r.files),(0,o.jsx)("div",{className:d().content,children:(0,o.jsx)("pre",{children:u[m]})})]})}),(0,o.jsx)(c.Z,{variant:"source",npmData:t})]})}},1348:function(e){e.exports={root:"install-modal_root__GWDUF",backdrop:"install-modal_backdrop__pwyhW",content:"install-modal_content__XxLEM",buttons:"install-modal_buttons__KDuH5"}},4653:function(e){e.exports={root:"plugin-info_root__Z7KXs",install:"plugin-info_install__o2YEn",loaded:"plugin-info_loaded__zUHYy",link:"plugin-info_link__nUMWD",version:"plugin-info_ver
1sion__klEtA",author:"plugin-info_author__Q_JbW",avatar:"plugin-info_avatar__5OrjH",borderFollowed:"plugin-info_borderFollowed__JfaR2",github:"plugin-info_github__HD7AC",downloads:"plugin-info_downloads__WWXth"}},9794:function(e){e.exports={name:"source_name__yndf_ store_name__j7smg",container:"source_container__wy31J container",content:"source_content__I8fWw",pluginLoading:"source_pluginLoading__zqRIO",fileLoading:"source_fileLoading__GsZNZ",files:"source_files__R6_GR",file:"source_file__55YXN",active:"source_active__pBM9Z",icon:"source_icon__oFepl",directoryList:"source_directoryList__ZX7VK",directoryToggle:"source_directoryToggle__TeDtt",appear:"source_appear__G_czl"}}},function(e){e.O(0,[191,965,204,774,888,179],function(){return e(e.s=6369)}),_N_E=e.O()}]);

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.