From e2a7d151cd03ba2a7acd88c452419d58fe05ba41 Mon Sep 17 00:00:00 2001 From: taiga-family-bot <140712314+taiga-family-bot@users.noreply.github.com> Date: Mon, 17 Jun 2024 18:19:43 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20taiga-fa?= =?UTF-8?q?mily/preview-landing-components@532b68dfaf58bb72b3877f6af455d67?= =?UTF-8?q?b464ebe03=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chunk-HNAZ43NK.js => chunk-2BBNTIDY.js | 4 ++-- ...k-HNAZ43NK.js.map => chunk-2BBNTIDY.js.map | 2 +- chunk-3RVXYZKD.js.map | 1 - chunk-RPDBA76T.js => chunk-A3YZ7SOG.js | 4 ++-- ...k-RPDBA76T.js.map => chunk-A3YZ7SOG.js.map | 0 chunk-C4GU22I3.js | 5 +++++ chunk-C4GU22I3.js.map | 1 + chunk-3RVXYZKD.js => chunk-MJJUDM22.js | 20 +++++++++---------- chunk-MJJUDM22.js.map | 1 + chunk-NQ4YOQ3U.js | 5 ----- chunk-NQ4YOQ3U.js.map | 1 - index.csr.html | 2 +- index.html | 10 +++++----- main-WAIQLZS6.js => main-LXNJ27NN.js | 8 ++++---- main-WAIQLZS6.js.map => main-LXNJ27NN.js.map | 2 +- 15 files changed, 33 insertions(+), 33 deletions(-) rename chunk-HNAZ43NK.js => chunk-2BBNTIDY.js (99%) rename chunk-HNAZ43NK.js.map => chunk-2BBNTIDY.js.map (99%) delete mode 100644 chunk-3RVXYZKD.js.map rename chunk-RPDBA76T.js => chunk-A3YZ7SOG.js (99%) rename chunk-RPDBA76T.js.map => chunk-A3YZ7SOG.js.map (100%) create mode 100644 chunk-C4GU22I3.js create mode 100644 chunk-C4GU22I3.js.map rename chunk-3RVXYZKD.js => chunk-MJJUDM22.js (79%) create mode 100644 chunk-MJJUDM22.js.map delete mode 100644 chunk-NQ4YOQ3U.js delete mode 100644 chunk-NQ4YOQ3U.js.map rename main-WAIQLZS6.js => main-LXNJ27NN.js (98%) rename main-WAIQLZS6.js.map => main-LXNJ27NN.js.map (99%) diff --git a/chunk-HNAZ43NK.js b/chunk-2BBNTIDY.js similarity index 99% rename from chunk-HNAZ43NK.js rename to chunk-2BBNTIDY.js index 827736c0..1b73852f 100644 --- a/chunk-HNAZ43NK.js +++ b/chunk-2BBNTIDY.js @@ -1,3 +1,3 @@ import{$ as z,$a as fr,A as re,Ac as Bt,C as ie,Fd as Ct,Hd as Ir,Ia as Lt,J as ve,Ja as Ne,K as Zn,Lc as br,M as Xn,Ma as ir,Mc as Tr,N as he,Na as sr,Nc as Te,O as Nt,Oa as Ft,Oc as Ar,Pa as or,Qa as X,Sa as kt,T as Pt,Ta as Ut,U as Jn,Ua as Pe,Va as Ie,W as De,Wa as ar,X as se,Xa as lr,Xc as Rr,Ya as cr,Za as ur,_ as C,_a as hr,aa as Se,ab as dr,b as Vn,bb as be,bd as Le,c as nt,ca as we,cd as I,d as $,da as er,dd as Mr,e as $n,ea as ot,ed as Or,fa as b,fd as Dr,gb as Ke,gd as Nr,ha as F,i as Hn,j as rt,k as it,ka as E,l as Wn,la as tr,lb as pr,ma as T,mb as at,mc as gr,n as qn,na as p,nc as jt,o as Ge,oc as yr,p as Q,pb as mr,qb as pe,qd as ze,r as Yn,ra as nr,sa as Ce,sc as Er,sd as lt,t as M,tc as _r,uc as vr,ud as Gt,vc as xt,vd as Pr,w as Qn,wc as Sr,x as st,xa as It,xc as wr,y as Oe,yc as P,z as _e,za as rr}from"./chunk-RLY256WD.js";import{a as ue,b as zn,c as tt}from"./chunk-GOOAHOWT.js";var ut=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),s=i.toLowerCase(),o=n.slice(r+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let i=(e.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let s=e.value;if(!s)this.headers.delete(n),this.normalizedNames.delete(n);else{let o=this.headers.get(n);if(!o)return;o=o.filter(a=>s.indexOf(a)===-1),o.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,o)}break}}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(s=>s.toString()),i=e.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var Gr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Gr||{}),Kt=class{constructor(e,n=200,r="OK"){this.headers=e.headers||new ut,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}};var ht=class t extends Kt{constructor(e={}){super(e),this.type=Gr.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}};var es=new E("");var ts=new E(""),Lr="b",Fr="h",kr="s",Ur="st",jr="u",xr="rt",ct=new E(""),ns=["GET","HEAD"];function rs(t,e){var m;let S=p(ct),{isCacheActive:n}=S,r=tt(S,["isCacheActive"]),{transferCache:i,method:s}=t;if(!n||i===!1||s==="POST"&&!r.includePostRequests&&!i||s!=="POST"&&!ns.includes(s)||!r.includeRequestsWithAuthHeaders&&is(t)||((m=r.filter)==null?void 0:m.call(r,t))===!1)return e(t);let o=p(Ut),a=p(ts,{optional:!0}),c=Te(p(X));if(a&&!c)throw new b(2803,!1);let u=c&&a?ls(t.url,a):t.url,f=os(t,u),h=o.get(f,null),v=r.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(v=i.includeHeaders),h){let{[Lr]:g,[xr]:R,[Fr]:L,[kr]:U,[Ur]:B,[jr]:j}=h,ee=g;switch(R){case"arraybuffer":ee=new TextEncoder().encode(g).buffer;break;case"blob":ee=new Blob([g]);break}let q=new ut(L);return Q(new ht({body:ee,headers:q,status:U,statusText:B,url:j}))}return e(t).pipe(we(g=>{g instanceof ht&&c&&o.set(f,{[Lr]:g.body,[Fr]:ss(g.headers,v),[kr]:g.status,[Ur]:g.statusText,[jr]:u,[xr]:t.responseType})}))}function is(t){return t.headers.has("authorization")||t.headers.has("proxy-authorization")}function ss(t,e){if(!e)return{};let n={};for(let r of e){let i=t.getAll(r);i!==null&&(n[r]=i)}return n}function Br(t){return[...t.keys()].sort().map(e=>`${e}=${t.getAll(e)}`).join("&")}function os(t,e){let{params:n,method:r,responseType:i}=t,s=Br(n),o=t.serializeBody();o instanceof URLSearchParams?o=Br(o):typeof o!="string"&&(o="");let a=[r,i,e,o,s].join("|"),c=as(a);return c}function as(t){let e=0;for(let n of t)e=Math.imul(31,e)+n.charCodeAt(0)<<0;return e+=2147483648,e.toString()}function Cr(t){return[{provide:ct,useFactory:()=>(mr("NgHttpTransferCache"),ue({isCacheActive:!0},t))},{provide:es,useValue:rs,multi:!0,deps:[Ut,ct]},{provide:gr,multi:!0,useFactory:()=>{let e=p(jt),n=p(ct);return()=>{yr(e).then(()=>{n.isCacheActive=!1})}}}]}function ls(t,e){let n=new URL(t,"resolve://").origin,r=e[n];return r?t.replace(n,r):t}var $t=class extends wr{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ht=class t extends $t{static makeCurrent(){Sr(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=us();return n==null?null:hs(n)}resetBaseElement(){Ve=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Bt(document.cookie,e)}},Ve=null;function us(){return Ve=Ve||document.querySelector("base"),Ve?Ve.getAttribute("href"):null}function hs(t){return new URL(t,document.baseURI).pathname}var fs=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),Wt=new E(""),Hr=(()=>{let e=class e{constructor(r,i){this._zone=i,this._eventNameToPlugin=new Map,r.forEach(s=>{s.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,i,s){return this._findPluginFor(i).addEventListener(r,i,s)}getZone(){return this._zone}_findPluginFor(r){let i=this._eventNameToPlugin.get(r);if(i)return i;if(i=this._plugins.find(o=>o.supports(r)),!i)throw new b(5101,!1);return this._eventNameToPlugin.set(r,i),i}};e.\u0275fac=function(i){return new(i||e)(T(Wt),T(pe))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),ft=class{constructor(e){this._doc=e}},zt="ng-app-id",Wr=(()=>{let e=class e{constructor(r,i,s,o={}){this.doc=r,this.appId=i,this.nonce=s,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Te(o),this.resetHostNodes()}addStyles(r){for(let i of r)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(r){for(let i of r)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(i=>i.remove()),r.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let i of this.getAllStyles())this.addStyleToHost(r,i)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let i of this.hostNodes)this.addStyleToHost(i,r)}onStyleRemoved(r){var s,o;let i=this.styleRef;(o=(s=i.get(r))==null?void 0:s.elements)==null||o.forEach(a=>a.remove()),i.delete(r)}collectServerRenderedStyles(){var i;let r=(i=this.doc.head)==null?void 0:i.querySelectorAll(`style[${zt}="${this.appId}"]`);if(r!=null&&r.length){let s=new Map;return r.forEach(o=>{o.textContent!=null&&s.set(o.textContent,o)}),s}return null}changeUsageCount(r,i){let s=this.styleRef;if(s.has(r)){let o=s.get(r);return o.usage+=i,o.usage}return s.set(r,{usage:i,elements:[]}),i}getStyleElement(r,i){let s=this.styleNodesInDOM,o=s==null?void 0:s.get(i);if((o==null?void 0:o.parentNode)===r)return s.delete(i),o.removeAttribute(zt),o;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(zt,this.appId),r.appendChild(a),a}}addStyleToHost(r,i){var c;let s=this.getStyleElement(r,i),o=this.styleRef,a=(c=o.get(i))==null?void 0:c.elements;a?a.push(s):o.set(i,{elements:[s],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(T(P),T(Ft),T(kt,8),T(X))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),Vt={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"},Qt=/%COMP%/g,qr="%COMP%",ds=`_nghost-${qr}`,ps=`_ngcontent-${qr}`,ms=!0,gs=new E("",{providedIn:"root",factory:()=>ms});function ys(t){return ps.replace(Qt,t)}function Es(t){return ds.replace(Qt,t)}function Yr(t,e){return e.map(n=>n.replace(Qt,t))}var Kr=(()=>{let e=class e{constructor(r,i,s,o,a,c,u,f=null){this.eventManager=r,this.sharedStylesHost=i,this.appId=s,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=f,this.rendererByCompId=new Map,this.platformIsServer=Te(c),this.defaultRenderer=new $e(r,a,u,this.platformIsServer)}createRenderer(r,i){if(!r||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ce.ShadowDom&&(i=zn(ue({},i),{encapsulation:Ce.Emulated}));let s=this.getOrCreateRenderer(r,i);return s instanceof dt?s.applyToHost(r):s instanceof He&&s.applyStyles(),s}getOrCreateRenderer(r,i){let s=this.rendererByCompId,o=s.get(i.id);if(!o){let a=this.doc,c=this.ngZone,u=this.eventManager,f=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(i.encapsulation){case Ce.Emulated:o=new dt(u,f,i,this.appId,h,a,c,v);break;case Ce.ShadowDom:return new qt(u,f,r,i,a,c,this.nonce,v);default:o=new He(u,f,i,h,a,c,v);break}s.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(T(Hr),T(Wr),T(Ft),T(gs),T(P),T(X),T(pe),T(kt))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),$e=class{constructor(e,n,r,i){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(Vt[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(zr(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(zr(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new b(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,i){if(i){n=i+":"+n;let s=Vt[i];s?e.setAttributeNS(s,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let i=Vt[r];i?e.removeAttributeNS(i,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,i){i&(Ke.DashCase|Ke.Important)?e.style.setProperty(n,r,i&Ke.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&Ke.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=xt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function zr(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var qt=class extends $e{constructor(e,n,r,i,s,o,a,c){super(e,s,o,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Yr(i.id,i.styles);for(let f of u){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=f,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},He=class extends $e{constructor(e,n,r,i,s,o,a,c){super(e,s,o,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=c?Yr(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},dt=class extends He{constructor(e,n,r,i,s,o,a,c){let u=i+"-"+r.id;super(e,n,r,s,o,a,c,u),this.contentAttr=ys(u),this.hostAttr=Es(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},_s=(()=>{let e=class e extends ft{constructor(r){super(r)}supports(r){return!0}addEventListener(r,i,s){return r.addEventListener(i,s,!1),()=>this.removeEventListener(r,i,s)}removeEventListener(r,i,s){return r.removeEventListener(i,s)}};e.\u0275fac=function(i){return new(i||e)(T(P))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),Vr=["alt","control","meta","shift"],vs={"\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"},Ss={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},ws=(()=>{let e=class e extends ft{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,i,s){let o=e.parseEventName(i),a=e.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xt().onAndCancel(r,o.domEventName,a))}static parseEventName(r){let i=r.toLowerCase().split("."),s=i.shift();if(i.length===0||!(s==="keydown"||s==="keyup"))return null;let o=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),Vr.forEach(f=>{let h=i.indexOf(f);h>-1&&(i.splice(h,1),a+=f+".")}),a+=o,i.length!=0||o.length===0)return null;let u={};return u.domEventName=s,u.fullKey=a,u}static matchEventFullKeyCode(r,i){let s=vs[r.key]||r.key,o="";return i.indexOf("code.")>-1&&(s=r.code,o="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),Vr.forEach(a=>{if(a!==s){let c=Ss[a];c(r)&&(o+=a+".")}}),o+=s,o===i)}static eventCallback(r,i,s){return o=>{e.matchEventFullKeyCode(o,r)&&s.runGuarded(()=>i(o))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(i){return new(i||e)(T(P))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})();function Ml(t,e){return _r(ue({rootComponent:t},bs(e)))}function bs(t){return{appProviders:[...Os,...(t==null?void 0:t.providers)??[]],platformProviders:Ms}}function Ts(){Ht.makeCurrent()}function As(){return new Lt}function Rs(){return sr(document),document}var Ms=[{provide:X,useValue:br},{provide:or,useValue:Ts,multi:!0},{provide:P,useFactory:Rs,deps:[]}];var Os=[{provide:rr,useValue:"root"},{provide:Lt,useFactory:As,deps:[]},{provide:Wt,useClass:_s,multi:!0,deps:[P,pe,X]},{provide:Wt,useClass:ws,multi:!0,deps:[P]},Kr,Wr,Hr,{provide:at,useExisting:Kr},{provide:Ar,useClass:fs,deps:[]},[]];var Ol=(()=>{let e=class e{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};e.\u0275fac=function(i){return new(i||e)(T(P))},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Ds=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:function(i){let s=null;return i?s=new(i||e):s=T(Ns),s},providedIn:"root"});let t=e;return t})(),Ns=(()=>{let e=class e extends Ds{constructor(r){super(),this._doc=r}sanitize(r,i){if(i==null)return null;switch(r){case be.NONE:return i;case be.HTML:return Ie(i,"HTML")?Pe(i):dr(this._doc,String(i)).toString();case be.STYLE:return Ie(i,"Style")?Pe(i):i;case be.SCRIPT:if(Ie(i,"Script"))return Pe(i);throw new b(5200,!1);case be.URL:return Ie(i,"URL")?Pe(i):fr(String(i));case be.RESOURCE_URL:if(Ie(i,"ResourceURL"))return Pe(i);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(r){return ar(r)}bypassSecurityTrustStyle(r){return lr(r)}bypassSecurityTrustScript(r){return cr(r)}bypassSecurityTrustUrl(r){return ur(r)}bypassSecurityTrustResourceUrl(r){return hr(r)}};e.\u0275fac=function(i){return new(i||e)(T(P))},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Yt=function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t[t.I18nSupport=2]="I18nSupport",t[t.EventReplay=3]="EventReplay",t}(Yt||{});function Dl(...t){let e=[],n=new Set,r=n.has(Yt.HttpTransferCacheOptions);for(let{\u0275providers:i,\u0275kind:s}of t)n.add(s),i.length&&e.push(i);return It([[],vr(),n.has(Yt.NoHttpTransferCache)||r?[]:Cr({}),e])}var O=new E("An abstraction over global window object",{factory:()=>{let{defaultView:t}=p(P);if(!t)throw new Error("Window is not available");return t}}),Zt=new E("Shared Observable based on `window.requestAnimationFrame`",{factory:()=>{let{requestAnimationFrame:t,cancelAnimationFrame:e}=p(O);return new $(r=>{let i=NaN,s=o=>{r.next(o),i=t(s)};return i=t(s),()=>{e(i)}}).pipe(De())}}),Ul=new E("An abstraction over window.caches object",{factory:()=>p(O).caches}),jl=new E("An abstraction over window.crypto object",{factory:()=>p(O).crypto}),xl=new E("An abstraction over window.CSS object",{factory:()=>p(O).CSS||{escape:t=>t,supports:()=>!1}}),Bl=new E("An abstraction over window.history object",{factory:()=>p(O).history}),Gl=new E("An abstraction over window.localStorage object",{factory:()=>p(O).localStorage}),Cl=new E("An abstraction over window.location object",{factory:()=>p(O).location}),Fe=new E("An abstraction over window.navigator object",{factory:()=>p(O).navigator}),Kl=new E("An abstraction over window.navigator.mediaDevices object",{factory:()=>p(Fe).mediaDevices}),zl=new E("An abstraction over window.navigator.connection object",{factory:()=>p(Fe).connection||null}),Vl=new E("Shared Observable based on `document visibility changed`",{factory:()=>{let t=p(P);return Oe(t,"visibilitychange").pipe(C(0),M(()=>t.visibilityState!=="hidden"),he(),se({refCount:!1,bufferSize:1}))}}),Qr=new E("An abstraction over window.performance object",{factory:()=>p(O).performance}),$l=new E("An abstraction over window.screen object",{factory:()=>p(O).screen}),Hl=new E("An abstraction over window.sessionStorage object",{factory:()=>p(O).sessionStorage}),Wl=new E("An abstraction over SpeechRecognition class",{factory:()=>{let t=p(O);return t.speechRecognition||t.webkitSpeechRecognition||null}}),ql=new E("An abstraction over window.speechSynthesis object",{factory:()=>p(O).speechSynthesis}),Xt=new E("An abstraction over window.navigator.userAgent object",{factory:()=>p(Fe).userAgent});var w=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(w||{}),oe="*";function Jt(t,e){return{type:w.Trigger,name:t,definitions:e,options:{}}}function Ql(t,e=null){return{type:w.Animate,styles:e,timings:t}}function Zr(t,e=null){return{type:w.Sequence,steps:t,options:e}}function en(t){return{type:w.Style,styles:t,offset:null}}function tn(t,e,n=null){return{type:w.Transition,expr:t,animation:e,options:n}}function Xr(t=null){return{type:w.AnimateChild,options:t}}function Jr(t,e,n=null){return{type:w.Query,selector:t,animation:e,options:n}}function Zl(t,e){return{type:w.Stagger,timings:t,animation:e}}var me=class{constructor(e=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},We=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let n=0,r=0,i=0,s=this.players.length;s==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++n==s&&this._onFinish()}),o.onDestroy(()=>{++r==s&&this._onDestroy()}),o.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let n=e*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){let e=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},pt="!";var ke=()=>!1,ti=()=>!0,tc=79,ei={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},nc=new ir,Ps=[],rc=()=>{},ic=Object.assign(Object.assign({},ei),{toJSON(){return ei}}),sc=t=>String(t);function Is(t,e){return Array.isArray(t)&&Array.isArray(e)&&!t.length&&!e.length}var oc=(t,e)=>t===e||Is(t,e),ac=Jt("tuiParentAnimation",[tn(":leave",[Jr(":scope > *",[Xr()],{optional:!0})])]),lc=Jt("tuiParentStop",[tn(":enter",[])]),ni=1e3/15,ri=t=>"ownerSVGElement"in t?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,cc="\xA0",uc="\u2013";var hc="\u200B";var fc="3.83.0";function nn({activeElement:t}){if(!(t!=null&&t.shadowRoot))return t;let e=t.shadowRoot.activeElement;for(;e!=null&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function gc(t){let e=nn(t);ze(e)&&e.blur()}function ii(t){if(t.hasAttribute("disabled")||t.getAttribute("tabIndex")==="-1")return!1;if(ze(t)&&t.isContentEditable||t.getAttribute("tabIndex")==="0")return!0;switch(t.tagName){case"BUTTON":case"SELECT":case"TEXTAREA":return!0;case"VIDEO":case"AUDIO":return t.hasAttribute("controls");case"INPUT":return t.getAttribute("type")!=="hidden";case"A":case"LINK":return t.hasAttribute("href");default:return!1}}function Ls(t){return!t.hasAttribute("disabled")&&(t.getAttribute("tabIndex")==="-1"||ii(t))}function yc({initial:t,root:e,previous:n=!1,keyboard:r=!0}){if(!e.ownerDocument)return null;let i=r?ii:Ls,s=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,ri);for(s.currentNode=t;n?s.previousNode():s.nextNode();)if(ze(s.currentNode)&&(t=s.currentNode),ze(t)&&i(t))return t;return null}function rn(t){return!!(t!=null&&t.ownerDocument)&&nn(t.ownerDocument)===t&&t.ownerDocument.hasFocus()}function Ec(t){if(!t.ownerDocument||!t.contains)return!1;let e=nn(t.ownerDocument);return e!==null&&t.contains(e)&&t.ownerDocument.hasFocus()}function _c(t,e,n){for(t+=n;t>=0&&t1}var Us=/^((?!chrome|android).)*safari/i;function si(t){return sn(t)||Us.test(t.userAgent.toLowerCase())}function Fc(t){return new $(e=>{if(!t.valueChanges)throw new Ir;return t.valueChanges.pipe(C(t.value)).subscribe(e)})}function k(t,e,n={}){return Oe(t,e,n)}function xs(t){return re(k(t,"mouseup"),k(t,"dragend"))}function oi(t=0){return nt(z(()=>_e(t).pipe(M(ke),C(!0))),he())}var on,an;function ai(t){let e=k(t,"blur"),{ownerDocument:n}=t;if(!n)throw new Ct;return(!an||!on)&&(on=k(n,"mouseup",{capture:!0}).pipe(oi(),C(!1),se({bufferSize:1,refCount:!0})),an=k(n,"mousedown",{capture:!0}).pipe(oi(),C(!1),se({bufferSize:1,refCount:!0}))),re(Qn(k(t,"focus").pipe(ve(1)),e.pipe(ie(()=>!rn(t)),ve(1),Zn())).pipe(Pt(),ot(an,on,(r,i,s)=>i||s),ie(Nr))).pipe(z(()=>e.pipe(M(ke),ve(1),C(!0))),he())}function kc(t,e=Boolean){return nt(z(n=>e(n)?t(n):it))}function Uc(t){var e,n;return"observed"in t?t.observed:!!(!((n=(e=t)===null||e===void 0?void 0:e.observers)===null||n===void 0)&&n.length)}function jc(t){return t.changes.pipe(C(null),M(()=>Dr(t)))}function xc(t,{onlyTrusted:e}={onlyTrusted:!0}){let{ownerDocument:n}=t;if(!n)throw new Ct;return k(t,"mousedown").pipe(ie(({isTrusted:r})=>r||!e),z(()=>xs(n).pipe(M(ke),ve(1),C(!0))))}function Bs(){return we(t=>t.preventDefault())}function Bc(t){return k(t===t.ownerDocument.documentElement?t.ownerDocument:t,"scroll")}function li(t){return we(()=>{t.markForCheck()})}function Gs(t){return e=>new $(n=>e.subscribe({next:r=>t.run(()=>n.next(r)),error:r=>t.run(()=>n.error(r)),complete:()=>t.run(()=>n.complete())}))}function ci(t){return e=>new $(n=>t.runOutsideAngular(()=>e.subscribe(n)))}function ui(t){return nt(ci(t),Gs(t))}function Cc(t,e,n,r){var i=arguments.length,s=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function hi(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(f){try{u(r.next(f))}catch(h){o(h)}}function c(f){try{u(r.throw(f))}catch(h){o(h)}}function u(f){f.done?s(f.value):i(f.value).then(a,c)}u((r=r.apply(t,e||[])).next())})}function ln(t,e={}){let{selector:n}=e,r=Wn(e,["selector"]);return new $(i=>{let s=new AbortController,{signal:o}=s,a=!0,{signal:c}=r;if(c)if(c.aborted)s.abort();else{let h=()=>{o.aborted||s.abort()};c.addEventListener("abort",h),i.add(()=>c.removeEventListener("abort",h))}let u=Object.assign(Object.assign({},r),{signal:o}),f=h=>{a=!1,i.error(h)};return fetch(t,u).then(h=>{n?qn(n(h)).subscribe($n(i,void 0,()=>{a=!1,i.complete()},f)):(a=!1,i.next(h),i.complete())}).catch(f),()=>{a&&s.abort()}})}function fi(t){return new b(3e3,!1)}function Cs(){return new b(3100,!1)}function Ks(){return new b(3101,!1)}function zs(t){return new b(3001,!1)}function Vs(t){return new b(3003,!1)}function $s(t){return new b(3004,!1)}function Hs(t,e){return new b(3005,!1)}function Ws(){return new b(3006,!1)}function qs(){return new b(3007,!1)}function Ys(t,e){return new b(3008,!1)}function Qs(t){return new b(3002,!1)}function Zs(t,e,n,r,i){return new b(3010,!1)}function Xs(){return new b(3011,!1)}function Js(){return new b(3012,!1)}function eo(){return new b(3200,!1)}function to(){return new b(3202,!1)}function no(){return new b(3013,!1)}function ro(t){return new b(3014,!1)}function io(t){return new b(3015,!1)}function so(t){return new b(3016,!1)}function oo(t,e){return new b(3404,!1)}function ao(t){return new b(3502,!1)}function lo(t){return new b(3503,!1)}function co(){return new b(3300,!1)}function uo(t){return new b(3504,!1)}function ho(t){return new b(3301,!1)}function fo(t,e){return new b(3302,!1)}function po(t){return new b(3303,!1)}function mo(t,e){return new b(3400,!1)}function go(t){return new b(3401,!1)}function yo(t){return new b(3402,!1)}function Eo(t,e){return new b(3505,!1)}function ge(t){switch(t.length){case 0:return new me;case 1:return t[0];default:return new We(t)}}function Ni(t,e,n=new Map,r=new Map){let i=[],s=[],o=-1,a=null;if(e.forEach(c=>{let u=c.get("offset"),f=u==o,h=f&&a||new Map;c.forEach((v,S)=>{let m=S,g=v;if(S!=="offset")switch(m=t.normalizePropertyName(m,i),g){case pt:g=n.get(S);break;case oe:g=r.get(S);break;default:g=t.normalizeStyleValue(S,m,g,i);break}h.set(m,g)}),f||s.push(h),a=h,o=u}),i.length)throw ao(i);return s}function In(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&cn(n,"start",t)));break;case"done":t.onDone(()=>r(n&&cn(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&cn(n,"destroy",t)));break}}function cn(t,e,n){let r=n.totalTime,i=!!n.disabled,s=Ln(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,i),o=t._data;return o!=null&&(s._data=o),s}function Ln(t,e,n,r,i="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:s,disabled:!!o}}function W(t,e,n){let r=t.get(e);return r||t.set(e,r=n),r}function di(t){let e=t.indexOf(":"),n=t.substring(1,e),r=t.slice(e+1);return[n,r]}var _o=typeof document>"u"?null:document.documentElement;function Fn(t){let e=t.parentNode||t.host||null;return e===_o?null:e}function vo(t){return t.substring(1,6)=="ebkit"}var Ae=null,pi=!1;function So(t){Ae||(Ae=wo()||{},pi=Ae.style?"WebkitAppearance"in Ae.style:!1);let e=!0;return Ae.style&&!vo(t)&&(e=t in Ae.style,!e&&pi&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Ae.style)),e}function wo(){return typeof document<"u"?document.body:null}function Pi(t,e){for(;e;){if(e===t)return!0;e=Fn(e)}return!1}function Ii(t,e,n){if(n)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var bo=(()=>{let e=class e{validateStyleProperty(r){return So(r)}containsElement(r,i){return Pi(r,i)}getParentElement(r){return Fn(r)}query(r,i,s){return Ii(r,i,s)}computeStyle(r,i,s){return s||""}animate(r,i,s,o,a,c=[],u){return new me(s,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),xn=class xn{};xn.NOOP=new bo;var mi=xn,mn=class{};var To=1e3,Li="{{",Ao="}}",Fi="ng-enter",gn="ng-leave",mt="ng-trigger",vt=".ng-trigger",gi="ng-animating",yn=".ng-animating";function fe(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:En(parseFloat(e[1]),e[2])}function En(t,e){switch(e){case"s":return t*To;default:return t}}function St(t,e,n){return t.hasOwnProperty("duration")?t:Ro(t,e,n)}function Ro(t,e,n){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,s=0,o="";if(typeof t=="string"){let a=t.match(r);if(a===null)return e.push(fi(t)),{duration:0,delay:0,easing:""};i=En(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(s=En(parseFloat(c),a[4]));let u=a[5];u&&(o=u)}else i=t;if(!n){let a=!1,c=e.length;i<0&&(e.push(Cs()),a=!0),s<0&&(e.push(Ks()),a=!0),a&&e.splice(c,0,fi(t))}return{duration:i,delay:s,easing:o}}function Mo(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function ae(t,e,n){e.forEach((r,i)=>{let s=kn(i);n&&!n.has(i)&&n.set(i,t.style[s]),t.style[s]=r})}function Me(t,e){e.forEach((n,r)=>{let i=kn(r);t.style[i]=""})}function qe(t){return Array.isArray(t)?t.length==1?t[0]:Zr(t):t}function Oo(t,e,n){let r=e.params||{},i=ki(t);i.length&&i.forEach(s=>{r.hasOwnProperty(s)||n.push(zs(s))})}var _n=new RegExp(`${Li}\\s*(.+?)\\s*${Ao}`,"g");function ki(t){let e=[];if(typeof t=="string"){let n;for(;n=_n.exec(t);)e.push(n[1]);_n.lastIndex=0}return e}function Qe(t,e,n){let r=`${t}`,i=r.replace(_n,(s,o)=>{let a=e[o];return a==null&&(n.push(Vs(o)),a=""),a.toString()});return i==r?t:i}var Do=/-+([a-z0-9])/g;function kn(t){return t.replace(Do,(...e)=>e[1].toUpperCase())}function No(t,e){return t===0||e===0}function Po(t,e,n){if(n.size&&e.length){let r=e[0],i=[];if(n.forEach((s,o)=>{r.has(o)||i.push(o),r.set(o,s)}),i.length)for(let s=1;so.set(a,Un(t,a)))}}return e}function H(t,e,n){switch(e.type){case w.Trigger:return t.visitTrigger(e,n);case w.State:return t.visitState(e,n);case w.Transition:return t.visitTransition(e,n);case w.Sequence:return t.visitSequence(e,n);case w.Group:return t.visitGroup(e,n);case w.Animate:return t.visitAnimate(e,n);case w.Keyframes:return t.visitKeyframes(e,n);case w.Style:return t.visitStyle(e,n);case w.Reference:return t.visitReference(e,n);case w.AnimateChild:return t.visitAnimateChild(e,n);case w.AnimateRef:return t.visitAnimateRef(e,n);case w.Query:return t.visitQuery(e,n);case w.Stagger:return t.visitStagger(e,n);default:throw $s(e.type)}}function Un(t,e){return window.getComputedStyle(t)[e]}var Io=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),yi=class extends mn{normalizePropertyName(e,n){return kn(e)}normalizeStyleValue(e,n,r,i){let s="",o=r.toString().trim();if(Io.has(n)&&r!==0&&r!=="0")if(typeof r=="number")s="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(Hs(e,r))}return o+s}};var wt="*";function Lo(t,e){let n=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>Fo(r,n,e)):n.push(t),n}function Fo(t,e,n){if(t[0]==":"){let c=ko(t,n);if(typeof c=="function"){e.push(c);return}t=c}let r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(io(t)),e;let i=r[1],s=r[2],o=r[3];e.push(Ei(i,o));let a=i==wt&&o==wt;s[0]=="<"&&!a&&e.push(Ei(o,i))}function ko(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r) *"}}var gt=new Set(["true","1"]),yt=new Set(["false","0"]);function Ei(t,e){let n=gt.has(t)||yt.has(t),r=gt.has(e)||yt.has(e);return(i,s)=>{let o=t==wt||t==i,a=e==wt||e==s;return!o&&n&&typeof i=="boolean"&&(o=i?gt.has(t):yt.has(t)),!a&&r&&typeof s=="boolean"&&(a=s?gt.has(e):yt.has(e)),o&&a}}var Ui=":self",Uo=new RegExp(`s*${Ui}s*,?`,"g");function ji(t,e,n,r){return new vn(t).build(e,n,r)}var _i="",vn=class{constructor(e){this._driver=e}build(e,n,r){let i=new Sn(n);return this._resetContextStyleTimingState(i),H(this,qe(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=_i,e.collectedStyles=new Map,e.collectedStyles.set(_i,new Map),e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0,s=[],o=[];return e.name.charAt(0)=="@"&&n.errors.push(Ws()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==w.State){let c=a,u=c.name;u.toString().split(/\s*,\s*/).forEach(f=>{c.name=f,s.push(this.visitState(c,n))}),c.name=u}else if(a.type==w.Transition){let c=this.visitTransition(a,n);r+=c.queryCount,i+=c.depCount,o.push(c)}else n.errors.push(qs())}),{type:w.Trigger,name:e.name,states:s,transitions:o,queryCount:r,depCount:i,options:null}}visitState(e,n){let r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){let s=new Set,o=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{ki(c).forEach(u=>{o.hasOwnProperty(u)||s.add(u)})})}),s.size&&n.errors.push(Ys(e.name,[...s.values()]))}return{type:w.State,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;let r=H(this,qe(e.animation),n),i=Lo(e.expr,n.errors);return{type:w.Transition,matchers:i,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:Re(e.options)}}visitSequence(e,n){return{type:w.Sequence,steps:e.steps.map(r=>H(this,r,n)),options:Re(e.options)}}visitGroup(e,n){let r=n.currentTime,i=0,s=e.steps.map(o=>{n.currentTime=r;let a=H(this,o,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:w.Group,steps:s,options:Re(e.options)}}visitAnimate(e,n){let r=Go(e.timings,n.errors);n.currentAnimateTimings=r;let i,s=e.styles?e.styles:en({});if(s.type==w.Keyframes)i=this.visitKeyframes(s,n);else{let o=e.styles,a=!1;if(!o){a=!0;let u={};r.easing&&(u.easing=r.easing),o=en(u)}n.currentTime+=r.duration+r.delay;let c=this.visitStyle(o,n);c.isEmptyStep=a,i=c}return n.currentAnimateTimings=null,{type:w.Animate,timings:r,style:i,options:null}}visitStyle(e,n){let r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){let r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===oe?r.push(a):n.errors.push(Qs(a)):r.push(new Map(Object.entries(a)));let s=!1,o=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!s)){for(let c of a.values())if(c.toString().indexOf(Li)>=0){s=!0;break}}}),{type:w.Style,styles:r,easing:o,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,n){let r=n.currentAnimateTimings,i=n.currentTime,s=n.currentTime;r&&s>0&&(s-=r.duration+r.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,c)=>{let u=n.collectedStyles.get(n.currentQuerySelector),f=u.get(c),h=!0;f&&(s!=i&&s>=f.startTime&&i<=f.endTime&&(n.errors.push(Zs(c,f.startTime,f.endTime,s,i)),h=!1),s=f.startTime),h&&u.set(c,{startTime:s,endTime:i}),n.options&&Oo(a,n.options,n.errors)})})}visitKeyframes(e,n){let r={type:w.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(Xs()),r;let i=1,s=0,o=[],a=!1,c=!1,u=0,f=e.steps.map(L=>{let U=this._makeStyleAst(L,n),B=U.offset!=null?U.offset:Bo(U.styles),j=0;return B!=null&&(s++,j=U.offset=B),c=c||j<0||j>1,a=a||j0&&s{let B=v>0?U==S?1:v*U:o[U],j=B*R;n.currentTime=m+g.delay+j,g.duration=j,this._validateStyleAst(L,n),L.offset=B,r.styles.push(L)}),r}visitReference(e,n){return{type:w.Reference,animation:H(this,qe(e.animation),n),options:Re(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:w.AnimateChild,options:Re(e.options)}}visitAnimateRef(e,n){return{type:w.AnimateRef,animation:this.visitReference(e.animation,n),options:Re(e.options)}}visitQuery(e,n){let r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;let[s,o]=jo(e.selector);n.currentQuerySelector=r.length?r+" "+s:s,W(n.collectedStyles,n.currentQuerySelector,new Map);let a=H(this,qe(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:w.Query,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:Re(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(no());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:St(e.timings,n.errors,!0);return{type:w.Stagger,animation:H(this,qe(e.animation),n),timings:r,options:null}}};function jo(t){let e=!!t.split(/\s*,\s*/).find(n=>n==Ui);return e&&(t=t.replace(Uo,"")),t=t.replace(/@\*/g,vt).replace(/@\w+/g,n=>vt+"-"+n.slice(1)).replace(/:animating/g,yn),[t,e]}function xo(t){return t?ue({},t):null}var Sn=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Bo(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){let r=n;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}function Go(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let s=St(t,e).duration;return un(s,0,"")}let n=t;if(n.split(/\s+/).some(s=>s.charAt(0)=="{"&&s.charAt(1)=="{")){let s=un(0,0,"");return s.dynamic=!0,s.strValue=n,s}let i=St(n,e);return un(i.duration,i.delay,i.easing)}function Re(t){return t?(t=ue({},t),t.params&&(t.params=xo(t.params))):t={},t}function un(t,e,n){return{duration:t,delay:e,easing:n}}function jn(t,e,n,r,i,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}var Ze=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,n){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Co=1,Ko=":enter",zo=new RegExp(Ko,"g"),Vo=":leave",$o=new RegExp(Vo,"g");function xi(t,e,n,r,i,s=new Map,o=new Map,a,c,u=[]){return new wn().buildKeyframes(t,e,n,r,i,s,o,a,c,u)}var wn=class{buildKeyframes(e,n,r,i,s,o,a,c,u,f=[]){u=u||new Ze;let h=new bn(e,n,u,i,s,f,[]);h.options=c;let v=c.delay?fe(c.delay):0;h.currentTimeline.delayNextStep(v),h.currentTimeline.setStyles([o],null,h.errors,c),H(this,r,h);let S=h.timelines.filter(m=>m.containsAnimation());if(S.length&&a.size){let m;for(let g=S.length-1;g>=0;g--){let R=S[g];if(R.element===n){m=R;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,h.errors,c)}return S.length?S.map(m=>m.buildKeyframes()):[jn(n,[],[],[],0,v,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){let r=n.subInstructions.get(n.element);if(r){let i=n.createSubContext(e.options),s=n.currentTimeline.currentTime,o=this._visitSubInstructions(r,i,i.options);s!=o&&n.transformIntoNewTimeline(o)}n.previousNode=e}visitAnimateRef(e,n){let r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],n,r),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_applyAnimationRefDelays(e,n,r){for(let i of e){let s=i==null?void 0:i.delay;if(s){let o=typeof s=="number"?s:fe(Qe(s,(i==null?void 0:i.params)??{},n.errors));r.delayNextStep(o)}}}_visitSubInstructions(e,n,r){let s=n.currentTimeline.currentTime,o=r.duration!=null?fe(r.duration):null,a=r.delay!=null?fe(r.delay):null;return o!==0&&e.forEach(c=>{let u=n.appendInstructionToTimeline(c,o,a);s=Math.max(s,u.duration+u.delay)}),s}visitReference(e,n){n.updateOptions(e.options,!0),H(this,e.animation,n),n.previousNode=e}visitSequence(e,n){let r=n.subContextCount,i=n,s=e.options;if(s&&(s.params||s.delay)&&(i=n.createSubContext(s),i.transformIntoNewTimeline(),s.delay!=null)){i.previousNode.type==w.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=bt);let o=fe(s.delay);i.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>H(this,o,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){let r=[],i=n.currentTimeline.currentTime,s=e.options&&e.options.delay?fe(e.options.delay):0;e.steps.forEach(o=>{let a=n.createSubContext(e.options);s&&a.delayNextStep(s),H(this,o,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(o=>n.currentTimeline.mergeTimelineCollectedStyles(o)),n.transformIntoNewTimeline(i),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){let r=e.strValue,i=n.params?Qe(r,n.params,n.errors):r;return St(i,n.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){let r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());let s=e.style;s.type==w.Keyframes?this.visitKeyframes(s,n):(n.incrementTime(r.duration),this.visitStyle(s,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){let r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let s=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(s):r.setStyles(e.styles,s,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){let r=n.currentAnimateTimings,i=n.currentTimeline.duration,s=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(c=>{let u=c.offset||0;a.forwardTime(u*s),a.setStyles(c.styles,c.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+s),n.previousNode=e}visitQuery(e,n){let r=n.currentTimeline.currentTime,i=e.options||{},s=i.delay?fe(i.delay):0;s&&(n.previousNode.type===w.Style||r==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=bt);let o=r,a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let c=null;a.forEach((u,f)=>{n.currentQueryIndex=f;let h=n.createSubContext(e.options,u);s&&h.delayNextStep(s),u===n.element&&(c=h.currentTimeline),H(this,e.animation,h),h.currentTimeline.applyStylesToKeyframe();let v=h.currentTimeline.currentTime;o=Math.max(o,v)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(o),c&&(n.currentTimeline.mergeTimelineCollectedStyles(c),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){let r=n.parentContext,i=n.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(n.currentQueryTotal-1),c=o*n.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":c=a-c;break;case"full":c=r.currentStaggerTime;break}let f=n.currentTimeline;c&&f.delayNextStep(c);let h=f.currentTime;H(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-h+(i.startTime-r.currentTimeline.startTime)}},bt={},bn=class t{constructor(e,n,r,i,s,o,a,c){this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new Tt(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;let r=e,i=this.options;r.duration!=null&&(i.duration=fe(r.duration)),r.delay!=null&&(i.delay=fe(r.delay));let s=r.params;if(s){let o=i.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!n||!o.hasOwnProperty(a))&&(o[a]=Qe(s[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let n=this.options.params;if(n){let r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){let i=n||this.element,s=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=bt,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){let i={duration:n??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},s=new Tn(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,n,r,i,s,o){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(zo,"."+this._enterClassName),e=e.replace($o,"."+this._leaveClassName);let c=r!=1,u=this._driver.query(this.element,e,c);r!==0&&(u=r<0?u.slice(u.length+r,u.length):u.slice(0,r)),a.push(...u)}return!s&&a.length==0&&o.push(ro(n)),a}},Tt=class t{constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Co,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles.set(e,n),this._globalTimelineStyles.set(e,n),this._styleSummary.set(e,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||oe),this._currentKeyframe.set(n,oe);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){n&&this._previousKeyframe.set("easing",n);let s=i&&i.params||{},o=Ho(e,this._globalTimelineStyles);for(let[a,c]of o){let u=Qe(c,s,r);this._pendingStyles.set(a,u),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??oe),this._updateStyle(a,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,n)=>{this._currentKeyframe.set(n,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,e)}))}snapshotCurrentStyles(){for(let[e,n]of this._localTimelineStyles)this._pendingStyles.set(e,n),this._updateStyle(e,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,r)=>{let i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,n=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,c)=>{let u=new Map([...this._backFill,...a]);u.forEach((f,h)=>{f===pt?e.add(h):f===oe&&n.add(h)}),r||u.set("offset",c/this.duration),i.push(u)});let s=[...e.values()],o=[...n.values()];if(r){let a=i[0],c=new Map(a);a.set("offset",0),c.set("offset",1),i=[a,c]}return jn(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}},Tn=class extends Tt{constructor(e,n,r,i,s,o,a=!1){super(e,n,o.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){let s=[],o=r+n,a=n/o,c=new Map(e[0]);c.set("offset",0),s.push(c);let u=new Map(e[0]);u.set("offset",vi(a)),s.push(u);let f=e.length-1;for(let h=1;h<=f;h++){let v=new Map(e[h]),S=v.get("offset"),m=n+S*r;v.set("offset",vi(m/o)),s.push(v)}r=o,n=0,i="",e=s}return jn(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}};function vi(t,e=3){let n=Math.pow(10,e-1);return Math.round(t*n)/n}function Ho(t,e){let n=new Map,r;return t.forEach(i=>{if(i==="*"){r??(r=e.keys());for(let s of r)n.set(s,oe)}else for(let[s,o]of i)n.set(s,o)}),n}function Si(t,e,n,r,i,s,o,a,c,u,f,h,v){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:c,preStyleProps:u,postStyleProps:f,totalTime:h,errors:v}}var hn={},At=class{constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return Wo(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e==null?void 0:e.toString())||i),i?i.buildStyles(n,r):new Map}build(e,n,r,i,s,o,a,c,u,f){var te;let h=[],v=this.ast.options&&this.ast.options.params||hn,S=a&&a.params||hn,m=this.buildStyles(r,S,h),g=c&&c.params||hn,R=this.buildStyles(i,g,h),L=new Set,U=new Map,B=new Map,j=i==="void",ee={params:Bi(g,v),delay:(te=this.ast.options)==null?void 0:te.delay},q=f?[]:xi(e,n,this.ast.animation,s,o,m,R,ee,u,h),K=0;return q.forEach(le=>{K=Math.max(le.duration+le.delay,K)}),h.length?Si(n,this._triggerName,r,i,j,m,R,[],[],U,B,K,h):(q.forEach(le=>{let ce=le.element,Bn=W(U,ce,new Set);le.preStyleProps.forEach(ye=>Bn.add(ye));let Be=W(B,ce,new Set);le.postStyleProps.forEach(ye=>Be.add(ye)),ce!==n&&L.add(ce)}),Si(n,this._triggerName,r,i,j,m,R,q,[...L.values()],U,B,K))}};function Wo(t,e,n,r,i){return t.some(s=>s(e,n,r,i))}function Bi(t,e){let n=ue({},e);return Object.entries(t).forEach(([r,i])=>{i!=null&&(n[r]=i)}),n}var An=class{constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){let r=new Map,i=Bi(e,this.defaultParams);return this.styles.styles.forEach(s=>{typeof s!="string"&&s.forEach((o,a)=>{o&&(o=Qe(o,i,n));let c=this.normalizer.normalizePropertyName(a,n);o=this.normalizer.normalizeStyleValue(a,c,o,n),r.set(a,o)})}),r}};function qo(t,e,n){return new Rn(t,e,n)}var Rn=class{constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states=new Map,n.states.forEach(i=>{let s=i.options&&i.options.params||{};this.states.set(i.name,new An(i.style,s,r))}),wi(this.states,"true","1"),wi(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new At(e,i,this.states))}),this.fallbackTransition=Yo(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,r,i){return this.transitionFactories.find(o=>o.match(e,n,r,i))||null}matchStyles(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}};function Yo(t,e,n){let r=[(o,a)=>!0],i={type:w.Sequence,steps:[],options:null},s={type:w.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new At(t,s,e)}function wi(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}var Qo=new Ze,Mn=class{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,n){let r=[],i=[],s=ji(this._driver,n,r,i);if(r.length)throw lo(r);i.length&&void 0,this._animations.set(e,s)}_buildPlayer(e,n,r){let i=e.element,s=Ni(this._normalizer,e.keyframes,n,r);return this._driver.animate(i,s,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){let i=[],s=this._animations.get(e),o,a=new Map;if(s?(o=xi(this._driver,n,s,Fi,gn,new Map,new Map,r,Qo,i),o.forEach(f=>{let h=W(a,f.element,new Map);f.postStyleProps.forEach(v=>h.set(v,null))})):(i.push(co()),o=[]),i.length)throw uo(i);a.forEach((f,h)=>{f.forEach((v,S)=>{f.set(S,this._driver.computeStyle(h,S,oe))})});let c=o.map(f=>{let h=a.get(f.element);return this._buildPlayer(f,new Map,h)}),u=ge(c);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);let r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){let n=this._playersById.get(e);if(!n)throw ho(e);return n}listen(e,n,r,i){let s=Ln(n,"","","");return In(this._getPlayer(e),r,s,i),()=>{}}command(e,n,r,i){if(r=="register"){this.register(e,i[0]);return}if(r=="create"){let o=i[0]||{};this.create(e,n,o);return}let s=this._getPlayer(e);switch(r){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},bi="ng-animate-queued",Zo=".ng-animate-queued",fn="ng-animate-disabled",Xo=".ng-animate-disabled",Jo="ng-star-inserted",ea=".ng-star-inserted",ta=[],Gi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},na={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},J="__ng_removed",Xe=class{get params(){return this.options.params}constructor(e,n=""){this.namespaceId=n;let r=e&&e.hasOwnProperty("value"),i=r?e.value:e;if(this.value=ia(i),r){let s=e,{value:o}=s,a=tt(s,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let n=e.params;if(n){let r=this.options.params;Object.keys(n).forEach(i=>{r[i]==null&&(r[i]=n[i])})}}},Ye="void",dn=new Xe(Ye),On=class{constructor(e,n,r){this.id=e,this.hostElement=n,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Z(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.has(n))throw fo(r,n);if(r==null||r.length==0)throw po(n);if(!sa(r))throw mo(r,n);let s=W(this._elementListeners,e,[]),o={name:n,phase:r,callback:i};s.push(o);let a=W(this._engine.statesByElement,e,new Map);return a.has(n)||(Z(e,mt),Z(e,mt+"-"+n),a.set(n,dn)),()=>{this._engine.afterFlush(()=>{let c=s.indexOf(o);c>=0&&s.splice(c,1),this._triggers.has(n)||a.delete(n)})}}register(e,n){return this._triggers.has(e)?!1:(this._triggers.set(e,n),!0)}_getTrigger(e){let n=this._triggers.get(e);if(!n)throw go(e);return n}trigger(e,n,r,i=!0){let s=this._getTrigger(n),o=new Je(this.id,n,e),a=this._engine.statesByElement.get(e);a||(Z(e,mt),Z(e,mt+"-"+n),this._engine.statesByElement.set(e,a=new Map));let c=a.get(n),u=new Xe(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&c&&u.absorbOptions(c.options),a.set(n,u),c||(c=dn),!(u.value===Ye)&&c.value===u.value){if(!la(c.params,u.params)){let g=[],R=s.matchStyles(c.value,c.params,g),L=s.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{Me(e,R),ae(e,L)})}return}let v=W(this._engine.playersByElement,e,[]);v.forEach(g=>{g.namespaceId==this.id&&g.triggerName==n&&g.queued&&g.destroy()});let S=s.matchTransition(c.value,u.value,e,u.params),m=!1;if(!S){if(!i)return;S=s.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:S,fromState:c,toState:u,player:o,isFallbackTransition:m}),m||(Z(e,bi),o.onStart(()=>{Ue(e,bi)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);let R=this._engine.playersByElement.get(e);if(R){let L=R.indexOf(o);L>=0&&R.splice(L,1)}}),this.players.push(o),v.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(n=>n.delete(e)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){let r=this._engine.driver.query(e,vt,!0);r.forEach(i=>{if(i[J])return;let s=this._engine.fetchNamespacesByElement(i);s.size?s.forEach(o=>o.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,n,r,i){let s=this._engine.statesByElement.get(e),o=new Map;if(s){let a=[];if(s.forEach((c,u)=>{if(o.set(u,c.value),this._triggers.has(u)){let f=this.trigger(e,u,Ye,i);f&&a.push(f)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,o),r&&ge(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){let i=new Set;n.forEach(s=>{let o=s.name;if(i.has(o))return;i.add(o);let c=this._triggers.get(o).fallbackTransition,u=r.get(o)||dn,f=new Xe(Ye),h=new Je(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:c,fromState:u,toState:f,player:h,isFallbackTransition:!0})})}}removeNode(e,n){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){let s=r.players.length?r.playersByQueriedElement.get(e):[];if(s&&s.length)i=!0;else{let o=e;for(;o=o.parentNode;)if(r.statesByElement.get(o)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,n);else{let s=e[J];(!s||s===Gi)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){Z(e,this._hostClassName)}drainQueuedTransitions(e){let n=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let s=r.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==r.triggerName){let c=Ln(s,r.triggerName,r.fromState.value,r.toState.value);c._data=e,In(r.player,a.phase,c,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{let s=r.transition.ast.depCount,o=i.transition.ast.depCount;return s==0||o==0?s-o:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Dn=class{_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}constructor(e,n,r){this.bodyNode=e,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){let r=new On(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,n){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let o=!1,a=this.driver.getParentElement(n);for(;a;){let c=i.get(a);if(c){let u=r.indexOf(c);r.splice(u+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||r.unshift(e)}else r.push(e);return i.set(n,e),e}register(e,n){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}registerTrigger(e,n,r){let i=this._namespaceLookup[e];i&&i.register(n,r)&&this.totalAnimations++}destroy(e,n){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let n=new Set,r=this.statesByElement.get(e);if(r){for(let i of r.values())if(i.namespaceId){let s=this._fetchNamespace(i.namespaceId);s&&n.add(s)}}return n}trigger(e,n,r,i){if(Et(n)){let s=this._fetchNamespace(e);if(s)return s.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!Et(n))return;let s=n[J];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;let o=this.collectedLeaveElements.indexOf(n);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Z(e,fn)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ue(e,fn))}removeNode(e,n,r){if(Et(n)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(n,r):this.markElementAsRemoved(e,n,!1,r);let s=this.namespacesByHostElement.get(n);s&&s.id!==e&&s.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(e,n,r,i,s){this.collectedLeaveElements.push(n),n[J]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,n,r,i,s){return Et(n)?this._fetchNamespace(e).listen(n,r,i,s):()=>{}}_buildInstruction(e,n,r,i,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,n,s)}destroyInnerAnimations(e){let n=this.driver.query(e,vt,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(e,yn,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return ge(this.players).onDone(()=>e());e()})}processLeaveNode(e){var r;let n=e[J];if(n&&n.setForRemoval){if(e[J]=Gi,n.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}(r=e.classList)!=null&&r.contains(fn)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Xo,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],n.length?ge(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw yo(e)}_flushAnimations(e,n){let r=new Ze,i=[],s=new Map,o=[],a=new Map,c=new Map,u=new Map,f=new Set;this.disabledNodes.forEach(d=>{f.add(d);let y=this.driver.query(d,Zo,!0);for(let _=0;_{let _=Fi+g++;m.set(y,_),d.forEach(A=>Z(A,_))});let R=[],L=new Set,U=new Set;for(let d=0;dL.add(A)):U.add(y))}let B=new Map,j=Ri(v,Array.from(L));j.forEach((d,y)=>{let _=gn+g++;B.set(y,_),d.forEach(A=>Z(A,_))}),e.push(()=>{S.forEach((d,y)=>{let _=m.get(y);d.forEach(A=>Ue(A,_))}),j.forEach((d,y)=>{let _=B.get(y);d.forEach(A=>Ue(A,_))}),R.forEach(d=>{this.processLeaveNode(d)})});let ee=[],q=[];for(let d=this._namespaceList.length-1;d>=0;d--)this._namespaceList[d].drainQueuedTransitions(n).forEach(_=>{let A=_.player,x=_.element;if(ee.push(A),this.collectedEnterElements.length){let G=x[J];if(G&&G.setForMove){if(G.previousTriggersValues&&G.previousTriggersValues.has(_.triggerName)){let Ee=G.previousTriggersValues.get(_.triggerName),Y=this.statesByElement.get(_.element);if(Y&&Y.has(_.triggerName)){let et=Y.get(_.triggerName);et.value=Ee,Y.set(_.triggerName,et)}}A.destroy();return}}let ne=!h||!this.driver.containsElement(h,x),V=B.get(x),de=m.get(x),D=this._buildInstruction(_,r,de,V,ne);if(D.errors&&D.errors.length){q.push(D);return}if(ne){A.onStart(()=>Me(x,D.fromStyles)),A.onDestroy(()=>ae(x,D.toStyles)),i.push(A);return}if(_.isFallbackTransition){A.onStart(()=>Me(x,D.fromStyles)),A.onDestroy(()=>ae(x,D.toStyles)),i.push(A);return}let Kn=[];D.timelines.forEach(G=>{G.stretchStartingKeyframe=!0,this.disabledNodes.has(G.element)||Kn.push(G)}),D.timelines=Kn,r.append(x,D.timelines);let Xi={instruction:D,player:A,element:x};o.push(Xi),D.queriedElements.forEach(G=>W(a,G,[]).push(A)),D.preStyleProps.forEach((G,Ee)=>{if(G.size){let Y=c.get(Ee);Y||c.set(Ee,Y=new Set),G.forEach((et,Dt)=>Y.add(Dt))}}),D.postStyleProps.forEach((G,Ee)=>{let Y=u.get(Ee);Y||u.set(Ee,Y=new Set),G.forEach((et,Dt)=>Y.add(Dt))})});if(q.length){let d=[];q.forEach(y=>{d.push(Eo(y.triggerName,y.errors))}),ee.forEach(y=>y.destroy()),this.reportError(d)}let K=new Map,te=new Map;o.forEach(d=>{let y=d.element;r.has(y)&&(te.set(y,y),this._beforeAnimationBuild(d.player.namespaceId,d.instruction,K))}),i.forEach(d=>{let y=d.element;this._getPreviousPlayers(y,!1,d.namespaceId,d.triggerName,null).forEach(A=>{W(K,y,[]).push(A),A.destroy()})});let le=R.filter(d=>Mi(d,c,u)),ce=new Map;Ai(ce,this.driver,U,u,oe).forEach(d=>{Mi(d,c,u)&&le.push(d)});let Be=new Map;S.forEach((d,y)=>{Ai(Be,this.driver,new Set(d),c,pt)}),le.forEach(d=>{let y=ce.get(d),_=Be.get(d);ce.set(d,new Map([...(y==null?void 0:y.entries())??[],...(_==null?void 0:_.entries())??[]]))});let ye=[],Gn=[],Cn={};o.forEach(d=>{let{element:y,player:_,instruction:A}=d;if(r.has(y)){if(f.has(y)){_.onDestroy(()=>ae(y,A.toStyles)),_.disabled=!0,_.overrideTotalTime(A.totalTime),i.push(_);return}let x=Cn;if(te.size>1){let V=y,de=[];for(;V=V.parentNode;){let D=te.get(V);if(D){x=D;break}de.push(V)}de.forEach(D=>te.set(D,x))}let ne=this._buildAnimation(_.namespaceId,A,K,s,Be,ce);if(_.setRealPlayer(ne),x===Cn)ye.push(_);else{let V=this.playersByElement.get(x);V&&V.length&&(_.parentPlayer=ge(V)),i.push(_)}}else Me(y,A.fromStyles),_.onDestroy(()=>ae(y,A.toStyles)),Gn.push(_),f.has(y)&&i.push(_)}),Gn.forEach(d=>{let y=s.get(d.element);if(y&&y.length){let _=ge(y);d.setRealPlayer(_)}}),i.forEach(d=>{d.parentPlayer?d.syncPlayerEvents(d.parentPlayer):d.destroy()});for(let d=0;d!ne.destroyed);x.length?oa(this,y,x):this.processLeaveNode(y)}return R.length=0,ye.forEach(d=>{this.players.push(d),d.onDone(()=>{d.destroy();let y=this.players.indexOf(d);this.players.splice(y,1)}),d.play()}),ye}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,s){let o=[];if(n){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let c=!s||s==Ye;a.forEach(u=>{u.queued||!c&&u.triggerName!=i||o.push(u)})}}return(r||i)&&(o=o.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),o}_beforeAnimationBuild(e,n,r){let i=n.triggerName,s=n.element,o=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:i;for(let c of n.timelines){let u=c.element,f=u!==s,h=W(r,u,[]);this._getPreviousPlayers(u,f,o,a,n.toState).forEach(S=>{let m=S.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),S.destroy(),h.push(S)})}Me(s,n.fromStyles)}_buildAnimation(e,n,r,i,s,o){let a=n.triggerName,c=n.element,u=[],f=new Set,h=new Set,v=n.timelines.map(m=>{let g=m.element;f.add(g);let R=g[J];if(R&&R.removedBeforeQueried)return new me(m.duration,m.delay);let L=g!==c,U=aa((r.get(g)||ta).map(K=>K.getRealPlayer())).filter(K=>{let te=K;return te.element?te.element===g:!1}),B=s.get(g),j=o.get(g),ee=Ni(this._normalizer,m.keyframes,B,j),q=this._buildPlayer(m,ee,U);if(m.subTimeline&&i&&h.add(g),L){let K=new Je(e,a,g);K.setRealPlayer(q),u.push(K)}return q});u.forEach(m=>{W(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>ra(this.playersByQueriedElement,m.element,m))}),f.forEach(m=>Z(m,gi));let S=ge(v);return S.onDestroy(()=>{f.forEach(m=>Ue(m,gi)),ae(c,n.toStyles)}),h.forEach(m=>{W(i,m,[]).push(S)}),S}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new me(e.duration,e.delay)}},Je=class{constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r,this._player=new me,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>In(e,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){W(this._queuedCallbacks,e,[]).push(n)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let n=this._player;n.triggerCallback&&n.triggerCallback(e)}};function ra(t,e,n){let r=t.get(e);if(r){if(r.length){let i=r.indexOf(n);r.splice(i,1)}r.length==0&&t.delete(e)}return r}function ia(t){return t??null}function Et(t){return t&&t.nodeType===1}function sa(t){return t=="start"||t=="done"}function Ti(t,e){let n=t.style.display;return t.style.display=e??"none",n}function Ai(t,e,n,r,i){let s=[];n.forEach(c=>s.push(Ti(c)));let o=[];r.forEach((c,u)=>{let f=new Map;c.forEach(h=>{let v=e.computeStyle(u,h,i);f.set(h,v),(!v||v.length==0)&&(u[J]=na,o.push(u))}),t.set(u,f)});let a=0;return n.forEach(c=>Ti(c,s[a++])),o}function Ri(t,e){let n=new Map;if(t.forEach(a=>n.set(a,[])),e.length==0)return n;let r=1,i=new Set(e),s=new Map;function o(a){if(!a)return r;let c=s.get(a);if(c)return c;let u=a.parentNode;return n.has(u)?c=u:i.has(u)?c=r:c=o(u),s.set(a,c),c}return e.forEach(a=>{let c=o(a);c!==r&&n.get(c).push(a)}),n}function Z(t,e){var n;(n=t.classList)==null||n.add(e)}function Ue(t,e){var n;(n=t.classList)==null||n.remove(e)}function oa(t,e,n){ge(n).onDone(()=>t.processLeaveNode(e))}function aa(t){let e=[];return Ci(t,e),e}function Ci(t,e){for(let n=0;ni.add(s)):e.set(t,r),n.delete(t),!0}var Rt=class{constructor(e,n,r){this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,s)=>{},this._transitionEngine=new Dn(e.body,n,r),this._timelineEngine=new Mn(e.body,n,r),this._transitionEngine.onRemovalComplete=(i,s)=>this.onRemovalComplete(i,s)}registerTrigger(e,n,r,i,s){let o=e+"-"+i,a=this._triggerCache[o];if(!a){let c=[],u=[],f=ji(this._driver,s,c,u);if(c.length)throw oo(i,c);u.length&&void 0,a=qo(i,f,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(n,i,a)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,r,i){this._transitionEngine.insertNode(e,n,r,i)}onRemove(e,n,r){this._transitionEngine.removeNode(e,n,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if(r.charAt(0)=="@"){let[s,o]=di(r),a=i;this._timelineEngine.command(s,n,o,a)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,s){if(r.charAt(0)=="@"){let[o,a]=di(r);return this._timelineEngine.listen(o,n,a,s)}return this._transitionEngine.listen(e,n,r,i,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function ca(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=pn(e[0]),e.length>1&&(r=pn(e[e.length-1]))):e instanceof Map&&(n=pn(e)),n||r?new Nn(t,n,r):null}var je=class je{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let i=je.initialStylesByElement.get(e);i||je.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&ae(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ae(this._element,this._initialStyles),this._endStyles&&(ae(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(je.initialStylesByElement.delete(this._element),this._startStyles&&(Me(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Me(this._element,this._endStyles),this._endStyles=null),ae(this._element,this._initialStyles),this._state=3)}};je.initialStylesByElement=new WeakMap;var Nn=je;function pn(t){let e=null;return t.forEach((n,r)=>{ua(r)&&(e=e||new Map,e.set(r,n))}),e}function ua(t){return t==="display"||t==="position"}var Mt=class{constructor(e,n,r,i){this.element=e,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let n=[];return e.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(e,n,r){return e.animate(this._convertKeyframesToObject(n),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&e.set(i,this._finished?r:Un(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let n=e==="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Oi=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,n){return Pi(e,n)}getParentElement(e){return Fn(e)}query(e,n,r){return Ii(e,n,r)}computeStyle(e,n,r){return Un(e,n)}animate(e,n,r,i,s,o=[]){let a=i==0?"both":"forwards",c={duration:r,delay:i,fill:a};s&&(c.easing=s);let u=new Map,f=o.filter(S=>S instanceof Mt);No(r,i)&&f.forEach(S=>{S.currentSnapshot.forEach((m,g)=>u.set(g,m))});let h=Mo(n).map(S=>new Map(S));h=Po(e,h,u);let v=ca(e,h);return new Mt(e,h,c,v)}};var _t="@",Ki="@.disabled",Ot=class{constructor(e,n,r,i){this.namespaceId=e,this.delegate=n,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){var n,r;(r=(n=this.delegate).destroyNode)==null||r.call(n,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,r,i=!0){this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,i)}removeChild(e,n,r){this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,r,i){this.delegate.setAttribute(e,n,r,i)}removeAttribute(e,n,r){this.delegate.removeAttribute(e,n,r)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,r,i){this.delegate.setStyle(e,n,r,i)}removeStyle(e,n,r){this.delegate.removeStyle(e,n,r)}setProperty(e,n,r){n.charAt(0)==_t&&n==Ki?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,r){return this.delegate.listen(e,n,r)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}},Pn=class extends Ot{constructor(e,n,r,i,s){super(n,r,i,s),this.factory=e,this.namespaceId=n}setProperty(e,n,r){n.charAt(0)==_t?n.charAt(1)=="."&&n==Ki?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,n.slice(1),r):this.delegate.setProperty(e,n,r)}listen(e,n,r){if(n.charAt(0)==_t){let i=ha(e),s=n.slice(1),o="";return s.charAt(0)!=_t&&([s,o]=fa(s)),this.engine.listen(this.namespaceId,i,s,o,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,r,a)})}return this.delegate.listen(e,n,r)}};function ha(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function fa(t){let e=t.indexOf("."),n=t.substring(0,e),r=t.slice(e+1);return[n,r]}var Di=class{constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(i,s)=>{let o=s==null?void 0:s.parentNode(i);o&&s.removeChild(o,i)}}createRenderer(e,n){var u;let r="",i=this.delegate.createRenderer(e,n);if(!e||!((u=n==null?void 0:n.data)!=null&&u.animation)){let f=this._rendererCache,h=f.get(i);if(!h){let v=()=>f.delete(i);h=new Ot(r,i,this.engine,v),f.set(i,h)}return h}let s=n.id,o=n.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=f=>{Array.isArray(f)?f.forEach(a):this.engine.registerTrigger(s,o,e,f.name,f)};return n.data.animation.forEach(a),new Pn(this,o,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){if(e>=0&&en(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(s=>{let[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),i.push([n,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var da=I(()=>{let t={onRemovalComplete:()=>{}},e=new Hn(null),n=p(Rt,tr.Optional)||t,{onRemovalComplete:r=t.onRemovalComplete}=n;return n.onRemovalComplete=(i,s)=>{e.next(i),r.call(n,i,s)},e.pipe(z(i=>_e(0).pipe(M(()=>null),C(i))),De())});function zi(t,e=null){return Gt(t).activeElement!==t&&!t.matches(":disabled")&&!(e!=null&&e.contains(t))}function pa(t){return re(k(t,"focusin").pipe(M(({target:e})=>e)),k(t,"focusout").pipe(ie(({target:e,relatedTarget:n})=>!!n&&zi(e)),M(({relatedTarget:e})=>e)))}var uu=I(()=>{let t=p(da),e=p(O),n=p(P),r=k(e,"focusout"),i=k(e,"focusin"),s=k(e,"blur"),o=k(e,"mousedown"),a=k(e,"mouseup");return re(r.pipe(Se(o),Jn(()=>a),ot(t),ie(([c,u])=>zi(lt(c),u)),M(([{relatedTarget:c}])=>c)),s.pipe(M(()=>n.activeElement),ie(c=>!!(c!=null&&c.matches("iframe")))),i.pipe(z(c=>{let u=lt(c),f=Gt(u);return f===n?Q(u):pa(f).pipe(C(u))})),o.pipe(z(c=>{let u=lt(c);return!n.activeElement||n.activeElement===n.body?Q(u):r.pipe(ve(1),M(()=>u),Se(_e(0)))}))).pipe(he(),De())}),ma=Le([]);function hu(t){return{provide:ma,multi:!0,useExisting:t}}var fu=I(()=>{var t,e;return(e=(t=p(P).querySelector("base"))===null||t===void 0?void 0:t.href)!==null&&e!==void 0?e:""}),du=I(()=>p(at).createRenderer(null,null)),ga=Le([]);function pu(t){return{provide:ga,multi:!0,useExisting:t}}var mu=I(()=>{var t;let e=(t=p(P).querySelector("base"))===null||t===void 0?void 0:t.href;if(e)return e;let n=p(P).createElement("a");return n.href="",n.pathname}),ya=new E("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function gu(t){return{provide:ya,useExisting:t}}var yu=new E("[TUI_FONTS_READY]",{factory:()=>{var t;return Ge(((t=p(P).fonts)===null||t===void 0?void 0:t.ready)||it).pipe(se({bufferSize:1,refCount:!1}))}}),Ea=I(()=>sn(p(Fe))),_a=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/,va=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/,Sa=I(()=>_a.test(p(Xt).toLowerCase())||va.test(p(Xt).slice(0,4).toLowerCase())),Eu=I(()=>p(Sa)&&!p(Ea)),_u=I(()=>si(p(Fe))),vu=I(()=>!!p(O).chrome),wa=I(()=>!!p(O).Cypress),ba=I(ke),Su=I(()=>p(wa)||p(ba)),wu=I(()=>{var t;return typeof((t=p(O))===null||t===void 0?void 0:t.mozCancelFullScreen)<"u"}),bu=I(()=>p(O).location.host.endsWith("stackblitz.io")),Tu=I(()=>{var t;return!!(!((t=p(O))===null||t===void 0)&&t.webkitConvertPointFromNodeToPage)}),Au=Le("web");var Ru=I(()=>Tr(p(X))?new Range:{}),Mu=I(()=>new Ne(p(P).documentElement)),Ou=Le({timeout:500,threshold:30}),Du=I(ti),Nu=I(()=>p(O).matchMedia("(any-pointer: coarse)").matches),Ta=new E("[TUI_WINDOW_SIZE]",{factory:()=>{let t=p(O);return k(t,"resize").pipe(C(null),M(()=>{var e,n;let r=Math.max(t.document.documentElement.clientWidth||0,t.innerWidth||0,((e=t.visualViewport)===null||e===void 0?void 0:e.width)||0),i=Math.max(t.document.documentElement.clientHeight||0,t.innerHeight||0,((n=t.visualViewport)===null||n===void 0?void 0:n.height)||0);return{width:r,height:i,top:0,left:0,right:r,bottom:i}}),se({bufferSize:1,refCount:!0}))}}),Pu=I(()=>p(Ta).pipe(M(({height:t})=>t))),Iu=Le({wheelSensitivity:.01});var $i=(()=>{class t extends rt{constructor(){super(1)}ngOnDestroy(){this.next()}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=F({token:t,factory:t.\u0275fac}),t})(),eh=(()=>{class t{constructor(n,r){this.resolver=n,this.injector=r,this.map=new Map}addComponent(n){this.map.has(n)||this.map.set(n,this.resolver.resolveComponentFactory(n).create(this.injector))}ngOnDestroy(){this.map.forEach(n=>n.destroy())}}return t.\u0275fac=function(n){return new(n||t)(T(pr),T(nr))},t.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),th=(()=>{class t extends ${constructor({nativeElement:n},r,i){super(s=>this.focusVisible$.subscribe(s)),this.focusVisible$=ai(n).pipe(li(r),Se(i))}}return t.\u0275fac=function(n){return new(n||t)(T(Ne),T(Er),T($i,2))},t.\u0275prov=F({token:t,factory:t.\u0275fac}),t})(),Aa="tui_",nh=(()=>{class t{generate(){return`${Aa}${t.autoId++}${Date.now()}`}}return t.autoId=0,t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ra=(()=>{class t extends ${constructor(n,r){super(i=>this.callback$.subscribe(i)),this.callback$=st(()=>{let{nativeElement:i}=n,s=[r,i];for(;i.parentElement;)i=i.parentElement,s.push(i);return re(...s.map(o=>k(o,"scroll")))})}}return t.\u0275fac=function(n){return new(n||t)(T(Ne),T(O))},t.\u0275prov=F({token:t,factory:t.\u0275fac}),t})(),rh=(()=>{class t extends ${constructor(n,{nativeElement:r},i,s,o,a){super(c=>this.obscured$.subscribe(c)),this.obscured$=re(re(n,Oe(s,"resize")).pipe(Xn(0)),a.pipe(er(ni))).pipe(M(()=>Pr(r)),C(null),he(),ui(i),Se(o))}}return t.\u0275fac=function(n){return new(n||t)(T(Ra,2),T(Ne),T(pe),T(O),T($i,2),T(Zt))},t.\u0275prov=F({token:t,factory:t.\u0275fac}),t})();var Ma=300;function Vi(t){return"scrollX"in t?t.scrollX:t.scrollLeft}function Oa(t){return"scrollY"in t?t.scrollY:t.scrollTop}var ih=(()=>{class t{constructor(n,r){this.performanceRef=n,this.animationFrame$=r}scroll$(n,r,i=Vi(n),s=Ma){let o=Oa(n),a=Vi(n),c=r-o,u=i-a;return(s?st(()=>Q(this.performanceRef.now())).pipe(z(h=>this.animationFrame$.pipe(M(v=>v-h))),M(h=>Or(Rr(h/s,0,1))),M(h=>[o+c*h,a+u*h]),Se(_e(s)),Nt([r,i])):Q([r,i])).pipe(we(([h,v])=>{var S;(S=n.scrollTo)===null||S===void 0||S.call(n,v,h)}))}}return t.\u0275fac=function(n){return new(n||t)(T(Qr),T(Zt))},t.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),sh=(()=>{class t{constructor(n,r){this.win=n,this.platformId=r,this.cache=new Map}request(n){let r=this.cache.get(n);if(r)return r;let s=("AbortController"in this.win||Te(this.platformId)?ln(n):st(()=>Ge(fetch(n)))).pipe(z(o=>hi(this,void 0,void 0,function*(){if(o.ok)return o.text();throw new Error(`Failed to load ${n} (${o.statusText})`)})),se({bufferSize:1,refCount:!1}));return this.cache.set(n,s),s}}return t.\u0275fac=function(n){return new(n||t)(T(O),T(X))},t.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var N=function(t){return t.Align="justify",t.Anchor="anchor",t.Attach="attach",t.Bold="bold",t.Clear="clear",t.Code="code",t.Color="foreColor",t.Details="details",t.Group="group",t.HR="insertHorizontalRule",t.Hilite="hiliteColor",t.Img="image",t.Italic="italic",t.Link="link",t.List="list",t.MergeCells="mergeCells",t.Quote="quote",t.RowsColumnsManaging="rowsColumnsManaging",t.Size="fontSize",t.SplitCells="splitCells",t.Strikethrough="strikeThrough",t.Sub="subscript",t.Sup="superscript",t.Table="insertTable",t.Tex="tex",t.Underline="underline",t.Undo="undo",t}(N||{});var Hi=new Map([["color-black-100","#909090"],["color-black-200","#666666"],["color-black-300","#333333"],["color-blue-100","#1771e6"],["color-blue-200","#1464cc"],["color-blue-300","#0953b3"],["color-gray-100","#f5f5f6"],["color-gray-200","#e7e8ea"],["color-gray-300","#cbcfd3"],["color-gray-400","#959ba4"],["color-gray-500","#79818c"],["color-gray-600","#616871"],["color-green-100","#39b54a"],["color-green-200","#2ca53a"],["color-green-300","#168a21"],["color-light-blue-100","#ecf1f7"],["color-light-blue-200","#e4ebf3"],["color-light-blue-300","#dde4ed"],["color-red-100","#e01f19"],["color-red-200","#d3120e"],["color-red-300","#c40b08"],["color-yellow-100","#FFDD2C"],["color-yellow-200","#FCC521"],["color-yellow-300","#FAB618"],["transparent","transparent"]]),Wi="rgb(51, 51, 51)",ch=[N.Undo,N.Size,N.Bold,N.Italic,N.Underline,N.Align,N.List,N.Quote,N.Link,N.Anchor,N.Color,N.Hilite,N.Clear,N.Strikethrough,N.Code,N.Img,N.HR,N.Sup,N.Sub,N.Table,N.Details];var uh="tui_editor_resize";function qi(t){return[{px:13,name:t.small},{px:15,name:t.normal},{px:17,name:t.large},{px:24,family:"var(--tui-font-heading)",name:t.subtitle,headingLevel:2,weight:"bold"},{px:30,family:"var(--tui-font-heading)",name:t.title,headingLevel:1,weight:"bold"}]}var hh="#";var Da="https://",fh=":",dh="://",Yi={protocol:Da};var l=function(t){return t.AD="AD",t.AE="AE",t.AF="AF",t.AG="AG",t.AI="AI",t.AL="AL",t.AM="AM",t.AO="AO",t.AR="AR",t.AT="AT",t.AU="AU",t.AW="AW",t.AZ="AZ",t.BA="BA",t.BB="BB",t.BD="BD",t.BE="BE",t.BF="BF",t.BG="BG",t.BH="BH",t.BI="BI",t.BJ="BJ",t.BL="BL",t.BM="BM",t.BN="BN",t.BO="BO",t.BQ="BQ",t.BR="BR",t.BS="BS",t.BT="BT",t.BW="BW",t.BY="BY",t.BZ="BZ",t.CA="CA",t.CD="CD",t.CF="CF",t.CG="CG",t.CH="CH",t.CI="CI",t.CL="CL",t.CM="CM",t.CN="CN",t.CO="CO",t.CR="CR",t.CU="CU",t.CV="CV",t.CW="CW",t.CY="CY",t.CZ="CZ",t.DE="DE",t.DJ="DJ",t.DK="DK",t.DM="DM",t.DO="DO",t.DZ="DZ",t.EC="EC",t.EE="EE",t.EG="EG",t.ER="ER",t.ES="ES",t.ET="ET",t.FI="FI",t.FJ="FJ",t.FK="FK",t.FM="FM",t.FR="FR",t.GA="GA",t.GB="GB",t.GD="GD",t.GE="GE",t.GF="GF",t.GH="GH",t.GI="GI",t.GL="GL",t.GM="GM",t.GN="GN",t.GP="GP",t.GQ="GQ",t.GR="GR",t.GT="GT",t.GW="GW",t.GY="GY",t.HK="HK",t.HN="HN",t.HR="HR",t.HT="HT",t.HU="HU",t.ID="ID",t.IE="IE",t.IL="IL",t.IN="IN",t.IQ="IQ",t.IR="IR",t.IS="IS",t.IT="IT",t.JM="JM",t.JO="JO",t.JP="JP",t.KE="KE",t.KG="KG",t.KH="KH",t.KM="KM",t.KN="KN",t.KP="KP",t.KR="KR",t.KW="KW",t.KY="KY",t.KZ="KZ",t.LA="LA",t.LB="LB",t.LC="LC",t.LI="LI",t.LK="LK",t.LR="LR",t.LS="LS",t.LT="LT",t.LU="LU",t.LV="LV",t.LY="LY",t.MA="MA",t.MC="MC",t.MD="MD",t.ME="ME",t.MF="MF",t.MG="MG",t.MK="MK",t.ML="ML",t.MM="MM",t.MN="MN",t.MO="MO",t.MQ="MQ",t.MR="MR",t.MS="MS",t.MT="MT",t.MU="MU",t.MV="MV",t.MW="MW",t.MX="MX",t.MY="MY",t.MZ="MZ",t.NA="NA",t.NC="NC",t.NE="NE",t.NG="NG",t.NI="NI",t.NL="NL",t.NO="NO",t.NP="NP",t.NZ="NZ",t.OM="OM",t.PA="PA",t.PE="PE",t.PF="PF",t.PG="PG",t.PH="PH",t.PK="PK",t.PL="PL",t.PT="PT",t.PW="PW",t.PY="PY",t.QA="QA",t.RE="RE",t.RO="RO",t.RS="RS",t.RU="RU",t.RW="RW",t.SA="SA",t.SB="SB",t.SC="SC",t.SD="SD",t.SE="SE",t.SG="SG",t.SH="SH",t.SI="SI",t.SK="SK",t.SL="SL",t.SM="SM",t.SN="SN",t.SO="SO",t.SR="SR",t.ST="ST",t.SV="SV",t.SX="SX",t.SY="SY",t.SZ="SZ",t.TC="TC",t.TD="TD",t.TG="TG",t.TH="TH",t.TJ="TJ",t.TL="TL",t.TM="TM",t.TN="TN",t.TO="TO",t.TR="TR",t.TT="TT",t.TW="TW",t.TZ="TZ",t.UA="UA",t.UG="UG",t.US="US",t.UY="UY",t.UZ="UZ",t.VC="VC",t.VE="VE",t.VG="VG",t.VN="VN",t.VU="VU",t.WS="WS",t.XK="XK",t.YE="YE",t.YT="YT",t.ZA="ZA",t.ZM="ZM",t.ZW="ZW",t}(l||{});var Na={cardNumber:["Number","Card number"],cardExpiry:["Expires","Valid through"]},Pa={colorSelectorModeNames:["Solid color","Gradient"],toolbarTools:{undo:"Undo",redo:"Redo",font:"Font",fontStyle:"Font style",fontSize:"Font size",bold:"Bold",italic:"Italic",underline:"Underline",strikeThrough:"Strike through",justify:"Justify",justifyLeft:"Justify left",justifyCenter:"Justify center",justifyRight:"Justify right",justifyFull:"Justify full",list:"List",indent:"Indent",outdent:"Outdent",unorderedList:"Unordered list",orderedList:"Ordered list",quote:"Quote",foreColor:"Color",backColor:"Background color",hiliteColor:"Highlight color",clear:"Clear",link:"Link",attach:"Attach file",tex:"Insert TeX",code:"Code",image:"Insert image",insertHorizontalRule:"Insert horizontal rule",superscript:"Superscript",subscript:"Subscript",insertTable:"Insert table",insertGroup:"Insert group",hiliteGroup:"Hilite group",removeGroup:"Remove group",insertAnchor:"Insert anchor",mergeCells:"Merge cells",splitCells:"Split cells",rowsColumnsManaging:"Managing rows and columns",cellColor:"Cell color",setDetails:"Details",removeDetails:"Remove details"},editorEditLink:{urlExample:"example.com",anchorExample:"anchor"},editorTableCommands:[["Insert column before","Insert column after"],["Insert row before","Insert row after"],["Delete column","Delete row"]],editorCodeOptions:["Code in the text","Code in block"],editorFontOptions:{small:"Small",large:"Large",normal:"Normal",title:"Title",subtitle:"Subtitle"}},Ia={previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"}},La={showHideText:"Show/Hide",paginationTexts:{pages:"Pages",linesPerPage:"Lines per page",of:"of"}},Fa={[l.AD]:"Andorra",[l.AE]:"United Arab Emirates",[l.AF]:"Afghanistan",[l.AG]:"Antigua and Barbuda",[l.BL]:"Saint Barth\xE9lemy",[l.AI]:"Anguilla",[l.AL]:"Albania",[l.AM]:"Armenia",[l.AO]:"Angola",[l.AR]:"Argentina",[l.AT]:"Austria",[l.AU]:"Australia",[l.AW]:"Aruba",[l.AZ]:"Azerbaijan",[l.BA]:"Bosnia and Herzegovina",[l.BB]:"Barbados",[l.BD]:"Bangladesh",[l.BE]:"Belgium",[l.BF]:"Burkina Faso",[l.BG]:"Bulgaria",[l.BH]:"Bahrain",[l.BI]:"Burundi",[l.BJ]:"Benin",[l.GF]:"Guyana",[l.BM]:"Bermuda",[l.BN]:"Brunei Darussalam",[l.BO]:"Bolivia",[l.BQ]:"Bonaire, Sint Eustatius and Saba",[l.BR]:"Brazil",[l.BS]:"Bahamas",[l.BT]:"Bhutan",[l.BW]:"Botswana",[l.BY]:"Belarus",[l.BZ]:"Belize",[l.CA]:"Canada",[l.CD]:"Dem. Rep. Congo (Kinshasa)",[l.CF]:"Central African Republic",[l.CG]:"Congo (Brazzaville)",[l.CH]:"Switzerland",[l.CI]:"Ivory Coast",[l.CL]:"Chile",[l.CM]:"Cameroon",[l.CN]:"China",[l.CO]:"Colombia",[l.CR]:"Costa Rica",[l.CU]:"Cuba",[l.CV]:"Cape Verde",[l.CW]:"Cura\xE7ao",[l.CY]:"Cyprus",[l.CZ]:"Czech Republic",[l.DE]:"Germany",[l.DJ]:"Djibouti",[l.DK]:"Denmark",[l.DM]:"Dominica",[l.DO]:"Dominican Republic",[l.DZ]:"Algeria",[l.EC]:"Ecuador",[l.EE]:"Estonia",[l.EG]:"Egypt",[l.ER]:"Eritrea",[l.ES]:"Spain",[l.ET]:"Ethiopia",[l.FI]:"Finland",[l.FJ]:"Fiji",[l.FK]:"Falkland Islands",[l.FM]:"F.S. of Micronesia",[l.FR]:"France",[l.GA]:"Gabon",[l.GB]:"United Kingdom",[l.GD]:"Grenada",[l.GE]:"Georgia",[l.GP]:"Guadeloupe",[l.GH]:"Ghana",[l.GI]:"Gibraltar",[l.GL]:"Greenland",[l.GM]:"Gambia",[l.GN]:"Guinea",[l.MF]:"Saint-Martin",[l.GQ]:"Equatorial Guinea",[l.GR]:"Greece",[l.GT]:"Guatemala",[l.GW]:"Guinea-Bissau",[l.GY]:"Guyana",[l.HK]:"Hong Kong",[l.HN]:"Honduras",[l.HR]:"Croatia",[l.HT]:"Haiti",[l.HU]:"Hungary",[l.ID]:"Indonesia",[l.IE]:"Ireland",[l.IL]:"Israel",[l.IN]:"India",[l.IQ]:"Iraq",[l.IR]:"Iran",[l.IS]:"Iceland",[l.IT]:"Italy",[l.JM]:"Jamaica",[l.JO]:"Jordan",[l.JP]:"Japan",[l.KE]:"Kenya",[l.KG]:"Kyrgyzstan",[l.KH]:"Cambodia",[l.KM]:"Comoros",[l.KN]:"Saint Kitts and Nevis",[l.KP]:"Korean PDR",[l.KR]:"Rep. Korea",[l.KW]:"Kuwait",[l.KY]:"Cayman Islands",[l.KZ]:"Kazakhstan",[l.LA]:"Laos",[l.LB]:"Lebanon",[l.LC]:"Saint Lucia",[l.LI]:"Liechtenstein",[l.LK]:"Sri Lanka",[l.LR]:"Liberia",[l.LS]:"Lesotho",[l.LT]:"Lithuania",[l.LU]:"Luxembourg",[l.LV]:"Latvia",[l.LY]:"Libya",[l.MA]:"Morocco",[l.MC]:"Monaco",[l.MD]:"Moldova",[l.ME]:"Montenegro",[l.MQ]:"Martinique",[l.MG]:"Madagascar",[l.MK]:"Rep. of North Macedonia",[l.ML]:"Mali",[l.MM]:"Burma (Myanmar)",[l.MN]:"Mongolia",[l.MO]:"Macau",[l.RE]:"R\xE9union",[l.MR]:"Mauritania",[l.MS]:"Montserrat",[l.MT]:"Malta",[l.MU]:"Mauritius",[l.MV]:"Maldives",[l.MW]:"Malawi",[l.MX]:"Mexico",[l.MY]:"Malaysia",[l.MZ]:"Mozambique",[l.NA]:"Namibia",[l.NC]:"New Caledonia",[l.NE]:"Niger",[l.NG]:"Nigeria",[l.NI]:"Nicaragua",[l.NL]:"Netherlands",[l.NO]:"Norway",[l.NP]:"Nepal",[l.NZ]:"New Zealand",[l.OM]:"Oman",[l.PA]:"Panama",[l.PE]:"Peru",[l.PF]:"French Polynesia (Tahiti)",[l.PG]:"Papua New Guinea",[l.PH]:"Philippines",[l.PK]:"Pakistan",[l.PL]:"Poland",[l.PT]:"Portugal",[l.PW]:"Palau",[l.PY]:"Paraguay",[l.QA]:"Qatar",[l.YT]:"Mayotte",[l.RO]:"Romania",[l.RS]:"Serbia",[l.RU]:"Russia",[l.RW]:"Rwanda",[l.SA]:"Saudi Arabia",[l.SB]:"Solomon Islands",[l.SC]:"Seychelles",[l.SD]:"Sudan",[l.SE]:"Sweden",[l.SG]:"Singapore",[l.SH]:"Saint Helena",[l.SI]:"Slovenia",[l.SK]:"Slovakia",[l.SL]:"Sierra Leone",[l.SM]:"San Marino",[l.SN]:"Senegal",[l.SO]:"Somalia",[l.SR]:"Suriname",[l.ST]:"Sao Tome and Principe",[l.SV]:"El Salvador",[l.SX]:"Sint Maarten",[l.SY]:"Syrian Arab Republic",[l.SZ]:"Swaziland",[l.TC]:"Turks and Caicos",[l.TD]:"Chad",[l.TG]:"Togo",[l.TH]:"Thailand",[l.TJ]:"Tajikistan",[l.TL]:"East Timor",[l.TM]:"Turkmenistan",[l.TN]:"Tunisia",[l.TO]:"Tonga",[l.TR]:"Turkey",[l.TT]:"Trinidad and Tobago",[l.TW]:"Taiwan",[l.TZ]:"Tanzania",[l.UA]:"Ukraine",[l.UG]:"Uganda",[l.US]:"USA",[l.UY]:"Uruguay",[l.UZ]:"Uzbekistan",[l.VC]:"Saint Vincent and the Grenadines",[l.VE]:"Venezuela",[l.VG]:"British Virgin Islands",[l.VN]:"Vietnam",[l.VU]:"Vanuatu",[l.WS]:"Samoa",[l.XK]:"Kosovo",[l.YE]:"Yemen",[l.ZA]:"South Africa",[l.ZM]:"Zambia",[l.ZW]:"Zimbabwe"},ka={months:["January","February","March","April","May","June","July","August","September","October","November","December"],close:"Close",nothingFoundMessage:"Nothing found",defaultErrorMessage:"Value is invalid",spinTexts:["Previous","Next"],shortWeekDays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],countries:Fa},Ua={cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range","Choose days"],range:["from","to"],countTexts:["Plus","Minus"],time:{"HH:MM":"HH:MM","HH:MM:SS":"HH:MM:SS","HH:MM:SS.MSS":"HH:MM:SS.MSS"},dateTexts:{DMY:"dd.mm.yyyy",MDY:"mm.dd.yyyy",YMD:"yyyy.mm.dd"},digitalInformationUnits:["B","KiB","MiB"],passwordTexts:["Show password","Hide password"],copyTexts:["Copy","Copied"],shortCalendarMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pagination:["Previous page","Next page"],fileTexts:{loadingError:"Upload failed",preview:"Preview",remove:"Remove"},inputFileTexts:{defaultLabelSingle:"or drop\xA0it\xA0here",defaultLabelMultiple:"or drop\xA0them\xA0here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is larger than ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},prompt:{yes:"Yes",no:"No"}},Qi=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({name:"english"},ka),Ua),La),Na),Pa),Ia);var ja=new E("[TUI_DEFAULT_LANGUAGE]",{factory:()=>Qi}),Zi=new E("[TUI_LANGUAGE]",{factory:()=>Q(p(ja))}),Sh=new E("[TUI_LANGUAGE_LOADER]"),wh=new E("[TUI_LANGUAGE_STORAGE_KEY]",{factory:()=>"tuiLanguage"});function xe(t){return()=>p(Zi).pipe(z(e=>Yn(e)?e:Q(e)),M(e=>e[t]))}var Uh=new E("[TUI_EDITOR_EXTENSIONS]"),jh=new E("[LAZY_EDITOR_EXTENSIONS]"),xa={translate:"no",appearence:"textfield",spellcheck:!1,enableDefaultStyles:!0,colors:Hi,blankColor:Wi,linkOptions:Yi,fontOptions:qi,icons:{undo:"tuiIconUndoLarge",redo:"tuiIconRedoLarge",quote:"tuiIconQuoteLarge",link:"tuiIconLinkLarge",anchor:"tuiIconAnchorLarge",attach:"tuiIconPaperclipLarge",sub:"tuiIconSubscriptLarge",sup:"tuiIconSuperscriptLarge",tex:"tuiIconTeXLarge",image:"tuiIconImageLarge",hr:"tuiIconHrLarge",clear:"tuiIconClearFormatLarge",groupAdd:"tuiIconPlusLarge",groupRemove:"tuiIconCloseLarge",detailsAdd:"tuiIconSpoilerLarge",detailsRemove:"tuiIconSpoilerDeleteLarge",popupLinkSave:"tuiIconCheckCircleLarge",popupLinkRemove:"tuiIconCloseLarge",popupPreviewLinkEdit:"tuiIconEdit2Large",popupPreviewLinkClear:"tuiIconUnlinkLarge",paint:"tuiIconPaintLarge",textAlignPreview:"tuiIconAlignLeftLarge",textAlignLeft:"tuiIconAlignLeftLarge",textAlignCenter:"tuiIconAlignCenterLarge",textAlignRight:"tuiIconAlignRightLarge",textAlignJustify:"tuiIconAlignJustifyLarge",textColor:"tuiIconColorLarge",textHilite:"tuiIconHiliteLarge",listPreview:"tuiIconListLarge",listUnOrdered:"tuiIconListLarge",listOrdered:"tuiIconOLLarge",taskList:"tuiIconCheckSquare",indent:"tuiIconIndentLarge",outdent:"tuiIconOutdentLarge",fontSize:"tuiIconFontLarge",insertTable:"tuiIconTableLarge",addRowTable:"tuiIconAddRowLarge",code:"tuiIconCodeLarge",fontStylePreview:"tuiIconFormatLarge",fontStyleBold:"tuiIconBoldLarge",fontStyleItalic:"tuiIconItalicLarge",fontStyleUnderline:"tuiIconUnderlineLarge",fontStyleStrike:"tuiIconStrikeThroughLarge",colorSelectorDropdownChevron:"tuiIconChevronDown",colorSelectorDropdownCheck:"tuiIconCheck"}},xh=Mr(xa);var Bh=new E("[TUI_EDITOR_CONTENT_PROCESSOR]",{factory:()=>Vn}),Gh=new E("[TUI_EDITOR_VALUE_TRANSFORMER]"),Ch=new E("[TUI_ATTACH_FILES_OPTIONS]",{factory:()=>({accept:"*/*",multiple:!0})}),Kh=new E("[TUI_ATTACH_FILES_LOADER]"),zh=new E("[TUI_EDITOR_COLOR_SELECTOR_MODE_NAMES]",{factory:()=>["Solid color","Gradient"]}),Vh=new E("[TUI_EDITOR_TOOLBAR_TEXTS]",{factory:xe("toolbarTools")}),$h=new E("[TUI_EDITOR_TABLE_COMMANDS]",{factory:xe("editorTableCommands")}),Hh=new E("[TUI_EDITOR_LINK_TEXTS]",{factory:xe("editorEditLink")}),Wh=new E("[TUI_EDITOR_CODE_OPTIONS]",{factory:xe("editorCodeOptions")}),qh=new E("[TUI_EDITOR_FONT_OPTIONS]",{factory:xe("editorFontOptions")}),Yh=new E("[TUI_IMAGE_LOADER]",{factory:()=>t=>{let e=new FileReader;return e.readAsDataURL(t),k(e,"load").pipe(M(()=>String(e.result)))}}),Qh=new E("[TIPTAP_EDITOR]"),Zh=new E("[LAZY_TIPTAP_EDITOR]",{factory:()=>{let t=new rt(1);return import("./chunk-DDKVWUSS.js").then(e=>t.next(e.Editor)),t}}),Xh=new E("[INITIALIZATION_TIPTAP_CONTAINER]");export{Wt as a,Kr as b,Ml as c,Ol as d,Ds as e,Dl as f,Jt as g,Ql as h,en as i,tn as j,Xr as k,Jr as l,Zl as m,ke as n,ti as o,tc as p,nc as q,Ps as r,rc as s,ic as t,sc as u,oc as v,ac as w,ni as x,ri as y,cc as z,uc as A,hc as B,fc as C,nn as D,gc as E,ii as F,Ls as G,yc as H,rn as I,Ec as J,_c as K,vc as L,wc as M,Fc as N,k as O,kc as P,Uc as Q,jc as R,xc as S,Bs as T,Bc as U,li as V,ci as W,ui as X,O as Y,Zt as Z,xl as _,Bl as $,Xt as aa,Cc as ba,bo as ca,mi as da,mn as ea,yi as fa,Rt as ga,Oi as ha,Di as ia,uu as ja,ma as ka,hu as la,fu as ma,ga as na,pu as oa,ya as pa,gu as qa,yu as ra,Ea as sa,Sa as ta,Eu as ua,Tu as va,Ru as wa,Mu as xa,Du as ya,Ta as za,$i as Aa,eh as Ba,th as Ca,nh as Da,Ra as Ea,rh as Fa,ih as Ga,sh as Ha,l as Ia,xe as Ja,N as Ka,Wi as La,ch as Ma,uh as Na,hh as Oa,Da as Pa,fh as Qa,dh as Ra,Uh as Sa,jh as Ta,xh as Ua,Bh as Va,Gh as Wa,Ch as Xa,Kh as Ya,Vh as Za,$h as _a,Hh as $a,Wh as ab,qh as bb,Yh as cb,Qh as db,Zh as eb,Xh as fb}; -//# sourceMappingURL=chunk-HNAZ43NK.js.map +`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),s=i.toLowerCase(),o=n.slice(r+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let i=(e.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let s=e.value;if(!s)this.headers.delete(n),this.normalizedNames.delete(n);else{let o=this.headers.get(n);if(!o)return;o=o.filter(a=>s.indexOf(a)===-1),o.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,o)}break}}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(s=>s.toString()),i=e.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var Gr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Gr||{}),Kt=class{constructor(e,n=200,r="OK"){this.headers=e.headers||new ut,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}};var ht=class t extends Kt{constructor(e={}){super(e),this.type=Gr.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}};var es=new E("");var ts=new E(""),Lr="b",Fr="h",kr="s",Ur="st",jr="u",xr="rt",ct=new E(""),ns=["GET","HEAD"];function rs(t,e){var m;let S=p(ct),{isCacheActive:n}=S,r=tt(S,["isCacheActive"]),{transferCache:i,method:s}=t;if(!n||i===!1||s==="POST"&&!r.includePostRequests&&!i||s!=="POST"&&!ns.includes(s)||!r.includeRequestsWithAuthHeaders&&is(t)||((m=r.filter)==null?void 0:m.call(r,t))===!1)return e(t);let o=p(Ut),a=p(ts,{optional:!0}),c=Te(p(X));if(a&&!c)throw new b(2803,!1);let u=c&&a?ls(t.url,a):t.url,f=os(t,u),h=o.get(f,null),v=r.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(v=i.includeHeaders),h){let{[Lr]:g,[xr]:R,[Fr]:L,[kr]:U,[Ur]:B,[jr]:j}=h,ee=g;switch(R){case"arraybuffer":ee=new TextEncoder().encode(g).buffer;break;case"blob":ee=new Blob([g]);break}let q=new ut(L);return Q(new ht({body:ee,headers:q,status:U,statusText:B,url:j}))}return e(t).pipe(we(g=>{g instanceof ht&&c&&o.set(f,{[Lr]:g.body,[Fr]:ss(g.headers,v),[kr]:g.status,[Ur]:g.statusText,[jr]:u,[xr]:t.responseType})}))}function is(t){return t.headers.has("authorization")||t.headers.has("proxy-authorization")}function ss(t,e){if(!e)return{};let n={};for(let r of e){let i=t.getAll(r);i!==null&&(n[r]=i)}return n}function Br(t){return[...t.keys()].sort().map(e=>`${e}=${t.getAll(e)}`).join("&")}function os(t,e){let{params:n,method:r,responseType:i}=t,s=Br(n),o=t.serializeBody();o instanceof URLSearchParams?o=Br(o):typeof o!="string"&&(o="");let a=[r,i,e,o,s].join("|"),c=as(a);return c}function as(t){let e=0;for(let n of t)e=Math.imul(31,e)+n.charCodeAt(0)<<0;return e+=2147483648,e.toString()}function Cr(t){return[{provide:ct,useFactory:()=>(mr("NgHttpTransferCache"),ue({isCacheActive:!0},t))},{provide:es,useValue:rs,multi:!0,deps:[Ut,ct]},{provide:gr,multi:!0,useFactory:()=>{let e=p(jt),n=p(ct);return()=>{yr(e).then(()=>{n.isCacheActive=!1})}}}]}function ls(t,e){let n=new URL(t,"resolve://").origin,r=e[n];return r?t.replace(n,r):t}var $t=class extends wr{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ht=class t extends $t{static makeCurrent(){Sr(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=us();return n==null?null:hs(n)}resetBaseElement(){Ve=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Bt(document.cookie,e)}},Ve=null;function us(){return Ve=Ve||document.querySelector("base"),Ve?Ve.getAttribute("href"):null}function hs(t){return new URL(t,document.baseURI).pathname}var fs=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),Wt=new E(""),Hr=(()=>{let e=class e{constructor(r,i){this._zone=i,this._eventNameToPlugin=new Map,r.forEach(s=>{s.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,i,s){return this._findPluginFor(i).addEventListener(r,i,s)}getZone(){return this._zone}_findPluginFor(r){let i=this._eventNameToPlugin.get(r);if(i)return i;if(i=this._plugins.find(o=>o.supports(r)),!i)throw new b(5101,!1);return this._eventNameToPlugin.set(r,i),i}};e.\u0275fac=function(i){return new(i||e)(T(Wt),T(pe))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),ft=class{constructor(e){this._doc=e}},zt="ng-app-id",Wr=(()=>{let e=class e{constructor(r,i,s,o={}){this.doc=r,this.appId=i,this.nonce=s,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Te(o),this.resetHostNodes()}addStyles(r){for(let i of r)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(r){for(let i of r)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(i=>i.remove()),r.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let i of this.getAllStyles())this.addStyleToHost(r,i)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let i of this.hostNodes)this.addStyleToHost(i,r)}onStyleRemoved(r){var s,o;let i=this.styleRef;(o=(s=i.get(r))==null?void 0:s.elements)==null||o.forEach(a=>a.remove()),i.delete(r)}collectServerRenderedStyles(){var i;let r=(i=this.doc.head)==null?void 0:i.querySelectorAll(`style[${zt}="${this.appId}"]`);if(r!=null&&r.length){let s=new Map;return r.forEach(o=>{o.textContent!=null&&s.set(o.textContent,o)}),s}return null}changeUsageCount(r,i){let s=this.styleRef;if(s.has(r)){let o=s.get(r);return o.usage+=i,o.usage}return s.set(r,{usage:i,elements:[]}),i}getStyleElement(r,i){let s=this.styleNodesInDOM,o=s==null?void 0:s.get(i);if((o==null?void 0:o.parentNode)===r)return s.delete(i),o.removeAttribute(zt),o;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(zt,this.appId),r.appendChild(a),a}}addStyleToHost(r,i){var c;let s=this.getStyleElement(r,i),o=this.styleRef,a=(c=o.get(i))==null?void 0:c.elements;a?a.push(s):o.set(i,{elements:[s],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(T(P),T(Ft),T(kt,8),T(X))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),Vt={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"},Qt=/%COMP%/g,qr="%COMP%",ds=`_nghost-${qr}`,ps=`_ngcontent-${qr}`,ms=!0,gs=new E("",{providedIn:"root",factory:()=>ms});function ys(t){return ps.replace(Qt,t)}function Es(t){return ds.replace(Qt,t)}function Yr(t,e){return e.map(n=>n.replace(Qt,t))}var Kr=(()=>{let e=class e{constructor(r,i,s,o,a,c,u,f=null){this.eventManager=r,this.sharedStylesHost=i,this.appId=s,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=f,this.rendererByCompId=new Map,this.platformIsServer=Te(c),this.defaultRenderer=new $e(r,a,u,this.platformIsServer)}createRenderer(r,i){if(!r||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Ce.ShadowDom&&(i=zn(ue({},i),{encapsulation:Ce.Emulated}));let s=this.getOrCreateRenderer(r,i);return s instanceof dt?s.applyToHost(r):s instanceof He&&s.applyStyles(),s}getOrCreateRenderer(r,i){let s=this.rendererByCompId,o=s.get(i.id);if(!o){let a=this.doc,c=this.ngZone,u=this.eventManager,f=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(i.encapsulation){case Ce.Emulated:o=new dt(u,f,i,this.appId,h,a,c,v);break;case Ce.ShadowDom:return new qt(u,f,r,i,a,c,this.nonce,v);default:o=new He(u,f,i,h,a,c,v);break}s.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(T(Hr),T(Wr),T(Ft),T(gs),T(P),T(X),T(pe),T(kt))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),$e=class{constructor(e,n,r,i){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(Vt[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(zr(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(zr(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new b(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,i){if(i){n=i+":"+n;let s=Vt[i];s?e.setAttributeNS(s,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let i=Vt[r];i?e.removeAttributeNS(i,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,i){i&(Ke.DashCase|Ke.Important)?e.style.setProperty(n,r,i&Ke.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&Ke.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=xt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function zr(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var qt=class extends $e{constructor(e,n,r,i,s,o,a,c){super(e,s,o,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Yr(i.id,i.styles);for(let f of u){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=f,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},He=class extends $e{constructor(e,n,r,i,s,o,a,c){super(e,s,o,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=c?Yr(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},dt=class extends He{constructor(e,n,r,i,s,o,a,c){let u=i+"-"+r.id;super(e,n,r,s,o,a,c,u),this.contentAttr=ys(u),this.hostAttr=Es(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},_s=(()=>{let e=class e extends ft{constructor(r){super(r)}supports(r){return!0}addEventListener(r,i,s){return r.addEventListener(i,s,!1),()=>this.removeEventListener(r,i,s)}removeEventListener(r,i,s){return r.removeEventListener(i,s)}};e.\u0275fac=function(i){return new(i||e)(T(P))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),Vr=["alt","control","meta","shift"],vs={"\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"},Ss={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},ws=(()=>{let e=class e extends ft{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,i,s){let o=e.parseEventName(i),a=e.eventCallback(o.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xt().onAndCancel(r,o.domEventName,a))}static parseEventName(r){let i=r.toLowerCase().split("."),s=i.shift();if(i.length===0||!(s==="keydown"||s==="keyup"))return null;let o=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),Vr.forEach(f=>{let h=i.indexOf(f);h>-1&&(i.splice(h,1),a+=f+".")}),a+=o,i.length!=0||o.length===0)return null;let u={};return u.domEventName=s,u.fullKey=a,u}static matchEventFullKeyCode(r,i){let s=vs[r.key]||r.key,o="";return i.indexOf("code.")>-1&&(s=r.code,o="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),Vr.forEach(a=>{if(a!==s){let c=Ss[a];c(r)&&(o+=a+".")}}),o+=s,o===i)}static eventCallback(r,i,s){return o=>{e.matchEventFullKeyCode(o,r)&&s.runGuarded(()=>i(o))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(i){return new(i||e)(T(P))},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})();function Ml(t,e){return _r(ue({rootComponent:t},bs(e)))}function bs(t){return{appProviders:[...Os,...(t==null?void 0:t.providers)??[]],platformProviders:Ms}}function Ts(){Ht.makeCurrent()}function As(){return new Lt}function Rs(){return sr(document),document}var Ms=[{provide:X,useValue:br},{provide:or,useValue:Ts,multi:!0},{provide:P,useFactory:Rs,deps:[]}];var Os=[{provide:rr,useValue:"root"},{provide:Lt,useFactory:As,deps:[]},{provide:Wt,useClass:_s,multi:!0,deps:[P,pe,X]},{provide:Wt,useClass:ws,multi:!0,deps:[P]},Kr,Wr,Hr,{provide:at,useExisting:Kr},{provide:Ar,useClass:fs,deps:[]},[]];var Ol=(()=>{let e=class e{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};e.\u0275fac=function(i){return new(i||e)(T(P))},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Ds=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:function(i){let s=null;return i?s=new(i||e):s=T(Ns),s},providedIn:"root"});let t=e;return t})(),Ns=(()=>{let e=class e extends Ds{constructor(r){super(),this._doc=r}sanitize(r,i){if(i==null)return null;switch(r){case be.NONE:return i;case be.HTML:return Ie(i,"HTML")?Pe(i):dr(this._doc,String(i)).toString();case be.STYLE:return Ie(i,"Style")?Pe(i):i;case be.SCRIPT:if(Ie(i,"Script"))return Pe(i);throw new b(5200,!1);case be.URL:return Ie(i,"URL")?Pe(i):fr(String(i));case be.RESOURCE_URL:if(Ie(i,"ResourceURL"))return Pe(i);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(r){return ar(r)}bypassSecurityTrustStyle(r){return lr(r)}bypassSecurityTrustScript(r){return cr(r)}bypassSecurityTrustUrl(r){return ur(r)}bypassSecurityTrustResourceUrl(r){return hr(r)}};e.\u0275fac=function(i){return new(i||e)(T(P))},e.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Yt=function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t[t.I18nSupport=2]="I18nSupport",t[t.EventReplay=3]="EventReplay",t}(Yt||{});function Dl(...t){let e=[],n=new Set,r=n.has(Yt.HttpTransferCacheOptions);for(let{\u0275providers:i,\u0275kind:s}of t)n.add(s),i.length&&e.push(i);return It([[],vr(),n.has(Yt.NoHttpTransferCache)||r?[]:Cr({}),e])}var O=new E("An abstraction over global window object",{factory:()=>{let{defaultView:t}=p(P);if(!t)throw new Error("Window is not available");return t}}),Zt=new E("Shared Observable based on `window.requestAnimationFrame`",{factory:()=>{let{requestAnimationFrame:t,cancelAnimationFrame:e}=p(O);return new $(r=>{let i=NaN,s=o=>{r.next(o),i=t(s)};return i=t(s),()=>{e(i)}}).pipe(De())}}),Ul=new E("An abstraction over window.caches object",{factory:()=>p(O).caches}),jl=new E("An abstraction over window.crypto object",{factory:()=>p(O).crypto}),xl=new E("An abstraction over window.CSS object",{factory:()=>p(O).CSS||{escape:t=>t,supports:()=>!1}}),Bl=new E("An abstraction over window.history object",{factory:()=>p(O).history}),Gl=new E("An abstraction over window.localStorage object",{factory:()=>p(O).localStorage}),Cl=new E("An abstraction over window.location object",{factory:()=>p(O).location}),Fe=new E("An abstraction over window.navigator object",{factory:()=>p(O).navigator}),Kl=new E("An abstraction over window.navigator.mediaDevices object",{factory:()=>p(Fe).mediaDevices}),zl=new E("An abstraction over window.navigator.connection object",{factory:()=>p(Fe).connection||null}),Vl=new E("Shared Observable based on `document visibility changed`",{factory:()=>{let t=p(P);return Oe(t,"visibilitychange").pipe(C(0),M(()=>t.visibilityState!=="hidden"),he(),se({refCount:!1,bufferSize:1}))}}),Qr=new E("An abstraction over window.performance object",{factory:()=>p(O).performance}),$l=new E("An abstraction over window.screen object",{factory:()=>p(O).screen}),Hl=new E("An abstraction over window.sessionStorage object",{factory:()=>p(O).sessionStorage}),Wl=new E("An abstraction over SpeechRecognition class",{factory:()=>{let t=p(O);return t.speechRecognition||t.webkitSpeechRecognition||null}}),ql=new E("An abstraction over window.speechSynthesis object",{factory:()=>p(O).speechSynthesis}),Xt=new E("An abstraction over window.navigator.userAgent object",{factory:()=>p(Fe).userAgent});var w=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(w||{}),oe="*";function Jt(t,e){return{type:w.Trigger,name:t,definitions:e,options:{}}}function Ql(t,e=null){return{type:w.Animate,styles:e,timings:t}}function Zr(t,e=null){return{type:w.Sequence,steps:t,options:e}}function en(t){return{type:w.Style,styles:t,offset:null}}function tn(t,e,n=null){return{type:w.Transition,expr:t,animation:e,options:n}}function Xr(t=null){return{type:w.AnimateChild,options:t}}function Jr(t,e,n=null){return{type:w.Query,selector:t,animation:e,options:n}}function Zl(t,e){return{type:w.Stagger,timings:t,animation:e}}var me=class{constructor(e=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},We=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let n=0,r=0,i=0,s=this.players.length;s==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++n==s&&this._onFinish()}),o.onDestroy(()=>{++r==s&&this._onDestroy()}),o.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((o,a)=>Math.max(o,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let n=e*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){let e=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},pt="!";var ke=()=>!1,ti=()=>!0,tc=79,ei={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},nc=new ir,Ps=[],rc=()=>{},ic=Object.assign(Object.assign({},ei),{toJSON(){return ei}}),sc=t=>String(t);function Is(t,e){return Array.isArray(t)&&Array.isArray(e)&&!t.length&&!e.length}var oc=(t,e)=>t===e||Is(t,e),ac=Jt("tuiParentAnimation",[tn(":leave",[Jr(":scope > *",[Xr()],{optional:!0})])]),lc=Jt("tuiParentStop",[tn(":enter",[])]),ni=1e3/15,ri=t=>"ownerSVGElement"in t?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,cc="\xA0",uc="\u2013";var hc="\u200B";var fc="3.84.0";function nn({activeElement:t}){if(!(t!=null&&t.shadowRoot))return t;let e=t.shadowRoot.activeElement;for(;e!=null&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function gc(t){let e=nn(t);ze(e)&&e.blur()}function ii(t){if(t.hasAttribute("disabled")||t.getAttribute("tabIndex")==="-1")return!1;if(ze(t)&&t.isContentEditable||t.getAttribute("tabIndex")==="0")return!0;switch(t.tagName){case"BUTTON":case"SELECT":case"TEXTAREA":return!0;case"VIDEO":case"AUDIO":return t.hasAttribute("controls");case"INPUT":return t.getAttribute("type")!=="hidden";case"A":case"LINK":return t.hasAttribute("href");default:return!1}}function Ls(t){return!t.hasAttribute("disabled")&&(t.getAttribute("tabIndex")==="-1"||ii(t))}function yc({initial:t,root:e,previous:n=!1,keyboard:r=!0}){if(!e.ownerDocument)return null;let i=r?ii:Ls,s=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,ri);for(s.currentNode=t;n?s.previousNode():s.nextNode();)if(ze(s.currentNode)&&(t=s.currentNode),ze(t)&&i(t))return t;return null}function rn(t){return!!(t!=null&&t.ownerDocument)&&nn(t.ownerDocument)===t&&t.ownerDocument.hasFocus()}function Ec(t){if(!t.ownerDocument||!t.contains)return!1;let e=nn(t.ownerDocument);return e!==null&&t.contains(e)&&t.ownerDocument.hasFocus()}function _c(t,e,n){for(t+=n;t>=0&&t1}var Us=/^((?!chrome|android).)*safari/i;function si(t){return sn(t)||Us.test(t.userAgent.toLowerCase())}function Fc(t){return new $(e=>{if(!t.valueChanges)throw new Ir;return t.valueChanges.pipe(C(t.value)).subscribe(e)})}function k(t,e,n={}){return Oe(t,e,n)}function xs(t){return re(k(t,"mouseup"),k(t,"dragend"))}function oi(t=0){return nt(z(()=>_e(t).pipe(M(ke),C(!0))),he())}var on,an;function ai(t){let e=k(t,"blur"),{ownerDocument:n}=t;if(!n)throw new Ct;return(!an||!on)&&(on=k(n,"mouseup",{capture:!0}).pipe(oi(),C(!1),se({bufferSize:1,refCount:!0})),an=k(n,"mousedown",{capture:!0}).pipe(oi(),C(!1),se({bufferSize:1,refCount:!0}))),re(Qn(k(t,"focus").pipe(ve(1)),e.pipe(ie(()=>!rn(t)),ve(1),Zn())).pipe(Pt(),ot(an,on,(r,i,s)=>i||s),ie(Nr))).pipe(z(()=>e.pipe(M(ke),ve(1),C(!0))),he())}function kc(t,e=Boolean){return nt(z(n=>e(n)?t(n):it))}function Uc(t){var e,n;return"observed"in t?t.observed:!!(!((n=(e=t)===null||e===void 0?void 0:e.observers)===null||n===void 0)&&n.length)}function jc(t){return t.changes.pipe(C(null),M(()=>Dr(t)))}function xc(t,{onlyTrusted:e}={onlyTrusted:!0}){let{ownerDocument:n}=t;if(!n)throw new Ct;return k(t,"mousedown").pipe(ie(({isTrusted:r})=>r||!e),z(()=>xs(n).pipe(M(ke),ve(1),C(!0))))}function Bs(){return we(t=>t.preventDefault())}function Bc(t){return k(t===t.ownerDocument.documentElement?t.ownerDocument:t,"scroll")}function li(t){return we(()=>{t.markForCheck()})}function Gs(t){return e=>new $(n=>e.subscribe({next:r=>t.run(()=>n.next(r)),error:r=>t.run(()=>n.error(r)),complete:()=>t.run(()=>n.complete())}))}function ci(t){return e=>new $(n=>t.runOutsideAngular(()=>e.subscribe(n)))}function ui(t){return nt(ci(t),Gs(t))}function Cc(t,e,n,r){var i=arguments.length,s=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function hi(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(f){try{u(r.next(f))}catch(h){o(h)}}function c(f){try{u(r.throw(f))}catch(h){o(h)}}function u(f){f.done?s(f.value):i(f.value).then(a,c)}u((r=r.apply(t,e||[])).next())})}function ln(t,e={}){let{selector:n}=e,r=Wn(e,["selector"]);return new $(i=>{let s=new AbortController,{signal:o}=s,a=!0,{signal:c}=r;if(c)if(c.aborted)s.abort();else{let h=()=>{o.aborted||s.abort()};c.addEventListener("abort",h),i.add(()=>c.removeEventListener("abort",h))}let u=Object.assign(Object.assign({},r),{signal:o}),f=h=>{a=!1,i.error(h)};return fetch(t,u).then(h=>{n?qn(n(h)).subscribe($n(i,void 0,()=>{a=!1,i.complete()},f)):(a=!1,i.next(h),i.complete())}).catch(f),()=>{a&&s.abort()}})}function fi(t){return new b(3e3,!1)}function Cs(){return new b(3100,!1)}function Ks(){return new b(3101,!1)}function zs(t){return new b(3001,!1)}function Vs(t){return new b(3003,!1)}function $s(t){return new b(3004,!1)}function Hs(t,e){return new b(3005,!1)}function Ws(){return new b(3006,!1)}function qs(){return new b(3007,!1)}function Ys(t,e){return new b(3008,!1)}function Qs(t){return new b(3002,!1)}function Zs(t,e,n,r,i){return new b(3010,!1)}function Xs(){return new b(3011,!1)}function Js(){return new b(3012,!1)}function eo(){return new b(3200,!1)}function to(){return new b(3202,!1)}function no(){return new b(3013,!1)}function ro(t){return new b(3014,!1)}function io(t){return new b(3015,!1)}function so(t){return new b(3016,!1)}function oo(t,e){return new b(3404,!1)}function ao(t){return new b(3502,!1)}function lo(t){return new b(3503,!1)}function co(){return new b(3300,!1)}function uo(t){return new b(3504,!1)}function ho(t){return new b(3301,!1)}function fo(t,e){return new b(3302,!1)}function po(t){return new b(3303,!1)}function mo(t,e){return new b(3400,!1)}function go(t){return new b(3401,!1)}function yo(t){return new b(3402,!1)}function Eo(t,e){return new b(3505,!1)}function ge(t){switch(t.length){case 0:return new me;case 1:return t[0];default:return new We(t)}}function Ni(t,e,n=new Map,r=new Map){let i=[],s=[],o=-1,a=null;if(e.forEach(c=>{let u=c.get("offset"),f=u==o,h=f&&a||new Map;c.forEach((v,S)=>{let m=S,g=v;if(S!=="offset")switch(m=t.normalizePropertyName(m,i),g){case pt:g=n.get(S);break;case oe:g=r.get(S);break;default:g=t.normalizeStyleValue(S,m,g,i);break}h.set(m,g)}),f||s.push(h),a=h,o=u}),i.length)throw ao(i);return s}function In(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&cn(n,"start",t)));break;case"done":t.onDone(()=>r(n&&cn(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&cn(n,"destroy",t)));break}}function cn(t,e,n){let r=n.totalTime,i=!!n.disabled,s=Ln(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,i),o=t._data;return o!=null&&(s._data=o),s}function Ln(t,e,n,r,i="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:s,disabled:!!o}}function W(t,e,n){let r=t.get(e);return r||t.set(e,r=n),r}function di(t){let e=t.indexOf(":"),n=t.substring(1,e),r=t.slice(e+1);return[n,r]}var _o=typeof document>"u"?null:document.documentElement;function Fn(t){let e=t.parentNode||t.host||null;return e===_o?null:e}function vo(t){return t.substring(1,6)=="ebkit"}var Ae=null,pi=!1;function So(t){Ae||(Ae=wo()||{},pi=Ae.style?"WebkitAppearance"in Ae.style:!1);let e=!0;return Ae.style&&!vo(t)&&(e=t in Ae.style,!e&&pi&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Ae.style)),e}function wo(){return typeof document<"u"?document.body:null}function Pi(t,e){for(;e;){if(e===t)return!0;e=Fn(e)}return!1}function Ii(t,e,n){if(n)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var bo=(()=>{let e=class e{validateStyleProperty(r){return So(r)}containsElement(r,i){return Pi(r,i)}getParentElement(r){return Fn(r)}query(r,i,s){return Ii(r,i,s)}computeStyle(r,i,s){return s||""}animate(r,i,s,o,a,c=[],u){return new me(s,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=F({token:e,factory:e.\u0275fac});let t=e;return t})(),xn=class xn{};xn.NOOP=new bo;var mi=xn,mn=class{};var To=1e3,Li="{{",Ao="}}",Fi="ng-enter",gn="ng-leave",mt="ng-trigger",vt=".ng-trigger",gi="ng-animating",yn=".ng-animating";function fe(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:En(parseFloat(e[1]),e[2])}function En(t,e){switch(e){case"s":return t*To;default:return t}}function St(t,e,n){return t.hasOwnProperty("duration")?t:Ro(t,e,n)}function Ro(t,e,n){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,s=0,o="";if(typeof t=="string"){let a=t.match(r);if(a===null)return e.push(fi(t)),{duration:0,delay:0,easing:""};i=En(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(s=En(parseFloat(c),a[4]));let u=a[5];u&&(o=u)}else i=t;if(!n){let a=!1,c=e.length;i<0&&(e.push(Cs()),a=!0),s<0&&(e.push(Ks()),a=!0),a&&e.splice(c,0,fi(t))}return{duration:i,delay:s,easing:o}}function Mo(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function ae(t,e,n){e.forEach((r,i)=>{let s=kn(i);n&&!n.has(i)&&n.set(i,t.style[s]),t.style[s]=r})}function Me(t,e){e.forEach((n,r)=>{let i=kn(r);t.style[i]=""})}function qe(t){return Array.isArray(t)?t.length==1?t[0]:Zr(t):t}function Oo(t,e,n){let r=e.params||{},i=ki(t);i.length&&i.forEach(s=>{r.hasOwnProperty(s)||n.push(zs(s))})}var _n=new RegExp(`${Li}\\s*(.+?)\\s*${Ao}`,"g");function ki(t){let e=[];if(typeof t=="string"){let n;for(;n=_n.exec(t);)e.push(n[1]);_n.lastIndex=0}return e}function Qe(t,e,n){let r=`${t}`,i=r.replace(_n,(s,o)=>{let a=e[o];return a==null&&(n.push(Vs(o)),a=""),a.toString()});return i==r?t:i}var Do=/-+([a-z0-9])/g;function kn(t){return t.replace(Do,(...e)=>e[1].toUpperCase())}function No(t,e){return t===0||e===0}function Po(t,e,n){if(n.size&&e.length){let r=e[0],i=[];if(n.forEach((s,o)=>{r.has(o)||i.push(o),r.set(o,s)}),i.length)for(let s=1;so.set(a,Un(t,a)))}}return e}function H(t,e,n){switch(e.type){case w.Trigger:return t.visitTrigger(e,n);case w.State:return t.visitState(e,n);case w.Transition:return t.visitTransition(e,n);case w.Sequence:return t.visitSequence(e,n);case w.Group:return t.visitGroup(e,n);case w.Animate:return t.visitAnimate(e,n);case w.Keyframes:return t.visitKeyframes(e,n);case w.Style:return t.visitStyle(e,n);case w.Reference:return t.visitReference(e,n);case w.AnimateChild:return t.visitAnimateChild(e,n);case w.AnimateRef:return t.visitAnimateRef(e,n);case w.Query:return t.visitQuery(e,n);case w.Stagger:return t.visitStagger(e,n);default:throw $s(e.type)}}function Un(t,e){return window.getComputedStyle(t)[e]}var Io=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),yi=class extends mn{normalizePropertyName(e,n){return kn(e)}normalizeStyleValue(e,n,r,i){let s="",o=r.toString().trim();if(Io.has(n)&&r!==0&&r!=="0")if(typeof r=="number")s="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(Hs(e,r))}return o+s}};var wt="*";function Lo(t,e){let n=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>Fo(r,n,e)):n.push(t),n}function Fo(t,e,n){if(t[0]==":"){let c=ko(t,n);if(typeof c=="function"){e.push(c);return}t=c}let r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(io(t)),e;let i=r[1],s=r[2],o=r[3];e.push(Ei(i,o));let a=i==wt&&o==wt;s[0]=="<"&&!a&&e.push(Ei(o,i))}function ko(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r) *"}}var gt=new Set(["true","1"]),yt=new Set(["false","0"]);function Ei(t,e){let n=gt.has(t)||yt.has(t),r=gt.has(e)||yt.has(e);return(i,s)=>{let o=t==wt||t==i,a=e==wt||e==s;return!o&&n&&typeof i=="boolean"&&(o=i?gt.has(t):yt.has(t)),!a&&r&&typeof s=="boolean"&&(a=s?gt.has(e):yt.has(e)),o&&a}}var Ui=":self",Uo=new RegExp(`s*${Ui}s*,?`,"g");function ji(t,e,n,r){return new vn(t).build(e,n,r)}var _i="",vn=class{constructor(e){this._driver=e}build(e,n,r){let i=new Sn(n);return this._resetContextStyleTimingState(i),H(this,qe(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=_i,e.collectedStyles=new Map,e.collectedStyles.set(_i,new Map),e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0,s=[],o=[];return e.name.charAt(0)=="@"&&n.errors.push(Ws()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==w.State){let c=a,u=c.name;u.toString().split(/\s*,\s*/).forEach(f=>{c.name=f,s.push(this.visitState(c,n))}),c.name=u}else if(a.type==w.Transition){let c=this.visitTransition(a,n);r+=c.queryCount,i+=c.depCount,o.push(c)}else n.errors.push(qs())}),{type:w.Trigger,name:e.name,states:s,transitions:o,queryCount:r,depCount:i,options:null}}visitState(e,n){let r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){let s=new Set,o=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{ki(c).forEach(u=>{o.hasOwnProperty(u)||s.add(u)})})}),s.size&&n.errors.push(Ys(e.name,[...s.values()]))}return{type:w.State,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;let r=H(this,qe(e.animation),n),i=Lo(e.expr,n.errors);return{type:w.Transition,matchers:i,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:Re(e.options)}}visitSequence(e,n){return{type:w.Sequence,steps:e.steps.map(r=>H(this,r,n)),options:Re(e.options)}}visitGroup(e,n){let r=n.currentTime,i=0,s=e.steps.map(o=>{n.currentTime=r;let a=H(this,o,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:w.Group,steps:s,options:Re(e.options)}}visitAnimate(e,n){let r=Go(e.timings,n.errors);n.currentAnimateTimings=r;let i,s=e.styles?e.styles:en({});if(s.type==w.Keyframes)i=this.visitKeyframes(s,n);else{let o=e.styles,a=!1;if(!o){a=!0;let u={};r.easing&&(u.easing=r.easing),o=en(u)}n.currentTime+=r.duration+r.delay;let c=this.visitStyle(o,n);c.isEmptyStep=a,i=c}return n.currentAnimateTimings=null,{type:w.Animate,timings:r,style:i,options:null}}visitStyle(e,n){let r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){let r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===oe?r.push(a):n.errors.push(Qs(a)):r.push(new Map(Object.entries(a)));let s=!1,o=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!s)){for(let c of a.values())if(c.toString().indexOf(Li)>=0){s=!0;break}}}),{type:w.Style,styles:r,easing:o,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,n){let r=n.currentAnimateTimings,i=n.currentTime,s=n.currentTime;r&&s>0&&(s-=r.duration+r.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,c)=>{let u=n.collectedStyles.get(n.currentQuerySelector),f=u.get(c),h=!0;f&&(s!=i&&s>=f.startTime&&i<=f.endTime&&(n.errors.push(Zs(c,f.startTime,f.endTime,s,i)),h=!1),s=f.startTime),h&&u.set(c,{startTime:s,endTime:i}),n.options&&Oo(a,n.options,n.errors)})})}visitKeyframes(e,n){let r={type:w.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(Xs()),r;let i=1,s=0,o=[],a=!1,c=!1,u=0,f=e.steps.map(L=>{let U=this._makeStyleAst(L,n),B=U.offset!=null?U.offset:Bo(U.styles),j=0;return B!=null&&(s++,j=U.offset=B),c=c||j<0||j>1,a=a||j0&&s{let B=v>0?U==S?1:v*U:o[U],j=B*R;n.currentTime=m+g.delay+j,g.duration=j,this._validateStyleAst(L,n),L.offset=B,r.styles.push(L)}),r}visitReference(e,n){return{type:w.Reference,animation:H(this,qe(e.animation),n),options:Re(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:w.AnimateChild,options:Re(e.options)}}visitAnimateRef(e,n){return{type:w.AnimateRef,animation:this.visitReference(e.animation,n),options:Re(e.options)}}visitQuery(e,n){let r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;let[s,o]=jo(e.selector);n.currentQuerySelector=r.length?r+" "+s:s,W(n.collectedStyles,n.currentQuerySelector,new Map);let a=H(this,qe(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:w.Query,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:Re(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(no());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:St(e.timings,n.errors,!0);return{type:w.Stagger,animation:H(this,qe(e.animation),n),timings:r,options:null}}};function jo(t){let e=!!t.split(/\s*,\s*/).find(n=>n==Ui);return e&&(t=t.replace(Uo,"")),t=t.replace(/@\*/g,vt).replace(/@\w+/g,n=>vt+"-"+n.slice(1)).replace(/:animating/g,yn),[t,e]}function xo(t){return t?ue({},t):null}var Sn=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Bo(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){let r=n;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}function Go(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let s=St(t,e).duration;return un(s,0,"")}let n=t;if(n.split(/\s+/).some(s=>s.charAt(0)=="{"&&s.charAt(1)=="{")){let s=un(0,0,"");return s.dynamic=!0,s.strValue=n,s}let i=St(n,e);return un(i.duration,i.delay,i.easing)}function Re(t){return t?(t=ue({},t),t.params&&(t.params=xo(t.params))):t={},t}function un(t,e,n){return{duration:t,delay:e,easing:n}}function jn(t,e,n,r,i,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}var Ze=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,n){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Co=1,Ko=":enter",zo=new RegExp(Ko,"g"),Vo=":leave",$o=new RegExp(Vo,"g");function xi(t,e,n,r,i,s=new Map,o=new Map,a,c,u=[]){return new wn().buildKeyframes(t,e,n,r,i,s,o,a,c,u)}var wn=class{buildKeyframes(e,n,r,i,s,o,a,c,u,f=[]){u=u||new Ze;let h=new bn(e,n,u,i,s,f,[]);h.options=c;let v=c.delay?fe(c.delay):0;h.currentTimeline.delayNextStep(v),h.currentTimeline.setStyles([o],null,h.errors,c),H(this,r,h);let S=h.timelines.filter(m=>m.containsAnimation());if(S.length&&a.size){let m;for(let g=S.length-1;g>=0;g--){let R=S[g];if(R.element===n){m=R;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,h.errors,c)}return S.length?S.map(m=>m.buildKeyframes()):[jn(n,[],[],[],0,v,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){let r=n.subInstructions.get(n.element);if(r){let i=n.createSubContext(e.options),s=n.currentTimeline.currentTime,o=this._visitSubInstructions(r,i,i.options);s!=o&&n.transformIntoNewTimeline(o)}n.previousNode=e}visitAnimateRef(e,n){let r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],n,r),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_applyAnimationRefDelays(e,n,r){for(let i of e){let s=i==null?void 0:i.delay;if(s){let o=typeof s=="number"?s:fe(Qe(s,(i==null?void 0:i.params)??{},n.errors));r.delayNextStep(o)}}}_visitSubInstructions(e,n,r){let s=n.currentTimeline.currentTime,o=r.duration!=null?fe(r.duration):null,a=r.delay!=null?fe(r.delay):null;return o!==0&&e.forEach(c=>{let u=n.appendInstructionToTimeline(c,o,a);s=Math.max(s,u.duration+u.delay)}),s}visitReference(e,n){n.updateOptions(e.options,!0),H(this,e.animation,n),n.previousNode=e}visitSequence(e,n){let r=n.subContextCount,i=n,s=e.options;if(s&&(s.params||s.delay)&&(i=n.createSubContext(s),i.transformIntoNewTimeline(),s.delay!=null)){i.previousNode.type==w.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=bt);let o=fe(s.delay);i.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>H(this,o,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){let r=[],i=n.currentTimeline.currentTime,s=e.options&&e.options.delay?fe(e.options.delay):0;e.steps.forEach(o=>{let a=n.createSubContext(e.options);s&&a.delayNextStep(s),H(this,o,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(o=>n.currentTimeline.mergeTimelineCollectedStyles(o)),n.transformIntoNewTimeline(i),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){let r=e.strValue,i=n.params?Qe(r,n.params,n.errors):r;return St(i,n.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){let r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());let s=e.style;s.type==w.Keyframes?this.visitKeyframes(s,n):(n.incrementTime(r.duration),this.visitStyle(s,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){let r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let s=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(s):r.setStyles(e.styles,s,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){let r=n.currentAnimateTimings,i=n.currentTimeline.duration,s=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(c=>{let u=c.offset||0;a.forwardTime(u*s),a.setStyles(c.styles,c.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+s),n.previousNode=e}visitQuery(e,n){let r=n.currentTimeline.currentTime,i=e.options||{},s=i.delay?fe(i.delay):0;s&&(n.previousNode.type===w.Style||r==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=bt);let o=r,a=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let c=null;a.forEach((u,f)=>{n.currentQueryIndex=f;let h=n.createSubContext(e.options,u);s&&h.delayNextStep(s),u===n.element&&(c=h.currentTimeline),H(this,e.animation,h),h.currentTimeline.applyStylesToKeyframe();let v=h.currentTimeline.currentTime;o=Math.max(o,v)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(o),c&&(n.currentTimeline.mergeTimelineCollectedStyles(c),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){let r=n.parentContext,i=n.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(n.currentQueryTotal-1),c=o*n.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":c=a-c;break;case"full":c=r.currentStaggerTime;break}let f=n.currentTimeline;c&&f.delayNextStep(c);let h=f.currentTime;H(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-h+(i.startTime-r.currentTimeline.startTime)}},bt={},bn=class t{constructor(e,n,r,i,s,o,a,c){this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new Tt(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;let r=e,i=this.options;r.duration!=null&&(i.duration=fe(r.duration)),r.delay!=null&&(i.delay=fe(r.delay));let s=r.params;if(s){let o=i.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!n||!o.hasOwnProperty(a))&&(o[a]=Qe(s[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let n=this.options.params;if(n){let r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){let i=n||this.element,s=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=bt,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){let i={duration:n??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},s=new Tn(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,n,r,i,s,o){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(zo,"."+this._enterClassName),e=e.replace($o,"."+this._leaveClassName);let c=r!=1,u=this._driver.query(this.element,e,c);r!==0&&(u=r<0?u.slice(u.length+r,u.length):u.slice(0,r)),a.push(...u)}return!s&&a.length==0&&o.push(ro(n)),a}},Tt=class t{constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Co,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles.set(e,n),this._globalTimelineStyles.set(e,n),this._styleSummary.set(e,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||oe),this._currentKeyframe.set(n,oe);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){n&&this._previousKeyframe.set("easing",n);let s=i&&i.params||{},o=Ho(e,this._globalTimelineStyles);for(let[a,c]of o){let u=Qe(c,s,r);this._pendingStyles.set(a,u),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??oe),this._updateStyle(a,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,n)=>{this._currentKeyframe.set(n,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,e)}))}snapshotCurrentStyles(){for(let[e,n]of this._localTimelineStyles)this._pendingStyles.set(e,n),this._updateStyle(e,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,r)=>{let i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,n=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,c)=>{let u=new Map([...this._backFill,...a]);u.forEach((f,h)=>{f===pt?e.add(h):f===oe&&n.add(h)}),r||u.set("offset",c/this.duration),i.push(u)});let s=[...e.values()],o=[...n.values()];if(r){let a=i[0],c=new Map(a);a.set("offset",0),c.set("offset",1),i=[a,c]}return jn(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}},Tn=class extends Tt{constructor(e,n,r,i,s,o,a=!1){super(e,n,o.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){let s=[],o=r+n,a=n/o,c=new Map(e[0]);c.set("offset",0),s.push(c);let u=new Map(e[0]);u.set("offset",vi(a)),s.push(u);let f=e.length-1;for(let h=1;h<=f;h++){let v=new Map(e[h]),S=v.get("offset"),m=n+S*r;v.set("offset",vi(m/o)),s.push(v)}r=o,n=0,i="",e=s}return jn(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}};function vi(t,e=3){let n=Math.pow(10,e-1);return Math.round(t*n)/n}function Ho(t,e){let n=new Map,r;return t.forEach(i=>{if(i==="*"){r??(r=e.keys());for(let s of r)n.set(s,oe)}else for(let[s,o]of i)n.set(s,o)}),n}function Si(t,e,n,r,i,s,o,a,c,u,f,h,v){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:c,preStyleProps:u,postStyleProps:f,totalTime:h,errors:v}}var hn={},At=class{constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return Wo(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e==null?void 0:e.toString())||i),i?i.buildStyles(n,r):new Map}build(e,n,r,i,s,o,a,c,u,f){var te;let h=[],v=this.ast.options&&this.ast.options.params||hn,S=a&&a.params||hn,m=this.buildStyles(r,S,h),g=c&&c.params||hn,R=this.buildStyles(i,g,h),L=new Set,U=new Map,B=new Map,j=i==="void",ee={params:Bi(g,v),delay:(te=this.ast.options)==null?void 0:te.delay},q=f?[]:xi(e,n,this.ast.animation,s,o,m,R,ee,u,h),K=0;return q.forEach(le=>{K=Math.max(le.duration+le.delay,K)}),h.length?Si(n,this._triggerName,r,i,j,m,R,[],[],U,B,K,h):(q.forEach(le=>{let ce=le.element,Bn=W(U,ce,new Set);le.preStyleProps.forEach(ye=>Bn.add(ye));let Be=W(B,ce,new Set);le.postStyleProps.forEach(ye=>Be.add(ye)),ce!==n&&L.add(ce)}),Si(n,this._triggerName,r,i,j,m,R,q,[...L.values()],U,B,K))}};function Wo(t,e,n,r,i){return t.some(s=>s(e,n,r,i))}function Bi(t,e){let n=ue({},e);return Object.entries(t).forEach(([r,i])=>{i!=null&&(n[r]=i)}),n}var An=class{constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){let r=new Map,i=Bi(e,this.defaultParams);return this.styles.styles.forEach(s=>{typeof s!="string"&&s.forEach((o,a)=>{o&&(o=Qe(o,i,n));let c=this.normalizer.normalizePropertyName(a,n);o=this.normalizer.normalizeStyleValue(a,c,o,n),r.set(a,o)})}),r}};function qo(t,e,n){return new Rn(t,e,n)}var Rn=class{constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states=new Map,n.states.forEach(i=>{let s=i.options&&i.options.params||{};this.states.set(i.name,new An(i.style,s,r))}),wi(this.states,"true","1"),wi(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new At(e,i,this.states))}),this.fallbackTransition=Yo(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,r,i){return this.transitionFactories.find(o=>o.match(e,n,r,i))||null}matchStyles(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}};function Yo(t,e,n){let r=[(o,a)=>!0],i={type:w.Sequence,steps:[],options:null},s={type:w.Transition,animation:i,matchers:r,options:null,queryCount:0,depCount:0};return new At(t,s,e)}function wi(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}var Qo=new Ze,Mn=class{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,n){let r=[],i=[],s=ji(this._driver,n,r,i);if(r.length)throw lo(r);i.length&&void 0,this._animations.set(e,s)}_buildPlayer(e,n,r){let i=e.element,s=Ni(this._normalizer,e.keyframes,n,r);return this._driver.animate(i,s,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){let i=[],s=this._animations.get(e),o,a=new Map;if(s?(o=xi(this._driver,n,s,Fi,gn,new Map,new Map,r,Qo,i),o.forEach(f=>{let h=W(a,f.element,new Map);f.postStyleProps.forEach(v=>h.set(v,null))})):(i.push(co()),o=[]),i.length)throw uo(i);a.forEach((f,h)=>{f.forEach((v,S)=>{f.set(S,this._driver.computeStyle(h,S,oe))})});let c=o.map(f=>{let h=a.get(f.element);return this._buildPlayer(f,new Map,h)}),u=ge(c);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);let r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){let n=this._playersById.get(e);if(!n)throw ho(e);return n}listen(e,n,r,i){let s=Ln(n,"","","");return In(this._getPlayer(e),r,s,i),()=>{}}command(e,n,r,i){if(r=="register"){this.register(e,i[0]);return}if(r=="create"){let o=i[0]||{};this.create(e,n,o);return}let s=this._getPlayer(e);switch(r){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},bi="ng-animate-queued",Zo=".ng-animate-queued",fn="ng-animate-disabled",Xo=".ng-animate-disabled",Jo="ng-star-inserted",ea=".ng-star-inserted",ta=[],Gi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},na={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},J="__ng_removed",Xe=class{get params(){return this.options.params}constructor(e,n=""){this.namespaceId=n;let r=e&&e.hasOwnProperty("value"),i=r?e.value:e;if(this.value=ia(i),r){let s=e,{value:o}=s,a=tt(s,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let n=e.params;if(n){let r=this.options.params;Object.keys(n).forEach(i=>{r[i]==null&&(r[i]=n[i])})}}},Ye="void",dn=new Xe(Ye),On=class{constructor(e,n,r){this.id=e,this.hostElement=n,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Z(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.has(n))throw fo(r,n);if(r==null||r.length==0)throw po(n);if(!sa(r))throw mo(r,n);let s=W(this._elementListeners,e,[]),o={name:n,phase:r,callback:i};s.push(o);let a=W(this._engine.statesByElement,e,new Map);return a.has(n)||(Z(e,mt),Z(e,mt+"-"+n),a.set(n,dn)),()=>{this._engine.afterFlush(()=>{let c=s.indexOf(o);c>=0&&s.splice(c,1),this._triggers.has(n)||a.delete(n)})}}register(e,n){return this._triggers.has(e)?!1:(this._triggers.set(e,n),!0)}_getTrigger(e){let n=this._triggers.get(e);if(!n)throw go(e);return n}trigger(e,n,r,i=!0){let s=this._getTrigger(n),o=new Je(this.id,n,e),a=this._engine.statesByElement.get(e);a||(Z(e,mt),Z(e,mt+"-"+n),this._engine.statesByElement.set(e,a=new Map));let c=a.get(n),u=new Xe(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&c&&u.absorbOptions(c.options),a.set(n,u),c||(c=dn),!(u.value===Ye)&&c.value===u.value){if(!la(c.params,u.params)){let g=[],R=s.matchStyles(c.value,c.params,g),L=s.matchStyles(u.value,u.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{Me(e,R),ae(e,L)})}return}let v=W(this._engine.playersByElement,e,[]);v.forEach(g=>{g.namespaceId==this.id&&g.triggerName==n&&g.queued&&g.destroy()});let S=s.matchTransition(c.value,u.value,e,u.params),m=!1;if(!S){if(!i)return;S=s.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:S,fromState:c,toState:u,player:o,isFallbackTransition:m}),m||(Z(e,bi),o.onStart(()=>{Ue(e,bi)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);let R=this._engine.playersByElement.get(e);if(R){let L=R.indexOf(o);L>=0&&R.splice(L,1)}}),this.players.push(o),v.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(n=>n.delete(e)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){let r=this._engine.driver.query(e,vt,!0);r.forEach(i=>{if(i[J])return;let s=this._engine.fetchNamespacesByElement(i);s.size?s.forEach(o=>o.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,n,r,i){let s=this._engine.statesByElement.get(e),o=new Map;if(s){let a=[];if(s.forEach((c,u)=>{if(o.set(u,c.value),this._triggers.has(u)){let f=this.trigger(e,u,Ye,i);f&&a.push(f)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,o),r&&ge(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){let i=new Set;n.forEach(s=>{let o=s.name;if(i.has(o))return;i.add(o);let c=this._triggers.get(o).fallbackTransition,u=r.get(o)||dn,f=new Xe(Ye),h=new Je(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:c,fromState:u,toState:f,player:h,isFallbackTransition:!0})})}}removeNode(e,n){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){let s=r.players.length?r.playersByQueriedElement.get(e):[];if(s&&s.length)i=!0;else{let o=e;for(;o=o.parentNode;)if(r.statesByElement.get(o)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,n);else{let s=e[J];(!s||s===Gi)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){Z(e,this._hostClassName)}drainQueuedTransitions(e){let n=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let s=r.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==r.triggerName){let c=Ln(s,r.triggerName,r.fromState.value,r.toState.value);c._data=e,In(r.player,a.phase,c,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{let s=r.transition.ast.depCount,o=i.transition.ast.depCount;return s==0||o==0?s-o:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Dn=class{_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}constructor(e,n,r){this.bodyNode=e,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){let r=new On(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,n){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let o=!1,a=this.driver.getParentElement(n);for(;a;){let c=i.get(a);if(c){let u=r.indexOf(c);r.splice(u+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||r.unshift(e)}else r.push(e);return i.set(n,e),e}register(e,n){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}registerTrigger(e,n,r){let i=this._namespaceLookup[e];i&&i.register(n,r)&&this.totalAnimations++}destroy(e,n){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let n=new Set,r=this.statesByElement.get(e);if(r){for(let i of r.values())if(i.namespaceId){let s=this._fetchNamespace(i.namespaceId);s&&n.add(s)}}return n}trigger(e,n,r,i){if(Et(n)){let s=this._fetchNamespace(e);if(s)return s.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!Et(n))return;let s=n[J];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;let o=this.collectedLeaveElements.indexOf(n);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Z(e,fn)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ue(e,fn))}removeNode(e,n,r){if(Et(n)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(n,r):this.markElementAsRemoved(e,n,!1,r);let s=this.namespacesByHostElement.get(n);s&&s.id!==e&&s.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(e,n,r,i,s){this.collectedLeaveElements.push(n),n[J]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,n,r,i,s){return Et(n)?this._fetchNamespace(e).listen(n,r,i,s):()=>{}}_buildInstruction(e,n,r,i,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,n,s)}destroyInnerAnimations(e){let n=this.driver.query(e,vt,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(e,yn,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return ge(this.players).onDone(()=>e());e()})}processLeaveNode(e){var r;let n=e[J];if(n&&n.setForRemoval){if(e[J]=Gi,n.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}(r=e.classList)!=null&&r.contains(fn)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Xo,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],n.length?ge(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw yo(e)}_flushAnimations(e,n){let r=new Ze,i=[],s=new Map,o=[],a=new Map,c=new Map,u=new Map,f=new Set;this.disabledNodes.forEach(d=>{f.add(d);let y=this.driver.query(d,Zo,!0);for(let _=0;_{let _=Fi+g++;m.set(y,_),d.forEach(A=>Z(A,_))});let R=[],L=new Set,U=new Set;for(let d=0;dL.add(A)):U.add(y))}let B=new Map,j=Ri(v,Array.from(L));j.forEach((d,y)=>{let _=gn+g++;B.set(y,_),d.forEach(A=>Z(A,_))}),e.push(()=>{S.forEach((d,y)=>{let _=m.get(y);d.forEach(A=>Ue(A,_))}),j.forEach((d,y)=>{let _=B.get(y);d.forEach(A=>Ue(A,_))}),R.forEach(d=>{this.processLeaveNode(d)})});let ee=[],q=[];for(let d=this._namespaceList.length-1;d>=0;d--)this._namespaceList[d].drainQueuedTransitions(n).forEach(_=>{let A=_.player,x=_.element;if(ee.push(A),this.collectedEnterElements.length){let G=x[J];if(G&&G.setForMove){if(G.previousTriggersValues&&G.previousTriggersValues.has(_.triggerName)){let Ee=G.previousTriggersValues.get(_.triggerName),Y=this.statesByElement.get(_.element);if(Y&&Y.has(_.triggerName)){let et=Y.get(_.triggerName);et.value=Ee,Y.set(_.triggerName,et)}}A.destroy();return}}let ne=!h||!this.driver.containsElement(h,x),V=B.get(x),de=m.get(x),D=this._buildInstruction(_,r,de,V,ne);if(D.errors&&D.errors.length){q.push(D);return}if(ne){A.onStart(()=>Me(x,D.fromStyles)),A.onDestroy(()=>ae(x,D.toStyles)),i.push(A);return}if(_.isFallbackTransition){A.onStart(()=>Me(x,D.fromStyles)),A.onDestroy(()=>ae(x,D.toStyles)),i.push(A);return}let Kn=[];D.timelines.forEach(G=>{G.stretchStartingKeyframe=!0,this.disabledNodes.has(G.element)||Kn.push(G)}),D.timelines=Kn,r.append(x,D.timelines);let Xi={instruction:D,player:A,element:x};o.push(Xi),D.queriedElements.forEach(G=>W(a,G,[]).push(A)),D.preStyleProps.forEach((G,Ee)=>{if(G.size){let Y=c.get(Ee);Y||c.set(Ee,Y=new Set),G.forEach((et,Dt)=>Y.add(Dt))}}),D.postStyleProps.forEach((G,Ee)=>{let Y=u.get(Ee);Y||u.set(Ee,Y=new Set),G.forEach((et,Dt)=>Y.add(Dt))})});if(q.length){let d=[];q.forEach(y=>{d.push(Eo(y.triggerName,y.errors))}),ee.forEach(y=>y.destroy()),this.reportError(d)}let K=new Map,te=new Map;o.forEach(d=>{let y=d.element;r.has(y)&&(te.set(y,y),this._beforeAnimationBuild(d.player.namespaceId,d.instruction,K))}),i.forEach(d=>{let y=d.element;this._getPreviousPlayers(y,!1,d.namespaceId,d.triggerName,null).forEach(A=>{W(K,y,[]).push(A),A.destroy()})});let le=R.filter(d=>Mi(d,c,u)),ce=new Map;Ai(ce,this.driver,U,u,oe).forEach(d=>{Mi(d,c,u)&&le.push(d)});let Be=new Map;S.forEach((d,y)=>{Ai(Be,this.driver,new Set(d),c,pt)}),le.forEach(d=>{let y=ce.get(d),_=Be.get(d);ce.set(d,new Map([...(y==null?void 0:y.entries())??[],...(_==null?void 0:_.entries())??[]]))});let ye=[],Gn=[],Cn={};o.forEach(d=>{let{element:y,player:_,instruction:A}=d;if(r.has(y)){if(f.has(y)){_.onDestroy(()=>ae(y,A.toStyles)),_.disabled=!0,_.overrideTotalTime(A.totalTime),i.push(_);return}let x=Cn;if(te.size>1){let V=y,de=[];for(;V=V.parentNode;){let D=te.get(V);if(D){x=D;break}de.push(V)}de.forEach(D=>te.set(D,x))}let ne=this._buildAnimation(_.namespaceId,A,K,s,Be,ce);if(_.setRealPlayer(ne),x===Cn)ye.push(_);else{let V=this.playersByElement.get(x);V&&V.length&&(_.parentPlayer=ge(V)),i.push(_)}}else Me(y,A.fromStyles),_.onDestroy(()=>ae(y,A.toStyles)),Gn.push(_),f.has(y)&&i.push(_)}),Gn.forEach(d=>{let y=s.get(d.element);if(y&&y.length){let _=ge(y);d.setRealPlayer(_)}}),i.forEach(d=>{d.parentPlayer?d.syncPlayerEvents(d.parentPlayer):d.destroy()});for(let d=0;d!ne.destroyed);x.length?oa(this,y,x):this.processLeaveNode(y)}return R.length=0,ye.forEach(d=>{this.players.push(d),d.onDone(()=>{d.destroy();let y=this.players.indexOf(d);this.players.splice(y,1)}),d.play()}),ye}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,s){let o=[];if(n){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let c=!s||s==Ye;a.forEach(u=>{u.queued||!c&&u.triggerName!=i||o.push(u)})}}return(r||i)&&(o=o.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),o}_beforeAnimationBuild(e,n,r){let i=n.triggerName,s=n.element,o=n.isRemovalTransition?void 0:e,a=n.isRemovalTransition?void 0:i;for(let c of n.timelines){let u=c.element,f=u!==s,h=W(r,u,[]);this._getPreviousPlayers(u,f,o,a,n.toState).forEach(S=>{let m=S.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),S.destroy(),h.push(S)})}Me(s,n.fromStyles)}_buildAnimation(e,n,r,i,s,o){let a=n.triggerName,c=n.element,u=[],f=new Set,h=new Set,v=n.timelines.map(m=>{let g=m.element;f.add(g);let R=g[J];if(R&&R.removedBeforeQueried)return new me(m.duration,m.delay);let L=g!==c,U=aa((r.get(g)||ta).map(K=>K.getRealPlayer())).filter(K=>{let te=K;return te.element?te.element===g:!1}),B=s.get(g),j=o.get(g),ee=Ni(this._normalizer,m.keyframes,B,j),q=this._buildPlayer(m,ee,U);if(m.subTimeline&&i&&h.add(g),L){let K=new Je(e,a,g);K.setRealPlayer(q),u.push(K)}return q});u.forEach(m=>{W(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>ra(this.playersByQueriedElement,m.element,m))}),f.forEach(m=>Z(m,gi));let S=ge(v);return S.onDestroy(()=>{f.forEach(m=>Ue(m,gi)),ae(c,n.toStyles)}),h.forEach(m=>{W(i,m,[]).push(S)}),S}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new me(e.duration,e.delay)}},Je=class{constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r,this._player=new me,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>In(e,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){W(this._queuedCallbacks,e,[]).push(n)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let n=this._player;n.triggerCallback&&n.triggerCallback(e)}};function ra(t,e,n){let r=t.get(e);if(r){if(r.length){let i=r.indexOf(n);r.splice(i,1)}r.length==0&&t.delete(e)}return r}function ia(t){return t??null}function Et(t){return t&&t.nodeType===1}function sa(t){return t=="start"||t=="done"}function Ti(t,e){let n=t.style.display;return t.style.display=e??"none",n}function Ai(t,e,n,r,i){let s=[];n.forEach(c=>s.push(Ti(c)));let o=[];r.forEach((c,u)=>{let f=new Map;c.forEach(h=>{let v=e.computeStyle(u,h,i);f.set(h,v),(!v||v.length==0)&&(u[J]=na,o.push(u))}),t.set(u,f)});let a=0;return n.forEach(c=>Ti(c,s[a++])),o}function Ri(t,e){let n=new Map;if(t.forEach(a=>n.set(a,[])),e.length==0)return n;let r=1,i=new Set(e),s=new Map;function o(a){if(!a)return r;let c=s.get(a);if(c)return c;let u=a.parentNode;return n.has(u)?c=u:i.has(u)?c=r:c=o(u),s.set(a,c),c}return e.forEach(a=>{let c=o(a);c!==r&&n.get(c).push(a)}),n}function Z(t,e){var n;(n=t.classList)==null||n.add(e)}function Ue(t,e){var n;(n=t.classList)==null||n.remove(e)}function oa(t,e,n){ge(n).onDone(()=>t.processLeaveNode(e))}function aa(t){let e=[];return Ci(t,e),e}function Ci(t,e){for(let n=0;ni.add(s)):e.set(t,r),n.delete(t),!0}var Rt=class{constructor(e,n,r){this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,s)=>{},this._transitionEngine=new Dn(e.body,n,r),this._timelineEngine=new Mn(e.body,n,r),this._transitionEngine.onRemovalComplete=(i,s)=>this.onRemovalComplete(i,s)}registerTrigger(e,n,r,i,s){let o=e+"-"+i,a=this._triggerCache[o];if(!a){let c=[],u=[],f=ji(this._driver,s,c,u);if(c.length)throw oo(i,c);u.length&&void 0,a=qo(i,f,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(n,i,a)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,r,i){this._transitionEngine.insertNode(e,n,r,i)}onRemove(e,n,r){this._transitionEngine.removeNode(e,n,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if(r.charAt(0)=="@"){let[s,o]=di(r),a=i;this._timelineEngine.command(s,n,o,a)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,s){if(r.charAt(0)=="@"){let[o,a]=di(r);return this._timelineEngine.listen(o,n,a,s)}return this._transitionEngine.listen(e,n,r,i,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function ca(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=pn(e[0]),e.length>1&&(r=pn(e[e.length-1]))):e instanceof Map&&(n=pn(e)),n||r?new Nn(t,n,r):null}var je=class je{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let i=je.initialStylesByElement.get(e);i||je.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&ae(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ae(this._element,this._initialStyles),this._endStyles&&(ae(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(je.initialStylesByElement.delete(this._element),this._startStyles&&(Me(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Me(this._element,this._endStyles),this._endStyles=null),ae(this._element,this._initialStyles),this._state=3)}};je.initialStylesByElement=new WeakMap;var Nn=je;function pn(t){let e=null;return t.forEach((n,r)=>{ua(r)&&(e=e||new Map,e.set(r,n))}),e}function ua(t){return t==="display"||t==="position"}var Mt=class{constructor(e,n,r,i){this.element=e,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let n=[];return e.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(e,n,r){return e.animate(this._convertKeyframesToObject(n),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&e.set(i,this._finished?r:Un(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let n=e==="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Oi=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,n){return Pi(e,n)}getParentElement(e){return Fn(e)}query(e,n,r){return Ii(e,n,r)}computeStyle(e,n,r){return Un(e,n)}animate(e,n,r,i,s,o=[]){let a=i==0?"both":"forwards",c={duration:r,delay:i,fill:a};s&&(c.easing=s);let u=new Map,f=o.filter(S=>S instanceof Mt);No(r,i)&&f.forEach(S=>{S.currentSnapshot.forEach((m,g)=>u.set(g,m))});let h=Mo(n).map(S=>new Map(S));h=Po(e,h,u);let v=ca(e,h);return new Mt(e,h,c,v)}};var _t="@",Ki="@.disabled",Ot=class{constructor(e,n,r,i){this.namespaceId=e,this.delegate=n,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){var n,r;(r=(n=this.delegate).destroyNode)==null||r.call(n,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,r,i=!0){this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,i)}removeChild(e,n,r){this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,r,i){this.delegate.setAttribute(e,n,r,i)}removeAttribute(e,n,r){this.delegate.removeAttribute(e,n,r)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,r,i){this.delegate.setStyle(e,n,r,i)}removeStyle(e,n,r){this.delegate.removeStyle(e,n,r)}setProperty(e,n,r){n.charAt(0)==_t&&n==Ki?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,r){return this.delegate.listen(e,n,r)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}},Pn=class extends Ot{constructor(e,n,r,i,s){super(n,r,i,s),this.factory=e,this.namespaceId=n}setProperty(e,n,r){n.charAt(0)==_t?n.charAt(1)=="."&&n==Ki?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,n.slice(1),r):this.delegate.setProperty(e,n,r)}listen(e,n,r){if(n.charAt(0)==_t){let i=ha(e),s=n.slice(1),o="";return s.charAt(0)!=_t&&([s,o]=fa(s)),this.engine.listen(this.namespaceId,i,s,o,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,r,a)})}return this.delegate.listen(e,n,r)}};function ha(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function fa(t){let e=t.indexOf("."),n=t.substring(0,e),r=t.slice(e+1);return[n,r]}var Di=class{constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(i,s)=>{let o=s==null?void 0:s.parentNode(i);o&&s.removeChild(o,i)}}createRenderer(e,n){var u;let r="",i=this.delegate.createRenderer(e,n);if(!e||!((u=n==null?void 0:n.data)!=null&&u.animation)){let f=this._rendererCache,h=f.get(i);if(!h){let v=()=>f.delete(i);h=new Ot(r,i,this.engine,v),f.set(i,h)}return h}let s=n.id,o=n.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=f=>{Array.isArray(f)?f.forEach(a):this.engine.registerTrigger(s,o,e,f.name,f)};return n.data.animation.forEach(a),new Pn(this,o,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){if(e>=0&&en(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(s=>{let[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),i.push([n,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var da=I(()=>{let t={onRemovalComplete:()=>{}},e=new Hn(null),n=p(Rt,tr.Optional)||t,{onRemovalComplete:r=t.onRemovalComplete}=n;return n.onRemovalComplete=(i,s)=>{e.next(i),r.call(n,i,s)},e.pipe(z(i=>_e(0).pipe(M(()=>null),C(i))),De())});function zi(t,e=null){return Gt(t).activeElement!==t&&!t.matches(":disabled")&&!(e!=null&&e.contains(t))}function pa(t){return re(k(t,"focusin").pipe(M(({target:e})=>e)),k(t,"focusout").pipe(ie(({target:e,relatedTarget:n})=>!!n&&zi(e)),M(({relatedTarget:e})=>e)))}var uu=I(()=>{let t=p(da),e=p(O),n=p(P),r=k(e,"focusout"),i=k(e,"focusin"),s=k(e,"blur"),o=k(e,"mousedown"),a=k(e,"mouseup");return re(r.pipe(Se(o),Jn(()=>a),ot(t),ie(([c,u])=>zi(lt(c),u)),M(([{relatedTarget:c}])=>c)),s.pipe(M(()=>n.activeElement),ie(c=>!!(c!=null&&c.matches("iframe")))),i.pipe(z(c=>{let u=lt(c),f=Gt(u);return f===n?Q(u):pa(f).pipe(C(u))})),o.pipe(z(c=>{let u=lt(c);return!n.activeElement||n.activeElement===n.body?Q(u):r.pipe(ve(1),M(()=>u),Se(_e(0)))}))).pipe(he(),De())}),ma=Le([]);function hu(t){return{provide:ma,multi:!0,useExisting:t}}var fu=I(()=>{var t,e;return(e=(t=p(P).querySelector("base"))===null||t===void 0?void 0:t.href)!==null&&e!==void 0?e:""}),du=I(()=>p(at).createRenderer(null,null)),ga=Le([]);function pu(t){return{provide:ga,multi:!0,useExisting:t}}var mu=I(()=>{var t;let e=(t=p(P).querySelector("base"))===null||t===void 0?void 0:t.href;if(e)return e;let n=p(P).createElement("a");return n.href="",n.pathname}),ya=new E("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function gu(t){return{provide:ya,useExisting:t}}var yu=new E("[TUI_FONTS_READY]",{factory:()=>{var t;return Ge(((t=p(P).fonts)===null||t===void 0?void 0:t.ready)||it).pipe(se({bufferSize:1,refCount:!1}))}}),Ea=I(()=>sn(p(Fe))),_a=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/,va=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/,Sa=I(()=>_a.test(p(Xt).toLowerCase())||va.test(p(Xt).slice(0,4).toLowerCase())),Eu=I(()=>p(Sa)&&!p(Ea)),_u=I(()=>si(p(Fe))),vu=I(()=>!!p(O).chrome),wa=I(()=>!!p(O).Cypress),ba=I(ke),Su=I(()=>p(wa)||p(ba)),wu=I(()=>{var t;return typeof((t=p(O))===null||t===void 0?void 0:t.mozCancelFullScreen)<"u"}),bu=I(()=>p(O).location.host.endsWith("stackblitz.io")),Tu=I(()=>{var t;return!!(!((t=p(O))===null||t===void 0)&&t.webkitConvertPointFromNodeToPage)}),Au=Le("web");var Ru=I(()=>Tr(p(X))?new Range:{}),Mu=I(()=>new Ne(p(P).documentElement)),Ou=Le({timeout:500,threshold:30}),Du=I(ti),Nu=I(()=>p(O).matchMedia("(any-pointer: coarse)").matches),Ta=new E("[TUI_WINDOW_SIZE]",{factory:()=>{let t=p(O);return k(t,"resize").pipe(C(null),M(()=>{var e,n;let r=Math.max(t.document.documentElement.clientWidth||0,t.innerWidth||0,((e=t.visualViewport)===null||e===void 0?void 0:e.width)||0),i=Math.max(t.document.documentElement.clientHeight||0,t.innerHeight||0,((n=t.visualViewport)===null||n===void 0?void 0:n.height)||0);return{width:r,height:i,top:0,left:0,right:r,bottom:i}}),se({bufferSize:1,refCount:!0}))}}),Pu=I(()=>p(Ta).pipe(M(({height:t})=>t))),Iu=Le({wheelSensitivity:.01});var $i=(()=>{class t extends rt{constructor(){super(1)}ngOnDestroy(){this.next()}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=F({token:t,factory:t.\u0275fac}),t})(),eh=(()=>{class t{constructor(n,r){this.resolver=n,this.injector=r,this.map=new Map}addComponent(n){this.map.has(n)||this.map.set(n,this.resolver.resolveComponentFactory(n).create(this.injector))}ngOnDestroy(){this.map.forEach(n=>n.destroy())}}return t.\u0275fac=function(n){return new(n||t)(T(pr),T(nr))},t.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),th=(()=>{class t extends ${constructor({nativeElement:n},r,i){super(s=>this.focusVisible$.subscribe(s)),this.focusVisible$=ai(n).pipe(li(r),Se(i))}}return t.\u0275fac=function(n){return new(n||t)(T(Ne),T(Er),T($i,2))},t.\u0275prov=F({token:t,factory:t.\u0275fac}),t})(),Aa="tui_",nh=(()=>{class t{generate(){return`${Aa}${t.autoId++}${Date.now()}`}}return t.autoId=0,t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ra=(()=>{class t extends ${constructor(n,r){super(i=>this.callback$.subscribe(i)),this.callback$=st(()=>{let{nativeElement:i}=n,s=[r,i];for(;i.parentElement;)i=i.parentElement,s.push(i);return re(...s.map(o=>k(o,"scroll")))})}}return t.\u0275fac=function(n){return new(n||t)(T(Ne),T(O))},t.\u0275prov=F({token:t,factory:t.\u0275fac}),t})(),rh=(()=>{class t extends ${constructor(n,{nativeElement:r},i,s,o,a){super(c=>this.obscured$.subscribe(c)),this.obscured$=re(re(n,Oe(s,"resize")).pipe(Xn(0)),a.pipe(er(ni))).pipe(M(()=>Pr(r)),C(null),he(),ui(i),Se(o))}}return t.\u0275fac=function(n){return new(n||t)(T(Ra,2),T(Ne),T(pe),T(O),T($i,2),T(Zt))},t.\u0275prov=F({token:t,factory:t.\u0275fac}),t})();var Ma=300;function Vi(t){return"scrollX"in t?t.scrollX:t.scrollLeft}function Oa(t){return"scrollY"in t?t.scrollY:t.scrollTop}var ih=(()=>{class t{constructor(n,r){this.performanceRef=n,this.animationFrame$=r}scroll$(n,r,i=Vi(n),s=Ma){let o=Oa(n),a=Vi(n),c=r-o,u=i-a;return(s?st(()=>Q(this.performanceRef.now())).pipe(z(h=>this.animationFrame$.pipe(M(v=>v-h))),M(h=>Or(Rr(h/s,0,1))),M(h=>[o+c*h,a+u*h]),Se(_e(s)),Nt([r,i])):Q([r,i])).pipe(we(([h,v])=>{var S;(S=n.scrollTo)===null||S===void 0||S.call(n,v,h)}))}}return t.\u0275fac=function(n){return new(n||t)(T(Qr),T(Zt))},t.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),sh=(()=>{class t{constructor(n,r){this.win=n,this.platformId=r,this.cache=new Map}request(n){let r=this.cache.get(n);if(r)return r;let s=("AbortController"in this.win||Te(this.platformId)?ln(n):st(()=>Ge(fetch(n)))).pipe(z(o=>hi(this,void 0,void 0,function*(){if(o.ok)return o.text();throw new Error(`Failed to load ${n} (${o.statusText})`)})),se({bufferSize:1,refCount:!1}));return this.cache.set(n,s),s}}return t.\u0275fac=function(n){return new(n||t)(T(O),T(X))},t.\u0275prov=F({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var N=function(t){return t.Align="justify",t.Anchor="anchor",t.Attach="attach",t.Bold="bold",t.Clear="clear",t.Code="code",t.Color="foreColor",t.Details="details",t.Group="group",t.HR="insertHorizontalRule",t.Hilite="hiliteColor",t.Img="image",t.Italic="italic",t.Link="link",t.List="list",t.MergeCells="mergeCells",t.Quote="quote",t.RowsColumnsManaging="rowsColumnsManaging",t.Size="fontSize",t.SplitCells="splitCells",t.Strikethrough="strikeThrough",t.Sub="subscript",t.Sup="superscript",t.Table="insertTable",t.Tex="tex",t.Underline="underline",t.Undo="undo",t}(N||{});var Hi=new Map([["color-black-100","#909090"],["color-black-200","#666666"],["color-black-300","#333333"],["color-blue-100","#1771e6"],["color-blue-200","#1464cc"],["color-blue-300","#0953b3"],["color-gray-100","#f5f5f6"],["color-gray-200","#e7e8ea"],["color-gray-300","#cbcfd3"],["color-gray-400","#959ba4"],["color-gray-500","#79818c"],["color-gray-600","#616871"],["color-green-100","#39b54a"],["color-green-200","#2ca53a"],["color-green-300","#168a21"],["color-light-blue-100","#ecf1f7"],["color-light-blue-200","#e4ebf3"],["color-light-blue-300","#dde4ed"],["color-red-100","#e01f19"],["color-red-200","#d3120e"],["color-red-300","#c40b08"],["color-yellow-100","#FFDD2C"],["color-yellow-200","#FCC521"],["color-yellow-300","#FAB618"],["transparent","transparent"]]),Wi="rgb(51, 51, 51)",ch=[N.Undo,N.Size,N.Bold,N.Italic,N.Underline,N.Align,N.List,N.Quote,N.Link,N.Anchor,N.Color,N.Hilite,N.Clear,N.Strikethrough,N.Code,N.Img,N.HR,N.Sup,N.Sub,N.Table,N.Details];var uh="tui_editor_resize";function qi(t){return[{px:13,name:t.small},{px:15,name:t.normal},{px:17,name:t.large},{px:24,family:"var(--tui-font-heading)",name:t.subtitle,headingLevel:2,weight:"bold"},{px:30,family:"var(--tui-font-heading)",name:t.title,headingLevel:1,weight:"bold"}]}var hh="#";var Da="https://",fh=":",dh="://",Yi={protocol:Da};var l=function(t){return t.AD="AD",t.AE="AE",t.AF="AF",t.AG="AG",t.AI="AI",t.AL="AL",t.AM="AM",t.AO="AO",t.AR="AR",t.AT="AT",t.AU="AU",t.AW="AW",t.AZ="AZ",t.BA="BA",t.BB="BB",t.BD="BD",t.BE="BE",t.BF="BF",t.BG="BG",t.BH="BH",t.BI="BI",t.BJ="BJ",t.BL="BL",t.BM="BM",t.BN="BN",t.BO="BO",t.BQ="BQ",t.BR="BR",t.BS="BS",t.BT="BT",t.BW="BW",t.BY="BY",t.BZ="BZ",t.CA="CA",t.CD="CD",t.CF="CF",t.CG="CG",t.CH="CH",t.CI="CI",t.CL="CL",t.CM="CM",t.CN="CN",t.CO="CO",t.CR="CR",t.CU="CU",t.CV="CV",t.CW="CW",t.CY="CY",t.CZ="CZ",t.DE="DE",t.DJ="DJ",t.DK="DK",t.DM="DM",t.DO="DO",t.DZ="DZ",t.EC="EC",t.EE="EE",t.EG="EG",t.ER="ER",t.ES="ES",t.ET="ET",t.FI="FI",t.FJ="FJ",t.FK="FK",t.FM="FM",t.FR="FR",t.GA="GA",t.GB="GB",t.GD="GD",t.GE="GE",t.GF="GF",t.GH="GH",t.GI="GI",t.GL="GL",t.GM="GM",t.GN="GN",t.GP="GP",t.GQ="GQ",t.GR="GR",t.GT="GT",t.GW="GW",t.GY="GY",t.HK="HK",t.HN="HN",t.HR="HR",t.HT="HT",t.HU="HU",t.ID="ID",t.IE="IE",t.IL="IL",t.IN="IN",t.IQ="IQ",t.IR="IR",t.IS="IS",t.IT="IT",t.JM="JM",t.JO="JO",t.JP="JP",t.KE="KE",t.KG="KG",t.KH="KH",t.KM="KM",t.KN="KN",t.KP="KP",t.KR="KR",t.KW="KW",t.KY="KY",t.KZ="KZ",t.LA="LA",t.LB="LB",t.LC="LC",t.LI="LI",t.LK="LK",t.LR="LR",t.LS="LS",t.LT="LT",t.LU="LU",t.LV="LV",t.LY="LY",t.MA="MA",t.MC="MC",t.MD="MD",t.ME="ME",t.MF="MF",t.MG="MG",t.MK="MK",t.ML="ML",t.MM="MM",t.MN="MN",t.MO="MO",t.MQ="MQ",t.MR="MR",t.MS="MS",t.MT="MT",t.MU="MU",t.MV="MV",t.MW="MW",t.MX="MX",t.MY="MY",t.MZ="MZ",t.NA="NA",t.NC="NC",t.NE="NE",t.NG="NG",t.NI="NI",t.NL="NL",t.NO="NO",t.NP="NP",t.NZ="NZ",t.OM="OM",t.PA="PA",t.PE="PE",t.PF="PF",t.PG="PG",t.PH="PH",t.PK="PK",t.PL="PL",t.PT="PT",t.PW="PW",t.PY="PY",t.QA="QA",t.RE="RE",t.RO="RO",t.RS="RS",t.RU="RU",t.RW="RW",t.SA="SA",t.SB="SB",t.SC="SC",t.SD="SD",t.SE="SE",t.SG="SG",t.SH="SH",t.SI="SI",t.SK="SK",t.SL="SL",t.SM="SM",t.SN="SN",t.SO="SO",t.SR="SR",t.ST="ST",t.SV="SV",t.SX="SX",t.SY="SY",t.SZ="SZ",t.TC="TC",t.TD="TD",t.TG="TG",t.TH="TH",t.TJ="TJ",t.TL="TL",t.TM="TM",t.TN="TN",t.TO="TO",t.TR="TR",t.TT="TT",t.TW="TW",t.TZ="TZ",t.UA="UA",t.UG="UG",t.US="US",t.UY="UY",t.UZ="UZ",t.VC="VC",t.VE="VE",t.VG="VG",t.VN="VN",t.VU="VU",t.WS="WS",t.XK="XK",t.YE="YE",t.YT="YT",t.ZA="ZA",t.ZM="ZM",t.ZW="ZW",t}(l||{});var Na={cardNumber:["Number","Card number"],cardExpiry:["Expires","Valid through"]},Pa={colorSelectorModeNames:["Solid color","Gradient"],toolbarTools:{undo:"Undo",redo:"Redo",font:"Font",fontStyle:"Font style",fontSize:"Font size",bold:"Bold",italic:"Italic",underline:"Underline",strikeThrough:"Strike through",justify:"Justify",justifyLeft:"Justify left",justifyCenter:"Justify center",justifyRight:"Justify right",justifyFull:"Justify full",list:"List",indent:"Indent",outdent:"Outdent",unorderedList:"Unordered list",orderedList:"Ordered list",quote:"Quote",foreColor:"Color",backColor:"Background color",hiliteColor:"Highlight color",clear:"Clear",link:"Link",attach:"Attach file",tex:"Insert TeX",code:"Code",image:"Insert image",insertHorizontalRule:"Insert horizontal rule",superscript:"Superscript",subscript:"Subscript",insertTable:"Insert table",insertGroup:"Insert group",hiliteGroup:"Hilite group",removeGroup:"Remove group",insertAnchor:"Insert anchor",mergeCells:"Merge cells",splitCells:"Split cells",rowsColumnsManaging:"Managing rows and columns",cellColor:"Cell color",setDetails:"Details",removeDetails:"Remove details"},editorEditLink:{urlExample:"example.com",anchorExample:"anchor"},editorTableCommands:[["Insert column before","Insert column after"],["Insert row before","Insert row after"],["Delete column","Delete row"]],editorCodeOptions:["Code in the text","Code in block"],editorFontOptions:{small:"Small",large:"Large",normal:"Normal",title:"Title",subtitle:"Subtitle"}},Ia={previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"}},La={showHideText:"Show/Hide",paginationTexts:{pages:"Pages",linesPerPage:"Lines per page",of:"of"}},Fa={[l.AD]:"Andorra",[l.AE]:"United Arab Emirates",[l.AF]:"Afghanistan",[l.AG]:"Antigua and Barbuda",[l.BL]:"Saint Barth\xE9lemy",[l.AI]:"Anguilla",[l.AL]:"Albania",[l.AM]:"Armenia",[l.AO]:"Angola",[l.AR]:"Argentina",[l.AT]:"Austria",[l.AU]:"Australia",[l.AW]:"Aruba",[l.AZ]:"Azerbaijan",[l.BA]:"Bosnia and Herzegovina",[l.BB]:"Barbados",[l.BD]:"Bangladesh",[l.BE]:"Belgium",[l.BF]:"Burkina Faso",[l.BG]:"Bulgaria",[l.BH]:"Bahrain",[l.BI]:"Burundi",[l.BJ]:"Benin",[l.GF]:"Guyana",[l.BM]:"Bermuda",[l.BN]:"Brunei Darussalam",[l.BO]:"Bolivia",[l.BQ]:"Bonaire, Sint Eustatius and Saba",[l.BR]:"Brazil",[l.BS]:"Bahamas",[l.BT]:"Bhutan",[l.BW]:"Botswana",[l.BY]:"Belarus",[l.BZ]:"Belize",[l.CA]:"Canada",[l.CD]:"Dem. Rep. Congo (Kinshasa)",[l.CF]:"Central African Republic",[l.CG]:"Congo (Brazzaville)",[l.CH]:"Switzerland",[l.CI]:"Ivory Coast",[l.CL]:"Chile",[l.CM]:"Cameroon",[l.CN]:"China",[l.CO]:"Colombia",[l.CR]:"Costa Rica",[l.CU]:"Cuba",[l.CV]:"Cape Verde",[l.CW]:"Cura\xE7ao",[l.CY]:"Cyprus",[l.CZ]:"Czech Republic",[l.DE]:"Germany",[l.DJ]:"Djibouti",[l.DK]:"Denmark",[l.DM]:"Dominica",[l.DO]:"Dominican Republic",[l.DZ]:"Algeria",[l.EC]:"Ecuador",[l.EE]:"Estonia",[l.EG]:"Egypt",[l.ER]:"Eritrea",[l.ES]:"Spain",[l.ET]:"Ethiopia",[l.FI]:"Finland",[l.FJ]:"Fiji",[l.FK]:"Falkland Islands",[l.FM]:"F.S. of Micronesia",[l.FR]:"France",[l.GA]:"Gabon",[l.GB]:"United Kingdom",[l.GD]:"Grenada",[l.GE]:"Georgia",[l.GP]:"Guadeloupe",[l.GH]:"Ghana",[l.GI]:"Gibraltar",[l.GL]:"Greenland",[l.GM]:"Gambia",[l.GN]:"Guinea",[l.MF]:"Saint-Martin",[l.GQ]:"Equatorial Guinea",[l.GR]:"Greece",[l.GT]:"Guatemala",[l.GW]:"Guinea-Bissau",[l.GY]:"Guyana",[l.HK]:"Hong Kong",[l.HN]:"Honduras",[l.HR]:"Croatia",[l.HT]:"Haiti",[l.HU]:"Hungary",[l.ID]:"Indonesia",[l.IE]:"Ireland",[l.IL]:"Israel",[l.IN]:"India",[l.IQ]:"Iraq",[l.IR]:"Iran",[l.IS]:"Iceland",[l.IT]:"Italy",[l.JM]:"Jamaica",[l.JO]:"Jordan",[l.JP]:"Japan",[l.KE]:"Kenya",[l.KG]:"Kyrgyzstan",[l.KH]:"Cambodia",[l.KM]:"Comoros",[l.KN]:"Saint Kitts and Nevis",[l.KP]:"Korean PDR",[l.KR]:"Rep. Korea",[l.KW]:"Kuwait",[l.KY]:"Cayman Islands",[l.KZ]:"Kazakhstan",[l.LA]:"Laos",[l.LB]:"Lebanon",[l.LC]:"Saint Lucia",[l.LI]:"Liechtenstein",[l.LK]:"Sri Lanka",[l.LR]:"Liberia",[l.LS]:"Lesotho",[l.LT]:"Lithuania",[l.LU]:"Luxembourg",[l.LV]:"Latvia",[l.LY]:"Libya",[l.MA]:"Morocco",[l.MC]:"Monaco",[l.MD]:"Moldova",[l.ME]:"Montenegro",[l.MQ]:"Martinique",[l.MG]:"Madagascar",[l.MK]:"Rep. of North Macedonia",[l.ML]:"Mali",[l.MM]:"Burma (Myanmar)",[l.MN]:"Mongolia",[l.MO]:"Macau",[l.RE]:"R\xE9union",[l.MR]:"Mauritania",[l.MS]:"Montserrat",[l.MT]:"Malta",[l.MU]:"Mauritius",[l.MV]:"Maldives",[l.MW]:"Malawi",[l.MX]:"Mexico",[l.MY]:"Malaysia",[l.MZ]:"Mozambique",[l.NA]:"Namibia",[l.NC]:"New Caledonia",[l.NE]:"Niger",[l.NG]:"Nigeria",[l.NI]:"Nicaragua",[l.NL]:"Netherlands",[l.NO]:"Norway",[l.NP]:"Nepal",[l.NZ]:"New Zealand",[l.OM]:"Oman",[l.PA]:"Panama",[l.PE]:"Peru",[l.PF]:"French Polynesia (Tahiti)",[l.PG]:"Papua New Guinea",[l.PH]:"Philippines",[l.PK]:"Pakistan",[l.PL]:"Poland",[l.PT]:"Portugal",[l.PW]:"Palau",[l.PY]:"Paraguay",[l.QA]:"Qatar",[l.YT]:"Mayotte",[l.RO]:"Romania",[l.RS]:"Serbia",[l.RU]:"Russia",[l.RW]:"Rwanda",[l.SA]:"Saudi Arabia",[l.SB]:"Solomon Islands",[l.SC]:"Seychelles",[l.SD]:"Sudan",[l.SE]:"Sweden",[l.SG]:"Singapore",[l.SH]:"Saint Helena",[l.SI]:"Slovenia",[l.SK]:"Slovakia",[l.SL]:"Sierra Leone",[l.SM]:"San Marino",[l.SN]:"Senegal",[l.SO]:"Somalia",[l.SR]:"Suriname",[l.ST]:"Sao Tome and Principe",[l.SV]:"El Salvador",[l.SX]:"Sint Maarten",[l.SY]:"Syrian Arab Republic",[l.SZ]:"Swaziland",[l.TC]:"Turks and Caicos",[l.TD]:"Chad",[l.TG]:"Togo",[l.TH]:"Thailand",[l.TJ]:"Tajikistan",[l.TL]:"East Timor",[l.TM]:"Turkmenistan",[l.TN]:"Tunisia",[l.TO]:"Tonga",[l.TR]:"Turkey",[l.TT]:"Trinidad and Tobago",[l.TW]:"Taiwan",[l.TZ]:"Tanzania",[l.UA]:"Ukraine",[l.UG]:"Uganda",[l.US]:"USA",[l.UY]:"Uruguay",[l.UZ]:"Uzbekistan",[l.VC]:"Saint Vincent and the Grenadines",[l.VE]:"Venezuela",[l.VG]:"British Virgin Islands",[l.VN]:"Vietnam",[l.VU]:"Vanuatu",[l.WS]:"Samoa",[l.XK]:"Kosovo",[l.YE]:"Yemen",[l.ZA]:"South Africa",[l.ZM]:"Zambia",[l.ZW]:"Zimbabwe"},ka={months:["January","February","March","April","May","June","July","August","September","October","November","December"],close:"Close",nothingFoundMessage:"Nothing found",defaultErrorMessage:"Value is invalid",spinTexts:["Previous","Next"],shortWeekDays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],countries:Fa},Ua={cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range","Choose days"],range:["from","to"],countTexts:["Plus","Minus"],time:{"HH:MM":"HH:MM","HH:MM:SS":"HH:MM:SS","HH:MM:SS.MSS":"HH:MM:SS.MSS"},dateTexts:{DMY:"dd.mm.yyyy",MDY:"mm.dd.yyyy",YMD:"yyyy.mm.dd"},digitalInformationUnits:["B","KiB","MiB"],passwordTexts:["Show password","Hide password"],copyTexts:["Copy","Copied"],shortCalendarMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pagination:["Previous page","Next page"],fileTexts:{loadingError:"Upload failed",preview:"Preview",remove:"Remove"},inputFileTexts:{defaultLabelSingle:"or drop\xA0it\xA0here",defaultLabelMultiple:"or drop\xA0them\xA0here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is larger than ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},prompt:{yes:"Yes",no:"No"}},Qi=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({name:"english"},ka),Ua),La),Na),Pa),Ia);var ja=new E("[TUI_DEFAULT_LANGUAGE]",{factory:()=>Qi}),Zi=new E("[TUI_LANGUAGE]",{factory:()=>Q(p(ja))}),Sh=new E("[TUI_LANGUAGE_LOADER]"),wh=new E("[TUI_LANGUAGE_STORAGE_KEY]",{factory:()=>"tuiLanguage"});function xe(t){return()=>p(Zi).pipe(z(e=>Yn(e)?e:Q(e)),M(e=>e[t]))}var Uh=new E("[TUI_EDITOR_EXTENSIONS]"),jh=new E("[LAZY_EDITOR_EXTENSIONS]"),xa={translate:"no",appearence:"textfield",spellcheck:!1,enableDefaultStyles:!0,colors:Hi,blankColor:Wi,linkOptions:Yi,fontOptions:qi,icons:{undo:"tuiIconUndoLarge",redo:"tuiIconRedoLarge",quote:"tuiIconQuoteLarge",link:"tuiIconLinkLarge",anchor:"tuiIconAnchorLarge",attach:"tuiIconPaperclipLarge",sub:"tuiIconSubscriptLarge",sup:"tuiIconSuperscriptLarge",tex:"tuiIconTeXLarge",image:"tuiIconImageLarge",hr:"tuiIconHrLarge",clear:"tuiIconClearFormatLarge",groupAdd:"tuiIconPlusLarge",groupRemove:"tuiIconCloseLarge",detailsAdd:"tuiIconSpoilerLarge",detailsRemove:"tuiIconSpoilerDeleteLarge",popupLinkSave:"tuiIconCheckCircleLarge",popupLinkRemove:"tuiIconCloseLarge",popupPreviewLinkEdit:"tuiIconEdit2Large",popupPreviewLinkClear:"tuiIconUnlinkLarge",paint:"tuiIconPaintLarge",textAlignPreview:"tuiIconAlignLeftLarge",textAlignLeft:"tuiIconAlignLeftLarge",textAlignCenter:"tuiIconAlignCenterLarge",textAlignRight:"tuiIconAlignRightLarge",textAlignJustify:"tuiIconAlignJustifyLarge",textColor:"tuiIconColorLarge",textHilite:"tuiIconHiliteLarge",listPreview:"tuiIconListLarge",listUnOrdered:"tuiIconListLarge",listOrdered:"tuiIconOLLarge",taskList:"tuiIconCheckSquare",indent:"tuiIconIndentLarge",outdent:"tuiIconOutdentLarge",fontSize:"tuiIconFontLarge",insertTable:"tuiIconTableLarge",addRowTable:"tuiIconAddRowLarge",code:"tuiIconCodeLarge",fontStylePreview:"tuiIconFormatLarge",fontStyleBold:"tuiIconBoldLarge",fontStyleItalic:"tuiIconItalicLarge",fontStyleUnderline:"tuiIconUnderlineLarge",fontStyleStrike:"tuiIconStrikeThroughLarge",colorSelectorDropdownChevron:"tuiIconChevronDown",colorSelectorDropdownCheck:"tuiIconCheck"}},xh=Mr(xa);var Bh=new E("[TUI_EDITOR_CONTENT_PROCESSOR]",{factory:()=>Vn}),Gh=new E("[TUI_EDITOR_VALUE_TRANSFORMER]"),Ch=new E("[TUI_ATTACH_FILES_OPTIONS]",{factory:()=>({accept:"*/*",multiple:!0})}),Kh=new E("[TUI_ATTACH_FILES_LOADER]"),zh=new E("[TUI_EDITOR_COLOR_SELECTOR_MODE_NAMES]",{factory:()=>["Solid color","Gradient"]}),Vh=new E("[TUI_EDITOR_TOOLBAR_TEXTS]",{factory:xe("toolbarTools")}),$h=new E("[TUI_EDITOR_TABLE_COMMANDS]",{factory:xe("editorTableCommands")}),Hh=new E("[TUI_EDITOR_LINK_TEXTS]",{factory:xe("editorEditLink")}),Wh=new E("[TUI_EDITOR_CODE_OPTIONS]",{factory:xe("editorCodeOptions")}),qh=new E("[TUI_EDITOR_FONT_OPTIONS]",{factory:xe("editorFontOptions")}),Yh=new E("[TUI_IMAGE_LOADER]",{factory:()=>t=>{let e=new FileReader;return e.readAsDataURL(t),k(e,"load").pipe(M(()=>String(e.result)))}}),Qh=new E("[TIPTAP_EDITOR]"),Zh=new E("[LAZY_TIPTAP_EDITOR]",{factory:()=>{let t=new rt(1);return import("./chunk-DDKVWUSS.js").then(e=>t.next(e.Editor)),t}}),Xh=new E("[INITIALIZATION_TIPTAP_CONTAINER]");export{Wt as a,Kr as b,Ml as c,Ol as d,Ds as e,Dl as f,Jt as g,Ql as h,en as i,tn as j,Xr as k,Jr as l,Zl as m,ke as n,ti as o,tc as p,nc as q,Ps as r,rc as s,ic as t,sc as u,oc as v,ac as w,ni as x,ri as y,cc as z,uc as A,hc as B,fc as C,nn as D,gc as E,ii as F,Ls as G,yc as H,rn as I,Ec as J,_c as K,vc as L,wc as M,Fc as N,k as O,kc as P,Uc as Q,jc as R,xc as S,Bs as T,Bc as U,li as V,ci as W,ui as X,O as Y,Zt as Z,xl as _,Bl as $,Xt as aa,Cc as ba,bo as ca,mi as da,mn as ea,yi as fa,Rt as ga,Oi as ha,Di as ia,uu as ja,ma as ka,hu as la,fu as ma,ga as na,pu as oa,ya as pa,gu as qa,yu as ra,Ea as sa,Sa as ta,Eu as ua,Tu as va,Ru as wa,Mu as xa,Du as ya,Ta as za,$i as Aa,eh as Ba,th as Ca,nh as Da,Ra as Ea,rh as Fa,ih as Ga,sh as Ha,l as Ia,xe as Ja,N as Ka,Wi as La,ch as Ma,uh as Na,hh as Oa,Da as Pa,fh as Qa,dh as Ra,Uh as Sa,jh as Ta,xh as Ua,Bh as Va,Gh as Wa,Ch as Xa,Kh as Ya,Vh as Za,$h as _a,Hh as $a,Wh as ab,qh as bb,Yh as cb,Qh as db,Zh as eb,Xh as fb}; +//# sourceMappingURL=chunk-2BBNTIDY.js.map diff --git a/chunk-HNAZ43NK.js.map b/chunk-2BBNTIDY.js.map similarity index 99% rename from chunk-HNAZ43NK.js.map rename to chunk-2BBNTIDY.js.map index c8cd516e..58be3f7a 100644 --- a/chunk-HNAZ43NK.js.map +++ b/chunk-2BBNTIDY.js.map @@ -1 +1 @@ -{"version":3,"sources":["node_modules/@angular/common/fesm2022/http.mjs","node_modules/@angular/platform-browser/fesm2022/platform-browser.mjs","node_modules/@ng-web-apis/common/fesm2015/ng-web-apis-common.js","node_modules/@angular/animations/fesm2022/animations.mjs","node_modules/@taiga-ui/cdk/fesm2015/taiga-ui-cdk-constants.js","node_modules/@taiga-ui/cdk/fesm2015/taiga-ui-cdk-utils-focus.js","node_modules/@taiga-ui/cdk/fesm2015/taiga-ui-cdk-utils-format.js","node_modules/@taiga-ui/cdk/fesm2015/taiga-ui-cdk-utils-os.js","node_modules/@taiga-ui/cdk/fesm2015/taiga-ui-cdk-observables.js","node_modules/@taiga-ui/cdk/node_modules/tslib/tslib.es6.mjs","node_modules/rxjs/dist/esm/internal/observable/dom/fetch.js","node_modules/@angular/animations/fesm2022/browser.mjs","node_modules/@taiga-ui/cdk/fesm2015/taiga-ui-cdk-tokens.js","node_modules/@taiga-ui/cdk/fesm2015/taiga-ui-cdk-services.js","node_modules/@tinkoff/tui-editor/fesm2015/tinkoff-tui-editor-enums.js","node_modules/@tinkoff/tui-editor/fesm2015/tinkoff-tui-editor-constants.js","node_modules/@taiga-ui/i18n/fesm2015/taiga-ui-i18n-enums.js","node_modules/@taiga-ui/i18n/fesm2015/taiga-ui-i18n-languages-english.js","node_modules/@taiga-ui/i18n/fesm2015/taiga-ui-i18n-tokens.js","node_modules/@taiga-ui/i18n/fesm2015/taiga-ui-i18n-tools.js","node_modules/@tinkoff/tui-editor/fesm2015/tinkoff-tui-editor-tokens.js"],"sourcesContent":["/**\n * @license Angular v18.0.3\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { Injectable, inject, NgZone, runInInjectionContext, InjectionToken, ɵPendingTasks, PLATFORM_ID, ɵConsole, ɵformatRuntimeError, Inject, ɵRuntimeError, makeEnvironmentProviders, NgModule, TransferState, makeStateKey, ɵperformanceMarkFeature, APP_BOOTSTRAP_LISTENER, ApplicationRef, ɵwhenStable, ɵtruncateMiddle } from '@angular/core';\nimport { of, Observable, from } from 'rxjs';\nimport { concatMap, filter, map, finalize, switchMap, tap } from 'rxjs/operators';\nimport * as i1 from '@angular/common';\nimport { isPlatformServer, DOCUMENT, ɵparseCookieValue } from '@angular/common';\n\n/**\n * Transforms an `HttpRequest` into a stream of `HttpEvent`s, one of which will likely be a\n * `HttpResponse`.\n *\n * `HttpHandler` is injectable. When injected, the handler instance dispatches requests to the\n * first interceptor in the chain, which dispatches to the second, etc, eventually reaching the\n * `HttpBackend`.\n *\n * In an `HttpInterceptor`, the `HttpHandler` parameter is the next interceptor in the chain.\n *\n * @publicApi\n */\nclass HttpHandler {}\n/**\n * A final `HttpHandler` which will dispatch the request via browser HTTP APIs to a backend.\n *\n * Interceptors sit between the `HttpClient` interface and the `HttpBackend`.\n *\n * When injected, `HttpBackend` dispatches requests directly to the backend, without going\n * through the interceptor chain.\n *\n * @publicApi\n */\nclass HttpBackend {}\n\n/**\n * Represents the header configuration options for an HTTP request.\n * Instances are immutable. Modifying methods return a cloned\n * instance with the change. The original object is never changed.\n *\n * @publicApi\n */\nclass HttpHeaders {\n /** Constructs a new HTTP header object with the given values.*/\n constructor(headers) {\n /**\n * Internal map of lowercased header names to the normalized\n * form of the name (the form seen first).\n */\n this.normalizedNames = new Map();\n /**\n * Queued updates to be materialized the next initialization.\n */\n this.lazyUpdate = null;\n if (!headers) {\n this.headers = new Map();\n } else if (typeof headers === 'string') {\n this.lazyInit = () => {\n this.headers = new Map();\n headers.split('\\n').forEach(line => {\n const index = line.indexOf(':');\n if (index > 0) {\n const name = line.slice(0, index);\n const key = name.toLowerCase();\n const value = line.slice(index + 1).trim();\n this.maybeSetNormalizedName(name, key);\n if (this.headers.has(key)) {\n this.headers.get(key).push(value);\n } else {\n this.headers.set(key, [value]);\n }\n }\n });\n };\n } else if (typeof Headers !== 'undefined' && headers instanceof Headers) {\n this.headers = new Map();\n headers.forEach((values, name) => {\n this.setHeaderEntries(name, values);\n });\n } else {\n this.lazyInit = () => {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n assertValidHeaders(headers);\n }\n this.headers = new Map();\n Object.entries(headers).forEach(([name, values]) => {\n this.setHeaderEntries(name, values);\n });\n };\n }\n }\n /**\n * Checks for existence of a given header.\n *\n * @param name The header name to check for existence.\n *\n * @returns True if the header exists, false otherwise.\n */\n has(name) {\n this.init();\n return this.headers.has(name.toLowerCase());\n }\n /**\n * Retrieves the first value of a given header.\n *\n * @param name The header name.\n *\n * @returns The value string if the header exists, null otherwise\n */\n get(name) {\n this.init();\n const values = this.headers.get(name.toLowerCase());\n return values && values.length > 0 ? values[0] : null;\n }\n /**\n * Retrieves the names of the headers.\n *\n * @returns A list of header names.\n */\n keys() {\n this.init();\n return Array.from(this.normalizedNames.values());\n }\n /**\n * Retrieves a list of values for a given header.\n *\n * @param name The header name from which to retrieve values.\n *\n * @returns A string of values if the header exists, null otherwise.\n */\n getAll(name) {\n this.init();\n return this.headers.get(name.toLowerCase()) || null;\n }\n /**\n * Appends a new value to the existing set of values for a header\n * and returns them in a clone of the original instance.\n *\n * @param name The header name for which to append the values.\n * @param value The value to append.\n *\n * @returns A clone of the HTTP headers object with the value appended to the given header.\n */\n append(name, value) {\n return this.clone({\n name,\n value,\n op: 'a'\n });\n }\n /**\n * Sets or modifies a value for a given header in a clone of the original instance.\n * If the header already exists, its value is replaced with the given value\n * in the returned object.\n *\n * @param name The header name.\n * @param value The value or values to set or override for the given header.\n *\n * @returns A clone of the HTTP headers object with the newly set header value.\n */\n set(name, value) {\n return this.clone({\n name,\n value,\n op: 's'\n });\n }\n /**\n * Deletes values for a given header in a clone of the original instance.\n *\n * @param name The header name.\n * @param value The value or values to delete for the given header.\n *\n * @returns A clone of the HTTP headers object with the given value deleted.\n */\n delete(name, value) {\n return this.clone({\n name,\n value,\n op: 'd'\n });\n }\n maybeSetNormalizedName(name, lcName) {\n if (!this.normalizedNames.has(lcName)) {\n this.normalizedNames.set(lcName, name);\n }\n }\n init() {\n if (!!this.lazyInit) {\n if (this.lazyInit instanceof HttpHeaders) {\n this.copyFrom(this.lazyInit);\n } else {\n this.lazyInit();\n }\n this.lazyInit = null;\n if (!!this.lazyUpdate) {\n this.lazyUpdate.forEach(update => this.applyUpdate(update));\n this.lazyUpdate = null;\n }\n }\n }\n copyFrom(other) {\n other.init();\n Array.from(other.headers.keys()).forEach(key => {\n this.headers.set(key, other.headers.get(key));\n this.normalizedNames.set(key, other.normalizedNames.get(key));\n });\n }\n clone(update) {\n const clone = new HttpHeaders();\n clone.lazyInit = !!this.lazyInit && this.lazyInit instanceof HttpHeaders ? this.lazyInit : this;\n clone.lazyUpdate = (this.lazyUpdate || []).concat([update]);\n return clone;\n }\n applyUpdate(update) {\n const key = update.name.toLowerCase();\n switch (update.op) {\n case 'a':\n case 's':\n let value = update.value;\n if (typeof value === 'string') {\n value = [value];\n }\n if (value.length === 0) {\n return;\n }\n this.maybeSetNormalizedName(update.name, key);\n const base = (update.op === 'a' ? this.headers.get(key) : undefined) || [];\n base.push(...value);\n this.headers.set(key, base);\n break;\n case 'd':\n const toDelete = update.value;\n if (!toDelete) {\n this.headers.delete(key);\n this.normalizedNames.delete(key);\n } else {\n let existing = this.headers.get(key);\n if (!existing) {\n return;\n }\n existing = existing.filter(value => toDelete.indexOf(value) === -1);\n if (existing.length === 0) {\n this.headers.delete(key);\n this.normalizedNames.delete(key);\n } else {\n this.headers.set(key, existing);\n }\n }\n break;\n }\n }\n setHeaderEntries(name, values) {\n const headerValues = (Array.isArray(values) ? values : [values]).map(value => value.toString());\n const key = name.toLowerCase();\n this.headers.set(key, headerValues);\n this.maybeSetNormalizedName(name, key);\n }\n /**\n * @internal\n */\n forEach(fn) {\n this.init();\n Array.from(this.normalizedNames.keys()).forEach(key => fn(this.normalizedNames.get(key), this.headers.get(key)));\n }\n}\n/**\n * Verifies that the headers object has the right shape: the values\n * must be either strings, numbers or arrays. Throws an error if an invalid\n * header value is present.\n */\nfunction assertValidHeaders(headers) {\n for (const [key, value] of Object.entries(headers)) {\n if (!(typeof value === 'string' || typeof value === 'number') && !Array.isArray(value)) {\n throw new Error(`Unexpected value of the \\`${key}\\` header provided. ` + `Expecting either a string, a number or an array, but got: \\`${value}\\`.`);\n }\n }\n}\n\n/**\n * Provides encoding and decoding of URL parameter and query-string values.\n *\n * Serializes and parses URL parameter keys and values to encode and decode them.\n * If you pass URL query parameters without encoding,\n * the query parameters can be misinterpreted at the receiving end.\n *\n *\n * @publicApi\n */\nclass HttpUrlEncodingCodec {\n /**\n * Encodes a key name for a URL parameter or query-string.\n * @param key The key name.\n * @returns The encoded key name.\n */\n encodeKey(key) {\n return standardEncoding(key);\n }\n /**\n * Encodes the value of a URL parameter or query-string.\n * @param value The value.\n * @returns The encoded value.\n */\n encodeValue(value) {\n return standardEncoding(value);\n }\n /**\n * Decodes an encoded URL parameter or query-string key.\n * @param key The encoded key name.\n * @returns The decoded key name.\n */\n decodeKey(key) {\n return decodeURIComponent(key);\n }\n /**\n * Decodes an encoded URL parameter or query-string value.\n * @param value The encoded value.\n * @returns The decoded value.\n */\n decodeValue(value) {\n return decodeURIComponent(value);\n }\n}\nfunction paramParser(rawParams, codec) {\n const map = new Map();\n if (rawParams.length > 0) {\n // The `window.location.search` can be used while creating an instance of the `HttpParams` class\n // (e.g. `new HttpParams({ fromString: window.location.search })`). The `window.location.search`\n // may start with the `?` char, so we strip it if it's present.\n const params = rawParams.replace(/^\\?/, '').split('&');\n params.forEach(param => {\n const eqIdx = param.indexOf('=');\n const [key, val] = eqIdx == -1 ? [codec.decodeKey(param), ''] : [codec.decodeKey(param.slice(0, eqIdx)), codec.decodeValue(param.slice(eqIdx + 1))];\n const list = map.get(key) || [];\n list.push(val);\n map.set(key, list);\n });\n }\n return map;\n}\n/**\n * Encode input string with standard encodeURIComponent and then un-encode specific characters.\n */\nconst STANDARD_ENCODING_REGEX = /%(\\d[a-f0-9])/gi;\nconst STANDARD_ENCODING_REPLACEMENTS = {\n '40': '@',\n '3A': ':',\n '24': '$',\n '2C': ',',\n '3B': ';',\n '3D': '=',\n '3F': '?',\n '2F': '/'\n};\nfunction standardEncoding(v) {\n return encodeURIComponent(v).replace(STANDARD_ENCODING_REGEX, (s, t) => STANDARD_ENCODING_REPLACEMENTS[t] ?? s);\n}\nfunction valueToString(value) {\n return `${value}`;\n}\n/**\n * An HTTP request/response body that represents serialized parameters,\n * per the MIME type `application/x-www-form-urlencoded`.\n *\n * This class is immutable; all mutation operations return a new instance.\n *\n * @publicApi\n */\nclass HttpParams {\n constructor(options = {}) {\n this.updates = null;\n this.cloneFrom = null;\n this.encoder = options.encoder || new HttpUrlEncodingCodec();\n if (!!options.fromString) {\n if (!!options.fromObject) {\n throw new Error(`Cannot specify both fromString and fromObject.`);\n }\n this.map = paramParser(options.fromString, this.encoder);\n } else if (!!options.fromObject) {\n this.map = new Map();\n Object.keys(options.fromObject).forEach(key => {\n const value = options.fromObject[key];\n // convert the values to strings\n const values = Array.isArray(value) ? value.map(valueToString) : [valueToString(value)];\n this.map.set(key, values);\n });\n } else {\n this.map = null;\n }\n }\n /**\n * Reports whether the body includes one or more values for a given parameter.\n * @param param The parameter name.\n * @returns True if the parameter has one or more values,\n * false if it has no value or is not present.\n */\n has(param) {\n this.init();\n return this.map.has(param);\n }\n /**\n * Retrieves the first value for a parameter.\n * @param param The parameter name.\n * @returns The first value of the given parameter,\n * or `null` if the parameter is not present.\n */\n get(param) {\n this.init();\n const res = this.map.get(param);\n return !!res ? res[0] : null;\n }\n /**\n * Retrieves all values for a parameter.\n * @param param The parameter name.\n * @returns All values in a string array,\n * or `null` if the parameter not present.\n */\n getAll(param) {\n this.init();\n return this.map.get(param) || null;\n }\n /**\n * Retrieves all the parameters for this body.\n * @returns The parameter names in a string array.\n */\n keys() {\n this.init();\n return Array.from(this.map.keys());\n }\n /**\n * Appends a new value to existing values for a parameter.\n * @param param The parameter name.\n * @param value The new value to add.\n * @return A new body with the appended value.\n */\n append(param, value) {\n return this.clone({\n param,\n value,\n op: 'a'\n });\n }\n /**\n * Constructs a new body with appended values for the given parameter name.\n * @param params parameters and values\n * @return A new body with the new value.\n */\n appendAll(params) {\n const updates = [];\n Object.keys(params).forEach(param => {\n const value = params[param];\n if (Array.isArray(value)) {\n value.forEach(_value => {\n updates.push({\n param,\n value: _value,\n op: 'a'\n });\n });\n } else {\n updates.push({\n param,\n value: value,\n op: 'a'\n });\n }\n });\n return this.clone(updates);\n }\n /**\n * Replaces the value for a parameter.\n * @param param The parameter name.\n * @param value The new value.\n * @return A new body with the new value.\n */\n set(param, value) {\n return this.clone({\n param,\n value,\n op: 's'\n });\n }\n /**\n * Removes a given value or all values from a parameter.\n * @param param The parameter name.\n * @param value The value to remove, if provided.\n * @return A new body with the given value removed, or with all values\n * removed if no value is specified.\n */\n delete(param, value) {\n return this.clone({\n param,\n value,\n op: 'd'\n });\n }\n /**\n * Serializes the body to an encoded string, where key-value pairs (separated by `=`) are\n * separated by `&`s.\n */\n toString() {\n this.init();\n return this.keys().map(key => {\n const eKey = this.encoder.encodeKey(key);\n // `a: ['1']` produces `'a=1'`\n // `b: []` produces `''`\n // `c: ['1', '2']` produces `'c=1&c=2'`\n return this.map.get(key).map(value => eKey + '=' + this.encoder.encodeValue(value)).join('&');\n })\n // filter out empty values because `b: []` produces `''`\n // which results in `a=1&&c=1&c=2` instead of `a=1&c=1&c=2` if we don't\n .filter(param => param !== '').join('&');\n }\n clone(update) {\n const clone = new HttpParams({\n encoder: this.encoder\n });\n clone.cloneFrom = this.cloneFrom || this;\n clone.updates = (this.updates || []).concat(update);\n return clone;\n }\n init() {\n if (this.map === null) {\n this.map = new Map();\n }\n if (this.cloneFrom !== null) {\n this.cloneFrom.init();\n this.cloneFrom.keys().forEach(key => this.map.set(key, this.cloneFrom.map.get(key)));\n this.updates.forEach(update => {\n switch (update.op) {\n case 'a':\n case 's':\n const base = (update.op === 'a' ? this.map.get(update.param) : undefined) || [];\n base.push(valueToString(update.value));\n this.map.set(update.param, base);\n break;\n case 'd':\n if (update.value !== undefined) {\n let base = this.map.get(update.param) || [];\n const idx = base.indexOf(valueToString(update.value));\n if (idx !== -1) {\n base.splice(idx, 1);\n }\n if (base.length > 0) {\n this.map.set(update.param, base);\n } else {\n this.map.delete(update.param);\n }\n } else {\n this.map.delete(update.param);\n break;\n }\n }\n });\n this.cloneFrom = this.updates = null;\n }\n }\n}\n\n/**\n * A token used to manipulate and access values stored in `HttpContext`.\n *\n * @publicApi\n */\nclass HttpContextToken {\n constructor(defaultValue) {\n this.defaultValue = defaultValue;\n }\n}\n/**\n * Http context stores arbitrary user defined values and ensures type safety without\n * actually knowing the types. It is backed by a `Map` and guarantees that keys do not clash.\n *\n * This context is mutable and is shared between cloned requests unless explicitly specified.\n *\n * @usageNotes\n *\n * ### Usage Example\n *\n * ```typescript\n * // inside cache.interceptors.ts\n * export const IS_CACHE_ENABLED = new HttpContextToken(() => false);\n *\n * export class CacheInterceptor implements HttpInterceptor {\n *\n * intercept(req: HttpRequest, delegate: HttpHandler): Observable> {\n * if (req.context.get(IS_CACHE_ENABLED) === true) {\n * return ...;\n * }\n * return delegate.handle(req);\n * }\n * }\n *\n * // inside a service\n *\n * this.httpClient.get('/api/weather', {\n * context: new HttpContext().set(IS_CACHE_ENABLED, true)\n * }).subscribe(...);\n * ```\n *\n * @publicApi\n */\nclass HttpContext {\n constructor() {\n this.map = new Map();\n }\n /**\n * Store a value in the context. If a value is already present it will be overwritten.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n * @param value The value to store.\n *\n * @returns A reference to itself for easy chaining.\n */\n set(token, value) {\n this.map.set(token, value);\n return this;\n }\n /**\n * Retrieve the value associated with the given token.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n *\n * @returns The stored value or default if one is defined.\n */\n get(token) {\n if (!this.map.has(token)) {\n this.map.set(token, token.defaultValue());\n }\n return this.map.get(token);\n }\n /**\n * Delete the value associated with the given token.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n *\n * @returns A reference to itself for easy chaining.\n */\n delete(token) {\n this.map.delete(token);\n return this;\n }\n /**\n * Checks for existence of a given token.\n *\n * @param token The reference to an instance of `HttpContextToken`.\n *\n * @returns True if the token exists, false otherwise.\n */\n has(token) {\n return this.map.has(token);\n }\n /**\n * @returns a list of tokens currently stored in the context.\n */\n keys() {\n return this.map.keys();\n }\n}\n\n/**\n * Determine whether the given HTTP method may include a body.\n */\nfunction mightHaveBody(method) {\n switch (method) {\n case 'DELETE':\n case 'GET':\n case 'HEAD':\n case 'OPTIONS':\n case 'JSONP':\n return false;\n default:\n return true;\n }\n}\n/**\n * Safely assert whether the given value is an ArrayBuffer.\n *\n * In some execution environments ArrayBuffer is not defined.\n */\nfunction isArrayBuffer(value) {\n return typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer;\n}\n/**\n * Safely assert whether the given value is a Blob.\n *\n * In some execution environments Blob is not defined.\n */\nfunction isBlob(value) {\n return typeof Blob !== 'undefined' && value instanceof Blob;\n}\n/**\n * Safely assert whether the given value is a FormData instance.\n *\n * In some execution environments FormData is not defined.\n */\nfunction isFormData(value) {\n return typeof FormData !== 'undefined' && value instanceof FormData;\n}\n/**\n * Safely assert whether the given value is a URLSearchParams instance.\n *\n * In some execution environments URLSearchParams is not defined.\n */\nfunction isUrlSearchParams(value) {\n return typeof URLSearchParams !== 'undefined' && value instanceof URLSearchParams;\n}\n/**\n * An outgoing HTTP request with an optional typed body.\n *\n * `HttpRequest` represents an outgoing request, including URL, method,\n * headers, body, and other request configuration options. Instances should be\n * assumed to be immutable. To modify a `HttpRequest`, the `clone`\n * method should be used.\n *\n * @publicApi\n */\nclass HttpRequest {\n constructor(method, url, third, fourth) {\n this.url = url;\n /**\n * The request body, or `null` if one isn't set.\n *\n * Bodies are not enforced to be immutable, as they can include a reference to any\n * user-defined data type. However, interceptors should take care to preserve\n * idempotence by treating them as such.\n */\n this.body = null;\n /**\n * Whether this request should be made in a way that exposes progress events.\n *\n * Progress events are expensive (change detection runs on each event) and so\n * they should only be requested if the consumer intends to monitor them.\n *\n * Note: The `FetchBackend` doesn't support progress report on uploads.\n */\n this.reportProgress = false;\n /**\n * Whether this request should be sent with outgoing credentials (cookies).\n */\n this.withCredentials = false;\n /**\n * The expected response type of the server.\n *\n * This is used to parse the response appropriately before returning it to\n * the requestee.\n */\n this.responseType = 'json';\n this.method = method.toUpperCase();\n // Next, need to figure out which argument holds the HttpRequestInit\n // options, if any.\n let options;\n // Check whether a body argument is expected. The only valid way to omit\n // the body argument is to use a known no-body method like GET.\n if (mightHaveBody(this.method) || !!fourth) {\n // Body is the third argument, options are the fourth.\n this.body = third !== undefined ? third : null;\n options = fourth;\n } else {\n // No body required, options are the third argument. The body stays null.\n options = third;\n }\n // If options have been passed, interpret them.\n if (options) {\n // Normalize reportProgress and withCredentials.\n this.reportProgress = !!options.reportProgress;\n this.withCredentials = !!options.withCredentials;\n // Override default response type of 'json' if one is provided.\n if (!!options.responseType) {\n this.responseType = options.responseType;\n }\n // Override headers if they're provided.\n if (!!options.headers) {\n this.headers = options.headers;\n }\n if (!!options.context) {\n this.context = options.context;\n }\n if (!!options.params) {\n this.params = options.params;\n }\n // We do want to assign transferCache even if it's falsy (false is valid value)\n this.transferCache = options.transferCache;\n }\n // If no headers have been passed in, construct a new HttpHeaders instance.\n this.headers ??= new HttpHeaders();\n // If no context have been passed in, construct a new HttpContext instance.\n this.context ??= new HttpContext();\n // If no parameters have been passed in, construct a new HttpUrlEncodedParams instance.\n if (!this.params) {\n this.params = new HttpParams();\n this.urlWithParams = url;\n } else {\n // Encode the parameters to a string in preparation for inclusion in the URL.\n const params = this.params.toString();\n if (params.length === 0) {\n // No parameters, the visible URL is just the URL given at creation time.\n this.urlWithParams = url;\n } else {\n // Does the URL already have query parameters? Look for '?'.\n const qIdx = url.indexOf('?');\n // There are 3 cases to handle:\n // 1) No existing parameters -> append '?' followed by params.\n // 2) '?' exists and is followed by existing query string ->\n // append '&' followed by params.\n // 3) '?' exists at the end of the url -> append params directly.\n // This basically amounts to determining the character, if any, with\n // which to join the URL and parameters.\n const sep = qIdx === -1 ? '?' : qIdx < url.length - 1 ? '&' : '';\n this.urlWithParams = url + sep + params;\n }\n }\n }\n /**\n * Transform the free-form body into a serialized format suitable for\n * transmission to the server.\n */\n serializeBody() {\n // If no body is present, no need to serialize it.\n if (this.body === null) {\n return null;\n }\n // Check whether the body is already in a serialized form. If so,\n // it can just be returned directly.\n if (typeof this.body === 'string' || isArrayBuffer(this.body) || isBlob(this.body) || isFormData(this.body) || isUrlSearchParams(this.body)) {\n return this.body;\n }\n // Check whether the body is an instance of HttpUrlEncodedParams.\n if (this.body instanceof HttpParams) {\n return this.body.toString();\n }\n // Check whether the body is an object or array, and serialize with JSON if so.\n if (typeof this.body === 'object' || typeof this.body === 'boolean' || Array.isArray(this.body)) {\n return JSON.stringify(this.body);\n }\n // Fall back on toString() for everything else.\n return this.body.toString();\n }\n /**\n * Examine the body and attempt to infer an appropriate MIME type\n * for it.\n *\n * If no such type can be inferred, this method will return `null`.\n */\n detectContentTypeHeader() {\n // An empty body has no content type.\n if (this.body === null) {\n return null;\n }\n // FormData bodies rely on the browser's content type assignment.\n if (isFormData(this.body)) {\n return null;\n }\n // Blobs usually have their own content type. If it doesn't, then\n // no type can be inferred.\n if (isBlob(this.body)) {\n return this.body.type || null;\n }\n // Array buffers have unknown contents and thus no type can be inferred.\n if (isArrayBuffer(this.body)) {\n return null;\n }\n // Technically, strings could be a form of JSON data, but it's safe enough\n // to assume they're plain strings.\n if (typeof this.body === 'string') {\n return 'text/plain';\n }\n // `HttpUrlEncodedParams` has its own content-type.\n if (this.body instanceof HttpParams) {\n return 'application/x-www-form-urlencoded;charset=UTF-8';\n }\n // Arrays, objects, boolean and numbers will be encoded as JSON.\n if (typeof this.body === 'object' || typeof this.body === 'number' || typeof this.body === 'boolean') {\n return 'application/json';\n }\n // No type could be inferred.\n return null;\n }\n clone(update = {}) {\n // For method, url, and responseType, take the current value unless\n // it is overridden in the update hash.\n const method = update.method || this.method;\n const url = update.url || this.url;\n const responseType = update.responseType || this.responseType;\n // Carefully handle the transferCache to differentiate between\n // `false` and `undefined` in the update args.\n const transferCache = update.transferCache ?? this.transferCache;\n // The body is somewhat special - a `null` value in update.body means\n // whatever current body is present is being overridden with an empty\n // body, whereas an `undefined` value in update.body implies no\n // override.\n const body = update.body !== undefined ? update.body : this.body;\n // Carefully handle the boolean options to differentiate between\n // `false` and `undefined` in the update args.\n const withCredentials = update.withCredentials ?? this.withCredentials;\n const reportProgress = update.reportProgress ?? this.reportProgress;\n // Headers and params may be appended to if `setHeaders` or\n // `setParams` are used.\n let headers = update.headers || this.headers;\n let params = update.params || this.params;\n // Pass on context if needed\n const context = update.context ?? this.context;\n // Check whether the caller has asked to add headers.\n if (update.setHeaders !== undefined) {\n // Set every requested header.\n headers = Object.keys(update.setHeaders).reduce((headers, name) => headers.set(name, update.setHeaders[name]), headers);\n }\n // Check whether the caller has asked to set params.\n if (update.setParams) {\n // Set every requested param.\n params = Object.keys(update.setParams).reduce((params, param) => params.set(param, update.setParams[param]), params);\n }\n // Finally, construct the new HttpRequest using the pieces from above.\n return new HttpRequest(method, url, body, {\n params,\n headers,\n context,\n reportProgress,\n responseType,\n withCredentials,\n transferCache\n });\n }\n}\n\n/**\n * Type enumeration for the different kinds of `HttpEvent`.\n *\n * @publicApi\n */\nvar HttpEventType = /*#__PURE__*/function (HttpEventType) {\n /**\n * The request was sent out over the wire.\n */\n HttpEventType[HttpEventType[\"Sent\"] = 0] = \"Sent\";\n /**\n * An upload progress event was received.\n *\n * Note: The `FetchBackend` doesn't support progress report on uploads.\n */\n HttpEventType[HttpEventType[\"UploadProgress\"] = 1] = \"UploadProgress\";\n /**\n * The response status code and headers were received.\n */\n HttpEventType[HttpEventType[\"ResponseHeader\"] = 2] = \"ResponseHeader\";\n /**\n * A download progress event was received.\n */\n HttpEventType[HttpEventType[\"DownloadProgress\"] = 3] = \"DownloadProgress\";\n /**\n * The full response including the body was received.\n */\n HttpEventType[HttpEventType[\"Response\"] = 4] = \"Response\";\n /**\n * A custom event from an interceptor or a backend.\n */\n HttpEventType[HttpEventType[\"User\"] = 5] = \"User\";\n return HttpEventType;\n}(HttpEventType || {});\n/**\n * Base class for both `HttpResponse` and `HttpHeaderResponse`.\n *\n * @publicApi\n */\nclass HttpResponseBase {\n /**\n * Super-constructor for all responses.\n *\n * The single parameter accepted is an initialization hash. Any properties\n * of the response passed there will override the default values.\n */\n constructor(init, defaultStatus = 200, defaultStatusText = 'OK') {\n // If the hash has values passed, use them to initialize the response.\n // Otherwise use the default values.\n this.headers = init.headers || new HttpHeaders();\n this.status = init.status !== undefined ? init.status : defaultStatus;\n this.statusText = init.statusText || defaultStatusText;\n this.url = init.url || null;\n // Cache the ok value to avoid defining a getter.\n this.ok = this.status >= 200 && this.status < 300;\n }\n}\n/**\n * A partial HTTP response which only includes the status and header data,\n * but no response body.\n *\n * `HttpHeaderResponse` is a `HttpEvent` available on the response\n * event stream, only when progress events are requested.\n *\n * @publicApi\n */\nclass HttpHeaderResponse extends HttpResponseBase {\n /**\n * Create a new `HttpHeaderResponse` with the given parameters.\n */\n constructor(init = {}) {\n super(init);\n this.type = HttpEventType.ResponseHeader;\n }\n /**\n * Copy this `HttpHeaderResponse`, overriding its contents with the\n * given parameter hash.\n */\n clone(update = {}) {\n // Perform a straightforward initialization of the new HttpHeaderResponse,\n // overriding the current parameters with new ones if given.\n return new HttpHeaderResponse({\n headers: update.headers || this.headers,\n status: update.status !== undefined ? update.status : this.status,\n statusText: update.statusText || this.statusText,\n url: update.url || this.url || undefined\n });\n }\n}\n/**\n * A full HTTP response, including a typed response body (which may be `null`\n * if one was not returned).\n *\n * `HttpResponse` is a `HttpEvent` available on the response event\n * stream.\n *\n * @publicApi\n */\nclass HttpResponse extends HttpResponseBase {\n /**\n * Construct a new `HttpResponse`.\n */\n constructor(init = {}) {\n super(init);\n this.type = HttpEventType.Response;\n this.body = init.body !== undefined ? init.body : null;\n }\n clone(update = {}) {\n return new HttpResponse({\n body: update.body !== undefined ? update.body : this.body,\n headers: update.headers || this.headers,\n status: update.status !== undefined ? update.status : this.status,\n statusText: update.statusText || this.statusText,\n url: update.url || this.url || undefined\n });\n }\n}\n/**\n * A response that represents an error or failure, either from a\n * non-successful HTTP status, an error while executing the request,\n * or some other failure which occurred during the parsing of the response.\n *\n * Any error returned on the `Observable` response stream will be\n * wrapped in an `HttpErrorResponse` to provide additional context about\n * the state of the HTTP layer when the error occurred. The error property\n * will contain either a wrapped Error object or the error response returned\n * from the server.\n *\n * @publicApi\n */\nclass HttpErrorResponse extends HttpResponseBase {\n constructor(init) {\n // Initialize with a default status of 0 / Unknown Error.\n super(init, 0, 'Unknown Error');\n this.name = 'HttpErrorResponse';\n /**\n * Errors are never okay, even when the status code is in the 2xx success range.\n */\n this.ok = false;\n // If the response was successful, then this was a parse error. Otherwise, it was\n // a protocol-level failure of some sort. Either the request failed in transit\n // or the server returned an unsuccessful status code.\n if (this.status >= 200 && this.status < 300) {\n this.message = `Http failure during parsing for ${init.url || '(unknown url)'}`;\n } else {\n this.message = `Http failure response for ${init.url || '(unknown url)'}: ${init.status} ${init.statusText}`;\n }\n this.error = init.error || null;\n }\n}\n/**\n * We use these constant to prevent pulling the whole HttpStatusCode enum\n * Those are the only ones referenced directly by the framework\n */\nconst HTTP_STATUS_CODE_OK = 200;\nconst HTTP_STATUS_CODE_NO_CONTENT = 204;\n/**\n * Http status codes.\n * As per https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml\n * @publicApi\n */\nvar HttpStatusCode = /*#__PURE__*/function (HttpStatusCode) {\n HttpStatusCode[HttpStatusCode[\"Continue\"] = 100] = \"Continue\";\n HttpStatusCode[HttpStatusCode[\"SwitchingProtocols\"] = 101] = \"SwitchingProtocols\";\n HttpStatusCode[HttpStatusCode[\"Processing\"] = 102] = \"Processing\";\n HttpStatusCode[HttpStatusCode[\"EarlyHints\"] = 103] = \"EarlyHints\";\n HttpStatusCode[HttpStatusCode[\"Ok\"] = 200] = \"Ok\";\n HttpStatusCode[HttpStatusCode[\"Created\"] = 201] = \"Created\";\n HttpStatusCode[HttpStatusCode[\"Accepted\"] = 202] = \"Accepted\";\n HttpStatusCode[HttpStatusCode[\"NonAuthoritativeInformation\"] = 203] = \"NonAuthoritativeInformation\";\n HttpStatusCode[HttpStatusCode[\"NoContent\"] = 204] = \"NoContent\";\n HttpStatusCode[HttpStatusCode[\"ResetContent\"] = 205] = \"ResetContent\";\n HttpStatusCode[HttpStatusCode[\"PartialContent\"] = 206] = \"PartialContent\";\n HttpStatusCode[HttpStatusCode[\"MultiStatus\"] = 207] = \"MultiStatus\";\n HttpStatusCode[HttpStatusCode[\"AlreadyReported\"] = 208] = \"AlreadyReported\";\n HttpStatusCode[HttpStatusCode[\"ImUsed\"] = 226] = \"ImUsed\";\n HttpStatusCode[HttpStatusCode[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpStatusCode[HttpStatusCode[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpStatusCode[HttpStatusCode[\"Found\"] = 302] = \"Found\";\n HttpStatusCode[HttpStatusCode[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpStatusCode[HttpStatusCode[\"NotModified\"] = 304] = \"NotModified\";\n HttpStatusCode[HttpStatusCode[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpStatusCode[HttpStatusCode[\"Unused\"] = 306] = \"Unused\";\n HttpStatusCode[HttpStatusCode[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpStatusCode[HttpStatusCode[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpStatusCode[HttpStatusCode[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpStatusCode[HttpStatusCode[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpStatusCode[HttpStatusCode[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpStatusCode[HttpStatusCode[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpStatusCode[HttpStatusCode[\"NotFound\"] = 404] = \"NotFound\";\n HttpStatusCode[HttpStatusCode[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpStatusCode[HttpStatusCode[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpStatusCode[HttpStatusCode[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpStatusCode[HttpStatusCode[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpStatusCode[HttpStatusCode[\"Conflict\"] = 409] = \"Conflict\";\n HttpStatusCode[HttpStatusCode[\"Gone\"] = 410] = \"Gone\";\n HttpStatusCode[HttpStatusCode[\"LengthRequired\"] = 411] = \"LengthRequired\";\n HttpStatusCode[HttpStatusCode[\"PreconditionFailed\"] = 412] = \"PreconditionFailed\";\n HttpStatusCode[HttpStatusCode[\"PayloadTooLarge\"] = 413] = \"PayloadTooLarge\";\n HttpStatusCode[HttpStatusCode[\"UriTooLong\"] = 414] = \"UriTooLong\";\n HttpStatusCode[HttpStatusCode[\"UnsupportedMediaType\"] = 415] = \"UnsupportedMediaType\";\n HttpStatusCode[HttpStatusCode[\"RangeNotSatisfiable\"] = 416] = \"RangeNotSatisfiable\";\n HttpStatusCode[HttpStatusCode[\"ExpectationFailed\"] = 417] = \"ExpectationFailed\";\n HttpStatusCode[HttpStatusCode[\"ImATeapot\"] = 418] = \"ImATeapot\";\n HttpStatusCode[HttpStatusCode[\"MisdirectedRequest\"] = 421] = \"MisdirectedRequest\";\n HttpStatusCode[HttpStatusCode[\"UnprocessableEntity\"] = 422] = \"UnprocessableEntity\";\n HttpStatusCode[HttpStatusCode[\"Locked\"] = 423] = \"Locked\";\n HttpStatusCode[HttpStatusCode[\"FailedDependency\"] = 424] = \"FailedDependency\";\n HttpStatusCode[HttpStatusCode[\"TooEarly\"] = 425] = \"TooEarly\";\n HttpStatusCode[HttpStatusCode[\"UpgradeRequired\"] = 426] = \"UpgradeRequired\";\n HttpStatusCode[HttpStatusCode[\"PreconditionRequired\"] = 428] = \"PreconditionRequired\";\n HttpStatusCode[HttpStatusCode[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpStatusCode[HttpStatusCode[\"RequestHeaderFieldsTooLarge\"] = 431] = \"RequestHeaderFieldsTooLarge\";\n HttpStatusCode[HttpStatusCode[\"UnavailableForLegalReasons\"] = 451] = \"UnavailableForLegalReasons\";\n HttpStatusCode[HttpStatusCode[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpStatusCode[HttpStatusCode[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpStatusCode[HttpStatusCode[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpStatusCode[HttpStatusCode[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpStatusCode[HttpStatusCode[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n HttpStatusCode[HttpStatusCode[\"HttpVersionNotSupported\"] = 505] = \"HttpVersionNotSupported\";\n HttpStatusCode[HttpStatusCode[\"VariantAlsoNegotiates\"] = 506] = \"VariantAlsoNegotiates\";\n HttpStatusCode[HttpStatusCode[\"InsufficientStorage\"] = 507] = \"InsufficientStorage\";\n HttpStatusCode[HttpStatusCode[\"LoopDetected\"] = 508] = \"LoopDetected\";\n HttpStatusCode[HttpStatusCode[\"NotExtended\"] = 510] = \"NotExtended\";\n HttpStatusCode[HttpStatusCode[\"NetworkAuthenticationRequired\"] = 511] = \"NetworkAuthenticationRequired\";\n return HttpStatusCode;\n}(HttpStatusCode || {});\n/**\n * Constructs an instance of `HttpRequestOptions` from a source `HttpMethodOptions` and\n * the given `body`. This function clones the object and adds the body.\n *\n * Note that the `responseType` *options* value is a String that identifies the\n * single data type of the response.\n * A single overload version of the method handles each response type.\n * The value of `responseType` cannot be a union, as the combined signature could imply.\n *\n */\nfunction addBody(options, body) {\n return {\n body,\n headers: options.headers,\n context: options.context,\n observe: options.observe,\n params: options.params,\n reportProgress: options.reportProgress,\n responseType: options.responseType,\n withCredentials: options.withCredentials,\n transferCache: options.transferCache\n };\n}\n/**\n * Performs HTTP requests.\n * This service is available as an injectable class, with methods to perform HTTP requests.\n * Each request method has multiple signatures, and the return type varies based on\n * the signature that is called (mainly the values of `observe` and `responseType`).\n *\n * Note that the `responseType` *options* value is a String that identifies the\n * single data type of the response.\n * A single overload version of the method handles each response type.\n * The value of `responseType` cannot be a union, as the combined signature could imply.\n\n * TODO(adev): review\n * @usageNotes\n *\n * ### HTTP Request Example\n *\n * ```\n * // GET heroes whose name contains search term\n * searchHeroes(term: string): observable{\n *\n * const params = new HttpParams({fromString: 'name=term'});\n * return this.httpClient.request('GET', this.heroesUrl, {responseType:'json', params});\n * }\n * ```\n *\n * Alternatively, the parameter string can be used without invoking HttpParams\n * by directly joining to the URL.\n * ```\n * this.httpClient.request('GET', this.heroesUrl + '?' + 'name=term', {responseType:'json'});\n * ```\n *\n *\n * ### JSONP Example\n * ```\n * requestJsonp(url, callback = 'callback') {\n * return this.httpClient.jsonp(this.heroesURL, callback);\n * }\n * ```\n *\n * ### PATCH Example\n * ```\n * // PATCH one of the heroes' name\n * patchHero (id: number, heroName: string): Observable<{}> {\n * const url = `${this.heroesUrl}/${id}`; // PATCH api/heroes/42\n * return this.httpClient.patch(url, {name: heroName}, httpOptions)\n * .pipe(catchError(this.handleError('patchHero')));\n * }\n * ```\n *\n * @see [HTTP Guide](guide/http)\n * @see [HTTP Request](api/common/http/HttpRequest)\n *\n * @publicApi\n */\nlet HttpClient = /*#__PURE__*/(() => {\n class HttpClient {\n constructor(handler) {\n this.handler = handler;\n }\n /**\n * Constructs an observable for a generic HTTP request that, when subscribed,\n * fires the request through the chain of registered interceptors and on to the\n * server.\n *\n * You can pass an `HttpRequest` directly as the only parameter. In this case,\n * the call returns an observable of the raw `HttpEvent` stream.\n *\n * Alternatively you can pass an HTTP method as the first parameter,\n * a URL string as the second, and an options hash containing the request body as the third.\n * See `addBody()`. In this case, the specified `responseType` and `observe` options determine the\n * type of returned observable.\n * * The `responseType` value determines how a successful response body is parsed.\n * * If `responseType` is the default `json`, you can pass a type interface for the resulting\n * object as a type parameter to the call.\n *\n * The `observe` value determines the return type, according to what you are interested in\n * observing.\n * * An `observe` value of events returns an observable of the raw `HttpEvent` stream, including\n * progress events by default.\n * * An `observe` value of response returns an observable of `HttpResponse`,\n * where the `T` parameter depends on the `responseType` and any optionally provided type\n * parameter.\n * * An `observe` value of body returns an observable of `` with the same `T` body type.\n *\n */\n request(first, url, options = {}) {\n let req;\n // First, check whether the primary argument is an instance of `HttpRequest`.\n if (first instanceof HttpRequest) {\n // It is. The other arguments must be undefined (per the signatures) and can be\n // ignored.\n req = first;\n } else {\n // It's a string, so it represents a URL. Construct a request based on it,\n // and incorporate the remaining arguments (assuming `GET` unless a method is\n // provided.\n // Figure out the headers.\n let headers = undefined;\n if (options.headers instanceof HttpHeaders) {\n headers = options.headers;\n } else {\n headers = new HttpHeaders(options.headers);\n }\n // Sort out parameters.\n let params = undefined;\n if (!!options.params) {\n if (options.params instanceof HttpParams) {\n params = options.params;\n } else {\n params = new HttpParams({\n fromObject: options.params\n });\n }\n }\n // Construct the request.\n req = new HttpRequest(first, url, options.body !== undefined ? options.body : null, {\n headers,\n context: options.context,\n params,\n reportProgress: options.reportProgress,\n // By default, JSON is assumed to be returned for all calls.\n responseType: options.responseType || 'json',\n withCredentials: options.withCredentials,\n transferCache: options.transferCache\n });\n }\n // Start with an Observable.of() the initial request, and run the handler (which\n // includes all interceptors) inside a concatMap(). This way, the handler runs\n // inside an Observable chain, which causes interceptors to be re-run on every\n // subscription (this also makes retries re-run the handler, including interceptors).\n const events$ = of(req).pipe(concatMap(req => this.handler.handle(req)));\n // If coming via the API signature which accepts a previously constructed HttpRequest,\n // the only option is to get the event stream. Otherwise, return the event stream if\n // that is what was requested.\n if (first instanceof HttpRequest || options.observe === 'events') {\n return events$;\n }\n // The requested stream contains either the full response or the body. In either\n // case, the first step is to filter the event stream to extract a stream of\n // responses(s).\n const res$ = events$.pipe(filter(event => event instanceof HttpResponse));\n // Decide which stream to return.\n switch (options.observe || 'body') {\n case 'body':\n // The requested stream is the body. Map the response stream to the response\n // body. This could be done more simply, but a misbehaving interceptor might\n // transform the response body into a different format and ignore the requested\n // responseType. Guard against this by validating that the response is of the\n // requested type.\n switch (req.responseType) {\n case 'arraybuffer':\n return res$.pipe(map(res => {\n // Validate that the body is an ArrayBuffer.\n if (res.body !== null && !(res.body instanceof ArrayBuffer)) {\n throw new Error('Response is not an ArrayBuffer.');\n }\n return res.body;\n }));\n case 'blob':\n return res$.pipe(map(res => {\n // Validate that the body is a Blob.\n if (res.body !== null && !(res.body instanceof Blob)) {\n throw new Error('Response is not a Blob.');\n }\n return res.body;\n }));\n case 'text':\n return res$.pipe(map(res => {\n // Validate that the body is a string.\n if (res.body !== null && typeof res.body !== 'string') {\n throw new Error('Response is not a string.');\n }\n return res.body;\n }));\n case 'json':\n default:\n // No validation needed for JSON responses, as they can be of any type.\n return res$.pipe(map(res => res.body));\n }\n case 'response':\n // The response stream was requested directly, so return it.\n return res$;\n default:\n // Guard against new future observe types being added.\n throw new Error(`Unreachable: unhandled observe type ${options.observe}}`);\n }\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `DELETE` request to execute on the server. See the individual overloads for\n * details on the return type.\n *\n * @param url The endpoint URL.\n * @param options The HTTP options to send with the request.\n *\n */\n delete(url, options = {}) {\n return this.request('DELETE', url, options);\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `GET` request to execute on the server. See the individual overloads for\n * details on the return type.\n */\n get(url, options = {}) {\n return this.request('GET', url, options);\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `HEAD` request to execute on the server. The `HEAD` method returns\n * meta information about the resource without transferring the\n * resource itself. See the individual overloads for\n * details on the return type.\n */\n head(url, options = {}) {\n return this.request('HEAD', url, options);\n }\n /**\n * Constructs an `Observable` that, when subscribed, causes a request with the special method\n * `JSONP` to be dispatched via the interceptor pipeline.\n * The [JSONP pattern](https://en.wikipedia.org/wiki/JSONP) works around limitations of certain\n * API endpoints that don't support newer,\n * and preferable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) protocol.\n * JSONP treats the endpoint API as a JavaScript file and tricks the browser to process the\n * requests even if the API endpoint is not located on the same domain (origin) as the client-side\n * application making the request.\n * The endpoint API must support JSONP callback for JSONP requests to work.\n * The resource API returns the JSON response wrapped in a callback function.\n * You can pass the callback function name as one of the query parameters.\n * Note that JSONP requests can only be used with `GET` requests.\n *\n * @param url The resource URL.\n * @param callbackParam The callback function name.\n *\n */\n jsonp(url, callbackParam) {\n return this.request('JSONP', url, {\n params: new HttpParams().append(callbackParam, 'JSONP_CALLBACK'),\n observe: 'body',\n responseType: 'json'\n });\n }\n /**\n * Constructs an `Observable` that, when subscribed, causes the configured\n * `OPTIONS` request to execute on the server. This method allows the client\n * to determine the supported HTTP methods and other capabilities of an endpoint,\n * without implying a resource action. See the individual overloads for\n * details on the return type.\n */\n options(url, options = {}) {\n return this.request('OPTIONS', url, options);\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `PATCH` request to execute on the server. See the individual overloads for\n * details on the return type.\n */\n patch(url, body, options = {}) {\n return this.request('PATCH', url, addBody(options, body));\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `POST` request to execute on the server. The server responds with the location of\n * the replaced resource. See the individual overloads for\n * details on the return type.\n */\n post(url, body, options = {}) {\n return this.request('POST', url, addBody(options, body));\n }\n /**\n * Constructs an observable that, when subscribed, causes the configured\n * `PUT` request to execute on the server. The `PUT` method replaces an existing resource\n * with a new set of values.\n * See the individual overloads for details on the return type.\n */\n put(url, body, options = {}) {\n return this.request('PUT', url, addBody(options, body));\n }\n static {\n this.ɵfac = function HttpClient_Factory(t) {\n return new (t || HttpClient)(i0.ɵɵinject(HttpHandler));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: HttpClient,\n factory: HttpClient.ɵfac\n });\n }\n }\n return HttpClient;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nconst XSSI_PREFIX$1 = /^\\)\\]\\}',?\\n/;\nconst REQUEST_URL_HEADER = `X-Request-URL`;\n/**\n * Determine an appropriate URL for the response, by checking either\n * response url or the X-Request-URL header.\n */\nfunction getResponseUrl$1(response) {\n if (response.url) {\n return response.url;\n }\n // stored as lowercase in the map\n const xRequestUrl = REQUEST_URL_HEADER.toLocaleLowerCase();\n return response.headers.get(xRequestUrl);\n}\n/**\n * Uses `fetch` to send requests to a backend server.\n *\n * This `FetchBackend` requires the support of the\n * [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) which is available on all\n * supported browsers and on Node.js v18 or later.\n *\n * @see {@link HttpHandler}\n *\n * @publicApi\n */\nlet FetchBackend = /*#__PURE__*/(() => {\n class FetchBackend {\n constructor() {\n // We need to bind the native fetch to its context or it will throw an \"illegal invocation\"\n this.fetchImpl = inject(FetchFactory, {\n optional: true\n })?.fetch ?? fetch.bind(globalThis);\n this.ngZone = inject(NgZone);\n }\n handle(request) {\n return new Observable(observer => {\n const aborter = new AbortController();\n this.doRequest(request, aborter.signal, observer).then(noop, error => observer.error(new HttpErrorResponse({\n error\n })));\n return () => aborter.abort();\n });\n }\n async doRequest(request, signal, observer) {\n const init = this.createRequestInit(request);\n let response;\n try {\n const fetchPromise = this.fetchImpl(request.urlWithParams, {\n signal,\n ...init\n });\n // Make sure Zone.js doesn't trigger false-positive unhandled promise\n // error in case the Promise is rejected synchronously. See function\n // description for additional information.\n silenceSuperfluousUnhandledPromiseRejection(fetchPromise);\n // Send the `Sent` event before awaiting the response.\n observer.next({\n type: HttpEventType.Sent\n });\n response = await fetchPromise;\n } catch (error) {\n observer.error(new HttpErrorResponse({\n error,\n status: error.status ?? 0,\n statusText: error.statusText,\n url: request.urlWithParams,\n headers: error.headers\n }));\n return;\n }\n const headers = new HttpHeaders(response.headers);\n const statusText = response.statusText;\n const url = getResponseUrl$1(response) ?? request.urlWithParams;\n let status = response.status;\n let body = null;\n if (request.reportProgress) {\n observer.next(new HttpHeaderResponse({\n headers,\n status,\n statusText,\n url\n }));\n }\n if (response.body) {\n // Read Progress\n const contentLength = response.headers.get('content-length');\n const chunks = [];\n const reader = response.body.getReader();\n let receivedLength = 0;\n let decoder;\n let partialText;\n // We have to check whether the Zone is defined in the global scope because this may be called\n // when the zone is nooped.\n const reqZone = typeof Zone !== 'undefined' && Zone.current;\n // Perform response processing outside of Angular zone to\n // ensure no excessive change detection runs are executed\n // Here calling the async ReadableStreamDefaultReader.read() is responsible for triggering CD\n await this.ngZone.runOutsideAngular(async () => {\n while (true) {\n const {\n done,\n value\n } = await reader.read();\n if (done) {\n break;\n }\n chunks.push(value);\n receivedLength += value.length;\n if (request.reportProgress) {\n partialText = request.responseType === 'text' ? (partialText ?? '') + (decoder ??= new TextDecoder()).decode(value, {\n stream: true\n }) : undefined;\n const reportProgress = () => observer.next({\n type: HttpEventType.DownloadProgress,\n total: contentLength ? +contentLength : undefined,\n loaded: receivedLength,\n partialText\n });\n reqZone ? reqZone.run(reportProgress) : reportProgress();\n }\n }\n });\n // Combine all chunks.\n const chunksAll = this.concatChunks(chunks, receivedLength);\n try {\n const contentType = response.headers.get('Content-Type') ?? '';\n body = this.parseBody(request, chunksAll, contentType);\n } catch (error) {\n // Body loading or parsing failed\n observer.error(new HttpErrorResponse({\n error,\n headers: new HttpHeaders(response.headers),\n status: response.status,\n statusText: response.statusText,\n url: getResponseUrl$1(response) ?? request.urlWithParams\n }));\n return;\n }\n }\n // Same behavior as the XhrBackend\n if (status === 0) {\n status = body ? HTTP_STATUS_CODE_OK : 0;\n }\n // ok determines whether the response will be transmitted on the event or\n // error channel. Unsuccessful status codes (not 2xx) will always be errors,\n // but a successful status code can still result in an error if the user\n // asked for JSON data and the body cannot be parsed as such.\n const ok = status >= 200 && status < 300;\n if (ok) {\n observer.next(new HttpResponse({\n body,\n headers,\n status,\n statusText,\n url\n }));\n // The full body has been received and delivered, no further events\n // are possible. This request is complete.\n observer.complete();\n } else {\n observer.error(new HttpErrorResponse({\n error: body,\n headers,\n status,\n statusText,\n url\n }));\n }\n }\n parseBody(request, binContent, contentType) {\n switch (request.responseType) {\n case 'json':\n // stripping the XSSI when present\n const text = new TextDecoder().decode(binContent).replace(XSSI_PREFIX$1, '');\n return text === '' ? null : JSON.parse(text);\n case 'text':\n return new TextDecoder().decode(binContent);\n case 'blob':\n return new Blob([binContent], {\n type: contentType\n });\n case 'arraybuffer':\n return binContent.buffer;\n }\n }\n createRequestInit(req) {\n // We could share some of this logic with the XhrBackend\n const headers = {};\n const credentials = req.withCredentials ? 'include' : undefined;\n // Setting all the requested headers.\n req.headers.forEach((name, values) => headers[name] = values.join(','));\n // Add an Accept header if one isn't present already.\n headers['Accept'] ??= 'application/json, text/plain, */*';\n // Auto-detect the Content-Type header if one isn't present already.\n if (!headers['Content-Type']) {\n const detectedType = req.detectContentTypeHeader();\n // Sometimes Content-Type detection fails.\n if (detectedType !== null) {\n headers['Content-Type'] = detectedType;\n }\n }\n return {\n body: req.serializeBody(),\n method: req.method,\n headers,\n credentials\n };\n }\n concatChunks(chunks, totalLength) {\n const chunksAll = new Uint8Array(totalLength);\n let position = 0;\n for (const chunk of chunks) {\n chunksAll.set(chunk, position);\n position += chunk.length;\n }\n return chunksAll;\n }\n static {\n this.ɵfac = function FetchBackend_Factory(t) {\n return new (t || FetchBackend)();\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: FetchBackend,\n factory: FetchBackend.ɵfac\n });\n }\n }\n return FetchBackend;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Abstract class to provide a mocked implementation of `fetch()`\n */\nclass FetchFactory {}\nfunction noop() {}\n/**\n * Zone.js treats a rejected promise that has not yet been awaited\n * as an unhandled error. This function adds a noop `.then` to make\n * sure that Zone.js doesn't throw an error if the Promise is rejected\n * synchronously.\n */\nfunction silenceSuperfluousUnhandledPromiseRejection(promise) {\n promise.then(noop, noop);\n}\nfunction interceptorChainEndFn(req, finalHandlerFn) {\n return finalHandlerFn(req);\n}\n/**\n * Constructs a `ChainedInterceptorFn` which adapts a legacy `HttpInterceptor` to the\n * `ChainedInterceptorFn` interface.\n */\nfunction adaptLegacyInterceptorToChain(chainTailFn, interceptor) {\n return (initialRequest, finalHandlerFn) => interceptor.intercept(initialRequest, {\n handle: downstreamRequest => chainTailFn(downstreamRequest, finalHandlerFn)\n });\n}\n/**\n * Constructs a `ChainedInterceptorFn` which wraps and invokes a functional interceptor in the given\n * injector.\n */\nfunction chainedInterceptorFn(chainTailFn, interceptorFn, injector) {\n return (initialRequest, finalHandlerFn) => runInInjectionContext(injector, () => interceptorFn(initialRequest, downstreamRequest => chainTailFn(downstreamRequest, finalHandlerFn)));\n}\n/**\n * A multi-provider token that represents the array of registered\n * `HttpInterceptor` objects.\n *\n * @publicApi\n */\nconst HTTP_INTERCEPTORS = /*#__PURE__*/new InjectionToken(ngDevMode ? 'HTTP_INTERCEPTORS' : '');\n/**\n * A multi-provided token of `HttpInterceptorFn`s.\n */\nconst HTTP_INTERCEPTOR_FNS = /*#__PURE__*/new InjectionToken(ngDevMode ? 'HTTP_INTERCEPTOR_FNS' : '');\n/**\n * A multi-provided token of `HttpInterceptorFn`s that are only set in root.\n */\nconst HTTP_ROOT_INTERCEPTOR_FNS = /*#__PURE__*/new InjectionToken(ngDevMode ? 'HTTP_ROOT_INTERCEPTOR_FNS' : '');\n// TODO(atscott): We need a larger discussion about stability and what should contribute to stability.\n// Should the whole interceptor chain contribute to stability or just the backend request #55075?\n// Should HttpClient contribute to stability automatically at all?\nconst REQUESTS_CONTRIBUTE_TO_STABILITY = /*#__PURE__*/new InjectionToken(ngDevMode ? 'REQUESTS_CONTRIBUTE_TO_STABILITY' : '', {\n providedIn: 'root',\n factory: () => true\n});\n/**\n * Creates an `HttpInterceptorFn` which lazily initializes an interceptor chain from the legacy\n * class-based interceptors and runs the request through it.\n */\nfunction legacyInterceptorFnFactory() {\n let chain = null;\n return (req, handler) => {\n if (chain === null) {\n const interceptors = inject(HTTP_INTERCEPTORS, {\n optional: true\n }) ?? [];\n // Note: interceptors are wrapped right-to-left so that final execution order is\n // left-to-right. That is, if `interceptors` is the array `[a, b, c]`, we want to\n // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside\n // out.\n chain = interceptors.reduceRight(adaptLegacyInterceptorToChain, interceptorChainEndFn);\n }\n const pendingTasks = inject(ɵPendingTasks);\n const contributeToStability = inject(REQUESTS_CONTRIBUTE_TO_STABILITY);\n if (contributeToStability) {\n const taskId = pendingTasks.add();\n return chain(req, handler).pipe(finalize(() => pendingTasks.remove(taskId)));\n } else {\n return chain(req, handler);\n }\n };\n}\nlet fetchBackendWarningDisplayed = false;\n/** Internal function to reset the flag in tests */\nfunction resetFetchBackendWarningFlag() {\n fetchBackendWarningDisplayed = false;\n}\nlet HttpInterceptorHandler = /*#__PURE__*/(() => {\n class HttpInterceptorHandler extends HttpHandler {\n constructor(backend, injector) {\n super();\n this.backend = backend;\n this.injector = injector;\n this.chain = null;\n this.pendingTasks = inject(ɵPendingTasks);\n this.contributeToStability = inject(REQUESTS_CONTRIBUTE_TO_STABILITY);\n // We strongly recommend using fetch backend for HTTP calls when SSR is used\n // for an application. The logic below checks if that's the case and produces\n // a warning otherwise.\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && !fetchBackendWarningDisplayed) {\n const isServer = isPlatformServer(injector.get(PLATFORM_ID));\n if (isServer && !(this.backend instanceof FetchBackend)) {\n fetchBackendWarningDisplayed = true;\n injector.get(ɵConsole).warn(ɵformatRuntimeError(2801 /* RuntimeErrorCode.NOT_USING_FETCH_BACKEND_IN_SSR */, 'Angular detected that `HttpClient` is not configured ' + \"to use `fetch` APIs. It's strongly recommended to \" + 'enable `fetch` for applications that use Server-Side Rendering ' + 'for better performance and compatibility. ' + 'To enable `fetch`, add the `withFetch()` to the `provideHttpClient()` ' + 'call at the root of the application.'));\n }\n }\n }\n handle(initialRequest) {\n if (this.chain === null) {\n const dedupedInterceptorFns = Array.from(new Set([...this.injector.get(HTTP_INTERCEPTOR_FNS), ...this.injector.get(HTTP_ROOT_INTERCEPTOR_FNS, [])]));\n // Note: interceptors are wrapped right-to-left so that final execution order is\n // left-to-right. That is, if `dedupedInterceptorFns` is the array `[a, b, c]`, we want to\n // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside\n // out.\n this.chain = dedupedInterceptorFns.reduceRight((nextSequencedFn, interceptorFn) => chainedInterceptorFn(nextSequencedFn, interceptorFn, this.injector), interceptorChainEndFn);\n }\n if (this.contributeToStability) {\n const taskId = this.pendingTasks.add();\n return this.chain(initialRequest, downstreamRequest => this.backend.handle(downstreamRequest)).pipe(finalize(() => this.pendingTasks.remove(taskId)));\n } else {\n return this.chain(initialRequest, downstreamRequest => this.backend.handle(downstreamRequest));\n }\n }\n static {\n this.ɵfac = function HttpInterceptorHandler_Factory(t) {\n return new (t || HttpInterceptorHandler)(i0.ɵɵinject(HttpBackend), i0.ɵɵinject(i0.EnvironmentInjector));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: HttpInterceptorHandler,\n factory: HttpInterceptorHandler.ɵfac\n });\n }\n }\n return HttpInterceptorHandler;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// Every request made through JSONP needs a callback name that's unique across the\n// whole page. Each request is assigned an id and the callback name is constructed\n// from that. The next id to be assigned is tracked in a global variable here that\n// is shared among all applications on the page.\nlet nextRequestId = 0;\n/**\n * When a pending + diff --git a/index.html b/index.html index 1e3d91c0..7870ece1 100644 --- a/index.html +++ b/index.html @@ -23,14 +23,14 @@ /*# sourceMappingURL=styles-FA5GN6XR.css.map */ -

Dozens of
components -

Angular
Open source
June
Mon
Tue
Wed
Thu
Fri
Sat
Sun
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
- +

Dozens of
components +

Angular
Open source
June
Mon
Tue
Wed
Thu
Fri
Sat
Sun
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
+ - \ No newline at end of file + \ No newline at end of file diff --git a/main-WAIQLZS6.js b/main-LXNJ27NN.js similarity index 98% rename from main-WAIQLZS6.js rename to main-LXNJ27NN.js index 7f37ed54..876658f7 100644 --- a/main-WAIQLZS6.js +++ b/main-LXNJ27NN.js @@ -1,4 +1,4 @@ -import{Ba as Ve,Ca as We,Da as Ge,Ea as Ze,Eb as ti,Fa as Ye,G as Ne,Ga as Xe,H as pt,I as we,Ib as ii,J as He,Jb as oi,K as je,L as Fe,La as Je,a as te,ab as Ke,b as ee,bb as qe,ca as xe,d as rt,da as Ee,e as de,ea as Re,g as w,h as H,ib as Qe,l as Ie,la as ke,ma as Be,na as Ue,o as be,oa as Le,p as De,q as ct,r as Se,s as ut,sa as ze,u as Pe,v as Ae,wa as mt,xa as $e}from"./chunk-3RVXYZKD.js";import{$ as fe,Aa as h,D as ce,Da as Oe,E as ue,H as pe,Q as me,Sa as ei,b as Jt,c as Kt,ca as ge,d as qt,da as G,ea as st,f as Qt,fa as ve,g as ie,ga as at,ha as he,i as oe,ia as _e,j as Mt,k as Ot,ka as Te,l as It,la as Ce,na as lt,sa as ye,ta as B,ua as Me,w as nt}from"./chunk-HNAZ43NK.js";import"./chunk-J5MQQQCD.js";import{Ab as c,Bb as u,Cb as m,Cc as Yt,Da as z,Db as x,Dc as N,Ea as $,Eb as E,Ec as O,Fa as V,Fb as D,Gb as et,H as At,Ha as jt,Hb as Ut,Hc as k,Ib as Lt,Ja as J,Jb as y,Kb as v,Kc as _,La as Ft,Lb as it,Mb as I,Nc as Xt,Qa as xt,Ra as yt,Rb as zt,Sb as $t,U as Nt,Ub as Vt,Zb as M,_b as Wt,aa as C,ac as ot,bd as ne,cb as W,cd as re,dc as S,eb as K,ec as R,fc as Gt,ha as Y,hb as l,hd as se,ia as d,ib as n,jc as Zt,ma as j,mb as Et,na as wt,nb as Rt,nd as ae,p as Z,pb as kt,qb as Bt,qd as le,ra as X,sc as P,t as L,ta as g,u as F,ua as f,va as Ct,vb as a,wb as q,xb as s,y as Tt,ya as Ht,yb as Q,yc as A,z as Pt,zb as tt}from"./chunk-RLY256WD.js";import{f as St}from"./chunk-GOOAHOWT.js";function Di(t,i){if(t&1&&(D(0,3),S(1,"tuiMapper")),t&2){let e=i.$implicit,o=v(2);s("ngComponentOutlet",e.component.component)("ngComponentOutletInjector",Gt(1,2,e,o.mapper))}}function Si(t,i){if(t&1&&(c(0,"div",1),a(1,Di,2,5,"ng-container",2),u()),t&2){let e=i.$implicit;s("@tuiParentAnimation",void 0),l(),s("ngForOf",e)}}var ni=(()=>{class t{constructor(e,o,r,p){this.allAlerts=e,this.injector=o,this.destroy$=r,this.cdr=p,this.alerts=[],this.trackBy=T=>T,this.mapper=T=>jt.create({providers:[{provide:rt,useValue:T}],parent:this.injector})}ngOnInit(){F(this.allAlerts).pipe(C(this.destroy$)).subscribe(e=>{this.alerts=e,this.cdr.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(n(Te),n(X),n(h,2),n(P))},t.\u0275cmp=g({type:t,selectors:[["tui-alert-host"]],features:[M([h])],decls:1,vars:2,consts:[["class","t-wrapper",4,"ngFor","ngForOf","ngForTrackBy"],[1,"t-wrapper"],[3,"ngComponentOutlet","ngComponentOutletInjector",4,"ngFor","ngForOf"],[3,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(e,o){e&1&&a(0,Si,2,2,"div",0),e&2&&s("ngForOf",o.alerts)("ngForTrackBy",o.trackBy)},dependencies:[N,Yt,be],styles:[`tui-alert-host>.t-wrapper{position:fixed;top:0;left:0;display:flex;width:100%;height:100%;flex-direction:column;pointer-events:none}tui-alert-host>.t-wrapper>*{pointer-events:auto} -`],encapsulation:2,data:{animation:[nt]}}),t})(),ri=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({imports:[[_,De]]}),t})();var si=(()=>{class t{constructor(e,o,r){this.doc=e,this.el=o,this.renderer=r,this.activeElement=ce(this.doc),Promise.resolve().then(()=>this.el.nativeElement.focus())}onBlur(){this.renderer.removeAttribute(this.el.nativeElement,"tabIndex")}onFocusIn(e){let{nativeElement:o}=this.el;if(ae(o,e))return;let r=pe({initial:o,root:o});r&&r.focus()}ngOnDestroy(){ue(this.doc),Promise.resolve().then(()=>{le(this.activeElement)&&this.activeElement.focus()})}}return t.\u0275fac=function(e){return new(e||t)(n(A),n(J),n(Rt))},t.\u0275dir=Ct({type:t,selectors:[["","tuiFocusTrap",""]],hostAttrs:["tabIndex","0"],hostBindings:function(e,o){e&1&&y("blur",function(){return o.onBlur()})("focusin.silent",function(p){return o.onFocusIn(p.target)},!1,K)}}),t})(),ai=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({}),t})();function Pi(t,i){t&1&&D(0)}function Ai(t,i){t&1&&m(0,"tui-scroll-controls",5)}function Ni(t,i){if(t&1&&(c(0,"section",2),a(1,Pi,1,0,"ng-container",3)(2,Ai,1,0,"tui-scroll-controls",4),u()),t&2){let e=i.$implicit,o=v();s("@host",void 0),q("aria-labelledby",e.id),l(),s("polymorpheusOutlet",e.component)("polymorpheusOutletContext",e),l(),s("ngIf",!o.isMobile)}}function wi(t,i){if(t&1){let e=et();c(0,"div",6),y("transitionend",function(r){let p=z(e).tuiLet,T=v();return $(T.onDialog(r,!!T.dialogs.length,!!p))})("popstate",function(){let r=z(e).tuiLet,p=v();return $(p.closeLast(p.dialogs,!!r))},!1,K),u()}if(t&2){let e=v();tt("t-overlay_visible",e.dialogs.length)}}var bt={label:"ignoreMe"},Hi=t=>(t==null?void 0:t.label)===bt.label,ji=ne(Z(!1)),li=(()=>{class t{constructor(e,o,r,p,T,ft,gt,vt){this.isMobile=e,this.isDialogClosesOnBack$=o,this.dialogsByType=r,this.historyRef=p,this.titleService=T,this.destroy$=ft,this.cdr=gt,this.doc=vt,this.dialogs=[]}ngOnInit(){F(this.dialogsByType).pipe(L(e=>[].concat(...e).sort((o,r)=>o.createdAt-r.createdAt)),C(this.destroy$)).subscribe(e=>{var o;this.dialogs=e,this.cdr.markForCheck(),(o=this.doc.defaultView)===null||o===void 0||o.document.documentElement.classList.toggle("t-overscroll-none",!!e.length)})}closeLast(e,o){if(!o)return;let[r]=e.slice(-1);r&&(e.length>1&&this.historyRef.pushState(bt,this.titleService.getTitle()),r.$implicit.complete())}onDialog({propertyName:e},o,r){!r||e!=="letter-spacing"||(o?this.historyRef.pushState(bt,this.titleService.getTitle()):Hi(this.historyRef.state)&&this.historyRef.back())}}return t.\u0275fac=function(e){return new(e||t)(n(B),n(ji),n(lt),n(fe),n(qt),n(h,2),n(P),n(A))},t.\u0275cmp=g({type:t,selectors:[["tui-dialog-host"]],features:[M([h])],decls:3,vars:4,consts:[["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","","class","t-dialog",4,"ngFor","ngForOf"],["class","t-overlay",3,"t-overlay_visible","transitionend","popstate",4,"tuiLet"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","",1,"t-dialog"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["class","t-scrollbars",4,"ngIf"],[1,"t-scrollbars"],[1,"t-overlay",3,"transitionend","popstate"]],template:function(e,o){e&1&&(a(0,Ni,3,5,"section",0)(1,wi,1,2,"div",1),S(2,"async")),e&2&&(s("ngForOf",o.dialogs),l(),s("tuiLet",R(2,2,o.isDialogClosesOnBack$)))},dependencies:[ct,N,si,we,Se,w,O,Ne,k],styles:["[_nghost-%COMP%]{position:fixed;left:0;bottom:0;width:100%;height:0}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-start;outline:none;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.t-overlay.ng-animating[_ngcontent-%COMP%], .t-dialog.ng-animating[_ngcontent-%COMP%]{overflow:clip}.t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar, .t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{display:none}.t-dialog[_ngcontent-%COMP%]{bottom:auto;height:100%}.t-overlay[_ngcontent-%COMP%]{height:100%;pointer-events:none;touch-action:none;opacity:0;letter-spacing:normal;transition:opacity var(--tui-duration, .3s),letter-spacing .01s;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-overlay_visible[_ngcontent-%COMP%]{opacity:1;letter-spacing:1px}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}.t-scrollbars[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;color:#747474}"],data:{animation:[ie("host",[Mt(":enter",[oe({overflow:"clip"}),It(":scope > *",[Ot()],{optional:!0})]),Mt(":leave",[It(":scope > *",[Ot()],{optional:!0})])])]}}),t})(),ci=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({imports:[[_,H,He,ai,pt,ut]]}),t})();var Fi=["*"],xi=t=>({$implicit:t});function Ei(t,i){if(t&1&&m(0,"tui-svg",5),t&2){let e=i.polymorpheusOutlet;s("src",e)}}function Ri(t,i){if(t&1&&(x(0),a(1,Ei,1,1,"tui-svg",4),E()),t&2){let e=v();l(),s("polymorpheusOutlet",e.icon)("polymorpheusOutletContext",ot(2,xi,e.status))}}function ki(t,i){if(t&1){let e=et();c(0,"button",6),S(1,"async"),y("click",function(){z(e);let r=v();return $(r.close.emit())}),u()}if(t&2){let e=v();s("icon",e.icons.close)("title",R(1,2,e.closeWord$))}}var ui=(()=>{class t{constructor(e,o,r){this.closeWord$=e,this.icons=o,this.options=r,this.hasIcon=this.options.hasIcon,this.icon=this.options.icon,this.status=this.options.status,this.size=this.options.size,this.hideClose=!1,this.close=new Ft}get hasClose(){return!this.hideClose&&me(this.close)}}return t.\u0275fac=function(e){return new(e||t)(n(ze),n(Le),n(mt))},t.\u0275cmp=g({type:t,selectors:[["tui-notification"],["a","tuiNotification",""],["button","tuiNotification",""]],hostVars:2,hostBindings:function(e,o){e&2&&q("data-status",o.status)("data-size",o.size)},inputs:{hasIcon:"hasIcon",icon:"icon",status:"status",size:"size",hideClose:"hideClose"},outputs:{close:"close"},ngContentSelectors:Fi,decls:5,vars:3,consts:[[4,"ngIf"],[1,"t-content"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button","class","t-close",3,"icon","title","click",4,"ngIf"],["automation-id","tui-notification__more",1,"t-more",3,"src"],["automation-id","tui-notification__icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification__icon",1,"t-icon",3,"src"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button",1,"t-close",3,"click","icon","title"]],template:function(e,o){e&1&&(it(),a(0,Ri,2,4,"ng-container",0),c(1,"div",1),I(2),u(),a(3,ki,2,4,"button",2),m(4,"tui-svg",3)),e&2&&(s("ngIf",o.icon&&o.hasIcon),l(3),s("ngIf",o.hasClose),l(),s("src",o.icons.more))},dependencies:[Ye,Ke,O,w,k],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:flex;padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-base-01);box-sizing:border-box;overflow:hidden;text-align:left}[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:none}button[_nghost-%COMP%], a[_nghost-%COMP%]{border:none;cursor:pointer}button[_nghost-%COMP%] .t-more[_ngcontent-%COMP%], a[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:inline-flex;color:var(--tui-text-01);opacity:.5}[data-size=s][_nghost-%COMP%]{padding:.375rem .625rem}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}[data-size=s][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem .75rem}[data-size=s][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=m][_nghost-%COMP%]{padding:.75rem}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}[data-size=m][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.125rem -.125rem 1rem}[data-size=m][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=l][_nghost-%COMP%]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:.5rem}[data-size=l][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin-right:-.5rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-info-fill);background:linear-gradient(var(--tui-info-bg),var(--tui-info-bg)),var(--tui-base-01)}[data-status=success][_nghost-%COMP%]{color:var(--tui-success-fill);background:linear-gradient(var(--tui-success-bg),var(--tui-success-bg)),var(--tui-base-01)}[data-status=error][_nghost-%COMP%]{color:var(--tui-error-fill);background:linear-gradient(var(--tui-error-bg),var(--tui-error-bg)),var(--tui-base-01)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-warning-fill);background:linear-gradient(var(--tui-warning-bg),var(--tui-warning-bg)),var(--tui-base-01)}[data-status=neutral][_nghost-%COMP%]{color:var(--tui-neutral-fill);background:linear-gradient(var(--tui-neutral-bg),var(--tui-neutral-bg)),var(--tui-base-01)}.t-content[_ngcontent-%COMP%]{flex:1;word-break:break-word;color:var(--tui-text-01);text-align:inherit;align-self:center}"],changeDetection:0}),t})(),pi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({imports:[[_,Xe,qe,H]]}),t})();function Ui(t,i){if(t&1&&(x(0),$t(1),E()),t&2){let e=i.polymorpheusOutlet;l(),Vt(" ",e," ")}}function Li(t,i){if(t&1&&(c(0,"label",4),a(1,Ui,2,1,"ng-container",5),u()),t&2){let e=v();l(),s("polymorpheusOutlet",e.item.label)("polymorpheusOutletContext",e.item)}}function zi(t,i){if(t&1&&m(0,"div",6),t&2){let e=i.polymorpheusOutlet;s("innerHTML",e,W)}}var $i=re(()=>wt(B)?"1rem 1rem 0 auto":"2rem 3rem 0 auto"),Vi=(()=>{class t{constructor(e,o,r,p,T){this.el=e,this.destroy$=o,this.position=r,this.options=p,this.item=T,this.autoClose=typeof this.item.autoClose=="function"?this.item.autoClose(this.item.status):this.item.autoClose,this.animation=this.position.endsWith("auto")?Object.assign(Object.assign({},this.options),{value:"right"}):Object.assign(Object.assign({},this.options),{value:"left"})}ngOnInit(){this.initAutoClose()}close(){this.item.$implicit.complete()}initAutoClose(){this.autoClose&&Pt(se(this.autoClose)?this.autoClose:3e3).pipe(C(Tt(this.el.nativeElement,"mouseenter")),Nt(()=>Tt(this.el.nativeElement,"mouseleave")),C(this.destroy$)).subscribe(()=>this.close())}}return t.\u0275fac=function(e){return new(e||t)(n(J),n(h,2),n($i),n(Ue),n(rt))},t.\u0275cmp=g({type:t,selectors:[["tui-alert"]],hostAttrs:["role","alert"],hostVars:5,hostBindings:function(e,o){e&2&&(Lt("@tuiFadeIn",o.options)("@tuiSlideIn",o.animation)("@tuiHeightCollapse",o.animation),Q("margin",o.position))},features:[M([h])],decls:4,vars:7,consts:[[3,"close","hasIcon","hideClose","icon","status"],["automation-id","tui-notification-alert__heading","class","t-heading",4,"ngIf"],["automation-id","tui-notification-alert__content",1,"t-content"],[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification-alert__heading",1,"t-heading"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(e,o){e&1&&(c(0,"tui-notification",0),y("close",function(){return o.close()}),a(1,Li,2,2,"label",1),c(2,"div",2),a(3,zi,1,1,"div",3),u()()),e&2&&(s("hasIcon",o.item.hasIcon)("hideClose",!o.item.hasCloseButton)("icon",o.item.icon)("status",o.item.status),l(),s("ngIf",o.item.label),l(2),s("polymorpheusOutlet",o.item.content)("polymorpheusOutletContext",o.item))},dependencies:[ui,O,w],styles:["[_nghost-%COMP%]{display:block;box-shadow:var(--tui-shadow-dropdown);border-radius:var(--tui-radius-l);width:18rem}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem!important}[_nghost-%COMP%]:not(:last-child){margin-bottom:0!important}.t-heading[_ngcontent-%COMP%]{margin:0}[data-size=s][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}[data-size=m][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:bold}[data-size=l][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-l);line-height:1.5rem;font-weight:bold}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-01);word-wrap:break-word;word-break:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}"],data:{animation:[Ee,Re,xe]},changeDetection:0}),t})(),Wi=(()=>{class t extends Ie{constructor(e,o){super(o),this.defaultOptions=e,this.component=new de(Vi)}}return t.\u0275fac=function(e){return new(e||t)(j(mt),j(Oe))},t.\u0275prov=Y({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var mi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({providers:[Ce(Wi)],imports:[[_,H,pi]]}),t})();var Zi=t=>({$implicit:t});function Yi(t,i){t&1&&D(0)}function Xi(t,i){if(t&1&&(c(0,"div",1),a(1,Yi,1,0,"ng-container",2),u()),t&2){let e=i.$implicit;s("@tuiParentAnimation",void 0)("tuiActiveZoneParent",e.activeZone||null),l(),s("polymorpheusOutlet",e.component)("polymorpheusOutletContext",ot(4,Zi,e))}}var di=(()=>{class t{constructor(e,o,r){this.hints$=e,this.destroy$=o,this.cdr=r,this.hints=[]}ngOnInit(){this.hints$.pipe(C(this.destroy$)).subscribe(e=>{this.hints=e,this.cdr.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(n(Ge),n(h,2),n(P))},t.\u0275cmp=g({type:t,selectors:[["tui-hints-host"]],hostAttrs:["aria-live","polite"],features:[M([h])],decls:1,vars:1,consts:[["role","tooltip",3,"tuiActiveZoneParent",4,"ngFor","ngForOf"],["role","tooltip",3,"tuiActiveZoneParent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(e,o){e&1&&a(0,Xi,2,6,"div",0),e&2&&s("ngForOf",o.hints)},dependencies:[N,Pe,w],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:0}"],data:{animation:[nt]}}),t})(),fi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({imports:[[_,H,Ae]]}),t})();function Ki(t,i){if(t&1&&(V(),m(0,"defs",4)),t&2){let e=i.$implicit;s("innerHTML",e,W)}}function qi(t,i){if(t&1&&(V(),x(0),a(1,Ki,1,1,"defs",3),E()),t&2){let e=v();l(),s("ngForOf",e.items)}}function Qi(t,i){if(t&1&&(V(),c(0,"defs"),m(1,"svg",6),u()),t&2){let e=i.$implicit;l(),s("outerHTML",e,W)}}function to(t,i){if(t&1&&a(0,Qi,2,1,"defs",5),t&2){let e=v();s("ngForOf",e.items)}}var gi=(()=>{class t{constructor(e,o,r,p){this.svgService=e,this.cdr=o,this.destroy$=r,this.isBrowser=!0,this.isBrowser=!Xt(p)}ngOnInit(){this.svgService.items$.pipe(C(this.destroy$)).subscribe(e=>{this.items=e.values(),this.cdr.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(n(Ze),n(P),n(h,2),n(xt))},t.\u0275cmp=g({type:t,selectors:[["tui-svg-defs-host"]],features:[M([h])],decls:4,vars:2,consts:[["server",""],["version","1.1",0,"xmlns","xlink","http://www.w3.org/1999/xlink","xmlns","http://www.w3.org/2000/svg"],[4,"ngIf","ngIfElse"],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[3,"outerHTML"]],template:function(e,o){if(e&1&&(V(),c(0,"svg",1),a(1,qi,2,1,"ng-container",2)(2,to,1,1,"ng-template",null,0,Zt),u()),e&2){let r=zt(3);l(),s("ngIf",o.isBrowser)("ngIfElse",r)}},dependencies:[O,N],styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0}),t})(),vi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({imports:[[_,pt]]}),t})();var io=["*",[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],oo=["*","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"];function no(t,i){t&1&&m(0,"tui-scroll-controls",2)}var hi=(()=>{class t{constructor(e,o,r,p,T,ft,gt,vt,Ii){var ht;this.reducedMotion=e,this.duration=o,this.dialogs=r,this.isMobile=p,this.breakpoint=T,this.isIOS=ft,this.isAndroid=gt,this.isMobileRes$=this.breakpoint.pipe(L(_t=>_t==="mobile")),this.scrollbars$=this.dialogs.length&&!this.isMobile?F([...this.dialogs]).pipe(L(_t=>!_t.some(({length:bi})=>bi)),At(0)):Z(!this.isMobile),(ht=vt.defaultView)===null||ht===void 0||ht.document.body.setAttribute("data-tui-theme",Ii.toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)(n(ke),n(Be),n(lt),n(B),n(We),n(ye),n(Me),n(A),n(Ve))},t.\u0275cmp=g({type:t,selectors:[["tui-root"]],hostAttrs:["data-tui-version","3.83.0"],hostVars:9,hostBindings:function(e,o){e&1&&y("touchstart.passive.silent",function(){return 0})("$.class._mobile",function(){return o.isMobileRes$}),e&2&&(Ut("$.class._mobile",o.isMobileRes$),Q("--tui-duration",o.duration,"ms"),tt("_ios",o.isIOS)("_android",o.isAndroid)("_reduced-motion",o.reducedMotion))},ngContentSelectors:oo,decls:14,vars:3,consts:[["class","t-root-scrollbar",4,"ngIf"],[1,"t-root-content"],[1,"t-root-scrollbar"]],template:function(e,o){e&1&&(it(io),a(0,no,1,0,"tui-scroll-controls",0),S(1,"async"),m(2,"tui-svg-defs-host"),c(3,"tui-dropdown-host")(4,"div",1),I(5),u(),I(6,1),m(7,"tui-dialog-host"),I(8,2),m(9,"tui-alert-host"),I(10,3),u(),I(11,4),m(12,"tui-hints-host"),I(13,5)),e&2&&s("ngIf",R(1,1,o.scrollbars$))},dependencies:[ct,gi,je,li,ni,di,O,k],styles:[`@keyframes tuiPresent{to{content:"1"}}@keyframes tuiSkeletonVibe{to{opacity:.5}}html,.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{display:none}body[data-tui-theme]{font:var(--tui-font-text-s);color:var(--tui-text-01);background:var(--tui-base-01);margin:0}tui-root{position:relative;display:block;flex:1;-webkit-tap-highlight-color:transparent}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;display:none;margin:0}[data-tui-theme] tui-root>.t-root-scrollbar{display:block}.t-root-content{height:100%;isolation:isolate;transform:translateY(var(--t-root-top))}[tuiDropdownButton][tuiDropdownButton]{display:none}.t-overscroll-none{overscroll-behavior:none} -`],encapsulation:2}),t})(),dt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({imports:[[_,Je,Fe,vi,fi,ci,ri,ut]]}),t})();var ro=[import("./chunk-TDHOYHWP.js").then(({StarterKit:t})=>t).then(t=>t.configure({heading:{levels:[1,2,3,4,5,6]}})),import("./chunk-FIA4QGVF.js").then(({default:t})=>t.configure({types:["heading","paragraph"]})),import("./chunk-4UKZBYPS.js").then(({default:t})=>t),import("./chunk-FUMOYEVA.js").then(({default:t})=>t),import("./chunk-DAPS4CYE.js").then(({default:t})=>t),import("./chunk-YCMBXQIW.js").then(({default:t})=>t),import("./chunk-2C42PP3N.js").then(({FontColor:t})=>t),import("./chunk-D6XQSYED.js").then(({TuiLink:t})=>t),import("./chunk-JOF5LDD4.js").then(({TuiJumpAnchor:t})=>t),import("./chunk-4KXESJXW.js").then(({TuiFileLink:t})=>t),import("./chunk-LMX2ACGI.js").then(({BackgroundColor:t})=>t),import("./chunk-4TB5QD4Q.js").then(({TuiTable:t})=>t.configure({resizable:!0})),import("./chunk-WBOTJDKX.js").then(({TuiTableCell:t})=>t),import("./chunk-YBSSW44U.js").then(({default:t})=>t),import("./chunk-NRKGVSLD.js").then(({TableHeader:t})=>t),import("./chunk-WQ5F45AV.js").then(({TuiTabExtension:t})=>t),import("./chunk-NEE5JZUV.js").then(({TableCellBackground:t})=>t),import("./chunk-NUCNAFZH.js").then(({TuiDetailsContent:t})=>t),import("./chunk-NUCNAFZH.js").then(({TuiDetails:t})=>t),import("./chunk-NUCNAFZH.js").then(({TuiSummary:t})=>t),import("./chunk-ZISPUAXL.js").then(({TuiFontSize:t})=>t)],_i=ro;var Ti=(()=>{let i=class i{};i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=g({type:i,selectors:[["app"]],standalone:!0,features:[Wt],decls:7,vars:0,consts:[["ngProjectAs","tuiOverContent",5,["tuiOverContent"]],["ngProjectAs","tuiOverDialogs",5,["tuiOverDialogs"]],["ngProjectAs","tuiOverAlerts",5,["tuiOverAlerts"]],["ngProjectAs","tuiOverPortals",5,["tuiOverPortals"]],["ngProjectAs","tuiOverHints",5,["tuiOverHints"]]],template:function(r,p){r&1&&(c(0,"tui-root"),m(1,"router-outlet"),D(2,0)(3,1)(4,2)(5,3)(6,4),u())},dependencies:[dt,hi,te,ii],encapsulation:2,changeDetection:0});let t=i;return t})();var so=(()=>{let i=class i extends at{constructor(o,r,p){super(o,r,p)}ngOnDestroy(){this.flush()}};i.\u0275fac=function(r){return new(r||i)(j(A),j(G),j(st))},i.\u0275prov=Y({token:i,factory:i.\u0275fac});let t=i;return t})();function ao(){return new ve}function lo(t,i,e){return new _e(t,i,e)}var Ci=[{provide:st,useFactory:ao},{provide:at,useClass:so},{provide:Et,useFactory:lo,deps:[Jt,at,Bt]}],co=[{provide:G,useFactory:()=>new he},{provide:yt,useValue:"BrowserAnimations"},...Ci],Fr=[{provide:G,useClass:ge},{provide:yt,useValue:"NoopAnimations"},...Ci];function yi(){return kt("NgEagerAnimations"),[...co]}var Mi={providers:[yi(),ee([{path:"",pathMatch:"full",loadComponent:()=>St(void 0,null,function*(){return import("./chunk-NQ4YOQ3U.js")})}]),Qt(),Ht(dt,mi,Qe,ti),{provide:ei,deps:[X],useFactory:t=>[..._i,import("./chunk-RPDBA76T.js").then(({tuiCreateImageEditorExtension:i})=>i({injector:t}))]},{provide:$e,useClass:oi}]};var Oi={production:!1};Oi.production&&void 0;Kt(Ti,Mi).catch(t=>console.error(t)); -//# sourceMappingURL=main-WAIQLZS6.js.map +import{Ba as Ve,Ca as We,Da as Ge,Ea as Ze,Eb as ti,Fa as Ye,G as Ne,Ga as Xe,H as pt,I as we,Ib as ii,J as He,Jb as oi,K as je,L as Fe,La as Je,a as te,ab as Ke,b as ee,bb as qe,ca as xe,d as rt,da as Ee,e as de,ea as Re,g as w,h as H,ib as Qe,l as Ie,la as ke,ma as Be,na as Ue,o as be,oa as Le,p as De,q as ct,r as Se,s as ut,sa as ze,u as Pe,v as Ae,wa as mt,xa as $e}from"./chunk-MJJUDM22.js";import{$ as fe,Aa as h,D as ce,Da as Oe,E as ue,H as pe,Q as me,Sa as ei,b as Jt,c as Kt,ca as ge,d as qt,da as G,ea as st,f as Qt,fa as ve,g as ie,ga as at,ha as he,i as oe,ia as _e,j as Mt,k as Ot,ka as Te,l as It,la as Ce,na as lt,sa as ye,ta as B,ua as Me,w as nt}from"./chunk-2BBNTIDY.js";import"./chunk-J5MQQQCD.js";import{Ab as c,Bb as u,Cb as m,Cc as Yt,Da as z,Db as x,Dc as N,Ea as $,Eb as E,Ec as O,Fa as V,Fb as D,Gb as et,H as At,Ha as jt,Hb as Ut,Hc as k,Ib as Lt,Ja as J,Jb as y,Kb as v,Kc as _,La as Ft,Lb as it,Mb as I,Nc as Xt,Qa as xt,Ra as yt,Rb as zt,Sb as $t,U as Nt,Ub as Vt,Zb as M,_b as Wt,aa as C,ac as ot,bd as ne,cb as W,cd as re,dc as S,eb as K,ec as R,fc as Gt,ha as Y,hb as l,hd as se,ia as d,ib as n,jc as Zt,ma as j,mb as Et,na as wt,nb as Rt,nd as ae,p as Z,pb as kt,qb as Bt,qd as le,ra as X,sc as P,t as L,ta as g,u as F,ua as f,va as Ct,vb as a,wb as q,xb as s,y as Tt,ya as Ht,yb as Q,yc as A,z as Pt,zb as tt}from"./chunk-RLY256WD.js";import{f as St}from"./chunk-GOOAHOWT.js";function Di(t,i){if(t&1&&(D(0,3),S(1,"tuiMapper")),t&2){let e=i.$implicit,o=v(2);s("ngComponentOutlet",e.component.component)("ngComponentOutletInjector",Gt(1,2,e,o.mapper))}}function Si(t,i){if(t&1&&(c(0,"div",1),a(1,Di,2,5,"ng-container",2),u()),t&2){let e=i.$implicit;s("@tuiParentAnimation",void 0),l(),s("ngForOf",e)}}var ni=(()=>{class t{constructor(e,o,r,p){this.allAlerts=e,this.injector=o,this.destroy$=r,this.cdr=p,this.alerts=[],this.trackBy=T=>T,this.mapper=T=>jt.create({providers:[{provide:rt,useValue:T}],parent:this.injector})}ngOnInit(){F(this.allAlerts).pipe(C(this.destroy$)).subscribe(e=>{this.alerts=e,this.cdr.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(n(Te),n(X),n(h,2),n(P))},t.\u0275cmp=g({type:t,selectors:[["tui-alert-host"]],features:[M([h])],decls:1,vars:2,consts:[["class","t-wrapper",4,"ngFor","ngForOf","ngForTrackBy"],[1,"t-wrapper"],[3,"ngComponentOutlet","ngComponentOutletInjector",4,"ngFor","ngForOf"],[3,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(e,o){e&1&&a(0,Si,2,2,"div",0),e&2&&s("ngForOf",o.alerts)("ngForTrackBy",o.trackBy)},dependencies:[N,Yt,be],styles:[`tui-alert-host>.t-wrapper{position:fixed;top:0;left:0;display:flex;width:100%;height:100%;flex-direction:column;pointer-events:none}tui-alert-host>.t-wrapper>*{pointer-events:auto} +`],encapsulation:2,data:{animation:[nt]}}),t})(),ri=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({imports:[[_,De]]}),t})();var si=(()=>{class t{constructor(e,o,r){this.doc=e,this.el=o,this.renderer=r,this.activeElement=ce(this.doc),Promise.resolve().then(()=>this.el.nativeElement.focus())}onBlur(){this.renderer.removeAttribute(this.el.nativeElement,"tabIndex")}onFocusIn(e){let{nativeElement:o}=this.el;if(ae(o,e))return;let r=pe({initial:o,root:o});r&&r.focus()}ngOnDestroy(){ue(this.doc),Promise.resolve().then(()=>{le(this.activeElement)&&this.activeElement.focus()})}}return t.\u0275fac=function(e){return new(e||t)(n(A),n(J),n(Rt))},t.\u0275dir=Ct({type:t,selectors:[["","tuiFocusTrap",""]],hostAttrs:["tabIndex","0"],hostBindings:function(e,o){e&1&&y("blur",function(){return o.onBlur()})("focusin.silent",function(p){return o.onFocusIn(p.target)},!1,K)}}),t})(),ai=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({}),t})();function Pi(t,i){t&1&&D(0)}function Ai(t,i){t&1&&m(0,"tui-scroll-controls",5)}function Ni(t,i){if(t&1&&(c(0,"section",2),a(1,Pi,1,0,"ng-container",3)(2,Ai,1,0,"tui-scroll-controls",4),u()),t&2){let e=i.$implicit,o=v();s("@host",void 0),q("aria-labelledby",e.id),l(),s("polymorpheusOutlet",e.component)("polymorpheusOutletContext",e),l(),s("ngIf",!o.isMobile)}}function wi(t,i){if(t&1){let e=et();c(0,"div",6),y("transitionend",function(r){let p=z(e).tuiLet,T=v();return $(T.onDialog(r,!!T.dialogs.length,!!p))})("popstate",function(){let r=z(e).tuiLet,p=v();return $(p.closeLast(p.dialogs,!!r))},!1,K),u()}if(t&2){let e=v();tt("t-overlay_visible",e.dialogs.length)}}var bt={label:"ignoreMe"},Hi=t=>(t==null?void 0:t.label)===bt.label,ji=ne(Z(!1)),li=(()=>{class t{constructor(e,o,r,p,T,ft,gt,vt){this.isMobile=e,this.isDialogClosesOnBack$=o,this.dialogsByType=r,this.historyRef=p,this.titleService=T,this.destroy$=ft,this.cdr=gt,this.doc=vt,this.dialogs=[]}ngOnInit(){F(this.dialogsByType).pipe(L(e=>[].concat(...e).sort((o,r)=>o.createdAt-r.createdAt)),C(this.destroy$)).subscribe(e=>{var o;this.dialogs=e,this.cdr.markForCheck(),(o=this.doc.defaultView)===null||o===void 0||o.document.documentElement.classList.toggle("t-overscroll-none",!!e.length)})}closeLast(e,o){if(!o)return;let[r]=e.slice(-1);r&&(e.length>1&&this.historyRef.pushState(bt,this.titleService.getTitle()),r.$implicit.complete())}onDialog({propertyName:e},o,r){!r||e!=="letter-spacing"||(o?this.historyRef.pushState(bt,this.titleService.getTitle()):Hi(this.historyRef.state)&&this.historyRef.back())}}return t.\u0275fac=function(e){return new(e||t)(n(B),n(ji),n(lt),n(fe),n(qt),n(h,2),n(P),n(A))},t.\u0275cmp=g({type:t,selectors:[["tui-dialog-host"]],features:[M([h])],decls:3,vars:4,consts:[["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","","class","t-dialog",4,"ngFor","ngForOf"],["class","t-overlay",3,"t-overlay_visible","transitionend","popstate",4,"tuiLet"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiOverscroll","all","tuiScrollRef","",1,"t-dialog"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["class","t-scrollbars",4,"ngIf"],[1,"t-scrollbars"],[1,"t-overlay",3,"transitionend","popstate"]],template:function(e,o){e&1&&(a(0,Ni,3,5,"section",0)(1,wi,1,2,"div",1),S(2,"async")),e&2&&(s("ngForOf",o.dialogs),l(),s("tuiLet",R(2,2,o.isDialogClosesOnBack$)))},dependencies:[ct,N,si,we,Se,w,O,Ne,k],styles:["[_nghost-%COMP%]{position:fixed;left:0;bottom:0;width:100%;height:0}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-start;outline:none;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.t-overlay.ng-animating[_ngcontent-%COMP%], .t-dialog.ng-animating[_ngcontent-%COMP%]{overflow:clip}.t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar, .t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{display:none}.t-dialog[_ngcontent-%COMP%]{bottom:auto;height:100%}.t-overlay[_ngcontent-%COMP%]{height:100%;pointer-events:none;touch-action:none;opacity:0;letter-spacing:normal;transition:opacity var(--tui-duration, .3s),letter-spacing .01s;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-overlay_visible[_ngcontent-%COMP%]{opacity:1;letter-spacing:1px}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}.t-scrollbars[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;color:#747474}"],data:{animation:[ie("host",[Mt(":enter",[oe({overflow:"clip"}),It(":scope > *",[Ot()],{optional:!0})]),Mt(":leave",[It(":scope > *",[Ot()],{optional:!0})])])]}}),t})(),ci=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({imports:[[_,H,He,ai,pt,ut]]}),t})();var Fi=["*"],xi=t=>({$implicit:t});function Ei(t,i){if(t&1&&m(0,"tui-svg",5),t&2){let e=i.polymorpheusOutlet;s("src",e)}}function Ri(t,i){if(t&1&&(x(0),a(1,Ei,1,1,"tui-svg",4),E()),t&2){let e=v();l(),s("polymorpheusOutlet",e.icon)("polymorpheusOutletContext",ot(2,xi,e.status))}}function ki(t,i){if(t&1){let e=et();c(0,"button",6),S(1,"async"),y("click",function(){z(e);let r=v();return $(r.close.emit())}),u()}if(t&2){let e=v();s("icon",e.icons.close)("title",R(1,2,e.closeWord$))}}var ui=(()=>{class t{constructor(e,o,r){this.closeWord$=e,this.icons=o,this.options=r,this.hasIcon=this.options.hasIcon,this.icon=this.options.icon,this.status=this.options.status,this.size=this.options.size,this.hideClose=!1,this.close=new Ft}get hasClose(){return!this.hideClose&&me(this.close)}}return t.\u0275fac=function(e){return new(e||t)(n(ze),n(Le),n(mt))},t.\u0275cmp=g({type:t,selectors:[["tui-notification"],["a","tuiNotification",""],["button","tuiNotification",""]],hostVars:2,hostBindings:function(e,o){e&2&&q("data-status",o.status)("data-size",o.size)},inputs:{hasIcon:"hasIcon",icon:"icon",status:"status",size:"size",hideClose:"hideClose"},outputs:{close:"close"},ngContentSelectors:Fi,decls:5,vars:3,consts:[[4,"ngIf"],[1,"t-content"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button","class","t-close",3,"icon","title","click",4,"ngIf"],["automation-id","tui-notification__more",1,"t-more",3,"src"],["automation-id","tui-notification__icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification__icon",1,"t-icon",3,"src"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button",1,"t-close",3,"click","icon","title"]],template:function(e,o){e&1&&(it(),a(0,Ri,2,4,"ng-container",0),c(1,"div",1),I(2),u(),a(3,ki,2,4,"button",2),m(4,"tui-svg",3)),e&2&&(s("ngIf",o.icon&&o.hasIcon),l(3),s("ngIf",o.hasClose),l(),s("src",o.icons.more))},dependencies:[Ye,Ke,O,w,k],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:flex;padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-base-01);box-sizing:border-box;overflow:hidden;text-align:left}[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:none}button[_nghost-%COMP%], a[_nghost-%COMP%]{border:none;cursor:pointer}button[_nghost-%COMP%] .t-more[_ngcontent-%COMP%], a[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:inline-flex;color:var(--tui-text-01);opacity:.5}[data-size=s][_nghost-%COMP%]{padding:.375rem .625rem}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}[data-size=s][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem .75rem}[data-size=s][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=m][_nghost-%COMP%]{padding:.75rem}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}[data-size=m][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.125rem -.125rem 1rem}[data-size=m][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=l][_nghost-%COMP%]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:.5rem}[data-size=l][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin-right:-.5rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-info-fill);background:linear-gradient(var(--tui-info-bg),var(--tui-info-bg)),var(--tui-base-01)}[data-status=success][_nghost-%COMP%]{color:var(--tui-success-fill);background:linear-gradient(var(--tui-success-bg),var(--tui-success-bg)),var(--tui-base-01)}[data-status=error][_nghost-%COMP%]{color:var(--tui-error-fill);background:linear-gradient(var(--tui-error-bg),var(--tui-error-bg)),var(--tui-base-01)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-warning-fill);background:linear-gradient(var(--tui-warning-bg),var(--tui-warning-bg)),var(--tui-base-01)}[data-status=neutral][_nghost-%COMP%]{color:var(--tui-neutral-fill);background:linear-gradient(var(--tui-neutral-bg),var(--tui-neutral-bg)),var(--tui-base-01)}.t-content[_ngcontent-%COMP%]{flex:1;word-break:break-word;color:var(--tui-text-01);text-align:inherit;align-self:center}"],changeDetection:0}),t})(),pi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({imports:[[_,Xe,qe,H]]}),t})();function Ui(t,i){if(t&1&&(x(0),$t(1),E()),t&2){let e=i.polymorpheusOutlet;l(),Vt(" ",e," ")}}function Li(t,i){if(t&1&&(c(0,"label",4),a(1,Ui,2,1,"ng-container",5),u()),t&2){let e=v();l(),s("polymorpheusOutlet",e.item.label)("polymorpheusOutletContext",e.item)}}function zi(t,i){if(t&1&&m(0,"div",6),t&2){let e=i.polymorpheusOutlet;s("innerHTML",e,W)}}var $i=re(()=>wt(B)?"1rem 1rem 0 auto":"2rem 3rem 0 auto"),Vi=(()=>{class t{constructor(e,o,r,p,T){this.el=e,this.destroy$=o,this.position=r,this.options=p,this.item=T,this.autoClose=typeof this.item.autoClose=="function"?this.item.autoClose(this.item.status):this.item.autoClose,this.animation=this.position.endsWith("auto")?Object.assign(Object.assign({},this.options),{value:"right"}):Object.assign(Object.assign({},this.options),{value:"left"})}ngOnInit(){this.initAutoClose()}close(){this.item.$implicit.complete()}initAutoClose(){this.autoClose&&Pt(se(this.autoClose)?this.autoClose:3e3).pipe(C(Tt(this.el.nativeElement,"mouseenter")),Nt(()=>Tt(this.el.nativeElement,"mouseleave")),C(this.destroy$)).subscribe(()=>this.close())}}return t.\u0275fac=function(e){return new(e||t)(n(J),n(h,2),n($i),n(Ue),n(rt))},t.\u0275cmp=g({type:t,selectors:[["tui-alert"]],hostAttrs:["role","alert"],hostVars:5,hostBindings:function(e,o){e&2&&(Lt("@tuiFadeIn",o.options)("@tuiSlideIn",o.animation)("@tuiHeightCollapse",o.animation),Q("margin",o.position))},features:[M([h])],decls:4,vars:7,consts:[[3,"close","hasIcon","hideClose","icon","status"],["automation-id","tui-notification-alert__heading","class","t-heading",4,"ngIf"],["automation-id","tui-notification-alert__content",1,"t-content"],[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification-alert__heading",1,"t-heading"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(e,o){e&1&&(c(0,"tui-notification",0),y("close",function(){return o.close()}),a(1,Li,2,2,"label",1),c(2,"div",2),a(3,zi,1,1,"div",3),u()()),e&2&&(s("hasIcon",o.item.hasIcon)("hideClose",!o.item.hasCloseButton)("icon",o.item.icon)("status",o.item.status),l(),s("ngIf",o.item.label),l(2),s("polymorpheusOutlet",o.item.content)("polymorpheusOutletContext",o.item))},dependencies:[ui,O,w],styles:["[_nghost-%COMP%]{display:block;box-shadow:var(--tui-shadow-dropdown);border-radius:var(--tui-radius-l);width:18rem}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem!important}[_nghost-%COMP%]:not(:last-child){margin-bottom:0!important}.t-heading[_ngcontent-%COMP%]{margin:0}[data-size=s][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}[data-size=m][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:bold}[data-size=l][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-l);line-height:1.5rem;font-weight:bold}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-01);word-wrap:break-word;word-break:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}"],data:{animation:[Ee,Re,xe]},changeDetection:0}),t})(),Wi=(()=>{class t extends Ie{constructor(e,o){super(o),this.defaultOptions=e,this.component=new de(Vi)}}return t.\u0275fac=function(e){return new(e||t)(j(mt),j(Oe))},t.\u0275prov=Y({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var mi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({providers:[Ce(Wi)],imports:[[_,H,pi]]}),t})();var Zi=t=>({$implicit:t});function Yi(t,i){t&1&&D(0)}function Xi(t,i){if(t&1&&(c(0,"div",1),a(1,Yi,1,0,"ng-container",2),u()),t&2){let e=i.$implicit;s("@tuiParentAnimation",void 0)("tuiActiveZoneParent",e.activeZone||null),l(),s("polymorpheusOutlet",e.component)("polymorpheusOutletContext",ot(4,Zi,e))}}var di=(()=>{class t{constructor(e,o,r){this.hints$=e,this.destroy$=o,this.cdr=r,this.hints=[]}ngOnInit(){this.hints$.pipe(C(this.destroy$)).subscribe(e=>{this.hints=e,this.cdr.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(n(Ge),n(h,2),n(P))},t.\u0275cmp=g({type:t,selectors:[["tui-hints-host"]],hostAttrs:["aria-live","polite"],features:[M([h])],decls:1,vars:1,consts:[["role","tooltip",3,"tuiActiveZoneParent",4,"ngFor","ngForOf"],["role","tooltip",3,"tuiActiveZoneParent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(e,o){e&1&&a(0,Xi,2,6,"div",0),e&2&&s("ngForOf",o.hints)},dependencies:[N,Pe,w],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:0}"],data:{animation:[nt]}}),t})(),fi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({imports:[[_,H,Ae]]}),t})();function Ki(t,i){if(t&1&&(V(),m(0,"defs",4)),t&2){let e=i.$implicit;s("innerHTML",e,W)}}function qi(t,i){if(t&1&&(V(),x(0),a(1,Ki,1,1,"defs",3),E()),t&2){let e=v();l(),s("ngForOf",e.items)}}function Qi(t,i){if(t&1&&(V(),c(0,"defs"),m(1,"svg",6),u()),t&2){let e=i.$implicit;l(),s("outerHTML",e,W)}}function to(t,i){if(t&1&&a(0,Qi,2,1,"defs",5),t&2){let e=v();s("ngForOf",e.items)}}var gi=(()=>{class t{constructor(e,o,r,p){this.svgService=e,this.cdr=o,this.destroy$=r,this.isBrowser=!0,this.isBrowser=!Xt(p)}ngOnInit(){this.svgService.items$.pipe(C(this.destroy$)).subscribe(e=>{this.items=e.values(),this.cdr.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(n(Ze),n(P),n(h,2),n(xt))},t.\u0275cmp=g({type:t,selectors:[["tui-svg-defs-host"]],features:[M([h])],decls:4,vars:2,consts:[["server",""],["version","1.1",0,"xmlns","xlink","http://www.w3.org/1999/xlink","xmlns","http://www.w3.org/2000/svg"],[4,"ngIf","ngIfElse"],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[3,"outerHTML"]],template:function(e,o){if(e&1&&(V(),c(0,"svg",1),a(1,qi,2,1,"ng-container",2)(2,to,1,1,"ng-template",null,0,Zt),u()),e&2){let r=zt(3);l(),s("ngIf",o.isBrowser)("ngIfElse",r)}},dependencies:[O,N],styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0}),t})(),vi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({imports:[[_,pt]]}),t})();var io=["*",[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],oo=["*","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"];function no(t,i){t&1&&m(0,"tui-scroll-controls",2)}var hi=(()=>{class t{constructor(e,o,r,p,T,ft,gt,vt,Ii){var ht;this.reducedMotion=e,this.duration=o,this.dialogs=r,this.isMobile=p,this.breakpoint=T,this.isIOS=ft,this.isAndroid=gt,this.isMobileRes$=this.breakpoint.pipe(L(_t=>_t==="mobile")),this.scrollbars$=this.dialogs.length&&!this.isMobile?F([...this.dialogs]).pipe(L(_t=>!_t.some(({length:bi})=>bi)),At(0)):Z(!this.isMobile),(ht=vt.defaultView)===null||ht===void 0||ht.document.body.setAttribute("data-tui-theme",Ii.toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)(n(ke),n(Be),n(lt),n(B),n(We),n(ye),n(Me),n(A),n(Ve))},t.\u0275cmp=g({type:t,selectors:[["tui-root"]],hostAttrs:["data-tui-version","3.84.0"],hostVars:9,hostBindings:function(e,o){e&1&&y("touchstart.passive.silent",function(){return 0})("$.class._mobile",function(){return o.isMobileRes$}),e&2&&(Ut("$.class._mobile",o.isMobileRes$),Q("--tui-duration",o.duration,"ms"),tt("_ios",o.isIOS)("_android",o.isAndroid)("_reduced-motion",o.reducedMotion))},ngContentSelectors:oo,decls:14,vars:3,consts:[["class","t-root-scrollbar",4,"ngIf"],[1,"t-root-content"],[1,"t-root-scrollbar"]],template:function(e,o){e&1&&(it(io),a(0,no,1,0,"tui-scroll-controls",0),S(1,"async"),m(2,"tui-svg-defs-host"),c(3,"tui-dropdown-host")(4,"div",1),I(5),u(),I(6,1),m(7,"tui-dialog-host"),I(8,2),m(9,"tui-alert-host"),I(10,3),u(),I(11,4),m(12,"tui-hints-host"),I(13,5)),e&2&&s("ngIf",R(1,1,o.scrollbars$))},dependencies:[ct,gi,je,li,ni,di,O,k],styles:[`@keyframes tuiPresent{to{content:"1"}}@keyframes tuiSkeletonVibe{to{opacity:.5}}html,.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{display:none}body[data-tui-theme]{font:var(--tui-font-text-s);color:var(--tui-text-01);background:var(--tui-base-01);margin:0}tui-root{position:relative;display:block;flex:1;-webkit-tap-highlight-color:transparent}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;display:none;margin:0}[data-tui-theme] tui-root>.t-root-scrollbar{display:block}.t-root-content{height:100%;isolation:isolate;transform:translateY(var(--t-root-top))}[tuiDropdownButton][tuiDropdownButton]{display:none}.t-overscroll-none{overscroll-behavior:none} +`],encapsulation:2}),t})(),dt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=f({type:t}),t.\u0275inj=d({imports:[[_,Je,Fe,vi,fi,ci,ri,ut]]}),t})();var ro=[import("./chunk-TDHOYHWP.js").then(({StarterKit:t})=>t).then(t=>t.configure({heading:{levels:[1,2,3,4,5,6]}})),import("./chunk-FIA4QGVF.js").then(({default:t})=>t.configure({types:["heading","paragraph"]})),import("./chunk-4UKZBYPS.js").then(({default:t})=>t),import("./chunk-FUMOYEVA.js").then(({default:t})=>t),import("./chunk-DAPS4CYE.js").then(({default:t})=>t),import("./chunk-YCMBXQIW.js").then(({default:t})=>t),import("./chunk-2C42PP3N.js").then(({FontColor:t})=>t),import("./chunk-D6XQSYED.js").then(({TuiLink:t})=>t),import("./chunk-JOF5LDD4.js").then(({TuiJumpAnchor:t})=>t),import("./chunk-4KXESJXW.js").then(({TuiFileLink:t})=>t),import("./chunk-LMX2ACGI.js").then(({BackgroundColor:t})=>t),import("./chunk-4TB5QD4Q.js").then(({TuiTable:t})=>t.configure({resizable:!0})),import("./chunk-WBOTJDKX.js").then(({TuiTableCell:t})=>t),import("./chunk-YBSSW44U.js").then(({default:t})=>t),import("./chunk-NRKGVSLD.js").then(({TableHeader:t})=>t),import("./chunk-WQ5F45AV.js").then(({TuiTabExtension:t})=>t),import("./chunk-NEE5JZUV.js").then(({TableCellBackground:t})=>t),import("./chunk-NUCNAFZH.js").then(({TuiDetailsContent:t})=>t),import("./chunk-NUCNAFZH.js").then(({TuiDetails:t})=>t),import("./chunk-NUCNAFZH.js").then(({TuiSummary:t})=>t),import("./chunk-ZISPUAXL.js").then(({TuiFontSize:t})=>t)],_i=ro;var Ti=(()=>{let i=class i{};i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=g({type:i,selectors:[["app"]],standalone:!0,features:[Wt],decls:7,vars:0,consts:[["ngProjectAs","tuiOverContent",5,["tuiOverContent"]],["ngProjectAs","tuiOverDialogs",5,["tuiOverDialogs"]],["ngProjectAs","tuiOverAlerts",5,["tuiOverAlerts"]],["ngProjectAs","tuiOverPortals",5,["tuiOverPortals"]],["ngProjectAs","tuiOverHints",5,["tuiOverHints"]]],template:function(r,p){r&1&&(c(0,"tui-root"),m(1,"router-outlet"),D(2,0)(3,1)(4,2)(5,3)(6,4),u())},dependencies:[dt,hi,te,ii],encapsulation:2,changeDetection:0});let t=i;return t})();var so=(()=>{let i=class i extends at{constructor(o,r,p){super(o,r,p)}ngOnDestroy(){this.flush()}};i.\u0275fac=function(r){return new(r||i)(j(A),j(G),j(st))},i.\u0275prov=Y({token:i,factory:i.\u0275fac});let t=i;return t})();function ao(){return new ve}function lo(t,i,e){return new _e(t,i,e)}var Ci=[{provide:st,useFactory:ao},{provide:at,useClass:so},{provide:Et,useFactory:lo,deps:[Jt,at,Bt]}],co=[{provide:G,useFactory:()=>new he},{provide:yt,useValue:"BrowserAnimations"},...Ci],Fr=[{provide:G,useClass:ge},{provide:yt,useValue:"NoopAnimations"},...Ci];function yi(){return kt("NgEagerAnimations"),[...co]}var Mi={providers:[yi(),ee([{path:"",pathMatch:"full",loadComponent:()=>St(void 0,null,function*(){return import("./chunk-C4GU22I3.js")})}]),Qt(),Ht(dt,mi,Qe,ti),{provide:ei,deps:[X],useFactory:t=>[..._i,import("./chunk-A3YZ7SOG.js").then(({tuiCreateImageEditorExtension:i})=>i({injector:t}))]},{provide:$e,useClass:oi}]};var Oi={production:!1};Oi.production&&void 0;Kt(Ti,Mi).catch(t=>console.error(t)); +//# sourceMappingURL=main-LXNJ27NN.js.map diff --git a/main-WAIQLZS6.js.map b/main-LXNJ27NN.js.map similarity index 99% rename from main-WAIQLZS6.js.map rename to main-LXNJ27NN.js.map index 8049cf24..4dbf5268 100644 --- a/main-WAIQLZS6.js.map +++ b/main-LXNJ27NN.js.map @@ -1 +1 @@ -{"version":3,"sources":["node_modules/@taiga-ui/cdk/fesm2015/taiga-ui-cdk-components-alert-host.js","node_modules/@taiga-ui/cdk/fesm2015/taiga-ui-cdk-directives-focus-trap.js","node_modules/@taiga-ui/cdk/fesm2015/taiga-ui-cdk-components-dialog-host.js","node_modules/@taiga-ui/core/fesm2015/taiga-ui-core-components-notification.js","node_modules/@taiga-ui/core/fesm2015/taiga-ui-core-components-alert.js","node_modules/@taiga-ui/core/fesm2015/taiga-ui-core-components-hints-host.js","node_modules/@taiga-ui/core/fesm2015/taiga-ui-core-internal-svg-defs-host.js","node_modules/@taiga-ui/core/fesm2015/taiga-ui-core-components-root.js","node_modules/@tinkoff/tui-editor/fesm2015/tinkoff-tui-editor-extensions-default-editor-extensions.js","apps/demo/src/app/app.component.ts","apps/demo/src/app/app.component.html","node_modules/@angular/platform-browser/fesm2022/animations.mjs","apps/demo/src/app/app.config.ts","apps/demo/src/environments/environment.ts","apps/demo/src/main.ts"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Injector, INJECTOR, ChangeDetectorRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Inject, Self, NgModule } from '@angular/core';\nimport { TUI_PARENT_ANIMATION } from '@taiga-ui/cdk/constants';\nimport { TuiDestroyService } from '@taiga-ui/cdk/services';\nimport { TUI_ALERTS } from '@taiga-ui/cdk/tokens';\nimport { POLYMORPHEUS_CONTEXT } from '@tinkoff/ng-polymorpheus';\nimport * as i3 from 'rxjs';\nimport { combineLatest } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i2 from '@taiga-ui/cdk/pipes';\nimport { TuiMapperPipeModule } from '@taiga-ui/cdk/pipes';\nfunction TuiAlertHostComponent_div_0_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0, 3);\n i0.ɵɵpipe(1, \"tuiMapper\");\n }\n if (rf & 2) {\n const item_r1 = ctx.$implicit;\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngComponentOutlet\", item_r1.component.component)(\"ngComponentOutletInjector\", i0.ɵɵpipeBind2(1, 2, item_r1, ctx_r1.mapper));\n }\n}\nfunction TuiAlertHostComponent_div_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 1);\n i0.ɵɵtemplate(1, TuiAlertHostComponent_div_0_ng_container_1_Template, 2, 5, \"ng-container\", 2);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const alert_r3 = ctx.$implicit;\n i0.ɵɵproperty(\"@tuiParentAnimation\", undefined);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", alert_r3);\n }\n}\nlet TuiAlertHostComponent = /*#__PURE__*/(() => {\n class TuiAlertHostComponent {\n constructor(allAlerts, injector, destroy$, cdr) {\n this.allAlerts = allAlerts;\n this.injector = injector;\n this.destroy$ = destroy$;\n this.cdr = cdr;\n this.alerts = [];\n this.trackBy = index => index;\n this.mapper = useValue => Injector.create({\n providers: [{\n provide: POLYMORPHEUS_CONTEXT,\n useValue\n }],\n parent: this.injector\n });\n }\n ngOnInit() {\n // Due to this view being parallel to app content, `markForCheck` from `async` pipe\n // can happen after view was checked, so calling `detectChanges` instead\n combineLatest(this.allAlerts).pipe(takeUntil(this.destroy$)).subscribe(alerts => {\n this.alerts = alerts;\n this.cdr.detectChanges();\n });\n }\n }\n TuiAlertHostComponent.ɵfac = function TuiAlertHostComponent_Factory(t) {\n return new (t || TuiAlertHostComponent)(i0.ɵɵdirectiveInject(TUI_ALERTS), i0.ɵɵdirectiveInject(INJECTOR), i0.ɵɵdirectiveInject(TuiDestroyService, 2), i0.ɵɵdirectiveInject(ChangeDetectorRef));\n };\n TuiAlertHostComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TuiAlertHostComponent,\n selectors: [[\"tui-alert-host\"]],\n features: [i0.ɵɵProvidersFeature([TuiDestroyService])],\n decls: 1,\n vars: 2,\n consts: [[\"class\", \"t-wrapper\", 4, \"ngFor\", \"ngForOf\", \"ngForTrackBy\"], [1, \"t-wrapper\"], [3, \"ngComponentOutlet\", \"ngComponentOutletInjector\", 4, \"ngFor\", \"ngForOf\"], [3, \"ngComponentOutlet\", \"ngComponentOutletInjector\"]],\n template: function TuiAlertHostComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, TuiAlertHostComponent_div_0_Template, 2, 2, \"div\", 0);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngForOf\", ctx.alerts)(\"ngForTrackBy\", ctx.trackBy);\n }\n },\n dependencies: [i1.NgForOf, i1.NgComponentOutlet, i2.TuiMapperPipe],\n styles: [\"tui-alert-host>.t-wrapper{position:fixed;top:0;left:0;display:flex;width:100%;height:100%;flex-direction:column;pointer-events:none}tui-alert-host>.t-wrapper>*{pointer-events:auto}\\n\"],\n encapsulation: 2,\n data: {\n animation: [TUI_PARENT_ANIMATION]\n }\n });\n return TuiAlertHostComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiAlertHostModule = /*#__PURE__*/(() => {\n class TuiAlertHostModule {}\n TuiAlertHostModule.ɵfac = function TuiAlertHostModule_Factory(t) {\n return new (t || TuiAlertHostModule)();\n };\n TuiAlertHostModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiAlertHostModule\n });\n TuiAlertHostModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [[CommonModule, TuiMapperPipeModule]]\n });\n return TuiAlertHostModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TuiAlertHostComponent, TuiAlertHostModule };\n","import { DOCUMENT } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { ElementRef, Renderer2, Directive, Inject, HostListener, NgModule } from '@angular/core';\nimport { tuiContainsOrAfter, tuiIsHTMLElement } from '@taiga-ui/cdk/utils/dom';\nimport { tuiGetNativeFocused, tuiGetClosestFocusable, tuiBlurNativeFocused } from '@taiga-ui/cdk/utils/focus';\nlet TuiFocusTrapDirective = /*#__PURE__*/(() => {\n class TuiFocusTrapDirective {\n constructor(doc, el, renderer) {\n this.doc = doc;\n this.el = el;\n this.renderer = renderer;\n this.activeElement = tuiGetNativeFocused(this.doc);\n /**\n * This would cause currently focused element to lose focus,\n * but it might cause ExpressionChanged error due to potential HostBinding.\n * Microtask keeps it in the same frame but allows change detection to run\n */\n void Promise.resolve().then(() => this.el.nativeElement.focus());\n }\n onBlur() {\n this.renderer.removeAttribute(this.el.nativeElement, 'tabIndex');\n }\n onFocusIn(node) {\n const {\n nativeElement\n } = this.el;\n if (tuiContainsOrAfter(nativeElement, node)) {\n return;\n }\n const focusable = tuiGetClosestFocusable({\n initial: nativeElement,\n root: nativeElement\n });\n if (focusable) {\n focusable.focus();\n }\n }\n ngOnDestroy() {\n tuiBlurNativeFocused(this.doc);\n /**\n * HostListeners are triggered even after ngOnDestroy\n * {@link https://github.com/angular/angular/issues/38100}\n * so we need to delay it but stay in the same sync cycle,\n * therefore using Promise instead of setTimeout\n */\n // eslint-disable-next-line\n Promise.resolve().then(() => {\n if (tuiIsHTMLElement(this.activeElement)) {\n this.activeElement.focus();\n }\n });\n }\n }\n TuiFocusTrapDirective.ɵfac = function TuiFocusTrapDirective_Factory(t) {\n return new (t || TuiFocusTrapDirective)(i0.ɵɵdirectiveInject(DOCUMENT), i0.ɵɵdirectiveInject(ElementRef), i0.ɵɵdirectiveInject(Renderer2));\n };\n TuiFocusTrapDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: TuiFocusTrapDirective,\n selectors: [[\"\", \"tuiFocusTrap\", \"\"]],\n hostAttrs: [\"tabIndex\", \"0\"],\n hostBindings: function TuiFocusTrapDirective_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"blur\", function TuiFocusTrapDirective_blur_HostBindingHandler() {\n return ctx.onBlur();\n })(\"focusin.silent\", function TuiFocusTrapDirective_focusin_silent_HostBindingHandler($event) {\n return ctx.onFocusIn($event.target);\n }, false, i0.ɵɵresolveWindow);\n }\n }\n });\n return TuiFocusTrapDirective;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiFocusTrapModule = /*#__PURE__*/(() => {\n class TuiFocusTrapModule {}\n TuiFocusTrapModule.ɵfac = function TuiFocusTrapModule_Factory(t) {\n return new (t || TuiFocusTrapModule)();\n };\n TuiFocusTrapModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiFocusTrapModule\n });\n TuiFocusTrapModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({});\n return TuiFocusTrapModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TuiFocusTrapDirective, TuiFocusTrapModule };\n","import { trigger, transition, style, query, animateChild } from '@angular/animations';\nimport * as i2 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { ChangeDetectorRef, Component, ChangeDetectionStrategy, Inject, Self, NgModule } from '@angular/core';\nimport * as i6 from '@angular/platform-browser';\nimport { Title } from '@angular/platform-browser';\nimport { HISTORY } from '@ng-web-apis/common';\nimport { TuiDestroyService } from '@taiga-ui/cdk/services';\nimport { TUI_IS_MOBILE, TUI_DIALOGS } from '@taiga-ui/cdk/tokens';\nimport { tuiCreateToken } from '@taiga-ui/cdk/utils';\nimport * as i5 from 'rxjs';\nimport { of, combineLatest } from 'rxjs';\nimport { map, takeUntil } from 'rxjs/operators';\nimport * as i1 from '@taiga-ui/cdk/components/scroll-controls';\nimport { TuiScrollControlsModule } from '@taiga-ui/cdk/components/scroll-controls';\nimport * as i3 from '@taiga-ui/cdk/directives';\nimport { TuiOverscrollModule, TuiFocusTrapModule, TuiLetModule } from '@taiga-ui/cdk/directives';\nimport * as i4 from '@tinkoff/ng-polymorpheus';\nimport { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';\nfunction TuiDialogHostComponent_section_0_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction TuiDialogHostComponent_section_0_tui_scroll_controls_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"tui-scroll-controls\", 5);\n }\n}\nfunction TuiDialogHostComponent_section_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"section\", 2);\n i0.ɵɵtemplate(1, TuiDialogHostComponent_section_0_ng_container_1_Template, 1, 0, \"ng-container\", 3)(2, TuiDialogHostComponent_section_0_tui_scroll_controls_2_Template, 1, 0, \"tui-scroll-controls\", 4);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const item_r1 = ctx.$implicit;\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"@host\", undefined);\n i0.ɵɵattribute(\"aria-labelledby\", item_r1.id);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"polymorpheusOutlet\", item_r1.component)(\"polymorpheusOutletContext\", item_r1);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.isMobile);\n }\n}\nfunction TuiDialogHostComponent_div_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 6);\n i0.ɵɵlistener(\"transitionend\", function TuiDialogHostComponent_div_1_Template_div_transitionend_0_listener($event) {\n const isDialogClosesOnBack_r4 = i0.ɵɵrestoreView(_r3).tuiLet;\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.onDialog($event, !!ctx_r1.dialogs.length, !!isDialogClosesOnBack_r4));\n })(\"popstate\", function TuiDialogHostComponent_div_1_Template_div_popstate_0_listener() {\n const isDialogClosesOnBack_r4 = i0.ɵɵrestoreView(_r3).tuiLet;\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.closeLast(ctx_r1.dialogs, !!isDialogClosesOnBack_r4));\n }, false, i0.ɵɵresolveWindow);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵclassProp(\"t-overlay_visible\", ctx_r1.dialogs.length);\n }\n}\nconst FAKE_HISTORY_STATE = {\n label: 'ignoreMe'\n};\nconst isFakeHistoryState = historyState => (historyState === null || historyState === void 0 ? void 0 : historyState.label) === FAKE_HISTORY_STATE.label;\n/**\n * Is closing dialog on browser backward navigation enabled\n */\nconst TUI_DIALOG_CLOSES_ON_BACK = tuiCreateToken(of(false));\nlet TuiDialogHostComponent = /*#__PURE__*/(() => {\n class TuiDialogHostComponent {\n constructor(isMobile, isDialogClosesOnBack$, dialogsByType, historyRef, titleService, destroy$, cdr, doc) {\n this.isMobile = isMobile;\n this.isDialogClosesOnBack$ = isDialogClosesOnBack$;\n this.dialogsByType = dialogsByType;\n this.historyRef = historyRef;\n this.titleService = titleService;\n this.destroy$ = destroy$;\n this.cdr = cdr;\n this.doc = doc;\n this.dialogs = [];\n }\n ngOnInit() {\n // Due to this view being parallel to app content, `markForCheck` from `async` pipe\n // can happen after view was checked, so calling `detectChanges` instead\n combineLatest(this.dialogsByType).pipe(map(arr => [].concat(...arr).sort((a, b) => a.createdAt - b.createdAt)), takeUntil(this.destroy$)).subscribe(dialogs => {\n var _a;\n this.dialogs = dialogs;\n this.cdr.markForCheck();\n (_a = this.doc.defaultView) === null || _a === void 0 ? void 0 : _a.document.documentElement.classList.toggle('t-overscroll-none', !!dialogs.length);\n });\n }\n closeLast(dialogs, isDialogClosesOnBack) {\n if (!isDialogClosesOnBack) {\n return;\n }\n const [last] = dialogs.slice(-1);\n if (!last) {\n return;\n }\n if (dialogs.length > 1) {\n this.historyRef.pushState(FAKE_HISTORY_STATE, this.titleService.getTitle());\n }\n last.$implicit.complete();\n }\n onDialog({\n propertyName\n }, popupOpened, isDialogClosesOnBack) {\n if (!isDialogClosesOnBack || propertyName !== 'letter-spacing') {\n return;\n }\n if (popupOpened) {\n this.historyRef.pushState(FAKE_HISTORY_STATE, this.titleService.getTitle());\n } else if (isFakeHistoryState(this.historyRef.state)) {\n this.historyRef.back();\n }\n }\n }\n TuiDialogHostComponent.ɵfac = function TuiDialogHostComponent_Factory(t) {\n return new (t || TuiDialogHostComponent)(i0.ɵɵdirectiveInject(TUI_IS_MOBILE), i0.ɵɵdirectiveInject(TUI_DIALOG_CLOSES_ON_BACK), i0.ɵɵdirectiveInject(TUI_DIALOGS), i0.ɵɵdirectiveInject(HISTORY), i0.ɵɵdirectiveInject(Title), i0.ɵɵdirectiveInject(TuiDestroyService, 2), i0.ɵɵdirectiveInject(ChangeDetectorRef), i0.ɵɵdirectiveInject(DOCUMENT));\n };\n TuiDialogHostComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TuiDialogHostComponent,\n selectors: [[\"tui-dialog-host\"]],\n features: [i0.ɵɵProvidersFeature([TuiDestroyService])],\n decls: 3,\n vars: 4,\n consts: [[\"aria-modal\", \"true\", \"role\", \"dialog\", \"tuiFocusTrap\", \"\", \"tuiOverscroll\", \"all\", \"tuiScrollRef\", \"\", \"class\", \"t-dialog\", 4, \"ngFor\", \"ngForOf\"], [\"class\", \"t-overlay\", 3, \"t-overlay_visible\", \"transitionend\", \"popstate\", 4, \"tuiLet\"], [\"aria-modal\", \"true\", \"role\", \"dialog\", \"tuiFocusTrap\", \"\", \"tuiOverscroll\", \"all\", \"tuiScrollRef\", \"\", 1, \"t-dialog\"], [4, \"polymorpheusOutlet\", \"polymorpheusOutletContext\"], [\"class\", \"t-scrollbars\", 4, \"ngIf\"], [1, \"t-scrollbars\"], [1, \"t-overlay\", 3, \"transitionend\", \"popstate\"]],\n template: function TuiDialogHostComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, TuiDialogHostComponent_section_0_Template, 3, 5, \"section\", 0)(1, TuiDialogHostComponent_div_1_Template, 1, 2, \"div\", 1);\n i0.ɵɵpipe(2, \"async\");\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngForOf\", ctx.dialogs);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"tuiLet\", i0.ɵɵpipeBind1(2, 2, ctx.isDialogClosesOnBack$));\n }\n },\n dependencies: [i1.TuiScrollControlsComponent, i2.NgForOf, i3.TuiFocusTrapDirective, i3.TuiOverscrollDirective, i1.TuiScrollRefDirective, i4.PolymorpheusOutletDirective, i2.NgIf, i3.TuiLetDirective, i2.AsyncPipe],\n styles: [\"[_nghost-%COMP%]{position:fixed;left:0;bottom:0;width:100%;height:0}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-start;outline:none;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.t-overlay.ng-animating[_ngcontent-%COMP%], .t-dialog.ng-animating[_ngcontent-%COMP%]{overflow:clip}.t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar, .t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{display:none}.t-dialog[_ngcontent-%COMP%]{bottom:auto;height:100%}.t-overlay[_ngcontent-%COMP%]{height:100%;pointer-events:none;touch-action:none;opacity:0;letter-spacing:normal;transition:opacity var(--tui-duration, .3s),letter-spacing .01s;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-overlay_visible[_ngcontent-%COMP%]{opacity:1;letter-spacing:1px}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}.t-scrollbars[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;color:#747474}\"],\n data: {\n animation: [trigger('host', [transition(':enter', [style({\n overflow: 'clip'\n }), query(':scope > *', [animateChild()], {\n optional: true\n })]), transition(':leave', [query(':scope > *', [animateChild()], {\n optional: true\n })])])]\n }\n });\n return TuiDialogHostComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiDialogHostModule = /*#__PURE__*/(() => {\n class TuiDialogHostModule {}\n TuiDialogHostModule.ɵfac = function TuiDialogHostModule_Factory(t) {\n return new (t || TuiDialogHostModule)();\n };\n TuiDialogHostModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiDialogHostModule\n });\n TuiDialogHostModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [[CommonModule, PolymorpheusModule, TuiOverscrollModule, TuiFocusTrapModule, TuiLetModule, TuiScrollControlsModule]]\n });\n return TuiDialogHostModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TUI_DIALOG_CLOSES_ON_BACK, TuiDialogHostComponent, TuiDialogHostModule };\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, ChangeDetectionStrategy, Inject, Input, HostBinding, Output, NgModule } from '@angular/core';\nimport { tuiIsObserved } from '@taiga-ui/cdk';\nimport { TUI_CLOSE_WORD, TUI_COMMON_ICONS, TUI_NOTIFICATION_OPTIONS } from '@taiga-ui/core/tokens';\nimport * as i1 from '@taiga-ui/core/components/svg';\nimport { TuiSvgModule } from '@taiga-ui/core/components/svg';\nimport * as i2 from '@taiga-ui/core/components/button';\nimport { TuiButtonModule } from '@taiga-ui/core/components/button';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i4 from '@tinkoff/ng-polymorpheus';\nimport { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';\nimport * as i5 from 'rxjs';\nconst _c0 = [\"*\"];\nconst _c1 = a0 => ({\n $implicit: a0\n});\nfunction TuiNotificationComponent_ng_container_0_tui_svg_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"tui-svg\", 5);\n }\n if (rf & 2) {\n const iconName_r1 = ctx.polymorpheusOutlet;\n i0.ɵɵproperty(\"src\", iconName_r1);\n }\n}\nfunction TuiNotificationComponent_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, TuiNotificationComponent_ng_container_0_tui_svg_1_Template, 1, 1, \"tui-svg\", 4);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"polymorpheusOutlet\", ctx_r1.icon)(\"polymorpheusOutletContext\", i0.ɵɵpureFunction1(2, _c1, ctx_r1.status));\n }\n}\nfunction TuiNotificationComponent_button_3_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 6);\n i0.ɵɵpipe(1, \"async\");\n i0.ɵɵlistener(\"click\", function TuiNotificationComponent_button_3_Template_button_click_0_listener() {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.close.emit());\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"icon\", ctx_r1.icons.close)(\"title\", i0.ɵɵpipeBind1(1, 2, ctx_r1.closeWord$));\n }\n}\nlet TuiNotificationComponent = /*#__PURE__*/(() => {\n class TuiNotificationComponent {\n constructor(closeWord$, icons, options) {\n this.closeWord$ = closeWord$;\n this.icons = icons;\n this.options = options;\n /**\n * @deprecated Use {@link TuiNotificationComponent.icon} input or TUI_NOTIFICATION_OPTIONS instead\n */\n this.hasIcon = this.options.hasIcon;\n this.icon = this.options.icon;\n this.status = this.options.status;\n this.size = this.options.size;\n this.hideClose = false;\n this.close = new EventEmitter();\n }\n get hasClose() {\n return !this.hideClose && tuiIsObserved(this.close);\n }\n }\n TuiNotificationComponent.ɵfac = function TuiNotificationComponent_Factory(t) {\n return new (t || TuiNotificationComponent)(i0.ɵɵdirectiveInject(TUI_CLOSE_WORD), i0.ɵɵdirectiveInject(TUI_COMMON_ICONS), i0.ɵɵdirectiveInject(TUI_NOTIFICATION_OPTIONS));\n };\n TuiNotificationComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TuiNotificationComponent,\n selectors: [[\"tui-notification\"], [\"a\", \"tuiNotification\", \"\"], [\"button\", \"tuiNotification\", \"\"]],\n hostVars: 2,\n hostBindings: function TuiNotificationComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"data-status\", ctx.status)(\"data-size\", ctx.size);\n }\n },\n inputs: {\n hasIcon: \"hasIcon\",\n icon: \"icon\",\n status: \"status\",\n size: \"size\",\n hideClose: \"hideClose\"\n },\n outputs: {\n close: \"close\"\n },\n ngContentSelectors: _c0,\n decls: 5,\n vars: 3,\n consts: [[4, \"ngIf\"], [1, \"t-content\"], [\"appearance\", \"icon\", \"automation-id\", \"tui-notification__close\", \"size\", \"xs\", \"tuiIconButton\", \"\", \"type\", \"button\", \"class\", \"t-close\", 3, \"icon\", \"title\", \"click\", 4, \"ngIf\"], [\"automation-id\", \"tui-notification__more\", 1, \"t-more\", 3, \"src\"], [\"automation-id\", \"tui-notification__icon\", \"class\", \"t-icon\", 3, \"src\", 4, \"polymorpheusOutlet\", \"polymorpheusOutletContext\"], [\"automation-id\", \"tui-notification__icon\", 1, \"t-icon\", 3, \"src\"], [\"appearance\", \"icon\", \"automation-id\", \"tui-notification__close\", \"size\", \"xs\", \"tuiIconButton\", \"\", \"type\", \"button\", 1, \"t-close\", 3, \"click\", \"icon\", \"title\"]],\n template: function TuiNotificationComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵtemplate(0, TuiNotificationComponent_ng_container_0_Template, 2, 4, \"ng-container\", 0);\n i0.ɵɵelementStart(1, \"div\", 1);\n i0.ɵɵprojection(2);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(3, TuiNotificationComponent_button_3_Template, 2, 4, \"button\", 2);\n i0.ɵɵelement(4, \"tui-svg\", 3);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngIf\", ctx.icon && ctx.hasIcon);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngIf\", ctx.hasClose);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"src\", ctx.icons.more);\n }\n },\n dependencies: [i1.TuiSvgComponent, i2.TuiButtonComponent, i3.NgIf, i4.PolymorpheusOutletDirective, i3.AsyncPipe],\n styles: [\"[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:flex;padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-base-01);box-sizing:border-box;overflow:hidden;text-align:left}[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:none}button[_nghost-%COMP%], a[_nghost-%COMP%]{border:none;cursor:pointer}button[_nghost-%COMP%] .t-more[_ngcontent-%COMP%], a[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:inline-flex;color:var(--tui-text-01);opacity:.5}[data-size=s][_nghost-%COMP%]{padding:.375rem .625rem}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}[data-size=s][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem .75rem}[data-size=s][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=m][_nghost-%COMP%]{padding:.75rem}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}[data-size=m][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.125rem -.125rem 1rem}[data-size=m][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=l][_nghost-%COMP%]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:.5rem}[data-size=l][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin-right:-.5rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-info-fill);background:linear-gradient(var(--tui-info-bg),var(--tui-info-bg)),var(--tui-base-01)}[data-status=success][_nghost-%COMP%]{color:var(--tui-success-fill);background:linear-gradient(var(--tui-success-bg),var(--tui-success-bg)),var(--tui-base-01)}[data-status=error][_nghost-%COMP%]{color:var(--tui-error-fill);background:linear-gradient(var(--tui-error-bg),var(--tui-error-bg)),var(--tui-base-01)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-warning-fill);background:linear-gradient(var(--tui-warning-bg),var(--tui-warning-bg)),var(--tui-base-01)}[data-status=neutral][_nghost-%COMP%]{color:var(--tui-neutral-fill);background:linear-gradient(var(--tui-neutral-bg),var(--tui-neutral-bg)),var(--tui-base-01)}.t-content[_ngcontent-%COMP%]{flex:1;word-break:break-word;color:var(--tui-text-01);text-align:inherit;align-self:center}\"],\n changeDetection: 0\n });\n return TuiNotificationComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiNotificationModule = /*#__PURE__*/(() => {\n class TuiNotificationModule {}\n TuiNotificationModule.ɵfac = function TuiNotificationModule_Factory(t) {\n return new (t || TuiNotificationModule)();\n };\n TuiNotificationModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiNotificationModule\n });\n TuiNotificationModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [[CommonModule, TuiSvgModule, TuiButtonModule, PolymorpheusModule]]\n });\n return TuiNotificationModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TuiNotificationComponent, TuiNotificationModule };\n","import * as i0 from '@angular/core';\nimport { inject, ElementRef, Component, ChangeDetectionStrategy, Inject, Self, Injectable, Directive, NgModule } from '@angular/core';\nimport * as i4 from '@taiga-ui/cdk';\nimport { tuiCreateTokenFromFactory, TUI_IS_MOBILE, tuiIsNumber, TuiDestroyService, AbstractTuiDialogService, TuiIdService, AbstractTuiDialogDirective, tuiAsAlerts } from '@taiga-ui/cdk';\nimport { tuiFadeIn, tuiSlideIn, tuiHeightCollapse } from '@taiga-ui/core/animations';\nimport { TUI_ANIMATION_OPTIONS, TUI_NOTIFICATION_OPTIONS } from '@taiga-ui/core/tokens';\nimport * as i3 from '@tinkoff/ng-polymorpheus';\nimport { POLYMORPHEUS_CONTEXT, PolymorpheusComponent, PolymorpheusModule } from '@tinkoff/ng-polymorpheus';\nimport { timer, fromEvent } from 'rxjs';\nimport { takeUntil, repeatWhen } from 'rxjs/operators';\nimport * as i1 from '@taiga-ui/core/components/notification';\nimport { TuiNotificationModule } from '@taiga-ui/core/components/notification';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nfunction TuiAlertComponent_label_1_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtext(1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const text_r1 = ctx.polymorpheusOutlet;\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", text_r1, \" \");\n }\n}\nfunction TuiAlertComponent_label_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"label\", 4);\n i0.ɵɵtemplate(1, TuiAlertComponent_label_1_ng_container_1_Template, 2, 1, \"ng-container\", 5);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"polymorpheusOutlet\", ctx_r1.item.label)(\"polymorpheusOutletContext\", ctx_r1.item);\n }\n}\nfunction TuiAlertComponent_div_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"div\", 6);\n }\n if (rf & 2) {\n const text_r3 = ctx.polymorpheusOutlet;\n i0.ɵɵproperty(\"innerHTML\", text_r3, i0.ɵɵsanitizeHtml);\n }\n}\nconst TUI_ALERT_POSITION = tuiCreateTokenFromFactory(() => inject(TUI_IS_MOBILE) ? '1rem 1rem 0 auto' : '2rem 3rem 0 auto');\n\n// TODO: get rid of $any in template\nlet TuiAlertComponent = /*#__PURE__*/(() => {\n class TuiAlertComponent {\n constructor(el, destroy$, position, options, item) {\n this.el = el;\n this.destroy$ = destroy$;\n this.position = position;\n this.options = options;\n this.item = item;\n this.autoClose = typeof this.item.autoClose === 'function' ? this.item.autoClose(this.item.status) : this.item.autoClose;\n this.animation = this.position.endsWith('auto') ? Object.assign(Object.assign({}, this.options), {\n value: 'right'\n }) : Object.assign(Object.assign({}, this.options), {\n value: 'left'\n });\n }\n ngOnInit() {\n this.initAutoClose();\n }\n close() {\n this.item.$implicit.complete();\n }\n initAutoClose() {\n if (!this.autoClose) {\n return;\n }\n timer(tuiIsNumber(this.autoClose) ? this.autoClose : 3000).pipe(takeUntil(fromEvent(this.el.nativeElement, 'mouseenter')),\n /**\n * TODO: replace to\n * repeat({\n * delay: () => fromEvent(this.el.nativeElement, 'mouseleave'),\n * })\n *\n * in RxJS 7\n */\n // eslint-disable-next-line rxjs/no-ignored-notifier\n repeatWhen(() => fromEvent(this.el.nativeElement, 'mouseleave')), takeUntil(this.destroy$)).subscribe(() => this.close());\n }\n }\n TuiAlertComponent.ɵfac = function TuiAlertComponent_Factory(t) {\n return new (t || TuiAlertComponent)(i0.ɵɵdirectiveInject(ElementRef), i0.ɵɵdirectiveInject(TuiDestroyService, 2), i0.ɵɵdirectiveInject(TUI_ALERT_POSITION), i0.ɵɵdirectiveInject(TUI_ANIMATION_OPTIONS), i0.ɵɵdirectiveInject(POLYMORPHEUS_CONTEXT));\n };\n TuiAlertComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TuiAlertComponent,\n selectors: [[\"tui-alert\"]],\n hostAttrs: [\"role\", \"alert\"],\n hostVars: 5,\n hostBindings: function TuiAlertComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵsyntheticHostProperty(\"@tuiFadeIn\", ctx.options)(\"@tuiSlideIn\", ctx.animation)(\"@tuiHeightCollapse\", ctx.animation);\n i0.ɵɵstyleProp(\"margin\", ctx.position);\n }\n },\n features: [i0.ɵɵProvidersFeature([TuiDestroyService])],\n decls: 4,\n vars: 7,\n consts: [[3, \"close\", \"hasIcon\", \"hideClose\", \"icon\", \"status\"], [\"automation-id\", \"tui-notification-alert__heading\", \"class\", \"t-heading\", 4, \"ngIf\"], [\"automation-id\", \"tui-notification-alert__content\", 1, \"t-content\"], [3, \"innerHTML\", 4, \"polymorpheusOutlet\", \"polymorpheusOutletContext\"], [\"automation-id\", \"tui-notification-alert__heading\", 1, \"t-heading\"], [4, \"polymorpheusOutlet\", \"polymorpheusOutletContext\"], [3, \"innerHTML\"]],\n template: function TuiAlertComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"tui-notification\", 0);\n i0.ɵɵlistener(\"close\", function TuiAlertComponent_Template_tui_notification_close_0_listener() {\n return ctx.close();\n });\n i0.ɵɵtemplate(1, TuiAlertComponent_label_1_Template, 2, 2, \"label\", 1);\n i0.ɵɵelementStart(2, \"div\", 2);\n i0.ɵɵtemplate(3, TuiAlertComponent_div_3_Template, 1, 1, \"div\", 3);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"hasIcon\", ctx.item.hasIcon)(\"hideClose\", !ctx.item.hasCloseButton)(\"icon\", ctx.item.icon)(\"status\", ctx.item.status);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.item.label);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"polymorpheusOutlet\", ctx.item.content)(\"polymorpheusOutletContext\", ctx.item);\n }\n },\n dependencies: [i1.TuiNotificationComponent, i2.NgIf, i3.PolymorpheusOutletDirective],\n styles: [\"[_nghost-%COMP%]{display:block;box-shadow:var(--tui-shadow-dropdown);border-radius:var(--tui-radius-l);width:18rem}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem!important}[_nghost-%COMP%]:not(:last-child){margin-bottom:0!important}.t-heading[_ngcontent-%COMP%]{margin:0}[data-size=s][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}[data-size=m][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:bold}[data-size=l][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-l);line-height:1.5rem;font-weight:bold}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-01);word-wrap:break-word;word-break:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}\"],\n data: {\n animation: [tuiFadeIn, tuiSlideIn, tuiHeightCollapse]\n },\n changeDetection: 0\n });\n return TuiAlertComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiAlertService = /*#__PURE__*/(() => {\n class TuiAlertService extends AbstractTuiDialogService {\n constructor(defaultOptions, idService) {\n super(idService);\n this.defaultOptions = defaultOptions;\n this.component = new PolymorpheusComponent(TuiAlertComponent);\n }\n }\n TuiAlertService.ɵfac = function TuiAlertService_Factory(t) {\n return new (t || TuiAlertService)(i0.ɵɵinject(TUI_NOTIFICATION_OPTIONS), i0.ɵɵinject(TuiIdService));\n };\n TuiAlertService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: TuiAlertService,\n factory: TuiAlertService.ɵfac,\n providedIn: 'root'\n });\n return TuiAlertService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiAlertDirective = /*#__PURE__*/(() => {\n class TuiAlertDirective extends AbstractTuiDialogDirective {}\n TuiAlertDirective.ɵfac = /* @__PURE__ */(() => {\n let ɵTuiAlertDirective_BaseFactory;\n return function TuiAlertDirective_Factory(t) {\n return (ɵTuiAlertDirective_BaseFactory || (ɵTuiAlertDirective_BaseFactory = i0.ɵɵgetInheritedFactory(TuiAlertDirective)))(t || TuiAlertDirective);\n };\n })();\n TuiAlertDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: TuiAlertDirective,\n selectors: [[\"ng-template\", \"tuiAlert\", \"\"]],\n inputs: {\n options: [0, \"tuiAlertOptions\", \"options\"],\n open: [0, \"tuiAlert\", \"open\"]\n },\n outputs: {\n openChange: \"tuiAlertChange\"\n },\n features: [i0.ɵɵProvidersFeature([{\n provide: AbstractTuiDialogService,\n useExisting: TuiAlertService\n }]), i0.ɵɵInheritDefinitionFeature]\n });\n return TuiAlertDirective;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiAlertModule = /*#__PURE__*/(() => {\n class TuiAlertModule {}\n TuiAlertModule.ɵfac = function TuiAlertModule_Factory(t) {\n return new (t || TuiAlertModule)();\n };\n TuiAlertModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiAlertModule\n });\n TuiAlertModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: [tuiAsAlerts(TuiAlertService)],\n imports: [[CommonModule, PolymorpheusModule, TuiNotificationModule]]\n });\n return TuiAlertModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TUI_ALERT_POSITION, TuiAlertComponent, TuiAlertDirective, TuiAlertModule, TuiAlertService };\n","import * as i0 from '@angular/core';\nimport { ChangeDetectorRef, Component, ChangeDetectionStrategy, Inject, Self, NgModule } from '@angular/core';\nimport * as i2 from '@taiga-ui/cdk';\nimport { TuiDestroyService, TUI_PARENT_ANIMATION, TuiActiveZoneModule } from '@taiga-ui/cdk';\nimport { TuiHintService } from '@taiga-ui/core/services';\nimport { takeUntil } from 'rxjs/operators';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i3 from '@tinkoff/ng-polymorpheus';\nimport { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';\nimport * as i4 from 'rxjs';\nconst _c0 = a0 => ({\n $implicit: a0\n});\nfunction TuiHintsHostComponent_div_0_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction TuiHintsHostComponent_div_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 1);\n i0.ɵɵtemplate(1, TuiHintsHostComponent_div_0_ng_container_1_Template, 1, 0, \"ng-container\", 2);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const hint_r1 = ctx.$implicit;\n i0.ɵɵproperty(\"@tuiParentAnimation\", undefined)(\"tuiActiveZoneParent\", hint_r1.activeZone || null);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"polymorpheusOutlet\", hint_r1.component)(\"polymorpheusOutletContext\", i0.ɵɵpureFunction1(4, _c0, hint_r1));\n }\n}\nlet TuiHintsHostComponent = /*#__PURE__*/(() => {\n class TuiHintsHostComponent {\n constructor(hints$, destroy$, cdr) {\n this.hints$ = hints$;\n this.destroy$ = destroy$;\n this.cdr = cdr;\n this.hints = [];\n }\n ngOnInit() {\n // Due to this view being parallel to app content, `markForCheck` from `async` pipe\n // can happen after view was checked, so calling `detectChanges` instead\n this.hints$.pipe(takeUntil(this.destroy$)).subscribe(hints => {\n this.hints = hints;\n this.cdr.detectChanges();\n });\n }\n }\n TuiHintsHostComponent.ɵfac = function TuiHintsHostComponent_Factory(t) {\n return new (t || TuiHintsHostComponent)(i0.ɵɵdirectiveInject(TuiHintService), i0.ɵɵdirectiveInject(TuiDestroyService, 2), i0.ɵɵdirectiveInject(ChangeDetectorRef));\n };\n TuiHintsHostComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TuiHintsHostComponent,\n selectors: [[\"tui-hints-host\"]],\n hostAttrs: [\"aria-live\", \"polite\"],\n features: [i0.ɵɵProvidersFeature([TuiDestroyService])],\n decls: 1,\n vars: 1,\n consts: [[\"role\", \"tooltip\", 3, \"tuiActiveZoneParent\", 4, \"ngFor\", \"ngForOf\"], [\"role\", \"tooltip\", 3, \"tuiActiveZoneParent\"], [4, \"polymorpheusOutlet\", \"polymorpheusOutletContext\"]],\n template: function TuiHintsHostComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, TuiHintsHostComponent_div_0_Template, 2, 6, \"div\", 0);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngForOf\", ctx.hints);\n }\n },\n dependencies: [i1.NgForOf, i2.TuiActiveZoneDirective, i3.PolymorpheusOutletDirective],\n styles: [\"[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:0}\"],\n data: {\n animation: [TUI_PARENT_ANIMATION]\n }\n });\n return TuiHintsHostComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiHintsHostModule = /*#__PURE__*/(() => {\n class TuiHintsHostModule {}\n TuiHintsHostModule.ɵfac = function TuiHintsHostModule_Factory(t) {\n return new (t || TuiHintsHostModule)();\n };\n TuiHintsHostModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiHintsHostModule\n });\n TuiHintsHostModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [[CommonModule, PolymorpheusModule, TuiActiveZoneModule]]\n });\n return TuiHintsHostModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TuiHintsHostComponent, TuiHintsHostModule };\n","import * as i1 from '@angular/common';\nimport { isPlatformServer, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { ChangeDetectorRef, PLATFORM_ID, Component, ChangeDetectionStrategy, Inject, Self, NgModule } from '@angular/core';\nimport * as i3 from '@taiga-ui/cdk';\nimport { TuiDestroyService, TuiLetModule } from '@taiga-ui/cdk';\nimport * as i2 from '@taiga-ui/core/services';\nimport { TuiSvgService } from '@taiga-ui/core/services';\nimport { takeUntil } from 'rxjs/operators';\nfunction TuiSvgDefsHostComponent__svg_ng_container_1__svg_defs_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelement(0, \"defs\", 4);\n }\n if (rf & 2) {\n const def_r1 = ctx.$implicit;\n i0.ɵɵproperty(\"innerHTML\", def_r1, i0.ɵɵsanitizeHtml);\n }\n}\nfunction TuiSvgDefsHostComponent__svg_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, TuiSvgDefsHostComponent__svg_ng_container_1__svg_defs_1_Template, 1, 1, \"defs\", 3);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx_r1.items);\n }\n}\nfunction TuiSvgDefsHostComponent__svg_ng_template_2__svg_defs_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"defs\");\n i0.ɵɵelement(1, \"svg\", 6);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const def_r3 = ctx.$implicit;\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"outerHTML\", def_r3, i0.ɵɵsanitizeHtml);\n }\n}\nfunction TuiSvgDefsHostComponent__svg_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, TuiSvgDefsHostComponent__svg_ng_template_2__svg_defs_0_Template, 2, 1, \"defs\", 5);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngForOf\", ctx_r1.items);\n }\n}\nlet TuiSvgDefsHostComponent = /*#__PURE__*/(() => {\n class TuiSvgDefsHostComponent {\n constructor(svgService, cdr, destroy$, platformId) {\n this.svgService = svgService;\n this.cdr = cdr;\n this.destroy$ = destroy$;\n this.isBrowser = true;\n this.isBrowser = !isPlatformServer(platformId);\n }\n // @bad TODO: Looks like it could be async piped but it was probably written like that for a reason\n ngOnInit() {\n this.svgService.items$.pipe(takeUntil(this.destroy$)).subscribe(defsMap => {\n this.items = defsMap.values();\n this.cdr.detectChanges();\n });\n }\n }\n TuiSvgDefsHostComponent.ɵfac = function TuiSvgDefsHostComponent_Factory(t) {\n return new (t || TuiSvgDefsHostComponent)(i0.ɵɵdirectiveInject(TuiSvgService), i0.ɵɵdirectiveInject(ChangeDetectorRef), i0.ɵɵdirectiveInject(TuiDestroyService, 2), i0.ɵɵdirectiveInject(PLATFORM_ID));\n };\n TuiSvgDefsHostComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TuiSvgDefsHostComponent,\n selectors: [[\"tui-svg-defs-host\"]],\n features: [i0.ɵɵProvidersFeature([TuiDestroyService])],\n decls: 4,\n vars: 2,\n consts: [[\"server\", \"\"], [\"version\", \"1.1\", 0, \"xmlns\", \"xlink\", \"http://www.w3.org/1999/xlink\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [4, \"ngIf\", \"ngIfElse\"], [3, \"innerHTML\", 4, \"ngFor\", \"ngForOf\"], [3, \"innerHTML\"], [4, \"ngFor\", \"ngForOf\"], [3, \"outerHTML\"]],\n template: function TuiSvgDefsHostComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 1);\n i0.ɵɵtemplate(1, TuiSvgDefsHostComponent__svg_ng_container_1_Template, 2, 1, \"ng-container\", 2)(2, TuiSvgDefsHostComponent__svg_ng_template_2_Template, 1, 1, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const server_r4 = i0.ɵɵreference(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.isBrowser)(\"ngIfElse\", server_r4);\n }\n },\n dependencies: [i1.NgIf, i1.NgForOf],\n styles: [\"[_nghost-%COMP%]{display:none}\"],\n changeDetection: 0\n });\n return TuiSvgDefsHostComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiSvgDefsHostModule = /*#__PURE__*/(() => {\n class TuiSvgDefsHostModule {}\n TuiSvgDefsHostModule.ɵfac = function TuiSvgDefsHostModule_Factory(t) {\n return new (t || TuiSvgDefsHostModule)();\n };\n TuiSvgDefsHostModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiSvgDefsHostModule\n });\n TuiSvgDefsHostModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [[CommonModule, TuiLetModule]]\n });\n return TuiSvgDefsHostModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TuiSvgDefsHostComponent, TuiSvgDefsHostModule };\n","import * as i4 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Component, ViewEncapsulation, ChangeDetectionStrategy, Inject, NgModule } from '@angular/core';\nimport * as i1 from '@taiga-ui/cdk';\nimport { TUI_DIALOGS, TUI_IS_MOBILE, TUI_IS_IOS, TUI_IS_ANDROID, TUI_VERSION, TuiDropdownHostModule, TuiDialogHostModule, TuiAlertHostModule, TuiScrollControlsModule } from '@taiga-ui/cdk';\nimport * as i5 from '@taiga-ui/core/services';\nimport { TuiBreakpointService } from '@taiga-ui/core/services';\nimport { TUI_REDUCED_MOTION, TUI_ANIMATIONS_DURATION, TUI_THEME } from '@taiga-ui/core/tokens';\nimport { combineLatest, of } from 'rxjs';\nimport { map, debounceTime } from 'rxjs/operators';\nimport * as i2 from '@taiga-ui/core/internal/svg-defs-host';\nimport { TuiSvgDefsHostModule } from '@taiga-ui/core/internal/svg-defs-host';\nimport * as i3 from '@taiga-ui/core/components/hints-host';\nimport { TuiHintsHostModule } from '@taiga-ui/core/components/hints-host';\nimport { EventPluginsModule } from '@tinkoff/ng-event-plugins';\nconst _c0 = [\"*\", [[\"tuiOverContent\"]], [[\"tuiOverDialogs\"]], [[\"tuiOverAlerts\"]], [[\"tuiOverPortals\"]], [[\"tuiOverHints\"]]];\nconst _c1 = [\"*\", \"tuiOverContent\", \"tuiOverDialogs\", \"tuiOverAlerts\", \"tuiOverPortals\", \"tuiOverHints\"];\nfunction TuiRootComponent_tui_scroll_controls_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"tui-scroll-controls\", 2);\n }\n}\nlet TuiRootComponent = /*#__PURE__*/(() => {\n class TuiRootComponent {\n constructor(reducedMotion, duration, dialogs, isMobile, breakpoint, isIOS, isAndroid, document, theme) {\n var _a;\n this.reducedMotion = reducedMotion;\n this.duration = duration;\n this.dialogs = dialogs;\n this.isMobile = isMobile;\n this.breakpoint = breakpoint;\n this.isIOS = isIOS;\n this.isAndroid = isAndroid;\n this.isMobileRes$ = this.breakpoint.pipe(map(breakpoint => breakpoint === 'mobile'));\n this.scrollbars$ = this.dialogs.length && !this.isMobile ? combineLatest([...this.dialogs]).pipe(map(dialogs => !dialogs.some(({\n length\n }) => length)), debounceTime(0)) : of(!this.isMobile);\n (_a = document.defaultView) === null || _a === void 0 ? void 0 : _a.document.body.setAttribute('data-tui-theme', theme.toLowerCase());\n }\n }\n TuiRootComponent.ɵfac = function TuiRootComponent_Factory(t) {\n return new (t || TuiRootComponent)(i0.ɵɵdirectiveInject(TUI_REDUCED_MOTION), i0.ɵɵdirectiveInject(TUI_ANIMATIONS_DURATION), i0.ɵɵdirectiveInject(TUI_DIALOGS), i0.ɵɵdirectiveInject(TUI_IS_MOBILE), i0.ɵɵdirectiveInject(TuiBreakpointService), i0.ɵɵdirectiveInject(TUI_IS_IOS), i0.ɵɵdirectiveInject(TUI_IS_ANDROID), i0.ɵɵdirectiveInject(DOCUMENT), i0.ɵɵdirectiveInject(TUI_THEME));\n };\n TuiRootComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TuiRootComponent,\n selectors: [[\"tui-root\"]],\n hostAttrs: [\"data-tui-version\", \"3.83.0\"],\n hostVars: 9,\n hostBindings: function TuiRootComponent_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"touchstart.passive.silent\", function TuiRootComponent_touchstart_passive_silent_HostBindingHandler() {\n return 0;\n })(\"$.class._mobile\", function TuiRootComponent___class__mobile_HostBindingHandler() {\n return ctx.isMobileRes$;\n });\n }\n if (rf & 2) {\n i0.ɵɵhostProperty(\"$.class._mobile\", ctx.isMobileRes$);\n i0.ɵɵstyleProp(\"--tui-duration\", ctx.duration, \"ms\");\n i0.ɵɵclassProp(\"_ios\", ctx.isIOS)(\"_android\", ctx.isAndroid)(\"_reduced-motion\", ctx.reducedMotion);\n }\n },\n ngContentSelectors: _c1,\n decls: 14,\n vars: 3,\n consts: [[\"class\", \"t-root-scrollbar\", 4, \"ngIf\"], [1, \"t-root-content\"], [1, \"t-root-scrollbar\"]],\n template: function TuiRootComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef(_c0);\n i0.ɵɵtemplate(0, TuiRootComponent_tui_scroll_controls_0_Template, 1, 0, \"tui-scroll-controls\", 0);\n i0.ɵɵpipe(1, \"async\");\n i0.ɵɵelement(2, \"tui-svg-defs-host\");\n i0.ɵɵelementStart(3, \"tui-dropdown-host\")(4, \"div\", 1);\n i0.ɵɵprojection(5);\n i0.ɵɵelementEnd();\n i0.ɵɵprojection(6, 1);\n i0.ɵɵelement(7, \"tui-dialog-host\");\n i0.ɵɵprojection(8, 2);\n i0.ɵɵelement(9, \"tui-alert-host\");\n i0.ɵɵprojection(10, 3);\n i0.ɵɵelementEnd();\n i0.ɵɵprojection(11, 4);\n i0.ɵɵelement(12, \"tui-hints-host\");\n i0.ɵɵprojection(13, 5);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngIf\", i0.ɵɵpipeBind1(1, 1, ctx.scrollbars$));\n }\n },\n dependencies: [i1.TuiScrollControlsComponent, i2.TuiSvgDefsHostComponent, i1.TuiDropdownHostComponent, i1.TuiDialogHostComponent, i1.TuiAlertHostComponent, i3.TuiHintsHostComponent, i4.NgIf, i4.AsyncPipe],\n styles: [\"@keyframes tuiPresent{to{content:\\\"1\\\"}}@keyframes tuiSkeletonVibe{to{opacity:.5}}html,.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{display:none}body[data-tui-theme]{font:var(--tui-font-text-s);color:var(--tui-text-01);background:var(--tui-base-01);margin:0}tui-root{position:relative;display:block;flex:1;-webkit-tap-highlight-color:transparent}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;display:none;margin:0}[data-tui-theme] tui-root>.t-root-scrollbar{display:block}.t-root-content{height:100%;isolation:isolate;transform:translateY(var(--t-root-top))}[tuiDropdownButton][tuiDropdownButton]{display:none}.t-overscroll-none{overscroll-behavior:none}\\n\"],\n encapsulation: 2\n });\n return TuiRootComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiRootModule = /*#__PURE__*/(() => {\n class TuiRootModule {}\n TuiRootModule.ɵfac = function TuiRootModule_Factory(t) {\n return new (t || TuiRootModule)();\n };\n TuiRootModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiRootModule\n });\n TuiRootModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [[CommonModule, EventPluginsModule, TuiDropdownHostModule, TuiSvgDefsHostModule, TuiHintsHostModule, TuiDialogHostModule, TuiAlertHostModule, TuiScrollControlsModule]]\n });\n return TuiRootModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TuiRootComponent, TuiRootModule };\n","/**\n * @deprecated, use {@link TUI_EDITOR_DEFAULT_EXTENSIONS}\n */\nconst defaultEditorExtensions = [import('@tinkoff/tui-editor/extensions/starter-kit').then(({\n StarterKit\n}) => StarterKit).then(extension => extension.configure({\n heading: {\n levels: [1, 2, 3, 4, 5, 6]\n }\n})), import('@tiptap/extension-text-align').then(({\n default: TextAlign\n}) => TextAlign.configure({\n types: [`heading`, `paragraph`]\n})), import('@tiptap/extension-text-style').then(({\n default: TextStyle\n}) => TextStyle), import('@tiptap/extension-underline').then(({\n default: Underline\n}) => Underline), import('@tiptap/extension-subscript').then(({\n default: Subscript\n}) => Subscript), import('@tiptap/extension-superscript').then(({\n default: Superscript\n}) => Superscript), import('@tinkoff/tui-editor/extensions/font-color').then(({\n FontColor\n}) => FontColor), import('@tinkoff/tui-editor/extensions/link').then(({\n TuiLink\n}) => TuiLink), import('@tinkoff/tui-editor/extensions/jump-anchor').then(({\n TuiJumpAnchor\n}) => TuiJumpAnchor), import('@tinkoff/tui-editor/extensions/file-link').then(({\n TuiFileLink\n}) => TuiFileLink), import('@tinkoff/tui-editor/extensions/background-color').then(({\n BackgroundColor\n}) => BackgroundColor), import('@tinkoff/tui-editor/extensions/table').then(({\n TuiTable\n}) => TuiTable.configure({\n resizable: true\n})), import('@tinkoff/tui-editor/extensions/table-cell').then(({\n TuiTableCell\n}) => TuiTableCell), import('@tiptap/extension-table-row').then(({\n default: TableRow\n}) => TableRow), import('@tiptap/extension-table-header').then(({\n TableHeader\n}) => TableHeader), import('@tinkoff/tui-editor/extensions/indent-outdent').then(({\n TuiTabExtension\n}) => TuiTabExtension), import('@tinkoff/tui-editor/extensions/table-cell-background').then(({\n TableCellBackground\n}) => TableCellBackground), import('@tinkoff/tui-editor/extensions/details').then(({\n TuiDetailsContent\n}) => TuiDetailsContent), import('@tinkoff/tui-editor/extensions/details').then(({\n TuiDetails\n}) => TuiDetails), import('@tinkoff/tui-editor/extensions/details').then(({\n TuiSummary\n}) => TuiSummary), import('@tinkoff/tui-editor/extensions/font-size').then(({\n TuiFontSize\n}) => TuiFontSize)];\nconst TUI_EDITOR_DEFAULT_EXTENSIONS = defaultEditorExtensions;\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TUI_EDITOR_DEFAULT_EXTENSIONS, defaultEditorExtensions };\n","import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\nimport {RouterOutlet} from '@angular/router';\nimport {TuiRootModule} from '@taiga-ui/core';\nimport {TuiEditorModule} from '@tinkoff/tui-editor';\n\n@Component({\n standalone: true,\n selector: 'app',\n imports: [TuiRootModule, RouterOutlet, TuiEditorModule],\n templateUrl: './app.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AppComponent {}\n","\n \n\n \n \n \n \n \n\n","/**\n * @license Angular v18.0.3\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { Injectable, Inject, RendererFactory2, NgZone, ANIMATION_MODULE_TYPE, NgModule, ɵperformanceMarkFeature } from '@angular/core';\nexport { ANIMATION_MODULE_TYPE } from '@angular/core';\nimport { ɵDomRendererFactory2, BrowserModule } from '@angular/platform-browser';\nimport * as i1 from '@angular/animations/browser';\nimport { ɵAnimationEngine, ɵWebAnimationsStyleNormalizer, ɵAnimationRendererFactory, ɵAnimationStyleNormalizer, AnimationDriver, ɵWebAnimationsDriver, NoopAnimationDriver } from '@angular/animations/browser';\nimport { DOCUMENT } from '@angular/common';\nlet InjectableAnimationEngine = /*#__PURE__*/(() => {\n class InjectableAnimationEngine extends ɵAnimationEngine {\n // The `ApplicationRef` is injected here explicitly to force the dependency ordering.\n // Since the `ApplicationRef` should be created earlier before the `AnimationEngine`, they\n // both have `ngOnDestroy` hooks and `flush()` must be called after all views are destroyed.\n constructor(doc, driver, normalizer) {\n super(doc, driver, normalizer);\n }\n ngOnDestroy() {\n this.flush();\n }\n static {\n this.ɵfac = function InjectableAnimationEngine_Factory(t) {\n return new (t || InjectableAnimationEngine)(i0.ɵɵinject(DOCUMENT), i0.ɵɵinject(i1.AnimationDriver), i0.ɵɵinject(i1.ɵAnimationStyleNormalizer));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: InjectableAnimationEngine,\n factory: InjectableAnimationEngine.ɵfac\n });\n }\n }\n return InjectableAnimationEngine;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nfunction instantiateDefaultStyleNormalizer() {\n return new ɵWebAnimationsStyleNormalizer();\n}\nfunction instantiateRendererFactory(renderer, engine, zone) {\n return new ɵAnimationRendererFactory(renderer, engine, zone);\n}\nconst SHARED_ANIMATION_PROVIDERS = [{\n provide: ɵAnimationStyleNormalizer,\n useFactory: instantiateDefaultStyleNormalizer\n}, {\n provide: ɵAnimationEngine,\n useClass: InjectableAnimationEngine\n}, {\n provide: RendererFactory2,\n useFactory: instantiateRendererFactory,\n deps: [ɵDomRendererFactory2, ɵAnimationEngine, NgZone]\n}];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserModule.\n */\nconst BROWSER_ANIMATIONS_PROVIDERS = [{\n provide: AnimationDriver,\n useFactory: () => new ɵWebAnimationsDriver()\n}, {\n provide: ANIMATION_MODULE_TYPE,\n useValue: 'BrowserAnimations'\n}, ...SHARED_ANIMATION_PROVIDERS];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserTestingModule.\n */\nconst BROWSER_NOOP_ANIMATIONS_PROVIDERS = [{\n provide: AnimationDriver,\n useClass: NoopAnimationDriver\n}, {\n provide: ANIMATION_MODULE_TYPE,\n useValue: 'NoopAnimations'\n}, ...SHARED_ANIMATION_PROVIDERS];\n\n/**\n * Exports `BrowserModule` with additional dependency-injection providers\n * for use with animations. See [Animations](guide/animations).\n * @publicApi\n */\nlet BrowserAnimationsModule = /*#__PURE__*/(() => {\n class BrowserAnimationsModule {\n /**\n * Configures the module based on the specified object.\n *\n * @param config Object used to configure the behavior of the `BrowserAnimationsModule`.\n * @see {@link BrowserAnimationsModuleConfig}\n *\n * @usageNotes\n * When registering the `BrowserAnimationsModule`, you can use the `withConfig`\n * function as follows:\n * ```\n * @NgModule({\n * imports: [BrowserAnimationsModule.withConfig(config)]\n * })\n * class MyNgModule {}\n * ```\n */\n static withConfig(config) {\n return {\n ngModule: BrowserAnimationsModule,\n providers: config.disableAnimations ? BROWSER_NOOP_ANIMATIONS_PROVIDERS : BROWSER_ANIMATIONS_PROVIDERS\n };\n }\n static {\n this.ɵfac = function BrowserAnimationsModule_Factory(t) {\n return new (t || BrowserAnimationsModule)();\n };\n }\n static {\n this.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: BrowserAnimationsModule\n });\n }\n static {\n this.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: BROWSER_ANIMATIONS_PROVIDERS,\n imports: [BrowserModule]\n });\n }\n }\n return BrowserAnimationsModule;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Returns the set of dependency-injection providers\n * to enable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to enable animations in an application\n * bootstrapped using the `bootstrapApplication` function. In this scenario there\n * is no need to import the `BrowserAnimationsModule` NgModule at all, just add\n * providers returned by this function to the `providers` list as show below.\n *\n * ```typescript\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n */\nfunction provideAnimations() {\n ɵperformanceMarkFeature('NgEagerAnimations');\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideAnimations` call results in app code.\n return [...BROWSER_ANIMATIONS_PROVIDERS];\n}\n/**\n * A null player that must be imported to allow disabling of animations.\n * @publicApi\n */\nlet NoopAnimationsModule = /*#__PURE__*/(() => {\n class NoopAnimationsModule {\n static {\n this.ɵfac = function NoopAnimationsModule_Factory(t) {\n return new (t || NoopAnimationsModule)();\n };\n }\n static {\n this.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: NoopAnimationsModule\n });\n }\n static {\n this.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS,\n imports: [BrowserModule]\n });\n }\n }\n return NoopAnimationsModule;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Returns the set of dependency-injection providers\n * to disable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to bootstrap an application using\n * the `bootstrapApplication` function, but you need to disable animations\n * (for example, when running tests).\n *\n * ```typescript\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideNoopAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n */\nfunction provideNoopAnimations() {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideNoopAnimations` call results in app code.\n return [...BROWSER_NOOP_ANIMATIONS_PROVIDERS];\n}\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation browser package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BrowserAnimationsModule, NoopAnimationsModule, provideAnimations, provideNoopAnimations, InjectableAnimationEngine as ɵInjectableAnimationEngine };\n","import type {ApplicationConfig, Injector} from '@angular/core';\nimport {importProvidersFrom, INJECTOR} from '@angular/core';\nimport {provideClientHydration} from '@angular/platform-browser';\nimport {provideAnimations} from '@angular/platform-browser/animations';\nimport {provideRouter} from '@angular/router';\nimport {\n TUI_SANITIZER,\n TuiAlertModule,\n TuiDialogModule,\n TuiRootModule,\n} from '@taiga-ui/core';\nimport {TuiPushModule} from '@taiga-ui/kit';\nimport {NgDompurifySanitizer} from '@tinkoff/ng-dompurify';\nimport {TUI_EDITOR_DEFAULT_EXTENSIONS, TUI_EDITOR_EXTENSIONS} from '@tinkoff/tui-editor';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideAnimations(),\n provideRouter([\n {\n path: '',\n pathMatch: 'full',\n loadComponent: async () => import('./home/home.component'),\n },\n ]),\n provideClientHydration(),\n importProvidersFrom(\n TuiRootModule,\n TuiAlertModule,\n TuiDialogModule,\n TuiPushModule,\n ),\n {\n provide: TUI_EDITOR_EXTENSIONS,\n deps: [INJECTOR],\n useFactory: (injector: Injector) => [\n ...TUI_EDITOR_DEFAULT_EXTENSIONS,\n import('@tinkoff/tui-editor/extensions/image-editor').then(\n ({tuiCreateImageEditorExtension}) =>\n tuiCreateImageEditorExtension({injector}),\n ),\n ],\n },\n {\n provide: TUI_SANITIZER,\n useClass: NgDompurifySanitizer,\n },\n ],\n};\n","// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n production: false,\n};\n\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.\n","import {enableProdMode} from '@angular/core';\nimport {bootstrapApplication} from '@angular/platform-browser';\n\nimport {AppComponent} from './app/app.component';\nimport {appConfig} from './app/app.config';\nimport {environment} from './environments/environment';\n\nif (environment.production) {\n enableProdMode();\n}\n\nbootstrapApplication(AppComponent, appConfig).catch(err => console.error(err));\n"],"mappings":"q4CAaA,SAASA,GAAoDC,EAAIC,EAAK,CAKpE,GAJID,EAAK,IACJE,EAAmB,EAAG,CAAC,EACvBC,EAAO,EAAG,WAAW,GAEtBH,EAAK,EAAG,CACV,IAAMI,EAAUH,EAAI,UACdI,EAAYC,EAAc,CAAC,EAC9BC,EAAW,oBAAqBH,EAAQ,UAAU,SAAS,EAAE,4BAAgCI,GAAY,EAAG,EAAGJ,EAASC,EAAO,MAAM,CAAC,CAC3I,CACF,CACA,SAASI,GAAqCT,EAAIC,EAAK,CAMrD,GALID,EAAK,IACJU,EAAe,EAAG,MAAO,CAAC,EAC1BC,EAAW,EAAGZ,GAAqD,EAAG,EAAG,eAAgB,CAAC,EAC1Fa,EAAa,GAEdZ,EAAK,EAAG,CACV,IAAMa,EAAWZ,EAAI,UAClBM,EAAW,sBAAuB,MAAS,EAC3CO,EAAU,EACVP,EAAW,UAAWM,CAAQ,CACnC,CACF,CACA,IAAIE,IAAsC,IAAM,CAC9C,MAAMA,CAAsB,CAC1B,YAAYC,EAAWC,EAAUC,EAAUC,EAAK,CAC9C,KAAK,UAAYH,EACjB,KAAK,SAAWC,EAChB,KAAK,SAAWC,EAChB,KAAK,IAAMC,EACX,KAAK,OAAS,CAAC,EACf,KAAK,QAAUC,GAASA,EACxB,KAAK,OAASC,GAAYC,GAAS,OAAO,CACxC,UAAW,CAAC,CACV,QAASC,GACT,SAAAF,CACF,CAAC,EACD,OAAQ,KAAK,QACf,CAAC,CACH,CACA,UAAW,CAGTG,EAAc,KAAK,SAAS,EAAE,KAAKC,EAAU,KAAK,QAAQ,CAAC,EAAE,UAAUC,GAAU,CAC/E,KAAK,OAASA,EACd,KAAK,I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OC,QAAQC,MAAMF,CAAG,CAAC","names":["TuiAlertHostComponent_div_0_ng_container_1_Template","rf","ctx","ɵɵelementContainer","ɵɵpipe","item_r1","ctx_r1","ɵɵnextContext","ɵɵproperty","ɵɵpipeBind2","TuiAlertHostComponent_div_0_Template","ɵɵelementStart","ɵɵtemplate","ɵɵelementEnd","alert_r3","ɵɵadvance","TuiAlertHostComponent","allAlerts","injector","destroy$","cdr","index","useValue","Injector","POLYMORPHEUS_CONTEXT","combineLatest","takeUntil","alerts","t","ɵɵdirectiveInject","TUI_ALERTS","INJECTOR$1","TuiDestroyService","ChangeDetectorRef","ɵɵdefineComponent","ɵɵProvidersFeature","NgForOf","NgComponentOutlet","TuiMapperPipe","TUI_PARENT_ANIMATION","TuiAlertHostModule","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","TuiMapperPipeModule","TuiFocusTrapDirective","doc","el","renderer","tuiGetNativeFocused","node","nativeElement","tuiContainsOrAfter","focusable","tuiGetClosestFocusable","tuiBlurNativeFocused","tuiIsHTMLElement","t","ɵɵdirectiveInject","DOCUMENT","ElementRef","Renderer2","ɵɵdefineDirective","rf","ctx","ɵɵlistener","$event","ɵɵresolveWindow","TuiFocusTrapModule","ɵɵdefineNgModule","ɵɵdefineInjector","TuiDialogHostComponent_section_0_ng_container_1_Template","rf","ctx","ɵɵelementContainer","TuiDialogHostComponent_section_0_tui_scroll_controls_2_Template","ɵɵelement","TuiDialogHostComponent_section_0_Template","ɵɵelementStart","ɵɵtemplate","ɵɵelementEnd","item_r1","ctx_r1","ɵɵnextContext","ɵɵproperty","ɵɵattribute","ɵɵadvance","TuiDialogHostComponent_div_1_Template","_r3","ɵɵgetCurrentView","ɵɵlistener","$event","isDialogClosesOnBack_r4","ɵɵrestoreView","ɵɵresetView","ɵɵresolveWindow","ɵɵclassProp","FAKE_HISTORY_STATE","isFakeHistoryState","historyState","TUI_DIALOG_CLOSES_ON_BACK","tuiCreateToken","of","TuiDialogHostComponent","isMobile","isDialogClosesOnBack$","dialogsByType","historyRef","titleService","destroy$","cdr","doc","combineLatest","map","arr","a","b","takeUntil","dialogs","_a","isDialogClosesOnBack","last","propertyName","popupOpened","t","ɵɵdirectiveInject","TUI_IS_MOBILE","TUI_DIALOGS","HISTORY","Title","TuiDestroyService","ChangeDetectorRef","DOCUMENT","ɵɵdefineComponent","ɵɵProvidersFeature","ɵɵpipe","ɵɵpipeBind1","TuiScrollControlsComponent","NgForOf","TuiFocusTrapDirective","TuiOverscrollDirective","TuiScrollRefDirective","PolymorpheusOutletDirective","NgIf","TuiLetDirective","AsyncPipe","trigger","transition","style","query","animateChild","TuiDialogHostModule","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","PolymorpheusModule","TuiOverscrollModule","TuiFocusTrapModule","TuiLetModule","TuiScrollControlsModule","_c0","_c1","a0","TuiNotificationComponent_ng_container_0_tui_svg_1_Template","rf","ctx","ɵɵelement","iconName_r1","ɵɵproperty","TuiNotificationComponent_ng_container_0_Template","ɵɵelementContainerStart","ɵɵtemplate","ɵɵelementContainerEnd","ctx_r1","ɵɵnextContext","ɵɵadvance","ɵɵpureFunction1","TuiNotificationComponent_button_3_Template","_r3","ɵɵgetCurrentView","ɵɵelementStart","ɵɵpipe","ɵɵlistener","ɵɵrestoreView","ɵɵresetView","ɵɵelementEnd","ɵɵpipeBind1","TuiNotificationComponent","closeWord$","icons","options","EventEmitter","tuiIsObserved","t","ɵɵdirectiveInject","TUI_CLOSE_WORD","TUI_COMMON_ICONS","TUI_NOTIFICATION_OPTIONS","ɵɵdefineComponent","ɵɵattribute","ɵɵprojectionDef","ɵɵprojection","TuiSvgComponent","TuiButtonComponent","NgIf","PolymorpheusOutletDirective","AsyncPipe","TuiNotificationModule","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","TuiSvgModule","TuiButtonModule","PolymorpheusModule","TuiAlertComponent_label_1_ng_container_1_Template","rf","ctx","ɵɵelementContainerStart","ɵɵtext","ɵɵelementContainerEnd","text_r1","ɵɵadvance","ɵɵtextInterpolate1","TuiAlertComponent_label_1_Template","ɵɵelementStart","ɵɵtemplate","ɵɵelementEnd","ctx_r1","ɵɵnextContext","ɵɵproperty","TuiAlertComponent_div_3_Template","ɵɵelement","text_r3","ɵɵsanitizeHtml","TUI_ALERT_POSITION","tuiCreateTokenFromFactory","inject","TUI_IS_MOBILE","TuiAlertComponent","el","destroy$","position","options","item","timer","tuiIsNumber","takeUntil","fromEvent","repeatWhen","t","ɵɵdirectiveInject","ElementRef","TuiDestroyService","TUI_ANIMATION_OPTIONS","POLYMORPHEUS_CONTEXT","ɵɵdefineComponent","ɵɵsyntheticHostProperty","ɵɵstyleProp","ɵɵProvidersFeature","ɵɵlistener","TuiNotificationComponent","NgIf","PolymorpheusOutletDirective","tuiFadeIn","tuiSlideIn","tuiHeightCollapse","TuiAlertService","AbstractTuiDialogService","defaultOptions","idService","PolymorpheusComponent","ɵɵinject","TUI_NOTIFICATION_OPTIONS","TuiIdService","ɵɵdefineInjectable","TuiAlertModule","t","ɵɵdefineNgModule","ɵɵdefineInjector","tuiAsAlerts","TuiAlertService","CommonModule","PolymorpheusModule","TuiNotificationModule","_c0","a0","TuiHintsHostComponent_div_0_ng_container_1_Template","rf","ctx","ɵɵelementContainer","TuiHintsHostComponent_div_0_Template","ɵɵelementStart","ɵɵtemplate","ɵɵelementEnd","hint_r1","ɵɵproperty","ɵɵadvance","ɵɵpureFunction1","TuiHintsHostComponent","hints$","destroy$","cdr","takeUntil","hints","t","ɵɵdirectiveInject","TuiHintService","TuiDestroyService","ChangeDetectorRef","ɵɵdefineComponent","ɵɵProvidersFeature","NgForOf","TuiActiveZoneDirective","PolymorpheusOutletDirective","TUI_PARENT_ANIMATION","TuiHintsHostModule","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","PolymorpheusModule","TuiActiveZoneModule","TuiSvgDefsHostComponent__svg_ng_container_1__svg_defs_1_Template","rf","ctx","ɵɵnamespaceSVG","ɵɵelement","def_r1","ɵɵproperty","ɵɵsanitizeHtml","TuiSvgDefsHostComponent__svg_ng_container_1_Template","ɵɵelementContainerStart","ɵɵtemplate","ɵɵelementContainerEnd","ctx_r1","ɵɵnextContext","ɵɵadvance","TuiSvgDefsHostComponent__svg_ng_template_2__svg_defs_0_Template","ɵɵelementStart","ɵɵelementEnd","def_r3","TuiSvgDefsHostComponent__svg_ng_template_2_Template","TuiSvgDefsHostComponent","svgService","cdr","destroy$","platformId","isPlatformServer","takeUntil","defsMap","t","ɵɵdirectiveInject","TuiSvgService","ChangeDetectorRef","TuiDestroyService","PLATFORM_ID","ɵɵdefineComponent","ɵɵProvidersFeature","ɵɵtemplateRefExtractor","server_r4","ɵɵreference","NgIf","NgForOf","TuiSvgDefsHostModule","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","TuiLetModule","_c0","_c1","TuiRootComponent_tui_scroll_controls_0_Template","rf","ctx","ɵɵelement","TuiRootComponent","reducedMotion","duration","dialogs","isMobile","breakpoint","isIOS","isAndroid","document","theme","_a","map","combineLatest","length","debounceTime","of","t","ɵɵdirectiveInject","TUI_REDUCED_MOTION","TUI_ANIMATIONS_DURATION","TUI_DIALOGS","TUI_IS_MOBILE","TuiBreakpointService","TUI_IS_IOS","TUI_IS_ANDROID","DOCUMENT","TUI_THEME","ɵɵdefineComponent","ɵɵlistener","ɵɵhostProperty","ɵɵstyleProp","ɵɵclassProp","ɵɵprojectionDef","ɵɵtemplate","ɵɵpipe","ɵɵelementStart","ɵɵprojection","ɵɵelementEnd","ɵɵproperty","ɵɵpipeBind1","TuiScrollControlsComponent","TuiSvgDefsHostComponent","TuiDropdownHostComponent","TuiDialogHostComponent","TuiAlertHostComponent","TuiHintsHostComponent","NgIf","AsyncPipe","TuiRootModule","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","EventPluginsModule","TuiDropdownHostModule","TuiSvgDefsHostModule","TuiHintsHostModule","TuiDialogHostModule","TuiAlertHostModule","TuiScrollControlsModule","defaultEditorExtensions","StarterKit","extension","TextAlign","TextStyle","Underline","Subscript","Superscript","FontColor","TuiLink","TuiJumpAnchor","TuiFileLink","BackgroundColor","TuiTable","TuiTableCell","TableRow","TableHeader","TuiTabExtension","TableCellBackground","TuiDetailsContent","TuiDetails","TuiSummary","TuiFontSize","TUI_EDITOR_DEFAULT_EXTENSIONS","AppComponent","selectors","standalone","features","ɵɵStandaloneFeature","decls","vars","consts","template","rf","ctx","ɵɵelementStart","ɵɵelement","ɵɵelementContainer","ɵɵelementEnd","TuiRootModule","TuiRootComponent","RouterOutlet","TuiEditorModule","encapsulation","changeDetection","_AppComponent","InjectableAnimationEngine","_InjectableAnimationEngine","AnimationEngine","doc","driver","normalizer","t","ɵɵinject","DOCUMENT","AnimationDriver","AnimationStyleNormalizer","ɵɵdefineInjectable","instantiateDefaultStyleNormalizer","WebAnimationsStyleNormalizer","instantiateRendererFactory","renderer","engine","zone","AnimationRendererFactory","SHARED_ANIMATION_PROVIDERS","RendererFactory2","DomRendererFactory2","NgZone","BROWSER_ANIMATIONS_PROVIDERS","WebAnimationsDriver","ANIMATION_MODULE_TYPE","BROWSER_NOOP_ANIMATIONS_PROVIDERS","NoopAnimationDriver","provideAnimations","performanceMarkFeature","BROWSER_ANIMATIONS_PROVIDERS","appConfig","providers","provideAnimations","provideRouter","path","pathMatch","loadComponent","__async","provideClientHydration","importProvidersFrom","TuiRootModule","TuiAlertModule","TuiDialogModule","TuiPushModule","provide","TUI_EDITOR_EXTENSIONS","deps","INJECTOR","useFactory","injector","TUI_EDITOR_DEFAULT_EXTENSIONS","then","tuiCreateImageEditorExtension","TUI_SANITIZER","useClass","NgDompurifySanitizer","environment","production","environment","production","enableProdMode","bootstrapApplication","AppComponent","appConfig","catch","err","console","error"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,11]} \ No newline at end of file +{"version":3,"sources":["node_modules/@taiga-ui/cdk/fesm2015/taiga-ui-cdk-components-alert-host.js","node_modules/@taiga-ui/cdk/fesm2015/taiga-ui-cdk-directives-focus-trap.js","node_modules/@taiga-ui/cdk/fesm2015/taiga-ui-cdk-components-dialog-host.js","node_modules/@taiga-ui/core/fesm2015/taiga-ui-core-components-notification.js","node_modules/@taiga-ui/core/fesm2015/taiga-ui-core-components-alert.js","node_modules/@taiga-ui/core/fesm2015/taiga-ui-core-components-hints-host.js","node_modules/@taiga-ui/core/fesm2015/taiga-ui-core-internal-svg-defs-host.js","node_modules/@taiga-ui/core/fesm2015/taiga-ui-core-components-root.js","node_modules/@tinkoff/tui-editor/fesm2015/tinkoff-tui-editor-extensions-default-editor-extensions.js","apps/demo/src/app/app.component.ts","apps/demo/src/app/app.component.html","node_modules/@angular/platform-browser/fesm2022/animations.mjs","apps/demo/src/app/app.config.ts","apps/demo/src/environments/environment.ts","apps/demo/src/main.ts"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Injector, INJECTOR, ChangeDetectorRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Inject, Self, NgModule } from '@angular/core';\nimport { TUI_PARENT_ANIMATION } from '@taiga-ui/cdk/constants';\nimport { TuiDestroyService } from '@taiga-ui/cdk/services';\nimport { TUI_ALERTS } from '@taiga-ui/cdk/tokens';\nimport { POLYMORPHEUS_CONTEXT } from '@tinkoff/ng-polymorpheus';\nimport * as i3 from 'rxjs';\nimport { combineLatest } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i2 from '@taiga-ui/cdk/pipes';\nimport { TuiMapperPipeModule } from '@taiga-ui/cdk/pipes';\nfunction TuiAlertHostComponent_div_0_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0, 3);\n i0.ɵɵpipe(1, \"tuiMapper\");\n }\n if (rf & 2) {\n const item_r1 = ctx.$implicit;\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngComponentOutlet\", item_r1.component.component)(\"ngComponentOutletInjector\", i0.ɵɵpipeBind2(1, 2, item_r1, ctx_r1.mapper));\n }\n}\nfunction TuiAlertHostComponent_div_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 1);\n i0.ɵɵtemplate(1, TuiAlertHostComponent_div_0_ng_container_1_Template, 2, 5, \"ng-container\", 2);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const alert_r3 = ctx.$implicit;\n i0.ɵɵproperty(\"@tuiParentAnimation\", undefined);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", alert_r3);\n }\n}\nlet TuiAlertHostComponent = /*#__PURE__*/(() => {\n class TuiAlertHostComponent {\n constructor(allAlerts, injector, destroy$, cdr) {\n this.allAlerts = allAlerts;\n this.injector = injector;\n this.destroy$ = destroy$;\n this.cdr = cdr;\n this.alerts = [];\n this.trackBy = index => index;\n this.mapper = useValue => Injector.create({\n providers: [{\n provide: POLYMORPHEUS_CONTEXT,\n useValue\n }],\n parent: this.injector\n });\n }\n ngOnInit() {\n // Due to this view being parallel to app content, `markForCheck` from `async` pipe\n // can happen after view was checked, so calling `detectChanges` instead\n combineLatest(this.allAlerts).pipe(takeUntil(this.destroy$)).subscribe(alerts => {\n this.alerts = alerts;\n this.cdr.detectChanges();\n });\n }\n }\n TuiAlertHostComponent.ɵfac = function TuiAlertHostComponent_Factory(t) {\n return new (t || TuiAlertHostComponent)(i0.ɵɵdirectiveInject(TUI_ALERTS), i0.ɵɵdirectiveInject(INJECTOR), i0.ɵɵdirectiveInject(TuiDestroyService, 2), i0.ɵɵdirectiveInject(ChangeDetectorRef));\n };\n TuiAlertHostComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TuiAlertHostComponent,\n selectors: [[\"tui-alert-host\"]],\n features: [i0.ɵɵProvidersFeature([TuiDestroyService])],\n decls: 1,\n vars: 2,\n consts: [[\"class\", \"t-wrapper\", 4, \"ngFor\", \"ngForOf\", \"ngForTrackBy\"], [1, \"t-wrapper\"], [3, \"ngComponentOutlet\", \"ngComponentOutletInjector\", 4, \"ngFor\", \"ngForOf\"], [3, \"ngComponentOutlet\", \"ngComponentOutletInjector\"]],\n template: function TuiAlertHostComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, TuiAlertHostComponent_div_0_Template, 2, 2, \"div\", 0);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngForOf\", ctx.alerts)(\"ngForTrackBy\", ctx.trackBy);\n }\n },\n dependencies: [i1.NgForOf, i1.NgComponentOutlet, i2.TuiMapperPipe],\n styles: [\"tui-alert-host>.t-wrapper{position:fixed;top:0;left:0;display:flex;width:100%;height:100%;flex-direction:column;pointer-events:none}tui-alert-host>.t-wrapper>*{pointer-events:auto}\\n\"],\n encapsulation: 2,\n data: {\n animation: [TUI_PARENT_ANIMATION]\n }\n });\n return TuiAlertHostComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiAlertHostModule = /*#__PURE__*/(() => {\n class TuiAlertHostModule {}\n TuiAlertHostModule.ɵfac = function TuiAlertHostModule_Factory(t) {\n return new (t || TuiAlertHostModule)();\n };\n TuiAlertHostModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiAlertHostModule\n });\n TuiAlertHostModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [[CommonModule, TuiMapperPipeModule]]\n });\n return TuiAlertHostModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TuiAlertHostComponent, TuiAlertHostModule };\n","import { DOCUMENT } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { ElementRef, Renderer2, Directive, Inject, HostListener, NgModule } from '@angular/core';\nimport { tuiContainsOrAfter, tuiIsHTMLElement } from '@taiga-ui/cdk/utils/dom';\nimport { tuiGetNativeFocused, tuiGetClosestFocusable, tuiBlurNativeFocused } from '@taiga-ui/cdk/utils/focus';\nlet TuiFocusTrapDirective = /*#__PURE__*/(() => {\n class TuiFocusTrapDirective {\n constructor(doc, el, renderer) {\n this.doc = doc;\n this.el = el;\n this.renderer = renderer;\n this.activeElement = tuiGetNativeFocused(this.doc);\n /**\n * This would cause currently focused element to lose focus,\n * but it might cause ExpressionChanged error due to potential HostBinding.\n * Microtask keeps it in the same frame but allows change detection to run\n */\n void Promise.resolve().then(() => this.el.nativeElement.focus());\n }\n onBlur() {\n this.renderer.removeAttribute(this.el.nativeElement, 'tabIndex');\n }\n onFocusIn(node) {\n const {\n nativeElement\n } = this.el;\n if (tuiContainsOrAfter(nativeElement, node)) {\n return;\n }\n const focusable = tuiGetClosestFocusable({\n initial: nativeElement,\n root: nativeElement\n });\n if (focusable) {\n focusable.focus();\n }\n }\n ngOnDestroy() {\n tuiBlurNativeFocused(this.doc);\n /**\n * HostListeners are triggered even after ngOnDestroy\n * {@link https://github.com/angular/angular/issues/38100}\n * so we need to delay it but stay in the same sync cycle,\n * therefore using Promise instead of setTimeout\n */\n // eslint-disable-next-line\n Promise.resolve().then(() => {\n if (tuiIsHTMLElement(this.activeElement)) {\n this.activeElement.focus();\n }\n });\n }\n }\n TuiFocusTrapDirective.ɵfac = function TuiFocusTrapDirective_Factory(t) {\n return new (t || TuiFocusTrapDirective)(i0.ɵɵdirectiveInject(DOCUMENT), i0.ɵɵdirectiveInject(ElementRef), i0.ɵɵdirectiveInject(Renderer2));\n };\n TuiFocusTrapDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: TuiFocusTrapDirective,\n selectors: [[\"\", \"tuiFocusTrap\", \"\"]],\n hostAttrs: [\"tabIndex\", \"0\"],\n hostBindings: function TuiFocusTrapDirective_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"blur\", function TuiFocusTrapDirective_blur_HostBindingHandler() {\n return ctx.onBlur();\n })(\"focusin.silent\", function TuiFocusTrapDirective_focusin_silent_HostBindingHandler($event) {\n return ctx.onFocusIn($event.target);\n }, false, i0.ɵɵresolveWindow);\n }\n }\n });\n return TuiFocusTrapDirective;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiFocusTrapModule = /*#__PURE__*/(() => {\n class TuiFocusTrapModule {}\n TuiFocusTrapModule.ɵfac = function TuiFocusTrapModule_Factory(t) {\n return new (t || TuiFocusTrapModule)();\n };\n TuiFocusTrapModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiFocusTrapModule\n });\n TuiFocusTrapModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({});\n return TuiFocusTrapModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TuiFocusTrapDirective, TuiFocusTrapModule };\n","import { trigger, transition, style, query, animateChild } from '@angular/animations';\nimport * as i2 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { ChangeDetectorRef, Component, ChangeDetectionStrategy, Inject, Self, NgModule } from '@angular/core';\nimport * as i6 from '@angular/platform-browser';\nimport { Title } from '@angular/platform-browser';\nimport { HISTORY } from '@ng-web-apis/common';\nimport { TuiDestroyService } from '@taiga-ui/cdk/services';\nimport { TUI_IS_MOBILE, TUI_DIALOGS } from '@taiga-ui/cdk/tokens';\nimport { tuiCreateToken } from '@taiga-ui/cdk/utils';\nimport * as i5 from 'rxjs';\nimport { of, combineLatest } from 'rxjs';\nimport { map, takeUntil } from 'rxjs/operators';\nimport * as i1 from '@taiga-ui/cdk/components/scroll-controls';\nimport { TuiScrollControlsModule } from '@taiga-ui/cdk/components/scroll-controls';\nimport * as i3 from '@taiga-ui/cdk/directives';\nimport { TuiOverscrollModule, TuiFocusTrapModule, TuiLetModule } from '@taiga-ui/cdk/directives';\nimport * as i4 from '@tinkoff/ng-polymorpheus';\nimport { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';\nfunction TuiDialogHostComponent_section_0_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction TuiDialogHostComponent_section_0_tui_scroll_controls_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"tui-scroll-controls\", 5);\n }\n}\nfunction TuiDialogHostComponent_section_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"section\", 2);\n i0.ɵɵtemplate(1, TuiDialogHostComponent_section_0_ng_container_1_Template, 1, 0, \"ng-container\", 3)(2, TuiDialogHostComponent_section_0_tui_scroll_controls_2_Template, 1, 0, \"tui-scroll-controls\", 4);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const item_r1 = ctx.$implicit;\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"@host\", undefined);\n i0.ɵɵattribute(\"aria-labelledby\", item_r1.id);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"polymorpheusOutlet\", item_r1.component)(\"polymorpheusOutletContext\", item_r1);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx_r1.isMobile);\n }\n}\nfunction TuiDialogHostComponent_div_1_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"div\", 6);\n i0.ɵɵlistener(\"transitionend\", function TuiDialogHostComponent_div_1_Template_div_transitionend_0_listener($event) {\n const isDialogClosesOnBack_r4 = i0.ɵɵrestoreView(_r3).tuiLet;\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.onDialog($event, !!ctx_r1.dialogs.length, !!isDialogClosesOnBack_r4));\n })(\"popstate\", function TuiDialogHostComponent_div_1_Template_div_popstate_0_listener() {\n const isDialogClosesOnBack_r4 = i0.ɵɵrestoreView(_r3).tuiLet;\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.closeLast(ctx_r1.dialogs, !!isDialogClosesOnBack_r4));\n }, false, i0.ɵɵresolveWindow);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵclassProp(\"t-overlay_visible\", ctx_r1.dialogs.length);\n }\n}\nconst FAKE_HISTORY_STATE = {\n label: 'ignoreMe'\n};\nconst isFakeHistoryState = historyState => (historyState === null || historyState === void 0 ? void 0 : historyState.label) === FAKE_HISTORY_STATE.label;\n/**\n * Is closing dialog on browser backward navigation enabled\n */\nconst TUI_DIALOG_CLOSES_ON_BACK = tuiCreateToken(of(false));\nlet TuiDialogHostComponent = /*#__PURE__*/(() => {\n class TuiDialogHostComponent {\n constructor(isMobile, isDialogClosesOnBack$, dialogsByType, historyRef, titleService, destroy$, cdr, doc) {\n this.isMobile = isMobile;\n this.isDialogClosesOnBack$ = isDialogClosesOnBack$;\n this.dialogsByType = dialogsByType;\n this.historyRef = historyRef;\n this.titleService = titleService;\n this.destroy$ = destroy$;\n this.cdr = cdr;\n this.doc = doc;\n this.dialogs = [];\n }\n ngOnInit() {\n // Due to this view being parallel to app content, `markForCheck` from `async` pipe\n // can happen after view was checked, so calling `detectChanges` instead\n combineLatest(this.dialogsByType).pipe(map(arr => [].concat(...arr).sort((a, b) => a.createdAt - b.createdAt)), takeUntil(this.destroy$)).subscribe(dialogs => {\n var _a;\n this.dialogs = dialogs;\n this.cdr.markForCheck();\n (_a = this.doc.defaultView) === null || _a === void 0 ? void 0 : _a.document.documentElement.classList.toggle('t-overscroll-none', !!dialogs.length);\n });\n }\n closeLast(dialogs, isDialogClosesOnBack) {\n if (!isDialogClosesOnBack) {\n return;\n }\n const [last] = dialogs.slice(-1);\n if (!last) {\n return;\n }\n if (dialogs.length > 1) {\n this.historyRef.pushState(FAKE_HISTORY_STATE, this.titleService.getTitle());\n }\n last.$implicit.complete();\n }\n onDialog({\n propertyName\n }, popupOpened, isDialogClosesOnBack) {\n if (!isDialogClosesOnBack || propertyName !== 'letter-spacing') {\n return;\n }\n if (popupOpened) {\n this.historyRef.pushState(FAKE_HISTORY_STATE, this.titleService.getTitle());\n } else if (isFakeHistoryState(this.historyRef.state)) {\n this.historyRef.back();\n }\n }\n }\n TuiDialogHostComponent.ɵfac = function TuiDialogHostComponent_Factory(t) {\n return new (t || TuiDialogHostComponent)(i0.ɵɵdirectiveInject(TUI_IS_MOBILE), i0.ɵɵdirectiveInject(TUI_DIALOG_CLOSES_ON_BACK), i0.ɵɵdirectiveInject(TUI_DIALOGS), i0.ɵɵdirectiveInject(HISTORY), i0.ɵɵdirectiveInject(Title), i0.ɵɵdirectiveInject(TuiDestroyService, 2), i0.ɵɵdirectiveInject(ChangeDetectorRef), i0.ɵɵdirectiveInject(DOCUMENT));\n };\n TuiDialogHostComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TuiDialogHostComponent,\n selectors: [[\"tui-dialog-host\"]],\n features: [i0.ɵɵProvidersFeature([TuiDestroyService])],\n decls: 3,\n vars: 4,\n consts: [[\"aria-modal\", \"true\", \"role\", \"dialog\", \"tuiFocusTrap\", \"\", \"tuiOverscroll\", \"all\", \"tuiScrollRef\", \"\", \"class\", \"t-dialog\", 4, \"ngFor\", \"ngForOf\"], [\"class\", \"t-overlay\", 3, \"t-overlay_visible\", \"transitionend\", \"popstate\", 4, \"tuiLet\"], [\"aria-modal\", \"true\", \"role\", \"dialog\", \"tuiFocusTrap\", \"\", \"tuiOverscroll\", \"all\", \"tuiScrollRef\", \"\", 1, \"t-dialog\"], [4, \"polymorpheusOutlet\", \"polymorpheusOutletContext\"], [\"class\", \"t-scrollbars\", 4, \"ngIf\"], [1, \"t-scrollbars\"], [1, \"t-overlay\", 3, \"transitionend\", \"popstate\"]],\n template: function TuiDialogHostComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, TuiDialogHostComponent_section_0_Template, 3, 5, \"section\", 0)(1, TuiDialogHostComponent_div_1_Template, 1, 2, \"div\", 1);\n i0.ɵɵpipe(2, \"async\");\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngForOf\", ctx.dialogs);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"tuiLet\", i0.ɵɵpipeBind1(2, 2, ctx.isDialogClosesOnBack$));\n }\n },\n dependencies: [i1.TuiScrollControlsComponent, i2.NgForOf, i3.TuiFocusTrapDirective, i3.TuiOverscrollDirective, i1.TuiScrollRefDirective, i4.PolymorpheusOutletDirective, i2.NgIf, i3.TuiLetDirective, i2.AsyncPipe],\n styles: [\"[_nghost-%COMP%]{position:fixed;left:0;bottom:0;width:100%;height:0}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-start;outline:none;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.t-overlay.ng-animating[_ngcontent-%COMP%], .t-dialog.ng-animating[_ngcontent-%COMP%]{overflow:clip}.t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar, .t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{display:none}.t-dialog[_ngcontent-%COMP%]{bottom:auto;height:100%}.t-overlay[_ngcontent-%COMP%]{height:100%;pointer-events:none;touch-action:none;opacity:0;letter-spacing:normal;transition:opacity var(--tui-duration, .3s),letter-spacing .01s;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-overlay_visible[_ngcontent-%COMP%]{opacity:1;letter-spacing:1px}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}.t-scrollbars[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;margin:0;color:#747474}\"],\n data: {\n animation: [trigger('host', [transition(':enter', [style({\n overflow: 'clip'\n }), query(':scope > *', [animateChild()], {\n optional: true\n })]), transition(':leave', [query(':scope > *', [animateChild()], {\n optional: true\n })])])]\n }\n });\n return TuiDialogHostComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiDialogHostModule = /*#__PURE__*/(() => {\n class TuiDialogHostModule {}\n TuiDialogHostModule.ɵfac = function TuiDialogHostModule_Factory(t) {\n return new (t || TuiDialogHostModule)();\n };\n TuiDialogHostModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiDialogHostModule\n });\n TuiDialogHostModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [[CommonModule, PolymorpheusModule, TuiOverscrollModule, TuiFocusTrapModule, TuiLetModule, TuiScrollControlsModule]]\n });\n return TuiDialogHostModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TUI_DIALOG_CLOSES_ON_BACK, TuiDialogHostComponent, TuiDialogHostModule };\n","import * as i0 from '@angular/core';\nimport { EventEmitter, Component, ChangeDetectionStrategy, Inject, Input, HostBinding, Output, NgModule } from '@angular/core';\nimport { tuiIsObserved } from '@taiga-ui/cdk';\nimport { TUI_CLOSE_WORD, TUI_COMMON_ICONS, TUI_NOTIFICATION_OPTIONS } from '@taiga-ui/core/tokens';\nimport * as i1 from '@taiga-ui/core/components/svg';\nimport { TuiSvgModule } from '@taiga-ui/core/components/svg';\nimport * as i2 from '@taiga-ui/core/components/button';\nimport { TuiButtonModule } from '@taiga-ui/core/components/button';\nimport * as i3 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i4 from '@tinkoff/ng-polymorpheus';\nimport { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';\nimport * as i5 from 'rxjs';\nconst _c0 = [\"*\"];\nconst _c1 = a0 => ({\n $implicit: a0\n});\nfunction TuiNotificationComponent_ng_container_0_tui_svg_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"tui-svg\", 5);\n }\n if (rf & 2) {\n const iconName_r1 = ctx.polymorpheusOutlet;\n i0.ɵɵproperty(\"src\", iconName_r1);\n }\n}\nfunction TuiNotificationComponent_ng_container_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, TuiNotificationComponent_ng_container_0_tui_svg_1_Template, 1, 1, \"tui-svg\", 4);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"polymorpheusOutlet\", ctx_r1.icon)(\"polymorpheusOutletContext\", i0.ɵɵpureFunction1(2, _c1, ctx_r1.status));\n }\n}\nfunction TuiNotificationComponent_button_3_Template(rf, ctx) {\n if (rf & 1) {\n const _r3 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 6);\n i0.ɵɵpipe(1, \"async\");\n i0.ɵɵlistener(\"click\", function TuiNotificationComponent_button_3_Template_button_click_0_listener() {\n i0.ɵɵrestoreView(_r3);\n const ctx_r1 = i0.ɵɵnextContext();\n return i0.ɵɵresetView(ctx_r1.close.emit());\n });\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"icon\", ctx_r1.icons.close)(\"title\", i0.ɵɵpipeBind1(1, 2, ctx_r1.closeWord$));\n }\n}\nlet TuiNotificationComponent = /*#__PURE__*/(() => {\n class TuiNotificationComponent {\n constructor(closeWord$, icons, options) {\n this.closeWord$ = closeWord$;\n this.icons = icons;\n this.options = options;\n /**\n * @deprecated Use {@link TuiNotificationComponent.icon} input or TUI_NOTIFICATION_OPTIONS instead\n */\n this.hasIcon = this.options.hasIcon;\n this.icon = this.options.icon;\n this.status = this.options.status;\n this.size = this.options.size;\n this.hideClose = false;\n this.close = new EventEmitter();\n }\n get hasClose() {\n return !this.hideClose && tuiIsObserved(this.close);\n }\n }\n TuiNotificationComponent.ɵfac = function TuiNotificationComponent_Factory(t) {\n return new (t || TuiNotificationComponent)(i0.ɵɵdirectiveInject(TUI_CLOSE_WORD), i0.ɵɵdirectiveInject(TUI_COMMON_ICONS), i0.ɵɵdirectiveInject(TUI_NOTIFICATION_OPTIONS));\n };\n TuiNotificationComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TuiNotificationComponent,\n selectors: [[\"tui-notification\"], [\"a\", \"tuiNotification\", \"\"], [\"button\", \"tuiNotification\", \"\"]],\n hostVars: 2,\n hostBindings: function TuiNotificationComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵattribute(\"data-status\", ctx.status)(\"data-size\", ctx.size);\n }\n },\n inputs: {\n hasIcon: \"hasIcon\",\n icon: \"icon\",\n status: \"status\",\n size: \"size\",\n hideClose: \"hideClose\"\n },\n outputs: {\n close: \"close\"\n },\n ngContentSelectors: _c0,\n decls: 5,\n vars: 3,\n consts: [[4, \"ngIf\"], [1, \"t-content\"], [\"appearance\", \"icon\", \"automation-id\", \"tui-notification__close\", \"size\", \"xs\", \"tuiIconButton\", \"\", \"type\", \"button\", \"class\", \"t-close\", 3, \"icon\", \"title\", \"click\", 4, \"ngIf\"], [\"automation-id\", \"tui-notification__more\", 1, \"t-more\", 3, \"src\"], [\"automation-id\", \"tui-notification__icon\", \"class\", \"t-icon\", 3, \"src\", 4, \"polymorpheusOutlet\", \"polymorpheusOutletContext\"], [\"automation-id\", \"tui-notification__icon\", 1, \"t-icon\", 3, \"src\"], [\"appearance\", \"icon\", \"automation-id\", \"tui-notification__close\", \"size\", \"xs\", \"tuiIconButton\", \"\", \"type\", \"button\", 1, \"t-close\", 3, \"click\", \"icon\", \"title\"]],\n template: function TuiNotificationComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef();\n i0.ɵɵtemplate(0, TuiNotificationComponent_ng_container_0_Template, 2, 4, \"ng-container\", 0);\n i0.ɵɵelementStart(1, \"div\", 1);\n i0.ɵɵprojection(2);\n i0.ɵɵelementEnd();\n i0.ɵɵtemplate(3, TuiNotificationComponent_button_3_Template, 2, 4, \"button\", 2);\n i0.ɵɵelement(4, \"tui-svg\", 3);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngIf\", ctx.icon && ctx.hasIcon);\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngIf\", ctx.hasClose);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"src\", ctx.icons.more);\n }\n },\n dependencies: [i1.TuiSvgComponent, i2.TuiButtonComponent, i3.NgIf, i4.PolymorpheusOutletDirective, i3.AsyncPipe],\n styles: [\"[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:flex;padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-base-01);box-sizing:border-box;overflow:hidden;text-align:left}[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:none}button[_nghost-%COMP%], a[_nghost-%COMP%]{border:none;cursor:pointer}button[_nghost-%COMP%] .t-more[_ngcontent-%COMP%], a[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:inline-flex;color:var(--tui-text-01);opacity:.5}[data-size=s][_nghost-%COMP%]{padding:.375rem .625rem}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}[data-size=s][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem .75rem}[data-size=s][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=m][_nghost-%COMP%]{padding:.75rem}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}[data-size=m][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.125rem -.125rem 1rem}[data-size=m][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=l][_nghost-%COMP%]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:.5rem}[data-size=l][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin-right:-.5rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-info-fill);background:linear-gradient(var(--tui-info-bg),var(--tui-info-bg)),var(--tui-base-01)}[data-status=success][_nghost-%COMP%]{color:var(--tui-success-fill);background:linear-gradient(var(--tui-success-bg),var(--tui-success-bg)),var(--tui-base-01)}[data-status=error][_nghost-%COMP%]{color:var(--tui-error-fill);background:linear-gradient(var(--tui-error-bg),var(--tui-error-bg)),var(--tui-base-01)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-warning-fill);background:linear-gradient(var(--tui-warning-bg),var(--tui-warning-bg)),var(--tui-base-01)}[data-status=neutral][_nghost-%COMP%]{color:var(--tui-neutral-fill);background:linear-gradient(var(--tui-neutral-bg),var(--tui-neutral-bg)),var(--tui-base-01)}.t-content[_ngcontent-%COMP%]{flex:1;word-break:break-word;color:var(--tui-text-01);text-align:inherit;align-self:center}\"],\n changeDetection: 0\n });\n return TuiNotificationComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiNotificationModule = /*#__PURE__*/(() => {\n class TuiNotificationModule {}\n TuiNotificationModule.ɵfac = function TuiNotificationModule_Factory(t) {\n return new (t || TuiNotificationModule)();\n };\n TuiNotificationModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiNotificationModule\n });\n TuiNotificationModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [[CommonModule, TuiSvgModule, TuiButtonModule, PolymorpheusModule]]\n });\n return TuiNotificationModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TuiNotificationComponent, TuiNotificationModule };\n","import * as i0 from '@angular/core';\nimport { inject, ElementRef, Component, ChangeDetectionStrategy, Inject, Self, Injectable, Directive, NgModule } from '@angular/core';\nimport * as i4 from '@taiga-ui/cdk';\nimport { tuiCreateTokenFromFactory, TUI_IS_MOBILE, tuiIsNumber, TuiDestroyService, AbstractTuiDialogService, TuiIdService, AbstractTuiDialogDirective, tuiAsAlerts } from '@taiga-ui/cdk';\nimport { tuiFadeIn, tuiSlideIn, tuiHeightCollapse } from '@taiga-ui/core/animations';\nimport { TUI_ANIMATION_OPTIONS, TUI_NOTIFICATION_OPTIONS } from '@taiga-ui/core/tokens';\nimport * as i3 from '@tinkoff/ng-polymorpheus';\nimport { POLYMORPHEUS_CONTEXT, PolymorpheusComponent, PolymorpheusModule } from '@tinkoff/ng-polymorpheus';\nimport { timer, fromEvent } from 'rxjs';\nimport { takeUntil, repeatWhen } from 'rxjs/operators';\nimport * as i1 from '@taiga-ui/core/components/notification';\nimport { TuiNotificationModule } from '@taiga-ui/core/components/notification';\nimport * as i2 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nfunction TuiAlertComponent_label_1_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtext(1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const text_r1 = ctx.polymorpheusOutlet;\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" \", text_r1, \" \");\n }\n}\nfunction TuiAlertComponent_label_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"label\", 4);\n i0.ɵɵtemplate(1, TuiAlertComponent_label_1_ng_container_1_Template, 2, 1, \"ng-container\", 5);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"polymorpheusOutlet\", ctx_r1.item.label)(\"polymorpheusOutletContext\", ctx_r1.item);\n }\n}\nfunction TuiAlertComponent_div_3_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"div\", 6);\n }\n if (rf & 2) {\n const text_r3 = ctx.polymorpheusOutlet;\n i0.ɵɵproperty(\"innerHTML\", text_r3, i0.ɵɵsanitizeHtml);\n }\n}\nconst TUI_ALERT_POSITION = tuiCreateTokenFromFactory(() => inject(TUI_IS_MOBILE) ? '1rem 1rem 0 auto' : '2rem 3rem 0 auto');\n\n// TODO: get rid of $any in template\nlet TuiAlertComponent = /*#__PURE__*/(() => {\n class TuiAlertComponent {\n constructor(el, destroy$, position, options, item) {\n this.el = el;\n this.destroy$ = destroy$;\n this.position = position;\n this.options = options;\n this.item = item;\n this.autoClose = typeof this.item.autoClose === 'function' ? this.item.autoClose(this.item.status) : this.item.autoClose;\n this.animation = this.position.endsWith('auto') ? Object.assign(Object.assign({}, this.options), {\n value: 'right'\n }) : Object.assign(Object.assign({}, this.options), {\n value: 'left'\n });\n }\n ngOnInit() {\n this.initAutoClose();\n }\n close() {\n this.item.$implicit.complete();\n }\n initAutoClose() {\n if (!this.autoClose) {\n return;\n }\n timer(tuiIsNumber(this.autoClose) ? this.autoClose : 3000).pipe(takeUntil(fromEvent(this.el.nativeElement, 'mouseenter')),\n /**\n * TODO: replace to\n * repeat({\n * delay: () => fromEvent(this.el.nativeElement, 'mouseleave'),\n * })\n *\n * in RxJS 7\n */\n // eslint-disable-next-line rxjs/no-ignored-notifier\n repeatWhen(() => fromEvent(this.el.nativeElement, 'mouseleave')), takeUntil(this.destroy$)).subscribe(() => this.close());\n }\n }\n TuiAlertComponent.ɵfac = function TuiAlertComponent_Factory(t) {\n return new (t || TuiAlertComponent)(i0.ɵɵdirectiveInject(ElementRef), i0.ɵɵdirectiveInject(TuiDestroyService, 2), i0.ɵɵdirectiveInject(TUI_ALERT_POSITION), i0.ɵɵdirectiveInject(TUI_ANIMATION_OPTIONS), i0.ɵɵdirectiveInject(POLYMORPHEUS_CONTEXT));\n };\n TuiAlertComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TuiAlertComponent,\n selectors: [[\"tui-alert\"]],\n hostAttrs: [\"role\", \"alert\"],\n hostVars: 5,\n hostBindings: function TuiAlertComponent_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵsyntheticHostProperty(\"@tuiFadeIn\", ctx.options)(\"@tuiSlideIn\", ctx.animation)(\"@tuiHeightCollapse\", ctx.animation);\n i0.ɵɵstyleProp(\"margin\", ctx.position);\n }\n },\n features: [i0.ɵɵProvidersFeature([TuiDestroyService])],\n decls: 4,\n vars: 7,\n consts: [[3, \"close\", \"hasIcon\", \"hideClose\", \"icon\", \"status\"], [\"automation-id\", \"tui-notification-alert__heading\", \"class\", \"t-heading\", 4, \"ngIf\"], [\"automation-id\", \"tui-notification-alert__content\", 1, \"t-content\"], [3, \"innerHTML\", 4, \"polymorpheusOutlet\", \"polymorpheusOutletContext\"], [\"automation-id\", \"tui-notification-alert__heading\", 1, \"t-heading\"], [4, \"polymorpheusOutlet\", \"polymorpheusOutletContext\"], [3, \"innerHTML\"]],\n template: function TuiAlertComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"tui-notification\", 0);\n i0.ɵɵlistener(\"close\", function TuiAlertComponent_Template_tui_notification_close_0_listener() {\n return ctx.close();\n });\n i0.ɵɵtemplate(1, TuiAlertComponent_label_1_Template, 2, 2, \"label\", 1);\n i0.ɵɵelementStart(2, \"div\", 2);\n i0.ɵɵtemplate(3, TuiAlertComponent_div_3_Template, 1, 1, \"div\", 3);\n i0.ɵɵelementEnd()();\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"hasIcon\", ctx.item.hasIcon)(\"hideClose\", !ctx.item.hasCloseButton)(\"icon\", ctx.item.icon)(\"status\", ctx.item.status);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.item.label);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"polymorpheusOutlet\", ctx.item.content)(\"polymorpheusOutletContext\", ctx.item);\n }\n },\n dependencies: [i1.TuiNotificationComponent, i2.NgIf, i3.PolymorpheusOutletDirective],\n styles: [\"[_nghost-%COMP%]{display:block;box-shadow:var(--tui-shadow-dropdown);border-radius:var(--tui-radius-l);width:18rem}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem!important}[_nghost-%COMP%]:not(:last-child){margin-bottom:0!important}.t-heading[_ngcontent-%COMP%]{margin:0}[data-size=s][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}[data-size=m][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:bold}[data-size=l][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-l);line-height:1.5rem;font-weight:bold}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-01);word-wrap:break-word;word-break:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}\"],\n data: {\n animation: [tuiFadeIn, tuiSlideIn, tuiHeightCollapse]\n },\n changeDetection: 0\n });\n return TuiAlertComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiAlertService = /*#__PURE__*/(() => {\n class TuiAlertService extends AbstractTuiDialogService {\n constructor(defaultOptions, idService) {\n super(idService);\n this.defaultOptions = defaultOptions;\n this.component = new PolymorpheusComponent(TuiAlertComponent);\n }\n }\n TuiAlertService.ɵfac = function TuiAlertService_Factory(t) {\n return new (t || TuiAlertService)(i0.ɵɵinject(TUI_NOTIFICATION_OPTIONS), i0.ɵɵinject(TuiIdService));\n };\n TuiAlertService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: TuiAlertService,\n factory: TuiAlertService.ɵfac,\n providedIn: 'root'\n });\n return TuiAlertService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiAlertDirective = /*#__PURE__*/(() => {\n class TuiAlertDirective extends AbstractTuiDialogDirective {}\n TuiAlertDirective.ɵfac = /* @__PURE__ */(() => {\n let ɵTuiAlertDirective_BaseFactory;\n return function TuiAlertDirective_Factory(t) {\n return (ɵTuiAlertDirective_BaseFactory || (ɵTuiAlertDirective_BaseFactory = i0.ɵɵgetInheritedFactory(TuiAlertDirective)))(t || TuiAlertDirective);\n };\n })();\n TuiAlertDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: TuiAlertDirective,\n selectors: [[\"ng-template\", \"tuiAlert\", \"\"]],\n inputs: {\n options: [0, \"tuiAlertOptions\", \"options\"],\n open: [0, \"tuiAlert\", \"open\"]\n },\n outputs: {\n openChange: \"tuiAlertChange\"\n },\n features: [i0.ɵɵProvidersFeature([{\n provide: AbstractTuiDialogService,\n useExisting: TuiAlertService\n }]), i0.ɵɵInheritDefinitionFeature]\n });\n return TuiAlertDirective;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiAlertModule = /*#__PURE__*/(() => {\n class TuiAlertModule {}\n TuiAlertModule.ɵfac = function TuiAlertModule_Factory(t) {\n return new (t || TuiAlertModule)();\n };\n TuiAlertModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiAlertModule\n });\n TuiAlertModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: [tuiAsAlerts(TuiAlertService)],\n imports: [[CommonModule, PolymorpheusModule, TuiNotificationModule]]\n });\n return TuiAlertModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TUI_ALERT_POSITION, TuiAlertComponent, TuiAlertDirective, TuiAlertModule, TuiAlertService };\n","import * as i0 from '@angular/core';\nimport { ChangeDetectorRef, Component, ChangeDetectionStrategy, Inject, Self, NgModule } from '@angular/core';\nimport * as i2 from '@taiga-ui/cdk';\nimport { TuiDestroyService, TUI_PARENT_ANIMATION, TuiActiveZoneModule } from '@taiga-ui/cdk';\nimport { TuiHintService } from '@taiga-ui/core/services';\nimport { takeUntil } from 'rxjs/operators';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i3 from '@tinkoff/ng-polymorpheus';\nimport { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';\nimport * as i4 from 'rxjs';\nconst _c0 = a0 => ({\n $implicit: a0\n});\nfunction TuiHintsHostComponent_div_0_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainer(0);\n }\n}\nfunction TuiHintsHostComponent_div_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 1);\n i0.ɵɵtemplate(1, TuiHintsHostComponent_div_0_ng_container_1_Template, 1, 0, \"ng-container\", 2);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const hint_r1 = ctx.$implicit;\n i0.ɵɵproperty(\"@tuiParentAnimation\", undefined)(\"tuiActiveZoneParent\", hint_r1.activeZone || null);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"polymorpheusOutlet\", hint_r1.component)(\"polymorpheusOutletContext\", i0.ɵɵpureFunction1(4, _c0, hint_r1));\n }\n}\nlet TuiHintsHostComponent = /*#__PURE__*/(() => {\n class TuiHintsHostComponent {\n constructor(hints$, destroy$, cdr) {\n this.hints$ = hints$;\n this.destroy$ = destroy$;\n this.cdr = cdr;\n this.hints = [];\n }\n ngOnInit() {\n // Due to this view being parallel to app content, `markForCheck` from `async` pipe\n // can happen after view was checked, so calling `detectChanges` instead\n this.hints$.pipe(takeUntil(this.destroy$)).subscribe(hints => {\n this.hints = hints;\n this.cdr.detectChanges();\n });\n }\n }\n TuiHintsHostComponent.ɵfac = function TuiHintsHostComponent_Factory(t) {\n return new (t || TuiHintsHostComponent)(i0.ɵɵdirectiveInject(TuiHintService), i0.ɵɵdirectiveInject(TuiDestroyService, 2), i0.ɵɵdirectiveInject(ChangeDetectorRef));\n };\n TuiHintsHostComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TuiHintsHostComponent,\n selectors: [[\"tui-hints-host\"]],\n hostAttrs: [\"aria-live\", \"polite\"],\n features: [i0.ɵɵProvidersFeature([TuiDestroyService])],\n decls: 1,\n vars: 1,\n consts: [[\"role\", \"tooltip\", 3, \"tuiActiveZoneParent\", 4, \"ngFor\", \"ngForOf\"], [\"role\", \"tooltip\", 3, \"tuiActiveZoneParent\"], [4, \"polymorpheusOutlet\", \"polymorpheusOutletContext\"]],\n template: function TuiHintsHostComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, TuiHintsHostComponent_div_0_Template, 2, 6, \"div\", 0);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngForOf\", ctx.hints);\n }\n },\n dependencies: [i1.NgForOf, i2.TuiActiveZoneDirective, i3.PolymorpheusOutletDirective],\n styles: [\"[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:0}\"],\n data: {\n animation: [TUI_PARENT_ANIMATION]\n }\n });\n return TuiHintsHostComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiHintsHostModule = /*#__PURE__*/(() => {\n class TuiHintsHostModule {}\n TuiHintsHostModule.ɵfac = function TuiHintsHostModule_Factory(t) {\n return new (t || TuiHintsHostModule)();\n };\n TuiHintsHostModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiHintsHostModule\n });\n TuiHintsHostModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [[CommonModule, PolymorpheusModule, TuiActiveZoneModule]]\n });\n return TuiHintsHostModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TuiHintsHostComponent, TuiHintsHostModule };\n","import * as i1 from '@angular/common';\nimport { isPlatformServer, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { ChangeDetectorRef, PLATFORM_ID, Component, ChangeDetectionStrategy, Inject, Self, NgModule } from '@angular/core';\nimport * as i3 from '@taiga-ui/cdk';\nimport { TuiDestroyService, TuiLetModule } from '@taiga-ui/cdk';\nimport * as i2 from '@taiga-ui/core/services';\nimport { TuiSvgService } from '@taiga-ui/core/services';\nimport { takeUntil } from 'rxjs/operators';\nfunction TuiSvgDefsHostComponent__svg_ng_container_1__svg_defs_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelement(0, \"defs\", 4);\n }\n if (rf & 2) {\n const def_r1 = ctx.$implicit;\n i0.ɵɵproperty(\"innerHTML\", def_r1, i0.ɵɵsanitizeHtml);\n }\n}\nfunction TuiSvgDefsHostComponent__svg_ng_container_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtemplate(1, TuiSvgDefsHostComponent__svg_ng_container_1__svg_defs_1_Template, 1, 1, \"defs\", 3);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx_r1.items);\n }\n}\nfunction TuiSvgDefsHostComponent__svg_ng_template_2__svg_defs_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"defs\");\n i0.ɵɵelement(1, \"svg\", 6);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const def_r3 = ctx.$implicit;\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"outerHTML\", def_r3, i0.ɵɵsanitizeHtml);\n }\n}\nfunction TuiSvgDefsHostComponent__svg_ng_template_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵtemplate(0, TuiSvgDefsHostComponent__svg_ng_template_2__svg_defs_0_Template, 2, 1, \"defs\", 5);\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngForOf\", ctx_r1.items);\n }\n}\nlet TuiSvgDefsHostComponent = /*#__PURE__*/(() => {\n class TuiSvgDefsHostComponent {\n constructor(svgService, cdr, destroy$, platformId) {\n this.svgService = svgService;\n this.cdr = cdr;\n this.destroy$ = destroy$;\n this.isBrowser = true;\n this.isBrowser = !isPlatformServer(platformId);\n }\n // @bad TODO: Looks like it could be async piped but it was probably written like that for a reason\n ngOnInit() {\n this.svgService.items$.pipe(takeUntil(this.destroy$)).subscribe(defsMap => {\n this.items = defsMap.values();\n this.cdr.detectChanges();\n });\n }\n }\n TuiSvgDefsHostComponent.ɵfac = function TuiSvgDefsHostComponent_Factory(t) {\n return new (t || TuiSvgDefsHostComponent)(i0.ɵɵdirectiveInject(TuiSvgService), i0.ɵɵdirectiveInject(ChangeDetectorRef), i0.ɵɵdirectiveInject(TuiDestroyService, 2), i0.ɵɵdirectiveInject(PLATFORM_ID));\n };\n TuiSvgDefsHostComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TuiSvgDefsHostComponent,\n selectors: [[\"tui-svg-defs-host\"]],\n features: [i0.ɵɵProvidersFeature([TuiDestroyService])],\n decls: 4,\n vars: 2,\n consts: [[\"server\", \"\"], [\"version\", \"1.1\", 0, \"xmlns\", \"xlink\", \"http://www.w3.org/1999/xlink\", \"xmlns\", \"http://www.w3.org/2000/svg\"], [4, \"ngIf\", \"ngIfElse\"], [3, \"innerHTML\", 4, \"ngFor\", \"ngForOf\"], [3, \"innerHTML\"], [4, \"ngFor\", \"ngForOf\"], [3, \"outerHTML\"]],\n template: function TuiSvgDefsHostComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(0, \"svg\", 1);\n i0.ɵɵtemplate(1, TuiSvgDefsHostComponent__svg_ng_container_1_Template, 2, 1, \"ng-container\", 2)(2, TuiSvgDefsHostComponent__svg_ng_template_2_Template, 1, 1, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n const server_r4 = i0.ɵɵreference(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.isBrowser)(\"ngIfElse\", server_r4);\n }\n },\n dependencies: [i1.NgIf, i1.NgForOf],\n styles: [\"[_nghost-%COMP%]{display:none}\"],\n changeDetection: 0\n });\n return TuiSvgDefsHostComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiSvgDefsHostModule = /*#__PURE__*/(() => {\n class TuiSvgDefsHostModule {}\n TuiSvgDefsHostModule.ɵfac = function TuiSvgDefsHostModule_Factory(t) {\n return new (t || TuiSvgDefsHostModule)();\n };\n TuiSvgDefsHostModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiSvgDefsHostModule\n });\n TuiSvgDefsHostModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [[CommonModule, TuiLetModule]]\n });\n return TuiSvgDefsHostModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TuiSvgDefsHostComponent, TuiSvgDefsHostModule };\n","import * as i4 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { Component, ViewEncapsulation, ChangeDetectionStrategy, Inject, NgModule } from '@angular/core';\nimport * as i1 from '@taiga-ui/cdk';\nimport { TUI_DIALOGS, TUI_IS_MOBILE, TUI_IS_IOS, TUI_IS_ANDROID, TUI_VERSION, TuiDropdownHostModule, TuiDialogHostModule, TuiAlertHostModule, TuiScrollControlsModule } from '@taiga-ui/cdk';\nimport * as i5 from '@taiga-ui/core/services';\nimport { TuiBreakpointService } from '@taiga-ui/core/services';\nimport { TUI_REDUCED_MOTION, TUI_ANIMATIONS_DURATION, TUI_THEME } from '@taiga-ui/core/tokens';\nimport { combineLatest, of } from 'rxjs';\nimport { map, debounceTime } from 'rxjs/operators';\nimport * as i2 from '@taiga-ui/core/internal/svg-defs-host';\nimport { TuiSvgDefsHostModule } from '@taiga-ui/core/internal/svg-defs-host';\nimport * as i3 from '@taiga-ui/core/components/hints-host';\nimport { TuiHintsHostModule } from '@taiga-ui/core/components/hints-host';\nimport { EventPluginsModule } from '@tinkoff/ng-event-plugins';\nconst _c0 = [\"*\", [[\"tuiOverContent\"]], [[\"tuiOverDialogs\"]], [[\"tuiOverAlerts\"]], [[\"tuiOverPortals\"]], [[\"tuiOverHints\"]]];\nconst _c1 = [\"*\", \"tuiOverContent\", \"tuiOverDialogs\", \"tuiOverAlerts\", \"tuiOverPortals\", \"tuiOverHints\"];\nfunction TuiRootComponent_tui_scroll_controls_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelement(0, \"tui-scroll-controls\", 2);\n }\n}\nlet TuiRootComponent = /*#__PURE__*/(() => {\n class TuiRootComponent {\n constructor(reducedMotion, duration, dialogs, isMobile, breakpoint, isIOS, isAndroid, document, theme) {\n var _a;\n this.reducedMotion = reducedMotion;\n this.duration = duration;\n this.dialogs = dialogs;\n this.isMobile = isMobile;\n this.breakpoint = breakpoint;\n this.isIOS = isIOS;\n this.isAndroid = isAndroid;\n this.isMobileRes$ = this.breakpoint.pipe(map(breakpoint => breakpoint === 'mobile'));\n this.scrollbars$ = this.dialogs.length && !this.isMobile ? combineLatest([...this.dialogs]).pipe(map(dialogs => !dialogs.some(({\n length\n }) => length)), debounceTime(0)) : of(!this.isMobile);\n (_a = document.defaultView) === null || _a === void 0 ? void 0 : _a.document.body.setAttribute('data-tui-theme', theme.toLowerCase());\n }\n }\n TuiRootComponent.ɵfac = function TuiRootComponent_Factory(t) {\n return new (t || TuiRootComponent)(i0.ɵɵdirectiveInject(TUI_REDUCED_MOTION), i0.ɵɵdirectiveInject(TUI_ANIMATIONS_DURATION), i0.ɵɵdirectiveInject(TUI_DIALOGS), i0.ɵɵdirectiveInject(TUI_IS_MOBILE), i0.ɵɵdirectiveInject(TuiBreakpointService), i0.ɵɵdirectiveInject(TUI_IS_IOS), i0.ɵɵdirectiveInject(TUI_IS_ANDROID), i0.ɵɵdirectiveInject(DOCUMENT), i0.ɵɵdirectiveInject(TUI_THEME));\n };\n TuiRootComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: TuiRootComponent,\n selectors: [[\"tui-root\"]],\n hostAttrs: [\"data-tui-version\", \"3.84.0\"],\n hostVars: 9,\n hostBindings: function TuiRootComponent_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"touchstart.passive.silent\", function TuiRootComponent_touchstart_passive_silent_HostBindingHandler() {\n return 0;\n })(\"$.class._mobile\", function TuiRootComponent___class__mobile_HostBindingHandler() {\n return ctx.isMobileRes$;\n });\n }\n if (rf & 2) {\n i0.ɵɵhostProperty(\"$.class._mobile\", ctx.isMobileRes$);\n i0.ɵɵstyleProp(\"--tui-duration\", ctx.duration, \"ms\");\n i0.ɵɵclassProp(\"_ios\", ctx.isIOS)(\"_android\", ctx.isAndroid)(\"_reduced-motion\", ctx.reducedMotion);\n }\n },\n ngContentSelectors: _c1,\n decls: 14,\n vars: 3,\n consts: [[\"class\", \"t-root-scrollbar\", 4, \"ngIf\"], [1, \"t-root-content\"], [1, \"t-root-scrollbar\"]],\n template: function TuiRootComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵprojectionDef(_c0);\n i0.ɵɵtemplate(0, TuiRootComponent_tui_scroll_controls_0_Template, 1, 0, \"tui-scroll-controls\", 0);\n i0.ɵɵpipe(1, \"async\");\n i0.ɵɵelement(2, \"tui-svg-defs-host\");\n i0.ɵɵelementStart(3, \"tui-dropdown-host\")(4, \"div\", 1);\n i0.ɵɵprojection(5);\n i0.ɵɵelementEnd();\n i0.ɵɵprojection(6, 1);\n i0.ɵɵelement(7, \"tui-dialog-host\");\n i0.ɵɵprojection(8, 2);\n i0.ɵɵelement(9, \"tui-alert-host\");\n i0.ɵɵprojection(10, 3);\n i0.ɵɵelementEnd();\n i0.ɵɵprojection(11, 4);\n i0.ɵɵelement(12, \"tui-hints-host\");\n i0.ɵɵprojection(13, 5);\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"ngIf\", i0.ɵɵpipeBind1(1, 1, ctx.scrollbars$));\n }\n },\n dependencies: [i1.TuiScrollControlsComponent, i2.TuiSvgDefsHostComponent, i1.TuiDropdownHostComponent, i1.TuiDialogHostComponent, i1.TuiAlertHostComponent, i3.TuiHintsHostComponent, i4.NgIf, i4.AsyncPipe],\n styles: [\"@keyframes tuiPresent{to{content:\\\"1\\\"}}@keyframes tuiSkeletonVibe{to{opacity:.5}}html,.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{display:none}body[data-tui-theme]{font:var(--tui-font-text-s);color:var(--tui-text-01);background:var(--tui-base-01);margin:0}tui-root{position:relative;display:block;flex:1;-webkit-tap-highlight-color:transparent}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;display:none;margin:0}[data-tui-theme] tui-root>.t-root-scrollbar{display:block}.t-root-content{height:100%;isolation:isolate;transform:translateY(var(--t-root-top))}[tuiDropdownButton][tuiDropdownButton]{display:none}.t-overscroll-none{overscroll-behavior:none}\\n\"],\n encapsulation: 2\n });\n return TuiRootComponent;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TuiRootModule = /*#__PURE__*/(() => {\n class TuiRootModule {}\n TuiRootModule.ɵfac = function TuiRootModule_Factory(t) {\n return new (t || TuiRootModule)();\n };\n TuiRootModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: TuiRootModule\n });\n TuiRootModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [[CommonModule, EventPluginsModule, TuiDropdownHostModule, TuiSvgDefsHostModule, TuiHintsHostModule, TuiDialogHostModule, TuiAlertHostModule, TuiScrollControlsModule]]\n });\n return TuiRootModule;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TuiRootComponent, TuiRootModule };\n","/**\n * @deprecated, use {@link TUI_EDITOR_DEFAULT_EXTENSIONS}\n */\nconst defaultEditorExtensions = [import('@tinkoff/tui-editor/extensions/starter-kit').then(({\n StarterKit\n}) => StarterKit).then(extension => extension.configure({\n heading: {\n levels: [1, 2, 3, 4, 5, 6]\n }\n})), import('@tiptap/extension-text-align').then(({\n default: TextAlign\n}) => TextAlign.configure({\n types: [`heading`, `paragraph`]\n})), import('@tiptap/extension-text-style').then(({\n default: TextStyle\n}) => TextStyle), import('@tiptap/extension-underline').then(({\n default: Underline\n}) => Underline), import('@tiptap/extension-subscript').then(({\n default: Subscript\n}) => Subscript), import('@tiptap/extension-superscript').then(({\n default: Superscript\n}) => Superscript), import('@tinkoff/tui-editor/extensions/font-color').then(({\n FontColor\n}) => FontColor), import('@tinkoff/tui-editor/extensions/link').then(({\n TuiLink\n}) => TuiLink), import('@tinkoff/tui-editor/extensions/jump-anchor').then(({\n TuiJumpAnchor\n}) => TuiJumpAnchor), import('@tinkoff/tui-editor/extensions/file-link').then(({\n TuiFileLink\n}) => TuiFileLink), import('@tinkoff/tui-editor/extensions/background-color').then(({\n BackgroundColor\n}) => BackgroundColor), import('@tinkoff/tui-editor/extensions/table').then(({\n TuiTable\n}) => TuiTable.configure({\n resizable: true\n})), import('@tinkoff/tui-editor/extensions/table-cell').then(({\n TuiTableCell\n}) => TuiTableCell), import('@tiptap/extension-table-row').then(({\n default: TableRow\n}) => TableRow), import('@tiptap/extension-table-header').then(({\n TableHeader\n}) => TableHeader), import('@tinkoff/tui-editor/extensions/indent-outdent').then(({\n TuiTabExtension\n}) => TuiTabExtension), import('@tinkoff/tui-editor/extensions/table-cell-background').then(({\n TableCellBackground\n}) => TableCellBackground), import('@tinkoff/tui-editor/extensions/details').then(({\n TuiDetailsContent\n}) => TuiDetailsContent), import('@tinkoff/tui-editor/extensions/details').then(({\n TuiDetails\n}) => TuiDetails), import('@tinkoff/tui-editor/extensions/details').then(({\n TuiSummary\n}) => TuiSummary), import('@tinkoff/tui-editor/extensions/font-size').then(({\n TuiFontSize\n}) => TuiFontSize)];\nconst TUI_EDITOR_DEFAULT_EXTENSIONS = defaultEditorExtensions;\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { TUI_EDITOR_DEFAULT_EXTENSIONS, defaultEditorExtensions };\n","import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\nimport {RouterOutlet} from '@angular/router';\nimport {TuiRootModule} from '@taiga-ui/core';\nimport {TuiEditorModule} from '@tinkoff/tui-editor';\n\n@Component({\n standalone: true,\n selector: 'app',\n imports: [TuiRootModule, RouterOutlet, TuiEditorModule],\n templateUrl: './app.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AppComponent {}\n","\n \n\n \n \n \n \n \n\n","/**\n * @license Angular v18.0.3\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { Injectable, Inject, RendererFactory2, NgZone, ANIMATION_MODULE_TYPE, NgModule, ɵperformanceMarkFeature } from '@angular/core';\nexport { ANIMATION_MODULE_TYPE } from '@angular/core';\nimport { ɵDomRendererFactory2, BrowserModule } from '@angular/platform-browser';\nimport * as i1 from '@angular/animations/browser';\nimport { ɵAnimationEngine, ɵWebAnimationsStyleNormalizer, ɵAnimationRendererFactory, ɵAnimationStyleNormalizer, AnimationDriver, ɵWebAnimationsDriver, NoopAnimationDriver } from '@angular/animations/browser';\nimport { DOCUMENT } from '@angular/common';\nlet InjectableAnimationEngine = /*#__PURE__*/(() => {\n class InjectableAnimationEngine extends ɵAnimationEngine {\n // The `ApplicationRef` is injected here explicitly to force the dependency ordering.\n // Since the `ApplicationRef` should be created earlier before the `AnimationEngine`, they\n // both have `ngOnDestroy` hooks and `flush()` must be called after all views are destroyed.\n constructor(doc, driver, normalizer) {\n super(doc, driver, normalizer);\n }\n ngOnDestroy() {\n this.flush();\n }\n static {\n this.ɵfac = function InjectableAnimationEngine_Factory(t) {\n return new (t || InjectableAnimationEngine)(i0.ɵɵinject(DOCUMENT), i0.ɵɵinject(i1.AnimationDriver), i0.ɵɵinject(i1.ɵAnimationStyleNormalizer));\n };\n }\n static {\n this.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: InjectableAnimationEngine,\n factory: InjectableAnimationEngine.ɵfac\n });\n }\n }\n return InjectableAnimationEngine;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nfunction instantiateDefaultStyleNormalizer() {\n return new ɵWebAnimationsStyleNormalizer();\n}\nfunction instantiateRendererFactory(renderer, engine, zone) {\n return new ɵAnimationRendererFactory(renderer, engine, zone);\n}\nconst SHARED_ANIMATION_PROVIDERS = [{\n provide: ɵAnimationStyleNormalizer,\n useFactory: instantiateDefaultStyleNormalizer\n}, {\n provide: ɵAnimationEngine,\n useClass: InjectableAnimationEngine\n}, {\n provide: RendererFactory2,\n useFactory: instantiateRendererFactory,\n deps: [ɵDomRendererFactory2, ɵAnimationEngine, NgZone]\n}];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserModule.\n */\nconst BROWSER_ANIMATIONS_PROVIDERS = [{\n provide: AnimationDriver,\n useFactory: () => new ɵWebAnimationsDriver()\n}, {\n provide: ANIMATION_MODULE_TYPE,\n useValue: 'BrowserAnimations'\n}, ...SHARED_ANIMATION_PROVIDERS];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserTestingModule.\n */\nconst BROWSER_NOOP_ANIMATIONS_PROVIDERS = [{\n provide: AnimationDriver,\n useClass: NoopAnimationDriver\n}, {\n provide: ANIMATION_MODULE_TYPE,\n useValue: 'NoopAnimations'\n}, ...SHARED_ANIMATION_PROVIDERS];\n\n/**\n * Exports `BrowserModule` with additional dependency-injection providers\n * for use with animations. See [Animations](guide/animations).\n * @publicApi\n */\nlet BrowserAnimationsModule = /*#__PURE__*/(() => {\n class BrowserAnimationsModule {\n /**\n * Configures the module based on the specified object.\n *\n * @param config Object used to configure the behavior of the `BrowserAnimationsModule`.\n * @see {@link BrowserAnimationsModuleConfig}\n *\n * @usageNotes\n * When registering the `BrowserAnimationsModule`, you can use the `withConfig`\n * function as follows:\n * ```\n * @NgModule({\n * imports: [BrowserAnimationsModule.withConfig(config)]\n * })\n * class MyNgModule {}\n * ```\n */\n static withConfig(config) {\n return {\n ngModule: BrowserAnimationsModule,\n providers: config.disableAnimations ? BROWSER_NOOP_ANIMATIONS_PROVIDERS : BROWSER_ANIMATIONS_PROVIDERS\n };\n }\n static {\n this.ɵfac = function BrowserAnimationsModule_Factory(t) {\n return new (t || BrowserAnimationsModule)();\n };\n }\n static {\n this.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: BrowserAnimationsModule\n });\n }\n static {\n this.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: BROWSER_ANIMATIONS_PROVIDERS,\n imports: [BrowserModule]\n });\n }\n }\n return BrowserAnimationsModule;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Returns the set of dependency-injection providers\n * to enable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to enable animations in an application\n * bootstrapped using the `bootstrapApplication` function. In this scenario there\n * is no need to import the `BrowserAnimationsModule` NgModule at all, just add\n * providers returned by this function to the `providers` list as show below.\n *\n * ```typescript\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n */\nfunction provideAnimations() {\n ɵperformanceMarkFeature('NgEagerAnimations');\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideAnimations` call results in app code.\n return [...BROWSER_ANIMATIONS_PROVIDERS];\n}\n/**\n * A null player that must be imported to allow disabling of animations.\n * @publicApi\n */\nlet NoopAnimationsModule = /*#__PURE__*/(() => {\n class NoopAnimationsModule {\n static {\n this.ɵfac = function NoopAnimationsModule_Factory(t) {\n return new (t || NoopAnimationsModule)();\n };\n }\n static {\n this.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: NoopAnimationsModule\n });\n }\n static {\n this.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS,\n imports: [BrowserModule]\n });\n }\n }\n return NoopAnimationsModule;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Returns the set of dependency-injection providers\n * to disable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to bootstrap an application using\n * the `bootstrapApplication` function, but you need to disable animations\n * (for example, when running tests).\n *\n * ```typescript\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideNoopAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n */\nfunction provideNoopAnimations() {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideNoopAnimations` call results in app code.\n return [...BROWSER_NOOP_ANIMATIONS_PROVIDERS];\n}\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation browser package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BrowserAnimationsModule, NoopAnimationsModule, provideAnimations, provideNoopAnimations, InjectableAnimationEngine as ɵInjectableAnimationEngine };\n","import type {ApplicationConfig, Injector} from '@angular/core';\nimport {importProvidersFrom, INJECTOR} from '@angular/core';\nimport {provideClientHydration} from '@angular/platform-browser';\nimport {provideAnimations} from '@angular/platform-browser/animations';\nimport {provideRouter} from '@angular/router';\nimport {\n TUI_SANITIZER,\n TuiAlertModule,\n TuiDialogModule,\n TuiRootModule,\n} from '@taiga-ui/core';\nimport {TuiPushModule} from '@taiga-ui/kit';\nimport {NgDompurifySanitizer} from '@tinkoff/ng-dompurify';\nimport {TUI_EDITOR_DEFAULT_EXTENSIONS, TUI_EDITOR_EXTENSIONS} from '@tinkoff/tui-editor';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideAnimations(),\n provideRouter([\n {\n path: '',\n pathMatch: 'full',\n loadComponent: async () => import('./home/home.component'),\n },\n ]),\n provideClientHydration(),\n importProvidersFrom(\n TuiRootModule,\n TuiAlertModule,\n TuiDialogModule,\n TuiPushModule,\n ),\n {\n provide: TUI_EDITOR_EXTENSIONS,\n deps: [INJECTOR],\n useFactory: (injector: Injector) => [\n ...TUI_EDITOR_DEFAULT_EXTENSIONS,\n import('@tinkoff/tui-editor/extensions/image-editor').then(\n ({tuiCreateImageEditorExtension}) =>\n tuiCreateImageEditorExtension({injector}),\n ),\n ],\n },\n {\n provide: TUI_SANITIZER,\n useClass: NgDompurifySanitizer,\n },\n ],\n};\n","// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n production: false,\n};\n\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.\n","import {enableProdMode} from '@angular/core';\nimport {bootstrapApplication} from '@angular/platform-browser';\n\nimport {AppComponent} from './app/app.component';\nimport {appConfig} from './app/app.config';\nimport {environment} from './environments/environment';\n\nif (environment.production) {\n enableProdMode();\n}\n\nbootstrapApplication(AppComponent, appConfig).catch(err => console.error(err));\n"],"mappings":"q4CAaA,SAASA,GAAoDC,EAAIC,EAAK,CAKpE,GAJID,EAAK,IACJE,EAAmB,EAAG,CAAC,EACvBC,EAAO,EAAG,WAAW,GAEtBH,EAAK,EAAG,CACV,IAAMI,EAAUH,EAAI,UACdI,EAAYC,EAAc,CAAC,EAC9BC,EAAW,oBAAqBH,EAAQ,UAAU,SAAS,EAAE,4BAAgCI,GAAY,EAAG,EAAGJ,EAASC,EAAO,MAAM,CAAC,CAC3I,CACF,CACA,SAASI,GAAqCT,EAAIC,EAAK,CAMrD,GALID,EAAK,IACJU,EAAe,EAAG,MAAO,CAAC,EAC1BC,EAAW,EAAGZ,GAAqD,EAAG,EAAG,eAAgB,CAAC,EAC1Fa,EAAa,GAEdZ,EAAK,EAAG,CACV,IAAMa,EAAWZ,EAAI,UAClBM,EAAW,sBAAuB,MAAS,EAC3CO,EAAU,EACVP,EAAW,UAAWM,CAAQ,CACnC,CACF,CACA,IAAIE,IAAsC,IAAM,CAC9C,MAAMA,CAAsB,CAC1B,YAAYC,EAAWC,EAAUC,EAAUC,EAAK,CAC9C,KAAK,UAAYH,EACjB,KAAK,SAAWC,EAChB,KAAK,SAAWC,EAChB,KAAK,IAAMC,EACX,KAAK,OAAS,CAAC,EACf,KAAK,QAAUC,GAASA,EACxB,KAAK,OAASC,GAAYC,GAAS,OAAO,CACxC,UAAW,CAAC,CACV,QAASC,GACT,SAAAF,CACF,CAAC,EACD,OAAQ,KAAK,QACf,CAAC,CACH,CACA,UAAW,CAGTG,EAAc,KAAK,SAAS,EAAE,KAAKC,EAAU,KAAK,QAAQ,CAAC,EAAE,UAAUC,GAAU,CAC/E,KAAK,OAASA,EACd,KAAK,IAAI,cAAc,CACzB,CAAC,CACH,CACF,CACA,OAAA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ostComponent_div_0_ng_container_1_Template","rf","ctx","ɵɵelementContainer","ɵɵpipe","item_r1","ctx_r1","ɵɵnextContext","ɵɵproperty","ɵɵpipeBind2","TuiAlertHostComponent_div_0_Template","ɵɵelementStart","ɵɵtemplate","ɵɵelementEnd","alert_r3","ɵɵadvance","TuiAlertHostComponent","allAlerts","injector","destroy$","cdr","index","useValue","Injector","POLYMORPHEUS_CONTEXT","combineLatest","takeUntil","alerts","t","ɵɵdirectiveInject","TUI_ALERTS","INJECTOR$1","TuiDestroyService","ChangeDetectorRef","ɵɵdefineComponent","ɵɵProvidersFeature","NgForOf","NgComponentOutlet","TuiMapperPipe","TUI_PARENT_ANIMATION","TuiAlertHostModule","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","TuiMapperPipeModule","TuiFocusTrapDirective","doc","el","renderer","tuiGetNativeFocused","node","nativeElement","tuiContainsOrAfter","focusable","tuiGetClosestFocusable","tuiBlurNativeFocused","tuiIsHTMLElement","t","ɵɵdirectiveInject","DOCUMENT","ElementRef","Renderer2","ɵɵdefineDirective","rf","ctx","ɵɵlistener","$event","ɵɵresolveWindow","TuiFocusTrapModule","ɵɵdefineNgModule","ɵɵdefineInjector","TuiDialogHostComponent_section_0_ng_container_1_Template","rf","ctx","ɵɵelementContainer","TuiDialogHostComponent_section_0_tui_scroll_controls_2_Template","ɵɵelement","TuiDialogHostComponent_section_0_Template","ɵɵelementStart","ɵɵtemplate","ɵɵelementEnd","item_r1","ctx_r1","ɵɵnextContext","ɵɵproperty","ɵɵattribute","ɵɵadvance","TuiDialogHostComponent_div_1_Template","_r3","ɵɵgetCurrentView","ɵɵlistener","$event","isDialogClosesOnBack_r4","ɵɵrestoreView","ɵɵresetView","ɵɵresolveWindow","ɵɵclassProp","FAKE_HISTORY_STATE","isFakeHistoryState","historyState","TUI_DIALOG_CLOSES_ON_BACK","tuiCreateToken","of","TuiDialogHostComponent","isMobile","isDialogClosesOnBack$","dialogsByType","historyRef","titleService","destroy$","cdr","doc","combineLatest","map","arr","a","b","takeUntil","dialogs","_a","isDialogClosesOnBack","last","propertyName","popupOpened","t","ɵɵdirectiveInject","TUI_IS_MOBILE","TUI_DIALOGS","HISTORY","Title","TuiDestroyService","ChangeDetectorRef","DOCUMENT","ɵɵdefineComponent","ɵɵProvidersFeature","ɵɵpipe","ɵɵpipeBind1","TuiScrollControlsComponent","NgForOf","TuiFocusTrapDirective","TuiOverscrollDirective","TuiScrollRefDirective","PolymorpheusOutletDirective","NgIf","TuiLetDirective","AsyncPipe","trigger","transition","style","query","animateChild","TuiDialogHostModule","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","PolymorpheusModule","TuiOverscrollModule","TuiFocusTrapModule","TuiLetModule","TuiScrollControlsModule","_c0","_c1","a0","TuiNotificationComponent_ng_container_0_tui_svg_1_Template","rf","ctx","ɵɵelement","iconName_r1","ɵɵproperty","TuiNotificationComponent_ng_container_0_Template","ɵɵelementContainerStart","ɵɵtemplate","ɵɵelementContainerEnd","ctx_r1","ɵɵnextContext","ɵɵadvance","ɵɵpureFunction1","TuiNotificationComponent_button_3_Template","_r3","ɵɵgetCurrentView","ɵɵelementStart","ɵɵpipe","ɵɵlistener","ɵɵrestoreView","ɵɵresetView","ɵɵelementEnd","ɵɵpipeBind1","TuiNotificationComponent","closeWord$","icons","options","EventEmitter","tuiIsObserved","t","ɵɵdirectiveInject","TUI_CLOSE_WORD","TUI_COMMON_ICONS","TUI_NOTIFICATION_OPTIONS","ɵɵdefineComponent","ɵɵattribute","ɵɵprojectionDef","ɵɵprojection","TuiSvgComponent","TuiButtonComponent","NgIf","PolymorpheusOutletDirective","AsyncPipe","TuiNotificationModule","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","TuiSvgModule","TuiButtonModule","PolymorpheusModule","TuiAlertComponent_label_1_ng_container_1_Template","rf","ctx","ɵɵelementContainerStart","ɵɵtext","ɵɵelementContainerEnd","text_r1","ɵɵadvance","ɵɵtextInterpolate1","TuiAlertComponent_label_1_Template","ɵɵelementStart","ɵɵtemplate","ɵɵelementEnd","ctx_r1","ɵɵnextContext","ɵɵproperty","TuiAlertComponent_div_3_Template","ɵɵelement","text_r3","ɵɵsanitizeHtml","TUI_ALERT_POSITION","tuiCreateTokenFromFactory","inject","TUI_IS_MOBILE","TuiAlertComponent","el","destroy$","position","options","item","timer","tuiIsNumber","takeUntil","fromEvent","repeatWhen","t","ɵɵdirectiveInject","ElementRef","TuiDestroyService","TUI_ANIMATION_OPTIONS","POLYMORPHEUS_CONTEXT","ɵɵdefineComponent","ɵɵsyntheticHostProperty","ɵɵstyleProp","ɵɵProvidersFeature","ɵɵlistener","TuiNotificationComponent","NgIf","PolymorpheusOutletDirective","tuiFadeIn","tuiSlideIn","tuiHeightCollapse","TuiAlertService","AbstractTuiDialogService","defaultOptions","idService","PolymorpheusComponent","ɵɵinject","TUI_NOTIFICATION_OPTIONS","TuiIdService","ɵɵdefineInjectable","TuiAlertModule","t","ɵɵdefineNgModule","ɵɵdefineInjector","tuiAsAlerts","TuiAlertService","CommonModule","PolymorpheusModule","TuiNotificationModule","_c0","a0","TuiHintsHostComponent_div_0_ng_container_1_Template","rf","ctx","ɵɵelementContainer","TuiHintsHostComponent_div_0_Template","ɵɵelementStart","ɵɵtemplate","ɵɵelementEnd","hint_r1","ɵɵproperty","ɵɵadvance","ɵɵpureFunction1","TuiHintsHostComponent","hints$","destroy$","cdr","takeUntil","hints","t","ɵɵdirectiveInject","TuiHintService","TuiDestroyService","ChangeDetectorRef","ɵɵdefineComponent","ɵɵProvidersFeature","NgForOf","TuiActiveZoneDirective","PolymorpheusOutletDirective","TUI_PARENT_ANIMATION","TuiHintsHostModule","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","PolymorpheusModule","TuiActiveZoneModule","TuiSvgDefsHostComponent__svg_ng_container_1__svg_defs_1_Template","rf","ctx","ɵɵnamespaceSVG","ɵɵelement","def_r1","ɵɵproperty","ɵɵsanitizeHtml","TuiSvgDefsHostComponent__svg_ng_container_1_Template","ɵɵelementContainerStart","ɵɵtemplate","ɵɵelementContainerEnd","ctx_r1","ɵɵnextContext","ɵɵadvance","TuiSvgDefsHostComponent__svg_ng_template_2__svg_defs_0_Template","ɵɵelementStart","ɵɵelementEnd","def_r3","TuiSvgDefsHostComponent__svg_ng_template_2_Template","TuiSvgDefsHostComponent","svgService","cdr","destroy$","platformId","isPlatformServer","takeUntil","defsMap","t","ɵɵdirectiveInject","TuiSvgService","ChangeDetectorRef","TuiDestroyService","PLATFORM_ID","ɵɵdefineComponent","ɵɵProvidersFeature","ɵɵtemplateRefExtractor","server_r4","ɵɵreference","NgIf","NgForOf","TuiSvgDefsHostModule","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","TuiLetModule","_c0","_c1","TuiRootComponent_tui_scroll_controls_0_Template","rf","ctx","ɵɵelement","TuiRootComponent","reducedMotion","duration","dialogs","isMobile","breakpoint","isIOS","isAndroid","document","theme","_a","map","combineLatest","length","debounceTime","of","t","ɵɵdirectiveInject","TUI_REDUCED_MOTION","TUI_ANIMATIONS_DURATION","TUI_DIALOGS","TUI_IS_MOBILE","TuiBreakpointService","TUI_IS_IOS","TUI_IS_ANDROID","DOCUMENT","TUI_THEME","ɵɵdefineComponent","ɵɵlistener","ɵɵhostProperty","ɵɵstyleProp","ɵɵclassProp","ɵɵprojectionDef","ɵɵtemplate","ɵɵpipe","ɵɵelementStart","ɵɵprojection","ɵɵelementEnd","ɵɵproperty","ɵɵpipeBind1","TuiScrollControlsComponent","TuiSvgDefsHostComponent","TuiDropdownHostComponent","TuiDialogHostComponent","TuiAlertHostComponent","TuiHintsHostComponent","NgIf","AsyncPipe","TuiRootModule","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","EventPluginsModule","TuiDropdownHostModule","TuiSvgDefsHostModule","TuiHintsHostModule","TuiDialogHostModule","TuiAlertHostModule","TuiScrollControlsModule","defaultEditorExtensions","StarterKit","extension","TextAlign","TextStyle","Underline","Subscript","Superscript","FontColor","TuiLink","TuiJumpAnchor","TuiFileLink","BackgroundColor","TuiTable","TuiTableCell","TableRow","TableHeader","TuiTabExtension","TableCellBackground","TuiDetailsContent","TuiDetails","TuiSummary","TuiFontSize","TUI_EDITOR_DEFAULT_EXTENSIONS","AppComponent","selectors","standalone","features","ɵɵStandaloneFeature","decls","vars","consts","template","rf","ctx","ɵɵelementStart","ɵɵelement","ɵɵelementContainer","ɵɵelementEnd","TuiRootModule","TuiRootComponent","RouterOutlet","TuiEditorModule","encapsulation","changeDetection","_AppComponent","InjectableAnimationEngine","_InjectableAnimationEngine","AnimationEngine","doc","driver","normalizer","t","ɵɵinject","DOCUMENT","AnimationDriver","AnimationStyleNormalizer","ɵɵdefineInjectable","instantiateDefaultStyleNormalizer","WebAnimationsStyleNormalizer","instantiateRendererFactory","renderer","engine","zone","AnimationRendererFactory","SHARED_ANIMATION_PROVIDERS","RendererFactory2","DomRendererFactory2","NgZone","BROWSER_ANIMATIONS_PROVIDERS","WebAnimationsDriver","ANIMATION_MODULE_TYPE","BROWSER_NOOP_ANIMATIONS_PROVIDERS","NoopAnimationDriver","provideAnimations","performanceMarkFeature","BROWSER_ANIMATIONS_PROVIDERS","appConfig","providers","provideAnimations","provideRouter","path","pathMatch","loadComponent","__async","provideClientHydration","importProvidersFrom","TuiRootModule","TuiAlertModule","TuiDialogModule","TuiPushModule","provide","TUI_EDITOR_EXTENSIONS","deps","INJECTOR","useFactory","injector","TUI_EDITOR_DEFAULT_EXTENSIONS","then","tuiCreateImageEditorExtension","TUI_SANITIZER","useClass","NgDompurifySanitizer","environment","production","environment","production","enableProdMode","bootstrapApplication","AppComponent","appConfig","catch","err","console","error"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,11]} \ No newline at end of file