PageSourceSearch

https://www.meteo-nice.org/_next/static/chunks/7638.5e151060f1633edb.js

js meteo-nice.org collected 2026-09-29 05:31:29 UTC 17,249 bytes, 1 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="d9e8f999-6156-43a9-9535-0a3b2ac3b734",t._sentryDebugIdIdentifier="sentry-dbid-d9e8f999-6156-43a9-9535-0a3b2ac3b734")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7638],{7638:(t,e,n)=>{function r(t){return"number"==typeof t}function i(t){return"string"==typeof t}function o(t){return"boolean"==typeof t}function u(t){return"[object Object]"===Object.prototype.toString.call(t)}function c(t){return Math.abs(t)}function a(t){return Math.sign(t)}function l(t){return p(t).map(Number)}function s(t){return t[f(t)]}function f(t){return Math.max(0,t.length-1)}n.r(e),n.d(e,{default:()=>x});function d(t,e=0){return Array.from(Array(t),(t,n)=>e+n)}function p(t){return Object.keys(t)}function m(t,e){return void 0!==e.MouseEvent&&t instanceof e.MouseEvent}function g(){let t=[],e={add:function(n,r,i,o={passive:!0}){let u;return"addEventListener"in n?(n.addEventListener(r,i,o),u=()=>n.removeEventListener(r,i,o)):(n.addListener(i),u=()=>n.removeListener(i)),t.push(u),e},clear:function(){t=t.filter(t=>t())}};return e}function h(t=0,e=0){let n=c(t-e);function r(n){return n<t||n>e}return{length:n,max:e,min:t,constrain:function(n){return r(n)?n<t?t:e:n},reachedAny:r,reachedMax:function(t){return t>e},reachedMin:function(e){return e<t},removeOffset:function(t){return n?t-n*Math.ceil((t-e)/n):t}}}function y(t){let e=t;function n(t){return r(t)?t:t.get()}return{get:function(){return e},set:function(t){e=n(t)},add:function(t){e+=n(t)},subtract:function(t){e-=n(t)}}}function b(t,e){let n="x"===t.scroll?function(t){return`translate3d(${t}px,0px,0px)`}:function(t){return`translate3d(0px,${t}px,0px)`},r=e.style,i=null,o=!1;return{clear:function(){!o&&(r.transform="",e.getAttribute("style")||e.removeAttribute("style"))},to:function(e){if(o)return;let u=Math.round(100*t.direction(e))/100;u!==i&&(r.transform=n(u),i=u)},toggleActive:function(t){o=!t}}}let v={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function x(t,e,n){let w,D,E,S,I,L=t.ownerDocument,M=L.defaultView,k=function(t){function e(t,e){return function t(e,n){return[e,n].reduce((e,n)=>(p(n).forEach(r=>{let i=e[r],o=n[r],c=u(i)&&u(o);e[r]=c?t(i,o):o}),e),{})}(t,e||{})}return{mergeOptions:e,optionsAtMedia:function(n){let r=n.breakpoints||{},i=p(r).filter(e=>t.matchMedia(e).matches).map(t=>r[t]).reduce((t,n)=>e(t,n),{});return e(n,i)},optionsMediaQueries:function(e){return e.map(t=>p(t.breakpoints||{})).reduce((t,e)=>t.concat(e),[]).map(t.matchMedia)}}}(M),F=(I=[],{init:function(t,e){return(I=e.filter(({options:t})=>!1!==k.optionsAtMedia(t).active)).forEach(e=>e.init(t,k)),e.reduce((t,e)=>Object.assign(t,{[e.name]:e}),{})},destroy:function(){I=I.filter(t=>t.destroy())}}),A=g(),O=function(){let t,e={},n={init:function(e){t=e},emit:function(r){return(e[r]||[]).forEach(e=>e(t,r)),n},off:function(t,r){return e[t]=(e[t]||[]).filter(t=>t!==r),n},on:function(t,r){return e[t]=(e[t]||[]).concat([r]),n},clear:function(){e={}}};return n}(),{mergeOptions:P,optionsAtMedia:T,optionsMediaQueries:N}=k,{on:H,off:V,emit:z}=O,_=!1,C=P(v,x.globalOptions),j=P(C),B=[];function q(e,n){if(_)return;j=T(C=P(C,e)),B=n||B;let{container:u,slides:v}=j;E=(i(u)?t.querySelector(u):u)||t.children[0];let x=i(v)?E.querySelectorAll(v):v;S=[].slice.call(x||E.children),w=function e(n){let u=function(t,e,n,u,v,x,w){let D,E,{align:S,axis:I,direction:L,startIndex:M,loop:k,duration:F,dragFree:A,dragThreshold:O,inViewThreshold:P,slidesToScroll:T,skipSnaps:N,containScroll:H,watchResize:V,watchSlides:z,watchDrag:_,watchFocus:C}=x,j={measure:function(t){let{offsetTop:e,offsetLeft:n,offsetWidth:r,offsetHeight:i}=t;return{top:e,right:n+r,bottom:e+i,left:n,width:r,height:i}}},B=j.measure(e),q=n.map(j.measure),R=function(t,e){let n="rtl"===e,r="y"===t,i=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(t){let{height:e,width:n}=t;return r?e:n},direction:function(t){return t*i}}}(I,L),U=R.measureSize(B),$={measure:function(t){return t/100*U}},X=function(t,e){let n={start:function(){return 0},center:function(t){return(e-t)/2},end:function(t){return e-t}};return{measure:function(r,o){return i(t)?n[t](r):t(e,r,o)}}}(S,U),Q=!k&&!!H,{slideSizes:Y,slideSizesWithGaps:G,startGap:J,endGap:K}=function(t,e,n,r,i,o){let{measureSize:u,startEdge:a,endEdge:l}=t,d=n[0]&&i,p=function(){if(!d)return 0;let t=n[0];return c(e[a]-t[a])}(),m=d?parseFloat(o.getComputedStyle(s(r)).getPropertyValue(`margin-${l}`)):0,g=n.map(u),h=n.map((t,e,n)=>{let r=e===f(n);return e?r?g[e]+m:n[e+1][a]-t[a]:g[e]+p}).map(c);return{slideSizes:g,slideSizesWithGaps:h,startGap:p,endGap:m}}(R,B,q,n,k||!!H,v),W=function(t,e,n,i,o,u,a,d,p){let{startEdge:m,endEdge:g,direction:h}=t,y=r(n);return{groupSlides:function(t){return y?l(t).filter(t=>t%n==0).map(e=>t.slice(e,e+n)):t.length?l(t).reduce((n,r,l)=>
1{let p=s(n)||0,y=r===f(t),b=o[m]-u[p][m],v=o[m]-u[r][g],x=i||0!==p?0:h(a),w=c(v-(!i&&y?h(d):0)-(b+x));return l&&w>e+2&&n.push(r),y&&n.push(t.length),n},[]).map((e,n,r)=>{let i=Math.max(r[n-1]||0);return t.slice(i,e)}):[]}}}(R,U,T,k,B,q,J,K,0),{snaps:Z,snapsAligned:tt}=function(t,e,n,r,i){let{startEdge:o,endEdge:u}=t,{groupSlides:a}=i,l=a(r).map(t=>s(t)[u]-t[0][o]).map(c).map(e.measure),f=r.map(t=>n[o]-t[o]).map(t=>-c(t)),d=a(f).map(t=>t[0]).map((t,e)=>t+l[e]);return{snaps:f,snapsAligned:d}}(R,X,B,q,W),te=-s(Z)+s(G),{snapsContained:tn,scrollContainLimit:tr}=function(t,e,n,r,i){let o=h(-e+t,0),u=n.map((t,e)=>{let{min:r,max:i}=o,u=o.constrain(t),a=e===f(n);return e?a||function(t,e){return 1>=c(t-e)}(r,u)?r:function(t,e){return 1>=c(t-e)}(i,u)?i:u:i}).map(t=>parseFloat(t.toFixed(3))),a=function(){let t=u[0],e=s(u);return h(u.lastIndexOf(t),u.indexOf(e)+1)}();return{snapsContained:function(){if(e<=t+2)return[o.max];if("keepSnaps"===r)return u;let{min:n,max:i}=a;return u.slice(n,i)}(),scrollContainLimit:a}}(U,te,tt,H,0),ti=Q?tn:tt,{limit:to}=function(t,e,n){let r=e[0];return{limit:h(n?r-t:s(e),r)}}(te,ti,k),tu=function t(e,n,r){let{constrain:i}=h(0,e),o=e+1,u=a(n);function a(t){return r?c((o+t)%o):i(t)}function l(){return t(e,u,r)}let s={get:function(){return u},set:function(t){return u=a(t),s},add:function(t){return l().set(u+t)},clone:l};return s}(f(ti),M,k),tc=tu.clone(),ta=l(n),tl=function(t,e,n,r){let i=g(),o=1e3/60,u=null,c=0,a=0;function l(t){if(!a)return;u||(u=t,n(),n());let i=t-u;for(u=t,c+=i;c>=o;)n(),c-=o;r(c/o),a&&(a=e.requestAnimationFrame(l))}function s(){e.cancelAnimationFrame(a),u=null,c=0,a=0}return{init:function(){i.add(t,"visibilitychange",()=>{t.hidden&&(u=null,c=0)})},destroy:function(){s(),i.clear()},start:function(){a||(a=e.requestAnimationFrame(l))},stop:s,update:n,render:r}}(u,v,()=>(({dragHandler:t,scrollBody:e,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(t.pointerDown()),e.seek()})(tE),t=>(({scrollBody:t,translate:e,location:n,offsetLocation:r,previousLocation:i,scrollLooper:o,slideLooper:u,dragHandler:c,animation:a,eventHandler:l,scrollBounds:s,options:{loop:f}},d)=>{let p=t.settled(),m=!s.shouldConstrain(),g=f?p:p&&m;g&&!c.pointerDown()&&(a.stop(),l.emit("settle")),g||l.emit("scroll");let h=n.get()*d+i.get()*(1-d);r.set(h),f&&(o.loop(t.direction()),u.loop()),e.to(r.get())})(tE,t)),ts=ti[tu.get()],tf=y(ts),td=y(ts),tp=y(ts),tm=y(ts),tg=function(t,e,n,r,i,o){let u=0,l=0,s=i,f=.68,d=t.get(),p=0;function m(t){return s=t,h}function g(t){return f=t,h}let h={direction:function(){return l},duration:function(){return s},velocity:function(){return u},seek:function(){let e=r.get()-t.get(),i=0;return s?(n.set(t),u+=e/s,u*=f,d+=u,t.add(u),i=d-p):(u=0,n.set(r),t.set(r),i=e),l=a(i),p=d,h},settled:function(){return .001>c(r.get()-e.get())},useBaseFriction:function(){return g(.68)},useBaseDuration:function(){return m(i)},useFriction:g,useDuration:m};return h}(tf,tp,td,tm,F,.68),th=function(t,e,n,r,i){let{reachedAny:o,removeOffset:u,constrain:l}=r;function f(t){return t.concat().sort((t,e)=>c(t)-c(e))[0]}function d(e,r){let i=[e,e+n,e-n];if(!t)return e;if(!r)return f(i);let o=i.filter(t=>a(t)===r);return o.length?f(o):s(i)-n}return{byDistance:function(n,r){let a=i.get()+n,{index:s,distance:f}=function(n){let r=t?u(n):l(n),{index:i}=e.map((t,e)=>({diff:d(t-r,0),index:e})).sort((t,e)=>c(t.diff)-c(e.diff))[0];return{index:i,distance:r}}(a),p=!t&&o(a);if(!r||p)return{index:s,distance:n};let m=n+d(e[s]-f,0);return{index:s,distance:m}},byIndex:function(t,n){let r=d(e[t]-i.get(),n);return{index:t,distance:r}},shortcut:d}}(k,ti,te,to,tm),ty=function(t,e,n,r,i,o,u){function c(i){let c=i.distance,a=i.index!==e.get();o.add(c),c&&(r.duration()?t.start():(t.update(),t.render(1),t.update())),a&&(n.set(e.get()),e.set(i.index),u.emit("select"))}return{distance:function(t,e){c(i.byDistance(t,e))},index:function(t,n){let r=e.clone().set(t);c(i.byIndex(r.get(),n))}}}(tl,tu,tc,tg,th,tm,w),tb=function(t){let{max:e,length:n}=t;return{get:function(t){return n?-((t-e)/n):0}}}(to),tv=g(),tx=function(t,e,n,r){let i,o={},u=null,c=null,a=!1;return{init:function(){i=new IntersectionObserver(t=>{a||(t.forEach(t=>{o[e.indexOf(t.target)]=t}),u=null,c=null,n.emit("slidesInView"))},{root:t.parentElement,threshold:r}),e.forEach(t=>i.observe(t))},destroy:function(){i&&i.disconnect(),a=!0},get:function(t=!0){if(t&&u)return u;if(!t&&c)return c;let e=p(o).reduce((e,n)=>{let r=parseInt(n),{isIntersecting:i}=o[r];return(t&&i||!t&&!i)&&e.push(r),e},[]);return t&&(u=e),t||(c=e),e}}}(e,n,w,P),{slideRegistry:tw}=function(t,e,n,r,i,o){let{groupSlides:u}=i,{min:c,max:a}=r;return{slideRegistry:function(){let r=u(o);return 1===n.length?[o]:t&&"keepSnaps"!==e?r.slice(c,a).map((t,e,n)=>{let r=e===f(n);return e?r?d(f(o)-s(n)[0]+1,s(n)[0]):t:d(s(n[0])+1)}):r}()}}(Q,H,ti,tr,W,ta),tD=function(t,e,n,i,u,c,a,l){let s={passive:!0,capture:!0},f=0;function d(t){"Tab"===t.code&&(f=new Date().getTime())}return{init:function(p){l&&(c.add(document,"keydown",d,!1),e.forEach((e,d)=>{c.add(e,"focus",e=>{(o(l)||l(p,e))&&function(e){if(new Date().getTime()-f>10)return;a.emit("slideFocusStart"),t.scrollLeft=0;let o=n.findIndex(t=>t.includes(e));r(o)&&(u.useDuration(0),i.index(o,0),a.emit("slideFocus"))}(d)},s)}))}}}(t,n,tw,ty,tg,tv,w,C),tE={ownerDocument:u,ownerWindow:v,eventHandler:w,containerRect:B,slideRects:q,animation:tl,axis:R,dragHandler:function(t,e,n,r,i,u,l,s,f,d,p,y,b,v,x,w,D,E,S){let{cross:I,direction:L}=t,M=["INPUT","SELECT","TEXTAREA"],k={passive:!1},F=g(),A=g(),O=h(50,225).constrain(v.measure(20)),P={mouse:300,touch:400},T={mouse:500,touch:600},N=x?43:25,H=!1,V=0,z=0,_=!1,C=!1,j=!1,B=!1;function q(t){if(!m(t,r)&&t.touches.length>=2)return R(t);let e=u.readPoint(t),n=u.readPoint(t,I),o=c(e-V),a=c(n-z);if(!C&&!B&&(!t.cancelable||!(C=o>a)))return R(t);let l=u.pointerMove(t);o>w&&(j=!0),d.useFriction(.3).useDuration(.75),s.start(),i.add(L(l)),t.preventDefault()}function R(t){let e=p.byDistance(0,!1).index!==y.get(),n=u.pointerUp(t)*(x?T:P)[B?"mouse":"touch"],r=function(t,e){let n=y.add(-1*a(t)),r=p.byDistance(t,!x).distance;return x||c(t)<O?r:D&&e?.5*r:p.byIndex(n.get(),0).distance}(L(n),e),i=function(t,e){var n,r;if(0===t||0===e||c(t)<=c(e))return 0;let i=(n=c(t),r=c(e),c(n-r));return c(i/t)}(n,r);C=!1,_=!1,A.clear(),d.useDuration(N-10*i).useFriction(.68+i/50),f.distance(r,!
1x),B=!1,b.emit("pointerUp")}function U(t){j&&(t.stopPropagation(),t.preventDefault(),j=!1)}return{init:function(t){S&&F.add(e,"dragstart",t=>t.preventDefault(),k).add(e,"touchmove",()=>void 0,k).add(e,"touchend",()=>void 0).add(e,"touchstart",a).add(e,"mousedown",a).add(e,"touchcancel",R).add(e,"contextmenu",R).add(e,"click",U,!0);function a(a){(o(S)||S(t,a))&&function(t){let o=m(t,r);if((B=o,j=x&&o&&!t.buttons&&H,H=c(i.get()-l.get())>=2,!o||0===t.button)&&!function(t){let e=t.nodeName||"";return M.includes(e)}(t.target)){_=!0,u.pointerDown(t),d.useFriction(0).useDuration(0),i.set(l);let r=B?n:e;A.add(r,"touchmove",q,k).add(r,"touchend",R).add(r,"mousemove",q,k).add(r,"mouseup",R),V=u.readPoint(t),z=u.readPoint(t,I),b.emit("pointerDown")}}(a)}},destroy:function(){F.clear(),A.clear()},pointerDown:function(){return _}}}(R,t,u,v,tm,function(t,e){let n,r;function i(t){return t.timeStamp}function o(n,r){let i=r||t.scroll,o=`client${"x"===i?"X":"Y"}`;return(m(n,e)?n:n.touches[0])[o]}return{pointerDown:function(t){return n=t,r=t,o(t)},pointerMove:function(t){let e=o(t)-o(r),u=i(t)-i(n)>170;return r=t,u&&(n=t),e},pointerUp:function(t){if(!n||!r)return 0;let e=o(r)-o(n),u=i(t)-i(n),a=i(t)-i(r)>170,l=e/u;return u&&!a&&c(l)>.1?l:0},readPoint:o}}(R,v),tf,tl,ty,tg,th,tu,w,$,A,O,N,0,_),eventStore:tv,percentOfView:$,index:tu,indexPrevious:tc,limit:to,location:tf,offsetLocation:tp,previousLocation:td,options:x,resizeHandler:function(t,e,n,r,i,u,a){let l,s,f=[t].concat(r),d=[],p=!1;function m(t){return i.measureSize(a.measure(t))}return{init:function(i){u&&(s=m(t),d=r.map(m),l=new ResizeObserver(n=>{(o(u)||u(i,n))&&function(n){for(let o of n){if(p)return;let n=o.target===t,u=r.indexOf(o.target),a=n?s:d[u];if(c(m(n?t:r[u])-a)>=.5){i.reInit(),e.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{f.forEach(t=>l.observe(t))}))},destroy:function(){p=!0,l&&l.disconnect()}}}(e,w,v,n,R,V,j),scrollBody:tg,scrollBounds:function(t,e,n,r,i){let o=i.measure(10),u=i.measure(50),a=h(.1,.99),l=!1;function s(){return!l&&!!t.reachedAny(n.get())&&!!t.reachedAny(e.get())}return{shouldConstrain:s,constrain:function(i){if(!s())return;let l=t.reachedMin(e.get())?"min":"max",f=c(t[l]-e.get()),d=n.get()-e.get(),p=a.constrain(f/u);n.subtract(d*p),!i&&c(d)<o&&(n.set(t.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(t){l=!t}}}(to,tp,tm,tg,$),scrollLooper:function(t,e,n,r){let{reachedMin:i,reachedMax:o}=h(e.min+.1,e.max+.1);return{loop:function(e){if(!(1===e?o(n.get()):-1===e&&i(n.get())))return;let u=-1*e*t;r.forEach(t=>t.add(u))}}}(te,to,tp,[tf,tp,td,tm]),scrollProgress:tb,scrollSnapList:ti.map(tb.get),scrollSnaps:ti,scrollTarget:th,scrollTo:ty,slideLooper:function(t,e,n,r,i,o,u,c,a){let s=l(i),f=l(i).reverse(),d=g(m(f,u[0]),n,!1).concat(g(m(s,e-u[0]-1),-n,!0));function p(t,e){return t.reduce((t,e)=>t-i[e],e)}function m(t,e){return t.reduce((t,n)=>p(t,e)>0?t.concat([n]):t,[])}function g(i,u,l){let s=o.map((t,n)=>({start:t-r[n]+.5+u,end:t+e-.5+u}));return i.map(e=>{let r=l?0:-n,i=l?n:0,o=s[e][l?"end":"start"];return{index:e,loopPoint:o,slideLocation:y(-1),translate:b(t,a[e]),target:()=>c.get()>o?r:i}})}return{canLoop:function(){return d.every(({index:t})=>.1>=p(s.filter(e=>e!==t),e))},clear:function(){d.forEach(t=>t.translate.clear())},loop:function(){d.forEach(t=>{let{target:e,translate:n,slideLocation:r}=t,i=e();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:d}}(R,U,te,Y,G,Z,ti,tp,n),slideFocus:tD,slidesHandler:(E=!1,{init:function(t){z&&(D=new MutationObserver(e=>{!E&&(o(z)||z(t,e))&&function(e){for(let n of e)if("childList"===n.type){t.reInit(),w.emit("slidesChanged");break}}(e)})).observe(e,{childList:!0})},destroy:function(){D&&D.disconnect(),E=!0}}),slidesInView:tx,slideIndexes:ta,slideRegistry:tw,slidesToScroll:W,target:tm,translate:b(R,e)};return tE}(t,E,S,L,M,n,O);return n.loop&&!u.slideLooper.canLoop()?e(Object.assign({},n,{loop:!1})):u}(j),N([C,...B.map(({options:t})=>t)]).forEach(t=>A.add(t,"change",R)),j.active&&(w.translate.to(w.location.get()),w.animation.init(),w.slidesInView.init(),w.slideFocus.init(Q),w.eventHandler.init(Q),w.resizeHandler.init(Q),w.slidesHandler.init(Q),w.options.loop&&w.slideLooper.loop(),E.offsetParent&&S.length&&w.dragHandler.init(Q),D=F.init(Q,B))}function R(t,e){let n=X();U(),q(P({startIndex:n},t),e),O.emit("reInit")}function U(){w.dragHandler.destroy(),w.eventStore.clear(),w.translate.clear(),w.slideLooper.clear(),w.resizeHandler.destroy(),w.slidesHandler.destroy(),w.slidesInView.destroy(),w.animation.destroy(),F.destroy(),A.clear()}function $(t,e,n){j.active&&!_&&(w.scrollBody.useBaseFriction().useDuration(!0===e?0:j.duration),w.scrollTo.index(t,n||0))}function X(){return w.index.get()}let Q={canScrollNext:function(){return w.index.add(1).get()!==X()},canScrollPrev:function(){return w.index.add(-1).get()!==X()},containerNode:function(){return E},internalEngine:function(){return w},destroy:function(){_||(_=!0,A.clear(),U(),O.emit("destroy"),O.clear())},off:V,on:H,emit:z,plugins:function(){return D},previousScrollSnap:function(){return w.indexPrevious.get()},reInit:R,rootNode:function(){return t},scrollNext:function(t){$(w.index.add(1).get(),t,-1)},scrollPrev:function(t){$(w.index.add(-1).get(),t,1)},scrollProgress:function(){return w.scrollProgress.get(w.location.get())},scrollSnapList:function(){return w.scrollSnapList}
1,scrollTo:$,selectedScrollSnap:X,slideNodes:function(){return S},slidesInView:function(){return w.slidesInView.get()},slidesNotInView:function(){return w.slidesInView.get(!1)}};return q(e,n),setTimeout(()=>O.emit("init"),0),Q}x.globalOptions=void 0}}]);

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.