1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3340],{10111:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/select-tiktok-organic-account",function(){return n(59980)}])},59980:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return v}});var c=n(85893),o=n(14157),s=n(64310),i=n(5152),r=n.n(i),l=n(11163),a=n(67294),u=n(28837),d=n(78633),k=n(9473),h=n(65459),_=n(85010),f=n(78240),y=n(91698),T=n(45332);let j=r()(()=>n.e(2918).then(n.t.bind(n,12918,23)),{loadableGenerated:{webpack:()=>[12918]}}),p=e=>{var t;let{tokenValue:n}=e;(0,o.t)(n,"TikTok Organic");let i=(0,k.I0)(),{tiktokOrganicAccountsList:r}=(0,y.nx)(),[p,v]=(0,a.useState)(!0),x=(0,l.useRouter)(),{redirected:m}=x.query,w=async()=>{v(!0);try{let e=n&&await i((0,_.D_)(n));(null==e?void 0:e.success)&&v(!1),(null==e?void 0:e.error)&&console.log("Error in loadTiktokOrganicAccountsList",e),v(!1)}catch(t){console.log("Error in loadTiktokOrganicAccountsList",t)}};(0,a.useEffect)(()=>{n&&m&&w()},[x.query]);let N=(e,t)=>{x.push({pathname:T._j.setUp,query:{info:e,name:t,type:"TikTok Organic"}})};return"false"===m?(0,c.jsx)(j,{statusCode:400}):p?(0,c.jsx)(s.Z,{type:"Oval",style:{top:"50%",left:"50%"}}):(0,c.jsx)(f.Z,{title:"Adzviser | Select a TikTok Account",content:"Pick a TikTok account from the list below to connect your TikTok organic data to ChatGPT with Adzviser.",children:(0,c.jsx)("div",{className:"card-outer",children:(0,c.jsxs)(u.Z,{style:{minWidth:"30%"},children:[(0,c.jsx)(u.Z.Header,{as:"h5",style:{display:"flex",justifyContent:"center",color:h.w.Primary},children:"Choose your TikTok account"}),(0,c.jsx)(u.Z.Body,{className:"select-account",children:r&&(null===(t=Object.entries(r))||void 0===t?void 0:t.map(e=>{let[t,n]=e;return(0,c.jsx)("div",{className:"select-account",children:(0,c.jsx)("div",{className:"select-account__child",children:(0,c.jsxs)(c.Fragment,{children:[" ",t," (@",n,")",(0,c.jsx)("div",{onClick:()=>N(t,n),style:{cursor:"pointer"},children:(0,c.jsx)(d.Mcl,{size:24})})]})},t)},t)}))})]})})})};var v=!0;t.default=p}},function(e){e.O(0,[4738,6660,7473,3662,4817,4321,2290,7423,3481,533,7509,4610,5332,2427,8240,6295,9774,2888,179],function(){return e(e.s=10111)}),_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.