PageSourceSearch

https://ember-cli-notifications.netlify.app/assets/chunk.6.32dce616cc73d92af640.js

js ember-cli-notifications.netlify.app collected 2026-10-03 10:41:43 UTC 13,565 bytes, 50 lines download raw bytes

1(globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]).push([[6],{6899:(t,i,e)=>{"use strict"
2e.r(i),e.d(i,{default:()=>s})
3var n=e(6235),o=e.n(n),a=e(2663),r=(0,e(1465).createTemplateFactory)({id:"hvHfkMzl",block:'[[[11,"svg"],[17,1],[24,"aria-hidden","true"],[24,"focusable","false"],[24,"role","img"],[24,"width","16"],[24,"height","16"],[24,"viewBox","0 0 16 16"],[24,"xmlns","http://www.w3.org/2000/svg","http://www.w3.org/2000/xmlns/"],[12],[10,"path"],[14,"d","M14.29 12.783l-1.51 1.508a.708.708 0 01-1.005 0L8 10.518l-3.773 3.773a.712.712 0 01-1.008 0l-1.51-1.508a.712.712 0 010-1.007L5.482 8 1.709 4.227a.717.717 0 010-1.007l1.51-1.51a.712.712 0 011.008 0L8 5.484l3.775-3.776a.708.708 0 011.005 0l1.51 1.508c.279.279.28.73.003 1.01L10.518 8l3.772 3.776a.712.712 0 010 1.007z"],[14,"fill","currentColor"],[14,"fill-rule","nonzero"],[12],[13],[13]],["&attrs"],false,[]]',moduleName:"/opt/build/repo/ember-cli-notifications/dist/components/ecn-icon-close.js",isStrictMode:!1}),s=(0,a.setComponentTemplate)(r,o()())},6081:(t,i,e)=>{"use strict"
4e.r(i),e.d(i,{default:()=>s})
5var n=e(6235),o=e.n(n),a=e(2663),r=(0,e(1465).createTemplateFactory)({id:"uiVriFYX",block:'[[[11,"svg"],[17,1],[24,"aria-hidden","true"],[24,"focusable","false"],[24,"role","img"],[24,"width","16"],[24,"height","16"],[24,"viewBox","0 0 16 16"],[24,"xmlns","http://www.w3.org/2000/svg","http://www.w3.org/2000/xmlns/"],[12],[10,"path"],[14,"d","M13.714 0H2.286A2.286 2.286 0 000 2.286v11.428A2.286 2.286 0 002.286 16h11.428A2.286 2.286 0 0016 13.714V2.286A2.287 2.287 0 0013.714 0zM7 4.086c0-.472.529-.857 1-.857s1 .383 1 .857v4.571c0 .473-.527.857-1 .857s-1-.382-1-.857V4.086zm1 8.934a1.3 1.3 0 110-2.6 1.3 1.3 0 010 2.6z"],[14,"fill","currentColor"],[14,"fill-rule","nonzero"],[12],[13],[13]],["&attrs"],false,[]]',moduleName:"/opt/build/repo/ember-cli-notifications/dist/components/ecn-icon-error.js",isStrictMode:!1}),s=(0,a.setComponentTemplate)(r,o()())},8259:(t,i,e)=>{"use strict"
6e.r(i),e.d(i,{default:()=>s})
7var n=e(6235),o=e.n(n),a=e(2663),r=(0,e(1465).createTemplateFactory)({id:"CzCikuFN",block:'[[[11,"svg"],[17,1],[24,"aria-hidden","true"],[24,"focusable","false"],[24,"role","img"],[24,"xmlns","http://www.w3.org/2000/svg","http://www.w3.org/2000/xmlns/"],[24,"viewBox","0 0 16 16"],[24,"width","16"],[24,"height","16"],[12],[10,"path"],[14,"fill","currentColor"],[14,"d","M7.75 0a7.751 7.751 0 000 15.5 7.75 7.75 0 100-15.5zm0 3.438a1.312 1.312 0 110 2.624 1.312 1.312 0 010-2.625zm1.248 7.937a.375.375 0 01-.375.375H6.928a.375.375 0 01-.375-.375v-.75-3.254c0-.207.168-.375.375-.375h1.695c.207 0 .375.168.375.375v4.004z"],[12],[13],[13]],["&attrs"],false,[]]',moduleName:"/opt/build/repo/ember-cli-notifications/dist/components/ecn-icon-info.js",isStrictMode:!1}),s=(0,a.setComponentTemplate)(r,o()())},824:(t,i,e)=>{"use strict"
8e.r(i),e.d(i,{default:()=>s})
9var n=e(6235),o=e.n(n),a=e(2663),r=(0,e(1465).createTemplateFactory)({id:"9VLZLGCN",block:'[[[11,"svg"],[17,1],[24,"aria-hidden","true"],[24,"focusable","false"],[24,"role","img"],[24,"xmlns","http://www.w3.org/2000/svg","http://www.w3.org/2000/xmlns/"],[24,"viewBox","0 0 512 512"],[24,"width","16"],[24,"height","16"],[12],[10,"path"],[14,"fill","currentColor"],[14,"d","M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"],[12],[13],[13]],["&attrs"],false,[]]',moduleName:"/opt/build/repo/ember-cli-notifications/dist/components/ecn-icon-success.js",isStrictMode:!1}),s=(0,a.setComponentTemplate)(r,o()())},3811:(t,i,e)=>{"use strict"
10e.r(i),e.d(i,{default:()=>s})
11var n=e(6235),o=e.n(n),a=e(2663),r=(0,e(1465).createTemplateFactory)({id:"VBtslIZF",block:'[[[11,"svg"],[17,1],[24,"aria-hidden","true"],[24,"focusable","false"],[24,"role","img"],[24,"xmlns","http://www.w3.org/2000/svg","http://www.w3.org/2000/xmlns/"],[24,"viewBox","0 0 576 512"],[24,"width","16"],[24,"height","16"],[12],[10,"path"],[14,"fill","currentColor"],[14,"d","M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418
11-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"],[12],[13],[13]],["&attrs"],false,[]]',moduleName:"/opt/build/repo/ember-cli-notifications/dist/components/ecn-icon-warning.js",isStrictMode:!1}),s=(0,a.setComponentTemplate)(r,o()())},4575:(t,i,e)=>{"use strict"
12e.r(i),e.d(i,{default:()=>m})
13var n,o=e(2663),a=e.n(o),r=e(4471),s=e(7970),c=e(2735),l=e(6986)
14function u(t,i,e){return(i=function(t){var i=function(t){if("object"!=typeof t||!t)return t
15var i=t[Symbol.toPrimitive]
16if(void 0!==i){var e=i.call(t,"string")
17if("object"!=typeof e)return e
18throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t)
19return"symbol"==typeof i?i:i+""}(i))in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t}var p=(0,e(1465).createTemplateFactory)({id:"YK2Y0f5v",block:'[[[10,0],[15,0,[29,["ember-cli-notifications-notification__container ",[30,0,["positionClass"]]]]],[15,5,[30,0,["inlineStyle"]]],[15,"data-test-notification-container",[30,0,["position"]]],[12],[1,"\\n"],[42,[28,[37,1],[[28,[37,1],[[30,0,["notifications","content"]]],null]],null],null,[[[1,"    "],[8,[39,2],null,[["@notification"],[[30,1]]],null],[1,"\\n"]],[1]],null],[13]],["notification"],false,["each","-track-array","notification-message"]]',moduleName:"/opt/build/repo/ember-cli-notifications/dist/components/notification-container.js",isStrictMode:!1}),f=new WeakMap
20class m extends(a()){constructor(...t){var i,e
21super(...t),i=f,e=void(0,l.i)(this,"notifications"),function(t,i){if(i.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(this,i),i.set(this,e),u(this,"tagName",""),u(this,"position","top"),u(this,"zindex","1060")}get positionClass(){return`ember-cli-notifications-notification__container--${this.position}`}get inlineStyle(){return(0,s.htmlSafe)(`z-index: ${this.zindex};`)}}n=m,(0,l.g)(n.prototype,"notifications",[c.inject]),(0,l.n)(n.prototype,"positionClass",[(0,r.computed)("position")]),(0,l.n)(n.prototype,"inlineStyle",[(0,r.computed)("zindex")]),(0,o.setComponentTemplate)(p,m)},2123:(t,i,e)=>{"use strict"
22e.r(i),e.d(i,{default:()=>d})
23var n,o=e(2663),a=e.n(o),r=e(7970),s=e(4471),c=e(2735),l=e(6986)
24function u(t,i,e){return(i=function(t){var i=function(t){if("object"!=typeof t||!t)return t
25var i=t[Symbol.toPrimitive]
26if(void 0!==i){var e=i.call(t,"string")
27if("object"!=typeof e)return e
28throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t)
29return"symbol"==typeof i?i:i+""}(i))in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t}var p=(0,e(1465).createTemplateFactory)({id:"D16MfI1P",block:'[[[11,0],[16,0,[29,["c-notification\\n    ",[30,0,["dismissClass"]],"\\n    ",[30,0,["clickableClass"]],"\\n    ",[52,[30,0,["validType"]],[28,[37,1],["c-notification--",[30,0,["validType"]]],null],""],"\\n    ",[30,1,["cssClasses"]]]]],[16,"data-test-notification-message",[30,1,["type"]]],[4,[38,2],["mouseenter",[30,0,["handleMouseEnter"]]],null],[4,[38,2],["mouseleave",[30,0,["handleMouseLeave"]]],null],[12],[1,"\\n  "],[10,0],[14,0,"c-notification__icon"],[12],[1,"\\n"],[41,[30,0,["validType"]],[[[41,[30,0,["isInfo"]],[[[1,"        "],[8,[39,3],[[24,0,"c-notification__svg"]],null,null],[1,"\\n"]],[]],[[[41,[30,0,["isSuccess"]],[[[1,"        "],[8,[39,4],[[24,0,"c-notification__svg"]],null,null],[1,"\\n"]],[]],[[[41,[30,0,["isWarning"]],[[[1,"        "],[8,[39,5],[[24,0,"c-notification__svg"]],null,null],[1,"\\n"]],[]],[[[41,[30,0,["isError"]],[[[1,"        "],[8,[39,6],[[24,0,"c-notification__svg"]],null,null],[1,"\\n      "]],[]],null]],[]]]],[]]]],[]]]],[]],null],[1,"  "],[13],[1,"\\n  "],[11,0],[24,0,"c-notification__content"],[4,[38,2],["click",[30,0,["handleOnClick"]]],null],[12],[1,"\\n"],[41,[30,1,["htmlContent"]],[[[1,"      "],[2,[30,1,["message"]]],[1,"\\n"]],[]],[[[1,"      "],[1,[30,1,["message"]]],[1,"\\n"]],[]]],[1,"    "],[11,0],[24,0,"c-notification__close"],[24,"title","Dismiss this notification"],[4,[38,2],["click",[30,0,["removeNotification"]]],null],[12],[1,"\\n      "],[8,[39,7],[[24,0,"c-notification__svg"]],null,null],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n\\n"],[41,[30,1,["autoClear"]],[[[1,"    "],[10,0],[14,0,"c-notification__countdown"],[15,5,[30,0,["notificationClearDuration"]]],[12],[13],[1,"\\n"]],[]],null],[13]],["@notification"],false,["if","concat","on","ecn-icon-info","ecn-icon-success","ecn-icon-warning","ecn-icon-error","ecn-icon-close"]]',moduleName:"/opt/build/repo/ember-cli-notifications/dist/components/notification-message.js",isStrictMode:!1})
30const f=["info","success","warning","error"]
31var m=new WeakMap
32class d extends(a()){constructor(...t){var i,e
33super(...t),u(this,"tagName",""),i=m,e=void(0,l.i)(this,"notifications"),function(t,i){if(i.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(this,i),i.set(this,e),u(this,"paused",!1)}get dismissClass(){return this.notification.dismiss?"":"c-notification--in"}get clickableClass(){return this.notification.onClick?"c-notification--clickable":""}get validType(){let t=this.notification.type
34return t&&-1!==f.indexOf(t)?t:""}get isInfo(){return"info"===this.validType}get isSuccess(){return"success"===this.validType}get isWarning(){return"warning"===this.validType}get isError(){return"error"===this.validType}get notificationClearDuration(){const t=[`animation-duration: ${Number.parseInt(this.notification.clearDuration,10)}ms`,"animation-play-state: "+(this.paused?"paused":"running")].join(";")
35return(0,r.htmlSafe)(t)}handleOnClick(t){t.preventDefault(),this.notification.onClick?.(this.notification)}removeNotification(t){t.preventDefault(),t.stopPropagation(),this.notifications.removeNotification(this.notification)}handleMouseEnter(){this.notification.autoClear&&((0,s.set)(this,"paused",!0),this.notifications.pauseAutoClear(this.notification))}handleMouseLeave(){this.notification.autoClear&&((0,s.set)(this,"paused",!1),this.notifications.setupAutoClear(this.notification))}}n=d,(0,l.g)(n.prototype,"notifications",[c.inject]),(0,l.n)(n.prototype,"dismissClass",[(0,s.computed)("notification.dismiss")]),(0,l.n)(n.prototype,"clickableClass",[(0,s.computed)("notification.onClick")]),(0,l.n)(n.prototype,"validType",[(0,s.computed)("notification.type")]),(0,l.n)(n.prototype,"isInfo",[(0,s.computed)("validType")]),(0,l.n)(n.prototype,"isSuccess",[(0,s.computed)("validType")]),(0,l.n)(n.prototype,"isWarning",[(0,s.computed)("validType")]),(0,l.n)(n.prototype,"isError",[(0,s.computed)("validType")]),(0,l.n)(n.prototype,"notificationClearDuration",[(0,s.computed)("paused","notification.clearDuration")]),(0,l.n)(n.prototype,"handleOnClick",[s.action]),(0,l.n)(n.prototype,"removeNotification",[s.action]),(0,l.n)(n.prototype,"handleMouseEnter",[s.action]),(0,l.n)(n.prototype,"handleMouseLeave",[s.action]),(0,o.setComponentTemplate)(p,d)},5508:(t,i,e)=>{"use strict"
36e.r(i),e.d(i,{default:()=>u})
37var n=e(2735),o=e.n(n),a=e(1389),r=e(4471),s=e.n(r),c=e(1223),l=e(2294)
38class u extends(o()){constructor(...t){var i,e,n
39super(...t),i=this,e="content",n=(0,a.A)(),(e=function(t){var i=function(t){if("object"!=typeof t||!t)return t
40var i=t[Symbol.toPrimitive]
41if(void 0!==i){var e=i.call(t,"string")
42if("object"!=typeof e)return e
43throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t)
44return"symbol"==typeof i?i:i+""}(e))in i?Object.defineProperty(i,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):i[e]=n
45const o=(0,l.getOwner)(this).resolveRegistration("config:environment")
46this.globals=o["ember-cli-notifications"]||{}}addNotification(t){if(!t.message)throw new Error("No notification message set")
47const i=s().create({message:t.message,type:t.type||"info",autoClear:t.autoClear??this.globals.autoClear??!1,clearDuration:t.clearDuration??this.globals.clearDuration??3200,onClick:t.onClick,htmlContent:t.htmlContent||!1,cssClasses:t.cssClasses})
48return this.content.pushObject(i),i.autoClear&&((0,r.set)(i,"remaining",i.clearDuration),this.setupAutoClear(i)),i}error(t,i){return this.addNotification({...i,message:t,type:"error"})}success(t,i){return this.addNotification({...i,message:t,type:"success"})}info(t,i){return this.addNotification({...i,message:t,type:"info"})}warning(t,i){return this.addNotification({...i,message:t,type:"warning"})}removeNotification(t){t&&(t.set("dismiss",!0),(0,c.later)(this,(()=>{this.content.removeObject(t)}),500))}setupAutoClear(t){t.set("startTime",Date.now())
49const i=(0,c.later)(this,(()=>{this.content.indexOf(t)>=0&&this.removeNotification(t)}),t.remaining);(0,r.set)(t,"timer",i)}pauseAutoClear(t){(0,c.cancel)(t.timer)
50const i=Date.now()-t.startTime,e=t.clearDuration-i;(0,r.set)(t,"remaining",e)}clearAll(){return this.content.forEach((t=>{this.removeNotification(t)})),this}setDefaultAutoClear(t){this.globals.autoClear=t}setDefaultClearDuration(t){this.globals.clearDuration=t}}},3518:function(t,i){window._eai_r=require,window._eai_d=define}}])

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.