PageSourceSearch

https://sleep.betternight.com/410.34818405a9508e03.js

js betternight.com collected 2026-10-07 02:48:29 UTC 4,865 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkbetternight=self.webpackChunkbetternight||[]).push([[410],{5410:(U,f,o)=>{o.r(f),o.d(f,{TherapyResupplyModule:()=>F});var m=o(177),p=o(8857),a=o(5051),c=o(1454),u=o(9129),e=o(4438),h=o(8490),d=o(3366),v=o(386),y=o(8322),T=o(3990),C=o(8252),b=o(3812);const g=["confirmation"];function I(n,G){if(1&n){const t=e.RV6();e.j41(0,"bn-notification-preference",7,1),e.bIt("isFooterHide",function(i){e.eBV(t);const s=e.XpG();return e.Njj(s.hideFooter(i))})("valid",function(i){e.eBV(t);const s=e.XpG();return e.Njj(s.isComponentValid(i))}),e.k0s()}if(2&n){const t=e.XpG();e.Y8G("contactConfirmation",t.type)}}let l=(()=>{class n{constructor(t,r,i,s){this.dataService=t,this.apiService=r,this.navService=i,this.router=s,this.isCompleted=!1,this.isShowFooter=!0,this.hidePopUpBasedOnUrl=["confirmation","email","text","emergency-contact"],this.routesUrl=["email","confirmation","text","emergency-contact"],this.elementRef=["confirmation","confirmation","confirmation","confirmation"],this.cardTitle={"/resupply/notification-preference/email":"CONTACT VERIFICATION","/resupply/notification-preference/email/confirmation":"CONTACT VERIFICATION","/resupply/notification-preference/text":"CONTACT VERIFICATION","/resupply/notification-preference/text/confirmation":"CONTACT VERIFICATION","/resupply/notification-preference/emergency-contact":"ONE QUICK THING"},this.buttonText="",i.currentPage=[""]}ngOnInit(){this.componentLoaded()}componentLoaded(){this.type=this.router.url.split("/")[this.router.url.split("/").length-1],this.type=this.t
1ype.split("?")[0],this.currentComponent=this.elementRef[this.routesUrl.indexOf(this.type)]}changeCardTitle(t){this.cardTitle[t.cardKey]=t.value}changeButtonText(t){this.buttonText=t}finalSubmit(t){"skipTextVerification"!=t?this[this.currentComponent].submit():this[this.currentComponent].skipTextVerification()}getClass(t){return this.routesUrl.indexOf(t)!=this.routesUrl.indexOf(this.type)}isTabCompleted(t){return this.routesUrl.indexOf(t)<this.routesUrl.indexOf(this.type)}isTapActive(t){return this.routesUrl.indexOf(t)==this.routesUrl.indexOf(this.type)}hideFooter(t){this.ishideFooter=t}isComponentValid(t){this.isCompleted=t}isHideFooter(t){this.isShowFooter=t}hideforwardButton(t){this.hideForwardButton=t}static#e=this.\u0275fac=function(r){return new(r||n)(e.rXU(h.u),e.rXU(d.G),e.rXU(v.o),e.rXU(p.Ix))};static#t=this.\u0275cmp=e.VBU({type:n,selectors:[["bn-resupply-notification-preferences"]],viewQuery:function(r,i){if(1&r&&e.GBs(g,5),2&r){let s;e.mGM(s=e.lsd())&&(i.confirmation=s.first)}},decls:7,vars:8,consts:[["content",""],["confirmation",""],[1,"flex-wrapper"],[1,"payment-method",3,"id","cardTitle"],[3,"finalSubmit"],["label","Contact Information",3,"skipText","noAction","complete","checkValidity","active"],[3,"contactConfirmation","isFooterHide","valid",4,"ngIf"],[3,"isFooterHide","valid","contactConfirmation"]],template:function(r,i){if(1&r){const s=e.RV6();e.j41(0,"div",2)(1,"bn-card",3)(2,"content",null,0)(4,"bn-tabbed-content",4),e.bIt("finalSubmit",function(O){return e.eBV(s),e.Njj(i.finalSubmit(O))}),e.j41(5,"bn-tab",5),e.DNE(6,I,2,1,"bn-notification-preference",6),e.k0s()()()()()}2&r&&(e.R7$(),e.FS9("id",i.cardTitle[i.router.url.split("?")[0]]),e.FS9("cardTitle",i.cardTitle[i.router.url.split("?")[0]]),e.R7$(4),e.Y8G("skipText",i.router.url.includes("/notification-preference/text"))("noAction",i.getClass("email")&&i.getClass("text")&&i.getClass("confirmation")&&i.getClass("emergency-contact"))("complete",i.isTabCompleted("email")&&i.isTabCompleted("text")&&i.isTabCompleted("confirmation")&&i.isTabCompleted("emergency-contact"))("checkValidity",i.isCompleted)("active",i.isTapActive("email")||i.isTapActive("text")||i.isTapActive("confirmation")||i.isTapActive("emergency-contact")),e.R7$(),e.Y8G("ngIf","confirmation"===i.currentComponent))},dependencies:[m.bT,y.i,T.l,C.j,b.S]})}return n})();const R=[{path:"resupply-entry",component:u.a,resolve:{session:a._},canActivate:[c.e]},{path:"notification-preference/email",component:l,resolve:{session:a._},canActivate:[c.e]},{path:"notification-preference/email/confirmation",component:l,resolve:{session:a._},canActivate:[c.e]},{path:"notification-preference/text/confirmation",component:l,resolve:{session:a._},canActivate:[c.e]},{path:"notification-preference/text",component:l,resolve:{session:a._},canActivate:[c.e]},{path:"notification-preference/emergency-contact",component:l,resolve:{session:a._},canActivate:[c.e]}];let A=(()=>{class n{static#e=this.\u0275fac=function(r){return new(r||n)};static#t=this.\u0275mod=e.$C({type:n});static#i=this.\u0275inj=e.G2t({imports:[p.iI.forChild(R),p.iI]})}return n})();var N=o(5559);let F=(()=>{class n{static#e=this.\u0275fac=function(r){return new(r||n)};static#t=this.\u0275mod=e.$C({type:n});static#i=this.\u0275inj=e.G2t({imports:[m.MD,A,N.G]})}return 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.