PageSourceSearch

https://whiteclover.io/_next/static/chunks/337.71f2a74888ed27f2.js

js whiteclover.io collected 2026-10-02 00:00:09 UTC 22,847 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1cf46ccc-252f-4549-982b-abb7fa4ebbd9",e._sentryDebugIdIdentifier="sentry-dbid-1cf46ccc-252f-4549-982b-abb7fa4ebbd9")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[337],{58272:function(e,t,n){"use strict";var o=n(7320),a=n(90512),s=n(69390),i=n.n(s);t.Z=e=>{let{name:t,filled:n,color:s,size:l="m",rotate:r="0deg"}=e;return s?(0,o.tZ)("span",{role:"img","aria-label":t,className:(0,a.Z)(i().Icon,i()[l],i().masked),style:{backgroundColor:s,maskImage:'url("'.concat(t,'")'),WebkitMaskImage:'url("'.concat(t,'")'),rotate:r}}):(0,o.tZ)("img",{className:(0,a.Z)(i().Icon,i()[l]),src:t,style:{rotate:r},alt:t})}},70337:function(e,t,n){"use strict";n.r(t);var o=n(7320),a=n(11720),s=n(91444),i=n(28333),l=n(58272),r=n(822),c=n.n(r);t.default=e=>{var t;let{title:n,description:r,buttonText:d,CustomGiftComponentGraphicImage:f,CustomGiftComponentCustomVisible:m,CustomGiftComponentCustomGiftDetails:p,GoldenHourGiftComponentCustomVisible:g,GoldenHourGiftComponentCustomGiftDetails:h}=e,[y,v]=(0,a.useState)(!1),_=(0,a.useRef)(null);(0,i.Z)(_,()=>v(!1));let C=f&&!f.startsWith("/")?"".concat("https://rest-filestore.whiteclover.uk/files","/").concat(f):"/templates/GoldenHour/giftComponentGraphic.svg",b=null!==(t=null!=p?p:h)&&void 0!==t?t:[];return(null!=m?m:g)!==!1?(0,o.BX)("section",{id:"CustomGiftComponent",className:c().CustomGiftComponent,children:[(0,o.BX)("div",{className:c().inside,children:[(0,o.tZ)("img",{src:C,alt:"gift graphic"}),(0,o.BX)("div",{className:c().insideInfo,children:[(0,o.tZ)("h2",{children:n||"Send A Gift"}),(0,o.tZ)("p",{children:r||"Click the button to send us a gift by using the bank options and accounts listed. Thank you so much for this kind gesture and we're looking forward to seeing you at our wedding."}),(0,o.BX)("div",{ref:_,style:{display:"inline-flex"},children:[(0,o.BX)("button",{type:"button",className:c().giftButton,onClick:()=>v(e=>!e),children:[(0,o.tZ)(l.Z,{name:"/assets/icons/icon-gift.svg",size:"sPlus",color:"#ffffff"}),d||"Send a Gift"]}),y&&(0,o.BX)(o.HY,{children:[(0,o.tZ)("div",{className:c().giftModalOverlay,onClick:()=>v(!1),role:"button",tabIndex:0,"aria-label":"Close payment details",onKeyDown:e=>"Enter"===e.key&&v(!1)}),(0,o.BX)("div",{className:c().giftModal,children:[(0,o.BX)("div",{className:c().giftModalHeader,children:[(0,o.tZ)("h3",{className:c().giftModalTitle,children:"Payment Details"}),(0,o.tZ)("button",{type:"button",className:c().closeButton,onClick:()=>v(!1),children:(0,o.tZ)(l.Z,{name:"/assets/icons/icon-cancel.svg",color:"#4E4542",size:"m"})})]}),(0,o.tZ)("div",{className:c().giftModalGrid,children:null==b?void 0:b.map((e,t)=>(0,o.tZ)(u,{detail:e},"giftDetails"+t))})]})]})]})]})]}),(0,o.tZ)(s.Ix,{containerId:"custom-gift-toast",closeButton:!1,hideProgressBar:!0,limit:1,style:{zIndex:9999},toastStyle:{backgroundColor:"var(--custom-text-color, #2D2926)",color:"#FCF8F1",borderRadius:8,padding:"12px 24px",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.15)",fontFamily:"var(--custom-body-font, Montserrat), sans-serif",fontSize:14,minHeight:"auto"},icon:(0,o.tZ)("img",{src:"/assets/icons/icon-accept.svg",alt:"accept",style:{height:16,width:16,filter:"brightness(0) invert(1)"}}),position:"bottom-center",autoClose:2500,newestOnTop:!0})]}):(0,o.tZ)(a.Fragment,{})};let u=e=>{var t,n;let i;let[l,r]=(0,a.useState)(!1),u=async e=>{try{await navigator.clipboard.writeText(e)}catch(n){let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.left="-9999px",t.style.top="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}},d=e.detail.iban?e.detail.iban:e.detail.link,f=!e.detail.iban&&(i=e.detail.link)&&(i.startsWith("http://")||i.startsWith("https://")||i.startsWith("www."));return(0,o.BX)("div",{className:c().giftModalDetails,children:[(0,o.tZ)("img",{src:"/assets/icons/icon-"+(null===(n=({bank:{name:"Bank",color:"#8B6F5E"},paypal:{name:"Paypal",color:"#0079C1"},revolut:{name:"Revolut",color:"#4E4542"},iris:{name:"IRIS",color:"#6A1B9A"}}
1)[e.detail.type])||void 0===n?void 0:null===(t=n.name)||void 0===t?void 0:t.toLowerCase())+".svg",style:{width:24,height:24},alt:"bank"}),(0,o.BX)("div",{children:[(0,o.BX)("p",{children:[(0,o.tZ)("span",{className:c().highlighted,children:e.detail.bankName}),e.detail.bankName&&e.detail.ownerName?" ":"",e.detail.ownerName]}),(0,o.tZ)("p",{children:f?(0,o.tZ)("a",{href:d.startsWith("http")?d:"https://".concat(d),target:"_blank",rel:"noopener noreferrer",style:{color:"var(--custom-accent-color, #C4A882)",textDecoration:"underline",wordBreak:"break-all"},children:d}):d})]}),(0,o.tZ)("button",{type:"button",className:c().copyButton,style:l?{backgroundColor:"#FCF8F1",borderColor:"var(--custom-primary-color, #8B6F5E)",cursor:"pointer"}:{borderColor:"#FCF8F1",cursor:"pointer"},onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),onClick:t=>{t.preventDefault(),t.stopPropagation(),u(e.detail.iban?e.detail.iban:e.detail.link),s.Am.dismiss(),(0,s.Am)("Copied on clipboard successfully!",{containerId:"custom-gift-toast"})},children:(0,o.tZ)("img",{src:"/assets/icons/icon-copy.svg",style:{width:16,height:16},alt:"copy"})})]})}},28333:function(e,t,n){"use strict";var o=n(11720);t.Z=(e,t,n)=>(o.default.useEffect(()=>{let o=o=>{var a;!e.current||e.current.contains(o.target)||(null===(a=o.target)||void 0===a?void 0:a.id.includes(n))||t()},a=e=>{"Escape"===e.key&&t()};return document.addEventListener("mousedown",o),document.addEventListener("keydown",a),()=>{document.removeEventListener("mousedown",o),document.removeEventListener("keydown",a)}},[e]),e)},69390:function(e){e.exports={Icon:"Icon_Icon__ZJKv5",masked:"Icon_masked__8vNSO",xs:"Icon_xs__oSRkj",s:"Icon_s__tRpDn",sPlus:"Icon_sPlus__vV6vG",m:"Icon_m__0XKKo",mPlus:"Icon_mPlus__Fp6UK",l:"Icon_l__f5Itf"}},822:function(e){e.exports={CustomGiftComponent:"CustomGiftComponent_CustomGiftComponent__yqAfC",inside:"CustomGiftComponent_inside__PITvq",insideInfo:"CustomGiftComponent_insideInfo__A4KCy",giftButton:"CustomGiftComponent_giftButton___kWh1",giftModal:"CustomGiftComponent_giftModal__Qzy0_",giftModalOverlay:"CustomGiftComponent_giftModalOverlay__n_VPz",giftModalHeader:"CustomGiftComponent_giftModalHeader__IWcEy",giftModalGrid:"CustomGiftComponent_giftModalGrid__mCsKY",giftModalTitle:"CustomGiftComponent_giftModalTitle__zd_MC",closeButton:"CustomGiftComponent_closeButton__LAHtZ",giftModalDetails:"CustomGiftComponent_giftModalDetails__5UZ6e",copyButton:"CustomGiftComponent_copyButton__GYtL5",highlighted:"CustomGiftComponent_highlighted__uixcg"}},91444:function(e,t,n){"use strict";n.d(t,{Ix:function(){return E},Am:function(){return B}});var o=n(11720),a=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,o,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(o=e(t[n]))&&(a&&(a+=" "),a+=o);else for(n in t)t[n]&&(a&&(a+=" "),a+=n)}return a}(e))&&(o&&(o+=" "),o+=t);return o};let s=e=>"number"==typeof e&&!isNaN(e),i=e=>"string"==typeof e,l=e=>"function"==typeof e,r=e=>i(e)||l(e)?e:null,c=e=>(0,o.isValidElement)(e)||i(e)||l(e)||s(e);function u(e){let{enter:t,exit:n,appendPosition:a=!1,collapse:s=!0,collapseDuration:i=300}=e;return function(e){let{children:l,position:r,preventExitTransition:c,done:u,nodeRef:d,isIn:f}=e,m=a?`${t}--${r}`:t,p=a?`${n}--${r}`:n,g=(0,o.useRef)(0);return(0,o.useLayoutEffect)(()=>{let e=d.current,t=m.split(" "),n=o=>{o.target===d.current&&(e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===g.current&&"animationcancel"!==o.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)},[]),(0,o.useEffect)(()=>{let e=d.current,t=()=>{e.removeEventListener("animationend",t),s?function(e,t,n){void 0===n&&(n=300);let{scrollHeight:o,style:a}=e;requestAnimationFrame(()=>{a.minHeight="initial",a.height=o+"px",a.transition=`all ${n}ms`,requestAnimationFrame(()=>{a.height="0",a.padding="0",a.margin="0",setTimeout(t,n)})})}(e,u,i):u()};f||(c?t():(g.current=1,e.className+=` ${p}`,e.addEventListener("animationend",t)))},[f]),o.default.createElement(o.default.Fragment,null,l)}}function d(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}let f={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){let n=this.list.get(e).filter(e=>e!==t);return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){let t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach(t=>{let n=setTimeout(()=>
1{t(...[].slice.call(arguments,1))},0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)})}},m=e=>{let{theme:t,type:n,...a}=e;return o.default.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${n})`,...a})},p={info:function(e){return o.default.createElement(m,{...e},o.default.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return o.default.createElement(m,{...e},o.default.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return o.default.createElement(m,{...e},o.default.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return o.default.createElement(m,{...e},o.default.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return o.default.createElement("div",{className:"Toastify__spinner"})}};function g(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function h(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function y(e){let{closeToast:t,theme:n,ariaLabel:a="close"}=e;return o.default.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":a},o.default.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},o.default.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function v(e){let{delay:t,isRunning:n,closeToast:s,type:i="default",hide:r,className:c,style:u,controlledProgress:d,progress:f,rtl:m,isIn:p,theme:g}=e,h=r||d&&0===f,y={...u,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused",opacity:h?0:1};d&&(y.transform=`scaleX(${f})`);let v=a("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${g}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":m}),_=l(c)?c({rtl:m,type:i,defaultClassName:v}):a(v,c);return o.default.createElement("div",{role:"progressbar","aria-hidden":h?"true":"false","aria-label":"notification timer",className:_,style:y,[d&&f>=1?"onTransitionEnd":"onAnimationEnd"]:d&&f<1?null:()=>{p&&s()}})}let _=e=>{let{isRunning:t,preventExitTransition:n,toastRef:s,eventHandlers:i}=function(e){let[t,n]=(0,o.useState)(!1),[a,s]=(0,o.useState)(!1),i=(0,o.useRef)(null),r=(0,o.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,c=(0,o.useRef)(e),{autoClose:u,pauseOnHover:d,closeToast:f,onClick:m,closeOnClick:p}=e;function y(t){if(e.draggable){"touchstart"===t.nativeEvent.type&&t.nativeEvent.preventDefault(),r.didMove=!1,document.addEventListener("mousemove",b),document.addEventListener("mouseup",E),document.addEventListener("touchmove",b),document.addEventListener("touchend",E);let n=i.current;r.canCloseOnClick=!0,r.canDrag=!0,r.boundingRect=n.getBoundingClientRect(),n.style.transition="",r.x=g(t.nativeEvent),r.y=h(t.nativeEvent),"x"===e.draggableDirection?(r.start=r.x,r.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(r.start=r.y,r.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent/100))}}
1function v(t){if(r.boundingRect){let{top:n,bottom:o,left:a,right:s}=r.boundingRect;"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&r.x>=a&&r.x<=s&&r.y>=n&&r.y<=o?C():_()}}function _(){n(!0)}function C(){n(!1)}function b(n){let o=i.current;r.canDrag&&o&&(r.didMove=!0,t&&C(),r.x=g(n),r.y=h(n),r.delta="x"===e.draggableDirection?r.x-r.start:r.y-r.start,r.start!==r.x&&(r.canCloseOnClick=!1),o.style.transform=`translate${e.draggableDirection}(${r.delta}px)`,o.style.opacity=""+(1-Math.abs(r.delta/r.removalDistance)))}function E(){document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",E),document.removeEventListener("touchmove",b),document.removeEventListener("touchend",E);let t=i.current;if(r.canDrag&&r.didMove&&t){if(r.canDrag=!1,Math.abs(r.delta)>r.removalDistance)return s(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform=`translate${e.draggableDirection}(0)`,t.style.opacity="1"}}(0,o.useEffect)(()=>{c.current=e}),(0,o.useEffect)(()=>(i.current&&i.current.addEventListener("d",_,{once:!0}),l(e.onOpen)&&e.onOpen((0,o.isValidElement)(e.children)&&e.children.props),()=>{let e=c.current;l(e.onClose)&&e.onClose((0,o.isValidElement)(e.children)&&e.children.props)}),[]),(0,o.useEffect)(()=>(e.pauseOnFocusLoss&&(document.hasFocus()||C(),window.addEventListener("focus",_),window.addEventListener("blur",C)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",_),window.removeEventListener("blur",C))}),[e.pauseOnFocusLoss]);let T={onMouseDown:y,onTouchStart:y,onMouseUp:v,onTouchEnd:v};return u&&d&&(T.onMouseEnter=C,T.onMouseLeave=_),p&&(T.onClick=e=>{m&&m(e),r.canCloseOnClick&&f()}),{playToast:_,pauseToast:C,isRunning:t,preventExitTransition:a,toastRef:i,eventHandlers:T}}(e),{closeButton:r,children:c,autoClose:u,onClick:d,type:f,hideProgressBar:m,closeToast:p,transition:_,position:C,className:b,style:E,bodyClassName:T,bodyStyle:I,progressClassName:k,progressStyle:N,updateId:w,role:L,progress:M,rtl:B,toastId:x,deleteToast:O,isIn:R,isLoading:D,iconOut:P,closeOnClick:Z,theme:A}=e,G=a("Toastify__toast",`Toastify__toast-theme--${A}`,`Toastify__toast--${f}`,{"Toastify__toast--rtl":B},{"Toastify__toast--close-on-click":Z}),F=l(b)?b({rtl:B,position:C,type:f,defaultClassName:G}):a(G,b),z=!!M||!u,$={closeToast:p,type:f,theme:A},S=null;return!1===r||(S=l(r)?r($):(0,o.isValidElement)(r)?(0,o.cloneElement)(r,$):y($)),o.default.createElement(_,{isIn:R,done:O,position:C,preventExitTransition:n,nodeRef:s},o.default.createElement("div",{id:x,onClick:d,className:F,...i,style:E,ref:s},o.default.createElement("div",{...R&&{role:L},className:l(T)?T({type:f}):a("Toastify__toast-body",T),style:I},null!=P&&o.default.createElement("div",{className:a("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!D})},P),o.default.createElement("div",null,c)),S,o.default.createElement(v,{...w&&!z?{key:`pb-${w}`}:{},rtl:B,theme:A,delay:u,isRunning:t,isIn:R,closeToast:p,hide:m,type:f,style:N,className:k,controlledProgress:z,progress:M||0})))}
1,C=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},b=u(C("bounce",!0)),E=(u(C("slide",!0)),u(C("zoom")),u(C("flip")),(0,o.forwardRef)((e,t)=>{let{getToastToRender:n,containerRef:u,isToastActive:m}=function(e){let[,t]=(0,o.useReducer)(e=>e+1,0),[n,a]=(0,o.useState)([]),u=(0,o.useRef)(null),m=(0,o.useRef)(new Map).current,g=e=>-1!==n.indexOf(e),h=(0,o.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:g,getToast:e=>m.get(e)}).current;function y(e){let{containerId:t}=e,{limit:n}=h.props;!n||t&&h.containerId!==t||(h.count-=h.queue.length,h.queue=[])}function v(e){a(t=>null==e?[]:t.filter(t=>t!==e))}function _(){let{toastContent:e,toastProps:t,staleId:n}=h.queue.shift();b(e,t,n)}function C(e,n){var a,g;let{delay:y,staleId:C,...E}=n;if(!c(e)||!u.current||h.props.enableMultiContainer&&E.containerId!==h.props.containerId||m.has(E.toastId)&&null==E.updateId)return;let{toastId:T,updateId:I,data:k}=E,{props:N}=h,w=()=>v(T),L=null==I;L&&h.count++;let M={...N,style:N.toastStyle,key:h.toastKey++,...Object.fromEntries(Object.entries(E).filter(e=>{let[t,n]=e;return null!=n})),toastId:T,updateId:I,data:k,closeToast:w,isIn:!1,className:r(E.className||N.toastClassName),bodyClassName:r(E.bodyClassName||N.bodyClassName),progressClassName:r(E.progressClassName||N.progressClassName),autoClose:!E.isLoading&&(a=E.autoClose,g=N.autoClose,!1===a||s(a)&&a>0?a:g),deleteToast(){let e=d(m.get(T),"removed");m.delete(T),f.emit(4,e);let n=h.queue.length;if(h.count=null==T?h.count-h.displayedToast:h.count-1,h.count<0&&(h.count=0),n>0){let e=null==T?h.props.limit:1;if(1===n||1===e)h.displayedToast++,_();else{let t=e>n?n:e;h.displayedToast=t;for(let e=0;e<t;e++)_()}}else t()}};M.iconOut=function(e){let{theme:t,type:n,isLoading:a,icon:r}=e,c=null,u={theme:t,type:n};return!1===r||(l(r)?c=r(u):(0,o.isValidElement)(r)?c=(0,o.cloneElement)(r,u):i(r)||s(r)?c=r:a?c=p.spinner():n in p&&(c=p[n](u))),c}(M),l(E.onOpen)&&(M.onOpen=E.onOpen),l(E.onClose)&&(M.onClose=E.onClose),M.closeButton=N.closeButton,!1===E.closeButton||c(E.closeButton)?M.closeButton=E.closeButton:!0===E.closeButton&&(M.closeButton=!c(N.closeButton)||N.closeButton);let B=e;(0,o.isValidElement)(e)&&!i(e.type)?B=(0,o.cloneElement)(e,{closeToast:w,toastProps:M,data:k}):l(e)&&(B=e({closeToast:w,toastProps:M,data:k})),N.limit&&N.limit>0&&h.count>N.limit&&L?h.queue.push({toastContent:B,toastProps:M,staleId:C}):s(y)?setTimeout(()=>{b(B,M,C)},y):b(B,M,C)}function b(e,t,n){let{toastId:o}=t;n&&m.delete(n);let s={content:e,props:t};m.set(o,s),a(e=>[...e,o].filter(e=>e!==n)),f.emit(4,d(s,null==s.props.updateId?"added":"updated"))}return(0,o.useEffect)(()=>(h.containerId=e.containerId,f.cancelEmit(3).on(0,C).on(1,e=>u.current&&v(e)).on(5,y).emit(2,h),()=>{m.clear(),f.emit(3,h)}),[]),(0,o.useEffect)(()=>{h.props=e,h.isToastActive=g,h.displayedToast=n.length}),{getToastToRender:function(t){let n=new Map,o=Array.from(m.values());return e.newestOnTop&&o.reverse(),o.forEach(e=>{let{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)}),Array.from(n,e=>t(e[0],e[1]))},containerRef:u,isToastActive:g}}(e),{className:g,style:h,rtl:y,containerId:v}=e;return(0,o.useEffect)(()=>{t&&(t.current=u.current)},[]),o.default.createElement("div",{ref:u,className:"Toastify",id:v},n((e,t)=>{let n=t.length?{...h}:{...h,pointerEvents:"none"};return o.default.createElement("div",{className:function(e){let t=a("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":y});return l(g)?g({position:e,rtl:y,defaultClassName:t}):a(t,r(g))}(e),style:n,key:`container-${e}`},t.map((e,n)=>{let{content:a,props:s}=e;return o.default.createElement(_,{...s,isIn:m(s.toastId),style:{...s.style,"--nth":n+1,"--len":t.length},key:`toast-${s.key}`},a)}))}))}));E.displayName="ToastContainer",E.defaultProps={position:"top-right",transition:b,autoClose:5e3,closeButton:y,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let T,I=new Map,k=[],N=1;function w(e,t){return I.size>0?f.emit(0,e,t):k.push({content:e,options:t}),t.toastId}function L(e,t){return{...t,type:t&&t.type||e,toastId:t&&(i(t.toastId)||s(t.toastId))?t.toastId:""+N++}}function M(e){return(t,n)=>w(t,L(e,n))}function B(e,t){return w(e,L("default",t))}B.loading=(e,t)=>
1w(e,L("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),B.promise=function(e,t,n){let o,{pending:a,error:s,success:r}=t;a&&(o=i(a)?B.loading(a,n):B.loading(a.render,{...n,...a}));let c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(e,t,a)=>{if(null==t)return void B.dismiss(o);let s={type:e,...c,...n,data:a},l=i(t)?{render:t}:t;return o?B.update(o,{...s,...l}):B(l.render,{...s,...l}),a},d=l(e)?e():e;return d.then(e=>u("success",r,e)).catch(e=>u("error",s,e)),d},B.success=M("success"),B.info=M("info"),B.error=M("error"),B.warning=M("warning"),B.warn=B.warning,B.dark=(e,t)=>w(e,L("default",{theme:"dark",...t})),B.dismiss=e=>{I.size>0?f.emit(1,e):k=k.filter(t=>null!=e&&t.options.toastId!==e)},B.clearWaitingQueue=function(e){return void 0===e&&(e={}),f.emit(5,e)},B.isActive=e=>{let t=!1;return I.forEach(n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)}),t},B.update=function(e,t){void 0===t&&(t={}),setTimeout(()=>{let n=function(e,t){let{containerId:n}=t,o=I.get(n||T);return o&&o.getToast(e)}(e,t);if(n){let{props:o,content:a}=n,s={delay:100,...o,...t,toastId:t.toastId||e,updateId:""+N++};s.toastId!==e&&(s.staleId=e);let i=s.render||a;delete s.render,w(i,s)}},0)},B.done=e=>{B.update(e,{progress:1})},B.onChange=e=>(f.on(4,e),()=>{f.off(4,e)}),B.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},B.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},f.on(2,e=>{T=e.containerId||e,I.set(T,e),k.forEach(e=>{f.emit(0,e.content,e.options)}),k=[]}).on(3,e=>{I.delete(e.containerId||e),0===I.size&&f.off(0).off(1).off(5)})}}]);

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.