PageSourceSearch

https://mythopia.io/chunk-SQ2DSPWW.js

js mythopia.io collected 2026-10-03 02:50:18 UTC 15,285 bytes, 1 lines download raw bytes

vendor: 11,672 bytes, line 1
1import{Aa as ne,Ac as he,Ba as re,Ca as oe,Da as se,Ea as g,K as m,La as _,Ma as ie,Mc as me,N as u,Na as ae,Nc as ge,Pa as ce,Pc as ve,Q as M,R as c,T as K,U as X,aa as f,ad as B,ea as k,fa as U,oa as W,pa as j,qa as q,qc as le,ra as A,rc as de,sa as x,sc as ue,ua as b,uc as fe,va as y,wa as E,xa as Q,ya as ee,yc as S,za as te,zc as pe}from"./chunk-C55ULECF.js";import{a as P}from"./chunk-7CGTOI24.js";var T=class{_doc;constructor(r){this._doc=r}manager},I=(()=>{class n extends T{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,o,s){return e.addEventListener(t,o,s),()=>this.removeEventListener(e,t,o,s)}removeEventListener(e,t,o,s){return e.removeEventListener(t,o,s)}static \u0275fac=function(t){return new(t||n)(c(f))};static \u0275prov=u({token:n,factory:n.\u0275fac})}return n})(),L=new M(""),$=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(i=>{i.manager=this});let o=e.filter(i=>!(i instanceof I));this._plugins=o.slice().reverse();let s=e.find(i=>i instanceof I);s&&this._plugins.push(s)}addEventListener(e,t,o,s){return this._findPluginFor(t).addEventListener(e,t,o,s)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(s=>s.supports(e)),!t)throw new m(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||n)(c(L),c(k))};static \u0275prov=u({token:n,factory:n.\u0275fac})}return n})(),V="ng-app-id";function ye(n){for(let r of n)r.remove()}function Ee(n,r){let e=r.createElement("style");return e.textContent=n,e}function Re(n,r,e,t){let o=n.head?.querySelectorAll(`style[${V}="${r}"],link[${V}="${r}"]`);if(o)for(let s of o)s.removeAttribute(V),s instanceof HTMLLinkElement?t.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&e.set(s.textContent,{usage:0,elements:[s]})}function z(n,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}var G=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,o,s={}){this.doc=e,this.appId=t,this.nonce=o,Re(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let o of e)this.addUsage(o,this.inline,Ee);t?.forEach(o=>this.addUsage(o,this.external,z))}removeStyles(e,t){for(let o of e)this.removeUsage(o,this.inline);t?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,t,o){let s=t.get(e);s?s.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(i=>this.addElement(i,o(e,this.doc)))})}removeUsage(e,t){let o=t.get(e);o&&(o.usage--,o.usage<=0&&(ye(o.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])ye(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:o}]of this.inline)o.push(this.addElement(e,Ee(t,this.doc)));for(let[t,{elements:o}]of this.external)o.push(this.addElement(e,z(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),e.appendChild(t)}static \u0275fac=function(t){return new(t||n)(c(f),c(j),c(x,8),c(A))};static \u0275prov=u({token:n,factory:n.\u0275fac})}return n})(),F={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Y=/%COMP%/g;var Me="%COMP%",Ce=`_nghost-${Me}`,Ae=`_ngcontent-${Me}`,be=!0,Ie=new M("",{factory:()=>be});function Oe(n){return Ae.replace(Y,n)}function Ne(n){return Ce.replace(Y,n)}function _e(n,r){return r.map(e=>e.replace(Y,n))}var Z=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,t,o,s,i,a,l=null,d=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=i,this.ngZone=a,this.nonce=l,this.tracingService=d,this.defaultRenderer=new D(e,i,a,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;let o=this.getOrCreateRenderer(e,t);return o instanceof N?o.applyToHost(e):o instanceof R&&o.applyStyles(),o}getOrCreateRenderer(e,t){let o=this.rendererByCompId,s=o.get(t.id);if(!s){let i=this.doc,a=this.ngZone,l=this.eventManager,d=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,h=this.tracingService;switch(t.encapsulation){case b.Emulated:s=new N(l,d,t,this.appId,p,i,a,h);break;case b.ShadowDom:return new O(l,e,t,i,a,this.nonce,h,d);case b.ExperimentalIsolatedShadowDom:return new O(l,e,t,i,a,this.nonce,h);default:s=new R(l,d,t,p,i,a,h);break}o.set(t.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||n)(c($),c(G),c(j),c(Ie),c(f),c(k),c(x),c(ae,8))};static \u0275prov=u({token:n,factory:n.\u0275fac})}return n})(),D=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,t,o){this.eventManager=r,this.doc=e,this.ngZone=t,this.tracingService=o}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(F[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(Se(r)?r.content:r).appendChild(e)}insertBefore(r,e,t){r&&(Se(r)?r.content:r).insertBefore(e,t)}removeChild(r,e){e.remove()}selectRootElement(r,e){let t=typeof r=="string"?this.doc.querySelector(r):r;if(!t)throw new m(-5104,!1);return e||(t.textContent=""),t}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,t,o){if(o){e=o+":"+e;let s=F[o];s?r.setAttributeNS(s,e,t):r.setAttribute(e,t)}else r.setAttribute(e,t)}removeAttribute(r,e,t){if(t){let o=F[t];o?r.removeAttributeNS(o,e):r.removeAttribute(`${t}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,t,o){o&(_.DashCase|_.Important)?r.style.setProperty(e,t,o&_.Important?"important":""):r.style[e]=t}removeStyle(r,e,t){t&_.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,t){r!=null&&(r[e]=t)}setValue(r,e){r.nodeValue=e}listen(r,e,t,o){if(typeof r=="string"&&(r=S().getGlobalEventTarget(this.doc,r),!r))throw new m(5102,!1);let s=this.decoratePreventDefault(t);return this.tracingService?.wrapEventListener&&(s=this.tracingService.wrapEventListener(r,e,s)),this.eventManager.addEventListener(r,e,s,o)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;r(e)===!1&&e.preventDefault()}}};function Se(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var O=class extends D{hostEl;sharedStylesHost;shadowRoot;constructor(r,e,t,o,s,i,a,l){super(r,o,s,a),this.hostEl=e,this.sharedStylesHost=l,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let d=t.styles;d=_e(t.id,d);for(let h of d){let v=document.createElement("style");i&&v.setAttribute("nonce",i),v.textContent=h,this.shadowRoot.appendChild(v)}let p=t.getExternalStyles?.();if(p)for(let h of p){let v=z(h,o);i&&v.setAttribute("nonce",i),this.shadowRoot.appendChild(v)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,t){return super.insertBefore(this.nodeOrShadowRoot(r),e,t)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},R=class extends D{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,t,o,s,i,a,l){super(r,s,i,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o;let d=t.styles;this.styles=l?_e(l,d):d,this.styleUrls=t.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&ie.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},N=class extends R{contentAttr;hostAttr;constructor(r,e,t,o,s,i,a,l){let d=o+"-"+t.id;super(r,e,t,s,i,a,l,d),this.contentAttr=Oe(d),this.hostAttr=Ne(d)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){let t=super.createElement(r,e);return super.setAttribute(t,this.contentAttr,""),t}};var H=class n extends he{supportsDOMEvents=!0;static makeCurrent(){pe(new n)}onAndCancel(r,e,t,o){return r.addEventListener(e,t,o),()=>{r.removeEventListener(e,t,o)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.remove()}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=ke();return e==null?null:Ue(e)}resetBaseElement(){C=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return me(document.cookie,r)}},C=null;function ke(){return C=C||document.head.querySelector("base"),C?C.getAttribute("href"):null}function Ue(n){return new URL(n,document.baseURI).pathname}var je=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||n)};static \u0275prov=u({token:n,factory:n.\u0275fac})}return n})(),Te=["alt","control","meta","shift"],xe={"\b":"Backspace","	":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Be={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},De=(()=>{class n extends T{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,t,o,s){let i=n.parseEventName(t),a=n.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>S().onAndCancel(e,i.domEventName,a,s))}static parseEventName(e){let t=e.toLowerCase().split("."),o=t.shift();if(t.length===0||!(o==="keydown"||o==="keyup"))return null;let s=n._normalizeKey(t.pop()),i="",a=t.indexOf("code");if(a>-1&&(t.splice(a,1),i="code."),Te.forEach(d=>{let p=t.indexOf(d);p>-1&&(t.splice(p,1),i+=d+".")}),i+=s,t.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=i,l}static matchEventFullKeyCode(e,t){let o=xe[e.key]||e.key,s="";return t.indexOf("code.")>-1&&(o=e.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Te.forEach(i=>{if(i!==o){let a=Be[i];a(e)&&(s+=i+".")}}),s+=o,s===t)}static eventCallback(e,t,o){return s=>{n.matchEventFullKeyCode(s,e)&&o.runGuarded(()=>t(s))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||n)(c(f))};static \u0275prov=u({token:n,factory:n.\u0275fac})}return n})();async function Ve(n,r,e){let t=P({rootComponent:n},Fe(r,e));return fe(t)}function Fe(n,r){return{platformRef:r?.platformRef,appProviders:[...Ze,...n?.providers??[]],platformProviders:Ye}}function ze(){H.makeCurrent()}function $e(){return new U}function Ge(){return W(document),document}var Ye=[{provide:A,useValue:ve},{provide:q,useValue:ze,multi:!0},{provide:f,useFactory:Ge}];var Ze=[{provide:X,useValue:"root"},{provide:U,useFactory:$e},{provide:L,useClass:I,multi:!0},{provide:L,useClass:De,multi:!0},Z,G,$,{provide:ce,useExisting:Z},{provide:ge,useClass:je},[]];var Yt=(()=>{class n{_doc;_dom;
1constructor(e){this._doc=e,this._dom=S()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((o,s)=>(s&&o.push(this._getOrCreateElement(s,t)),o),[]):[]}getTag(e){if(!e)return null;let t=this._doc.querySelector(`meta[${e}]`);return t?.nodeName.toLowerCase()==="meta"?t:null}getTags(e){if(!e)return[];let t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t).filter(o=>o.nodeName.toLowerCase()==="meta"):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);let o=this.getTag(t);return o?this._setMetaElementAttributes(e,o):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){let i=this._parseSelector(e),a=this.getTags(i).filter(l=>this._containsAttributes(e,l))[0];if(a!==void 0)return a}let o=this._dom.createElement("meta");return this._setMetaElementAttributes(e,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(o=>t.setAttribute(this._getMetaKeyMap(o),e[o])),t}_parseSelector(e){let t=e.name?"name":"property";return`${t}=${this._escapeSelectorValue(String(e[t]))}`}_escapeSelectorValue(e){return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}_containsAttributes(e,t){return Object.keys(e).every(o=>t.getAttribute(this._getMetaKeyMap(o))===e[o])}_getMetaKeyMap(e){return Ke[e]||e}static \u0275fac=function(t){return new(t||n)(c(f))};static \u0275prov=u({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ke={httpEquiv:"http-equiv"},Zt=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||n)(c(f))};static \u0275prov=u({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Xe=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=u({token:n,factory:function(t){let o=null;return t?o=new(t||n):o=c(We),o},providedIn:"root"})}return n})(),We=(()=>{class n extends Xe{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case g.NONE:return t;case g.HTML:return E(t,"HTML")?y(t):se(this._doc,String(t)).toString();case g.STYLE:return E(t,"Style")?y(t):t;case g.SCRIPT:if(E(t,"Script"))return y(t);throw new m(5200,!1);case g.URL:return E(t,"URL")?y(t):oe(String(t));case g.RESOURCE_URL:if(E(t,"ResourceURL"))return y(t);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(e){return Q(e)}bypassSecurityTrustStyle(e){return ee(e)}bypassSecurityTrustScript(e){return te(e)}bypassSecurityTrustUrl(e){return ne(e)}bypassSecurityTrustResourceUrl(e){return re(e)}static \u0275fac=function(t){return new(t||n)(c(f))};static \u0275prov=u({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),w=(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})(w||{});function J(n,r=[],e={}){return{\u0275kind:n,\u0275providers:r}}function Jt(n){return J(w.HttpTransferCacheOptions,B(n))}function Kt(){return J(w.EventReplay,le())}function Xt(){return J(w.IncrementalHydration,ue())}function Wt(...n){let r=[],e=new Set;for(let{\u0275providers:o,\u0275kind:s}of n)e.add(s),o.length&&r.push(o);let t=e.has(w.HttpTransferCacheOptions);return K([[],[],de(),e.has(w.NoHttpTransferCache)||t?[]:B({}),r])}export{Ve as a,Yt as b,Zt as c,Xe as d,Jt as e,Kt as f,Xt as g,Wt as h};

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.