1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1635],{76951:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/content/[...slug]",function(){return n(33710)}])},33710:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return l.default}});var l=n(18135)},18135:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return a}});var l=n(52322),i=n(2784),o=n(30001),c=n(5632),s=n(82876);function a(){var t,e;let n=(0,c.useRouter)(),a=n.query.slug||[],u=(0,s.usePathname)(),[d,r]=(0,i.useState)([]),[v,f]=(0,i.useState)(null),[h,p]=(0,i.useState)(!0),[g,m]=(0,i.useState)(!1),_=null==u?void 0:null===(t=u.split("/"))||void 0===t?void 0:t[1],x=a[0]||null;(0,i.useEffect)(()=>{j(_)},[n.isReady]);let j=async t=>{try{let e=await (0,o.gpD)();r(e[t]||[])}catch(t){console.error("Error:",t)}},w=async t=>{let e=t.split("/")[0];if(!["content","promotions","help"].includes(e)){console.warn("Engellenen kategori i\xe7in i\xe7erik \xe7aÄrısı:",e);return}try{var n,l,i;p(!0);let e=await (0,o.L5g)(t);if((null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.content)&&(null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.content.trim())!=="<div></div>"){m(!1);let t=(0,o.Vq3)(e.data.content);f({title:null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.title,content:t})}else f(null),m(!0)}catch(t){f(null),console.error("Error:",t),m(!0)}finally{p(!1)}};(0,i.useEffect)(()=>{x&&"affiliate"!==x&&w("".concat(_,"/").concat(x))},[x]);let E=(null==v?void 0:v.content)||"",y=!E.includes("<")&&!E.includes(">")&&E.length%4==0&&/^[A-Za-z0-9+/=]+$/.test(E)?decodeURIComponent(escape(atob(E))):E,N="content"===_&&"contact"===x;return(0,l.jsx)("div",{className:"help-page",children:"affiliate"===x?(0,l.jsx)(o.Jh7,{}):(0,l.jsxs)(l.Fragment,{children:["promotions"!==_&&!N&&(null==d?void 0:d.length)>0&&(0,l.jsx)(o.UQy,{data:d,selectedItem:null==u?void 0:null===(e=u.split("/"))||void 0===e?void 0:e.pop(),onItemClick:t=>{let e="/".concat(_,"/").concat(t.slug);e!==n.asPath&&(n.push(e),["content","promotions","help"].includes(_)&&w("".concat(_,"/").concat(t.slug)))}}),(v||N)&&!h&&(0,l.jsxs)("div",{className:"help-page__html-content",children:["promotions"!==_&&!N&&(0,l.jsx)("h3",{children:null==v?void 0:v.title}),(0,l.jsx)("div",{className:N?"contentContact":"",children:(0,l.jsx)(o.$LY,{widget:{directive:"TextWidget",settings:{text:y}}})}),N&&(0,l.jsx)(o.taH,{})]}),g&&!N&&!h&&(0,l.jsx)("div",{style:{width:"100%"},children:(0,l.jsx)(o.t7$,{border:!0})})]})})}n(3774)},3774:function(){}},function(t){t.O(0,[1705,1617,1711,1709],function(){return t(t.s=76951)}),_N_E=t.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.