PageSourceSearch

https://mapilio.com/_next/static/chunks/4901.5429cb055452916e.js

js mapilio.com collected 2026-09-25 20:41:05 UTC 3,609 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4901],{84901:function(e,t,n){n.r(t);var a=n(85893),l=n(22841),i=n(8519),r=n(30120),s=n(55343),o=n(41470),c=n(93481),u=n(67294),d=n(25617),p=n(82487),h=(0,u.lazy)((function(){return Promise.resolve().then(n.bind(n,51803))})),x=(0,u.lazy)((function(){return Promise.resolve().then(n.bind(n,20522))})),f=(0,u.lazy)((function(){return n.e(3407).then(n.bind(n,3407))})),m=(0,u.lazy)((function(){return n.e(6852).then(n.bind(n,26852))}));t.default=function(e){var t=e.setModal,n=e.sliderIndex,b=e.setIndex,j=e.sliderArray,g=e.subtitleGenerator,k=(0,p.Z)(),S=(0,d.I0)(),v=(0,u.useState)(""),y=v[0],Z=v[1],z=(0,u.useState)(""),P=z[0],C=z[1],E=(0,u.useState)("listed"),w=E[0],D=E[1],L=(0,u.useState)("publish"),N=L[0],O=L[1],A=(0,u.useState)(!0),I=A[0],M=A[1],_=(0,d.v9)((function(e){return e.createProjectReducer.modalStates}));(0,u.useEffect)((function(){"unlisted"===w?M(!1):"listed"===w&&(P.trim().length>=280&&y.trim().length>=6?M(!1):M(!0))}),[w,P,C,y]);(0,u.useEffect)((function(){if(void 0!==_.marketplaceName&&void 0!==_.marketplaceBio){var e=_.marketplaceStatus?"listed":"unlisted";Z(_.marketplaceName),C(_.marketplaceBio),D(e)}}),[_]);var F=function(e,t){return(0,a.jsx)(l.Z,{value:t,control:(0,a.jsx)(i.Z,{sx:{color:"".concat(k.palette.primary.main," !important")}}),sx:{mr:3},label:e})};return(0,a.jsx)(u.Suspense,{fallback:(0,a.jsx)(a.Fragment,{}),children:(0,a.jsxs)(x,{title:"Create a project",color:k.palette.text.default,children:[(0,a.jsxs)(r.Z,{mb:3,children:[g("Marketplace"),(0,a.jsx)(s.Z,{component:"fieldset",children:(0,a.jsxs)(o.Z,{"aria-label":"List Options",name:"List Options",value:w,onChange:function(e){D(e.target.value)},sx:{flexDirection:"row",fontSize:14,color:k.palette.text.default},children:[F("List On Marketplace","listed"),F("Unlisted Project","unlisted")]})})]}),(0,a.jsxs)(c.Z,{unmountOnExit:!0,in:"listed"===w,children:[(0,a.jsx)(u.Suspense,{fallback:(0,a.jsx)(a.Fragment,{}),children:(0,a.jsx)(m,{title:"Marketplace Name",subtitleGenerator:g,placeholder:"Public name of your project",setInputValue:Z,inputValue:y})}),g("Project Description"),(0,a.jsx)(r.Z,{component:"textarea",width:"100%",height:"80px",value:P,onChange:function(e){return C(e.target.value)},padding:1,placeholder:"Let people know that you need help with this project to get their potential contributors interested.",sx:{resize:"none",outline:"none",borderRadius:1,fontFamily:"inherit",fontSize:"14px",fontWeight:300,alignSelf:"flex-end",color:k.palette.text.default,border:"1px solid ".concat(k.palette.mapColors.light)}}),(0,a.jsxs)(r.Z,{component:"p",fontSize:"10px",mb:6,mt:0,textAlign:"right",children:["Description must be greater than ",(0,a.jsx)("b",{children:"280 characters"}),", you have ",(0,a.jsxs)("b",{children:[P.length," characters"]})]})]}),(0,a.jsxs)(r.Z,{mb:3,children:[g("Publish"),(0,a.jsx)(s.Z,{component:"fieldset",children:(0,a.jsxs)(o.Z,{"aria-label":"List Options",name:"List Options",value:N,onChange:function(e){O(e.target.value)},sx:{flexDirection:"row",fontSize:14,color:k.palette.text.default},children:[F("Publish Datas","publish"),F("No Publish Datas","non-publish")]})})]}),(0,a.jsx)(u.Suspense,{fallback:(0,a.jsx)(a.Fragment,{}),children:(0,a.jsx)(h,{setModal:t})}),(0,a.jsx)(u.Suspense,{fallback:(0,a.jsx)(a.Fragment,{}),children:(0,a.jsx)(f,{sliderIndex:n,setIndex:b,sliderArray:j,closeHandler:t,disabled:I,updateState:function(){var e="listed"===w,t="publish"===N;_.marketplaceStatus=e,_.marketplaceName=y,_.marketplaceBio=P,_.published=t,S({type:"CREATE_MODAL_STATES",payload:_})}})})]})})}}}]);

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.