PageSourceSearch

https://unicefturk.org/_next/static/chunks/632-6042430da37e14cc.js

js unicefturk.org collected 2026-10-02 07:00:03 UTC 13,262 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e466ae19-932e-4f0b-8752-2bf6af4c3409",e._sentryDebugIdIdentifier="sentry-dbid-e466ae19-932e-4f0b-8752-2bf6af4c3409")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[632],{42745:function(e,t,r){var n=r(57437),o=r(29116),i=r(27648),a=r(2265);t.Z=()=>{let[e,t]=(0,a.useState)(!1),r=async()=>{let e=await (0,o.J$)(1,20);e&&e.data&&e.data.length>0&&t(e.data.slice(0,5))};return(0,a.useEffect)(()=>{r()},[]),(0,n.jsxs)("section",{className:"pt-12",children:[(0,n.jsxs)("div",{className:" mx-auto px-4",children:[(0,n.jsx)("h2",{className:"text-2xl md:text-3xl font-bold text-center text-[#00AEEF] mb-10",children:"UNICEF'TEN HABERLER"}),(0,n.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6",children:e&&e.map((e,t)=>(0,n.jsx)(i.default,{href:"/yazi/".concat(e.slug_tr),children:(0,n.jsxs)("div",{className:"rounded-lg group relative overflow-hidden bg-white shadow-xl transition-shadow duration-300 cursor-pointer h-64 flex flex-col",children:[(0,n.jsx)("div",{className:"overflow-hidden flex-shrink-0",children:(0,n.jsx)("img",{src:e.image,alt:e.title_tr,className:"w-full h-40 object-cover transition-transform duration-500 group-hover:scale-110"})}),(0,n.jsx)("div",{className:"p-4 text-center flex-grow flex items-center justify-center",children:(0,n.jsx)("h3",{className:"font-medium text-gray-800 group-hover:text-[#00AEEF] transition-colors duration-300 text-sm leading-tight [display:-webkit-box] [-webkit-line-clamp:3] [-webkit-box-orient:vertical] overflow-hidden",children:e.title_tr})})]})},t))})]}),(0,n.jsx)("section",{className:"py-16 bg-gray-50",children:(0,n.jsx)("div",{className:"container mx-auto px-4 text-center",children:(0,n.jsxs)("a",{href:"/blog",className:"inline-flex items-center px-8 py-4 bg-[#00AEEF] text-white font-semibold text-lg rounded-lg hover:bg-[#0099d4] transition-colors duration-300 shadow-lg hover:shadow-xl transform hover:-translate-y-1",children:["T\xfcm Yazıları G\xf6r\xfcnt\xfcle",(0,n.jsx)("svg",{className:"ml-2 w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})})})]})}},66070:function(e,t,r){r.d(t,{Ol:function(){return l},Zb:function(){return a},aY:function(){return u},ll:function(){return s}});var n=r(57437),o=r(2265),i=r(94508);let a=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",r),...o})});a.displayName="Card";let l=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",r),...o})});l.displayName="CardHeader";let s=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)("h3",{ref:t,className:(0,i.cn)("text-2xl font-semibold leading-none tracking-tight",r),...o})});s.displayName="CardTitle",o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)("p",{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",r),...o})}).displayName="CardDescription";let u=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("p-6 pt-0",r),...o})});u.displayName="CardContent",o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)("div",{ref:t,className:(0,i.cn)("flex items-center p-6 pt-0",r),...o})}).displayName="CardFooter"},29116:function(e,t,r){r.d(t,{Ao:function(){return f},J$:function(){return c},Nw:function(){return k},RP:function(){return b},ac:function(){return N},dc:function(){return y},o4:function(){return _},qg:function(){return d},sT:function(){return g},sg:function(){return h},tK:function(){return v},ub:function(){return w},zE:function(){return j}});var n=r(83464),o=r(40257);let i="testweb.unicefturk.org"===o.env.NEXT_PUBLIC_SITE_HOST?"https://test.unicefturk.org/api":"https://api.unicefturk.org/api",a="a4c18b2d68b847f28e2b23ad66d412ccdbb8e02d4cd27e4a27e5f33c1328341e";
1async function l(e){try{let t=await fetch("".concat(i).concat(e),{headers:{"Content-Type":"application/json"},next:{revalidate:60}});if(!t.ok)return{};return await t.json()}catch(t){throw console.error("Failed to fetch ".concat(e,":"),t),t}}function s(e){let t=null==e?void 0:e.order;if("number"==typeof t&&Number.isFinite(t))return t;let r=parseInt(String(null!=t?t:""),10);return Number.isFinite(r)?r:Number.MAX_SAFE_INTEGER}function u(e){var t,r;let n=null!==(r=null!==(t=null==e?void 0:e.date)&&void 0!==t?t:null==e?void 0:e.created_at)&&void 0!==r?r:null==e?void 0:e.updated_at;if(!n||"string"!=typeof n)return 0;let o=Date.parse(n);return Number.isNaN(o)?0:o}async function c(e,t){let r="/v1/blogs";e&&t&&(r+="?page=".concat(e,"&per_page=").concat(t));let n=await l(r),o=(null==n?void 0:n.meta)||{};return{data:[...Array.isArray(null==n?void 0:n.data)?n.data:[]].sort((e,t)=>{let r=s(e)-s(t);return 0!==r?r:u(t)-u(e)}),total:o.total||(null==n?void 0:n.total),last_page:o.last_page||(null==n?void 0:n.last_page),current_page:o.current_page||(null==n?void 0:n.current_page)||e||1}}async function d(e){let t=await l("/v1/sliders/"+e);return Array.isArray(null==t?void 0:t.data)?t.data:[]}async function f(){let e=await l("/v1/corporate-members/");return(null==e?void 0:e.data)||[]}let p=e=>{let t={"Content-Type":e?"multipart/form-data":"application/json",Accept:e?"multipart/form-data":"application/json","Accept-Language":"en-US"};return a&&(t.Authorization="Bearer ".concat(a)),{headers:t}},m=e=>{if("object"!=typeof e)return{error:e};let t={};for(let r=0;r<Object.keys(e).length;r+=1){let n=Object.keys(e)[r];if(n.includes(".")){let r=n.split(".");t[r[0]]||(t[r[0]]={}),t[r[0]]={...t[r[0]],[r[1]]:e[n]}}else t[n]=e[n]}return{errors:t}};function g(e){let t=function(e){var t,r,n;if(!e||"object"!=typeof e)return null;let o=null===(r=e.errors)||void 0===r?void 0:null===(t=r.response)||void 0===t?void 0:t.data;if(o&&"object"==typeof o)return o;let i=null===(n=e.response)||void 0===n?void 0:n.data;return i&&"object"==typeof i?i:"string"==typeof e.message||"string"==typeof e.error?e:null}(e);return(null==t?void 0:t.error)==="bot_protection"&&"string"==typeof t.message&&t.message.trim()?t.message:"Size daha iyi hizmet verebilmek i\xe7in bakım yapıyoruz.\nL\xfctfen kısa bir s\xfcre sonra tekrar deneyin.\nAnlayışınız i\xe7in teşekk\xfcr ederiz."}function v(e){var t,r;if(!e||"object"!=typeof e)return 200;let n=null===(r=e.errors)||void 0===r?void 0:null===(t=r.response)||void 0===t?void 0:t.status;return"number"==typeof n?n:200}function y(e){var t,r,n;return(null==e?void 0:null===(n=e.errors)||void 0===n?void 0:null===(r=n.response)||void 0===r?void 0:null===(t=r.data)||void 0===t?void 0:t.message)==="InvalidPhone"}let h=async(e,t)=>{try{let r=n.Z.create({baseURL:i}),o=await r.post(e,t,{...p(!1),headers:{...p(!1).headers}});return o.data||o}catch(e){var r,o,a;if((null===(r=e.response)||void 0===r?void 0:r.status)===400&&(null===(a=e.response)||void 0===a?void 0:null===(o=a.data)||void 0===o?void 0:o.errors))throw e;return m(e)}};function b(e){if(!e||"object"!=typeof e)return null;let t=e.data;if(t&&"object"==typeof t&&!Array.isArray(t)){if("slug"in t||"solicit_code_one_time"in t||"name"in t)return t;if(t.data&&"object"==typeof t.data)return t.data}return"slug"in e||"solicit_code_one_time"in e?e:null}let x=new Set(["banka-havalesi","sms","cagri-merkezi","vasiyet","maraton","kurumsal-isbirlikleri","yuzyuze"]);function w(e){let t=(e.replace(/\/$/,"")||"/").match(/^\/bagis\/([^/]+)$/);if(!t)return null;let r=decodeURIComponent(t[1]);return x.has(r)?null:r}function _(e,t){let r="one-time"===t?null==e?void 0:e.solicit_code_one_time:null==e?void 0:e.solicit_code_monthly;return"string"==typeof r&&r.trim()?r.trim():"OI25036"}function j(e){let t=null==e?void 0:e.extra_code;return"string"==typeof t&&t.trim()?t.trim():"OE"}let N=async e=>{try{let t=n.Z.create({baseURL:i}),r=await t.get(e,{...p(!1),headers:{...p(!1).headers}});return r.data||r}catch(e){var t,r,o;if((null===(t=e.response)||void 0===t?void 0:t.status)===400&&(null===(o=e.response)||void 0===o?void 0:null===(r=o.data)||void 0===r?void 0:r.errors))throw e;return m(e)}};async function k(){let e="testweb.unicefturk.org"===o.env.NEXT_PUBLIC_SITE_HOST?"https://test.unicefturk.org/api":"https://api.unicefturk.org/api";try{let t=await fetch("".concat(e,"/v1/site-popups"),{headers:{"Content-Type":"application/json"},cache:"no-store"});if(!t.ok)return[];let r=await t.json();return Array.isArray(null==r?void 0:r.data)?r.data:[]}catch(e){return console.error("fetchPopups:",e),[]}}},94508:function(e,t,r){r.d(t,{BJ:function(){return x},Eb:function(){return p},Hb:function(){return j},Pi:function(){return w},Qg:function(){return N},Wb:function(){return h},Z3:function(){return g},bk:function(){return v},cn:function(){return c},lV:function(){return d},mG:function(){return y},sW:function(){return b},u:function(){return _},w$:function(){return m},zs:function(){return f}});
1var n=r(61994),o=r(53335),i=r(5515),a=r.n(i),l=r(57220),s=r.n(l);r(83062);let u=s()(a());function c(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,o.m6)((0,n.W)(t))}function d(e){return e.toLowerCase().replace(/ı/g,"i").replace(/ğ/g,"g").replace(/ü/g,"u").replace(/ş/g,"s").replace(/ö/g,"o").replace(/ç/g,"c").replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,"")}async function f(e,t){let r=t.includes("\n"),n=t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");u.fire({title:e,...r?{html:n.replace(/\n/g,"<br>")}:{text:t},icon:"error",showConfirmButton:!1,showCloseButton:!0})}async function p(e,t){u.fire({title:e,text:t,icon:"success",showConfirmButton:!1,showCloseButton:!0})}async function m(e){let{title:t,content:r,confirmButtonText:n="Evet",cancelButtonText:o="İptal",showCancelButton:i=!0,showCloseButton:a=!0,icon:l="warning",onDidOpen:s}=e;if("undefined"!=typeof document){let e="swal2-z-index-override";if(!document.getElementById(e)){let t=document.createElement("style");t.id=e,t.textContent="\n        .swal2-container {\n          z-index: 99999 !important;\n        }\n        .swal2-popup {\n          z-index: 99999 !important;\n        }\n        .swal2-backdrop {\n          z-index: 99998 !important;\n        }\n      ",document.head.appendChild(t)}}let c=await u.fire({title:'<div style="margin-bottom: 12px; font-size: 20px; font-weight: bold;">'.concat(t,"</div>"),html:'<div style="font-size: 16px;">'.concat(r,"</div>"),icon:l,showConfirmButton:!0,showCancelButton:i,showCloseButton:a,confirmButtonText:n,cancelButtonText:o,confirmButtonColor:"#00aeef",customClass:{confirmButton:"bg-primary",cancelButton:"bg-gray-400",denyButton:"bg-gray-400",closeButton:"bg-gray-400"},didOpen:()=>{null==s||s(),setTimeout(()=>{let e=document.querySelector(".swal2-container"),t=document.querySelector(".swal2-popup"),r=document.querySelector(".swal2-backdrop-show"),n=document.querySelector(".swal2-backdrop");e&&e.style.setProperty("z-index","99999","important"),t&&t.style.setProperty("z-index","99999","important"),r&&r.style.setProperty("z-index","99998","important"),n&&n.style.setProperty("z-index","99998","important")},0)}});return{confirmed:!!c.isConfirmed,dismiss:c.isDismissed?c.dismiss:void 0}}let g=50;function v(e){return e.replace(/[^a-zA-Z0-9çğıöşüÇĞIİÖŞÜ &.()/-]/g,"").slice(0,g)}let y=/^[a-zA-Z0-9çğıöşüÇĞIİÖŞÜ &.()/-]*$/,h=20;function b(e){return e.replace(/[^a-zA-Z0-9çğıöşüÇĞIİÖŞÜ &.()/-]/g,"").slice(0,h)}let x=254;function w(e){let t=e.replace(/\s/g,"");return(t=(t=t.replace(/[^a-zA-Z0-9@._%+-]/g,"")).replace(/@{2,}/g,"@")).slice(0,x)}let _=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,j="___@__.___";function N(e){return e.split(" ").map(e=>e?e.charAt(0).toLocaleUpperCase("tr-TR")+e.slice(1).toLocaleLowerCase("tr-TR"):e).join(" ")}},77712:function(e,t,r){r.d(t,{j:function(){return i}});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n);else for(r in t)t[r]&&(o&&(o+=" "),o+=r)}return o}(e))&&(n&&(n+=" "),n+=t);return n},i=(e,t)=>r=>{var i;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:l}=t,s=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],o=null==l?void 0:l[e];if(null===t)return null;let i=n(t)||n(o);return a[e][i]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,s,null==t?void 0:null===(i=t.compoundVariants)||void 0===i?void 0:i.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...u}[t]):({...l,...u})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}}]);

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.