PageSourceSearch

https://www.discover.com/assets/shell/189.be011281edb9e255.js

js discover.com collected 2026-09-24 08:26:39 UTC 10,249 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkwww_discover_com=self.webpackChunkwww_discover_com||[]).push([[189],{189:(Z,M,p)=>{p.r(M),p.d(M,{BrowserModule:()=>_.Bb,By:()=>L,DomSanitizer:()=>A,EVENT_MANAGER_PLUGINS:()=>d.Q5,EventManager:()=>d.EU,EventManagerPlugin:()=>d.Hl,HAMMER_GESTURE_CONFIG:()=>E,HAMMER_LOADER:()=>v,HammerGestureConfig:()=>C,HammerModule:()=>B,HydrationFeatureKind:()=>f,Meta:()=>I,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>d.dQ,Title:()=>b,VERSION:()=>W,bootstrapApplication:()=>_.B8,createApplication:()=>_.tM,disableDebugTools:()=>P,enableDebugTools:()=>N,platformBrowser:()=>_.sG,provideClientHydration:()=>K,provideProtractorTestingSupport:()=>_.ZT,withEventReplay:()=>V,withHttpTransferCacheOptions:()=>z,withI18nSupport:()=>G,withIncrementalHydration:()=>x,withNoHttpTransferCache:()=>k,\u0275BrowserDomAdapter:()=>_.Mr,\u0275BrowserGetTestability:()=>_.BE,\u0275DomEventsPlugin:()=>d.jd,\u0275DomRendererFactory2:()=>d.mE,\u0275DomSanitizerImpl:()=>O,\u0275HammerGesturesPlugin:()=>S,\u0275KeyEventsPlugin:()=>_.sQ,\u0275SharedStylesHost:()=>d.CI,\u0275getDOM:()=>h.\u0275getDOM});var s=p(6732),_=p(4797),h=p(5506),t=p(5372),d=p(9813),T=p(7428);let I=(()=>{var n;class o{constructor(e){(0,s.A)(this,"_doc",void 0),(0,s.A)(this,"_dom",void 0),this._doc=e,this._dom=(0,h.\u0275getDOM)()}addTag(e,r=!1){return e?this._getOrCreateElement(e,r):null}addTags(e,r=!1){return e?e.reduce((a,c)=>(c&&a.push(this._getOrCreateElement(c,r)),a),[]):[]}getTag(e){if(!e)return null;const r=this._doc.querySelector("meta[".concat(e,"]"));return"meta"===(null==r?void 0:r.nodeName.toLowerCase())?r:null}getTags(e){if(!e)return[];const r=this._doc.querySelectorAll("meta[".concat(e,"]"));return r?[].slice.call(r).filter(a=>"meta"===a.nodeName.toLowerCase()):[]}updateTag(e,r){if(!e)return null;this._validateMetaDefinition(e),r=r||this._parseSelector(e);const a=this.getTag(r);return a?this._setMetaElementAttributes(e,a):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,r=!1){if(this._validateMetaDefinition(e),!r){const u=this._parseSelector(e),l=this.getTags(u).filter(g=>this._containsAttributes(e,g))[0];if(void 0!==l)return l}const a=this._dom.createElement("meta");return this._setMetaElementAttributes(e,a),this._doc.getElementsByTagName("head")[0].appendChild(a),a}_setMetaElementAttributes(e,r){return Object.keys(e).forEach(a=>r.setAttribute(this._getMetaKeyMap(a),e[a])),r}_parseSelector(e){const r=e.name?"name":"property";return"".concat(r,"=").concat(this._escapeSelectorValue(String(e[r])))}_escapeSelectorValue(e){return'"'.concat(e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),'"')}_validateMetaDefinition(e){for(const r of Object.keys(e))if(this._getMetaKeyMap(r).toLowerCase().startsWith("on"))throw new t.\u0275RuntimeError(5203,!1)}_containsAttributes(e,r){return Object.keys(e).every(a=>r.getAttribute(this._getMetaKeyMap(a))===e[a])}_getMetaKeyMap(e){return Object.hasOwn(D,e)?D[e]:e}}return n=o,(0,s.A)(o,"\u0275fac",function(e){return new(e||n)(t.\u0275\u0275inject(h.DOCUMENT))}),(0,s.A)(o,"\u0275prov",t.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})),o})();const D={httpEquiv:"http-equiv"};let b=(()=>{var n;class o{constructor(e){(0,s.A)(this,"_doc",void 0),this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return n=o,(0,s.A)(o,"\u0275fac",function(e){return new(e||n)(t.\u0275\u0275inject(h.DOCUMENT))}),(0,s.A)(o,"\u0275prov",t.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})),o})();function y(n,o){(typeof COMPILED>"u"||!COMPILED)&&((t.\u0275global.ng=t.\u0275global.ng||{})[n]=o)}class R{constructor(o,i){(0,s.A)(this,"msPerTick",void 0),(0,s.A)(this,"numTicks",void 0),this.msPerTick=o,this.numTicks=i}}class H{constructor(o){(0,s.A)(this,"appRef",void 0),this.appRef=o.injector.get(t.ApplicationRef)}timeChangeDetection(o){const i=o&&o.record,e="Change Detection";i&&"profile"in console&&"function"==typeof console.profile&&console.profile(e);const r=performance.now();let a=0;for(;a<5||performance.now()-r<500;)this.appRef.tick(),a++;const c=performance.now();i&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(e);const u=(c-r)/a;return console.log("ran ".concat(a," change detection cycles")),console.log("".concat(u.toFixed(2)," ms per check")),new R(u,a)}}const w="profiler";function N(n){return y(w,new H(n)),n}function P(){y(w,null)}class L{static all(){return()=>!0}static css(o){return i=>null!=i.nativeElement&&function j(n,o){return!!(0,h.\u0275getDOM)().isElementNode(n)&&(n.matches&&n.matches(o)||n.msMatchesSelector&&n.msMatchesSelector(o)||n.webkitMatchesSelector&&n.webkitMatchesSelector(o))}(i.nativeElement,o)}static directive(o){return i=>-1!==i.providerTokens.indexOf(o)}}const U={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},E=new t.InjectionToken(""),v=new t.InjectionToken("");let C=(()=>{var n;class o{constructor(){(0,s.A)(this,"events",[]),(0,s.A)(this,"overrides",{}),(0,s.A)(this,"options",void 0)}buildHammer(e){const r=new Hammer(e,this.options);r.get("pinch").set({enable:!0}),r.get("rotate").set({enable:!0});for(const a in this.overrides)r.get(a).set(this.overrides[a]);return r}}return n=o,(0,s.A)(o,"\u0275fac",function(e){return new(e||n)}),(0,s.A)(o,"\u0275prov",t.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac})),o})(),S=(()=>{var n;class o extends d.Hl{constructor(e,r,a,c){super(e),(0,s.A)(this,"_config",void 0),(0,s.A)(this,"_injector",void 0),(0,s.A)(this,"loader",void 0),(0,s.A)(this,"_loaderPromise",null),this._config=r,this._injector=a,this.loader=c}supports(e){return!(!U.hasOwnProperty(e.toLowerCase())&&!this.isCu
1stomEvent(e)||!window.Hammer&&!this.loader)}addEventListener(e,r,a){const c=this.manager.getZone();if(r=r.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||c.runOutsideAngular(()=>this.loader());let u=!1,l=()=>{u=!0};return c.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?u||(l=this.addEventListener(e,r,a)):l=()=>{}}).catch(()=>{l=()=>{}})),()=>{l()}}return c.runOutsideAngular(()=>{const u=this._config.buildHammer(e),l=function(g){c.runGuarded(function(){a(g)})};return u.on(r,l),()=>{u.off(r,l),"function"==typeof u.destroy&&u.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}return n=o,(0,s.A)(o,"\u0275fac",function(e){return new(e||n)(t.\u0275\u0275inject(h.DOCUMENT),t.\u0275\u0275inject(E),t.\u0275\u0275inject(t.Injector),t.\u0275\u0275inject(v,8))}),(0,s.A)(o,"\u0275prov",t.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac})),o})(),B=(()=>{var n;class o{}return n=o,(0,s.A)(o,"\u0275fac",function(e){return new(e||n)}),(0,s.A)(o,"\u0275mod",t.\u0275\u0275defineNgModule({type:n})),(0,s.A)(o,"\u0275inj",t.\u0275\u0275defineInjector({providers:[{provide:d.Q5,useClass:S,multi:!0,deps:[h.DOCUMENT,E,t.Injector,[new t.Optional,v]]},{provide:E,useClass:C}]})),o})(),A=(()=>{var n;class o{}return n=o,(0,s.A)(o,"\u0275fac",function(e){return new(e||n)}),(0,s.A)(o,"\u0275prov",t.\u0275\u0275defineInjectable({token:n,factory:function(e){let r=null;return r=e?new(e||n):t.\u0275\u0275inject(O),r},providedIn:"root"})),o})(),O=(()=>{var n;class o extends A{constructor(e){super(),(0,s.A)(this,"_doc",void 0),this._doc=e}sanitize(e,r){if(null==r)return null;switch(e){case t.SecurityContext.NONE:return r;case t.SecurityContext.HTML:return(0,t.\u0275allowSanitizationBypassAndThrow)(r,"HTML")?(0,t.\u0275unwrapSafeValue)(r):(0,t.\u0275_sanitizeHtml)(this._doc,String(r)).toString();case t.SecurityContext.STYLE:return(0,t.\u0275allowSanitizationBypassAndThrow)(r,"Style")?(0,t.\u0275unwrapSafeValue)(r):r;case t.SecurityContext.SCRIPT:if((0,t.\u0275allowSanitizationBypassAndThrow)(r,"Script"))return(0,t.\u0275unwrapSafeValue)(r);throw new t.\u0275RuntimeError(5200,!1);case t.SecurityContext.URL:return(0,t.\u0275allowSanitizationBypassAndThrow)(r,"URL")?(0,t.\u0275unwrapSafeValue)(r):(0,t.\u0275_sanitizeUrl)(String(r));case t.SecurityContext.RESOURCE_URL:if((0,t.\u0275allowSanitizationBypassAndThrow)(r,"ResourceURL"))return(0,t.\u0275unwrapSafeValue)(r);throw new t.\u0275RuntimeError(5201,!1);default:throw new t.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(e){return(0,t.\u0275bypassSanitizationTrustHtml)(e)}bypassSecurityTrustStyle(e){return(0,t.\u0275bypassSanitizationTrustStyle)(e)}bypassSecurityTrustScript(e){return(0,t.\u0275bypassSanitizationTrustScript)(e)}bypassSecurityTrustUrl(e){return(0,t.\u0275bypassSanitizationTrustUrl)(e)}bypassSecurityTrustResourceUrl(e){return(0,t.\u0275bypassSanitizationTrustResourceUrl)(e)}}return n=o,(0,s.A)(o,"\u0275fac",function(e){return new(e||n)(t.\u0275\u0275inject(h.DOCUMENT))}),(0,s.A)(o,"\u0275prov",t.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac,providedIn:"root"})),o})();var f=function(n){return n[n.NoHttpTransferCache=0]="NoHttpTransferCache",n[n.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",n[n.I18nSupport=2]="I18nSupport",n[n.EventReplay=3]="EventReplay",n[n.IncrementalHydration=4]="IncrementalHydration",n}(f||{});function m(n,o=[],i={}){return{\u0275kind:n,\u0275providers:o}}function k(){return m(f.NoHttpTransferCache)}function z(n){return m(f.HttpTransferCacheOptions,(0,T.\u0275withHttpTransferCache)(n))}function G(){return m(f.I18nSupport,(0,t.\u0275withI18nSupport)())}function V(){return m(f.EventReplay,(0,t.\u0275withEventReplay)())}function x(){return m(f.IncrementalHydration,(0,t.\u0275withIncrementalHydration)())}function K(...n){const o=[],i=new Set;for(const{\u0275providers:r,\u0275kind:a}of n)i.add(a),r.length&&o.push(r);const e=i.has(f.HttpTransferCacheOptions);return(0,t.makeEnvironmentProviders)([[],[],(0,t.\u0275withDomHydration)(),i.has(f.NoHttpTransferCache)||e?[]:(0,T.\u0275withHttpTransferCache)({}),o])}const W=new t.Version("20.3.30")}}]);
2//# sourceMappingURL=189.be011281edb9e255.js.map

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.