(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1266],{4307:function(n,e,t){"use strict";const i=t(85893),o=t(63018),s=t(7772),r=t(67294),{Search:c}=o.Input;function l(n,e,t){n=n.trim().toLowerCase();const o=[];for(const r of s.iconNames)r.includes(n)&&o.push((0,i.jsx)(a,{fontSize:e,name:r,onClick:t},r));return o}function a({name:n,onClick:e,fontSize:t="11pt"}){return(0,i.jsxs)("div",{style:{display:"inline-block",width:"100px",cursor:"pointer",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",textAlign:"center"},onClick:()=>e(n),children:[(0,i.jsx)("div",{style:{margin:"0 10px"},children:(0,i.jsx)(s.Icon,{name:n})}),(0,i.jsx)("div",{style:{fontSize:t},children:n})]})}e.Z=function({onSelect:n,onChange:e,defaultSearch:t,search:o,style:a,fontSize:u,disabled:d}){const[f,h]=(0,r.useState)(o??t??"");return(0,r.useEffect)((()=>{null!=o&&h(o)}),[o]),(0,i.jsxs)("div",{style:{fontSize:"24pt",...a},children:[(0,i.jsx)(c,{disabled:d,placeholder:"Search...",value:f,allowClear:!0,onChange:n=>{h(n.target.value),e?.(n.target.value)},style:{maxWidth:"400px"},onPressEnter:()=>{const t=f.trim().toLowerCase();for(const i of s.iconNames)if(i.includes(t))return h(i),e?.(i),void n?.(i)}}),(0,i.jsx)("div",{style:{marginTop:"10px",overflowY:"scroll",border:"1px solid lightgrey"},children:l(f,u,(e=>{h(e),n?.(e)}))})]})}},52367:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/features/icons",function(){return t(88098)}])},73306:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}});var i=t(85893),o=t(9008),s=t.n(o),r=t(54),c=t(48397),l=t(1864);function a(n){var e=n.title,t=(0,r.i)().siteName;return(0,i.jsxs)(s(),{children:[(0,i.jsxs)("title",{children:[t," ",t?"\u2013":""," ",e]}),(0,i.jsx)("meta",{name:"description",content:"CoCalc landing pages and documentation"}),(0,i.jsx)("link",{rel:"icon",href:(0,l.join)(null!==c.Z&&void 0!==c.Z?c.Z:"","/webapp/favicon-32x32.png")})]})}},88098:function(n,e,t){"use strict";t.r(e),t.d(e,{default:function(){return r}});var i=t(85893),o=t(4307),s=t(73306);function r(){return(0,i.jsxs)("div",{style:{margin:"60px"},children:[(0,i.jsx)(s.Z,{title:"CoCalc Icons"}),(0,i.jsx)("h1",{children:"CoCalc Icons"}),(0,i.jsx)(o.Z,{style:{fontSize:"36pt"}})]})}}},function(n){n.O(0,[4491,3018,9066,9774,2888,179],(function(){return e=52367,n(n.s=e);var e}));var e=n.O();_N_E=e}]);