PageSourceSearch

https://www.sarstedt.com/_next/static/chunks/4610.10b968201f20fcec.js

js sarstedt.com collected 2026-10-03 21:36:09 UTC 16,118 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4610],{4610:(e,t,n)=>{n.r(t),n.d(t,{Notifications:()=>eP,cleanNotifications:()=>P.oe,cleanNotificationsQueue:()=>P.vF,hideNotification:()=>P._b,notifications:()=>P.$e,showNotification:()=>P.Ds,updateNotification:()=>P.VR});var r=n(14232),i=n(40670);function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}var s=n(98477);let l={disabled:!1},c=r.createContext(null);var u="unmounted",d="exited",p="entering",f="entered",h="exiting",m=function(e){function t(t,n){var r,i=e.call(this,t,n)||this,o=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?o?(r=d,i.appearStatus=p):r=f:r=t.unmountOnExit||t.mountOnEnter?u:d,i.state={status:r},i.nextCallback=null,i}a(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==f&&(t=p):(n===p||n===f)&&(t=h)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===p?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===d&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[s.findDOMNode(this),r],o=i[0],a=i[1],c=this.getTimeouts(),u=r?c.appear:c.enter;if(!e&&!n||l.disabled)return void this.safeSetState({status:f},function(){t.props.onEntered(o)});this.props.onEnter(o,a),this.safeSetState({status:p},function(){t.props.onEntering(o,a),t.onTransitionEnd(u,function(){t.safeSetState({status:f},function(){t.props.onEntered(o,a)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s.findDOMNode(this);if(!t||l.disabled)return void this.safeSetState({status:d},function(){e.props.onExited(r)});this.props.onExit(r),this.safeSetState({status:h},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:d},function(){e.props.onExited(r)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(!n||r)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,i.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.createElement(c.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},t}(r.Component);function b(){}m.contextType=c,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:b,onEntering:b,onEntered:b,onExit:b,onExiting:b,onExited:b},m.UNMOUNTED=u,m.EXITED=d,m.ENTERING=p,m.ENTERED=f,m.EXITING=h;var x=n(44501);function E(e,t){var n=Object.create(null);return e&&r.Children.map(e,function(e){return e}
1).forEach(function(e){n[e.key]=t&&(0,r.isValidElement)(e)?t(e):e}),n}function g(e,t,n){return null!=n[t]?n[t]:e.props[t]}var v=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},y=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=r.handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}a(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,i,o=t.children,a=t.handleExited;return{children:t.firstRender?E(e.children,function(t){return(0,r.cloneElement)(t,{onExited:a.bind(null,t),in:!0,appear:g(t,"appear",e),enter:g(t,"enter",e),exit:g(t,"exit",e)})}):(Object.keys(i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var l in t){if(i[l])for(r=0;r<i[l].length;r++){var c=i[l][r];s[i[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(o,n=E(e.children))).forEach(function(t){var s=i[t];if((0,r.isValidElement)(s)){var l=t in o,c=t in n,u=o[t],d=(0,r.isValidElement)(u)&&!u.props.in;c&&(!l||d)?i[t]=(0,r.cloneElement)(s,{onExited:a.bind(null,s),in:!0,exit:g(s,"exit",e),enter:g(s,"enter",e)}):c||!l||d?c&&l&&(0,r.isValidElement)(u)&&(i[t]=(0,r.cloneElement)(s,{onExited:a.bind(null,s),in:u.props.in,exit:g(s,"exit",e),enter:g(s,"enter",e)})):i[t]=(0,r.cloneElement)(s,{in:!1})}}),i),firstRender:!1}},n.handleExited=function(e,t){var n=E(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=(0,x.A)({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=(0,i.A)(e,["component","childFactory"]),a=this.state.contextValue,s=v(this.state.children).map(n);return(delete o.appear,delete o.enter,delete o.exit,null===t)?r.createElement(c.Provider,{value:a},s):r.createElement(c.Provider,{value:a},r.createElement(t,o,s))},t}(r.Component);y.propTypes={},y.defaultProps={component:"div",childFactory:function(e){return e}};var O=n(1577),w=n(96533),k=n(20062),N=n(34222);let C=e=>(e+1)%1e6;var S=n(9285),j=n(98321),P=n(97389);let R=function([e,t],n){let r={};return"top"===e&&(r.top=n),"bottom"===e&&(r.bottom=n),"left"===t&&(r.left=n),"right"===t&&(r.right=n),"center"===t&&(r.left="50%",r.transform="translateX(-50%)"),r};var D=Object.defineProperty,T=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,$=(e,t,n)=>t in e?D(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,z=(e,t)=>{for(var n in t||(t={}))I.call(t,n)&&$(e,n,t[n]);if(T)for(var n of T(t))M.call(t,n)&&$(e,n,t[n]);return e};let V={left:"translateX(-100%)",right:"translateX(100%)","top-center":"translateY(-100%)","bottom-center":"translateY(100%)"},_={left:"translateX(0)",right:"translateX(0)","top-center":"translateY(0)","bottom-center":"translateY(0)"},B=function({state:e,maxHeight:t,positioning:n,transitionDuration:r}){let[i,o]=n,a="center"===o?`${i}-center`:o,s={opacity:0,maxHeight:t,transform:V[a],transitionDuration:`${r}ms, ${r}ms, ${r}ms`,transitionTimingFunction:"cubic-bezier(.51,.3,0,1.21), cubic-bezier(.51,.3,0,1.21), linear",transitionProperty:"opacity, transform, max-height"},l={opacity:1,transform:_[a]},c={opacity:0,maxHeight:0,transform:V[a]};return z(z({},s),{entering:l,entered:l,exiting:c,exited:c}[e])};var H=n(62117),L=n(80802),F=(0,L.r)((e,{color:t,radius:n,withTitle:r})=>{let i=e.fn.radius(n),o=e.fn.variant({variant:"filled",color:t});return{closeButton:e.fn.hover({backgroundColor:"dark"===e.colorScheme?e.colors.dark[8]:e.colors.gray[0]}),icon:{boxSizing:"border-box",marginRight:e.spacing.md,width:(0,O.D)(28),height:(0,O.D)(28),borderRadius:(0,O.D)(28),display:"flex",flex:"none",alignItems:"center",justifyContent:"center",backgroundColor:o.background,color:e.white},root:{overflow:"hidden",boxSizing:"border-box",position:"relative",display:"flex",alignItems:"center",paddingLeft:(0,O.D)(22),paddingRight:e.spacing.xs,paddingTop:e.spacing.xs,paddingBottom:e.spacing.xs,borderRadius:i,backgroundColor:"dark"===e.colorScheme?e.colors.dark[6]:e.white,boxShadow:e.shadows.lg,"&::before":{content:'""',dis
1play:"block",position:"absolute",width:(0,O.D)(6),top:i,bottom:i,left:(0,O.D)(4),borderRadius:i,backgroundColor:o.background},"&[data-with-icon]":{paddingLeft:e.spacing.xs,"&::before":{display:"none"}},"&[data-with-border]":{border:`${(0,O.D)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`}},body:{flex:1,overflow:"hidden",marginRight:e.spacing.xs},loader:{marginRight:e.spacing.md},title:{lineHeight:1.4,marginBottom:(0,O.D)(2),overflow:"hidden",textOverflow:"ellipsis",color:"dark"===e.colorScheme?e.white:e.colors.gray[9]},description:{color:r?"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6]:"dark"===e.colorScheme?e.colors.dark[0]:e.black,lineHeight:1.4,overflow:"hidden",textOverflow:"ellipsis"}}}),X=n(66402),q=n(30647),A=n(30846),U=Object.defineProperty,Q=Object.defineProperties,W=Object.getOwnPropertyDescriptors,Y=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,J=(e,t,n)=>t in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,K=(e,t)=>{for(var n in t||(t={}))G.call(t,n)&&J(e,n,t[n]);if(Y)for(var n of Y(t))Z.call(t,n)&&J(e,n,t[n]);return e};let ee={withCloseButton:!0},et=(0,r.forwardRef)((e,t)=>{let n=(0,H.a1)("Notification",ee,e),{className:i,color:o,radius:a,loading:s,withCloseButton:l,withBorder:c,title:u,icon:d,children:p,onClose:f,closeButtonProps:h,classNames:m,styles:b,unstyled:x,variant:E}=n,g=((e,t)=>{var n={};for(var r in e)G.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&Y)for(var r of Y(e))0>t.indexOf(r)&&Z.call(e,r)&&(n[r]=e[r]);return n})(n,["className","color","radius","loading","withCloseButton","withBorder","title","icon","children","onClose","closeButtonProps","classNames","styles","unstyled","variant"]),{classes:v,cx:y}=F({color:o,radius:a,withTitle:!!u},{name:"Notification",classNames:m,styles:b,unstyled:x,variant:E});return r.createElement(N.a,K({className:y(v.root,i),"data-with-icon":!!d||s||void 0,"data-with-border":c||void 0,role:"alert",ref:t},g),d&&!s&&r.createElement("div",{className:v.icon},d),s&&r.createElement(X.a,{size:28,color:o,className:v.loader}),r.createElement("div",{className:v.body},u&&r.createElement(q.E,{className:v.title,size:"sm",weight:500},u),r.createElement(q.E,{color:"dimmed",className:v.description,size:"sm"},p)),l&&r.createElement(A.J,Q(K({iconSize:16,color:"gray"},h),W({onClick:f,className:v.closeButton}))))});et.displayName="@mantine/core/Notification";var en=Object.defineProperty,er=Object.defineProperties,ei=Object.getOwnPropertyDescriptors,eo=Object.getOwnPropertySymbols,ea=Object.prototype.hasOwnProperty,es=Object.prototype.propertyIsEnumerable,el=(e,t,n)=>t in e?en(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ec=(e,t)=>{for(var n in t||(t={}))ea.call(t,n)&&el(e,n,t[n]);if(eo)for(var n of eo(t))es.call(t,n)&&el(e,n,t[n]);return e},eu=(e,t)=>{var n={};for(var r in e)ea.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&eo)for(var r of eo(e))0>t.indexOf(r)&&es.call(e,r)&&(n[r]=e[r]);return n};function ed(e){var{notification:t,autoClose:n,onHide:i,innerRef:o}=e,a=eu(e,["notification","autoClose","onHide","innerRef"]);let{autoClose:s,message:l}=t,c=eu(t,["autoClose","message"]),u="number"==typeof s?s:!1!==s&&!1!==n&&n,d=(0,r.useRef)(),p=()=>{i(t.id),window.clearTimeout(d.current)},f=()=>{clearTimeout(d.current)},h=()=>{"number"==typeof u&&(d.current=window.setTimeout(p,u))};return(0,r.useEffect)(()=>{"function"==typeof t.onOpen&&t.onOpen(t)},[]),(0,r.useEffect)(()=>(h(),f),[n,t.autoClose]),r.createElement(et,er(ec(ec({},c),a),ei({onClose:p,onMouseEnter:f,onMouseLeave:h,ref:o})),l)}ed.displayName="@mantine/notifications/NotificationContainer";var ep=(0,L.r)((e,{zIndex:t})=>({notifications:{width:`calc(100% - ${e.spacing.md} * 2)`,boxSizing:"border-box",position:"fixed",zIndex:t},notification:{"&:not(:first-of-type)":{marginTop:e.spacing.sm}}})),ef=n(77263),eh=Object.defineProperty,em=Object.defineProperties,eb=Object.getOwnPropertyDescriptors,ex=Object.getOwnPropertySymbols,eE=Object.prototype.hasOwnProperty,eg=Object.prototype.propertyIsEnumerable,ev=(e,t,n
1)=>t in e?eh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let ey=function({limit:e}){let{state:t,queue:n,update:i,cleanQueue:o}=function({initialValues:e=[],limit:t}){let[{state:n,queue:i},o]=(0,r.useState)({state:e.slice(0,t),queue:e.slice(t)});return{state:n,queue:i,add:(...e)=>o(n=>{let r=[...n.state,...n.queue,...e];return{state:r.slice(0,t),queue:r.slice(t)}}),update:e=>o(n=>{let r=e([...n.state,...n.queue]);return{state:r.slice(0,t),queue:r.slice(t)}}),cleanQueue:()=>o(e=>({state:e.state,queue:[]}))}}({initialValues:[],limit:e});return{notifications:t,queue:n,showNotification:e=>{let t=e.id||(0,ef.z)();return i(n=>e.id&&n.some(t=>t.id===e.id)?n:[...n,em(((e,t)=>{for(var n in t||(t={}))eE.call(t,n)&&ev(e,n,t[n]);if(ex)for(var n of ex(t))eg.call(t,n)&&ev(e,n,t[n]);return e})({},e),eb({id:t}))]),t},updateNotification:e=>i(t=>{let n=t.findIndex(t=>t.id===e.id);if(-1===n)return t;let r=[...t];return r[n]=e,r}),hideNotification:e=>i(t=>t.filter(t=>t.id!==e||("function"==typeof t.onClose&&t.onClose(t),!1))),cleanQueue:o,clean:()=>i(()=>[])}};var eO=Object.defineProperty,ew=Object.getOwnPropertySymbols,ek=Object.prototype.hasOwnProperty,eN=Object.prototype.propertyIsEnumerable,eC=(e,t,n)=>t in e?eO(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eS=(e,t)=>{for(var n in t||(t={}))ek.call(t,n)&&eC(e,n,t[n]);if(ew)for(var n of ew(t))eN.call(t,n)&&eC(e,n,t[n]);return e};let ej=["top-left","top-right","top-center","bottom-left","bottom-right","bottom-center"],eP=e=>{var{className:t,position:n="bottom-right",autoClose:i=4e3,transitionDuration:o=250,containerWidth:a=(0,O.D)(440),notificationMaxHeight:s=(0,O.D)(200),limit:l=5,zIndex:c=(0,w.I)("overlay"),style:u,children:d,target:p}=e,f=((e,t)=>{var n={};for(var r in e)ek.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&ew)for(var r of ew(e))0>t.indexOf(r)&&eN.call(e,r)&&(n[r]=e[r]);return n})(e,["className","position","autoClose","transitionDuration","containerWidth","notificationMaxHeight","limit","zIndex","style","children","target"]);let h=function(){let[,e]=(0,r.useReducer)(C,0);return e}(),b=(0,r.useRef)({}),x=(0,r.useRef)(0),{notifications:E,showNotification:g,updateNotification:v,hideNotification:D,clean:T,cleanQueue:I}=ey({limit:l}),{classes:M,cx:$,theme:z}=ep({zIndex:c}),V=(0,S.I)(),_=z.respectReducedMotion&&V?1:o,H=(ej.includes(n)?n:"bottom-right").split("-");(0,j.C)(()=>{E.length>x.current&&setTimeout(()=>h(),0),x.current=E.length},[E]),(0,P.ZK)({show:g,hide:D,update:v,clean:T,cleanQueue:I});let L=E.map(e=>r.createElement(m,{key:e.id,timeout:_,onEnter:()=>b.current[e.id].offsetHeight,nodeRef:{current:b.current[e.id]}},t=>r.createElement(ed,{innerRef:t=>{b.current[e.id]=t},notification:e,onHide:D,className:M.notification,autoClose:i,sx:[eS({},B({state:t,positioning:H,transitionDuration:_,maxHeight:s})),...Array.isArray(e.sx)?e.sx:[e.sx]]})));return r.createElement(k.Z,{target:p},r.createElement(N.a,eS({className:$(M.notifications,t),style:u,sx:eS({maxWidth:a},R(H,z.spacing.md))},f),r.createElement(y,null,L)))};eP.displayName="@mantine/notifications/Notifications",eP.show=P.$e.show,eP.hide=P.$e.hide,eP.update=P.$e.update,eP.clean=P.$e.clean,eP.cleanQueue=P.$e.cleanQueue}}]);

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.