1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4525],{13379:function(e,t,o){"use strict";var l=o(64836);t.Z=void 0;var i=l(o(61268)),a=o(85893);t.Z=(0,i.default)((0,a.jsx)("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIos")},60888:function(e,t,o){"use strict";var l=o(64836);t.Z=void 0;var i=l(o(61268)),a=o(85893);t.Z=(0,i.default)((0,a.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle")},60613:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/playbook",function(){return o(27204)}])},27204:function(e,t,o){"use strict";o.r(t),o.d(t,{__N_SSG:function(){return k},default:function(){return Playbook}});var l=o(85893),i=o(11163),a=o(1805),n=o(67294),r=o(22884),s=o(63336),d=o.n(s),c=o(13379),h=o(70959),p=o(76584),x=o(60888),g=o(41664),u=o.n(g),f=o(86866),y=o(8772),m=o(29496),b=o(47041),v=o(25675),j=o.n(v),k=!0;function Playbook(){let e=(0,i.useRouter)(),{api:t}=(0,p.h)(),{user:o}=(0,h.aC)(),[s,g]=(0,n.useState)(!1),[v,k]=(0,n.useState)(!1),[_,w]=(0,n.useState)(!1),[C,S]=(0,n.useState)(!1),B=[s,v,_,C].filter(Boolean).length,[L,Z]=(0,n.useState)(0),{t:z}=(0,y.$G)(["tutorial"]);if((0,n.useEffect)(()=>{if(o)loadItems(),getArtists(),getConfigHandler();else if(null===o){let t=setTimeout(()=>{if(e.isReady){let t=e.asPath;(0,b.setCookie)(null,"rakamaredirect",t,{path:"/"}),e.replace("/login")}},6e3);return()=>clearTimeout(t)}},[o,e]),null===o)return(0,l.jsx)(a.Z,{open:!0});async function loadItems(){try{let e=await t.getInventoryItems(o.uid);if(e.data&&200==e.data.code){let t=e.data.data,o=t.filter(e=>9===e.accesslevel);Z(o.length),o.length>=6?w(!0):w(!1);let l=t.length>0?t[0].artist.instagram:"";l.length>0?k(!0):k(!1)}}catch(e){console.error("Error loading items:",e)}}async function getArtists(){let e=await t.getArtistsByGid(o.gid);if(e.data&&200==e.data.code){let t=e.data.data,o=t.length>0?t[0].summary:"";0==o.length?S(!1):S(!0)}}let getConfigHandler=async()=>{let e=await t.getWebsiteConfig(o.gid);e.data&&200===e.data.code&&(null!=e.data.data?g(!0):g(!1))},recommendHandler=()=>{(0,m.yv)(z("tutorial:playbook.completed"),{variant:"success"}),f.B("playbook_recommend_artist",{}),function(e,l){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=new Date;var n="[".concat(e,"]\r\nType: ").concat(o.type,"\r\nUSER: ").concat(o.email,"[").concat(o.uid,"]\r\n");i&&(n+="".concat(i,"\r\n")),n+="".concat(a.toLocaleString()),t.reportTelegramBot(n)}("ì¶ì² ìê° ì ì ì ì²",o.email)};return(0,l.jsx)(r.Z,{children:(0,l.jsx)("div",{style:{backgroundColor:"#fff",width:"100%",display:"flex",maxWidth:"988px"},children:(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex",alignItems:"center",fontWeight:"bold"},children:[(0,l.jsx)("h1",{style:{fontSize:"var(--font-headline1)",color:"var(--color-gray08)"},children:z("tutorial:playbook.subtitle")}),(0,l.jsxs)("div",{style:{display:"flex",alignItems:"center",marginLeft:"8px",color:"var(--color-gray06)"},children:["(",(0,l.jsxs)("div",{style:{color:"var(--color-primary06)",marginRight:"4px"},children:[B,"/",4]})," ",z("tutorial:playbook.done"),")"]})]}),(0,l.jsxs)("div",{className:d().headerCard,children:[(0,l.jsx)(j(),{src:"/images/magic.svg",width:20,height:20,alt:"info icon"}),(0,l.jsx)("p",{children:(0,l.jsx)(y.cC,{i18nKey:"tutorial:playbook.dochallenge"})})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)(u(),{href:"/portfolio",target:"_blank",onClick:e=>{f.B("playbook_add_artwork",{})},children:(0,l.jsxs)("div",{className:d().challenge,children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{fontSize:"var(--font-body1)",fontWeight:"bold",marginBottom:"10px",display:"flex"},children:[z("tutorial:playbook.addmoreartworks"),L<6&&(0,l.jsxs)("div",{style:{color:"var(--color-primary06)",marginLeft:"4px",fontWeight:"bold"},children:["(",L,"/",6,")"]})]}),(0,l.jsx)("div",{style:{fontSize:"14px",color:"#666",display:"flex"},children:z("tutorial:playbook.addmorethansix")})]}),(0,l.jsx)("div",{children:_?(0,l.jsx)(x.Z,{style:{color:"#34a853",width:"20px",height:"20px",cursor:"pointer",marginLeft:"24px"}}):(0,l.jsx)(c.Z,{style:{height:"12px",cursor:"pointer",marginLeft:"24px"}})})]})}),(0,l.jsx)(u(),{href:"/artistprofile",target:"_blank",onClick:e=>{f.B("playbook_introduce_artist",{})},children:(0,l.jsxs)("div",{className:d().challenge,children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{style:{fontSize:"var(--font-body1)",fontWeight:"bold",marginBottom:"10px"},children:z("tutorial:playbook.introduceartist")}),(0,l.jsx)("div",{style:{fontSize:"14px",color:"#666"},children:z("tutorial:playbook.introduceyourself")})]}),(0,l.jsx)("div",{children:C?(0,l.jsx)(x.Z,{style:{color:"#34a853",width:"20px",height:"20px",cursor:"pointer",marginLeft:"24px"}}):(0,l.jsx)(c.Z,{style:{height:"12px",cursor:"pointer",marginLeft:"24px"}})})]})}),(0,l.jsx)(u(),{href:"/artistprofile",target:"_blank",onClick:e=>{f.B("playbook_connect_instagram",{})},children:(0,l.jsxs)("div",{className:d().challenge,children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{style:{fontSize:"var(--font-body1)",fontWeight:"bold",marginBottom:"10px"},children:z("tutorial:playbook.instaconnect")}),(0,l.jsx)("div",{style:{fontSize:"14px",color:"#666"},children:z("tutorial:playbook.instagramconnect")})]}),(0,l.jsx)("div",{children:v?(0,l.jsx)(x.Z,{style:{color:"#34a853",width:"20px",height:"20px",cursor:"pointer",marginLeft:"24px"}}):(0,l.jsx)(c.Z,{style:{height:"12px",cursor:"pointer",marginLeft:"24px"}})})]})}),(0,l.jsx)(u(),{href:"/website/settings",target:"_blank",onClick:e=>{f.B("playbook_create_website",{})},children:(0,l.jsxs)("div",{className:d().challenge,children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{style:{fontSize:"var(--font-body1)",fontWeight:"bold",marginBottom:"10px"},children:z("tutorial:playbook.makewebsite")}),(0,l.jsx)("div",{style:{fontSize:"14px",color:"#666"},children:z("tutorial:playbook.inserturl")})]}),(0,l.jsx)("div",{children:s?(0,l.jsx)(x.Z,{style:{color:"#34a853",width:"20px",height:"20px",cursor:"pointer",marginLeft:"24px"}}):(0,l.jsx)(c.Z,{style:{height:"12px",cursor:"pointer",marginLeft:"24px"}})})]})})]}),(0,l.jsx)("div",{style:{paddingTop:"40px",display:"flex",justifyContent:"flex-end"},children:(0,l.jsx)("button",{className:d().btnDone,onClick:e=>recommendHandler(),children:z("tutorial:playbook.recommend")})})]})})})}},63336:function(e){e.exports={challenge:"playbook_challenge__AS00k",challengenobottom:"playbook_challengenobottom__Uv9ug",challengeButton:"playbook_challengeButton__w2acB",paddingbox:"playbook_paddingbox__YIVaF",headerCard:"playbook_headerCard__dTz0k",btnDone:"playbook_btnDone__PTnvJ"}}},function(e){e.O(0,[5675,4938,4364,8333,3826,3491,4825,2884,9774,2888,179],function(){return e(e.s=60613)}),_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.