vendor: 19,667 bytes, lines 1-2
1import{a as L1,b as no,c as so,d as io,e as lo,f as K2,h as ho,i as S1,j as co,k as vo,l as po,m as Y1,n as Re,o as go,p as t0,q as e8,r as a8,s as wo,t as L,u as Q2,v as uo,w as P0,x as y0}from"./chunk-U6SRFR6W.js";import{$ as U,$a as Q1,$b as P,A as $t,Aa as N,Ab as F,Ac as b0,B as l0,Ba as La,C as M1,Ca as Pe,Cb as u,Cc as to,D as z1,Da as qt,Dc as eo,E as Be,Ea as Oe,Eb as m,Ec as ao,F as A1,Fa as u2,Fc as oo,G as Wt,Ga as m2,Gb as Na,Gc as b1,H as n1,Ha as _a,Hb as V0,I as y1,Ia as Ba,Ib as Z0,Ic as f2,J as ze,Ja as za,Jb as f,Jc as ro,K as fa,Ka as ya,Kb as p,L as Ca,La as Sa,Lb as d,M as Ma,Ma as ka,Mb as b,N as s1,Na as Pa,Nb as ja,Oa as q1,Ob as $a,P as G1,Pb as De,Q as _0,Qa as Y,Qb as z,R as H1,Ra as Oa,Rb as V,S as J,Sa as Kt,Sb as h,Ta as K1,Tb as Z1,U as q,Ua as c,Ub as N0,Va as G2,Vb as Jt,W as i1,Wb as J0,X as x,Xa as h1,Xb as F0,Y as R0,Ya as Q0,Yb as D0,Z as Aa,Za as Q,Zb as Wa,_ as W,_a as Ta,_b as v1,a as g2,aa as v,ab as Qt,ac as t1,b as pa,ba as w2,bb as Ia,bc as Z,c as o1,ca as Ha,cb as Fa,cc as O,d as be,da as B0,db as Yt,dc as c0,e as Le,ea as G0,eb as K,ec as Ga,f as a0,fa as C,fb as U0,g as X,ga as M,gb as h0,h as ga,ha as ye,i as r1,ib as Y0,j as f0,ja as d0,jb as u0,k as y,ka as G,kb as Da,l as $1,la as r0,lb as B,m as _e,ma as Se,mb as x0,mc as o0,n as da,na as Gt,nb as x1,o as C1,ob as Te,oc as qa,pa as I,pb as Xt,pc as Ka,q as T,qc as Qa,r as W1,ra as xa,rb as Ea,rc as Ee,s as I0,sa as ke,sb as Ie,sc as Ya,t as $2,ta as M0,tb as q2,u as wa,ua as l1,ub as X0,uc as j0,v as jt,va as Va,vb as c1,vc as v0,w as ua,wa as g0,wb as V1,wc as Xa,x as d2,xa as Za,xb as Fe,xc as Ja,y as ma,ya as W2,yb as Ra,z as H0,za as ba,zb as Ua,zc as t8}from"./chunk-BLF6W2AN.js";import{a as H,b as R,c as j1,e as i0}from"./chunk-6MDQTQU3.js";var n8=new W(""),$e=(()=>{class a{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,e){this._zone=e,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,e,o,n){return this._findPluginFor(e).addEventListener(t,e,o,n)}getZone(){return this._zone}_findPluginFor(t){let e=this._eventNameToPlugin.get(t);if(e)return e;if(e=this._plugins.find(n=>n.supports(t)),!e)throw new q(5101,!1);return this._eventNameToPlugin.set(t,e),e}static \u0275fac=function(e){return new(e||a)(U(n8),U(x0))};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})(),Y2=class{_doc;constructor(r){this._doc=r}manager},o8="ng-app-id";function mo(a){for(let r of a)r.remove()}function fo(a,r){let t=r.createElement("style");return t.textContent=a,t}function v3(a,r,t,e){let o=a.head?.querySelectorAll(`style[${o8}="${r}"],link[${o8}="${r}"]`);if(o)for(let n of o)n.removeAttribute(o8),n instanceof HTMLLinkElement?e.set(n.href.slice(n.href.lastIndexOf("/")+1),{usage:0,elements:[n]}):n.textContent&&t.set(n.textContent,{usage:0,elements:[n]})}function Ne(a,r){let t=r.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",a),t}var We=(()=>{class a{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(t,e,o,n={}){this.doc=t,this.appId=e,this.nonce=o,this.isServer=Q2(n),v3(t,e,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,e){for(let o of t)this.addUsage(o,this.inline,fo);e?.forEach(o=>this.addUsage(o,this.external,Ne))}removeStyles(t,e){for(let o of t)this.removeUsage(o,this.inline);e?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,e,o){let n=e.get(t);n?n.usage++:e.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,e){let o=e.get(t);o&&(o.usage--,o.usage<=0&&(mo(o.elements),e.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])mo(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[e,{elements:o}]of this.inline)o.push(this.addElement(t,fo(e,this.doc)));for(let[e,{elements:o}]of this.external)o.push(this.addElement(t,Ne(e,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,e){return this.nonce&&e.setAttribute("nonce",this.nonce),this.isServer&&e.setAttribute(o8,this.appId),t.appendChild(e)}static \u0275fac=function(e){return new(e||a)(U(G),U(W2),U(Pe,8),U(N))};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})(),Ue={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"},Ge=/%COMP%/g;var Mo="%COMP%",p3=`_nghost-${Mo}`,g3=`_ngcontent-${Mo}`,d3=!0,w3=new W("",{providedIn:"root",factory:()=>d3});function u3(a){return g3.replace(Ge,a)}function m3(a){return p3.replace(Ge,a)}function Ao(a,r){return r.map(t=>t.replace(Ge,a))}var qe=(()=>{class a{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,e,o,n,s,i,l,g=null,w=null){this.eventManager=t,this.sharedStylesHost=e,this.appId=o,this.removeStylesOnCompDestroy=n,this.doc=s,this.platformId=i,this.ngZone=l,this.nonce=g,this.tracingService=w,this.platformIsServer=!1,this.defaultRenderer=new X2(t,s,l,this.platformIsServer,this.tracingService)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,e);return o instanceof r8?o.applyToHost(t):o instanceof J2&&o.applyStyles(),o}getOrCreateRenderer(t,e){let o=this.rendererByCompId,n=o.get(e.id);if(!n){let s=this.doc,i=this.ngZone,l=this.eventManager,g=this.sharedStylesHost,w=this.removeStylesOnCompDestroy,A=this.platformIsServer,_=this.tracingService;switch(e.encapsulation){case Oe.Emulated:n=new r8(l,g,e,this.appId,w,s,i,A,_);break;case Oe.ShadowDom:return new je(l,g,t,e,s,i,this.nonce,A,_);default:n=new J2(l,g,e,w,s,i,A,_);break}o.set(e.id,n)}return n}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(e){return new(e||a)(U($e),U(We),U(W2),U(w3),U(G),U(N),U(x0),U(Pe),U(Da,8))};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})(),X2=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,t,e,o,n){this.eventManager=r,this.doc=t,this.ngZone=e,this.platformIsServer=o,this.tracingService=n}destroy(){}destroyNode=null;createElement(r,t){return t?this.doc.createElementNS(Ue[t]||t,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,t){(Co(r)?r.content:r).appendChild(t)}insertBefore(r,t,e){r&&(Co(r)?r.content:r).insertBefore(t,e)}removeChild(r,t){t.remove()}selectRootElement(r,t){let e=typeof r=="string"?this.doc.querySelector(r):r;if(!e)throw new q(-5104,!1);return t||(e.textContent=""),e}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,t,e,o){if(o){t=o+":"+t;let n=Ue[o];n?r.setAttributeNS(n,t,e):r.setAttribute(t,e)}else r.setAttribute(t,e)}removeAttribute(r,t,e){if(e){let o=Ue[e];o?r.removeAttributeNS(o,t):r.removeAttribute(`${e}:${t}`)}else r.removeAttribute(t)}addClass(r,t){r.classList.add(t)}removeClass(r,t){r.classList.remove(t)}setStyle(r,t,e,o){o&(G2.DashCase|G2.Important)?r.style.setProperty(t,e,o&G2.Important?"important":""):r.style[t]=e}removeStyle(r,t,e){e&G2.DashCase?r.style.removeProperty(t):r.style[t]=""}setProperty(r,t,e){r!=null&&(r[t]=e)}setValue(r,t){r.nodeValue=t}listen(r,t,e,o){if(typeof r=="string"&&(r=L1().getGlobalEventTarget(this.doc,r),!r))throw new q(5102,!1);let n=this.decoratePreventDefault(e);return this.tracingService?.wrapEventListener&&(n=this.tracingService.wrapEventListener(r,t,n)),this.eventManager.addEventListener(r,t,n,o)}decoratePreventDefault(r){return t=>{if(t==="__ngUnwrap__")return r;r(t)===!1&&t.preventDefault()}}};function Co(a){return a.tagName==="TEMPLATE"&&a.content!==void 0}var je=class extends X2{sharedStylesHost;hostEl;shadowRoot;constructor(r,t,e,o,n,s,i,l,g){super(r,n,s,l,g),this.sharedStylesHost=t,this.hostEl=e,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let w=o.styles;w=Ao(o.id,w);for(let _ of w){let S=document.createElement("style");i&&S.setAttribute("nonce",i),S.textContent=_,this.shadowRoot.appendChild(S)}let A=o.getExternalStyles?.();if(A)for(let _ of A){let S=Ne(_,n);i&&S.setAttribute("nonce",i),this.shadowRoot.appendChild(S)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,t){return super.appendChild(this.nodeOrShadowRoot(r),t)}insertBefore(r,t,e){return super.insertBefore(this.nodeOrShadowRoot(r),t,e)}removeChild(r,t){return super.removeChild(null,t)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},J2=class extends X2{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,t,e,o,n,s,i,l,g){super(r,n,s,i,l),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let w=e.styles;this.styles=g?Ao(g,w):w,this.styleUrls=e.getExternalStyles?.(g)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},r8=class extends J2{contentAttr;hostAttr;constructor(r,t,e,o,n,s,i,l,g){let w=o+"-"+e.id;super(r,t,e,n,s,i,l,g,w),this.contentAttr=u3(w),this.hostAttr=m3(w)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,t){let e=super.createElement(r,t);return super.setAttribute(e,this.contentAttr,""),e}};var s8=class a extends so{supportsDOMEvents=!0;static makeCurrent(){no(new a)}onAndCancel(r,t,e,o){return r.addEventListener(t,e,o),()=>{r.removeEventListener(t,e,o)}}dispatchEvent(r,t){r.dispatchEvent(t)}remove(r){r.remove()}createElement(r,t){return t=t||this.getDefaultDocument(),t.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,t){return t==="window"?window:t==="document"?r:t==="body"?r.body:null}getBaseHref(r){let t=C3();return t==null?null:M3(t)}resetBaseElement(){tt=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return e8(document.cookie,r)}},tt=null;function C3(){return tt=tt||document.head.querySelector("base"),tt?tt.getAttribute("href"):null}function M3(a){return new URL(a,document.baseURI).pathname}var A3=(()=>{class a{build(){return new XMLHttpRequest}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})(),xo=(()=>{class a extends Y2{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,o,n){return t.addEventListener(e,o,n),()=>this.removeEventListener(t,e,o,n)}removeEventListener(t,e,o,n){return t.removeEventListener(e,o,n)}static \u0275fac=function(e){return new(e||a)(U(G))};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})(),Ho=["alt","control","meta","shift"],H3={"\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"},x3={alt:a=>a.altKey,control:a=>a.ctrlKey,meta:a=>a.metaKey,shift:a=>a.shiftKey},Vo=(()=>{class a extends Y2{constructor(t){super(t)}supports(t){return a.parseEventName(t)!=null}addEventListener(t,e,o,n){let s=a.parseEventName(e),i=a.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>L1().onAndCancel(t,s.domEventName,i,n))}static parseEventName(t){let e=t.toLowerCase().split("."),o=e.shift();if(e.length===0||!(o==="keydown"||o==="keyup"))return null;let n=a._normalizeKey(e.pop()),s="",i=e.indexOf("code");if(i>-1&&(e.splice(i,1),s="code."),Ho.forEach(g=>{let w=e.indexOf(g);w>-1&&(e.splice(w,1),s+=g+".")}),s+=n,e.length!=0||n.length===0)return null;let l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(t,e){let o=H3[t.key]||t.key,n="";return e.indexOf("code.")>-1&&(o=t.code,n="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Ho.forEach(s=>{if(s!==o){let i=x3[s];i(t)&&(n+=s+".")}}),n+=o,n===e)}static eventCallback(t,e,o){return n=>{a.matchEventFullKeyCode(n,t)&&o.runGuarded(()=>e(n))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(e){return new(e||a)(U(G))};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})();function V3(a,r){return to(H({rootComponent:a},Z3(r)))}function Z3(a){return{appProviders:[...z3,...a?.providers??[]],platformProviders:B3}}function b3(){s8.makeCurrent()}function L3(){return new Se}function _3(){return Za(document),document}var B3=[{provide:N,useValue:wo},{provide:ba,useValue:b3,multi:!0},{provide:G,useFactory:_3}];var z3=[{provide:Ha,useValue:"root"},{provide:Se,useFactory:L3},{provide:n8,useClass:xo,multi:!0,deps:[G]},{provide:n8,useClass:Vo,multi:!0,deps:[G]},qe,We,$e,{provide:h1,useExisting:qe},{provide:a8,useClass:A3},[]];var M2=class{},et=class{},_1=class a{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map,r.split(` 2`).forEach(t=>{let e=t.indexOf(":");if(e>0){let o=t.slice(0,e),n=t.slice(e+1).trim();this.addHeaderEntry(o,n)}})}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map,r.forEach((t,e)=>{this.addHeaderEntry(e,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(r).forEach(([t,e])=>{this.setHeaderEntries(t,e)})}:this.headers=new Map}has(r){return this.init(),this.headers.has(r.toLowerCase())}get(r){this.init();let t=this.headers.get(r.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null}append(r,t){return this.clone({name:r,value:t,op:"a"})}set(r,t){return this.clone({name:r,value:t,op:"s"})}delete(r,t){return this.clone({name:r,value:t,op:"d"})}maybeSetNormalizedName(r,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,r)}init(){this.lazyInit&&(this.lazyInit instanceof a?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null))}copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(t=>{this.headers.set(t,r.headers.get(t)),this.normalizedNames.set(t,r.normalizedNames.get(t))})}clone(r){let t=new a;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof a?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([r]),t}applyUpdate(r){let t=r.name.toLowerCase();switch(r.op){case"a":case"s":let e=r.value;if(typeof e=="string"&&(e=[e]),e.length===0)return;this.maybeSetNormalizedName(r.name,t);let o=(r.op==="a"?this.headers.get(t):void 0)||[];o.push(...e),this.headers.set(t,o);break;case"d":let n=r.value;if(!n)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(i=>n.indexOf(i)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(r,t){let e=r.toLowerCase();this.maybeSetNormalizedName(r,e),this.headers.has(e)?this.headers.get(e).push(t):this.headers.set(e,[t])}setHeaderEntries(r,t){let e=(Array.isArray(t)?t:[t]).map(n=>n.toString()),o=r.toLowerCase();this.headers.set(o,e),this.maybeSetNormalizedName(r,o)}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>r(this.normalizedNames.get(t),this.headers.get(t)))}};var l8=class{encodeKey(r){return Zo(r)}encodeValue(r){return Zo(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}};function y3(a,r){let t=new Map;return a.length>0&&a.replace(/^\?/,"").split("&").forEach(o=>{let n=o.indexOf("="),[s,i]=n==-1?[r.decodeKey(o),""]:[r.decodeKey(o.slice(0,n)),r.decodeValue(o.slice(n+1))],l=t.get(s)||[];l.push(i),t.set(s,l)}),t}var S3=/%(\d[a-f0-9])/gi,k3={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Zo(a){return encodeURIComponent(a).replace(S3,(r,t)=>k3[t]??r)}function i8(a){return`${a}`}var E0=class a{map;encoder;updates=null;cloneFrom=null;constructor(r={}){if(this.encoder=r.encoder||new l8,r.fromString){if(r.fromObject)throw new q(2805,!1);this.map=y3(r.fromString,this.encoder)}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(t=>{let e=r.fromObject[t],o=Array.isArray(e)?e.map(i8):[i8(e)];this.map.set(t,o)})):this.map=null}has(r){return this.init(),this.map.has(r)}get(r){this.init();let t=this.map.get(r);return t?t[0]:null}getAll(r){return this.init(),this.map.get(r)||null}keys(){return this.init(),Array.from(this.map.keys())}append(r,t){return this.clone({param:r,value:t,op:"a"})}appendAll(r){let t=[];return Object.keys(r).forEach(e=>{let o=r[e];Array.isArray(o)?o.forEach(n=>{t.push({param:e,value:n,op:"a"})}):t.push({param:e,value:o,op:"a"})}),this.clone(t)}set(r,t){return this.clone({param:r,value:t,op:"s"})}delete(r,t){return this.clone({param:r,value:t,op:"d"})}toString(){return this.init(),this.keys().map(r=>{let t=this.encoder.encodeKey(r);return this.map.get(r).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(r=>r!=="").join("&")}clone(r){let t=new a({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(r),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case"a":case"s":let t=(r.op==="a"?this.map.get(r.param):void 0)||[];t.push(i8(r.value)),this.map.set(r.param,t);break;case"d":if(r.value!==void 0){let e=this.map.get(r.param)||[],o=e.indexOf(i8(r.value));o!==-1&&e.splice(o,1),e.length>0?this.map.set(r.param,e):this.map.delete(r.param)}else{this.map.delete(r.param);break}}}),this.cloneFrom=this.updates=null)}};var h8=class{map=new Map;set(r,t){return this.map.set(r,t),this}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r)}delete(r){return this.map.delete(r),this}has(r){return this.map.has(r)}keys(){return this.map.keys()}};function P3(a){switch(a){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function bo(a){return typeof ArrayBuffer<"u"&&a instanceof ArrayBuffer}function Lo(a){return typeof Blob<"u"&&a instanceof Blob}function _o(a){return typeof FormData<"u"&&a instanceof FormData}function O3(a){return typeof URLSearchParams<"u"&&a instanceof URLSearchParams}var Bo="Content-Type",zo="Accept",yo="X-Request-URL",So="text/plain",ko="application/json",T3=`${ko}, ${So}, */*`,C2=class a{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;keepalive=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(r,t,e,o){this.url=t,this.method=r.toUpperCase();let n;if(P3(this.method)||o?(this.body=e!==void 0?e:null,n=o):n=e,n&&(this.reportProgress=!!n.reportProgress,this.withCredentials=!!n.withCredentials,this.keepalive=!!n.keepalive,n.responseType&&(this.responseType=n.responseType),n.headers&&(this.headers=n.headers),n.context&&(this.context=n.context),n.params&&(this.params=n.params),this.transferCache=n.transferCache),this.headers??=new _1,this.context??=new h8,!this.params)this.params=new E0,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let i=t.indexOf("?"),l=i===-1?"?":i<t.length-1?"&":"";this.urlWithParams=t+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="str
2ing"||bo(this.body)||Lo(this.body)||_o(this.body)||O3(this.body)?this.body:this.body instanceof E0?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||_o(this.body)?null:Lo(this.body)?this.body.type||null:bo(this.body)?null:typeof this.body=="string"?So:this.body instanceof E0?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?ko:null}clone(r={}){let t=r.method||this.method,e=r.url||this.url,o=r.responseType||this.responseType,n=r.keepalive??this.keepalive,s=r.transferCache??this.transferCache,i=r.body!==void 0?r.body:this.body,l=r.withCredentials??this.withCredentials,g=r.reportProgress??this.reportProgress,w=r.headers||this.headers,A=r.params||this.params,_=r.context??this.context;return r.setHeaders!==void 0&&(w=Object.keys(r.setHeaders).reduce((S,k)=>S.set(k,r.setHeaders[k]),w)),r.setParams&&(A=Object.keys(r.setParams).reduce((S,k)=>S.set(k,r.setParams[k]),A)),new a(t,e,i,{params:A,headers:w,context:_,reportProgress:g,responseType:o,withCredentials:l,transferCache:s,keepalive:n})}},p1=function(a){return a[a.Sent=0]="Sent",a[a.UploadProgress=1]="UploadProgress",a[a.ResponseHeader=2]="ResponseHeader",a[a.DownloadProgress=3]="DownloadProgress",a[a.Response=4]="Response",a[a.User=5]="User",a}(p1||{}),A2=class{headers;status;statusText;url;ok;type;constructor(r,t=200,e="OK"){this.headers=r.headers||new _1,this.status=r.status!==void 0?r.status:t,this.statusText=r.statusText||e,this.url=r.url||null,this.ok=this.status>=200&&this.status<300}},c8=class a extends A2{constructor(r={}){super(r)}type=p1.ResponseHeader;clone(r={}){return new a({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},k1=class a extends A2{body;constructor(r={}){super(r),this.body=r.body!==void 0?r.body:null}type=p1.Response;clone(r={}){return new a({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},at=class extends A2{name="HttpErrorResponse";message;error;ok=!1;constructor(r){super(r,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${r.url||"(unknown url)"}`:this.message=`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null}},I3=200,F3=204;function Ke(a,r){return{body:r,headers:a.headers,context:a.context,observe:a.observe,params:a.params,reportProgress:a.reportProgress,responseType:a.responseType,withCredentials:a.withCredentials,transferCache:a.transferCache,keepalive:a.keepalive}}var w0=(()=>{class a{handler;constructor(t){this.handler=t}request(t,e,o={}){let n;if(t instanceof C2)n=t;else{let l;o.headers instanceof _1?l=o.headers:l=new _1(o.headers);let g;o.params&&(o.params instanceof E0?g=o.params:g=new E0({fromObject:o.params})),n=new C2(t,e,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:g,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive})}let s=y(n).pipe(M1(l=>this.handler.handle(l)));if(t instanceof C2||o.observe==="events")return s;let i=s.pipe(H0(l=>l instanceof k1));switch(o.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return i.pipe(T(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new q(2806,!1);return l.body}));case"blob":return i.pipe(T(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new q(2807,!1);return l.body}));case"text":return i.pipe(T(l=>{if(l.body!==null&&typeof l.body!="string")throw new q(2808,!1);return l.body}));case"json":default:return i.pipe(T(l=>l.body))}case"response":return i;default:throw new q(2809,!1)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:new E0().append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,o={}){return this.request("PATCH",t,Ke(o,e))}post(t,e,o={}){return this.request("POST",t,Ke(o,e))}put(t,e,o={}){return this.request("PUT",t,Ke(o,e))}static \u0275fac=function(e){return new(e||a)(U(M2))};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})();var D3=new W("");function E3(a,r){return r(a)}function R3(a,r,t){return(e,o)=>G0(t,()=>r(e,n=>a(n,o)))}var Ye=new W(""),Xe=new W(""),Po=new W("",{providedIn:"root",factory:()=>!0});var v8=(()=>{class a extends M2{backend;injector;chain=null;pendingTasks=v(ke);contributeToStability=v(Po);constructor(t,e){super(),this.backend=t,this.injector=e}handle(t){if(this.chain===null){let e=Array.from(new Set([...this.injector.get(Ye),...this.injector.get(Xe,[])]));this.chain=e.reduceRight((o,n)=>R3(o,n,this.injector),E3)}if(this.contributeToStability){let e=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(n1(e))}else return this.chain(t,e=>this.backend.handle(e))}static \u0275fac=function(e){return new(e||a)(U(et),U(B0))};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})();var U3=/^\)\]\}',?\n/,N3=RegExp(`^${yo}:`,"m");function j3(a){return"responseURL"in a&&a.responseURL?a.responseURL:N3.test(a.getAllResponseHeaders())?a.getResponseHeader(yo):null}var Qe=(()=>{class a{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new q(-2800,!1);t.keepalive;let e=this.xhrFactory;return(e.\u0275loadImpl?f0(e.\u0275loadImpl()):y(null)).pipe(_0(()=>new o1(n=>{let s=e.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEac
2h((E,$)=>s.setRequestHeader(E,$.join(","))),t.headers.has(zo)||s.setRequestHeader(zo,T3),!t.headers.has(Bo)){let E=t.detectContentTypeHeader();E!==null&&s.setRequestHeader(Bo,E)}if(t.responseType){let E=t.responseType.toLowerCase();s.responseType=E!=="json"?E:"text"}let i=t.serializeBody(),l=null,g=()=>{if(l!==null)return l;let E=s.statusText||"OK",$=new _1(s.getAllResponseHeaders()),k0=j3(s)||t.url;return l=new c8({headers:$,status:s.status,statusText:E,url:k0}),l},w=()=>{let{headers:E,status:$,statusText:k0,url:a1}=g(),s0=null;$!==F3&&(s0=typeof s.response>"u"?s.responseText:s.response),$===0&&($=s0?I3:0);let N1=$>=200&&$<300;if(t.responseType==="json"&&typeof s0=="string"){let Ze=s0;s0=s0.replace(U3,"");try{s0=s0!==""?JSON.parse(s0):null}catch(c3){s0=Ze,N1&&(N1=!1,s0={error:c3,text:s0})}}N1?(n.next(new k1({body:s0,headers:E,status:$,statusText:k0,url:a1||void 0})),n.complete()):n.error(new at({error:s0,headers:E,status:$,statusText:k0,url:a1||void 0}))},A=E=>{let{url:$}=g(),k0=new at({error:E,status:s.status||0,statusText:s.statusText||"Unknown Error",url:$||void 0});n.error(k0)},_=!1,S=E=>{_||(n.next(g()),_=!0);let $={type:p1.DownloadProgress,loaded:E.loaded};E.lengthComputable&&($.total=E.total),t.responseType==="text"&&s.responseText&&($.partialText=s.responseText),n.next($)},k=E=>{let $={type:p1.UploadProgress,loaded:E.loaded};E.lengthComputable&&($.total=E.total),n.next($)};return s.addEventListener("load",w),s.addEventListener("error",A),s.addEventListener("timeout",A),s.addEventListener("abort",A),t.reportProgress&&(s.addEventListener("progress",S),i!==null&&s.upload&&s.upload.addEventListener("progress",k)),s.send(i),n.next({type:p1.Sent}),()=>{s.removeEventListener("error",A),s.removeEventListener("abort",A),s.removeEventListener("load",w),s.removeEventListener("timeout",A),t.reportProgress&&(s.removeEventListener("progress",S),i!==null&&s.upload&&s.upload.removeEventListener("progress",k)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(e){return new(e||a)(U(a8))};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})(),Oo=new W(""),$3="XSRF-TOKEN",W3=new W("",{providedIn:"root",factory:()=>$3}),G3="X-XSRF-TOKEN",q3=new W("",{providedIn:"root",factory:()=>G3}),X1=class{},K3=(()=>{class a{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,e){this.doc=t,this.cookieName=e}getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=e8(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(e){return new(e||a)(U(G),U(W3))};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})();function Q3(a,r){let t=a.url.toLowerCase();if(!v(Oo)||a.method==="GET"||a.method==="HEAD"||t.startsWith("http://")||t.startsWith("https://"))return r(a);let e=v(X1).getToken(),o=v(q3);return e!=null&&!a.headers.has(o)&&(a=a.clone({headers:a.headers.set(o,e)})),r(a)}var Je=function(a){return a[a.Interceptors=0]="Interceptors",a[a.LegacyInterceptors=1]="LegacyInterceptors",a[a.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",a[a.NoXsrfProtection=3]="NoXsrfProtection",a[a.JsonpSupport=4]="JsonpSupport",a[a.RequestsMadeViaParent=5]="RequestsMadeViaParent",a[a.Fetch=6]="Fetch",a}(Je||{});function Y3(a,r){return{\u0275kind:a,\u0275providers:r}}function X3(...a){let r=[w0,Qe,v8,{provide:M2,useExisting:v8},{provide:et,useFactory:()=>v(D3,{optional:!0})??v(Qe)},{provide:Ye,useValue:Q3,multi:!0},{provide:Oo,useValue:!0},{provide:X1,useClass:K3}];for(let t of a)r.push(...t.\u0275providers);return w2(r)}function J3(a){return Y3(Je.Interceptors,a.map(r=>({provide:Ye,useValue:r,multi:!0})))}var Io=new W(""),o5="b",r5="h",n5="s",s5="st",i5="u",l5="rt",t6=new W(""),h5=["GET","HEAD"];function c5(a,r){let S=v(t6),{isCacheActive:t}=S,e=j1(S,["isCacheActive"]),{transferCache:o,method:n}=a;if(!t||o===!1||n==="POST"&&!e.includePostRequests&&!o||n!=="POST"&&!h5.includes(n)||!e.includeRequestsWithAuthHeaders&&v5(a)||e.filter?.(a)===!1)return r(a);let s=v(qt);if(v(Io,{optional:!0}))throw new q(2803,!1);let l=a.url,g=p5(a,l),w=s.get(g,null),A=e.includeHeaders;if(typeof o=="object"&&o.includeHeaders&&(A=o.includeHeaders),w){let{[o5]:k,[l5]:E,[r5]:$,[n5]:k0,[s5]:a1,[i5]:s0}=w,N1=k;switch(E){case"arraybuffer":N1=new TextEncoder().encode(k).buffer;break;case"blob":N1=new Blob([k]);break}
2let Ze=new _1($);return y(new k1({body:N1,headers:Ze,status:k0,statusText:a1,url:s0}))}return r(a)}function v5(a){return a.headers.has("authorization")||a.headers.has("proxy-authorization")}function To(a){return[...a.keys()].sort().map(r=>`${r}=${a.getAll(r)}`).join("&")}function p5(a,r){let{params:t,method:e,responseType:o}=a,n=To(t),s=a.serializeBody();s instanceof URLSearchParams?s=To(s):typeof s!="string"&&(s="");let i=[e,o,r,s,n].join("|"),l=g5(i);return l}function g5(a){let r=0;for(let t of a)r=Math.imul(31,r)+t.charCodeAt(0)<<0;return r+=2147483648,r.toString()}function e6(a){return[{provide:t6,useFactory:()=>(Qt("NgHttpTransferCache"),H({isCacheActive:!0},a))},{provide:Xe,useValue:c5,multi:!0},{provide:q2,multi:!0,useFactory:()=>{let r=v(X0),t=v(t6);return()=>{r.whenStable().then(()=>{t.isCacheActive=!1})}}}]}var J1=(()=>{class a{_doc;_dom;constructor(t){this._doc=t,this._dom=L1()}addTag(t,e=!1){return t?this._getOrCreateElement(t,e):null}addTags(t,e=!1){return t?t.reduce((o,n)=>(n&&o.push(this._getOrCreateElement(n,e)),o),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];let e=this._doc.querySelectorAll(`meta[${t}]`);return e?[].slice.call(e):[]}updateTag(t,e){if(!t)return null;e=e||this._parseSelector(t);let o=this.getTag(e);return o?this._setMetaElementAttributes(t,o):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,e=!1){if(!e){let s=this._parseSelector(t),i=this.getTags(s).filter(l=>this._containsAttributes(t,l))[0];if(i!==void 0)return i}let o=this._dom.createElement("meta");return this._setMetaElementAttributes(t,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}_setMetaElementAttributes(t,e){return Object.keys(t).forEach(o=>e.setAttribute(this._getMetaKeyMap(o),t[o])),e}_parseSelector(t){let e=t.name?"name":"property";return`${e}="${t[e]}"`}_containsAttributes(t,e){return Object.keys(t).every(o=>e.getAttribute(this._getMetaKeyMap(o))===t[o])}_getMetaKeyMap(t){return m5[t]||t}static \u0275fac=function(e){return new(e||a)(U(G))};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),m5={httpEquiv:"http-equiv"},ot=(()=>{class a{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(e){return new(e||a)(U(G))};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Fo=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:function(e){let o=null;return e?o=new(e||a):o=U(f5),o},providedIn:"root"})}return a})(),f5=(()=>{class a extends Fo{_doc;constructor(t){super(),this._doc=t}sanitize(t,e){if(e==null)return null;switch(t){case q1.NONE:return e;case q1.HTML:return m2(e,"HTML")?u2(e):Pa(this._doc,String(e)).toString();case q1.STYLE:return m2(e,"Style")?u2(e):e;case q1.SCRIPT:if(m2(e,"Script"))return u2(e);throw new q(5200,!1);case q1.URL:return m2(e,"URL")?u2(e):ka(String(e));case q1.RESOURCE_URL:if(m2(e,"ResourceURL"))return u2(e);throw new q(5201,!1);default:throw new q(5202,!1)}}bypassSecurityTrustHtml(t){return _a(t)}bypassSecurityTrustStyle(t){return Ba(t)}bypassSecurityTrustScript(t){return za(t)}bypassSecurityTrustUrl(t){return ya(t)}bypassSecurityTrustResourceUrl(t){return Sa(t)}static \u0275fac=function(e){return new(e||a)(U(G))};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),H2=function(a){return a[a.NoHttpTransferCache=0]="NoHttpTransferCache",a[a.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",a[a.I18nSupport=2]="I18nSupport",a[a.EventReplay=3]="EventReplay",a[a.IncrementalHydration=4]="IncrementalHydration",a}(H2||{});function a6(a,r=[],t={}){return{\u0275kind:a,\u0275providers:r}}function um(a){return a6(H2.HttpTransferCacheOptions,e6(a))}function mm(){return a6(H2.EventReplay,eo())}function fm(){return a6(H2.IncrementalHydration,oo())}function Cm(...a){let r=[],t=new Set;for(let{\u0275providers:o,\u0275kind:n}of a)t.add(n),o.length&&r.push(o);let e=t.has(H2.HttpTransferCacheOptions);
2return w2([[],ao(),t.has(H2.NoHttpTransferCache)||e?[]:e6({}),r])}var j="primary",ut=Symbol("RouteTitle"),i6=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let t=this.params[r];return Array.isArray(t)?t[0]:t}return null}getAll(r){if(this.has(r)){let t=this.params[r];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function a2(a){return new i6(a)}function Wo(a,r,t){let e=t.path.split("/");if(e.length>a.length||t.pathMatch==="full"&&(r.hasChildren()||e.length<a.length))return null;let o={};for(let n=0;n<e.length;n++){let s=e[n],i=a[n];if(s[0]===":")o[s.substring(1)]=i;else if(s!==i.path)return null}return{consumed:a.slice(0,e.length),posParams:o}}function M5(a,r){if(a.length!==r.length)return!1;for(let t=0;t<a.length;++t)if(!g1(a[t],r[t]))return!1;return!0}function g1(a,r){let t=a?l6(a):void 0,e=r?l6(r):void 0;if(!t||!e||t.length!=e.length)return!1;let o;for(let n=0;n<t.length;n++)if(o=t[n],!Go(a[o],r[o]))return!1;return!0}function l6(a){return[...Object.keys(a),...Object.getOwnPropertySymbols(a)]}function Go(a,r){if(Array.isArray(a)&&Array.isArray(r)){if(a.length!==r.length)return!1;let t=[...a].sort(),e=[...r].sort();return t.every((o,n)=>e[n]===o)}else return a===r}function qo(a){return a.length>0?a[a.length-1]:null}function B1(a){return _e(a)?a:Xt(a)?f0(Promise.resolve(a)):y(a)}var A5={exact:Qo,subset:Yo},Ko={exact:H5,subset:x5,ignored:()=>!0};function Do(a,r,t){return A5[t.paths](a.root,r.root,t.matrixParams)&&Ko[t.queryParams](a.queryParams,r.queryParams)&&!(t.fragment==="exact"&&a.fragment!==r.fragment)}function H5(a,r){return g1(a,r)}function Qo(a,r,t){if(!t2(a.segments,r.segments)||!d8(a.segments,r.segments,t)||a.numberOfChildren!==r.numberOfChildren)return!1;for(let e in r.children)if(!a.children[e]||!Qo(a.children[e],r.children[e],t))return!1;return!0}function x5(a,r){return Object.keys(r).length<=Object.keys(a).length&&Object.keys(r).every(t=>Go(a[t],r[t]))}function Yo(a,r,t){return Xo(a,r,r.segments,t)}function Xo(a,r,t,e){if(a.segments.length>t.length){let o=a.segments.slice(0,t.length);return!(!t2(o,t)||r.hasChildren()||!d8(o,t,e))}else if(a.segments.length===t.length){if(!t2(a.segments,t)||!d8(a.segments,t,e))return!1;for(let o in r.children)if(!a.children[o]||!Yo(a.children[o],r.children[o],e))return!1;return!0}else{let o=t.slice(0,a.segments.length),n=t.slice(a.segments.length);return!t2(a.segments,o)||!d8(a.segments,o,e)||!a.children[j]?!1:Xo(a.children[j],r,n,e)}}function d8(a,r,t){return r.every((e,o)=>Ko[t](a[o].parameters,e.parameters))}var w1=class{root;queryParams;fragment;_queryParamMap;constructor(r=new e0([],{}),t={},e=null){this.root=r,this.queryParams=t,this.fragment=e}get queryParamMap(){return this._queryParamMap??=a2(this.queryParams),this._queryParamMap}toString(){return b5.serialize(this)}},e0=class{segments;children;parent=null;constructor(r,t){this.segments=r,this.children=t,Object.values(t).forEach(e=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return w8(this)}},P1=class{path;parameters;_parameterMap;constructor(r,t){this.path=r,this.parameters=t}get parameterMap(){return this._parameterMap??=a2(this.parameters),this._parameterMap}toString(){return tr(this)}};function V5(a,r){return t2(a,r)&&a.every((t,e)=>g1(t.parameters,r[e].parameters))}function t2(a,r){return a.length!==r.length?!1:a.every((t,e)=>t.path===r[e].path)}function Z5(a,r){let t=[];return Object.entries(a.children).forEach(([e,o])=>{e===j&&(t=t.concat(r(o,e)))}),Object.entries(a.children).forEach(([e,o])=>{e!==j&&(t=t.concat(r(o,e)))}),t}var o2=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:()=>new O1,providedIn:"root"})}return a})(),O1=class{parse(r){let t=new c6(r);return new w1(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(r){let t=`/${rt(r.root,!0)}`,e=B5(r.queryParams),o=typeof r.fragment=="string"?`#${L5(r.fragment)}`:"";return`${t}${e}${o}`}}
2,b5=new O1;function w8(a){return a.segments.map(r=>tr(r)).join("/")}function rt(a,r){if(!a.hasChildren())return w8(a);if(r){let t=a.children[j]?rt(a.children[j],!1):"",e=[];return Object.entries(a.children).forEach(([o,n])=>{o!==j&&e.push(`${o}:${rt(n,!1)}`)}),e.length>0?`${t}(${e.join("//")})`:t}else{let t=Z5(a,(e,o)=>o===j?[rt(a.children[j],!1)]:[`${o}:${rt(e,!1)}`]);return Object.keys(a.children).length===1&&a.children[j]!=null?`${w8(a)}/${t[0]}`:`${w8(a)}/(${t.join("//")})`}}function Jo(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function p8(a){return Jo(a).replace(/%3B/gi,";")}function L5(a){return encodeURI(a)}function h6(a){return Jo(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function u8(a){return decodeURIComponent(a)}function Eo(a){return u8(a.replace(/\+/g,"%20"))}function tr(a){return`${h6(a.path)}${_5(a.parameters)}`}function _5(a){return Object.entries(a).map(([r,t])=>`;${h6(r)}=${h6(t)}`).join("")}function B5(a){let r=Object.entries(a).map(([t,e])=>Array.isArray(e)?e.map(o=>`${p8(t)}=${p8(o)}`).join("&"):`${p8(t)}=${p8(e)}`).filter(t=>t);return r.length?`?${r.join("&")}`:""}var z5=/^[^\/()?;#]+/;function o6(a){let r=a.match(z5);return r?r[0]:""}var y5=/^[^\/()?;=#]+/;function S5(a){let r=a.match(y5);return r?r[0]:""}var k5=/^[^=?&#]+/;function P5(a){let r=a.match(k5);return r?r[0]:""}var O5=/^[^&#]+/;function T5(a){let r=a.match(O5);return r?r[0]:""}var c6=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new e0([],{}):new e0([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(r.length>0||Object.keys(t).length>0)&&(e[j]=new e0(r,t)),e}parseSegment(){let r=o6(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new q(4009,!1);return this.capture(r),new P1(u8(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let t=S5(this.remaining);if(!t)return;this.capture(t);let e="";if(this.consumeOptional("=")){let o=o6(this.remaining);o&&(e=o,this.capture(e))}r[u8(t)]=u8(e)}parseQueryParam(r){let t=P5(this.remaining);if(!t)return;this.capture(t);let e="";if(this.consumeOptional("=")){let s=T5(this.remaining);s&&(e=s,this.capture(e))}let o=Eo(t),n=Eo(e);if(r.hasOwnProperty(o)){let s=r[o];Array.isArray(s)||(s=[s],r[o]=s),s.push(n)}else r[o]=n}parseParens(r){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let e=o6(this.remaining),o=this.remaining[e.length];if(o!=="/"&&o!==")"&&o!==";")throw new q(4010,!1);let n;e.indexOf(":")>-1?(n=e.slice(0,e.indexOf(":")),this.capture(n),this.capture(":")):r&&(n=j);let s=this.parseChildren();t[n]=Object.keys(s).length===1?s[j]:new e0([],s),this.consumeOptional("//")}return t}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new q(4011,!1)}};function er(a){return a.segments.length>0?new e0([],{[j]:a}):a}function ar(a){let r={};for(let[e,o]of Object.entries(a.children)){let n=ar(o);if(e===j&&n.segments.length===0&&n.hasChildren())for(let[s,i]of Object.entries(n.children))r[s]=i;else(n.segments.length>0||n.hasChildren())&&(r[e]=n)}let t=new e0(a.segments,r);return I5(t)}function I5(a){if(a.numberOfChildren===1&&a.children[j]){let r=a.children[j];return new e0(a.segments.concat(r.segments),r.children)}return a}function T1(a){return a instanceof w1}function or(a,r,t=null,e=null){let o=rr(a);return nr(o,r,t,e)}function rr(a){let r;function t(n){let s={};for(let l of n.children){let g=t(l);s[l.outlet]=g}let i=new e0(n.url,s);return n===a&&(r=i),i}let e=t(a.root),o=er(e);return r??o}
2function nr(a,r,t,e){let o=a;for(;o.parent;)o=o.parent;if(r.length===0)return r6(o,o,o,t,e);let n=F5(r);if(n.toRoot())return r6(o,o,new e0([],{}),t,e);let s=D5(n,o,a),i=s.processChildren?st(s.segmentGroup,s.index,n.commands):ir(s.segmentGroup,s.index,n.commands);return r6(o,s.segmentGroup,i,t,e)}function m8(a){return typeof a=="object"&&a!=null&&!a.outlets&&!a.segmentPath}function lt(a){return typeof a=="object"&&a!=null&&a.outlets}function r6(a,r,t,e,o){let n={};e&&Object.entries(e).forEach(([l,g])=>{n[l]=Array.isArray(g)?g.map(w=>`${w}`):`${g}`});let s;a===r?s=t:s=sr(a,r,t);let i=er(ar(s));return new w1(i,n,o)}function sr(a,r,t){let e={};return Object.entries(a.children).forEach(([o,n])=>{n===r?e[o]=t:e[o]=sr(n,r,t)}),new e0(a.segments,e)}var f8=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,t,e){if(this.isAbsolute=r,this.numberOfDoubleDots=t,this.commands=e,r&&e.length>0&&m8(e[0]))throw new q(4003,!1);let o=e.find(lt);if(o&&o!==qo(e))throw new q(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function F5(a){if(typeof a[0]=="string"&&a.length===1&&a[0]==="/")return new f8(!0,0,a);let r=0,t=!1,e=a.reduce((o,n,s)=>{if(typeof n=="object"&&n!=null){if(n.outlets){let i={};return Object.entries(n.outlets).forEach(([l,g])=>{i[l]=typeof g=="string"?g.split("/"):g}),[...o,{outlets:i}]}if(n.segmentPath)return[...o,n.segmentPath]}return typeof n!="string"?[...o,n]:s===0?(n.split("/").forEach((i,l)=>{l==0&&i==="."||(l==0&&i===""?t=!0:i===".."?r++:i!=""&&o.push(i))}),o):[...o,n]},[]);return new f8(t,r,e)}var Z2=class{segmentGroup;processChildren;index;constructor(r,t,e){this.segmentGroup=r,this.processChildren=t,this.index=e}};function D5(a,r,t){if(a.isAbsolute)return new Z2(r,!0,0);if(!t)return new Z2(r,!1,NaN);if(t.parent===null)return new Z2(t,!0,0);let e=m8(a.commands[0])?0:1,o=t.segments.length-1+e;return E5(t,o,a.numberOfDoubleDots)}function E5(a,r,t){let e=a,o=r,n=t;for(;n>o;){if(n-=o,e=e.parent,!e)throw new q(4005,!1);o=e.segments.length}return new Z2(e,!1,o-n)}function R5(a){return lt(a[0])?a[0].outlets:{[j]:a}}function ir(a,r,t){if(a??=new e0([],{}),a.segments.length===0&&a.hasChildren())return st(a,r,t);let e=U5(a,r,t),o=t.slice(e.commandIndex);if(e.match&&e.pathIndex<a.segments.length){let n=new e0(a.segments.slice(0,e.pathIndex),{});return n.children[j]=new e0(a.segments.slice(e.pathIndex),a.children),st(n,0,o)}else return e.match&&o.length===0?new e0(a.segments,{}):e.match&&!a.hasChildren()?v6(a,r,t):e.match?st(a,0,o):v6(a,r,t)}function st(a,r,t){if(t.length===0)return new e0(a.segments,{});{let e=R5(t),o={};if(Object.keys(e).some(n=>n!==j)&&a.children[j]&&a.numberOfChildren===1&&a.children[j].segments.length===0){let n=st(a.children[j],r,t);return new e0(a.segments,n.children)}return Object.entries(e).forEach(([n,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[n]=ir(a.children[n],r,s))}),Object.entries(a.children).forEach(([n,s])=>{e[n]===void 0&&(o[n]=s)}),new e0(a.segments,o)}}function U5(a,r,t){let e=0,o=r,n={match:!1,pathIndex:0,commandIndex:0};for(;o<a.segments.length;){if(e>=t.length)return n;let s=a.segments[o],i=t[e];if(lt(i))break;let l=`${i}`,g=e<t.length-1?t[e+1]:null;if(o>0&&l===void 0)break;if(l&&g&&typeof g=="object"&&g.outlets===void 0){if(!Uo(l,g,s))return n;e+=2}else{if(!Uo(l,{},s))return n;e++}o++}return{match:!0,pathIndex:o,commandIndex:e}}function v6(a,r,t){let e=a.segments.slice(0,r),o=0;for(;o<t.length;){let n=t[o];if(lt(n)){let l=N5(n.outlets);return new e0(e,l)}if(o===0&&m8(t[0])){let l=a.segments[r];e.push(new P1(l.path,Ro(t[0]))),o++;continue}let s=lt(n)?n.outlets[j]:`${n}`,i=o<t.length-1?t[o+1]:null;s&&i&&m8(i)?(e.push(new P1(s,Ro(i))),o+=2):(e.push(new P1(s,{})),o++)}return new e0(e,{})}function N5(a){let r={};return Object.entries(a).forEach(([t,e])=>{typeof e=="string"&&(e=[e]),e!==null&&(r[t]=v6(new e0([],{}),0,e))}),r}function Ro(a){let r={};return Object.entries(a).forEach(([t,e])=>r[t]=`${e}`),r}function Uo(a,r,t){return a==t.path&&g1(r,t.parameters)}var b2="imperative",A0=function(a){return a[a.NavigationStart=0]="NavigationStart",a[a.NavigationEnd=1]="NavigationEnd",a[a.NavigationCancel=2]="NavigationCancel",a[a.NavigationError=3]="NavigationError",a[a.RoutesRecognized=4]="RoutesRecognized",a[a.ResolveStart=5]="ResolveStart",a[a.ResolveEnd=6]="ResolveEnd",a[a.GuardsCheckStart=7]="GuardsCheckStart",a[a.GuardsCheckEnd=8]="GuardsCheckEnd",a[a.RouteConfigLoadStart=9]="RouteConfigLoadStart",a[a.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",a[a.ChildActivationStart=11]="ChildActivationStart",a[a.ChildActivationEnd=12]="ChildActivationEnd",a[a.ActivationStart=13]="ActivationStart",a[a.ActivationEnd=14]="ActivationEnd",a[a.Scroll=15]="Scroll",a[a.NavigationSkipped=16]="NavigationSkipped",a}(A0||{}),W0=class{id;url;constructor(r,t){this.id=r,this.url=t}},I1=class extends W0{type=A0.NavigationStart;navigationTrigger;restoredState;constructor(r,t,e="imperative",o=null){super(r,t),this.navigationTrigger=e,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},S0=class extends W0{urlAfterRedirects;type=A0.NavigationEnd;constructor(r,t,e){super(r,t),this.urlAfterRedirects=e}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},T0=function(a){return a[a.Redirect=0]="Redirect",a[a.SupersededByNewNavigation=1]="SupersededByNewNavigation",a[a.NoDataFromRe
2solver=2]="NoDataFromResolver",a[a.GuardRejected=3]="GuardRejected",a[a.Aborted=4]="Aborted",a}(T0||{}),_2=function(a){return a[a.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",a[a.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",a}(_2||{}),d1=class extends W0{reason;code;type=A0.NavigationCancel;constructor(r,t,e,o){super(r,t),this.reason=e,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},u1=class extends W0{reason;code;type=A0.NavigationSkipped;constructor(r,t,e,o){super(r,t),this.reason=e,this.code=o}},B2=class extends W0{error;target;type=A0.NavigationError;constructor(r,t,e,o){super(r,t),this.error=e,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ht=class extends W0{urlAfterRedirects;state;type=A0.RoutesRecognized;constructor(r,t,e,o){super(r,t),this.urlAfterRedirects=e,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},C8=class extends W0{urlAfterRedirects;state;type=A0.GuardsCheckStart;constructor(r,t,e,o){super(r,t),this.urlAfterRedirects=e,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},M8=class extends W0{urlAfterRedirects;state;shouldActivate;type=A0.GuardsCheckEnd;constructor(r,t,e,o,n){super(r,t),this.urlAfterRedirects=e,this.state=o,this.shouldActivate=n}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},A8=class extends W0{urlAfterRedirects;state;type=A0.ResolveStart;constructor(r,t,e,o){super(r,t),this.urlAfterRedirects=e,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},H8=class extends W0{urlAfterRedirects;state;type=A0.ResolveEnd;constructor(r,t,e,o){super(r,t),this.urlAfterRedirects=e,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},x8=class{route;type=A0.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},V8=class{route;type=A0.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Z8=class{snapshot;type=A0.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},b8=class{snapshot;type=A0.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},L8=class{snapshot;type=A0.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_8=class{snapshot;type=A0.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},z2=class{routerEvent;position;anchor;type=A0.Scroll;constructor(r,t,e){this.routerEvent=r,this.position=t,this.anchor=e}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},ct=class{},y2=class{url;navigationBehaviorOptions;constructor(r,t){this.url=r,this.navigationBehaviorOptions=t}};function j5(a){return!(a instanceof ct)&&!(a instanceof y2)}function $5(a,r){return a.providers&&!a._injector&&(a._injector=Yt(a.providers,r,`Route: ${a.path}`)),a._injector??r}function e1(a){return a.outlet||j}function W5(a,r){let t=a.filter(e=>e1(e)===r);return t.push(...a.filter(e=>e1(e)!==r)),t}function mt(a){if(!a)return null;
2if(a.routeConfig?._injector)return a.routeConfig._injector;for(let r=a.parent;r;r=r.parent){let t=r.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var B8=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return mt(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new r2(this.rootInjector)}},r2=(()=>{class a{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,e){let o=this.getOrCreateContext(t);o.outlet=e,this.contexts.set(t,o)}onChildOutletDestroyed(t){let e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new B8(this.rootInjector),this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(e){return new(e||a)(U(B0))};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),z8=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let t=this.pathFromRoot(r);return t.length>1?t[t.length-2]:null}children(r){let t=p6(r,this._root);return t?t.children.map(e=>e.value):[]}firstChild(r){let t=p6(r,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(r){let t=g6(r,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==r)}pathFromRoot(r){return g6(r,this._root).map(t=>t.value)}};function p6(a,r){if(a===r.value)return r;for(let t of r.children){let e=p6(a,t);if(e)return e}return null}function g6(a,r){if(a===r.value)return[r];for(let t of r.children){let e=g6(a,t);if(e.length)return e.unshift(r),e}return[]}var $0=class{value;children;constructor(r,t){this.value=r,this.children=t}toString(){return`TreeNode(${this.value})`}};function V2(a){let r={};return a&&a.children.forEach(t=>r[t.value.outlet]=t),r}var vt=class extends z8{snapshot;constructor(r,t){super(r),this.snapshot=t,A6(this,r)}toString(){return this.snapshot.toString()}};function lr(a){let r=G5(a),t=new X([new P1("",{})]),e=new X({}),o=new X({}),n=new X({}),s=new X(""),i=new q0(t,e,n,s,o,j,a,r.root);return i.snapshot=r.root,new vt(new $0(i,[]),r)}function G5(a){let r={},t={},e={},o="",n=new e2([],r,e,o,t,j,a,null,{});return new pt("",new $0(n,[]))}var q0=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,t,e,o,n,s,i,l){this.urlSubject=r,this.paramsSubject=t,this.queryParamsSubject=e,this.fragmentSubject=o,this.dataSubject=n,this.outlet=s,this.component=i,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(T(g=>g[ut]))??y(void 0),this.url=r,this.params=t,this.queryParams=e,this.fragment=o,this.data=n}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(T(r=>a2(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(T(r=>a2(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function y8(a,r,t="emptyOnly"){let e,{routeConfig:o}=a;return r!==null&&(t==="always"||o?.path===""||!r.component&&!r.routeConfig?.loadComponent)?e={params:H(H({},r.params),a.params),data:H(H({},r.data),a.data),resolve:H(H(H(H({},a.data),r.data),o?.data),a._resolvedData)}:e={params:H({},a.params),data:H({},a.data),resolve:H(H({},a.data),a._resolvedData??{})},o&&cr(o)&&(e.resolve[ut]=o.title),e}var e2=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ut]}constructor(r,t,e,o,n,s,i,l,g){this.url=r,this.params=t,this.queryParams=e,this.fragment=o,this.data=n,this.outlet=s,this.component=i,this.routeConfig=l,this._resolve=g}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=a2(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=a2(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(e=>e.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${t}')`}},pt=class extends z8{url;constructor(r,t){super(t),this.url=r,A6(this,t)}toString(){return hr(this._root)}};
2function A6(a,r){r.value._routerState=a,r.children.forEach(t=>A6(a,t))}function hr(a){let r=a.children.length>0?` { ${a.children.map(hr).join(", ")} } `:"";return`${a.value}${r}`}function n6(a){if(a.snapshot){let r=a.snapshot,t=a._futureSnapshot;a.snapshot=t,g1(r.queryParams,t.queryParams)||a.queryParamsSubject.next(t.queryParams),r.fragment!==t.fragment&&a.fragmentSubject.next(t.fragment),g1(r.params,t.params)||a.paramsSubject.next(t.params),M5(r.url,t.url)||a.urlSubject.next(t.url),g1(r.data,t.data)||a.dataSubject.next(t.data)}else a.snapshot=a._futureSnapshot,a.dataSubject.next(a._futureSnapshot.data)}function d6(a,r){let t=g1(a.params,r.params)&&V5(a.url,r.url),e=!a.parent!=!r.parent;return t&&!e&&(!a.parent||d6(a.parent,r.parent))}function cr(a){return typeof a.title=="string"||a.title===null}var vr=new W(""),H6=(()=>{class a{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=j;activateEvents=new B;deactivateEvents=new B;attachEvents=new B;detachEvents=new B;routerOutletData=t8(void 0);parentContexts=v(r2);location=v(Q1);changeDetector=v(b0);inputBinder=v(ft,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:e,previousValue:o}=t.name;if(e)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new q(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new q(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new q(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new q(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,i=this.parentContexts.getOrCreateContext(this.name).children,l=new w6(t,i,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:e}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(e){return new(e||a)};static \u0275dir=h0({type:a,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[M0]})}return a})(),w6=class{route;childContexts;parent;outletData;constructor(r,t,e,o){this.route=r,this.childContexts=t,this.parent=e,this.outletData=o}get(r,t){return r===q0?this.route:r===r2?this.childContexts:r===vr?this.outletData:this.parent.get(r,t)}},ft=new W(""),x6=(()=>{class a{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:e}=t,o=W1([e.queryParams,e.params,e.data]).pipe(_0(([n,s,i],l)=>(i=H(H(H({},n),s),i),l===0?y(i):Promise.resolve(i)))).subscribe(n=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==e||e.component===null){this.unsubscribeFromRouteData(t);return}let s=ro(e.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:i}of s.inputs)t.activatedComponentRef.setInput(i,n[i])});this.outletDataSubscriptions.set(t,o)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})(),V6=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(e,o){e&1&&b(0,"router-outlet")},dependencies:[H6],encapsulation:2})}return a})();function Z6(a){let r=a.children&&a.children.map(Z6),t=r?R(H({},a),{children:r}):H({},a);return!t.component&&!t.loadComponent&&(r||t.loadChildren)&&t.outlet&&t.outlet!==j&&(t.component=V6),t}function q5(a,r,t){let e=gt(a,r._root,t?t._root:void 0);return new vt(e,r)}function gt(a,r,t){if(t&&a.shouldReuseRoute(r.value,t.value.snapshot)){let e=t.value;e._futureSnapshot=r.value;let o=K5(a,r,t);return new $0(e,o)}else{if(a.shouldAttach(r.value)){let n=a.retrieve(r.value);if(n!==null){let s=n.route;return s.value._futureSnapshot=r.value,s.children=r.children.map(i=>
2gt(a,i)),s}}let e=Q5(r.value),o=r.children.map(n=>gt(a,n));return new $0(e,o)}}function K5(a,r,t){return r.children.map(e=>{for(let o of t.children)if(a.shouldReuseRoute(e.value,o.value.snapshot))return gt(a,e,o);return gt(a,e)})}function Q5(a){return new q0(new X(a.url),new X(a.params),new X(a.queryParams),new X(a.fragment),new X(a.data),a.outlet,a.component,a)}var S2=class{redirectTo;navigationBehaviorOptions;constructor(r,t){this.redirectTo=r,this.navigationBehaviorOptions=t}},pr="ngNavigationCancelingError";function S8(a,r){let{redirectTo:t,navigationBehaviorOptions:e}=T1(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,o=gr(!1,T0.Redirect);return o.url=t,o.navigationBehaviorOptions=e,o}function gr(a,r){let t=new Error(`NavigationCancelingError: ${a||""}`);return t[pr]=!0,t.cancellationCode=r,t}function Y5(a){return dr(a)&&T1(a.url)}function dr(a){return!!a&&a[pr]}var X5=(a,r,t,e)=>T(o=>(new u6(r,o.targetRouterState,o.currentRouterState,t,e).activate(a),o)),u6=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,t,e,o,n){this.routeReuseStrategy=r,this.futureState=t,this.currState=e,this.forwardEvent=o,this.inputBindingEnabled=n}activate(r){let t=this.futureState._root,e=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,e,r),n6(this.futureState.root),this.activateChildRoutes(t,e,r)}deactivateChildRoutes(r,t,e){let o=V2(t);r.children.forEach(n=>{let s=n.value.outlet;this.deactivateRoutes(n,o[s],e),delete o[s]}),Object.values(o).forEach(n=>{this.deactivateRouteAndItsChildren(n,e)})}deactivateRoutes(r,t,e){let o=r.value,n=t?t.value:null;if(o===n)if(o.component){let s=e.getContext(o.outlet);s&&this.deactivateChildRoutes(r,t,s.children)}else this.deactivateChildRoutes(r,t,e);else n&&this.deactivateRouteAndItsChildren(t,e)}deactivateRouteAndItsChildren(r,t){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,t):this.deactivateRouteAndOutlet(r,t)}detachAndStoreRouteSubtree(r,t){let e=t.getContext(r.value.outlet),o=e&&r.value.component?e.children:t,n=V2(r);for(let s of Object.values(n))this.deactivateRouteAndItsChildren(s,o);if(e&&e.outlet){let s=e.outlet.detach(),i=e.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:i})}}deactivateRouteAndOutlet(r,t){let e=t.getContext(r.value.outlet),o=e&&r.value.component?e.children:t,n=V2(r);for(let s of Object.values(n))this.deactivateRouteAndItsChildren(s,o);e&&(e.outlet&&(e.outlet.deactivate(),e.children.onOutletDeactivated()),e.attachRef=null,e.route=null)}activateChildRoutes(r,t,e){let o=V2(t);r.children.forEach(n=>{this.activateRoutes(n,o[n.value.outlet],e),this.forwardEvent(new _8(n.value.snapshot))}),r.children.length&&this.forwardEvent(new b8(r.value.snapshot))}activateRoutes(r,t,e){let o=r.value,n=t?t.value:null;if(n6(o),o===n)if(o.component){let s=e.getOrCreateContext(o.outlet);this.activateChildRoutes(r,t,s.children)}else this.activateChildRoutes(r,t,e);else if(o.component){let s=e.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let i=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(i.contexts),s.attachRef=i.componentRef,s.route=i.route.value,s.outlet&&s.outlet.attach(i.componentRef,i.route.value),n6(i.route.value),this.activateChildRoutes(r,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(r,null,s.children)}else this.activateChildRoutes(r,null,e)}},k8=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},L2=class{component;route;constructor(r,t){this.component=r,this.route=t}};function J5(a,r,t){let e=a._root,o=r?r._root:null;return nt(e,o,t,[e.value])}
2function th(a){let r=a.routeConfig?a.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:a,guards:r}}function P2(a,r){let t=Symbol(),e=r.get(a,t);return e===t?typeof a=="function"&&!Aa(a)?a:r.get(a):e}function nt(a,r,t,e,o={canDeactivateChecks:[],canActivateChecks:[]}){let n=V2(r);return a.children.forEach(s=>{eh(s,n[s.value.outlet],t,e.concat([s.value]),o),delete n[s.value.outlet]}),Object.entries(n).forEach(([s,i])=>it(i,t.getContext(s),o)),o}function eh(a,r,t,e,o={canDeactivateChecks:[],canActivateChecks:[]}){let n=a.value,s=r?r.value:null,i=t?t.getContext(a.value.outlet):null;if(s&&n.routeConfig===s.routeConfig){let l=ah(s,n,n.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new k8(e)):(n.data=s.data,n._resolvedData=s._resolvedData),n.component?nt(a,r,i?i.children:null,e,o):nt(a,r,t,e,o),l&&i&&i.outlet&&i.outlet.isActivated&&o.canDeactivateChecks.push(new L2(i.outlet.component,s))}else s&&it(r,i,o),o.canActivateChecks.push(new k8(e)),n.component?nt(a,null,i?i.children:null,e,o):nt(a,null,t,e,o);return o}function ah(a,r,t){if(typeof t=="function")return t(a,r);switch(t){case"pathParamsChange":return!t2(a.url,r.url);case"pathParamsOrQueryParamsChange":return!t2(a.url,r.url)||!g1(a.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!d6(a,r)||!g1(a.queryParams,r.queryParams);case"paramsChange":default:return!d6(a,r)}}function it(a,r,t){let e=V2(a),o=a.value;Object.entries(e).forEach(([n,s])=>{o.component?r?it(s,r.children.getContext(n),t):it(s,null,t):it(s,r,t)}),o.component?r&&r.outlet&&r.outlet.isActivated?t.canDeactivateChecks.push(new L2(r.outlet.component,o)):t.canDeactivateChecks.push(new L2(null,o)):t.canDeactivateChecks.push(new L2(null,o))}function Ct(a){return typeof a=="function"}function oh(a){return typeof a=="boolean"}function rh(a){return a&&Ct(a.canLoad)}function nh(a){return a&&Ct(a.canActivate)}function sh(a){return a&&Ct(a.canActivateChild)}function ih(a){return a&&Ct(a.canDeactivate)}function lh(a){return a&&Ct(a.canMatch)}function wr(a){return a instanceof da||a?.name==="EmptyError"}var g8=Symbol("INITIAL_VALUE");function k2(){return _0(a=>W1(a.map(r=>r.pipe(A1(1),G1(g8)))).pipe(T(r=>{for(let t of r)if(t!==!0){if(t===g8)return g8;if(t===!1||hh(t))return t}return!0}),H0(r=>r!==g8),A1(1)))}function hh(a){return T1(a)||a instanceof S2}function ch(a,r){return I0(t=>{let{targetSnapshot:e,currentSnapshot:o,guards:{canActivateChecks:n,canDeactivateChecks:s}}=t;return s.length===0&&n.length===0?y(R(H({},t),{guardsResult:!0})):vh(s,e,o,a).pipe(I0(i=>i&&oh(i)?ph(e,n,a,r):y(i)),T(i=>R(H({},t),{guardsResult:i})))})}function vh(a,r,t,e){return f0(a).pipe(I0(o=>mh(o.component,o.route,t,r,e)),y1(o=>o!==!0,!0))}function ph(a,r,t,e){return f0(r).pipe(M1(o=>wa(dh(o.route.parent,e),gh(o.route,e),uh(a,o.path,t),wh(a,o.route,t))),y1(o=>o!==!0,!0))}function gh(a,r){return a!==null&&r&&r(new L8(a)),y(!0)}function dh(a,r){return a!==null&&r&&r(new Z8(a)),y(!0)}function wh(a,r,t){let e=r.routeConfig?r.routeConfig.canActivate:null;if(!e||e.length===0)return y(!0);let o=e.map(n=>jt(()=>{let s=mt(r)??t,i=P2(n,s),l=nh(i)?i.canActivate(r,a):G0(s,()=>i(r,a));return B1(l).pipe(y1())}));return y(o).pipe(k2())}function uh(a,r,t){let e=r[r.length-1],n=r.slice(0,r.length-1).reverse().map(s=>th(s)).filter(s=>s!==null).map(s=>jt(()=>{let i=s.guards.map(l=>{let g=mt(s.node)??t,w=P2(l,g),A=sh(w)?w.canActivateChild(e,a):G0(g,()=>w(e,a));return B1(A).pipe(y1())});return y(i).pipe(k2())}));return y(n).pipe(k2())}function mh(a,r,t,e,o){let n=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!n||n.length===0)return y(!0);let s=n.map(i=>{let l=mt(r)??o,g=P2(i,l),w=ih(g)?g.canDeactivate(a,r,t,e):G0(l,()=>g(a,r,t,e));return B1(w).pipe(y1())});return y(s).pipe(k2())}function fh(a,r,t,e){let o=r.canLoad;if(o===void 0||o.length===0)return y(!0);let n=o.map(s=>{let i=P2(s,a),l=rh(i)?i.canLoad(r,t):G0(a,()=>i(r,t));return B1(l)});return y(n).pipe(k2(),ur(e))}function ur(a){return pa(J(r=>{if(typeof r!="boolean")throw S8(a,r)}),T(r=>r===!0))}function Ch(a,r,t,e){let o=r.canMatch;if(!o||o.length===0)return y(!0);let n=o.map(s=>{let i=P2(s,a),l=lh(i)?i.canMatch(r,t):G0(a,()=>i(r,t));return B1(l)});return y(n).pipe(k2(),ur(e))}var dt=class{segmentGroup;constructor(r){this.segmentGroup=r||null}}
2,wt=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function x2(a){return $1(new dt(a))}function Mh(a){return $1(new q(4e3,!1))}function Ah(a){return $1(gr(!1,T0.GuardRejected))}var m6=class{urlSerializer;urlTree;constructor(r,t){this.urlSerializer=r,this.urlTree=t}lineralizeSegments(r,t){let e=[],o=t.root;for(;;){if(e=e.concat(o.segments),o.numberOfChildren===0)return y(e);if(o.numberOfChildren>1||!o.children[j])return Mh(`${r.redirectTo}`);o=o.children[j]}}applyRedirectCommands(r,t,e,o,n){return Hh(t,o,n).pipe(T(s=>{if(s instanceof w1)throw new wt(s);let i=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),r,e);if(s[0]==="/")throw new wt(i);return i}))}applyRedirectCreateUrlTree(r,t,e,o){let n=this.createSegmentGroup(r,t.root,e,o);return new w1(n,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(r,t){let e={};return Object.entries(r).forEach(([o,n])=>{if(typeof n=="string"&&n[0]===":"){let i=n.substring(1);e[o]=t[i]}else e[o]=n}),e}createSegmentGroup(r,t,e,o){let n=this.createSegments(r,t.segments,e,o),s={};return Object.entries(t.children).forEach(([i,l])=>{s[i]=this.createSegmentGroup(r,l,e,o)}),new e0(n,s)}createSegments(r,t,e,o){return t.map(n=>n.path[0]===":"?this.findPosParam(r,n,o):this.findOrReturn(n,e))}findPosParam(r,t,e){let o=e[t.path.substring(1)];if(!o)throw new q(4001,!1);return o}findOrReturn(r,t){let e=0;for(let o of t){if(o.path===r.path)return t.splice(e),o;e++}return r}};function Hh(a,r,t){if(typeof a=="string")return y(a);let e=a,{queryParams:o,fragment:n,routeConfig:s,url:i,outlet:l,params:g,data:w,title:A}=r;return B1(G0(t,()=>e({params:g,data:w,queryParams:o,fragment:n,routeConfig:s,url:i,outlet:l,title:A})))}var f6={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function xh(a,r,t,e,o){let n=mr(a,r,t);return n.matched?(e=$5(r,e),Ch(e,r,t,o).pipe(T(s=>s===!0?n:H({},f6)))):y(n)}function mr(a,r,t){if(r.path==="**")return Vh(t);if(r.path==="")return r.pathMatch==="full"&&(a.hasChildren()||t.length>0)?H({},f6):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(r.matcher||Wo)(t,a,r);if(!o)return H({},f6);let n={};Object.entries(o.posParams??{}).forEach(([i,l])=>{n[i]=l.path});let s=o.consumed.length>0?H(H({},n),o.consumed[o.consumed.length-1].parameters):n;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Vh(a){return{matched:!0,parameters:a.length>0?qo(a).parameters:{},consumedSegments:a,remainingSegments:[],positionalParamSegments:{}}}function No(a,r,t,e){return t.length>0&&Lh(a,t,e)?{segmentGroup:new e0(r,bh(e,new e0(t,a.children))),slicedSegments:[]}:t.length===0&&_h(a,t,e)?{segmentGroup:new e0(a.segments,Zh(a,t,e,a.children)),slicedSegments:t}:{segmentGroup:new e0(a.segments,a.children),slicedSegments:t}}function Zh(a,r,t,e){let o={};for(let n of t)if(O8(a,r,n)&&!e[e1(n)]){let s=new e0([],{});o[e1(n)]=s}return H(H({},e),o)}function bh(a,r){let t={};t[j]=r;for(let e of a)if(e.path===""&&e1(e)!==j){let o=new e0([],{});t[e1(e)]=o}return t}function Lh(a,r,t){return t.some(e=>O8(a,r,e)&&e1(e)!==j)}function _h(a,r,t){return t.some(e=>O8(a,r,e))}function O8(a,r,t){return(a.hasChildren()||r.length>0)&&t.pathMatch==="full"?!1:t.path===""}function Bh(a,r,t){return r.length===0&&!a.children[t]}var C6=class{};function zh(a,r,t,e,o,n,s="emptyOnly"){return new M6(a,r,t,e,o,s,n).recognize()}var yh=31,M6=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,t,e,o,n,s,i){this.injector=r,this.configLoader=t,this.rootComponentType=e,this.config=o,this.urlTree=n,this.paramsInheritanceStrategy=s,this.urlSerializer=i,this.applyRedirects=new m6(this.urlSerializer,this.urlTree)}noMatchError(r){return new q(4002,`'${r.segmentGroup}'`)}recognize(){let r=No(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(T(({children:t,rootSnapshot:e})=>{let o=new $0(e,t),n=new pt("",o),s=or(e,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,n.url=this.urlSerializer.serialize(s),{state:n,tree:s}}))}match(r){let t=new e2([],Object.freeze({}),Object.freeze(H({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),j,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,j,t).pi
2pe(T(e=>({children:e,rootSnapshot:t})),l0(e=>{if(e instanceof wt)return this.urlTree=e.urlTree,this.match(e.urlTree.root);throw e instanceof dt?this.noMatchError(e):e}))}processSegmentGroup(r,t,e,o,n){return e.segments.length===0&&e.hasChildren()?this.processChildren(r,t,e,n):this.processSegment(r,t,e,e.segments,o,!0,n).pipe(T(s=>s instanceof $0?[s]:[]))}processChildren(r,t,e,o){let n=[];for(let s of Object.keys(e.children))s==="primary"?n.unshift(s):n.push(s);return f0(n).pipe(M1(s=>{let i=e.children[s],l=W5(t,s);return this.processSegmentGroup(r,l,i,s,o)}),Ma((s,i)=>(s.push(...i),s)),Be(null),fa(),I0(s=>{if(s===null)return x2(e);let i=fr(s);return Sh(i),y(i)}))}processSegment(r,t,e,o,n,s,i){return f0(t).pipe(M1(l=>this.processSegmentAgainstRoute(l._injector??r,t,l,e,o,n,s,i).pipe(l0(g=>{if(g instanceof dt)return y(null);throw g}))),y1(l=>!!l),l0(l=>{if(wr(l))return Bh(e,o,n)?y(new C6):x2(e);throw l}))}processSegmentAgainstRoute(r,t,e,o,n,s,i,l){return e1(e)!==s&&(s===j||!O8(o,n,e))?x2(o):e.redirectTo===void 0?this.matchSegmentAgainstRoute(r,o,e,n,s,l):this.allowRedirects&&i?this.expandSegmentAgainstRouteUsingRedirect(r,o,t,e,n,s,l):x2(o)}expandSegmentAgainstRouteUsingRedirect(r,t,e,o,n,s,i){let{matched:l,parameters:g,consumedSegments:w,positionalParamSegments:A,remainingSegments:_}=mr(t,o,n);if(!l)return x2(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>yh&&(this.allowRedirects=!1));let S=new e2(n,g,Object.freeze(H({},this.urlTree.queryParams)),this.urlTree.fragment,jo(o),e1(o),o.component??o._loadedComponent??null,o,$o(o)),k=y8(S,i,this.paramsInheritanceStrategy);return S.params=Object.freeze(k.params),S.data=Object.freeze(k.data),this.applyRedirects.applyRedirectCommands(w,o.redirectTo,A,S,r).pipe(_0($=>this.applyRedirects.lineralizeSegments(o,$)),I0($=>this.processSegment(r,e,t,$.concat(_),s,!1,i)))}matchSegmentAgainstRoute(r,t,e,o,n,s){let i=xh(t,e,o,r,this.urlSerializer);return e.path==="**"&&(t.children={}),i.pipe(_0(l=>l.matched?(r=e._injector??r,this.getChildConfig(r,e,o).pipe(_0(({routes:g})=>{let w=e._loadedInjector??r,{parameters:A,consumedSegments:_,remainingSegments:S}=l,k=new e2(_,A,Object.freeze(H({},this.urlTree.queryParams)),this.urlTree.fragment,jo(e),e1(e),e.component??e._loadedComponent??null,e,$o(e)),E=y8(k,s,this.paramsInheritanceStrategy);k.params=Object.freeze(E.params),k.data=Object.freeze(E.data);let{segmentGroup:$,slicedSegments:k0}=No(t,_,S,g);if(k0.length===0&&$.hasChildren())return this.processChildren(w,g,$,k).pipe(T(s0=>new $0(k,s0)));if(g.length===0&&k0.length===0)return y(new $0(k,[]));let a1=e1(e)===n;return this.processSegment(w,g,$,k0,a1?j:n,!0,k).pipe(T(s0=>new $0(k,s0 instanceof $0?[s0]:[])))}))):x2(t)))}getChildConfig(r,t,e){return t.children?y({routes:t.children,injector:r}):t.loadChildren?t._loadedRoutes!==void 0?y({routes:t._loadedRoutes,injector:t._loadedInjector}):fh(r,t,e,this.urlSerializer).pipe(I0(o=>o?this.configLoader.loadChildren(r,t).pipe(J(n=>{t._loadedRoutes=n.routes,t._loadedInjector=n.injector})):Ah(t))):y({routes:[],injector:r})}};function Sh(a){a.sort((r,t)=>r.value.outlet===j?-1:t.value.outlet===j?1:r.value.outlet.localeCompare(t.value.outlet))}function kh(a){let r=a.value.routeConfig;return r&&r.path===""}function fr(a){let r=[],t=new Set;for(let e of a){if(!kh(e)){r.push(e);continue}let o=r.find(n=>e.value.routeConfig===n.value.routeConfig);o!==void 0?(o.children.push(...e.children),t.add(o)):r.push(e)}for(let e of t){let o=fr(e.children);r.push(new $0(e.value,o))}return r.filter(e=>!t.has(e))}function jo(a){return a.data||{}}function $o(a){return a.resolve||{}}function Ph(a,r,t,e,o,n){return I0(s=>zh(a,r,t,e,s.extractedUrl,o,n).pipe(T(({state:i,tree:l})=>R(H({},s),{targetSnapshot:i,urlAfterRedirects:l}))))}function Oh(a,r){return I0(t=>{let{targetSnapshot:e,guards:{canActivateChecks:o}}=t;if(!o.length)return y(t);let n=new Set(o.map(l=>l.route)),s=new Set;for(let l of n)if(!s.has(l))for(let g of Cr(l))s.add(g);let i=0;return f0(s).pipe(M1(l=>n.has(l)?Th(l,e,a,r):(l.data=y8(l,l.parent,a).resolve,y(void 0))),J(()=>i++),ze(1),I0(l=>i===s.size?y(t):r1))})}function Cr(a){let r=a.children.map(t=>Cr(t)).flat();return[a,...r]}
2function Th(a,r,t,e){let o=a.routeConfig,n=a._resolve;return o?.title!==void 0&&!cr(o)&&(n[ut]=o.title),jt(()=>(a.data=y8(a,a.parent,t).resolve,Ih(n,a,r,e).pipe(T(s=>(a._resolvedData=s,a.data=H(H({},a.data),s),null)))))}function Ih(a,r,t,e){let o=l6(a);if(o.length===0)return y({});let n={};return f0(o).pipe(I0(s=>Fh(a[s],r,t,e).pipe(y1(),J(i=>{if(i instanceof S2)throw S8(new O1,i);n[s]=i}))),ze(1),T(()=>n),l0(s=>wr(s)?r1:$1(s)))}function Fh(a,r,t,e){let o=mt(r)??e,n=P2(a,o),s=n.resolve?n.resolve(r,t):G0(o,()=>n(r,t));return B1(s)}function s6(a){return _0(r=>{let t=a(r);return t?f0(t).pipe(T(()=>r)):y(r)})}var b6=(()=>{class a{buildTitle(t){let e,o=t.root;for(;o!==void 0;)e=this.getResolvedTitleForRoute(o)??e,o=o.children.find(n=>n.outlet===j);return e}getResolvedTitleForRoute(t){return t.data[ut]}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:()=>v(Mr),providedIn:"root"})}return a})(),Mr=(()=>{class a extends b6{title;constructor(t){super(),this.title=t}updateTitle(t){let e=this.buildTitle(t);e!==void 0&&this.title.setTitle(e)}static \u0275fac=function(e){return new(e||a)(U(ot))};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),F1=new W("",{providedIn:"root",factory:()=>({})}),n2=new W(""),T8=(()=>{class a{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=v(Ya);loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return y(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let e=B1(t.loadComponent()).pipe(T(Hr),J(n=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=n}),n1(()=>{this.componentLoaders.delete(t)})),o=new Le(e,()=>new a0).pipe(be());return this.componentLoaders.set(t,o),o}loadChildren(t,e){if(this.childrenLoaders.get(e))return this.childrenLoaders.get(e);if(e._loadedRoutes)return y({routes:e._loadedRoutes,injector:e._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(e);let n=Ar(e,this.compiler,t,this.onLoadEndListener).pipe(n1(()=>{this.childrenLoaders.delete(e)})),s=new Le(n,()=>new a0).pipe(be());return this.childrenLoaders.set(e,s),s}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function Ar(a,r,t,e){return B1(a.loadChildren()).pipe(T(Hr),I0(o=>o instanceof Fa||Array.isArray(o)?y(o):f0(r.compileModuleAsync(o))),T(o=>{e&&e(a);let n,s,i=!1;return Array.isArray(o)?(s=o,i=!0):(n=o.create(t).injector,s=n.get(n2,[],{optional:!0,self:!0}).flat()),{routes:s.map(Z6),injector:n}}))}function Dh(a){return a&&typeof a=="object"&&"default"in a}function Hr(a){return Dh(a)?a.default:a}var I8=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:()=>v(Eh),providedIn:"root"})}return a})(),Eh=(()=>{class a{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),L6=new W(""),_6=new W("");function xr(a,r,t){let e=a.get(_6),o=a.get(G);if(!o.startViewTransition||e.skipNextTransition)return e.skipNextTransition=!1,new Promise(g=>setTimeout(g));let n,s=new Promise(g=>{n=g}),i=o.startViewTransition(()=>(n(),Rh(a))),{onViewTransitionCreated:l}=e;return l&&G0(a,()=>l({transition:i,from:r,to:t})),s}function Rh(a){return new Promise(r=>{x1({read:()=>setTimeout(r)},{injector:a})})}var B6=new W(""),F8=(()=>{class a{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new a0;transitionAbortWithErrorSubject=new a0;configLoader=v(T8);environmentInjector=v(B0);destroyRef=v(r0);urlSerializer=v(o2);rootContexts=v(r2);location=v(S1);inputBindingEnabled=v(ft,{optional:!0})!==null;titleStrategy=v(b6);options=v(F1,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=v(I8);createViewTransition=v(L6,{optional:!0});navigationErrorHandler=v(B6,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>y(void 0);rootComponentType=null;destroyed=!1;
2constructor(){let t=o=>this.events.next(new x8(o)),e=o=>this.events.next(new V8(o));this.configLoader.onLoadEndListener=e,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let e=++this.navigationId;this.transitions?.next(R(H({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:e}))}setupNavigations(t){return this.transitions=new X(null),this.transitions.pipe(H0(e=>e!==null),_0(e=>{let o=!1;return y(e).pipe(_0(n=>{if(this.navigationId>e.id)return this.cancelNavigationTransition(e,"",T0.SupersededByNewNavigation),r1;this.currentTransition=e,this.currentNavigation={id:n.id,initialUrl:n.rawUrl,extractedUrl:n.extractedUrl,targetBrowserUrl:typeof n.extras.browserUrl=="string"?this.urlSerializer.parse(n.extras.browserUrl):n.extras.browserUrl,trigger:n.source,extras:n.extras,previousNavigation:this.lastSuccessfulNavigation?R(H({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>n.abortController.abort()};let s=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),i=n.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!s&&i!=="reload"){let l="";return this.events.next(new u1(n.id,this.urlSerializer.serialize(n.rawUrl),l,_2.IgnoredSameUrlNavigation)),n.resolve(!1),r1}if(this.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return y(n).pipe(_0(l=>(this.events.next(new I1(l.id,this.urlSerializer.serialize(l.extractedUrl),l.source,l.restoredState)),l.id!==this.navigationId?r1:Promise.resolve(l))),Ph(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),J(l=>{e.targetSnapshot=l.targetSnapshot,e.urlAfterRedirects=l.urlAfterRedirects,this.currentNavigation=R(H({},this.currentNavigation),{finalUrl:l.urlAfterRedirects});let g=new ht(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(g)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(n.currentRawUrl)){let{id:l,extractedUrl:g,source:w,restoredState:A,extras:_}=n,S=new I1(l,this.urlSerializer.serialize(g),w,A);this.events.next(S);let k=lr(this.rootComponentType).snapshot;return this.currentTransition=e=R(H({},n),{targetSnapshot:k,urlAfterRedirects:g,extras:R(H({},_),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=g,y(e)}else{let l="";return this.events.next(new u1(n.id,this.urlSerializer.serialize(n.extractedUrl),l,_2.IgnoredByUrlHandlingStrategy)),n.resolve(!1),r1}}),J(n=>{let s=new C8(n.id,this.urlSerializer.serialize(n.extractedUrl),this.urlSerializer.serialize(n.urlAfterRedirects),n.targetSnapshot);this.events.next(s)}),T(n=>(this.currentTransition=e=R(H({},n),{guards:J5(n.targetSnapshot,n.currentSnapshot,this.rootContexts)}),e)),ch(this.environmentInjector,n=>this.events.next(n)),J(n=>{if(e.guardsResult=n.guardsResult,n.guardsResult&&typeof n.guardsResult!="boolean")throw S8(this.urlSerializer,n.guardsResult);let s=new M8(n.id,this.urlSerializer.serialize(n.extractedUrl),this.urlSerializer.serialize(n.urlAfterRedirects),n.targetSnapshot,!!n.guardsResult);this.events.next(s)}),H0(n=>n.guardsResult?!0:(this.cancelNavigationTransition(n,"",T0.GuardRejected),!1)),s6(n=>{if(n.guards.canActivateChecks.length!==0)return y(n).pipe(J(s=>{let i=new A8(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(i)}),_0(s=>{let i=!1;return y(s).pipe(Oh(this.paramsInheritanceStrategy,this.environmentInjector),J({next:()=>i=!0,complete:()=>{i||this.cancelNavigationTransition(s,"",T0.NoDataFromResolver)}}))}),J(s=>{let i=new H8(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(i)}))}),s6(n=>{let s=i=>{let l=[];i.routeConfig?.loadComponent&&!i.routeConfig._loadedComponent&&l.push(this.configLoader.loadComponent(i.routeConfig).pipe(J(g=>{i.component=g}),T(()=>{})));for(let g of i.children)l.push(...s(g));return l};return W1(s(n.targetSnapshot.root)).pipe(Be(null),A1(1))}),s6(()=>this.afterPreactivation()),_0(()=>{let{currentSnapshot:n,targetSnapshot:s}=e,i=this.createViewTransition?.(this.environmentInjector,n.root,s.root);return i?f0(i).pipe(T(()=>e)):y(e)}),T(n=>{let s=q5(t.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return this.currentTransition=e=R(H({},n),{targetRouterState:s}),this.currentNavigation.targetRouterState=s,e}),J(()=>{this.events.next(new ct)}),X5(this.rootContexts,t.routeReuseStrategy,n=>this.events.next(n),this.inputBindingEnabled),A1(1),H1(new o1(n=>{let s=e.abortController.signal,i=()=>n.next();
2return s.addEventListener("abort",i),()=>s.removeEventListener("abort",i)}).pipe(H0(()=>!o&&!e.targetRouterState),J(()=>{this.cancelNavigationTransition(e,e.abortController.signal.reason+"",T0.Aborted)}))),J({next:n=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new S0(n.id,this.urlSerializer.serialize(n.extractedUrl),this.urlSerializer.serialize(n.urlAfterRedirects))),this.titleStrategy?.updateTitle(n.targetRouterState.snapshot),n.resolve(!0)},complete:()=>{o=!0}}),H1(this.transitionAbortWithErrorSubject.pipe(J(n=>{throw n}))),n1(()=>{o||this.cancelNavigationTransition(e,"",T0.SupersededByNewNavigation),this.currentTransition?.id===e.id&&(this.currentNavigation=null,this.currentTransition=null)}),l0(n=>{if(this.destroyed)return e.resolve(!1),r1;if(o=!0,dr(n))this.events.next(new d1(e.id,this.urlSerializer.serialize(e.extractedUrl),n.message,n.cancellationCode)),Y5(n)?this.events.next(new y2(n.url,n.navigationBehaviorOptions)):e.resolve(!1);else{let s=new B2(e.id,this.urlSerializer.serialize(e.extractedUrl),n,e.targetSnapshot??void 0);try{let i=G0(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(i instanceof S2){let{message:l,cancellationCode:g}=S8(this.urlSerializer,i);this.events.next(new d1(e.id,this.urlSerializer.serialize(e.extractedUrl),l,g)),this.events.next(new y2(i.redirectTo,i.navigationBehaviorOptions))}else throw this.events.next(s),n}catch(i){this.options.resolveNavigationPromiseOnError?e.resolve(!1):e.reject(i)}}return r1}))}))}cancelNavigationTransition(t,e,o){let n=new d1(t.id,this.urlSerializer.serialize(t.extractedUrl),e,o);this.events.next(n),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),e=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==e?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function Uh(a){return a!==b2}var Vr=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:()=>v(Nh),providedIn:"root"})}return a})(),P8=class{shouldDetach(r){return!1}store(r,t){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,t){return r.routeConfig===t.routeConfig}},Nh=(()=>{class a extends P8{static \u0275fac=(()=>{let t;return function(o){return(t||(t=l1(a)))(o||a)}})();static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Zr=(()=>{class a{urlSerializer=v(o2);options=v(F1,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=v(S1);urlHandlingStrategy=v(I8);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new w1;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:e,targetBrowserUrl:o}){let n=t!==void 0?this.urlHandlingStrategy.merge(t,e):e,s=o??n;return s instanceof w1?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:t,finalUrl:e,initialUrl:o}){e&&t?(this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(e,o),this.routerState=t):this.rawUrlTree=o}routerState=lr(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:()=>v(jh),providedIn:"root"})}return a})(),jh=(()=>{class a extends Zr{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(e=>{e.type==="popstate"&&setTimeout(()=>{t(e.url,e.state,"popstate")})})}handleRouterEvent(t,e){t instanceof I1?this.updateStateMemento():t instanceof u1?this.commitTransition(e):t instanceof ht?this.urlUpdateStrategy==="eager"&&(e.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(e),e)):t instanceof ct?(this.commitTransition(e),this.urlUpdateStrategy==="deferred"&&!e.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(e),e)):t instanceof d1&&t.code!==T0.SupersededByNewNavigation&&t.code!==T0.Redirect?this.restoreHistory(e):t instanceof B2?this.restoreHistory(e,!0):t instanceof S0&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:e,id:o}){let{replaceUrl:n,state:s}=e;if(this.location.isCurrentPathEqualTo(t)||n){let i=this.browserPageId,l=H(H({},s),this.generateNgRouterState(o,i));this.location.replaceState(t,"",l)}else{let i=H(H({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(t,"",i)}}restoreHistory(t,e=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,n=this.currentPageId-o;n!==0?this.location.historyGo(n):this.getCurrentUrlTree()===t.finalUrl&&n===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(e&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,e){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:e}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=l1(a)))(o||a)}})();static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function D8(a,r){a.events.pipe(H0(t=>t instanceof S0||t instanceof d1||t instanceof B2||t instanceof u1),T(t=>t instanceof S0||t instanceof u1?0:(t instanceof d1?t.code===T0.Redirect||t.code===T0.SupersededByNewNavigation:!1)?2:1),H0(t=>t!==2),A1(1)).subscribe(()=>{r()})}var $h={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Wh={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},z0=(()=>{class a{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=v(Te);stateManager=v(Zr);options=v(F1,{optional:!0})||{};pendingTasks=v(xa);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=v(F8);
2urlSerializer=v(o2);location=v(S1);urlHandlingStrategy=v(I8);injector=v(B0);_events=new a0;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=v(Vr);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=v(n2,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!v(ft,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new g2;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(e=>{try{let o=this.navigationTransitions.currentTransition,n=this.navigationTransitions.currentNavigation;if(o!==null&&n!==null){if(this.stateManager.handleRouterEvent(e,n),e instanceof d1&&e.code!==T0.Redirect&&e.code!==T0.SupersededByNewNavigation)this.navigated=!0;else if(e instanceof S0)this.navigated=!0;else if(e instanceof y2){let s=e.navigationBehaviorOptions,i=this.urlHandlingStrategy.merge(e.url,o.currentRawUrl),l=H({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Uh(o.source)},s);this.scheduleNavigation(i,b2,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}j5(e)&&this._events.next(e)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),b2,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,e,o)=>{this.navigateToSyncWithBrowser(t,o,e)})}navigateToSyncWithBrowser(t,e,o){let n={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let l=H({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(n.state=l)}let i=this.parseUrl(t);this.scheduleNavigation(i,e,s,n).catch(l=>{this.injector.get(Gt)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Z6),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,e={}){let{relativeTo:o,queryParams:n,fragment:s,queryParamsHandling:i,preserveFragment:l}=e,g=l?this.currentUrlTree.fragment:s,w=null;switch(i??this.options.defaultQueryParamsHandling){case"merge":w=H(H({},this.currentUrlTree.queryParams),n);break;case"preserve":w=this.currentUrlTree.queryParams;break;default:w=n||null}w!==null&&(w=this.removeEmptyProps(w));let A;try{let _=o?o.snapshot:this.routerState.snapshot.root;A=rr(_)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),A=this.currentUrlTree.root}return nr(A,t,w,g??null)}navigateByUrl(t,e={skipLocationChange:!1}){let o=T1(t)?t:this.parseUrl(t),n=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(n,b2,null,e)}navigate(t,e={skipLocationChange:!1}){return Gh(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,e){let o;if(e===!0?o=H({},$h):e===!1?o=H({},Wh):o=e,T1(t))return Do(this.currentUrlTree,t,o);let n=this.parseUrl(t);return Do(this.currentUrlTree,n,o)}removeEmptyProps(t){return Object.entries(t).reduce((e,[o,n])=>(n!=null&&(e[o]=n),e),{})}scheduleNavigation(t,e,o,n,s){if(this.disposed)return Promise.resolve(!1);let i,l,g;s?(i=s.resolve,l=s.reject,g=s.promise):g=new Promise((A,_)=>{i=A,l=_});let w=this.pendingTasks.add();return D8(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(w))}),this.navigationTransitions.handleNavigationRequest({source:e,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:n,resolve:i,reject:l,promise:g,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),g.catch(A=>Promise.reject(A))}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function Gh(a){for(let r=0;r<a.length;r++)if(a[r]==null)throw new q(4008,!1)}var s2=(()=>{class a{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=I(null);get href(){return j0(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;
2isAnchorElement;subscription;onChanges=new a0;applicationErrorHandler=v(Gt);options=v(F1,{optional:!0});constructor(t,e,o,n,s,i){this.router=t,this.route=e,this.tabIndexAttribute=o,this.renderer=n,this.el=s,this.locationStrategy=i,this.reactiveHref.set(v(new Ja("href"),{optional:!0}));let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area"||!!(typeof customElements=="object"&&customElements.get(l)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let t=this.preserveFragment,e=o=>o==="merge"||o==="preserve";t||=e(this.queryParamsHandling),t||=!this.queryParamsHandling&&!e(this.options?.defaultQueryParamsHandling),t&&(this.subscription=this.router.events.subscribe(o=>{o instanceof S0&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(T1(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,e,o,n,s){let i=this.urlTree;if(i===null||this.isAnchorElement&&(t!==0||e||o||n||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(i,l)?.catch(g=>{this.applicationErrorHandler(g)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.reactiveHref.set(t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null)}applyAttributeValue(t,e){let o=this.renderer,n=this.el.nativeElement;e!==null?o.setAttribute(n,t,e):o.removeAttribute(n,t)}get urlTree(){return this.routerLinkInput===null?null:T1(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(e){return new(e||a)(Q(z0),Q(q0),Va("tabindex"),Q(Q0),Q(g0),Q(K2))};static \u0275dir=h0({type:a,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(e,o){e&1&&V("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),e&2&&F("href",o.reactiveHref(),Oa)("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",b1],skipLocationChange:[2,"skipLocationChange","skipLocationChange",b1],replaceUrl:[2,"replaceUrl","replaceUrl",b1],routerLink:"routerLink"},features:[M0]})}return a})(),y6=(()=>{class a{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new B;constructor(t,e,o,n,s){this.router=t,this.element=e,this.renderer=o,this.cdr=n,this.link=s,this.routerEventsSubscription=t.events.subscribe(i=>{i instanceof S0&&this.update()})}ngAfterContentInit(){y(this.links.changes,y(null)).pipe($2()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(e=>!!e).map(e=>e.onChanges);this.linkInputChangesSubscription=f0(t).pipe($2()).subscribe(e=>{this._isActive!==this.isLinkActive(this.router)(e)&&this.update()})}set routerLinkActive(t){let e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();
2this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let e=Kh(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let n=o.urlTree;return n?t.isActive(n,e):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static \u0275fac=function(e){return new(e||a)(Q(z0),Q(g0),Q(Q0),Q(b0),Q(s2,8))};static \u0275dir=h0({type:a,selectors:[["","routerLinkActive",""]],contentQueries:function(e,o,n){if(e&1&&Jt(n,s2,5),e&2){let s;F0(s=D0())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[M0]})}return a})();function Kh(a){return!!a.paths}var Mt=class{};var br=(()=>{class a{router;injector;preloadingStrategy;loader;subscription;constructor(t,e,o,n){this.router=t,this.injector=e,this.preloadingStrategy=o,this.loader=n}setUpPreloading(){this.subscription=this.router.events.pipe(H0(t=>t instanceof S0),M1(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){let o=[];for(let n of e){n.providers&&!n._injector&&(n._injector=Yt(n.providers,t,`Route: ${n.path}`));let s=n._injector??t,i=n._loadedInjector??s;(n.loadChildren&&!n._loadedRoutes&&n.canLoad===void 0||n.loadComponent&&!n._loadedComponent)&&o.push(this.preloadConfig(s,n)),(n.children||n._loadedRoutes)&&o.push(this.processRoutes(i,n.children??n._loadedRoutes))}return f0(o).pipe($2())}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>{let o;e.loadChildren&&e.canLoad===void 0?o=this.loader.loadChildren(t,e):o=y(null);let n=o.pipe(I0(s=>s===null?y(void 0):(e._loadedRoutes=s.routes,e._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));if(e.loadComponent&&!e._loadedComponent){let s=this.loader.loadComponent(e);return f0([n,s]).pipe($2())}else return n})}static \u0275fac=function(e){return new(e||a)(U(z0),U(B0),U(Mt),U(T8))};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Lr=new W(""),Qh=(()=>{class a{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=b2;restoredId=0;store={};constructor(t,e,o,n,s={}){this.urlSerializer=t,this.transitions=e,this.viewportScroller=o,this.zone=n,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof I1?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof S0?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof u1&&t.code===_2.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof z2&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.zone.runOutsideAngular(()=>i0(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new z2(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,e))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(e){Ta()};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})();function Yh(a,...r){return w2([{provide:n2,multi:!0,useValue:a},[],{provide:q0,useFactory:_r,deps:[z0]},{provide:q2,multi:!0,useFactory:Br},r.map(t=>t.\u0275providers)])}function _r(a){return a.routerState.root}function At(a,r){return{\u0275kind:a,\u0275providers:r}}function Br(){let a=v(d0);return r=>{let t=a.get(X0);if(r!==t.components[0])return;let e=a.get(z0),o=a.get(zr);a.get(S6)===1&&e.initialNavigation(),a.get(kr,null,{optional:!0})?.setUpPreloading(),a.get(Lr,null,{optional:!0})?.init(),e.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var zr=new W("",{factory:()=>new a0}),S6=new W("",{providedIn:"root",factory:()=>1});function yr(){let a=[{provide:S6,useValue:0},Ie(()=>{let r=v(d0);return r.get(lo,Promise.resolve()).then(()=>new Promise(e=>{let o=r.get(z0),n=r.get(zr);D8(o,()=>{e(!0)}),r.get(F8).afterPreactivation=()=>(e(!0),n.closed?y(void 0):n),o.initialNavigation()}))})];return At(2,a)}function Sr(){let a=[Ie(()=>{v(z0).setUpLocationChangeListener()}),{provide:S6,useValue:2}];return At(3,a)}var kr=new W("");function Pr(a){return At(0,[{provide:kr,useExisting:br},{provide:Mt,useExisting:a}])}function Or(){return At(8,[x6,{provide:ft,useExisting:x6}])}function Tr(a){Qt("NgRouterViewTransitions");let r=[{provide:L6,useValue:xr},{provide:_6,useValue:H({skipNextTransition:!!a?.skipInitialTransition},a)}];return At(9,r)}var Ir=[S1,{provide:o2,useClass:O1},z0,r2,{provide:q0,useFactory:_r,deps:[z0]},T8,[]],O2=(()=>{class a{constructor(){}static forRoot(t,e){return{ngModule:a,providers:[Ir,[],{provide:n2,multi:!0,useValue:t},[],e?.errorHandler?{provide:B6,useValue:e.errorHandler}:[],{provide:F1,useValue:e||{}},e?.useHash?Jh():tc(),Xh(),e?.preloadingStrategy?Pr(e.preloadingStrategy).\u0275providers:[],e?.
2initialNavigation?ec(e):[],e?.bindToComponentInputs?Or().\u0275providers:[],e?.enableViewTransitions?Tr().\u0275providers:[],ac()]}}static forChild(t){return{ngModule:a,providers:[{provide:n2,multi:!0,useValue:t}]}}static \u0275fac=function(e){return new(e||a)};static \u0275mod=U0({type:a});static \u0275inj=R0({})}return a})();function Xh(){return{provide:Lr,useFactory:()=>{let a=v(uo),r=v(x0),t=v(F1),e=v(F8),o=v(o2);return t.scrollOffset&&a.setOffset(t.scrollOffset),new Qh(o,e,a,r,t)}}}function Jh(){return{provide:K2,useClass:co}}function tc(){return{provide:K2,useClass:ho}}function ec(a){return[a.initialNavigation==="disabled"?Sr().\u0275providers:[],a.initialNavigation==="enabledBlocking"?yr().\u0275providers:[]]}var z6=new W("");function ac(){return[{provide:z6,useFactory:Br},{provide:q2,multi:!0,useExisting:z6}]}function n0(a){a||(a=v(r0));let r=new o1(t=>{if(a.destroyed){t.next();return}return a.onDestroy(t.next.bind(t))});return t=>t.pipe(H1(r))}function Fr(a,r){let t=r?.injector??v(d0),e=new ga(1),o=Xa(()=>{let n;try{n=a()}catch(s){j0(()=>e.error(s));return}j0(()=>e.next(n))},{injector:t,manualCleanup:!0});return t.get(r0).onDestroy(()=>{o.destroy(),e.complete()}),e.asObservable()}var Dr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,48H32A16,16,0,0,0,16,64V88a16,16,0,0,0,16,16v88a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V104a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM208,192H48V104H208ZM224,88H32V64H224V88ZM96,136a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Z"></path></svg>';var k6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72a8,8,0,0,1,11.32-11.32L120,196.69V40a8,8,0,0,1,16,0V196.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z"></path></svg>';var Er='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z"></path></svg>';var P6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"></path></svg>';var Mf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"></path></svg>';var Rr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z"></path></svg>';var Af='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,48V96a8,8,0,0,1-16,0V67.31l-42.34,42.35a8,8,0,0,1-11.32-11.32L188.69,56H160a8,8,0,0,1,0-16h48A8,8,0,0,1,216,48ZM98.34,146.34,56,188.69V160a8,8,0,0,0-16,0v48a8,8,0,0,0,8,8H96a8,8,0,0,0,0-16H67.31l42.35-42.34a8,8,0,0,0-11.32-11.32ZM208,152a8,8,0,0,0-8,8v28.69l-42.34-42.35a8,8,0,0,0-11.32,11.32L188.69,200H160a8,8,0,0,0,0,16h48a8,8,0,0,0,8-8V160A8,8,0,0,0,208,152ZM67.31,56H96a8,8,0,0,0,0-16H48a8,8,0,0,0-8,8V96a8,8,0,0,0,16,0V67.31l42.34,42.35a8,8,0,0,0,11.32-11.32Z"></path></svg>';var Hf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M53.92,34.62A8,8,0,1,0,42.08,45.38L58.82,63.8A79.59,79.59,0,0,0,48,104c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.8a40,40,0,0,0,78.4,0h15.44l19.44,21.38a8,8,0,1,0,11.84-10.76ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216ZM48,184c7.7-13.24,16-43.92,16-80a63.65,63.65,0,0,1,6.26-27.62L168.09,184Zm166-4.73a8.13,8.13,0,0,1-2.93.55,8,8,0,0,1-7.44-5.08C196.35,156.19,192,129.75,192,104A64,64,0,0,0,96.43,48.31a8,8,0,0,1-7.9-13.91A80,80,0,0,1,208,104c0,35.35,8.05,58.59,10.52,64.88A8,8,0,0,1,214,179.25Z"></path></svg>';var O6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M221.8,175.94C216.25,166.38,208,139.33,208,104a80,80,0,1,0-160,0c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.81a40,40,0,0,0,78.38,0H208a16,16,0,0,0,13.8-24.06ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216ZM48,184c7.7-13.24,16-43.92,16-80a64,64,0,1,1,128,0c0,36.05,8.28,66.73,16,80Z"></path></svg>';var Ur='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M232,56H72V40a8,8,0,0,0-8-8H48A32,32,0,0,0,16,64V176a32,32,0,0,0,32,32H232a8,8,0,0,0,8-8V64A8,8,0,0,0,232,56ZM32,64A16,16,0,0,1,48,48h8v96H48a31.82,31.82,0,0,0-16,4.29ZM224,192H48a16,16,0,0,1,0-32H64a8,8,0,0,0,8-8V72H224ZM104,136a8,8,0,0,0,0,16h16v8a8,8,0,0,0,16,0v-8h24v8a8,8,0,0,0,16,0v-8h16a8,8,0,0,0,0-16H176V120h16a8,8,0,0,0,0-16H176V96a8,8,0,0,0-16,0v8H136V96a8,8,0,0,0-16,0v8H104a8,8,0,0,0,0,16h16v16Zm32-16h24v16H136Z"></path></svg>';var Nr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V2
200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"></path></svg>',jr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z"></path></svg>',$r='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M184,32H72A16,16,0,0,0,56,48V224a8,8,0,0,0,12.24,6.78L128,193.43l59.77,37.35A8,8,0,0,0,200,224V48A16,16,0,0,0,184,32Zm0,177.57-51.77-32.35a8,8,0,0,0-8.48,0L72,209.57V48H184Z"></path></svg>',T6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M184,32H72A16,16,0,0,0,56,48V224a8,8,0,0,0,12.24,6.78L128,193.43l59.77,37.35A8,8,0,0,0,200,224V48A16,16,0,0,0,184,32Zm0,16V161.57l-51.77-32.35a8,8,0,0,0-8.48,0L72,161.56V48ZM132.23,177.22a8,8,0,0,0-8.48,0L72,209.57V180.43l56-35,56,35v29.14Z"></path></svg>';var I6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,56H176V48a24,24,0,0,0-24-24H104A24,24,0,0,0,80,48v8H40A16,16,0,0,0,24,72V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V72A16,16,0,0,0,216,56ZM96,48a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96ZM216,72v41.61A184,184,0,0,1,128,136a184.07,184.07,0,0,1-88-22.38V72Zm0,128H40V131.64A200.19,200.19,0,0,0,128,152a200.25,200.25,0,0,0,88-20.37V200ZM104,112a8,8,0,0,1,8-8h32a8,8,0,0,1,0,16H112A8,8,0,0,1,104,112Z"></path></svg>';var Wr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M240,208H224V96a16,16,0,0,0-16-16H144V32a16,16,0,0,0-24.88-13.32L39.12,72A16,16,0,0,0,32,85.34V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM208,96V208H144V96ZM48,85.34,128,32V208H48ZM112,112v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm-32,0v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm0,56v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Zm32,0v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Z"></path></svg>';var Gr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"></path></svg>',xf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"></path></svg>';var rc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"></path></svg>';var qr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z"></path></svg>';var Vf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-6.54-.67L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Z"></path></svg>';var nc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"></path></svg>';var Kr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"></path></svg>';var Zf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M136,80v43.47l36.12,21.67a8,8,0,0,1-8.24,13.72l-40-24A8,8,0,0,1,120,128V80a8,8,0,0,1,16,0Zm-8-48A95.44,95.44,0,0,0,60.08,60.15C52.81,67.51,46.35,74.59,40,82V64a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H72a8,8,0,0,0,0-16H49c7.15-8.42,14.27-16.35,22.39-24.57a80,80,0,1,1,1.66,114.75,8,8,0,1,0-11,11.64A96,96,0,1,0,128,32Z"></path></svg>';var F6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M178.34,165.66,160,147.31V208a8,8,0,0,1-16,0V147.31l-18.34,18.35a8,8,0,0,1-11.32-11.32l32-32a8,8,0,0,1,11.32,0l32,32a8,8,0,0,1-11.32,11.32ZM160,40A88.08,88.08,0,0,0,81.29,88.68,64,64,0,1,0,72,216h40a8,8,0,0,0,0-16H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.12A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,100.8,66,8,8,0,0,0,3.2,15.34,7.9,7.9,0,0,0,3.2-.68A88,88,0,0,0,160,40Z"></path></svg>';var Qr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"></path></svg>';var D6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M248,80a28,28,0,1,0-51.12,15.77l-26.79,33L146,73.4a28,28,0,1,0-36.06,0L85.91,128.74l-26.79-33a28,28,0,1,0-26.6,12L47,194.63A16,16,0,0,0,62.78,208H193.22A16,16,0,0,0,209,194.63l14.47-86.85A28,28,0,0,0,248,80ZM128,40a12,12,0,1,1-12,12A12,12,0,0,1,128,40ZM24,80A12,12,0,1,1,36,92,12,12,0,0,1,24,80ZM193.22,192H62.78L48.86,108.52,81.79,149A8,8,0,0,0,88,152a7.83,7.83,0,0,0,1.08-.07,8,8,0,0,0,6.26-4.74l29.3-67.4a27,27,0,0,0,6.72,0l29.3,67.4a8,8,0,0,0,6.26,4.74A7.83,7.83,0,0,0,168,152a8,8,0,0,0,6.21-3l32.93-40.52ZM220,92a12,12,0,1,1,12-12A12,12,0,0,1,220,92Z"></path></svg>';var Yr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,72a8,8,0,0,1-8,8H176a8,8,0,0,1,0-16h32A8,8,0,0,1,216,72Zm-8,24H176a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm40-48V208a16,16,0,0,1-16,16H152a16,16,0,0,1-16-16V192H96v16h16a8,8,0,0,1,0,16H64a8,8,0,0,1,0-16H80V192H32A24,24,0,0,1,8,168V96A24,24,0,0,1,32,72H136V48a16,16,0,0,1,16-16h80A16,16,0,0,1,248,48ZM136,176V88H32a8,8,0,0,0-8,8v72a8,8,0,0,0,8,8Zm96,32V48H152V208h80Zm-40-40a12,12,0,1,0,12,12A12,12,0,0,0,192,168Z"></path></svg>';var E6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"></path></svg>';var R6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H72a8,8,0,0,1,0,16H32v64H224V136H184a8,8,0,0,1,0-16h40A16,16,0,0,1,240,136Zm-117.66-2.34a8,8,0,0,0,11.32,0l48-48a8,8,0,0,0-11.32-11.32L136,108.69V24a8,8,0,0,0-16,0v84.69L85.66,74.34A8,8,0,0,0,74.34,85.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"></path></svg>';var Xr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"></path></svg>';var U6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.
211,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"></path></svg>',N6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"></path></svg>';var bf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M110.66,147.56a8,8,0,0,0-13.32,0L76.49,178.85l-9.76-15.18a8,8,0,0,0-13.46,0l-36,56A8,8,0,0,0,24,232H152a8,8,0,0,0,6.66-12.44ZM38.65,216,60,182.79l9.63,15a8,8,0,0,0,13.39.11l21-31.47L137.05,216Zm175-133.66-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v88a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160Z"></path></svg>';var Lf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,152a8,8,0,0,1-8,8H192v16h16a8,8,0,0,1,0,16H192v16a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152ZM92,172a28,28,0,0,1-28,28H56v8a8,8,0,0,1-16,0V152a8,8,0,0,1,8-8H64A28,28,0,0,1,92,172Zm-16,0a12,12,0,0,0-12-12H56v24h8A12,12,0,0,0,76,172Zm88,8a36,36,0,0,1-36,36H112a8,8,0,0,1-8-8V152a8,8,0,0,1,8-8h16A36,36,0,0,1,164,180Zm-16,0a20,20,0,0,0-20-20h-8v40h8A20,20,0,0,0,148,180ZM40,112V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88v24a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0ZM160,80h28.69L160,51.31Z"></path></svg>';var Jr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216
2Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"></path></svg>';var _f='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M184,144H168a8,8,0,0,0-8,8v56a8,8,0,0,0,16,0v-8h8a28,28,0,0,0,0-56Zm0,40h-8V160h8a12,12,0,0,1,0,24Zm-48-32v56a8,8,0,0,1-16,0V152a8,8,0,0,1,16,0ZM96,208a8,8,0,0,1-8,8H56a8,8,0,0,1-7-12l25.16-44H56a8,8,0,0,1,0-16H88a8,8,0,0,1,7,12L69.79,200H88A8,8,0,0,1,96,208ZM213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48v16a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,80V51.31L188.69,80Z"></path></svg>',Bf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"></path></svg>';var tn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M42.76,50A8,8,0,0,0,40,56V224a8,8,0,0,0,16,0V179.77c26.79-21.16,49.87-9.75,76.45,3.41,16.4,8.11,34.06,16.85,53,16.85,13.93,0,28.54-4.75,43.82-18a8,8,0,0,0,2.76-6V56A8,8,0,0,0,218.76,50c-28,24.23-51.72,12.49-79.21-1.12C111.07,34.76,78.78,18.79,42.76,50ZM216,172.25c-26.79,21.16-49.87,9.74-76.45-3.41-25-12.35-52.81-26.13-83.55-8.4V59.79c26.79-21.16,49.87-9.75,76.45,3.4,25,12.35,52.82,26.13,83.55,8.4Z"></path></svg>';var E8='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"></path></svg>';var j6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M251.76,88.94l-120-64a8,8,0,0,0-7.52,0l-120,64a8,8,0,0,0,0,14.12L32,117.87v48.42a15.91,15.91,0,0,0,4.06,10.65C49.16,191.53,78.51,216,128,216a130,130,0,0,0,48-8.76V240a8,8,0,0,0,16,0V199.51a115.63,115.63,0,0,0,27.94-22.57A15.91,15.91,0,0,0,224,166.29V117.87l27.76-14.81a8,8,0,0,0,0-14.12ZM128,200c-43.27,0-68.72-21.14-80-33.71V126.4l76.24,40.66a8,8,0,0,0,7.52,0L176,143.47v46.34C163.4,195.69,147.52,200,128,200Zm80-33.75a97.83,97.83,0,0,1-16,14.25V134.93l16-8.53ZM188,118.94l-.22-.13-56-29.87a8,8,0,0,0-7.52,14.12L171,128l-43,22.93L25,96,128,41.07,231,96Z"></path></svg>';var $6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M178,40c-20.65,0-38.73,8.88-50,23.89C116.73,48.88,98.65,40,78,40a62.07,62.07,0,0,0-62,62c0,70,103.79,126.66,108.21,129a8,8,0,0,0,7.58,0C136.21,228.66,240,172,240,102A62.07,62.07,0,0,0,178,40ZM128,214.8C109.74,204.16,32,155.69,32,102A46.06,46.06,0,0,1,78,56c19.45,0,35.78,10.36,42.6,27a8,8,0,0,0,14.8,0c6.82-16.67,23.15-27,42.6-27a46.06,46.06,0,0,1,46,46C224,155.61,146.24,204.15,128,214.8Z"></path></svg>';var en='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z"></path></svg>';var W6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"></path></svg>';var sc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.65,71.65,0,0,0,27.64,56.3A32,32,0,0,1,96,186v6h64v-6a32.15,32.15,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Zm-16.11-9.34a57.6,57.6,0,0,0-46.56-46.55,8,8,0,0,0-2.66,15.78c16.57,2.79,30.63,16.85,33.44,33.45A8,8,0,0,0,176,104a9,9,0,0,0,1.35-.11A8,8,0,0,0,183.89,94.66Z"></path></svg>';var an='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,16,.45A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z"></path></svg>';var G6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"></path></svg>';var zf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M152,112a8,8,0,0,1-8,8H80a8,8,0,0,1,0-16h64A8,8,0,0,1,152,112Zm77.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88.11,88.11,0,1,1,11.31-11.31l50.07,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"></path></svg>',yf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M152,112a8,8,0,0,1-8,8H120v24a8,8,0,0,1-16,0V120H80a8,8,0,0,1,0-16h24V80a8,8,0,0,1,16,0v24h24A8,8,0,0,1,152,112Zm77.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88.11,88.11,0,1,1,11.31-11.31l50.07,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"></path></svg>',q6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"></path></svg>';var on='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"></path></svg>';var rn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,
2106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z"></path></svg>';var nn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M88,112a8,8,0,0,1,8-8h80a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm8,40h80a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,64V184a24,24,0,0,1-24,24H32A24,24,0,0,1,8,184.11V88a8,8,0,0,1,16,0v96a8,8,0,0,0,16,0V64A16,16,0,0,1,56,48H216A16,16,0,0,1,232,64Zm-16,0H56V184a23.84,23.84,0,0,1-1.37,8H208a8,8,0,0,0,8-8Z"></path></svg>';var K6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M200.77,53.89A103.27,103.27,0,0,0,128,24h-1.07A104,104,0,0,0,24,128c0,43,26.58,79.06,69.36,94.17A32,32,0,0,0,136,192a16,16,0,0,1,16-16h46.21a31.81,31.81,0,0,0,31.2-24.88,104.43,104.43,0,0,0,2.59-24A103.28,103.28,0,0,0,200.77,53.89Zm13,93.71A15.89,15.89,0,0,1,198.21,160H152a32,32,0,0,0-32,32,16,16,0,0,1-21.31,15.07C62.49,194.3,40,164,40,128a88,88,0,0,1,87.09-88h.9a88.35,88.35,0,0,1,88,87.25A88.86,88.86,0,0,1,213.81,147.6ZM140,76a12,12,0,1,1-12-12A12,12,0,0,1,140,76ZM96,100A12,12,0,1,1,84,88,12,12,0,0,1,96,100Zm0,56a12,12,0,1,1-12-12A12,12,0,0,1,96,156Zm88-56a12,12,0,1,1-12-12A12,12,0,0,1,184,100Z"></path></svg>';var sn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"></path></svg>';var ln='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM51.31,160,136,75.31,152.69,92,68,176.68ZM48,179.31,76.69,208H48Zm48,25.38L79.31,188,164,103.31,180.69,120Zm96-96L147.31,64l24-24L216,84.68Z"></path></svg>';var hn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"></path></svg>';var cn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"></path></svg>';var vn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M152,224a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h32A8,8,0,0,1,152,224ZM128,112a12,12,0,1,0-12-12A12,12,0,0,0,128,112Zm95.62,43.83-12.36,55.63a16,16,0,0,1-25.51,9.11L158.51,200h-61L70.25,220.57a16,16,0,0,1-25.51-9.11L32.38,155.83a16.09,16.09,0,0,1,3.32-13.71l28.56-34.26a123.07,123.07,0,0,1,8.57-36.67c12.9-32.34,36-52.63,45.37-59.85a16,16,0,0,1,19.6,0c9.34,7.22,32.47,27.51,45.37,59.85a123.07,123.07,0,0,1,8.57,36.67l28.56,34.26A16.09,16.09,0,0,1,223.62,155.83ZM99.43,184h57.14c21.12-37.54,25.07-73.48,11.74-106.88C156.55,47.64,134.49,29,128,24c-6.51,5-28.57,23.64-40.33,53.12C74.36,110.52,78.31,146.46,99.43,184Zm-15,5.85Q68.28,160.5,64.83,132.16L48,152.36,60.36,208l.18-.13ZM208,152.36l-16.83-20.2q-3.42,28.28-19.56,57.69l23.85,18,.18.13Z"></path></svg>';var Q6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M229.66,109.66l-48,48a8,8,0,0,1-11.32-11.32L204.69,112H165a88,88,0,0,0-85.23,66,8,8,0,0,1-15.5-4A103.94,103.94,0,0,1,165,96h39.71L170.34,61.66a8,8,0,0,1,11.32-11.32l48,48A8,8,0,0,1,229.66,109.66ZM192,208H40V88a8,8,0,0,0-16,0V216a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16Z"></path></svg>';var pn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M230.14,58.87A8,8,0,0,0,224,56H62.68L56.6,22.57A8,8,0,0,0,48.73,16H24a8,8,0,0,0,0,16h18L6
27.56,172.29a24,24,0,0,0,5.33,11.27,28,28,0,1,0,44.4,8.44h45.42A27.75,27.75,0,0,0,160,204a28,28,0,1,0,28-28H91.17a8,8,0,0,1-7.87-6.57L80.13,152h116a24,24,0,0,0,23.61-19.71l12.16-66.86A8,8,0,0,0,230.14,58.87ZM104,204a12,12,0,1,1-12-12A12,12,0,0,1,104,204Zm96,0a12,12,0,1,1-12-12A12,12,0,0,1,200,204Zm4-74.57A8,8,0,0,1,196.1,136H77.22L65.59,72H214.41Z"></path></svg>';var gn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40a8,8,0,0,0-11.32,11.32L204.69,120H112a8,8,0,0,0,0,16h92.69l-26.35,26.34a8,8,0,0,0,11.32,11.32l40-40A8,8,0,0,0,229.66,122.34Z"></path></svg>';var Sf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm88,88H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"></path></svg>';var kf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M239.18,97.26A16.38,16.38,0,0,0,224.92,86l-59-4.76L143.14,26.15a16.36,16.36,0,0,0-30.27,0L90.11,81.23,31.08,86a16.46,16.46,0,0,0-9.37,28.86l45,38.83L53,211.75a16.38,16.38,0,0,0,24.5,17.82L128,198.49l50.53,31.08A16.4,16.4,0,0,0,203,211.75l-13.76-58.07,45-38.83A16.43,16.43,0,0,0,239.18,97.26Zm-15.34,5.47-48.7,42a8,8,0,0,0-2.56,7.91l14.88,62.8a.37.37,0,0,1-.17.48c-.18.14-.23.11-.38,0l-54.72-33.65a8,8,0,0,0-8.38,0L69.09,215.94c-.15.09-.19.12-.38,0a.37.37,0,0,1-.17-.48l14.88-62.8a8,8,0,0,0-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13-.5s.18-.27.33-.29l63.92-5.16A8,8,0,0,0,103,91.86l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153,91.86a8,8,0,0,0,6.75,4.92l63.92,5.16c.15,0,.24,0,.33.29S224,102.63,223.84,102.73Z"></path></svg>';var dn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z"></path></svg>';var R8='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"></path></svg>';var wn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M232,64H208V48a8,8,0,0,0-8-8H56a8,8,0,0,0-8,8V64H24A16,16,0,0,0,8,80V96a40,40,0,0,0,40,40h3.65A80.13,80.13,0,0,0,120,191.61V216H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16H136V191.58c31.94-3.23,58.44-25.64,68.08-55.58H208a40,40,0,0,0,40-40V80A16,16,0,0,0,232,64ZM48,120A24,24,0,0,1,24,96V80H48v32q0,4,.39,8Zm144-8.9c0,35.52-29,64.64-64,64.9a64,64,0,0,1-64-64V56H192ZM232,96a24,24,0,0,1-24,24h-.5a81.81,81.81,0,0,0,.5-8.9V80h24Z"></path></svg>';var un='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H80a8,8,0,0,1,0,16H32v64H224V136H176a8,8,0,0,1,0-16h48A16,16,0,0,1,240,136ZM85.66,77.66,120,43.31V128a8,8,0,0,0,16,0V43.31l34.34,34.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,77.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"></path></svg>';var Pf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M256,136a8,8,0,0,1-8,8H232v16a8,8,0,0,1-16,0V144H200a8,8,0,0,1,0-16h16V112a8,8,0,0,1,16,0v16h16A8,8,0,0,1,256,136Zm-57.87,58.85a8,8,0,0,1-12.26,10.3C165.75,181.19,138.09,168,108,168s-
257.75,13.19-77.87,37.15a8,8,0,0,1-12.25-10.3c14.94-17.78,33.52-30.41,54.17-37.17a68,68,0,1,1,71.9,0C164.6,164.44,183.18,177.07,198.13,194.85ZM108,152a52,52,0,1,0-52-52A52.06,52.06,0,0,0,108,152Z"></path></svg>';var Y6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M230.92,212c-15.23-26.33-38.7-45.21-66.09-54.16a72,72,0,1,0-73.66,0C63.78,166.78,40.31,185.66,25.08,212a8,8,0,1,0,13.85,8c18.84-32.56,52.14-52,89.07-52s70.23,19.44,89.07,52a8,8,0,1,0,13.85-8ZM72,96a56,56,0,1,1,56,56A56.06,56.06,0,0,1,72,96Z"></path></svg>';var Of='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M251.77,73a8,8,0,0,0-8.21.39L208,97.05V72a16,16,0,0,0-16-16H32A16,16,0,0,0,16,72V184a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V159l35.56,23.71A8,8,0,0,0,248,184a8,8,0,0,0,8-8V80A8,8,0,0,0,251.77,73ZM192,184H32V72H192V184Zm48-22.95-32-21.33V116.28L240,95Z"></path></svg>';var ic='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"></path></svg>';var mn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"></path></svg>';var X6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"></path></svg>';var fn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4 10h3v7H4zm6.5 0h3v7h-3zM2 19h20v3H2zm15-9h3v7h-3zm-5-9L2 6v2h20V6z"></path></svg>';var If='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M15 17h2v-3h1v-2l-1-5H2l-1 5v2h1v6h9v-6h4v3zm-6 1H4v-4h5v4zM2 4h15v2H2z"></path><path d="M20 18v-3h-2v3h-3v2h3v3h2v-3h3v-2z"></path></svg>';var Cn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></path></svg>';var Mn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-5h2v5zm4 0h-2v-3h2v3zm0-5h-2v-2h2v2zm4 5h-2V7h2v10z"></path></svg>';var An='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM12 17.5L6.5 12H10v-2h4v2h3.5L12 17.5zM5.12 5l.81-1h12l.94 1H5.12z"></path></svg>';var Hn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8l8 8l1.41-1.41L7.83 13H20v-2z"></path></svg>';var lc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"></path></svg>';var xn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"></path></svg>',Ff='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"></path></svg>',Vn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"></path></svg>';var Df='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11.8 10.9c-2.27-.59-3-1.2-3-2.15c0-1.09 1.01-1.85 2.7-1.85c1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61c0 2.31 1.91 3.46 4.7 4.13c2.5.6 3 1.48 3 2.41c0 .69-.49 1.79-2.7 1.79c-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55c0-2.84-2.43-3.81-4.7-4.4z"></path></svg>';var Zn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M7.5 5.6L10 7L8.6 4.5L10 2L7.5 3.4L5 2l1.4 2.5L5 7zm12 9.8L17 14l1.4 2.5L17 19l2.5-1.4L22 19l-1.4-2.5L22 14zM22 2l-2.5 1.4L17 2l1.4 2.5L17 7l2.5-1.4L22 7l-1.4-2.5zm-7.63 5.29a.996.996 0 0 0-1.41 0L1.29 18.96a.996.996 0 0 0 0 1.41l2.34 2.34c.39.39 1.02.39 1.41 0L16.7 11.05a.996.996 0 0 0 0-1.41l-2.33-2.35zm-1.03 5.49l-2.12-2.12l2.44-2.44l2.12 2.12l-2.44 2.44z"></path></svg>';var bn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"></path></svg>';var Ln='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8c1.85 0 3.55.63 4.9 1.69L5.69 16.9A7.902 7.902 0 0 1 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1A7.902 7.902 0 0 1 20 12c0 4.42-3.58 8-8 8z"></path></svg>';var J6='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h
25v8l-2.5-1.5L6 12V4z"></path></svg>',_n='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M21 7h-2v2h-2V7h-2V5h2V3h2v2h2v2zm-2 14l-7-3l-7 3V5c0-1.1.9-2 2-2h7a5.002 5.002 0 0 0 5 7.9V21z"></path></svg>',Bn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 21l-7-3l-7 3V5c0-1.1.9-2 2-2h7a5.002 5.002 0 0 0 5 7.9V21zM17.83 9L15 6.17l1.41-1.41l1.41 1.41l3.54-3.54l1.41 1.41L17.83 9z"></path></svg>',zn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3l7 3V5c0-1.1-.9-2-2-2zm0 15l-5-2.18L7 18V5h10v13z"></path></svg>',yn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M21 7h-6V5h6v2zm-2 3.9A5.002 5.002 0 0 1 14 3H7c-1.1 0-2 .9-2 2v16l7-3l7 3V10.9z"></path></svg>',t4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3l7 3V5c0-1.1-.9-2-2-2z"></path></svg>',Sn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 18l2 1V3c0-1.1-.9-2-2-2H8.99C7.89 1 7 1.9 7 3h10c1.1 0 2 .9 2 2v13zM15 5H5c-1.1 0-2 .9-2 2v16l7-3l7 3V7c0-1.1-.9-2-2-2z"></path></svg>';var kn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9c-2-2-5-2.4-7.4-1.3L9 6L6 9L1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"></path></svg>';var Ef='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M10 16v-1H3.01L3 19c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2v-4h-7v1h-4zm10-9h-4.01V5l-2-2h-4l-2 2v2H4c-1.1 0-2 .9-2 2v3c0 1.11.89 2 2 2h6v-2h4v2h6c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zm-6 0h-4V5h4v2z"></path></svg>',Rf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"></path></svg>';var hc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"></path></svg>';var Pn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M18 11v2h4v-2h-4zm-2 6.61c.96.71 2.21 1.65 3.2 2.39c.4-.53.8-1.07 1.2-1.6c-.99-.74-2.24-1.68-3.2-2.4c-.4.54-.8 1.08-1.2 1.61zM20.4 5.6c-.4-.53-.8-1.07-1.2-1.6c-.99.74-2.24 1.68-3.2 2.4c.4.53.8 1.07 1.2 1.6c.96-.72 2.21-1.65 3.2-2.4zM4 9c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2h1v4h2v-4h1l5 3V6L8 9H4zm11.5 3c0-1.33-.58-2.53-1.5-3.35v6.69c.92-.81 1.5-2.01 1.5-3.34z"></path></svg>';var Uf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 6h-2.18c.11-.31.18-.65.18-1a2.996 2.996 0 0 0-5.5-1.65l-.5.67l-.5-.68C10.96 2.54 10.05 2 9 2C7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1s-1-.45-1-1s.45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1s-1-.45-1-1s.45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83L8.62 12L11 8.76l1-1.36l1 1.36L15.38 12L17 10.83L14.92 8H20v6z"></path></svg>',On='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h4v5l4-2l4 2v-5h4c1.11 0 2-.89 2-2V4c0-1.11-.89-2-2-2zm0 13H4v-2h16v2zm0-5H4V4h16v6z"></path></svg>';var Tn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2l-5.5 9h11z"></path><circle cx="17.5" cy="17.5" r="4.5"></circle><path d="M3 13.5h8v8H3z"></path></svg>';var In='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5l1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"></path></svg>',cc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z"></path></svg>';var Fn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M10 6L8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6z"></path></svg>';var Dn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm0 16.5c-.83 0-1.5-.67-1.5-1.5h3c0 .83-.67 1.5-1.5 1.5zm5-2.5H7v-1l1-1v-2.61C8 9.27 9.03 7.47 11 7v-.5c0-.57.43-1 1-1s1 .43 1 1V7c1.97.47 3 2.28 3 4.39V14l1 1v1z"></path></svg>';var En='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z"></path></svg>',Nf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22 3.41L16.71 8.7L20 12h-8V4l3.29 3.29L20.59 2L22 3.41zM3.41 22l5.29-5.29L12 20v-8H4l3.29 3.29L2 20.59L3.41 22z"></path></svg>',U8='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z"></path></svg>';var Rn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"></path></svg>';var Un='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"></path></svg>';var e4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"></path></svg>';var vc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"></path></svg>';var jf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4 6h18V4H4c-1.1 0-2 .9-2 2v11H0v3h14v-3H4V6zm19 2h-6c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-1 9h-4v-7h4v7z"></path></svg>';var Nn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7l7-7z"></path></svg>';var jn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M21.99 8c0-.72-.37-1.35-.94-1.7L12 1L2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zM12 13L3.74 7.84L12 3l8.26 4.84L12 13z"></path></svg>';var a4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83l3.75 3.75l1.83-1.83z"></path></svg>';var $n='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5l-8-5V6l8 5l8-5v2z"></path></svg>';var o4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94A5.01 5.01 0 0 0 11 15.9V19H7v2h10v-2h-4v-3.1a5.01 5.01 0 0 0 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2zM5 8V7h2v3.82C5.84 10.4 5 9.3 5 8zm14 0c0 1.3-.84 2.4-2 2.82V7h2v1z"></path></svg>';var Wn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="4" r="2"></circle><path d="M15.89 8.11C15.5 7.72 14.83 7 13.53 7h-2.54C8.24 6.99 6 4.75 6 2H4c0 3.16 2.11 5.84 5 6.71V22h2v-6h2v6h2V10.05L18.95 14l1.41-1.41l-4.47-4.48z"></path></svg>';var Gn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"></path></svg>';var qn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
2<path d="M12 8l-6 6l1.41 1.41L12 10.83l4.59 4.58L18 14z"></path></svg>',r4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.59 8.59L12 13.17L7.41 8.59L6 10l6 6l6-6z"></path></svg>';var $f='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z"></path></svg>';var Kn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3C4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5C22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1l-.1-.1C7.14 14.24 4 11.39 4 8.5C4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5c0 2.89-3.14 5.74-7.9 10.05z"></path></svg>',Qn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5C2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3C19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"></path></svg>';var pc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"></path></svg>';var Yn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"></path></svg>';var n4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"></path></svg>';var Xn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"></path></svg>';var Wf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"></path></svg>';var Gf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"></path></svg>',qf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"></path></svg>';var Jn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M21 4H11l-1-3H3c-1.1 0-2 .9-2 2v15c0 1.1.9 2 2 2h8l1 3h9c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7 16c-2.76 0-5-2.24-5-5s2.24-5 5-5c1.35 0 2.48.5 3.35 1.3L9.03 8.57c-.38-.36-1.04-.78-2.03-.78c-1.74 0-3.15 1.44-3.15 3.21S5.26 14.21 7 14.21c2.01 0 2.84-1.44 2.92-2.41H7v-1.71h4.68c.07.31.12.61.12 1.02C11.8 13.97 9.89 16 7 16zm6.17-5.42h3.7c-.43 1.25-1.11 2.43-2.05 3.47c-.31-.35-.6-.72-.86-1.1l-.79-2.37zm8.33 9.92c0 .55-.45 1-1 1H14l2-2.5l-1.04-3.1l3.1 3.1l.92-.92l-3.3-3.25l.02-.02c1.13-1.25 1.93-2.69 2.4-4.22H20v-1.3h-4.53V8h-1.29v1.29h-1.44L11.46 5.5h9.04c.55 0 1 .45 1 1v14z"></path></svg>';var s4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M5.25 8.069l2.83-2.827l14.134 14.15l-2.83 2.827zm4.236-4.242L12.314.998l5.657 5.656l-2.828 2.83zM.999 12.315l2.828-2.829l5.657 5.657l-2.828 2.828zM1 21h12v2H1z"></path></svg>';var Kf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05c1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"></path></svg>';var Qf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 12.75c1.63 0 3.07.39 4.24.9c1.08.48 1.76 1.56 1.76 2.73V18H6v-1.61c0-1.18.68-2.26 1.76-2.73c1.17-.52 2.61-.91 4.24-.91zM4 13c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm
21.13 1.1c-.37-.06-.74-.1-1.13-.1c-.99 0-1.93.21-2.78.58A2.01 2.01 0 0 0 0 16.43V18h4.5v-1.61c0-.83.23-1.61.63-2.29zM20 13c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm4 3.43c0-.81-.48-1.53-1.22-1.85A6.95 6.95 0 0 0 20 14c-.39 0-.76.04-1.13.1c.4.68.63 1.46.63 2.29V18H24v-1.57zM12 6c1.66 0 3 1.34 3 3s-1.34 3-3 3s-3-1.34-3-3s1.34-3 3-3z"></path></svg>';var ts='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41c0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"></path></svg>';var es='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13 3a9 9 0 0 0-9 9H1l3.89 3.89l.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7s-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42A8.954 8.954 0 0 0 13 21a9 9 0 0 0 0-18zm-1 5v5l4.28 2.54l.72-1.21l-3.5-2.08V8H12z"></path></svg>';var as='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M10 20v-6h4v6h5v-8h3L12 3L2 12h3v8z"></path></svg>';var gc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"></path></svg>';var i4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"></path></svg>';var os='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83l1.41 1.41L19 6.41V10h2V3h-7z"></path></svg>';var l4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9H9V9h10v2zm-4 4H9v-2h6v2zm4-8H9V5h10v2z"></path></svg>';var rs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9v1zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7c0-3.9-3.1-7-7-7z"></path></svg>';var ns='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"></path></svg>';var Yf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"></path></svg>';var ss='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58c.55 0 1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41c0-.55-.23-1.06-.59-1.42zM5.5 7C4.67 7 4 6.33 4 5.5S4.67 4 5.5 4S7 4.67 7 5.5S6.33 7 5.5 7z"></path></svg>';var is='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5a2.5 2.5 0 0 1 0 5z"></path></svg>';var ls='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z"></path></svg>';var dc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"></path></svg>';var h4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z"></path></svg>';var N8='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z"></path></svg>';var hs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2a8.445 8.445 0 0 1 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43a8.495 8.495 0 0 1 3.54 6.42zM18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04c.65-.14 1.18-.58 1.44-1.18c.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"></path></svg>',cs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z"></path></svg>',vs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 18.69L7.84 6.14L5.27 3.49L4 4.76l2.8 2.8v.01c-.52.99-.8 2.16-.8 3.42v5l-2 2v1h13.73l2 2L21 19.72l-1-1.03zM12 22c1.11 0 2-.89 2-2h-4c0 1.11.89 2 2 2zm6-7.32V11c0-3.08-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68c-.15.03-.29.08-.42.12c-.1.03-.2.07-.3.11h-.01c-.01 0-.01 0-.02.01c-.23.09-.46.2-.68.31c0 0-.01 0-.01.01L18 14.68z"></path></svg>';var c4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 22c1.1 0 2-.9 2-2h-4a2 2 0 0 0 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z"></path></svg>';var ps='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83l1.41 1.41L19 6.41V10h2V3h-7z"></path></svg>';var Xf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
2<path d="M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10a2.5 2.5 0 0 0 2.5-2.5c0-.61-.23-1.2-.64-1.67a.528.528 0 0 1-.13-.33c0-.28.22-.5.5-.5H16c3.31 0 6-2.69 6-6c0-4.96-4.49-9-10-9zm5.5 11c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5s1.5.67 1.5 1.5s-.67 1.5-1.5 1.5zm-3-4c-.83 0-1.5-.67-1.5-1.5S13.67 6 14.5 6s1.5.67 1.5 1.5S15.33 9 14.5 9zM5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S7.33 13 6.5 13S5 12.33 5 11.5zm6-4c0 .83-.67 1.5-1.5 1.5S8 8.33 8 7.5S8.67 6 9.5 6s1.5.67 1.5 1.5z"></path></svg>';var Jf='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"></path></svg>';var tC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zM7 13.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5s1.5.67 1.5 1.5s-.67 1.5-1.5 1.5zm5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5s1.5.67 1.5 1.5s-.67 1.5-1.5 1.5zm5 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5s1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z"></path></svg>';var gs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05c1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"></path></svg>';var eC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M2 6H0v5h.01L0 20c0 1.1.9 2 2 2h18v-2H2V6zm20-2h-8l-2-2H6c-1.1 0-1.99.9-1.99 2L4 16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7 15l4.5-6l3.5 4.51l2.5-3.01L21 15H7z"></path></svg>';var wc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4zm-9-2V7H4v3H1v2h3v3h2v-3h3v-2H6zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path></svg>',ds='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8.65 5.82a3.999 3.999 0 1 1 5.53 5.53L8.65 5.82zM20 17.17c-.02-1.1-.63-2.11-1.61-2.62c-.54-.28-1.13-.54-1.77-.76L20 17.17zm1.19 4.02L2.81 2.81L1.39 4.22l8.89 8.89c-1.81.23-3.39.79-4.67 1.45A2.97 2.97 0 0 0 4 17.22V20h13.17l2.61 2.61l1.41-1.42z"></path></svg>';var aC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M14 8c0-2.21-1.79-4-4-4S6 5.79 6 8s1.79 4 4 4s4-1.79 4-4zm3 2v2h6v-2h-6zM2 18v2h16v-2c0-2.66-5.33-4-8-4s-8 1.34-8 4z"></path></svg>';var ws='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path></svg>';var oC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M8 5v14l11-7z"></path></svg>';var us='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1s1 .45 1 1s-.45 1-1 1zm-1-9H6v4h12V3z"></path></svg>';var ms='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41c0 2.08-.8 3.97-2.1 5.39z"></path></svg>';var rC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M18 17H6v-2h12v2zm0-4H6v-2h12v2zm0-4H6V7h12v2zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2L7.5 3.5L6 2L4.5 3.5L3 2v20z"></path></svg>';var fs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M17.65 6.35A7.958 7.958 0 0 0 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0 1 12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"></path></svg>';var nC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6s-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8s-3.58-8-8-8z"></path></svg>';var Cs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
2<path d="M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM12 17.3c-.72 0-1.3-.58-1.3-1.3c0-.72.58-1.3 1.3-1.3c.72 0 1.3.58 1.3 1.3c0 .72-.58 1.3-1.3 1.3zm1-4.3h-2V7h2v6z"></path></svg>';var sC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 15.18V7c0-2.21-1.79-4-4-4s-4 1.79-4 4v10c0 1.1-.9 2-2 2s-2-.9-2-2V8.82C8.16 8.4 9 7.3 9 6c0-1.66-1.34-3-3-3S3 4.34 3 6c0 1.3.84 2.4 2 2.82V17c0 2.21 1.79 4 4 4s4-1.79 4-4V7c0-1.1.9-2 2-2s2 .9 2 2v8.18A2.996 2.996 0 0 0 18 21c1.66 0 3-1.34 3-3c0-1.3-.84-2.4-2-2.82z"></path></svg>';var iC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6l9-4.91V17h2V9L12 3z"></path></svg>';var Ms='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12c5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z"></path></svg>';var As='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M2.01 21L23 12L2.01 3L2 10l15 2l-15 2z"></path></svg>';var v4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19.14 12.94c.04-.3.06-.61.06-.94c0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.488.488 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6s3.6 1.62 3.6 3.6s-1.62 3.6-3.6 3.6z"></path></svg>';var Hs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81c1.66 0 3-1.34 3-3s-1.34-3-3-3s-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65c0 1.61 1.31 2.92 2.92 2.92c1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"></path></svg>';var lC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2s-.9-2-2-2zM1 2v2h2l3.6 7.59l-1.35 2.45c-.16.28-.25.61-.25.96c0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12l.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1.003 1.003 0 0 0 20 4H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2s2-.9 2-2s-.9-2-2-2z"></path></svg>';var hC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM9.5 16.5v-9l7 4.5l-7 4.5z"></path></svg>';var uc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"></path></svg>';var xs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M22 9.24l-7.19-.62L12 2L9.19 8.63L2 9.24l5.46 4.73L5.82 21L12 17.27L18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27l1-4.28l-3.32-2.88l4.38-.38L12 6.1l1.71 4.04l4.38.38l-3.32 2.88l1 4.28L12 15.4z"></path></svg>';var Vs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2L9.19 8.63L2 9.24l5.46 4.73L5.82 21z"></path></svg>';var cC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M21.9 8.89l-1.05-4.37c-.22-.9-1-1.52-1.91-1.52H5.05c-.9 0-1.69.63-1.9 1.52L2.1 8.89c-.24 1.02-.02 2.06.62 2.88c.08.11.19.19.28.29V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6.94c.09-.09.2-.18.28-.28c.64-.82.87-1.87.62-2.89zm-2.99-3.9l1.05 4.37c.1.42.01.84-.25 1.17c-.14.18-.44.47-.94.47c-.61 0-1.14-.49-1.21-1.14L16.98 5l1.93-.01zM13 5h1.96l.54 4.52c.05.39-.07.78-.33 1.07c-.22.26-.54.41-.95.41c-.67 0-1.22-.59-1.22-1.31V5zM8.49 9.52L9.04 5H11v4.69c0 .72-.55 1.31-1.29 1.31c-.34 0-.65-.15-.89-.41a1.42 1.42 0 0 1-.33-1.07zm-4.45-.16L5.05 5h1.97l-.58 4.86c-.08.65-.6 1.14-1.21 1.14c-.49 0-.8-.29-.93-.47c-.27-.32-.36-.75-.26-1.17zM5 19v-6.03c.08.01.15.03.23.03c.87 0 1.66-.36 2.24-.95c.6.6 1.4.95 2.31.95c.87 0 1.65-.36 2.23-.93c.59.57 1.39.93 2.29.93c.84 0 1.64-.35 2.24-.95c.58.59 1.37.95 2.24.95c.08 0 .15-.02.23-.03V19H5z"></path></svg>';var Zs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M9 1h6v2H9zm10.03 6.39l1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42A8.962 8.962 0 0 0 12 4a9 9 0 0 0-9 9c0 4.97 4.02 9 9 9a8.994 8.994 0 0 0 7.03-14.61zM13 14h-2V8h2v6z"></path></svg>';var bs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16 6l2.29 2.29l-4.88 4.88l-4-4L2 16.59L3.41 18l6-6l4 4l6.3-6.29L22 12V6z"></path></svg>';var Ls='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M5 20h14v-2H5v2zm0-10h4v6h6v-6h4l-7-7l-7 7z"></path></svg>';var _s='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 7c2.76 0 5 2.24 5 5c0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75c-1.73-4.39-6-7.5-11-7.5c-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28l.46.46A11.804 11.804 0 0 0 1 12c1.73 4.39 6 7.5 11 7.5c1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22L21 20.73L3.27 3L2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65c0 1.66 1.34 3 3 3c.22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53c-2.76 0-5-2.24-5-5c0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15l.02-.16c0-1.66-1.34-3-3-3l-.17.01z"></path></svg>',Bs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5s-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3s3-1.34 3-3s-1.34-3
2-3-3z"></path></svg>';var vC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M18.5 12A4.5 4.5 0 0 0 16 7.97v8.05c1.48-.73 2.5-2.25 2.5-4.02zM5 9v6h4l5 5V4L9 9H5z"></path></svg>';var pC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.5 12A4.5 4.5 0 0 0 14 7.97v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51A8.796 8.796 0 0 0 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27L7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06a8.99 8.99 0 0 0 3.69-1.81L19.73 21L21 19.73l-9-9L4.27 3zM12 4L9.91 6.09L12 8.18V4z"></path></svg>',zs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3A4.5 4.5 0 0 0 14 7.97v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"></path></svg>';var ys='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M1 21h22L12 2L1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"></path></svg>';var Ss='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z"></path></svg>';var ks='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M6 13c-2.2 0-4 1.8-4 4s1.8 4 4 4s4-1.8 4-4s-1.8-4-4-4zm6-10C9.8 3 8 4.8 8 7s1.8 4 4 4s4-1.8 4-4s-1.8-4-4-4zm6 10c-2.2 0-4 1.8-4 4s1.8 4 4 4s4-1.8 4-4s-1.8-4-4-4z"></path></svg>';var Ps='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5A6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5S14 7.01 14 9.5S11.99 14 9.5 14z"></path><path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"></path></svg>';var p4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M221.8,175.94C216.25,166.38,208,139.33,208,104a80,80,0,1,0-160,0c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.81a40,40,0,0,0,78.38,0H208a16,16,0,0,0,13.8-24.06ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216Z"></path></svg>';var T2='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M136,120h24v16H136ZM240,64V200a8,8,0,0,1-8,8H48a32,32,0,0,1-32-32V64A32,32,0,0,1,48,32H64a8,8,0,0,1,8,8V56H232A8,8,0,0,1,240,64ZM56,48H48A16,16,0,0,0,32,64v84.29A31.82,31.82,0,0,1,48,144h8Zm120,88V120h16a8,8,0,0,0,0-16H176V96a8,8,0,0,0-16,0v8H136V96a8,8,0,0,0-16,0v8H104a8,8,0,0,0,0,16h16v16H104a8,8,0,0,0,0,16h16v8a8,8,0,0,0,16,0v-8h24v8a8,8,0,0,0,16,0v-8h16a8,8,0,0,0,0-16Z"></path></svg>';var Os='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,32V192a8,8,0,0,1-8,8H72a16,16,0,0,0-16,16H192a8,8,0,0,1,0,16H48a8,8,0,0,1-8-8V56A32,32,0,0,1,72,24H208A8,8,0,0,1,216,32Z"></path></svg>',I2='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M240,56V200a8,8,0,0,1-8,8H160a24,24,0,0,0-24,23.94,7.9,7.9,0,0,1-5.12,7.55A8,8,0,0,1,120,232a24,24,0,0,0-24-24H24a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H88a32,32,0,0,1,32,32v87.73a8.17,8.17,0,0,0,7.47,8.25,8,8,0,0,0,8.53-8V80a32,32,0,0,1,32-32h64A8,8,0,0,1,240,56Z"></path></svg>';var Ts='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M184,32H72A16,16,0,0,0,56,48V224a8,8,0,0,0,12.24,6.78L128,193.43l59.77,37.35A8,8,0,0,0,200,224V48A16,16,0,0,0,184,32Z"></path></svg>';var Ht='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M152,112a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h32A8,8,0,0,1,152,112Zm80-40V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V72A16,16,0,0,1,40,56H80V48a24,24,0,0,1,24-24h48a24,24,0,0,1,24,24v8h40A16,16,0,0,1,232,72ZM96,56h64V48a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8Zm120,57.61V72H40v41.61A184,184,0,0,0,128,136,184,184,0,0,0,216,113.61Z"></path></svg>';var j8='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M239.73,208H224V96a16,16,0,0,0-16-16H164a4,4,0,0,0-4,4V208H144V32.41a16.43,16.43,0,0,0-6.16-13,16,16,0,0,0-18.72-.69L39.12,72A16,16,0,0,0,32,85.34V208H16.27A8.18,8.18,0,0,0,8,215.47,8,8,0,0,0,16,224H240a8,8,0,0,0,8-8.53A8.18,8.18,0,0,0,239.73,208ZM76,184a8,8,0,0,1-8.53,8A8.18,8.18,0,0,1,60,183.72V168.27A8.19,8.19,0,0,1,67.47,160,8,8,0,0,1,76,168Zm0-56a8,8,0,0,1-8.53,8A8.19,8.19,0,0,1,60,127.72V112.27A8.19,8.19,0,0,1,67.47,104,8,8,0,0,1,76,112Zm40,56a8,8,0,0,1-8.53,8,8.18,8.18,0,0,1-7.47-8.26V168.27a8.19,8.19,0,0,1,7.47-8.26,8,8,0,0,1,8.53,8Zm0-56a8,8,0,0,1-8.53,8,8.19,8.19,0,0,1-7.47-8.26V112.27a8.19,8.19,0,0,1,7.47-8.26,8,8,0,0,1,8.53,8Z"></path></svg>';var Is='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM152,160H136v16a8,8,0,0,1-16,0V160H104a8,8,0,0,1,0-16h16V128a8,8,0,0,1,16,0v16h16a8,8,0,0,1,0,16ZM48,80V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80Z"></path></svg>';var Fs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H53.39a8,8,0,0,0,7.23-4.57,48,48,0,0,1,86.76,0,8,8,0,0,0,7.23,4.57H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM104,168a32,32,0,1,1,32-32A32,32,0,0,1,104,168Zm112,32H159.43a63.93,63.93,0,0,0-13.16-16H192a8,8,0,0,0,8-8V80a8,8,0,0,0-8-8H64a8,8,0,0,0-8,8v96a8,8,0,0,0,6,7.75A63.72,63.72,0,0,0,48.57,200H40V56H216Z"></path></svg>';var g4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M232.07,186.76a80,80,0,0,0-62.5-114.17A80,80,0,1,0,23.93,138.76l-7.27,24.71a16,
216,0,0,0,19.87,19.87l24.71-7.27a80.39,80.39,0,0,0,25.18,7.35,80,80,0,0,0,108.34,40.65l24.71,7.27a16,16,0,0,0,19.87-19.86Zm-16.25,1.47L224,216l-27.76-8.17a8,8,0,0,0-6,.63,64.05,64.05,0,0,1-85.87-24.88A79.93,79.93,0,0,0,174.7,89.71a64,64,0,0,1,41.75,92.48A8,8,0,0,0,215.82,188.23Z"></path></svg>';var dC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"></path></svg>';var d4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M248,80a28,28,0,1,0-51.12,15.77l-26.79,33L146,73.4a28,28,0,1,0-36.06,0L85.91,128.74l-26.79-33a28,28,0,1,0-26.6,12L47,194.63A16,16,0,0,0,62.78,208H193.22A16,16,0,0,0,209,194.63l14.47-86.85A28,28,0,0,0,248,80ZM128,40a12,12,0,1,1-12,12A12,12,0,0,1,128,40ZM24,80A12,12,0,1,1,36,92,12,12,0,0,1,24,80ZM220,92a12,12,0,1,1,12-12A12,12,0,0,1,220,92Z"></path></svg>';var Ds='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M160,152a16,16,0,0,1-16,16h-8V136h8A16,16,0,0,1,160,152Zm72-24A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-56,24a32,32,0,0,0-32-32h-8V88h4a16,16,0,0,1,16,16,8,8,0,0,0,16,0,32,32,0,0,0-32-32h-4V64a8,8,0,0,0-16,0v8h-4a32,32,0,0,0,0,64h4v32h-8a16,16,0,0,1-16-16,8,8,0,0,0-16,0,32,32,0,0,0,32,32h8v8a8,8,0,0,0,16,0v-8h8A32,32,0,0,0,176,152Zm-76-48a16,16,0,0,0,16,16h4V88h-4A16,16,0,0,0,100,104Z"></path></svg>';var Es='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M120,76V188a4,4,0,0,1-4,4H96v16h15.73a8.18,8.18,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53H64.27A8.18,8.18,0,0,1,56,216.53,8,8,0,0,1,64,208H80V192H32A24,24,0,0,1,8,168V96A24,24,0,0,1,32,72h84A4,4,0,0,1,120,76ZM248,48V208a16,16,0,0,1-16,16H152a16,16,0,0,1-16-16V48a16,16,0,0,1,16-16h80A16,16,0,0,1,248,48ZM203.9,181.57a12,12,0,1,0-10.34,10.33A12,12,0,0,0,203.9,181.57ZM224,103.47A8.18,8.18,0,0,0,215.73,96H168.27a8.18,8.18,0,0,0-8.25,7.47,8,8,0,0,0,8,8.53h48A8,8,0,0,0,224,103.47Zm0-32A8.18,8.18,0,0,0,215.73,64H168.27A8.18,8.18,0,0,0,160,71.47,8,8,0,0,0,168,80h48A8,8,0,0,0,224,71.47Z"></path></svg>';var mc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M247.51,174.39,218,58a16.08,16.08,0,0,0-13-11.88l-36.06-5.92a16.22,16.22,0,0,0-18.26,11.88l-.21.85a4,4,0,0,0,3.27,4.93,155.62,155.62,0,0,1,24.41,5.62,8.2,8.2,0,0,1,5.62,9.7,8,8,0,0,1-10.19,5.64,155.4,155.4,0,0,0-90.8-.1,8.22,8.22,0,0,1-10.28-4.81,8,8,0,0,1,5.08-10.33,156.85,156.85,0,0,1,24.72-5.72,4,4,0,0,0,3.27-4.93l-.21-.85A16.21,16.21,0,0,0,87.08,40.21L51,46.13A16.08,16.08,0,0,0,38,58L8.49,174.39a15.94,15.94,0,0,0,9.06,18.51l67,29.71a16.17,16.17,0,0,0,21.71-9.1l3.49-9.45a4,4,0,0,0-3.27-5.35,158.13,158.13,0,0,1-28.63-6.2,8.2,8.2,0,0,1-5.61-9.67,8,8,0,0,1,10.2-5.66,155.59,155.59,0,0,0,91.12,0,8,8,0,0,1,10.19,5.65,8.19,8.19,0,0,1-5.61,9.68,157.84,157.84,0,0,1-28.62,6.2,4,4,0,0,0-3.27,5.35l3.49,9.45a16.18,16.18,0,0,0,21.71,9.1l67-29.71A15.94,15.94,0,0,0,247.51,174.39ZM92,152a12,12,0,1,1,12-12A12,12,0,0,1,92,152Zm72,0a12,12,0,1,1,12-12A12,12,0,0,1,164,152Z"></path></svg>';var fc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M232,128a104.16,104.16,0,0,1-91.55,103.26,4,4,0,0,1-4.45-4V152h24a8,8,0,0,0,8-8.53,8.17,8.17,0,0,0-8.25-7.47H136V112a16,16,0,0,1,16-16h16a8,8,0,0,0,8-8.53A8.17,8.17,0,0,0,167.73,80H152a32,32,0,0,0-32,32v24H96a8,8,0,0,0-8,8.53A8.17,8.17,0,0,0,96.27,152H120v75.28a4,4,0,0,1-4.44,4A104.15,104.15,0,0,1,24.07,124.09c2-54,45.74-97.9,99.78-100A104.12,104.12,0,0,1,232,128Z"></path></svg>';var Rs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M231.73,221.94A8,8,0,0,1,224,232H160A8,8,0,0,1,152.27,222a40,40,0,0,1,17.11-23.33,32,32,0,1,1,45.24,0A40,40,0,0,1,231.73,221.94ZM232,88v32a8,8,0,0,1-16,0V88H40V200h80.56a8,8,0,0,1,0,16H39.38A15.4,15.4,0,0,1,24,200.62V56A16,16,0,0,1,40,40H92.69A15.86,15.86,0,0,1,104,44.69L131.31,72H216A16,16,0,0,1,232,88ZM108.69,72l-16-16H40V72Z"></path></svg>';var Cc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M227.81,66.76l-.08.09L160,139.17v55.49A16,16,0,0,1,152.87,208l-32,21.34A16,16,0,0,1,96,216V139.17L28.27,66.85l-.08-.09A16,16,0,0,1,40,40H216a16,16,0,0,1,11.84,26.76Z"></path></svg>';var w4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M52.69,99.31a16,16,0,0,1,0-22.63l64-64a16,16,0,0,1,22.63,22.63l-64,64a16,16,0,0,1-22.63,0Zm190.63,17.37a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63h0a16,
216,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.68Zm-35.11-15.8L155.12,47.79a4,4,0,0,0-5.66,0L87.8,109.45a4,4,0,0,0,0,5.66L103,130.34,28.69,204.69a16,16,0,0,0,22.62,22.62L125.66,153l15.23,15.23a4,4,0,0,0,5.66,0l61.66-61.66A4,4,0,0,0,208.21,100.88Z"></path></svg>',Us='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"></path></svg>';var Ns='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M237.94,107.21a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"></path></svg>';var wC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,104v8a56.06,56.06,0,0,1-48.44,55.47A39.8,39.8,0,0,1,176,192v40a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V216H72a40,40,0,0,1-40-40A24,24,0,0,0,8,152a8,8,0,0,1,0-16,40,40,0,0,1,40,40,24,24,0,0,0,24,24H96v-8a39.8,39.8,0,0,1,8.44-24.53A56.06,56.06,0,0,1,56,
2112v-8a58.14,58.14,0,0,1,7.69-28.32A59.78,59.78,0,0,1,69.07,28,8,8,0,0,1,76,24a59.75,59.75,0,0,1,48,24h24a59.75,59.75,0,0,1,48-24,8,8,0,0,1,6.93,4,59.74,59.74,0,0,1,5.37,47.68A58,58,0,0,1,216,104Z"></path></svg>';var u4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"></path></svg>';var xt='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M176,207.24a119,119,0,0,0,16-7.73V240a8,8,0,0,1-16,0Zm11.76-88.43-56-29.87a8,8,0,0,0-7.52,14.12L171,128l17-9.06Zm64-29.87-120-64a8,8,0,0,0-7.52,0l-120,64a8,8,0,0,0,0,14.12L32,117.87v48.42a15.91,15.91,0,0,0,4.06,10.65C49.16,191.53,78.51,216,128,216a130,130,0,0,0,48-8.76V130.67L171,128l-43,22.93L43.83,106l0,0L25,96,128,41.07,231,96l-18.78,10-.06,0L188,118.94a8,8,0,0,1,4,6.93v73.64a115.63,115.63,0,0,0,27.94-22.57A15.91,15.91,0,0,0,224,166.29V117.87l27.76-14.81a8,8,0,0,0,0-14.12Z"></path></svg>';var js='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M254.3,107.91,228.78,56.85a16,16,0,0,0-21.47-7.15L182.44,62.13,130.05,48.27a8.14,8.14,0,0,0-4.1,0L73.56,62.13,48.69,49.7a16,16,0,0,0-21.47,7.15L1.7,107.9a16,16,0,0,0,7.15,21.47l27,13.51,55.49,39.63a8.06,8.06,0,0,0,2.71,1.25l64,16a8,8,0,0,0,7.6-2.1l40-40,15.08-15.08,26.42-13.21a16,16,0,0,0,7.15-21.46Zm-54.89,33.37L165,113.72a8,8,0,0,0-10.68.61C136.51,132.27,116.66,130,104,122L147.24,80h31.81l27.21,54.41Zm-41.87,41.86L99.42,168.61l-49.2-35.14,28-56L128,64.28l9.8,2.59-45,43.68-.08.09a16,16,0,0,0,2.72,24.81c20.56,13.13,45.37,11,64.91-5L188,152.66Zm-25.72,34.8a8,8,0,0,1-7.75,6.06,8.13,8.13,0,0,1-1.95-.24L80.41,213.33a7.89,7.89,0,0,1-2.71-1.25L51.35,193.26a8,8,0,0,1,9.3-13l25.11,17.94L126,208.24A8,8,0,0,1,131.82,217.94Z"></path></svg>';var m4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z"></path></svg>';var Mc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M176,24H80A56.06,56.06,0,0,0,24,80v96a56.06,56.06,0,0,0,56,56h96a56.06,56.06,0,0,0,56-56V80A56.06,56.06,0,0,0,176,24ZM128,176a48,48,0,1,1,48-48A48.05,48.05,0,0,1,128,176Zm60-96a12,12,0,1,1,12-12A12,12,0,0,1,188,80Zm-28,48a32,32,0,1,1-32-32A32,32,0,0,1,160,128Z"></path></svg>';var $8='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-32.11-9.34a57.6,57.6,0,0,0-46.56-46.55,8,8,0,0,0-2.66,15.78c16.57,2.79,30.63,16.85,33.44,33.45A8,8,0,0,0,176,104a9,9,0,0,0,1.35-.11A8,8,0,0,0,183.89,94.66Z"></path></svg>';var Ac='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,24H40A16,16,0,0,0,24,40V216a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V40A16,16,0,0,0,216,24ZM96,176a8,8,0,0,1-16,0V112a8,8,0,0,1,16,0ZM88,96a12,12,0,1,1,12-12A12,12,0,0,1,88,96Zm96,80a8,8,0,0,1-16,0V140a20,20,0,0,0-40,0v36a8,8,0,0,1-16,0V112a8,8,0,0,1,15.79-1.78A36,36,0,0,1,184,140Z"></path></svg>';var $s='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM68,188a12,12,0,1,1,12-12A12,12,0,0,1,68,188Zm0-48a12,12,0,1,1,12-12A12,12,0,0,1,68,140Zm0-48A12,12,0,1,1,80,80,12,12,0,0,1,68,92Zm124,92H104a8,8,0,0,1,0-16h88a8,8,0,0,1,0,16Zm0-48H104a8,8,0,0,1,0-16h88a8,8,0,0,1,0,16Zm0-48H104a8,8,0,0,1,0-16h88a8,8,0,0,1,0,16Z"></path></svg>';var Ws='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"></path></svg>';var Gs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M200,72H160.2c-2.91-.17-53.62-3.74-101.91-44.24A16,16,0,0,0,32,40V200a16,16,0,0,0,26.29,12.25c37.77-31.68,77-40.76,93.71-43.3v31.72A16,16,0,0,0,159.12,214l11,7.33A16,16,0,0,0,194.5,212l11.77-44.36A48,48,0,0,0,200,72ZM179,207.89l0,.11-11-7.33V168h21.6ZM200,152H168V88h32a32,32,0,1,1,0,64Z"></path></svg>';var qs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M235.54,150.21a104.84,104.84,0,0,1-37,52.91A104,104,0,0,1,32,120,103.09,103.09,0,0,1,52.88,57.48a104.84,104.84,0,0,1,52.91-37,8,8,0,0,1,10,10,88.08,88.08,0,0,0,109.8,109.8,8,8,0,0,1,10,10Z"></path></svg>';var F2='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216,48H56A16,16,0,0,0,40,64V184a8,8,0,0,1-16,0V88A8,8,0,0,0,8,88v96.11A24,24,0,0,0,32,208H208a24,24,0,0,0,24-24V64A16,16,0,0,0,216,48ZM176,152H96a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h80a8,8,0,0,1,0,16Z"></path></svg>';var Vt='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M200.77,53.89A103.27,103.27,0,0,0,128,24h-1.07A104,104,0,0,0,24,128c0,43,26.58,79.06,69.36,94.17A32,32,0,0,0,136,192a16,16,0,0,1,16-16h46.21a31.81,31.81,0,0,0,31.2-24.88,104.43,104.43,0,0,0,2.59-24A103.28,103.28,0,0,0,200.77,53.89ZM84,168a12,12,0,1,1,12-12A12,12,0,0,1,84,168Zm0-56a12,12,0,1,1,12-12A12,12,0,0,1,84,112Zm44-24a12,12,0,1,1,12-12A12,12,0,0,1,128,88Zm44,24a12,12,0,1,1,12-12A12,12,0,0,1,172,112Z"></path></svg>';
2var f4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M243.31,81.36,174.63,12.68a16,16,0,0,0-22.63,0L123.56,41.12l-58,21.76A16,16,0,0,0,55.36,75.23L34.59,199.83a4,4,0,0,0,6.77,3.49l57-57a23.85,23.85,0,0,1-2.29-12.08,24,24,0,1,1,13.6,23.4l-57,57a4,4,0,0,0,3.49,6.77l124.61-20.77a16,16,0,0,0,12.35-10.16l21.77-58.07L243.31,104a16,16,0,0,0,0-22.63ZM208,116.68,139.32,48l24-24L232,92.68Z"></path></svg>',uC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M222.33,123.89c-.06-.13-.12-.26-.19-.38L192,69.91V32a16,16,0,0,0-16-16H80A16,16,0,0,0,64,32V69.9L33.86,123.51c-.07.12-.13.25-.2.38a15.94,15.94,0,0,0,1.46,16.57l.11.14,77.61,100.81A4,4,0,0,0,120,239V154.63a24,24,0,1,1,16,0V239a4,4,0,0,0,7.16,2.44l77.6-100.81.11-.14A15.92,15.92,0,0,0,222.33,123.89ZM176,64H80V32h96Z"></path></svg>';var Hc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M240,128.7c-.38,56.49-46.46,102.73-102.94,103.29a104.16,104.16,0,0,1-25.94-3,4,4,0,0,1-2.91-4.86l8.64-34.55A60.57,60.57,0,0,0,144,196c37,0,66.7-33.45,63.81-73.36A72,72,0,1,0,69.24,155,8,8,0,0,0,80,159.29a8.19,8.19,0,0,0,4-10.49,56,56,0,1,1,107.86-24.93C194,154.4,171.73,180,144,180a44.87,44.87,0,0,1-23.14-6.44l14.9-59.62a8,8,0,0,0-15.52-3.88L93.38,217.51a4,4,0,0,1-5.71,2.59A104,104,0,0,1,32,126.88C32.6,70.52,78.67,24.52,135,24A104,104,0,0,1,240,128.7Z"></path></svg>';var Ks='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M235.33,104l-53.47,53.65c4.56,12.67,6.45,33.89-13.19,60A15.93,15.93,0,0,1,157,224c-.38,0-.75,0-1.13,0a16,16,0,0,1-11.32-4.69L96.29,171,53.66,213.66a8,8,0,0,1-11.32-11.32L85,159.71l-48.3-48.3A16,16,0,0,1,38,87.63c25.42-20.51,49.75-16.48,60.4-13.14L152,20.7a16,16,0,0,1,22.63,0l60.69,60.68A16,16,0,0,1,235.33,104Z"></path></svg>';var Qs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,168a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm8-48.72V144a8,8,0,0,1-16,0v-8a8,8,0,0,1,8-8c13.23,0,24-9,24-20s-10.77-20-24-20-24,9-24,20v4a8,8,0,0,1-16,0v-4c0-19.85,17.94-36,40-36s40,16.15,40,36C168,125.38,154.24,139.93,136,143.28Z"></path></svg>';var Ys='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M239.43,133l-32-80A8,8,0,0,0,200,48a8.27,8.27,0,0,0-1.73.21L136,62V40a8,8,0,0,0-16,0V65.58L54.27,80.21A8,8,0,0,0,48.57,85l-32,80a7.92,7.92,0,0,0-.57,3c0,23.31,24.54,32,40,32s40-8.69,40-32a7.92,7.92,0,0,0-.57-3L66.92,93.77,120,82V208H104a8,8,0,0,0,0,16h48a8,8,0,0,0,0-16H136V78.42L187,67.1,160.57,133a7.92,7.92,0,0,0-.57,3c0,23.31,24.54,32,40,32s40-8.69,40-32A7.92,7.92,0,0,0,239.43,133Zm-160,35H32.62L56,109.54Zm97.24-32L200,77.54,223.38,136Z"></path></svg>';var Xs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M225.86,102.82c-3.77-3.94-7.67-8-9.14-11.57-1.36-3.27-1.44-8.69-1.52-13.94-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52-3.56-1.47-7.63-5.37-11.57-9.14C146.28,23.51,138.44,16,128,16s-18.27,7.51-25.18,14.14c-3.94,3.77-8,7.67-11.57,9.14C88,40.64,82.56,40.72,77.31,40.8c-9.76.15-20.82.31-28.51,8S41,67.55,40.8,77.31c-.08,5.25-.16,10.67-1.52,13.94-1.47,3.56-5.37,7.63-9.14,11.57C23.51,109.72,16,117.56,16,128s7.51,18.27,14.14,25.18c3.77,3.94,7.67,8,9.14,11.57,1.36,3.27,1.44,8.69,1.52,13.94.15,9.76.31,20.82,8,28.51s18.75,7.85,28.51,8c5.25.08,10.67.16,13.94,1.52,3.56,1.47,7.63,5.37,11.57,9.14C109.72,232.49,117.56,240,128,240s18.27-7.51,25.18-14.14c3.94-3.77,8-7.67,11.57-9.14,3.27-1.36,8.69-1.44,13.94-1.52,9.76-.15,20.82-.31,28.51-8s7.85-18.75,8-28.51c.08-5.25.16-10.67,1.52-13.94,1.47-3.56,5.37-7.63,9.14-11.57C232.49,146.28,240,138.44,240,128S232.49,109.73,225.86,102.82Zm-52.2,6.84-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"></path></svg>';var Js='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M104,40a8,8,0,0,1,8-8h32a8,8,0,0,1,0,16H112A8,8,0,0,1,104,40Zm40,168H112a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16ZM208,32H184a8,8,0,0,0,0,16h24V72a8,8,0,0,0,16,0V48A16,16,0,0,0,208,32Zm8,72a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V112A8,8,0,0,0,216,104Zm0,72a8,8,0,0,0-8,8v24H184a8,8,0,0,0,0,16h24a16,16,0,0,0,16-16V184A8,8,0,0,0,216,176ZM40,152a8,8,0,0,0,8-8V112a8,8,0,0,0-16,0v32A8,8,0,0,0,40,152Zm32,56H48V184a8,8,0,0,0-16,0v24a16,16,0,0,0,16,16H72a8,8,0,0,0,0-16ZM40,80a8,8,0,0,0,8-8V48H72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,48V72A8,8,0,0,0,40,80Zm144,96V80a8,8,0,0,0-8-8H80a8,8,0,0,0-8,8v96a8,8,0,0,0,8,8h96A8,8,0,0,0,184,176Z"></path></svg>';var ti='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm-34.32,69.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"></path></svg>';var ei='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.27,47,25.53a8,8,0,0,0,4.2,0c1-.26,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm-37,87.43-30.31,12.12L158.4,163.2a8,8,0,1,1-12.8,9.6L128,149.33,110.4,172.8a8,8,0,1,1-12.8-9.6l17.74-23.65L85,127.43A8,8,0,1,1,91,112.57l29,11.61V96a8,8,0,0,1,16,0v28.18l29-11.
261A8,8,0,1,1,171,127.43Z"></path></svg>';var W8='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M230.14,58.87A8,8,0,0,0,224,56H62.68L56.6,22.57A8,8,0,0,0,48.73,16H24a8,8,0,0,0,0,16h18L67.56,172.29a24,24,0,0,0,5.33,11.27,28,28,0,1,0,44.4,8.44h45.42A27.75,27.75,0,0,0,160,204a28,28,0,1,0,28-28H91.17a8,8,0,0,1-7.87-6.57L80.13,152h116a24,24,0,0,0,23.61-19.71l12.16-66.86A8,8,0,0,0,230.14,58.87ZM104,204a12,12,0,1,1-12-12A12,12,0,0,1,104,204Zm96,0a12,12,0,1,1-12-12A12,12,0,0,1,200,204Z"></path></svg>';var ai='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M120,216a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H56V208h56A8,8,0,0,1,120,216Zm109.66-93.66-40-40A8,8,0,0,0,176,88v32H112a8,8,0,0,0,0,16h64v32a8,8,0,0,0,13.66,5.66l40-40A8,8,0,0,0,229.66,122.34Z"></path></svg>';var C4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208,144a15.78,15.78,0,0,1-10.42,14.94L146,178l-19,51.62a15.92,15.92,0,0,1-29.88,0L78,178l-51.62-19a15.92,15.92,0,0,1,0-29.88L78,110l19-51.62a15.92,15.92,0,0,1,29.88,0L146,110l51.62,19A15.78,15.78,0,0,1,208,144ZM152,48h16V64a8,8,0,0,0,16,0V48h16a8,8,0,0,0,0-16H184V16a8,8,0,0,0-16,0V32H152a8,8,0,0,0,0,16Zm88,32h-8V72a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0V96h8a8,8,0,0,0,0-16Z"></path></svg>';var M4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M120,56v48a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40h48A16,16,0,0,1,120,56Zm80-16H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm-96,96H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm96,0H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Z"></path></svg>';var oi='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm8,24a64,64,0,1,0,64,64A64.07,64.07,0,0,0,128,64ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z"></path></svg>';var D2='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M232,64H208V48a8,8,0,0,0-8-8H56a8,8,0,0,0-8,8V64H24A16,16,0,0,0,8,80V96a40,40,0,0,0,40,40h3.65A80.13,80.13,0,0,0,120,191.61V216H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16H136V191.58c31.94-3.23,58.44-25.64,68.08-55.58H208a40,40,0,0,0,40-40V80A16,16,0,0,0,232,64ZM48,120A24,24,0,0,1,24,96V80H48v32q0,4,.39,8ZM232,96a24,24,0,0,1-24,24h-.5a81.81,81.81,0,0,0,.5-8.9V80h24Z"></path></svg>';var mC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M245.66,77.66l-29.9,29.9C209.72,177.58,150.67,232,80,232c-14.52,0-26.49-2.3-35.58-6.84-7.33-3.67-10.33-7.6-11.08-8.72a8,8,0,0,1,3.85-11.93c.26-.1,24.24-9.31,39.47-26.84a110.93,110.93,0,0,1-21.88-24.2c-12.4-18.41-26.28-50.39-22-98.18a8,8,0,0,1,13.65-4.92c.35.35,33.28,33.1,73.54,43.72V88a47.87,47.87,0,0,1,14.36-34.3A46.87,46.87,0,0,1,168.1,40a48.66,48.66,0,0,1,41.47,24H240a8,8,0,0,1,5.66,13.66Z"></path></svg>';var A4='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M172,120a44,44,0,1,1-44-44A44.05,44.05,0,0,1,172,120Zm60,8A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88.09,88.09,0,0,0-91.47-87.93C77.43,41.89,39.87,81.12,40,128.25a87.65,87.65,0,0,0,22.24,58.16A79.71,79.71,0,0,1,84,165.1a4,4,0,0,1,4.83.32,59.83,59.83,0,0,0,78.28,0,4,4,0,0,1,4.83-.32,79.71,79.71,0,0,1,21.79,21.31A87.62,87.62,0,0,0,216,128Z"></path></svg>';var ri='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M230.93,220a8,8,0,0,1-6.93,4H32a8,8,0,0,1-6.92-12c15.23-26.33,38.7-45.21,66.09-54.16a72,72,0,1,1,73.66,0c27.39,8.95,50.86,27.83,66.09,54.16A8,8,0,0,1,230.93,220Z"></path></svg>';var ni='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M64.12,147.8a4,4,0,0,1-4,4.2H16a8,8,0,0,1-7.8-6.17,8.35,8.35,0,0,1,1.62-6.93A67.79,67.79,0,0,1,37,117.51a40,40,0,1,1,66.46-35.8,3.94,3.94,0,0,1-2.27,4.18A64.08,64.08,0,0,0,64,144C64,145.28,64,146.54,64.12,147.8Zm182-8.91A67.76,67.76,0,0,0,219,117.51a40,40,0,1,0-66.46-35.8,3.94,3.94,0,0,0,2.27,4.18A64.08,64.08,0,0,1,192,144c0,1.28,0,2.54-.12,3.8a4,4,0,0,0,4,4.2H240a8,8,0,0,0,7.8-6.17A8.33,8.33,0,0,0,246.17,138.89Zm-89,43.18a48,48,0,1,0-58.37,0A72.13,72.13,0,0,0,65.07,212,8,8,0,0,0,72,224H184a8,8,0,0,0,6.93-12A72.15,72.15,0,0,0,157.19,182.07Z"></path></svg>';var si='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor">
2<path d="M216,64H56a8,8,0,0,1,0-16H192a8,8,0,0,0,0-16H56A24,24,0,0,0,32,56V184a24,24,0,0,0,24,24H216a16,16,0,0,0,16-16V80A16,16,0,0,0,216,64Zm-36,80a12,12,0,1,1,12-12A12,12,0,0,1,180,144Z"></path></svg>';var xc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M215,219.85a8,8,0,0,1-7,4.15H160a8,8,0,0,1-6.75-3.71l-40.49-63.63L53.92,221.38a8,8,0,0,1-11.84-10.76l61.77-68L41.25,44.3A8,8,0,0,1,48,32H96a8,8,0,0,1,6.75,3.71l40.49,63.63,58.84-64.72a8,8,0,0,1,11.84,10.76l-61.77,67.95,62.6,98.38A8,8,0,0,1,215,219.85Z"></path></svg>';var Vc='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M234.33,69.52a24,24,0,0,0-14.49-16.4C185.56,39.88,131,40,128,40s-57.56-.12-91.84,13.12a24,24,0,0,0-14.49,16.4C19.08,79.5,16,97.74,16,128s3.08,48.5,5.67,58.48a24,24,0,0,0,14.49,16.41C69,215.56,120.4,216,127.34,216h1.32c6.94,0,58.37-.44,91.18-13.11a24,24,0,0,0,14.49-16.41c2.59-10,5.67-28.22,5.67-58.48S236.92,79.5,234.33,69.52Zm-73.74,65-40,28A8,8,0,0,1,108,156V100a8,8,0,0,1,12.59-6.55l40,28a8,8,0,0,1,0,13.1Z"></path></svg>';var ui=(()=>{class a{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,e){this._renderer=t,this._elementRef=e}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(e){return new(e||a)(Q(Q0),Q(g0))};static \u0275dir=h0({type:a})}return a})(),Zc=(()=>{class a extends ui{static \u0275fac=(()=>{let t;return function(o){return(t||(t=l1(a)))(o||a)}})();static \u0275dir=h0({type:a,features:[Y0]})}return a})(),zt=new W("");var bc={provide:zt,useExisting:i1(()=>ae),multi:!0};function Lc(){let a=L1()?L1().getUserAgent():"";return/android (\d+)/.test(a.toLowerCase())}var _c=new W(""),ae=(()=>{class a extends ui{_compositionMode;_composing=!1;constructor(t,e,o){super(t,e),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!Lc())}writeValue(t){let e=t??"";this.setProperty("value",e)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(e){return new(e||a)(Q(Q0),Q(g0),Q(_c,8))};static \u0275dir=h0({type:a,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,o){e&1&&V("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[o0([bc]),Y0]})}return a})();function _4(a){return a==null||B4(a)===0}function B4(a){return a==null?null:Array.isArray(a)||typeof a=="string"?a.length:a instanceof Set?a.size:null}var yt=new W(""),z4=new W(""),Bc=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ii=class{static min(r){return zc(r)}static max(r){return yc(r)}static required(r){return mi(r)}static requiredTrue(r){return Sc(r)}static email(r){return kc(r)}static minLength(r){return Pc(r)}static maxLength(r){return fi(r)}static pattern(r){return Oc(r)}static nullValidator(r){return q8()}static compose(r){return Vi(r)}static composeAsync(r){return bi(r)}};function zc(a){return r=>{if(r.value==null||a==null)return null;let t=parseFloat(r.value);return!isNaN(t)&&t<a?{min:{min:a,actual:r.value}}:null}}function yc(a){return r=>{if(r.value==null||a==null)return null;let t=parseFloat(r.value);return!isNaN(t)&&t>a?{max:{max:a,actual:r.value}}:null}}function mi(a){return _4(a.value)?{required:!0}:null}function Sc(a){return a.value===!0?null:{required:!0}}function kc(a){return _4(a.value)||Bc.test(a.value)?null:{email:!0}}function Pc(a){return r=>{let t=r.value?.length??B4(r.value);return t===null||t===0?null:t<a?{minlength:{requiredLength:a,actualLength:t}}:null}}function fi(a){return r=>{let t=r.value?.length??B4(r.value);return t!==null&&t>a?{maxlength:{requiredLength:a,actualLength:t}}:null}}function Oc(a){if(!a)return q8;let r,t;
vendor: 14,423 bytes, line 2
2return typeof a=="string"?(t="",a.charAt(0)!=="^"&&(t+="^"),t+=a,a.charAt(a.length-1)!=="$"&&(t+="$"),r=new RegExp(t)):(t=a.toString(),r=a),e=>{if(_4(e.value))return null;let o=e.value;return r.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}function q8(a){return null}function Ci(a){return a!=null}function Mi(a){return Xt(a)?f0(a):a}function Ai(a){let r={};return a.forEach(t=>{r=t!=null?H(H({},r),t):r}),Object.keys(r).length===0?null:r}function Hi(a,r){return r.map(t=>t(a))}function Tc(a){return!a.validate}function xi(a){return a.map(r=>Tc(r)?r:t=>r.validate(t))}function Vi(a){if(!a)return null;let r=a.filter(Ci);return r.length==0?null:function(t){return Ai(Hi(t,r))}}function Zi(a){return a!=null?Vi(xi(a)):null}function bi(a){if(!a)return null;let r=a.filter(Ci);return r.length==0?null:function(t){let e=Hi(t,r).map(Mi);return ua(e).pipe(T(Ai))}}function Li(a){return a!=null?bi(xi(a)):null}function li(a,r){return a===null?[r]:Array.isArray(a)?[...a,r]:[a,r]}function _i(a){return a._rawValidators}function Bi(a){return a._rawAsyncValidators}function H4(a){return a?Array.isArray(a)?a:[a]:[]}function K8(a,r){return Array.isArray(a)?a.includes(r):a===r}function hi(a,r){let t=H4(r);return H4(a).forEach(o=>{K8(t,o)||t.push(o)}),t}function ci(a,r){return H4(r).filter(t=>!K8(a,t))}var Q8=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(r){this._rawValidators=r||[],this._composedValidatorFn=Zi(this._rawValidators)}_setAsyncValidators(r){this._rawAsyncValidators=r||[],this._composedAsyncValidatorFn=Li(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(r){this._onDestroyCallbacks.push(r)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(r=>r()),this._onDestroyCallbacks=[]}reset(r=void 0){this.control&&this.control.reset(r)}hasError(r,t){return this.control?this.control.hasError(r,t):!1}getError(r,t){return this.control?this.control.getError(r,t):null}},i2=class extends Q8{name;get formDirective(){return null}get path(){return null}},l2=class extends Q8{_parent=null;name=null;valueAccessor=null},Y8=class{_cd;constructor(r){this._cd=r}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Ic={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},PC=R(H({},Ic),{"[class.ng-submitted]":"isSubmitted"}),zi=(()=>{class a extends Y8{constructor(t){super(t)}static \u0275fac=function(e){return new(e||a)(Q(l2,2))};static \u0275dir=h0({type:a,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,o){e&2&&P("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[Y0]})}return a})(),OC=(()=>{class a extends Y8{constructor(t){super(t)}static \u0275fac=function(e){return new(e||a)(Q(i2,10))};static \u0275dir=h0({type:a,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,o){e&2&&P("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[Y0]})}return a})();var Zt="VALID",G8="INVALID",E2="PENDING",bt="DISABLED",D1=class{},X8=class extends D1{value;source;constructor(r,t){super(),this.value=r,this.source=t}},Lt=class extends D1{pristine;source;constructor(r,t){super(),this.pristine=r,this.source=t}},_t=class extends D1{touched;source;constructor(r,t){super(),this.touched=r,this.source=t}},R2=class extends D1{status;source;constructor(r,t){super(),this.status=r,this.source=t}},x4=class extends D1{source;constructor(r){super(),this.source=r}},V4=class extends D1{source;constructor(r){super(),this.source=r}};function y4(a){return(oe(a)?a.validators:a)||null}function Fc(a){return Array.isArray(a)?Zi(a):a||null}function S4(a,r){return(oe(r)?r.asyncValidators:a)||null}function Dc(a){return Array.isArray(a)?Li(a):a||null}function oe(a){return a!=null&&!Array.isArray(a)&&typeof a=="object"}function yi(a,r,t){let e=a.controls;if(!(r?Object.keys(e):e).length)throw new q(1e3,"");if(!e[t])throw new q(1001,"")}function Si(a,r,t){a._forEachChild((e,o)=>{if(t[o]===void 0)throw new q(1002,"")})}var U2=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(r,t){this._assignValidators(r),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(r){this._rawValidators=this._composedValidatorFn=r}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(r){this._rawAsyncValidators=this._composedAsyncValidatorFn=r}get parent(){return this._parent}get status(){return j0(this.statusReactive)}set status(r){j0(()=>this.statusReactive.set(r))}_status=v0(()=>this.statusReactive());statusReactive=I(void 0);get valid(){return this.status===Zt}get invalid(){return this.status===G8}get pending(){return this.status==E2}get disabled(){return this.status===bt}get enabled(){return this.status!==bt}errors;get pristine(){return j0(this.pristineReactive)}set pristine(r){j0(()=>this.pristineReactive.set(r))}_pristine=v0(()=>this.pristineReactive());pristineReactive=I(!0);get dirty(){return!this.pristine}get touched(){return j0(this.touchedReactive)}set touched(r){j0(()=>this.touchedReactive.set(r))}_touched=v0(()=>this.touchedReactive());touchedReactive=I(!1);get untouched(){return!this.touched}_events=new a0;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(r){this._assignValidators(r)}setAsyncValidators(r){this._assignAsyncValidators(r)}addValidators(r){this.setValidators(hi(r,this._rawValidators))}addAsyncValidators(r){this.setAsyncValidators(hi(r,this._rawAsyncValidators))}removeValidators(r){this.setValidators(ci(r,this._rawValidators))}removeAsyncValidators(r){this.setAsyncValidators(ci(r,this._rawAsyncValidators))}hasValidator(r){return K8(this._rawValidators,r)}hasAsyncValidator(r){return K8(this._rawAsyncValidators,r)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(r={}){let t=this.touched===!1;this.touched=!0;let e=r.sourceControl??this;this._parent&&!r.onlySelf&&this._parent.markAsTouched(R(H({},r),{sourceControl:e})),t&&r.emitEvent!==!1&&this._events.next(new _t(!0,e))}markAllAsDirty(r={}){this.markAsDirty({onlySelf:!0,emitEvent:r.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(r))}markAllAsTouched(r={}){this.markAsTouched({onlySelf:!0,emitEvent:r.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(r))}markAsUntouched(r={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let e=r.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:r.emitEvent,sourceControl:e})}),this._parent&&!r.onlySelf&&this._parent._updateTouched(r,e),t&&r.emitEvent!==!1&&this._events.next(new _t(!1,e))}markAsDirty(r={}){let t=this.pristine===!0;this.pristine=!1;let e=r.sourceControl??this;this._parent&&!r.onlySelf&&this._parent.markAsDirty(R(H({},r),{sourceControl:e})),t&&r.emitEvent!==!1&&this._events.next(new Lt(!1,e))}markAsPristine(r={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let e=r.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:r.emitEvent})}),this._parent&&!r.onlySelf&&this._parent._updatePristine(r,e),t&&r.emitEvent!==!1&&this._events.next(new Lt(!0,e))}markAsPending(r={}){this.status=E2;let t=r.sourceControl??this;r.emitEvent!==!1&&(this._events.next(new R2(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!r.onlySelf&&this._parent.markAsPending(R(H({},r),{sourceControl:t}))}disable(r={}){let t=this._parentMarkedDirty(r.onlySelf);this.status=bt,this.errors=null,this._forEachChild(o=>{o.disable(R(H({},r),{onlySelf:!0}))}),this._updateValue();let e=r.sourceControl??this;r.emitEvent!==!1&&(this._events.next(new X8(this.value,e)),this._events.next(new R2(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(R(H({},r),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(r={}){let t=this._parentMarkedDirty(r.onlySelf);this.status=Zt,this._forEachChild(e=>{e.enable(R(H({},r),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:r.emitEvent}),this._updateAncestors(R(H({},r),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(r,t){this._parent&&!r.onlySelf&&(this._parent.updateValueAndValidity(r),r.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(r){this._parent=r}getRawValue(){return this.value}updateValueAndValidity(r={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let e=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Zt||this.status===E2)&&this._runAsyncValidator(e,r.emitEvent)}let t=r.sourceControl??this;r.emitEvent!==!1&&(this._events.next(new X8(this.value,t)),this._events.next(new R2(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!r.onlySelf&&this._parent.updateValueAndValidity(R(H({},r),{sourceControl:t}))}_updateTreeValidity(r={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(r)),this.updateValueAndValidity({onlySelf:!0,emitEvent:r.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?bt:Zt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(r,t){if(this.asyncValidator){this.status=E2,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:r!==!1};let e=Mi(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:t,shouldHaveEmitted:r})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let r=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,r}return!1}setErrors(r,t={}){this.errors=r,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(r){let t=r;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((e,o)=>e&&e._find(o),this)}getError(r,t){let e=t?this.get(t):this;return e&&e.errors?e.errors[r]:null}hasError(r,t){return!!this.getError(r,t)}get root(){let r=this;for(;r._parent;)r=r._parent;return r}_updateControlsErrors(r,t,e){this.status=this._calculateStatus(),r&&this.statusChanges.emit(this.status),(r||e)&&this._events.next(new R2(this.status,t)),this._parent&&this._parent._updateControlsErrors(r,t,e)}_initObservables(){this.valueChanges=new B,this.statusChanges=new B}_calculateStatus(){return this._allControlsDisabled()?bt:this.errors?G8:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(E2)?E2:this._anyControlsHaveStatus(G8)?G8:Zt}_anyControlsHaveStatus(r){return this._anyControls(t=>t.status===r)}_anyControlsDirty(){return this._anyControls(r=>r.dirty)}_anyControlsTouched(){return this._anyControls(r=>r.touched)}_updatePristine(r,t){let e=!this._anyControlsDirty(),o=this.pristine!==e;this.pristine=e,this._parent&&!r.onlySelf&&this._parent._updatePristine(r,t),o&&this._events.next(new Lt(this.pristine,t))}_updateTouched(r={},t){this.touched=this._anyControlsTouched(),this._events.next(new _t(this.touched,t)),this._parent&&!r.onlySelf&&this._parent._updateTouched(r,t)}_onDisabledChange=[];_registerOnCollectionChange(r){this._onCollectionChange=r}_setUpdateStrategy(r){oe(r)&&r.updateOn!=null&&(this._updateOn=r.updateOn)}_parentMarkedDirty(r){let t=this._parent&&this._parent.dirty;return!r&&!!t&&!this._parent._anyControlsDirty()}_find(r){return null}_assignValidators(r){this._rawValidators=Array.isArray(r)?r.slice():r,this._composedValidatorFn=Fc(this._rawValidators)}_assignAsyncValidators(r){this._rawAsyncValidators=Array.isArray(r)?r.slice():r,this._composedAsyncValidatorFn=Dc(this._rawAsyncValidators)}},J8=class extends U2{constructor(r,t,e){super(y4(t),S4(e,t)),this.controls=r,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}
2controls;registerControl(r,t){return this.controls[r]?this.controls[r]:(this.controls[r]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(r,t,e={}){this.registerControl(r,t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}removeControl(r,t={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),delete this.controls[r],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(r,t,e={}){this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),delete this.controls[r],t&&this.registerControl(r,t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}contains(r){return this.controls.hasOwnProperty(r)&&this.controls[r].enabled}setValue(r,t={}){Si(this,!0,r),Object.keys(r).forEach(e=>{yi(this,!0,e),this.controls[e].setValue(r[e],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(r,t={}){r!=null&&(Object.keys(r).forEach(e=>{let o=this.controls[e];o&&o.patchValue(r[e],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(r={},t={}){this._forEachChild((e,o)=>{e.reset(r?r[o]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(r,t,e)=>(r[e]=t.getRawValue(),r))}_syncPendingControls(){let r=this._reduceChildren(!1,(t,e)=>e._syncPendingControls()?!0:t);return r&&this.updateValueAndValidity({onlySelf:!0}),r}_forEachChild(r){Object.keys(this.controls).forEach(t=>{let e=this.controls[t];e&&r(e,t)})}_setUpControls(){this._forEachChild(r=>{r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(r){for(let[t,e]of Object.entries(this.controls))if(this.contains(t)&&r(e))return!0;return!1}_reduceValue(){let r={};return this._reduceChildren(r,(t,e,o)=>((e.enabled||this.disabled)&&(t[o]=e.value),t))}_reduceChildren(r,t){let e=r;return this._forEachChild((o,n)=>{e=t(e,o,n)}),e}_allControlsDisabled(){for(let r of Object.keys(this.controls))if(this.controls[r].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(r){return this.controls.hasOwnProperty(r)?this.controls[r]:null}};var Z4=class extends J8{};var re=new W("",{providedIn:"root",factory:()=>ne}),ne="always";function ki(a,r){return[...r.path,a]}function b4(a,r,t=ne){k4(a,r),r.valueAccessor.writeValue(a.value),(a.disabled||t==="always")&&r.valueAccessor.setDisabledState?.(a.disabled),Rc(a,r),Nc(a,r),Uc(a,r),Ec(a,r)}function vi(a,r,t=!0){let e=()=>{};r.valueAccessor&&(r.valueAccessor.registerOnChange(e),r.valueAccessor.registerOnTouched(e)),ee(a,r),a&&(r._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(()=>{}))}function te(a,r){a.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(r)})}function Ec(a,r){if(r.valueAccessor.setDisabledState){let t=e=>{r.valueAccessor.setDisabledState(e)};a.registerOnDisabledChange(t),r._registerOnDestroy(()=>{a._unregisterOnDisabledChange(t)})}}function k4(a,r){let t=_i(a);r.validator!==null?a.setValidators(li(t,r.validator)):typeof t=="function"&&a.setValidators([t]);let e=Bi(a);r.asyncValidator!==null?a.setAsyncValidators(li(e,r.asyncValidator)):typeof e=="function"&&a.setAsyncValidators([e]);let o=()=>a.updateValueAndValidity();te(r._rawValidators,o),te(r._rawAsyncValidators,o)}function ee(a,r){let t=!1;if(a!==null){if(r.validator!==null){let o=_i(a);if(Array.isArray(o)&&o.length>0){let n=o.filter(s=>s!==r.validator);n.length!==o.length&&(t=!0,a.setValidators(n))}}if(r.asyncValidator!==null){let o=Bi(a);if(Array.isArray(o)&&o.length>0){let n=o.filter(s=>s!==r.asyncValidator);n.length!==o.length&&(t=!0,a.setAsyncValidators(n))}}}let e=()=>{};return te(r._rawValidators,e),te(r._rawAsyncValidators,e),t}function Rc(a,r){r.valueAccessor.registerOnChange(t=>{a._pendingValue=t,a._pendingChange=!0,a._pendingDirty=!0,a.updateOn==="change"&&Pi(a,r)})}function Uc(a,r){r.valueAccessor.registerOnTouched(()=>{a._pendingTouched=!0,a.updateOn==="blur"&&a._pendingChange&&Pi(a,r),a.updateOn!=="submit"&&a.markAsTouched()})}function Pi(a,r){a._pendingDirty&&a.markAsDirty(),a.setValue(a._pendingValue,{emitModelToViewChange:!1}),r.viewToModelUpdate(a._pendingValue),a._pendingChange=!1}function Nc(a,r){let t=(e,o)=>{r.valueAccessor.writeValue(e),o&&r.viewToModelUpdate(e)};a.registerOnChange(t),r._registerOnDestroy(()=>{a._unregisterOnChange(t)}
vendor: 5,507 bytes, line 2
2)}function jc(a,r){a==null,k4(a,r)}function $c(a,r){return ee(a,r)}function Oi(a,r){if(!a.hasOwnProperty("model"))return!1;let t=a.model;return t.isFirstChange()?!0:!Object.is(r,t.currentValue)}function Wc(a){return Object.getPrototypeOf(a.constructor)===Zc}function Gc(a,r){a._syncPendingControls(),r.forEach(t=>{let e=t.control;e.updateOn==="submit"&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function Ti(a,r){if(!r)return null;Array.isArray(r);let t,e,o;return r.forEach(n=>{n.constructor===ae?t=n:Wc(n)?e=n:o=n}),o||e||t||null}function qc(a,r){let t=a.indexOf(r);t>-1&&a.splice(t,1)}function pi(a,r){let t=a.indexOf(r);t>-1&&a.splice(t,1)}function gi(a){return typeof a=="object"&&a!==null&&Object.keys(a).length===2&&"value"in a&&"disabled"in a}var Bt=class extends U2{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(r=null,t,e){super(y4(t),S4(e,t)),this._applyFormState(r),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),oe(t)&&(t.nonNullable||t.initialValueIsDefault)&&(gi(r)?this.defaultValue=r.value:this.defaultValue=r)}setValue(r,t={}){this.value=this._pendingValue=r,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(e=>e(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(r,t={}){this.setValue(r,t)}reset(r=this.defaultValue,t={}){this._applyFormState(r),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(r){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(r){this._onChange.push(r)}_unregisterOnChange(r){pi(this._onChange,r)}registerOnDisabledChange(r){this._onDisabledChange.push(r)}_unregisterOnDisabledChange(r){pi(this._onDisabledChange,r)}_forEachChild(r){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(r){gi(r)?(this.value=this._pendingValue=r.value,r.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=r}};var Kc=a=>a instanceof Bt;var Qc={provide:l2,useExisting:i1(()=>P4)},di=Promise.resolve(),P4=(()=>{class a extends l2{_changeDetectorRef;callSetDisabledState;control=new Bt;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new B;constructor(t,e,o,n,s,i){super(),this._changeDetectorRef=s,this.callSetDisabledState=i,this._parent=t,this._setValidators(e),this._setAsyncValidators(o),this.valueAccessor=Ti(this,n)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let e=t.name.previousValue;this.formDirective.removeControl({name:e,path:this._getPath(e)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Oi(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){b4(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){di.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let e=t.isDisabled.currentValue,o=e!==0&&b1(e);di.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?ki(t,this._parent):[t]}static \u0275fac=function(e){return new(e||a)(Q(i2,9),Q(yt,10),Q(z4,10),Q(zt,10),Q(b0,8),Q(re,8))};static \u0275dir=h0({type:a,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[o0([Qc]),Y0,M0]})}return a})();var IC=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275dir=h0({type:a,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return a})();var Ii=new W("");var Yc={provide:i2,useExisting:i1(()=>Xc)},Xc=(()=>{class a extends i2{callSetDisabledState;get submitted(){return j0(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=v0(()=>this._submittedReactive());_submittedReactive=I(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new B;constructor(t,e,o){super(),this.callSetDisabledState=o,this._setValidators(t),this._setAsyncValidators(e)}
2ngOnChanges(t){t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ee(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let e=this.form.get(t.path);return b4(e,t,this.callSetDisabledState),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){vi(t.control||null,t,!1),qc(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this._submittedReactive.set(!0),Gc(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new x4(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0,e={}){this.form.reset(t,e),this._submittedReactive.set(!1),e?.emitEvent!==!1&&this.form._events.next(new V4(this.form))}_updateDomValue(){this.directives.forEach(t=>{let e=t.control,o=this.form.get(t.path);e!==o&&(vi(e||null,t),Kc(o)&&(b4(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let e=this.form.get(t.path);jc(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let e=this.form.get(t.path);e&&$c(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){k4(this.form,this),this._oldForm&&ee(this._oldForm,this)}static \u0275fac=function(e){return new(e||a)(Q(yt,10),Q(z4,10),Q(re,8))};static \u0275dir=h0({type:a,selectors:[["","formGroup",""]],hostBindings:function(e,o){e&1&&V("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[o0([Yc]),Y0,M0]})}return a})();var Jc={provide:l2,useExisting:i1(()=>t7)},t7=(()=>{class a extends l2{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(t){}model;update=new B;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,e,o,n,s){super(),this._ngModelWarningConfig=s,this._parent=t,this._setValidators(e),this._setAsyncValidators(o),this.valueAccessor=Ti(this,n)}ngOnChanges(t){this._added||this._setUpControl(),Oi(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return ki(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(e){return new(e||a)(Q(i2,13),Q(yt,10),Q(z4,10),Q(zt,10),Q(Ii,8))};static \u0275dir=h0({type:a,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[o0([Jc]),Y0,M0]})}return a})();function e7(a){return typeof a=="number"?a:parseInt(a,10)}var Fi=(()=>{class a{_validator=q8;_onChange;_enabled;ngOnChanges(t){if(this.inputName in t){let e=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(e),this._validator=this._enabled?this.createValidator(e):q8,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static \u0275fac=function(e){return new(e||a)};static \u0275dir=h0({type:a,features:[M0]})}return a})();var a7={provide:yt,useExisting:i1(()=>O4),multi:!0};var O4=(()=>{class a extends Fi{required;inputName="required";normalizeInput=b1;createValidator=t=>mi;enabled(t){return t}static \u0275fac=(()=>{let t;return function(o){return(t||(t=l1(a)))(o||a)}})();static \u0275dir=h0({type:a,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,o){e&2&&F("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[o0([a7]),Y0]})}return a})();var o7={provide:yt,useExisting:i1(()=>Di),multi:!0},Di=(()=>{class a extends Fi{maxlength;inputName="maxlength";normalizeInput=t=>e7(t);createValidator=t=>fi(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=l1(a)))(o||a)}})();static \u0275dir=h0({type:a,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,o){e&2&&F("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[o0([o7]),Y0]})}return a})();var Ei=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275mod=U0({type:a});static \u0275inj=R0({})}return a})(),L4=class extends U2{constructor(r,t,e){super(y4(t),S4(e,t)),this.controls=r,this._initOb
2servables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(r){return this.controls[this._adjustIndex(r)]}push(r,t={}){this.controls.push(r),this._registerControl(r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(r,t,e={}){this.controls.splice(r,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent})}removeAt(r,t={}){let e=this._adjustIndex(r);e<0&&(e=0),this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(r,t,e={}){let o=this._adjustIndex(r);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),t&&(this.controls.splice(o,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(r,t={}){Si(this,!1,r),r.forEach((e,o)=>{yi(this,!1,o),this.at(o).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(r,t={}){r!=null&&(r.forEach((e,o)=>{this.at(o)&&this.at(o).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(r=[],t={}){this._forEachChild((e,o)=>{e.reset(r[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(r=>r.getRawValue())}clear(r={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:r.emitEvent}))}_adjustIndex(r){return r<0?r+this.length:r}_syncPendingControls(){let r=this.controls.reduce((t,e)=>e._syncPendingControls()?!0:t,!1);return r&&this.updateValueAndValidity({onlySelf:!0}),r}_forEachChild(r){this.controls.forEach((t,e)=>{r(t,e)})}_updateValue(){this.value=this.controls.filter(r=>r.enabled||this.disabled).map(r=>r.value)}_anyControls(r){return this.controls.some(t=>t.enabled&&r(t))}_setUpControls(){this._forEachChild(r=>this._registerControl(r))}_allControlsDisabled(){for(let r of this.controls)if(r.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(r){r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange)}_find(r){return this.at(r)??null}};function wi(a){return!!a&&(a.asyncValidators!==void 0||a.validators!==void 0||a.updateOn!==void 0)}var FC=(()=>{class a{useNonNullable=!1;get nonNullable(){let t=new a;return t.useNonNullable=!0,t}group(t,e=null){let o=this._reduceControls(t),n={};return wi(e)?n=e:e!==null&&(n.validators=e.validator,n.asyncValidators=e.asyncValidator),new J8(o,n)}record(t,e=null){let o=this._reduceControls(t);return new Z4(o,e)}control(t,e,o){let n={};return this.useNonNullable?(wi(e)?n=e:(n.validators=e,n.asyncValidators=o),new Bt(t,R(H({},n),{nonNullable:!0}))):new Bt(t,e,o)}array(t,e,o){let n=t.map(s=>this._createControl(s));return new L4(n,e,o)}_reduceControls(t){let e={};return Object.keys(t).forEach(o=>{e[o]=this._createControl(t[o])}),e}_createControl(t){if(t instanceof Bt)return t;if(t instanceof U2)return t;if(Array.isArray(t)){let e=t[0],o=t.length>1?t[1]:null,n=t.length>2?t[2]:null;return this.control(e,o,n)}else return this.control(t)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Ri=(()=>{class a{static withConfig(t){return{ngModule:a,providers:[{provide:re,useValue:t.callSetDisabledState??ne}]}}static \u0275fac=function(e){return new(e||a)};static \u0275mod=U0({type:a});static \u0275inj=R0({imports:[Ei]})}return a})(),DC=(()=>{class a{static withConfig(t){return{ngModule:a,providers:[{provide:Ii,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:re,useValue:t.callSetDisabledState??ne}]}}static \u0275fac=function(e){return new(e||a)};static \u0275mod=U0({type:a});static \u0275inj=R0({imports:[Ei]})}return a})();var St=class{_attachedHost;attach(r){return this._attachedHost=r,r.attach(this)}detach(){let r=this._attachedHost;r!=null&&(this._attachedHost=null,r.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(r){this._attachedHost=r}},T4=class extends St{component;viewContainerRef;injector;projectableNodes;constructor(r,t,e,o){super(),this.component=r,this.viewContainerRef
2=t,this.injector=e,this.projectableNodes=o}},se=class extends St{templateRef;viewContainerRef;context;injector;constructor(r,t,e,o){super(),this.templateRef=r,this.viewContainerRef=t,this.context=e,this.injector=o}get origin(){return this.templateRef.elementRef}attach(r,t=this.context){return this.context=t,super.attach(r)}detach(){return this.context=void 0,super.detach()}},I4=class extends St{element;constructor(r){super(),this.element=r instanceof g0?r.nativeElement:r}},F4=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(r){if(r instanceof T4)return this._attachedPortal=r,this.attachComponentPortal(r);if(r instanceof se)return this._attachedPortal=r,this.attachTemplatePortal(r);if(this.attachDomPortal&&r instanceof I4)return this._attachedPortal=r,this.attachDomPortal(r)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(r){this._disposeFn=r}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},ie=class extends F4{outletElement;_appRef;_defaultInjector;constructor(r,t,e){super(),this.outletElement=r,this._appRef=t,this._defaultInjector=e}attachComponentPortal(r){let t;if(r.viewContainerRef){let e=r.injector||r.viewContainerRef.injector,o=e.get(Ia,null,{optional:!0})||void 0;t=r.viewContainerRef.createComponent(r.component,{index:r.viewContainerRef.length,injector:e,ngModuleRef:o,projectableNodes:r.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else{let e=this._appRef,o=r.injector||this._defaultInjector||d0.NULL,n=o.get(B0,e.injector);t=f2(r.component,{elementInjector:o,environmentInjector:n,projectableNodes:r.projectableNodes||void 0}),e.attachView(t.hostView),this.setDisposeFn(()=>{e.viewCount>0&&e.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=r,t}attachTemplatePortal(r){let t=r.viewContainerRef,e=t.createEmbeddedView(r.templateRef,r.context,{injector:r.injector});return e.rootNodes.forEach(o=>this.outletElement.appendChild(o)),e.detectChanges(),this.setDisposeFn(()=>{let o=t.indexOf(e);o!==-1&&t.remove(o)}),this._attachedPortal=r,e}attachDomPortal=r=>{let t=r.element;t.parentNode;let e=this.outletElement.ownerDocument.createComment("dom-portal");t.parentNode.insertBefore(e,t),this.outletElement.appendChild(t),this._attachedPortal=r,super.setDisposeFn(()=>{e.parentNode&&e.parentNode.replaceChild(t,e)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(r){return r.hostView.rootNodes[0]}};function GC(){let a=typeof document<"u"&&document?document.activeElement:null;for(;a&&a.shadowRoot;){let r=a.shadowRoot.activeElement;if(r===a)break;a=r}return a}function D4(a){return a.composedPath?a.composedPath()[0]:a.target}var E4;try{E4=typeof Intl<"u"&&Intl.v8BreakIterator}catch{E4=!1}var h2=(()=>{class a{_platformId=v(N);isBrowser=this._platformId?L(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||E4)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function Ni(a){return a instanceof g0?a.nativeElement:a}var le=new WeakMap,R4=(()=>{class a{_appRef;_injector=v(d0);_environmentInjector=v(B0);load(t){let e=this._appRef=this._appRef||this._injector.get(X0),o=le.get(e);o||(o={loaders:new Set,refs:[]},le.set(e,o),e.onDestroy(()=>
vendor: 38,642 bytes, lines 2-3
2{le.get(e)?.refs.forEach(n=>n.destroy()),le.delete(e)})),o.loaders.has(t)||(o.loaders.add(t),o.refs.push(f2(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function U4(a){return Array.isArray(a)?a:[a]}function N4(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function m0(a){return a==null?"":typeof a=="string"?a:`${a}px`}var n7=new W("cdk-dir-doc",{providedIn:"root",factory:s7});function s7(){return v(G)}var i7=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function l7(a){let r=a?.toLowerCase()||"";return r==="auto"&&typeof navigator<"u"&&navigator?.language?i7.test(navigator.language)?"rtl":"ltr":r==="rtl"?"rtl":"ltr"}var ji=(()=>{class a{get value(){return this.valueSignal()}valueSignal=I("ltr");change=new B;constructor(){let t=v(n7,{optional:!0});if(t){let e=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.valueSignal.set(l7(e||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var c2;function $i(){if(c2==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return c2=!1,c2;if("scrollBehavior"in document.documentElement.style)c2=!0;else{let a=Element.prototype.scrollTo;a?c2=!/\{\s*\[native code\]\s*\}/.test(a.toString()):c2=!1}}return c2}var vM=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275mod=U0({type:a});static \u0275inj=R0({})}return a})();var h7=20,j4=(()=>{class a{_ngZone=v(x0);_platform=v(h2);_renderer=v(h1).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new a0;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=h7){return this._platform.isBrowser?new o1(e=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=t>0?this._scrolled.pipe($t(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):y()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){let o=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(H0(n=>!n||o.indexOf(n)>-1))}getAncestorScrollContainers(t){let e=[];return this.scrollContainers.forEach((o,n)=>{this._scrollableContainsElement(n,t)&&e.push(n)}),e}_scrollableContainsElement(t,e){let o=Ni(e),n=t.getElementRef().nativeElement;do if(o==n)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var c7=20,kt=(()=>{class a{_platform=v(h2);_listeners;_viewportSize;_change=new a0;_document=v(G,{optional:!0});constructor(){let t=v(x0),e=v(h1).createRenderer(null,null);t.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=n=>this._change.next(n);this._listeners=[e.listen("window","resize",o),e.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(t=>t()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:e,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+e,height:o,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,e=this._getWindow(),o=t.documentElement,n=o.getBoundingClientRect(),s=-n.top||t.body.scrollTop||e.scrollY||o.scrollTop||0,i=-n.left||t.body.scrollLeft||e.scrollX||o.scrollLeft||0;return{top:s,left:i}}change(t=c7){return t>0?this._change.pipe($t(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var $4={},Wi=(()=>{class a{_appId=v(W2);getId(t){return this._appId!=="ng"&&(t+=this._appId),$4.hasOwnProperty(t)||($4[t]=0),`${t}${$4[t]++}`}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Gi=$i();function tl(a){return new he(a.get(kt),a.get(G))}var he=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(r,t){this._viewportRuler=r,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let r=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=r.style.left||"",this._previousHTMLStyles.top=r.style.top||"",r.style.left=m0(-this._previousScrollPosition.left),r.style.top=m0(-this._previousScrollPosition.top),r.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let r=this._document.documentElement,t=this._document.body,e=r.style,o=t.style,n=e.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,r.classList.remove("cdk-global-scrollblock"),Gi&&(e.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Gi&&(e.scrollBehavior=n,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let t=this._document.documentElement,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}};function el(a,r){return new ce(a.get(j4),a.get(x0),a.get(kt),r)}var ce=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(r,t,e,o){this._scrollDispatcher=r,this._ngZone=t,this._viewportRuler=e,this._config=o}attach(r){this._overlayRef,this._overlayRef=r}enable(){if(this._scrollSubscription)return;let r=this._scrollDispatcher.scrolled(0).pipe(H0(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=r.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=r.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var Pt=class{enable(){}disable(){}attach(){}};function W4(a,r){return r.some(t=>{let e=a.bottom<t.top,o=a.top>t.bottom,n=a.right<t.left,s=a.left>t.right;return e||o||n||s})}function qi(a,r){return r.some(t=>{let e=a.top<t.top,o=a.bottom>t.bottom,n=a.left<t.left,s=a.right>t.right;return e||o||n||s})}function al(a,r){return new ve(a.get(j4),a.get(kt),a.get(x0),r)}var ve=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(r,t,e,o){this._scrollDispatcher=r,this._viewportRuler=t,this._ngZone=e,this._config=o}attach(r){this._overlayRef,this._overlayRef=r}enable(){if(!this._scrollSubscription){let r=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(r).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:o}=this._viewportRuler.getViewportSize();W4(t,[{width:e,height:o,bottom:o,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},ol=(()=>{class a{_injector=v(d0);constructor(){}noop=()=>new Pt;close=t=>el(this._injector,t);block=()=>tl(this._injector);reposition=t=>al(this._injector,t);static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),pe=class{positionStrategy;scrollStrategy=new Pt;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(r){if(r){let t=Object.keys(r);for(let e of t)r[e]!==void 0&&(this[e]=r[e])}}};var ge=class{connectionPair;scrollableViewProperties;constructor(r,t){this.connectionPair=r,this.scrollableViewProperties=t}};var rl=(()=>{class a{_attachedOverlays=[];_document=v(G);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),nl=(()=>{class a extends rl{_ngZone=v(x0);_renderer=v(h1).createRenderer(null,null);_cleanupKeydown;add(t){super.add(t),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=t=>{let e=this._attachedOverlays;for(let o=e.length-1;o>-1;o--)if(e[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>e[o]._keydownEvents.next(t));break}};static \u0275fac=(()=>{let t;return function(o){return(t||(t=l1(a)))(o||a)}})();static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),sl=(()=>{class a extends rl{_platform=v(h2);_ngZone=v(x0);_renderer=v(h1).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(t){if(super.add(t),!this._isAttached){let e=this._document.body,o={capture:!0},n=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[n.listen(e,"pointerdown",this._pointerDownListener,o),n.listen(e,"click",this._clickListener,o),n.listen(e,"auxclick",this._clickListener,o),n.listen(e,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=e.style.cursor,e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(t=>t()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=t=>{this._pointerDownEventTarget=D4(t)};_clickListener=t=>{let e=D4(t),o=t.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:e;this._pointerDownEventTarget=null;let n=this._attachedOverlays.slice();for(let s=n.length-1;s>-1;s--){let i=n[s];if(i._outsidePointerEvents.observers.length<1||!i.hasAttached())continue;if(Ki(i.overlayElement,e)||Ki(i.overlayElement,o))break;let l=i._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(t)):l.next(t)}};static \u0275fac=(()=>{let t;return function(o){return(t||(t=l1(a)))(o||a)}})();static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function Ki(a,r){let t=typeof ShadowRoot<"u"&&ShadowRoot,e=r;for(;e;){if(e===a)return!0;e=t&&e instanceof ShadowRoot?e.host:e.parentNode}return!1}var il=(()=>{class a{static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(e,o){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll} 3`],encapsulation:2,changeDetection:0})}return a})(),ll=(()=>{class a{_platform=v(h2);_containerElement;_document=v(G);_styleLoader=v(R4);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||N4()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let n=0;n<o.length;n++)o[n].remove()}let e=this._document.createElement("div");e.classList.add(t),N4()?e.setAttribute("platform","test"):this._platform.isBrowser||e.setAttribute("platform","server"),this._document.body.appendChild(e),this._containerElement=e}_loadStyles(){this._styleLoader.load(il)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),G4=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(r,t,e,o){this._renderer=t,this._ngZone=e,this.element=r.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",o)}detach(){this._ngZone.runOutsideAngular(()=>{let r=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(r,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),r.style.pointerEvents="none",r.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},de=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new a0;_attachments=new a0;_detachments=new a0;_positionStrategy;_scrollStrategy;_locationChanges=g2.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new a0;_outsidePointerEvents=new a0;_afterNextRenderRef;constructor(r,t,e,o,n,s,i,l,g,w=!1,A,_){this._portalOutlet=r,this._host=t,this._pane=e,this._config=o,this._ngZone=n,this._keyboardDispatcher=s,this._document=i,this._location=l,this._outsideClickDispatcher=g,this._animationsDisabled=w,this._injector=A,this._renderer=_,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(r){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(r);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=x1(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof t?.onDestroy=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let r=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),r}dispose(){let r=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,r&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(r){r!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=r,this.hasAttached()&&(r.attach(this),this.updatePosition()))}updateSize(r){this._config=H(H({},this._config),r),this._updateElementSize()}setDirection(r){this._config=R(H({},this._config),{direction:r}),this._updateElementDirection()}addPanelClass(r){this._pane&&this._toggleClasses(this._pane,r,!0)}removePanelClass(r){this._pane&&this._toggleClasses(this._pane,r,!1)}getDirection(){let r=this._config.direction;return r?typeof r=="string"?r:r.value:"ltr"}updateScrollStrategy(r){r!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=r,this.hasAttached()&&(r.attach(this),r.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let r=this._pane.style;r.width=m0(this._config.width),r.height=m0(this._config.height),r.minWidth=m0(this._config.minWidth),r.minHeight=m0(this._config.minHeight),r.maxWidth=m0(this._config.maxWidth),r.maxHeight=m0(this._config.maxHeight)}_togglePointerEvents(r){this._pane.style.pointerEvents=r?"":"none"}_attachBackdrop(){let r="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new G4(this._document,this._renderer,this._ngZone,t=>{this._backdropClick.next(t)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(r))}):this._backdropRef.element.classList.add(r)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(r,t,e){let o=U4(t||[]).filter(n=>!!n);o.length&&(e?r.classList.add(...o):r.classList.remove(...o))}_detachContentWhenEmpty(){let r=!1;try{this._detachContentAfterRenderRef=x1(()=>{r=!0,this._detachContent()},{injector:this._injector})}catch(t){if(r)throw t;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let r=this._scrollStrategy;r?.disable(),r?.detach?.()}},Qi="cdk-overlay-connected-position-bounding-box",v7=/([A-Za-z%]+)$/;function hl(a,r){return new we(r,a.get(kt),a.get(G),a.get(h2),a.get(ll))}var we=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new a0;_resizeSubscription=g2.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(r,t,e,o,n){this._viewportRuler=t,this._document=e,this._platform=o,this._overlayContainer=n,this.setOrigin(r)}attach(r){this._overlayRef&&this._overlayRef,this._validatePositions(),r.hostElement.classList.add(Qi),this._overlayRef=r,this._boundingBox=r.hostElement,this._pane=r.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._originRect,t=this._overlayRect,e=this._viewportRect,o=this._containerRect,n=[],s;for(let i of this._preferredPositions){let l=this._getOriginPoint(r,o,i),g=this._getOverlayPoint(l,t,i),w=this._getOverlayFit(g,t,e,i);if(w.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(i,l);return}if(this._canFitWithFlexibleDimensions(w,g,e)){n.push({position:i,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,i)});continue}(!s||s.overlayFit.visibleArea<w.visibleArea)&&(s={overlayFit:w,overlayPoint:g,originPoint:l,position:i,overlayRect:t})}if(n.length){let i=null,l=-1;for(let g of n){let w=g.boundingBoxRect.width*g.boundingBoxRect.height*(g.position.weight||1);w>l&&(l=w,i=g)}this._isPushed=!1,this._applyPosition(i.position,i.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&v2(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Qi),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let r=this._lastPosition;if(r){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,r);this._applyPosition(r,t)}else this.apply()}withScrollableContainers(r){return this._scrollables=r,this}withPositions(r){return this._preferredPositions=r,r.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(r){return this._viewportMargin=r,this}withFlexibleDimensions(r=!0){return this._hasFlexibleDimensions=r,this}withGrowAfterOpen(r=!0){return this._growAfterOpen=r,this}withPush(r=!0){return this._canPush=r,this}withLockedPosition(r=!0){return this._positionLocked=r,this}setOrigin(r){return this._origin=r,this}withDefaultOffsetX(r){return this._offsetX=r,this}withDefaultOffsetY(r){return this._offsetY=r,this}withTransformOriginOn(r){return this._transformOriginSelector=r,this}_getOriginPoint(r,t,e){let o;if(e.originX=="center")o=r.left+r.width/2;else{let s=this._isRtl()?r.right:r.left,i=this._isRtl()?r.left:r.right;o=e.originX=="start"?s:i}t.left<0&&(o-=t.left);let n;return e.originY=="center"?n=r.top+r.height/2:n=e.originY=="top"?r.top:r.bottom,t.top<0&&(n-=t.top),{x:o,y:n}}_getOverlayPoint(r,t,e){let o;e.overlayX=="center"?o=-t.width/2:e.overlayX==="start"?o=this._isRtl()?-t.width:0:o=this._isRtl()?0:-t.width;let n;return e.overlayY=="center"?n=-t.height/2:n=e.overlayY=="top"?0:-t.height,{x:r.x+o,y:r.y+n}}_getOverlayFit(r,t,e,o){let n=Xi(t),{x:s,y:i}=r,l=this._getOffset(o,"x"),g=this._getOffset(o,"y");l&&(s+=l),g&&(i+=g);let w=0-s,A=s+n.width-e.width,_=0-i,S=i+n.height-e.height,k=this._subtractOverflows(n.width,w,A),E=this._subtractOverflows(n.height,_,S),$=k*E;return{visibleArea:$,isCompletelyWithinViewport:n.width*n.height===$,fitsInViewportVertically:E===n.height,fitsInViewportHorizontally:k==n.width}}_canFitWithFlexibleDimensions(r,t,e){if(this._hasFlexibleDimensions){let o=e.bottom-t.y,n=e.right-t.x,s=Yi(this._overlayRef.getConfig().minHeight),i=Yi(this._overlayRef.getConfig().minWidth),l=r.fitsInViewportVertically||s!=null&&s<=o,g=r.fitsInViewportHorizontally||i!=null&&i<=n;return l&&g}return!1}_pushOverlayOnScreen(r,t,e){if(this._previousPushAmount&&this._positionLocked)return{x:r.x+this._previousPushAmount.x,y:r.y+this._previousPushAmount.y};let o=Xi(t),n=this._viewportRect,s=Math.max(r.x+o.width-n.width,0),i=Math.max(r.y+o.height-n.height,0),l=Math.max(n.top-e.top-r.y,0),g=Math.max(n.left-e.left-r.x,0),w=0,A=0;return o.width<=n.width?w=g||-s:w=r.x<this._viewportMargin?n.left-e.left-r.x:0,o.height<=n.height?A=l||-i:A=r.y<this._viewportMargin?n.top-e.top-r.y:0,this._previousPushAmount={x:w,y:A},{x:r.x+w,y:r.y+A}}_applyPosition(r,t){if(this._setTransformOrigin(r),this._setOverlayElementStyles(t,r),this._setBoundingBoxStyles(t,r),r.panelClass&&this._addPanelClasses(r.panelClass),this._positionChanges.observers.length){let e=this._getScrollVisibility();if(r!==this._lastPosition||!this._lastScrollVisibility||!p7(this._lastScrollVisibility,e)){let o=new ge(r,e);this._positionChanges.next(o)}this._lastScrollVisibility=e}this._lastPosition=r,this._isInitialRender=!1}_setTransformOrigin(r){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),e,o=r.overlayY;r.overlayX==="center"?e="center":this._isRtl()?e=r.overlayX==="start"?"right":"left":e=r.overlayX==="start"?"left":"right";for(let n=0;n<t.length;n++)t[n].style.transformOrigin=`${e} ${o}`}_calculateBoundingBoxRect(r,t){let e=this._viewportRect,o=this._isRtl(),n,s,i;if(t.overlayY==="top")s=r.y,n=e.height-s+this._viewportMargin;else if(t.overlayY==="bottom")i=e.height-r.y+this._viewportMargin*2,n=e.height-i+this._viewportMargin;else{let S=Math.min(e.bottom-r.y+e.top,r.y),k=this._lastBoundingBoxSize.height;n=S*2,s=r.y-S,n>k&&!this._isInitialRender&&!this._growAfterOpen&&(s=r.y-k/2)}let l=t.overlayX==="start"&&!o||t.overlayX==="end"&&o,g=t.overlayX==="end"&&!o||t.overlayX==="start"&&o,w,A,_;if(g)_=e.width-r.x+this._viewportMargin*2,w=r.x-this._viewportMargin;else if(l)A=r.x,w=e.right-r.x;else{let S=Math.min(e.right-r.x+e.left,r.x),k=this._lastBoundingBoxSize.width;w=S*2,A=r.x-S,w>k&&!this._isInitialRender&&!this._growAfterOpen&&(A=r.x-k/2)}return{top:s,left:A,bottom:i,right:_,width:w,height:n}}_setBoundingBoxStyles(r,t){let e=this._calculateBoundingBoxRect(r,t);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let n=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=m0(e.height),o.top=m0(e.top),o.bottom=m0(e.bottom),o.width=m0(e.width),o.left=m0(e.left),o.right=m0(e.right),t.overlayX==="center"?o.alignItems="center":o.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?o.justifyContent="center":o.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",n&&(o.maxHeight=m0(n)),s&&(o.maxWidth=m0(s))}this._lastBoundingBoxSize=e,v2(this._boundingBox.style,o)}_resetBoundingBoxStyles(){v2(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){v2(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(r,t){let e={},o=this._hasExactPosition(),n=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){let w=this._viewportRuler.getViewportScrollPosition();v2(e,this._getExactOverlayY(t,r,w)),v2(e,this._getExactOverlayX(t,r,w))}else e.position="static";let i="",l=this._getOffset(t,"x"),g=this._getOffset(t,"y");l&&(i+=`translateX(${l}px) `),g&&(i+=`translateY(${g}px)`),e.transform=i.trim(),s.maxHeight&&(o?e.maxHeight=m0(s.maxHeight):n&&(e.maxHeight="")),s.maxWidth&&(o?e.maxWidth=m0(s.maxWidth):n&&(e.maxWidth="")),v2(this._pane.style,e)}_getExactOverlayY(r,t,e){let o={top:"",bottom:""},n=this._getOverlayPoint(t,this._overlayRect,r);if(this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,e)),r.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;o.bottom=`${s-(n.y+this._overlayRect.height)}px`}else o.top=m0(n.y);return o}_getExactOverlayX(r,t,e){let o={left:"",right:""},n=this._getOverlayPoint(t,this._overlayRect,r);this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,e));let s;if(this._isRtl()?s=r.overlayX==="end"?"left":"right":s=r.overlayX==="end"?"right":"left",s==="right"){let i=this._document.documentElement.clientWidth;o.right=`${i-(n.x+this._overlayRect.width)}px`}else o.left=m0(n.x);return o}_getScrollVisibility(){let r=this._getOriginRect(),t=this._pane.getBoundingClientRect(),e=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:qi(r,e),isOriginOutsideView:W4(r,e),isOverlayClipped:qi(t,e),isOverlayOutsideView:W4(t,e)}}_subtractOverflows(r,...t){return t.reduce((e,o)=>e-Math.max(o,0),r)}_getNarrowedViewportRect(){let r=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+r-this._viewportMargin,bottom:e.top+t-this._viewportMargin,width:r-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(r,t){return t==="x"?r.offsetX==null?this._offsetX:r.offsetX:r.offsetY==null?this._offsetY:r.offsetY}_validatePositions(){}_addPanelClasses(r){this._pane&&U4(r).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(r=>{this._pane.classList.remove(r)}),this._appliedPanelClasses=[])}_getOriginRect(){let r=this._origin;if(r instanceof g0)return r.nativeElement.getBoundingClientRect();if(r instanceof Element)return r.getBoundingClientRect();let t=r.width||0,e=r.height||0;return{top:r.y,bottom:r.y+e,left:r.x,right:r.x+t,height:e,width:t}}};function v2(a,r){for(let t in r)r.hasOwnProperty(t)&&(a[t]=r[t]);return a}function Yi(a){if(typeof a!="number"&&a!=null){let[r,t]=a.split(v7);return!t||t==="px"?parseFloat(r):null}return a||null}function Xi(a){return{top:Math.floor(a.top),right:Math.floor(a.right),bottom:Math.floor(a.bottom),left:Math.floor(a.left),width:Math.floor(a.width),height:Math.floor(a.height)}}function p7(a,r){return a===r?!0:a.isOriginClipped===r.isOriginClipped&&a.isOriginOutsideView===r.isOriginOutsideView&&a.isOverlayClipped===r.isOverlayClipped&&a.isOverlayOutsideView===r.isOverlayOutsideView}var Ji="cdk-global-overlay-wrapper";function cl(a){return new ue}var ue=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(r){let t=r.getConfig();this._overlayRef=r,this._width&&!t.width&&r.updateSize({width:this._width}),this._height&&!t.height&&r.updateSize({height:this._height}),r.hostElement.classList.add(Ji),this._isDisposed=!1}top(r=""){return this._bottomOffset="",this._topOffset=r,this._alignItems="flex-start",this}left(r=""){return this._xOffset=r,this._xPosition="left",this}bottom(r=""){return this._topOffset="",this._bottomOffset=r,this._alignItems="flex-end",this}right(r=""){return this._xOffset=r,this._xPosition="right",this}start(r=""){return this._xOffset=r,this._xPosition="start",this}end(r=""){return this._xOffset=r,this._xPosition="end",this}width(r=""){return this._overlayRef?this._overlayRef.updateSize({width:r}):this._width=r,this}height(r=""){return this._overlayRef?this._overlayRef.updateSize({height:r}):this._height=r,this}centerHorizontally(r=""){return this.left(r),this._xPosition="center",this}centerVertically(r=""){return this.top(r),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let r=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:o,height:n,maxWidth:s,maxHeight:i}=e,l=(o==="100%"||o==="100vw")&&(!s||s==="100%"||s==="100vw"),g=(n==="100%"||n==="100vh")&&(!i||i==="100%"||i==="100vh"),w=this._xPosition,A=this._xOffset,_=this._overlayRef.getConfig().direction==="rtl",S="",k="",E="";l?E="flex-start":w==="center"?(E="center",_?k=A:S=A):_?w==="left"||w==="end"?(E="flex-end",S=A):(w==="right"||w==="start")&&(E="flex-start",k=A):w==="left"||w==="start"?(E="flex-start",S=A):(w==="right"||w==="end")&&(E="flex-end",k=A),r.position=this._cssPosition,r.marginLeft=l?"0":S,r.marginTop=g?"0":this._topOffset,r.marginBottom=this._bottomOffset,r.marginRight=l?"0":k,t.justifyContent=E,t.alignItems=g?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let r=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,e=t.style;t.classList.remove(Ji),e.justifyContent=e.alignItems=r.marginTop=r.marginBottom=r.marginLeft=r.marginRight=r.position="",this._overlayRef=null,this._isDisposed=!0}},vl=(()=>{class a{_injector=v(d0);constructor(){}global(){return cl()}flexibleConnectedTo(t){return hl(this._injector,t)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function pl(a,r){a.get(R4).load(il);let t=a.get(ll),e=a.get(G),o=a.get(Wi),n=a.get(X0),s=a.get(ji),i=e.createElement("div"),l=e.createElement("div");l.id=o.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),i.appendChild(l),t.getContainerElement().appendChild(i);let g=new ie(l,n,a),w=new pe(r),A=a.get(Q0,null,{optional:!0})||a.get(h1).createRenderer(null,null);return w.direction=w.direction||s.value,new de(g,i,l,w,a.get(x0),a.get(nl),e,a.get(S1),a.get(sl),r?.disableAnimations??a.get(La,null,{optional:!0})==="NoopAnimations",a.get(B0),A)}var g7=(()=>{class a{scrollStrategies=v(ol);_positionBuilder=v(vl);_injector=v(d0);constructor(){}create(t){return pl(this._injector,t)}position(){return this._positionBuilder}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();
3var q4=(()=>{let r=class r{constructor(e,o){this.document=e,this.platformId=o,this.documentIsAccessible=L(this.platformId)}static getCookieRegExp(e){let o=e.replace(/([[\]{}()|=;+?,.*^$\\])/gi,"\\$1");return new RegExp("(?:^"+o+"|;\\s*"+o+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(e){try{return decodeURIComponent(e)}catch{return e}}check(e){return this.documentIsAccessible?(e=encodeURIComponent(e),r.getCookieRegExp(e).test(this.document.cookie)):!1}get(e){if(this.check(e)){e=encodeURIComponent(e);let n=r.getCookieRegExp(e).exec(this.document.cookie);return n?.[1]?r.safeDecodeURIComponent(n[1]):""}else return""}getAll(){if(!this.documentIsAccessible)return{};let e={},o=this.document;return o.cookie&&o.cookie!==""&&o.cookie.split(";").forEach(n=>{let[s,i]=n.split("=");e[r.safeDecodeURIComponent(s.replace(/^ /,""))]=r.safeDecodeURIComponent(i)}),e}set(e,o,n,s,i,l,g,w){if(!this.documentIsAccessible)return;if(typeof n=="number"||n instanceof Date||s||i||l||g){let S={expires:n,path:s,domain:i,secure:l,sameSite:g||"Lax",partitioned:w};this.set(e,o,S);return}let A=encodeURIComponent(e)+"="+encodeURIComponent(o)+";",_=n||{};if(_.expires)if(typeof _.expires=="number"){let S=new Date(new Date().getTime()+_.expires*1e3*60*60*24);A+="expires="+S.toUTCString()+";"}else A+="expires="+_.expires.toUTCString()+";";_.path&&(A+="path="+_.path+";"),_.domain&&(A+="domain="+_.domain+";"),_.secure===!1&&_.sameSite==="None"&&(_.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${e} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),_.secure&&(A+="secure;"),_.sameSite||(_.sameSite="Lax"),A+="sameSite="+_.sameSite+";",_.partitioned&&(A+="Partitioned;"),this.document.cookie=A}delete(e,o,n,s,i="Lax"){if(!this.documentIsAccessible)return;let l=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(e,"",{expires:l,path:o,domain:n,secure:s,sameSite:i})}deleteAll(e,o,n,s="Lax"){if(!this.documentIsAccessible)return;let i=this.getAll();for(let l in i)i.hasOwnProperty(l)&&this.delete(l,e,o,n,s)}};r.\u0275fac=function(o){return new(o||r)(U(G),U(N))},r.\u0275prov=x({token:r,factory:r.\u0275fac,providedIn:"root"});let a=r;return a})();var gl='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"></path></svg>';var dl='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"></path></svg>';var wl='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor"><path d="M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"></path></svg>';function d7(a,r){if(a&1&&(p(0,"p",3),Z(1),d()),a&2){let t=h();c(),O(t.label)}}var w7=["buttonElement"],It=["*"];function u7(a,r){if(a&1&&b(0,"uni-spinner",2),a&2){let t=h();f("size",t.size)("color",t.color)("ariaLabel",t.loadingText||"Loading..."),F("aria-hidden",!0)}}function m7(a,r){if(a&1&&b(0,"ng-icon",3),a&2){let t=h();f("name",t.icon)("size",t.getIconSize()),F("aria-hidden",!0)}}function f7(a,r){if(a&1&&b(0,"ng-icon",5),a&2){let t=h();f("name",t.icon)("size",t.getIconSize()),F("aria-hidden",!0)}}function C7(a,r){if(a&1&&(p(0,"span",6),Z(1),d()),a&2){let t=h();F("aria-label",t.badgeAriaLabel||"Badge: "+t.badge),c(),O(t.formatBadge(t.badge))}}function M7(a,r){a&1&&b(0,"span",7),a&2&&F("aria-hidden",!0)}function A7(a,r){if(a&1){let t=z();p(0,"button",2),V("click",function(o){C(t);let n=h();return M(n.onRemove(o))}),b(1,"ng-icon",3),d()}if(a&2){let t=h();F("aria-label",t.removeAriaLabel||"Remove")}}function H7(a,r){if(a&1&&(p(0,"p",2),Z(1),d()),a&2){let t=h();c(),O(t.fullSubtitle)}}var f1=(a,r)=>r.id;function x7(a,r){a&1&&(p(0,"div",0),b(1,"div",16),p(2,"div",17),b(3,"div",18)(4,"div",18)(5,"div",18)(6,"div",18),d()())}function V7(a,r){a&1&&(p(0,"span",25),Z(1,"\u2713"),d())}function Z7(a,r){if(a&1){let t=z();p(0,"button",20),V("click",function(){let o=C(t).$implicit,n=h(2);return M(n.selectRole(o.id))}
3),b(1,"img",21),p(2,"div",22)(3,"span",23),Z(4),d(),p(5,"span",24),Z(6),d()(),u(7,V7,2,0,"span",25),d()}if(a&2){let t=r.$implicit,e=h(2);P("selected",e.selectedRole()===t.id),c(),f("src",t.icon,Y)("alt",t.label),c(3),O(t.label),c(2),O(t.description),c(),m(e.selectedRole()===t.id?7:-1)}}function b7(a,r){if(a&1&&(p(0,"div",10),V0(1,Z7,8,7,"button",19,f1),d()),a&2){let t=h();c(),Z0(t.roles)}}function L7(a,r){a&1&&(p(0,"span",25),Z(1,"\u2713"),d())}function _7(a,r){if(a&1){let t=z();p(0,"button",29),V("click",function(){let o=C(t).$implicit,n=h(3);return M(n.toggleItem(o.id))}),p(1,"div",22)(2,"span",23),Z(3),d()(),u(4,L7,2,0,"span",25),d()}if(a&2){let t=r.$implicit,e=h(3);P("selected",e.isSelected(t.id)),c(3),O(t.name),c(),m(e.isSelected(t.id)?4:-1)}}function B7(a,r){if(a&1&&(p(0,"div",10),V0(1,_7,5,4,"button",28,f1),d()),a&2){let t=h();c(),Z0(t.items)}}function z7(a,r){a&1&&Z(0," \u2713 ")}function y7(a,r){if(a&1){let t=z();p(0,"uni-chip",31),V("click",function(){let o=C(t).$implicit,n=h(3);return M(n.toggleItem(o.id))}),u(1,z7,1,0),Z(2),d()}if(a&2){let t=r.$implicit,e=h(3);f("variant",e.isSelected(t.id)?"primary":"neutral"),c(),m(e.isSelected(t.id)?1:-1),c(),c0(" ",t.name," ")}}function S7(a,r){if(a&1&&(p(0,"div",26),V0(1,y7,3,3,"uni-chip",30,f1),d()),a&2){let t=h();c(),Z0(t.items)}}function k7(a,r){if(a&1&&(u(0,B7,3,0,"div",10)(1,S7,3,0,"div",26),p(2,"p",27),Z(3),d()),a&2){let t=r;m(t.single?0:1),c(3),O(t.hint)}}function P7(a,r){if(a&1){let t=z();p(0,"button",33),V("click",function(){let o=C(t).$implicit,n=h(2);return M(n.onAction(o))}),b(1,"img",34),p(2,"div",35)(3,"h3"),Z(4),d(),p(5,"p"),Z(6),d()(),p(7,"span",36),Z(8,"\u2192"),d()()}if(a&2){let t=r.$implicit;c(),f("src",t.icon,Y)("alt",t.title),c(3),O(t.title),c(2),O(t.description)}}function O7(a,r){a&1&&(p(0,"div",11),V0(1,P7,9,4,"button",32,f1),d()),a&2&&(c(),Z0(r.actions))}function T7(a,r){if(a&1&&(p(0,"p",12),Z(1),d()),a&2){let t=h();c(),O(t.submitError())}}function I7(a,r){if(a&1){let t=z();p(0,"uni-button",37),V("onClick",function(){C(t);let o=h();return M(o.back())}),Z(1," Back "),d()}}function F7(a,r){a&1&&b(0,"div")}function D7(a,r){if(a&1){let t=z();p(0,"uni-button",38),V("onClick",function(){C(t);let o=h();return M(o.next())}),Z(1," Continue "),d()}if(a&2){let t=h();f("disabled",!t.canProceed()||t.submitting())}}function E7(a,r){a&1&&Z(0," Saving... ")}function R7(a,r){a&1&&Z(0," Let's Go ")}function U7(a,r){if(a&1){let t=z();p(0,"uni-button",38),V("onClick",function(){C(t);let o=h();return M(o.finish())}),u(1,E7,1,0)(2,R7,1,0),d()}if(a&2){let t=h();f("disabled",t.submitting()),c(),m(t.submitting()?1:2)}}function N7(a,r){if(a&1&&b(0,"uni-spinner",1),a&2){let t=h();f("size",t.getMappedSize())("color",t.getColorFromVariant())("ariaLabel","Loading..."),F("aria-hidden",!0)}}function j7(a,r){if(a&1&&b(0,"ng-icon",2),a&2){let t=h();f("name",t.getIconName())("size",t.getIconSize()),F("aria-hidden",!0)}}function $7(a,r){a&1&&b(0,"span",3),a&2&&F("aria-hidden",!0)}function W7(a,r){if(a&1&&(p(0,"div",1),Z(1),d()),a&2){let t=h();c(),O(t.contextLabel)}}function G7(a,r){a&1&&b(0,"div",2)}function q7(a,r){if(a&1&&b(0,"ng-icon",5),a&2){let t=h(2).$implicit;f("name",t.icon)}}function K7(a,r){if(a&1){let t=z();p(0,"button",4),V("click",function(){C(t);let o=h().$implicit,n=h();return M(n.onItemClick(o))}),u(1,q7,1,1,"ng-icon",5),p(2,"span"),Z(3),d()()}if(a&2){let t=h().$implicit;P("disabled",t.disabled)("variant-danger",t.variant==="danger")("variant-warning",t.variant==="warning"),f("disabled",t.disabled),c(),m(t.icon?1:-1),c(2),O(t.label)}}function Q7(a,r){if(a&1&&u(0,G7,1,0,"div",2)(1,K7,4,9,"button",3),a&2){let t=r.$implicit;m(t.divider?0:1)}}var Y7='@charset "UTF-8";[_nghost-%COMP%]{display:inline-block;position:relative}.action-menu-dropdown[_ngcontent-%COMP%]{position:fixed;min-width:var(--size-44);background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);border:var(--border-width-thin) solid var(--border);padding:var(--spacing-xs);z-index:var(--z-dropdown);animation:_ngcontent-%COMP%_slideDown var(--duration-normal) var(--easing-in-out);white-space:nowrap;pointer-events:auto}.action-menu-dropdown.position-top[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideUp var(--duration-normal) var(--easing-in-out)}.menu-context-label[_ngcontent-%COMP%]{padding:var(--size-1-5) var(--spacing-sm) var(--spacing-xs);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium);color:var(--text-secondary);max-width:240px;border-bottom:var(--border-width-thin) solid var(--border);margin-bottom:var(--spacing-xs)}.menu-context-label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-item[_ngcontent-%COMP%]{appearance:none;border:none;background:transparent;font-family:inherit;display:flex;align-items:center;gap:var(--spacing-sm);width:100%;padding:var(--size-2-5) var(--spacing-sm);margin:var(--spacing-0-5) 0;color:var(--text-primary);font-size:var(--font-size-sm);font-weight:var(--font-weight-normal);line-height:var(--line-height-normal);text-align:left;cursor:pointer;border-radius:var(--radius-md);transition:all var(--duration-normal) var(--easing-in-out);position:relative}.menu-item[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%]{color:var(--text-secondary);transition:color var(--duration-normal) var(--easing-in-out);flex-shrink:0}.menu-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{flex:1;pointer-events:none}.menu-item[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled){background:var(--bg-secondary)}.menu-item[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) ng-icon[_ngcontent-%COMP%]{color:var(--text-primary)}.menu-item[_ngcontent-%COMP%]:active:not(.disabled):not(:disabled){background:var(--bg-tertiary);transform:scale(var(--scale-98))}.menu-item[_ngcontent-%COMP%]:focus-visible{outline:var(--focus-ring-width) solid var(--primary-500);outline-offset:calc(-1 * var(--focus-ring-offset))}.menu-item.disabled[_ngcontent-%COMP%], .menu-item[_ngcontent-%COMP%]:disabled{opacity:var(--opacity-50);
3cursor:not-allowed}.menu-item.disabled[_ngcontent-%COMP%]:hover, .menu-item[_ngcontent-%COMP%]:disabled:hover{background:transparent}.menu-item.danger[_ngcontent-%COMP%], .menu-item.variant-danger[_ngcontent-%COMP%]{color:var(--error)}.menu-item.danger[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%], .menu-item.variant-danger[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%]{color:var(--error)}.menu-item.danger[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled), .menu-item.variant-danger[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled){background:var(--bg-hover)}.menu-item.danger[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) ng-icon[_ngcontent-%COMP%], .menu-item.variant-danger[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) ng-icon[_ngcontent-%COMP%]{color:var(--error)}.menu-item.danger[_ngcontent-%COMP%]:active:not(.disabled):not(:disabled), .menu-item.variant-danger[_ngcontent-%COMP%]:active:not(.disabled):not(:disabled){background:var(--bg-tertiary)}.menu-item.danger[_ngcontent-%COMP%]:active:not(.disabled):not(:disabled) ng-icon[_ngcontent-%COMP%], .menu-item.variant-danger[_ngcontent-%COMP%]:active:not(.disabled):not(:disabled) ng-icon[_ngcontent-%COMP%]{color:var(--error)}.menu-item.variant-warning[_ngcontent-%COMP%]{color:var(--warning)}.menu-item.variant-warning[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%]{color:var(--warning)}.menu-item.variant-warning[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled){background:var(--warning-bg)}.menu-item.variant-warning[_ngcontent-%COMP%]:active:not(.disabled):not(:disabled){background:var(--warning-bg)}.menu-divider[_ngcontent-%COMP%]{height:var(--border-width-thin);background:var(--border);margin:var(--spacing-xs) var(--spacing-sm)}@keyframes _ngcontent-%COMP%_slideDown{0%{opacity:var(--opacity-0);transform:translateY(calc(-1 * var(--size-2)))}to{opacity:var(--opacity-100);transform:translateY(0)}}@keyframes _ngcontent-%COMP%_slideUp{0%{opacity:var(--opacity-0);transform:translateY(var(--size-2))}to{opacity:var(--opacity-100);transform:translateY(0)}}@media (max-width: 767.98px){.action-menu-dropdown[_ngcontent-%COMP%]{min-width:var(--size-40);font-size:var(--font-size-sm)}}',X7=["modalContainer"],J7=[[["","modal-header",""]],[["","modal-body",""]],"*",[["","modal-footer",""]]],t9=["[modal-header]","[modal-body]","*","[modal-footer]"];function e9(a,r){if(a&1&&(p(0,"div",9),b(1,"ng-icon",13),d()),a&2){let t=h(3);c(),f("name",t.icon)}}function a9(a,r){if(a&1&&(p(0,"h2",11),Z(1),d()),a&2){let t=h(3);c(),O(t.title)}}function o9(a,r){if(a&1&&(p(0,"p",12),Z(1),d()),a&2){let t=h(3);c(),O(t.subtitle)}}function r9(a,r){if(a&1&&(p(0,"div",8),u(1,e9,2,1,"div",9),p(2,"div",10),u(3,a9,2,1,"h2",11),u(4,o9,2,1,"p",12),d()()),a&2){let t=h(2);c(),m(t.icon?1:-1),c(2),m(t.title?3:-1),c(),m(t.subtitle?4:-1)}}function n9(a,r){if(a&1){let t=z();p(0,"uni-icon-button",14),V("click",function(){C(t);let o=h(2);return M(o.close())}),d()}a&2&&f("square",!0)("circle",!1)}function s9(a,r){if(a&1){let t=z();p(0,"div",2),V("click",function(o){C(t);let n=h();return M(n.onBackdropClick(o))})("wheel",function(o){C(t);let n=h();return M(n.onBackdropScroll(o))})("touchmove",function(o){C(t);let n=h();return M(n.onBackdropScroll(o))}),p(1,"div",3,0),V("wheel",function(o){C(t);let n=h();return M(n.onModalContentScroll(o))})("touchmove",function(o){C(t);let n=h();return M(n.onModalContentScroll(o))}),p(3,"div",4),N0(4,0,null,r9,5,3),u(6,n9,1,2,"uni-icon-button",5),d(),p(7,"div",6),N0(8,1),N0(9,2),d(),p(10,"div",7),N0(11,3),d()()()}if(a&2){let t=h();F("aria-hidden",!1)("aria-modal",!0)("aria-labelledby",t.title?"modal-title":null),c(),t1(t.getSizeClass()),c(5),m(t.showCloseButton?6:-1)}}var ul=(a,r)=>r.id||r.route;function i9(a,r){if(a&1){let t=z();p(0,"div",1)(1,"a",17),V("click",function(o){C(t);let n=h();return M(n.navigateToHome(o))}),b(2,"img",18),d()()}if(a&2){let t=h();c(),P("active",t.isHomeActive),F("aria-current",t.isHomeActive?"page":null),c(),f("src",t.logoUrl,Y)}}function l9(a,r){if(a&1){let t=z();p(0,"a",19),V("mouseenter",function(o){let n=C(t).$implicit,s=h();return M(s.onMouseEnter(n,o))})("mouseleave",function(){C(t);let o=h();return M(o.onMouseLeave())})("click",function(o){let n=C(t).$implicit,s=h();
3return M(s.handleItemClick(n,o))}),b(1,"ng-icon",12),d()}if(a&2){let t=r.$implicit,e=h();P("active",t.route&&e.isActive(t.route)),f("href",t.route||"#",Y),F("aria-label",t.label)("aria-current",t.route&&e.isActive(t.route)?"page":null),c(),f("name",t.icon)}}function h9(a,r){if(a&1&&b(0,"img",22),a&2){let t=h().$implicit,e=h(2);f("src",e.isDark&&t.logoDarkUrl?t.logoDarkUrl:t.logoUrl,Y)("alt",t.label)}}function c9(a,r){if(a&1&&b(0,"ng-icon",12),a&2){let t=h().$implicit;f("name",t.icon)}}function v9(a,r){if(a&1){let t=z();p(0,"a",19),V("mouseenter",function(o){let n=C(t).$implicit,s=h(2);return M(s.onMouseEnter(n,o))})("mouseleave",function(){C(t);let o=h(2);return M(o.onMouseLeave())})("click",function(o){let n=C(t).$implicit,s=h(2);return M(s.handleItemClick(n,o))}),u(1,h9,1,2,"img",22)(2,c9,1,1,"ng-icon",12),d()}if(a&2){let t=r.$implicit;f("href",t.route||"#",Y),F("aria-label","Try "+t.label+(t.openInNewTab?" (opens in new tab)":"")),c(),m(t.logoUrl?1:2)}}function p9(a,r){if(a&1&&(p(0,"div",6),b(1,"div",9),p(2,"div",20),V0(3,v9,3,3,"a",21,f1),d()()),a&2){let t=h();c(3),Z0(t.promotedNavItems)}}function g9(a,r){if(a&1&&b(0,"img",22),a&2){let t=h().$implicit,e=h(2);f("src",e.isDark&&t.logoDarkUrl?t.logoDarkUrl:t.logoUrl,Y)("alt",t.label)}}function d9(a,r){if(a&1&&b(0,"ng-icon",12),a&2){let t=h().$implicit;f("name",t.icon)}}function w9(a,r){if(a&1){let t=z();p(0,"div",25),V("dragstart",function(o){let n=C(t).$index,s=h(2);return M(s.onPinDragStart(n,o))})("dragover",function(o){C(t);let n=h(2);return M(n.onPinDragOver(o))})("drop",function(o){let n=C(t).$index,s=h(2);return M(s.onPinDrop(n,o))})("dragend",function(){C(t);let o=h(2);return M(o.onPinDragEnd())}),p(1,"a",19),V("mouseenter",function(o){let n=C(t).$implicit,s=h(2);return M(s.onMouseEnter(n,o))})("mouseleave",function(){C(t);let o=h(2);return M(o.onMouseLeave())})("click",function(o){let n=C(t).$implicit,s=h(2);return M(s.handleItemClick(n,o))}),u(2,g9,1,2,"img",22)(3,d9,1,1,"ng-icon",12),d()()}if(a&2){let t=r.$implicit,e=r.$index,o=h(2);P("dragging",o.draggedPinIndex===e),F("draggable",o.canManagePins?!0:null),c(),P("active",t.route&&!t.openInNewTab&&o.isActive(t.route)),f("href",t.route||"#",Y),F("aria-label",t.label+(t.openInNewTab?" (opens in new tab)":"")),c(),m(t.logoUrl?2:3)}}function u9(a,r){if(a&1&&(p(0,"div",7),b(1,"div",9),p(2,"div",23),V0(3,w9,4,8,"div",24,f1),d()()),a&2){let t=h();c(3),Z0(t.pinnedNavItems)}}function m9(a,r){if(a&1){let t=z();p(0,"button",29),V("click",function(o){C(t);let n=h(2);return M(n.pinContextItem(o))}),Z(1,"+"),d()}if(a&2){let t=h(2);F("aria-label","Pin "+t.contextItem.label+" to sidebar")}}function f9(a,r){if(a&1){let t=z();p(0,"div",13),b(1,"div",9),p(2,"div",26)(3,"div",27)(4,"a",19),V("mouseenter",function(o){C(t);let n=h();return M(n.onMouseEnter(n.contextItem,o))})("mouseleave",function(){C(t);let o=h();return M(o.onMouseLeave())})("click",function(o){C(t);let n=h();return M(n.handleItemClick(n.contextItem,o))}),b(5,"ng-icon",12),d(),u(6,m9,2,1,"button",28),d()()()}if(a&2){let t=h();c(4),P("active",t.contextItem.route&&t.isActive(t.contextItem.route)),f("href",t.contextItem.route||"#",Y),F("aria-label",t.contextItem.label)("aria-current",t.contextItem.route&&t.isActive(t.contextItem.route)?"page":null),c(),f("name",t.contextItem.icon),c(),m(t.canPinContext?6:-1)}}function C9(a,r){if(a&1){let t=z();p(0,"a",19),V("mouseenter",function(o){let n=C(t).$implicit,s=h();return M(s.onMouseEnter(n,o))})("mouseleave",function(){C(t);let o=h();return M(o.onMouseLeave())})("click",function(o){let n=C(t).$implicit,s=h();return M(s.handleItemClick(n,o))}),b(1,"ng-icon",12),d()}if(a&2){let t=r.$implicit,e=h();P("active",t.route&&e.isActive(t.route)),f("href",t.route||"#",Y),F("aria-label",t.label+(t.openInNewTab?" (opens in new tab)":""))("aria-current",t.route&&e.isActive(t.route)?"page":null),c(),f("name",t.icon)}}function M9(a,r){if(a&1){let t=z();p(0,"img",8,0),V("load",function(){C(t);let o=h();return M(o.onLowQualityLoad())}),d()}if(a&2){let t=h();v1("object-fit",t.objectFit),P("loaded",t.lowQualityLoaded())("no-blur",t.disableBlur)("fade-out",t.highQualityLoaded()),f("src",t.lowQualityUrl,Y)("alt",t.alt),F("loading",t.lazy?"lazy":"eager")("fetchpriority",t.fetchpriority)("width",t.width)("height",t.height)}}function A9(a,r){if(a&1){let t=z();p(0,"img",9,1),V("load",function(){C(t);let o=h();return M(o.onHighQualityLoad())})("error",function(){C(t);let o=h();return M(o.onHighQualityError())}),d()}if(a&2){let t=h();v1("object-fit",t.objectFit),P("loaded",t.highQualityLoaded())("fade-in",t.lowQualityLoaded()&&t.highQualityLoaded()),f("src",t.highQualityUrl,Y)("alt",t.alt),F("loading",t.lazy?"lazy":"eager")("fetchpriority",t.fetchpriority)("srcset",t.highQualitySrcset())("sizes",t.sizes||(t.highQualitySrcset()?"100vw":null))("width",t.width)("height",t.height)}}function H9(a,r){a&1&&(p(0,"div",5),b(1,"div",10),d())}function x9(a,r){if(a&1){let t=z();p(0,"img",11),V("load",function(){C(t);let o=h();return M(o.onFallbackImageLoad())})("error",function(){C(t);let o=h();return M(o.onFallbackImageError())}),d()}if(a&2){let t=h();f("src",t.fallbackImageUrl,Y)("alt",t.alt),F("width",t.width)("height",t.height)}}function V9(a,r){if(a&1&&(p(0,"div",7)(1,"div",12)(2,"div",13),Z(3,"\u{1F5BC}\uFE0F"),d(),p(4,"div",14),Z(5),d()()()),a&2){let t=h();c(5),O(t.getErrorText())}}var Z9=["sidebarNav"],b9=a=>({paths:a,queryParams:"ignored",matrixParams:"ignored",fragment:"ignored"}
3),L9=(a,r)=>r.title;function _9(a,r){if(a&1&&(p(0,"span",9),Z(1),d()),a&2){let t=h(3);c(),O(t.headerTitle)}}function B9(a,r){if(a&1){let t=z();p(0,"button",11),V("click",function(){C(t);let o=h(3);return M(o.toggleSidebar())}),b(1,"ng-icon",12),d()}if(a&2){let t=h(3);c(),f("name",t.collapsed?"matChevronRight":"matExpandLess")}}function z9(a,r){if(a&1&&(p(0,"div",7),u(1,_9,2,1,"span",9),u(2,B9,2,1,"button",10),d()),a&2){let t=h(2);c(),m(t.collapsed?-1:1),c(),m(t.showCollapseToggle&&t.allowCollapse?2:-1)}}function y9(a,r){if(a&1&&(p(0,"div",13),b(1,"uni-progressive-image",19),d()),a&2){let t=h(3);c(),f("highQualityUrl",t.headerImage)("lowQualityUrl",t.headerImageLowQuality)("alt",t.headerImageTitle||t.headerTitle+" cover image")("showSkeleton",!1)("lazy",!1)("aspectRatio","16/9")("objectFit","cover")}}function S9(a,r){if(a&1&&(p(0,"h3",15),Z(1),d()),a&2){let t=h(3);c(),O(t.headerImageTitle)}}function k9(a,r){if(a&1&&(p(0,"p",16),Z(1),d()),a&2){let t=h(3);c(),O(t.headerImageSubtitle)}}function P9(a,r){a&1&&b(0,"div",17)}function O9(a,r){if(a&1&&(p(0,"p",25),Z(1),d()),a&2){let t=h(6);c(),O(t.headerImageRegisterInfoText)}}function T9(a,r){if(a&1&&(p(0,"p",26),Z(1),p(2,"a",27),Z(3,"UNI Membership"),d()()),a&2){let t=h(6);c(),c0(" ",t.headerImageRegisterSubtext," "),c(),f("href",t.membershipLink,Y)}}function I9(a,r){if(a&1&&(p(0,"div",24),u(1,O9,2,1,"p",25),u(2,T9,4,2,"p",26),d()),a&2){let t=h(5);c(),m(t.headerImageRegisterInfoText?1:-1),c(),m(t.headerImageRegisterSubtext?2:-1)}}function F9(a,r){if(a&1){let t=z();p(0,"div",20)(1,"uni-button",23),V("click",function(){C(t);let o=h(4);return M(o.headerImageRegisterClick.emit())}),Z(2),d(),u(3,I9,3,2,"div",24),d()}if(a&2){let t=h(4);c(),f("variant",t.headerImageRegisterButtonVariant)("color",t.headerImageRegisterButtonColor)("fullWidth",!0),c(),c0(" ",t.headerImageRegisterButtonText," "),c(),m(t.headerImageRegisterInfoText||t.headerImageRegisterSubtext?3:-1)}}function D9(a,r){if(a&1){let t=z();p(0,"uni-button",23),V("click",function(){C(t);let o=h(4);return M(o.headerImageSubmitClick.emit())}),Z(1),d()}if(a&2){let t=h(4);f("variant",t.headerImageSubmitButtonVariant)("color",t.headerImageSubmitButtonColor)("fullWidth",!0),c(),c0(" ",t.headerImageSubmitButtonText," ")}}function E9(a,r){if(a&1){let t=z();p(0,"uni-button",28),V("click",function(){C(t);let o=h(4);return M(o.headerImageEvaluateClick.emit())}),Z(1),d()}if(a&2){let t=h(4);f("fullWidth",!0),c(),c0(" ",t.headerImageEvaluateButtonText," ")}}function R9(a,r){if(a&1&&(p(0,"a",27),Z(1),d()),a&2){let t=h(6);f("href",t.headerImageVoteLinkUrl,Y),c(),O(t.headerImageVoteLinkText)}}function U9(a,r){if(a&1&&(p(0,"div",29)(1,"p",25),Z(2),u(3,R9,2,2,"a",27),d()()),a&2){let t=h(5);c(2),c0(" ",t.headerImageVoteInfoText," "),c(),m(t.headerImageVoteLinkText&&t.headerImageVoteLinkUrl?3:-1)}}function N9(a,r){if(a&1){let t=z();p(0,"div",20),u(1,U9,4,2,"div",29),p(2,"uni-button",23),V("click",function(){C(t);let o=h(4);return M(o.headerImageVoteClick.emit())}),Z(3),d()()}if(a&2){let t=h(4);c(),m(t.headerImageVoteInfoText?1:-1),c(),f("variant",t.headerImageVoteButtonVariant)("color",t.headerImageVoteButtonColor)("fullWidth",!0),c(),c0(" ",t.headerImageVoteButtonText," ")}}function j9(a,r){if(a&1&&(p(0,"a",27),Z(1),d()),a&2){let t=h(6);f("href",t.headerImageViewResultsLinkUrl,Y),c(),O(t.headerImageViewResultsLinkText)}}function $9(a,r){if(a&1&&(p(0,"div",29)(1,"p",25),Z(2),u(3,j9,2,2,"a",27),d()()),a&2){let t=h(5);c(2),c0(" ",t.headerImageViewResultsInfoText," "),c(),m(t.headerImageViewResultsLinkText&&t.headerImageViewResultsLinkUrl?3:-1)}}function W9(a,r){if(a&1){let t=z();p(0,"div",20),u(1,$9,4,2,"div",29),p(2,"uni-button",28),V("click",function(){C(t);let o=h(4);return M(o.headerImageViewResultsClick.emit())}),Z(3),d()()}if(a&2){let t=h(4);c(),m(t.headerImageViewResultsInfoText?1:-1),c(),f("fullWidth",!0),c(),c0(" ",t.headerImageViewResultsButtonText," ")}}function G9(a,r){if(a&1&&(p(0,"div",18),u(1,F9,4,5,"div",20),u(2,D9,2,4,"uni-button",21),u(3,E9,2,2,"uni-button",22),u(4,N9,4,5,"div",20),u(5,W9,4,3,"div",20),d()),a&2){let t=h(3);c(),m(t.showHeaderImageRegisterButton?1:-1),c(),m(t.showHeaderImageSubmitButton?2:-1),c(),m(t.showHeaderImageEvaluateButton?3:-1),c(),m(t.showHeaderImageVoteButton?4:-1),c(),m(t.showHeaderImageViewResultsButton?5:-1)}}function q9(a,r){if(a&1&&(p(0,"div",8),u(1,y9,2,7,"div",13),p(2,"div",14),u(3,S9,2,1,"h3",15),u(4,k9,2,1,"p",16),u(5,P9,1,0,"div",17),u(6,G9,6,5,"div",18),d()()),a&2){let t=h(2);c(),m(t.headerImage||t.headerImageLowQuality?1:-1),c(2),m(t.headerImageTitle?3:-1),c(),m(t.headerImageSubtitle?4:-1),c(),m(t.headerImageTitle||t.headerImageSubtitle?5:-1),c(),m(t.showHeaderImageButtons?6:-1)}}function K9(a,r){if(a&1&&(p(0,"div",6),u(1,z9,3,2,"div",7),u(2,q9,7,5,"div",8),d()),a&2){let t=h();P("scrolled",t.isScrolled),c(),m(t.showHeader?1:-1),c(),m((t.headerImageTitle||t.headerImageSubtitle||t.showHeaderImageButtons)&&!t.collapsed?2:-1)}}function Q9(a,r){if(a&1&&(p(0,"div",30),Z(1),d()),a&2){let t=h().$implicit;c(),c0(" ",t.title," ")}}function Y9(a,r){if(a&1&&b(0,"img",42),a&2){let t=h(2).$implicit;f("src",t.thumbnail,Y)("alt",t.label)}}function X9(a,r){if(a&1&&b(0,"ng-icon",43),a&2){let t=h(2).$implicit,e=h(2);f("name",e.iconFor(t))}}function J9(a,r){if(a&1&&(p(0,"span",44),Z(1),d()),a&2){let t=h(2).$implicit;c(),O(t.label)}}function tv(a,r){if(a&1&&(p(0,"span",45),Z(1),d()),a&2){let t=h(2).$implicit;c(),O(t.badge)}}function ev(a,r){if(a&1&&b(0,"ng-icon",46),a&2){let t=h(2).$implicit;f("name",t.externalIcon)}}function av(a,r){if(a&1&&b(0,"ng-icon",47),a&2){let t=h(2).$implicit;f("name",t.expanded?"matExpandLess":"matExpandMore")}}function ov(a,r){if(a&1){let t=z();p(0,"a",41),V("click",function(o){C(t);let n=h().$implicit,s=h(2);
3return M(s.handleItemClick(n,o))}),u(1,Y9,1,2,"img",42)(2,X9,1,1,"ng-icon",43),u(3,J9,2,1,"span",44),u(4,tv,2,1,"span",45),u(5,ev,1,1,"ng-icon",46),u(6,av,1,1,"ng-icon",47),d()}if(a&2){let t=h().$implicit,e=h(2);P("has-actions",t.actions&&t.actions.length>0),f("href",t.route,Y),c(),m(t.thumbnail?1:t.icon?2:-1),c(2),m(e.collapsed?-1:3),c(),m(t.badge!=null&&t.badge!==""&&!e.collapsed?4:-1),c(),m(t.externalIcon&&!e.collapsed&&!t.children?5:-1),c(),m(t.children&&!e.collapsed?6:-1)}}function rv(a,r){if(a&1&&b(0,"img",42),a&2){let t=h(2).$implicit;f("src",t.thumbnail,Y)("alt",t.label)}}function nv(a,r){if(a&1&&b(0,"ng-icon",43),a&2){let t=h(2).$implicit,e=h(2);f("name",e.iconFor(t))}}function sv(a,r){if(a&1&&(p(0,"span",44),Z(1),d()),a&2){let t=h(2).$implicit;c(),O(t.label)}}function iv(a,r){if(a&1&&(p(0,"span",45),Z(1),d()),a&2){let t=h(2).$implicit;c(),O(t.badge)}}function lv(a,r){if(a&1&&b(0,"ng-icon",46),a&2){let t=h(2).$implicit;f("name",t.externalIcon)}}function hv(a,r){if(a&1&&b(0,"ng-icon",47),a&2){let t=h(2).$implicit;f("name",t.expanded?"matExpandLess":"matExpandMore")}}function cv(a,r){if(a&1){let t=z();p(0,"a",48),V("click",function(o){C(t);let n=h().$implicit,s=h(2);return M(s.handleItemClick(n,o))}),u(1,rv,1,2,"img",42)(2,nv,1,1,"ng-icon",43),u(3,sv,2,1,"span",44),u(4,iv,2,1,"span",45),u(5,lv,1,1,"ng-icon",46),u(6,hv,1,1,"ng-icon",47),d()}if(a&2){let t=h().$implicit,e=h(2);P("has-actions",t.actions&&t.actions.length>0),f("routerLink",t.route)("routerLinkActiveOptions",qa(9,b9,t.exactMatch?"exact":"subset")),c(),m(t.thumbnail?1:t.icon?2:-1),c(2),m(e.collapsed?-1:3),c(),m(t.badge!=null&&t.badge!==""&&!e.collapsed?4:-1),c(),m(t.externalIcon&&!e.collapsed&&!t.children?5:-1),c(),m(t.children&&!e.collapsed?6:-1)}}function vv(a,r){if(a&1&&b(0,"img",42),a&2){let t=h(2).$implicit;f("src",t.thumbnail,Y)("alt",t.label)}}function pv(a,r){if(a&1&&b(0,"ng-icon",43),a&2){let t=h(2).$implicit,e=h(2);f("name",e.iconFor(t))}}function gv(a,r){if(a&1&&(p(0,"span",44),Z(1),d()),a&2){let t=h(2).$implicit;c(),O(t.label)}}function dv(a,r){if(a&1&&(p(0,"span",45),Z(1),d()),a&2){let t=h(2).$implicit;c(),O(t.badge)}}function wv(a,r){if(a&1&&b(0,"ng-icon",46),a&2){let t=h(2).$implicit;f("name",t.externalIcon)}}function uv(a,r){if(a&1&&b(0,"ng-icon",47),a&2){let t=h(2).$implicit;f("name",t.expanded?"matExpandLess":"matExpandMore")}}function mv(a,r){if(a&1){let t=z();p(0,"a",49),V("click",function(o){C(t);let n=h().$implicit,s=h(2);return M(s.handleItemClick(n,o))}),u(1,vv,1,2,"img",42)(2,pv,1,1,"ng-icon",43),u(3,gv,2,1,"span",44),u(4,dv,2,1,"span",45),u(5,wv,1,1,"ng-icon",46),u(6,uv,1,1,"ng-icon",47),d()}if(a&2){let t=h().$implicit,e=h(2);P("has-actions",t.actions&&t.actions.length>0),f("href",t.route,Y),c(),m(t.thumbnail?1:t.icon?2:-1),c(2),m(e.collapsed?-1:3),c(),m(t.badge!=null&&t.badge!==""&&!e.collapsed?4:-1),c(),m(t.externalIcon&&!e.collapsed&&!t.children?5:-1),c(),m(t.children&&!e.collapsed?6:-1)}}function fv(a,r){if(a&1&&b(0,"img",42),a&2){let t=h(2).$implicit;f("src",t.thumbnail,Y)("alt",t.label)}}function Cv(a,r){if(a&1&&b(0,"ng-icon",43),a&2){let t=h(2).$implicit,e=h(2);f("name",e.iconFor(t))}}function Mv(a,r){if(a&1&&(p(0,"span",44),Z(1),d()),a&2){let t=h(2).$implicit;c(),O(t.label)}}function Av(a,r){if(a&1&&(p(0,"span",45),Z(1),d()),a&2){let t=h(2).$implicit;c(),O(t.badge)}}function Hv(a,r){if(a&1&&b(0,"ng-icon",46),a&2){let t=h(2).$implicit;f("name",t.externalIcon)}}function xv(a,r){if(a&1&&b(0,"ng-icon",47),a&2){let t=h(2).$implicit;f("name",t.expanded?"matExpandLess":"matExpandMore")}}function Vv(a,r){if(a&1){let t=z();p(0,"a",49),V("click",function(o){C(t);let n=h().$implicit,s=h(2);return M(s.handleItemClick(n,o))}),u(1,fv,1,2,"img",42)(2,Cv,1,1,"ng-icon",43),u(3,Mv,2,1,"span",44),u(4,Av,2,1,"span",45),u(5,Hv,1,1,"ng-icon",46),u(6,xv,1,1,"ng-icon",47),d()}if(a&2){let t=h().$implicit,e=h(2);P("has-actions",t.actions&&t.actions.length>0),f("href",t.route,Y),c(),m(t.thumbnail?1:t.icon?2:-1),c(2),m(e.collapsed?-1:3),c(),m(t.badge!=null&&t.badge!==""&&!e.collapsed?4:-1),c(),m(t.externalIcon&&!e.collapsed&&!t.children?5:-1),c(),m(t.children&&!e.collapsed?6:-1)}}function Zv(a,r){if(a&1&&b(0,"img",42),a&2){let t=h(2).$implicit;f("src",t.thumbnail,Y)("alt",t.label)}}function bv(a,r){if(a&1&&b(0,"ng-icon",43),a&2){let t=h(2).$implicit,e=h(2);f("name",e.iconFor(t))}}function Lv(a,r){if(a&1&&(p(0,"span",44),Z(1),d()),a&2){let t=h(2).$implicit;c(),O(t.label)}}function _v(a,r){if(a&1&&(p(0,"span",45),Z(1),d()),a&2){let t=h(2).$implicit;c(),O(t.badge)}}function Bv(a,r){if(a&1&&b(0,"ng-icon",46),a&2){let t=h(2).$implicit;f("name",t.externalIcon)}}function zv(a,r){if(a&1&&b(0,"ng-icon",47),a&2){let t=h(2).$implicit;f("name",t.expanded?"matExpandLess":"matExpandMore")}}function yv(a,r){if(a&1){let t=z();p(0,"button",50),V("click",function(o){C(t);let n=h().$implicit,s=h(2);
3return M(s.handleItemClick(n,o))}),u(1,Zv,1,2,"img",42)(2,bv,1,1,"ng-icon",43),u(3,Lv,2,1,"span",44),u(4,_v,2,1,"span",45),u(5,Bv,1,1,"ng-icon",46),u(6,zv,1,1,"ng-icon",47),d()}if(a&2){let t=h().$implicit,e=h(2);P("has-actions",t.actions&&t.actions.length>0),c(),m(t.thumbnail?1:t.icon?2:-1),c(2),m(e.collapsed?-1:3),c(),m(t.badge!=null&&t.badge!==""&&!e.collapsed?4:-1),c(),m(t.externalIcon&&!e.collapsed&&!t.children?5:-1),c(),m(t.children&&!e.collapsed?6:-1)}}function Sv(a,r){if(a&1){let t=z();p(0,"span",38)(1,"lib-sidebar-action-menu",51),V("actionClick",function(o){C(t);let n=h(3);return M(n.handleActionClick(o))}),d()()}if(a&2){let t=h().$implicit;c(),f("actions",t.actions)}}function kv(a,r){if(a&1&&(p(0,"div",39),Z(1),d()),a&2){let t=h().$implicit;c(),c0(" ",t.label," ")}}function Pv(a,r){if(a&1&&b(0,"ng-icon",58),a&2){let t=h(2).$implicit;f("name",t.icon)}}function Ov(a,r){a&1&&b(0,"span",59)}function Tv(a,r){if(a&1){let t=z();p(0,"a",57),V("click",function(o){C(t);let n=h().$implicit,s=h(4);return M(s.handleItemClick(n,o))}),u(1,Pv,1,1,"ng-icon",58),u(2,Ov,1,0,"span",59),p(3,"span",60),Z(4),d()()}if(a&2){let t=h().$implicit;P("has-actions",t.actions&&t.actions.length>0),f("routerLink",t.route),c(),m(t.icon?1:-1),c(),m(t.icon?-1:2),c(2),O(t.label)}}function Iv(a,r){if(a&1&&b(0,"ng-icon",58),a&2){let t=h(2).$implicit;f("name",t.icon)}}function Fv(a,r){a&1&&b(0,"span",59)}function Dv(a,r){if(a&1){let t=z();p(0,"a",61),V("click",function(o){C(t);let n=h().$implicit,s=h(4);return M(s.handleItemClick(n,o))}),u(1,Iv,1,1,"ng-icon",58),u(2,Fv,1,0,"span",59),p(3,"span",60),Z(4),d()()}if(a&2){let t=h().$implicit;P("has-actions",t.actions&&t.actions.length>0),f("href",t.route,Y)("target",t.external?"_blank":"_self")("rel",t.external?"noopener noreferrer":null),c(),m(t.icon?1:-1),c(),m(t.icon?-1:2),c(2),O(t.label)}}function Ev(a,r){if(a&1&&b(0,"img",63),a&2){let t=h(2).$implicit;f("src",t.thumbnail,Y)("alt",t.label)}}function Rv(a,r){if(a&1&&b(0,"ng-icon",58),a&2){let t=h(2).$implicit;f("name",t.icon)}}function Uv(a,r){a&1&&b(0,"span",59)}function Nv(a,r){if(a&1){let t=z();p(0,"button",62),V("click",function(o){C(t);let n=h().$implicit,s=h(4);return M(s.handleItemClick(n,o))}),u(1,Ev,1,2,"img",63)(2,Rv,1,1,"ng-icon",58)(3,Uv,1,0,"span",59),p(4,"span",60),Z(5),d()()}if(a&2){let t=h().$implicit;P("has-actions",t.actions&&t.actions.length>0),c(),m(t.thumbnail?1:t.icon?2:3),c(4),O(t.label)}}function jv(a,r){if(a&1){let t=z();p(0,"span",38)(1,"lib-sidebar-action-menu",51),V("actionClick",function(o){C(t);let n=h(5);return M(n.handleActionClick(o))}),d()()}if(a&2){let t=h().$implicit;c(),f("actions",t.actions)}}function $v(a,r){if(a&1&&(p(0,"li",53),u(1,Tv,5,6,"a",54),u(2,Dv,5,8,"a",55),u(3,Nv,6,4,"button",56),u(4,jv,2,1,"span",38),d()),a&2){let t=r.$implicit;P("active",t.isActive)("has-actions",t.actions&&t.actions.length>0),c(),m(t.route&&!t.external&&!t.crossApp?1:-1),c(),m(t.route&&(t.external||t.crossApp)?2:-1),c(),m(t.route?-1:3),c(),m(t.actions&&t.actions.length>0?4:-1)}}function Wv(a,r){if(a&1&&(p(0,"ul",40),V0(1,$v,5,8,"li",52,f1),d()),a&2){let t=h().$implicit;c(),Z0(t.children)}}function Gv(a,r){if(a&1&&(p(0,"li",33),u(1,ov,7,8,"a",34),u(2,cv,7,11,"a",35),u(3,mv,7,8,"a",36),u(4,Vv,7,8,"a",36),u(5,yv,7,7,"button",37),u(6,Sv,2,1,"span",38),u(7,kv,2,1,"div",39),u(8,Wv,3,0,"ul",40),d()),a&2){let t=r.$implicit,e=h(2);P("active",t.isActive)("has-children",t.children&&t.children.length>0)("has-actions",t.actions&&t.actions.length>0)("expanded",t.expanded)("disabled",t.disabled),F("data-item-id",t.id)("aria-disabled",t.disabled),c(),m(t.route&&!t.route.startsWith("#")&&t.external?1:-1),c(),m(t.route&&!t.route.startsWith("#")&&!t.external&&!t.crossApp?2:-1),c(),m(t.route&&!t.route.startsWith("#")&&!t.external&&t.crossApp?3:-1),c(),m(t.route&&t.route.startsWith("#")?4:-1),c(),m(t.route?-1:5),c(),m(t.actions&&t.actions.length>0&&!e.collapsed?6:-1),c(),m(e.collapsed&&!t.children?7:-1),c(),m(t.children&&t.expanded&&!e.collapsed?8:-1)}}function qv(a,r){if(a&1&&(p(0,"div",5),u(1,Q9,2,1,"div",30),p(2,"ul",31),V0(3,Gv,9,20,"li",32,f1),d()()),a&2){let t=r.$implicit,e=r.$index,o=h();F("data-section-index",e),c(),m(t.title&&!o.collapsed?1:-1),c(2),Z0(t.items)}}function Kv(a,r){a&1&&b(0,"div",64)}function Qv(a,r){a&1&&De(0)}function Yv(a,r){if(a&1&&(u(0,Kv,1,0,"div",64),u0(1,Qv,1,0,"ng-container",65)),a&2){let t=h(),e=Wa(8);m(t.sections.length?0:-1),c(),f("ngTemplateOutlet",e)}}function Xv(a,r){if(a&1&&(p(0,"span",44),Z(1),d()),a&2){let t=h(2);c(),O(t.feedItem.label)}}function Jv(a,r){if(a&1){let t=z();p(0,"div",66)(1,"ul",31)(2,"li",33)(3,"a",67),V("click",function(o){C(t);let n=h();
3return M(n.handleItemClick(n.feedItem,o))}),b(4,"ng-icon",68),u(5,Xv,2,1,"span",44),d()()()()}if(a&2){let t=h();c(3),f("href",t.feedItem.route,Y),F("aria-label",t.feedItem.label),c(2),m(t.collapsed?-1:5)}}function tp(a,r){if(a&1){let t=z();p(0,"img",6),V("load",function(){C(t);let o=h();return M(o.onLowQualityLoad())})("error",function(){C(t);let o=h();return M(o.onLowQualityError())}),d()}if(a&2){let t=h();P("loaded",t.lowQualityLoaded),f("src",t.lowQualityUrl,Y)("alt",t.alt),F("loading",t.priority()?"eager":"lazy")("fetchpriority",t.priority()?"high":null)}}function ep(a,r){if(a&1){let t=z();p(0,"img",7),V("load",function(){C(t);let o=h();return M(o.onHighQualityLoad())})("error",function(){C(t);let o=h();return M(o.onHighQualityError())}),d()}if(a&2){let t=h();P("loaded",t.highQualityLoaded),f("src",t.highQualityUrl,Y)("alt",t.alt),F("loading",t.priority()?"eager":"lazy")("fetchpriority",t.priority()?"high":null)}}function ap(a,r){if(a&1){let t=z();p(0,"img",8),V("load",function(){C(t);let o=h();return M(o.onDefaultAvatarLoad())})("error",function(){C(t);let o=h();return M(o.onDefaultAvatarError())}),d()}if(a&2){let t=h();f("src",t.defaultAvatarUrl,Y)("alt",t.alt)}}function op(a,r){if(a&1&&(p(0,"span",4),Z(1),d()),a&2){let t=h();c(),O(t.initial)}}function rp(a,r){a&1&&(p(0,"div",5),b(1,"div",9),d())}var np=["membershipBadge"];function sp(a,r){if(a&1){let t=z();p(0,"div",8)(1,"uni-progressive-image",9),V("error",function(o){C(t);let n=h();return M(n.onImageError(o))}),d()()}if(a&2){let t=h();c(),f("lowQualityUrl",t.imageUrls.lowQuality)("highQualityUrl",t.imageUrls.highQuality)("alt",t.productName||"Membership")("aspectRatio","1:1")("showSkeleton",!1)}}function ip(a,r){if(a&1&&b(0,"ng-icon",10),a&2){let t=h();f("name",t.getIconName())("size",t.getIconSize())}}function lp(a,r){if(a&1&&(p(0,"span",11),Z(1),d()),a&2){let t=h();c(),c0(" ",t.getBadgeText()," ")}}function hp(a,r){if(a&1){let t=z();ja(0),p(1,"div",1),V("click",function(o){C(t);let n=h();return M(n.onOverlayClick(o))}),d(),p(2,"div",2),N0(3),d(),$a()}if(a&2){let t=h();c(2),F("data-theme",t.isDarkTheme?"dark":"light")}}function cp(a,r){a&1&&b(0,"div",5)}function vp(a,r){if(a&1&&b(0,"uni-progressive-avatar",6),a&2){let t=h();f("user",t.buttonAvatarProps.user)("alt",t.buttonAvatarProps.alt)("initial",t.buttonAvatarProps.initial)("size",t.buttonAvatarProps.size)("priority",!0)}}function pp(a,r){if(a&1&&b(0,"uni-progressive-avatar",6),a&2){let t=h();f("user",t.drawerAvatarProps.user)("alt",t.drawerAvatarProps.alt)("initial",t.drawerAvatarProps.initial)("size",t.drawerAvatarProps.size)}}function gp(a,r){if(a&1&&(p(0,"p",7),Z(1),d()),a&2){let t=h();c(),O("@"+t.user.username)}}function dp(a,r){if(a&1&&b(0,"lib-membership-badge",8),a&2){let t=h();f("variant",t.membershipVariant)("productImage",t.activeMemberships[0]==null||t.activeMemberships[0].product==null?null:t.activeMemberships[0].product.image)("productName",t.activeMemberships[0]==null||t.activeMemberships[0].product==null?null:t.activeMemberships[0].product.name)}}var wp=()=>[import("./chunk-LQLVR4WM.js").then(a=>a.NotificationPanelComponent)];function up(a,r){if(a&1&&(p(0,"span",3),Z(1),d()),a&2){let t=h();F("aria-hidden",!0),c(),c0(" ",t.getBadgeText()," ")}}function mp(a,r){if(a&1){let t=z();p(0,"lib-notification-panel",4),V("close",function(){C(t);let o=h();return M(o.panelClose.emit())})("mobileDrawerStateChange",function(o){C(t);let n=h();return M(n.drawerStateChange.emit(o))}),d()}if(a&2){let t=h();f("show",t.showNotificationPanel&&!!t.user)("username",(t.user==null?null:t.user.username)||null)}}var fp=["navbarElement"],Cp=()=>[import("./chunk-HRHWYPS3.js").then(a=>a.NavDropdownMenuComponent)],Mp=()=>[import("./chunk-HO7PNYLB.js").then(a=>a.UserMenuContentComponent)],Ap=()=>[import("./chunk-VJJKAV2S.js").then(a=>a.MobileDrawerComponent),import("./chunk-HO7PNYLB.js").then(a=>a.UserMenuContentComponent),zw],Hp=(a,r)=>r.route||r.label;function xp(a,r){if(a&1&&(p(0,"div",16)(1,"span",17),Z(2),d()()),a&2){let t=h();P("visible",t.scrollState.isScrolled),c(2),O(t.pageTitle)}}function Vp(a,r){if(a&1){let t=z();p(0,"lib-nav-dropdown-menu",25),V("itemClick",function(o){C(t);let n=h(4);return M(n.onNavDropdownItemClick(o))}),d()}if(a&2){let t=h(2).$implicit,e=h(2);P("show",e.activeNavDropdown===t.label),f("items",t.dropdown)("colorTheme",t.label==="Designers"?"teal":t.label==="Experts"?"amber":t.label==="Organizations"?"blue":t.label==="Explore"?"neutral":"primary")}}function Zp(a,r){if(a&1){let t=z();p(0,"div",20)(1,"uni-button",22),V("onClick",function(){C(t);let o=h().$implicit,n=h(2);return M(n.toggleNavDropdown(o.label))})("blur",function(){C(t);let o=h(3);return M(o.closeNavDropdown())}),p(2,"span",23),Z(3),d(),b(4,"ng-icon",24),d(),u0(5,Vp,1,4),c1(6,5,Cp),Fe(),d()}if(a&2){let t=h().$implicit,e=h(2);c(),P("active",e.activeNavDropdown===t.label),f("ariaLabel",t.ariaLabel||t.label),F("aria-expanded",e.activeNavDropdown===t.label),c(2),O(t.label),c(3),V1(e.activeNavDropdown===t.label)}}function bp(a,r){if(a&1&&b(0,"ng-icon",27),a&2){let t=h(2).$implicit;f("name",t.icon)}}function Lp(a,r){if(a&1){let t=z();p(0,"uni-button",26),V("onClick",function(){C(t);let o=h().$implicit,n=h(2);return M(n.onNavLinkClick(o))}),u(1,bp,1,1,"ng-icon",27),p(2,"span",23),Z(3),d()()}if(a&2){let t=h().$implicit;P("external",t.external),f("ariaLabel",t.ariaLabel||t.label),c(),m(t.icon?1:-1),c(2),O(t.label)}}function _p(a,r){if(a&1&&(p(0,"div",19),u(1,Zp,8,6,"div",20)(2,Lp,4,5,"uni-button",21),d()),a&2){let t=r.$implicit;c(),m(t.dropdown&&t.dropdown.length>0?1:2)}}function Bp(a,r){if(a&1&&(p(0,"div",7)(1,"nav",18),V0(2,_p,3,1,"div",19,Hp),d()()),a&2){let t=h();c(2),Z0(t.navLinks)}}function zp(a,r){if(a&1&&(p(0,"span",32),Z(1,"Status:"),d(),p(2,"uni-chip",33),Z(3),d()),a&2){let t=h(3);c(2),f("variant",t.getStatusVariant(t.statusText)),c(),c0(" ",t.statusText," ")}}function yp(a,r){if(a&1&&(p(0,"span",31),Z(1),d()),a&2){let t=h(3);c(),O(t.statusText)}}function Sp(a,r){if(a&1&&(p(0,"div",28),u(1,zp,4,2)(2,yp,2,1,"span",31),d()),a&2){let t=h(2);c(),m(t.statusText==="Draft"||t.statusText==="Published"||t.statusText==="Unpublished"||t.statusText==="UNPUBLISHED CHANGES"||t.statusText==="Saving..."||t.statusText==="Saved just now"||t.statusText==="Pre-Draft"||t.statusText==="In Review"||t.statusText==="Template"||t.statusText==="Private"?1:2)}}function kp(a,r){if(a&1){let t=z();p(0,"uni-button",34),V("onClick",function(){C(t);let o=h(2);return M(o.onNextClick())}),Z(1),d()}if(a&2){let t=h(2);f("icon",t.nextButtonIcon)("iconPosition",t.nextButtonIconPosition)("disabled",t.nextButtonDisabled)("ariaLabel",t.getActionButtonAriaLabel("next",t.nextButtonDisabled)),c(),c0(" ",t.nextButtonText," ")}}function Pp(a,r){if(a&1){let t=z();p(0,"div",35),V("click",function(){C(t);let o=h(2);return M(o.publishButtonDisabled?o.publishButtonDisabledClick.emit():null)}),p(1,"uni-button",36),V("onClick",function(){C(t);let o=h(2);return M(o.onPublishClick())}),Z(2),d()()}if(a&2){let t=h(2);c(),f("disabled",t.publishButtonDisabled)("ariaLabel",t.getActionButtonAriaLabel("publish",t.publishButtonDisabled)),c(),c0(" ",t.publishButtonText," ")}}function Op(a,r){if(a&1&&(p(0,"div",9),u(1,Sp,3,1,"div",28),u(2,kp,2,5,"uni-button",29),u(3,Pp,3,3,"div",30),d()),a&2){let t=h();c(),m(t.showStatus?1:-1),c(),m(t.showNextButton?2:-1),c(),m(t.showPublishButton?3:-1)}}function Tp(a,r){if(a&1){let t=z();p(0,"uni-icon-button",37),V("onClick",function(){C(t);let o=h();return M(o.openSearchModal())}),d()}a&2&&f("circle",!0)}function Ip(a,r){if(a&1){let t=z();p(0,"uni-icon-button",38),V("onClick",function(){C(t);let o=h();return M(o.openUploadModal())}),d()}a&2&&f("circle",!0)}function Fp(a,r){if(a&1){let t=z();p(0,"lib-notification-button",39),V("notificationClick",function(){C(t);let o=h();return M(o.onNotificationClick())})("panelClose",function(){C(t);let o=h();return M(o.closeNotificationPanel())})("drawerStateChange",function(o){C(t);let n=h();return M(n.onNotificationDrawerStateChange(o))})("buttonHover",function(o){C(t);let n=h();return M(n.handleButtonHover("notifications",o))}),d()}if(a&2){let t=h();f("user",t.user)("notificationCount",t.notificationCount)("showNotificationPanel",t.uiState.dropdowns.notifications)}}function Dp(a,r){if(a&1){let t=z();p(0,"div",13)(1,"uni-button",40),V("onClick",function(){C(t);let o=h();return M(o.navigateToLogin())}),Z(2," Sign In "),d()()}}function Ep(a,r){if(a&1){let t=z();p(0,"lib-user-menu-content",42),V("dropdownClick",function(o){C(t);let n=h(3);return M(n.handleDropdownClick(o.event,o.route))}
3)("themeChange",function(o){C(t);let n=h(3);return M(n.setTheme(o))})("logout",function(){C(t);let o=h(3);return M(o.logout())})("footerLinkClick",function(o){C(t);let n=h(3);return M(n.onFooterLinkClick(o.event,o.route))})("itemHover",function(o){C(t);let n=h(3);return M(n.handleItemHover(o.item,o.isEntering))})("themeHover",function(o){C(t);let n=h(3);return M(n.handleThemeHover(o.theme,o.isEntering))}),d()}if(a&2){let t=h(3);f("user",t.userMenuProps.user)("currentTheme",t.userMenuProps.currentTheme)("hasActiveMembership",t.userMenuProps.hasActiveMembership)("membershipVariant",t.userMenuProps.membershipVariant)("activeMemberships",t.userMenuProps.activeMemberships)("hoveredItem",t.userMenuProps.hoveredItem)("hoveredTheme",t.userMenuProps.hoveredTheme)}}function Rp(a,r){if(a&1&&(u0(0,Ep,1,7),c1(1,0,Mp),Fe()),a&2){let t=h(2);c(),V1(t.uiState.dropdowns.user)}}function Up(a,r){if(a&1){let t=z();p(0,"lib-user-avatar",41),V("avatarClick",function(){C(t);let o=h();return M(o.toggleDropdown())})("avatarBlur",function(){C(t);let o=h();return M(o.closeDropdown())}),u(1,Rp,3,1),d()}if(a&2){let t=h();f("user",t.user)("authLoading",t.authLoading)("showDropdown",t.uiState.dropdowns.user)("isMobileView",t.uiState.isMobileView)("isDarkTheme",t.uiState.isDarkTheme),c(),m(t.uiState.isMobileView?-1:1)}}function Np(a,r){if(a&1){let t=z();p(0,"lib-mobile-drawer",43),V("closeDrawer",function(){C(t);let o=h(2);return M(o.onMobileDrawerClose())}),b(1,"lib-mobile-drawer-header",44),p(2,"div",45)(3,"lib-user-menu-content",46),V("dropdownClick",function(o){C(t);let n=h(2);return M(n.handleDropdownClick(o.event,o.route))}
3)("themeChange",function(o){C(t);let n=h(2);return M(n.setTheme(o))})("logout",function(){C(t);let o=h(2);return M(o.logout())})("footerLinkClick",function(o){C(t);let n=h(2);return M(n.onFooterLinkClick(o.event,o.route))})("itemHover",function(o){C(t);let n=h(2);return M(n.handleItemHover(o.item,o.isEntering))})("themeHover",function(o){C(t);let n=h(2);return M(n.handleThemeHover(o.theme,o.isEntering))}),d()()()}if(a&2){let t=h(2);f("isOpen",t.uiState.dropdowns.user)("showCustomHeader",!0),c(),f("user",t.user)("hasActiveMembership",t.userMenuProps.hasActiveMembership)("membershipVariant",t.userMenuProps.membershipVariant)("activeMemberships",t.userMenuProps.activeMemberships),c(2),f("user",t.userMenuProps.user)("isMobileView",!0)("currentTheme",t.userMenuProps.currentTheme)("hasActiveMembership",t.userMenuProps.hasActiveMembership)("membershipVariant",t.userMenuProps.membershipVariant)("activeMemberships",t.userMenuProps.activeMemberships)("hoveredItem",t.userMenuProps.hoveredItem)("hoveredTheme",t.userMenuProps.hoveredTheme)}}function jp(a,r){if(a&1&&(u0(0,Np,4,14),c1(1,0,Ap)),a&2){let t=h();c(),V1(t.uiState.dropdowns.user)}}function $p(a,r){if(a&1&&(p(0,"span",32),Z(1,"Status:"),d(),p(2,"uni-chip",33),Z(3),d()),a&2){let t=h(3);c(2),f("variant",t.getStatusVariant(t.statusText)),c(),c0(" ",t.statusText," ")}}function Wp(a,r){if(a&1&&(p(0,"span",31),Z(1),d()),a&2){let t=h(3);c(),O(t.statusText)}}function Gp(a,r){if(a&1&&(p(0,"div",28),u(1,$p,4,2)(2,Wp,2,1,"span",31),d()),a&2){let t=h(2);c(),m(t.statusText==="Draft"||t.statusText==="Published"||t.statusText==="Unpublished"||t.statusText==="UNPUBLISHED CHANGES"||t.statusText==="Saving..."||t.statusText==="Saved just now"||t.statusText==="Pre-Draft"||t.statusText==="In Review"||t.statusText==="Template"||t.statusText==="Private"?1:2)}}function qp(a,r){if(a&1){let t=z();p(0,"uni-button",34),V("onClick",function(){C(t);let o=h(2);return M(o.onNextClick())}),Z(1),d()}if(a&2){let t=h(2);f("icon",t.nextButtonIcon)("iconPosition",t.nextButtonIconPosition)("disabled",t.nextButtonDisabled)("ariaLabel",t.getActionButtonAriaLabel("next",t.nextButtonDisabled)),c(),c0(" ",t.nextButtonText," ")}}function Kp(a,r){if(a&1){let t=z();p(0,"div",35),V("click",function(){C(t);let o=h(2);return M(o.publishButtonDisabled?o.publishButtonDisabledClick.emit():null)}),p(1,"uni-button",36),V("onClick",function(){C(t);let o=h(2);return M(o.onPublishClick())}),Z(2),d()()}if(a&2){let t=h(2);c(),f("disabled",t.publishButtonDisabled)("ariaLabel",t.getActionButtonAriaLabel("publish",t.publishButtonDisabled)),c(),c0(" ",t.publishButtonText," ")}}function Qp(a,r){if(a&1&&(p(0,"div",15)(1,"div",47)(2,"div",48),u(3,Gp,3,1,"div",28),d(),p(4,"div",49),u(5,qp,2,5,"uni-button",29),u(6,Kp,3,3,"div",30),d()()()),a&2){let t=h();c(3),m(t.showStatus?3:-1),c(2),m(t.showNextButton?5:-1),c(),m(t.showPublishButton?6:-1)}}function Yp(a,r){if(a&1&&b(0,"ng-icon",6),a&2){let t=h().$implicit;f("name",t.icon)}}function Xp(a,r){if(a&1){let t=z();p(0,"li",3)(1,"a",4),V("click",function(o){let n=C(t).$implicit,s=h();return M(s.onSkipLinkClick(o,n.target))}),u0(2,Yp,1,1,"ng-icon",5),p(3,"span"),Z(4),d()()()}if(a&2){let t=r.$implicit;c(),f("href",t.target,Y),F("aria-label",t.label),c(),f("ngIf",t.icon),c(2),O(t.label)}}function Jp(a,r){if(a&1){let t=z();p(0,"button",8),V("click",function(){C(t);let o=h().$implicit,n=h();return M(n.runAction(o))}),Z(1),d()}if(a&2){let t=h().$implicit;c(),O(t.action.label)}}function tg(a,r){if(a&1){let t=z();p(0,"div",1)(1,"div",2),b(2,"ng-icon",3),p(3,"span",4),Z(4),d()(),u(5,Jp,2,1,"button",5),p(6,"button",6),V("click",function(){let o=C(t).$implicit,n=h();return M(n.close(o.id))}),b(7,"ng-icon",7),d()()}if(a&2){let t=r.$implicit,e=h();f("ngClass",e.getTypeClass(t.type)),c(2),f("name",e.getIcon(t.type)),c(2),O(t.message),c(),m(t.action?5:-1)}}function eg(a,r){if(a&1&&(Z(0," Confirmation sent to "),p(1,"strong"),Z(2),d(),Z(3,". Check your inbox, and your spam folder. ")),a&2){let t=h(2);c(2),O(t.email())}}function ag(a,r){if(a&1&&Z(0),a&2){let t=h(2);c0(" ",t.error()," ")}}function og(a,r){a&1&&Z(0," Your email address isn't confirmed yet, so competition results and password resets may not reach you. ")}function rg(a,r){if(a&1){let t=z();p(0,"button",6),V("click",function(){C(t);let o=h(2);return M(o.resend())}),Z(1),d()}if(a&2){let t=h(2);f("disabled",t.busy()),c(),c0(" ",t.busy()?"Sending\u2026":"Send confirmation email"," ")}}function ng(a,r){if(a&1){let t=z();p(0,"div",0),b(1,"ng-icon",1),p(2,"span",2),u(3,eg,4,1)(4,ag,1,1)(5,og,1,0
3),d(),u(6,rg,2,2,"button",3),p(7,"button",4),V("click",function(){C(t);let o=h();return M(o.dismiss())}),b(8,"ng-icon",5),d()()}if(a&2){let t=h();c(3),m(t.sent()?3:t.error()?4:5),c(3),m(!t.sent()&&!t.error()?6:-1)}}var sg=["mainContent"],ig=["*",[["","slot-after-footer",""]]],lg=["*","[slot-after-footer]"],hg=()=>[import("./chunk-EES5MXQF.js").then(a=>a.SearchModalComponent)],cg=()=>[import("./chunk-K6QKXEWI.js").then(a=>a.UniStaffUploadModalComponent)],vg=()=>[import("./chunk-4Z5ETXG2.js").then(a=>a.AppsModalComponent)],pg=()=>[import("./chunk-OYFO6EJF.js").then(a=>a.FooterComponent)],gg=()=>[import("./chunk-W66PNQLD.js").then(a=>a.BottomNavigationComponent)];function dg(a,r){if(a&1){let t=z();p(0,"lib-navbar",9),V("searchOpen",function(){C(t);let o=h();return M(o.onSearchOpen())})("searchClose",function(){C(t);let o=h();return M(o.onSearchClose())})("mobileDrawerStateChange",function(o){C(t);let n=h();return M(n.onNavbarDrawerStateChange(o))})("nextClick",function(){C(t);let o=h();return M(o.onNavbarNextClick())})("publishClick",function(){C(t);let o=h();return M(o.onNavbarPublishClick())})("publishButtonDisabledClick",function(){C(t);let o=h();return M(o.onNavbarPublishButtonDisabledClick())})("uploadModalOpen",function(){C(t);let o=h();return M(o.onUploadModalOpen())})("logoutClick",function(){C(t);let o=h();return M(o.onLogout())}),d()}if(a&2){let t=h();P("with-sidebars",t.showIconSidebar||t.showSidebarMenu)("icon-sidebar-only",t.showIconSidebar&&!t.showSidebarMenu)("no-sidebars",!t.showIconSidebar&&!t.showSidebarMenu),f("user",t.user)("authLoading",t.authLoading)("notificationCount",t.notificationCount)("pageTitle",t.pageTitle)("navLinks",t.navLinks)("transparentOnLoad",t.transparentNavbarOnLoad)("showSearch",t.showSearch)("showLogo",!t.showIconSidebar)("showNextButton",t.showNextButton)("showPublishButton",t.showPublishButton)("nextButtonDisabled",t.nextButtonDisabled)("publishButtonDisabled",t.publishButtonDisabled)("nextButtonText",t.nextButtonText)("nextButtonIcon",t.nextButtonIcon)("nextButtonIconPosition",t.nextButtonIconPosition)("publishButtonText",t.publishButtonText)("showStatus",t.showStatus)("statusText",t.statusText)}}function wg(a,r){if(a&1){let t=z();p(0,"lib-icon-sidebar",10),V("allAppsClick",function(){C(t);let o=h();return M(o.appsModalOpen=!0)})("itemClick",function(o){C(t);let n=h();return M(n.handleIconSidebarClick(o))}),d()}if(a&2){let t=h();f("contextItem",t.iconSidebarContextItem)}}function ug(a,r){if(a&1){let t=z();p(0,"lib-sidebar-menu",11),V("itemClick",function(o){C(t);let n=h();return M(n.handleSidebarMenuClick(o))})("headerImageRegisterClick",function(){C(t);let o=h();return M(o.handleSidebarHeaderImageRegisterClick())})("headerImageSubmitClick",function(){C(t);let o=h();return M(o.handleSidebarHeaderImageSubmitClick())})("headerImageViewResultsClick",function(){C(t);let o=h();return M(o.handleSidebarHeaderImageViewResultsClick())})("headerImageVoteClick",function(){C(t);let o=h();return M(o.handleSidebarHeaderImageVoteClick())})("headerImageEvaluateClick",function(){C(t);let o=h();return M(o.handleSidebarHeaderImageEvaluateClick())}),d()}if(a&2){let t=h();f("sections",t.sidebarSections)("showFeedLink",t.showFeedLink)("feedItem",t.feedItem??t.DEFAULT_FEED_ITEM)("collapsed",t.sidebarCollapsed)("showHeader",t.showSidebarHeader)("showCollapseToggle",t.showSidebarCollapseToggle)("allowCollapse",t.allowSidebarCollapse)("headerTitle",t.sidebarHeaderTitle)("headerIcon",t.sidebarHeaderIcon)("headerImage",t.sidebarHeaderImage)("headerImageLowQuality",t.sidebarHeaderImageLowQuality)("headerImageTitle",t.sidebarHeaderImageTitle)("headerImageSubtitle",t.sidebarHeaderImageSubtitle)("showHeaderImageButtons",t.showSidebarHeaderImageButtons)("showHeaderImageRegisterButton",t.showSidebarHeaderImageRegisterButton)("showHeaderImageSubmitButton",t.showSidebarHeaderImageSubmitButton)("showHeaderImageViewResultsButton",t.showSidebarHeaderImageViewResultsButton)("showHeaderImageVoteButton",t.showSidebarHeaderImageVoteButton)("headerImageRegisterButtonText",t.sidebarHeaderImageRegisterButtonText)("headerImageSubmitButtonText",t.sidebarHeaderImageSubmitButtonText)("headerImageViewResultsButtonText",t.sidebarHeaderImageViewResultsButtonText)("headerImageVoteButtonText",t.sidebarHeaderImageVoteButtonText)("headerImageRegisterInfoText",t.sidebarHeaderImageRegisterInfoText)("headerImageRegisterSubtext",t.sidebarHeaderImageRegisterSubtext)("headerImageRegisterButtonVariant",t.sidebarHeaderImageRegisterButtonVariant)("headerImageRegisterButtonColor",t.sidebarHeaderImageRegisterButtonColor)("headerImageSubmitButtonVariant",t.sidebarHeaderImageSubmitButtonVariant)("headerImageSubmitButtonColor",t.sidebarHeaderImageSubmitButtonColor)("headerImageViewResultsInfoText",t.sidebarHeaderImageViewResultsInfoText)("headerImageViewResultsLinkText",t.sidebarHeaderImageViewResultsLinkText)("headerImageViewResultsLinkUrl",t.sidebarHeaderImageViewResultsLinkUrl)("headerImageVoteInfoText",t.sidebarHeaderImageVoteInfoText)("headerImageVoteLinkText",t.sidebarHeaderImageVoteLinkText)("headerImageVoteLinkUrl",t.sidebarHeaderImageVoteLinkUrl)("headerImageVoteButtonVariant",t.sidebarHeaderImageVoteButtonVariant)("headerImageVoteButtonColor",t.sidebarHeaderImageVoteButtonColor)("showHeaderImageEvaluateButton",t.showSidebarHeaderImageEvaluateButton)("headerImageEvaluateButtonText",t.sidebarHeaderImageEvaluateButtonText)}}function mg(a,r){a&1&&b(0,"div",7)}function fg(a,r){a&1&&b(0,"lib-footer",12)}function Cg(a,r){a&1&&b(0,"div",13)}function Mg(a,r){a&1&&(u0(0,fg,1,0)(1,Cg,1,0),c1(2,0,pg,null,1,null,null,null,null,1),Ua(),Ra(0,-1))}function Ag(a,r){if(a&1){let t=z();p(0,"lib-bottom-navigation",14),V("allAppsClick",function(){C(t);let o=h(2);return M(o.appsModalOpen=!0)})("openIconSidebar",function(){C(t);let o=h(2);return M(o.onMobileExploreOpen())})("closeIconSidebar",function(){C(t);let o=h(2);return M(o.onMobileExploreClose())})("openPageSidebar",function(){C(t);let o=h(2);return M(o.onMobileNavigateOpen())})("closePageSidebar",function(){C(t);let o=h(2);return M(o.onMobileNavigateClose())})("pageSidebarItemClick",function(o){C(t);let n=h(2);return M(n.handlePageSidebarClick(o))})("exploreGridItemClick",function(o){C(t);let n=h(2);return M(n.handleExploreGridClick(o))}),d()}if(a&2){let t=h(2);f("pageSidebarSections",t.pageSidebarSections)("exploreGridSections",t.exploreGridSections)("scrollContainer",t.appMode?t.mainContentRef==null?null:t.mainContentRef.nativeElement:void 0)}}function Hg(a,r){a&1&&b(0,"div",15)}function xg(a,r){if(a&1&&(u0(0,Ag,1,3)(1,Hg,1,0),c1(2,0,gg,null,1)),a&2){let t=h();c(2),V1(t.isMobileViewport())}}function Vg(a,r){if(a&1){let t=z();p(0,"lib-search-modal",16),V("close",function(){C(t);let o=h();return M(o.onSearchClose())}),d()}if(a&2){let t=h();f("show",t.showSearchModal)}}function Zg(a,r){if(a&1){let t=z();p(0,"uni-staff-upload-modal",17),V("modalClose",function(){C(t);let o=h();return M(o.onUploadModalClose())}),d()}if(a&2){let t=h();
3f("isOpen",t.showUploadModal)}}function bg(a,r){if(a&1){let t=z();p(0,"lib-apps-modal",18),V("closed",function(){C(t);let o=h();return M(o.appsModalOpen=!1)}),d()}if(a&2){let t=h();f("isOpen",t.appsModalOpen)}}var Lg=["fileInput"];function _g(a,r){a&1&&(ye(),p(0,"svg",3),b(1,"circle",12)(2,"path",13),d())}function Bg(a,r){a&1&&(ye(),p(0,"svg",4),b(1,"circle",14)(2,"circle",15),p(3,"text",16),Z(4,"404"),d()())}function zg(a,r){if(a&1&&(p(0,"p",8),Z(1),d()),a&2){let t=h();c(),O(t.suggestion)}}function yg(a,r){if(a&1&&(p(0,"a",10),Z(1),d()),a&2){let t=h();f("routerLink",t.homeRoute),c(),c0(" ",t.homeButtonText," ")}}function Sg(a,r){if(a&1){let t=z();p(0,"button",17),V("click",function(){C(t);let o=h();return M(o.goBack())}),Z(1),d()}if(a&2){let t=h();c(),c0(" ",t.backButtonText," ")}}function kg(a,r){a&1&&(p(0,"span",10),Z(1,"*"),d())}function Pg(a,r){if(a&1&&(p(0,"label",1),Z(1),u(2,kg,2,0,"span",10),d()),a&2){let t=h();f("for",t.inputId),c(),c0(" ",t.label," "),c(),m(t.required?2:-1)}}function Og(a,r){if(a&1&&(p(0,"div",6),Z(1),d()),a&2){let t=h();c(),O(t.hint)}}function Tg(a,r){if(a&1&&(p(0,"div",7),Z(1),d()),a&2){let t=h();c(),O(t.errorMessage)}}function Ig(a,r){if(a&1&&(p(0,"div",8)(1,"div",11),b(2,"div",12),d(),p(3,"span",13),Z(4),d()()),a&2){let t=h();c(2),v1("width",t.passwordStrength().percentage,"%"),P("weak",t.passwordStrength().level==="weak")("medium",t.passwordStrength().level==="md")("strong",t.passwordStrength().level==="strong"),c(),P("weak",t.passwordStrength().level==="weak")("medium",t.passwordStrength().level==="md")("strong",t.passwordStrength().level==="strong"),c(),O(t.passwordStrength().text)}}function Fg(a,r){if(a&1&&(p(0,"li"),Z(1),d()),a&2){let t=r.$implicit;c(),O(t)}}function Dg(a,r){if(a&1&&(p(0,"div",9)(1,"div",14),Z(2,"Suggestions:"),d(),p(3,"ul",15),V0(4,Fg,2,1,"li",null,Na),d()()),a&2){let t=h();c(4),Z0(t.passwordStrength().suggestions)}}function Eg(a,r){if(a&1&&b(0,"img",3),a&2){let t=h();f("src",t.imageUrl,Y)("alt",t.alt)}}function Rg(a,r){if(a&1&&(p(0,"div",4),b(1,"ng-icon",12),d()),a&2){let t=h();c(),f("size",t.placeholderIconSize)}}function Ug(a,r){a&1&&(p(0,"div",5)(1,"div",13),b(2,"div",14),d()())}function Ng(a,r){if(a&1){let t=z();p(0,"button",15),V("click",function(o){C(t);let n=h();return M(n.onDeleteClick(o))}),b(1,"ng-icon",16),d()}if(a&2){let t=h();f("title",t.deleteButtonTitle)("disabled",t.isUploading||t.disabled),F("aria-label",t.deleteButtonTitle)}}function jg(a,r){if(a&1&&(p(0,"p",7),Z(1),d()),a&2){let t=h();c(),O(t.emptyMessage)}}var $g=["content"];function Wg(a,r){a&1&&N0(0)}var Gg=["tabHeadersContainer"],ml=(a,r)=>r.label||a;function qg(a,r){if(a&1){let t=z();p(0,"uni-icon-button",9),V("onClick",function(){C(t);let o=h();return M(o.scrollLeft())}),d()}a&2&&f("circle",!0)}function Kg(a,r){if(a&1&&b(0,"ng-icon",11),a&2){let t=h().$implicit;f("name",t.icon)}}function Qg(a,r){if(a&1){let t=z();p(0,"button",10),V("click",function(){let o=C(t).$index,n=h();return M(n.selectTab(o))})("keydown",function(o){let n=C(t).$index,s=h();return M(s.onKeyDown(o,n))}),u(1,Kg,1,1,"ng-icon",11),p(2,"span"),Z(3),d()()}if(a&2){let t=r.$implicit,e=r.$index,o=h();P("active",o.selectedIndex===e)("disabled",t.disabled),f("disabled",t.disabled),F("role","tab")("aria-selected",o.selectedIndex===e)("aria-controls","tab-panel-"+e)("id","tab-"+e)("tabindex",o.selectedIndex===e?0:-1),c(),m(t.icon?1:-1),c(2),O(t.label)}}function Yg(a,r){if(a&1){let t=z();p(0,"uni-icon-button",12),V("onClick",function(){C(t);let o=h();return M(o.scrollRight())}),d()}a&2&&f("circle",!0)}function Xg(a,r){a&1&&De(0)}function Jg(a,r){if(a&1&&u0(0,Xg,1,0,"ng-container",14),a&2){let t=h().$implicit;f("ngTemplateOutlet",t.content)}}function td(a,r){if(a&1&&(p(0,"div",13),u(1,Jg,1,1,"ng-container"),d()),a&2){let t=r.$index,e=h();P("active",e.selectedIndex===t),f("hidden",e.selectedIndex!==t),F("role","tabpanel")("aria-labelledby","tab-"+t)("id","tab-panel-"+t),c(),m(e.selectedIndex===t?1:-1)}}var Ol=(()=>{class a{THEME_KEY="uni-xyz-theme";themeSubject=new X("light");effectiveThemeSubject=new X("light");document=v(G);platformId=v(N);destroyRef=v(r0);mediaQuery=null;mediaQueryHandler=null;constructor(){this.initializeTheme(),L(this.platformId)&&this.setupMediaQueryListener()}get theme$(){return this.themeSubject.asObservable()}get effectiveTheme$(){return this.effectiveThemeSubject.asObservable()}
3get currentTheme(){return this.themeSubject.value}get currentEffectiveTheme(){return this.effectiveThemeSubject.value}setTheme(t){this.themeSubject.next(t),this.saveTheme(t),this.applyTheme()}toggleTheme(){let e=this.currentEffectiveTheme==="light"?"dark":"light";this.setTheme(e)}initializeTheme(){let t=this.getSavedTheme();t?this.themeSubject.next(t):this.themeSubject.next("auto"),this.applyTheme()}setupMediaQueryListener(){L(this.platformId)&&(this.mediaQuery=window.matchMedia("(prefers-color-scheme: dark)"),this.mediaQueryHandler=()=>{this.currentTheme==="auto"&&this.applyTheme()},this.mediaQuery.addEventListener("change",this.mediaQueryHandler),this.destroyRef.onDestroy(()=>{this.mediaQuery&&this.mediaQueryHandler&&(this.mediaQuery.removeEventListener("change",this.mediaQueryHandler),this.mediaQuery=null,this.mediaQueryHandler=null)}),this.mediaQueryHandler())}applyTheme(){let t=this.currentTheme,e;t==="auto"?L(this.platformId)?e=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e="light":e=t,this.document.documentElement.setAttribute("data-theme",e),this.document.body.setAttribute("data-theme",e),this.document.documentElement.className=`theme-${e}`,this.document.body.className=`theme-${e}`,this.updateMetaThemeColor(e),this.effectiveThemeSubject.next(e),this.addTransitionClass()}updateMetaThemeColor(t){if(!L(this.platformId))return;let e=this.document.querySelector('meta[name="theme-color"]');if(e){let o=this.document.documentElement,n=getComputedStyle(o),s=t==="dark"?n.getPropertyValue("--neutral-900").trim()||"#232323":n.getPropertyValue("--primary-500").trim()||"#f15a24";e.setAttribute("content",s)}}addTransitionClass(){if(!L(this.platformId))return;let t=this.document.documentElement;t.classList.add("theme-transition"),setTimeout(()=>{t.classList.remove("theme-transition")},300)}getSavedTheme(){if(L(this.platformId)&&window.localStorage){let t=localStorage.getItem(this.THEME_KEY);if(t==="light"||t==="dark"||t==="auto")return t}return null}saveTheme(t){L(this.platformId)&&window.localStorage&&localStorage.setItem(this.THEME_KEY,t)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function p0(a){if(typeof window>"u")return`http://127.0.0.1:8000${a}`;let r=window.location.hostname;return r==="localhost"||r==="127.0.0.1"?`https://dev.uni.xyz${a}`:r.includes("dev.uni.xyz")?`https://dev.uni.xyz${a}`:r==="uni.xyz"||r==="www.uni.xyz"?`https://uni.xyz${a}`:`${window.location.origin}${a}`}var He=(()=>{class a{platformId=v(N);getApiUrl(){return p0("")}getDomain(){if(!L(this.platformId))return"";let t=window.location.hostname;return t==="localhost"||t==="127.0.0.1"?"":t.includes("uni.xyz")?".uni.xyz":""}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function Tl(a,r){if(!L(r))return;let t=window;typeof t.requestIdleCallback=="function"?t.requestIdleCallback(a,{timeout:2e3}):setTimeout(a,200)}var QH=(()=>{class a{http=v(w0);configService=v(He);tokenExtractor=v(X1);platformId=v(N);injector=v(d0);notificationsSubject=new X([]);notifications$=this.notificationsSubject.asObservable();unreadCountSubject=new X(0);unreadCount$=this.unreadCountSubject.asObservable();loadingSubject=new X(!1);loading$=this.loadingSubject.asObservable();getCsrfToken(){let t=this.tokenExtractor.getToken();if(t)return t;let e="csrftoken=",n=decodeURIComponent(document.cookie).split(";");for(let s=0;s<n.length;s++){let i=n[s];for(;i.charAt(0)===" ";)i=i.substring(1);if(i.indexOf(e)===0)return i.substring(e.length,i.length)}return null}fetchNotifications(t=1){this.loadingSubject.next(!0);let e=this.configService.getApiUrl();return this.http.get(`${e}/api/v2/user_notifications/?page=${t}`,{withCredentials:!0}).pipe(J(o=>{if(t===1)this.notificationsSubject.next(o.results);else{let n=this.notificationsSubject.value;this.notificationsSubject.next([...n,...o.results])}this.loadingSubject.next(!1)}),l0(o=>{throw this.loadingSubject.next(!1),o}))}markAsRead(t){let e=this.configService.getApiUrl();return this.http.put(`${e}/api/v2/user_notifications/${t}/mark_read/`,{},{withCredentials:!0}).pipe(J(()=>{let o=this.notificationsSubject.value,n=o.map(i=>i.id===t?R(H({},i),{read:!0}):i);if(this.notificationsSubject.next(n),o.find(i=>i.id===t)?.read===!1){let i=this.unreadCountSubject.value;this.unreadCountSubject.next(Math.max(0,i-1))}}))}markAllAsRead(){let t=this.configService.getApiUrl();return this.http.get(`${t}/api/v2/user_notifications/mark_all_read/`,{withCredentials:!0}).pipe(J(()=>{let o=this.notificationsSubject.value.map(n=>R(H({},n),{read:!0}));this.notificationsSubject.next(o),this.unreadCountSubject.next(0)}))}fetchUnreadCount(){if(!L(this.platformId))return y(0);let t=this.configService.getApiUrl(),e=this.http.get(`${t}/api/v2/user_notifications/unread_count/`,{withCredentials:!0}).pipe(T(o=>o.count),J(o=>this.unreadCountSubject.next(o)),l0(o=>(this.unreadCountSubject.next(0),[0])));return new o1(o=>{let n,s=!1,i=x1(()=>{Tl(()=>{s||(n=e.subscribe({next:l=>o.next(l),error:l=>o.error(l),complete:()=>o.complete()}
3))},this.platformId)},{injector:this.injector});return()=>{s=!0,i.destroy(),n?.unsubscribe()}})}clearNotifications(){this.notificationsSubject.next([])}getTimeAgo(t){let e=new Date(t),n=Math.floor((new Date().getTime()-e.getTime())/1e3);if(n<60)return"just now";let s=Math.floor(n/60);if(s<60)return`${s}m ago`;let i=Math.floor(s/60);if(i<24)return`${i}h ago`;let l=Math.floor(i/24);if(l<7)return`${l}d ago`;let g=Math.floor(l/7);if(g<4)return`${g}w ago`;let w=Math.floor(l/30);return w<12?`${w}mo ago`:`${Math.floor(l/365)}y ago`}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),YH=(()=>{class a{typePatterns=[{pattern:/\bfollow/i,type:"follow"},{pattern:/\bliked\b|\blike\b|\bappreciation/i,type:"like"},{pattern:/\bcommented\b|\bcomment\b|\breply\b|\breplied\b/i,type:"comment"},{pattern:/\bcompetition\b|\bwon\b/i,type:"competition"},{pattern:/\brated\b|\brating\b/i,type:"rating"},{pattern:/\bwarning\b/i,type:"warning"},{pattern:/\bapplied\b|\bapplication\b|\bshortlisted\b|\bhired\b|\bselected for\b/i,type:"job"},{pattern:/\binquiry\b|\binquired\b/i,type:"inquiry"}];iconMap={competition:"phosphorTrophy",like:"phosphorHeart",comment:"phosphorChatCircle",follow:"phosphorUserPlus",rating:"phosphorStar",warning:"phosphorWarning",job:"phosphorBriefcase",inquiry:"phosphorChatCircle",info:"phosphorInfo"};cssClassMap={competition:"notification-competition",like:"notification-like",comment:"notification-comment",follow:"notification-follow",rating:"notification-rating",warning:"notification-warning",job:"notification-job",inquiry:"notification-inquiry",info:"notification-info"};detectType(t){let e=t.toLowerCase();for(let{pattern:o,type:n}of this.typePatterns)if(o.test(e))return n;return"info"}getIcon(t){let e=this.normalizeType(t);return this.iconMap[e]}getCssClass(t){let e=this.normalizeType(t);return this.cssClassMap[e]}normalizeType(t){switch(t){case"competition_win":case"competition_result":return"competition";case"appreciation":return"like";case"reply":return"comment";default:return this.isValidType(t)?t:"info"}}isValidType(t){return Object.keys(this.iconMap).includes(t)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),N2=class{cache=new Map;maxSize;ttl;onEvict;constructor(r={}){this.maxSize=r.maxSize??100,this.ttl=r.ttl,this.onEvict=r.onEvict}get(r){let t=this.cache.get(r);if(t){if(this.ttl&&Date.now()-t.timestamp>this.ttl){this.delete(r);return}return this.cache.delete(r),this.cache.set(r,t),t.value}}set(r,t){for(this.cache.has(r)&&this.cache.delete(r);this.cache.size>=this.maxSize;){let e=this.cache.keys().next().value;if(e!==void 0){let o=this.cache.get(e);this.cache.delete(e),this.onEvict&&o&&this.onEvict(e,o.value)}}this.cache.set(r,{value:t,timestamp:Date.now()})}has(r){let t=this.cache.get(r);return t?this.ttl&&Date.now()-t.timestamp>this.ttl?(this.delete(r),!1):!0:!1}delete(r){let t=this.cache.get(r),e=this.cache.delete(r);return e&&this.onEvict&&t&&this.onEvict(r,t.value),e}clear(){this.onEvict&&this.cache.forEach((r,t)=>{this.onEvict(t,r.value)}),this.cache.clear()}get size(){return this.cache.size}keys(){return this.cache.keys()}values(){return Array.from(this.cache.values()).map(r=>r.value)}prune(){if(!this.ttl)return 0;let r=Date.now(),t=0;for(let[e,o]of this.cache.entries())r-o.timestamp>this.ttl&&(this.delete(e),t++);return t}getStats(){return{size:this.cache.size,maxSize:this.maxSize,ttl:this.ttl}}},fl=new N2({maxSize:200,ttl:10*60*1e3}),Ae="https://img.uni.xyz/",Il=[/https:\/\/([^\.]+)\.s3\.amazonaws\.com\//,/https:\/\/s3\.amazonaws\.com\/([^\/]+)\//,/https:\/\/s3\.[^\.]+\.amazonaws\.com\/([^\/]+)\//,/https:\/\/([^\.]+)\.s3\.[^\.]+\.amazonaws\.com\//],ed=[/https:\/\/d[a-z0-9]+\.cloudfront\.net\//,/https:\/\/[^\/]+\.cloudfront\.net\//];function Ft(a){return!a||a.includes("X-Amz-Signature")||a.includes("unixyz-private")?!1:Il.some(r=>r.test(a))}function na(a){return a?ed.some(r=>r.test(a)):!1}function ad(a){let r=a.trim();for(let t of Il){let e=r.match(t);if(e&&e.index!==void 0){let o=e[1],n=r.slice(e.index+e[0].length),s;try{s=decodeURIComponent(n)}catch{s=n}return{bucket:o,path:s}}}return null}function od(a,r={}){let t=new URL(a);return r.width&&t.searchParams.set("w",r.width.toString()),r.height&&t.searchParams.set("h",r.height.toString()),r.quality&&t.searchParams.set("q",r.quality.toString()),r.format&&r.format!=="auto"&&t.searchParams.set("fm",r.format),r.fit&&t.searchParams.set("fit",r.fit),r.format==="auto"&&t.searchParams.set("auto","format"),t.toString()}function Dt(a){if(!a)return!1;let t=a.split("?")[0].split(".").pop()?.toLowerCase();return["gif","apng"].includes(t||"")}function sa(a){if(!a)return!1;let t=a.split("?")[0].split(".").pop()?.toLowerCase();return["bmp","tiff","tif","raw","cr2","nef","arw","dng","ico","heic","psd","pdf","svg","ai","mp4","webm","mov","avi","zip","csv","txt","doc","docx","xls","xlsx"].includes(t||"")}function rd(a,r={}){if(!a)return"";if(Dt(a)||sa(a))return a;
3if(na(a))return od(a,r);if(!Ft(a))return a;let t=nd(a,r);return t?`${Ae}${t}`:a}function nd(a,r={}){if(!a)return null;let t=ad(a);if(!t||!(r.width||r.height||r.quality||r.format||r.fit||r.blur||r.sharpen))return null;let o={bucket:t.bucket,key:t.path,edits:{}};if((r.width||r.height)&&(o.edits.resize={},r.width&&(o.edits.resize.width=r.width),r.height&&(o.edits.resize.height=r.height),r.fit&&(o.edits.resize.fit=r.fit||"cover")),r.quality){let s=Math.min(r.quality,80);o.edits.jpeg={quality:s},o.edits.webp={quality:s}}r.format&&r.format!=="auto"&&(o.edits.toFormat=r.format),r.blur&&r.blur>0&&(o.edits.blur=r.blur),r.sharpen&&(o.edits.sharpen=!0),o.edits.flatten=!1,o.edits.normalise=!1,r.stripMetadata&&(o.edits.rotate=null);let n=JSON.stringify(o);return btoa(unescape(encodeURIComponent(n)))}function Fl(a){if(!a||!a.startsWith(Ae))return null;let r=a.slice(Ae.length);if(!r)return null;try{let t=decodeURIComponent(escape(atob(r))),e=JSON.parse(t);return e&&typeof e=="object"?e:null}catch{return null}}function sd(a){let t=Fl(a)?.edits?.resize?.width;return typeof t=="number"?t:null}function Dl(a,r,t){return Math.round(r*t/a)}function id(a,r){let t=Fl(a);if(!t)return null;let e=H({},t.edits?.resize||{}),o=typeof e.width=="number"?e.width:null,n=typeof e.height=="number"?e.height:null;e.width=r,n!==null&&o?e.height=Dl(o,n,r):delete e.height,t.edits=R(H({},t.edits||{}),{resize:e});let s=JSON.stringify(t),i=btoa(unescape(encodeURIComponent(s)));return`${Ae}${i}`}function R1(a,r={}){if(!a)return"";let t=`${a}|${JSON.stringify(r)}`,e=fl.get(t);if(e!==void 0)return e;let o=rd(a,r);return fl.set(t,o),o}var Cl=64,ld=[400,800,1200,1600,2e3];function hd(a){let r;if(a!==void 0?r=a:typeof window>"u"?r=null:r={width:window.innerWidth,dpr:window.devicePixelRatio||1},!r)return 2e3;let t=Math.ceil(r.width*Math.min(r.dpr||1,3));for(let e of ld)if(t<=e)return e;return 2e3}function ia(a,r={}){let t=a||"";if(Dt(t))return{lowQuality:t,highQuality:t,original:t};if(sa(t))return{lowQuality:t,highQuality:t,original:t};if(!Ft(a)&&!na(a))return{lowQuality:t,highQuality:t,original:t};let l=r,{quality:e}=l,o=j1(l,["quality"]),n=o.width?Math.min(o.width,Cl):Cl,s=R(H({},o),{width:n,quality:10,format:"auto"});o.width&&o.height?s.height=Dl(o.width,o.height,n):delete s.height;let i=R(H({},o),{width:o.width||hd(),quality:r.quality||85,format:"auto",fit:o.fit||"inside"});return{lowQuality:R1(a,s),highQuality:R1(a,i),original:t}}function cd(a,r=40){let t=a||"";if(Dt(t)||!Ft(a))return{lowQuality:t,highQuality:t,original:t};let e={width:20,height:20,quality:10,format:"auto",fit:"cover"},o=Math.round(r*1.5),n={width:o,height:o,quality:75,format:"auto",fit:"cover"};return{lowQuality:R1(a,e),highQuality:R1(a,n),original:t}}function XH(a,r=150){return a?Dt(a)?a:R1(a,{width:r,height:r,fit:"cover",quality:80,format:"auto"}):""}function vd(){if(typeof window>"u")return{width:1200,quality:90};let a=window.innerWidth,r=window.innerHeight,t=window.devicePixelRatio||1,e=Math.max(a,r),o,n;return e<=768?(o=Math.round(e*t),n=90):e<=1366?(o=Math.round(e*Math.min(t,1.5)),n=92):e<=1920?(o=Math.round(e*Math.min(t,1.25)),n=94):(o=Math.min(Math.round(e*Math.min(t,1.1)),3840),n=95),o=Math.min(o,3840),{width:o,quality:n}}function pd(a){let r=a||"";if(Dt(r))return{lowQuality:r,highQuality:r,original:r};if(sa(r))return{lowQuality:r,highQuality:r,original:r};if(!Ft(a)&&!na(a))return{lowQuality:r,highQuality:r,original:r};let{width:t,quality:e}=vd(),o={width:Math.min(t,50),quality:10,format:"auto",fit:"contain"},n={width:t,quality:e,format:"auto",fit:"contain"};return{lowQuality:R1(a,o),highQuality:R1(a,n),original:r}}var JH=(()=>{class a{formattedActionCache=new Map;MAX_CACHE_SIZE=100;getFormattedAction(t){let e=`${t.id}_${t.main_action_statement}`;if(this.formattedActionCache.has(e))return this.formattedActionCache.get(e);let o=t.main_action_statement;if(t.subject){let n=t.subject.username;o.toLowerCase().startsWith(n.toLowerCase())&&(o=o.substring(n.length).trim());let s=`${t.subject.first_name||""} ${t.subject.last_name||""}`.trim();s&&o.toLowerCase().startsWith(s.toLowerCase())&&(o=o.substring(s.length).trim())}return this.cacheFormattedAction(e,o),o}getNotificationUrl(t){return t.link?t.link.startsWith("/")?t.link:"/"+t.link:"#"}getOptimizedImageUrls(t,e){if(!t)return null;let n=H(H({},{width:96,height:96,fit:"cover"}),e);return ia(t,n)}
3handleNotificationClick(t,e,o){if(t.button===2||t.button===1||t.ctrlKey||t.metaKey){o.markAsRead(e);return}if(t.preventDefault(),o.markAsRead(e),e.link){let n=this.getNotificationUrl(e);window.location.href=n}o.closePanel()}hasUnreadNotifications(t){return!!(t&&t.length>0&&t.some(e=>!e.read))}cacheFormattedAction(t,e){if(this.formattedActionCache.size>=this.MAX_CACHE_SIZE){let o=this.formattedActionCache.keys().next().value;o&&this.formattedActionCache.delete(o)}this.formattedActionCache.set(t,e)}clearCaches(){this.formattedActionCache.clear()}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),gd=(()=>{class a{http=v(w0);activeMembershipsSubject=new X([]);activeMemberships$=this.activeMembershipsSubject.asObservable();hasActiveMembershipSubject=new X(!1);hasActiveMembership$=this.hasActiveMembershipSubject.asObservable();hasActiveMembership(){return this.http.get(p0("/api/v2/user_memberships/has_active_memberships/"),{withCredentials:!0}).pipe(J(t=>this.hasActiveMembershipSubject.next(t.success)),l0(t=>y({success:!1})))}getActiveMemberships(){return this.http.get(p0("/api/v2/user_memberships/active_memberships/"),{withCredentials:!0}).pipe(J(t=>{this.activeMembershipsSubject.next(t),this.hasActiveMembershipSubject.next(t.length>0)}),l0(t=>y([])))}getMembershipVariant(t){if(!t||t.length===0)return"default";switch(t[0]?.membership?.membership_type?.slug){case"ultimate":case"uni-member-gold":case"institutional":return"enterprise";case"large":case"uni-member-silver":return"pro";case"small":case"uni-member-bronze":return"premium";default:return"default"}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),El=/[<>&\u2028\u2029]/g,Rl={"<":"\\u003c",">":"\\u003e","&":"\\u0026","\u2028":"\\u2028","\u2029":"\\u2029"};function Ul(a){let r=JSON.stringify(a);return r?r.replace(El,t=>Rl[t]):"{}"}function dd(a){return a?a.replace(El,r=>Rl[r]):"{}"}function wd(a){let r=[];return a.description&&r.push({name:"description",content:a.description}),a.keywords&&r.push({name:"keywords",content:a.keywords}),a.author&&r.push({name:"author",content:a.author}),a.robots&&r.push({name:"robots",content:a.robots}),r}function ud(a){let r=[];return a.title&&r.push({property:"og:title",content:a.title}),a.description&&r.push({property:"og:description",content:a.description}),a.type&&r.push({property:"og:type",content:a.type}),a.image&&(r.push({property:"og:image",content:a.image}),r.push({property:"og:image:secure_url",content:a.image})),a.imageWidth&&r.push({property:"og:image:width",content:a.imageWidth}),a.imageHeight&&r.push({property:"og:image:height",content:a.imageHeight}),a.imageAlt&&r.push({property:"og:image:alt",content:a.imageAlt}),a.imageType&&r.push({property:"og:image:type",content:a.imageType}),a.url&&r.push({property:"og:url",content:a.url}),a.siteName&&r.push({property:"og:site_name",content:a.siteName}),a.locale&&r.push({property:"og:locale",content:a.locale}),a.fbAppId&&r.push({property:"fb:app_id",content:a.fbAppId}),r}function md(a){let r=[{name:"twitter:card",content:"summary_large_image"},{name:"twitter:site",content:"@unixyzglobal"},{name:"twitter:domain",content:"uni.xyz"}];return a.url&&r.push({name:"twitter:url",content:a.url}),a.title&&r.push({name:"twitter:title",content:a.title}),a.description&&r.push({name:"twitter:description",content:a.description}),a.image&&r.push({name:"twitter:image",content:a.image}),a.imageAlt&&r.push({name:"twitter:image:alt",content:a.imageAlt}),r}function fd(a){let r=[];return a.author&&r.push({property:"article:author",content:a.author}),a.publishedTime&&r.push({property:"article:published_time",content:a.publishedTime}),a.modifiedTime&&r.push({property:"article:modified_time",content:a.modifiedTime}),r}function Cd(a){let r=[];return a.price&&r.push({property:"product:price:amount",content:a.price}),a.currency&&r.push({property:"product:price:currency",content:a.currency}),a.availability&&r.push({property:"product:availability",content:a.availability}),r}function Md(a,r){let t=[...wd(a),...ud(a),...md(a)];return r==="article"&&t.push(...fd(a)),r==="product"&&t.push(...Cd(a)),t}var Ml={market:{title:"uni.xyz Market - Buy & Sell Creative Works",description:"Discover and purchase unique creative works from talented artists and designers on uni.xyz Market. Find digital art, designs, and creative projects.",keywords:"marketplace, creative works, digital art, design, buy, sell, artists, designers, creative projects",image:"https://img.uni.xyz/eyJidWNrZXQiOiAidW5pLWNvbW1vbi1hc3NldHMiLCAia2V5IjogInNlby9vZy1pbWFnZXMvYWJvdXQtb2cuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMTIwMCwgImhlaWdodCI6IDYzMCwgImZpdCI6ICJjb3ZlciJ9LCAianBlZyI6IHsicXVhbGl0eSI6IDg1fSwgInRvRm9ybWF0IjogImpwZWciLCAiZmxhdHRlbiI6IGZhbHNlLCAibm9ybWFsaXNlIjogZmFsc2V9fQ==",imageAlt:"uni.xyz Market - Creative Marketplace"},accounts:{title:"uni.xyz Accounts - Login & Manage Your Profile",description:"Access your uni.xyz account to manage your profile, participate in competitions, and showcase your creative work.",keywords:"login, signup, account, profile, user management, authentication",image:"https://img.uni.xyz/eyJidWNrZXQiOiAidW5pLWNvbW1vbi1hc3NldHMiLCAia2V5IjogInNlby9vZy1pbWFnZXMvYWJvdXQtb2cuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMTIwMCwgImhlaWdodCI6IDYzMCwgImZpdCI6ICJjb3ZlciJ9LCAianBlZyI6IHsicXVhbGl0eSI6IDg1fSwgInRvRm9ybWF0IjogImpwZWciLCAiZmxhdHRlbiI6IGZhbHNlLCAibm9ybWFsaXNlIjogZmFsc2V9fQ==",imageAlt:"uni.xyz Account Management"}
3,arena:{title:"uni.xyz Arena - Creative Competitions",description:"Participate in exciting creative competitions and challenges. Showcase your skills and compete with artists worldwide.",keywords:"competitions, challenges, creative contests, arena, participate, compete",image:"https://img.uni.xyz/eyJidWNrZXQiOiAidW5pLWNvbW1vbi1hc3NldHMiLCAia2V5IjogInNlby9vZy1pbWFnZXMvYWJvdXQtb2cuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMTIwMCwgImhlaWdodCI6IDYzMCwgImZpdCI6ICJjb3ZlciJ9LCAianBlZyI6IHsicXVhbGl0eSI6IDg1fSwgInRvRm9ybWF0IjogImpwZWciLCAiZmxhdHRlbiI6IGZhbHNlLCAibm9ybWFsaXNlIjogZmFsc2V9fQ==",imageAlt:"uni.xyz Arena - Creative Competitions"},studio:{title:"uni.xyz Studio - Create & Manage Projects",description:"Create, manage, and collaborate on creative projects in uni.xyz Studio. Professional tools for creative professionals.",keywords:"studio, create, manage, projects, collaboration, creative tools",image:"https://img.uni.xyz/eyJidWNrZXQiOiAidW5pLWNvbW1vbi1hc3NldHMiLCAia2V5IjogInNlby9vZy1pbWFnZXMvYWJvdXQtb2cuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMTIwMCwgImhlaWdodCI6IDYzMCwgImZpdCI6ICJjb3ZlciJ9LCAianBlZyI6IHsicXVhbGl0eSI6IDg1fSwgInRvRm9ybWF0IjogImpwZWciLCAiZmxhdHRlbiI6IGZhbHNlLCAibm9ybWFsaXNlIjogZmFsc2V9fQ==",imageAlt:"uni.xyz Studio - Creative Project Management"},profile:{title:"uni.xyz Profiles - Showcase Your Work",description:"Discover talented creators and showcase your own work. Build your creative portfolio and connect with the community.",keywords:"profiles, portfolio, showcase, creators, artists, designers, community",image:"https://img.uni.xyz/eyJidWNrZXQiOiAidW5pLWNvbW1vbi1hc3NldHMiLCAia2V5IjogInNlby9vZy1pbWFnZXMvYWJvdXQtb2cuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMTIwMCwgImhlaWdodCI6IDYzMCwgImZpdCI6ICJjb3ZlciJ9LCAianBlZyI6IHsicXVhbGl0eSI6IDg1fSwgInRvRm9ybWF0IjogImpwZWciLCAiZmxhdHRlbiI6IGZhbHNlLCAibm9ybWFsaXNlIjogZmFsc2V9fQ==",imageAlt:"uni.xyz Profiles - Creative Community"},project:{title:"uni.xyz Projects - Creative Portfolio",description:"Explore amazing creative projects and showcase your own work. Join the community of innovative creators.",keywords:"projects, portfolio, creative work, showcase, innovation, creators",image:"https://img.uni.xyz/eyJidWNrZXQiOiAidW5pLWNvbW1vbi1hc3NldHMiLCAia2V5IjogInNlby9vZy1pbWFnZXMvYWJvdXQtb2cuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMTIwMCwgImhlaWdodCI6IDYzMCwgImZpdCI6ICJjb3ZlciJ9LCAianBlZyI6IHsicXVhbGl0eSI6IDg1fSwgInRvRm9ybWF0IjogImpwZWciLCAiZmxhdHRlbiI6IGZhbHNlLCAibm9ybWFsaXNlIjogZmFsc2V9fQ==",imageAlt:"uni.xyz Projects - Creative Portfolio"},default:{title:"uni.xyz - Platform for Creative Innovation",description:"Join uni.xyz, the premier platform for creative competitions, project showcasing, and community collaboration.",keywords:"creative platform, innovation, community, competitions, projects, showcase",image:"https://img.uni.xyz/eyJidWNrZXQiOiAidW5pLWNvbW1vbi1hc3NldHMiLCAia2V5IjogInNlby9vZy1pbWFnZXMvYWJvdXQtb2cuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMTIwMCwgImhlaWdodCI6IDYzMCwgImZpdCI6ICJjb3ZlciJ9LCAianBlZyI6IHsicXVhbGl0eSI6IDg1fSwgInRvRm9ybWF0IjogImpwZWciLCAiZmxhdHRlbiI6IGZhbHNlLCAibm9ybWFsaXNlIjogZmFsc2V9fQ==",imageAlt:"uni.xyz - Creative Innovation Platform"}};function Ad(a){return Ml[a]||Ml.default}function Hd(a){if(!a)return"image/jpeg";let r=a.toLowerCase();return r.includes(".png")?"image/png":r.includes(".gif")?"image/gif":r.includes(".webp")?"image/webp":r.includes(".svg")?"image/svg+xml":"image/jpeg"}var Nl=(()=>{class a{title=v(ot);meta=v(J1);router=v(z0);platformId=v(N);document=v(G);platformLocation=v(io);defaultSEOData={siteName:"uni.xyz",type:"website",locale:"en_US",image:"https://img.uni.xyz/eyJidWNrZXQiOiAidW5pLWNvbW1vbi1hc3NldHMiLCAia2V5IjogInNlby9vZy1pbWFnZXMvYWJvdXQtb2cuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMTIwMCwgImhlaWdodCI6IDYzMCwgImZpdCI6ICJjb3ZlciJ9LCAianBlZyI6IHsicXVhbGl0eSI6IDg1fSwgInRvRm9ybWF0IjogImpwZWciLCAiZmxhdHRlbiI6IGZhbHNlLCAibm9ybWFsaXNlIjogZmFsc2V9fQ==",imageAlt:"uni.xyz - Platform for Creative Competitions and Projects",imageWidth:"1200",imageHeight:"630"};updateSEO(t){let e=H(H({},this.defaultSEOData),t);
3if(!t.image){let i=this.meta.getTag('property="og:image"');if(i?.content&&i.content!==this.defaultSEOData.image){e.image=i.content;let l=this.meta.getTag('property="og:image:width"'),g=this.meta.getTag('property="og:image:height"');l?.content&&(e.imageWidth=l.content),g?.content&&(e.imageHeight=g.content)}}if(e.title){let i=e.title.includes("uni.xyz")?e.title:`${e.title} | uni.xyz`;this.title.setTitle(i)}let o=this.getFullImageUrl(e.image),n={title:e.title,description:e.description,keywords:e.keywords,author:e.author,image:o,imageAlt:e.imageAlt,imageWidth:e.imageWidth,imageHeight:e.imageHeight,imageType:Hd(e.image),url:this.getFullUrl(e.url),type:e.type,siteName:e.siteName,locale:e.locale,publishedTime:e.publishedTime,modifiedTime:e.modifiedTime,price:e.price,currency:e.currency,availability:e.availability,robots:e.robots,fbAppId:e.fbAppId},s=Md(n,e.type);this.applyMetaTags(s),this.updateCanonicalUrl(e.url)}applyMetaTags(t){t.forEach(e=>{e.property?this.meta.updateTag({property:e.property,content:e.content}):e.name&&this.meta.updateTag({name:e.name,content:e.content})})}updateRobots(t){this.updateMetaTag("robots",t)}setDefaultSEO(t,e){let o=Ad(t),n=e?`${e} | ${o.title}`:o.title;this.updateSEO({title:n,description:o.description,keywords:o.keywords,image:o.image,imageAlt:o.imageAlt})}addStructuredData(t,e="main"){let o=`json-ld-${e}`,n=this.document.getElementById(o);n&&n.remove();let s=this.document.createElement("script");s.type="application/ld+json",s.id=o,s.textContent=dd(t),this.document.head.appendChild(s)}clearAllStructuredData(){this.document.querySelectorAll('script[type="application/ld+json"]').forEach(e=>e.remove())}removeStructuredData(t="main"){let e=this.document.getElementById(`json-ld-${t}`);e&&e.remove()}updateMetaTag(t,e){if(!e)return;let o=t.startsWith("og:")||t.startsWith("twitter:")||t.startsWith("article:")||t.startsWith("product:");this.meta.updateTag({[o?"property":"name"]:t,content:e})}updateCanonicalUrl(t){let e=this.getFullUrl(t),o=this.document.querySelector('link[rel="canonical"]');o?o.href=e:(o=this.document.createElement("link"),o.rel="canonical",o.href=e,this.document.head.appendChild(o))}getFullUrl(t){if(!t){let o=this.meta.getTag('property="og:url"');if(o?.content&&!o.content.includes("{{"))return o.content;t=this.platformLocation?.pathname||this.router.url||"/"}return t.startsWith("http")?t:`${this.getBaseUrl()}${t.startsWith("/")?t:"/"+t}`}getFullImageUrl(t){return t?t.startsWith("http")?t:`${this.getBaseUrl()}${t.startsWith("/")?t:"/"+t}`:this.getFullUrl(this.defaultSEOData.image)}getBaseUrl(){if(typeof window<"u")return`${window.location.protocol}//${window.location.host}`;let t=globalThis.process;return t?.env?.BASE_URL?t.env.BASE_URL:"https://uni.xyz"}updatePaginationLinks(t,e,o,n="page"){this.removePaginationLinks();let s=this.getFullUrl(o),i=s.includes("?")?"&":"?";if(t>1){let l=t===2?s:`${s}${i}${n}=${t-1}`,g=this.document.createElement("link");g.rel="prev",g.href=l,g.setAttribute("data-pagination","true"),this.document.head.appendChild(g)}if(t<e){let l=`${s}${i}${n}=${t+1}`,g=this.document.createElement("link");g.rel="next",g.href=l,g.setAttribute("data-pagination","true"),this.document.head.appendChild(g)}}removePaginationLinks(){this.document.querySelectorAll('link[data-pagination="true"]').forEach(e=>e.remove())}updateLocaleAlternates(t=[],e="en_US"){this.document.querySelectorAll('meta[property="og:locale:alternate"]').forEach(n=>n.remove()),this.updateMetaTag("og:locale",e),t.forEach(n=>{n&&n!==e&&this.meta.addTag({property:"og:locale:alternate",content:n})})}clearLocaleAlternates(){this.document.querySelectorAll('meta[property="og:locale:alternate"]').forEach(e=>e.remove())}updateHreflangLinks(t,e=["en-US"],o="en-US"){this.clearHreflangLinks();let n=this.getFullUrl(t);e.forEach(i=>{let l=this.document.createElement("link");l.rel="alternate",l.hreflang=i.toLowerCase().replace("_","-"),l.href=n,l.setAttribute("data-hreflang","true"),this.document.head.appendChild(l)});let s=this.document.createElement("link");s.rel="alternate",s.hreflang="x-default",s.href=n,s.setAttribute("data-hreflang","true"),this.document.head.appendChild(s)}clearHreflangLinks(){this.document.querySelectorAll('link[data-hreflang="true"]').forEach(e
3=>e.remove())}setupInternationalSEO(t,e=["en_US"],o="en_US"){this.updateLocaleAlternates(e,o),this.updateHreflangLinks(t,e,o)}clearInternationalSEO(){this.clearLocaleAlternates(),this.clearHreflangLinks()}generateItemListSchema(t,e){let o=this.getBaseUrl(),n={"@context":"https://schema.org","@type":"ItemList",name:e.name,description:e.description,url:`${o}${e.baseUrl}`,numberOfItems:t.length,itemListElement:t.map((s,i)=>({"@type":"ListItem",position:i+1,name:s.name,url:`${o}${s.url}`}))};return JSON.stringify(n)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),xd={width:1200,height:630,quality:85,format:"jpeg",fit:"cover"},m1={DEFAULT_BRAND:"uni.xyz",DEFAULT_AUTHOR:"uni.xyz",TITLE_SUFFIX:"uni.xyz",DEFAULT_OG_IMAGE:"https://img.uni.xyz/eyJidWNrZXQiOiAidW5pLWNvbW1vbi1hc3NldHMiLCAia2V5IjogInNlby9vZy1pbWFnZXMvYWJvdXQtb2cuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMTIwMCwgImhlaWdodCI6IDYzMCwgImZpdCI6ICJjb3ZlciJ9LCAianBlZyI6IHsicXVhbGl0eSI6IDg1fSwgInRvRm9ybWF0IjogImpwZWciLCAiZmxhdHRlbiI6IGZhbHNlLCAibm9ybWFsaXNlIjogZmFsc2V9fQ==",MAX_DESCRIPTION_LENGTH:160,MAX_TITLE_LENGTH:60,MAX_KEYWORDS:15,SUPPORTED_LO
3CALES:["en_US","de_DE","fr_FR","es_ES"]};function la(a,r,t={}){let{suffix:e="...",limitIncludesSuffix:o=!1,wordBoundary:n=!0,wordBoundaryThreshold:s=.8,trimBeforeSuffix:i=!1}=t;if(!a||a.length<=r)return a||"";let l=o?Math.max(0,r-e.length):r,g=a.substring(0,l);if(n){let w=g.lastIndexOf(" ");w>l*s&&(g=g.substring(0,w))}return i&&(g=g.trim()),g+e}var j2=(()=>{class a{meta=v(J1);document=v(G);platformId=v(N);getBaseUrl(){return L(this.platformId)&&typeof window<"u"?`${window.location.protocol}//${window.location.host}`:"{{BASE_URL}}"}clearMultiValueTags(){if(!L(this.platformId))return;this.document.querySelectorAll('meta[property="article:tag"]').forEach(n=>n.remove()),this.document.querySelectorAll('meta[property="og:see_also"]').forEach(n=>n.remove()),this.document.querySelectorAll('meta[property="og:locale:alternate"]').forEach(n=>n.remove())}clearMetaTags(t){L(this.platformId)&&t.forEach(e=>{this.document.querySelectorAll(e).forEach(n=>n.remove())})}addLocaleAlternates(t=["de_DE","fr_FR","es_ES"]){t.forEach(e=>{this.meta.addTag({property:"og:locale:alternate",content:e})})}addRelatedContentLinks(t){t.forEach(e=>{e&&this.meta.addTag({property:"og:see_also",content:e})})}setCanonicalUrl(t){if(!L(this.platformId))return;let e=this.document.querySelector('link[rel="canonical"]');e||(e=this.document.createElement("link"),e.setAttribute("rel","canonical"),this.document.head.appendChild(e)),e.setAttribute("href",t)}removeCanonicalUrl(){if(!L(this.platformId))return;let t=this.document.querySelector('link[rel="canonical"]');t&&t.remove()}updateAuthorLink(t){if(!L(this.platformId))return;let e=this.document.querySelector('link[rel="author"]');if(e&&e.remove(),t){let o=this.document.createElement("link");o.rel="author",o.href=t,this.document.head.appendChild(o)}}addGeoMetaTags(t){if(!t||!L(this.platformId))return;let e=this.getCoordinates(t);t.country?.iso_code&&this.meta.updateTag({name:"geo.region",content:t.country.iso_code});let o=[t.city?.name,t.country?.name].filter(Boolean).join(", ");o&&this.meta.updateTag({name:"geo.placename",content:o}),e&&(this.meta.updateTag({name:"geo.position",content:`${e.lat};${e.lng}`}),this.meta.updateTag({name:"ICBM",content:`${e.lat}, ${e.lng}`}))}getCoordinates(t){return t.lat&&t.lng?{lat:String(t.lat),lng:String(t.lng)}:t.city?.lat&&t.city?.long?{lat:String(t.city.lat),lng:String(t.city.long)}:t.country?.lat&&t.country?.long?{lat:String(t.country.lat),lng:String(t.country.long)}:null}clearGeoMetaTags(){this.meta.removeTag('name="geo.region"'),this.meta.removeTag('name="geo.placename"'),this.meta.removeTag('name="geo.position"'),this.meta.removeTag('name="ICBM"')}addImagePreloadHint(t,e="main-image"){if(!L(this.platformId)||!t||this.document.querySelector(`link[rel="preload"][href="${t}"]`))return;let n=this.document.querySelector(`link[rel="preload"][data-${e}]`);n&&n.remove();let s=this.document.createElement("link");s.setAttribute("rel","preload"),s.setAttribute("as","image"),s.setAttribute("href",t),s.setAttribute(`data-${e}`,"true"),this.document.head.appendChild(s)}truncateText(t,e=m1.MAX_DESCRIPTION_LENGTH){if(!t)return"";let o=this.sanitizeText(t);return la(o,e,{suffix:"...",limitIncludesSuffix:!0,wordBoundary:!1})}sanitizeText(t){return t?t.replace(/<[^>]*>/g,"").replace(/\s+/g," ").trim():""}normalizeTwitterHandle(t,e="@unixyzglobal"){if(!t)return e;let o=t.replace(/^https?:\/\/(www\.)?(twitter\.com|x\.com)\/?/i,"").replace(/\?.*$/,"").trim();return o.startsWith("@")||(o=`@${o}`),o||e}getOrdinal(t){let e=["th","st","nd","rd"],o=t%100;return t+(e[(o-20)%10]||e[o]||e[0])}formatDateForMeta(t){return t?(typeof t=="string"?new Date(t):t).toISOString():""}formatDateReadable(t,e){if(!t)return"";let o=typeof t=="string"?new Date(t):t,n={month:"short",day:"numeric",year:"numeric"};return o.toLocaleDateString("en-US",e||n)}formatCurrency(t,e="USD"){return new Intl.NumberFormat("en-US",{style:"currency",currency:e,minimumFractionDigits:0,maximumFractionDigits:0}).format(t)}getOptimizedOgImage(t,e=xd){return t?R1(t,{width:e.width||1200,height:e.height||630,quality:e.quality||85,format:e.format||"jpeg",fit:e.fit||"cover"}):`${this.getBaseUrl()}${m1.DEFAULT_OG_IMAGE}`}generateKeywords(t,e=[],o=m1.MAX_KEYWORDS){let n=[...t,...e].map(i=>
3i?.toLowerCase().trim()).filter(Boolean);return[...new Set(n)].slice(0,o).join(", ")}formatSectionLabel(t){return t.replace(/-/g," ").replace(/\b\w/g,e=>e.toUpperCase())}clearStructuredData(){if(!L(this.platformId))return;this.document.querySelectorAll('script[type="application/ld+json"]').forEach(e=>e.remove())}injectStructuredData(t){if(!L(this.platformId))return;let e=this.document.createElement("script");e.type="application/ld+json",e.text=Ul(t),this.document.head.appendChild(e)}clearCommonMetaTags(){this.meta.removeTag('name="description"'),this.meta.removeTag('name="keywords"'),this.meta.removeTag('name="robots"'),["og:title","og:description","og:image","og:image:secure_url","og:image:width","og:image:height","og:image:alt","og:image:type","og:url","og:type","og:site_name","og:locale","og:updated_time"].forEach(n=>this.meta.removeTag(`property="${n}"`)),["twitter:card","twitter:site","twitter:domain","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:creator","twitter:label1","twitter:data1","twitter:label2","twitter:data2","twitter:label3","twitter:data3"].forEach(n=>this.meta.removeTag(`name="${n}"`)),["article:published_time","article:modified_time","article:expiration_time","article:section","article:author"].forEach(n=>this.meta.removeTag(`property="${n}"`)),this.clearMultiValueTags(),this.clearGeoMetaTags(),this.clearStructuredData(),this.updateAuthorLink(null),this.removeCanonicalUrl()}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),xe=(()=>{class a{seoUtils;constructor(t){this.seoUtils=t}formatPerson(t){let e=this.seoUtils.getBaseUrl();return H(H(H(H(H({"@type":"Person",name:t.name},t.jobTitle&&{jobTitle:t.jobTitle}),t.image&&{image:t.image}),t.url&&{url:t.url.startsWith("http")?t.url:`${e}${t.url}`}),t.description&&{description:t.description}),t.sameAs?.length&&{sameAs:t.sameAs})}formatOrganization(t){let e=this.seoUtils.getBaseUrl();return H(H(H(H({"@type":"Organization",name:t.name},t.url&&{url:t.url.startsWith("http")?t.url:`${e}${t.url}`}),t.logo&&{logo:t.logo}),t.description&&{description:t.description}),t.sameAs?.length&&{sameAs:t.sameAs})}formatLocation(t){if("url"in t&&!("address"in t))return{"@type":"VirtualLocation",url:t.url};let e=t;return H({"@type":"Place",name:e.name,address:H({"@type":"PostalAddress"},e.address)},e.geo&&{geo:{"@type":"GeoCoordinates",latitude:e.geo.latitude,longitude:e.geo.longitude}})}formatOffer(t){return H(H(H({"@type":"Offer",price:String(t.price),priceCurrency:t.priceCurrency,availability:t.availability?`https://schema.org/${t.availability}`:"https://schema.org/InStock"},t.url&&{url:t.url}),t.validFrom&&{validFrom:t.validFrom}),t.validThrough&&{validThrough:t.validThrough})}formatAggregateRating(t){return H({"@type":"AggregateRating",ratingValue:String(t.ratingValue),bestRating:String(t.bestRating||5),worstRating:String(t.worstRating||1),ratingCount:t.ratingCount},t.reviewCount&&{reviewCount:t.reviewCount})}formatMonetaryAmount(t,e){return{"@type":"MonetaryAmount",currency:e,value:t}}normalizeUrl(t){return t.startsWith("http")?t:`${this.seoUtils.getBaseUrl()}${t}`}static \u0275fac=function(e){return new(e||a)(U(j2))};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Vd=(()=>{class a{SCHEMA_CONTEXT="https://schema.org";seoUtils=v(j2);formatters=v(xe);generateArticleSchema(t,e="Article",o){let n=this.seoUtils.getBaseUrl(),s={"@context":this.SCHEMA_CONTEXT,"@type":e,headline:this.seoUtils.truncateText(t.headline,110),name:t.name,description:t.description,url:this.formatters.normalizeUrl(t.url),mainEntityOfPage:{"@type":"WebPage","@id":this.formatters.normalizeUrl(t.url)}};return t.image&&(s.image=t.image,s.thumbnailUrl=t.thumbnailUrl||t.image),t.author&&(s.author="@type"in t.author?t.author:this.formatters.formatPerson(t.author)),s.publisher=t.publisher?this.formatters.formatOrganization(t.publisher):o,t.datePublished&&(s.datePublished=t.datePublished),t.dateModified&&(s.dateModified=t.dateModified),t.articleSection&&(s.articleSection=t.articleSection),t.wordCount&&(s.wordCount=t.wordCount),t.keywords?.length&&(s.keywords=t.keywords.join(", ")),s}generateCreativeWorkSchema(t,e="CreativeWork"){let o={"@context":this.SCHEMA_CONTEXT,"@type":e,name:t.name,description:t.description,url:this.formatters.normalizeUrl(t.url)};return t.image&&(o.image=t.image),t.author&&(o.author="@type"in t.author?t.author:this.formatters.formatPerson(t.author)),t.datePublished&&(o.datePublished=t.datePublished),t.dateModified&&(o.dateModified=t.dateModified),t.keywords?.length&&(o.keywords=t.keywords.join(", ")),t.genre&&(o.genre=t.genre),t.about&&(o.about=t.about),o}generateHowToSchema(t,e,o,n){let s={"@context":this.SCHEMA_CONTEXT,"@type":"HowTo",name:t,description:e,step:o.map(i=>({"@type":"HowToStep",name:i.name,text:i.text}))};return n?.totalTime&&(s.totalTime=n.totalTime),n?.estimatedCost&&(s.estimatedCost=this.formatters.formatMonetaryAmount(n.estimatedCost.value,n.estimatedCost.currency)),s}generateFAQSchema(t,e=10){return t?.length?{"@context":this.SCHEMA_CONTEXT,"@type":"FAQPage",mainEntity:t.slice(0,e).map(o=>
3({"@type":"Question",name:o.question,acceptedAnswer:{"@type":"Answer",text:o.answer}}))}:null}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Zd=(()=>{class a{SCHEMA_CONTEXT="https://schema.org";seoUtils=v(j2);formatters=v(xe);generatePersonSchema(t){let e={"@context":this.SCHEMA_CONTEXT,"@type":"Person",name:t.name};return t.jobTitle&&(e.jobTitle=t.jobTitle),t.image&&(e.image=t.image),t.url&&(e.url=this.formatters.normalizeUrl(t.url)),t.description&&(e.description=t.description),t.sameAs?.length&&(e.sameAs=t.sameAs),t.worksFor&&(e.worksFor=this.formatters.formatOrganization(t.worksFor)),e}generateProductSchema(t){let e={"@context":this.SCHEMA_CONTEXT,"@type":"Product",name:t.name,description:t.description,url:this.formatters.normalizeUrl(t.url)};return t.image&&(e.image=t.image),t.sku&&(e.sku=t.sku),t.brand&&(e.brand={"@type":"Brand",name:t.brand}),t.offers&&(e.offers=this.formatters.formatOffer(t.offers)),t.aggregateRating&&(e.aggregateRating=this.formatters.formatAggregateRating(t.aggregateRating)),e}generateWebSiteSchema(t){let e=this.seoUtils.getBaseUrl();return{"@context":this.SCHEMA_CONTEXT,"@type":"WebSite",name:t?.name||"UNI - Where Ideas Graduate",alternateName:t?.alternateName||"uni.xyz Design Platform",url:e,potentialAction:{"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:`${e}${t?.searchPath||"/search"}?q={search_term_string}`},"query-input":"required name=search_term_string"}}}generateBreadcrumbSchema(t){return{"@context":this.SCHEMA_CONTEXT,"@type":"BreadcrumbList",itemListElement:t.map((e,o)=>({"@type":"ListItem",position:e.position||o+1,name:this.breadcrumbName(e),item:this.formatters.normalizeUrl(e.url)}))}}breadcrumbName(t){let e=(t.name||"").trim();if(e)return e;let o=(t.url||"").split("?")[0].replace(/\/+$/,"").split("/").pop()||"",n=decodeURIComponent(o).replace(/[-_]+/g," ").trim();return n?n.replace(/\b\w/g,s=>s.toUpperCase()):"Untitled"}generateItemListSchema(t,e,o){return{"@context":this.SCHEMA_CONTEXT,"@type":"ItemList",name:e,description:o,numberOfItems:t.length,itemListElement:t.map((n,s)=>H(H({"@type":"ListItem",position:s+1,name:n.name,url:this.formatters.normalizeUrl(n.url)},n.image&&{image:n.image}),n.description&&{description:n.description}))}}generateAggregateRatingSchema(t,e,o){return H({"@context":this.SCHEMA_CONTEXT,"@type":"AggregateRating",itemReviewed:{"@type":"CreativeWork",name:t,url:e},ratingValue:String(o.ratingValue),bestRating:String(o.bestRating||5),worstRating:String(o.worstRating||1),ratingCount:o.ratingCount},o.reviewCount&&{reviewCount:o.reviewCount})}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),bd=(()=>{class a{SCHEMA_CONTEXT="https://schema.org";seoUtils=v(j2);formatters=v(xe);generateEventSchema(t){let e=t.location?this.formatters.formatLocation(t.location):null,o=e?.["@type"],n;o==="VirtualLocation"?n="https://schema.org/OnlineEventAttendanceMode":o==="Place"?n="https://schema.org/OfflineEventAttendanceMode":n=t.eventAttendanceMode?`https://schema.org/${t.eventAttendanceMode}`:"https://schema.org/MixedEventAttendanceMode";let s={"@context":this.SCHEMA_CONTEXT,"@type":"Event",name:t.name,description:t.description,url:this.formatters.normalizeUrl(t.url),eventStatus:t.eventStatus?`https://schema.org/${t.eventStatus}`:"https://schema.org/EventScheduled",eventAttendanceMode:n};t.image?.length&&(s.image=t.image),t.startDate&&(s.startDate=t.startDate),t.endDate&&(s.endDate=t.endD
3ate),t.duration&&(s.duration=t.duration),t.organizer&&(s.organizer=this.formatters.formatOrganization(t.organizer)),e&&(s.location=e),t.offers&&(s.offers=this.formatters.formatOffer(t.offers)),t.performer?.length&&(s.performer=t.performer.map(i=>this.formatters.formatPerson(i)));for(let i of Object.keys(s)){let l=s[i];(l==null||l==="")&&delete s[i]}return s}generateAwardSchema(t,e,o,n){let s={"@context":this.SCHEMA_CONTEXT,"@type":"Award",name:t,awardedTo:H({"@type":"CreativeWork",name:e.name,url:this.formatters.normalizeUrl(e.url)},e.author&&{author:this.formatters.formatPerson(e.author)})};return o&&(s.awarder=this.formatters.formatOrganization(o)),n&&(s.monetaryAmount=this.formatters.formatMonetaryAmount(n.value,n.currency)),s}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),jl=(()=>{class a{SCHEMA_CONTEXT="https://schema.org";seoUtils=v(j2);formatters=v(xe);contentSchema=v(Vd);entitySchema=v(Zd);eventSchema=v(bd);schemaCache=new Map;SCHEMA_CACHE_TTL=3e5;getCachedSchema(t,e){let o=Date.now(),n=this.schemaCache.get(t);if(n&&o-n.timestamp<this.SCHEMA_CACHE_TTL)return n.schema;let s=e();return this.schemaCache.set(t,{schema:s,timestamp:o}),s}clearSchemaCache(){this.schemaCache.clear()}generateWebSiteSchema(t){let e=`website:${JSON.stringify(t||{})}`;return this.getCachedSchema(e,()=>this.entitySchema.generateWebSiteSchema(t))}generateOrganizationSchema(t){let e=`organization:${JSON.stringify(t||{})}`;return this.getCachedSchema(e,()=>{let o=this.seoUtils.getBaseUrl();return H({"@context":this.SCHEMA_CONTEXT,"@type":"Organization",name:t?.name||"UNI",url:t?.url||o,logo:t?.logo||`${o}/assets/images/uni-logo.png`,description:t?.description||"UNI is a global platform for design competitions, architecture projects, and creative professionals.",sameAs:t?.sameAs||["https://twitter.com/unixyz","https://www.instagram.com/uni.xyz","https://www.linkedin.com/company/unixyzglobal/","https://www.facebook.com/uni.xyz"]},t?.contactPoint&&{contactPoint:H({"@type":"ContactPoint"},t.contactPoint)})})}generateBreadcrumbSchema(t){return this.entitySchema.generateBreadcrumbSchema(t)}generatePersonSchema(t){return this.entitySchema.generatePersonSchema(t)}generateProductSchema(t){return this.entitySchema.generateProductSchema(t)}generateItemListSchema(t,e,o){return this.entitySchema.generateItemListSchema(t,e,o)}generateAggregateRatingSchema(t,e,o){return this.entitySchema.generateAggregateRatingSchema(t,e,o)}generateEventSchema(t){return this.eventSchema.generateEventSchema(t)}generateAwardSchema(t,e,o,n){return this.eventSchema.generateAwardSchema(t,e,o,n)}generateArticleSchema(t,e="Article"){return this.contentSchema.generateArticleSchema(t,e,this.generateOrganizationSchema())}generateCreativeWorkSchema(t,e="CreativeWork"){return this.contentSchema.generateCreativeWorkSchema(t,e)}generateHowToSchema(t,e,o,n){return this.contentSchema.generateHowToSchema(t,e,o,n)}generateFAQSchema(t,e=10){return this.contentSchema.generateFAQSchema(t,e)}combineSchemas(...t){let e=t.filter(Boolean);if(e.length===0)return{};if(e.length===1)return e[0];let o=[];for(let l of e){let g=l;if(Array.isArray(g["@graph"]))for(let w of g["@graph"]){let n=w,{"@context":A}=n,_=j1(n,["@context"]);o.push(_)}else if(Array.isArray(l))for(let w of l){let s=w,{"@context":A}=s,_=j1(s,["@context"]);o.push(_)}else{let i=g,{"@context":w}=i,A=j1(i,["@context"]);o.push(A)}}return{"@context":this.SCHEMA_CONTEXT,"@graph":o}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),$l=(()=>{class a{platformId=v(N);document=v(G);schemaGenerator=v(jl);inject(t,e){e&&this.document.getElementById(`json-ld-${e}`)?.remove();let o=this.document.createElement("script");o.type="application/ld+json",e&&(o.id=`json-ld-${e}`),o.text=Ul(t),this.document.head.appendChild(o)}clear(){this.document.querySelectorAll('script[type="application/ld+json"]').forEach(e=>e.remove())}buildAndInject(t){let e=[t.entitySchema];t.breadcrumbs?.length&&e.push(this.schemaGenerator.generateBreadcrumbSchema(t.breadcrumbs)),t.includeWebsite&&e.push(this.schemaGenerator.generateWebSiteSchema({searchPath:t.searchPath}));let o=this.schemaGenerator.combineSchemas(...e);this.inject(o)}buildInteractionStatistics(t){return[{"@type":"InteractionCounter",interactionType:"https://schema.org/LikeAction",userInteractionCount:t.likes||0},{"@type":"InteractionCounter",interactionType:"https://schema.org/CommentAction",userInteractionCount:t.comments||0},{"@type":"InteractionCounter",interactionType:"https://schema.org/ViewAction",userInteractionCount:t.views||0}]}buildAggregateRating(t,e=5,o=1){let n=t.rating_count||t.ratings_count||0,s=t.rating_score||t.average_rating||0;return n===0||s===0?null:{"@type":"AggregateRating",ratingValue:s,ratingCount:n,bestRating:e,worstRating:o}}buildKeywordsArray(t){let e=[...t.baseKeywords];return t.title&&e.push(t.title),t.disciplines?.forEach(o=>o?.name&&e.push(o.name)),t.tags?.forEach(o=>o?.name&&e.push(o.name)),t.skills?.forEach(o=>o?.name&&e.push(o.name)),t.author&&e.push(t.author),t.location&&e.push(t.location),e}generateBreadcrumbSchema(t){return this.schemaGenerator.generateBreadcrumbSchema(t)}generateItemListSchema(t,e,o){return this.schemaGenerator.generateItemListSchema(t,e,o)}combineSchemas(...t){return this.schemaGenerator.combineSchemas(...t)}generateWebSiteSchema(t){return this.schemaGenerator.generateWebSiteSchema(t)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),L0=(()=>{class a{destroyRef=v(r0);tasks=new Map;isDestroyed=!1;constructor(){this.destroyRef.onDestroy(()=>{this.isDestroyed=!0,this.clearAll()})}setTimeout(t,e){if(this.isDestroyed)return Symbol("destroyed");let o=Symbol("timeout"),n=setTimeout(()=>{this.tasks.delete(o),this.isDestroyed||t()},e);return this.tasks.set(o,{id:n,type:"timeout"}),o}setInterval(t,e){if(this.isDestroyed)return Symbol("destroyed");let o=Symbol("interval"),n=setInterval(()=>{this.isDestroyed||t()},e);return this.tasks.set(o,{id:n,type:"interval"}),o}clear(t){let e=this.tasks.get(t);e&&(e.type==="timeout"?clearTimeout(e.id):clearInterval(e.id),this.tasks.delete(t))}clearAll(){this.tasks.forEach(t=>{t.type==="timeout"?clearTimeout(t.id):clearInterval(t.id)}
3),this.tasks.clear()}get activeTaskCount(){return this.tasks.size}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Ld=4e3,U1=(()=>{class a{scheduler=v(L0);toastsSubject=new X([]);toasts$=this.toastsSubject.asObservable();generateId(){return Math.random().toString(36).substr(2,9)}show(t,e="info",o=Ld,n){let s={id:this.generateId(),message:t,type:e,duration:o,action:n},i=this.toastsSubject.value;this.toastsSubject.next([...i,s]),o>0&&this.scheduler.setTimeout(()=>{this.remove(s.id)},o)}success(t,e){this.show(t,"success",e)}error(t,e){this.show(t,"error",e)}info(t,e){this.show(t,"info",e)}warning(t,e){this.show(t,"warning",e)}withAction(t,e,o="info",n=8e3){this.show(t,o,n,e)}remove(t){let e=this.toastsSubject.value;this.toastsSubject.next(e.filter(o=>o.id!==t))}clear(){this.toastsSubject.next([])}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),_d=(()=>{class a{platformId=v(N);initialized=!1;initialize(t){!L(this.platformId)||this.initialized||(this.initialized=!0,this.captureUTMParams(),t.gleap&&this.initializeGleap(t.gleap),t.googleAnalytics&&this.configureGoogleAnalytics(t.googleAnalytics),t.googleTagManager&&this.configureGoogleTagManager(t.googleTagManager),(t.googleAnalytics||t.googleTagManager)&&this.scheduleAfterLoad(()=>{t.googleAnalytics&&this.loadGoogleAnalyticsScript(t.googleAnalytics),t.googleTagManager&&this.loadGoogleTagManagerScript(t.googleTagManager)}))}scheduleAfterLoad(t){if(!L(this.platformId))return;let e=()=>{typeof window.requestIdleCallback=="function"?window.requestIdleCallback(t,{timeout:2e3}):setTimeout(t,1)},o=1500,n=6e3,s=()=>{let i=typeof performance<"u"?performance:null;if(!i||typeof i.getEntriesByType!="function"){e();return}let l=Date.now(),g=i.getEntriesByType("resource").length,w=()=>{let A=i.getEntriesByType("resource").length;if(A===g||Date.now()-l>=n){e();return}g=A,setTimeout(w,o)};setTimeout(w,o)};document.readyState==="complete"?s():window.addEventListener("load",s,{once:!0})}initializeGleap(t){import("./chunk-I53CLSGE.js").then(e=>{let o=e.default;o.initialize(t.apiKey),t.showFeedbackButton!==void 0&&o.showFeedbackButton(t.showFeedbackButton)}).catch(e=>{})}configureGoogleAnalytics(t){window.dataLayer=window.dataLayer||[],window.gtag=window.gtag||function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("config",t.measurementId)}loadGoogleAnalyticsScript(t){let e=document.createElement("script");e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${t.measurementId}`,document.head.appendChild(e)}configureGoogleTagManager(t){window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":Date.now(),event:"gtm.js"})}loadGoogleTagManagerScript(t){let e=document.createElement("script");e.async=!0,e.src=`https://www.googletagmanager.com/gtm.js?id=${t.containerId}`,document.head.appendChild(e);let o=document.createElement("noscript");o.innerHTML=`<iframe src="https://www.googletagmanager.com/ns.html?id=${t.containerId}" height="0" width="0" style="display:none;visibility:hidden"></iframe>`,document.body.appendChild(o)}pushGtagStyle(t){typeof window.gtag=="function"?window.gtag(...t):(window.dataLayer=window.dataLayer||[],window.dataLayer.push(t))}trackEvent(t,e){L(this.platformId)&&(this.pushGtagStyle(["event",t,e]),window.dataLayer=window.dataLayer||[],window.dataLayer.push(H({event:t},e)),window.Gleap&&window.Gleap.trackEvent(t,e))}setUserProperty(t,e){L(this.platformId)&&(this.pushGtagStyle(["set",{[t]:e}]),window.Gleap&&window.Gleap.setCustomData({[t]:e}))}identifyUser(t,e){L(this.platformId)&&(this.pushGtagStyle(["config","GA_MEASUREMENT_ID",{user_id:t}]),window.Gleap&&window.Gleap.identify(t,e))}captureUTMParams(){try{if(typeof window>"u"||!window.localStorage)return;let t="uni_attribution",e=localStorage.getItem(t);if(e){try{sessionStorage.setItem("uni_utm",e)}catch{}return}let o=new URLSearchParams(window.location.search),n=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","ref"],s=document.referrer||"",i={landing_page:window.location.pathname||"",referrer:this.isInternalReferrer(s)?"":s,captured_at:new Date().toISOString()};for(let g of n){let w=o.get(g);w&&(i[g]=w)}let l=JSON.stringify(i);localStorage.setItem(t,l);
3try{sessionStorage.setItem("uni_utm",l)}catch{}try{let g=encodeURIComponent(l),w=60*60*24*90,A=window.location.hostname||"",S=A==="uni.xyz"||A.endsWith(".uni.xyz")?"; domain=.uni.xyz":"",k=window.location.protocol==="https:"?"; Secure":"";document.cookie=`uni_attribution=${g}; path=/; max-age=${w}${S}; SameSite=Lax${k}`}catch{}}catch{}}isInternalReferrer(t){if(!t)return!1;try{let e=new URL(t).hostname.toLowerCase();return e==="uni.xyz"||e.endsWith(".uni.xyz")}catch{return!1}}static getStoredUTMParams(){try{if(typeof window>"u")return{};let t=window.localStorage?.getItem("uni_attribution");if(t)return JSON.parse(t);let e=sessionStorage.getItem("uni_utm");if(e)return JSON.parse(e)}catch{}return{}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Bd=["old_default_url","https://s3.amazonaws.com/sparro-global/profile_pic.svg","http://s3.amazonaws.com/sparro-global/profile_pic.svg","/static/images/default-avatar.svg","/static/images/profile_pic.svg","null","undefined",""];function Wl(a){return!a||a.trim()===""||Bd.includes(a.trim())?!0:a.includes("profile_pic.svg")}var zd=(()=>{class a{AWS_S3_BASE_URL="https://uni-common-assets.s3.amazonaws.com/icons/avatar/svg";setDefaultAvatar(t,e,o,n,s,i="circle"){let g=this.getInitialCharacter(t,e,o,n).toUpperCase();return/^[A-Z]$/.test(g)?`https://uni-common-assets.s3.amazonaws.com/architect-avatars/bauhaus-${g}.svg`:"https://uni-common-assets.s3.amazonaws.com/architect-avatars/bauhaus-A.svg"}getDefaultAvatarForUser(t,e="circle"){return this.setDefaultAvatar(t.first_name,t.last_name,t.email,t.username,t.id,e)}getAvatarLetter(t){let e=this.extractValidCharacter(t);return e?e.toUpperCase():"A"}getInitialCharacter(t,e,o,n){if(t){let s=this.extractValidCharacter(t);if(s)return s}if(e){let s=this.extractValidCharacter(e);if(s)return s}if(o){let s=this.extractValidCharacter(o);if(s)return s}if(n){let s=this.extractValidCharacter(n);if(s)return s}return"a"}extractValidCharacter(t){if(!t||t.trim().length===0)return null;let e=t.trim().charAt(0).toLowerCase();return this.checkAlphabet(e)?e:this.mapUnicodeToLatin(e)}checkAlphabet(t){return/^[a-z]$/i.test(t)}mapUnicodeToLatin(t){if(!t||t.length===0)return"a";let o=(t.codePointAt(0)||0)%26;return String.fromCharCode(97+o)}setDefaultCover(t,e,o,n){let i=this.getInitialCharacter(t,e,o,n).toUpperCase();return/^[A-Z]$/.test(i)?`https://uni-common-assets.s3.amazonaws.com/user-covers/flat-${i}.png`:"https://uni-common-assets.s3.amazonaws.com/user-covers/flat-A.png"}getDefaultCoverForUser(t){return this.setDefaultCover(t.first_name,t.last_name,t.email,t.username)}getCoverUrl(t){return t.cover_url&&t.cover_url.trim()!==""&&t.cover_url!=="null"&&t.cover_url!=="undefined"?t.cover_url:this.getDefaultCoverForUser(t)}getAvatarUrl(t,e="circle"){let o=n=>!!n&&!Wl(n);return o(t.avatar_url)?t.avatar_url:o(t.avatarUrl)?t.avatarUrl:this.getDefaultAvatarForUser(t,e)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var tx=100*1024*1024,ex=2048*1024*1024;var yd="public",ax=(()=>{class a{http=v(w0);configService=v(He);uploadFile(t,e=!0){let o=new a0,n=new FormData;return n.append("file",t,t.name),e&&n.append("visibility",yd),this.http.post(`${this.configService.getApiUrl()}/api/v2/user_files/upload/`,n,{withCredentials:!0,reportProgress:!0,observe:"events"}).subscribe({next:s=>{switch(s.type){case p1.UploadProgress:let i=s.total?Math.round(100*s.loaded/s.total):0;o.next({status:"uploading",progress:i});break;case p1.Response:let l=s.body?.url||s.body?.file_url||"",g=s.body?.visibility==="private";!l||g?o.next({status:"error",progress:100,error:"Uploaded, but this file was kept private. Staff accounts get permanent links for images, PDFs, DOCX and videos; SVG stays private (script container), and non-staff accounts get permanent links for images only. Any link to a private file would expire in 30 minutes."}):o.next({status:"completed",progress:100,url:l}),o.complete();break}},error:s=>{let i=s.error?.detail||s.error?.error||s.message||"Upload failed";o.next({status:"error",progress:0,error:i}),o.complete()}}),o.asObservable()}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var ox=(()=>{class a{http=v(w0);apiUrl=p0("/api/v2/search/");colorSearchUrl=p0("/api/v2/search/colors/");contentTypesUrl=p0("/api/v2/search/content-types/");flagUrl=p0("/api/v2/search/flag/");groupedUrl=p0("/api/v2/search/grouped/");suggest(t,e,o=8){let n=new E0().set("q",t).set("limit",o.toString());return e&&e.length&&(n=n.set("type",e.join(","))),this.http.get(p0("/api/v2/search/suggest/"),{params:n})}search(t,e,o=1,n=20,s,i,l,g,w){let A=new E0().set("page",o.toString()).set("page_size",n.toString());return t&&(A=A.set("q",t)),e?.length&&(A=A.set("type",e.join(","))),s&&(A=A.set("content_type",s)),i?.length&&(A=A.set("media_source",i.join(","))),l&&(A=A.set("app",l)),g&&(A=A.set("output",g)),w&&(A=A.set("award",w)),this.http.get(this.apiUrl,{params:A})}searchGrouped(t,e){let o=new E0().set("q",t);return e&&(o=o.set("award",e)),this.http.get(this.groupedUrl,{params:o})}searchByColor(t,e,o=1,n=20){let s=new E0().set("colors",t.join(",")).set("page",o.toString()).set("page_size",n.toString());return e&&(s=s.set("content_type",e)),this.http.get(this.colorSearchUrl,{params:s})}getContentTypes(){return this.http.get(this.contentTypesUrl)}flagMedia(t,e=""){return this.http.post(this.flagUrl,{media_file_id:t,reason:e})}unflagMedia(t){return this.http.delete(this.flagUrl,{params:{media_file_id:t.toString()}})}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Sd=()=>import("./chunk-PZK77MEY.js").then(a=>a.UniLoginModalComponent),kd=()=>import("./chunk-PED5TM6X.js").then(a=>a.FeedActorsModalComponent),Pd=()=>import("./chunk-DABC4IBD.js").then(a=>a.CreateOrganizationDialogComponent),Od={login:Sd,feedActors:kd,createOrganization:Pd},rx=(()=>{class a{http=v(w0);configService=v(He);toastService=v(U1);destroyRef=v(r0);isModalOpen=new X(!1);modalComponentRef=null;
3viewContainerRef=null;hideModalTimeout;reloadTimeout;static GOOGLE_CLIENT_ID="419687941724-ipe4evdt6ttb2svgsr9h6a0pe7op0h9n.apps.googleusercontent.com";googleClient=null;googleScriptLoaded=!1;constructor(){this.destroyRef.onDestroy(()=>{this.clearTimeouts()})}clearTimeouts(){this.hideModalTimeout&&(clearTimeout(this.hideModalTimeout),this.hideModalTimeout=void 0),this.reloadTimeout&&(clearTimeout(this.reloadTimeout),this.reloadTimeout=void 0)}setViewContainerRef(t){this.viewContainerRef=t}get isOpen$(){return this.isModalOpen.asObservable()}get isOpen(){return this.isModalOpen.value}showLoginModal(t,e,o){return new Promise((n,s)=>{if(this.isModalOpen.value){n(null);return}if(!this.viewContainerRef){console.error("ViewContainerRef not set. Call setViewContainerRef() first."),s(new Error("ViewContainerRef not available"));return}this.isModalOpen.next(!0),Od.login().then(i=>{if(!this.viewContainerRef){this.isModalOpen.next(!1),s(new Error("ViewContainerRef not available"));return}this.modalComponentRef=this.viewContainerRef.createComponent(i),o?.persistent&&this.modalComponentRef.instance.persistent.set(!0),this.modalComponentRef.instance.loginSuccess.pipe(n0(this.destroyRef)).subscribe(l=>{this.handleLoginEvent(l,t,n)}),this.modalComponentRef.instance.close.pipe(n0(this.destroyRef)).subscribe(()=>{this.hideLoginModal(),e&&e(),n(null)}),this.modalComponentRef.instance.show()}).catch(i=>{console.error("[UniAuthModalService] Failed to load the login modal:",i),this.isModalOpen.next(!1),s(i)})})}hideLoginModal(){this.modalComponentRef&&(this.modalComponentRef.instance.hide(),this.hideModalTimeout=setTimeout(()=>{this.modalComponentRef&&(this.modalComponentRef.destroy(),this.modalComponentRef=null)},300)),this.isModalOpen.next(!1)}setError(t){this.modalComponentRef&&this.modalComponentRef.instance.setError(t)}setLoading(t){this.modalComponentRef&&this.modalComponentRef.instance.setLoading(t)}setGoogleLoading(t){this.modalComponentRef&&this.modalComponentRef.instance.setGoogleLoading(t)}showResendVerification(t){this.modalComponentRef&&this.modalComponentRef.instance.setShowResendVerification(t)}isModalCurrentlyOpen(){return this.isModalOpen.value&&this.modalComponentRef!==null}handleLoginEvent(t,e,o){t.type==="credentials"?this.handleCredentialsLogin(t.data,e,o):t.type==="google"?this.handleGoogleLogin(e,o):t.type==="linkedin"?this.handleLinkedInLogin(t.data,e,o):t.type==="resend_verification"&&this.handleResendVerification(t.data,e,o)}handleCredentialsLogin(t,e,o){this.http.post(`${this.configService.getApiUrl()}/rest-auth/custom/login/`,t,{withCredentials:!0,headers:{"Content-Type":"application/json"}}).subscribe({next:n=>{this.setLoading(!1),this.setGoogleLoading(!1),this.toastService.show("Successfully signed in!","success"),this.hideLoginModal(),this.reloadTimeout=setTimeout(()=>{window.location.reload()},500),e&&e(n),o&&o(n)},error:n=>{this.setLoading(!1),this.setGoogleLoading(!1);let s="Failed to sign in. Please try again.";n.error?.non_field_errors?s=n.error.non_field_errors[0]:n.error?.detail?s=n.error.detail:n.error?.email?s=n.error.email[0]:n.error?.password&&(s=n.error.password[0]),(s.toLowerCase().includes("verify")||s.toLowerCase().includes("activation"))&&this.showResendVerification(!0),this.setError(s)}})}handleGoogleLogin(t,e){this.ensureGoogleScript().then(()=>{if(this.initGoogleClient(),!this.googleClient){this.setGoogleLoading(!1),this.setError("Google sign-in is not available. Please try email login.");return}this.googleClient.callback=o=>{if(o.error){this.setGoogleLoading(!1),this.setError("Google sign-in was cancelled or failed.");return}this.http.post(`${this.configService.getApiUrl()}/google-signup/`,{auth_response:{access_token:o.access_token,token_type:o.token_type,expires_in:o.expires_in,scope:o.scope}},{withCredentials:!0}).subscribe({next:n=>{this.setGoogleLoading(!1),this.toastService.show("Successfully signed in!","success"),this.hideLoginModal(),this.reloadTimeout=setTimeout(()=>{window.location.reload()},500),t&&t(n),e&&e(n)},error:n=>{this.setGoogleLoading(!1);let s=n.error?.detail||n.error?.non_field_errors?.[0]||"Google sign-in failed. Please try again.";this.setError(s)}})},this.googleClient.requestAccessToken()}).catch(()=>{this.setGoogleLoading(!1),this.setError("Failed to load Google sign-in. Please try email login.")})}ensureGoogleScript(){return new Promise((t,e)=>{if(typeof window>"u"){e();return}if(window.google?.accounts?.oauth2){this.googleScriptLoaded=!0,t();return}let o=document.querySelector('script[src="https://accounts.google.com/gsi/client"]');
3if(o){o.addEventListener("load",()=>{this.googleScriptLoaded=!0,t()}),o.addEventListener("error",()=>e());return}let n=document.createElement("script");n.src="https://accounts.google.com/gsi/client",n.async=!0,n.defer=!0,n.onload=()=>{this.googleScriptLoaded=!0,t()},n.onerror=()=>e(),document.head.appendChild(n)})}initGoogleClient(){if(!this.googleClient)try{this.googleClient=window.google.accounts.oauth2.initTokenClient({client_id:a.GOOGLE_CLIENT_ID,scope:"email profile openid",callback:""})}catch{this.googleClient=null}}handleLinkedInLogin(t,e,o){this.http.post(`${this.configService.getApiUrl()}/linkedin-signup/`,{code:t.code,redirect_uri:t.redirect_uri},{withCredentials:!0}).subscribe({next:n=>{this.modalComponentRef&&this.modalComponentRef.instance.linkedinLoading.set(!1),this.toastService.show("Successfully signed in with LinkedIn!","success"),this.hideLoginModal(),this.reloadTimeout=setTimeout(()=>window.location.reload(),500),e&&e(n),o&&o(n)},error:n=>{this.modalComponentRef&&this.modalComponentRef.instance.linkedinLoading.set(!1);let s=n.error?.error||"LinkedIn sign-in failed. Please try again.";this.setError(s)}})}handleResendVerification(t,e,o){this.http.post(`${this.configService.getApiUrl()}/rest-auth/registration/resend-email/`,{email:t.email},{withCredentials:!0,headers:{"Content-Type":"application/json"}}).subscribe({next:n=>{this.setLoading(!1),this.setError("Verification email sent! Please check your inbox."),this.showResendVerification(!1)},error:n=>{this.setLoading(!1),this.setError("Failed to send verification email. Please try again.")}})}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Td=(()=>{class a{_isOpen=I(!1);openModalCount=0;isOpen=this._isOpen.asReadonly();open(){this.openModalCount++,this._isOpen.set(!0)}close(){this.openModalCount=Math.max(0,this.openModalCount-1),this.openModalCount===0&&this._isOpen.set(!1)}closeAll(){this.openModalCount=0,this._isOpen.set(!1)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Id=(()=>{class a{http=v(w0);toastService=v(U1);isPublicPage(){let t=window.location.pathname;return["/profile/","/journals/","/inspiration/","/publication/","/about/","/topic/","/competition/","/market/","/organization/"].some(o=>t.startsWith(o))}logout(){let t=this.isPublicPage();return this.clearLocalAuthData(),this.http.post(p0("/rest-auth/logout/"),{},{withCredentials:!0}).pipe(J(()=>{this.toastService.show("Logged out successfully","success"),t?window.location.reload():window.location.href="/accounts/login"}),l0(e=>(this.toastService.show("Logged out successfully","success"),t?window.location.reload():window.location.href="/accounts/login",y({message:"Local logout completed"}))))}clearLocalAuthData(){localStorage.removeItem("currentUser"),localStorage.removeItem("user"),localStorage.removeItem("token"),["token","sessionid","g_token","fb_token","csrftoken"].forEach(e=>{document.cookie=`${e}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;`,document.cookie=`${e}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=.uni.xyz;`})}shouldRedirectAfterLogout(){return!this.isPublicPage()}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),K4=!1,Q4=null,oa="uni_session_expired_toast_shown";function Fd(){return typeof window>"u"?!1:sessionStorage.getItem(oa)==="true"}function Gl(a){typeof window>"u"||(a?sessionStorage.setItem(oa,"true"):sessionStorage.removeItem(oa))}function Dd(){return typeof window>"u"?!1:localStorage.getItem("currentUser")!==null}function Al(){Gl(!1)}function Ed(a){if(a.status===0)return"Unable to connect to the server. Please check your internet connection.";if(a.status===429)return"Too many requests. Please wait a moment before trying again.";if(a.status===401)return"Your session has expired. Please log in again.";if(a.status===403)return"You don't have permission to perform this action.";if(a.status===404)return"The requested resource was not found.";if(a.status>=500)return"Server error. Please try again later.";if(a.error){if(typeof a.error=="string")return a.error;if(a.error.detail)return a.error.detail;if(a.error.error)return a.error.error;if(a.error.message)return a.error.message;
3if(a.error.non_field_errors)return Array.isArray(a.error.non_field_errors)?a.error.non_field_errors.join(", "):a.error.non_field_errors;if(typeof a.error=="object"){let r=Object.keys(a.error).find(t=>Array.isArray(a.error[t])&&a.error[t].length>0);if(r)return a.error[r][0]}}return"An unexpected error occurred. Please try again."}var nx=(a,r)=>{let t=v(U1);return r(a).pipe(l0(e=>{let o=Ed(e);return e.status===429?K4||(K4=!0,t.warning(o,5e3),Q4&&clearTimeout(Q4),Q4=setTimeout(()=>{K4=!1},6e3)):e.status===0||e.status>=500?t.error(o):e.status===401&&!Fd()&&Dd()&&(Gl(!0),t.warning(o),localStorage.removeItem("currentUser")),$1(()=>({status:e.status,message:o,error:e.error,originalError:e}))}))},Rd=(()=>{class a{http=v(w0);cookieService=v(q4);destroyRef=v(r0);inflight$;initializeCSRFToken(){this.inflight$||(this.inflight$=this.fetchCSRFToken().pipe(s1({bufferSize:1,refCount:!1}),n1(()=>{this.inflight$=void 0}))),this.inflight$.pipe(n0(this.destroyRef)).subscribe()}fetchCSRFToken(){return this.clearStaleDomainCookies(),this.http.get(p0("/csrf/"),{withCredentials:!0,observe:"response"}).pipe(J(()=>{this.clearStaleDomainCookies(),this.cookieService.get("csrftoken")||console.warn("[UniCSRF] Token fetch completed but cookie not found")}),l0(t=>(console.error("[UniCSRF] Failed to fetch token:",t),y(null))))}ensureCSRFToken(){return this.cookieService.get("csrftoken")?y(!0):this.fetchCSRFToken()}getCSRFToken(){return this.cookieService.get("csrftoken")}hasCSRFToken(){return!!this.cookieService.get("csrftoken")}clearStaleDomainCookies(){typeof document<"u"&&(document.cookie="csrftoken=; domain=.uni.xyz; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT; Secure")}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Ve=(()=>{class a{http=v(w0);platformId=v(N);destroyRef=v(r0);csrfService=v(Rd);userDataCache$=null;cacheExpiry=0;CACHE_TTL=5*60*1e3;_authState=I({user:null,loading:!0,error:null});injector=v(d0);authStateSignal=this._authState.asReadonly();userSignal=v0(()=>this._authState().user);loadingSignal=v0(()=>this._authState().loading);isAuthenticatedSignal=v0(()=>!!this._authState().user);needsOnboarding=v0(()=>{let t=this.userSignal();return this.isAuthenticatedSignal()&&t&&t.onboarding_completed===!1});authState$=Fr(this._authState,{injector:this.injector}).pipe(s1({bufferSize:1,refCount:!0}));currentUser$=this.authState$.pipe(T(t=>t.user),s1({bufferSize:1,refCount:!0}));user$=this.currentUser$;get currentUserValue(){return this._authState().user}get currentUser(){return this._authState().user}loading$=this.authState$.pipe(T(t=>t.loading));updateAuthState(t){this._authState.set(t)}constructor(){this.initializeAuthInternal()}initializeAuthInternal(){if(!L(this.platformId)){this.updateAuthState({user:null,loading:!1,error:null});return}if(this.csrfService.initializeCSRFToken(),!(document.cookie.includes("sessionid")||document.cookie.includes("token"))){localStorage.removeItem("currentUser"),this.updateAuthState({user:null,loading:!1,error:null});return}try{let e=localStorage.getItem("currentUser");if(e){let o=JSON.parse(e),n=R(H({},o),{first_name:o.first_name||"",last_name:o.last_name||"",display_name:o.display_name||o.username||o.email||"User",username:o.username||o.email||"",email:o.email||"",is_active:o.is_active!==!1});this.updateAuthState({user:n,loading:!1,error:null})}}catch(e){console.warn("[UniAuthService] Failed to parse cached user data:",e),localStorage.removeItem("currentUser")}this.fetchUserData().pipe(n0(this.destroyRef)).subscribe()}initAuth(){this.initializeAuthInternal()}initializeAuth(){return this.initializeAuthInternal(),y(void 0)}getApiUrl(t){let e=t.startsWith("/")?t:"/"+t;return L(this.platformId)?window.location.origin+e:e}fetchUserData(){let t=Date.now();return this.userDataCache$&&t<this.cacheExpiry?this.userDataCache$:(this.cacheExpiry=t+this.CACHE_TTL,this.userDataCache$=this.http.get(this.getApiUrl("/rest-auth/user/"),{withCredentials:!0}).pipe(l0(e=>e.status===403||e.status===401?y(null):(console.warn("[UniAuthService] Primary auth endpoint failed, trying fallback:",e),this.http.get(this.getApiUrl("/api/v2/profiles/auth/"),{withCredentials:!0}))),J(e=>{if(e){let o=R(H({},e),{first_name:e.first_name||"",last_name:e.last_name||"",display_name:e.display_name||e.username||e.email||"User",username:e.username||e.email||"",email:e.email||"",is_active:e.is_active!==!1});if(L(this.platformId))try{localStorage.setItem("currentUser",JSON.stringify(o)),Al()}catch(n){console.warn("[UniAuthService] Failed to cache user data:",n)}this.updateAuthState({user:o,loading:!1,error:null})}else L(this.platformId)&&localStorage.removeItem("currentUser"),this.updateAuthState({user:null,loading:!1,error:null})}),l0(e=>(console.error("[UniAuthService] Both auth endpoints failed:",e),L(this.platformId)&&localStorage.removeItem("currentUser"),this.invalidateUserCache(),this.updateAuthState({user:null,loading:!1,error:"Failed to fetch user data"}),y(null))),s1({bufferSize:1,refCount:!0})),this.userDataCache$)}invalidateUserCache(){this.userDataCache$=null,this.cacheExpiry=0}refreshUser(){return this.invalidateUserCache(),this.fetchUserData()}loadUser(){this.initializeAuthInternal()}logout(){return this.http.post(this.getApiUrl("/rest-auth/logout/"),{},{withCredentials:!0}).pipe(J(()=>{this.invalidateUserCache(),L(this.platformId)&&localStorage.removeItem("currentUser"),this.updateAuthState({user:null,loading:!1,error:null}),L(this.platformId)&&(document.cookie="token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="sessionid=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="csrftoken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;")}),l0(t=>(console.error("[UniAuthService] Logout error:",t),this.invalidateUserCache(),L(this.platformId)&&localStorage.removeItem("currentUser"),this.updateAuthState({user:null,loading:!1,error:null}),y(null))))}isAuthenticated(){return this.authState$.pipe(T(t=>!!t.user))}getUser(){return this.currentUser$}updateUser(t){let e=this._authState();if(e.user){let o=H(H({},e.user),t);if(this.updateAuthState(R(H({},e),{user:o})),L(this.platformId))try{localStorage.setItem("currentUser",JSON.stringify(o))}catch(n){console.warn("[UniAuthService] Failed to update cached user data:",n)}}}isLoggedIn(){if(!L(this.platformId))return!1;let t=!!this._authState().user,e=document.cookie.includes("sessionid"),o=document.cookie.includes("token"),n=!!localStorage.getItem("currentUser");return t&&(e||o)}getCurrentUser(){return this._authState().user}updateCurrentUser(t){if(this.updateAuthState({user:t,loading:!1,error:null}),L(this.platformId))try{localStorage.setItem("currentUser",JSON.stringify(t)),Al()}catch(e){console.warn("[UniAuthService] Failed to update cached user data:",e)}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Ud={id:"navigation",steps:[{element:'[data-tour-id="rail-logo"]',popover:{title:"Home base",description:"The UNI logo brings
3you back to your Feed from anywhere.",side:"right",align:"start"}},{element:'[data-tour-id="rail-core"]',popover:{title:"Your content types",description:"Jump straight to Competitions, Projects, Journals, and Publications.",side:"right",align:"start"}},{element:'[data-tour-id="rail-pinned"]',popover:{title:"Pinned apps",description:"Your shortcuts. Drag to reorder, and pin any app you use often.",side:"right",align:"start"}},{element:'[data-tour-id="rail-all-apps"]',popover:{title:"All your apps",description:"Open the switcher to browse every app, pin favorites, and find partner tools.",side:"right",align:"start"}}]},Nd={id:"feed",steps:[{element:'[data-tour-id="feed-tabs"]',popover:{title:"Choose your feed",description:"Switch between Latest, For You, and Following to see posts the way you want.",side:"bottom",align:"start"}},{element:'[data-tour-id="feed-trending"]',popover:{title:"Trending topics",description:"Tap a topic to dive into what the community is talking about right now.",side:"left",align:"start"}}]},Y4="navigation",jd=5,Hl="uni-last-tour-shown-at",sx=(()=>{class a{platformId=v(N);http=v(w0);authService=v(Ve);driverInstance=null;driverLoadPromise=null;activeTourId=null;shouldShowTour(t){if(!L(this.platformId)||window.innerWidth<1024)return!1;let e=this.authService.getCurrentUser();if(!e||!e.onboarding_completed)return!1;let o=e.guided_tours_completed||[];return o.includes(t)?!1:t===Y4?!0:!(!o.includes(Y4)||!this.isPastCooldown())}isPastCooldown(){try{let t=parseInt(localStorage.getItem(Hl)||"0",10);return t?(Date.now()-t)/6e4>=jd:!0}catch{return!0}}markTourShown(){try{localStorage.setItem(Hl,String(Date.now()))}catch{}}startTour(t){return i0(this,null,function*(){if(!L(this.platformId)||this.activeTourId)return;let e=this.shouldShowTour(t.id);if(console.log("[UNI Tour]",t.id,"shouldShow:",e,"user:",this.authService.getCurrentUser()?.username),!e)return;this.activeTourId=t.id,this.markTourShown(),yield new Promise(l=>setTimeout(l,2e3));let o=document.querySelector(t.steps[0]?.element);if(console.log("[UNI Tour] First element:",t.steps[0]?.element,"found:",!!o),!o){this.activeTourId=null;return}yield this.loadDriver();let n=window,s=n.driver?.js?.driver||n.driver;if(console.log("[UNI Tour] Driver loaded:",typeof s,"keys:",Object.keys(n.driver||{})),typeof s!="function"){this.activeTourId=null;return}let i=s({showProgress:!0,animate:!0,smoothScroll:!0,overlayColor:"rgba(0, 0, 0, 0.6)",stagePadding:8,stageRadius:12,popoverClass:"uni-tour-popover",nextBtnText:"Next",prevBtnText:"Back",doneBtnText:"Got it",steps:t.steps,onHighlightStarted:l=>{if(l&&typeof l.scrollIntoView=="function")try{l.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})}catch{l.scrollIntoView(!0)}},onDestroyStarted:()=>{this.markCompleted(t.id),this.activeTourId=null,i.destroy()}});this.driverInstance=i,i.drive()})}runTour(t){return i0(this,null,function*(){if(!L(this.platformId))return;let e=t.steps.filter(o=>document.querySelector(o.element));e.length&&(yield this.startTour({id:t.id,steps:e}))})}startNavigationTour(){return i0(this,null,function*(){yield this.runTour(Ud)})}startFeedTour(){return i0(this,null,function*(){yield this.runTour(Nd)})}showHint(t,e,o,n,s="bottom",i=1){return i0(this,null,function*(){if(!L(this.platformId)||window.innerWidth<1024||this.activeTourId)return;let l=this.authService.getCurrentUser();if(!l||!l.onboarding_completed)return;let g=l.guided_tours_completed||[];if(g.includes(t)||!g.includes(Y4)||!this.isPastCooldown())return;let w=`uni-hint-visits:${t}`,A=0;try{A=parseInt(localStorage.getItem(w)||"0",10)||0}catch{}A+=1;try{localStorage.setItem(w,String(A))}catch{}if(A<i)return;if(this.activeTourId=t,this.markTourShown(),yield new Promise(E=>setTimeout(E,800)),!document.querySelector(e)){this.activeTourId=null;return}this.markCompleted(t),yield this.loadDriver();let _=window,S=_.driver?.js?.driver||_.driver;if(typeof S!="function"){this.activeTourId=null;return}let k=S({overlayColor:"rgba(0, 0, 0, 0.55)",stagePadding:6,stageRadius:10,popoverClass:"uni-tour-popover",doneBtnText:"Got it",showButtons:["close"],onDestroyStarted:()=>{this.markCompleted(t),this.activeTourId=null,k.destroy()}});k.highlight({element:e,popover:{title:o,description:n,side:s,align:"center"}})})}markCompleted(t){let e=this.authService.getCurrentUser();if(e){let o=e.guided_tours_completed||[];o.includes(t)||(o.push(t),this.authService.updateUser({guided_tours_completed:o}))}this.http.post(p0("/api/v2/guided-tour/complete/"),{tour_id:t},{withCredentials:!0}).subscribe({error:()=>{}})}loadDriver(){return this.driverLoadPromise?this.driverLoadPromise:(this.driverLoadPromise=new Promise(t=>{let e=document.createElement("link");e.rel="stylesheet",e.href="https://cdn.jsdelivr.net/npm/[email protected]/dist/driver.css",document.head.appendChild(e);let o=document.createElement("style");o.textContent=` 4 .uni-tour-popover { 5 font-family: var(--font-family-primary, 'Inter', -apple-system, sans-serif) !important; 6 max-width: 320px !important; 7 border-radius: var(--radius-lg, 12px) !important; 8 background: var(--purple-700, #7e22ce) !important; 9 color: white !important; 10 } 11 .uni-tour-popover .driver-popover-title { 12 font-size: var(--font-size-sm, 14px) !important; 13 font-weight: var(--font-weight-semibold, 600) !important; 14 color: white !important; 15 } 16 .uni-tour-popover .driver-popover-description { 17 font-size: var(--font-size-xs, 13px) !important; 18 line-height: var(--line-height-normal, 1.5) !important; 19 color: rgba(255, 255, 255, 0.85) !important; 20 } 21 .uni-tour-popover .driver-popover-progress-text { 22 font-size: 11px !important; 23 color: rgba(255, 255, 255, 0.6) !important; 24 } 25 .uni-tour-popover button.driver-popover-next-btn, 26 .uni-tour-popover button.driver-popover-done-btn { 27 background: #ffffff !important; 28 color: var(--purple-700, #7e22ce) !important; 29 border: none !important; 30 padding: var(--size-1-5, 6px) var(--size-4, 16px) !important; 31 border-radius: var(--radius-md, 6px) !important; 32 font-size: var(--font-size-xs, 13px) !important; 33 font-weight: var(--font-weight-semibold, 600) !important; 34 text-shadow: none !important; 35 } 36 .uni-tour-popover button.driver-popover-next-btn:hover, 37 .uni-tour-popover button.driver-popover-done-btn:hover { 38 background: #f0f0f0 !important; 39 } 40 .uni-tour-popover button.driver-popover-prev-btn { 41 background: rgba(255, 255, 255, 0.15) !important; 42 color: #ffffff !important; 43 border: 1px solid rgba(255, 255, 255, 0.3) !important; 44 padding: var(--size-1-5, 6px) var(--size-4, 16px) !important; 45 border-radius: var(--radius-md, 6px) !important; 46 font-size: var(--font-size-xs, 13px) !important; 47 font-weight: var(--font-weight-medium, 500) !important; 48 text-shadow: none !important; 49 } 50 .uni-tour-popover button.driver-popover-prev-btn:hover { 51 background: rgba(255, 255, 255, 0.25) !important; 52 } 53 .uni-tour-popover button.driver-popover-close-btn { 54 color: rgba(255, 255, 255, 0.6) !important; 55 } 56 .uni-tour-popover button.driver-popover-close-btn:hover { 57 color: #ffffff !important; 58 } 59 .driver-popover-arrow-side-left .driver-popover-arrow, 60 .driver-popover-arrow-side-left.driver-popover-arrow-align-start, 61 .driver-popover-arrow-side-left.driver-popover-arrow-align-center, 62 .driver-popover-arrow-side-left.driver-popover-arrow-align-en
62d { 63 border-left-color: var(--purple-700, #7e22ce) !important; 64 } 65 .driver-popover-arrow-side-right .driver-popover-arrow, 66 .driver-popover-arrow-side-right.driver-popover-arrow-align-start, 67 .driver-popover-arrow-side-right.driver-popover-arrow-align-center, 68 .driver-popover-arrow-side-right.driver-popover-arrow-align-end { 69 border-right-color: var(--purple-700, #7e22ce) !important; 70 } 71 .driver-popover-arrow-side-top .driver-popover-arrow, 72 .driver-popover-arrow-side-top.driver-popover-arrow-align-start, 73 .driver-popover-arrow-side-top.driver-popover-arrow-align-center, 74 .driver-popover-arrow-side-top.driver-popover-arrow-align-end { 75 border-top-color: var(--purple-700, #7e22ce) !important; 76 } 77 .driver-popover-arrow-side-bottom .driver-popover-arrow, 78 .driver-popover-arrow-side-bottom.driver-popover-arrow-align-start, 79 .driver-popover-arrow-side-bottom.driver-popover-arrow-align-center, 80 .driver-popover-arrow-side-bottom.driver-popover-arrow-align-end { 81 border-bottom-color: var(--purple-700, #7e22ce) !important; 82 } 83 /* A fixed-position sidebar/navbar/modal is its own stacking context, so 84 driver.js's elevation of a highlighted child cannot escape it -- the 85 child stays under the dim overlay. We lift the CONTAINER above the 86 overlay, but ONLY the one that actually holds the active element 87 (:has), so the other sidebars stay dimmed. An earlier version keyed 88 this off html:has(...), which lifted EVERY sidebar on every step and 89 left the whole left menu looking highlighted the entire tour. */ 90 .icon-sidebar:has(.driver-active-element), 91 .page-sidebar:has(.driver-active-element), 92 lib-sidebar-menu:has(.driver-active-element), 93 .sidebar:has(.driver-active-element), 94 app-feed-rail:has(.driver-active-element), 95 lib-apps-modal:has(.driver-active-element), 96 .navbar:has(.driver-active-element) { 97 z-index: 10003 !important; 98 } 99 `,document.head.appendChild(o);let n=document.createElement("script");n.src="https://cdn.jsdelivr.net/npm/[email protected]/dist/driver.js.iife.js",n.onload=()=>t(),n.onerror=()=>{this.driverLoadPromise=null,t()},document.head.appendChild(n)}),this.driverLoadPromise)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),$d=["/admin","/static/","/assets/","/api/","/rest-auth/","/favicon.ico"],Wd=new Set(["/sw.js"]),Gd=200,qd=36e5,ix=(()=>{class a{platformId=v(N);http=v(w0);router=v(z0);initialized=!1;sessionReferrer=null;referrerCaptured=!1;path$=new a0;currentPageViewId=null;currentPath=null;maxScrollDepth=0;dwellAccumulatedMs=0;dwellSegmentStart=null;lastScrollComputeAt=0;onScroll=()=>this.scheduleScrollCompute();onVisibilityChange=()=>this.handleVisibilityChange();onPageHide=()=>this.flushFinalMetrics(!0);onBeforeUnload=()=>this.flushFinalMetrics(!0);initialize(){L(this.platformId)&&(this.initialized||(this.initialized=!0,this.referrerCaptured||(this.sessionReferrer=document.referrer||null,this.referrerCaptured=!0),this.path$.pipe(z1(300),Wt()).subscribe(t=>this.startPageView(t)),this.router.events.pipe(H0(t=>t instanceof S0)).subscribe(()=>{this.path$.next(window.location.pathname)}),this.path$.next(window.location.pathname),window.addEventListener("scroll",this.onScroll,{passive:!0}),document.addEventListener("visibilitychange",this.onVisibilityChange),window.addEventListener("pagehide",this.onPageHide),window.addEventListener("beforeunload",this.onBeforeUnload),document.visibilityState==="visible"&&(this.dwellSegmentStart=Date.now())))}trackPath(t){L(this.platformId)&&t&&this.path$.next(t)}startPageView(t){t&&(this.isExcluded(t)||(this.flushFinalMetrics(!1),this.resetEngagementState(t),this.http.post(p0("/api/v2/pageview/"),{path:t,referrer:this.sessionReferrer},{withCredentials:!0}).subscribe({next:e=>{e&&typeof e.id=="number"&&this.currentPath===t&&(this.currentPageViewId=e.id)},error:()=>{}})))}resetEngagementState(t){this.currentPageViewId=null,this.currentPath=t,this.maxScrollDepth=0,this.dwellAccumulatedMs=0,this.dwellSegmentStart=document.visibilityState==="visible"?Date.now():null,this.lastScrollComputeAt=0,this.recomputeScrollDepth()}scheduleScrollCompute(){let t=Date.now();t-this.lastScrollComputeAt<Gd||(this.lastScrollComputeAt=t,this.recomputeScrollDepth())}recomputeScrollDepth(){try{let t=document.documentElement,e=document.body,o=window.innerHeight||t.clientHeight||0,n=window.scrollY||t.scrollTop||(e?e.scrollTop:0)||0,s=Math.max(t.scrollHeight||0,e?e.scrollHeight:0,t.offsetHeight||0,e?e.offsetHeight:0),l=Math.max(0,s-o)===0?100:Math.round((n+o)/s*100),g=Math.max(0,Math.min(100,l));g>this.maxScrollDepth&&(this.maxScrollDepth=g)}catch{}}handleVisibilityChange(){document.visibilityState==="visible"?this.dwellSegmentStart=Date.now():this.bankDwellSegment()}bankDwellSegment(){if(this.dwellSegmentStart===null)return;let t=Date.now()-this.dwellSegmentStart;this.dwellSegmentStart=null,t>0&&(this.dwellAccumulatedMs=Math.min(qd,this.dwellAccumulatedMs+t))}flushFinalMetrics(t){if(!L(this.platformId))return;this.bankDwellSegment(),this.recomputeScrollDepth();let e=this.currentPageViewId;if(e===null)return;let o=this.maxScrollDepth,n=this.dwellAccumulatedMs;if(o<=0&&n<=0)return;let s=p0(`/api/v2/pageview/${e}/metrics/`),i={scroll_depth:o,dwell_time_ms:n};if(t&&typeof navigator<"u"&&typeof navigator.sendBeacon=="function"){try{let l=new Blob([JSON.stringify(i)],{type:"application/json"});navigator.sendBeacon(s,l)}catch{}this.currentPageViewId=null;return}this.http.patch(s,i,{withCredentials:!0}).subscribe({error:()=>{}}),this.currentPageViewId=null}isExcluded(t){if(Wd.has(t))return!0;for(let e of $d)if(t.startsWith(e))return!0;return!1}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var xl="/uni-push-sw.js",Vl="/",Zl="uni_push_dismissed_at",Kd=(()=>{class a{platformId=v(N);http=v(w0);authService=v(Ve);
99isSupported(){return L(this.platformId)&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window}getPermission(){return this.isSupported()?Notification.permission:"unsupported"}shouldPrompt(){if(!this.isSupported()||Notification.permission!=="default"||!this.authService.getCurrentUser())return!1;try{let e=localStorage.getItem(Zl);if(e){let o=parseInt(e,10),n=7*24*60*60*1e3;if(Date.now()-o<n)return!1}}catch{}return!0}dismissPrompt(){if(L(this.platformId))try{localStorage.setItem(Zl,Date.now().toString())}catch{}}ensureSubscription(){return i0(this,null,function*(){if(!this.isSupported()||Notification.permission!=="granted")return!1;try{let t=yield navigator.serviceWorker.register(xl,{scope:Vl});yield navigator.serviceWorker.ready;let o=(yield C1(this.http.get(p0("/api/v2/push/vapid-key/")))).public_key;if(!o)return!1;let n=yield t.pushManager.getSubscription(),s=this._urlBase64ToUint8Array(o);if(n){let l=n.options?.applicationServerKey;if(l&&this._keysMatch(new Uint8Array(l),s))return yield C1(this.http.post(p0("/api/v2/push/subscribe/"),{subscription:n.toJSON()},{withCredentials:!0})),!0;yield n.unsubscribe()}let i=yield t.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:s});return yield C1(this.http.post(p0("/api/v2/push/subscribe/"),{subscription:i.toJSON()},{withCredentials:!0})),!0}catch(t){return console.error("[UNI Push] ensureSubscription failed:",t),!1}})}_keysMatch(t,e){if(t.length!==e.length)return!1;for(let o=0;o<t.length;o++)if(t[o]!==e[o])return!1;return!0}subscribe(){return i0(this,null,function*(){if(!this.isSupported())return!1;if((yield Notification.requestPermission())!=="granted")return this.dismissPrompt(),!1;try{let e=yield navigator.serviceWorker.register(xl,{scope:Vl});yield navigator.serviceWorker.ready;let n=(yield C1(this.http.get(p0("/api/v2/push/vapid-key/")))).public_key;if(!n)return!1;let s=yield e.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:this._urlBase64ToUint8Array(n)});return yield C1(this.http.post(p0("/api/v2/push/subscribe/"),{subscription:s.toJSON()},{withCredentials:!0})),!0}catch(e){return console.error("[UNI Push] subscribe failed:",e),!1}})}unsubscribe(){return i0(this,null,function*(){if(!this.isSupported())return!1;try{let e=yield(yield navigator.serviceWorker.ready).pushManager.getSubscription();return e&&(yield C1(this.http.post(p0("/api/v2/push/unsubscribe/"),{endpoint:e.endpoint},{withCredentials:!0})),yield e.unsubscribe()),!0}catch(t){return console.error("[UNI Push] unsubscribe failed:",t),!1}})}_urlBase64ToUint8Array(t){let e="=".repeat((4-t.length%4)%4),o=(t+e).replace(/-/g,"+").replace(/_/g,"/"),n=atob(o),s=new Uint8Array(n.length);for(let i=0;i<n.length;i++)s[i]=n.charCodeAt(i);return s}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),lx=(()=>{class a{pushService=v(Kd);platformId=v(N);handler=null;attached=!1;ngOnInit(){L(this.platformId)&&setTimeout(()=>{if(this.pushService.getPermission()==="granted"){this.pushService.ensureSubscription().catch(()=>{});return}this.armPromptOnGesture()},3e3)}ngOnDestroy(){this.detachHandler()}armPromptOnGesture(){this.pushService.shouldPrompt()&&(this.handler=()=>{this.detachHandler(),this.pushService.subscribe().catch(()=>{})},document.addEventListener("click",this.handler,{once:!0,capture:!0}),document.addEventListener("keydown",this.handler,{once:!0,capture:!0}),document.addEventListener("touchstart",this.handler,{once:!0,capture:!0}),this.attached=!0)}detachHandler(){!this.attached||!this.handler||(document.removeEventListener("click",this.handler,!0),document.removeEventListener("keydown",this.handler,!0),document.removeEventListener("touchstart",this.handler,!0),this.attached=!1,this.handler=null)}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-push-prompt"]],decls:0,vars:0,template:function(e,o){},encapsulation:2,changeDetection:0})}return a})(),Qd=(()=>{class a{platformId=v(N);destroyRef=v(r0);breakpoints={mobile:480,tablet:768};
99viewportStateSubject=new X(this.getInitialViewportState());constructor(){L(this.platformId)&&this.initializeViewportObserver()}get viewportState$(){return this.viewportStateSubject.asObservable()}get currentViewportState(){return this.viewportStateSubject.value}get isMobile(){return this.currentViewportState.isMobile}get isTablet(){return this.currentViewportState.isTablet}get isDesktop(){return this.currentViewportState.isDesktop}get isMobile$(){return this.viewportState$.pipe(T(t=>t.isMobile))}get isTablet$(){return this.viewportState$.pipe(T(t=>t.isTablet))}get isDesktop$(){return this.viewportState$.pipe(T(t=>t.isDesktop))}isInRange$(t,e){return this.viewportState$.pipe(T(o=>e!==void 0?o.width>=t&&o.width<=e:o.width>=t))}initializeViewportObserver(){typeof window>"u"||d2(window,"resize").pipe(G1(null),T(()=>this.calculateViewportState()),n0(this.destroyRef)).subscribe(t=>{this.viewportStateSubject.next(t)})}getInitialViewportState(){return L(this.platformId)?this.calculateViewportState():{size:"desktop",width:1280,height:720,isMobile:!1,isTablet:!1,isDesktop:!0}}calculateViewportState(){if(!L(this.platformId)||typeof window>"u")return this.getInitialViewportState();let t=window.innerWidth,e=window.innerHeight,o,n,s,i;return t<=this.breakpoints.mobile?(o="mobile",n=!0,s=!1,i=!1):t<=this.breakpoints.tablet?(o="tablet",n=!1,s=!0,i=!1):(o="desktop",n=!1,s=!1,i=!0),{size:o,width:t,height:e,isMobile:n,isTablet:s,isDesktop:i}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Yd=(()=>{class a{http=v(w0);configService=v(He);followUser(t,e){let o=`${this.configService.getApiUrl()}/api/v2/users/${t}/followers/`;return this.http.post(o,{follower:e},{withCredentials:!0})}unfollowUser(t,e){let o=e?`${this.configService.getApiUrl()}/api/v2/users/${t}/followers/${e}/`:`${this.configService.getApiUrl()}/api/v2/users/${t}/followers/unfollow/`;return this.http.delete(o,{withCredentials:!0})}followOrganization(t,e){let o=`${this.configService.getApiUrl()}/api/v2/organizations/${t}/followers/`;return this.http.post(o,{follower:e},{withCredentials:!0})}unfollowOrganization(t,e){let o=`${this.configService.getApiUrl()}/api/v2/organizations/${t}/followers/${e}/`;return this.http.delete(o,{withCredentials:!0})}followProject(t,e){let o=`${this.configService.getApiUrl()}/api/v2/neo_projects/${t}/followers/`;return this.http.post(o,{follower:e},{withCredentials:!0})}unfollowProject(t,e){let o=`${this.configService.getApiUrl()}/api/v2/neo_projects/${t}/followers/${e}/`;return this.http.delete(o,{withCredentials:!0})}followTopic(t){let e=`${this.configService.getApiUrl()}/api/v2/super_tags/${t}/follow/`;return this.http.post(e,{},{withCredentials:!0})}unfollowTopic(t){let e=`${this.configService.getApiUrl()}/api/v2/super_tags/${t}/unfollow/`;return this.http.delete(e,{withCredentials:!0})}followJournal(t,e){let o=`${this.configService.getApiUrl()}/api/v2/blogs/${t}/followers/`;return this.http.post(o,{follower:e},{withCredentials:!0})}unfollowJournal(t,e){let o=`${this.configService.getApiUrl()}/api/v2/blogs/${t}/followers/${e}/`;return this.http.delete(o,{withCredentials:!0})}followPublication(t){let e=`${this.configService.getApiUrl()}/api/v2/publications/${t}/follow/`;return this.http.post(e,{},{withCredentials:!0})}unfollowPublication(t){let e=`${this.configService.getApiUrl()}/api/v2/publications/${t}/unfollow/`;return this.http.post(e,{},{withCredentials:!0})}fetchAuthorFollowStatus(t){return this.http.get(`${this.configService.getApiUrl()}/api/v2/users/${t}/`,{withCredentials:!0}).pipe(T(e=>{let o=e.is_following;return o&&typeof o=="object"&&"id"in o?{isFollowing:!0,followId:o.id,profile:e}:o===!0?{isFollowing:!0,profile:e}:{isFollowing:!1,profile:e}}),l0(e=>(console.error("Error fetching author follow status:",e),y({isFollowing:!1}))))}fetchFollowStatus(t,e){let o;switch(t){case"user":o=`${this.configService.getApiUrl()}/api/v2/users/${e}/`;break;case"project":o=`${this.configService.getApiUrl()}/api/v2/neo_projects/${e}/`;break;case"organization":o=`${this.configService.getApiUrl()}/api/v2/organizations/${e}/`;break;case"topic":o=`${this.configService.getApiUrl()}/api/v2/super_tags/${e}/`;break;case"journal":o=`${this.configService.getApiUrl()}/api/v2/blogs/${e}/`;break;case"publication":o=`${this.configService.getApiUrl()}/api/v2/publications/${e}/`;break;default:return y({isFollowing:!1})}return this.http.get(o,{withCredentials:!0}).pipe(T(n=>{let s=n.is_following,i=this.extractFollowId(n);return s&&typeof s=="object"&&"id"in s?{isFollowing:!0,followId:s.id,entity:n}:s===!0?{isFollowing:!0,followId:i,entity:n}:{isFollowing:!1,entity:n}}),l0(n=>(console.error(`Error fetching ${t} follow status:`,n),y({isFollowing:!1}))))}extractFollowId(t){if(t?.is_following?.id)return t.is_following.id;if(t?.follower_id)return t.follower_id;if(t?.follow_id)return t.follow_id;if(typeof t?.is_following=="number")return t.is_following}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),hx=(()=>{class a{followApiService=v(Yd);toastService=v(U1);followStates=new N2({maxSize:300,ttl:18e5,onEvict:(t,e)=>{e.complete()}});inFlightRequests=new Map;
99followChangeSubject=new a0;followChange$=this.followChangeSubject.asObservable();getFollowState(t,e){let o=this.getStateKey(t,e),n=this.followStates.get(o);return n||(n=new X({isFollowing:!1,isLoading:!1}),this.followStates.set(o,n)),n.asObservable()}setFollowState(t,e,o,n){let s=this.getStateKey(t,e),i=this.followStates.get(s);i||(i=new X({isFollowing:!1,isLoading:!1}),this.followStates.set(s,i)),i.next({isFollowing:o,isLoading:!1,followId:n})}isFollowing(t,e){let o=this.getStateKey(t,e),n=this.followStates.get(o);return n?n.value.isFollowing:!1}toggleUserFollow(t,e,o,n){return this.executeToggle({entityType:"user",entityId:t,currentState:e,currentFollowId:o,followFn:()=>this.followApiService.followUser(t,n),unfollowFn:()=>this.followApiService.unfollowUser(t,o),successMessages:{follow:"User followed successfully",unfollow:"User unfollowed successfully"},errorMessages:{follow:"Failed to follow user",unfollow:"Failed to unfollow user"},handleAlreadyFollowing:!0})}toggleOrganizationFollow(t,e,o,n){return this.executeToggle({entityType:"organization",entityId:t,currentState:e,currentFollowId:o,followFn:()=>this.followApiService.followOrganization(t,n),unfollowFn:()=>this.followApiService.unfollowOrganization(t,o),successMessages:{follow:"Organization followed successfully",unfollow:"Organization unfollowed successfully"},errorMessages:{follow:"Failed to follow organization",unfollow:"Failed to unfollow organization"},handleAlreadyFollowing:!0})}toggleProjectFollow(t,e,o,n){return this.executeToggle({entityType:"project",entityId:t,currentState:o,currentFollowId:n,followFn:()=>this.followApiService.followProject(t,e),unfollowFn:()=>this.followApiService.unfollowProject(t,n),successMessages:{follow:"Project followed successfully",unfollow:"Project unfollowed successfully"},errorMessages:{follow:"Failed to follow project",unfollow:"Failed to unfollow project"}})}toggleTopicFollow(t,e){return this.executeToggle({entityType:"topic",entityId:t,currentState:e,followFn:()=>this.followApiService.followTopic(t),unfollowFn:()=>this.followApiService.unfollowTopic(t),successMessages:{follow:"Topic followed successfully",unfollow:"Topic unfollowed successfully"},errorMessages:{follow:"Failed to follow topic",unfollow:"Failed to unfollow topic"}})}toggleJournalFollow(t,e,o,n){return this.executeToggle({entityType:"journal",entityId:t,currentState:o,currentFollowId:n,followFn:()=>this.followApiService.followJournal(t,e),unfollowFn:()=>this.followApiService.unfollowJournal(t,n),successMessages:{follow:"Article followed successfully",unfollow:"Article unfollowed successfully"},errorMessages:{follow:"Failed to follow article",unfollow:"Failed to unfollow article"}})}togglePublicationFollow(t,e){return this.executeToggle({entityType:"publication",entityId:t,currentState:e,followFn:()=>this.followApiService.followPublication(t),unfollowFn:()=>this.followApiService.unfollowPublication(t),successMessages:{follow:"Publication followed successfully",unfollow:"Publication unfollowed successfully"},errorMessages:{follow:"Failed to follow publication",unfollow:"Failed to unfollow publication"}})}isLoading(t,e){let o=this.getStateKey(t,e),n=this.followStates.get(o);return n?n.value.isLoading:!1}clearCache(){this.followStates.clear(),this.inFlightRequests.clear()}clearEntityState(t,e){let o=this.getStateKey(t,e);this.followStates.delete(o),this.inFlightRequests.delete(o)}getCacheStats(){return this.followStates.getStats()}executeToggle(t){let e=this.getStateKey(t.entityType,t.entityId),o=this.inFlightRequests.get(e);if(o)return o.pipe(A1(1));let n=this.followStates.get(e);n||(n=new X({isFollowing:t.currentState,isLoading:!1,followId:t.currentFollowId}),this.followStates.set(e,n)),n.next({isFollowing:!t.currentState,isLoading:!0,followId:t.currentFollowId});let s=t.currentState?t.unfollowFn():t.followFn(),i=!t.currentState,l=s.pipe(T(g=>{let w=i?g?.id:void 0;return n.next({isFollowing:i,isLoading:!1,followId:w}),this.followChangeSubject.next({entityType:t.entityType,entityId:t.entityId,isFollowing:i,followId:w}),this.toastService.show(i?t.successMessages.follow:t.successMessages.unfollow,"success"),{isFollowing:i,followId:w}}),l0(g=>t.handleAlreadyFollowing&&i&&(g.error?.non_field_errors?.[0]||g.error?.error||"").includes("unique set")?(n.next({isFollowing:!0,isLoading:!1,followId:t.currentFollowId}),this.followChangeSubject.next({entityType:t.entityType,entityId:t.entityId,isFollowing:!0,followId:t.currentFollowId}),this.toastService.show(`You are already following this ${t.entityType}`,"info"),y({alreadyFollowing:!0,followId:t.currentFollowId})):(n.next({isFollowing:t.currentState,isLoading:!1,followId:t.currentFollowId}),this.toastService.show(i?t.errorMessages.follow:t.errorMessages.unfollow,"error"),y(null))),n1(()=>{this.inFlightRequests.delete(e)}),s1({bufferSize:1,refCount:!0}));return this.inFlightRequests.set(e,l),l}getStateKey(t,e){return`${t}:${e}`}fetchAuthorFollowStatus(t){return this.followApiService.fetchAuthorFollowStatus(t)}fetchFollowStatus(t,e){return this.followApiService.fetchFollowStatus(t,e)}extractFollowId(t){return this.followApiService.extractFollowId(t)}initializeFollowStateFromEntity(t,e,o){let n=!!o.is_following,s=this.extractFollowId(o);this.setFollowState(t,e,n,s)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var ha=(()=>{class a{DEFAULT_MARGIN=8;VIEWPORT_MARGIN=16;VIEWPORT_CACHE_TTL=100;platformId=v(N);cachedViewport=null;viewportCacheTime=0;resizeSubscription=null;constructor(){L(this.platformId)&&this.initializeResizeListener()}ngOnDestroy(){this.cleanup()}initializeResizeListener(){this.resizeSubscription=d2(window,"resize").pipe(z1(50)).subscribe(()=>{this.cachedViewport=null})}getViewportDimensions(){if(!L(this.platformId))return{width:1280,height:720,scrollX:0,scrollY:0};let t=Date.now();return this.cachedViewport&&t-this.viewportCacheTime<this.VIEWPORT_CACHE_TTL?this.cachedViewport:(this.cachedViewport={width:window.innerWidth,height:window.innerHeight,scrollX:window.scrollX,scrollY:window.scrollY},this.viewportCacheTime=t,this.cachedViewport)}isBrowser(){return L(this.platformId)}cleanup(){this.resizeSubscription?.unsubscribe(),this.resizeSubscription=null,this.cachedViewport=null}getElement(t){return t?t instanceof g0?t.nativeElement:t:null}invalidateCache(){this.cachedViewport=null}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Xd=(()=>{class a{viewportUtils=v(ha);calculatePosition(t,e,o={}){let n=t.getBoundingClientRect(),s=this.viewportUtils.getViewportDimensions(),l=(o.boundary||document.body).getBoundingClientRect(),g=n.top-l.top,w=l.bottom-n.bottom,A=n.left-l.left,_=l.right-n.right,S=o.showQuickRanges&&e.width<600?600:e.width,k=this.determineVerticalPlacement(o.placement,g,w,e.height),E=this.determineHorizontalAlignment(o.alignment,A,_,n.width,S),$=o.offset||{x:0,y:0},k0=e.marginOffset||this.viewportUtils.DEFAULT_MARGIN,a1,s0;switch(k==="bottom"?a1=n.bottom+k0+$.y:a1=n.top-e.height-k0+$.y,E){case"left":s0=n.left+$.x;break;case"right":s0=n.right-S+$.x;break;case"center":s0=n.left+(n.width-S)/2+$.x;break}return this.correctForViewportBounds({top:a1,left:s0,width:S,placement:k,alignment:E},e,s)}applyPosition(t,e){let o=["position-above","position-below","position-left","position-right","position-center"];switch(t.classList.remove(...o),Object.assign(t.style,{position:"fixed",top:`${e.top}px`,left:`${e.left}px`,zIndex:"9999"}
99),e.width&&(t.style.width=`${e.width}px`),e.maxHeight&&(t.style.maxHeight=`${e.maxHeight}px`,t.style.overflowY="auto"),e.transform&&(t.style.transform=e.transform),t.classList.add(e.placement==="top"?"position-above":"position-below"),e.alignment){case"left":t.classList.add("position-left");break;case"right":t.classList.add("position-right");break;case"center":t.classList.add("position-center");break}}positionDatePicker(t,e){return this.calculatePosition(t,e,{showQuickRanges:e.showQuickRanges,placement:"auto",alignment:"left",flip:!0,adaptive:!0})}positionAutocomplete(t,e,o=40){let i=Math.min(e,8)*o+16;return this.calculatePosition(t,{width:t.offsetWidth,height:i},{placement:"auto",alignment:"left",flip:!0})}determineVerticalPlacement(t,e,o,n){return t==="top"?"top":t==="bottom"?"bottom":o<n&&e>n?"top":o>=n||o>e?"bottom":"top"}determineHorizontalAlignment(t,e,o,n,s){return t==="right"?"right":t==="center"?"center":t==="left"||o>=s?"left":e>=s?"right":e+n+o>=s?"center":o>e?"left":"right"}correctForViewportBounds(t,e,o){let{top:n,left:s,width:i,placement:l,alignment:g}=t,w=i||e.width,A=this.viewportUtils.VIEWPORT_MARGIN;s<A?(s=A,g="left"):s+w>o.width-A&&(s=o.width-w-A,g="right");let _;if(l==="bottom"&&n+e.height>o.height-A){if(_=o.height-n-A,_<200){let S=n-e.height-20;S>=A&&(n=S,l="top",_=void 0)}}else if(l==="top"&&n<A){let S=n-A;S<200?(l="bottom",n=n+e.height+20,_=o.height-n-A):_=S}return{top:n,left:s,width:w,maxHeight:_,placement:l,alignment:g}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),ql=(()=>{class a{viewportUtils=v(ha);calculatePosition(t,e,o={}){let n=this.viewportUtils.getElement(t),s=this.viewportUtils.getElement(e);if(!n||!s)return{top:0,left:0,placement:"bottom",alignment:"center"};let{placement:i="auto",offset:l={x:0,y:0},viewport:g={padding:16},collision:w="flip"}=o,A=s.getBoundingClientRect(),_=n.getBoundingClientRect(),S=i==="auto"?this.determineOptimalPlacement(A,_,g):i,k=this.calculatePositionForPlacement(A,_,S,l);return w!=="none"&&(k=this.handleCollision(k,_,g,w)),R(H({},k),{placement:S,alignment:"center"})}positionForFloatingSidebar(t,e,o){let n=this.viewportUtils.getElement(t),s=this.viewportUtils.getElement(e);if(!n||!s)return;let i=o?this.viewportUtils.getElement(o):s.querySelector(".floating-author-avatar, img, .floating-author");if(!i)return;let l=i.getBoundingClientRect(),g=n.getBoundingClientRect(),w=l.left-g.width-8,A=l.top+l.height/2-g.height/2;n.style.setProperty("--popover-left",`${Math.max(8,w)}px`),n.style.setProperty("--popover-top",`${Math.max(16,Math.min(A,window.innerHeight-g.height-16))}px`),n.classList.add("floating-sidebar-context"),n.parentElement!==document.body&&(n.dataset.originalParent="floating-sidebar",document.body.appendChild(n))}cleanup(t){let e=this.viewportUtils.getElement(t);e&&(e.style.removeProperty("--popover-left"),e.style.removeProperty("--popover-top"),e.classList.remove("floating-sidebar-context"),delete e.dataset.originalParent,delete e.dataset.hoverBridge)}createHoverBridge(t,e,o="left"){let n=this.viewportUtils.getElement(t);n&&(n.dataset.hoverBridge=o)}isInFloatingSidebarContext(t){let e=this.viewportUtils.getElement(t);return e?!!(e.closest(".uni-floating-sidebar")||e.dataset?.originalParent==="floating-sidebar"||e.closest(".floating-sidebar-context")):!1}determineOptimalPlacement(t,e,o){let n=o.container?.clientWidth||window.innerWidth,s=o.container?.clientHeight||window.innerHeight,i=o.padding,l={top:t.top-i,bottom:s-t.bottom-i,left:t.left-i,right:n-t.right-i},g={top:l.top>=e.height,bottom:l.bottom>=e.height,left:l.left>=e.width,right:l.right>=e.width};return g.bottom&&l.bottom>=l.top?"bottom":g.top?"top":g.right&&l.right>
99=l.left?"right":g.left?"left":"bottom"}calculatePositionForPlacement(t,e,o,n){let s=0,i=0;switch(o){case"top":s=t.top-e.height-n.y,i=t.left+t.width/2-e.width/2+n.x;break;case"bottom":s=t.bottom+n.y,i=t.left+t.width/2-e.width/2+n.x;break;case"left":s=t.top+t.height/2-e.height/2+n.y,i=t.left-e.width-n.x;break;case"right":s=t.top+t.height/2-e.height/2+n.y,i=t.right+n.x;break}return{top:s,left:i}}handleCollision(t,e,o,n){let s=o.container?.clientWidth||window.innerWidth,i=o.container?.clientHeight||window.innerHeight,l=o.padding,{top:g,left:w}=t;return n==="fit"&&(g=Math.max(l,Math.min(g,i-e.height-l)),w=Math.max(l,Math.min(w,s-e.width-l))),{top:g,left:w}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Jd=(()=>{class a{popoverPositioning=v(ql);calculatePosition(t,e,o={}){return this.popoverPositioning.calculatePosition(t,e,R(H({},o),{viewport:{padding:8},collision:"flip"}))}calculatePositionWithArrow(t,e,o={}){let n=this.calculatePosition(t,e,o),s=o.arrowOffset||0;return R(H({},n),{arrowPosition:s})}applyPosition(t,e){let o=["tooltip-top","tooltip-bottom","tooltip-left","tooltip-right"];t.classList.remove(...o),Object.assign(t.style,{position:"fixed",top:`${e.top}px`,left:`${e.left}px`,zIndex:"10000"}),t.classList.add(`tooltip-${e.placement}`)}calculateCursorPosition(t,e,o,n={}){let s=n.offset||{x:10,y:10},i=8,l=o+s.y,g=e+s.x,w="bottom",A=window.innerWidth,_=window.innerHeight,S=200,k=40;return g+S>A-i&&(g=e-S-s.x,w="left"),l+k>_-i&&(l=o-k-s.y,w="top"),g=Math.max(i,g),l=Math.max(i,l),{top:l,left:g,placement:w,alignment:"center"}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),cx=(()=>{class a{viewportUtils=v(ha);dropdownPositioning=v(Xd);popoverPositioning=v(ql);tooltipPositioning=v(Jd);DEFAULT_MARGIN=8;VIEWPORT_MARGIN=16;ngOnDestroy(){this.cleanup()}getViewportDimensions(){return this.viewportUtils.getViewportDimensions()}cleanup(){this.viewportUtils.cleanup()}getElement(t){return this.viewportUtils.getElement(t)}calculateDropdownPosition(t,e,o={}){return this.dropdownPositioning.calculatePosition(t,e,o)}applyDropdownPosition(t,e){this.dropdownPositioning.applyPosition(t,e)}positionDatePicker(t,e){return this.dropdownPositioning.positionDatePicker(t,e)}positionAutocomplete(t,e,o=40){return this.dropdownPositioning.positionAutocomplete(t,e,o)}calculatePopoverPosition(t,e,o={}){return this.popoverPositioning.calculatePosition(t,e,o)}positionForFloatingSidebar(t,e,o){this.popoverPositioning.positionForFloatingSidebar(t,e,o)}cleanupPopover(t){this.popoverPositioning.cleanup(t)}createHoverBridge(t,e,o="left"){this.popoverPositioning.createHoverBridge(t,e,o)}isInFloatingSidebarContext(t){return this.popoverPositioning.isInFloatingSidebarContext(t)}calculateTooltipPosition(t,e,o={}){return this.tooltipPositioning.calculatePosition(t,e,o)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Et=(()=>{class a{drawerOpenSubject=new X(!1);drawerOpen$=this.drawerOpenSubject.asObservable();setDrawerState(t){this.drawerOpenSubject.next(t)}get isDrawerOpen(){return this.drawerOpenSubject.value}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Rt=[{id:"feed",label:"Feed",icon:"phosphorHouseFill",route:"/",group:"home"},{id:"competitions",label:"Competitions",icon:"phosphorTrophyFill",route:"/competitions/",group:"core",railFixed:!0},{id:"projects",label:"Projects",icon:"phosphorBlueprintFill",route:"/projects/",group:"core",railFixed:!0},{id:"journals",label:"Journals",icon:"phosphorNewspaperFill",route:"/journals/",group:"core",pinnable:!0,defaultPinned:!0},{id:"publications",label:"Publications",icon:"phosphorBookOpenFill",route:"/publications/",group:"core",pinnable:!0,defaultPinned:!0},{id:"inspirations",label:"Inspirations",icon:"phosphorLightbulbFill",route:"/inspirations/",group:"core",pinnable:!0,defaultPinned:!0},{id:"topics",label:"Topics",icon:"phosphorChatsCircleFill",route:"/topic/",group:"core",pinnable:!0,defaultPinned:!0},{id:"organizations",label:"Organizations",icon:"phosphorBuildingsFill",route:"/organizations/",group:"community",pinnable:!0,defaultPinned:!0},{id:"market",label:"Market",icon:"phosphorShoppingCartFill",route:"/market/",group:"community",pinnable:!0},{id:"profile",label:"Profile",icon:"phosphorUserCircleFill",route:"/profile/",group:"community",pinnable:!0},{id:"evaluation",label:"Evaluation",icon:"phosphorGavelFill",route:"/evaluations/",group:"tools",pinnable:!0,jurorOnly:!0},{id:"builder",label:"Builder",icon:"phosphorPenNibFill",route:"/builder/new-project",group:"tools",pinnable:!0},{id:"courses",label:"Courses",icon:"phosphorGraduationCapFill",route:"/courses/",group:"tools",pinnable:!0},{id:"unify",label:"UNIfy",icon:"phosphorSparkleFill",route:"/unify/",group:"tools",pinnable:!0},{id:"staff",label:"Staff",icon:"phosphorShieldCheckFill",route:"/staff/",group:"tools",staffOnly:!0},{id:"beegraphy",label:"Beegraphy",icon:"phosphorGlobeFill",route:"https://beegraphy.com",group:"tools",pinnable:!0,external:!0,logoUrl:"https://uni-common-assets.s3.amazonaws.com/partner-logos/beegraphy-light.svg",logoDarkUrl:"https://uni-common-assets.s3.amazonaws.com/partner-logos/beegraphy-dark.svg"}
99,{id:"businesses",label:"Businesses",icon:"phosphorBriefcaseFill",route:"/about/business",group:"tools",external:!0},{id:"designers",label:"Designers",icon:"phosphorPaletteFill",route:"/about/designers",group:"tools",external:!0},{id:"experts",label:"Experts",icon:"phosphorGraduationCapFill",route:"/about/experts",group:"tools",external:!0}],vx=Rt.find(a=>a.id==="feed"),bl=Rt.filter(a=>a.railFixed),tw=Rt.filter(a=>a.external&&a.group==="tools"&&a.route.startsWith("/about/")),ew=["journals","publications","inspirations","topics","organizations"],Kl=Rt.reduce((a,r)=>(a[r.id]=r,a),{});function aw(a){return Kl[a]}function Ql(a){return!!Kl[a]?.pinnable}var Yl=(()=>{class a{http=v(w0);authService=v(Ve);toastService=v(U1);platformId=v(N);destroyRef=v(r0);apiUrl=p0("/api/v2/sidebar-pins/");pinnedApps=I([]);authenticated=I(!1);canManagePins=v0(()=>this.authenticated());pinCount=v0(()=>this.pinnedApps().length);canPin=v0(()=>this.pinCount()<5);effectivePins=v0(()=>{let t=this.pinnedApps();return t.length?t.map(e=>e.app_id):[...ew]});constructor(){L(this.platformId)&&this.authService.authState$.pipe(n0(this.destroyRef)).subscribe(t=>{this.authenticated.set(!!t.user),t.user?this.loadPins():this.pinnedApps.set([])})}isPinned(t){return this.pinnedApps().some(e=>e.app_id===t)}togglePin(t){let e=this.pinnedApps().find(o=>o.app_id===t);e?this.removePin(e.id):this.addPin(t)}isEffectivelyPinned(t){return this.effectivePins().includes(t)}toggleEffectivePin(t){return i0(this,null,function*(){let e=this.effectivePins();if(e.includes(t)){yield this.removeByAppId(t);return}if(e.length>=5){this.toastService.warning("Maximum 5 pins reached. Remove a pin first.");return}this.pinnedApps().length>0?this.addPin(t):yield this.materialise([...e,t],"Pinned to sidebar")})}loadPins(){this.http.get(this.apiUrl,{withCredentials:!0}).subscribe({next:t=>this.pinnedApps.set(t),error:()=>{this.pinnedApps.set([])}})}addPin(t){if(!this.canPin()){this.toastService.warning("Maximum 5 pins reached. Remove a pin first.");return}this.http.post(this.apiUrl,{app_id:t},{withCredentials:!0}).subscribe({next:e=>{this.pinnedApps.update(o=>[...o,e]),this.toastService.success("Pinned to sidebar")},error:()=>{this.toastService.error("Failed to pin app")}})}removePin(t){this.http.delete(`${this.apiUrl}${t}/`,{withCredentials:!0}).subscribe({next:()=>{this.pinnedApps.update(e=>e.filter(o=>o.id!==t)),this.toastService.success("Removed from sidebar")},error:()=>{this.toastService.error("Failed to remove pin")}})}removeByAppId(t){return i0(this,null,function*(){let e=this.pinnedApps().find(o=>o.app_id===t);if(e){this.removePin(e.id);return}yield this.materialise(this.effectivePins().filter(o=>o!==t),"Removed from sidebar")})}reorderByAppIds(t){return i0(this,null,function*(){let e=this.pinnedApps();if(e.length>0){let o=new Map(e.map(s=>[s.app_id,s])),n=t.map((s,i)=>{let l=o.get(s);return l?{id:l.id,order:i}:null}).filter(s=>s!==null);this.pinnedApps.set(t.map((s,i)=>R(H({},o.get(s)),{order:i})).filter(s=>s.id!=null)),this.reorderPins(n)}else yield this.materialise(t,null)})}materialise(t,e){return i0(this,null,function*(){try{for(let o of t)yield C1(this.http.post(this.apiUrl,{app_id:o},{withCredentials:!0}));this.loadPins(),e&&this.toastService.success(e)}catch{this.toastService.error("Failed to update pins"),this.loadPins()}})}reorderPins(t){this.http.patch(`${this.apiUrl}reorder/`,{pins:t},{withCredentials:!0}).subscribe({next:e=>this.pinnedApps.set(e),error:()=>{this.toastService.error("Failed to reorder pins")}})}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),ow=(()=>{class a{http=v(w0);platformId=v(N);apiUrl=p0("/api/v2/promoted-sidebar-apps/");promotedApps=I([]);loaded=!1;loadPromotedApps(){this.loaded||!L(this.platformId)||(this.loaded=!0,this.http.get(this.apiUrl).subscribe({next:t=>this.promotedApps.set(t),error:()=>{this.loaded=!1}}))}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),px=(()=>{class a{initialized=!1;API_KEY="HVPDPKIxZn6GHf2YzVDCu9gasA98TO9C";platformId=v(N);gleapSdk=null;initialize(){}initializeSdk(){return i0(this,null,function*(){if(L(this.platformId)&&!this.initialized)try{let{default:t}=yield import("./chunk-I53CLSGE.js");if(typeof t>"u"){console.warn("Gleap SDK not found. Make sure it is loaded.");return}this.gleapSdk=t,t.initialize(this.API_KEY),t.showFeedbackButton(!0),this.initialized=!0}catch(t){console.error("\u274C Failed to initialize Gleap:",t)}})}isInitialized(){return this.initialized}showFeedbackDialog(){if(!this.initialized){console.warn("Gleap not initialized. Call initialize() first.");return}try{this.gleapSdk?.open()}catch(t){console.error("Failed to open Gleap feedback dialog:",t)}}hideFeedbackButton(){if(this.initialized)try{this.gleapSdk?.showFeedbackButton(!1)}catch(t){console.error("Failed to hide Gleap feedback button:",t)}}showFeedbackButton(){if(this.initialized)try{this.gleapSdk?.showFeedbackButton(!0)}catch(t){console.error("Failed to show Gleap feedback button:",t)}}identify(t,e){if(!this.initialized){console.warn("Gleap not initialized. Call initialize() first.");return}try{this.gleapSdk?.identify(t,e)}
99catch(o){console.error("Failed to identify user in Gleap:",o)}}clearIdentity(){if(this.initialized)try{this.gleapSdk?.clearIdentity()}catch(t){console.error("Failed to clear Gleap identity:",t)}}adjustButtonPosition(){if(!(!this.initialized||!L(this.platformId)))try{let t="gleap-position-adjustment",e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.appendChild(e)),e.innerHTML=` 100 @media (max-width: 1024px) { 101 .bb-feedback-button { 102 bottom: calc(var(--size-5) + var(--size-15) + var(--size-8)) !important; 103 transition: bottom var(--duration-300) var(--easing-out) !important; 104 } 105 [data-gleap-widget] { 106 bottom: calc(var(--size-5) + var(--size-15) + var(--size-8)) !important; 107 transition: bottom var(--duration-300) var(--easing-out) !important; 108 } 109 .gleap-widget { 110 bottom: calc(var(--size-5) + var(--size-15) + var(--size-8)) !important; 111 transition: bottom var(--duration-300) var(--easing-out) !important; 112 } 113 #gleap-feedback-button { 114 bottom: calc(var(--size-5) + var(--size-15) + var(--size-8)) !important; 115 transition: bottom var(--duration-300) var(--easing-out) !important; 116 } 117 } 118 `}catch(t){console.error("Failed to adjust Gleap button position:",t)}}resetButtonPosition(){if(L(this.platformId))try{let t="gleap-position-adjustment",e=document.getElementById(t);e||(e=document.createElement("style"),e.id=t,document.head.appendChild(e)),e.innerHTML=` 119 @media (max-width: 1024px) { 120 .bb-feedback-button { 121 bottom: var(--size-5) !important; 122 transition: bottom var(--duration-300) var(--easing-out) !important; 123 } 124 [data-gleap-widget] { 125 bottom: var(--size-5) !important; 126 transition: bottom var(--duration-300) var(--easing-out) !important; 127 } 128 .gleap-widget { 129 bottom: var(--size-5) !important; 130 transition: bottom var(--duration-300) var(--easing-out) !important; 131 } 132 #gleap-feedback-button { 133 bottom: var(--size-5) !important; 134 transition: bottom var(--duration-300) var(--easing-out) !important; 135 } 136 } 137 `}catch(t){console.error("Failed to reset Gleap button position:",t)}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var ra=(()=>{class a{SIZES={xs:"14",sm:"16",md:"18",lg:"20",xl:"24",small:"16",medium:"18",large:"20"};ICONS={back:"phosphorArrowLeft",forward:"phosphorArrowRight",up:"phosphorArrowUp",down:"phosphorArrowDown",expand:"phosphorCaretDown",collapse:"phosphorCaretUp",add:"phosphorPlus",remove:"phosphorMinus",edit:"phosphorPencilSimple",delete:"phosphorTrash",save:"phosphorCheck",cancel:"phosphorX",share:"phosphorShare",bookmark:"phosphorBookmark",like:"phosphorHeart",view:"phosphorEye",hide:"phosphorEyeSlash",download:"phosphorDownload",settings:"phosphorGear",menu:"phosphorDotsThree",notifications:"phosphorBell",profile:"phosphorUser",success:"phosphorCheckBold",error:"phosphorXBold"};provider=null;getIconSize(t){return this.SIZES[t]||"18"}getIcon(t){return this.ICONS[t]||null}getStandardIcon(t){return this.getIcon(t)||""}hasIcon(t){return t in this.ICONS}getIconsByCategory(t){return{navigation:["back","forward","up","down","expand","collapse","menu"],action:["add","remove","edit","delete","save","cancel"],content:["share","bookmark","like","view","hide","download"],notification:["notifications","success","error"],social:["profile","like"],toggle:["settings","view","hide"]}[t]?.map(o=>this.getIcon(o)||"")||[]}searchIcons(t){let e=t.toLowerCase();return Object.keys(this.ICONS).filter(o=>o.includes(e)).map(o=>this.getIcon(o)||"")}getIconProvider(){return this.provider?this.provider:(this.provider=P0({phosphorPlus:hn,phosphorMinus:on,phosphorX:X6,phosphorCheck:Kr,phosphorCaretDown:Gr,phosphorCaretUp:qr,phosphorArrowLeft:Er,phosphorArrowRight:P6,phosphorArrowUp:Rr,phosphorArrowDown:k6,phosphorPencilSimple:sn,phosphorTras
137h:R8,phosphorShare:Q6,phosphorBookmark:T6,phosphorHeart:$6,phosphorEye:N6,phosphorEyeSlash:U6,phosphorDownload:R6,phosphorGear:E8,phosphorDotsThree:E6,phosphorBell:O6,phosphorUser:Y6,phosphorCheckBold:dl,phosphorXBold:wl}),this.provider)}getStandardIcons(){return H({},this.ICONS)}isValidIcon(t){return Object.values(this.ICONS).includes(t)}migrateLegacyIcon(t){return t}getIconMetadata(t){return null}getRecommendedIcons(t){return this.getIconsByCategory(t)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Xl=(()=>{class a{size="md";variant="default";showLabel=!1;label;loadingText="Loading...";ariaLabel;customClass;color;type;visible=!0;get containerClasses(){let t=[`variant-${this.variant}`];return this.visible||t.push("hidden"),this.showLabel&&t.push("with-label"),this.customClass&&t.push(this.customClass),t.join(" ")}get spinnerClasses(){return`size-${{sm:"xs",md:"sm",lg:"md",xs:"xs",xl:"xl"}[this.size]||this.size}`}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-spinner"]],inputs:{size:"size",variant:"variant",showLabel:"showLabel",label:"label",loadingText:"loadingText",ariaLabel:"ariaLabel",customClass:"customClass",color:"color",type:"type",visible:"visible"},decls:5,vars:7,consts:[[1,"uni-spinner-container"],["role","status",1,"uni-spinner"],[1,"sr-only"],[1,"uni-spinner-label"]],template:function(e,o){e&1&&(p(0,"div",0)(1,"div",1)(2,"span",2),Z(3),d()(),u(4,d7,2,1,"p",3),d()),e&2&&(t1(o.containerClasses),c(),t1(o.spinnerClasses),F("aria-label",o.ariaLabel||"Loading"),c(2),O(o.loadingText||"Loading..."),c(),m(o.showLabel&&o.label?4:-1))},dependencies:[t0],styles:[`@charset "UTF-8";@keyframes uni-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}uni-spinner{display:inline-flex}uni-spinner .uni-spinner-container{display:inline-flex;align-items:center;justify-content:center}uni-spinner .uni-spinner-container.hidden{display:none}uni-spinner .uni-spinner-container.variant-page{flex-direction:column;gap:var(--spacing-md);min-height:var(--size-50);width:100%;text-align:center}uni-spinner .uni-spinner-container.variant-button{display:inline-flex;flex-direction:row;gap:0}uni-spinner .uni-spinner-container.variant-button .uni-spinner{margin-right:var(--size-2);flex-shrink:0}uni-spinner .uni-spinner-container.variant-button .uni-spinner:only-child{margin-right:0}uni-spinner .uni-spinner-container.variant-inline{display:inline-flex;vertical-align:middle}uni-spinner .uni-spinner-container.variant-inline .uni-spinner{margin:0 var(--size-1)}uni-spinner .uni-spinner-container.with-label{flex-direction:column;gap:var(--spacing-md)}uni-spinner .uni-spinner{border-radius:50%;animation:uni-spin 1s linear infinite}uni-spinner .uni-spinner.size-xs{width:var(--size-4);height:var(--size-4);border:var(--border-width-medium) solid var(--border-light);border-top-color:var(--primary-500)}uni-spinner .uni-spinner.size-sm{width:var(--size-6);height:var(--size-6);border:var(--border-width-medium) solid var(--border-light);border-top-color:var(--primary-500)}uni-spinner .uni-spinner.size-md{width:var(--size-10);height:var(--size-10);border:var(--border-width-thick) solid var(--border-light);border-top-color:var(--primary-500)}uni-spinner .uni-spinner.size-lg{width:var(--size-12);height:var(--size-12);border:var(--border-width-thick) solid var(--border-light);border-top-color:var(--primary-500)}uni-spinner .uni-spinner.size-xl{width:var(--size-16);height:var(--size-16);border:calc(var(--border-width-thick) * 1.5) solid var(--border-light);border-top-color:var(--primary-500)}uni-spinner .variant-button .uni-spinner{border-color:var(--neutral-300);border-top-color:var(--primary-500)}uni-spinner .uni-spinner-label{color:var(--text-secondary);font-size:var(--font-size-sm);margin:0}uni-spinner .sr-only{position:absolute;width:var(--size-px);height:var(--size-px);padding:0;margin:calc(var(--size-px) * -1);overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[data-theme=dark] uni-spinner .uni-spinner{border-color:var(--border-dark);border-top-color:var(--primary-400)}[data-theme=dark] uni-spinner .variant-button .uni-spinner{border-color:var(--neutral-300);border-top-color:var(--primary-500)}[data-theme=dark] uni-spinner .uni-spinner-label{color:var(--text-secondary)} 138`],encapsulation:2,changeDetection:0})}return a})(),ca=(()=>{class a{buttonElement;buttonIconService=v(ra);
138scheduler=v(L0);variant="solid";color="primary";size="md";shape="rounded";type="button";disabled=!1;loading=!1;pressed;expanded;icon;iconPosition="start";badge;badgeAriaLabel;fullWidth=!1;ripple=!0;hideLoadingText=!1;ariaLabel;loadingText;onClick=new B;get buttonClasses(){let t=["uni-button",`variant-${this.variant}`,`color-${this.color}`,`size-${this.size}`,`shape-${this.shape}`];return this.disabled&&t.push("disabled"),this.loading&&t.push("loading"),this.fullWidth&&t.push("full-width"),this.icon&&this.shouldButtonBeIconOnly()&&t.push("icon-only"),this.badge!==null&&this.badge!==void 0&&t.push("has-badge"),t.join(" ")}handleClick(t){if(this.disabled||this.loading){t.preventDefault(),t.stopPropagation();return}this.ripple&&this.createRipple(t),this.onClick.emit(t)}getIconSize(){return this.buttonIconService.getIconSize(this.size)}formatBadge(t){return typeof t=="number"&&t>99?"99+":t.toString()}ngAfterContentInit(){}ngAfterViewInit(){}shouldButtonBeIconOnly(){if(!this.icon)return!1;if(this.buttonElement?.nativeElement){let t=this.buttonElement.nativeElement.querySelector(".uni-button-content");if(t){let e=t.textContent?.trim();if(e&&e.length>0)return!1}}return!1}createRipple(t){let e=this.buttonElement.nativeElement,o=e.querySelector(".uni-button-ripple");if(!o)return;let n=o.querySelector(".ripple");n&&n.remove();let s=document.createElement("span");s.className="ripple";let i=e.getBoundingClientRect(),l=Math.max(i.width,i.height),g=t.clientX-i.left-l/2,w=t.clientY-i.top-l/2;s.style.width=s.style.height=l+"px",s.style.left=g+"px",s.style.top=w+"px",o.appendChild(s),this.scheduler.setTimeout(()=>s.remove(),600)}focus(){this.buttonElement.nativeElement.focus()}blur(){this.buttonElement.nativeElement.blur()}click(){this.buttonElement.nativeElement.click()}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-button"]],viewQuery:function(e,o){if(e&1&&J0(w7,7),e&2){let n;F0(n=D0())&&(o.buttonElement=n.first)}},hostAttrs:[1,"uni-button-host"],inputs:{variant:"variant",color:"color",size:"size",shape:"shape",type:"type",disabled:"disabled",loading:"loading",pressed:"pressed",expanded:"expanded",icon:"icon",iconPosition:"iconPosition",badge:"badge",badgeAriaLabel:"badgeAriaLabel",fullWidth:"fullWidth",ripple:"ripple",hideLoadingText:"hideLoadingText",ariaLabel:"ariaLabel",loadingText:"loadingText"},outputs:{onClick:"onClick"},features:[o0([ra,L0])],ngContentSelectors:It,decls:9,vars:15,consts:[["buttonElement",""],[3,"click","type","disabled"],["type","spin","variant","button",3,"size","color","ariaLabel"],[1,"uni-button-icon","uni-button-icon--start",3,"name","size"],[1,"uni-button-content"],[1,"uni-button-icon","uni-button-icon--end",3,"name","size"],[1,"uni-button-badge"],[1,"uni-button-ripple"]],template:function(e,o){if(e&1){let n=z();Z1(),p(0,"button",1,0),V("click",function(i){return C(n),M(o.handleClick(i))}),u(2,u7,1,4,"uni-spinner",2),u(3,m7,1,3,"ng-icon",3),p(4,"span",4),N0(5),d(),u(6,f7,1,3,"ng-icon",5),u(7,C7,2,2,"span",6),u(8,M7,1,1,"span",7),d()}e&2&&(t1(o.buttonClasses),f("type",o.type)("disabled",o.disabled||o.loading),F("aria-label",o.ariaLabel)("aria-busy",o.loading)("aria-pressed",o.pressed)("aria-expanded",o.expanded),c(2),m(o.loading&&!o.hideLoadingText?2:-1),c(),m(o.icon&&o.iconPosition==="start"&&!o.loading?3:-1),c(),P("uni-button-content--hidden",o.loading&&o.hideLoadingText),c(2),m(o.icon&&o.iconPosition==="end"&&!o.loading?6:-1),c(),m(o.badge!==null&&o.badge!==void 0?7:-1),c(),m(o.ripple?8:-1))},dependencies:[t0,y0,Xl],encapsulation:2,changeDetection:0})}return a})(),Jl=(()=>{class a{variant="primary";size="medium";shape="rectangular";ariaLabel;removable=!1;removeAriaLabel;removed=new B;onRemove(t){t.stopPropagation(),this.removed.emit()}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-chip"]],inputs:{variant:"variant",size:"size",shape:"shape",ariaLabel:"ariaLabel",removable:"removable",removeAriaLabel:"removeAriaLabel"},outputs:{removed:"removed"},features:[o0([P0({matClose:U8})])],ngContentSelectors:It,decls:3,vars:6,consts:[[1,"uni-chip"],["type","button","tabindex","0",1,"uni-chip-remove"],["type","button","tabindex","0",1,"uni-chip-remove",3,"click"],["name","matClose","size","16"]],template:function(e,o){e&1&&(Z1(),p(0,"span",0),N0(1),u(2,A7,2,1,"button",1),d()),e&2&&(t1("variant-"+o.variant+" size-"+o.size+" shape-"+o.shape),P("removable",o.removable),F("aria-label",o.ariaLabel),c(2),m(o.removable?2:-1))},dependencies:[t0,y0],encapsulation:2,changeDetection:0})}return a})(),rw=(()=>{class a{title="";subtitle="";currentStep=1;totalSteps=2;showStepIndicator=!0;align="center";get stepText(){return`Step ${this.currentStep} of ${this.totalSteps}`}get fullSubtitle(){return this.showStepIndicator&&this.subtitle?`${this.stepText} \u2014 ${this.subtitle}`:this.showStepIndicator?this.stepText:this.subtitle}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-step-header"]],inputs:{title:"title",subt
138itle:"subtitle",currentStep:"currentStep",totalSteps:"totalSteps",showStepIndicator:"showStepIndicator",align:"align"},decls:4,vars:4,consts:[[1,"uni-step-header"],[1,"step-title"],[1,"step-subtitle"]],template:function(e,o){e&1&&(p(0,"div",0)(1,"h1",1),Z(2),d(),u(3,H7,2,1,"p",2),d()),e&2&&(P("align-left",o.align==="left"),c(2),O(o.title),c(),m(o.fullSubtitle?3:-1))},dependencies:[t0],styles:['@charset "UTF-8";.uni-step-header[_ngcontent-%COMP%]{text-align:center;margin-bottom:var(--size-12)}.uni-step-header.align-left[_ngcontent-%COMP%]{text-align:left}@media (max-width: 767.98px){.uni-step-header[_ngcontent-%COMP%]{margin-bottom:var(--size-8)}}.step-title[_ngcontent-%COMP%]{font-size:var(--font-size-4xl);font-weight:var(--font-weight-semibold);color:var(--text-primary);margin:0 0 var(--spacing-sm);line-height:var(--line-height-tight)}@media (max-width: 767.98px){.step-title[_ngcontent-%COMP%]{font-size:var(--font-size-2xl)}}.step-subtitle[_ngcontent-%COMP%]{font-size:var(--font-size-base);color:var(--text-secondary);margin:0;line-height:var(--line-height-relaxed)}'],changeDetection:0})}return a})(),gx=(()=>{class a{showFakePage=!1;previewMode=!1;completed=new B;http=v(w0);sidebarPinService=v(Yl);ROLE_SUGGESTED_PIN={organizer:"organizations",educator:"courses",professional:"market",student:"courses",enthusiast:"inspirations"};seedRolePin(t){if(!t)return;let e=this.ROLE_SUGGESTED_PIN[t];!e||!Ql(e)||this.sidebarPinService.isPinned(e)||this.sidebarPinService.togglePin(e)}currentStep=I(1);totalSteps=3;selectedRole=I(null);selectedItems=I(new Set);animating=I(!1);submitting=I(!1);submitError=I("");iconBase="https://uni-common-assets.s3.amazonaws.com/onboarding/icons";roles=[{id:"student",label:"Student",icon:`${this.iconBase}/student-sm.webp`,description:"Architecture or design student"},{id:"professional",label:"Professional",icon:`${this.iconBase}/professional-sm.webp`,description:"Working architect or designer"},{id:"educator",label:"Educator",icon:`${this.iconBase}/educator-sm.webp`,description:"Professor or academic researcher"},{id:"organizer",label:"Organizer",icon:`${this.iconBase}/organizer-sm.webp`,description:"Competition or event organizer"},{id:"enthusiast",label:"Enthusiast",icon:`${this.iconBase}/enthusiast-sm.webp`,description:"Design and architecture enthusiast"},{id:"organization",label:"Organization",icon:`${this.iconBase}/organization-sm.webp`,description:"Firm, studio, university, or institution"}];step2Map={student:{title:"What are you studying?",subtitle:"Select your disciplines of interest",hint:"Select at least one. You can update these anytime.",items:[{id:"architecture",name:"Architecture"},{id:"interior-design",name:"Interior Design"},{id:"urban-design",name:"Urban Design"},{id:"landscape",name:"Landscape Design"},{id:"product-design",name:"Product Design"},{id:"sustainable",name:"Sustainable Design"},{id:"graphic-design",name:"Graphic Design"},{id:"industrial",name:"Industrial Design"},{id:"computational",name:"Computational Design"},{id:"construction",name:"Construction Tech"},{id:"environmental",name:"Environmental Design"},{id:"building-science",name:"Building Science"},{id:"urban-planning",name:"Urban Planning"},{id:"housing",name:"Housing"},{id:"digital-fabrication",name:"Digital Fabrication"},{id:"material-science",name:"Material Science"}]},professional:{title:"What do you practice?",subtitle:"Select your areas of expertise",hint:"Select one or more specializations.",items:[{id:"architecture",name:"Architecture"},{id:"interior-design",name:"Interior Design"},{id:"urban-planning",name:"Urban Planning"},{id:"landscape",name:"Landscape Architecture"},{id:"product-design",name:"Product Design"},{id:"sustainable",name:"Sustainable Design"},{id:"housing",name:"Housing"},{id:"commercial",name:"Commercial"},{id:"cultural",name:"Cultural Architecture"},{id:"hospitality",name:"Hospitality"},{id:"public",name:"Public Building"},{id:"educational",name:"Educational"},{id:"healthcare",name:"Healthcare"}
138,{id:"infrastructure",name:"Infrastructure"},{id:"mixed-use",name:"Mixed-Use"},{id:"adaptive-reuse",name:"Adaptive Reuse"},{id:"parametric",name:"Parametric Design"},{id:"prefabrication",name:"Prefabrication"}]},educator:{title:"What do you teach or research?",subtitle:"Select your academic disciplines",hint:"These help us match you with relevant content.",items:[{id:"architecture",name:"Architecture"},{id:"urban-studies",name:"Urban Studies"},{id:"sustainable",name:"Sustainability"},{id:"computational",name:"Computational Design"},{id:"interior-design",name:"Interior Design"},{id:"landscape",name:"Landscape Studies"},{id:"history",name:"Architectural History"},{id:"theory",name:"Design Theory"},{id:"technology",name:"Building Technology"},{id:"urban-planning",name:"Urban Planning"},{id:"construction-mgmt",name:"Construction Management"},{id:"env-psychology",name:"Environmental Psychology"},{id:"housing-policy",name:"Housing Policy"},{id:"digital-fabrication",name:"Digital Fabrication"},{id:"climate-adaptation",name:"Climate Adaptation"},{id:"space-architecture",name:"Space Architecture"}]},organizer:{title:"What type of competitions?",subtitle:"Select the categories you organize",hint:"This helps us set up the right tools for you.",items:[{id:"architecture",name:"Architecture"},{id:"urban-design",name:"Urban Design"},{id:"interior-design",name:"Interior Design"},{id:"product-design",name:"Product Design"},{id:"landscape",name:"Landscape"},{id:"student",name:"Student Awards"},{id:"thesis",name:"Thesis Awards"},{id:"sustainability",name:"Sustainability"},{id:"innovation",name:"Innovation & Tech"},{id:"mixed",name:"Multi-discipline"},{id:"housing",name:"Housing"},{id:"healthcare",name:"Healthcare"},{id:"cultural",name:"Cultural"},{id:"public-space",name:"Public Space"},{id:"climate",name:"Climate"},{id:"adaptive-reuse",name:"Adaptive Reuse"},{id:"social-impact",name:"Social Impact"}]},enthusiast:{title:"What interests you?",subtitle:"Pick topics you want to explore",hint:"We'll curate your feed based on these.",items:[{id:"architecture",name:"Architecture"},{id:"interior-design",name:"Interior Design"},{id:"urban-spaces",name:"Urban Spaces"},{id:"sustainable",name:"Sustainability"},{id:"futuristic",name:"Futuristic Design"},{id:"housing",name:"Housing Innovation"},{id:"cultural",name:"Cultural Buildings"},{id:"landscape",name:"Landscape & Nature"},{id:"product-design",name:"Product Design"},{id:"art",name:"Art & Installations"},{id:"smart-cities",name:"Smart Cities"},{id:"space-architecture",name:"Space Architecture"},{id:"biomimicry",name:"Biomimicry"},{id:"heritage",name:"Heritage & Conservation"},{id:"tiny-homes",name:"Tiny Homes & Micro Living"},{id:"public-art",name:"Public Art"}]},organization:{title:"What type of organization?",subtitle:"This helps us tailor your experience",hint:"Select the option that best describes you.",single:!0,items:[{id:"institution",name:"University / College / School"},{id:"design_firm",name:"Architecture / Design Firm"},{id:"organization",name:"Non-profit / NGO / Government"}
138,{id:"technology",name:"Technology Company"},{id:"construction",name:"Construction / Engineering"},{id:"manufacturer",name:"Building Materials / Manufacturer"},{id:"corporate",name:"Corporate / Brand"},{id:"media",name:"Media / Publication"},{id:"real-estate",name:"Real Estate Developer"}]}};actionIcons={competitions:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/competitions.webp",thesis:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/thesis.webp",portfolio:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/portfolio.webp",projects:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/projects.webp",juror:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/juror.webp",mentor:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/mentor.webp",host:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/host.webp",list:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/list.webp",partner:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/partner-v2.webp",inspiration:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/inspiration.webp",institutional:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/institutional.webp",presence:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/presence.webp",sponsor:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/sponsor.webp","list-product":"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/list-product.webp",promote:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/promote.webp",write:"https://uni-common-assets.s3.amazonaws.com/onboarding/actions/write.webp"};ai=this.actionIcons;step3Map={student:{title:"Start building your career",subtitle:"Here's what students love on UNI",actions:[{id:"competitions",title:"Enter Student Competitions",description:"Compete with students worldwide. Win recognition and build your portfolio.",icon:this.ai.competitions,link:"/competitions/",primary:!0}
138,{id:"publish",title:"Publish Your Academic Projects",description:"Share your work with a global audience of architects and academics.",icon:this.ai.thesis,link:"/builder/new-project"},{id:"portfolio",title:"Build Your Portfolio",description:"Create a permanent portfolio that grows with your career.",icon:this.ai.portfolio,link:"/about/designers/portfolio"}]},professional:{title:"Grow your practice",subtitle:"Here's what professionals do on UNI",actions:[{id:"competitions",title:"Enter Design Competitions",description:"Compete globally. Get judged by industry experts. Win recognition.",icon:this.ai.competitions,link:"/competitions/",primary:!0},{id:"portfolio",title:"Showcase Your Projects",description:"Build a portfolio that reaches 250K+ architects worldwide. Earn through our Creator Revenue Sharing program.",icon:this.ai.projects,link:"/builder/new-project"},{id:"juror",title:"Become a Juror",description:"Review submissions and share your expertise with the community.",icon:this.ai.juror,link:"/about/experts/juror"}]},educator:{title:"Shape the next generation",subtitle:"Here's how educators contribute on UNI",actions:[{id:"juror",title:"Become a Juror",description:"Judge international competitions. Mentor emerging talent.",icon:this.ai.juror,link:"/about/experts/juror",primary:!0},{id:"publish",title:"Publish Research",description:"Share papers, articles, and academic work with a global audience.",icon:this.ai.thesis,link:"/publications/edit/new"},{id:"mentor",title:"Become a Mentor",description:"Guide emerging architects and designers in their careers.",icon:this.ai.mentor,link:"/about/experts/mentor"}]},organizer:{title:"Launch your competition",subtitle:"Reach 250,000+ architects worldwide",actions:[{id:"host",title:"Host a Competition",description:"Full platform: jury management, submissions, evaluation, and awards.",icon:this.ai.host,link:"/about/business/host",primary:!0},{id:"list",title:"List Your Competition",description:"Already running one elsewhere? Get it discovered by our community.",icon:this.ai.list,link:"/about/business/list"},{id:"partner",title:"Partner With UNI",description:"Sponsorship, co-branding, and strategic collaboration.",icon:this.ai.partner,link:"/about/business/partner"}]},enthusiast:{title:"Start exploring",subtitle:"Discover amazing design work from around the world",actions:[{id:"explore",title:"Explore Projects",description:"Browse thousands of architecture and design projects from 120+ countries.",icon:this.ai.projects,link:"/projects/",primary:!0},{id:"competitions",title:"Watch Competitions",description:"Follow ongoing competitions. See entries. Discover new talent.",icon:this.ai.competitions,link:"/competitions/"},{id:"inspiration",title:"Browse Inspiration",description:"Explore curated design galleries and ideas from architects worldwide.",icon:this.ai.inspiration,link:"/inspirations/"}]},organization:{title:"What would you like to do?",subtitle:"Tools and programs for your organization",actions:[]}};orgStep3Map={institution:[{id:"institutional",title:"Institutional Access",description:"Give students competition credits. Manage team accounts and billing.",icon:this.ai.institutional,link:"/about/designers/institutional-access",primary:!0},{id:"host",title:"Host a Competition",description:"Launch academic competitions for your students.",icon:this.ai.host,link:"/about/business/host"},{id:"showcase",title:"Showcase Student Work",description:"Build your institution's portfolio on UNI.",icon:this.ai.portfolio,link:"/organizations/?create=1"}],design_firm:[{id:"showcase",title:"Build Your Presence",description:"Create your firm's profile and get discovered by clients.",icon:this.ai.presence,link:"/organizations/?create=1"},{id:"host",title:"Host a Competition",description:"Find talent through design competitions.",icon:this.ai.host,link:"/about/business/host"},{id:"partner",title:"Partner With UNI",description:"Sponsorship and brand visibility to 250K+ architects.",icon:this.ai.partner,link:"/about/business/partner"}],organization:[{id:"host",title:"Host a Competition",description:"Launch competitions with full jury management and global reach.",icon:this.ai.host,link:"/about/business/host",primary:!0},{id:"partner",title:"Partner With UNI",description:"Strategic partnerships and co-branding opportunities.",icon:this.ai.partner,link:"/about/business/partner"},{id:"showcase",title:"Build Your Presence",description:"Create your organization's profile on UNI.",icon:this.ai.presence,link:"/organizations/?create=1"}],technology:[{id:"partner",title:"Partner With UNI",description:"Integrate your tools with our platform. Reach 250K+ architects.",icon:this.ai.partner,link:"/about/business/partner",primary:!0},{id:"host",title:"Host a Competition",description:"Showcase your tools, engage your community, and accelerate product adoption.",icon:this.ai.host,link:"/about/business/host"},{id:"list",title:"List Your Product",description:"Get your design software discovered by architects and designers worldwide.",icon:this.ai["list-product"],link:"/market/all-products?list-product=1"}],construction:[{id:"showcase",title:"Build Your Presence",description:"Create your profile and attract collaborators.",icon:this.ai.presence,link:"/organizations/?create=1"},{id:"host",title:"Host a Competition",description:"Find innovative design solutions through competitions.",icon:this.ai.host,link:"/about/business/host"},{id:"partner",title:"Partner With UNI",description:"Connect with architects and designers worldwide.",icon:this.ai.partner,link:"/about/business/partner"}],manufacturer:[{id:"partner",title:"Promote Your Products",description:"Reach 250K+ architects who specify building materials.",icon:this.ai.promote,link:"/about/business/partner",primary:!0},{id:"host",title:"Sponsor a Competition",description:"Material-focused design challenges with your brand.",icon:this.ai.sponsor,link:"/about/business/host"},{id:"list",title:"List on Marketplace",description:"Get your products in front of design professionals.",icon:this.ai["list-product"],link:"/market/all-products?list-product=1"}],corporate:[{id:"host",title:"Host a Competition",description:"Crowdsource design solutions from global talent.",icon:this.ai.host,link:"/about/business/host",primary:!0},{id:"partner",title:"Strategic Partnership",description:"Co-branded competitions and thought leadership.",icon:this.ai.partner,link:"/about/business/partner"},{id:"showcase",title:"Build Brand Presence",description:"Establish your brand in the architecture community.",icon:this.ai.presence,link:"/organizations/?create=1"}],media:[{id:"partner",title:"Media Partnership",description:"Content syndication and cross-promotion opportunities.",icon:this.ai.partner,link:"/about/business/partner",primary:!0},{id:"host",title:"Co-host a Competition",description:"Joint competitions with editorial coverage.",icon:this.ai.host,link:"/about/business/host"}
138,{id:"publish",title:"Write on UNI",description:"Publish articles and reach 250K+ architects and designers.",icon:this.ai.write,link:"/journals/edit"}],"real-estate":[{id:"host",title:"Host a Design Competition",description:"Find innovative designs for your developments.",icon:this.ai.host,link:"/about/business/host",primary:!0},{id:"showcase",title:"Build Your Presence",description:"Present your projects to the architecture community.",icon:this.ai.presence,link:"/organizations/?create=1"},{id:"partner",title:"Partner With UNI",description:"Connect with architects for your next project.",icon:this.ai.partner,link:"/about/business/partner"}]};canProceed=v0(()=>{let t=this.currentStep();return t===1?!!this.selectedRole():t===2?this.selectedItems().size>0:!0});progressPercent=v0(()=>Math.round(this.currentStep()/this.totalSteps*100));getStep2(){return this.selectedRole()?this.step2Map[this.selectedRole()]:null}getStep3(){let t=this.selectedRole();if(!t)return null;let e=this.step3Map[t];if(t==="organization"){let o=[...this.selectedItems()][0],n=o?this.orgStep3Map[o]||this.orgStep3Map.organization:this.orgStep3Map.organization;return R(H({},e),{actions:n})}return e}isSingleSelect(){return this.getStep2()?.single??!1}selectRole(t){this.selectedRole()!==t&&(this.selectedRole.set(t),this.selectedItems.set(new Set))}toggleItem(t){if(this.isSingleSelect()){this.selectedItems.set(new Set([t]));return}this.selectedItems.update(e=>{let o=new Set(e);return o.has(t)?o.delete(t):o.add(t),o})}isSelected(t){return this.selectedItems().has(t)}next(){this.canProceed()&&this.currentStep()<this.totalSteps&&(this.animating.set(!0),setTimeout(()=>{this.currentStep.update(t=>t+1),this.animating.set(!1)},200))}back(){this.currentStep()>1&&(this.animating.set(!0),setTimeout(()=>{this.currentStep.update(t=>t-1),this.animating.set(!1)},200))}onAction(t){this.save(()=>{window.open(t.link,"_blank"),this.submitting.set(!1)})}finish(){this.save(()=>{this.completed.emit()})}save(t){if(this.submitting())return;if(this.previewMode){t();return}this.submitting.set(!0),this.submitError.set("");let e={role:this.selectedRole(),disciplines:[...this.selectedItems()],org_type:this.selectedRole()==="organization"&&[...this.selectedItems()][0]||""};this.http.post("/api/v2/profiles/onboarding/",e,{withCredentials:!0}).subscribe({next:()=>{this.seedRolePin(this.selectedRole()),t()},error:o=>{this.submitting.set(!1),this.submitError.set(o.error?.error||"Something went wrong. Please try again.")}})}getTitle(){return this.currentStep()===1?"Welcome to UNI":(this.currentStep()===2?this.getStep2()?.title:this.getStep3()?.title)||""}getSubtitle(){return this.currentStep()===1?"Tell us about yourself so we can personalize your experience":(this.currentStep()===2?this.getStep2()?.subtitle:this.getStep3()?.subtitle)||""}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-onboarding-flow"]],inputs:{showFakePage:"showFakePage",previewMode:"previewMode"},outputs:{completed:"completed"},decls:20,vars:18,consts:[[1,"fake-page"],[1,"ob-backdrop"],[1,"ob-modal"],[1,"ob-header"],["src","https://uni-common-assets.s3.amazonaws.com/logo/uni-logo-40x40.svg","alt","UNI","width","32","height","32",1,"ob-logo"],[1,"ob-progress"],[1,"ob-progress-fill"],[1,"ob-step-label"],[1,"ob-body"],["align","left",3,"title","subtitle","currentStep","totalSteps","showStepIndicator"],[1,"ob-roles"],[1,"ob-actions"],[1,"ob-error"],[1,"ob-footer"],["variant","outline","color","secondary","size","md","shape","capsule"],["variant","solid","color","primary","size","md","shape","capsule",3,"disabled"],[1,"fake-nav"],[1,"fake-content"],[1,"fake-card"],[1,"ob-role-card",3,"selected"],[1,"ob-role-card",3,"click"],["width","36","height","36","loading","eager",1,"ob-role-icon-img",3,"src","alt"],[1,"ob-role-text"],[1,"ob-role-label"],[1,"ob-role-desc"],[1,"ob-check"],[1,"ob-chips"],[1,"ob-hint"],[1,"ob-role-card","compact",3,"selected"],[1,"ob-role-card","compact",3,"click"],["size","medium","shape","capsule",3,"variant"],["size","medium","shape","capsule",3,"click","variant"],[1,"ob-action-card"],[1,"ob-action-card",3,"click"],["width","36","height","36","loading","eager",1,"ob-action-icon-img",3,"src","alt"],[1,"ob-action-text"],[1,"ob-action-arrow"],["variant","outline","color","secondary","size","md","shape","capsule",3,"onClick"],["variant","solid","color","primary","size","md","shape","capsule",3,"onClick","disabled"]],template:function(e,o){if(e&1&&(u(0,x7,7,0,"div",0),p(1,"div",1)(2,"div",2)(3,"div",3),b(4,"img",4),p(5,"div",5),b(6,"div",6),d(),p(7,"span",7),Z(8),d()(),p(9,"div",8),b(10,"uni-step-header",9),u(11,b7,3,0,"div",10),u(12,k7,4,2),u(13,O7,3,0,"div",11),d(),u(14,T7,2,1,"p",12),p(15,"div",13),u(16,I7,2,0,"uni-button",14)(17,F7,1,0,"div"),u(18,D7,2,1,"uni-button",15)(19,U7,3,2,"uni-button",15),d()()()),e&2){let n,s;m(o.showFakePage?0:-1),c(6),v1("width",o.progressPercent(),"%"),c(2),Ga("",o.currentStep(),"/",o.totalSteps),c(),P("animating",o.animating()),c(),f("title",o.getTitle())("subtitle",o.getSubtitle())("currentStep",o.currentStep())("totalSteps",o.totalSteps)("showStepIndicator",!1),c(),m(o.currentStep()===1?11:-1),c(),m((n=o.currentStep()===2&&o.getStep2(
138))?12:-1,n),c(),m((s=o.currentStep()===3&&o.getStep3())?13:-1,s),c(),m(o.submitError()?14:-1),c(2),m(o.currentStep()>1?16:17),c(2),m(o.currentStep()<o.totalSteps?18:19)}},dependencies:[t0,ca,Jl,rw],styles:[".fake-page[_ngcontent-%COMP%]{position:fixed;inset:0;background:var(--bg-primary);z-index:0}.fake-nav[_ngcontent-%COMP%]{height:var(--navbar-height);background:var(--surface);border-bottom:var(--border-width-thin) solid var(--border)}.fake-content[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:var(--size-4);padding:var(--size-6);max-width:900px;margin:0 auto}.fake-card[_ngcontent-%COMP%]{height:200px;background:var(--surface);border-radius:var(--radius-xl);border:var(--border-width-thin) solid var(--border)}.ob-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;background:var(--bg-overlay);-webkit-backdrop-filter:var(--blur-lg);backdrop-filter:var(--blur-lg);z-index:var(--z-modal);display:flex;align-items:center;justify-content:center;padding:var(--size-6)}.ob-modal[_ngcontent-%COMP%]{width:100%;max-width:540px;max-height:90vh;background:var(--surface);border:var(--border-width-thin) solid var(--border);border-radius:var(--radius-2xl);overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow-2xl)}.ob-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--size-3);padding:var(--size-5) var(--size-6) 0}.ob-logo[_ngcontent-%COMP%]{border-radius:var(--radius-md);flex-shrink:0}.ob-progress[_ngcontent-%COMP%]{flex:1;height:3px;background:var(--bg-secondary);border-radius:var(--radius-full);overflow:hidden}.ob-progress-fill[_ngcontent-%COMP%]{height:100%;background:linear-gradient(90deg,var(--primary),var(--info));border-radius:var(--radius-full);transition:width var(--duration-normal) var(--easing-out)}.ob-step-label[_ngcontent-%COMP%]{font-size:var(--font-size-xs);color:var(--text-tertiary);font-weight:var(--font-weight-semibold);flex-shrink:0}.ob-body[_ngcontent-%COMP%]{padding:var(--size-7) var(--size-6) var(--size-4);overflow-y:auto;flex:1;transition:opacity var(--duration-fast)}.ob-body.animating[_ngcontent-%COMP%]{opacity:0}uni-step-header[_ngcontent-%COMP%]{display:block;margin-bottom:var(--size-5)}.ob-hint[_ngcontent-%COMP%]{font-size:var(--font-size-xs);color:var(--text-tertiary);text-align:center;margin-top:var(--size-3)}.ob-error[_ngcontent-%COMP%]{font-size:var(--font-size-xs);color:var(--error);text-align:center;padding:0 var(--size-6) var(--size-2)}.ob-roles[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--size-2)}.ob-role-card[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--size-3);padding:var(--size-3) var(--size-4);background:var(--bg-primary);border:var(--border-width-thin) solid var(--border);border-radius:var(--radius-lg);cursor:pointer;transition:all var(--duration-fast) var(--easing-out);text-align:left;width:100%}.ob-role-card[_ngcontent-%COMP%]:hover{background:var(--bg-secondary);border-color:var(--border-hover)}.ob-role-card.selected[_ngcontent-%COMP%]{background:var(--primary-alpha-5);border-color:var(--primary)}.ob-role-card.compact[_ngcontent-%COMP%]{padding:var(--size-3) var(--size-4)}.ob-role-card.compact[_ngcontent-%COMP%] .ob-role-icon-img[_ngcontent-%COMP%]{display:none}.ob-role-icon-img[_ngcontent-%COMP%]{width:36px;height:36px;object-fit:contain;flex-shrink:0}.ob-role-text[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:var(--size-0-5)}.ob-role-label[_ngcontent-%COMP%]{font-size:var(--font-size-sm);font-weight:var(--font-weight-bold);color:var(--text-primary)}.ob-role-desc[_ngcontent-%COMP%]{font-size:var(--font-size-xs);color:var(--text-tertiary)}.ob-check[_ngcontent-%COMP%]{font-size:var(--font-size-sm);color:var(--primary);font-weight:var(--font-weight-bold);flex-shrink:0}.ob-chips[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:var(--size-2)}.ob-chips[_ngcontent-%COMP%] uni-chip[_ngcontent-%COMP%]{cursor:pointer}.ob-actions[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--size-2-5)}.ob-action-card[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--size-3-5);padding:var(--size-4);background:var(--bg-primary);border:var(--border-width-thin) solid var(--border);border-radius:var(--radius-lg);cursor:pointer;transition:all var(--duration-fast) var(--easing-out);text-align:left;width:100%}.ob-action-card[_ngcontent-%COMP%]:hover{background:var(--bg-secondary);border-color:var(--border-hover)}.ob-action-card.primary[_ngcontent-%COMP%]{background:var(--primary-alpha-5);border-color:var(--primary-alpha-20)}.ob-action-card.primary[_ngcontent-%COMP%]:hover{background:var(--primary-alpha-10)}.ob-action-icon-img[_ngcontent-%COMP%]{width:40px;height:40px;object-fit:contain;flex-shrink:0}.ob-action-text[_ngcontent-%COMP%]{flex:1;min-width:0}.ob-action-text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:var(--font-size-sm);font-weight:var(--font-weight-bold);color:var(--text-primary);margin:0 0 var(--size-1)}.ob-action-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:var(--font-size-xs);color:var(--text-tertiary);margin:0;line-height:var(--line-height-relaxed)}.ob-action-arrow[_ngcontent-%COMP%]{font-size:var(--font-size-lg);color:var(--text-tertiary);flex-shrink:0;transition:transform var(--duration-fast) var(--easing-out)}.ob-action-card[_ngcontent-%COMP%]:hover .ob-action-arrow[_ngcontent-%COMP%]{transform:translate(3px);color:var(--primary)}.ob-footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:var(--size-4) var(--size-6) var(--size-5);border-top:var(--border-width-thin) solid var(--border)}@media (max-width: 480px){.ob-backdrop[_ngcontent-%COMP%]{padding:0;align-items:flex-end}.ob-modal[_ngcontent-%COMP%]{max-width:100%;max-height:95vh;border-radius:var(--radius-2xl) var(--radius-2xl) 0 0}.ob-body[_ngcontent-%COMP%]{padding:var(--size-5) var(--size-4) var(--size-3)}}"],changeDetection:0})}return a})(),X4={default:{variant:"outline",color:"secondary"},primary:{variant:"solid",color:"primary"},"outline-primary":{variant:"outline",color:"primary"},success:{variant:"solid",color:"success"},warning:{variant:"ghost",color:"warning"},danger:{variant:"outline",color:"danger"},glass:{variant:"glass",color:"secondary"},"glass-primary":{variant:"glass",color:"primary"},"glass-liked":{variant:"glass",color:"danger"},"glass-bookmarked":{variant:"glass",color:"warning"},ghost:{variant:"ghost",color:"secondary"},"ghost-bookmarked":{variant:"ghost",color:"warning"},"ghost-following":{variant:"ghost",color:"primary"}},J4={small:"sm",medium:"md",large:"lg"},Ut=(()=>{class a{buttonIconService=v(ra);
138scheduler=v(L0);icon="";variant="default";size="medium";type="button";disabled=!1;loading=!1;circle=!0;square=!1;compact=!1;ariaLabel;tooltip="";ripple=!0;onClick=new B;onFocus=new B;onBlur=new B;getButtonClasses(){let{variant:t,color:e}=X4[this.variant]||X4.default;return["uni-icon-button",`size-${J4[this.size]||"md"}`,`variant-${t}`,`color-${e}`,this.circle&&!this.square?"circle":this.square?"square":"",this.compact?"compact":"",this.disabled?"disabled":"",this.loading?"loading":""].filter(s=>s).join(" ")}getIconSize(){return this.buttonIconService.getIconSize(J4[this.size]||"md")}getIconName(){return this.buttonIconService.migrateLegacyIcon(this.icon)}handleClick(t){if(this.disabled||this.loading){t.preventDefault(),t.stopPropagation();return}this.ripple&&this.createRipple(t),this.onClick.emit(t)}getMappedSize(){return J4[this.size]||"md"}getColorFromVariant(){return X4[this.variant]?.color||"secondary"}createRipple(t){let e=t.currentTarget,o=e.querySelector(".uni-icon-button-ripple");if(!o)return;o.querySelector(".ripple")?.remove();let n=document.createElement("span");n.className="ripple";let s=e.getBoundingClientRect(),i=Math.max(s.width,s.height);Object.assign(n.style,{width:i+"px",height:i+"px",left:t.clientX-s.left-i/2+"px",top:t.clientY-s.top-i/2+"px"}),o.appendChild(n),this.scheduler.setTimeout(()=>n.remove(),600)}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-icon-button"]],hostAttrs:[1,"uni-icon-button-host"],inputs:{icon:"icon",variant:"variant",size:"size",type:"type",disabled:"disabled",loading:"loading",circle:"circle",square:"square",compact:"compact",ariaLabel:"ariaLabel",tooltip:"tooltip",ripple:"ripple"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[o0([L0])],decls:4,vars:9,consts:[[3,"click","focus","blur","type","disabled"],["type","spin","variant","button",3,"size","color","ariaLabel"],[3,"name","size"],[1,"uni-icon-button-ripple"]],template:function(e,o){e&1&&(p(0,"button",0),V("click",function(s){return o.handleClick(s)})("focus",function(){return o.onFocus.emit()})("blur",function(){return o.onBlur.emit()}),u(1,N7,1,4,"uni-spinner",1)(2,j7,1,3,"ng-icon",2),u(3,$7,1,1,"span",3),d()),e&2&&(t1(o.getButtonClasses()),f("type",o.type)("disabled",o.disabled||o.loading),F("aria-label",o.ariaLabel||o.tooltip)("aria-busy",o.loading)("title",o.tooltip),c(),m(o.loading?1:2),c(2),m(o.ripple&&!o.disabled?3:-1))},dependencies:[t0,y0,Xl],encapsulation:2,changeDetection:0})}return a})(),t3=(()=>{class a{closeAllMenus$=new a0;currentOpenMenuId=null;closeMenus$=this.closeAllMenus$.asObservable();openMenu(t){this.currentOpenMenuId&&this.currentOpenMenuId!==t&&this.closeAllMenus$.next(null),this.currentOpenMenuId=t}closeMenu(t){this.currentOpenMenuId===t&&(this.currentOpenMenuId=null)}closeAllMenus(){this.currentOpenMenuId&&(this.closeAllMenus$.next(null),this.currentOpenMenuId=null)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),E1={DROPDOWN_HEIGHT:300,DROPDOWN_WIDTH:176,DROPDOWN_MOBILE_WIDTH:160,DROPDOWN_SPACING:8,VIEWPORT_MARGIN:8,Z_INDEX_DROPDOWN:9999,Z_INDEX_OVERLAY:9998,Z_INDEX_TRIGGER_ACTIVE:9999,ANIMATION_DURATION:200,DEBOUNCE_DELAY:100,MOBILE_BREAKPOINT:768,RESIZE_DEBOUNCE:150,SCROLL_DEBOUNCE:50},nw=(()=>{class a{items=[];position={left:0,top:0};menuId="";contextLabel=null;triggerElement=null;itemClick=new B;outsideClick=new B;isVisible=I(!1);ACTION_MENU_CONSTANTS=E1;get isAbovePosition(){return this.position.top<0}get bottomPosition(){return this.isAbovePosition?window.innerHeight-Math.abs(this.position.top):0}onDocumentClick(t){if(!this.isVisible()||!this.menuId)return;let e=t.target,o=t.currentTarget.querySelector(`[data-menu-id="${this.menuId}"]`);if(o&&o.contains(e)||this.triggerElement&&this.triggerElement.contains(e))return;if(e.closest(".action-menu-trigger")){this.outsideClick.emit();return}this.outsideClick.emit()}onDropdownClick(t){t.stopPropagation()}onItemClick(t){t.disabled||this.itemClick.emit(t)}setVisibility(t){this.isVisible.set(t)}ngOnDestroy(){this.isVisible.set(!1)}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-action-menu-dropdown"]],hostBindings:function(e,o){e&1&&
138V("click",function(s){return o.onDocumentClick(s)},K1)},inputs:{items:"items",position:"position",menuId:"menuId",contextLabel:"contextLabel",triggerElement:"triggerElement"},outputs:{itemClick:"itemClick",outsideClick:"outsideClick"},features:[o0([P0({matEdit:a4,matDelete:e4,matShare:Hs,matContentCopy:Rn,matArchive:An,matFlag:Yn,matInfo:i4,matVisibility:Bs,matVisibilityOff:_s,matFavorite:Qn,matFavoriteBorder:Kn,matBookmark:t4,matBookmarkBorder:zn,matBookmarkAdd:_n,matBookmarkRemove:yn,matBookmarkAdded:Bn,matBookmarks:Sn,matDownload:Nn,matUpload:Ls,matLink:ns,matSettings:v4,matReport:Cs,matNotificationsNone:cs,matNotificationsOff:vs,matCircleNotifications:Dn,matNotificationsActive:hs,matCampaign:Pn,matVolumeUp:zs,matStar:Vs,matStarBorder:xs,matLaunch:os,matSend:As,matPrint:us,matRefresh:fs,matFolder:n4,matAdd:Cn,matGTranslate:Jn,matNotifications:c4,matMoreVert:N8,matMoreHoriz:h4,matBuild:kn,matBook:J6,matDrafts:jn,matBarChart:bn,matEmojiEvents:o4,matLibraryBooks:l4,matLightbulb:rs,matExpandMore:r4,matClear:En,matTrendingUp:bs,matTimer:Zs,matCategory:Tn,matWorkspaces:ks,matLocationOn:is,matLocalOffer:ss,matHistory:es,matPeople:gs,matEmail:$n,matAutoFixHigh:Zn,matZoomIn:Ps,matBlock:Ln,matPersonOff:ds,matFormatQuote:Xn,phosphorPencil:ln,phosphorTrash:R8,phosphorShare:Q6,phosphorCopy:Qr,phosphorArchive:Dr,phosphorFlag:tn,phosphorInfo:W6,phosphorEye:N6,phosphorEyeSlash:U6,phosphorHeart:$6,phosphorBookmark:T6,phosphorDownload:R6,phosphorUpload:un,phosphorLink:an,phosphorGear:E8,phosphorWarning:mn,phosphorCalendarPlusFill:Is})])],decls:4,vars:12,consts:[["role","menu",1,"action-menu-dropdown","uni-action-menu-dropdown",3,"click"],["aria-hidden","true",1,"menu-context-label"],[1,"menu-divider"],["role","menuitem","type","button",1,"menu-item",3,"disabled","variant-danger","variant-warning"],["role","menuitem","type","button",1,"menu-item",3,"click","disabled"],["size","16",3,"name"]],template:function(e,o){e&1&&(p(0,"div",0),V("click",function(s){return o.onDropdownClick(s)}),u(1,W7,2,1,"div",1),V0(2,Q7,2,1,null,null,f1),d()),e&2&&(v1("position","fixed")("left",o.position.left,"px")("top",o.isAbovePosition?null:o.position.top,"px")("bottom",o.isAbovePosition?o.bottomPosition:null,"px")("z-index",o.ACTION_MENU_CONSTANTS.Z_INDEX_DROPDOWN),F("data-menu-id",o.menuId),c(),m(o.contextLabel?1:-1),c(),Z0(o.items))},dependencies:[t0,y0],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:inline-block;position:relative}.action-menu-dropdown[_ngcontent-%COMP%]{position:fixed;min-width:var(--size-44);background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);border:var(--border-width-thin) solid var(--border);padding:var(--spacing-xs);z-index:var(--z-dropdown);animation:_ngcontent-%COMP%_slideDown var(--duration-normal) var(--easing-in-out);white-space:nowrap;pointer-events:auto}.action-menu-dropdown.position-top[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slideUp var(--duration-normal) var(--easing-in-out)}.menu-context-label[_ngcontent-%COMP%]{padding:var(--size-1-5) var(--spacing-sm) var(--spacing-xs);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium);color:var(--text-secondary);max-width:240px;border-bottom:var(--border-width-thin) solid var(--border);margin-bottom:var(--spacing-xs)}.menu-context-label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-item[_ngcontent-%COMP%]{appearance:none;border:none;background:transparent;font-family:inherit;display:flex;align-items:center;gap:var(--spacing-sm);width:100%;padding:var(--size-2-5) var(--spacing-sm);margin:var(--spacing-0-5) 0;color:var(--text-primary);font-size:var(--font-size-sm);font-weight:var(--font-weight-normal);line-height:var(--line-height-normal);text-align:left;cursor:pointer;border-radius:var(--radius-md);transition:all var(--duration-normal) var(--easing-in-out);position:relative}.menu-item[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%]{color:var(--text-secondary);transition:color var(--duration-normal) var(--easing-in-out);flex-shrink:0}.menu-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{flex:1;pointer-events:none}.menu-item[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled){background:var(--bg-secondary)}.menu-item[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) ng-icon[_ngcontent-%COMP%]{color:var(--text-primary)}.menu-item[_ngcontent-%COMP%]:active:not(.disabled):not(:disabled){background:var(--bg-tertiary);transform:scale(var(--scale-98))}.menu-item[_ngcontent-%COMP%]:focus-visible{outline:var(--focus-ring-width) solid var(--primary-500);outline-offset:calc(-1 * var(--focus-ring-offset))}.menu-item.disabled[_ngcontent-%COMP%], .menu-item[_ngcontent-%COMP%]:disabled{opacity:var(--opacity-50);
138cursor:not-allowed}.menu-item.disabled[_ngcontent-%COMP%]:hover, .menu-item[_ngcontent-%COMP%]:disabled:hover{background:transparent}.menu-item.danger[_ngcontent-%COMP%], .menu-item.variant-danger[_ngcontent-%COMP%]{color:var(--error)}.menu-item.danger[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%], .menu-item.variant-danger[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%]{color:var(--error)}.menu-item.danger[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled), .menu-item.variant-danger[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled){background:var(--bg-hover)}.menu-item.danger[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) ng-icon[_ngcontent-%COMP%], .menu-item.variant-danger[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) ng-icon[_ngcontent-%COMP%]{color:var(--error)}.menu-item.danger[_ngcontent-%COMP%]:active:not(.disabled):not(:disabled), .menu-item.variant-danger[_ngcontent-%COMP%]:active:not(.disabled):not(:disabled){background:var(--bg-tertiary)}.menu-item.danger[_ngcontent-%COMP%]:active:not(.disabled):not(:disabled) ng-icon[_ngcontent-%COMP%], .menu-item.variant-danger[_ngcontent-%COMP%]:active:not(.disabled):not(:disabled) ng-icon[_ngcontent-%COMP%]{color:var(--error)}.menu-item.variant-warning[_ngcontent-%COMP%]{color:var(--warning)}.menu-item.variant-warning[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%]{color:var(--warning)}.menu-item.variant-warning[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled){background:var(--warning-bg)}.menu-item.variant-warning[_ngcontent-%COMP%]:active:not(.disabled):not(:disabled){background:var(--warning-bg)}.menu-divider[_ngcontent-%COMP%]{height:var(--border-width-thin);background:var(--border);margin:var(--spacing-xs) var(--spacing-sm)}@keyframes _ngcontent-%COMP%_slideDown{0%{opacity:var(--opacity-0);transform:translateY(calc(-1 * var(--size-2)))}to{opacity:var(--opacity-100);transform:translateY(0)}}@keyframes _ngcontent-%COMP%_slideUp{0%{opacity:var(--opacity-0);transform:translateY(var(--size-2))}to{opacity:var(--opacity-100);transform:translateY(0)}}@media (max-width: 767.98px){.action-menu-dropdown[_ngcontent-%COMP%]{min-width:var(--size-40);font-size:var(--font-size-sm)}}'],changeDetection:0})}return a})(),sw=(()=>{class a{applicationRef=v(X0);injector=v(B0);document=v(G);activeDropdowns=[];acquireDropdown(){let t=f2(nw,{environmentInjector:this.injector});return this.applicationRef.attachView(t.hostView),t.instance.setVisibility(!1),this.activeDropdowns.push({componentRef:t}),t}configureDropdown(t,e,o,n,s,i,l,g=null){let w=this.activeDropdowns.find(A=>A.componentRef===t);w&&(this.clearSubscriptions(w),t.instance.items=e,t.instance.position=o,t.instance.menuId=n,t.instance.contextLabel=g,t.instance.triggerElement=s,w.itemClickSubscription=t.instance.itemClick.subscribe(i),w.outsideClickSubscription=t.instance.outsideClick.subscribe(l),this.showDropdown(t))}releaseDropdown(t){let e=this.activeDropdowns.findIndex(o=>o.componentRef===t);if(e!==-1){let o=this.activeDropdowns[e];this.clearSubscriptions(o),t.location.nativeElement.parentNode&&t.location.nativeElement.parentNode.removeChild(t.location.nativeElement),this.applicationRef.detachView(t.hostView),t.destroy(),this.activeDropdowns.splice(e,1)}}showDropdown(t){let e=t.location.nativeElement;e.parentNode||this.document.body.appendChild(e),e.style.display="block",e.style.visibility="visible",t.instance.setVisibility(!0)}clearSubscriptions(t){t.itemClickSubscription&&(t.itemClickSubscription.unsubscribe(),t.itemClickSubscription=void 0),t.outsideClickSubscription&&(t.outsideClickSubscription.unsubscribe(),t.outsideClickSubscription=void 0)}destroyAll(){this.activeDropdowns.forEach(t=>{this.clearSubscriptions(t);let e=t.componentRef;e.location.nativeElement.parentNode&&e.location.nativeElement.parentNode.removeChild(e.location.nativeElement),this.applicationRef.detachView(e.hostView),e.destroy()}),this.activeDropdowns.length=0}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Ll=(()=>{class a{responsiveService=v(Qd);actionMenuService=v(t3);destroyRef=v(r0);resizeDebounce$=new a0;setupEventHandlers(t,e){this.setupMobileStateHandler(e.onMobileStateChange),this.setupMenuCloseHandler(t,e.onMenuClose),this.setupScrollHandler(e.onMenuClose),this.setupResizeHandler(e.onWindowResize)}triggerResize(){this.resizeDebounce$.next()}cleanup(){this.resizeDebounce$.complete()}setupMobileStateHandler(t){this.responsiveService.isMobile$.pipe(n0(this.destroyRef)).subscribe(t)}setupMenuCloseHandler(t,e){this.actionMenuService.closeMenus$.pipe(n0(this.destroyRef)).subscribe(o=>{(o===null||o!==t)&&e()})}setupScrollHandler(t){typeof window<"u"&&typeof document<"u"&&(d2(window,"scroll",{passive:!0}).pipe(z1(E1.SCROLL_DEBOUNCE),n0(this.destroyRef)).subscribe(t),d2(document,"scroll",{passive:!0,capture:!0}).pipe(z1(E1.SCROLL_DEBOUNCE),n0(this.destroyRef)).subscribe(t))}setupResizeHandler(t){this.resizeDebounce$.pipe(z1(E1.RESIZE_DEBOUNCE),n0(this.destroyRef)).subscribe(t)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})(),_l=(()=>{class a{_isOpen=I(!1);_isMobile=I(!1);_triggerIcon=I("matMoreVert");_iconSize=I("20");_size=I("medium");_dropdownAlign=I("right");_ariaLabel=I(void 0);_inputSet=new Set;isOpen=this._isOpen.asReadonly();isMobile=this._isMobile.asReadonly();triggerIcon=this._triggerIcon.asReadonly();iconSize=this._iconSize.asReadonly();size=this._size.asReadonly();dropdownAlign=this._dropdownAlign.asReadonly();ariaLabel=this._ariaLabel.asReadonly();responsiveSize=v0(()=>this._isMobile()?"small":this._size());effectiveAriaLabel=v0(()=>this._ariaLabel()||"More options");
138initializeState(t){t.triggerIcon!==void 0&&!this._inputSet.has("triggerIcon")&&this._triggerIcon.set(t.triggerIcon),t.iconSize!==void 0&&!this._inputSet.has("iconSize")&&this._iconSize.set(t.iconSize),t.size!==void 0&&!this._inputSet.has("size")&&this._size.set(t.size),t.dropdownAlign!==void 0&&!this._inputSet.has("dropdownAlign")&&this._dropdownAlign.set(t.dropdownAlign),t.ariaLabel!==void 0&&!this._inputSet.has("ariaLabel")&&this._ariaLabel.set(t.ariaLabel)}setIsOpen(t){this._isOpen.set(t)}setIsMobile(t){this._isMobile.set(t)}updateTriggerIcon(t){this._inputSet.add("triggerIcon"),this._triggerIcon.set(t)}updateIconSize(t){this._inputSet.add("iconSize"),this._iconSize.set(t)}updateSize(t){this._inputSet.add("size"),this._size.set(t)}updateDropdownAlign(t){this._inputSet.add("dropdownAlign"),this._dropdownAlign.set(t)}updateAriaLabel(t){this._inputSet.add("ariaLabel"),this._ariaLabel.set(t)}toggleMenu(){let t=!this._isOpen();return this._isOpen.set(t),t}closeMenu(){this._isOpen.set(!1)}getStateSnapshot(){return{isOpen:this._isOpen(),isMobile:this._isMobile(),triggerIcon:this._triggerIcon(),iconSize:this._iconSize(),size:this._size(),dropdownAlign:this._dropdownAlign(),ariaLabel:this._ariaLabel()}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})(),Tt=class{static cache=new Map;static calculatePosition(r,t="right",e=!1){let o=r.getBoundingClientRect(),n=this.getCacheKey(o,t,e);if(this.cache.has(n))return this.cache.get(n);let s=e?E1.DROPDOWN_MOBILE_WIDTH:E1.DROPDOWN_WIDTH,i=this.computePosition(o,t,s);return this.cache.set(n,i),setTimeout(()=>this.cache.delete(n),5e3),i}static computePosition(r,t,e){let o=E1.DROPDOWN_SPACING,n=E1.DROPDOWN_HEIGHT,s=this.calculateVerticalPosition(r,n,o);return{left:this.calculateHorizontalPosition(r,t,e,o),top:s,align:t}}static calculateVerticalPosition(r,t,e){let o=window.innerHeight-(r.bottom+e),n=r.top-e,s=Math.min(100,t/2);return o>=s?r.bottom+e:n>=50?-(r.top-e):r.bottom+e}static calculateHorizontalPosition(r,t,e,o){switch(t){case"left":return Math.max(o,r.left);
138case"center":let n=r.left+r.width/2-e/2;return Math.max(o,Math.min(n,window.innerWidth-e-o));case"auto":return r.right>window.innerWidth-e?Math.max(o,r.right-e):Math.max(o,r.left);case"right":default:return Math.max(o,r.right-e)}}static getCacheKey(r,t,e){return`${Math.round(r.left)}-${Math.round(r.top)}-${Math.round(r.width)}-${Math.round(r.height)}-${t}-${e}`}static clearCache(){this.cache.clear()}},iw=(()=>{class a{actionMenuService=v(t3);dropdownPoolService=v(sw);eventHandler=v(Ll);state=v(_l);elementRef=v(g0);destroyRef=v(r0);menuId=`menu-${Math.random().toString(36).substr(2,9)}`;dropdownComponentRef=null;items=[];contextLabel=null;set triggerIcon(t){this.state.updateTriggerIcon(t)}set iconSize(t){this.state.updateIconSize(t)}set size(t){this.state.updateSize(t)}set ariaLabel(t){this.state.updateAriaLabel(t)}set dropdownAlign(t){this.state.updateDropdownAlign(t)}triggerVariant="ghost";triggerSquare=!1;dropdownTopPosition;itemClick=new B;isOpen=this.state.isOpen;responsiveSize=this.state.responsiveSize;triggerIconValue=this.state.triggerIcon;ariaLabelValue=this.state.effectiveAriaLabel;get isMenuOpen(){return this.state.isOpen()}onWindowScroll(){this.state.isOpen()&&this.closeMenu()}onDocumentScroll(){this.state.isOpen()&&this.closeMenu()}onWindowResize(){this.state.isOpen()&&this.closeMenu()}ngOnInit(){this.initializeComponent()}initializeComponent(){this.state.initializeState({triggerIcon:"matMoreVert",iconSize:"20",size:"medium",dropdownAlign:"right"});let t={onMenuClose:()=>{this.state.isOpen()&&this.closeMenuInternal()},onMobileStateChange:e=>{this.state.setIsMobile(e)},onWindowResize:()=>{this.state.isOpen()&&this.closeMenuInternal()}};this.eventHandler.setupEventHandlers(this.menuId,t),this.actionMenuService.closeMenus$.pipe(n0(this.destroyRef)).subscribe(e=>{e!==this.menuId&&this.state.isOpen()&&(this.closeMenuInternal(),this.closeDropdown())})}ngOnDestroy(){this.state.isOpen()&&(this.closeDropdown(),this.actionMenuService.closeMenu(this.menuId)),Tt.clearCache(),this.eventHandler.cleanup()}toggleMenu(t){if(t.stopPropagation(),this.state.isOpen()){this.closeMenu();return}this.actionMenuService.openMenu(this.menuId),this.state.setIsOpen(!0),this.openDropdown()}openDropdown(){this.dropdownComponentRef&&this.closeDropdown();let t=Tt.calculatePosition(this.elementRef.nativeElement,this.state.dropdownAlign(),this.state.isMobile());this.dropdownComponentRef=this.dropdownPoolService.acquireDropdown(),this.dropdownPoolService.configureDropdown(this.dropdownComponentRef,this.items,t,this.menuId,this.elementRef.nativeElement,e=>this.onItemClick(e),()=>this.closeMenu(),this.contextLabel)}closeDropdown(){this.dropdownComponentRef&&(this.dropdownPoolService.releaseDropdown(this.dropdownComponentRef),this.dropdownComponentRef=null)}closeMenu(){this.state.isOpen()&&(this.closeMenuInternal(),this.actionMenuService.closeMenu(this.menuId))}closeMenuInternal(){this.state.closeMenu(),this.closeDropdown()}forceClose(){this.dropdownComponentRef&&(this.state.closeMenu(),this.closeDropdown())}repositionDropdown(){if(this.dropdownComponentRef&&this.state.isOpen()){let t=Tt.calculatePosition(this.elementRef.nativeElement,this.state.dropdownAlign(),this.state.isMobile());this.dropdownComponentRef.instance.position=t}}onItemClick(t){t.disabled||(this.itemClick.emit(t),this.closeMenu())}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-action-menu"]],hostVars:2,hostBindings:function(e,o){e&1&&V("scroll",function(){return o.onWindowScroll()},Kt)("scroll",function(){return o.onDocumentScroll()},K1)("resize",function(){return o.onWindowResize()},Kt),e&2&&P("menu-open",o.isMenuOpen)},inputs:{items:"items",contextLabel:"contextLabel",triggerIcon:"triggerIcon",iconSize:"iconSize",size:"size",ariaLabel:"ariaLabel",dropdownAlign:"dropdownAlign",triggerVariant:"triggerVariant",triggerSquare:"triggerSquare",dropdownTopPosition:"dropdownTopPosition"},outputs:{itemClick:"itemClick"},features:[o0([Ll,_l,P0({matMoreVert:N8,matMoreHoriz:h4,phosphorDotsThree:E6})])],decls:1,vars:8,consts:[[1,"action-menu-trigger",3,"onClick","variant","square","size","icon","ariaLabel","tooltip"]],template:function(e,o){e&1&&(p(0,"uni-icon-button",0),V("onClick",function(s){return o.toggleMenu(s)}),d()),e&2&&(P("active",o.isOpen()),f("variant",o.triggerVariant)("square",o.triggerSquare)("size",o.responsiveSize())("icon",o.triggerIconValue())("ariaLabel",o.ariaLabelValue())("tooltip","More options"))},dependencies:[t0,Ut],styles:[Y7],changeDetection:0})}return a})(),lw=(()=>{class a{document=v(G);destroyRef=v(r0);activePopovers=new Set;popoverElements=new Map;managedCloseHandlers=new Set;globalClickTimeout;isDestroyed=!1;constructor(){this.destroyRef.onDestroy(()=>{this.isDestroyed=!0,this.cleanup()})}registerPopover(t,e){this.destroyAllPopovers(),this.closeManagedExcept(),this.activePopovers.add(t),this.popoverElements.set(t,e),this.addGlobalClickListener(e)}unregisterPopover(t){this.activePopovers.delete(t),this.popoverElements.delete(t),this.activePopovers.size===0&&this.removeGlobalListeners()}
138destroyAllPopovers(){this.activePopovers.forEach(t=>{try{let e=this.popoverElements.get(t);e&&e.parentNode&&e.parentNode.removeChild(e),t.destroy()}catch(e){console.warn("Error destroying popover:",e)}}),this.activePopovers.clear(),this.popoverElements.clear(),this.removeGlobalListeners()}registerManagedPopover(t){return this.destroyAllPopovers(),this.closeManagedExcept(t),this.managedCloseHandlers.add(t),()=>this.managedCloseHandlers.delete(t)}closeManagedExcept(t){if(this.managedCloseHandlers.size===0)return;let e=Array.from(this.managedCloseHandlers).filter(o=>o!==t);this.managedCloseHandlers.clear(),t&&this.managedCloseHandlers.add(t);for(let o of e)try{o()}catch{}}hasActivePopovers(){return this.activePopovers.size>0||this.managedCloseHandlers.size>0}addGlobalClickListener(t){this.globalClickTimeout&&clearTimeout(this.globalClickTimeout),this.globalClickTimeout=setTimeout(()=>{this.isDestroyed||(this.document.addEventListener("click",this.handleGlobalClick,!0),this.document.addEventListener("scroll",this.handleGlobalScroll,!0))},50)}cleanup(){this.globalClickTimeout&&(clearTimeout(this.globalClickTimeout),this.globalClickTimeout=void 0),this.destroyAllPopovers()}removeGlobalListeners(){this.document.removeEventListener("click",this.handleGlobalClick,!0),this.document.removeEventListener("scroll",this.handleGlobalScroll,!0)}handleGlobalClick=t=>{let e=t.target,o=!1;this.popoverElements.forEach(n=>{(n.contains(e)||e.closest(".user-avatar-hover-container")||e.closest("uni-user-avatar-hover"))&&(o=!0)}),o||this.destroyAllPopovers()};handleGlobalScroll=()=>{this.destroyAllPopovers()};static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),e3=(()=>{class a{closeAllSubject=new a0;closeAll$=this.closeAllSubject.asObservable();requestCloseAll(t){this.closeAllSubject.next(t||"")}shouldClose(t,e){return t!==e}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var dx=(()=>{class a{title=v(ot);meta=v(J1);baseTitle="uni.xyz";defaultTitle="Journals";pageTitleSubject=new X(this.defaultTitle);pageTitle$=this.pageTitleSubject.asObservable();setPageTitle(t,e){this.pageTitleSubject.next(t),t?this.title.setTitle(`${t} - ${this.baseTitle}`):this.title.setTitle(this.baseTitle),e&&this.meta.updateTag({name:"description",content:e})}getPageTitle(){return this.pageTitleSubject.value}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),hw=(()=>{class a{meta=v(J1);seoService=v(Nl);platformId=v(N);document=v(G);updateCoreMeta(t){this.seoService.updateSEO({title:t.title,description:t.description,keywords:t.keywords,image:t.image,imageAlt:t.imageAlt,url:t.url,type:t.type,author:t.author})}updateOpenGraphMeta(t){this.meta.updateTag({property:"og:site_name",content:t.siteName}),this.meta.updateTag({property:"og:locale",content:t.locale||"en_US"}),this.meta.updateTag({property:"og:determiner",content:""}),t.updatedTime&&this.meta.updateTag({property:"og:updated_time",content:t.updatedTime})}updateTwitterMeta(t){t.creatorHandle&&this.meta.updateTag({name:"twitter:creator",content:t.creatorHandle}),t.labels?.length&&t.labels.slice(0,3).forEach((e,o)=>{let n=o+1;this.meta.updateTag({name:`twitter:label${n}`,content:e.label}),this.meta.updateTag({name:`twitter:data${n}`,content:e.data})})}updateArticleMeta(t){t.publishedTime&&this.meta.updateTag({property:"article:published_time",content:t.publishedTime}),t.modifiedTime&&this.meta.updateTag({property:"article:modified_time",content:t.modifiedTime}),t.expirationTime&&this.meta.updateTag({property:"article:expiration_time",content:t.expirationTime}),t.section&&this.meta.updateTag({property:"article:section",content:t.section}),t.author&&this.meta.updateTag({property:"article:author",content:t.author}),t.tags?.length&&t.tags.forEach(e=>{this.meta.addTag({property:"article:tag",content:e})})}clearMultiValueTags(){if(!L(this.platformId))return;this.document.querySelectorAll('meta[property="article:tag"]').forEach(n=>n.remove()),this.document.querySelectorAll('meta[property="og:see_also"]').forEach(n=>n.remove()),this.document.querySelectorAll('meta[property="og:locale:alternate"]').forEach(n=>n.remove())}
138addLocaleAlternates(t=m1.SUPPORTED_LOCALES.slice(1)){t.forEach(e=>{this.meta.addTag({property:"og:locale:alternate",content:e})})}addRelatedContentLinks(t){t.forEach(e=>{e&&this.meta.addTag({property:"og:see_also",content:e})})}clearCommonMetaTags(){this.meta.removeTag('name="description"'),this.meta.removeTag('name="keywords"'),this.meta.removeTag('name="robots"'),["og:title","og:description","og:image","og:image:secure_url","og:image:width","og:image:height","og:image:alt","og:image:type","og:url","og:type","og:site_name","og:locale","og:updated_time"].forEach(n=>this.meta.removeTag(`property="${n}"`)),["twitter:card","twitter:site","twitter:domain","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:creator","twitter:label1","twitter:data1","twitter:label2","twitter:data2","twitter:label3","twitter:data3"].forEach(n=>this.meta.removeTag(`name="${n}"`)),["article:published_time","article:modified_time","article:expiration_time","article:section","article:author"].forEach(n=>this.meta.removeTag(`property="${n}"`)),this.clearMultiValueTags()}clearGeoMetaTags(){this.meta.removeTag('name="geo.region"'),this.meta.removeTag('name="geo.placename"'),this.meta.removeTag('name="geo.position"'),this.meta.removeTag('name="ICBM"')}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),cw=(()=>{class a{platformId=v(N);document=v(G);meta=v(J1);seoService=v(Nl);getBaseUrl(){return L(this.platformId)&&typeof window<"u"?`${window.location.protocol}//${window.location.host}`:"{{BASE_URL}}"}setCanonical(t){if(!L(this.platformId))return;let e=this.document.querySelector('link[rel="canonical"]');e||(e=this.document.createElement("link"),e.setAttribute("rel","canonical"),this.document.head.appendChild(e)),e.setAttribute("href",t)}removeCanonical(){if(!L(this.platformId))return;let t=this.document.querySelector('link[rel="canonical"]');t&&t.remove()}buildCanonicalUrl(t){return`${this.getBaseUrl()}${t}`}updateRobots(t){this.seoService.updateRobots(t?"index, follow":"noindex, follow")}updateAuthorLink(t){if(!L(this.platformId))return;let e=this.document.querySelector('link[rel="author"]');if(e&&e.remove(),t){let o=this.document.createElement("link");o.rel="author",o.href=t,this.document.head.appendChild(o)}}addGeoMetaTags(t){if(!t||!L(this.platformId))return;let e=this.getCoordinates(t);t.country?.iso_code&&this.meta.updateTag({name:"geo.region",content:t.country.iso_code});let o=[t.city?.name,t.country?.name].filter(Boolean).join(", ");o&&this.meta.updateTag({name:"geo.placename",content:o}),e&&(this.meta.updateTag({name:"geo.position",content:`${e.lat};${e.lng}`}),this.meta.updateTag({name:"ICBM",content:`${e.lat}, ${e.lng}`}))}getCoordinates(t){return t.lat&&t.lng?{lat:String(t.lat),lng:String(t.lng)}:t.city?.lat&&t.city?.long?{lat:String(t.city.lat),lng:String(t.city.long)}:t.country?.lat&&t.country?.long?{lat:String(t.country.lat),lng:String(t.country.long)}:null}addImagePreloadHint(t,e="main-image"){if(!L(this.platformId)||!t||this.document.querySelector(`link[rel="preload"][href="${t}"]`))return;let n=this.document.querySelector(`link[rel="preload"][data-${e}]`);n&&n.remove();let s=this.document.createElement("link");s.setAttribute("rel","preload"),s.setAttribute("as","image"),s.setAttribute("href",t),s.setAttribute(`data-${e}`,"true"),this.document.head.appendChild(s)}clearAll(){this.removeCanonical(),this.updateAuthorLink(null)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),a3=(()=>{class a{titleSuffix=m1.TITLE_SUFFIX;maxDescriptionLength=m1.MAX_DESCRIPTION_LENGTH;generateSimpleTitle(t,e){if(e&&e!=="about"){let o=e.replace(/-/g," ").replace(/\b\w/g,n=>n.toUpperCase());return`${t} - ${o} | ${this.titleSuffix}`}return`${t} | ${this.titleSuffix}`}generateSimpleDescription(t,e,o){return t?this.truncateText(t,o||this.maxDescriptionLength):e}truncateText(t,e){return la(t,e,{suffix:"...",limitIncludesSuffix:!0,wordBoundary:!1,trimBeforeSuffix:!0})}formatEntityType(t){return t.charAt(0).toUpperCase()+t.slice(1)}getEntityPluralPath(t){return{competition:"competitions",project:"projects",publication:"publications",journal:"journals",profile:"profile",organization:"organizations",topic:"topic",inspiration:"inspirations",product:"market",about:"about"}[t]||t+"s"}extractEntityTitle(t){return t.title||t.name||t.full_name||t.username||""}getEntityAuthor(t,e){return t.author?.name||t.creator?.first_name&&`${t.creator.first_name} ${t.creator.last_name||""}`||t.organizer?.name||t.owner?.username||e}getEntityUpdatedTime(t){return t.updated_at||t.modified_at||t.last_modified||null}getTwitterHandle(t){let e=t.twitter_handle||t.author?.twitter_handle||t.organizer?.twitter_handle||t.organizer?.social_links?.twitter;return e?this.normalizeTwitterHandle(e):null}normalizeTwitterHandle(t){if(!t)return"";let e=t.replace(/^https?:\/\/(www\.)?(twitter|x)\.com\//i,"").replace(/^@/,"");return e?`@${e}`:""}shouldIndex(t){return!(t.status==="draft"||t.status==="cancelled"||t.is_private||t.is_hidden)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),me={SEO_SCHEMA:{maxSize:100,ttl:5*60*1e3,description:"SEO schema cache (5 min)"},SEO_BREADCRUMB:{maxSize:50,ttl:5*60*1e3,description:"Breadcrumb cache (5 min)"},AUTH_USER:{maxSize:1,ttl:5*60*1e3,description:"Current user cache (5 min)"},IMAGE_OPTIMIZER:{maxSize:200,ttl:10*60*1e3,description:"Image URL cache (10 min)"},SIDEBAR_DATA:{maxSize:20,ttl:5*60*1e3,description:"Sidebar section cache (5 min)"},COMMENT_STATE:{maxSize:50,ttl:2*60*1e3,description:"Comment state cache (2 min)"},DEFAULT:{maxSize:100,ttl:5*60*1e3,description:"Default cache (5 min)"}},wx={ONE_MINUTE:60*1e3,TWO_MINUTES:2*60*1e3,FIVE_MINUTES:5*60*1e3,TEN_MINUTES:10*60*1e3,THIRTY_MINUTES:30*60*1e3,ONE_HOUR:60*60*1e3,SIX_HOURS:6*60*60*1e3,TWENTY_FOUR_HOURS:24*60*60*1e3},o3=(()=>{class a{schemaCache=new N2({maxSize:me.SEO_SCHEMA.maxSize,ttl:me.SEO_SCHEMA.ttl});breadcrumbCache=new N2({maxSize:me.SEO_BREADCRUMB.maxSize,ttl:me.SEO_BREADCRUMB.ttl});getCacheKey(t,e){return`${t}:${e}`}getEntityId(t){return t.id||t.slug||t.username||null}getSchema(t,e){let o=this.getEntityId(e);if(!o)return null;let n=this.getCacheKey(t,o);return this.schemaCache.get(n)||null}setSchema(t,e,o){let n=this.getEntityId(e);if(!n)return;let s=this.getCacheKey(t,n);this.schemaCache.set(s,o)}getOrSetSchema(t,e,o){let n=this.getSchema(t,e);if(n)return n;let s=o();return this.setSchema(t,e,s),s}getBreadcrumb(t,e){let o=this.getEntityId(e);if(!o)return null;let n=`breadcrumb:${this.getCacheKey(t,o)}`;return this.breadcrumbCache.get(n)||null}setBreadcrumb(t,e,o){let n=this.getEntityId(e);if(!n)return;let s=`breadcrumb:${this.getCacheKey(t,n)}`;this.breadcrumbCache.set(s,o)}clearAll(){this.schemaCache.clear(),this.breadcrumbCache.clear()}clearEntity(t,e){let o=this.getEntityId(e);if(!o)return;let n=this.getCacheKey(t,o);this.schemaCache.delete(n),this.breadcrumbCache.delete(`breadcrumb:${n}`)}getStats(){return{schema:this.schemaCache.getStats(),breadcrumb:this.breadcrumbCache.getStats()}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),vw=(()=>{class a{structuredDataService=v($l);seoHelpers=v(a3);seoCache=v(o3);
138generateBreadcrumbItems(t,e,o,n,s,i){let l=n||this.seoHelpers.formatEntityType(e)+"s",g=s||`/${this.seoHelpers.getEntityPluralPath(e)}/`,w=i||this.seoHelpers.extractEntityTitle(t)||e;return[{name:"Home",url:"/"},{name:l,url:g},{name:w,url:o}]}generateBreadcrumbSchema(t,e,o,n,s,i){let l=this.seoCache.getBreadcrumb(e,t);if(l)return l;let g=this.generateBreadcrumbItems(t,e,o,n,s,i),w=this.structuredDataService.generateBreadcrumbSchema(g);return this.seoCache.setBreadcrumb(e,t,w),w}generateCustomBreadcrumbs(t){return this.structuredDataService.generateBreadcrumbSchema(t)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),ux=(()=>{class a{titleSuffix=m1.TITLE_SUFFIX;defaultBrand=m1.DEFAULT_BRAND;defaultAuthor=m1.DEFAULT_AUTHOR;maxDescriptionLength=m1.MAX_DESCRIPTION_LENGTH;metaTagService=v(hw);structuredDataService=v($l);canonicalUrlService=v(cw);seoUtils=v(j2);schemaGenerator=v(jl);router=v(z0);seoHelpers=v(a3);seoCache=v(o3);seoBreadcrumb=v(vw);getPreloadImageUrl(t){return null}updateDetailPageSeo(t,e){this.metaTagService.clearMultiValueTags();let o=this.getTitle(t,e?.section),n=this.getDescription(t),s=this.getImageUrl(t),i=this.generateKeywords(t),l=this.getEntityPath(t),g=this.canonicalUrlService.buildCanonicalUrl(l);this.metaTagService.updateCoreMeta({title:o,description:n,keywords:i,image:s||void 0,imageAlt:`${this.extractEntityTitle(t)} - ${this.entityType} on ${this.titleSuffix}`,url:l,type:e?.ogType||"article",author:this.getEntityAuthor(t)});let w=e?.noIndex?!1:this.shouldIndex(t);this.canonicalUrlService.updateRobots(w),this.metaTagService.updateOpenGraphMeta({siteName:this.getSiteName(),updatedTime:this.getEntityUpdatedTime(t)}),this.metaTagService.updateTwitterMeta({creatorHandle:this.getTwitterHandle(t),labels:e?.twitterLabels}),e?.articleMeta&&this.metaTagService.updateArticleMeta(e.articleMeta),this.canonicalUrlService.setCanonical(g),e?.location&&this.canonicalUrlService.addGeoMetaTags(e.location),e?.relatedUrls?.length&&this.metaTagService.addRelatedContentLinks(e.relatedUrls),this.structuredDataService.clear();let A=this.seoCache.getOrSetSchema(this.entityType,t,()=>this.generateEntitySchema(t)),_=this.generateBreadcrumbItems(t);this.structuredDataService.buildAndInject({entitySchema:A,breadcrumbs:_,includeWebsite:!0,searchPath:this.getSearchPath()});let S=this.getPreloadImageUrl(t);S&&this.canonicalUrlService.addImagePreloadHint(S,`${this.entityType}-image`);let k=this.getAuthorUrl(t);this.canonicalUrlService.updateAuthorLink(k)}updateListPageSeo(t){this.metaTagService.clearMultiValueTags();let e=this.canonicalUrlService.buildCanonicalUrl(t.path);if(this.metaTagService.updateCoreMeta({title:t.title,description:t.description,keywords:t.keywords?.join(", "),url:t.path,type:"website"}),this.canonicalUrlService.updateRobots(!0),this.canonicalUrlService.setCanonical(e),t.items?.length){let o=this.structuredDataService.generateItemListSchema(t.items,t.title,t.description);this.structuredDataService.inject(o)}}clearSeoMeta(){this.metaTagService.clearCommonMetaTags(),this.metaTagService.clearGeoMetaTags(),this.structuredDataService.clear(),this.canonicalUrlService.clearAll()}generateBreadcrumbItems(t){return this.seoBreadcrumb.generateBreadcrumbItems(t,this.entityType,this.getEntityPath(t),this.getBreadcrumbListName(),this.getListPath(),this.extractEntityTitle(t))}generateBreadcrumbs(t){return this.seoBreadcrumb.generateBreadcrumbSchema(t,this.entityType,this.getEntityPath(t),this.getBreadcrumbListName(),this.getListPath(),this.extractEntityTitle(t))}shouldIndex(t){return this.seoHelpers.shouldIndex(t)}getSiteName(){return`UNI ${this.formatEntityType()}`}getSearchPath(){return`/${this.getEntityPluralPath()}/?search=`}getListPath(){return`/${this.getEntityPluralPath()}/`}getBreadcrumbListName(){return this.formatEntityType()+"s"}getEntityPluralPath(){return this.seoHelpers.getEntityPluralPath(this.entityType)}formatEntityType(){return this.seoHelpers.formatEntityType(this.entityType)}extractEntityTitle(t){return this.seoHelpers.extractEntityTitle(t)}
138getEntityAuthor(t){return this.seoHelpers.getEntityAuthor(t,this.defaultAuthor)}getAuthorUrl(t){let e=this.canonicalUrlService.getBaseUrl();return t.author?.username?`${e}/profile/${t.author.username}`:t.creator?.username?`${e}/profile/${t.creator.username}`:t.organizer?.slug?`${e}/organizations/${t.organizer.slug}`:null}getTwitterHandle(t){return this.seoHelpers.getTwitterHandle(t)}getEntityUpdatedTime(t){return this.seoHelpers.getEntityUpdatedTime(t)}getOptimizedOgImage(t){return t?this.seoUtils.getOptimizedOgImage(t):`${this.canonicalUrlService.getBaseUrl()}${this.defaultImage}`}generateSimpleTitle(t,e){return this.seoHelpers.generateSimpleTitle(t,e)}generateSimpleDescription(t,e){return this.seoHelpers.generateSimpleDescription(t,e,this.maxDescriptionLength)}buildSimpleImageUrl(t){return t?this.getOptimizedOgImage(t):null}buildInteractionStatistics(t){return this.structuredDataService.buildInteractionStatistics(t)}buildAggregateRating(t,e=5,o=1){return this.structuredDataService.buildAggregateRating(t,e,o)}buildKeywordsArray(t){return this.structuredDataService.buildKeywordsArray(t)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac})}return a})();function r3(){let a=document.documentElement,r=document.body,t=a.style.overflow,e=a.style.paddingRight,o=window.innerWidth-a.clientWidth,n=/iP(hone|ad|od)/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1;a.style.overflow="hidden",o>0&&(a.style.paddingRight=`${o}px`);let s=0,i="",l="",g="";return n&&(s=window.scrollY,i=r.style.position,l=r.style.top,g=r.style.width,r.style.position="fixed",r.style.top=`-${s}px`,r.style.width="100%"),()=>{a.style.overflow=t,a.style.paddingRight=e,n&&(r.style.position=i,r.style.top=l,r.style.width=g,window.scrollTo(0,s))}}var mx=(()=>{class a{platformId=v(N);modalService=v(Td);scheduler=v(L0);unlockScroll=null;wasOpen=!1;modalContainer;isOpen=!1;title="";subtitle="";icon="";size="md";showCloseButton=!0;closeOnBackdrop=!0;closeOnEscape=!0;customClass="";modalClose=new B;backdropClick=new B;ngOnInit(){}ngOnDestroy(){this.restoreBodyScroll(),this.wasOpen&&this.modalService.close()}ngOnChanges(){this.isOpen&&!this.wasOpen?(this.handleModalOpen(),this.wasOpen=!0):!this.isOpen&&this.wasOpen&&(this.handleModalClose(),this.wasOpen=!1)}onEscapeKey(t){this.isOpen&&this.closeOnEscape&&(t.preventDefault(),this.close())}handleModalOpen(){L(this.platformId)&&(this.lockBodyScroll(),this.focusModal(),this.modalService.open())}handleModalClose(){L(this.platformId)&&(this.restoreBodyScroll(),this.modalService.close())}lockBodyScroll(){L(this.platformId)&&(this.unlockScroll?.(),this.unlockScroll=r3())}restoreBodyScroll(){L(this.platformId)&&(this.unlockScroll?.(),this.unlockScroll=null)}focusModal(){L(this.platformId)&&this.scheduler.setTimeout(()=>{this.modalContainer?.nativeElement&&this.modalContainer.nativeElement.focus({preventScroll:!0})},300)}onBackdropClick(t){t.target===t.currentTarget&&(this.backdropClick.emit(),this.closeOnBackdrop&&this.close())}onBackdropScroll(t){t.preventDefault(),t.stopPropagation()}onModalContentScroll(t){let o=t.target.closest(".uni-modal-body");o?(o.scrollHeight>o.clientHeight||t.preventDefault(),t.stopPropagation()):(t.preventDefault(),t.stopPropagation())}close(){this.modalClose.emit()}getSizeClass(){return`uni-modal-container ${this.size} ${this.customClass}`.trim()}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-modal"]],viewQuery:function(e,o){if(e&1&&J0(X7,5),e&2){let n;F0(n=D0())&&(o.modalContainer=n.first)}},hostBindings:function(e,o){e&1&&V("keydown.escape",function(s){return o.onEscapeKey(s)},K1)},inputs:{isOpen:"isOpen",title:"title",subtitle:"subtitle",icon:"icon",size:"size",showCloseButton:"showCloseButton",closeOnBackdrop:"closeOnBackdrop",closeOnEscape:"closeOnEscape",customClass:"customClass"},outputs:{modalClose:"modalClose",backdropClick:"backdropClick"},features:[o0([P0({matClose:U8}),L0]),M0],ngContentSelectors:t9,decls:1,vars:1,consts:[["modalContainer",""],["role","dialog",1,"uni-modal-backdrop"],["role","dialog",1,"uni-modal-backdrop",3,"click","wheel","touchmove"],["tabindex","-1","role","document",3,"wheel","touchmove"],[1,"uni-modal-header"],["icon","matClose","variant","ghost","size","medium","ariaLabel","Close modal",3,"square","circle"],[1,"uni-modal-body"],[1,"uni-modal-footer"],[1,"modal-title-section"],[1,"modal-icon"],[1,"modal-header-text"],["id","modal-title",1,"modal-title"],[1,"modal-subtitle"],["size","24",3,"name"],["icon","matClose","variant","ghost","size","medium","ariaLabel","Close modal",3,"click","
138square","circle"]],template:function(e,o){e&1&&(Z1(J7),u(0,s9,12,6,"div",1)),e&2&&m(o.isOpen?0:-1)},dependencies:[t0,y0,Ut],styles:['@charset "UTF-8";@keyframes _ngcontent-%COMP%_backdropFadeIn{0%{opacity:var(--opacity-0)}to{opacity:var(--opacity-100)}}.uni-modal-backdrop[_ngcontent-%COMP%]{inset:0;width:100%;height:100%;background:var(--bg-overlay);backdrop-filter:blur(var(--size-2));-webkit-backdrop-filter:blur(var(--size-2));overflow:hidden;overscroll-behavior:contain;touch-action:none;animation:_ngcontent-%COMP%_backdropFadeIn var(--duration-500) var(--easing-out);position:fixed;z-index:var(--z-modal-backdrop);contain:none}.uni-modal-container[_ngcontent-%COMP%]{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:var(--surface);border-radius:var(--radius-xl);border:var(--border-width-thin) solid var(--border);box-shadow:var(--shadow-2xl);max-width:90vw;max-height:var(--modal-max-height);overflow:hidden;z-index:var(--z-modal);animation:_ngcontent-%COMP%_uni-modal-slide-in var(--duration-500) var(--easing-in-out);outline:none;contain:none}.uni-modal-container.sm[_ngcontent-%COMP%]{width:var(--container-sm)}.uni-modal-container.md[_ngcontent-%COMP%]{width:var(--container-md)}.uni-modal-container.lg[_ngcontent-%COMP%]{width:var(--container-lg)}.uni-modal-container.fullscreen[_ngcontent-%COMP%]{width:100vw;height:100vh;max-width:100vw;max-height:100vh;border-radius:0;top:0;left:0;transform:none}@media (max-width: 1023.98px){.uni-modal-container[_ngcontent-%COMP%]:not(.fullscreen){width:calc(100vw - var(--size-8));max-width:calc(100vw - var(--size-8));margin:var(--size-4)}}@media (max-width: 767.98px){.uni-modal-container[_ngcontent-%COMP%]:not(.fullscreen){width:calc(100vw - var(--size-4));max-width:calc(100vw - var(--size-4));margin:var(--size-2);max-height:calc(100vh - var(--size-4))}}.uni-modal-header[_ngcontent-%COMP%]{padding:var(--size-6);border-bottom:var(--border-width-thin) solid var(--border);display:flex;align-items:center;justify-content:space-between;background:var(--surface);gap:var(--size-4)}.uni-modal-header[_ngcontent-%COMP%] .modal-title-section[_ngcontent-%COMP%]{flex:1;display:flex;align-items:center;gap:var(--size-4);min-width:0}.uni-modal-header[_ngcontent-%COMP%] .modal-icon[_ngcontent-%COMP%]{width:var(--size-12);height:var(--size-12);border-radius:var(--radius-lg);background:linear-gradient(135deg,var(--primary-500),var(--primary-600));display:flex;align-items:center;justify-content:center;color:var(--surface);flex-shrink:0}.uni-modal-header[_ngcontent-%COMP%] .modal-header-text[_ngcontent-%COMP%]{flex:1;min-width:0}.uni-modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{margin:0;font-size:var(--font-size-xl);font-weight:var(--font-weight-semibold);color:var(--text-primary);line-height:var(--line-height-tight)}.uni-modal-header[_ngcontent-%COMP%] .modal-subtitle[_ngcontent-%COMP%]{margin:0;font-size:var(--font-size-sm);color:var(--text-secondary);line-height:var(--line-height-loose)}@media (max-width: 767.98px){.uni-modal-header[_ngcontent-%COMP%]{padding:var(--size-4)}.uni-modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{font-size:var(--font-size-lg)}.uni-modal-header[_ngcontent-%COMP%] .modal-icon[_ngcontent-%COMP%]{width:var(--size-10);height:var(--size-10)}}.uni-modal-body[_ngcontent-%COMP%]{padding:var(--size-6);overflow-y:auto;max-height:calc(var(--modal-max-height) - var(--size-50));flex:1;scrollbar-width:thin;scrollbar-color:var(--border) transparent}.uni-modal-body[_ngcontent-%COMP%]::-webkit-scrollbar{width:var(--size-2)}.uni-modal-body[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.uni-modal-body[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--border);border-radius:var(--radius-sm);transition:background var(--duration-normal) var(--easing-in-out)}.uni-modal-body[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:var(--border-hover)}@media (max-width: 767.98px){.uni-modal-body[_ngcontent-%COMP%]{padding:var(--size-4);max-height:calc(100vh - var(--size-30))}}.uni-modal-footer[_ngcontent-%COMP%]{padding:var(--size-6);border-top:var(--border-width-thin) solid var(--border);display:flex;align-items:center;justify-content:flex-end;
138gap:var(--spacing-sm);background:var(--bg-primary)}.uni-modal-footer[_ngcontent-%COMP%]:empty{display:none}.uni-modal-footer[_ngcontent-%COMP%] [modal-footer]{display:flex;align-items:center;justify-content:flex-end;gap:var(--size-3);width:100%}@media (max-width: 767.98px){.uni-modal-footer[_ngcontent-%COMP%]{padding:var(--size-4);flex-direction:column-reverse}.uni-modal-footer[_ngcontent-%COMP%] [_ngcontent-%COMP%]:global(.uni-btn){width:100%}.uni-modal-footer[_ngcontent-%COMP%] [modal-footer]{flex-direction:column-reverse;width:100%}.uni-modal-footer[_ngcontent-%COMP%] [modal-footer] uni-button{width:100%;flex-basis:content}}@keyframes _ngcontent-%COMP%_uni-modal-slide-in{0%{opacity:var(--opacity-0);transform:translate(-50%,-45%) scale(var(--scale-95))}to{opacity:var(--opacity-100);transform:translate(-50%,-50%) scale(var(--scale-100))}}.uni-modal-container[_ngcontent-%COMP%]:focus{outline:none}@media (prefers-reduced-motion: reduce){.uni-modal-backdrop[_ngcontent-%COMP%], .uni-modal-container[_ngcontent-%COMP%]{animation:none}.uni-modal-container[_ngcontent-%COMP%]{transform:translate(-50%,-50%)}}@media (prefers-contrast: high){.uni-modal-container[_ngcontent-%COMP%]{border:var(--border-width-thick) solid var(--text-primary)}.uni-modal-header[_ngcontent-%COMP%], .uni-modal-footer[_ngcontent-%COMP%]{border-color:var(--text-primary)}}'],changeDetection:0})}return a})();var fx=(()=>{class a{http=v(w0);platformId=v(N);transferState=v(qt);pickedBulletinKeys=new Map;CACHE_DURATION=10*60*1e3;STORAGE_KEY="uni_bulletins_cache";memoryCache=new Map;observableCache=new Map;dataSubjects=new Map;constructor(){this.loadFromStorage()}getBulletins(t="Account"){let e=this.getCacheKey(t);this.dataSubjects.has(e)||this.dataSubjects.set(e,new X(null));let o=this.dataSubjects.get(e),n=this.getFromMemoryCache(t);if(n)return o.value||o.next(n),o.asObservable().pipe(T(l=>l||[]));if(this.observableCache.has(e))return this.observableCache.get(e);let s=t?{host:t}:void 0,i=this.http.get(p0("/api/v2/bulletins/"),s?{params:s}:{}).pipe(T(l=>l.results||[]),J(l=>{this.saveToCache(t,l),o.next(l)}),l0(l=>{let g=this.getStaleFromStorage(t);return g?(o.next(g),y(g)):(o.next([]),y([]))}),s1(1));return this.observableCache.set(e,i),i.subscribe({complete:()=>{this.observableCache.delete(e)},error:()=>{this.observableCache.delete(e)}}),i}getCachedOrFreshBulletins(t,e){let o=this.getFromMemoryCache(t);return o&&o.length>0?this.getBulletins(t).pipe(G1(o),T(e)):this.getBulletins(t).pipe(T(e))}selectRandomBulletin(t,e){if(e.length===0)return null;let o=`uni-bulletin-pick:${t}`,n=this.pickedBulletinKeys.get(t)??this.transferState.get(o,null);if(n){let l=e.find(g=>this.bulletinPickKey(g)===n);if(l)return this.pickedBulletinKeys.set(t,n),l}let s=e[Math.floor(Math.random()*e.length)],i=this.bulletinPickKey(s);return this.pickedBulletinKeys.set(t,i),Q2(this.platformId)&&this.transferState.set(o,i),s}bulletinPickKey(t){return t.image?.url||t.title||""}getFirstBulletin(t="Account"){return this.getCachedOrFreshBulletins(t,e=>e.length>0?e[0]:null)}getRandomBulletin(t="Account"){return this.getCachedOrFreshBulletins(t,e=>this.selectRandomBulletin(t,e))}preloadBulletins(t="Account"){this.getFromMemoryCache(t)||this.getBulletins(t).pipe(A1(1),l0(()=>y([]))).subscribe()}getBestImageUrls(t){let e=t.image?.url;if(e&&Ft(e)){let o=ia(e,{width:1920,fit:"cover"});return{highQuality:o.highQuality,lowQuality:o.lowQuality}}return{highQuality:t.image?.url||null,lowQuality:t.image?.low_image||t.image?.thumbnail||null}}stripHtml(t){return t?t.replace(/<[^>]*>/g,"").trim():""}getCleanTitle(t){return this.stripHtml(t.title)}getCleanInfo(t){return this.stripHtml(t.info||"")}clearCache(t){if(t){let e=this.getCacheKey(t);this.memoryCache.delete(e),this.observableCache.delete(e),this.dataSubjects.delete(e)}else this.memoryCache.clear(),this.observableCache.clear(),this.dataSubjects.clear();try{if(t){let e=this.getStorageData();delete e[this.getCacheKey(t)],localStorage.setItem(this.STORAGE_KEY,JSON.stringify(e))}else localStorage.removeItem(this.STORAGE_KEY)}catch{}}getCacheKey(t){return`bulletins_${t}`}getFromMemoryCache(t){let e=this.getCacheKey(t),o=this.memoryCache.get(e);return o&&Date.now()-o.timestamp<this.CACHE_DURATION?o.data:(o&&this.memoryCache.delete(e),null)}saveToCache(t,e){let o=this.getCacheKey(t),n={data:e,timestamp:Date.now(),host:t};this.memoryCache.set(o,n),this.saveToStorage(o,n)}saveToStorage(t,e){try{let o=this.getStorageData();o[t]=e,localStorage.setItem(this.STORAGE_KEY,JSON.stringify(o))}catch{}}loadFromStorage(){try{let t=this.getStorageData(),e=Date.now();Object.entries(t).forEach(([o,n])=>{e-n.timestamp<this.CACHE_DURATION&&this.memoryCache.set(o,n)})}catch{}}getStaleFromStorage(t){try{let e=this.getStorageData(),o=this.getCacheKey(t),n=e[o];if(n&&n.data)return n.data}catch{}return null}getStorageData(){try{let t=localStorage.getItem(this.STORAGE_KEY);return t?JSON.parse(t):{}}catch{return{}}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Cx=(()=>{class a{handleKeyDown(t,e){let{itemCount:o,currentIndex:n,isOpen:s,isItemDisabled:i,wrapAround:l=!1}=e;switch(t.key){case"ArrowDown":return this.handleArrowDown(n,o,s,i,l);case"ArrowUp":return this.handleArrowUp(n,o,s,i,l);case"Home":return s?this.handleHome(o,i):{handled:!1,newIndex:n,action:"none"};case"End":return s?this.handleEnd(o,i):{handled:!1,newIndex:n,action:"none"};case"Enter":case" ":return this.handleSelect(n,s,o,i);case"Escape":return s?{handled:!0,newIndex:-1,action:"close"}:{handled:!1,newIndex:n,action:"none"};case"Tab":return s?{handled:!1,newIndex:-1,action:"close"}:{handled:!1,newIndex:n,action:"none"};default:return{handled:!1,newIndex:n,action:"none"}}}handleArrowDown(t,e,o,n,s=!1){return o?{handled:!0,newIndex:this.findNextEnabledIndex(t,1,e,n,s),action:"none"}:{handled:!0,newIndex:this.findNextEnabledIndex(-1,1,e,n),action:"open"}}handleArrowUp(t,e,o,n,s=!1){return o?{handled:!0,newIndex:this.findNextEnabledIndex(t,-1,e,n,s),action:"none"}:{handled:!0,newIndex:this.findNextEnabledIndex(e,-1,e,n),action:"open"}}handleHome(t,e){return{handled:!0,newIndex:this.findNextEnabledIndex(-1,1,t,e),action:"none"}}handleEnd(t,e){return{handled:!0,newIndex:this.findNextEnabledIndex(t,-1,t,e),action:"none"}}handleSelect(t,e,o,n){return e?t>=0&&t<o?n&&n(t)?{handled:!0,newIndex:t,action:"none"}:{handled:!0,newIndex:t,action:"select"}:{handled:!0,newIndex:t,action:"none"}:{handled:!0,newIndex:this.findNextEnabledIndex(-1,1,o,n),action:"open"}}findNextEnabledIndex(t,e,o,n,s=!1){if(o===0)return-1;let i=t+e,l=0,g=o;for(;l<g;){if(i>=o)if(s)i=0;else return t>=0?t:0;else if(i<0)if(s)i=o-1;else return t>=0?t:o-1;if(!n||!n(i))return i;i+=e,l++}return t>=0?t:-1}
138scrollOptionIntoView(t,e,o=".option-item"){if(!t)return;let n=t.querySelectorAll(o);n[e]&&n[e].scrollIntoView({block:"nearest",behavior:"smooth"})}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var pw=(()=>{class a{S3_BASE="https://uni-common-assets.s3.amazonaws.com/design-preloaders";preloaders=[{id:"contrast",label:"Contrast",description:"Opposing visual properties create emphasis and visual interest",searchTip:"Try the opposite \u2014 search broader or more specific"},{id:"balance",label:"Balance",description:"Visual equilibrium through symmetric or asymmetric weight distribution",searchTip:"Balance your keywords \u2014 drop the location, keep the concept"},{id:"alignment",label:"Alignment",description:"Elements organized along invisible lines for visual order",searchTip:"Align with our tags \u2014 check the filter panel for categories"},{id:"proximity",label:"Proximity",description:"Closeness implies relationship between visual elements",searchTip:"Keep related terms together \u2014 remove unrelated words"},{id:"hierarchy",label:"Hierarchy",description:"Size and emphasis guide the viewer through content priority",searchTip:"Start broad first, then narrow down with filters"},{id:"whitespace",label:"White Space",description:"Negative space gives elements room to breathe and communicate",searchTip:"Less is more \u2014 try fewer keywords"},{id:"golden-ratio",label:"Golden Ratio",description:"Mathematical proportion found in nature and classical design",searchTip:"The right proportion \u2014 2 to 3 keywords works best"},{id:"rhythm",label:"Rhythm",description:"Repeated patterns create visual tempo and movement",searchTip:"Try a pattern \u2014 search by tag, then by author, then by title"},{id:"repetition",label:"Repetition",description:"Recurring elements create unity and reinforce patterns",searchTip:"Try variations \u2014 use synonyms or related terms"},{id:"unity",label:"Unity",description:"Diverse elements work together as a cohesive composition",searchTip:"Combine related concepts into one term"},{id:"scale",label:"Scale",description:"Relative size relationships create depth and emphasis",searchTip:'Zoom out \u2014 try a wider category like "parametric" or "kinetic"'},{id:"color-theory",label:"Color Theory",description:"Complementary color relationships for harmony and contrast",searchTip:"Mix and match \u2014 combine a style with a typology"},{id:"symmetry",label:"Symmetry",description:"Mirrored elements create visual harmony and order",searchTip:"Mirror your search \u2014 try the reverse perspective"},{id:"movement",label:"Movement",description:"Visual flow guides the eye through a composition",searchTip:"Keep exploring \u2014 browse related tags in the sidebar"},{id:"depth",label:"Depth",description:"Layered planes create spatial dimension and perspective",searchTip:"Go deeper \u2014 add a material or technique keyword"},{id:"emphasis",label:"Emphasis",description:"A focal point draws attention to the most important element",searchTip:"Focus on what matters most \u2014 use your strongest keyword"},{id:"pattern",label:"Pattern",description:"Structured repetition radiating from a central motif",searchTip:"See a pattern? Try what worked last time"},{id:"gradient",label:"Gradient",description:"Smooth transitions between colors create flow and continuity",searchTip:"Shift gradually \u2014 adjust one keyword at a time"},{id:"closure",label:"Closure",description:"The mind fills in missing pieces to complete familiar shapes",searchTip:"Fill in the blanks \u2014 partial terms may find full results"},{id:"figure-ground",label:"Figure-Ground",description:"Perception alternates between foreground subject and background space",searchTip:"Flip your perspective \u2014 search the context, not the subject"},{id:"continuity",label:"Continuity",description:"Elements arranged on a line or curve feel naturally connected",searchTip:"Follow the thread \u2014 click related tags to continue exploring"},{id:"proportion",label:"Proportion",description:"The relative size of elements creates visual weight and harmony",searchTip:"Adjust the ratio \u2014 try broader categories with specific details"},{id:"tension",label:"Tension",description:"Opposing forces create energy and dynamic visual interest",searchTip:'Embrace contrast \u2014 pair opposite concepts like "minimal brutalist"'}
138,{id:"transparency",label:"Transparency",description:"Overlapping translucent layers reveal depth and connection",searchTip:"Layer your search \u2014 combine disciplines for richer results"},{id:"transformation",label:"Transformation",description:"A form evolves through stages while maintaining its essence",searchTip:"Evolve your query \u2014 refine step by step from broad to precise"},{id:"radial",label:"Radial",description:"Elements radiate outward from a central point creating energy",searchTip:"Start from center \u2014 search your core idea, then branch out"},{id:"texture",label:"Texture",description:"Surface quality adds tactile richness and visual detail",searchTip:"Add texture to your search \u2014 include material keywords"},{id:"framing",label:"Framing",description:"Borders and boundaries direct focus to the essential content",searchTip:"Frame it right \u2014 use filters to narrow your view"},{id:"variety",label:"Variety",description:"Diverse elements create visual interest while maintaining unity",searchTip:"Mix it up \u2014 try different keyword types together"},{id:"modularity",label:"Modularity",description:"Identical units combine into different larger configurations",searchTip:"Rearrange the pieces \u2014 swap keyword order for new results"}];getRandomPreloader(){return this.preloaders[Math.floor(Math.random()*this.preloaders.length)]}getPreloaderUrl(t){return`${this.S3_BASE}/${t}.svg`}getAllPreloaders(){return this.preloaders}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var n3={logo:{main:"/static/assets/logo/uni-logo-40x40.svg",textLogo:"/static/assets/logo/uni-text-logo-160x72.svg"}},gw={projects:{icon:"phosphorBlueprintFill",label:"Projects",route:"/projects/",external:!1},competitions:{icon:"phosphorTrophyFill",label:"Competitions",route:"/competitions/",external:!1},journals:{icon:"phosphorNewspaperFill",label:"Journals",route:"/journals/",external:!1},publications:{icon:"phosphorBookOpenFill",label:"Publications",route:"/publications/",external:!1},inspirations:{icon:"phosphorLightbulbFill",label:"Inspirations",route:"/inspirations/",external:!1},topics:{icon:"phosphorChatsCircleFill",label:"Topics",route:"/topic/",external:!1},builder:{icon:"phosphorPenNibFill",label:"Builder",route:"/builder/new-project",external:!1},organizations:{icon:"phosphorBuildingsFill",label:"Organizations",route:"/organizations/",external:!1},market:{icon:"phosphorShoppingCartFill",label:"Market",route:"/market/",external:!1},profile:{icon:"phosphorUserCircleFill",label:"Profile",route:"/profile/",external:!1},evaluation:{icon:"phosphorGavelFill",label:"Evaluation",route:"/evaluations/",external:!1},beegraphy:{icon:"phosphorGlobeFill",logoUrl:"https://uni-common-assets.s3.amazonaws.com/partner-logos/beegraphy-light.svg",logoDarkUrl:"https://uni-common-assets.s3.amazonaws.com/partner-logos/beegraphy-dark.svg",label:"Beegraphy",route:"https://beegraphy.com",external:!0}};function ta(a){return{id:a.id,label:a.label,icon:a.icon,logoUrl:a.logoUrl,logoDarkUrl:a.logoDarkUrl,route:a.route,tooltip:a.label,openInNewTab:a.external}}var dw=(()=>{class a{cdr=v(b0);renderer=v(Q0);drawerStateService=v(Et);platformId=v(N);destroyRef=v(r0);injector=v(d0);isInDrawer=!1;items=[];contextItem=null;itemClick=new B;logoUrl=n3.logo.main;isDrawerOpen=!1;sidebarPinService=v(Yl);promotedAppsService=v(ow);toastService=v(U1);themeService=v(Ol);pinRegistry=gw;isDark=!1;get promotedNavItems(){let t=new Set(this.sidebarPinService.effectivePins()),e=[];for(let o of this.promotedAppsService.promotedApps())t.has(o.app_id)||e.push({id:`promoted-${o.app_id}`,label:o.name,icon:o.icon,logoUrl:o.logo_url||void 0,logoDarkUrl:o.logo_dark_url||void 0,route:o.url,tooltip:`Try ${o.name}`,openInNewTab:o.is_external,isPromoted:!0});return e}get pinnedNavItems(){let t=[],e=new Set(bl.map(o=>o.id));for(let o of this.sidebarPinService.effectivePins()){if(e.has(o))continue;let n=aw(o);if(n){t.push(ta(n));continue}let s=this.pinRegistry[o];s&&t.push({id:`pin-${o}`,label:s.label,icon:s.icon,logoUrl:s.logoUrl,logoDarkUrl:s.logoDarkUrl,route:s.route,tooltip:s.label,openInNewTab:s.external})}return t}get shouldShowContextItem(){if(!this.contextItem?.route)return!1;let t=this.contextItem.route;return!(this.mainNavItems.some(e=>e.route===t)||this.pinnedNavItems.some(e=>e.route===t))}tooltipElement=null;mainNavItems=bl.map(ta);uniForItems=tw.map(ta);allAppsItem={id:"all-apps",label:"All apps",icon:"phosphorSquaresFourFill",route:"/explore",tooltip:"All apps"};draggedPinIndex=null;get canManagePins(){return this.sidebarPinService.canManagePins()}pinAppId(t){return t.id.startsWith("pin-")?t.id.slice(4):t.id}removePinItem(t,e){e.preventDefault(),e.stopPropagation();let o=this.pinAppId(t),n=t.label;this.sidebarPinService.removeByAppId(o),this.toastService.withAction(`Unpinned ${n}`,{label:"Undo",handler:()=>this.sidebarPinService.togglePin(o)},"info")}get canPinContext(){return this.canManagePins&&!!this.contextItem&&Ql(this.contextItem.id)&&!this.sidebarPinService.isEffectivelyPinned(this.contextItem.id)}pinContextItem(t){t.preventDefault(),t.stopPropagation(),this.contextItem&&this.sidebarPinService.toggleEffectivePin(this.contextItem.id)}allAppsClick=new B;openAppsModal(t){t.preventDefault(),t.stopPropagation(),this.allAppsClick.emit()}onPinDragStart(t,e){this.canManagePins&&(this.draggedPinIndex=t,e.dataTransfer&&(e.dataTransfer.effectAllowed="move",e.dataTransfer.setData("text/plain",String(t))))}onPinDragOver(t){this.draggedPinIndex!==null&&(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect="move"))}onPinDrop(t,e){e.preventDefault();let o=this.draggedPinIndex;if(this.draggedPinIndex=null,o===null||o===t)return;let n=this.pinnedNavItems.map(i=>this.pinAppId(i));if(o<0||o>=n.length)return;let[s]=n.splice(o,1);n.splice(t,0,s),this.sidebarPinService.reorderByAppIds(n)}onPinDragEnd(){this.draggedPinIndex=null}
138handleItemClick(t,e){let o=e;if(!(o?.button!==void 0&&o.button!==0)){if(e&&(e.preventDefault(),e.stopPropagation()),t.openInNewTab&&t.route){this.navigateToRoute(t.route,!0);return}this.itemClick.emit(t),t.route&&this.navigateToRoute(t.route)}}navigateToRoute(t,e){if(!L(this.platformId))return;let o=this.getFullUrl(t);if(e)window.open(o,"_blank","noopener,noreferrer");else{let n=window.location.pathname.replace(/\/$/,""),s=t.replace(/\/$/,"");if(n===s)return;window.location.href=o}}getFullUrl(t){if(t.startsWith("http://")||t.startsWith("https://")||!L(this.platformId))return t;let{protocol:e,hostname:o,port:n}=window.location;return`${e}//${o}${n?":"+n:""}`+t}get isHomeActive(){if(!L(this.platformId))return!1;let t=window.location.pathname.replace(/\/$/,"")||"/";return t==="/"||t==="/feed"||t.startsWith("/feed/")}isActive(t){if(!L(this.platformId))return!1;let e=s=>s.length>1?s.replace(/\/$/,""):s,o=e(window.location.pathname),n=e(t);return o===n||o.startsWith(n+"/")}navigateToHome(t){t.preventDefault(),this.navigateToRoute("/")}trackByItem(t,e){return e.id}onMouseEnter(t,e){let n=e.currentTarget.getBoundingClientRect();this.tooltipElement||(this.tooltipElement=this.renderer.createElement("div"),this.renderer.addClass(this.tooltipElement,"uni-icon-sidebar-tooltip"),this.renderer.setStyle(this.tooltipElement,"transition","opacity var(--duration-200) var(--easing-in-out), visibility var(--duration-200) var(--easing-in-out)"),this.renderer.appendChild(document.body,this.tooltipElement)),this.renderer.setProperty(this.tooltipElement,"textContent",t.tooltip),this.renderer.setStyle(this.tooltipElement,"position","fixed"),this.renderer.setStyle(this.tooltipElement,"top",`${n.top+n.height/2}px`),this.renderer.setStyle(this.tooltipElement,"left","calc(var(--size-14) + var(--size-5))"),this.renderer.setStyle(this.tooltipElement,"transform","translateY(-50%)"),this.renderer.setStyle(this.tooltipElement,"padding","var(--size-2) var(--size-3)"),this.renderer.setStyle(this.tooltipElement,"background","var(--tooltip-bg)"),this.renderer.setStyle(this.tooltipElement,"color","var(--white)"),this.renderer.setStyle(this.tooltipElement,"border-radius","var(--radius-sm)"),this.renderer.setStyle(this.tooltipElement,"font-size","var(--font-size-xs)"),this.renderer.setStyle(this.tooltipElement,"font-weight","var(--font-weight-medium)"),this.renderer.setStyle(this.tooltipElement,"white-space","nowrap"),this.renderer.setStyle(this.tooltipElement,"box-shadow","var(--shadow-md)"),this.renderer.setStyle(this.tooltipElement,"z-index","var(--z-critical-modal)"),this.renderer.setStyle(this.tooltipElement,"pointer-events","none"),this.renderer.setStyle(this.tooltipElement,"opacity","1"),this.renderer.setStyle(this.tooltipElement,"visibility","visible")}onMouseLeave(){this.tooltipElement&&(this.renderer.setStyle(this.tooltipElement,"opacity","0"),this.renderer.setStyle(this.tooltipElement,"visibility","hidden"))}ngOnInit(){this.drawerStateService.drawerOpen$.pipe(n0(this.destroyRef)).subscribe(t=>{this.isDrawerOpen=t,this.cdr.markForCheck()}),this.themeService.effectiveTheme$.pipe(n0(this.destroyRef)).subscribe(t=>{this.isDark=t==="dark",this.cdr.markForCheck()}),x1(()=>{Tl(()=>this.promotedAppsService.loadPromotedApps(),this.platformId)},{injector:this.injector})}ngOnDestroy(){this.tooltipElement&&(this.renderer.removeChild(document.body,this.tooltipElement),this.tooltipElement=null)}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["lib-icon-sidebar"]],inputs:{isInDrawer:"isInDrawer",items:"items",contextItem:"contextItem"},outputs:{itemClick:"itemClick",allAppsClick:"allAppsClick"},features:[o0([P0({phosphorMagnifyingGlassFill:Ws,phosphorTrophyFill:D2,phosphorBlueprintFill:T2,phosphorBookOpenFill:I2,phosphorNewspaperFill:F2,phosphorLightbulbFill:$8,phosphorBriefcaseFill:Ht,phosphorPaletteFill:Vt,phosphorGraduationCapFill:xt,phosphorPenNibFill:f4,phosphorBuildingsFill:j8,phosphorShoppingCartFill:W8,phosphorUserCircleFill:A4,phosphorGavelFill:w4,phosphorChatsCircleFill:g4,phosphorGlobeFill:u4,phosphorGearSixFill:Ns,phosphorWalletFill:si,phosphorShieldStarFill:ei,phosphorHouseFill:m4,phosphorSparkleFill:C4,phosphorQuestionFill:Qs,phosphorSquaresFourFill:M4,phosphorPushPinFill:Ks})])],decls:21,vars:11,consts:[["role","navigation","aria-label","Main navigation",1,"icon-sidebar"],[1,"sidebar-logo"],["role","navigation",1,"sidebar-nav"],["data-tour-id","rail-core",1,"nav-section"],["role","group","aria-label","Main navigation",1,"nav-items"],[1,"nav-item",3,"href","active"],[1,"nav-section","promoted-section"],["data-tour-id","rail-pinned",1,"nav-section","pinned-section"],[1,"nav-section","all-apps-section"],[1,"pin-divider"],["role","group","aria-label","All apps",1,"nav-items"],["data-tour-id","rail-all-apps",1,"nav-item",3,"mouseenter","mouseleave","click","href"],["size","24","aria-hidden","true",1,"nav-icon","phosphor-icon",3,"name"],[1,"nav-section","context-section"],[1,"nav-section","with-title"],["id","uni-for-title",1,"icon-sidebar-section-title"],["role","group","aria-labelledby","uni-for-title",1,"nav-items"],["href","/","data-tour-id","rail-logo","aria-label","Go to homepage",1,"logo-link",3,"click"],["alt","uni.xyz","width","40","height","40","loading","eager","decoding","async",1,"logo-img",3,"src"],[1,"nav-item",3,"mouseenter","mouseleave","click","href"],["role","group","aria-label","Promoted apps",1,"nav-items"],[1,"nav-item",3,"href"],["width","24","height","24",1,"nav-logo-icon",3,"src","alt"],["role","group","aria-label","Pinned apps",1,"nav-items"],[1,"pin-slot",3,"dragging"],[1,"pin-slot",3,"dragstart","dragover","drop","dragend"],["role","group","aria-label","Current app",1,"nav-items"],[1,"pin-slot"],["type","button","title","Pin app",1,"pin-add"],["type","button","title","Pin app",1,"pin-add",3,"click"]],template:function(e,o){e&1&&(p(0,"aside",0),u(1,i9,3,4,"div",1),p(2,"nav",2)(3,"div",3)(4,"div",4),V0(5,l9,2,6,"a",5,ul),d()(),u(7,p9,5,0,"div",6),u(8,u9,5,0,"div",7),p(9,"div",8),b(10,"div",9),p(11,"div",10)(12,"a",11),V("mouseenter",function(s){return o.onMouseEnter(o.allAppsItem,s)})("mouseleave",function(){return o.onMouseLeave()})("click",function(s){return o.openAppsModal(s)}),b(13,"ng-icon",12),d()()(),u(14,f9,7,7,"div",13),p(15,"div",14)(16,"div",15),Z(17,"UNI for"),d(),p(18,"div",16),V0(19,C9,2,6,"a",5,ul),d()()()()),e&2&&(P("in-drawer",o.isInDrawer)("drawer
138-open",o.isDrawerOpen),c(),m(o.isInDrawer?-1:1),c(4),Z0(o.mainNavItems),c(2),m(o.promotedNavItems.length>0?7:-1),c(),m(o.pinnedNavItems.length>0?8:-1),c(4),f("href",o.allAppsItem.route,Y),F("aria-label",o.allAppsItem.label),c(),f("name",o.allAppsItem.icon),c(),m(o.shouldShowContextItem?14:-1),c(5),Z0(o.uniForItems))},dependencies:[t0,O2,y0],styles:['@charset "UTF-8";.icon-sidebar[_ngcontent-%COMP%]{width:var(--size-16);height:var(--size-screen-h);background:var(--surface);border-right:var(--border-width-thin) solid var(--border);display:flex;flex-direction:column;position:fixed;left:0;top:0;z-index:var(--z-dropdown);transition:filter var(--duration-normal) var(--easing-out);contain:layout style}[data-theme=dark][_nghost-%COMP%] .icon-sidebar[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .icon-sidebar[_ngcontent-%COMP%]{background:var(--surface);border-right-color:var(--border)}.icon-sidebar.drawer-open[_ngcontent-%COMP%]{filter:var(--filter-blur-sm)}.icon-sidebar.in-drawer[_ngcontent-%COMP%]{position:relative;width:100%;height:auto;border-right:none}.icon-sidebar.in-drawer[_ngcontent-%COMP%] .sidebar-nav[_ngcontent-%COMP%]{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:var(--size-2);padding:0}.icon-sidebar.in-drawer[_ngcontent-%COMP%] .sidebar-nav[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%]{width:100%}.icon-sidebar.in-drawer[_ngcontent-%COMP%] .sidebar-nav[_ngcontent-%COMP%] .nav-section.with-title[_ngcontent-%COMP%]{margin-top:var(--size-4)}.icon-sidebar.in-drawer[_ngcontent-%COMP%] .sidebar-nav[_ngcontent-%COMP%] .nav-section.with-title[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{text-align:center;margin-bottom:var(--size-2)}.icon-sidebar.in-drawer[_ngcontent-%COMP%] .sidebar-nav[_ngcontent-%COMP%] .nav-section[_ngcontent-%COMP%] .nav-items[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--size-2)}.icon-sidebar.in-drawer[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{width:var(--size-12);height:var(--size-12);border-radius:var(--radius-xl);background:var(--bg-secondary);border:var(--border-width-thin) solid var(--border)}.icon-sidebar.in-drawer[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]:hover{background:var(--bg-tertiary)!important}.icon-sidebar.in-drawer[_ngcontent-%COMP%] .nav-item.active[_ngcontent-%COMP%]{background:var(--primary);border-color:var(--primary)}.icon-sidebar.in-drawer[_ngcontent-%COMP%] .nav-item.active[_ngcontent-%COMP%] .nav-icon[_ngcontent-%COMP%]{color:var(--text-inverse)}.sidebar-logo[_ngcontent-%COMP%]{width:100%;height:var(--size-16);padding:0;display:flex;align-items:center;justify-content:center;border-bottom:var(--border-width-thin) solid var(--border)}.sidebar-logo[_ngcontent-%COMP%] .logo-link[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;padding:var(--size-2);border-radius:var(--radius-lg);transition:background-color var(--duration-fast) var(--easing-out)}.sidebar-logo[_ngcontent-%COMP%] .logo-link.active[_ngcontent-%COMP%]{background:rgba(var(--primary-rgb),.16)}.sidebar-logo[_ngcontent-%COMP%] .logo-img[_ngcontent-%COMP%]{width:var(--size-12);height:var(--size-12);object-fit:contain;border-radius:var(--radius-lg);transition:transform var(--duration-fast) var(--easing-out),opacity var(--duration-fast) var(--easing-out)}.sidebar-nav[_ngcontent-%COMP%]{flex:1;padding:0;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden}.sidebar-nav[_ngcontent-%COMP%]::-webkit-scrollbar{width:var(--size-1)}.sidebar-nav[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.sidebar-nav[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--border);border-radius:var(--radius-sm)}.sidebar-nav[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:var(--border-strong)}.nav-section[_ngcontent-%COMP%]{margin-bottom:0}.nav-section[_ngcontent-%COMP%]:first-child{margin-top:0}.nav-section[_ngcontent-%COMP%]:last-child{margin-bottom:0}.nav-section.with-title[_ngcontent-%COMP%]{border-top:var(--border-width-thin) solid var(--border);margin-top:auto}.nav-section.with-title[_ngcontent-%COMP%] .nav-items[_ngcontent-%COMP%]{display:flex;flex-direction:column}.nav-section.context-section[_ngcontent-%COMP%] .pin-divider[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:var(--size-2) 0}.nav-section.context-section[_ngcontent-%COMP%] .pin-divider[_ngcontent-%COMP%]:before{content:"";width:var(--size-6);border-top:var(--border-width-thin) dotted var(--border)}.nav-section.pinned-section[_ngcontent-%COMP%] .pin-divider[_ngcontent-%COMP%], .nav-section.promoted-section[_ngcontent-%COMP%] .pin-divider[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:var(--size-2) 0}.nav-section.pinned-section[_ngcontent-%COMP%] .pin-divider[_ngcontent-%COMP%]:before, .nav-section.promoted-section[_ngcontent-%COMP%] .pin-divider[_ngcontent-%COMP%]:before{content:"";width:var(--size-6);border-top:var(--border-width-thin) dotted var(--border)}.icon-sidebar-section-title[_ngcontent-%COMP%]{font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);text-transform:uppercase;letter-spacing:var(--letter-spacing-wide);color:var(--text-tertiary);text-align:center;padding:var(--size-2) 0;margin:0}.nav-items[_ngcontent-%COMP%]{display:flex;flex-direction:column}.nav-item[_ngcontent-%COMP%]{width:var(--size-16);height:var(--size-16);display:flex;align-items:center;justify-content:center;position:relative;color:var(--text-primary);text-decoration:none;transition:color var(--duration-fast) var(--easing-out),background-color var(--duration-fast) var(--easing-out);cursor:pointer;overflow:visible}.nav-item[_ngcontent-%COMP%]:hover{color:var(--primary-500);background:var(--primary-dark-bg)}.nav-item[_ngcontent-%COMP%]:hover .nav-icon[_ngcontent-%COMP%]{transform:var(--transform-scale-hover);color:var(--primary-500)}[data-theme=dark][_nghost-%COMP%] .nav-item[_ngcontent-%COMP%]:hover, [data-theme=dark] [_nghost-%COMP%] .nav-item[_ngcontent-%COMP%]:hover{background:var(--primary-hover-bg-dark);color:var(--primary-400)}[data-theme=dark][_nghost-%COMP%] .nav-item[_ngcontent-%COMP%]:hover .nav-icon[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .nav-item[_ngcontent-%COMP%]:hover .nav-icon[_ngcontent-%COMP%]{color:var(--primary-400)}.nav-item.active[_ngcontent-%COMP%]{color:var(--primary-500);background:var(--primary-hover-bg)}.nav-item.active[_ngcontent-%COMP%] .nav-icon[_ngcontent-%COMP%]{color:var(--primary-500)}[data-theme=dark][_nghost-%COMP%] .nav-item.active[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .nav-item.active[_ngcontent-%COMP%]{background:var(--primary-active-bg);color:var(--primary-400)}[data-theme=dark][_nghost-%COMP%] .nav-item.active[_ngcontent-%COMP%] .nav-icon[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .nav-item.active[_ngcontent-%COMP%] .nav-icon[_ngcontent-%COMP%]{color:var(--primary-400)}.nav-item.active[_ngcontent-%COMP%]:after{content:"";position:absolute;
138left:0;top:50%;transform:translateY(-50%);width:var(--size-1-5);height:var(--size-12);background:var(--primary-500);border-radius:0 var(--size-6) var(--size-6) 0}.nav-item[_ngcontent-%COMP%]:after{content:none!important}.nav-logo-icon[_ngcontent-%COMP%]{width:var(--size-6);height:var(--size-6);object-fit:contain;border-radius:var(--radius-sm);transition:transform var(--duration-fast) var(--easing-out)}.nav-item[_ngcontent-%COMP%]:hover .nav-logo-icon[_ngcontent-%COMP%]{transform:var(--transform-scale-hover)}.nav-icon[_ngcontent-%COMP%]{transition:transform var(--duration-fast) var(--easing-out),color var(--duration-fast) var(--easing-out)}.nav-icon.phosphor-icon[_ngcontent-%COMP%]{width:var(--size-6);height:var(--size-6);color:var(--text-tertiary)}[data-theme=dark][_nghost-%COMP%] .nav-icon.phosphor-icon[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .nav-icon.phosphor-icon[_ngcontent-%COMP%]{color:var(--text-tertiary)}.nav-item[_ngcontent-%COMP%]:hover .nav-icon.phosphor-icon[_ngcontent-%COMP%]{color:var(--primary-500)}[data-theme=dark][_nghost-%COMP%] .nav-item[_ngcontent-%COMP%]:hover .nav-icon.phosphor-icon[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .nav-item[_ngcontent-%COMP%]:hover .nav-icon.phosphor-icon[_ngcontent-%COMP%]{color:var(--primary-400)}.nav-item.active[_ngcontent-%COMP%] .nav-icon.phosphor-icon[_ngcontent-%COMP%]{color:var(--primary-500)}[data-theme=dark][_nghost-%COMP%] .nav-item.active[_ngcontent-%COMP%] .nav-icon.phosphor-icon[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .nav-item.active[_ngcontent-%COMP%] .nav-icon.phosphor-icon[_ngcontent-%COMP%]{color:var(--primary-400)}@media (min-width: 1024px) and (max-width: 1279.98px){.icon-sidebar[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;right:-8px;width:8px;height:100%;pointer-events:auto}}@media (max-width: 767.98px){.icon-sidebar[_ngcontent-%COMP%]{display:none!important}}.pinned-section[_ngcontent-%COMP%] .nav-items[_ngcontent-%COMP%], .context-section[_ngcontent-%COMP%] .nav-items[_ngcontent-%COMP%]{overflow:visible}.pinned-section[_ngcontent-%COMP%] .pin-slot[_ngcontent-%COMP%], .context-section[_ngcontent-%COMP%] .pin-slot[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center}.pinned-section[_ngcontent-%COMP%] .pin-slot[draggable=true][_ngcontent-%COMP%], .context-section[_ngcontent-%COMP%] .pin-slot[draggable=true][_ngcontent-%COMP%]{cursor:grab}.pinned-section[_ngcontent-%COMP%] .pin-slot.dragging[_ngcontent-%COMP%], .context-section[_ngcontent-%COMP%] .pin-slot.dragging[_ngcontent-%COMP%]{opacity:.4}.pinned-section[_ngcontent-%COMP%] .pin-add[_ngcontent-%COMP%], .context-section[_ngcontent-%COMP%] .pin-add[_ngcontent-%COMP%]{position:absolute;top:-2px;right:2px;width:var(--size-4);height:var(--size-4);padding:0;border:none;border-radius:var(--radius-full);color:var(--white, #fff);font-size:var(--font-size-sm);line-height:1;display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.8);transition:opacity var(--duration-150, .15s) ease,transform var(--duration-150, .15s) ease;box-shadow:var(--shadow-sm);z-index:3;background:var(--primary-500);cursor:pointer}.pinned-section[_ngcontent-%COMP%] .pin-slot[_ngcontent-%COMP%]:hover .pin-add[_ngcontent-%COMP%], .pinned-section[_ngcontent-%COMP%] .pin-add[_ngcontent-%COMP%]:focus-visible, .context-section[_ngcontent-%COMP%] .pin-slot[_ngcontent-%COMP%]:hover .pin-add[_ngcontent-%COMP%], .context-section[_ngcontent-%COMP%] .pin-add[_ngcontent-%COMP%]:focus-visible{opacity:1;transform:scale(1)}.apps-modal__heading[_ngcontent-%COMP%]{margin:var(--size-5) 0 var(--size-3);font-family:var(--font-family-monospace, monospace);font-size:var(--font-size-xs);text-transform:uppercase;letter-spacing:.08em;color:var(--text-tertiary);font-weight:600}.apps-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--size-25),1fr));gap:var(--size-3)}.app-card[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;align-items:center;gap:var(--size-2);padding:var(--size-4) var(--size-3);border:var(--border-width-thin) solid var(--border);border-radius:var(--radius-lg);background:var(--bg-secondary);cursor:pointer;transition:border-color .15s ease,background .15s ease}.app-card[_ngcontent-%COMP%]:hover{border-color:var(--primary-500)}.app-card__icon[_ngcontent-%COMP%]{display:flex;font-size:var(--size-7);color:var(--text-primary)}.app-card__label[_ngcontent-%COMP%]{font-size:var(--font-size-sm);color:var(--text-primary);text-align:center;line-height:1.2}.app-card__pin[_ngcontent-%COMP%]{position:absolute;top:var(--size-2);right:var(--size-2);width:var(--size-6);height:var(--size-6);border:none;border-radius:var(--radius-full);background:transparent;color:var(--text-tertiary);display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:.45;transition:opacity .15s ease,color .15s ease}.app-card__pin[_ngcontent-%COMP%]:hover{opacity:1}.app-card__pin.pinned[_ngcontent-%COMP%]{color:var(--primary-500);opacity:1}'],changeDetection:0})}return a})(),ww=(()=>{class a{actions=[];actionClick=new B;get mappedItems(){return this.actions.map(t=>({id:t.id,label:t.label,icon:t.icon}))}onMenuItemClick(t){let e=this.actions.find(o=>o.id===t.id);e&&this.actionClick.emit(e)}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["lib-sidebar-action-menu"]],inputs:{actions:"actions"},outputs:{actionClick:"actionClick"},decls:1,vars:2,consts:[["size","small","iconSize","16","triggerVariant","ghost","dropdownAlign","right",3,"itemClick","items","triggerSquare"]],template:function(e,o){e&1&&(p(0,"uni-action-menu",0),V("itemClick",function(s){return o.onMenuItemClick(s)}),d()),e&2&&f("items",o.mappedItems)("triggerSquare",!0)},dependencies:[iw],encapsulation:2,changeDetection:0})}return a})(),uw={project:"projects",journal:"journals",blog:"journals",publication:"publications",competition:"competitions",inspiration:"inspirations",topic:"topics",topics:"topics","all-topics":"topics",discourse:"feed",discu
138ssions:"feed",organization:"organizations",profiles:"profile",people:"profile",user:"profile",evaluations:"evaluation",jury:"evaluation",course:"courses",home:"feed"},mw=Rt.reduce((a,r)=>R(H({},a),{[r.id]:r.icon}),{}),fw={profiles:"phosphorUsersThreeFill"},Bl=H(H({},mw),fw);function Cw(a,r=""){let t=(a||"").toLowerCase();return Bl[t]||Bl[uw[t]]||r}var Mw={phosphorHouseFill:m4,phosphorTrophyFill:D2,phosphorBlueprintFill:T2,phosphorNewspaperFill:F2,phosphorBookOpenFill:I2,phosphorLightbulbFill:$8,phosphorChatsCircleFill:g4,phosphorBuildingsFill:j8,phosphorShoppingCartFill:W8,phosphorUserCircleFill:A4,phosphorUsersThreeFill:ni,phosphorGavelFill:w4,phosphorPenNibFill:f4,phosphorGraduationCapFill:xt,phosphorSparkleFill:C4,phosphorShieldCheckFill:ti,phosphorGlobeFill:u4,phosphorBriefcaseFill:Ht,phosphorPaletteFill:Vt,phosphorSquaresFourFill:M4};var Aw=[400,800,1200,1600],s3=(()=>{class a{static DEFAULT_ASPECT_RATIO="16 / 9";elementRef=v(g0);platformId=v(N);highQualityUrl=null;lowQualityUrl=null;originalUrl="";alt="";aspectRatio=null;showSkeleton=!0;lazy=!1;fallbackText="";fallbackImageUrl="";lazyRootMargin="200px";disableBlur=!1;transitionDelay=300;objectFit="cover";galleryMode=!1;fetchpriority=null;sizes=null;width=null;height=null;get effectiveAspectRatio(){return this.galleryMode||this.aspectRatio==="auto"?"auto":this.aspectRatio?this.aspectRatio:a.DEFAULT_ASPECT_RATIO}get useNaturalHeight(){return this.effectiveAspectRatio==="auto"}lowQualityLoaded=I(!1);highQualityLoaded=I(!1);fallbackImageLoaded=I(!1);hasError=I(!1);isInViewport=I(!1);triedOriginalFallback=!1;destroyRef=v(r0);scheduler=v(L0);intersectionObserver;ngOnInit(){if(!L(this.platformId)){if(this.lazy){this.lowQualityUrl&&this.lowQualityLoaded.set(!0);return}this.isInViewport.set(!0),this.lowQualityUrl&&this.lowQualityLoaded.set(!0),this.highQualityUrl&&this.highQualityLoaded.set(!0);return}this.lazy?this.setupLazyLoading():(this.isInViewport.set(!0),this.scheduler.setTimeout(()=>{!this.lowQualityLoaded()&&this.lowQualityUrl&&this.lowQualityLoaded.set(!0)},100))}ngOnDestroy(){this.intersectionObserver&&this.intersectionObserver.disconnect(),this.highQualityUrl=null,this.lowQualityUrl=null}setupLazyLoading(){if(!L(this.platformId)||typeof IntersectionObserver>"u"){this.isInViewport.set(!0);return}let t=this.validateRootMargin(this.lazyRootMargin);this.intersectionObserver=new IntersectionObserver(e=>{e.forEach(o=>{o.isIntersecting&&!this.isInViewport()&&(this.isInViewport.set(!0),this.intersectionObserver?.disconnect())})},{rootMargin:t}),this.intersectionObserver.observe(this.elementRef.nativeElement)}validateRootMargin(t){if(!t)return"200px";let e=t.trim();return/^\d+px$/.test(e)||/^\d+%$/.test(e)?e:/^\d+$/.test(e)?`${e}px`:(console.warn(`Invalid lazyRootMargin value: "${t}". Using default "200px".`),"200px")}highQualitySrcset(){if(!this.highQualityUrl)return null;let t=sd(this.highQualityUrl),e=Aw.filter(s=>t===null||s<t),n=(t!==null?[...e,t]:e).map(s=>{let i=id(this.highQualityUrl,s);return i?`${i} ${s}w`:null}).filter(s=>s!==null);return n.length>0?n.join(", "):null}onLowQualityLoad(){this.lowQualityLoaded.set(!0),this.hasError.set(!1)}onHighQualityLoad(){this.highQualityLoaded.set(!0),this.hasError.set(!1)}onHighQualityError(){if(this.originalUrl&&!this.triedOriginalFallback&&this.originalUrl!==this.highQualityUrl){this.triedOriginalFallback=!0,this.highQualityUrl=this.originalUrl;return}this.lowQualityLoaded()||this.hasError.set(!0)}onFallbackImageLoad(){this.fallbackImageLoaded.set(!0),this.hasError.set(!1)}onFallbackImageError(){this.fallbackImageLoaded.set(!1)}getErrorText(){return this.fallbackText?this.fallbackText:this.alt&&this.alt.trim()?this.alt.length>20?this.alt.substring(0,20)+"...":this.alt:"Image unavailable"}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-progressive-image"]],inputs:{highQualityUrl:"highQualityUrl",lowQualityUrl:"lowQualityUrl",originalUrl:"originalUrl",alt:"alt",aspectRatio:"aspectRatio",showSkeleton:"showSkeleton",lazy:"lazy",fallbackText:"fallbackText",fallbackImageUrl:"fallbackImageUrl",lazyRootMargin:"lazyRootMargin",disableBlur:"disableBlur",transitionDelay:"transitionDelay",objectFit:"objectFit",galleryMode:"galleryMode",fetchpriority:"fetchpriority",sizes:"sizes",width:"width",height:"height"},features:[o0([L0])],decls:6,vars:11,consts:[["lowQualityImg",""],["highQualityImg",""],[1,"uni-progressive-image-container"],[1,"uni-progressive-image","low-quality",3,"src","alt","loaded","no-blur","fade-out","object-fit"],[1,"uni-progressive-image","high-quality",3,"src","alt","loaded","fade-in","object-fit"],[1,"image-skeleton"],[1,"uni-progressive-image","fallback-image",3,"src","alt"],[1,"image-error"],[1,"uni-progressive-image","low-quality",3,"load","src","alt"],[1,"uni-progressive-image","high-quality",3,"load","error","src","alt"],[1,"skeleton-shimmer"],[1,"uni-progressive-image","fallback-image",3,"load","error","src","alt"],[1,"error-content"],[1,"error-icon"],[1,"error-text"]],template:function(e,o){e&1&&(p(0,"div",2),u(1,M9,2,14,"img",3),u(2,A9,2,14,"img",4),u(3,H9,2,0,"div",5),u(4,x9,1,4,"img",6),u(5,V9,6,1,"div",7),d()),e&2&&(v1("aspect-ratio",o.effectiveAspectRatio),P("natural-height",o.useNaturalHeight)("gallery-mode",o.galleryMode),c(),m(o.lowQualityUrl?1:-1),c(),m((!o.lazy||o.isInViewport())&&o.highQualityUrl?2:-1),c(),m(!o.lowQualityLoaded()&&!o.highQualityLoaded()&&o.showSkeleton&&!o.galleryMode?3:-1),c(),m(o.hasError()&&!o.lowQualityLoaded()&&!o.highQualityLoaded()&&o.fallbackImageUrl?4:-1),c(),m(o.hasError()&&!o.lowQualityLoaded()&&!o.highQualityLoaded()&&!o.fallbackImageUrl&&!o.fallbackImageLoaded()?5:-1))},dependencies:[t0],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;overflow:hidden}.uni-progressive-image-container[_ngcontent-%COMP%]{position:relative;overflow:hidden;background:var(--bg-secondary);width:100%;height:100%;min-height:inherit;border-radius:inherit}.uni-progressive-image-container.natural-height[_ngcontent-%COMP%]{height:auto;min-height:unset}.uni-progressive-image[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:var(--opacity-0);transition:opacity var(--duration-normal) var(--easing-in-out);border-radius:inherit}.uni-progressive-image.loaded[_ngcontent-%COMP%]{opacity:var(--opacity-100)}.uni-progressive-image.low-quality[_ngcontent-%COMP%]{filter:var(--backdrop-blur-sm);transform:var(--transform-scale-up-sm);z-index:var(--z-0);transition:opacity var(--duration-slow) var(--easing-out)}.uni-progressive-image.low-quality.no-blur[_ngcontent-%COMP%]{filter:none;transform:var(--transform-none)}.gallery-mode[_ngcontent-%COMP%] .uni-progressive-image.low-quality[_ngcontent-%COMP%]{transform:translate(-50%,-50%) scale(var(--scale-102))!important;transition:opacity var(--duration-600) var(--easing-out)!important}.gallery-mode[_ngcontent-%COMP%] .uni-progressive-image.low-quality.no-blur[_ngcontent-%COMP%]{filter:none;transform:translate(-50%,-50%)!important}.uni-progressive-image.low-quality.fade-out[_ngcontent-%COMP%]{opacity:var(--opacity-0)!important;transition:opacity var(--duration-600) var(--easing-out)!important}.uni-progressive-image.high-quality[_ngcontent-%COMP%]{z-index:var(--z-10);transition:opacity var(--duration-600) var(--easing-in)}.uni-progressive-image.high-quality.fade-in[_ngcontent-%COMP%]{opacity:var(--opacity-100);will-change:opacity;animation:_ngcontent-%COMP%_fade-complete var(--duration-600) var(--easing-in-out)}.gallery-mode[_ngcontent-%COMP%] .uni-progressive-image.high-quality[_ngcontent-%COMP%]{transition:opacity var(--duration-600) var(--easing-in)!important}.uni-progressive-image-container.natural-height[_ngcontent-%COMP%]{background:transparent;width:100%}.uni-progressive-image-container.natural-height[_ngcontent-%COMP%] .uni-progressive-image[_ngcontent-%COMP%]{position:relative;top:unset;left:unset;height:auto;width:100%!important;max-width:100%!important;display:block}.uni-progressive-image-container.natural-height[_ngcontent-%COMP%] .uni-progressive-image.low-quality.fade-out[_ngcontent-%COMP%]{display:none}.uni-progressive-image-container.natural-height[_ngcontent-%COMP%] .image-skeleton[_ngcontent-%COMP%], .uni-progressive-image-container.natural-height[_ngcontent-%COMP%] .image-error[_ngcontent-%COMP%]{position:relative;height:var(--size-50)}.uni-progressive-image-container.gallery-mode[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:transparent;position:relative}.uni-progressive-image-container.gallery-mode[_ngcontent-%COMP%] .uni-progressive-image[_ngcontent-%COMP%]{position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}.uni-progressive-image-container.gallery-mode[_ngcontent-%COMP%] .uni-progressive-image.low-quality[_ngcontent-%COMP%]{position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%) scale(var(--scale-102))!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}.uni-progressive-image-container.gallery-mode[_ngcontent-%COMP%] .uni-progressive-image.high-quality[_ngcontent-%COMP%]{position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}.image-skeleton[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to right,var(--neutral-200) 0%,var(--neutral-300) 20%,var(--neutral-200) 40%,var(--neutral-200) 100%);z-index:var(--z-base);border-radius:inherit}.image-skeleton[_ngcontent-%COMP%] .skeleton-shimmer[_ngcontent-%COMP%]{position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent 0%,rgba(var(--white-rgb),var(--opacity-40)) 50%,transparent 100%);animation:_ngcontent-%COMP%_shimmer var(--duration-slow) infinite}.image-error[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--bg-tertiary);color:var(--text-tertiary);z-index:var(--z-10);border-radius:inherit}.image-error[_ngcontent-%COMP%] .error-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:var(--spacing-md);max-width:90%}.image-error[_ngcontent-%COMP%] .error-content[_ngcontent-%COMP%] .error-icon[_ngcontent-%COMP%]{font-size:clamp(var(--font-size-2xl),4vw,var(--font-size-4xl));margin-bottom:var(--spacing-xs);opacity:var(--opacity-60);line-height:var(--line-height-none)}.image-error[_ngcontent-%COMP%] .error-content[_ngcontent-%COMP%] .error-text[_ngcontent-%COMP%]{font-size:clamp(var(--font-size-xs),2vw,var(--font-size-sm));opacity:var(--opacity-75);font-weight:var(--font-weight-medium);line-height:var(--line-height-tight);word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.image-error[_ngcontent-%COMP%]:has(.error-content){min-height:var(--size-15)}@container (max-width: var(--size-20)){.image-error[_ngcontent-%COMP%] .error-content[_ngcontent-%COMP%]{padding:var(--spacing-xs)}.image-error[_ngcontent-%COMP%] .error-content[_ngcontent-%COMP%] .error-icon[_ngcontent-%COMP%]{font-size:var(--font-size-xl);margin-bottom:var(--size-1)}.image-error[_ngcontent-%COMP%] .error-content[_ngcontent-%COMP%] .error-text[_ngcontent-%COMP%]{font-size:var(--font-size-xs);line-height:var(--line-height-tight)}}@container (max-width: var(--size-37-5)){.image-error[_ngcontent-%COMP%] .error-content[_ngcontent-%COMP%] .error-text[_ngcontent-%COMP%]{font-size:var(--font-size-xs)}}@keyframes _ngcontent-%COMP%_shimmer{0%{left:-100%}to{left:100%}}@keyframes _ngcontent-%COMP%_fade-complete{99%{will-change:opacity}to{will-change:auto}}@media (prefers-reduced-motion: reduce){.uni-progressive-image[_ngcontent-%COMP%]{transition:none}.skeleton-shimmer[_ngcontent-%COMP%]{animation:none}}"],changeDetection:0})}return a})(),Hw=(()=>{class a{sections=[];showFeedLink=!0;collapsed=!1;feedItem={id:"feed-home",label:"Back to Feed",icon:"matHome",route:"/",crossApp:!0};iconFor(t){return Cw(t?.id||"",t?.icon||"")}isInDrawer=!1;showHeader=!0;showCollapseToggle=!0;allowCollapse=!0;headerTitle="Menu";headerIcon="matDashboard";headerImage=null;headerImageLowQuality=null;headerImageTitle=null;headerImageSubtitle=null;showHeaderImageButtons=!1;showHeaderImageRegisterButton=!0;showHeaderImageSubmitButton=!0;showHeaderImageViewResultsButton=!1;showHeaderImageVoteButton=!1;headerImageRegisterButtonText="Register";headerImageSubmitButtonText="Submit";headerImageViewResultsButtonText="View Results";headerImageVoteButtonText="Vote Now";headerImageRegisterInfoText=null;headerImageRegisterSubtext=null;headerImageRegisterButtonVariant="solid";headerImageRegisterButtonColor="primary";headerImageSubmitButtonVariant="outline";headerImageSubmitButtonColor="secondary";membershipLink="/about/designers/membership";headerImageViewResultsInfoText=null;headerImageViewResultsLinkText=null;headerImageViewResultsLinkUrl=null;headerImageVoteInfoText=null;headerImageVoteLinkText=null;headerImageVoteLinkUrl=null;headerImageVoteButtonVariant="solid";headerImageVoteButtonColor="primary";showHeaderImageEvaluateButton=!1;headerImageEvaluateButtonText="Evaluate Entries";itemClick=new B;toggleCollapse=new B;headerImageRegisterClick=new B;headerImageSubmitClick=new B;headerImageViewResultsClick=new B;headerImageVoteClick=new B;headerImageEvaluateClick=new B;disabledItemClick=new B;sidebarNav;activeMenuId=null;isScrolled=!1;isDrawerOpen=!1;destroyRef=v(r0);toastService=v(U1);cdr=v(b0);drawerStateService=v(Et);boundScrollHandler=this.onSidebarScroll.bind(this);get onlyViewResultsButton(){return this.showHeaderImageButtons&&(this.showHeaderImageViewResultsButton||this.showHeaderImageVoteButton)&&!this.showHeaderImageRegisterButton&&!this.showHeaderImageSubmitButton}get noHeaderButtons(){return!this.showHeaderImageButtons||!this.showHeaderImageRegisterButton&&!this.showHeaderImageSubmitButton&&!this.showHeaderImageViewResultsButton&&!this.showHeaderImageVoteButton}constructor(){}ngOnChanges(t){t.sections&&this.updateCrossAppActiveStates()}updateCrossAppActiveStates(){if(typeof window>"u")return;let t=window.location.pathname;for(let e of this.sections)for(let o of e.items)if(o.crossApp&&o.route&&o.isActive===void 0){let n=o.route.replace(/\/$/,""),s=t.replace(/\/$/,"");o.exactMatch?o.isActive=s===n:o.isActive=t.startsWith(o.route)||s===n}}
138handleItemClick(t,e){if(e){if(e.stopPropagation(),t.disabled){e.preventDefault(),t.disabledMessage&&this.toastService.info(t.disabledMessage),this.disabledItemClick.emit(t);return}if(t.external&&t.route)return;if(t.route&&t.route.startsWith("#")&&e.preventDefault(),t.crossApp&&t.route){e.preventDefault(),window.location.href=t.route;return}}if(t.children&&t.children.length>0){t.expanded=!t.expanded;return}this.itemClick.emit(t)}handleActionClick(t,e){e&&(e.stopPropagation(),e.preventDefault()),this.activeMenuId=null,t.onClick()}toggleActionMenu(t,e){e.stopPropagation(),e.preventDefault(),this.activeMenuId=this.activeMenuId===t?null:t}toggleSidebar(){this.allowCollapse&&(this.collapsed=!this.collapsed,this.toggleCollapse.emit(this.collapsed))}trackBySection=(t,e)=>e.title||`section-${t}`;trackByItem=(t,e)=>e.id;trackByAction=(t,e)=>e.id;onDocumentClick(t){this.activeMenuId&&(this.activeMenuId=null)}ngAfterViewInit(){this.sidebarNav&&this.sidebarNav.nativeElement.addEventListener("scroll",this.boundScrollHandler),this.drawerStateService.drawerOpen$.pipe(n0(this.destroyRef)).subscribe(t=>{this.isDrawerOpen=t,this.cdr.markForCheck()})}ngOnDestroy(){this.sidebarNav&&this.sidebarNav.nativeElement.removeEventListener("scroll",this.boundScrollHandler)}onSidebarScroll(){let e=this.sidebarNav.nativeElement.scrollTop>5;this.isScrolled!==e&&(this.isScrolled=e,this.cdr.markForCheck())}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["lib-sidebar-menu"]],viewQuery:function(e,o){if(e&1&&J0(Z9,5),e&2){let n;F0(n=D0())&&(o.sidebarNav=n.first)}},hostAttrs:[1,"lib-sidebar-menu"],hostBindings:function(e,o){e&1&&V("click",function(s){return o.onDocumentClick(s)},K1)},inputs:{sections:"sections",showFeedLink:"showFeedLink",collapsed:"collapsed",feedItem:"feedItem",isInDrawer:"isInDrawer",showHeader:"showHeader",showCollapseToggle:"showCollapseToggle",allowCollapse:"allowCollapse",headerTitle:"headerTitle",headerIcon:"headerIcon",headerImage:"headerImage",headerImageLowQuality:"headerImageLowQuality",headerImageTitle:"headerImageTitle",headerImageSubtitle:"headerImageSubtitle",showHeaderImageButtons:"showHeaderImageButtons",showHeaderImageRegisterButton:"showHeaderImageRegisterButton",showHeaderImageSubmitButton:"showHeaderImageSubmitButton",showHeaderImageViewResultsButton:"showHeaderImageViewResultsButton",showHeaderImageVoteButton:"showHeaderImageVoteButton",headerImageRegisterButtonText:"headerImageRegisterButtonText",headerImageSubmitButtonText:"headerImageSubmitButtonText",headerImageViewResultsButtonText:"headerImageViewResultsButtonText",headerImageVoteButtonText:"headerImageVoteButtonText",headerImageRegisterInfoText:"headerImageRegisterInfoText",headerImageRegisterSubtext:"headerImageRegisterSubtext",headerImageRegisterButtonVariant:"headerImageRegisterButtonVariant",headerImageRegisterButtonColor:"headerImageRegisterButtonColor",headerImageSubmitButtonVariant:"headerImageSubmitButtonVariant",headerImageSubmitButtonColor:"headerImageSubmitButtonColor",membershipLink:"membershipLink",headerImageViewResultsInfoText:"headerImageViewResultsInfoText",headerImageViewResultsLinkText:"headerImageViewResultsLinkText",headerImageViewResultsLinkUrl:"headerImageViewResultsLinkUrl",headerImageVoteInfoText:"headerImageVoteInfoText",headerImageVoteLinkText:"headerImageVoteLinkText",headerImageVoteLinkUrl:"headerImageVoteLinkUrl",headerImageVoteButtonVariant:"headerImageVoteButtonVariant",headerImageVoteButtonColor:"headerImageVoteButtonColor",showHeaderImageEvaluateButton:"showHeaderImageEvaluateButton",headerImageEvaluateButtonText:"headerImageEvaluateButtonText"},outputs:{itemClick:"itemClick",toggleCollapse:"toggleCollapse",headerImageRegisterClick:"headerImageRegisterClick",headerImageSubmitClick:"headerImageSubmitClick",headerImageViewResultsClick:"headerImageViewResultsClick",headerImageVoteClick:"headerImageVoteClick",headerImageEvaluateClick:"headerImageEvaluateClick",disabledItemClick:"disabledItemClick"},features:[o0([P0(R(H({},Mw),{matHome:as,matArrowBack:Hn,matDashboard:Un,matFolder:n4,matPerson:ws,matSettings:v4,matNotifications:c4,matAnalytics:Mn,matHelp:ts,matLogout:ls,matChevronRight:Fn,matExpandMore:r4,matExpandLess:qn,matOpenInNew:ps,matDelete:e4,matEdit:a4,matMoreVert:N8,matSecurity:Ms,matCardMembership:On,matBook:J6,matLibraryBooks:l4,matBookmark:t4,matEmojiPeople:Wn,matEmojiEvents:o4,matAccountBalance:fn,matAssessment:Vn,matArticle:xn,matWork:Ss,matGavel:s4,matPublic:ms,phosphorCrown:D6,phosphorPalette:K6,phosphorBriefcase:I6,phosphorGraduationCap:j6,phosphorBlueprintFill:T2,phosphorNewsp
138aperFill:F2,phosphorBookOpenFill:I2,phosphorTrophyFill:D2,phosphorBellFill:p4}))]),M0],decls:9,vars:16,consts:[["sidebarNav",""],["feedLinkTpl",""],[1,"sidebar-menu"],[1,"sidebar-header",3,"scrolled"],[1,"sidebar-nav"],[1,"menu-section"],[1,"sidebar-header"],[1,"header-content"],[1,"sidebar-header-content"],[1,"header-title"],["aria-label","Toggle sidebar",1,"collapse-toggle"],["aria-label","Toggle sidebar",1,"collapse-toggle",3,"click"],["size","20",3,"name"],[1,"sidebar-header-image-container"],[1,"header-image-text"],[1,"header-image-title"],[1,"header-image-subtitle"],[1,"header-divider"],[1,"header-image-buttons"],[3,"highQualityUrl","lowQualityUrl","alt","showSkeleton","lazy","aspectRatio","objectFit"],[1,"button-with-info"],["size","md",3,"variant","color","fullWidth"],["variant","solid","color","primary","size","md",3,"fullWidth"],["size","md",3,"click","variant","color","fullWidth"],[1,"button-info-text"],[1,"info-text"],[1,"subtext"],["target","_blank","rel","noopener noreferrer",1,"membership-link",3,"href"],["variant","solid","color","primary","size","md",3,"click","fullWidth"],[1,"button-info-text","above"],[1,"section-title"],[1,"menu-list"],[1,"menu-item",3,"active","has-children","has-actions","expanded","disabled"],[1,"menu-item"],["target","_blank","rel","noopener noreferrer",1,"menu-link",3,"href","has-actions"],["routerLinkActive","active",1,"menu-link",3,"routerLink","routerLinkActiveOptions","has-actions"],[1,"menu-link",3,"href","has-actions"],[1,"menu-link","menu-button",3,"has-actions"],[1,"action-menu-wrapper"],[1,"menu-tooltip"],[1,"submenu-list"],["target","_blank","rel","noopener noreferrer",1,"menu-link",3,"click","href"],["loading","lazy",1,"menu-thumbnail",3,"src","alt"],["size","20",1,"menu-icon",3,"name"],[1,"menu-label"],[1,"menu-badge"],["size","16",1,"external-icon",3,"name"],["size","18",1,"expand-icon",3,"name"],["routerLinkActive","active",1,"menu-link",3,"click","routerLink","routerLinkActiveOptions"],[1,"menu-link",3,"click","href"],[1,"menu-link","menu-button",3,"click"],[3,"actionClick","actions"],[1,"submenu-item",3,"active","has-actions"],[1,"submenu-item"],["routerLinkActive","active",1,"submenu-link",3,"routerLink","has-actions"],[1,"submenu-link",3,"href","has-actions","target","rel"],[1,"submenu-link","submenu-button",3,"has-actions"],["routerLinkActive","active",1,"submenu-link",3,"click","routerLink"],["size","16",1,"submenu-icon",3,"name"],[1,"submenu-indicator"],[1,"submenu-label"],[1,"submenu-link",3,"click","href","target","rel"],[1,"submenu-link","submenu-button",3,"click"],["loading","lazy",1,"submenu-thumbnail",3,"src","alt"],["role","separator","aria-hidden","true",1,"menu-divider"],[4,"ngTemplateOutlet"],[1,"menu-section","feed-link-section"],[1,"menu-link","back-to-feed",3,"click","href"],["name","matArrowBack","size","20",1,"menu-icon"]],template:function(e,o){e&1&&(p(0,"aside",2),u(1,K9,3,4,"div",3),p(2,"nav",4,0),V0(4,qv,5,2,"div",5,L9),u(6,Yv,2,2),d()(),u0(7,Jv,6,3,"ng-template",null,1,Ee)),e&2&&(P("collapsed",o.collapsed)("drawer-open",o.isDrawerOpen)("in-drawer",o.isInDrawer)("has-header-content",o.headerImageTitle||o.headerImageSubtitle||o.showHeaderImageButtons)("has-header-image",o.headerImage||o.headerImageLowQuality)("only-view-results",o.onlyViewResultsButton)("no-header-buttons",o.noHeaderButtons),c(),m(o.showHeader||o.headerImageTitle||o.headerImageSubtitle||o.showHeaderImageButtons?1:-1),c(3),Z0(o.sections),c(2),m(o.showFeedLink?6:-1))},dependencies:[t0,Re,O2,s2,y6,y0,ww,ca,s3],encapsulation:2,changeDetection:0})}return a})(),i3=(()=>{class a{platformId=v(N);imageUrl=null;alt="";initial="U";showInitial=!0;showSkeleton=!0;size=40;user;avatarShape="circle";fluidSize=!1;priority=t8(!1);lowQualityUrl=null;highQualityUrl=null;defaultAvatarUrl=null;lowQualityLoaded=!1;highQualityLoaded=!1;defaultAvatarLoaded=!1;hasError=!1;imageErrored=!1;get imageLoaded(){return this.defaultAvatarUrl&&(this.defaultAvatarUrl.includes("uni-common-assets.s3.amazonaws.com/architect-avatars/")||this.defaultAvatarUrl.endsWith(".svg"))?!0:!!(this.lowQualityUrl||this.highQualityUrl||this.defaultAvatarUrl)||this.lowQualityLoaded||this.highQualityLoaded||this.defaultAvatarLoaded}get hasValidImage(){if(this.imageErrored)return!1;if(this.user){let t=this.userDefaultImageService.getAvatarUrl(this.user,this.avatarShape);return!!(t&&!t.endsWith(".svg")&&this.isValidImageUrl(t))}return!!(this.imageUrl&&this.isValidImageUrl(this.imageUrl))}elementRef=v(g0);userDefaultImageService=v(zd);cdr=v(b0);
138scheduler=v(L0);destroyRef=v(r0);isDestroyed=!1;constructor(){this.destroyRef.onDestroy(()=>{this.isDestroyed=!0})}ngOnInit(){this.fluidSize?(this.elementRef.nativeElement.style.removeProperty("--avatar-size"),this.elementRef.nativeElement.style.setProperty("width","100%"),this.elementRef.nativeElement.style.setProperty("height","auto"),this.elementRef.nativeElement.style.setProperty("aspect-ratio","1"),this.elementRef.nativeElement.classList.add("fluid")):this.elementRef.nativeElement.style.setProperty("--avatar-size",`${this.size}px`),this.initializeImage(),L(this.platformId)||(this.lowQualityUrl&&(this.lowQualityLoaded=!0),this.highQualityUrl&&(this.highQualityLoaded=!0),this.defaultAvatarUrl&&(this.defaultAvatarLoaded=!0))}ngOnChanges(t){(t.size||t.fluidSize)&&(this.fluidSize?(this.elementRef.nativeElement.style.removeProperty("--avatar-size"),this.elementRef.nativeElement.style.setProperty("width","100%"),this.elementRef.nativeElement.style.setProperty("height","auto"),this.elementRef.nativeElement.style.setProperty("aspect-ratio","1"),this.elementRef.nativeElement.classList.add("fluid")):(this.elementRef.nativeElement.style.removeProperty("width"),this.elementRef.nativeElement.style.removeProperty("height"),this.elementRef.nativeElement.style.removeProperty("aspect-ratio"),this.elementRef.nativeElement.style.setProperty("--avatar-size",`${this.size}px`),this.elementRef.nativeElement.classList.remove("fluid"))),(t.imageUrl||t.user)&&(this.resetImageState(),this.initializeImage())}resetImageState(){this.lowQualityUrl=null,this.highQualityUrl=null,this.defaultAvatarUrl=null,this.lowQualityLoaded=!1,this.highQualityLoaded=!1,this.defaultAvatarLoaded=!1,this.hasError=!1,this.imageErrored=!1}initializeImage(){let t=this.imageUrl;if(this.user&&(t=this.userDefaultImageService.getAvatarUrl(this.user,this.avatarShape)),t&&this.isValidImageUrl(t)){if(t.endsWith(".svg")){this.defaultAvatarUrl=t;return}let e=cd(t,this.size);if(e.lowQuality===e.original&&e.highQuality===e.original){this.defaultAvatarUrl=t;return}if(this.lowQualityUrl=e.lowQuality,this.highQualityUrl=e.highQuality,this.lowQualityUrl&&L(this.platformId)){let o=new Image,n;o.onload=()=>{n&&this.scheduler.clear(n)},o.onerror=()=>{n&&this.scheduler.clear(n),this.handleImageLoadFailure()},n=this.scheduler.setTimeout(()=>{this.handleImageLoadFailure()},3e3),o.src=this.lowQualityUrl}}else this.user?this.defaultAvatarUrl=this.userDefaultImageService.getDefaultAvatarForUser(this.user,this.avatarShape):this.hasError=!0}isValidImageUrl(t){return!!t&&!Wl(t)}onLowQualityLoad(){this.lowQualityLoaded=!0,this.hasError=!1,this.cdr.detectChanges()}onLowQualityError(){}onHighQualityLoad(){this.highQualityLoaded=!0,this.hasError=!1,this.cdr.detectChanges(),this.scheduler.setTimeout(()=>{this.lowQualityLoaded=!1,this.cdr.detectChanges()},300)}onHighQualityError(){this.lowQualityLoaded||(this.highQualityUrl=null,this.lowQualityUrl=null,this.highQualityLoaded=!1,this.lowQualityLoaded=!1,this.imageErrored=!0,this.hasError=!0,this.user&&(this.defaultAvatarUrl=this.userDefaultImageService.getDefaultAvatarForUser(this.user,this.avatarShape)),this.cdr.detectChanges())}onDefaultAvatarLoad(){this.defaultAvatarLoaded=!0,this.cdr.detectChanges()}onDefaultAvatarError(){let t=!!this.defaultAvatarUrl&&this.defaultAvatarUrl.includes("architect-avatars/");this.imageErrored=!0,this.defaultAvatarUrl=null,this.defaultAvatarLoaded=!1,this.user&&!t&&(this.defaultAvatarUrl=this.userDefaultImageService.getDefaultAvatarForUser(this.user,this.avatarShape)),this.cdr.detectChanges()}handleImageLoadFailure(){this.isDestroyed||(this.lowQualityUrl=null,this.highQualityUrl=null,this.hasError=!0,this.user&&(this.defaultAvatarUrl=this.userDefaultImageService.getDefaultAvatarForUser(this.user,this.avatarShape)),this.cdr.detectChanges())}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-progressive-avatar"]],inputs:{imageUrl:"imageUrl",alt:"alt",initial:"initial",showInitial:"showInitial",showSkeleton:"showSkeleton",size:"size",user:"user",avatarShape:"avatarShape",fluidSize:"fluidSize",priority:[1,"priority"]},features:[o0([L0]),M0],decls:6,vars:15,consts:[[1,"uni-progressive-avatar"],[1,"avatar-image","low-quality",3,"src","alt","loaded"],["decoding","async",1,"avatar-image","high-quality",3,"src","alt","loaded"],[1,"avatar-image","default-svg",3,"src","alt"],[1,"avatar-initial"],[1,"avatar-skeleton"],[1,"avatar-image","low-quality",3,"load","error","src","alt"],["decoding","async",1,"avatar-image","high-quality",3,"load","error","src","alt"],[1,"avatar-image","default-svg",3,"load","error","src","alt"],[1,"skeleton-shimmer"]],template:function(e,o){e&1&&(p(0,"div",0),u(1,tp,1,6,"img",1),u(2,ep,1,6,"img",2),u(3,ap,1,2,"img",3),u(4,op,2,1,"span",4),u(5,rp,2,0,"div",5),d()),e&2&&(P("loading",!o.imageLoaded)("has-default-svg",o.defaultAvatarLoaded)("image-loaded",o.imageLoaded)("circular",o.avatarShape==="circle")("square",o.avatarShape==="square"),c(),m(o.lowQualityUrl&&!o.highQualityLoaded?1:-1),c(),m(o.highQualityUrl?2:-1),c(),m(o.defaultAvatarUrl&&!o.lowQualityUrl&&!o.highQualityUrl?3:-1),c(),m(o.showInitial&&!o.hasValidImage&&!o.imageLoaded&&!o.defaultAvatarUrl?4:-1),c(),m(o.showSkeleton&&!o.imageLoaded&&!o.showInitial&&!o.hasError?5:-1))},dependencies:[t0],styles:["[_nghost-%COMP%]{display:block;width:var(--avatar-size, var(--size-10));height:var(--avatar-size, var(--size-10))}.fluid[_nghost-%COMP%]{width:100%!important;height:auto!important;aspect-ratio:var(--aspect-ratio-square)!important;max-width:100%!important}
138.uni-progressive-avatar[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;border-radius:var(--radius-full);overflow:hidden;background-color:var(--neutral-500);display:flex;align-items:center;justify-content:center;transition:background-color var(--duration-normal) var(--easing-in-out);border:var(--border-width-thin) solid var(--border);box-sizing:border-box}.uni-progressive-avatar.square[_ngcontent-%COMP%]{border-radius:var(--radius-lg);background-color:var(--neutral-100, #f3f4f6)}.uni-progressive-avatar.square[_ngcontent-%COMP%] .avatar-image[_ngcontent-%COMP%]{border-radius:var(--radius-lg);object-fit:cover;padding:0}.uni-progressive-avatar.circular[_ngcontent-%COMP%], .uni-progressive-avatar.circular[_ngcontent-%COMP%] .avatar-image[_ngcontent-%COMP%]{border-radius:var(--radius-full)}.uni-progressive-avatar.loading[_ngcontent-%COMP%]{background-color:var(--neutral-200)}.uni-progressive-avatar.has-default-svg[_ngcontent-%COMP%]:not(.square){background-color:transparent}.uni-progressive-avatar.image-loaded[_ngcontent-%COMP%]:not(.square):not(.has-default-svg){background-color:var(--neutral-100, #f3f4f6)!important}.uni-progressive-avatar.image-loaded.has-default-svg[_ngcontent-%COMP%]:not(.square){background-color:transparent!important}.avatar-image[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;opacity:var(--opacity-100)!important;transition:opacity var(--duration-normal) var(--easing-in-out)}.avatar-image.low-quality[_ngcontent-%COMP%]{filter:var(--backdrop-blur-sm);transform:scale(var(--scale-110));z-index:var(--z-0)}.avatar-image.high-quality[_ngcontent-%COMP%]{z-index:var(--z-10)}.avatar-image.default-svg[_ngcontent-%COMP%]{opacity:var(--opacity-100);z-index:var(--z-0);filter:none;transform:var(--transform-none);background:transparent}.avatar-initial[_ngcontent-%COMP%]{font-size:var(--font-size-lg);font-weight:var(--font-weight-semibold);color:var(--white);line-height:var(--line-height-none);z-index:var(--z-10);-webkit-user-select:none;user-select:none;position:relative}.avatar-skeleton[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to right,var(--neutral-200) 0%,var(--neutral-300) 20%,var(--neutral-200) 40%,var(--neutral-200) 100%);z-index:var(--z-0)}.avatar-skeleton[_ngcontent-%COMP%] .skeleton-shimmer[_ngcontent-%COMP%]{position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent 0%,rgba(var(--white-rgb),var(--opacity-40)) 50%,transparent 100%);animation:_ngcontent-%COMP%_shimmer var(--duration-700) infinite}@keyframes _ngcontent-%COMP%_shimmer{0%{left:-100%}to{left:100%}}[data-theme=dark][_nghost-%COMP%] .uni-progressive-avatar[_ngcontent-%COMP%]:not(.has-default-svg):not(.image-loaded), [data-theme=dark] [_nghost-%COMP%] .uni-progressive-avatar[_ngcontent-%COMP%]:not(.has-default-svg):not(.image-loaded), .theme-dark[_nghost-%COMP%] .uni-progressive-avatar[_ngcontent-%COMP%]:not(.has-default-svg):not(.image-loaded), .theme-dark [_nghost-%COMP%] .uni-progressive-avatar[_ngcontent-%COMP%]:not(.has-default-svg):not(.image-loaded){background-color:var(--neutral-600)}[data-theme=dark][_nghost-%COMP%] .uni-progressive-avatar.loading[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .uni-progressive-avatar.loading[_ngcontent-%COMP%], .theme-dark[_nghost-%COMP%] .uni-progressive-avatar.loading[_ngcontent-%COMP%], .theme-dark [_nghost-%COMP%] .uni-progressive-avatar.loading[_ngcontent-%COMP%]{background-color:var(--neutral-700)}[data-theme=dark][_nghost-%COMP%] .uni-progressive-avatar.square[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .uni-progressive-avatar.square[_ngcontent-%COMP%], .theme-dark[_nghost-%COMP%] .uni-progressive-avatar.square[_ngcontent-%COMP%], .theme-dark [_nghost-%COMP%] .uni-progressive-avatar.square[_ngcontent-%COMP%]{background-color:var(--gray-800, #1a1a1a)}"],changeDetection:0})}return a})(),xw=(()=>{class a{elementRef;cdr;
138scheduler=v(L0);text="";position="top";visible=!1;resizeObserver;dynamicAlignment="center";previousVisible=!1;constructor(t,e){this.elementRef=t,this.cdr=e}ngAfterViewInit(){typeof ResizeObserver<"u"&&(this.resizeObserver=new ResizeObserver(()=>{this.visible&&this.calculateAlignment()}),this.resizeObserver.observe(document.body))}ngOnChanges(){this.visible!==this.previousVisible&&(this.previousVisible=this.visible,this.visible?(this.dynamicAlignment="center",this.scheduler.setTimeout(()=>{this.calculateAlignment()},0)):this.dynamicAlignment="center")}ngOnDestroy(){this.resizeObserver?.disconnect()}get tooltipClasses(){let t=`uni-tooltip tooltip-${this.position}`,e=`tooltip-align-${this.dynamicAlignment}`,o=this.visible?" tooltip-visible":"";return`${t} ${e}${o}`}calculateAlignment(){let t=this.elementRef.nativeElement,e=t?.querySelector(".tooltip-content");if(!t||!e||!this.visible)return;t.offsetHeight;let o=e.getBoundingClientRect(),n=window.innerWidth,s=16,i=o.left<s,l=o.right>n-s,g=i?"left":l?"right":"center";this.dynamicAlignment!==g&&(this.dynamicAlignment=g,this.cdr.markForCheck())}static \u0275fac=function(e){return new(e||a)(Q(g0),Q(b0))};static \u0275cmp=K({type:a,selectors:[["uni-tooltip"]],hostVars:2,hostBindings:function(e,o){e&2&&t1(o.tooltipClasses)},inputs:{text:"text",position:"position",visible:"visible"},features:[o0([L0]),M0],decls:4,vars:1,consts:[[1,"tooltip-content"],[1,"tooltip-text"],[1,"tooltip-arrow"]],template:function(e,o){e&1&&(p(0,"div",0)(1,"span",1),Z(2),d(),b(3,"div",2),d()),e&2&&(c(2),O(o.text))},dependencies:[t0],styles:[`.uni-tooltip{position:absolute;z-index:var(--z-tooltip);pointer-events:none;contain:layout style;top:100%;left:50%;transform:translate(-50%);margin-top:var(--size-2);width:max-content;max-width:min(var(--size-72),100vw - var(--size-8))}.uni-tooltip.tooltip-align-left{left:0;transform:translate(0)}.uni-tooltip.tooltip-align-left .tooltip-arrow{left:var(--size-4);transform:translate(0)}.uni-tooltip.tooltip-align-right{left:100%;transform:translate(-100%)}.uni-tooltip.tooltip-align-right .tooltip-arrow{right:var(--size-4);left:auto;transform:translate(0)}.uni-tooltip.tooltip-align-center,.uni-tooltip.tooltip-align-center .tooltip-arrow{left:50%;transform:translate(-50%)}.uni-tooltip .tooltip-content{position:relative;padding:var(--size-2) var(--size-3);background:var(--tooltip-bg);color:var(--white);border:none;border-radius:var(--radius-sm);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium);white-space:normal;text-align:left;line-height:var(--line-height-snug);overflow-wrap:break-word;box-shadow:var(--shadow-md);opacity:var(--opacity-0);visibility:hidden;transition:opacity var(--duration-normal) var(--easing-out),visibility var(--duration-normal) var(--easing-out)}.uni-tooltip .tooltip-arrow{position:absolute;width:0;height:0;border-style:solid}.uni-tooltip.tooltip-top{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--size-2)}.uni-tooltip.tooltip-top.tooltip-align-left{left:0;transform:translate(0)}.uni-tooltip.tooltip-top.tooltip-align-right{left:100%;transform:translate(-100%)}.uni-tooltip.tooltip-top.tooltip-align-center{left:50%;transform:translate(-50%)}.uni-tooltip.tooltip-bottom{top:100%;bottom:auto;margin-top:var(--size-2);margin-bottom:0}.uni-tooltip.tooltip-bottom.tooltip-align-left{left:0;transform:translate(0)}.uni-tooltip.tooltip-bottom.tooltip-align-right{left:100%;transform:translate(-100%)}.uni-tooltip.tooltip-bottom.tooltip-align-center{left:50%;transform:translate(-50%)}.uni-tooltip.tooltip-right{top:50%;left:100%;transform:translateY(-50%);margin-left:var(--size-2);margin-top:0;margin-bottom:0}.uni-tooltip.tooltip-right.tooltip-align-top{top:0;transform:translateY(0)}.uni-tooltip.tooltip-right.tooltip-align-bottom{top:100%;transform:translateY(-100%)}.uni-tooltip.tooltip-right.tooltip-align-center{top:50%;transform:translateY(-50%)}.uni-tooltip.tooltip-visible .tooltip-content{opacity:var(--opacity-100);visibility:visible}.uni-tooltip .tooltip-arrow{position:absolute;left:50%;transform:translate(-50%)}.uni-tooltip.tooltip-top .tooltip-arrow{top:100%;border-width:var(--tooltip-arrow-height) var(--tooltip-arrow-width) 0 var(--tooltip-arrow-width);border-color:var(--tooltip-bg) transparent transparent transparent}.uni-tooltip.tooltip-bottom .tooltip-arrow{bottom:100%;border-width:0 var(--tooltip-arrow-width) var(--tooltip-arrow-height) var(--tooltip-arrow-width);border-color:transparent transparent var(--tooltip-bg) transparent}.uni-tooltip.tooltip-right .tooltip-arrow{left:0;top:50%;transform:translateY(-50%) translate(-100%);border-width:var(--tooltip-arrow-width) var(--tooltip-arrow-height) var(--tooltip-arrow-width) 0;border-color:transparent var(--tooltip-bg) transparent transparent}.uni-tooltip.tooltip-top.tooltip-align-left .tooltip-arrow,.uni-tooltip.tooltip-bottom.tooltip-align-left .tooltip-arrow{left:var(--size-4);transform:translate(0)}.uni-tooltip.tooltip-top.tooltip-align-right .tooltip-arrow,.uni-tooltip.tooltip-bottom.tooltip-align-right .tooltip-arrow{right:var(--size-4);left:auto;transform:translate(0)}.uni-tooltip.tooltip-top.tooltip-align-center .tooltip-arrow,.uni-tooltip.tooltip-bottom.tooltip-align-center .tooltip-arrow{left:50%;right:auto;transform:translate(-50%)}.uni-tooltip.tooltip-right.tooltip-align-top .tooltip-arrow{top:var(--size-4);transform:translateY(0) translate(-100%)}.uni-tooltip.tooltip-right.tooltip-align-bottom .tooltip-arrow{bottom:var(--size-4);top:auto;transform:translateY(0) translate(-100%)}.uni-tooltip.tooltip-right.tooltip-align-center .tooltip-arrow{top:50%;bottom:auto;transform:translateY(-50%) translate(-100%)}.uni-tooltip.in-dropdown{z-index:calc(var(--z-popover) + 20)} 139`],encapsulation:2,changeDetection:0})}return a})(),Vw=(()=>{class a{variant="default";size="md";customText;showText=!0;productImage;productName;imageUrls={lowQuality:"",highQuality:"",original:""};imageLoadError=!1;badgeRef;showTooltip=!1;isInDropdownContext=!1;platformId=v(N);ngOnInit(){this.updateImageUrls()}ngOnChanges(){this.updateImageUrls()}updateImageUrls(){if(this.productImage){let t=this.getImageSize();
139this.imageUrls=ia(this.productImage,{width:t,height:t,fit:"cover"})}}getImageSize(){switch(this.size){case"xs":return 64;case"sm":return 64;case"md":return 80;case"lg":return 96;default:return 80}}getBadgeClasses(){let t=[`variant-${this.variant}`,`size-${this.size}`];return this.showText||t.push("icon-only"),t.join(" ")}getIconName(){switch(this.variant){case"premium":case"pro":case"enterprise":return"phosphorCrownFill";default:return"phosphorSealCheckFill"}}getIconSize(){switch(this.size){case"xs":return"14";case"sm":return"14";case"md":return"16";case"lg":return"20";default:return"16"}}getBadgeText(){if(this.customText)return this.customText;if(this.productName){let t=this.productName.match(/\(([^)]+)\)/);return t?t[1]:this.productName.toLowerCase().startsWith("uni membership")?this.productName.replace(/^UNI Membership\s*/i,"").trim()||"Member":this.productName}switch(this.variant){case"premium":return"Premium";case"pro":return"Pro";case"enterprise":return"Institutional";case"compact":return"Member";default:return"Member"}}getAriaLabel(){return`${this.customText||this.getBadgeText()} membership badge`}getTooltipText(){if(this.showText)return"UNI Membership";if(this.productName){let t=this.productName.match(/\(([^)]+)\)/);if(t)return`UNI ${t[1]} Membership`;if(this.productName.toLowerCase().startsWith("uni membership")){let e=this.productName.replace(/^UNI Membership\s*/i,"").trim();return e?`UNI ${e} Membership`:"UNI Membership"}return this.productName.toLowerCase().includes("uni")?this.productName.includes("Membership")?this.productName:`${this.productName} Membership`:`UNI ${this.productName} Membership`}return this.variant==="enterprise"?"UNI Institutional Membership":"UNI Membership"}onBadgeClick(t){t.stopPropagation()}onBadgeMouseEnter(){this.showTooltip=!0,this.detectDropdownContext()}onBadgeMouseLeave(){this.showTooltip=!1}detectDropdownContext(){if(!L(this.platformId)||!this.badgeRef?.nativeElement)return;let t=this.badgeRef.nativeElement;this.isInDropdownContext=this.isInsideTransformedContainer(t)}isInsideTransformedContainer(t){let e=t.parentElement;for(;e&&e!==document.body;){let o=window.getComputedStyle(e);if(o.transform!=="none"||o.transformStyle==="preserve-3d"||o.willChange==="transform"||e.classList.contains("uni-dropdown")||e.classList.contains("uni-popover"))return!0;e=e.parentElement}return!1}onImageError(t){this.imageLoadError=!0}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["lib-membership-badge"]],viewQuery:function(e,o){if(e&1&&J0(np,5),e&2){let n;F0(n=D0())&&(o.badgeRef=n.first)}},inputs:{variant:"variant",size:"size",customText:"customText",showText:"showText",productImage:"productImage",productName:"productName"},features:[o0([P0({phosphorCrownFill:d4,phosphorSealCheckFill:Xs})]),M0],decls:8,vars:10,consts:[["membershipBadge",""],[1,"membership-badge-container"],["href","/about/designers/membership","target","_blank","rel","noopener",1,"membership-badge-link",3,"click"],[1,"membership-badge",3,"mouseenter","mouseleave"],["class","badge-logo-wrapper",4,"ngIf"],["class","badge-icon",3,"name","size",4,"ngIf"],["class","badge-text",4,"ngIf"],["position","bottom",3,"text","visible"],[1,"badge-logo-wrapper"],[1,"badge-image",3,"error","lowQualityUrl","highQualityUrl","alt","aspectRatio","showSkeleton"],[1,"badge-icon",3,"name","size"],[1,"badge-text"]],template:function(e,o){if(e&1){let n=z();p(0,"div",1)(1,"a",2),V("click",function(i){return C(n),M(o.onBadgeClick(i))}),p(2,"div",3,0),V("mouseenter",function(){return C(n),M(o.onBadgeMouseEnter())})("mouseleave",function(){return C(n),M(o.onBadgeMouseLeave())}),u0(4,sp,2,5,"div",4)(5,ip,1,2,"ng-icon",5)(6,lp,2,1,"span",6),d()(),b(7,"uni-tooltip",7),d()}e&2&&(c(2),t1(o.getBadgeClasses()),F("aria-label",o.getAriaLabel()),c(2),f("ngIf",o.productImage&&!o.imageLoadError),c(),f("ngIf",!o.productImage||o.imageLoadError),c(),f("ngIf",o.showText),c(),P("in-dropdown",o.isInDropdownContext),f("text",o.getTooltipText())("visible",o.showTooltip))},dependencies:[t0,Y1,y0,s3,xw],styles:['@charset "UTF-8";@keyframes _ngcontent-%COMP%_uni-shine{0%{transform:translate(-100%) rotate(45deg)}to{transform:translate(200%) rotate(45deg)}}@media (prefers-reduced-motion: reduce){[class*=shimmer][_ngcontent-%COMP%]:before, [class*=shine][_ngcontent-%COMP%]:before{animation:none!important;opacity:var(--opacity-0)}}[_nghost-%COMP%]{display:inline-flex;align-items:center}.membership-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:var(--size-2);padding:var(--size-1) var(--size-2);background:var(--surface);border:var(--border-width-thin) solid var(--border);border-radius:var(--radius-sm);font-weight:var(--font-weight-normal);transition:all var(--duration-normal) var(--easing-out);position:relative;overflow:hidden}.membership-badge[_ngcontent-%COMP%]:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:linear-gradient(45deg,transparent 30%,rgba(var(--white-rgb),.5) 50%,transparent 70%);transform:rotate(45deg) translate(-100%);animation:_ngcontent-%COMP%_uni-shine var(--duration-2000) infinite;pointer-events:none;z-index:var(--z-0)}.membership-badge[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{position:relative;z-index:var(--z-above)}.membership-badge.size-xs[_ngcontent-%COMP%]{padding:0;border:none;background:transparent;gap:0;border-radius:0}.membership-badge.size-xs[_ngcontent-%COMP%] .badge-logo-wrapper[_ngcontent-%COMP%]{height:var(--size-4);width:var(--size-4)}.membership-badge.size-xs[_ngcontent-%COMP%]:before{display:none}.membership-badge.size-xs[_ngcontent-%COMP%]:hover{transform:none;box-shadow:none}.membership-badge.size-sm[_ngcontent-%COMP%]{padding:var(--size-1) var(--size-2);font-size:var(--font-size-xs);gap:var(--size-1)}.membership-badge.size-sm[_ngcontent-%COMP%] .badge-logo-wrapper[_ngcontent-%COMP%]{height:var(--size-4);width:var(--size-4)}.membership-badge.size-md[_ngcontent-%COMP%]{padding:var(--size-1) var(--size-2);font-size:var(--font-size-sm);gap:var(--size-2)}.membership-badge.size-md[_ngcontent-%COMP%] .badge-logo-wrapper[_ngcontent-%COMP%]{height:var(--size-5);width:var(--size-5)}.membership-badge.size-lg[_ngcontent-%COMP%]{padding:var(--size-1) var(--size-2);font-size:var(--font-size-base);gap:var(--size-3)}.membership-badge.size-lg[_ngcontent-%COMP%] .badge-logo-wrapper[_ngcontent-%COMP%]{height:var(--size-6);width:var(--size-6)}.membership-badge[_ngcontent-%COMP%] .badge-logo-wrapper[_ngcontent-%COMP%]{display:inline-flex;position:relative;flex-shrink:0;border-radius:var(--radius-xs);overflow:hidden}.membership-badge[_ngcontent-%COMP%] .badge-logo-wrapper[_ngcontent-%COMP%] .badge-image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:contain;display:block}.membership-badge[_ngcontent-%COMP%] .badge-logo-wrapper[_ngcontent-%COMP%] .progressive-image-container{background:transparent}.membership-badge[_ngcontent-%COMP%] .badge-logo-wrapper[_ngcontent-%COMP%] .progressive-image{object-fit:contain}.membership-badge[_ngcontent-%COMP%] .badge-icon[_ngcontent-%COMP%]{color:var(--primary-500);position:relative}.membership-badge[_ngcontent-%COMP%] .badge-text[_ngcontent-%COMP%]{color:var(--text-primary);white-space:nowrap;font-weight:var(--font-weight-normal);text-transform:capitalize;letter-spacing:var(--letter-spacing-tight);position:relative}.membership-badge.icon-only[_ngcontent-%COMP%]{padding:var(--size-2)}.membership-badge.icon-only.size-sm[_ngcontent-%COMP%], .membership-badge.icon-only.size-lg[_ngcontent-%COMP%]{padding:var(--size-1-5)}.membership-badge.variant-default[_ngcontent-%COMP%], .membership-badge.variant-compact[_ngcontent-%COMP%], .membership-badge.variant-premium[_ngcontent-%COMP%], .membership-badge.variant-pro[_ngcontent-%COMP%], .membership-badge.variant-enterprise[_ngcontent-%COMP%]{background:rgba(var(--warning-rgb),var(--opacity-12));border-color:rgba(var(--warning-rgb),var(--opacity-35))}.membership-badge.variant-default[_ngcontent-%COMP%] .badge-icon[_ngcontent-%COMP%], .membership-badge.variant-compact[_ngcontent-%COMP%] .badge-icon[_ngcontent-%COMP%], .membership-badge.variant-premium[_ngcontent-%COMP%] .badge-icon[_ngcontent-%COMP%], .membership-badge.variant-pro[_ngcontent-%COMP%] .badge-icon[_ngcontent-%COMP%], .membership-badge.variant-enterprise[_ngcontent-%COMP%] .badge-icon[_ngcontent-%COMP%]{color:var(--warning-600)}.membership-badge.variant-default[_ngcontent-%COMP%] .badge-text[_ngcontent-%COMP%], .membership-badge.variant-compact[_ngcontent-%COMP%] .badge-text[_ngcontent-%COMP%], .membership-badge.variant-premium[_ngcontent-%COMP%] .badge-text[_ngcontent-%COMP%], .membership-badge.variant-pro[_ngcontent-%COMP%] .badge-text[_ngcontent-%COMP%], .membership-badge.variant-enterprise[_ngcontent-%COMP%] .badge-text[_ngcontent-%COMP%]{color:var(--warning-700);font-weight:var(--font-weight-medium)}.membership-badge.size-xs[_ngcontent-%COMP%]{padding:0;border:none;background:transparent;box-shadow:none}.membership-badge[_ngcontent-%COMP%]:hover{transform:translateY(calc(var(--size-0-5) * -1));box-shadow:var(--shadow-sm)}[data-theme=dark][_nghost-%COMP%] .membership-badge[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .membership-badge[_ngcontent-%COMP%]{background:rgba(var(--warning-rgb),var(--opacity-15));border-color:rgba(var(--warning-rgb),var(--opacity-40))}[data-theme=dark][_nghost-%COMP%] .membership-badge[_ngcontent-%COMP%]:before, [data-theme=dark] [_nghost-%COMP%] .membership-badge[_ngcontent-%COMP%]:before{opacity:var(--opacity-40)}[data-theme=dark][_nghost-%COMP%] .membership-badge[_ngcontent-%COMP%] .badge-text[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .membership-badge[_ngcontent-%COMP%] .badge-text[_ngcontent-%COMP%]{color:var(--warning-400)}[data-theme=dark][_nghost-%COMP%] .membership-badge[_ngcontent-%COMP%] .badge-icon[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .membership-badge[_ngcontent-%COMP%] .badge-icon[_ngcontent-%COMP%]{color:var(--warning-400)}.membership-badge-container[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center}.membership-badge-link[_ngcontent-%COMP%]{text-decoration:none;color:inherit;display:inline-flex;position:relative;z-index:1}'],changeDetection:0})}return a})(),Zw=(()=>{class a{show=!1;isDarkTheme=!1;overlayClick=new B;onOverlayClick(t){t.preventDefault(),this.overlayClick.emit()}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["lib-user-dropdown"]],inputs:{show:"show",isDarkTheme:"isDarkTheme"},outputs:{overlayClick:"overlayClick"},ngContentSelectors:It,decls:1,vars:1,consts:[[4,"ngIf"],[1,"dropdown-portal-overlay",3,"click"],[1,"uni-dropdown","show"]],template:function(e,o){e&1&&(Z1(),u0(0,hp,4,1,"ng-container",0)),e&2&&f("ngIf",o.show)},dependencies:[t0,Y1],styles:[`@charset "UTF-8";.dropdown-portal-overlay{position:fixed;inset:0;z-index:var(--z-popover);background:transparent}.uni-dropdown{position:absolute;top:calc(100% + var(--size-2-5));right:0;z-index:var(--z-critical-modal);min-width:var(--size-60);max-height:fit-content;border-radius:var(--radius-lg);background:var(--surface)!important;border:var(--border-width-thin) solid var(--border);box-shadow:var(--shadow-dropdown);will-change:transform;transform:translateZ(0);transform-style:preserve-3d;-webkit-transform-style:preserve-3d;backface-visibility:hidden;-webkit-backface-visibility:hidden}@media (max-width: 767.98px){.uni-dropdown{display:none}} 140`],encapsulation:2,changeDetection:0})}return a})();var bw=1024;var Lw="U",Mx=[{route:"/about",icon:"phosphorInfo",label:"About UNI",ariaLabel:"Learn more about UNI"},{route:"/help",icon:"phosphorQuestion",label:"Help",ariaLabel:"Get help and support"},{route:"/policy/general-terms/terms-of-service",icon:"phosphorFileText",label:"Terms",ariaLabel:"View terms and conditions"}];var l3=200,_w=["/accounts/settings","/accounts/","/arena/","/studio/","/profile/","/project/","/projects/","/payment/","/organizations/","/competitions/","/journals/","/publications/","/builder/"],h3=a=>_w.some(r=>a.startsWith(r));var Nt=(()=>{class a{router=v(z0);_cachedDisplayNames=new Map;_cachedAvatarProps=new Map;
140navigateTo(t){if(!this.isValidRoute(t)){console.error("Invalid route:",t);return}if(this.clearUrlHash(),h3(t)){window.location.href=t;return}this.router.navigate([t])}navigateToLogin(){let t=window.location.pathname,e=`/accounts/login?continue=${encodeURIComponent(t)}`;window.location.href=e}navigateToSignup(){let t=window.location.pathname,e=`/accounts/signup?continue=${encodeURIComponent(t)}`;window.location.href=e}handleDropdownClick(t,e){t.button===2||t.button===1||t.ctrlKey||t.metaKey||this.navigateTo(e)}clearUrlHash(){typeof window<"u"&&window.location.hash&&history.replaceState(null,"",window.location.pathname+window.location.search)}getUserDisplayName(t){if(!t)return"";let e=`${t.first_name||""}_${t.last_name||""}_${t.username||""}`;if(this._cachedDisplayNames.has(e))return this._cachedDisplayNames.get(e);let o=`${t.first_name||""} ${t.last_name||""}`.trim()||t.username||"User";return this._cachedDisplayNames.set(e,o),o}getUserAvatarProps(t,e=36){if(!t)return null;let o=`${t.username||""}_${e}`;if(this._cachedAvatarProps.has(o))return this._cachedAvatarProps.get(o);let n={user:t,alt:this.getUserDisplayName(t),initial:t.username?.charAt(0)?.toUpperCase()||Lw,size:e};return this._cachedAvatarProps.set(o,n),n}getProfileRoute(t,e="about"){return t?.username?`/profile/edit/${t.username}/${e}`:"/profile"}getPublicProfileRoute(t){return t?`/profile/${t}`:"/profile"}getIconName(t,e){return e?t+"Fill":t}getThemeIcon(t,e=!1){let n={light:"phosphorSun",dark:"phosphorMoon",auto:"phosphorDesktopTower"}[t]||"phosphorSun";return this.getIconName(n,e)}getThemeLabel(t){return{light:"Light theme",dark:"Dark theme",auto:"System theme"}[t]||"Unknown theme"}isValidRoute(t){return!t||typeof t!="string"?!1:t.startsWith("/")?!0:!["javascript:","data:","vbscript:","file:"].some(o=>t.toLowerCase().startsWith(o))}isValidTheme(t){return["light","dark","auto"].includes(t)}clearCaches(){this._cachedDisplayNames.clear(),this._cachedAvatarProps.clear()}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Bw=(()=>{class a{user=null;authLoading=!1;showDropdown=!1;isMobileView=!1;isDarkTheme=!1;avatarClick=new B;avatarBlur=new B;navbarUtils=v(Nt);get buttonAvatarProps(){return this.navbarUtils.getUserAvatarProps(this.user,36)}getLoadingAriaLabel(){return"Loading user menu"}getAvatarAriaLabel(t){return`User menu for ${this.navbarUtils.getUserDisplayName(t)}`}onAvatarClick(){this.authLoading||this.avatarClick.emit()}onAvatarBlur(){this.isMobileView||this.avatarBlur.emit()}onOverlayClick(){this.avatarBlur.emit()}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["lib-user-avatar"]],inputs:{user:"user",authLoading:"authLoading",showDropdown:"showDropdown",isMobileView:"isMobileView",isDarkTheme:"isDarkTheme"},outputs:{avatarClick:"avatarClick",avatarBlur:"avatarBlur"},ngContentSelectors:It,decls:6,vars:8,consts:[[1,"user-menu"],[1,"user-avatar",3,"click","blur","disabled"],["class","skeleton-avatar",4,"ngIf"],[3,"user","alt","initial","size","priority",4,"ngIf"],[3,"overlayClick","show","isDarkTheme"],[1,"skeleton-avatar"],[3,"user","alt","initial","size","priority"]],template:function(e,o){e&1&&(Z1(),p(0,"div",0)(1,"button",1),V("click",function(){return o.onAvatarClick()})("blur",function(){return o.onAvatarBlur()}),u0(2,cp,1,0,"div",2)(3,vp,1,5,"uni-progressive-avatar",3),d(),p(4,"lib-user-dropdown",4),V("overlayClick",function(){return o.onOverlayClick()}),N0(5),d()()),e&2&&(c(),P("loading",o.authLoading),f("disabled",o.authLoading),F("aria-label",o.authLoading?o.getLoadingAriaLabel():o.getAvatarAriaLabel(o.user)),c(),f("ngIf",o.authLoading),c(),f("ngIf",o.user&&!o.authLoading&&o.buttonAvatarProps),c(),f("show",o.showDropdown&&!o.isMobileView)("isDarkTheme",o.isDarkTheme))},dependencies:[t0,Y1,i3,Zw],encapsulation:2,changeDetection:0})}return a})(),zw=(()=>{class a{user=null;hasActiveMembership=!1;membershipVariant="default";activeMemberships=[];navbarUtils=v(Nt);get drawerAvatarProps(){return this.navbarUtils.getUserAvatarProps(this.user,40)}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["lib-mobile-drawer-header"]],inputs:{user:"user",hasActiveMembership:"hasActiveMembership",membershipVariant:"membershipVariant",activeMemberships:"activeMemberships"},decls:7,vars:4,consts:[[1,"drawer-user-header"],["style","flex-shrink: 0; width: var(--size-10); height: var(--size-10); display: block;",3,"user","alt","initial","size",4,"ngIf"],[1,"drawer-user-info"],[1,"drawer-user-name"],["class","drawer-user-username",4,"ngIf"],["size","sm","class","drawer-membership-badge",3,"variant","productImage","productName",4,"ngIf"],[2,"flex-shrink","0","width","var(--size-10)","height","var(--size-10)","display","block",3,"user","alt","initial","size"],[1,"drawer-user-username"],["size","sm",1,"drawer-membership-badge",3,"variant","productImage","productName"]],template:function(e,o){e&1&&(p(0,"div",0),u0(1,pp,1,4,"uni-progressive-avatar",1),p(2,"div",2)(3,"p",3),Z(4),d(),u0(5,gp,2,1,"p",4)(6,dp,1,3,"lib-membership-badge",5),d()()),e&2&&(c(),f("ngIf",o.drawerAvatarProps),c(3),O(o.navbarUtils.getUserDisplayName(o.user)),c(),f("ngIf",o.user==null?null:o.user.username),c(),f("ngIf",o.hasActiveMembership))},dependencies:[t0,Y1,i3,Vw],styles:['@charset "UTF-8";.drawer-user-header[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:var(--size-3);min-width:0}
140.drawer-user-info[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:var(--size-px)}.drawer-user-info[_ngcontent-%COMP%] .drawer-user-name[_ngcontent-%COMP%]{margin:0;font-size:var(--font-size-base);font-weight:var(--font-weight-semibold);color:var(--text-primary);line-height:var(--line-height-tight)}.drawer-user-info[_ngcontent-%COMP%] .drawer-user-name[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawer-user-info[_ngcontent-%COMP%] .drawer-user-username[_ngcontent-%COMP%]{margin:0;font-size:var(--font-size-xs);color:var(--text-secondary);line-height:var(--line-height-tight)}.drawer-user-info[_ngcontent-%COMP%] .drawer-user-username[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawer-user-info[_ngcontent-%COMP%] .drawer-membership-badge[_ngcontent-%COMP%]{margin-top:var(--size-2)}'],changeDetection:0})}return a})(),yw=(()=>{class a{user=null;notificationCount=0;showNotificationPanel=!1;notificationClick=new B;panelClose=new B;drawerStateChange=new B;buttonHover=new B;isHovered=!1;navbarUtils=v(Nt);onButtonHover(t){this.isHovered=t,this.buttonHover.emit(t)}getBadgeText(){return!this.notificationCount||this.notificationCount<=0?"":this.notificationCount>99?"99+":this.notificationCount.toString()}getNotificationAriaLabel(){let t=this.notificationCount||0;return t===0?"Notifications, no unread messages":`Notifications, ${t>99?"more than 99":t.toString()} unread`}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["lib-notification-button"]],inputs:{user:"user",notificationCount:"notificationCount",showNotificationPanel:"showNotificationPanel"},outputs:{notificationClick:"notificationClick",panelClose:"panelClose",drawerStateChange:"drawerStateChange",buttonHover:"buttonHover"},decls:6,vars:7,consts:[[1,"notification-wrapper"],["size","medium","variant","glass",1,"notification-button",3,"onClick","onMouseEnter","onMouseLeave","icon","circle","ariaLabel"],["class","notification-badge",4,"ngIf"],[1,"notification-badge"],[3,"close","mobileDrawerStateChange","show","username"]],template:function(e,o){e&1&&(p(0,"div",0)(1,"uni-icon-button",1),V("onClick",function(){return o.notificationClick.emit()})("onMouseEnter",function(){return o.onButtonHover(!0)})("onMouseLeave",function(){return o.onButtonHover(!1)}),d(),u0(2,up,2,2,"span",2)(3,mp,1,2),c1(4,3,wp),d()),e&2&&(c(),P("active",o.showNotificationPanel),f("icon",o.navbarUtils.getIconName("phosphorBell",o.isHovered||o.showNotificationPanel))("circle",!0)("ariaLabel",o.getNotificationAriaLabel()),c(),f("ngIf",o.getBadgeText()),c(2),V1(o.showNotificationPanel))},dependencies:[t0,Y1,Ut],styles:['.notification-wrapper[_ngcontent-%COMP%]{position:relative}.notification-badge[_ngcontent-%COMP%]{position:absolute;top:calc(var(--size-1) * -1);padding:0 var(--size-1);background:var(--error-500);color:var(--surface);border-radius:var(--radius-full);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);line-height:1;display:flex;align-items:center;justify-content:center;z-index:var(--z-base);pointer-events:none} .notification-button.active button{background:var(--white)!important;border-color:var(--border)!important}[_ngcontent-%COMP%]:is():hover{background:var(--white)!important}[data-theme="dark"][_nghost-%COMP%] .notification-button.active button, [data-theme="dark"] [_nghost-%COMP%] .notification-button.active button, .theme-dark[_nghost-%COMP%] .notification-button.active button, .theme-dark [_nghost-%COMP%] .notification-button.active button, [data-theme=dark][_ngcontent-%COMP%] .notification-button.active button, .theme-dark[_ngcontent-%COMP%] .notification-button.active button{background:var(--surface)!important;border-color:var(--border)!important}[_ngcontent-%COMP%]:is():hover{background:var(--surface)!important}'],changeDetection:0})}return a})(),va=(()=>{class a{initialState={dropdowns:{user:!1,notifications:!1},hover:{item:null,button:null,theme:null},isMobileView:!1,isDarkTheme:!1,currentTheme:"light"};state$=new X(this.initialState);state=this.state$.asObservable();get currentState(){return this.state$.value}batchUpdate(t){let e=this.state$.value,o=H({},e),n=!1;t.currentTheme!==void 0&&e.currentTheme!==t.currentTheme&&(o.currentTheme=t.currentTheme,n=!0),t.isDarkTheme!==void 0&&e.isDarkTheme!==t.isDarkTheme&&(o.isDarkTheme=t.isDarkTheme,n=!0),t.isMobileView!==void 0&&e.isMobileView!==t.isMobileView&&(o.isMobileView=t.
140isMobileView,n=!0),t.hover&&(o.hover=H(H({},e.hover),t.hover),n=!0),t.dropdowns&&(o.dropdowns=H(H({},e.dropdowns),t.dropdowns),n=!0),n&&this.state$.next(o)}toggleDropdown(t){let e=this.state$.value.dropdowns;this.batchUpdate({dropdowns:{[t]:!e[t]}})}closeAllDropdowns(){this.batchUpdate({dropdowns:{user:!1,notifications:!1}})}updateHover(t,e){this.batchUpdate({hover:{[t]:e}})}reset(){this.state$.next(this.initialState)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),C0={VIEWPORT_PADDING:32,SIDE_MARGIN:16,COMPACT_MAX_WIDTH:1200,ANIMATION_DURATION:.9,ANIMATION_EASING:"power3.out",FORCE_3D:!0,OVERWRITE_MODE:"auto"};function zl(a){return Math.min(C0.COMPACT_MAX_WIDTH,a-C0.VIEWPORT_PADDING)}function ea(a){return a-C0.VIEWPORT_PADDING}function yl(a,r){let t=(a-r)/2;return{left:t,right:t}}var fe={THRESHOLD:10,DEBOUNCE_TIME:16,MIN_DELTA:5},Sw=(()=>{class a{platformId=v(N);destroyRef=v(r0);gsapModule=null;gsapLoadPromise=null;loadGsap(){return i0(this,null,function*(){return this.gsapModule?this.gsapModule:(this.gsapLoadPromise||(this.gsapLoadPromise=import("./chunk-HCQLUNJX.js").then(t=>(this.gsapModule=t.gsap||t.default,this.gsapModule))),this.gsapLoadPromise)})}scrollState$=new X({isScrolled:!1,isScrollingUp:!1,lastScrollY:0});scrollState=this.scrollState$.asObservable();get currentScrollState(){return this.scrollState$.value}initializeScrollDetection(){L(this.platformId)&&(this.updateScrollState(),d2(window,"scroll",{passive:!0}).pipe(z1(fe.DEBOUNCE_TIME),n0(this.destroyRef)).subscribe(()=>this.updateScrollState()))}updateScrollState(){let t=window.scrollY,e=this.scrollState$.value.lastScrollY,o=Math.abs(t-e),n=this.scrollState$.value.isScrollingUp;o>=fe.MIN_DELTA&&(n=t<e);let s={isScrolled:t>fe.THRESHOLD,isScrollingUp:n,lastScrollY:t};this.shouldEmitStateChange(s)&&this.scrollState$.next(s)}shouldEmitStateChange(t){let e=this.scrollState$.value;return e.isScrolled!==t.isScrolled||e.isScrollingUp!==t.isScrollingUp||Math.abs(e.lastScrollY-t.lastScrollY)>=fe.MIN_DELTA}getViewportWidth(){return L(this.platformId)?document.documentElement.clientWidth:1280}initializeTransparentMode(t){return i0(this,null,function*(){if(!L(this.platformId)||!t)return;let e=yield this.loadGsap(),o=t.nativeElement,n=this.getViewportWidth(),s=ea(n);e.set(o,{width:s+"px",marginLeft:C0.SIDE_MARGIN,marginRight:C0.SIDE_MARGIN,force3D:C0.FORCE_3D})})}animateOnScroll(t,e){return i0(this,null,function*(){if(!L(this.platformId)||!t)return;let o=yield this.loadGsap(),n=t.nativeElement,s=this.getViewportWidth();e?this.animateToCompact(o,n,s):this.animateToFull(o,n,s)})}updateOnResize(t,e){return i0(this,null,function*(){if(!L(this.platformId)||!t)return;let o=yield this.loadGsap(),n=t.nativeElement,s=this.getViewportWidth();if(e){let i=zl(s),l=yl(s,i);o.set(n,{width:i+"px",marginLeft:l.left,marginRight:l.right,force3D:C0.FORCE_3D})}else{let i=ea(s);o.set(n,{width:i+"px",marginLeft:C0.SIDE_MARGIN,marginRight:C0.SIDE_MARGIN,force3D:C0.FORCE_3D})}})}animateToCompact(t,e,o){let n=zl(o),s=yl(o,n);t.to(e,{width:n+"px",marginLeft:s.left,marginRight:s.right,duration:C0.ANIMATION_DURATION,ease:C0.ANIMATION_EASING,force3D:C0.FORCE_3D,overwrite:C0.OVERWRITE_MODE})}animateToFull(t,e,o){let n=ea(o);t.to(e,{width:n+"px",marginLeft:C0.SIDE_MARGIN,marginRight:C0.SIDE_MARGIN,duration:C0.ANIMATION_DURATION,ease:C0.ANIMATION_EASING,force3D:C0.FORCE_3D,overwrite:C0.OVERWRITE_MODE})}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),kw=(()=>{class a{navbarState=v(va);navbarHelper=v(Nt);drawerStateService=v(Et);_activeNavDropdown=null;get activeNavDropdown(){return this._activeNavDropdown}set activeNavDropdown(t){this._activeNavDropdown=t}toggleNavDropdown(t){this._activeNavDropdown=this._activeNavDropdown===t?null:t,this._activeNavDropdown!==null&&this.navbarState.batchUpdate({dropdowns:{notifications:!1,user:!1}})}closeNavDropdown(){setTimeout(()=>{this._activeNavDropdown=null},l3)}closeNavDropdownImmediate(){this._activeNavDropdown=null}onNavLinkClick(t){t.route&&(t.external?window.open(t.route,"_blank"):this.navigateTo(t.route),this._activeNavDropdown=null)}onNavDropdownItemClick(t){h3(t.route)?window.location.href=t.route:this.navigateTo(t.route),this._activeNavDropdown=null}navigateTo(t){this.navbarHelper.navigateTo(t),this.navbarState.closeAllDropdowns(),this.handleMobileDrawerState(!1)}onFooterLinkClick(t,e){t.preventDefault(),this.navbarHelper.isValidRoute
140(e)&&this.navigateTo(e)}handleMobileDrawerState(t){this.navbarState.currentState.isMobileView&&this.drawerStateService.setDrawerState(t)}hasOpenDropdown(){let t=this.navbarState.currentState;return t.dropdowns.user||t.dropdowns.notifications||this._activeNavDropdown!==null}reset(){this._activeNavDropdown=null}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Pw=(()=>{class a{navbarState=v(va);drawerStateService=v(Et);overlayManager=v(e3);static STATUS_VARIANTS={Draft:"warning",Published:"success",Unpublished:"error","UNPUBLISHED CHANGES":"error-soft","Saving...":"saving","Saved just now":"saved","Pre-Draft":"warning","In Review":"info",Template:"info",Private:"warning"};getStatusVariant(t){return a.STATUS_VARIANTS[t]??"warning"}getActionButtonAriaLabel(t,e){return e?`${t} button (disabled)`:`${t} button`}handleNextClick(t,e){t||e.emit()}handlePublishClick(t,e,o){t?o.emit():e.emit()}openSearchModal(t){t.emit(),this.navbarState.closeAllDropdowns(),this.handleMobileDrawerState(!1)}onNotificationClick(t){this.navbarState.toggleDropdown("notifications");let e=this.navbarState.currentState.dropdowns.notifications;e&&(t.emit(),this.overlayManager.requestCloseAll("notifications")),this.handleMobileDrawerState(e)}closeNotificationPanel(){this.navbarState.batchUpdate({dropdowns:{notifications:!1}}),this.handleMobileDrawerState(!1)}shouldCloseNotifications(t){return t===null?this.navbarState.currentState.dropdowns.notifications:this.overlayManager.shouldClose("notifications",t)&&this.navbarState.currentState.dropdowns.notifications}handleMobileDrawerState(t){this.navbarState.currentState.isMobileView&&this.drawerStateService.setDrawerState(t)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Ow=(()=>{class a{membershipService=v(gd);destroyRef=v(r0);initialState={hasActiveMembership:!1,activeMemberships:[],membershipVariant:"default",isLoading:!1};state$=new X(this.initialState);membershipState$=this.state$.asObservable();get currentState(){return this.state$.value}loadMembershipData(){this.state$.value.isLoading||(this.updateState({isLoading:!0}),queueMicrotask(()=>{W1([this.membershipService.hasActiveMembership$,this.membershipService.activeMemberships$]).pipe(n0(this.destroyRef),T(([t,e])=>({hasActiveMembership:t,activeMemberships:e,membershipVariant:this.membershipService.getMembershipVariant(e),isLoading:!1})),l0(()=>y(R(H({},this.initialState),{isLoading:!1})))).subscribe(t=>{this.state$.next(t)}),this.membershipService.getActiveMemberships().pipe(n0(this.destroyRef)).subscribe()}))}getUserMenuProps(t,e,o,n){let s=this.currentState;return{user:t,currentTheme:e,hasActiveMembership:s.hasActiveMembership,membershipVariant:s.membershipVariant,activeMemberships:s.activeMemberships,hoveredItem:o,hoveredTheme:n}}updateState(t){this.state$.next(H(H({},this.state$.value),t))}reset(){this.state$.next(this.initialState)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),Tw=()=>P0({phosphorGear:E8,phosphorGearFill:Us,phosphorUser:Y6,phosphorUserFill:ri,phosphorBell:O6,phosphorBellFill:p4,phosphorMagnifyingGlass:q6,phosphorSun:dn,phosphorSunFill:oi,phosphorMoon:rn,phosphorMoonFill:qs,phosphorDesktopTower:Yr,phosphorDesktopTowerFill:Es,phosphorTrophy:wn,phosphorTrophyFill:D2,phosphorBlueprint:Ur,phosphorBlueprintFill:T2,phosphorNewspaper:nn,phosphorNewspaperFill:F2,phosphorBookOpen:Nr,phosphorBookOpenFill:I2,phosphorBookmarkSimple:$r,phosphorBookmarkSimpleFill:Ts,phosphorShoppingCart:pn,phosphorShoppingCartFill:W8,phosphorBuildings:Wr,phosphorBuildingsFill:j8,phosphorSignOut:gn,phosphorSignOutFill:ai,phosphorArrowRight:P6,phosphorRocket:vn,phosphorList:G6,phosphorInfo:W6,phosphorQuestion:cn,phosphorFileText:Jr,phosphorCrown:D6,phosphorCrownFill:d4,phosphorPalette:K6,phosphorPaletteFill:Vt,phosphorBriefcase:I6,phosphorBriefcaseFill:Ht,phosphorGraduationCap:j6,phosphorGraduationCapFill:xt,phosphorBook:jr,phosphorBookFill:Os,p
140hosphorFolderUserFill:Rs,phosphorSelectionAllFill:Js,phosphorChalkboardTeacherFill:Fs,phosphorScalesFill:Ys,phosphorHandshakeFill:js,phosphorListBulletsFill:$s,phosphorMegaphoneFill:Gs,phosphorCurrencyDollarFill:Ds,matGavel:s4,phosphorCloudArrowUp:F6,phosphorCaretDown:gl}),Iw=(()=>{class a{navbarElement;user=null;notificationCount=0;showNotifications=!0;showSearch=!0;showThemeToggle=!0;showPageHeader=!0;pageTitle="";authLoading=!1;showNextButton=!1;showPublishButton=!1;nextButtonDisabled=!1;publishButtonDisabled=!1;nextButtonText="Next";nextButtonIcon="phosphorArrowRight";nextButtonIconPosition="end";publishButtonText="Publish";showStatus=!1;statusText="";navLinks=[];transparentOnLoad=!1;showLogo=!1;logoUrl=n3.logo.main;logoutClick=new B;notificationClick=new B;searchOpen=new B;searchClose=new B;mobileDrawerStateChange=new B;nextClick=new B;publishClick=new B;publishButtonDisabledClick=new B;uploadModalOpen=new B;destroyRef=v(r0);platformId=v(N);cdr=v(b0);scheduler=v(L0);themeService=v(Ol);universalLogoutService=v(Id);drawerStateService=v(Et);navbarState=v(va);navbarEffects=v(Sw);navbarMembership=v(Ow);navbarNavigation=v(kw);navbarActions=v(Pw);navbarHelper=v(Nt);overlayManager=v(e3);get uiState(){return this.navbarState.currentState}get scrollState(){return this.navbarEffects.currentScrollState}get activeNavDropdown(){return this.navbarNavigation.activeNavDropdown}set activeNavDropdown(t){this.navbarNavigation.activeNavDropdown=t}ngOnInit(){this.checkMobileView(),this.navbarEffects.initializeScrollDetection(),this.navbarEffects.scrollState.pipe(n0(this.destroyRef)).subscribe(t=>{this.transparentOnLoad&&this.navbarElement&&this.navbarEffects.animateOnScroll(this.navbarElement,t.isScrolled),this.cdr.markForCheck()}),W1([this.themeService.theme$,this.themeService.effectiveTheme$]).pipe(n0(this.destroyRef)).subscribe(([t,e])=>{this.navbarState.batchUpdate({currentTheme:t,isDarkTheme:e==="dark"}),this.cdr.markForCheck()}),this.navbarState.state.pipe(n0(this.destroyRef)).subscribe(()=>this.cdr.markForCheck()),this.overlayManager.closeAll$.pipe(n0(this.destroyRef)).subscribe(t=>{this.navbarActions.shouldCloseNotifications(t)&&this.closeNotificationPanel()}),this.user&&this.navbarMembership.loadMembershipData()}ngAfterViewInit(){!L(this.platformId)||!this.navbarElement||this.transparentOnLoad&&this.navbarEffects.initializeTransparentMode(this.navbarElement)}ngOnDestroy(){this.navbarHelper.clearCaches(),this.navbarState.reset(),this.navbarMembership.reset(),this.navbarNavigation.reset()}checkMobileView(){let t=L(this.platformId)?window.innerWidth<=bw:!1;this.navbarState.batchUpdate({isMobileView:t})}toggleDropdown(){this.navbarState.toggleDropdown("user");let t=this.navbarState.currentState.dropdowns.user;t&&(this.activeNavDropdown=null),this.handleMobileDrawerState(t)}closeDropdown(){this.scheduler.setTimeout(()=>{this.navbarState.batchUpdate({dropdowns:{user:!1}}),this.handleMobileDrawerState(!1)},l3)}navigateTo(t){this.navbarNavigation.navigateTo(t)}handleDropdownClick(t,e){t.preventDefault(),this.navbarHelper.handleDropdownClick(t,e)}handleHover(t,e,o=!0){this.navbarState.updateHover(t,o?e:null)}handleButtonHover(t,e){this.handleHover("button",t,e)}handleItemHover(t,e){this.handleHover("item",t,e)}handleThemeHover(t,e){this.handleHover("theme",t,e)}handleMobileDrawerState(t){this.navbarState.currentState.isMobileView&&(this.mobileDrawerStateChange.emit(t),this.drawerStateService.setDrawerState(t))}navigateToLogin(){this.navbarHelper.navigateToLogin()}logout(){this.universalLogoutService.logout().pipe(n0(this.destroyRef)).subscribe({error:t=>console.error("[Navbar] Logout failed:",t)})}navigateToHome(t){t.preventDefault(),L(this.platformId)&&(window.location.href="/")}onMobileDrawerClose(){this.navbarState.batchUpdate({dropdowns:{user:!1}}),this.handleMobileDrawerState(!1)}onNotificationDrawerStateChange(t){this.mobileDrawerStateChange.emit(t)}openSearchModal(){this.navbarActions.openSearchModal(this.searchOpen)}closeSearchModal(){this.searchClose.emit()}openUploadModal(){this.uploadModalOpen.emit()}onNotificationClick(){this.navbarActions.onNotificationClick(this.searchClose),this.activeNavDropdown=null,this.handleMobileDrawerState(this.navbarState.currentState.dropdowns.notifications)}closeNotificationPanel(){this.navbarActions.closeNotificationPanel()}toggleTheme(){this.themeService.toggleTheme()}setTheme(t){this.navbarHelper.isValidTheme(t)&&(this.themeService.setTheme(t),this.navbarState.currentState.isMobileView||this.navbarState.batchUpdate({dropdowns:{user:!1}}))}onWindowResize(){this.checkMobileView(),this.transparentOnLoad&&this.navbarElement&&this.navbarEffects.updateOnResize(this.navbarElement,this.scrollState.isScrolled)}onDocumentClick(t){this.activeNavDropdown&&this.navbarElement&&(this.navbarElement.nativeElement.contains(t.target)||(this.activeNavDropdown=null,this.cdr.markForCheck()))}onNextClick(){this.navbarActions.handleNextClick(this.nextButtonDisabled,this.nextClick)}onPublishClick(){this.navbarActions.handlePublishClick(this.publishButtonDisabled,this.publishClick,this.publishButtonDisabledClick)}getActionButtonAriaLabel(t,e){return this.navbarActions.getActionButtonAriaLabel(t,e)}getStatusVariant(t){return this.navbarActions.getStatusVariant(t)}get userMenuProps(){return this.navbarMembership.getUserMenuProps(this.user,this.uiState.currentTheme,this.uiState.hover.item,this.uiState.hover.theme)}get hasOpenDropdown(){return this.navbarNavigation.hasOpenDropdown()}onFooterLinkClick(t,e){this.navbarNavigation.onFooterLinkClick(t,e)}toggleNavDropdown(t){this.navbarNavigation.toggleNavDropdown(t)}closeNavDropdown(){this.navbarNavigation.closeNavDropdown()}onNavLinkClick(t){this.navbarNavigation.onNavLinkClick(t)}onNavDropdownItemClick(t){this.navbarNavigation.onNavDropdownItemClick(t)}trackByNavLink(t,e){return e.label}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["lib-navbar"]],viewQuery:function(e,o){if(e&1&&J0(fp,5),e&2){let n;F0(n=D0())&&(o.navbarElement=n.first)}}
140,hostBindings:function(e,o){e&1&&V("resize",function(){return o.onWindowResize()},Kt)("click",function(s){return o.onDocumentClick(s)},K1)},inputs:{user:"user",notificationCount:"notificationCount",showNotifications:"showNotifications",showSearch:"showSearch",showThemeToggle:"showThemeToggle",showPageHeader:"showPageHeader",pageTitle:"pageTitle",authLoading:"authLoading",showNextButton:"showNextButton",showPublishButton:"showPublishButton",nextButtonDisabled:"nextButtonDisabled",publishButtonDisabled:"publishButtonDisabled",nextButtonText:"nextButtonText",nextButtonIcon:"nextButtonIcon",nextButtonIconPosition:"nextButtonIconPosition",publishButtonText:"publishButtonText",showStatus:"showStatus",statusText:"statusText",navLinks:"navLinks",transparentOnLoad:"transparentOnLoad",showLogo:"showLogo"},outputs:{logoutClick:"logoutClick",notificationClick:"notificationClick",searchOpen:"searchOpen",searchClose:"searchClose",mobileDrawerStateChange:"mobileDrawerStateChange",nextClick:"nextClick",publishClick:"publishClick",publishButtonDisabledClick:"publishButtonDisabledClick",uploadModalOpen:"uploadModalOpen"},features:[o0([Tw(),L0])],decls:17,vars:24,consts:[["navbarElement",""],[1,"navbar"],[1,"navbar-container"],[1,"navbar-left"],["href","/","aria-label","Go to homepage",1,"navbar-logo-link",3,"click"],["alt","uni.xyz","width","36","height","36","loading","eager","decoding","async",1,"navbar-logo",3,"src"],[1,"page-header",3,"visible"],[1,"navbar-center"],["data-tour-id","navbar-actions",1,"navbar-actions"],[1,"navbar-edit-controls"],["id","search","data-search-trigger","","icon","phosphorMagnifyingGlass","size","medium","variant","glass","ariaLabel","Open search",3,"circle"],["icon","phosphorCloudArrowUp","size","medium","variant","glass","ariaLabel","Upload to S3",3,"circle"],[3,"user","notificationCount","showNotificationPanel"],[1,"auth-buttons"],[3,"user","authLoading","showDropdown","isMobileView","isDarkTheme"],[1,"mobile-action-bar"],[1,"page-header"],[1,"page-title"],["aria-label","Main navigation",1,"nav-links"],[1,"nav-link-item"],[1,"nav-dropdown"],["variant","ghost","color","secondary","size","sm",1,"nav-link",3,"external","ariaLabel"],["variant","ghost","color","secondary","size","sm",1,"nav-link-button","dropdown-toggle",3,"onClick","blur","ariaLabel"],[1,"nav-link-label"],["name","phosphorCaretDown","size","16",1,"caret-icon"],[3,"itemClick","items","colorTheme"],["variant","ghost","color","secondary","size","sm",1,"nav-link",3,"onClick","ariaLabel"],["size","18",3,"name"],[1,"status-indicator"],["variant","outline","color","secondary","size","sm","shape","rounded",3,"icon","iconPosition","disabled","ariaLabel"],[2,"display","inline-flex"],[1,"status-text"],[1,"status-label"],["size","small",3,"variant"],["variant","outline","color","secondary","size","sm","shape","rounded",3,"onClick","icon","iconPosition","disabled","ariaLabel"],[2,"display","inline-flex",3,"click"],["variant","solid","color","primary","size","sm","shape","rounded","icon","phosphorRocket","iconPosition","start",3,"onClick","disabled","ariaLabel"],["id","search","data-search-trigger","","icon","phosphorMagnifyingGlass","size","medium","variant","glass","ariaLabel","Open search",3,"onClick","circle"],["icon","phosphorCloudArrowUp","size","medium","variant","glass","ariaLabel","Upload to S3",3,"onClick","circle"],[3,"notificationClick","panelClose","drawerStateChange","buttonHover","user","notificationCount","showNotificationPanel"],["variant","solid","color","primary","size","sm","shape","rounded","ariaLabel","Sign in",3,"onClick"],[3,"avatarClick","avatarBlur","user","authLoading","showDropdown","isMobileView","isDarkTheme"],[3,"dropdownClick","themeChange","logout","footerLinkClick","itemHover","themeHover","user","currentTheme","hasActiveMembership","membershipVariant","activeMemberships","hoveredItem","hoveredTheme"],["position","right",3,"closeDrawer","isOpen","showCustomHeader"],["drawer-header","",3,"user","hasActiveMembership","membershipVariant","activeMemberships"],[1,"mobile-menu-content"],[3,"dropdownClick","themeChange","logout","footerLinkClick","itemHover","themeHover","user","isMobileView","currentTheme","hasActiveMembership","membershipVariant","activeMemberships","hoveredItem","hoveredTheme"],[1,"mobile-action-container"],[1,"mobile-status-section"],[1,"mobile-buttons-section"]],template:function(e,o){if(e&1){let n=z(
140);p(0,"nav",1,0)(2,"div",2)(3,"div",3)(4,"a",4),V("click",function(i){return C(n),M(o.navigateToHome(i))}),b(5,"img",5),d(),u(6,xp,3,3,"div",6),d(),u(7,Bp,4,0,"div",7),p(8,"div",8),u(9,Op,4,3,"div",9),u(10,Tp,1,1,"uni-icon-button",10),u(11,Ip,1,1,"uni-icon-button",11),u(12,Fp,1,3,"lib-notification-button",12),u(13,Dp,3,0,"div",13),u(14,Up,2,6,"lib-user-avatar",14),u(15,jp,3,1),d()(),u(16,Qp,7,3,"div",15),d()}e&2&&(P("dark-theme",o.uiState.isDarkTheme)("scrolled",o.scrollState.isScrolled)("dropdown-open",o.hasOpenDropdown)("transparent-on-load",o.transparentOnLoad),F("data-theme",o.uiState.isDarkTheme?"dark":"light"),c(3),P("has-page-title",o.showPageHeader&&!!o.pageTitle),c(),P("navbar-logo-link--compact",!o.showLogo),c(),f("src",o.logoUrl,Y),c(),m(o.showPageHeader&&o.pageTitle?6:-1),c(),m(o.navLinks&&o.navLinks.length>0?7:-1),c(2),m((o.showStatus||o.showNextButton||o.showPublishButton)&&!o.uiState.isMobileView?9:-1),c(),m(o.showSearch?10:-1),c(),m(o.showSearch&&(o.user!=null&&o.user.is_staff)?11:-1),c(),m(o.showNotifications&&o.user&&!o.authLoading?12:-1),c(),m(!o.user&&!o.authLoading?13:-1),c(),m(o.user||o.authLoading?14:-1),c(),m(o.uiState.isMobileView?15:-1),c(),m(o.uiState.isMobileView&&(o.showStatus||o.showNextButton||o.showPublishButton)?16:-1))},dependencies:[t0,O2,y0,ca,Ut,Jl,Bw,yw],encapsulation:2,changeDetection:0})}return a})(),Fw=(()=>{class a{skipLinks=[{id:"skip-to-main",label:"Skip to main content",target:"#main-content",icon:"phosphorArrowDown"},{id:"skip-to-nav",label:"Skip to navigation",target:"#main-navigation",icon:"phosphorList"},{id:"skip-to-search",label:"Skip to search",target:"#search",icon:"phosphorMagnifyingGlass"}];trackByTarget(t,e){return e.target}onSkipLinkClick(t,e){t.preventDefault();let o=document.querySelector(e);if(o){o.hasAttribute("tabindex")||o.setAttribute("tabindex","-1");let n=window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth";o.scrollIntoView({behavior:n,block:"start"}),setTimeout(()=>{o.focus()},300)}}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["lib-skip-navigation"]],inputs:{skipLinks:"skipLinks"},features:[o0([P0({phosphorArrowDown:k6,phosphorList:G6,phosphorMagnifyingGlass:q6})])],decls:3,vars:2,consts:[["role","navigation","aria-label","Skip navigation",1,"skip-navigation"],[1,"skip-links"],["class","skip-link-item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"skip-link-item"],[1,"skip-link",3,"click","href"],["size","16","aria-hidden","true",3,"name",4,"ngIf"],["size","16","aria-hidden","true",3,"name"]],template:function(e,o){e&1&&(p(0,"nav",0)(1,"ul",1),u0(2,Xp,5,4,"li",2),d()()),e&2&&(c(2),f("ngForOf",o.skipLinks)("ngForTrackBy",o.trackByTarget))},dependencies:[t0,po,Y1,y0],styles:['.skip-navigation[_ngcontent-%COMP%]{position:absolute;top:0;left:0;z-index:var(--z-dropdown, 1000);width:100%;pointer-events:none}.skip-links[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;gap:var(--size-2);padding:var(--size-2)}.skip-link-item[_ngcontent-%COMP%]{margin:0}.skip-link[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--size-2);padding:var(--size-2) var(--size-4);background:var(--primary-600);color:var(--white);text-decoration:none;border-radius:var(--radius-md);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);border:var(--border-width-medium) solid transparent;transition:background-color var(--duration-fast) var(--easing-out),border-color var(--duration-fast) var(--easing-out),transform var(--duration-fast) var(--easing-out),opacity var(--duration-fast) var(--easing-out),box-shadow var(--duration-fast) var(--easing-out);pointer-events:auto;position:absolute;top:-200px;left:var(--size-2);opacity:0}.skip-link[_ngcontent-%COMP%]:focus, .skip-link[_ngcontent-%COMP%]:focus-visible{position:static;top:auto;left:auto;opacity:1;outline:var(--focus-ring-width) solid var(--primary-200);outline-offset:var(--focus-ring-offset);background:var(--primary-700);transform:translateY(2px);box-shadow:var(--shadow-lg)}.skip-link[_ngcontent-%COMP%]:hover:focus{background:var(--primary-800);border-color:var(--primary-400)}[data-theme="dark"][_nghost-%COMP%] .skip-link[_ngcontent-%COMP%], [data-theme="dark"] [_nghost-%COMP%] .skip-link[_ngcontent-%COMP%]{background:var(--primary-500)}[data-theme="dark"][_nghost-%COMP%] .skip-link[_ngcontent-%COMP%]:focus, [data-theme="dark"] [_nghost-%COMP%] .skip-link[_ngcontent-%COMP%]:focus, [data-theme="dark"][_nghost-%COMP%] .skip-link[_ngcontent-%COMP%]:focus-visible, [data-theme="dark"] [_nghost-%COMP%] .skip-link[_ngcontent-%COMP%]:focus-visible{background:var(--primary-600);outline-color:var(--primary-300)}[data-theme="dark"][_nghost-%COMP%] .skip-link[_ngcontent-%COMP%]:hover:focus, [data-theme="dark"] [_nghost-%COMP%] .skip-link[_ngcontent-%COMP%]:hover:focus{background:var(--primary-700)}@media (prefers-contrast: high){.skip-link[_ngcontent-%COMP%]{border:var(--border-width-medium) solid currentColor;background:var(--surface);color:var(--text-primary)}.skip-link[_ngcontent-%COMP%]:focus, .skip-link[_ngcontent-%COMP%]:focus-visible{background:var(--primary-600);color:var(--white);outline:var(--focus-ring-width-lg) solid var(--primary-200)}}@media (prefers-reduced-motion: reduce){.skip-link[_ngcontent-%COMP%]{transition:none!important}.skip-link[_ngcontent-%COMP%]:focus, .skip-link[_ngcontent-%COMP%]:focus-visible{transform:none!important}}'],changeDetection:0})}return a})(),Dw=(()=>{class a{toastService=v(U1);toasts$=this.toastService.toasts$;ngOnInit(){}getIcon(t){switch(t){case"success":return"matCheckCircle";case"error":return"matError";case"warning":return"matWarning";case"info":default:return"matInfo"}}getTypeClass(t){return`uni-toast-${t}`}close(t){this.toastService.remove(t)}runAction(t){t.action?.handler(),this.toastService.remove(t.id)}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-toast"]],features:[o0([P0({matClose:U8,matCheckCircle:In,matError:Gn,matInfo:i4,matWarning:ys})])],decls:4,vars:2,consts:[[1,"uni-toast-container"],[1,"uni-toast",3,"ngClass"],[1,"uni-toast-content"],[1,"uni-toast-icon",3,"name"],[1,"uni-toast-message"],[1,"uni-toast-action"],["aria-label","Close notification",1,"uni-toast-close",3,"click"],["name","matClose"],[1,"uni-toast-action",3,"click"]],template:function(e,o){e&1&&(p(0,"div",0),V0(1,tg,8,4,"div",1,f1),Ka(3,"async"),d()),e&2&&(c(),Z0(Qa(3,0,o.toasts$)))},dependencies:[t0,vo,go,y0],styles:['@charset "UTF-8";.uni-toast-container[_ngcontent-%COMP%]{position:fixed;top:var(--toast-top-offset, var(--size-20));right:var(--size-4);z-index:var(--z-toast);pointer-events:none}@media (max-width: 539.98px){.uni-toast-container[_ngcontent-%COMP%]{top:var(--toast-top-offset, var(--size-16));right:var(--size-3);left:var(--size-3)}}.uni-toast[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;min-width:var(--size-80);max-width:var(--size-96);margin-bottom:var(--size-3);padding:var(--size-4);background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);pointer-events:all;animation:_ngcontent-%COMP%_slideIn var(--duration-normal) var(--easing-in-out)}@media (max-width: 539.98px){.uni-toast[_ngcontent-%COMP%]{min-width:auto;max-width:100%}}.uni-toast-content[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--size-3);flex:1}.uni-toast-icon[_ngcontent-%COMP%]{font-size:var(--font-size-xl);flex-shrink:0}.uni-toast-message[_ngcontent-%COMP%]{color:var(--text-primary);font-size:var(--font-size-sm);line-height:var(--line-height-relaxed)}.uni-toast-close[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:var(--size-8);height:var(--size-8);margin-left:var(--size-2);padding:0;background:transparent;border:none;border-radius:var(--radius-md);
140cursor:pointer;color:var(--text-secondary);transition:all var(--duration-fast) var(--easing-out);flex-shrink:0}.uni-toast-close[_ngcontent-%COMP%]:hover{background:var(--bg-secondary);color:var(--text-primary)}.uni-toast-close[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%]{font-size:var(--font-size-lg);width:var(--font-size-lg);height:var(--font-size-lg);color:inherit;display:flex;align-items:center;justify-content:center}.uni-toast-success[_ngcontent-%COMP%]{border-left:var(--border-width-thick) solid var(--success-600)}.uni-toast-success[_ngcontent-%COMP%] .uni-toast-icon[_ngcontent-%COMP%]{color:var(--success-600)}.uni-toast-error[_ngcontent-%COMP%]{border-left:var(--border-width-thick) solid var(--error-600)}.uni-toast-error[_ngcontent-%COMP%] .uni-toast-icon[_ngcontent-%COMP%]{color:var(--error-600)}.uni-toast-warning[_ngcontent-%COMP%]{border-left:var(--border-width-thick) solid var(--warning-600)}.uni-toast-warning[_ngcontent-%COMP%] .uni-toast-icon[_ngcontent-%COMP%]{color:var(--warning-600)}.uni-toast-info[_ngcontent-%COMP%]{border-left:var(--border-width-thick) solid var(--info-600)}.uni-toast-info[_ngcontent-%COMP%] .uni-toast-icon[_ngcontent-%COMP%]{color:var(--info-600)}@keyframes _ngcontent-%COMP%_slideIn{0%{transform:translate(100%);opacity:var(--opacity-0)}to{transform:translate(0);opacity:var(--opacity-100)}}.uni-toast-action[_ngcontent-%COMP%]{flex-shrink:0;border:none;background:transparent;color:var(--primary-500);font-family:inherit;font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold, 600);padding:var(--size-1) var(--size-2);margin-left:var(--size-2);border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap}.uni-toast-action[_ngcontent-%COMP%]:hover, .uni-toast-action[_ngcontent-%COMP%]:focus-visible{background:color-mix(in srgb,var(--primary-500) 12%,transparent)}'],changeDetection:0})}return a})(),Ew=(()=>{class a{platformId;http=v(w0);cdr=v(b0);auth=v(Ve);destroy$=new a0;static DISMISS_KEY="uni_verify_banner_dismissed";visible=I(!1);busy=I(!1);sent=I(!1);email=I("");error=I("");constructor(t){this.platformId=t}ngOnInit(){L(this.platformId)&&(this.isDismissed()||this.auth.currentUser$.pipe(H1(this.destroy$)).subscribe(t=>{let e=t?.email_verified===!1;e!==this.visible()&&(this.email.set(t?.email||""),this.visible.set(e),this.cdr.markForCheck())}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}resend(){this.busy()||(this.busy.set(!0),this.http.post(p0("/api/v2/profiles/resend_verification/"),{},{withCredentials:!0}).subscribe({next:t=>{this.busy.set(!1),this.sent.set(!0),t?.email&&this.email.set(t.email),this.cdr.markForCheck()},error:t=>{this.busy.set(!1),t?.status===429?this.sent.set(!0):t?.status===409?this.visible.set(!1):this.error.set("Could not send just now. Please try again later."),this.cdr.markForCheck()}}))}dismiss(){this.visible.set(!1);try{localStorage.setItem(a.DISMISS_KEY,"1")}catch{}}isDismissed(){try{return localStorage.getItem(a.DISMISS_KEY)==="1"}catch{return!1}}static \u0275fac=function(e){return new(e||a)(Q(N))};static \u0275cmp=K({type:a,selectors:[["uni-verify-email-banner"]],features:[o0([P0({phosphorEnvelopeSimple:Xr,phosphorX:X6})])],decls:1,vars:1,consts:[["role","status",1,"verify-banner"],["name","phosphorEnvelopeSimple","size","18",1,"verify-banner__icon"],[1,"verify-banner__text"],["type","button",1,"verify-banner__action",3,"disabled"],["type","button","aria-label","Dismiss",1,"verify-banner__dismiss",3,"click"],["name","phosphorX","size","14"],["type","button",1,"verify-banner__action",3,"click","disabled"]],template:function(e,o){e&1&&u(0,ng,9,2,"div",0),e&2&&m(o.visible()?0:-1)},dependencies:[t0,y0],styles:[".verify-banner[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;margin:.75rem 1.5rem .25rem;padding:.75rem 1rem;border:1px solid var(--border, rgba(0, 0, 0, .08));border-radius:var(--radius-md, 8px);background:var(--surface-secondary, rgba(0, 0, 0, .02));color:var(--text-primary, var(--gray-800));font-size:.875rem;line-height:1.45}.verify-banner__icon[_ngcontent-%COMP%]{flex-shrink:0;color:var(--text-secondary, #6b6b6b)}.verify-banner__text[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0}.verify-banner__action[_ngcontent-%COMP%]{flex-shrink:0;padding:.4rem .85rem;border:1px solid var(--border, rgba(0, 0, 0, .12));border-radius:var(--radius-sm, 6px);background:var(--surface, #fff);color:inherit;font:inherit;font-weight:500;cursor:pointer;transition:background .15s ease,border-color .15s ease}.verify-banner__action[_ngcontent-%COMP%]:hover:not(:disabled){background:var(--surface-secondary, rgba(0, 0, 0, .04))}.verify-banner__action[_ngcontent-%COMP%]:disabled{opacity:.6;cursor:default}.verify-banner__dismiss[_ngcontent-%COMP%]{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;padding:0;border:0;border-radius:50%;background:transparent;color:var(--text-secondary, #6b6b6b);cursor:pointer}.verify-banner__dismiss[_ngcontent-%COMP%]:hover{background:var(--surface-secondary, rgba(0, 0, 0, .06))}.dark-theme[_nghost-%COMP%] .verify-banner[_ngcontent-%COMP%], .dark-theme [_nghost-%COMP%] .verify-banner[_ngcontent-%COMP%], [data-theme=dark][_nghost-%COMP%] .verify-banner[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .verify-banner[_ngcontent-%COMP%]{border-color:var(--border, rgba(255, 255, 255, .12));background:var(--surface-secondary, rgba(255, 255, 255, .04));color:var(--text-primary, #f2f2f2)}.dark-theme[_nghost-%COMP%] .verify-banner[_ngcontent-%COMP%] .verify-banner__action[_ngcontent-%COMP%], .dark-theme [_nghost-%COMP%] .verify-banner[_ngcontent-%COMP%] .verify-banner__action[_ngcontent-%COMP%], [data-theme=dark][_nghost-%COMP%] .verify-banner[_ngcontent-%COMP%] .verify-banner__action[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .verify-banner[_ngcontent-%COMP%] .verify-banner__action[_ngcontent-%COMP%]{border-color:var(--border, rgba(255, 255, 255, .16));background:var(--surface, rgba(255, 255, 255, .06))}@media (max-width: 640px){.verify-banner[_ngcontent-%COMP%]{margin:.5rem .75rem .25rem;flex-wrap:wrap;gap:.5rem}.verify-banner__text[_ngcontent-%COMP%]{flex:1 1 100%;order:1}.verify-banner__icon[_ngcontent-%COMP%]{order:0}.verify-banner__dismiss[_ngcontent-%COMP%]{order:0;margin-left:auto}.verify-banner__action[_ngcontent-%COMP%]{order:2;width:100%}}"],changeDetection:0})}return a})(),K0={user:null,authLoading:!1,notificationCount:0,pageTitle:"",showNextButton:!1,showPublishButton:!1,nextButtonDisabled:!1,publishButtonDisabled:!1,nextButtonText:"Next",publishButtonText:"Publish",showStatus:!1,statusText:""},p2={sections:[],collapsed:!1,showHeader:!0,showCollapseToggle:!1,allowCollapse:!1,headerTitle:"",headerIcon:""},Sl={pageSidebarSections:[],exploreGridSections:[]}
140,Ot={showIconSidebar:!0,showSidebarMenu:!0,showBottomNavigation:!0,showFooter:!0,layoutMode:"full-width"},Ce={currentEffectiveTheme:"light",showSearchModal:!1,isIconSidebarOpen:!1,isPageSidebarOpen:!1},Ax=(()=>{class a{cdr=v(b0);router=v(z0);platformId=v(N);isMobileViewport=I(!1);mobileQuery;onMobileQueryChange=t=>this.isMobileViewport.set(t.matches);isPrivateRoute=!1;constructor(){if(this.updatePrivateRoute(),this.router.events.pipe(H0(t=>t instanceof S0),n0()).subscribe(()=>this.updatePrivateRoute()),L(this.platformId)){let t=window.matchMedia("(max-width: 768px)");this.isMobileViewport.set(t.matches),t.addEventListener("change",this.onMobileQueryChange),this.mobileQuery=t}}ngOnDestroy(){this.mobileQuery?.removeEventListener("change",this.onMobileQueryChange)}updatePrivateRoute(){let t=this.isPrivateRoute;this.isPrivateRoute=this.routeHasGuard(this.router.routerState.snapshot.root),t!==this.isPrivateRoute&&this.cdr.markForCheck()}routeHasGuard(t){return t.routeConfig?.canActivate?.length?!0:t.children.some(e=>this.routeHasGuard(e))}currentEffectiveTheme=Ce.currentEffectiveTheme;user=K0.user;authLoading=K0.authLoading;notificationCount=K0.notificationCount;pageTitle=K0.pageTitle;showNextButton=K0.showNextButton;showPublishButton=K0.showPublishButton;nextButtonDisabled=K0.nextButtonDisabled;publishButtonDisabled=K0.publishButtonDisabled;nextButtonText=K0.nextButtonText;nextButtonIcon="phosphorArrowRight";nextButtonIconPosition="end";publishButtonText=K0.publishButtonText;showStatus=K0.showStatus;statusText=K0.statusText;navLinks=[];transparentNavbarOnLoad=!1;appsModalOpen=!1;sidebarSections=p2.sections;showFeedLink=!0;feedItem=null;DEFAULT_FEED_ITEM={id:"feed-home",label:"Back to Feed",icon:"matHome",route:"/",crossApp:!0};sidebarCollapsed=p2.collapsed;showSidebarHeader=p2.showHeader;showSidebarCollapseToggle=p2.showCollapseToggle;allowSidebarCollapse=p2.allowCollapse;sidebarHeaderTitle=p2.headerTitle;sidebarHeaderIcon=p2.headerIcon;sidebarHeaderImage=null;sidebarHeaderImageLowQuality=null;sidebarHeaderImageTitle=null;sidebarHeaderImageSubtitle=null;showSidebarHeaderImageButtons=!1;showSidebarHeaderImageRegisterButton=!0;showSidebarHeaderImageSubmitButton=!0;showSidebarHeaderImageViewResultsButton=!1;showSidebarHeaderImageVoteButton=!1;sidebarHeaderImageRegisterButtonText="Register";sidebarHeaderImageSubmitButtonText="Submit";sidebarHeaderImageViewResultsButtonText="View Results";sidebarHeaderImageVoteButtonText="Vote Now";sidebarHeaderImageRegisterInfoText=null;sidebarHeaderImageRegisterSubtext=null;sidebarHeaderImageRegisterButtonVariant="solid";sidebarHeaderImageRegisterButtonColor="primary";sidebarHeaderImageSubmitButtonVariant="outline";sidebarHeaderImageSubmitButtonColor="secondary";sidebarHeaderImageViewResultsInfoText=null;sidebarHeaderImageViewResultsLinkText=null;sidebarHeaderImageViewResultsLinkUrl=null;sidebarHeaderImageVoteInfoText=null;sidebarHeaderImageVoteLinkText=null;sidebarHeaderImageVoteLinkUrl=null;sidebarHeaderImageVoteButtonVariant="solid";sidebarHeaderImageVoteButtonColor="primary";showSidebarHeaderImageEvaluateButton=!1;sidebarHeaderImageEvaluateButtonText="Evaluate Entries";pageSidebarSections=Sl.pageSidebarSections;exploreGridSections=Sl.exploreGridSections;iconSidebarContextItem=null;showNavbar=!0;showIconSidebar=Ot.showIconSidebar;showSidebarMenu=Ot.showSidebarMenu;showBottomNavigation=Ot.showBottomNavigation;showFooter=Ot.showFooter;layoutMode=Ot.layoutMode;appMode=!1;mainContentRef;embedMode=!1;fullBleedContent=!1;showSearch=!0;showSearchModal=Ce.showSearchModal;showUploadModal=!1;skipLinks=[{id:"skip-to-main",label:"Skip to main content",target:"#main-content",icon:"phosphorArrowDown"},{id:"skip-to-nav",label:"Skip to navigation",target:"#main-navigation",icon:"phosphorList"},{id:"skip-to-search",label:"Skip to search",target:"[data-search-trigger]",icon:"phosphorMagnifyingGlass"}];isIconSidebarOpen=Ce.isIconSidebarOpen;isPageSidebarOpen=Ce.isPageSidebarOpen;searchOpen=new B;searchClose=new B;mobileDrawerStateChange=new B;nextClick=new B;publishClick=new B;publishButtonDisabledClick=new B;logoutClick=new B;iconSidebarItemClick=new B;sidebarMenuItemClick=new B;pageSidebarItemClick=new B;exploreGridItemClick=new B;sidebarHeaderImageRegisterClick=new B;sidebarHeaderImageSubmitClick=new B;sidebarHeaderImageViewResultsClick=new B;sidebarHeaderImageVoteClick=new B;sidebarHeaderImageEvaluateClick=new B;ngAfterViewInit(){this.cdr.markForCheck()}onSearchOpen(){this.searchOpen.emit()}onSearchClose(){this.searchClose.emit()}
140onNavbarDrawerStateChange(t){let e={iconSidebar:t,pageSidebar:!1};this.mobileDrawerStateChange.emit(e)}onNavbarNextClick(){this.nextClick.emit()}onNavbarPublishClick(){this.publishClick.emit()}onNavbarPublishButtonDisabledClick(){this.publishButtonDisabledClick.emit()}onLogout(){this.logoutClick.emit()}handleIconSidebarClick(t){this.iconSidebarItemClick.emit(t)}handleSidebarMenuClick(t){this.sidebarMenuItemClick.emit(t)}handlePageSidebarClick(t){this.pageSidebarItemClick.emit(t)}handleExploreGridClick(t){this.exploreGridItemClick.emit(t)}handleSidebarHeaderImageRegisterClick(){this.sidebarHeaderImageRegisterClick.emit()}handleSidebarHeaderImageSubmitClick(){this.sidebarHeaderImageSubmitClick.emit()}handleSidebarHeaderImageViewResultsClick(){this.sidebarHeaderImageViewResultsClick.emit()}handleSidebarHeaderImageEvaluateClick(){this.sidebarHeaderImageEvaluateClick.emit()}handleSidebarHeaderImageVoteClick(){this.sidebarHeaderImageVoteClick.emit()}onUploadModalOpen(){this.showUploadModal=!0}onUploadModalClose(){this.showUploadModal=!1}onMobileExploreOpen(){this.isIconSidebarOpen=!0,this.mobileDrawerStateChange.emit({iconSidebar:!0,pageSidebar:this.isPageSidebarOpen})}onMobileExploreClose(){this.isIconSidebarOpen=!1,this.mobileDrawerStateChange.emit({iconSidebar:!1,pageSidebar:this.isPageSidebarOpen})}onMobileNavigateOpen(){this.isPageSidebarOpen=!0,this.mobileDrawerStateChange.emit({iconSidebar:this.isIconSidebarOpen,pageSidebar:!0})}onMobileNavigateClose(){this.isPageSidebarOpen=!1,this.mobileDrawerStateChange.emit({iconSidebar:this.isIconSidebarOpen,pageSidebar:!1})}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["lib-layout-wrapper"]],viewQuery:function(e,o){if(e&1&&J0(sg,5),e&2){let n;F0(n=D0())&&(o.mainContentRef=n.first)}},inputs:{currentEffectiveTheme:"currentEffectiveTheme",user:"user",authLoading:"authLoading",notificationCount:"notificationCount",pageTitle:"pageTitle",showNextButton:"showNextButton",showPublishButton:"showPublishButton",nextButtonDisabled:"nextButtonDisabled",publishButtonDisabled:"publishButtonDisabled",nextButtonText:"nextButtonText",nextButtonIcon:"nextButtonIcon",nextButtonIconPosition:"nextButtonIconPosition",publishButtonText:"publishButtonText",showStatus:"showStatus",statusText:"statusText",navLinks:"navLinks",transparentNavbarOnLoad:"transparentNavbarOnLoad",sidebarSections:"sidebarSections",showFeedLink:"showFeedLink",feedItem:"feedItem",sidebarCollapsed:"sidebarCollapsed",showSidebarHeader:"showSidebarHeader",showSidebarCollapseToggle:"showSidebarCollapseToggle",allowSidebarCollapse:"allowSidebarCollapse",sidebarHeaderTitle:"sidebarHeaderTitle",sidebarHeaderIcon:"sidebarHeaderIcon",sidebarHeaderImage:"sidebarHeaderImage",sidebarHeaderImageLowQuality:"sidebarHeaderImageLowQuality",sidebarHeaderImageTitle:"sidebarHeaderImageTitle",sidebarHeaderImageSubtitle:"sidebarHeaderImageSubtitle",showSidebarHeaderImageButtons:"showSidebarHeaderImageButtons",showSidebarHeaderImageRegisterButton:"showSidebarHeaderImageRegisterButton",showSidebarHeaderImageSubmitButton:"showSidebarHeaderImageSubmitButton",showSidebarHeaderImageViewResultsButton:"showSidebarHeaderImageViewResultsButton",showSidebarHeaderImageVoteButton:"showSidebarHeaderImageVoteButton",sidebarHeaderImageRegisterButtonText:"sidebarHeaderImageRegisterButtonText",sidebarHeaderImageSubmitButtonText:"sidebarHeaderImageSubmitButtonText",sidebarHeaderImageViewResultsButtonText:"sidebarHeaderImageViewResultsButtonText",sidebarHeaderImageVoteButtonText:"sidebarHeaderImageVoteButtonText",sidebarHeaderImageRegisterInfoText:"sidebarHeaderImageRegisterInfoText",sidebarHeaderImageRegisterSubtext:"sidebarHeaderImageRegisterSubtext",sidebarHeaderImageRegisterButtonVariant:"sidebarHeaderImageRegisterButtonVariant",sidebarHeaderImageRegisterButtonColor:"sidebarHeaderImageRegisterButtonColor",sidebarHeaderImageSubmitButtonVariant:"sidebarHeaderImageSubmitButtonVariant",sidebarHeaderImageSubmitButtonColor:"sidebarHeaderImageSubmitButtonColor",sidebarHeaderImageViewResultsInfoText:"sidebarHeaderImageViewResultsInfoText",sidebarHeaderImageViewResultsLinkText:"sidebarHeaderImageViewResultsLinkText",sidebarHeaderImageViewResultsLinkUrl:"sidebarHeaderImageViewResultsLinkUrl",sidebarHeaderImageVoteInfoText:"sidebarHeaderImageVoteInfoText",sidebarHeaderImageVoteLinkText:"sidebarHeaderImageVoteLinkText",sidebarHeaderImageVoteLinkUrl:"sidebarHeaderImageVoteLinkUrl",sidebarHeaderImageVoteButtonVariant:"sidebarHeaderImageVoteButtonVariant",sidebarHeaderImageVoteButtonColor:"sidebarHeaderImageVoteButtonColor",showSidebarHeaderImageEvaluateButton:"showSidebarHeaderImageEvaluateButton",sidebarHeaderImageEvaluateButtonText:"sidebarHeaderImageEvaluateButtonText",pageSidebarSections:"pageSidebarSections",exploreGridSections:"exploreGridSections",iconSidebarContextItem:"iconSidebarContextItem",showNavbar:"showNavbar",showIconSidebar:"showIconSidebar",showSidebarMenu:"showSidebarMenu",showBottomNavigation:"showBottomNavigation",showFooter:"showFooter",layoutMode:"layoutMode",appMode:"appMode",embedMode:"embedMode",fullBleedContent:"fullBleedContent",showSearch:"showSearch",showSearchModal:"showSearchModal",skipLinks:"skipLinks",isIconSidebarOpen:"isIconSidebarOpen",
vendor: 4,568 bytes, line 140
140isPageSidebarOpen:"isPageSidebarOpen"},outputs:{searchOpen:"searchOpen",searchClose:"searchClose",mobileDrawerStateChange:"mobileDrawerStateChange",nextClick:"nextClick",publishClick:"publishClick",publishButtonDisabledClick:"publishButtonDisabledClick",logoutClick:"logoutClick",iconSidebarItemClick:"iconSidebarItemClick",sidebarMenuItemClick:"sidebarMenuItemClick",pageSidebarItemClick:"pageSidebarItemClick",exploreGridItemClick:"exploreGridItemClick",sidebarHeaderImageRegisterClick:"sidebarHeaderImageRegisterClick",sidebarHeaderImageSubmitClick:"sidebarHeaderImageSubmitClick",sidebarHeaderImageViewResultsClick:"sidebarHeaderImageViewResultsClick",sidebarHeaderImageVoteClick:"sidebarHeaderImageVoteClick",sidebarHeaderImageEvaluateClick:"sidebarHeaderImageEvaluateClick"},ngContentSelectors:lg,decls:24,vars:30,consts:[["mainContent",""],[1,"uni-layout"],[3,"skipLinks"],["id","main-navigation","role","banner",1,"uni-navbar-positioned",3,"with-sidebars","icon-sidebar-only","no-sidebars","user","authLoading","notificationCount","pageTitle","navLinks","transparentOnLoad","showSearch","showLogo","showNextButton","showPublishButton","nextButtonDisabled","publishButtonDisabled","nextButtonText","nextButtonIcon","nextButtonIconPosition","publishButtonText","showStatus","statusText"],[1,"uni-sidebar-content-wrapper"],[1,"uni-icon-sidebar-positioned",3,"contextItem"],[1,"uni-sidebar-menu-positioned",3,"sections","showFeedLink","feedItem","collapsed","showHeader","showCollapseToggle","allowCollapse","headerTitle","headerIcon","headerImage","headerImageLowQuality","headerImageTitle","headerImageSubtitle","showHeaderImageButtons","showHeaderImageRegisterButton","showHeaderImageSubmitButton","showHeaderImageViewResultsButton","showHeaderImageVoteButton","headerImageRegisterButtonText","headerImageSubmitButtonText","headerImageViewResultsButtonText","headerImageVoteButtonText","headerImageRegisterInfoText","headerImageRegisterSubtext","headerImageRegisterButtonVariant","headerImageRegisterButtonColor","headerImageSubmitButtonVariant","headerImageSubmitButtonColor","headerImageViewResultsInfoText","headerImageViewResultsLinkText","headerImageViewResultsLinkUrl","headerImageVoteInfoText","headerImageVoteLinkText","headerImageVoteLinkUrl","headerImageVoteButtonVariant","headerImageVoteButtonColor","showHeaderImageEvaluateButton","headerImageEvaluateButtonText"],["aria-hidden","true",1,"uni-sidebar-scrim"],["id","main-content","role","main","aria-label","Main content",1,"uni-page-content"],["id","main-navigation","role","banner",1,"uni-navbar-positioned",3,"searchOpen","searchClose","mobileDrawerStateChange","nextClick","publishClick","publishButtonDisabledClick","uploadModalOpen","logoutClick","user","authLoading","notificationCount","pageTitle","navLinks","transparentOnLoad","showSearch","showLogo","showNextButton","showPublishButton","nextButtonDisabled","publishButtonDisabled","nextButtonText","nextButtonIcon","nextButtonIconPosition","publishButtonText","showStatus","statusText"],[1,"uni-icon-sidebar-positioned",3,"allAppsClick","itemClick","contextItem"],[1,"uni-sidebar-menu-positioned",3,"itemClick","headerImageRegisterClick","headerImageSubmitClick","headerImageViewResultsClick","headerImageVoteClick","headerImageEvaluateClick","sections","showFeedLink","feedItem","collapsed","showHeader","showCollapseToggle","allowCollapse","headerTitle","headerIcon","headerImage","headerImageLowQuality","headerImageTitle","headerImageSubtitle","showHeaderImageButtons","showHeaderImageRegisterButton","showHeaderImageSubmitButton","showHeaderImageViewResultsButton","showHeaderImageVoteButton","headerImageRegisterButtonText","headerImageSubmitButtonText","headerImageViewResultsButtonText","headerImageVoteButtonText","headerImageRegisterInfoText","headerImageRegisterSubtext","headerImageRegisterButtonVariant","headerImageRegisterButtonColor","headerImageSubmitButtonVariant","headerImageSubmitButtonColor","headerImageViewResultsInfoText","headerImageViewResultsLinkText","headerImageViewResultsLinkUrl","headerImageVoteInfoText","headerImageVoteLinkText","headerImageVoteLinkUrl","headerImageVoteButtonVariant","headerImageVoteButtonColor","showHeaderImageEvaluateButton","headerImageEvaluateButtonText"],[1,"uni-footer-positioned"],["aria-hidden","true",1,"uni-footer-positioned","uni-footer-placeholder"],[1,"uni-bottom-nav-positioned",3,"allAppsClick","openIconSidebar","closeIconSidebar","openPageSidebar","closePageSidebar","pageSidebarItemClick","exploreGridItemClick","pageSidebarSections","exploreGridSections","scrollC
140ontainer"],["aria-hidden","true",1,"uni-bottom-nav-positioned"],[3,"close","show"],[3,"modalClose","isOpen"],[3,"closed","isOpen"]],template:function(e,o){e&1&&(Z1(ig),p(0,"div",1),b(1,"lib-skip-navigation",2),u(2,dg,1,24,"lib-navbar",3),p(3,"div",4),u(4,wg,1,1,"lib-icon-sidebar",5),u(5,ug,1,38,"lib-sidebar-menu",6),u(6,mg,1,0,"div",7),p(7,"main",8,0),b(9,"uni-verify-email-banner"),N0(10),u(11,Mg,4,0),d()(),N0(12,1),u(13,xg,4,1),u0(14,Vg,1,1),c1(15,14,hg),u0(17,Zg,1,1),c1(18,17,cg),u0(20,bg,1,1),c1(21,20,vg),b(23,"uni-toast"),d()),e&2&&(P("drawer-open",o.isIconSidebarOpen||o.isPageSidebarOpen)("simple-layout",o.layoutMode==="simple")("no-navbar",!o.showNavbar)("embed-mode",o.embedMode)("full-bleed",o.fullBleedContent)("app-mode",o.appMode),F("data-theme",o.currentEffectiveTheme)("aria-label","Main application layout"),c(),f("skipLinks",o.skipLinks),c(),m(o.showNavbar?2:-1),c(2),m(o.showIconSidebar?4:-1),c(),m(o.showSidebarMenu?5:-1),c(),m(o.showIconSidebar&&o.showSidebarMenu?6:-1),c(),P("sidebar-collapsed",o.sidebarCollapsed)("icon-sidebar-only",o.showIconSidebar&&!o.showSidebarMenu)("no-sidebars",!o.showIconSidebar&&!o.showSidebarMenu),c(4),m(o.showFooter&&!o.isPrivateRoute?11:-1),c(2),m(o.showBottomNavigation?13:-1),c(2),V1(o.showSearchModal),c(3),V1(o.showUploadModal),c(3),V1(o.appsModalOpen))},dependencies:[t0,Iw,dw,Hw,Dw,Fw,Ew],styles:[`@charset "UTF-8";.uni-layout{min-height:100vh;display:flex;flex-direction:column;background-color:var(--bg-primary);color:var(--text-primary);position:relative;width:100%;max-width:100%;overflow-x:clip;overflow-y:visible;transition:background-color var(--duration-slow) var(--easing-out),color var(--duration-slow) var(--easing-out)}@media (prefers-reduced-motion: reduce){.uni-layout{animation-duration:var(--duration-150)!important;transition-duration:var(--duration-150)!important;transition-delay:0ms!important;animation-delay:0ms!important}}.uni-layout.simple-layout,.uni-layout.simple-layout .uni-page-content{max-width:100%}.uni-layout.no-navbar .uni-page-content{margin-top:0;min-height:100vh}.uni-layout.embed-mode{min-height:auto;height:auto;overflow:hidden}.uni-layout.embed-mode .uni-sidebar-content-wrapper{flex:none;overflow:hidden}.uni-layout.embed-mode .uni-page-content{min-height:auto;margin-top:0;overflow:hidden}html:has(.embed-mode),body:has(.embed-mode){overflow:hidden!important;height:auto!important;min-height:auto!important}.uni-layout.full-bleed .uni-page-content{margin-top:0}.uni-sidebar-content-wrapper{display:flex;flex:1;position:relative;overflow-y:visible}.uni-page-content{flex:1;margin-top:calc(var(--navbar-height) + var(--size-2));margin-left:calc(var(--size-16) + var(--sidebar-width));min-height:calc(100vh - var(--navbar-height));background-color:var(--bg-primary);max-width:100%;overflow:visible;min-width:0;position:relative;transition:margin-left var(--duration-slow) var(--easing-out)}@media (prefers-reduced-motion: reduce){.uni-page-content{animation-duration:var(--duration-150)!important;transition-duration:var(--duration-150)!important;transition-delay:0ms!important;animation-delay:0ms!important}}.uni-page-content.sidebar-collapsed{margin-left:calc(var(--size-16) + var(--size-18))}.uni-page-content.icon-sidebar-only{margin-left:var(--size-16)}.uni-page-content.no-sidebars{margin-left:0}.uni-navbar-positioned{position:fixed!important;top:0;left:calc(var(--size-16) + var(--sidebar-width));width:calc(100% - var(--size-16) - var(--sidebar-width));z-index:var(--z-sticky);transition:left var(--duration-slow) var(--easing-out),width var(--duration-slow) var(--easing-out)}@media (prefers-reduced-motion: reduce){.uni-navbar-positioned{animation-duration:var(--duration-150)!important;transition-duration:var(--duration-150)!important;transition-delay:0ms!important;animation-delay:0ms!important}}.uni-navbar-positioned.icon-sidebar-only{left:var(--size-16);width:calc(100% - var(--size-16))}.uni-navbar-positioned.no-sidebars{left:0;width:100%}.uni-icon-sidebar-positioned{position:fixed;top:0;left:0;height:100vh;z-index:var(--z-dropdown)}.uni-sidebar-scrim{display:none}.uni-sidebar-menu-positioned{position:fixed;top:0;left:var(--size-16);height:100vh;width:var(--sidebar-width);z-index:var(--z-dropdown)}@media (min-width: 1024px) and (max-width: 1279.98px){.uni-page-content,.uni-page-content.sidebar-collapsed,.uni-page-content.icon-sidebar-only{margin-left:var(--size-16)}.uni-navbar-positioned,.uni-navbar-positioned.icon-sidebar-only,.uni-navbar-positioned.with-sidebars{left:var(--size-16);width:calc(100% - var(--size-16))}.uni-icon-sidebar-positioned{z-index:calc(var(--z-fixed) + 1)}.uni-sidebar-menu-positioned{transform:translate(-100%);opacity:0;pointer-events:none;transition:transform var(--duration-slow) var(--easing-out),opacity var(--duration-slow) var(--easing-out),box-shadow var(--duration-slow) var(--easing-out);box-shadow:none;z-index:var(--z-fixed)}.uni-icon-sidebar-positioned:hover~.uni-sidebar-menu-positioned,.uni-sidebar-menu-positioned:hover{transform:translate(0);opacity:1;pointer-events:auto;box-shadow:var(--shadow-xl)}.uni-sidebar-scrim{display:block;position:fixed;inset:0;background:var(--black-alpha-50);opacity:0;pointer-events:none;transition:opacity var(--duration-slow) var(--easing-out);z-index:calc(var(--z-fixed) - 1)}}@media (min-width: 1024px) and (max-width: 1279.98px) and (prefers-reduced-motion: reduce){.uni-sidebar-scrim{animation-duration:var(--duration-150)!important;transition-duration:var(--duration-150)!important;transition-delay:0ms!important;animation-delay:0ms!important}}@media (min-width: 1024px) and (max-width: 1279.98px){[data-theme=dark] .uni-sidebar-scrim{background:var(--black-alpha-70)}.uni-icon-sidebar-positioned:hover~.uni-sidebar-scrim,.uni-sidebar-menu-positioned:hover~.uni-sidebar-scrim{opacity:1}}@media (max-width: 1023.98px){.uni-page-content{margin-left:0;margin-top:var(--content-top-offset, calc(var(--navbar-height) + var(--size-2)));margin-bottom:var(--size-15)}.uni-page-content.icon-sidebar-only,.uni-page-content.sidebar-collapsed{margin-left:0}.uni-navbar-positioned{left:0;right:0;width:100%}.uni-navbar-positioned.icon-sidebar-only,.uni-navbar-positioned.with-sidebars{left:0;width:100%}.uni-icon-sidebar-positioned,.uni-sidebar-menu-positioned{display:none}}@media (max-width: 539.98px){.uni-page-content{margin-left:0;margin-bottom:var(--size-15)}.uni-navbar-positioned{left:0;right:0;width:100%}}@media (min-width: 768px){.uni-bottom-nav-positioned.uni-bottom-nav-positioned{display:none}}.uni-layout.app-mode,.uni-layout.app-mode .uni-sidebar-content-wrapper{height:100vh;overflow:hidden}.uni-layout.app-mode .uni-page-content{height:calc(100vh - var(--navbar-height) - var(--size-2));min-height:0;overflow:hidden;display:flex;flex-direction:column}.uni-layout.app-mode .uni-page-content>*:not(router-outlet):not(lib-footer){flex:1 1 auto;min-height:0}@media (max-width: 1023.98px){.uni-layout.app-mode .uni-page-content{margin-left:0;width:100%;max-width:100%;margin-top:var(--content-top-offset, calc(var(--navbar-height) + var(--size-2)));margin-bottom:var(--size-15);height:calc(100vh - var(--content-top-offset, calc(var(--navbar-height) + var(--size-2))) - var(--size-15));overflow-y:auto}}.uni-footer-placeholder{min-height:674px}@media (max-width: 767px){.uni-footer-placeholder{min-height:1275px}} 141`],encapsulation:2,changeDetection:0})}return a})();var Hx=(()=>{class a{constructor(){let t=v(q0,{optional:!0})?.snapshot?.data??{};
141for(let e of["variant","title","message","suggestion","showHomeButton","homeButtonText","homeRoute","showBackButton","backButtonText"])t[e]!==void 0&&(this[e]=t[e]);Q2(v(N))&&v(J1).addTag({name:"prerender-status-code",content:"404"})}variant="page";title="Page Not Found";message="The page you are looking for doesn't exist or has been moved.";suggestion;showHomeButton=!0;homeButtonText="Go to Home";homeRoute="/";showBackButton=!0;backButtonText="Go Back";goBack(){typeof window<"u"&&window.history.length>1&&window.history.back()}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-not-found"]],inputs:{variant:"variant",title:"title",message:"message",suggestion:"suggestion",showHomeButton:"showHomeButton",homeButtonText:"homeButtonText",homeRoute:"homeRoute",showBackButton:"showBackButton",backButtonText:"backButtonText"},decls:14,vars:8,consts:[[1,"uni-not-found"],[1,"uni-not-found__container"],[1,"uni-not-found__icon"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","1.5"],["viewBox","0 0 120 120","fill","none"],[1,"uni-not-found__content"],[1,"uni-not-found__title"],[1,"uni-not-found__message"],[1,"uni-not-found__suggestion"],[1,"uni-not-found__actions"],[1,"uni-not-found__btn","uni-not-found__btn--primary",3,"routerLink"],["type","button",1,"uni-not-found__btn","uni-not-found__btn--secondary"],["cx","12","cy","12","r","10"],["d","M12 8v4M12 16h.01"],["cx","60","cy","60","r","50","stroke","currentColor","stroke-width","2","opacity","0.2"],["cx","60","cy","60","r","35","stroke","currentColor","stroke-width","2","opacity","0.3"],["x","60","y","68","text-anchor","middle","font-size","28","font-weight","700","fill","currentColor"],["type","button",1,"uni-not-found__btn","uni-not-found__btn--secondary",3,"click"]],template:function(e,o){e&1&&(p(0,"div",0)(1,"div",1)(2,"div",2),u(3,_g,3,0,":svg:svg",3)(4,Bg,5,0,":svg:svg",4),d(),p(5,"div",5)(6,"h1",6),Z(7),d(),p(8,"p",7),Z(9),d(),u(10,zg,2,1,"p",8),d(),p(11,"div",9),u(12,yg,2,2,"a",10),u(13,Sg,2,1,"button",11),d()()()),e&2&&(t1("variant-"+o.variant),c(3),m(o.variant==="minimal"?3:4),c(4),O(o.title),c(2),O(o.message),c(),m(o.suggestion?10:-1),c(2),m(o.showHomeButton?12:-1),c(),m(o.showBackButton?13:-1))},dependencies:[t0,O2,s2],styles:['@charset "UTF-8";.uni-not-found[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:var(--spacing-xl);background:var(--bg-primary)}.uni-not-found__container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:var(--size-96);width:100%}.uni-not-found__icon[_ngcontent-%COMP%]{width:var(--size-30);height:var(--size-30);margin-bottom:var(--spacing-xl);color:var(--text-tertiary)}.uni-not-found__icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:100%;height:100%}.uni-not-found__content[_ngcontent-%COMP%]{margin-bottom:var(--spacing-xl)}.uni-not-found__title[_ngcontent-%COMP%]{font-size:var(--font-size-3xl);font-weight:var(--font-weight-bold);color:var(--text-primary);margin:0 0 var(--spacing-md) 0;line-height:var(--line-height-tight)}.uni-not-found__message[_ngcontent-%COMP%]{font-size:var(--font-size-lg);color:var(--text-secondary);margin:0;line-height:var(--line-height-relaxed)}.uni-not-found__suggestion[_ngcontent-%COMP%]{font-size:var(--font-size-sm);color:var(--text-tertiary);margin:var(--spacing-md) 0 0 0;line-height:var(--line-height-normal)}.uni-not-found__actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:var(--spacing-md);justify-content:center}.uni-not-found__btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:var(--spacing-sm) var(--spacing-xl);font-size:var(--font-size-base);font-weight:var(--font-weight-medium);border-radius:var(--radius-lg);text-decoration:none;cursor:pointer;transition:all var(--transition-fast);border:none;min-width:var(--size-36)}.uni-not-found__btn--primary[_ngcontent-%COMP%]{background:var(--primary);color:var(--text-on-primary)}.uni-not-found__btn--primary[_ngcontent-%COMP%]:hover{background:var(--primary-hover-bg);transform:translateY(calc(-1 * var(--size-px)))}.uni-not-found__btn--primary[_ngcontent-%COMP%]:active{transform:translateY(0)}.uni-not-found__btn--secondary[_ngcontent-%COMP%]{background:var(--bg-secondary);color:var(--text-primary);border:var(--border-width-thin) solid var(--border)}.uni-not-found__btn--secondary[_ngcontent-%COMP%]:hover{background:var(--bg-tertiary);border-color:var(--border-hover)}.uni-not-found.variant-resource[_ngcontent-%COMP%]{min-height:var(--size-96);padding:var(--spacing-2xl);background:transparent}.uni-not-found.variant-resource[_ngcontent-%COMP%] .uni-not-found__icon[_ngcontent-%COMP%]{width:var(--size-20);height:var(--size-20);margin-bottom:var(--spacing-lg)}.uni-not-found.variant-resource[_ngcontent-%COMP%] .uni-not-found__title[_ngcontent-%COMP%]{font-size:var(--font-size-2xl)}.uni-not-found.variant-resource[_ngcontent-%COMP%] .uni-not-found__message[_ngcontent-%COMP%]{font-size:var(--font-size-base)}.uni-not-found.variant-minimal[_ngcontent-%COMP%]{min-height:var(--size-50);padding:var(--spacing-lg);background:transparent}.uni-not-found.variant-minimal[_ngcontent-%COMP%] .uni-not-found__container[_ngcontent-%COMP%]{max-width:var(--size-80)}.uni-not-found.variant-minimal[_ngcontent-%COMP%] .uni-not-found__icon[_ngcontent-%COMP%]{width:var(--size-12);height:var(--size-12);margin-bottom:var(--spacing-md)}.uni-not-found.variant-minimal[_ngcontent-%COMP%] .uni-not-found__title[_ngcontent-%COMP%]{font-size:var(--font-size-lg);margin-bottom:var(--spacing-sm)}.uni-not-found.variant-minimal[_ngcontent-%COMP%] .uni-not-found__message[_ngcontent-%COMP%]{font-size:var(--font-size-sm)}.uni-not-found.variant-minimal[_ngcontent-%COMP%] .uni-not-found__content[_ngcontent-%COMP%]{margin-bottom:var(--spacing-md)}.uni-not-found.variant-minimal[_ngcontent-%COMP%] .uni-not-found__btn[_ngcontent-%COMP%]{padding:var(--spacing-xs) var(--spacing-lg);font-size:var(--font-size-sm);min-width:var(--size-24)}@media (max-width: 539.98px){.uni-not-found[_ngcontent-%COMP%]{padding:var(--spacing-lg)}.uni-not-found__icon[_ngcontent-%COMP%]{width:var(--size-20);height:var(--size-20)}.uni-not-found__title[_ngcontent-%COMP%]{font-size:var(--font-size-2xl)}.uni-not-found__message[_ngcontent-%COMP%]{font-size:var(--font-size-base)}.uni-not-found__actions[_ngcontent-%COMP%]{flex-direction:column;width:100%}.uni-not-found__btn[_ngcontent-%COMP%]{width:100%}}[data-theme=dark][_nghost-%COMP%] .uni-not-found__btn--secondary[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .uni-not-found__btn--secondary[_ngcontent-%COMP%]{background:var(--bg-tertiary)}'],changeDetection:0})}return a})();function xx(a,r="Someone"){return a?a.first_name?a.last_name?`${a.first_name} ${a.last_name}
141`:a.first_name:a.username||r:r}var Vx=(()=>{class a{http=v(w0);platformId=v(N);footerData$=new X(null);isLoading$=new X(!1);loadingError$=new X(!1);maxRetries=3;cacheKey="uni_footer_data";cacheDuration=24*60*60*1e3;fallbackFooterSections=[{title:"Product",links:[{label:"For designers",route:"/about/designers"},{label:"Competitions",route:"/competitions"},{label:"Projects",route:"/projects"},{label:"Membership",route:"/about/designers/membership"},{label:"For business",route:"/about/business"}]},{title:"Resources",links:[{label:"Journals",route:"/journals"},{label:"Help Center",route:"/help"},{label:"Community",route:"/policy/community/guidelines"},{label:"Publications",route:"/publications"}]},{title:"Company",links:[{label:"About Us",route:"/about"},{label:"Our Story",route:"/story"},{label:"Careers",route:"/careers"},{label:"Partners",route:"/about/business/partner"},{label:"Contact",route:"/contact"}]},{title:"Legal",links:[{label:"Privacy Policy",route:"/policy/general-terms/privacy"},{label:"Terms of Service",route:"/policy/general-terms/terms-of-service"},{label:"Cookie Policy",route:"/policy/general-terms/cookie"},{label:"GDPR",route:"/policy/general-terms/privacy"},{label:"Licenses",route:"/policy/licensing/copyright"}]}];footerData=this.footerData$.asObservable();isLoading=this.isLoading$.asObservable();loadingError=this.loadingError$.asObservable();loadFooterData(){if(this.isLoading$.value)return this.footerData;let t=this.getCachedFooterData();if(t)return this.footerData$.next(t),y(t);this.isLoading$.next(!0),this.loadingError$.next(!1);let e=this.getApiUrl("/api/v2/footer/");return this.http.get(e).pipe(T(o=>o[0]),Ca({count:this.maxRetries,delay:(o,n)=>{let s=Math.pow(2,n-1)*1e3;return ma(s)}}),J(o=>{o&&(this.footerData$.next(o),this.cacheFooterData(o)),this.isLoading$.next(!1)}),l0(o=>(console.error("Error loading footer data:",o),this.isLoading$.next(!1),this.loadingError$.next(!0),this.footerData$.next(null),y(null))),s1(1))}mapApiDataToLocalFormat(t){return t.footer_section.map(e=>({title:e.title,links:e.footer_link.map(o=>({label:o.title,href:o.link,external:this.isExternalLink(o.link)}))}))}getRandomFootnote(t){if(t.foot_note&&Array.isArray(t.foot_note)&&t.foot_note.length>0){let e=Math.floor(Math.random()*t.foot_note.length);return t.foot_note[e]}return null}getSocialLabel(t){if(!t)return"Social Link";let e=t.toLowerCase();return e.includes("facebook")?"Facebook":e.includes("twitter")||e.includes("x.com")?"X":e.includes("linkedin")?"LinkedIn":e.includes("instagram")?"Instagram":e.includes("youtube")?"YouTube":e.includes("github")?"GitHub":e.includes("discord")?"Discord":e.includes("pinterest")?"Pinterest":"Social Link"}getSocialIcon(t){if(!t)return"phosphorFacebookLogoFill";let e=t.toLowerCase();return e.includes("facebook")?"phosphorFacebookLogoFill":e.includes("twitter")?"phosphorTwitterLogoFill":e.includes("x.com")?"phosphorXLogoFill":e.includes("linkedin")?"phosphorLinkedinLogoFill":e.includes("instagram")?"phosphorInstagramLogoFill":e.includes("youtube")?"phosphorYoutubeLogoFill":e.includes("github")?"phosphorGithubLogoFill":e.includes("discord")?"phosphorDiscordLogoFill":e.includes("pinterest")?"phosphorPinterestLogoFill":"phosphorFacebookLogoFill"}refreshFooterData(){return this.clearCache(),this.loadFooterData()}isExternalLink(t){try{return!new URL(t).hostname.includes("uni.xyz")}catch{return!1}}getApiUrl(t){if(!L(this.platformId))return`https://uni.xyz${t}`;let e=window.location.hostname,o="";return e.includes("dev.uni.xyz")?o="https://dev.uni.xyz":e.includes("uni.xyz")?o="https://uni.xyz":o="http://localhost:8000",`${o}${t}`}getCachedFooterData(){if(!L(this.platformId))return null;try{let t=localStorage.getItem(this.cacheKey);if(t){let{data:e,timestamp:o}=JSON.parse(t);if(Date.now()-o<this.cacheDuration)return e}}catch(t){console.error("Cache read error:",t)}return null}cacheFooterData(t){if(L(this.platformId))try{localStorage.setItem(this.cacheKey,JSON.stringify({data:t,timestamp:Date.now()}))}catch(e){console.error("Cache write error:",e)}}clearCache(){if(L(this.platformId))try{localStorage.removeItem(this.cacheKey)}catch(t){console.error("Cache clear error:",t)}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var Zx=(()=>{class a{label="";placeholder="Enter password";hint="";errorMessage="";error=!1;required=!1;disabled=!1;showStrength=!1;showSuggestions=!1;autocomplete="current-password";inputId=`password-${Math.random().toString(36).substr(2,9)}`;passwordChange=new B;strengthChange=new B;showPassword=I(!1);value=I("");onChange=()=>{};onTouched=()=>{};passwordStrength=v0(()=>{let t=this.value();if(!t)return{level:"weak",percentage:0,text:"",suggestions:[]};let e=0,o=[];[{regex:/.{8,}/,weight:20,suggestion:"Use at least 8 characters"},{regex:/[a-z]/,weight:15,suggestion:"Add lowercase letters"},{regex:/[A-Z]/,weight:15,suggestion:"Add uppercase letters"},{regex:/[0-9]/,weight:20,suggestion:"Add numbers"},{regex:/[^A-Za-z0-9]/,weight:25,suggestion:"Add special characters (!@#$%^&*)"},{regex:/.{12,}/,weight:5,suggestion:"Use 12+ characters for extra security"}
141].forEach(g=>{g.regex.test(t)?e+=g.weight:o.push(g.suggestion)}),["123","abc","password","qwerty","111","000"].some(g=>t.toLowerCase().includes(g))&&(e=Math.max(0,e-15),o.includes("Avoid common patterns and sequences")||o.push("Avoid common patterns and sequences")),e=Math.min(e,100);let i,l;return e<35?(i="weak",l="Weak"):e<65?(i="md",l="Medium"):(i="strong",l="Strong"),{level:i,percentage:e,text:l,suggestions:o.slice(0,3)}});writeValue(t){this.value.set(t||"")}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}onValueChange(t){if(this.value.set(t),this.onChange(t),this.passwordChange.emit(t),this.showStrength){let e=this.passwordStrength();this.strengthChange.emit({level:e.level,percentage:e.percentage})}}togglePasswordVisibility(){this.showPassword.update(t=>!t)}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-password-field"]],inputs:{label:"label",placeholder:"placeholder",hint:"hint",errorMessage:"errorMessage",error:"error",required:"required",disabled:"disabled",showStrength:"showStrength",showSuggestions:"showSuggestions",autocomplete:"autocomplete",inputId:"inputId"},outputs:{passwordChange:"passwordChange",strengthChange:"strengthChange"},features:[o0([{provide:zt,useExisting:i1(()=>a),multi:!0}])],decls:10,vars:19,consts:[[1,"uni-password-field"],[1,"uni-password-field__label",3,"for"],[1,"uni-password-field__wrapper"],[1,"form-input",3,"ngModelChange","blur","id","type","placeholder","required","disabled","autocomplete","ngModel"],["type","button","tabindex","-1",1,"uni-password-field__toggle",3,"click","disabled"],["size","20",3,"name"],[1,"uni-password-field__hint"],[1,"uni-password-field__error"],[1,"uni-password-field__strength"],[1,"uni-password-field__suggestions"],[1,"required"],[1,"strength-bar"],[1,"strength-fill"],[1,"strength-text"],[1,"suggestions-title"],[1,"suggestions-list"]],template:function(e,o){e&1&&(p(0,"div",0),u(1,Pg,3,3,"label",1),p(2,"div",2)(3,"input",3),V("ngModelChange",function(s){return o.onValueChange(s)})("blur",function(){return o.onTouched()}),d(),p(4,"button",4),V("click",function(){return o.togglePasswordVisibility()}),b(5,"ng-icon",5),d()(),u(6,Og,2,1,"div",6),u(7,Tg,2,1,"div",7),u(8,Ig,5,15,"div",8),u(9,Dg,6,0,"div",9),d()),e&2&&(P("disabled",o.disabled),c(),m(o.label?1:-1),c(2),P("error",o.error),f("id",o.inputId)("type",o.showPassword()?"text":"password")("placeholder",o.placeholder)("required",o.required)("disabled",o.disabled)("autocomplete",o.autocomplete)("ngModel",o.value()),c(),f("disabled",o.disabled),F("aria-label",o.showPassword()?"Hide password":"Show password"),c(),f("name",o.showPassword()?"matVisibilityOff":"matVisibility"),c(),m(o.hint&&!o.error?6:-1),c(),m(o.error&&o.errorMessage?7:-1),c(),m(o.showStrength&&o.value()?8:-1),c(),m(o.showSuggestions&&o.value()&&o.passwordStrength().suggestions.length>0?9:-1))},dependencies:[t0,Ri,ae,zi,O4,P4,y0],styles:[".uni-password-field[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%}.uni-password-field.disabled[_ngcontent-%COMP%]{opacity:var(--opacity-50);pointer-events:none}.uni-password-field__label[_ngcontent-%COMP%]{font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--text-primary);margin-bottom:var(--spacing-xs)}.uni-password-field__label[_ngcontent-%COMP%] .required[_ngcontent-%COMP%]{color:var(--error);margin-left:var(--spacing-0-5)}.uni-password-field__wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center}.form-input[_ngcontent-%COMP%]{width:100%;padding:var(--spacing-sm) var(--size-12) var(--spacing-sm) var(--spacing-md);background:var(--surface);border:var(--border-width-thin) solid var(--border);border-radius:var(--radius-md);font-size:var(--font-size-sm);color:var(--text-primary);transition:all var(--duration-normal) var(--easing-in-out);line-height:var(--line-height-normal)}.form-input[_ngcontent-%COMP%]::placeholder{color:var(--text-tertiary)}.form-input[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--primary);box-shadow:var(--focus-ring-primary)}.form-input[_ngcontent-%COMP%]:disabled{background:var(--bg-tertiary);color:var(--text-tertiary);cursor:not-allowed}.form-input.error[_ngcontent-%COMP%]{border-color:var(--error)}.form-input.error[_ngcontent-%COMP%]:focus{box-shadow:var(--focus-ring-error)}.uni-password-field__toggle[_ngcontent-%COMP%]{position:absolute;right:var(--size-3);padding:var(--size-1) var(--size-1-5);background:transparent;border:none;border-radius:var(--radius-full);color:var(--text-tertiary);cursor:pointer;transition:color var(--duration-normal) var(--easing-in-out),background-color var(--duration-normal) var(--easing-in-out)}.uni-password-field__toggle[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--bg-secondary);color:var(--text-secondary)}.uni-password-field__toggle[_ngcontent-%COMP%]:focus{outline:none;box-shadow:var(--focus-ring-primary-strong)}.uni-password-field__toggle[_ngcontent-%COMP%]:disabled{cursor:not-allowed;opacity:var(--opacity-50)}.uni-password-field__hint[_ngcontent-%COMP%], .uni-password-field__error[_ngcontent-%COMP%]{font-size:var(--font-size-xs);line-height:var(--line-height-normal)}.uni-password-field__hint[_ngcontent-%COMP%]{color:var(--text-secondary)}.uni-password-field__error[_ngcontent-%COMP%]{color:var(--error);font-size:var(--font-size-xs);margin-top:var(--size-1-5);display:block;font-weight:var(--font-weight-medium)}.uni-password-field__strength[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--size-2)}.uni-password-field__strength[_ngcontent-%COMP%] .strength-bar[_ng
141content-%COMP%]{flex:1;height:var(--size-1);background-color:var(--bg-tertiary);border-radius:var(--radius-full);overflow:hidden}.uni-password-field__strength[_ngcontent-%COMP%] .strength-fill[_ngcontent-%COMP%]{height:100%;transition:all var(--duration-slow) var(--easing-in-out)}.uni-password-field__strength[_ngcontent-%COMP%] .strength-fill.weak[_ngcontent-%COMP%]{background-color:var(--error)}.uni-password-field__strength[_ngcontent-%COMP%] .strength-fill.medium[_ngcontent-%COMP%]{background-color:var(--warning)}.uni-password-field__strength[_ngcontent-%COMP%] .strength-fill.strong[_ngcontent-%COMP%]{background-color:var(--success)}.uni-password-field__strength[_ngcontent-%COMP%] .strength-text[_ngcontent-%COMP%]{font-size:var(--font-size-xs);font-weight:var(--font-weight-medium);min-width:var(--size-16)}.uni-password-field__strength[_ngcontent-%COMP%] .strength-text.weak[_ngcontent-%COMP%]{color:var(--error)}.uni-password-field__strength[_ngcontent-%COMP%] .strength-text.medium[_ngcontent-%COMP%]{color:var(--warning)}.uni-password-field__strength[_ngcontent-%COMP%] .strength-text.strong[_ngcontent-%COMP%]{color:var(--success)}.uni-password-field__suggestions[_ngcontent-%COMP%]{margin-top:var(--size-3)}.uni-password-field__suggestions[_ngcontent-%COMP%] .suggestions-title[_ngcontent-%COMP%]{font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--text-secondary);margin-bottom:var(--size-2)}.uni-password-field__suggestions[_ngcontent-%COMP%] .suggestions-list[_ngcontent-%COMP%]{margin:0;padding-left:var(--size-4);list-style-type:disc}.uni-password-field__suggestions[_ngcontent-%COMP%] .suggestions-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:var(--font-size-xs);color:var(--text-tertiary);margin-bottom:var(--size-1)}.uni-password-field__suggestions[_ngcontent-%COMP%] .suggestions-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-bottom:0}"],changeDetection:0})}return a})();var bx=(()=>{class a{type="text";animation="pulse";width;height;borderRadius;short=!1;responsive=!0;getSkeletonClasses(){let t=[`uni-skeleton--${this.type}`,`uni-skeleton--${this.animation}`];return this.short&&this.type==="text"&&t.push("uni-skeleton--short"),this.responsive&&t.push("uni-skeleton--responsive"),t.join(" ")}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-skeleton-loader"]],inputs:{type:"type",animation:"animation",width:"width",height:"height",borderRadius:"borderRadius",short:"short",responsive:"responsive"},decls:1,vars:9,consts:[[1,"uni-skeleton"]],template:function(e,o){e&1&&b(0,"div",0),e&2&&(t1(o.getSkeletonClasses()),v1("width",o.width)("height",o.height)("border-radius",o.borderRadius),F("aria-label","Loading "+o.type))},dependencies:[t0],styles:['@charset "UTF-8";.uni-skeleton[_ngcontent-%COMP%]{background:var(--bg-secondary);border-radius:var(--radius-sm);display:block}.uni-skeleton[_ngcontent-%COMP%]:empty{display:block}.uni-skeleton--pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_uni-skeleton-pulse var(--duration-skeleton) var(--easing-in-out) infinite}.uni-skeleton--shimmer[_ngcontent-%COMP%]{background:linear-gradient(90deg,var(--bg-secondary) 25%,var(--bg-tertiary) 50%,var(--bg-secondary) 75%);background-size:200% 100%;animation:_ngcontent-%COMP%_uni-skeleton-shimmer var(--duration-skeleton) var(--easing-in-out) infinite}.uni-skeleton--chip[_ngcontent-%COMP%]{width:var(--size-20);height:var(--size-6);border-radius:var(--radius-full);margin-bottom:var(--spacing-xs)}.uni-skeleton--title[_ngcontent-%COMP%]{width:var(--skeleton-width-medium);height:var(--size-8);border-radius:var(--radius-sm);margin-bottom:var(--spacing-md)}.uni-skeleton--subtitle[_ngcontent-%COMP%]{width:40%;height:var(--size-5);border-radius:var(--radius-sm);margin-bottom:var(--spacing-sm)}.uni-skeleton--text-primary[_ngcontent-%COMP%]{width:100%;max-width:90%;height:var(--size-4);border-radius:var(--radius-sm);margin-bottom:var(--spacing-xs)}.uni-skeleton--text-primary.uni-skeleton--short[_ngcontent-%COMP%]{width:70%}.uni-skeleton--price[_ngcontent-%COMP%]{width:var(--size-20);height:var(--size-6);border-radius:var(--radius-sm);margin-bottom:var(--spacing-xs)}.uni-skeleton--image[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:var(--radius-lg);aspect-ratio:var(--aspect-ratio-16-9)}@media (max-width: 539.98px){.uni-skeleton--responsive.uni-skeleton--title[_ngcontent-%COMP%]{width:var(--skeleton-width-long);height:var(--size-7)}}@media (max-width: 539.98px){.uni-skeleton--responsive.uni-skeleton--chip[_ngcontent-%COMP%]{height:var(--size-5);font-size:var(--font-size-xs)}}@media (max-width: 539.98px){.uni-skeleton--responsive.uni-skeleton--price[_ngcontent-%COMP%]{width:var(--size-16);height:var(--size-5)}}@keyframes _ngcontent-%COMP%_uni-skeleton-pulse{0%{opacity:var(--opacity-40)}50%{opacity:var(--opacity-100)}to{opacity:var(--opacity-40)}}@keyframes _ngcontent-%COMP%_uni-skeleton-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.uni-skeleton-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--spacing-sm)}.uni-skeleton-card[_ngcontent-%COMP%]{padding:var(--spacing-md);border:var(--border-width-thin) solid var(--border);border-radius:var(--radius-lg)}.uni-skeleton-card[_ngcontent-%COMP%] .uni-skeleton[_ngcontent-%COMP%]{margin-bottom:var(--spacing-sm)}.uni-skeleton-card[_ngcontent-%COMP%] .uni-skeleton[_ngcontent-%COMP%]:last-child{margin-bottom:0}.uni-skeleton-list-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--spacing-sm);padding:var(--spacing-sm)}.uni-skeleton-list-item[_ngcontent-%COMP%] .uni-skeleton--image[_ngcontent-%COMP%]{width:var(--size-10);height:var(--size-10);flex-shrink:0;border-radius:var(--radius-full)}.uni-skeleton-list-item[_ngcontent-%COMP%] .uni-skeleton-content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:var(--spacing-xs)}'],changeDetection:0})}return a})();var Lx=(()=>{class a{platformId=v(N);imageUrl;alt="Logo";variant="default";showDeleteButton=!0;alwaysShowActions=!1;uploadButtonTitle="Upload new logo";deleteButtonTitle="Delete logo";config={};events={};
141isUploading=!1;disabled=!1;hasError=!1;uploadRequested=new B;deleteRequested=new B;fileSelected=new B;uploadStarted=new B;uploadCompleted=new B;uploadFailed=new B;deleteStarted=new B;deleteCompleted=new B;deleteFailed=new B;validationFailed=new B;fileInput;isDragOver=!1;get size(){return this.variant==="sm"?120:240}get acceptString(){return this.config.acceptedFormats?.join(",")||"image/jpeg,image/jpg,image/png,image/svg+xml"}get maxSize(){return(this.config.maxSizeInMB||2)*1024*1024}get placeholderIconSize(){return Math.floor(this.size*.4)+""}onUploadClick(){this.isUploading||this.disabled||(this.uploadRequested.emit(),this.fileInput.nativeElement.click())}onDeleteClick(t){t.stopPropagation(),!(this.isUploading||this.disabled||this.config.requireConfirmation!==!1&&L(this.platformId)&&!confirm("Are you sure you want to delete this logo?"))&&(this.deleteRequested.emit(),this.deleteStarted.emit(),this.events.deleteSuccess&&this.events.deleteSuccess(),this.deleteCompleted.emit())}onFileSelected(t){let e=t.target;if(!e.files||!e.files[0])return;let o=e.files[0];this.processFile(o),this.resetFileInput()}onDragOver(t){this.disabled||this.isUploading||(t.preventDefault(),t.stopPropagation(),this.isDragOver=!0)}onDragLeave(t){this.disabled||this.isUploading||(t.preventDefault(),t.stopPropagation(),this.isDragOver=!1)}onDrop(t){if(this.disabled||this.isUploading)return;t.preventDefault(),t.stopPropagation(),this.isDragOver=!1;let e=t.dataTransfer?.files[0];e&&this.processFile(e)}processFile(t){let e=this.validateFile(t);if(e){this.validationFailed.emit(e),this.uploadFailed.emit(e),this.events.validationError?.(e);return}this.uploadStarted.emit(t),this.createPreview(t).then(o=>{let n={file:t,preview:o};this.fileSelected.emit(n),this.uploadCompleted.emit(n),this.events.uploadSuccess&&this.events.uploadSuccess(t,o)}).catch(o=>{let n="Failed to process image";this.uploadFailed.emit(n),this.events.uploadError?.(n)})}validateFile(t){if(this.config.customValidation){let o=this.config.customValidation(t);if(o)return o}return(this.config.acceptedFormats||["image/jpeg","image/jpg","image/png","image/svg+xml"]).some(o=>t.type===o||t.type.match(o.replace("*",".*")))?t.size>this.maxSize?`File size must be less than ${this.config.maxSizeInMB||2}MB`:null:"Please select a valid image file (JPG, PNG, or SVG)"}createPreview(t){return new Promise((e,o)=>{if(t.type==="image/svg+xml"){let n=new FileReader;n.onload=()=>{let s=new Blob([n.result],{type:"image/svg+xml"});e(URL.createObjectURL(s))},n.onerror=o,n.readAsText(t)}else{let n=new FileReader;n.onload=()=>e(n.result),n.onerror=o,n.readAsDataURL(t)}})}resetFileInput(){this.fileInput?.nativeElement&&(this.fileInput.nativeElement.value="")}resetInput(){this.resetFileInput()}triggerUpload(){this.onUploadClick()}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-logo-upload"]],viewQuery:function(e,o){if(e&1&&J0(Lg,5),e&2){let n;F0(n=D0())&&(o.fileInput=n.first)}},inputs:{imageUrl:"imageUrl",alt:"alt",variant:"variant",showDeleteButton:"showDeleteButton",alwaysShowActions:"alwaysShowActions",uploadButtonTitle:"uploadButtonTitle",deleteButtonTitle:"deleteButtonTitle",config:"config",events:"events",isUploading:"isUploading",disabled:"disabled",hasError:"hasError"},outputs:{uploadRequested:"uploadRequested",deleteRequested:"deleteRequested",fileSelected:"fileSelected",uploadStarted:"uploadStarted",uploadCompleted:"uploadCompleted",uploadFailed:"uploadFailed",deleteStarted:"deleteStarted",deleteCompleted:"deleteCompleted",deleteFailed:"deleteFailed",validationFailed:"validationFailed"},features:[o0([P0({phosphorCloudArrowUp:F6,phosphorTrash:R8,phosphorImage:en})])],decls:12,vars:26,consts:[["fileInput",""],[1,"logo-upload-wrapper",3,"dragover","dragleave","drop"],[1,"logo-container"],[1,"logo-preview",3,"src","alt"],[1,"logo-placeholder"],[1,"upload-loading"],[1,"logo-actions-overlay"],[1,"logo-actions"],[1,"logo-action-btn",3,"click","title","disabled"],["name","phosphorCloudArrowUp","size","20"],[1,"logo-action-btn","delete",3,"title","disabled"],["type","file",2,"display","none",3,"change","accept","disabled"],["name","phosphorImage",3,"size"],[1,"loading-spinner"],[1,"spinner"],[1,"logo-action-btn","delete",3,"click","title","disabled"],["name","phosphorTras
141h","size","20"]],template:function(e,o){if(e&1){let n=z();p(0,"div",1),V("dragover",function(i){return C(n),M(o.onDragOver(i))})("dragleave",function(i){return C(n),M(o.onDragLeave(i))})("drop",function(i){return C(n),M(o.onDrop(i))}),p(1,"div",2),u(2,Eg,1,2,"img",3)(3,Rg,2,1,"div",4),u(4,Ug,3,0,"div",5),d(),p(5,"div",6)(6,"div",7)(7,"button",8),V("click",function(){return C(n),M(o.onUploadClick())}),b(8,"ng-icon",9),d(),u(9,Ng,2,3,"button",10),d()(),p(10,"input",11,0),V("change",function(i){return C(n),M(o.onFileSelected(i))}),d()()}e&2&&(v1("width",o.size,"px")("height",o.size,"px"),P("variant-sm",o.variant==="sm")("variant-default",o.variant==="default")("disabled",o.disabled)("has-error",o.hasError)("drag-over",o.isDragOver),c(),P("has-logo",o.imageUrl),c(),m(o.imageUrl?2:3),c(2),m(o.isUploading?4:-1),c(),P("always-visible",o.alwaysShowActions),c(2),f("title",o.uploadButtonTitle)("disabled",o.isUploading||o.disabled),F("aria-label",o.uploadButtonTitle),c(2),m(o.showDeleteButton&&o.imageUrl?9:-1),c(),f("accept",o.acceptString)("disabled",o.disabled))},dependencies:[t0,y0],styles:[".logo-upload-wrapper[_ngcontent-%COMP%]{position:relative;border-radius:var(--radius-xl);border:var(--border-width-medium) dashed var(--border);overflow:hidden;cursor:pointer;background:var(--bg-secondary);transition:all var(--duration-normal) var(--easing-in-out)}.logo-upload-wrapper[_ngcontent-%COMP%]:hover:not(.disabled){border-color:var(--primary-500);background:var(--bg-tertiary)}.logo-upload-wrapper.disabled[_ngcontent-%COMP%]{opacity:var(--opacity-50);cursor:not-allowed}.logo-upload-wrapper.has-error[_ngcontent-%COMP%]{border-color:var(--error-500)}.logo-upload-wrapper.drag-over[_ngcontent-%COMP%]{border-color:var(--primary-500);background:var(--primary-alpha-10);transform:scale(var(--scale-102))}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:var(--z-0);border-radius:var(--radius-lg);overflow:hidden;display:flex;align-items:center;justify-content:center}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-container.has-logo[_ngcontent-%COMP%]{background:var(--surface)}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] .logo-preview[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;border-radius:var(--radius-lg)}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] .logo-placeholder[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--text-tertiary)}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] .logo-placeholder[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%]{opacity:var(--opacity-50)}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] .upload-loading[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--black-alpha-60);border-radius:var(--radius-lg);display:flex;align-items:center;justify-content:center;z-index:var(--z-20)}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] .upload-loading[_ngcontent-%COMP%] .loading-spinner[_ngcontent-%COMP%]{width:var(--size-8);height:var(--size-8)}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] .upload-loading[_ngcontent-%COMP%] .loading-spinner[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%]{width:100%;height:100%;border:var(--border-width-thick) solid var(--white-alpha-30);border-top-color:var(--white);border-radius:var(--radius-full);animation:_ngcontent-%COMP%_spin var(--duration-1000) var(--easing-linear) infinite}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--black-alpha-60);display:flex;align-items:center;justify-content:center;opacity:var(--opacity-0);transition:opacity var(--duration-normal) var(--easing-in-out);border-radius:var(--radius-lg);z-index:var(--z-10);pointer-events:none}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay.always-visible[_ngcontent-%COMP%]{opacity:var(--opacity-100);background:transparent;pointer-events:auto}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay[_ngcontent-%COMP%] .logo-actions[_ngcontent-%COMP%]{display:flex;gap:var(--spacing-xs);align-items:center;flex-direction:row}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay[_ngcontent-%COMP%] .logo-action-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:var(--size-10);height:var(--size-10);background:var(--surface);border:var(--border-width-thin) solid var(--border);border-radius:var(--radius-full);cursor:pointer;transition:all var(--duration-normal) var(--easing-in-out);color:var(--text-primary);pointer-events:auto}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay[_ngcontent-%COMP%] .logo-action-btn[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay[_ngcontent-%COMP%] .logo-action-btn[_ngcontent-%COMP%]:hover:not(:disabled){background:var(--bg-tertiary);transform:scale(var(--scale-105));box-shadow:var(--shadow-md)}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay[_ngcontent-%COMP%] .logo-action-btn[_ngcontent-%COMP%]:active:not(:disabled){transform:scale(var(--scale-95))}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay[_ngcontent-%COMP%] .logo-action-btn[_ngcontent-%COMP%]:disabled{opacity:var(--opacity-50);
141cursor:not-allowed;transform:none}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay[_ngcontent-%COMP%] .logo-action-btn.delete[_ngcontent-%COMP%]:hover:not(:disabled){background:var(--error-500);color:var(--white);border-color:var(--error-600)}.logo-upload-wrapper[_ngcontent-%COMP%]:hover .logo-actions-overlay[_ngcontent-%COMP%]:not(.always-visible){opacity:var(--opacity-100)}.logo-upload-wrapper.variant-sm[_ngcontent-%COMP%] .logo-action-btn[_ngcontent-%COMP%]{width:var(--size-8);height:var(--size-8)}.logo-upload-wrapper.variant-default[_ngcontent-%COMP%] .logo-action-btn[_ngcontent-%COMP%]{width:var(--size-12);height:var(--size-12)}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay[_ngcontent-%COMP%] .logo-actions[_ngcontent-%COMP%]{gap:clamp(var(--size-1),var(--size, 120px) * .05,var(--size-2))}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay[_ngcontent-%COMP%] .logo-actions[_ngcontent-%COMP%] .logo-action-btn[_ngcontent-%COMP%]{--btn-size: clamp(var(--size-6), calc(var(--size, 120px) * .25), var(--size-10));width:var(--btn-size);height:var(--btn-size)}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay[_ngcontent-%COMP%] .logo-actions[_ngcontent-%COMP%] .logo-action-btn[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%]{font-size:clamp(var(--font-size-xs),var(--btn-size) * .5,var(--font-size-lg))}.logo-upload-wrapper[_ngcontent-%COMP%] .upload-loading[_ngcontent-%COMP%] .loading-spinner[_ngcontent-%COMP%]{--spinner-size: clamp(var(--size-4), calc(var(--size, 120px) * .2), var(--size-8));width:var(--spinner-size);height:var(--spinner-size)}.logo-upload-wrapper[_ngcontent-%COMP%] .upload-loading[_ngcontent-%COMP%] .loading-spinner[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%]{border-width:clamp(var(--border-width-thin),var(--spinner-size) * .1,var(--border-width-thick))}[data-theme=dark][_ngcontent-%COMP%] .logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay[_ngcontent-%COMP%]{background:var(--black-alpha-80)}[data-theme=dark][_ngcontent-%COMP%] .logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay.always-visible[_ngcontent-%COMP%]{background:transparent}[data-theme=dark][_ngcontent-%COMP%] .logo-upload-wrapper[_ngcontent-%COMP%] .logo-action-btn[_ngcontent-%COMP%]{background:var(--surface);border-color:var(--border-focus)}[data-theme=dark][_ngcontent-%COMP%] .logo-upload-wrapper[_ngcontent-%COMP%] .logo-action-btn[_ngcontent-%COMP%]:hover:not(:disabled){background:var(--bg-tertiary);box-shadow:var(--shadow-lg)}[data-theme=dark][_ngcontent-%COMP%] .logo-upload-wrapper[_ngcontent-%COMP%] .logo-action-btn.delete[_ngcontent-%COMP%]:hover:not(:disabled){background:var(--error-600);border-color:var(--error-700)}@media (prefers-reduced-motion: reduce){.logo-upload-wrapper[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%], .logo-upload-wrapper[_ngcontent-%COMP%] .logo-actions-overlay[_ngcontent-%COMP%], .logo-upload-wrapper[_ngcontent-%COMP%] .logo-action-btn[_ngcontent-%COMP%], .logo-upload-wrapper[_ngcontent-%COMP%] .upload-prompt[_ngcontent-%COMP%]{transition:none}.logo-upload-wrapper[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%]{animation:none}.logo-upload-wrapper.drag-over[_ngcontent-%COMP%]{transform:none}}@media (prefers-contrast: high){.logo-upload-wrapper[_ngcontent-%COMP%]{border-width:var(--border-width-thick);border-style:solid;border-color:var(--text-primary)}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-action-btn[_ngcontent-%COMP%]{border-width:var(--border-width-thick);border-color:var(--text-primary)}.logo-upload-wrapper[_ngcontent-%COMP%] .logo-action-btn[_ngcontent-%COMP%]:hover:not(:disabled){border-color:var(--text-primary);box-shadow:0 0 0 var(--border-width-thick) var(--text-primary)}}"],changeDetection:0})}return a})();var _x=(()=>{class a{emptyMessage="";preloaderService=v(pw);preloader=this.preloaderService.getRandomPreloader();preloaderUrl=this.preloaderService.getPreloaderUrl(this.preloader.id);refresh(){this.preloader=this.preloaderService.getRandomPreloader(),this.preloaderUrl=this.preloaderService.getPreloaderUrl(this.preloader.id)}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-search-empty-state"]],inputs:{emptyMessage:"emptyMessage"},decls:11,vars:5,consts:[[1,"search-empty-state"],[1,"preloader-visual"],[3,"src","alt"],[1,"principle-label"],[1,"search-tip"],[1,"tip-icon"],[1,"tip-text"],[1,"empty-message"]],template:function(e,o){e&1&&(p(0,"div",0)(1,"div",1),b(2,"img",2),d(),p(3,"p",3),Z(4),d(),p(
1415,"div",4)(6,"span",5),Z(7,"\u2728"),d(),p(8,"span",6),Z(9),d()(),u(10,jg,2,1,"p",7),d()),e&2&&(c(2),f("src",o.preloaderUrl,Y)("alt",o.preloader.label),c(2),O(o.preloader.label),c(5),O(o.preloader.searchTip),c(),m(o.emptyMessage?10:-1))},styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block}.search-empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--size-10) var(--size-6);text-align:center;gap:var(--size-2)}.search-empty-state[_ngcontent-%COMP%] .preloader-visual[_ngcontent-%COMP%]{width:180px;height:180px;margin-bottom:var(--size-2)}.search-empty-state[_ngcontent-%COMP%] .preloader-visual[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;display:block;object-fit:contain}.search-empty-state[_ngcontent-%COMP%] .principle-label[_ngcontent-%COMP%]{font-size:var(--font-size-xs);font-weight:700;color:var(--primary-500, #3b82f6);text-transform:uppercase;letter-spacing:.1em;margin:0}.search-empty-state[_ngcontent-%COMP%] .empty-message[_ngcontent-%COMP%]{font-size:var(--font-size-lg);font-weight:500;color:var(--text-primary);margin:var(--size-2) 0 0;max-width:440px}.search-empty-state[_ngcontent-%COMP%] .search-tip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:var(--size-2);margin-top:var(--size-2);padding:var(--size-2) var(--size-4);background:var(--bg-secondary);border-radius:var(--radius-full);border:1px solid var(--border-secondary)}.search-empty-state[_ngcontent-%COMP%] .search-tip[_ngcontent-%COMP%] .tip-icon[_ngcontent-%COMP%]{font-size:var(--font-size-base);line-height:1}.search-empty-state[_ngcontent-%COMP%] .search-tip[_ngcontent-%COMP%] .tip-text[_ngcontent-%COMP%]{font-size:var(--font-size-xs);color:var(--text-secondary);font-weight:500}@media (max-width: 767.98px){.search-empty-state[_ngcontent-%COMP%]{padding:var(--size-8) var(--size-4)}.search-empty-state[_ngcontent-%COMP%] .preloader-visual[_ngcontent-%COMP%]{width:140px;height:140px}.search-empty-state[_ngcontent-%COMP%] .empty-message[_ngcontent-%COMP%]{font-size:var(--font-size-base)}.search-empty-state[_ngcontent-%COMP%] .search-tip[_ngcontent-%COMP%]{padding:var(--size-2) var(--size-3)}.search-empty-state[_ngcontent-%COMP%] .search-tip[_ngcontent-%COMP%] .tip-text[_ngcontent-%COMP%]{font-size:var(--font-size-xs)}}'],changeDetection:0})}return a})();function Rw(){if(typeof window>"u")return"{{BASE_URL}}";let a=window.location.hostname;return a==="localhost"||a==="127.0.0.1"?"https://dev.uni.xyz":window.location.origin}var Uw=(()=>{class a{label="";disabled=!1;icon;content;_active=!1;static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-tab"]],viewQuery:function(e,o){if(e&1&&J0($g,7),e&2){let n;F0(n=D0())&&(o.content=n.first)}},inputs:{label:"label",disabled:"disabled",icon:"icon"},ngContentSelectors:It,decls:2,vars:0,consts:[["content",""]],template:function(e,o){e&1&&(Z1(),u0(0,Wg,1,0,"ng-template",null,0,Ee))},dependencies:[t0],encapsulation:2,changeDetection:0})}return a})(),Bx=(()=>{class a{cdr=v(b0);destroyRef=v(r0);scheduler=v(L0);tabComponents;tabHeadersContainer;selectedIndex=0;selectedIndexChange=new B;tabSelected=new B;tabs=[];showLeftArrow=!1;showRightArrow=!1;hasOverflow=!1;resizeObserver;boundResizeHandler=this.updateScrollButtons.bind(this);ngAfterContentInit(){this.tabs=this.tabComponents.toArray(),this.updateActiveTab(this.selectedIndex),this.cdr.markForCheck(),this.tabComponents.changes.pipe(n0(this.destroyRef)).subscribe(()=>{this.tabs=this.tabComponents.toArray(),this.updateActiveTab(this.selectedIndex),this.cdr.markForCheck(),this.scheduler.setTimeout(()=>this.updateScrollButtons(),100)})}ngAfterViewInit(){if(this.scheduler.setTimeout(()=>this.updateScrollButtons(),100),this.scheduler.setTimeout(()=>this.updateScrollButtons(),300),this.scheduler.setTimeout(()=>this.updateScrollButtons(),500),typeof window<"u"&&"ResizeObserver"in window){this.resizeObserver=new ResizeObserver(()=>{this.updateScrollButtons()});let t=this.tabHeadersContainer?.nativeElement;t&&this.resizeObserver.observe(t)}typeof window<"u"&&window.addEventListener("resize",this.boundResizeHandler)}ngOnDestroy(){this.resizeObserver&&this.resizeObserver.disconnect(),typeof window<"u"&&window.removeEventListener("resize",this.boundResizeHandler)}scrollLeft(){let t=this.tabHeadersContainer?.nativeElement;t&&t.scrollBy({left:-200,behavior:"smooth"})}scrollRight(){let t=this.tabHeadersContainer?.nativeElement;t&&t.scrollBy({left:200,behavior:"smooth"})}onScroll(){this.updateScrollButtons()}updateScrollButtons(){let t=this.tabHeadersContainer?.nativeElement;if(!t)return;let{scrollLeft:e,scrollWidth:o,clientWidth:n}=t;this.hasOverflow=o>n+1,this.showLeftArrow=this.hasOverflow&&e>10,this.showRightArrow=this.hasOverflow&&e<o-n-10,this.cdr.markForCheck()}selectTab(t){this.tabs[t]?.disabled||(this.selectedIndex=t,this.updateActiveTab(t),this.selectedIndexChange.emit(t),this.tabSelected.emit(t),this.scrollTabIntoView(t))}scrollTabIntoView(t){this.scheduler.setTimeout(()=>{let e=document.getElementById(`tab-${t}`);e&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},0)}
141updateActiveTab(t){this.tabs.forEach((e,o)=>{e._active=o===t})}onKeyDown(t,e){let o=e;switch(t.key){case"ArrowRight":case"ArrowDown":t.preventDefault(),o=this.getNextEnabledTabIndex(e);break;case"ArrowLeft":case"ArrowUp":t.preventDefault(),o=this.getPreviousEnabledTabIndex(e);break;case"Home":t.preventDefault(),o=this.getFirstEnabledTabIndex();break;case"End":t.preventDefault(),o=this.getLastEnabledTabIndex();break;default:return}o!==e&&(this.selectTab(o),this.scheduler.setTimeout(()=>{document.getElementById(`tab-${o}`)?.focus()},0))}getNextEnabledTabIndex(t){for(let e=t+1;e<this.tabs.length;e++)if(!this.tabs[e].disabled)return e;for(let e=0;e<=t;e++)if(!this.tabs[e].disabled)return e;return t}getPreviousEnabledTabIndex(t){for(let e=t-1;e>=0;e--)if(!this.tabs[e].disabled)return e;for(let e=this.tabs.length-1;e>=t;e--)if(!this.tabs[e].disabled)return e;return t}getFirstEnabledTabIndex(){for(let t=0;t<this.tabs.length;t++)if(!this.tabs[t].disabled)return t;return 0}getLastEnabledTabIndex(){for(let t=this.tabs.length-1;t>=0;t--)if(!this.tabs[t].disabled)return t;return this.tabs.length-1}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=K({type:a,selectors:[["uni-tabs"]],contentQueries:function(e,o,n){if(e&1&&Jt(n,Uw,4),e&2){let s;F0(s=D0())&&(o.tabComponents=s)}},viewQuery:function(e,o){if(e&1&&J0(Gg,5),e&2){let n;F0(n=D0())&&(o.tabHeadersContainer=n.first)}},inputs:{selectedIndex:"selectedIndex"},outputs:{selectedIndexChange:"selectedIndexChange",tabSelected:"tabSelected"},features:[o0([L0])],decls:11,vars:4,consts:[["tabHeadersContainer",""],[1,"uni-tabs"],[1,"tab-headers"],["icon","phosphorCaretLeft","variant","glass","size","medium","ariaLabel","Scroll tabs left",1,"tab-nav-button","tab-nav-left",3,"circle"],[1,"tab-headers-container",3,"scroll"],[1,"tab-header",3,"active","disabled"],["icon","phosphorCaretRight","variant","glass","size","medium","ariaLabel","Scroll tabs right",1,"tab-nav-button","tab-nav-right",3,"circle"],[1,"tab-content"],[1,"tab-panel",3,"active","hidden"],["icon","phosphorCaretLeft","variant","glass","size","medium","ariaLabel","Scroll tabs left",1,"tab-nav-button","tab-nav-left",3,"onClick","circle"],[1,"tab-header",3,"click","keydown","disabled"],["size","18",3,"name"],["icon","phosphorCaretRight","variant","glass","size","medium","ariaLabel","Scroll tabs right",1,"tab-nav-button","tab-nav-right",3,"onClick","circle"],[1,"tab-panel",3,"hidden"],[4,"ngTemplateOutlet"]],template:function(e,o){if(e&1){let n=z();p(0,"div",1)(1,"div",2),u(2,qg,1,1,"uni-icon-button",3),p(3,"div",4,0),V("scroll",function(){return C(n),M(o.onScroll())}),V0(5,Qg,4,12,"button",5,ml),d(),u(7,Yg,1,1,"uni-icon-button",6),d(),p(8,"div",7),V0(9,td,2,7,"div",8,ml),d()()}e&2&&(c(2),m(o.showLeftArrow?2:-1),c(),P("has-overflow",o.hasOverflow),c(2),Z0(o.tabs),c(2),m(o.showRightArrow?7:-1),c(2),Z0(o.tabs))},dependencies:[t0,Re,y0,Ut],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block;width:100%;max-width:100%;min-width:0;overflow:visible;box-sizing:border-box}.uni-tabs[_ngcontent-%COMP%]{width:100%;max-width:100%;min-width:0;display:flex;flex-direction:column;overflow:visible;box-sizing:border-box;position:relative}.tab-headers[_ngcontent-%COMP%]{width:100%;max-width:100%;min-width:0;border-bottom:var(--border-width-thin) solid var(--border);background:var(--surface);overflow:visible;position:relative;box-sizing:border-box;display:flex;align-items:center;gap:0}.tab-headers[_ngcontent-%COMP%] .tab-headers-container[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;gap:0;flex:1 1 0%;min-width:0;width:0;overflow-x:auto;overflow-y:hidden;justify-content:center;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;box-sizing:border-box;scrollbar-width:none;-ms-overflow-style:none}.tab-headers[_ngcontent-%COMP%] .tab-headers-container[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.tab-headers[_ngcontent-%COMP%] .tab-headers-container.has-overflow[_ngcontent-%COMP%]{justify-content:flex-start}@media (max-width: 767.98px){.tab-headers[_ngcontent-%COMP%] .tab-headers-container[_ngcontent-%COMP%]{justify-content:flex-start!important}}@media (max-width: 539.98px){.tab-headers[_ngcontent-%COMP%] .tab-headers-container[_ngcontent-%COMP%]{justify-content:flex-start!important}}.tab-nav-button[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);z-index:var(--z-10)}@media (max-width: 767.98px){.tab-nav-button[_ngcontent-%COMP%]{display:none}}.tab-nav-left[_ngcontent-%COMP%]{left:var(--size-2)}.tab-nav-right[_ngcontent-%COMP%]{right:var(--size-2)}.tab-header[_ngcontent-%COMP%]{padding:var(--size-4) var(--size-6);background:none;border:none;font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);color:var(--text-secondary);cursor:pointer;transition:all var(--duration-normal) var(--easing-in-out);white-space:nowrap;position:relative;display:flex;align-items:center;gap:var(--size-2);flex-shrink:0;min-width:fit-content;box-sizing:border-box}.tab-header[_ngcontent-%COMP%]:hover:not(.disabled){color:var(--text-primary);background:var(--bg-tertiary)}.tab-header[_ngcontent-%COMP%]:focus-visible{outline:var(--border-width-thick) solid var(--primary-500);outline-offset:calc(-1 * var(--border-width-thick));z-index:var(--z-0)}.tab-header.active[_ngcontent-%COMP%]{color:var(--primary-600);background:var(--surface)}.tab-header.active[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;right:0;width:100%;height:var(--size-1);background:var(--primary-600);border-radius:var(--radius-sm) var(--radius-sm) 0 0;transition:all var(--duration-normal) var(--easing-in-out)}.tab-header.disabled[_ngcontent-%COMP%]{opacity:var(--opacity-40);cursor:not-allowed;color:var(--text-tertiary)}.tab-header[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%]{flex-shrink:0}.tab-content[_ngcontent-%COMP%]{background:var(--surface);min-height:var(--size-50);width:100%;max-width:100%;overflow:hidden;box-sizing:border-box}.tab-panel[_ngcontent-%COMP%]{display:none;padding:var(--size-8) var(--size-6);width:100%;max-width:100%;box-sizing:border-box;overflow:hidden}.tab-panel.active[_ngcontent-%COMP%]{display:block;animation:_ngcontent-%COMP%_fadeIn var(--duration-normal) var(--easing-in-out)}.tab-panel[hidden][_ngcontent-%COMP%]{display:none}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:var(--opacity-0);transform:translateY(var(--size-2))}to{opacity:var(--opacity-100);transform:translateY(0)}}@media (max-width: 767.98px){.tab-header[_ngcontent-%COMP%]{padding:var(--size-3) var(--size-4);font-size:var(--font-size-sm)}.tab-panel[_ngcontent-%COMP%]{padding:var(--size-6)}}@media (max-width: 539.98px){.tab-header[_ngcontent-%COMP%]{padding:var(--size-4);font-size:var(--font-size-sm);flex-shrink:0;min-width:fit-content}.tab-header[_ngcontent-%COMP%] ng-icon[_ngcontent-%COMP%]{display:none}.tab-panel[_ngcontent-%COMP%]{padding:var(--size-4)}}'],changeDetection:0})}return a})();var zx=(()=>{class a{data;visible=!1;showFollowButton=!0;currentUserId=null;followClick=new B;mouseenter=new B;
141mouseleave=new B;destroyRef=v(r0);cdr=v(b0);elementRef=v(g0);isFollowLoading=!1;ngOnInit(){this.onInit(),typeof document<"u"&&document.addEventListener("hideActivePopovers",this.handleGlobalHidePopover)}ngOnChanges(t){t.visible&&(this.visible?this.onPopoverShow():this.onPopoverHide()),t.data&&this.data&&this.onDataChange()}ngOnDestroy(){this.onDestroy(),typeof document<"u"&&document.removeEventListener("hideActivePopovers",this.handleGlobalHidePopover)}onInit(){}onDestroy(){}onPopoverShow(){}onPopoverHide(){}onDataChange(){}formatNumber(t){return t?t>=1e6?(t/1e6).toFixed(1).replace(/\.0$/,"")+"M":t>=1e3?(t/1e3).toFixed(1).replace(/\.0$/,"")+"K":t.toString():"0"}truncateText(t,e){return la(t,e)}getFollowersCount(){return this.data&&(this.data.followers_count||this.data.followers||this.data.follower_count)||0}getFollowingCount(){return this.data&&(this.data.following_count||this.data.following)||0}isFollowing(){return this.data?.is_following?typeof this.data.is_following=="boolean"?this.data.is_following:this.data.is_following!==null:!1}getFollowerId(){if(this.data){if(this.data.follower_id)return this.data.follower_id;if(typeof this.data.is_following=="object"&&this.data.is_following!==null)return this.data.is_following.id}}isAuthenticated(){return!!this.currentUserId}isOwnProfile(){return!this.data||!this.currentUserId||!this.data.id?!1:this.data.id===Number(this.currentUserId)}onPopoverMouseEnter(){this.mouseenter.emit()}onPopoverMouseLeave(){this.mouseleave.emit()}hide(){this.visible=!1,this.cdr.markForCheck(),this.onPopoverHide()}handleGlobalHidePopover=t=>{this.visible&&this.hide()};static \u0275fac=function(e){return new(e||a)};static \u0275dir=h0({type:a,inputs:{data:"data",visible:"visible",showFollowButton:"showFollowButton",currentUserId:"currentUserId"},outputs:{followClick:"followClick",mouseenter:"mouseenter",mouseleave:"mou
141seleave"},features:[M0]})}return a})();var Me={SLIDE_ANIMATION_DURATION:250,MIN_ZOOM_LEVEL:1,MAX_ZOOM_LEVEL:2,THUMBNAIL_WIDTH:150,THUMBNAIL_HEIGHT:150,KEYS:{ESCAPE:"Escape",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight"},ICONS:{PLAY:"M8,5.14V19.14L19,12.14L8,5.14Z",MAGNIFYING_GLASS_PLUS:"phosphorMagnifyingGlassPlus",MAGNIFYING_GLASS_MINUS:"phosphorMagnifyingGlassMinus",ARROW_SQUARE_OUT:"phosphorArrowSquareOut",X:"phosphorX"}},yx=(()=>{class a{unlockScroll=null;platformId=v(N);scheduler=v(L0);_images=I([]);_currentIndex=I(0);_nextIndex=I(null);_isOpen=I(!1);_isZoomed=I(!1);_zoomLevel=I(1);_transitioning=I(!1);_slideInDirection=I("none");_imageLoading=I(!1);preloadedImages=new Set;images=this._images.asReadonly();currentIndex=this._currentIndex.asReadonly();isOpen=this._isOpen.asReadonly();isZoomed=this._isZoomed.asReadonly();zoomLevel=this._zoomLevel.asReadonly();transitioning=this._transitioning.asReadonly();slideInDirection=this._slideInDirection.asReadonly();imageLoading=this._imageLoading.asReadonly();currentImage=v0(()=>{let t=this._currentIndex();return this._images()[t]||{url:"",alt:"",title:""}});nextImage=v0(()=>{let t=this._nextIndex();return t===null?null:this._images()[t]||null});hasNext=v0(()=>this._currentIndex()<this._images().length-1);hasPrevious=v0(()=>this._currentIndex()>0);open(t,e=0){if(!t||t.length===0||!L(this.platformId))return;let o=Math.max(0,Math.min(e,t.length-1));this._images.set(t),this._currentIndex.set(o),this._isOpen.set(!0),this._isZoomed.set(!1),this._zoomLevel.set(1),this.unlockScroll?.(),this.unlockScroll=r3(),this.preloadCurrentAndAdjacent(o),this.scheduler.setTimeout(()=>{this.preloadAllImages()},100)}close(){this._isOpen.set(!1),L(this.platformId)&&(this.unlockScroll?.(),this.unlockScroll=null),this.clearPreloadCache()}next(){return i0(this,null,function*(){if(!this.hasNext()||this._transitioning())return;let t=this._currentIndex()+1;yield this.navigateToIndex(t,"right")})}previous(){return i0(this,null,function*(){if(!this.hasPrevious()||this._transitioning())return;let t=this._currentIndex()-1;yield this.navigateToIndex(t,"left")})}goToIndex(t){return i0(this,null,function*(){let e=this._images();if(!this._transitioning()&&t>=0&&t<e.length){let o=this._currentIndex(),n=t>o?"right":"left";yield this.navigateToIndex(t,n)}})}toggleZoom(){this._isZoomed()?this.resetZoom():(this._isZoomed.set(!0),this._zoomLevel.set(Me.MAX_ZOOM_LEVEL))}resetZoom(){this._isZoomed.set(!1),this._zoomLevel.set(Me.MIN_ZOOM_LEVEL)}isImagePreloaded(t){return t?this.preloadedImages.has(t):!1}clearPreloadCache(){this.preloadedImages.clear(),this.scheduler.clearAll()}navigateToIndex(t,e){return i0(this,null,function*(){let n=this._images()[t];this.resetZoom(),n?.url&&!this.isImagePreloaded(n.url)&&(this._imageLoading.set(!0),yield this.preloadImage(n.url,0),this._imageLoading.set(!1)),this._nextIndex.set(t),this.startSlideIn(e),this.scheduler.setTimeout(()=>{this._currentIndex.set(t),this._nextIndex.set(null)},Me.SLIDE_ANIMATION_DURATION),this.preloadCurrentAndAdjacent(t)})}startSlideIn(t){this._transitioning.set(!0),this._slideInDirection.set(t),this.scheduler.setTimeout(()=>{this._transitioning.set(!1),this._slideInDirection.set("none")},Me.SLIDE_ANIMATION_DURATION)}preloadCurrentAndAdjacent(t){let e=this._images(),o=e[t];o?.url&&this.preloadImage(o.url,0),[t-1,t+1].filter(s=>s>=0&&s<e.length).forEach(s=>{let i=e[s];i?.url&&this.preloadImage(i.url,25)})}preloadAllImages(){let t=this._images(),e=this._currentIndex(),o=()=>{if(!L(this.platformId))return;let n=t.map((i,l)=>({image:i,index:l})).filter(({image:i,index:l})=>i?.url&&!this.preloadedImages.has(i.url)&&Math.abs(l-e)>1).slice(0,3);n.forEach(({image:i},l)=>{this.preloadImage(i.url,l*50)});let s=t.some((i,l)=>i?.url&&!this.preloadedImages.has(i.url)&&Math.abs(l-e)>1);n.length===3&&s&&("requestIdleCallback"in window?window.requestIdleCallback(o):this.scheduler.setTimeout(o,100))};"requestIdleCallback"in window?window.requestIdleCallback(o):this.scheduler.setTimeout(o,100)}preloadImage(t,e=0){return!t||this.preloadedImages.has(t)?Promise.resolve():new Promise(o=>{this.scheduler.setTimeout(()=>{let n=pd(t),s=new Image,i=new Image,l=!1,g=()=>{l&&(this.preloadedImages.add(t),o())};s.onload=()=>{l=!0,g()},s.onerror=()=>{l=!0,g()},i.onload=()=>{},s.src=n.lowQuality,i.src=n.highQuality},e)})}static \u0275fac=function(e){return new(e||a)};static \u0275prov=x({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function Sx(a){if(!a)return kl("U");let t=a.normalize("NFD").replace(/[\u0300-\u036f]/g,"").charAt(0).toUpperCase();return t>="A"&&t<="Z"?`https://uni-common-assets.s3.amazonaws.com/org-avatars/blueprint-${t}.svg`:t>="0"&&t<="9"?`https://uni-common-assets.s3.amazonaws.com/org-avatars/blueprint-${t}.svg`:kl("U")}function kl(a){return`https://uni-common-assets.s3.amazonaws.com/org-avatars/blueprint-${a}.svg`}var kx=(()=>{class a{elementRef=v(g0);uniClickOutsideEnabled=!0;
141uniClickOutsideExclude=[];uniClickOutside=new B;onClick(t){if(!this.uniClickOutsideEnabled)return;let e=t.target;if(!this.elementRef.nativeElement.contains(e)){for(let o of this.uniClickOutsideExclude)if(o&&o.contains(e))return;this.uniClickOutside.emit(t)}}static \u0275fac=function(e){return new(e||a)};static \u0275dir=h0({type:a,selectors:[["","uniClickOutside",""]],hostBindings:function(e,o){e&1&&V("click",function(s){return o.onClick(s)},K1)},inputs:{uniClickOutsideEnabled:"uniClickOutsideEnabled",uniClickOutsideExclude:"uniClickOutsideExclude"},outputs:{uniClickOutside:"uniClickOutside"}})}return a})(),Px=(()=>{class a{popoverDelay=300;popoverPosition="bottom";popoverOffset=20;popoverHorizontalOffset=0;popoverVerticalOffset=0;currentUser;elementRef=v(g0);viewContainerRef=v(Q1);http=v(w0);popoverRef;showTimeout;hideTimeout;fadeOutTimeout;isMouseOverElement=!1;isMouseOverPopover=!1;entityDetails;createGeneration=0;destroyRef=v(r0);scrollListener;globalPopoverManager=v(lw);managedUnregister;onMouseEnter(){this.isMouseOverElement=!0,this.clearTimeouts(),this.showTimeout=window.setTimeout(()=>{this.isMouseOverElement&&this.showPopover()},this.popoverDelay)}onMouseLeave(){this.isMouseOverElement=!1,this.clearTimeouts(),this.hideTimeout=window.setTimeout(()=>{!this.isMouseOverElement&&!this.isMouseOverPopover&&this.hidePopover()},100)}ngOnDestroy(){this.clearTimeouts(),this.removeScrollListener(),this.destroyPopover(),this.entityDetails=void 0}showPopover(){let t=this.getInputData();if(!t||this.popoverRef)return;if(this.entityDetails){this.createAndShowPopover();return}let e=this.getIdentifier();e?this.fetchEntityDetails(e).then(()=>{(this.isMouseOverElement||this.isMouseOverPopover)&&this.createAndShowPopover()}):(this.entityDetails=t,this.createAndShowPopover())}createAndShowPopover(){if(!this.entityDetails||this.popoverRef)return;let t=this.getPopoverComponent();if(t instanceof Promise){let e=++this.createGeneration;t.then(o=>{e!==this.createGeneration||this.popoverRef||!this.isMouseOverElement&&!this.isMouseOverPopover||this.instantiatePopover(o)});return}this.instantiatePopover(t)}instantiatePopover(t){if(!this.entityDetails||this.popoverRef)return;this.popoverRef=this.viewContainerRef.createComponent(t),this.configurePopoverInstance(this.popoverRef.instance);let e=this.popoverRef.instance;e.followClick&&e.followClick.pipe(n0(this.destroyRef)).subscribe(n=>{this.updateEntityFollowState(n.isFollowing,n.followId)});let o=this.popoverRef.location.nativeElement;document.body.appendChild(o),o.addEventListener("mouseenter",this.onPopoverMouseEnter),o.addEventListener("mouseleave",this.onPopoverMouseLeave),this.addScrollListener(),this.managedUnregister=this.globalPopoverManager.registerManagedPopover(this.forceCloseFromGlobal),this.positionPopover()}forceCloseFromGlobal=()=>{this.clearTimeouts(),this.isMouseOverElement=!1,this.isMouseOverPopover=!1,this.destroyPopover()};fetchEntityDetails(t){return i0(this,null,function*(){try{let e=this.getApiUrl(this.getApiEndpoint(t)),o=yield C1(this.http.get(e,{withCredentials:!0}));o&&(this.entityDetails=o)}catch(e){console.error("Failed to fetch entity details:",e),this.entityDetails=this.getInputData()}})}getApiUrl(t){return`${window.location.origin}${t}`}hidePopover(){if(this.createGeneration++,this.popoverRef){let t=this.popoverRef.instance;t.visible!==void 0&&(t.visible=!1),this.fadeOutTimeout&&clearTimeout(this.fadeOutTimeout),this.fadeOutTimeout=window.setTimeout(()=>{this.destroyPopover()},200)}}destroyPopover(){if(this.managedUnregister&&(this.managedUnregister(),this.managedUnregister=void 0),this.popoverRef){let t=this.popoverRef.location.nativeElement;t.removeEventListener("mouseenter",this.onPopoverMouseEnter),t.removeEventListener("mouseleave",this.onPopoverMouseLeave),this.removeScrollListener(),this.popoverRef.destroy(),this.popoverRef=void 0}}onPopoverMouseEnter=()=>{this.isMouseOverPopover=!0,this.clearTimeouts()};onPopoverMouseLeave=()=>{this.isMouseOverPopover=!1,this.hideTimeout=window.setTimeout(()=>{!this.isMouseOverElement&&!this.isMouseOverPopover&&this.hidePopover()},100)};positionPopover(){if(!this.popoverRef)return;let t=this.elementRef.nativeElement,e=this.popoverRef.location.nativeElement,o=e.querySelector(".popover-arrow"),n=t.getBoundingClientRect();e.style.visibility="hidden",e.style.display="block",e.style.position="fixed",e.style.top="-9999px",e.style.left="-9999px",e.offsetHeight;let s=e.getBoundingClientRect(),i=s.height||200,l=s.width||280;e.style.visibility="",e.style.display="";let g=0,w=0,A=this.popoverPosition;switch(this.popoverPosition){case"left":w=n.left-l-this.popoverOffset,g=n.top+n.height/2-i/2;break;case"right":w=n.right+this.popoverOffset,g=n.top+n.height/2-i/2;break;case"top":w=n.left+n.width/2-l/2,g=n.top-i-this.popoverOffset;break;case"bottom":default:w=n.left+n.width/2-l/2,g=n.bottom+this.popoverOffset;break}let _=10,S=window.innerWidth,k=window.innerHeight;this.popoverPosition==="left"||this.popoverPosition==="right"?(g<_?g=_:g+i>k-_&&(g=k-i-_),this.popoverPosition==="left"&&w<_?(w=n.right+this.popoverOffset,A="right"):this.popoverPosition==="right"&&w+l>S-_&&(w=n.left-l-this.popoverOffset,A="left")):(w<_?w=_:w+l>S-_&&(w=S-l-_),this.popoverPosition==="bottom"&&g+i>k-_?(g=n.top-i-this.popoverOffset,A="top"):this.popoverPosition==="top"&&g<_&&(g=n.bottom+this.popoverOffset,A="bottom")),w+=this.popoverHorizontalOffset,g+=this.popoverVerticalOffset,e.style.position="fixed",e.style.top=`${g}px`,e.style.left=`${w}px`,e.style.zIndex="10000",o&&this.positionArrow(o,n,g,w,A)}positionArrow(t,e,o,n,s){t.classList.remove("arrow-top","arrow-bottom","arrow-left","arrow-right"),t.style.removeProperty("top"),t.style.removeProperty("bottom"),t.style.removeProperty("left"),t.style.removeProperty("right");let i=o-this.popoverVerticalOffset,l=n-this.popoverHorizontalOffset;switch(s){case"left":t.classList.add("arrow-right");let w=e.top+e.height/2-i;t.style.setProperty("top",`${w}
141px`,"important");break;case"right":t.classList.add("arrow-left");let _=e.top+e.height/2-i;t.style.setProperty("top",`${_}px`,"important");break;case"top":t.classList.add("arrow-bottom");let k=e.left+e.width/2-l;t.style.setProperty("left",`${k}px`,"important");break;case"bottom":t.classList.add("arrow-top");let $=e.left+e.width/2-l;t.style.setProperty("left",`${$}px`,"important");break}}clearTimeouts(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=void 0),this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=void 0),this.fadeOutTimeout&&(clearTimeout(this.fadeOutTimeout),this.fadeOutTimeout=void 0)}addScrollListener(){this.scrollListener||(this.scrollListener=()=>{this.clearTimeouts(),this.hidePopover()},window.addEventListener("scroll",this.scrollListener,!0),document.addEventListener("scroll",this.scrollListener,!0),window.addEventListener("wheel",this.scrollListener,{passive:!0,capture:!0}))}removeScrollListener(){this.scrollListener&&(window.removeEventListener("scroll",this.scrollListener,!0),document.removeEventListener("scroll",this.scrollListener,!0),window.removeEventListener("wheel",this.scrollListener,{capture:!0}),this.scrollListener=void 0)}static \u0275fac=function(e){return new(e||a)};static \u0275dir=h0({type:a,hostBindings:function(e,o){e&1&&V("mouseenter",function(){return o.onMouseEnter()})("mouseleave",function(){return o.onMouseLeave()})},inputs:{popoverDelay:"popoverDelay",popoverPosition:"popoverPosition",popoverOffset:"popoverOffset",popoverHorizontalOffset:"popoverHorizontalOffset",popoverVerticalOffset:"popoverVerticalOffset",currentUser:"currentUser"}})}return a})();function Nw(a){if(!/^[a-z][a-z0-9+.-]*:\/\//i.test(a))return!0;let r;try{r=new URL(a).host}catch{return!1}if(typeof window<"u"&&r===window.location.host)return!0;try{let t=Rw();if(t&&!t.startsWith("{{"))return r===new URL(t).host}catch{}return!1}var jw=a=>{if(!/^https?:\/\//i.test(a))return!1;try{return new URL(a).hostname.endsWith(".amazonaws.com")}catch{return!1}},Ox=(a,r)=>{if(jw(a.url)||!Nw(a.url))return r(a);let t=v(q4),e={};typeof document<"u"&&["POST","PUT","DELETE","PATCH"].includes(a.method)&&(document.cookie="csrftoken=; domain=.uni.xyz; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT; Secure");let o=t.get("csrftoken");o&&["POST","PUT","DELETE","PATCH"].includes(a.method)&&(e["X-CSRFToken"]=o);let n=t.get("token");n&&(e.Authorization=`Token ${n}`);let s=a.clone({withCredentials:!0,setHeaders:e});return r(s)};var aa=new Map,$w={"/super_tags/":24*60*60*1e3,"/categories/":24*60*60*1e3,"/licenses/":24*60*60*1e3,"/currencies/":24*60*60*1e3,"/countries/":24*60*60*1e3,"/tags/":60*60*1e3,"/locations/":60*60*1e3,"/cities/":60*60*1e3,"/profiles/":5*60*1e3,"/neo_projects/":5*60*1e3,"/blogs/":5*60*1e3,"/publications/":5*60*1e3,"/competitions/":5*60*1e3,"/inspirations/":5*60*1e3,"/topics/":5*60*1e3,"/products/":5*60*1e3},Ww=["/rest-auth/","/cart/","/checkout/","/notifications/","/messages/","/search","/my_entries/"];function Gw(a){if(Ww.some(r=>a.includes(r)))return 0;for(let[r,t]of Object.entries($w))if(a.includes(r))return t;return 0}var Tx=(a,r)=>{if(a.method!=="GET")return r(a);let t=a.urlWithParams,e=Gw(a.url);if(e===0)return r(a);let o=aa.get(t);if(o){if(Date.now()-o.timestamp<e)return y(o.response.clone());aa.delete(t)}return r(a).pipe(J(n=>{n instanceof k1&&n.status===200&&aa.set(t,{response:n.clone(),timestamp:Date.now()})}))};var Pl={googleAnalytics:{measurementId:"G-CJW07E1WZH"},googleTagManager:{containerId:"GTM-PRPL83J"}};function qw(){return(typeof window<"u"?window.location.hostname:"")==="uni.xyz"?H({},Pl):Pl}function Kw(a){return()=>{let r=qw();a.initialize(r)}}var Ix=[{provide:Ea,useFactory:Kw,deps:[_d],multi:!0}];function Fx(){return P0({phosphorTrophyFill:D2,phosphorBlueprintFill:T2,phosphorNewspaperFill:F2,phosphorBookOpenFill:I2,phosphorLightbulbFill:$8,phosphorBriefcaseFill:Ht,phosphorPaletteFill:Vt,phosphorGraduationCapFill:xt})}var D="https://flagcdn.com/w40",Dx=[{value:"Algeria",label:"Algeria",image:`${D}/dz.png`},{value:"Argentina",label:"Argentina",image:`${D}/ar.png`},{value:"Armenia",label:"Armenia",image:`${D}/am.png`},{value:"Australia",label:"Australia",image:`${D}/au.png`},{value:"Bangladesh",label:"Bangladesh",image:`${D}/bd.png`},{value:"Brazil",label:"Brazil",image:`${D}/br.png`},{value:"Chile",label:"Chile",image:`${D}/cl.png`},{value:"China",label:"China",image:`${D}/cn.png`}
141,{value:"Colombia",label:"Colombia",image:`${D}/co.png`},{value:"Czech Republic",label:"Czech Republic",image:`${D}/cz.png`},{value:"Denmark",label:"Denmark",image:`${D}/dk.png`},{value:"Egypt",label:"Egypt",image:`${D}/eg.png`},{value:"Finland",label:"Finland",image:`${D}/fi.png`},{value:"France",label:"France",image:`${D}/fr.png`},{value:"Germany",label:"Germany",image:`${D}/de.png`},{value:"Greece",label:"Greece",image:`${D}/gr.png`},{value:"Hungary",label:"Hungary",image:`${D}/hu.png`},{value:"India",label:"India",image:`${D}/in.png`},{value:"Indonesia",label:"Indonesia",image:`${D}/id.png`},{value:"Ireland",label:"Ireland",image:`${D}/ie.png`},{value:"Israel",label:"Israel",image:`${D}/il.png`},{value:"Italy",label:"Italy",image:`${D}/it.png`},{value:"Japan",label:"Japan",image:`${D}/jp.png`},{value:"Kenya",label:"Kenya",image:`${D}/ke.png`},{value:"Malaysia",label:"Malaysia",image:`${D}/my.png`},{value:"Mexico",label:"Mexico",image:`${D}/mx.png`},{value:"Morocco",label:"Morocco",image:`${D}/ma.png`},{value:"Nepal",label:"Nepal",image:`${D}/np.png`},{value:"Netherlands",label:"Netherlands",image:`${D}/nl.png`},{value:"New Zealand",label:"New Zealand",image:`${D}/nz.png`},{value:"Nigeria",label:"Nigeria",image:`${D}/ng.png`},{value:"Norway",label:"Norway",image:`${D}/no.png`},{value:"Pakistan",label:"Pakistan",image:`${D}/pk.png`},{value:"Philippines",label:"Philippines",image:`${D}/ph.png`},{value:"Poland",label:"Poland",image:`${D}/pl.png`},{value:"Portugal",label:"Portugal",image:`${D}/pt.png`},{value:"Romania",label:"Romania",image:`${D}/ro.png`},{value:"Russia",label:"Russia",image:`${D}/ru.png`},{value:"Saudi Arabia",label:"Saudi Arabia",image:`${D}/sa.png`},{value:"Singapore",label:"Singapore",image:`${D}/sg.png`},{value:"South Africa",label:"South Africa",image:`${D}/za.png`},{value:"South Korea",label:"South Korea",image:`${D}/kr.png`},{value:"Spain",label:"Spain",image:`${D}/es.png`},{value:"Sri Lanka",label:"Sri Lanka",image:`${D}/lk.png`},{value:"Sweden",label:"Sweden",image:`${D}/se.png`},{value:"Switzerland",label:"Switzerland",image:`${D}/ch.png`},{value:"Thailand",label:"Thailand",image:`${D}/th.png`},{value:"Tunisia",label:"Tunisia",image:`${D}/tn.png`},{value:"Turkey",label:"Turkey",image:`${D}/tr.png`},{value:"UAE",label:"UAE",image:`${D}/ae.png`},{value:"United Kingdom",label:"United Kingdom",image:`${D}/gb.png`},{value:"United States",label:"United States",image:`${D}/us.png`},{value:"Vietnam",label:"Vietnam",image:`${D}/vn.png`}];export{qe as a,V3 as b,E0 as c,w0 as d,X3 as e,J3 as f,J1 as g,Fo as h,um as i,mm as j,fm as k,Cm as l,S0 as m,q0 as n,H6 as o,z0 as p,s2 as q,Yh as r,O2 as s,q4 as t,n0 as u,T4 as v,GC as w,h2 as x,R4 as y,U4 as z,vM as A,g7 as B,P6 as C,Mf as D,Af as E,Hf as F,O6 as G,Ur as H,Nr as I,I6 as J,Wr as K,Gr as L,xf as M,rc as N,Vf as O,nc as P,Kr as Q,Zf as R,F6 as S,Qr as T,bf as U,Lf as V,_f as W,Bf as X,$6 as Y,en as Z,W6 as _,sc as $,zf as aa,yf as ba,q6 as ca,on as da,nn as ea,hn as fa,pn as ga,Sf as ha,kf as ia,wn as ja,Pf as ka,Of as la,ic as ma,mn as na,X6 as oa,fn as pa,If as qa,Cn as ra,Hn as sa,lc as ta,xn as ua,Ff as va,Df as wa,bn as xa,J6 as ya,t4 as za,kn as Aa,Ef as Ba,Rf as Ca,hc as Da,Uf as Ea,On as Fa,Tn as Ga,cc as Ha,Fn as Ia,Nf as Ja,U8 as Ka,Un as La,vc as Ma,jf as Na,jn as Oa,$n as Pa,o4 as Qa,Gn as Ra,r4 as Sa,$f as Ta,Qn as Ua,pc as Va,Yn as Wa,n4 as Xa,Wf as Ya,Gf as Za,qf as _a,s4 as $a,Kf as ab,Qf as bb,es as cb,as as db,gc as eb,l4 as fb,rs as gb,Yf as hb,ss as ib,is as jb,dc as kb,N8 as lb,c4 as mb,ps as nb,Xf as ob,Jf as pb,tC as qb,gs as rb,eC as sb,wc as tb,aC as ub,ws as vb,oC as wb,ms as xb,rC as yb,nC as zb,sC as Ab,iC as Bb,Ms as Cb,v4 as Db,Hs as Eb,lC as Fb,hC as Gb,uc as Hb,Vs as Ib,cC as Jb,Zs as Kb,bs as Lb,vC as Mb,pC as Nb,zs as Ob,ks as Pb,T2 as Qb,Os as Rb,I2 as Sb,Ht as Tb,j8 as Ub,Fs as Vb,g4 as Wb,dC as Xb,d4 as Yb,mc as Zb,fc as _b,Rs as $b,Cc as ac,w4 as bc,wC as cc,u4 as dc,xt as ec,js as fc,Mc as gc,$8 as hc,Ac as ic,$s as jc,Ws as kc,Gs as lc,F2 as mc,Vt as nc,f4 as oc,uC as pc,Hc as qc,Ks as rc,Qs as sc,Js as tc,ti as uc,W8 as vc,C4 as wc,M4 as xc,D2 as yc,mC as zc,A4 as Ac,xc as Bc,Vc as Cc,ae as Dc,ii as Ec,zi as Fc,OC as Gc,P4 as Hc,IC as Ic,Xc as Jc,t7 as Kc,O4 as Lc,Di as Mc,FC as Nc,Ri as Oc,DC as Pc,Ol as Qc,p0 as Rc,Tl as Sc,QH as T
141c,YH as Uc,Ft as Vc,na as Wc,R1 as Xc,ia as Yc,XH as Zc,vd as _c,JH as $c,Nl as ad,L0 as bd,U1 as cd,zd as dd,ax as ed,ox as fd,rx as gd,Td as hd,nx as id,Ve as jd,sx as kd,ix as ld,lx as md,hx as nd,cx as od,Rt as pd,vx as qd,bl as rd,tw as sd,aw as td,Yl as ud,ow as vd,px as wd,ca as xd,Jl as yd,rw as zd,gx as Ad,Ut as Bd,e3 as Cd,dx as Dd,ux as Ed,r3 as Fd,mx as Gd,fx as Hd,Cx as Id,n3 as Jd,Cw as Kd,Mw as Ld,s3 as Md,Hw as Nd,i3 as Od,Vw as Pd,Mx as Qd,Nt as Rd,Ax as Sd,Hx as Td,xx as Ud,Vx as Vd,Zx as Wd,bx as Xd,Lx as Yd,_x as Zd,Uw as _d,Bx as $d,zx as ae,Me as be,yx as ce,Sx as de,kx as ee,Px as fe,Ox as ge,Tx as he,Ix as ie,Fx as je};
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.