PageSourceSearch

https://ionicsvelte.firebaseapp.com/_app/immutable/nodes/51.cb17c00d.js

js ionicsvelte.firebaseapp.com collected 2026-10-03 14:07:17 UTC 2,253 bytes, 1 lines download raw bytes

1import{S as z,i as F,s as G,a as O,m as H,o as J,f as a,g,p as L,h as v,q as R,r as j,u as D,v as M,e as u,t as q,c as m,b as _,d as A,w as $,j as i,x as K,n as Q}from"../chunks/index.3eec9ed0.js";import{t as V}from"../chunks/platform.2d8956c5.js";import{P as W}from"../chunks/PageEmpty.88f57bbe.js";import{S as X}from"../chunks/SourceButton.c1ca906a.js";function Y(T){let o,t,s,e,r,l,f,I,b,x,E,c,d,w,N,B,C;return f=new X({props:{name:"Toast"}}),{c(){o=u("ion-header"),t=u("ion-toolbar"),s=u("ion-buttons"),e=u("ion-menu-button"),r=O(),l=u("ion-buttons"),H(f.$$.fragment),I=O(),b=u("ion-title"),x=q("Toast"),E=O(),c=u("ion-content"),d=u("ion-button"),w=q("Click me!"),this.h()},l(n){o=m(n,"ION-HEADER",{translucent:!0});var p=_(o);t=m(p,"ION-TOOLBAR",{});var h=_(t);s=m(h,"ION-BUTTONS",{slot:!0});var S=_(s);e=m(S,"ION-MENU-BUTTON",{}),_(e).forEach(a),S.forEach(a),r=g(h),l=m(h,"ION-BUTTONS",{slot:!0});var y=_(l);L(f.$$.fragment,y),y.forEach(a),I=g(h),b=m(h,"ION-TITLE",{});var U=_(b);x=A(U,"Toast"),U.forEach(a),h.forEach(a),p.forEach(a),E=g(n),c=m(n,"ION-CONTENT",{fullscreen:!0,class:!0});var k=_(c);d=m(k,"ION-BUTTON",{expand:!0});var P=_(d);w=A(P,"Click me!"),P.forEach(a),k.forEach(a),this.h()},h(){$(s,"slot","start"),$(l,"slot","end"),$(o,"translucent",!0),$(d,"expand","block"),$(c,"fullscreen",""),$(c,"class","ion-padding")},m(n,p){v(n,o,p),i(o,t),i(t,s),i(s,e),i(t,r),i(t,l),R(f,l,null),i(t,I),i(t,b),i(b,x),v(n,E,p),v(n,c,p),i(c,d),i(d,w),N=!0,B||(C=K(d,"click",T[0]),B=!0)},p:Q,i(n){N||(j(f.$$.fragment,n),N=!0)},o(n){D(f.$$.fragment,n),N=!1},d(n){n&&a(o),M(f),n&&a(E),n&&a(c),B=!1,C()}}}function Z(T){let o,t,s;return t=new W({props:{$$slots:{default:[Y]},$$scope:{ctx:T}}}),{c(){o=O(),H(t.$$.fragment),this.h()},l(e){J("svelte-1ylddp0",document.head).forEach(a),o=g(e),L(t.$$.fragment,e),this.h()},h(){document.title="Ionic Companion - Toast"},m(e,r){v(e,o,r),R(t,e,r),s=!0},p(e,[r]){const l={};r&2&&(l.$$scope={dirty:r,ctx:e}),t.$set(l)},i(e){s||(j(t.$$.fragment,e),s=!0)},o(e){D(t.$$.fragment,e),s=!1},d(e){e&&a(o),M(t,e)}}}function tt(T){return[async()=>{(await V.create({color:"danger",duration:4e3,message:"Here a random toast"})).present()}]}class st extends z{constructor(o){super(),F(this,o,tt,Z,G,{})}}export{st as component};

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.