PageSourceSearch

https://www.adda247.com/dist/504.components-Toast-ToastContainer.9b096be5.js

js adda247.com collected 2026-09-27 20:55:17 UTC 6,175 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[504],{59590(e,t,l){l.r(t),l.d(t,{default:()=>h});var a=l(63696),n=l(55552),r=l(64102);const i=()=>a.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_10205_30137)"},a.createElement("path",{d:"M11 0C4.92031 0 0 4.91975 0 11C0 17.0796 4.91975 22 11 22C17.0797 22 22 17.0802 22 11C22 4.92039 17.0802 0 11 0ZM11 20.4651C5.78093 20.4651 1.53489 16.2191 1.53489 11C1.53489 5.78089 5.78093 1.53489 11 1.53489C16.2191 1.53489 20.4651 5.78089 20.4651 11C20.4651 16.2191 16.2191 20.4651 11 20.4651Z",fill:"#12B76A"}),a.createElement("path",{d:"M11.0002 9.16895C10.3486 9.16895 9.88525 9.44412 9.88525 9.84953V15.3661C9.88525 15.7136 10.3486 16.0611 11.0002 16.0611C11.6228 16.0611 12.1295 15.7136 12.1295 15.3661V9.84944C12.1295 9.44407 11.6228 9.16895 11.0002 9.16895Z",fill:"#12B76A"}),a.createElement("path",{d:"M11.0003 5.7666C10.3342 5.7666 9.81299 6.24441 9.81299 6.79463C9.81299 7.34489 10.3342 7.83718 11.0003 7.83718C11.6518 7.83718 12.1731 7.34489 12.1731 6.79463C12.1731 6.24441 11.6518 5.7666 11.0003 5.7666Z",fill:"#12B76A"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_10205_30137"},a.createElement("rect",{width:"22",height:"22",fill:"white"}))));l.dn(i);const c=()=>a.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_10190_30084)"},a.createElement("path",{d:"M11 0C4.92031 0 0 4.91975 0 11C0 17.0796 4.91975 22 11 22C17.0797 22 22 17.0802 22 11C22 4.92039 17.0802 0 11 0ZM11 20.4651C5.78093 20.4651 1.53489 16.2191 1.53489 11C1.53489 5.78089 5.78093 1.53489 11 1.53489C16.2191 1.53489 20.4651 5.78089 20.4651 11C20.4651 16.2191 16.2191 20.4651 11 20.4651Z",fill:"#FFA500"}),a.createElement("path",{d:"M11.0002 5.7666C10.3342 5.7666 9.81299 6.24441 9.81299 6.79463C9.81299 7.34489 10.3342 7.83718 11.0002 7.83718C11.6518 7.83718 12.1731 7.34489 12.1731 6.79463C12.1731 6.24441 11.6518 5.7666 11.0002 5.7666Z",fill:"#FFA500"}),a.createElement("path",{d:"M11.0002 9.16895C10.3486 9.16895 9.88525 9.44412 9.88525 9.84953V15.3661C9.88525 15.7136 10.3486 16.0611 11.0002 16.0611C11.6228 16.0611 12.1295 15.7136 12.1295 15.3661V9.84944C12.1295 9.44407 11.6228 9.16895 11.0002 9.16895Z",fill:"#FFA500"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_10190_30084"},a.createElement("rect",{width:"22",height:"22",fill:"white"}))));l.dn(c);const s=()=>a.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_10190_30084)"},a.createElement("path",{d:"M11 0C4.92031 0 0 4.91975 0 11C0 17.0796 4.91975 22 11 22C17.0797 22 22 17.0802 22 11C22 4.92039 17.0802 0 11 0ZM11 20.4651C5.78093 20.4651 1.53489 16.2191 1.53489 11C1.53489 5.78089 5.78093 1.53489 11 1.53489C16.2191 1.53489 20.4651 5.78089 20.4651 11C20.4651 16.2191 16.2191 20.4651 11 20.4651Z",fill:"#0ea5e9"}),a.createElement("path",{d:"M11.0002 5.7666C10.3342 5.7666 9.81299 6.24441 9.81299 6.79463C9.81299 7.34489 10.3342 7.83718 11.0002 7.83718C11.6518 7.83718 12.1731 7.34489 12.1731 6.79463C12.1731 6.24441 11.6518 5.7666 11.0002 5.7666Z",fill:"#0ea5e9"}),a.createElement("path",{d:"M11.0002 9.16895C10.3486 9.16895 9.88525 9.44412 9.88525 9.84953V15.3661C9.88525 15.7136 10.3486 16.0611 11.0002 16.0611C11.6228 16.0611 12.1295 15.7136 12.1295 15.3661V9.84944C12.1295 9.44407 11.6228 9.16895 11.0002 9.16895Z",fill:"#0ea5e9"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_10190_30084"},a.createElement("rect",{width:"22",height:"22",fill:"white"}))));l.dn(s);const C=({message:e,onClose:t,timeout:l,variant:n,btnEnabled:C,isReferTab:m})=>((0,a.useEffect)(()=>{const e=setTimeout(()=>{t()},l);return()=>{clearTimeout(e)}},[]),m?a.createElement("div",{className:"ref-code-toast"},a.createElement("img",{src:"/images/refer-and-earn/ref-toast-icon.svg",alt:"Referral icon"})," ",e):a.createElement("div",{className:`toast toast-${n}`},a.createElement("div",{className:"toast-message"},(()=>{switch(n?.toUpperCase()){case"SUCCESS":return a.createElement(i,null);case"WARNING":return a.createElement(c,null);case"INFO":return a.createElement(s,null);default:return a.createElement(r.A,null)}})()," ",e),C&&a.createElement("button",{"data-testid":"toast-close",className:"toast-close",onClick:t},"X")));C.defaultProps={timeout:3e3,variant:"error",btnEnabled:!1,isReferTab:!1};const m=C,o={removeToast:l(91287).uU},h=(0,n.Ng)(e=>({toasts:e?.toast?.toasts}),o)(({toasts:e,removeToast:t})=>a.createElement("div",{className:"toast-container"},e?.map(e=>a.createElement(m,{key:e?.id,message:e?.message,variant:e?.variant,timeout:e?.timeout,btnEnabled:e?.btnEnabled,isReferTab:e?.isReferTab,onClose:()=>t(e?.id)}))))},64102(e,t,l){var a=l(63696);const n=()=>a.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{clipPath:"url(#clip0_10190_30084)"},a.createElement("path",{d:"M11 0C4.92031 0 0 4.91975 0 11C0 17.0796 4.91975 22 11 22C17.0797 22 22 17.0802 22 11C22 4.92039 17.0802 0 11 0ZM11 20.4651C5.78093 20.4651 1.53489 16.2191 1.53489 11C1.53489 5.78089 5.78093 1.53489 11 1.53489C16.2191 1.53489 20.4651 5.78089 20.4651 11C20.4651 16.2191 16.2191 20.4651 11 20.4651Z",fill:"#BA1A1A"}),a.createElement("path",{d:"M11.0002 9.16895C10.3486 9.16895 9.88525 9.44412 9.88525 9.84953V15.3661C9.88525 15.7136 10.3486 16.0611 11.0002 16.0611C11.6228 16.0611 12.1295 15.7136 12.1295 15.3661V9.84944C12.1295 9.44407 11.6228 9.16895 11.0002 9.16895Z",fill:"#BA1A1A"}),a.createElement("path",{d:"M11.0003 5.7666C10.3342 5.7666 9.81299 6.24441 9.81299 6.79463C9.81299 7.34489 10.3342 7.83718 11.0003 7.83718C11.6518 7.83718 12.1731 7.34489 12.1731 6.79463C12.1731 6.24441 11.6518 5.7666 11.0003 5.7666Z",fill:"#BA1A1A"})),a.createElement("defs",null,a.createElement("clipPath",{id:"clip0_10190_30084"},a.createElement("rect",{width:"22",height:"22",fill:"white"}))));l.dn(n),l.d(t,["A",0,n])}}]);

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.