PageSourceSearch

https://geek.live/_next/static/chunks/7880.22dd05cfe338172c.js

js geek.live collected 2026-09-25 03:26:04 UTC 12,384 bytes, 1 lines download raw bytes

1try{!function(){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]="0512bb70-a9e4-43eb-94db-229a49abc66f",e._sentryDebugIdIdentifier="sentry-dbid-0512bb70-a9e4-43eb-94db-229a49abc66f")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7880],{44049:function(e,t,n){"use strict";n.d(t,{F4:function(){return c},iv:function(){return s},xB:function(){return u}});var r=n(33403),o=n(87559),i=n(51100),a=n(98683),l=n(88082);n(79852),n(63234);var u=(0,r.w)(function(e,t){var n=e.styles,u=(0,l.O)([n],void 0,o.useContext(r.T));if(!r.i){for(var s,c=u.name,d=u.styles,f=u.next;void 0!==f;)c+=" "+f.name,d+=f.styles,f=f.next;var v=!0===t.compat,y=t.insert("",{name:c,styles:d},t.sheet,v);return v?null:o.createElement("style",((s={})["data-emotion"]=t.key+"-global "+c,s.dangerouslySetInnerHTML={__html:y},s.nonce=t.sheet.nonce,s))}var p=o.useRef();return(0,a.j)(function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+u.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),p.current=[n,r],function(){n.flush()}},[t]),(0,a.j)(function(){var e=p.current,n=e[0];if(e[1]){e[1]=!1;return}if(void 0!==u.next&&(0,i.My)(t,u.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",u,n,!1)},[t,u.name]),null});function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,l.O)(t)}var c=function(){var e=s.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},18193:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(61212),o=n(87559),i=n(39482),a=n(97236),l=n(44049),u=n(65369),s=n(14334),c=n(41743),d=n(33327),f=n(52040),v=n(52967),y=n(23933);function p(e){return(0,y.ZP)("MuiCircularProgress",e)}(0,v.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var m=n(51591);function g(){let e=(0,r._)(["\n  0% {\n    transform: rotate(0deg);\n  }\n\n  100% {\n    transform: rotate(360deg);\n  }\n"]);return g=function(){return e},e}function h(){let e=(0,r._)(["\n  0% {\n    stroke-dasharray: 1px, 200px;\n    stroke-dashoffset: 0;\n  }\n\n  50% {\n    stroke-dasharray: 100px, 200px;\n    stroke-dashoffset: -15px;\n  }\n\n  100% {\n    stroke-dasharray: 100px, 200px;\n    stroke-dashoffset: -125px;\n  }\n"]);return h=function(){return e},e}function b(){let e=(0,r._)(["\n        animation: "," 1.4s linear infinite;\n      "]);return b=function(){return e},e}function x(){let e=(0,r._)(["\n        animation: "," 1.4s ease-in-out infinite;\n      "]);return x=function(){return e},e}let k=(0,l.F4)(g()),S=(0,l.F4)(h()),w="string"!=typeof k?(0,l.iv)(b(),k):null,_="string"!=typeof S?(0,l.iv)(x(),S):null,Z=e=>{let{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,"color".concat((0,d.Z)(r))],svg:["svg"],circle:["circle","circle".concat((0,d.Z)(n)),o&&"circleDisableShrink"]};return(0,a.Z)(i,p,t)},C=(0,u.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t["color".concat((0,d.Z)(n.color))]]}})((0,s.Z)(e=>{let{theme:t}=e;return{display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("transform")}},{props:{variant:"indeterminate"},style:w||{animation:"".concat(k," 1.4s linear infinite")}},...Object.entries(t.palette).filter((0,f.Z)()).map(e=>{let[n]=e;return{props:{color:n},style:{color:(t.vars||t).palette[n].main}}})]}})),P=(0,u.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),D=(0,u.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t["circle".concat((0,d.Z)(n.variant))],n.disableShrink&&t.circleDisableShrink]}})((0,s.Z)(e=>{let{theme:t}=e;return{stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:e=>{let{ownerState:t}=e;return"indeterminate"===t.variant&&!t.disableShrink},style:_||{animation:"".concat(S," 1.4s ease-in-out infinite")}}]}}));var E=o.forwardRef(function(e,t){let n=(0,c.i)({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:a=!1,size:l=40,style:u,thickness:s=3.6,value:d=0,variant:f="indeterminate",...v}=n,y={...n,color:o,disableShrink:a,size:l,thickness:s,value:d,variant:f},p=Z(y),g={},h={},b={};if("determinate"===f){let e=2*Math.PI*((44-s)/2);g.strokeDasharray=e.toFixed(3),b["aria-valuenow"]=Math.round(d),g.strokeDashoffset="".concat(((100-d)/100*e).toFixed(3),"px"),h.transform="rotate(-90deg)"}return(0,m.jsx)(C,{className:(0,i.Z)(p.root,r),style:{width:l,height:l,...h,...u},ownerState:y,ref:t,role:"progressbar",...b,...v,children:(0,m.jsx)(P,{className:p.svg,ownerState:y,viewBox:"".concat(22," ").concat(22," ").concat(44," ").concat(44),children:(0,m.jsx)(D,{className:p.circle,style:g,ownerState:y,cx:44,cy:44,r:(44-s)/2,fill:"none",strokeWidth:s})})})})},33327:function(e,t,n){"use strict";var r=n(92492);t.Z=r.Z},52040:function(e,t,n){"use strict";function r(e=[]){return([,t])=>t&&function(e,t=[]){if("string"!=typeof e.main)return!1;for(let n of t)if(!e.hasOwnProperty(n)||"string"!=typeof e[n])return!1;return!0}(t,e)}n.d(t,{Z:function(){return r}})},27880:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return b}});var r=n(40890),o=n(50486),i=n(25654),a=n.n(i);n(31176);var l=n(87559),u=n(64558),s=n.n(u),c=n(18193),d=n(2492),f=n(30142),v=n(41205),y=n(37118),p=n(47422),m=n(15869),g=n(54404),h=n(29166);a().accessToken=null!==d.c3&&void 0!==d.c3?d.c3:"";var b=e=>{let{dark:t,user:n}=e,i=(0,l.useRef)(null),u=(0,l.useRef)(null),[b,x]=(0,o.useAtom)(h.mC),[k,S]=(0,o.useAtom)(h.w2),w=(0,o.useAtomValue)(h.MA),[_,Z]=(0,l.useState)(!1),[C,P]=(0,l.useState)(!1),[D,E]=(0,l.useState)(!1),{load:M}=(0,v.Z)(),R=(0,o.useSetAtom)(h.Hx),F=async e=>{var t,n,r,o,i,a;let l=null===(t=u.current)||void 0===t?void 0:t.getCenter();if(!e)return;let s=(await (0,m.q)({latitude:null!==(r=null!==(n=null==e?void 0:e.latitude)&&void 0!==n?n:null==l?void 0:l.lat)&&void 0!==r?r:0,longitude:null!==(i=null!==(o=null==e?void 0:e.longitude)&&void 0!==o?o:null==l?void 0:l.lng)&&void 0!==i?i:0,country:null!==(a=null==e?void 0:e.country)&&void 0!==a?a:"ES"})).map(g.m);return R(s),s},L=async e=>{var t,n,r,o,i,a,l,c,d,f,v;if(!u.current)return;let y=await M(()=>F(e));s()(y)||(null===(n=u.current)||void 0===n||null===(t=n.getSource("points"))||void 0===t||t.setData({type:"FeatureCollection",features:y}
1),(null===(r=u.current)||void 0===r?void 0:r.getLayer("clusters"))&&(null===(d=u.current)||void 0===d||d.removeLayer("clusters")),(null===(o=u.current)||void 0===o?void 0:o.getLayer("cluster-count"))&&(null===(f=u.current)||void 0===f||f.removeLayer("cluster-count")),(null===(i=u.current)||void 0===i?void 0:i.getLayer("unclustered-point"))&&(null===(v=u.current)||void 0===v||v.removeLayer("unclustered-point")),null===(a=u.current)||void 0===a||a.addLayer({id:"clusters",type:"circle",source:"points",filter:["has","point_count"],paint:{"circle-color":"#FFCC05","circle-radius":20}}),null===(l=u.current)||void 0===l||l.addLayer({id:"cluster-count",type:"symbol",source:"points",filter:["has","point_count"],layout:{"text-field":"{point_count_abbreviated}","text-font":["DIN Offc Pro Medium","Arial Unicode MS Bold"],"text-size":12}}),null===(c=u.current)||void 0===c||c.addLayer({id:"unclustered-point",type:"symbol",source:"points",filter:["!",["has","point_count"]],layout:{"icon-image":"inpostDefault","icon-size":1}}))},j=async()=>{var e;let t=null===(e=u.current)||void 0===e?void 0:e.getCenter();t&&(E(!0),await M(async()=>{await L({latitude:t.lat,longitude:t.lng}),E(!1),Z(!1)}))},z=e=>{var t,n,r,o,i;e&&C&&(null===(n=u.current)||void 0===n||null===(t=n.getSource("selectedPoint"))||void 0===t||t.setData({type:"FeatureCollection",features:[e]}),(null===(r=u.current)||void 0===r?void 0:r.getLayer("selectedPoint"))&&(null===(i=u.current)||void 0===i||i.removeLayer("selectedPoint")),null===(o=u.current)||void 0===o||o.addLayer({id:"selectedPoint",type:"symbol",source:"selectedPoint",layout:{"icon-image":"inpostSelected"}}))};return(0,l.useEffect)(()=>{var e,n,r;i.current&&(u.current||(u.current=new(a()).Map({container:i.current,style:t?d.Of:d.Xn}),u.current.addControl(new(a()).NavigationControl),u.current.on("load",()=>{var e,t,n;P(!0),null===(e=u.current)||void 0===e||e.resize(),null===(t=u.current)||void 0===t||t.addSource("selectedPoint",{type:"geojson",data:{type:"FeatureCollection",features:[]}}),null===(n=u.current)||void 0===n||n.addSource("points",{type:"geojson",data:{type:"FeatureCollection",features:[]},cluster:!0,clusterRadius:50}),L()}),null===(e=u.current)||void 0===e||e.on("dragend",()=>{Z(!0)}),null===(n=u.current)||void 0===n||n.on("click","unclustered-point",e=>{var t;let n=null===(t=u.current)||void 0===t?void 0:t.queryRenderedFeatures(e.point,{layers:["unclustered-point"]});if(!(null==n?void 0:n.length))return;let r=n[0];S({type:"Feature",geometry:{type:"Point",coordinates:r.geometry.coordinates},properties:r.properties}),z(r)}),null===(r=u.current)||void 0===r||r.on("click","clusters",e=>{var t,n,r;let o=null===(t=u.current)||void 0===t?void 0:t.queryRenderedFeatures(e.point,{layers:["clusters"]});if(!(null==o?void 0:o.length))return;let i=null===(n=o[0].properties)||void 0===n?void 0:n.cluster_id;(null===(r=u.current)||void 0===r?void 0:r.getSource("points")).getClusterExpansionZoom(i,(e,t)=>{var n;!e&&t&&(null===(n=u.current)||void 0===n||n.easeTo({center:(null==o?void 0:o[0].geometry).coordinates,zoom:t}))})})))}),(0,l.useEffect)(()=>{b&&u.current&&(Z(!1),u.current.flyTo({center:[b.geometry.coordinates[0],b.geometry.coordinates[1]],zoom:13}),L({latitude:b.geometry.coordinates[1],longitude:b.geometry.coordinates[0],country:b.properties.context.country.country_code}))},[b]),(0,l.useEffect)(()=>{var e;k&&(null===(e=u.current)||void 0===e||e.flyTo({center:[k.geometry.coordinates[0],k.geometry.coordinates[1]]}),z(k))},[k]),(0,l.useEffect)(()=>{(null==n?void 0:n.address)&&(0,p.y)("".concat(null==n?void 0:n.address.address_1,", ").concat(null==n?void 0:n.address.location,", ").concat(null==n?void 0:n.address.province)).then(e=>{x(e.features[0])})},[x,n]),(0,l.useEffect)(()=>{u.current&&k&&C&&setTimeout(()=>{var e;null===(e=u.current)||void 0===e||e.resize()},200)},[w,k]),(0,l.useEffect)(()=>()=>{S(null),Z(!1),P(!1)},[R,S]),(0,r.BX)("div",{className:(0,f.cn)("relative mt-2 h-full w-full transition-all duration-300 md:max-h-[30rem]",k&&(w?"h-[calc(100vh-730px)] md:h-full":"h-[calc(100vh-540px)] md:h-full")),children:[_&&(0,r.tZ)(y.zx,{className:"absolute left-0 right-0 top-2 z-10 mx-auto max-w-52 text-center",onClick:j,children:D?(0,r.BX)("div",{className:"flex items-center gap-2",children:[(0,r.tZ)("p",{children:"Buscando"}),(0,r.tZ)(c.Z,{size:16,sx:{color:"white"}})]}):"Buscar en esta zona"}),(0,r.tZ)("div",{ref:i,className:"h-full w-full"})]})}},15869:function(e,t,n){"use strict";n.d(t,{q:function(){return r}});let r=async e=>{let{latitude:t,longitude:n,country:r,numPointRelais:o}=e,i=new URLSearchParams({latitude:t.toString(),longitude:n.toString(),country:r});return o&&i.append("numPointRelais",o.toString()),(await fetch("".concat("".concat("https://gee
1k.live","/api/inpost"),"?").concat(i.toString()),{method:"GET",cache:"no-store"})).json()}},41205:function(e,t,n){"use strict";var r=n(50486),o=n(77155);t.Z=()=>{let e=(0,r.useSetAtom)(o.RR);async function t(t){e(!0);try{return await t()}finally{e(!1)}}return{setLoading:e,load:t}}},31176:function(){},61212:function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{_:function(){return r}})}}]);

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.