PageSourceSearch

https://tenmak.gov.tr/_next/static/chunks/7084.e75f90a95ea7238b.js

js tenmak.gov.tr collected 2026-10-03 17:38:10 UTC 6,491 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7084],{42203:()=>{},71499:()=>{},97084:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>_});var r=t(37876),o=t(14232);let u=(0,o.createContext)(null),i=u.Provider;function l(){let e=(0,o.useContext)(u);if(null==e)throw Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");return e}var a=t(16895);function c(){return(c=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}let s=(0,o.forwardRef)(function({bounds:e,boundsOptions:n,center:t,children:r,className:u,id:l,placeholder:s,style:f,whenReady:p,zoom:d,...h},m){let[g]=(0,o.useState)({className:u,id:l,style:f}),[v,b]=(0,o.useState)(null);(0,o.useImperativeHandle)(m,()=>v?.map??null,[v]);let y=(0,o.useCallback)(r=>{if(null!==r&&null===v){let o=new a.Map(r,h);null!=t&&null!=d?o.setView(t,d):null!=e&&o.fitBounds(e,n),null!=p&&o.whenReady(p),b(Object.freeze({__version:1,map:o}))}},[]);(0,o.useEffect)(()=>()=>{v?.map.remove()},[v]);let w=v?o.createElement(i,{value:v},r):s??null;return o.createElement("div",c({},g,{ref:y}),w)});var f=t(98477);function p(e,n,t){return Object.freeze({instance:e,context:n,container:t})}function d(e,n){return null==n?function(n,t){let r=(0,o.useRef)();return r.current||(r.current=e(n,t)),r}:function(t,r){let u=(0,o.useRef)();u.current||(u.current=e(t,r));let i=(0,o.useRef)(t),{instance:l}=u.current;return(0,o.useEffect)(function(){i.current!==t&&(n(l,t,i.current),i.current=t)},[l,t,r]),u}}function h(e,n){let t=(0,o.useRef)(n);(0,o.useEffect)(function(){n!==t.current&&null!=e.attributionControl&&(null!=t.current&&e.attributionControl.removeAttribution(t.current),null!=n&&e.attributionControl.addAttribution(n)),t.current=n},[e,n])}function m(e,n){let t=(0,o.useRef)();(0,o.useEffect)(function(){return null!=n&&e.instance.on(n),t.current=n,function(){null!=t.current&&e.instance.off(t.current),t.current=null}},[e,n])}function g(e,n){let t=e.pane??n.pane;return t?{...e,pane:t}:e}function v(e){return function(n){var t;let r=l(),u=e(g(n,r),r);return h(r.map,n.attribution),m(u.current,n.eventHandlers),t=u.current,(0,o.useEffect)(function(){return(r.layerContainer??r.map).addLayer(t.instance),function(){r.layerContainer?.removeLayer(t.instance),r.map.removeLayer(t.instance)}},[r,t]),u}}let b=function(e,n){var t;return t=v(d(e,n)),(0,o.forwardRef)(function(e,n){let{instance:r}=t(e).current;return(0,o.useImperativeHandle)(n,()=>r),null})}(function({url:e,...n},t){return p(new a.TileLayer(e,g(n,t)),t)},function(e,n,t){let{opacity:r,zIndex:o}=n;null!=r&&r!==t.opacity&&e.setOpacity(r),null!=o&&o!==t.zIndex&&e.setZIndex(o);let{url:u}=n;null!=u&&u!==t.url&&e.setUrl(u)}),y=function(e,n){var t;return t=v(d(e,n)),(0,o.forwardRef)(function(e,n){let{instance:r,context:u}=t(e).current;return(0,o.useImperativeHandle)(n,()=>r),null==e.children?null:o.createElement(i,{value:u},e.children)})}(function({position:e,...n},t){var r;let o=new a.Marker(e,n);return p(o,(r={overlayContainer:o},Object.freeze({...t,...r})))},function(e,n,t){n.position!==t.position&&e.setLatLng(n.position),null!=n.icon&&n.icon!==t.icon&&e.setIcon(n.icon),null!=n.zIndexOffset&&n.zIndexOffset!==t.zIndexOffset&&e.setZIndexOffset(n.zIndexOffset),null!=n.opacity&&n.opacity!==t.opacity&&e.setOpacity(n.opacity),null!=e.dragging&&n.draggable!==t.draggable&&(!0===n.draggable?e.dragging.enable():e.dragging.disable())}),w=function(e,n){var t,r;return t=d(e),r=function(e,r){let o=l(),u=t(g(e,o),o);return h(o.map,e.attribution),m(u.current,e.eventHandlers),n(u.current,o,e,r),u},(0,o.forwardRef)(function(e,n){let[t,u]=(0,o.useState)(!1),{instance:i}=r(e,u).current;(0,o.useImperativeHandle)(n,()=>i),(0,o.useEffect)(function(){t&&i.update()},[i,t,e.children]);let l=i._contentNode;return l?(0,f.createPortal)(e.children,l):null})}(function(e,n){return p(new a.Popup(e,n.overlayContainer),n)},function(e,n,{position:t},r){(0,o.useEffect)(function(){let{instance:o}=e;function u(e){e.popup===o&&(o.update(),r(!0))}function i(e){e.popup===o&&r(!1)}return n.map.on({popupopen:u,popupclose:i}),null==n.overlayContainer?(null!=t&&o.setLatLng(t),o.openOn(n.map)):n.overlayContainer.bindPopup(o),function(){n.map.off({popupopen:u,popupclose:i}),n.overlayContainer?.unbindPopup(),n.map.removeLayer(o)}},[e,n,r,t])});function O(e,n){var t,r,o=a.DomUtil.create("div",e,document.body),u=function(e,n){for(var t,r=/url\(['"]?([^"']*?)['"]?\)/gi,o=[],u=r.exec(e);u;){o.push(n?(t=u[1]).substr(t.lastIndexOf("/")+1):u[1]),u=r.exec(e)}return o}((r=C(t=o,"background-image"))&&"none"!==r?r:C(t,"cursor"),n),i=I(o,"width"),l=I(o,"height"),c=I(o,"margin-left"),s=I(o,"margin-top");return o.parentNode.removeChild(o),{Url:u[0],RetinaUrl:u[1],Size:[i,l],Anchor:[-c,-s]}}function x(e){var n=a.DomUtil.create("div",e,document.body),t=I(n,"margin-left"),r=I(n,"margin-top");return n.parentNode.removeChild(n),{Anchor:[t,r]}}function I(e,n){return parseInt(C(e,n),10)}function C(e,n){return a.DomUtil.getStyle(e,n)||a.DomUtil.getStyle(e,n.replace(/-(\w)/g,function(e,n){return n.toUpperCase()}))}t(71499),t(42203),a.Icon.Default.mergeOptions({iconUrl:null,iconRetinaUrl:null,shadowUrl:null,iconSize:null,iconAnchor:null,popupAnchor:null,tooltipAnchor:null,shadowSize:null,classNamePrefix:"leaflet-default-icon-"}),a.Icon.Default.include({_needsInit:!0,_getIconUrl:function(e){var n=this.options.imagePath||a.Icon.Default.imagePath||"";return this._needsInit&&this._initializeOptions(n),n+a.Icon.prototype._getIconUrl.call(this,e)},_initializeOptions:function(e){this._setOptions("icon",O,e),this._setOptions("shadow",O,e),this._setOptions("popup",x),this._setOptions("tooltip",x),this._needsInit=!1},_setOptions:function(e,n,t){var r=this.options,o=n(r.classNamePrefix+e,t);for(var u in o)r[e+u]=r[e+u]||o[u]}});let _=e=>{let{title:n,lat:t,lng:o,markerLat:u,markerLng:i,zoom:l=17}=e,a=[Number(t),Number(o)],c=[Number(u),Number(i)];return(0,r.jsxs)(s,{center:a,zoom:Number(l||17),style:{flex:1,width:"100%",height:"100%"},children:[(0,r.jsx)(b,{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),(0,r.jsx)(y,{position:c,children:(0,r.jsx)(w,{children:(0,r.jsx)("a",{href:"https://www.google.com/maps/@".concat(u,",").concat(i,",").concat(l,"z"),target:"_blank",rel:"noreferrer",children:n})})})]})}}}]);

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.