1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6973],{66973:function(t,s,e){e.r(s),e.d(s,{market_toaster:function(){return i}});var o=e(54982);let i=class{constructor(t){(0,o.r)(this,t),this.toasts=[]}async show(t){this.toasts.unshift(t),t.classList.add("use-transitions"),this.el.appendChild(t),window.requestAnimationFrame(this.positionToasts.bind(this)),await new Promise(t=>setTimeout(t,200)),t.startAutoDismissTimer()}positionToasts(){let t=24;this.toasts.forEach(s=>{s.style.transform=`translate(-50%, calc(-100% - ${t}px))`,t+=s.offsetHeight+16})}async hide(t){let s=this.toasts.indexOf(t);this.toasts.splice(s,1),window.requestAnimationFrame(()=>{t.style.transform="",this.positionToasts()}),await new Promise(t=>setTimeout(t,200)),t.remove()}removeAll(){let t=[...this.toasts];return Promise.all(t.map(t=>this.hide(t)))}toastAutoDismissedEventHandler({target:t}){this.hide(t)}toastManuallyDismissedEventHandler({target:t}){this.hide(t)}render(){return(0,o.h)(o.H,{key:"1e7cd1efe786c2e413bc777b5c3f7de137c6f100",class:"market-toaster"},(0,o.h)("slot",{key:"0e77820fe26f481aa541124a1f399e12b0602e28"}))}get el(){return(0,o.g)(this)}};i.style=":host,::slotted(*),*{box-sizing:border-box}:host([disabled]){cursor:not-allowed !important;}:host([disabled]) *,:host([disabled]) ::slotted(*){cursor:not-allowed !important;pointer-events:none !important;}:host *{outline-color:var(--core-focus-ring-color)}:host(:focus-visible),::slotted(*:focus-visible){outline:var(--core-focus-ring-border-size) solid var(--core-focus-ring-color);outline-offset:var(--core-focus-ring-buffer-size)}::slotted(a),::slotted(button){border-radius:1px}:host{position:fixed;right:0;bottom:0;left:0;z-index:1010;padding:0 0 var(--toast-bottom-margin, 24px);pointer-events:none}:host ::slotted(.market-toast){width:calc(100% - var(--toast-horizontal-margin, 16px) * 2);margin:var(--toast-vertical-spacing, 16px) auto 0;pointer-events:auto}:host ::slotted(.use-transitions){position:absolute;top:100%;left:50%;margin:0;transition:transform\n var(\n --toast-animation-transition-duration,\n var(--core-animation-enter-transition-moderate-speed-duration)\n )\n ease-in-out;transform:translate(-50%, 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.