1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2581],{74175:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/releases",function(){return n(85670)}])},38305:function(e,t,n){"use strict";var a=n(85893);n(67294);var i=n(71913),o=n.n(i),r=n(9473);t.Z=e=>{let{children:t,column:n,responsive:i,customStyles:l,activeTab:s,columnWidths:c=[],customStylesContainer:_}=e,{viewAs:d}=(0,r.v9)(e=>e.site),p=c.length>=n?{gridTemplateColumns:c.join(" ")}:{};return(0,a.jsx)("section",{className:" ".concat(o().container," ").concat(_||""," ").concat("home"==s&&o()["no-gap"]," ").concat("print"===d&&o().print," "),children:(0,a.jsx)("div",{"data-column":n,className:"site-container ".concat(o()["grid-container"]," ").concat(o().minheight100vh," ").concat(i?"responsive":""," ").concat(l||""),style:p,children:t})})}},85670:function(e,t,n){"use strict";n.r(t);var a=n(85893),i=n(67294),o=n(90442),r=n.n(o),l=n(9008),s=n.n(l),c=n(21504),_=n.n(c),d=n(9473),p=n(80192),g=n(5152),x=n.n(g),h=n(3805),m=n(38305),u=n(86936);let f=x()(()=>Promise.all([n.e(9859),n.e(7199),n.e(1167),n.e(855)]).then(n.bind(n,90855)),{loadableGenerated:{webpack:()=>[90855]},ssr:!1,loading:()=>(0,a.jsx)("h1",{children:"Loading..."})});t.default=e=>{let{}=e,[t,n]=(0,i.useState)(!1),[o,l]=(0,i.useState)(""),[c,g]=(0,i.useState)(""),{user:x}=(0,d.v9)(e=>e.user),[b,y]=(0,i.useState)(""),w=(0,i.useRef)(null),[E,P]=(0,i.useState)(!1),[j,v]=(0,i.useState)({type:"success",display:!1,message:""}),N=(e,t)=>{let{value:n}=e.target;console.warn("valiee",n),g(n)},B=async e=>{P(!0);try{let e=await (0,h.NM)("releases",{content:o,title:c});200===e.res.status&&(v({display:!0,type:"success",message:"Page updated successfully"}),n(!1))}catch(e){v({display:!0,type:"warning",message:"Unable to update data"}),console.log("error",e)}finally{P(!1)}},q=async()=>{try{await (0,h.NM)("releases",{title:c})}catch(e){console.log("error",e)}},T=(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[(0,a.jsx)("g",{clipPath:"url(#clip0_13842_168963)",children:(0,a.jsx)("path",{d:"M2 11.5002V14.0002H4.5L11.8733 6.62687L9.37333 4.12687L2 11.5002ZM13.8067 4.69354C14.0667 4.43354 14.0667 4.01354 13.8067 3.75354L12.2467 2.19354C11.9867 1.93354 11.5667 1.93354 11.3067 2.19354L10.0867 3.41354L12.5867 5.91354L13.8067 4.69354Z",fill:"#8064A2"})}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_13842_168963",children:(0,a.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]});return(0,i.useEffect)(()=>{(async()=>{let e=await (0,h.H1)("releases"),t=e.res.data[0]?e.res.data[0].content:"",n=e.res.data[0]?e.res.data[0].title:"",a=e.res.data[0]?e.res.data[0]._id:"";l(t),g(n),y(a)})(),(null==x?void 0:x.is_admin)&&n(!0)},[x]),(0,i.useEffect)(()=>{w.current&&(w.current.style.height="auto",w.current.style.height="".concat(w.current.scrollHeight,"px"))},[c]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(s(),{children:[(0,a.jsx)("title",{children:"HobbyCue - Releases"}),(0,a.jsx)("meta",{name:"description",content:"hobbycue â explore your hobby or passion Sign-in to interact with a community of fellow hobbyists and an eco-system of experts, teachers, suppliers, classes, workshops, and places to practice, participate or perform. Your hobby may be about visual or performing arts, sports, games, gardening, model making, cooking, indoor or outdoor activities⦠If you are an expert [â¦]"}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,a.jsx)("meta",{property:"og:image",content:"/hobbycuecom.png"}),(0,a.jsx)("meta",{property:"og:image:width",content:"478"}),(0,a.jsx)("meta",{property:"og:image:height",content:"477"}),(0,a.jsx)("meta",{property:"og:image:type",content:"image/png"})]}),(0,a.jsxs)(m.Z,{column:2,children:[(0,a.jsx)("aside",{className:"".concat(_()["left-aside"]," custom-scrollbar"),children:(0,a.jsx)("section",{className:"content-box-wrapper ".concat(_()["hobbies-side-wrapper"]),children:(0,a.jsx)("header",{className:_().header,children:(0,a.jsx)("div",{className:_().heading,children:t?(0,a.jsx)("textarea",{className:r().title+" "+r().editInput,placeholder:"Title",value:c||"",name:"title",onCh
1ange:e=>N(e,"title"),onBlur:()=>q(),ref:w,onKeyDown:e=>{var t;return"Enter"===e.key&&(null===(t=w.current)||void 0===t?void 0:t.blur())},rows:1,onInput:function(e){let t=e.target;t.style.height="auto",t.style.height=t.scrollHeight+"px"}}):(0,a.jsx)("h1",{className:r()["static-title"],children:c||""})})})})}),(0,a.jsx)("main",{className:r().main,children:(0,a.jsxs)("section",{className:r()["white-container"],children:[(0,a.jsx)("div",{className:r()["heading-container"],children:x.is_admin&&(0,a.jsx)("div",{className:r().pencil,onClick:()=>{n(!t)},children:T})}),(0,a.jsx)("div",{className:r()["list-container"],children:(0,a.jsxs)("div",{className:r()["max-w-1296px"],children:[(0,a.jsx)("style",{children:"\n .ql-toolbar.ql-snow {\n width: 100%;\n border-left:none;\n border-right:none;\n border-bottom:none;\n }\n .ql-container.ql-snow {\n width: 100%;\n border:none;\n }\n .ql-editor{\n border: none !important;\n width: 100%;\n border-top:1px solid #ccc;\n padding-right:16px;\n margin-inline: auto;\n padding-top: 0;\n }\n .ql-editor.ql-indent-1{\n padding-left:4px;\n }\n .ql-editor ul, \n .ql-editor ol {\n padding-left: 4px; \n text-align:left; \n\n }\n\n .ql-editor a {\n color: rgb(128, 100, 162); \n text-decoration: none !important;\n text-align:left;\n\n }\n .ql-editor > * {\n text-align: left !important;\n }\n .ql-editor p {\n color: var(--Grey-Darkest, #08090a);\n font-family: Cambria;\n font-size: 16px !important;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n margin-bottom: 11px;\n }\n }\n @media screen and (max-width:1100px) {\n .ql-editor{\n \n width: 114vw;\n \n }\n }\n \n "}),(0,a.jsx)("div",{className:"ql-snow ".concat(r()["max-w-1296px"]),children:!t&&(0,a.jsx)("div",{className:"ql-editor ".concat(r()["max-w-full"]),dangerouslySetInnerHTML:{__html:o}})}),t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f,{value:o,onChange:e=>{l(e)}}),(0,a.jsx)("div",{className:r().buttonContainer,children:(0,a.jsx)("button",{className:r().button,onClick:B,children:E?"Saving...":"Save"})})]})]})})]})})]}),(0,a.jsx)(u.Z,{}),(0,a.jsx)(p.Z,{message:j.message,triggerOpen:j.display,type:"success"===j.type?"success":"error",closeSnackbar:()=>{v(e=>({...e,display:!1}))}})]})}},71913:function(e){e.exports={print:"PageGridLayout_print__tmxrz",container:"PageGridLayout_container__XxkY7",minheight100vh:"PageGridLayout_minheight100vh__dQUzp","grid-container":"PageGridLayout_grid-container__OiR6A","no-gap":"PageGridLayout_no-gap__Du3nD"}},90442:function(e){e.exports={main:"Brand_main__TfA8I","white-container":"Brand_white-container__zDowz","max-w-full":"Brand_max-w-full__qZUSo","list-container":"Brand_list-container__kXkN_","table-container":"Brand_table-container__HOzqZ","card-container":"Brand_card-container__7fOGg",card:"Brand_card__uVyGs",heading:"Brand_heading__VhXzo","heading-container":"Brand_heading-container___7Rfd",pencil:"Brand_pencil__6sedC",button:"Brand_button__9z9U2",buttonContainer:"Brand_buttonContainer__r5jdN","ql-toolbar":"Brand_ql-toolbar__XUCsR","ql-snow":"Brand_ql-snow__NkR9l","ql-container":"Brand_ql-container__KDjFi","ql-editor":"Brand_ql-editor__8g_7c","ql-indent-1":"Brand_ql-indent-1__OrZhT",title:"Brand_title__0cEfk","static-title":"Brand_static-title__orjxG",container:"Brand_container__96sxJ"}},21504:function(e){e.exports={"explore-wrapper":"ExplorePage_explore-wrapper__fOW9x",notificationBackgroun
1d:"ExplorePage_notificationBackground__dgMD0",terms:"ExplorePage_terms__KlZtV","side-margin-auto":"ExplorePage_side-margin-auto__knfe1",explore:"ExplorePage_explore__M3pin",notificationWrapper:"ExplorePage_notificationWrapper__Guyx3",pageheading:"ExplorePage_pageheading__r_5t2",header:"ExplorePage_header__Ke9b1",heading:"ExplorePage_heading__DwNX3","filter-btn":"ExplorePage_filter-btn__l2Ib_",filterTabs:"ExplorePage_filterTabs__hSa0L",filterTab:"ExplorePage_filterTab__BWx32",notificationfilterTabs:"ExplorePage_notificationfilterTabs__BJBvS",notificationfilterTab:"ExplorePage_notificationfilterTab__L2iii",activeTab:"ExplorePage_activeTab__YV5ve",moreOptions:"ExplorePage_moreOptions__HPWDp",moreMenu:"ExplorePage_moreMenu__BZ3JY",notificationsBody:"ExplorePage_notificationsBody__7ZYtb",hobbiesTitle:"ExplorePage_hobbiesTitle__mJtpy",hobbiesList:"ExplorePage_hobbiesList__at5Hq",hobbyItem:"ExplorePage_hobbyItem__m_MGy",activeHobby:"ExplorePage_activeHobby__m8Tiy",notificationItem:"ExplorePage_notificationItem__C50NA",activeNotification:"ExplorePage_activeNotification__Uz1HC",seeMore:"ExplorePage_seeMore__sdHZE",pheading:"ExplorePage_pheading__w8aT0",notification:"ExplorePage_notification__teClu",read:"ExplorePage_read___nmaN",notificationDate:"ExplorePage_notificationDate__hsJbe",filterIcon:"ExplorePage_filterIcon__xQDrV",notificationContent:"ExplorePage_notificationContent__3Jt7S",notificationTime:"ExplorePage_notificationTime__FUfR4",notificationActions:"ExplorePage_notificationActions__mmiGy",notificationDropdown:"ExplorePage_notificationDropdown__sRrZw",open:"ExplorePage_open__Vuznd",dropdownItem:"ExplorePage_dropdownItem__3IJzf",emptyNotification:"ExplorePage_emptyNotification__KieNR",notificationAvatar:"ExplorePage_notificationAvatar__8icto",userimge:"ExplorePage_userimge__mKHVt",pageimge:"ExplorePage_pageimge__BeTNV","default-user-icon":"ExplorePage_default-user-icon__cbTCR","static-title":"ExplorePage_static-title__raVdW","left-aside":"ExplorePage_left-aside__2jAus","community-left-aside":"ExplorePage_community-left-aside__5zElS","community-right-aside":"ExplorePage_community-right-aside__35L_E","padding-top-12":"ExplorePage_padding-top-12__syat5",profileSwitcherWrapper:"ExplorePage_profileSwitcherWrapper__Jjtpr","aside-two":"ExplorePage_aside-two__4_wbC"}}},function(e){e.O(0,[6936,5029,2888,9774,179],function(){return e(e.s=74175)}),_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.