PageSourceSearch

https://www.gaetaneferland.com/_next/static/chunks/7756-073b09389a82e9c7.js

js gaetaneferland.com collected 2026-10-07 21:59:16 UTC 16,422 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7756],{41485:function(e,n,t){var o=t(87462),r=t(63366),a=t(45697),i=t.n(a),s=t(67294),c=t(93967),l=t.n(c),u=["label","onClick","className"],d={label:i().string.isRequired,onClick:i().func},f=s.forwardRef((function(e,n){var t=e.label,a=e.onClick,i=e.className,c=(0,r.Z)(e,u);return s.createElement("button",(0,o.Z)({ref:n,type:"button",className:l()("close",i),onClick:a},c),s.createElement("span",{"aria-hidden":"true"},"\xd7"),s.createElement("span",{className:"sr-only"},t))}));f.displayName="CloseButton",f.propTypes=d,f.defaultProps={label:"Close"},n.Z=f},41068:function(e,n,t){var o,r=t(87462),a=t(63366),i=t(93967),s=t.n(i),c=t(67294),l=t(26273),u=t(93825),d=t(34509),f=["className","children"],m=((o={})[l.d0]="show",o[l.cn]="show",o),p=c.forwardRef((function(e,n){var t=e.className,o=e.children,i=(0,a.Z)(e,f),p=(0,c.useCallback)((function(e){(0,d.Z)(e),i.onEnter&&i.onEnter(e)}),[i]);return c.createElement(l.ZP,(0,r.Z)({ref:n,addEndListener:u.Z},i,{onEnter:p}),(function(e,n){return c.cloneElement(o,(0,r.Z)({},n,{className:s()("fade",t,o.props.className,m[e])}))}))}));p.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},p.displayName="Fade",n.Z=p},42563:function(e,n,t){t.d(n,{Z:function(){return he}});var o,r=t(63366),a=t(87462),i=t(93967),s=t.n(i),c=t(9351),l=t(23004),u=t(67216),d=t(30099);function f(e){if((!o&&0!==o||e)&&l.Z){var n=document.createElement("div");n.style.position="absolute",n.style.top="-9999px",n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),o=n.offsetWidth-n.clientWidth,document.body.removeChild(n)}return o}var m=t(32092),p=t(51176),v=t(67294);function h(e){const n=function(e){const n=(0,v.useRef)(e);return n.current=e,n}(e);(0,v.useEffect)((()=>()=>n.current()),[])}var g=t(94305);function b(e){void 0===e&&(e=(0,u.Z)());try{var n=e.activeElement;return n&&n.nodeName?n:null}catch(t){return e.body}}var E=t(90424),y=t(72950),Z=t(45697),w=t.n(Z),N=t(73935),k=t(6454),C=t(88833),O=t(11132);function x(e,n){e.classList?e.classList.add(n):(0,O.Z)(e,n)||("string"===typeof e.className?e.className=e.className+" "+n:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+n))}function R(e,n){return e.replace(new RegExp("(^|\\s)"+n+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function S(e,n){e.classList?e.classList.remove(n):"string"===typeof e.className?e.className=R(e.className,n):e.setAttribute("class",R(e.className&&e.className.baseVal||"",n))}var F=t(91505);function T(e){return"window"in e&&e.window===e?e:"nodeType"in(n=e)&&n.nodeType===document.DOCUMENT_NODE&&e.defaultView||!1;var n}function D(e){var n;return T(e)||(n=e)&&"body"===n.tagName.toLowerCase()?function(e){var n=T(e)?(0,u.Z)():(0,u.Z)(e),t=T(e)||n.defaultView;return n.body.clientWidth<t.innerWidth}(e):e.scrollHeight>e.clientHeight}var P=["template","script","style"],H=function(e,n,t){[].forEach.call(e.children,(function(e){-1===n.indexOf(e)&&function(e){var n=e.nodeType,t=e.tagName;return 1===n&&-1===P.indexOf(t.toLowerCase())}(e)&&t(e)}))};function j(e,n){n&&(e?n.setAttribute("aria-hidden","true"):n.removeAttribute("aria-hidden"))}var A,M=function(){function e(e){var n=void 0===e?{}:e,t=n.hideSiblingNodes,o=void 0===t||t,r=n.handleContainerOverflow,a=void 0===r||r;this.hideSiblingNodes=void 0,this.handleContainerOverflow=void 0,this.modals=void 0,this.containers=void 0,this.data=void 0,this.scrollbarSize=void 0,this.hideSiblingNodes=o,this.handleContainerOverflow=a,this.modals=[],this.containers=[],this.data=[],this.scrollbarSize=f()}var n=e.prototype;return n.isContainerOverflowing=function(e){var n=this.data[this.containerIndexFromModal(e)];return n&&n.overflowing},n.containerIndexFromModal=function(e){return function(e,n){var t=-1;return e.some((function(e,o){return!!n(e,o)&&(t=o,!0)})),t}(this.data,(function(n){return-1!==n.modals.indexOf(e)}))},n.setContainerStyle=function(e,n){var t={overflow:"hidden"};e.style={overflow:n.style.overflow,paddingRight:n.style.paddingRight},e.overflowing&&(t.paddingRight=parseInt((0,F.Z)(n,"paddingRight")||"0",10)+this.scrollbarSize+"px"),(0,F.Z)(n,t)},n.removeContainerStyle=function(e,n){Object.assign(n.style,e.style)},n.add=function(e,n,t){var o=this.modals.indexOf(e),r=this.containers.indexOf(n);if(-1!==o)return o;if(o=this.modals.length,this.modals.push(e),this.hideSiblingNodes&&function(e,n){var t=n.dialog,o=n.backdrop;H(e,[t,o],(function(e){return j(!0,e)}))}(n,e),-1!==r)return this.data[r].modals.push(e),o;var a={modals:[e],classes:t?t.split(/\s+/):[],overflowing:D(n)};return this.handleContainerOverflow&&this.setContainerStyle(a,n),a.classes.forEac
1h(x.bind(null,n)),this.containers.push(n),this.data.push(a),o},n.remove=function(e){var n=this.modals.indexOf(e);if(-1!==n){var t=this.containerIndexFromModal(e),o=this.data[t],r=this.containers[t];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.classes.forEach(S.bind(null,r)),this.handleContainerOverflow&&this.removeContainerStyle(o,r),this.hideSiblingNodes&&function(e,n){var t=n.dialog,o=n.backdrop;H(e,[t,o],(function(e){return j(!1,e)}))}(r,e),this.containers.splice(t,1),this.data.splice(t,1);else if(this.hideSiblingNodes){var a=o.modals[o.modals.length-1],i=a.backdrop;j(!1,a.dialog),j(!1,i)}}},n.isTopModal=function(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e},e}(),B=function(e){var n;return"undefined"===typeof document?null:null==e?(0,u.Z)().body:("function"===typeof e&&(e=e()),e&&"current"in e&&(e=e.current),null!=(n=e)&&n.nodeType&&e||null)};function I(e){var n=e||(A||(A=new M),A),t=(0,v.useRef)({dialog:null,backdrop:null});return Object.assign(t.current,{add:function(e,o){return n.add(t.current,e,o)},remove:function(){return n.remove(t.current)},isTopModal:function(){return n.isTopModal(t.current)},setDialogRef:(0,v.useCallback)((function(e){t.current.dialog=e}),[]),setBackdropRef:(0,v.useCallback)((function(e){t.current.backdrop=e}),[])})}var L=(0,v.forwardRef)((function(e,n){var t=e.show,o=void 0!==t&&t,i=e.role,s=void 0===i?"dialog":i,c=e.className,u=e.style,d=e.children,f=e.backdrop,m=void 0===f||f,g=e.keyboard,Z=void 0===g||g,w=e.onBackdropClick,O=e.onEscapeKeyDown,x=e.transition,R=e.backdropTransition,S=e.autoFocus,F=void 0===S||S,T=e.enforceFocus,D=void 0===T||T,P=e.restoreFocus,H=void 0===P||P,j=e.restoreFocusOptions,A=e.renderDialog,M=e.renderBackdrop,L=void 0===M?function(e){return v.createElement("div",e)}:M,_=e.manager,z=e.container,K=e.containerClassName,U=e.onShow,V=e.onHide,W=void 0===V?function(){}:V,$=e.onExit,q=e.onExited,G=e.onExiting,J=e.onEnter,Q=e.onEntering,X=e.onEntered,Y=(0,r.Z)(e,["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","backdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","containerClassName","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"]),ee=function(e,n){var t=(0,v.useState)((function(){return B(e)})),o=t[0],r=t[1];if(!o){var a=B(e);a&&r(a)}return(0,v.useEffect)((function(){n&&o&&n(o)}),[n,o]),(0,v.useEffect)((function(){var n=B(e);n!==o&&r(n)}),[e,o]),o}(z),ne=I(_),te=(0,k.Z)(),oe=(0,C.Z)(o),re=(0,v.useState)(!o),ae=re[0],ie=re[1],se=(0,v.useRef)(null);(0,v.useImperativeHandle)(n,(function(){return ne}),[ne]),l.Z&&!oe&&o&&(se.current=b()),x||o||ae?o&&ae&&ie(!1):ie(!0);var ce=(0,p.Z)((function(){if(ne.add(ee,K),pe.current=(0,y.Z)(document,"keydown",fe),me.current=(0,y.Z)(document,"focus",(function(){return setTimeout(ue)}),!0),U&&U(),F){var e=b(document);ne.dialog&&e&&!(0,E.Z)(ne.dialog,e)&&(se.current=e,ne.dialog.focus())}})),le=(0,p.Z)((function(){var e;(ne.remove(),null==pe.current||pe.current(),null==me.current||me.current(),H)&&(null==(e=se.current)||null==e.focus||e.focus(j),se.current=null)}));(0,v.useEffect)((function(){o&&ee&&ce()}),[o,ee,ce]),(0,v.useEffect)((function(){ae&&le()}),[ae,le]),h((function(){le()}));var ue=(0,p.Z)((function(){if(D&&te()&&ne.isTopModal()){var e=b();ne.dialog&&e&&!(0,E.Z)(ne.dialog,e)&&ne.dialog.focus()}})),de=(0,p.Z)((function(e){e.target===e.currentTarget&&(null==w||w(e),!0===m&&W())})),fe=(0,p.Z)((function(e){Z&&27===e.keyCode&&ne.isTopModal()&&(null==O||O(e),e.defaultPrevented||W())})),me=(0,v.useRef)(),pe=(0,v.useRef)(),ve=x;if(!ee||!(o||ve&&!ae))return null;var he=(0,a.Z)({role:s,ref:ne.setDialogRef,"aria-modal":"dialog"===s||void 0},Y,{style:u,className:c,tabIndex:-1}),ge=A?A(he):v.createElement("div",he,v.cloneElement(d,{role:"document"}));ve&&(ge=v.createElement(ve,{appear:!0,unmountOnExit:!0,in:!!o,onExit:$,onExiting:G,onExited:function(){ie(!0);for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];null==q||q.apply(void 0,n)},onEnter:J,onEntering:Q,onEntered:X},ge));var be=null;if(m){var Ee=R;be=L({ref:ne.setBackdropRef,onClick:de}),Ee&&(be=v.createElement(Ee,{appear:!0,in:!!o},be))}return v.createElement(v.Fragment,null,N.createPortal(v.createElement(v.Fragment,null,be,ge),ee))})),_={show:w().bool,container:w().any,onShow:w().func,onHide:w().func,backdrop:w().oneOfType([w().bool,w().oneOf(["static"])]),renderDialog:w().func,renderBackdrop:w().func,onEscapeKeyDown:w().func,onBackdropClick:w().func,containerClassName:w().string,keyboard:w().bool,transition:w().elementType,backdropTransition:w().elementType,autoFocus:w().bool,enforceFocus:w().bool,restoreFocus:w().bool,restoreFocusOptions:w().shape({preventScroll:w().bool}),onEnter:w().func,onEntering:w().func,onEntered:w().func,onExit:w().func,onExiting:w().func,onExited:w().func,manager:w().instanceOf(M)};L.displayName="Modal",L.propTypes=_;var z=Object.assign(L,{Manager:M}),K=(t(42473),t(94578)),U=t(60930),V=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",W=".sticky-top",$=".navbar-toggler",q=function(e){function n(){return e.apply(this,arguments)||this}(0,K.Z)(n,e);var t=n.prototype;return t.adjustAndStore=function(e,n,t){var o,r=n.style[e];n.dataset[e]=r,(0,F.Z)(n,((o={})[e]=parseFloat((0,F.Z)(n,e))+t+"px",o))},t.restore=function(e,n){var t,o=n.dataset[e];void 0!==o&&(delete n.dataset[e],(0,F.Z)(n,((t={})[e]=o,t)))},t.setContainerStyle=function(n,t){var o=this;if(e.prototype.setContainerStyle.call(this,n,t),n.overflowing){var r=f();
1(0,U.Z)(t,V).forEach((function(e){return o.adjustAndStore("paddingRight",e,r)})),(0,U.Z)(t,W).forEach((function(e){return o.adjustAndStore("marginRight",e,-r)})),(0,U.Z)(t,$).forEach((function(e){return o.adjustAndStore("marginRight",e,r)}))}},t.removeContainerStyle=function(n,t){var o=this;e.prototype.removeContainerStyle.call(this,n,t),(0,U.Z)(t,V).forEach((function(e){return o.restore("paddingRight",e)})),(0,U.Z)(t,W).forEach((function(e){return o.restore("marginRight",e)})),(0,U.Z)(t,$).forEach((function(e){return o.restore("marginRight",e)}))},n}(M),G=t(41068),J=t(66611),Q=(0,J.Z)("modal-body"),X=v.createContext({onHide:function(){}}),Y=t(76792),ee=["bsPrefix","className","contentClassName","centered","size","children","scrollable"],ne=v.forwardRef((function(e,n){var t=e.bsPrefix,o=e.className,i=e.contentClassName,c=e.centered,l=e.size,u=e.children,d=e.scrollable,f=(0,r.Z)(e,ee),m=(t=(0,Y.vE)(t,"modal"))+"-dialog";return v.createElement("div",(0,a.Z)({},f,{ref:n,className:s()(m,o,l&&t+"-"+l,c&&m+"-centered",d&&m+"-scrollable")}),v.createElement("div",{className:s()(t+"-content",i)},u))}));ne.displayName="ModalDialog";var te=ne,oe=(0,J.Z)("modal-footer"),re=t(41485),ae=["bsPrefix","closeLabel","closeButton","onHide","className","children"],ie=v.forwardRef((function(e,n){var t=e.bsPrefix,o=e.closeLabel,i=e.closeButton,c=e.onHide,l=e.className,u=e.children,d=(0,r.Z)(e,ae);t=(0,Y.vE)(t,"modal-header");var f=(0,v.useContext)(X),m=(0,p.Z)((function(){f&&f.onHide(),c&&c()}));return v.createElement("div",(0,a.Z)({ref:n},d,{className:s()(l,t)}),u,i&&v.createElement(re.Z,{label:o,onClick:m}))}));
1ie.displayName="ModalHeader",ie.defaultProps={closeLabel:"Close",closeButton:!1};var se,ce=ie,le=(0,t(39602).Z)("h4"),ue=(0,J.Z)("modal-title",{Component:le}),de=["bsPrefix","className","style","dialogClassName","contentClassName","children","dialogAs","aria-labelledby","aria-describedby","aria-label","show","animation","backdrop","keyboard","onEscapeKeyDown","onShow","onHide","container","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","onEntered","onExit","onExiting","onEnter","onEntering","onExited","backdropClassName","manager"],fe={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:te};function me(e){return v.createElement(G.Z,(0,a.Z)({},e,{timeout:null}))}function pe(e){return v.createElement(G.Z,(0,a.Z)({},e,{timeout:null}))}var ve=v.forwardRef((function(e,n){var t=e.bsPrefix,o=e.className,i=e.style,b=e.dialogClassName,E=e.contentClassName,y=e.children,Z=e.dialogAs,w=e["aria-labelledby"],N=e["aria-describedby"],k=e["aria-label"],C=e.show,O=e.animation,x=e.backdrop,R=e.keyboard,S=e.onEscapeKeyDown,F=e.onShow,T=e.onHide,D=e.container,P=e.autoFocus,H=e.enforceFocus,j=e.restoreFocus,A=e.restoreFocusOptions,M=e.onEntered,B=e.onExit,I=e.onExiting,L=e.onEnter,_=e.onEntering,K=e.onExited,U=e.backdropClassName,V=e.manager,W=(0,r.Z)(e,de),$=(0,v.useState)({}),G=$[0],J=$[1],Q=(0,v.useState)(!1),ee=Q[0],ne=Q[1],te=(0,v.useRef)(!1),oe=(0,v.useRef)(!1),re=(0,v.useRef)(null),ae=(0,m.Z)(),ie=ae[0],ce=ae[1],le=(0,p.Z)(T);t=(0,Y.vE)(t,"modal"),(0,v.useImperativeHandle)(n,(function(){return{get _modal(){return ie}}}),[ie]);var ue=(0,v.useMemo)((function(){return{onHide:le}}),[le]);function fe(){return V||(se||(se=new q),se)}function ve(e){if(l.Z){var n=fe().isContainerOverflowing(ie),t=e.scrollHeight>(0,u.Z)(e).documentElement.clientHeight;J({paddingRight:n&&!t?f():void 0,paddingLeft:!n&&t?f():void 0})}}var he=(0,p.Z)((function(){ie&&ve(ie.dialog)}));h((function(){(0,d.Z)(window,"resize",he),re.current&&re.current()}));var ge=function(){te.current=!0},be=function(e){te.current&&ie&&e.target===ie.dialog&&(oe.current=!0),te.current=!1},Ee=function(){ne(!0),re.current=(0,g.Z)(ie.dialog,(function(){ne(!1)}))},ye=function(e){"static"!==x?oe.current||e.target!==e.currentTarget?oe.current=!1:null==T||T():function(e){e.target===e.currentTarget&&Ee()}(e)},Ze=(0,v.useCallback)((function(e){return v.createElement("div",(0,a.Z)({},e,{className:s()(t+"-backdrop",U,!O&&"show")}))}),[O,U,t]),we=(0,a.Z)({},i,G);O||(we.display="block");return v.createElement(X.Provider,{value:ue},v.createElement(z,{show:C,ref:ce,backdrop:x,container:D,keyboard:!0,autoFocus:P,enforceFocus:H,restoreFocus:j,restoreFocusOptions:A,onEscapeKeyDown:function(e){R||"static"!==x?R&&S&&S(e):(e.preventDefault(),Ee())},onShow:F,onHide:T,onEnter:function(e,n){e&&(e.style.display="block",ve(e)),null==L||L(e,n)}
1,onEntering:function(e,n){null==_||_(e,n),(0,c.ZP)(window,"resize",he)},onEntered:M,onExit:function(e){null==re.current||re.current(),null==B||B(e)},onExiting:I,onExited:function(e){e&&(e.style.display=""),null==K||K(e),(0,d.Z)(window,"resize",he)},manager:fe(),containerClassName:t+"-open",transition:O?me:void 0,backdropTransition:O?pe:void 0,renderBackdrop:Ze,renderDialog:function(e){return v.createElement("div",(0,a.Z)({role:"dialog"},e,{style:we,className:s()(o,t,ee&&t+"-static"),onClick:x?ye:void 0,onMouseUp:be,"aria-label":k,"aria-labelledby":w,"aria-describedby":N}),v.createElement(Z,(0,a.Z)({},W,{onMouseDown:ge,className:b,contentClassName:E}),y))}}))}));ve.displayName="Modal",ve.defaultProps=fe,ve.Body=Q,ve.Header=ce,ve.Title=ue,ve.Footer=oe,ve.Dialog=te,ve.TRANSITION_DURATION=300,ve.BACKDROP_TRANSITION_DURATION=150;var he=ve},39602:function(e,n,t){var o=t(87462),r=t(67294),a=t(93967),i=t.n(a);n.Z=function(e){return r.forwardRef((function(n,t){return r.createElement("div",(0,o.Z)({},n,{ref:t,className:i()(n.className,e)}))}))}},69396:function(e,n,t){function o(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})),e}t.d(n,{Z:function(){return o}})}}]);

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.