PageSourceSearch

https://yee.org.tr/_next/static/chunks/4723.f6b85849089128d2.js

js yee.org.tr collected 2026-10-02 03:58:15 UTC 5,698 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4723],{4723:(c,n,t)=>{t.r(n),t.d(n,{WorldMapMarkers:()=>r});var o=t(5155),a=t(2115);function e(c){return c.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}function r(c){let{centers:n,countrySlugMap:r={},locale:l="tr",goToCountryLabel:i}=c,s=(0,a.useRef)(null),d=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(!s.current||d.current)return;let c=!1;return(async()=>{let o=(await t.e(1761).then(t.t.bind(t,5027,23))).default;if(c||!s.current)return;delete s.current._leaflet_id,delete o.Icon.Default.prototype._getIconUrl;let a=o.map(s.current,{center:[30,20],zoom:3,minZoom:1,maxZoom:19,zoomControl:!1,scrollWheelZoom:!0,attributionControl:!1});o.tileLayer("https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png",{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors &copy; <a href="https://carto.com/attributions">CARTO</a>',subdomains:"abcd",maxZoom:19}).addTo(a),o.control.zoom({position:"bottomright"}).addTo(a);let u=o.icon({iconUrl:"/icons/pin-icon.svg",iconSize:[48,48],iconAnchor:[24,48],popupAnchor:[0,-50]}),p=[];n.forEach(c=>{let n=function(c){let n=null==c?void 0:c.lat,t=null==c?void 0:c.lng;return"number"==typeof n&&Number.isFinite(n)&&n>=-90&&n<=90&&"number"==typeof t&&Number.isFinite(t)&&t>=-180&&t<=180?[n,t]:null}(c.coordinates);if(n){var t,s,d;let v=r["object"==typeof c.country?String(null!=(s=null==(t=c.country)?void 0:t.id)?s:""):String(null!=(d=c.country)?d:"")];o.marker(n,{icon:u}).bindPopup(function(c,n,t,o){var a,r,l,i,s,d,u,p,v,g,h,f;let _="object"==typeof c.country&&null!=(s=null==(a=c.country)?void 0:a.name)?s:"",m=null!=(d=c.city)?d:"",w=null!=(u=c.address)?u:"",y=_||m?"":null!=(p=c.name)?p:"",b=null!=(v=null==(r=c.contactInfo)?void 0:r.email)?v:"",k=null!=(g=null==(l=c.contactInfo)?void 0:l.phone)?g:"",x="object"==typeof c.coverImage&&c.coverImage&&null!=(h=c.coverImage.url)?h:"",j="object"==typeof c.country?null==(i=c.country)?void 0:i.flag:null,I="object"==typeof j&&j&&null!=(f=j.url)?f:"",P=n?"/".concat(t||"tr","?site=").concat(n):"#",z=x?'<div class="cc-card__image">\n        <img src="'.concat(e(x),'" alt="" />\n        ').concat(I?'<div class="cc-card__tag">\n          <img src="'.concat(e(I),'" alt="" class="cc-card__flag" />\n          <span>').concat(e(_),"</span>\n        </div>"):"","\n      </div>"):I?'<div class="cc-card__image cc-card__image--placeholder">\n          <div class="cc-card__tag">\n            <img src="'.concat(e(I),'" alt="" class="cc-card__flag" />\n            <span>').concat(e(_),"</span>\n          </div>\n        </div>"):"",A=[];return w&&A.push('<div class="cc-card__info-row">\n      <div class="cc-card__icon">'.concat('<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#6f7176" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"/><circle cx="12" cy="10" r="3"/></svg>',"</div>
1\n      <span>").concat(e(w),"</span>\n    </div>")),b&&A.push('<div class="cc-card__info-row">\n      <div class="cc-card__icon">'.concat('<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#6f7176" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="16" x="2" y="4" rx="2"/><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"/></svg>',"</div>\n      <span>").concat(e(b),"</span>\n    </div>")),k&&A.push('<div class="cc-card__info-row">\n      <div class="cc-card__icon">'.concat('<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#6f7176" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"/></svg>',"</div>
1\n      <span>").concat(e(k),"</span>\n    </div>")),'<div class="cc-card">\n    '.concat(z,'\n    <div class="cc-card__body">\n      <div class="cc-card__title">\n        ').concat(y?'<span class="cc-card__country">'.concat(e(y),"</span>"):'<span class="cc-card__country">'.concat(e(_),"</span>").concat(m?'<span class="cc-card__separator">/</span><span class="cc-card__city">'.concat(e(m),"</span>"):""),"\n      </div>\n      ").concat(A.length>0?'<div class="cc-card__info">'.concat(A.join(""),"</div>"):"","\n      ").concat(n?'<a class="cc-card__button" href="'.concat(e(P),'" data-site-slug="').concat(e(n),'">').concat(e(o||"Go to Country Page"),"</a>"):"","\n    </div>\n  </div>")}(c,v,l,i),{maxWidth:342,minWidth:342,className:"cc-popup",closeButton:!0,autoPan:!0,autoPanPaddingTopLeft:o.point(50,50),autoPanPaddingBottomRight:o.point(50,50)}).addTo(a),p.push(n)}}),1===p.length?a.setView(p[0],14):p.length>1&&a.fitBounds(p,{padding:[40,40],maxZoom:14}),a.on("popupopen",()=>{document.querySelectorAll(".cc-card__button[data-site-slug]").forEach(c=>{c.addEventListener("click",n=>{n.preventDefault();let t=c.dataset.siteSlug;if(t){let c=window.location.host.includes("localhost"),n=c?":".concat(window.location.port):"",o=window.location.protocol;window.location.href="".concat(o,"//").concat(t,".").concat(c?"localhost":"yee.org.tr").concat(n,"/").concat(l)}})})}),d.current=a})().catch(console.error),()=>{c=!0,d.current&&(d.current.remove(),d.current=null)}},[n,r,l]),(0,o.jsx)("div",{ref:s,className:"world-map w-full h-full",style:{background:"#e8ecf0"}})}}}]);

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.