import{$ as qe,$a as ag,$b as _g,$c as i0,A as rr,Aa as X,Ab as re,Ac as Ag,B as Ks,Ba as hc,Bb as Xe,Bc as Tg,C as $r,Ca as Kf,Cb as ue,Cc as Pe,D as Bf,Da as ea,Db as Ze,Dc as Mo,E as zf,Ea as ss,Eb as Q,Ec as qr,F as Ri,Fa as St,Fb as wr,Fc as sr,G as _t,Ga as pc,Gb as mg,Gc as Og,H as Hh,Ha as ge,Hb as Z,Hc as Mg,I as Mt,Ia as ie,Ib as fg,Ic as Dg,J as uc,Ja as as,Jb as bc,Jc as sa,K as Eo,Ka as de,Kb as _e,Kc as Ig,L as Js,La as qh,Lb as ve,Lc as kg,M as $h,Ma as Jf,Mb as d,Mc as ae,N as Si,Na as pl,Nb as p,Nc as Pg,O as Uf,Oa as eg,Ob as v,Oc as vl,P as Wf,Pa as ai,Pb as se,Pc as Rg,Q as cl,Qa as pi,Qb as na,Qc as Fg,R as So,Ra as ml,Rb as V,Rc as us,S as Ao,Sa as tg,Sb as N,Sc as xc,T as Gh,Ta as Qh,Tb as Ni,Tc as Ec,U as Hf,Ua as ta,Ub as ot,Uc as Ng,V as $f,Va as ia,Vb as gg,Vc as Lg,W as Gf,Wa as ig,Wb as Gt,Wc as Vg,X as Yh,Xa as ng,Xb as gn,Xc as ar,Y as cc,Ya as rg,Yb as yt,Yc as jg,Z as Fi,Za as og,Zb as Ue,Zc as Hn,_ as lt,_a as sg,_b as We,_c as bl,a as z,aa as Yf,ab as lg,ac as vg,ad as Sc,b as nt,ba as tt,bb as Mn,bc as xr,c as Nf,ca as Xf,cb as mc,cc as bg,d as o2,da as rt,db as mn,dc as h,dd as cs,e as s2,ea as To,eb as ug,ec as le,ed as Qr,f as Cr,fa as $,fb as cg,fc as In,fd as Bg,g as gt,ga as he,gb as fl,gc as Cg,h as Lf,ha as Zf,hb as w,hc as yg,hd as $n,i as xi,ia as q,ib as S,ic as wg,id as aa,j as zh,ja as Xh,jb as ls,jc as Lt,jd as Kr,k as ac,ka as I,kb as Gr,kc as Te,kd as zg,l as K,la as O,lb as dg,lc as e0,ld as Ug,m as Pi,ma as dl,mb as fc,mc as _n,n as Vf,na as Zh,nb as gc,nc as Xr,o as Uh,oa as hl,ob as gl,oc as ra,p as yr,pa as Ae,pb as _c,pc as Cc,q as Ei,qa as pe,qb as vc,qc as xg,r as G,ra as ye,rb as fn,rc as oa,s as os,sa as dc,sb as Dn,sc as yc,t as lc,ta as Oo,tb as Kh,tc as t0,u as jf,ua as qf,ub as Yr,uc as _l,v as te,va as Qf,vb as hg,vc as Zr,w as wo,wa as or,wb as mi,wc as Eg,x as Zi,xa as Wn,xb as At,xc as wc,y as Wh,ya as $t,yb as pg,yc as Dt,z as xo,za as Y,zb as Jh,zc as Sg}from"./chunk-7CMNARVW.js";var Wg=o2((NM,Ac)=>{"use strict";(function(r,e,n,t){"use strict";var i=["","webkit","Moz","MS","ms","o"],o=e.createElement("div"),s="function",a=Math.round,l=Math.abs,u=Date.now;function c(f,b,E){return setTimeout(k(f,E),b)}function m(f,b,E){return Array.isArray(f)?(g(f,E[b],E),!0):!1}function g(f,b,E){var D;if(f)if(f.forEach)f.forEach(b,E);else if(f.length!==t)for(D=0;D<f.length;)b.call(E,f[D],D,f),D++;else for(D in f)f.hasOwnProperty(D)&&b.call(E,f[D],D,f)}function _(f,b,E){var D="DEPRECATED METHOD: "+b+`
`+E+` AT 
`;return function(){var U=new Error("get-stack-trace"),ne=U&&U.stack?U.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",Ve=r.console&&(r.console.warn||r.console.log);return Ve&&Ve.call(r.console,D,ne),f.apply(this,arguments)}}var C;typeof Object.assign!="function"?C=function(b){if(b===t||b===null)throw new TypeError("Cannot convert undefined or null to object");for(var E=Object(b),D=1;D<arguments.length;D++){var U=arguments[D];if(U!==t&&U!==null)for(var ne in U)U.hasOwnProperty(ne)&&(E[ne]=U[ne])}return E}:C=Object.assign;var y=_(function(b,E,D){for(var U=Object.keys(E),ne=0;ne<U.length;)(!D||D&&b[U[ne]]===t)&&(b[U[ne]]=E[U[ne]]),ne++;return b},"extend","Use `assign`."),x=_(function(b,E){return y(b,E,!0)},"merge","Use `assign`.");function A(f,b,E){var D=b.prototype,U;U=f.prototype=Object.create(D),U.constructor=f,U._super=D,E&&C(U,E)}function k(f,b){return function(){return f.apply(b,arguments)}}function F(f,b){return typeof f==s?f.apply(b&&b[0]||t,b):f}function M(f,b){return f===t?b:f}function L(f,b,E){g(B(b),function(D){f.addEventListener(D,E,!1)})}function j(f,b,E){g(B(b),function(D){f.removeEventListener(D,E,!1)})}function R(f,b){for(;f;){if(f==b)return!0;f=f.parentNode}return!1}function W(f,b){return f.indexOf(b)>-1}function B(f){return f.trim().split(/\s+/g)}function H(f,b,E){if(f.indexOf&&!E)return f.indexOf(b);for(var D=0;D<f.length;){if(E&&f[D][E]==b||!E&&f[D]===b)return D;D++}return-1}function be(f){return Array.prototype.slice.call(f,0)}function J(f,b,E){for(var D=[],U=[],ne=0;ne<f.length;){var Ve=b?f[ne][b]:f[ne];H(U,Ve)<0&&D.push(f[ne]),U[ne]=Ve,ne++}return E&&(b?D=D.sort(function(wi,Xi){return wi[b]>Xi[b]}):D=D.sort()),D}function Se(f,b){for(var E,D,U=b[0].toUpperCase()+b.slice(1),ne=0;ne<i.length;){if(E=i[ne],D=E?E+U:b,D in f)return D;ne++}return t}var De=1;function je(){return De++}function Ie(f){var b=f.ownerDocument||f;return b.defaultView||b.parentWindow||r}var fe=/mobile|tablet|ip(ad|hone|od)|android/i,$e="ontouchstart"in r,ct=Se(r,"PointerEvent")!==t,T=$e&&fe.test(navigator.userAgent),Qe="touch",Ci="pen",Hi="mouse",xt="kinect",ni=25,Ke=1,ut=2,Be=4,Je=8,Sn=1,zt=2,yi=4,Re=8,dt=16,bt=zt|yi,Ut=Re|dt,P=bt|Ut,Di=["x","y"],cn=["clientX","clientY"];function Wt(f,b){var E=this;this.manager=f,this.callback=b,this.element=f.element,this.target=f.options.inputTarget,this.domHandler=function(D){F(f.options.enable,[f])&&E.handler(D)},this.init()}Wt.prototype={handler:function(){},init:function(){this.evEl&&L(this.element,this.evEl,this.domHandler),this.evTarget&&L(this.target,this.evTarget,this.domHandler),this.evWin&&L(Ie(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&j(this.element,this.evEl,this.domHandler),this.evTarget&&j(this.target,this.evTarget,this.domHandler),this.evWin&&j(Ie(this.element),this.evWin,this.domHandler)}};function Rt(f){var b,E=f.options.inputClass;return E?b=E:ct?b=Gi:T?b=ze:$e?b=Ce:b=An,new b(f,fr)}function fr(f,b,E){var D=E.pointers.length,U=E.changedPointers.length,ne=b&Ke&&D-U===0,Ve=b&(Be|Je)&&D-U===0;E.isFirst=!!ne,E.isFinal=!!Ve,ne&&(f.session={}),E.eventType=b,Vr(f,E),f.emit("hammer.input",E),f.recognize(E),f.session.prevInput=E}function Vr(f,b){var E=f.session,D=b.pointers,U=D.length;E.firstInput||(E.firstInput=ir(b)),U>1&&!E.firstMultiple?E.firstMultiple=ir(b):U===1&&(E.firstMultiple=!1);var ne=E.firstInput,Ve=E.firstMultiple,hi=Ve?Ve.center:ne.center,wi=b.center=Et(D);b.timeStamp=u(),b.deltaTime=b.timeStamp-ne.timeStamp,b.angle=jr(hi,wi),b.distance=hn(hi,wi),go(E,b),b.offsetDirection=$i(b.deltaX,b.deltaY);var Xi=dn(b.deltaTime,b.deltaX,b.deltaY);b.overallVelocityX=Xi.x,b.overallVelocityY=Xi.y,b.overallVelocity=l(Xi.x)>l(Xi.y)?Xi.x:Xi.y,b.scale=Ve?Qs(Ve.pointers,D):1,b.rotation=Ve?Ft(Ve.pointers,D):0,b.maxPointers=E.prevInput?b.pointers.length>E.prevInput.maxPointers?b.pointers.length:E.prevInput.maxPointers:b.pointers.length,qt(E,b);var br=f.element;R(b.srcEvent.target,br)&&(br=b.srcEvent.target),b.target=br}function go(f,b){var E=b.center,D=f.offsetDelta||{},U=f.prevDelta||{},ne=f.prevInput||{};(b.eventType===Ke||ne.eventType===Be)&&(U=f.prevDelta={x:ne.deltaX||0,y:ne.deltaY||0},D=f.offsetDelta={x:E.x,y:E.y}),b.deltaX=U.x+(E.x-D.x),b.deltaY=U.y+(E.y-D.y)}function qt(f,b){var E=f.lastInterval||b,D=b.timeStamp-E.timeStamp,U,ne,Ve,hi;if(b.eventType!=Je&&(D>ni||E.velocity===t)){var wi=b.deltaX-E.deltaX,Xi=b.deltaY-E.deltaY,br=dn(D,wi,Xi);ne=br.x,Ve=br.y,U=l(br.x)>l(br.y)?br.x:br.y,hi=$i(wi,Xi),f.lastInterval=b}else U=E.velocity,ne=E.velocityX,Ve=E.velocityY,hi=E.direction;b.velocity=U,b.velocityX=ne,b.velocityY=Ve,b.direction=hi}function ir(f){for(var b=[],E=0;E<f.pointers.length;)b[E]={clientX:a(f.pointers[E].clientX),clientY:a(f.pointers[E].clientY)},E++;return{timeStamp:u(),pointers:b,center:Et(b),deltaX:f.deltaX,deltaY:f.deltaY}}function Et(f){var b=f.length;if(b===1)return{x:a(f[0].clientX),y:a(f[0].clientY)};for(var E=0,D=0,U=0;U<b;)E+=f[U].clientX,D+=f[U].clientY,U++;return{x:a(E/b),y:a(D/b)}}function dn(f,b,E){return{x:b/f||0,y:E/f||0}}function $i(f,b){return f===b?Sn:l(f)>=l(b)?f<0?zt:yi:b<0?Re:dt}function hn(f,b,E){E||(E=Di);var D=b[E[0]]-f[E[0]],U=b[E[1]]-f[E[1]];return Math.sqrt(D*D+U*U)}function jr(f,b,E){E||(E=Di);var D=b[E[0]]-f[E[0]],U=b[E[1]]-f[E[1]];return Math.atan2(U,D)*180/Math.PI}function Ft(f,b){return jr(b[1],b[0],cn)+jr(f[1],f[0],cn)}function Qs(f,b){return hn(b[0],b[1],cn)/hn(f[0],f[1],cn)}var gr={mousedown:Ke,mousemove:ut,mouseup:Be},_o="mousedown",vo="mousemove mouseup";function An(){this.evEl=_o,this.evWin=vo,this.pressed=!1,Wt.apply(this,arguments)}A(An,Wt,{handler:function(b){var E=gr[b.type];E&Ke&&b.button===0&&(this.pressed=!0),E&ut&&b.which!==1&&(E=Be),this.pressed&&(E&Be&&(this.pressed=!1),this.callback(this.manager,E,{pointers:[b],changedPointers:[b],pointerType:Hi,srcEvent:b}))}});var Br={pointerdown:Ke,pointermove:ut,pointerup:Be,pointercancel:Je,pointerout:Je},ke={2:Qe,3:Ci,4:Hi,5:xt},_r="pointerdown",pn="pointermove pointerup pointercancel";r.MSPointerEvent&&!r.PointerEvent&&(_r="MSPointerDown",pn="MSPointerMove MSPointerUp MSPointerCancel");function Gi(){this.evEl=_r,this.evWin=pn,Wt.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}A(Gi,Wt,{handler:function(b){var E=this.store,D=!1,U=b.type.toLowerCase().replace("ms",""),ne=Br[U],Ve=ke[b.pointerType]||b.pointerType,hi=Ve==Qe,wi=H(E,b.pointerId,"pointerId");ne&Ke&&(b.button===0||hi)?wi<0&&(E.push(b),wi=E.length-1):ne&(Be|Je)&&(D=!0),!(wi<0)&&(E[wi]=b,this.callback(this.manager,ne,{pointers:E,changedPointers:[b],pointerType:Ve,srcEvent:b}),D&&E.splice(wi,1))}});var Tn={touchstart:Ke,touchmove:ut,touchend:Be,touchcancel:Je},zr="touchstart",bo="touchstart touchmove touchend touchcancel";function Un(){this.evTarget=zr,this.evWin=bo,this.started=!1,Wt.apply(this,arguments)}A(Un,Wt,{handler:function(b){var E=Tn[b.type];if(E===Ke&&(this.started=!0),!!this.started){var D=ns.call(this,b,E);E&(Be|Je)&&D[0].length-D[1].length===0&&(this.started=!1),this.callback(this.manager,E,{pointers:D[0],changedPointers:D[1],pointerType:Qe,srcEvent:b})}}});function ns(f,b){var E=be(f.touches),D=be(f.changedTouches);return b&(Be|Je)&&(E=J(E.concat(D),"identifier",!0)),[E,D]}var we={touchstart:Ke,touchmove:ut,touchend:Be,touchcancel:Je},me="touchstart touchmove touchend touchcancel";function ze(){this.evTarget=me,this.targetIds={},Wt.apply(this,arguments)}A(ze,Wt,{handler:function(b){var E=we[b.type],D=ee.call(this,b,E);D&&this.callback(this.manager,E,{pointers:D[0],changedPointers:D[1],pointerType:Qe,srcEvent:b})}});function ee(f,b){var E=be(f.touches),D=this.targetIds;if(b&(Ke|ut)&&E.length===1)return D[E[0].identifier]=!0,[E,E];var U,ne,Ve=be(f.changedTouches),hi=[],wi=this.target;if(ne=E.filter(function(Xi){return R(Xi.target,wi)}),b===Ke)for(U=0;U<ne.length;)D[ne[U].identifier]=!0,U++;for(U=0;U<Ve.length;)D[Ve[U].identifier]&&hi.push(Ve[U]),b&(Be|Je)&&delete D[Ve[U].identifier],U++;if(hi.length)return[J(ne.concat(hi),"identifier",!0),hi]}var xe=2500,ce=25;function Ce(){Wt.apply(this,arguments);var f=k(this.handler,this);this.touch=new ze(this.manager,f),this.mouse=new An(this.manager,f),this.primaryTouch=null,this.lastTouches=[]}A(Ce,Wt,{handler:function(b,E,D){var U=D.pointerType==Qe,ne=D.pointerType==Hi;if(!(ne&&D.sourceCapabilities&&D.sourceCapabilities.firesTouchEvents)){if(U)Qt.call(this,E,D);else if(ne&&Ot.call(this,D))return;this.callback(b,E,D)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function Qt(f,b){f&Ke?(this.primaryTouch=b.changedPointers[0].identifier,Fe.call(this,b)):f&(Be|Je)&&Fe.call(this,b)}function Fe(f){var b=f.changedPointers[0];if(b.identifier===this.primaryTouch){var E={x:b.clientX,y:b.clientY};this.lastTouches.push(E);var D=this.lastTouches,U=function(){var ne=D.indexOf(E);ne>-1&&D.splice(ne,1)};setTimeout(U,xe)}}function Ot(f){for(var b=f.srcEvent.clientX,E=f.srcEvent.clientY,D=0;D<this.lastTouches.length;D++){var U=this.lastTouches[D],ne=Math.abs(b-U.x),Ve=Math.abs(E-U.y);if(ne<=ce&&Ve<=ce)return!0}return!1}var ri=Se(o.style,"touchAction"),Ct=ri!==t,ht="compute",it="auto",Yi="manipulation",et="none",oi="pan-x",Ii="pan-y",Nt=Ur();function Ht(f,b){this.manager=f,this.set(b)}Ht.prototype={set:function(f){f==ht&&(f=this.compute()),Ct&&this.manager.element.style&&Nt[f]&&(this.manager.element.style[ri]=f),this.actions=f.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var f=[];return g(this.manager.recognizers,function(b){F(b.options.enable,[b])&&(f=f.concat(b.getTouchAction()))}),di(f.join(" "))},preventDefaults:function(f){var b=f.srcEvent,E=f.offsetDirection;if(this.manager.session.prevented){b.preventDefault();return}var D=this.actions,U=W(D,et)&&!Nt[et],ne=W(D,Ii)&&!Nt[Ii],Ve=W(D,oi)&&!Nt[oi];if(U){var hi=f.pointers.length===1,wi=f.distance<2,Xi=f.deltaTime<250;if(hi&&wi&&Xi)return}if(!(Ve&&ne)&&(U||ne&&E&bt||Ve&&E&Ut))return this.preventSrc(b)},preventSrc:function(f){this.manager.session.prevented=!0,f.preventDefault()}};function di(f){if(W(f,et))return et;var b=W(f,oi),E=W(f,Ii);return b&&E?et:b||E?b?oi:Ii:W(f,Yi)?Yi:it}function Ur(){if(!Ct)return!1;var f={},b=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(E){f[E]=b?r.CSS.supports("touch-action",E):!0}),f}var Wr=1,at=2,ft=4,si=8,On=si,Co=16,ki=32;function Kt(f){this.options=C({},this.defaults,f||{}),this.id=je(),this.manager=null,this.options.enable=M(this.options.enable,!0),this.state=Wr,this.simultaneous={},this.requireFail=[]}Kt.prototype={defaults:{},set:function(f){return C(this.options,f),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(f){if(m(f,"recognizeWith",this))return this;var b=this.simultaneous;return f=vr(f,this),b[f.id]||(b[f.id]=f,f.recognizeWith(this)),this},dropRecognizeWith:function(f){return m(f,"dropRecognizeWith",this)?this:(f=vr(f,this),delete this.simultaneous[f.id],this)},requireFailure:function(f){if(m(f,"requireFailure",this))return this;var b=this.requireFail;return f=vr(f,this),H(b,f)===-1&&(b.push(f),f.requireFailure(this)),this},dropRequireFailure:function(f){if(m(f,"dropRequireFailure",this))return this;f=vr(f,this);var b=H(this.requireFail,f);return b>-1&&this.requireFail.splice(b,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(f){return!!this.simultaneous[f.id]},emit:function(f){var b=this,E=this.state;function D(U){b.manager.emit(U,f)}E<si&&D(b.options.event+yo(E)),D(b.options.event),f.additionalEvent&&D(f.additionalEvent),E>=si&&D(b.options.event+yo(E))},tryEmit:function(f){if(this.canEmit())return this.emit(f);this.state=ki},canEmit:function(){for(var f=0;f<this.requireFail.length;){if(!(this.requireFail[f].state&(ki|Wr)))return!1;f++}return!0},recognize:function(f){var b=C({},f);if(!F(this.options.enable,[this,b])){this.reset(),this.state=ki;return}this.state&(On|Co|ki)&&(this.state=Wr),this.state=this.process(b),this.state&(at|ft|si|Co)&&this.tryEmit(b)},process:function(f){},getTouchAction:function(){},reset:function(){}};function yo(f){return f&Co?"cancel":f&si?"end":f&ft?"move":f&at?"start":""}function rs(f){return f==dt?"down":f==Re?"up":f==zt?"left":f==yi?"right":""}function vr(f,b){var E=b.manager;return E?E.get(f):f}function nr(){Kt.apply(this,arguments)}A(nr,Kt,{defaults:{pointers:1},attrTest:function(f){var b=this.options.pointers;return b===0||f.pointers.length===b},process:function(f){var b=this.state,E=f.eventType,D=b&(at|ft),U=this.attrTest(f);return D&&(E&Je||!U)?b|Co:D||U?E&Be?b|si:b&at?b|ft:at:ki}});function oc(){nr.apply(this,arguments),this.pX=null,this.pY=null}A(oc,nr,{defaults:{event:"pan",threshold:10,pointers:1,direction:P},getTouchAction:function(){var f=this.options.direction,b=[];return f&bt&&b.push(Ii),f&Ut&&b.push(oi),b},directionTest:function(f){var b=this.options,E=!0,D=f.distance,U=f.direction,ne=f.deltaX,Ve=f.deltaY;return U&b.direction||(b.direction&bt?(U=ne===0?Sn:ne<0?zt:yi,E=ne!=this.pX,D=Math.abs(f.deltaX)):(U=Ve===0?Sn:Ve<0?Re:dt,E=Ve!=this.pY,D=Math.abs(f.deltaY))),f.direction=U,E&&D>b.threshold&&U&b.direction},attrTest:function(f){return nr.prototype.attrTest.call(this,f)&&(this.state&at||!(this.state&at)&&this.directionTest(f))},emit:function(f){this.pX=f.deltaX,this.pY=f.deltaY;var b=rs(f.direction);b&&(f.additionalEvent=this.options.event+b),this._super.emit.call(this,f)}});function Nh(){nr.apply(this,arguments)}A(Nh,nr,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[et]},attrTest:function(f){return this._super.attrTest.call(this,f)&&(Math.abs(f.scale-1)>this.options.threshold||this.state&at)},emit:function(f){if(f.scale!==1){var b=f.scale<1?"in":"out";f.additionalEvent=this.options.event+b}this._super.emit.call(this,f)}});function Lh(){Kt.apply(this,arguments),this._timer=null,this._input=null}A(Lh,Kt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[it]},process:function(f){var b=this.options,E=f.pointers.length===b.pointers,D=f.distance<b.threshold,U=f.deltaTime>b.time;if(this._input=f,!D||!E||f.eventType&(Be|Je)&&!U)this.reset();else if(f.eventType&Ke)this.reset(),this._timer=c(function(){this.state=On,this.tryEmit()},b.time,this);else if(f.eventType&Be)return On;return ki},reset:function(){clearTimeout(this._timer)},emit:function(f){this.state===On&&(f&&f.eventType&Be?this.manager.emit(this.options.event+"up",f):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}});function Vh(){nr.apply(this,arguments)}A(Vh,nr,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[et]},attrTest:function(f){return this._super.attrTest.call(this,f)&&(Math.abs(f.rotation)>this.options.threshold||this.state&at)}});function jh(){nr.apply(this,arguments)}A(jh,nr,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:bt|Ut,pointers:1},getTouchAction:function(){return oc.prototype.getTouchAction.call(this)},attrTest:function(f){var b=this.options.direction,E;return b&(bt|Ut)?E=f.overallVelocity:b&bt?E=f.overallVelocityX:b&Ut&&(E=f.overallVelocityY),this._super.attrTest.call(this,f)&&b&f.offsetDirection&&f.distance>this.options.threshold&&f.maxPointers==this.options.pointers&&l(E)>this.options.velocity&&f.eventType&Be},emit:function(f){var b=rs(f.offsetDirection);b&&this.manager.emit(this.options.event+b,f),this.manager.emit(this.options.event,f)}});function sc(){Kt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}A(sc,Kt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Yi]},process:function(f){var b=this.options,E=f.pointers.length===b.pointers,D=f.distance<b.threshold,U=f.deltaTime<b.time;if(this.reset(),f.eventType&Ke&&this.count===0)return this.failTimeout();if(D&&U&&E){if(f.eventType!=Be)return this.failTimeout();var ne=this.pTime?f.timeStamp-this.pTime<b.interval:!0,Ve=!this.pCenter||hn(this.pCenter,f.center)<b.posThreshold;this.pTime=f.timeStamp,this.pCenter=f.center,!Ve||!ne?this.count=1:this.count+=1,this._input=f;var hi=this.count%b.taps;if(hi===0)return this.hasRequireFailures()?(this._timer=c(function(){this.state=On,this.tryEmit()},b.interval,this),at):On}return ki},failTimeout:function(){return this._timer=c(function(){this.state=ki},this.options.interval,this),ki},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==On&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Hr(f,b){return b=b||{},b.recognizers=M(b.recognizers,Hr.defaults.preset),new Bh(f,b)}Hr.VERSION="2.0.7",Hr.defaults={domEvents:!1,touchAction:ht,enable:!0,inputTarget:null,inputClass:null,preset:[[Vh,{enable:!1}],[Nh,{enable:!1},["rotate"]],[jh,{direction:bt}],[oc,{direction:bt},["swipe"]],[sc],[sc,{event:"doubletap",taps:2},["tap"]],[Lh]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var i2=1,Rf=2;function Bh(f,b){this.options=C({},Hr.defaults,b||{}),this.options.inputTarget=this.options.inputTarget||f,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=f,this.input=Rt(this),this.touchAction=new Ht(this,this.options.touchAction),Ff(this,!0),g(this.options.recognizers,function(E){var D=this.add(new E[0](E[1]));E[2]&&D.recognizeWith(E[2]),E[3]&&D.requireFailure(E[3])},this)}Bh.prototype={set:function(f){return C(this.options,f),f.touchAction&&this.touchAction.update(),f.inputTarget&&(this.input.destroy(),this.input.target=f.inputTarget,this.input.init()),this},stop:function(f){this.session.stopped=f?Rf:i2},recognize:function(f){var b=this.session;if(!b.stopped){this.touchAction.preventDefaults(f);var E,D=this.recognizers,U=b.curRecognizer;(!U||U&&U.state&On)&&(U=b.curRecognizer=null);for(var ne=0;ne<D.length;)E=D[ne],b.stopped!==Rf&&(!U||E==U||E.canRecognizeWith(U))?E.recognize(f):E.reset(),!U&&E.state&(at|ft|si)&&(U=b.curRecognizer=E),ne++}},get:function(f){if(f instanceof Kt)return f;for(var b=this.recognizers,E=0;E<b.length;E++)if(b[E].options.event==f)return b[E];return null},add:function(f){if(m(f,"add",this))return this;var b=this.get(f.options.event);return b&&this.remove(b),this.recognizers.push(f),f.manager=this,this.touchAction.update(),f},remove:function(f){if(m(f,"remove",this))return this;if(f=this.get(f),f){var b=this.recognizers,E=H(b,f);E!==-1&&(b.splice(E,1),this.touchAction.update())}return this},on:function(f,b){if(f!==t&&b!==t){var E=this.handlers;return g(B(f),function(D){E[D]=E[D]||[],E[D].push(b)}),this}},off:function(f,b){if(f!==t){var E=this.handlers;return g(B(f),function(D){b?E[D]&&E[D].splice(H(E[D],b),1):delete E[D]}),this}},emit:function(f,b){this.options.domEvents&&n2(f,b);var E=this.handlers[f]&&this.handlers[f].slice();if(!(!E||!E.length)){b.type=f,b.preventDefault=function(){b.srcEvent.preventDefault()};for(var D=0;D<E.length;)E[D](b),D++}},destroy:function(){this.element&&Ff(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function Ff(f,b){var E=f.element;if(E.style){var D;g(f.options.cssProps,function(U,ne){D=Se(E.style,ne),b?(f.oldCssProps[D]=E.style[D],E.style[D]=U):E.style[D]=f.oldCssProps[D]||""}),b||(f.oldCssProps={})}}function n2(f,b){var E=e.createEvent("Event");E.initEvent(f,!0,!0),E.gesture=b,b.target.dispatchEvent(E)}C(Hr,{INPUT_START:Ke,INPUT_MOVE:ut,INPUT_END:Be,INPUT_CANCEL:Je,STATE_POSSIBLE:Wr,STATE_BEGAN:at,STATE_CHANGED:ft,STATE_ENDED:si,STATE_RECOGNIZED:On,STATE_CANCELLED:Co,STATE_FAILED:ki,DIRECTION_NONE:Sn,DIRECTION_LEFT:zt,DIRECTION_RIGHT:yi,DIRECTION_UP:Re,DIRECTION_DOWN:dt,DIRECTION_HORIZONTAL:bt,DIRECTION_VERTICAL:Ut,DIRECTION_ALL:P,Manager:Bh,Input:Wt,TouchAction:Ht,TouchInput:ze,MouseInput:An,PointerEventInput:Gi,TouchMouseInput:Ce,SingleTouchInput:Un,Recognizer:Kt,AttrRecognizer:nr,Tap:sc,Pan:oc,Swipe:jh,Pinch:Nh,Rotate:Vh,Press:Lh,on:L,off:j,each:g,merge:x,extend:y,assign:C,inherit:A,bindFn:k,prefixed:Se});var r2=typeof r<"u"?r:typeof self<"u"?self:{};r2.Hammer=Hr,typeof define=="function"&&define.amd?define(function(){return Hr}):typeof Ac<"u"&&Ac.exports?Ac.exports=Hr:r[n]=Hr})(window,document,"Hammer")});var pL=s2(Wg());var yl=class{},wl=class{},Er=class r{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
`).forEach(n=>{let t=n.indexOf(":");if(t>0){let i=n.slice(0,t),o=i.toLowerCase(),s=n.slice(t+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,t)=>{this.setHeaderEntries(t,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,t])=>{this.setHeaderEntries(n,t)})}: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 r?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 r;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof r?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 t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,n);let i=(e.op==="a"?this.headers.get(n):void 0)||[];i.push(...t),this.headers.set(n,i);break;case"d":let o=e.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(e,n){let t=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,t),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 r0=class{encodeKey(e){return Hg(e)}encodeValue(e){return Hg(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function l2(r,e){let n=new Map;return r.length>0&&r.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}var u2=/%(\d[a-f0-9])/gi,c2={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Hg(r){return encodeURIComponent(r).replace(u2,(e,n)=>c2[n]??e)}function Tc(r){return`${r}`}var Io=class r{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new r0,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=l2(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{let t=e.fromObject[n],i=Array.isArray(t)?t.map(Tc):[Tc(t)];this.map.set(n,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){let n=[];return Object.keys(e).forEach(t=>{let i=e[t];Array.isArray(i)?i.forEach(o=>{n.push({param:t,value:o,op:"a"})}):n.push({param:t,value:i,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let n=this.encoder.encodeKey(e);return this.map.get(e).map(t=>n+"="+this.encoder.encodeValue(t)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let n=new r({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let n=(e.op==="a"?this.map.get(e.param):void 0)||[];n.push(Tc(e.value)),this.map.set(e.param,n);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],i=t.indexOf(Tc(e.value));i!==-1&&t.splice(i,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var o0=class{constructor(){this.map=new Map}set(e,n){return this.map.set(e,n),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function d2(r){switch(r){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function $g(r){return typeof ArrayBuffer<"u"&&r instanceof ArrayBuffer}function Gg(r){return typeof Blob<"u"&&r instanceof Blob}function Yg(r){return typeof FormData<"u"&&r instanceof FormData}function h2(r){return typeof URLSearchParams<"u"&&r instanceof URLSearchParams}var Cl=class r{constructor(e,n,t,i){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(d2(this.method)||i?(this.body=t!==void 0?t:null,o=i):o=t,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Er,this.context??=new o0,!this.params)this.params=new Io,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),l=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||$g(this.body)||Gg(this.body)||Yg(this.body)||h2(this.body)?this.body:this.body instanceof Io?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Yg(this.body)?null:Gg(this.body)?this.body.type||null:$g(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Io?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let n=e.method||this.method,t=e.url||this.url,i=e.responseType||this.responseType,o=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,l=e.reportProgress??this.reportProgress,u=e.headers||this.headers,c=e.params||this.params,m=e.context??this.context;return e.setHeaders!==void 0&&(u=Object.keys(e.setHeaders).reduce((g,_)=>g.set(_,e.setHeaders[_]),u)),e.setParams&&(c=Object.keys(e.setParams).reduce((g,_)=>g.set(_,e.setParams[_]),c)),new r(n,t,s,{params:c,headers:u,context:m,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},ko=function(r){return r[r.Sent=0]="Sent",r[r.UploadProgress=1]="UploadProgress",r[r.ResponseHeader=2]="ResponseHeader",r[r.DownloadProgress=3]="DownloadProgress",r[r.Response=4]="Response",r[r.User=5]="User",r}(ko||{}),xl=class{constructor(e,n=200,t="OK"){this.headers=e.headers||new Er,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Mc=class r extends xl{constructor(e={}){super(e),this.type=ko.ResponseHeader}clone(e={}){return new r({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})}},ds=class r extends xl{constructor(e={}){super(e),this.type=ko.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new r({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})}},Do=class extends xl{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},r_=200,p2=204;function n0(r,e){return{body:e,headers:r.headers,context:r.context,observe:r.observe,params:r.params,reportProgress:r.reportProgress,responseType:r.responseType,withCredentials:r.withCredentials,transferCache:r.transferCache}}var qi=(()=>{let e=class e{constructor(t){this.handler=t}request(t,i,o={}){let s;if(t instanceof Cl)s=t;else{let u;o.headers instanceof Er?u=o.headers:u=new Er(o.headers);let c;o.params&&(o.params instanceof Io?c=o.params:c=new Io({fromObject:o.params})),s=new Cl(t,i,o.body!==void 0?o.body:null,{headers:u,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=G(s).pipe(Eo(u=>this.handler.handle(u)));if(t instanceof Cl||o.observe==="events")return a;let l=a.pipe(_t(u=>u instanceof ds));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(te(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return l.pipe(te(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return l.pipe(te(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return l.pipe(te(u=>u.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:new Io().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,o={}){return this.request("PATCH",t,n0(o,i))}post(t,i,o={}){return this.request("POST",t,n0(o,i))}put(t,i,o={}){return this.request("PUT",t,n0(o,i))}};e.\u0275fac=function(i){return new(i||e)(I(yl))},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})(),m2=/^\)\]\}',?\n/,f2="X-Request-URL";function Xg(r){if(r.url)return r.url;let e=f2.toLocaleLowerCase();return r.headers.get(e)}var s0=(()=>{let e=class e{constructor(){this.fetchImpl=O(a0,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=O(ie)}handle(t){return new xi(i=>{let o=new AbortController;return this.doRequest(t,o.signal,i).then(l0,s=>i.error(new Do({error:s}))),()=>o.abort()})}doRequest(t,i,o){return Cr(this,null,function*(){let s=this.createRequestInit(t),a;try{let C=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,z({signal:i},s)));g2(C),o.next({type:ko.Sent}),a=yield C}catch(C){o.error(new Do({error:C,status:C.status??0,statusText:C.statusText,url:t.urlWithParams,headers:C.headers}));return}let l=new Er(a.headers),u=a.statusText,c=Xg(a)??t.urlWithParams,m=a.status,g=null;if(t.reportProgress&&o.next(new Mc({headers:l,status:m,statusText:u,url:c})),a.body){let C=a.headers.get("content-length"),y=[],x=a.body.getReader(),A=0,k,F,M=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Cr(this,null,function*(){for(;;){let{done:j,value:R}=yield x.read();if(j)break;if(y.push(R),A+=R.length,t.reportProgress){F=t.responseType==="text"?(F??"")+(k??=new TextDecoder).decode(R,{stream:!0}):void 0;let W=()=>o.next({type:ko.DownloadProgress,total:C?+C:void 0,loaded:A,partialText:F});M?M.run(W):W()}}}));let L=this.concatChunks(y,A);try{let j=a.headers.get("Content-Type")??"";g=this.parseBody(t,L,j)}catch(j){o.error(new Do({error:j,headers:new Er(a.headers),status:a.status,statusText:a.statusText,url:Xg(a)??t.urlWithParams}));return}}m===0&&(m=g?r_:0),m>=200&&m<300?(o.next(new ds({body:g,headers:l,status:m,statusText:u,url:c})),o.complete()):o.error(new Do({error:g,headers:l,status:m,statusText:u,url:c}))})}parseBody(t,i,o){switch(t.responseType){case"json":let s=new TextDecoder().decode(i).replace(m2,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(t){let i={},o=t.withCredentials?"include":void 0;if(t.headers.forEach((s,a)=>i[s]=a.join(",")),t.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!t.headers.has("Content-Type")){let s=t.detectContentTypeHeader();s!==null&&(i["Content-Type"]=s)}return{body:t.serializeBody(),method:t.method,headers:i,credentials:o}}concatChunks(t,i){let o=new Uint8Array(i),s=0;for(let a of t)o.set(a,s),s+=a.length;return o}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})(),a0=class{};function l0(){}function g2(r){r.then(l0,l0)}function _2(r,e){return e(r)}function v2(r,e,n){return(t,i)=>Wn(n,()=>e(t,o=>r(o,i)))}var o_=new q(""),s_=new q(""),b2=new q("",{providedIn:"root",factory:()=>!0});var Zg=(()=>{let e=class e extends yl{constructor(t,i){super(),this.backend=t,this.injector=i,this.chain=null,this.pendingTasks=O(pc),this.contributeToStability=O(b2)}handle(t){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(o_),...this.injector.get(s_,[])]));this.chain=i.reduceRight((o,s)=>v2(o,s,this.injector),_2)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(So(()=>this.pendingTasks.remove(i)))}else return this.chain(t,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(I(wl),I(or))},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})();var C2=/^\)\]\}',?\n/;function y2(r){return"responseURL"in r&&r.responseURL?r.responseURL:/^X-Request-URL:/m.test(r.getAllResponseHeaders())?r.getResponseHeader("X-Request-URL"):null}var qg=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new rt(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Ei(i.\u0275loadImpl()):G(null)).pipe(lt(()=>new xi(s=>{let a=i.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((x,A)=>a.setRequestHeader(x,A.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let x=t.detectContentTypeHeader();x!==null&&a.setRequestHeader("Content-Type",x)}if(t.responseType){let x=t.responseType.toLowerCase();a.responseType=x!=="json"?x:"text"}let l=t.serializeBody(),u=null,c=()=>{if(u!==null)return u;let x=a.statusText||"OK",A=new Er(a.getAllResponseHeaders()),k=y2(a)||t.url;return u=new Mc({headers:A,status:a.status,statusText:x,url:k}),u},m=()=>{let{headers:x,status:A,statusText:k,url:F}=c(),M=null;A!==p2&&(M=typeof a.response>"u"?a.responseText:a.response),A===0&&(A=M?r_:0);let L=A>=200&&A<300;if(t.responseType==="json"&&typeof M=="string"){let j=M;M=M.replace(C2,"");try{M=M!==""?JSON.parse(M):null}catch(R){M=j,L&&(L=!1,M={error:R,text:M})}}L?(s.next(new ds({body:M,headers:x,status:A,statusText:k,url:F||void 0})),s.complete()):s.error(new Do({error:M,headers:x,status:A,statusText:k,url:F||void 0}))},g=x=>{let{url:A}=c(),k=new Do({error:x,status:a.status||0,statusText:a.statusText||"Unknown Error",url:A||void 0});s.error(k)},_=!1,C=x=>{_||(s.next(c()),_=!0);let A={type:ko.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(A.total=x.total),t.responseType==="text"&&a.responseText&&(A.partialText=a.responseText),s.next(A)},y=x=>{let A={type:ko.UploadProgress,loaded:x.loaded};x.lengthComputable&&(A.total=x.total),s.next(A)};return a.addEventListener("load",m),a.addEventListener("error",g),a.addEventListener("timeout",g),a.addEventListener("abort",g),t.reportProgress&&(a.addEventListener("progress",C),l!==null&&a.upload&&a.upload.addEventListener("progress",y)),a.send(l),s.next({type:ko.Sent}),()=>{a.removeEventListener("error",g),a.removeEventListener("abort",g),a.removeEventListener("load",m),a.removeEventListener("timeout",g),t.reportProgress&&(a.removeEventListener("progress",C),l!==null&&a.upload&&a.upload.removeEventListener("progress",y)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(I(Sc))},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})(),a_=new q(""),w2="XSRF-TOKEN",x2=new q("",{providedIn:"root",factory:()=>w2}),E2="X-XSRF-TOKEN",S2=new q("",{providedIn:"root",factory:()=>E2}),Dc=class{},A2=(()=>{let e=class e{constructor(t,i,o){this.doc=t,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=xc(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(I(ae),I(ai),I(x2))},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})();function T2(r,e){let n=r.url.toLowerCase();if(!O(a_)||r.method==="GET"||r.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return e(r);let t=O(Dc).getToken(),i=O(S2);return t!=null&&!r.headers.has(i)&&(r=r.clone({headers:r.headers.set(i,t)})),e(r)}var l_=function(r){return r[r.Interceptors=0]="Interceptors",r[r.LegacyInterceptors=1]="LegacyInterceptors",r[r.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",r[r.NoXsrfProtection=3]="NoXsrfProtection",r[r.JsonpSupport=4]="JsonpSupport",r[r.RequestsMadeViaParent=5]="RequestsMadeViaParent",r[r.Fetch=6]="Fetch",r}(l_||{});function O2(r,e){return{\u0275kind:r,\u0275providers:e}}function u_(...r){let e=[qi,qg,Zg,{provide:yl,useExisting:Zg},{provide:wl,useFactory:()=>O(s0,{optional:!0})??O(qg)},{provide:o_,useValue:T2,multi:!0},{provide:a_,useValue:!0},{provide:Dc,useClass:A2}];for(let n of r)e.push(...n.\u0275providers);return Oo(e)}function c_(){return O2(l_.Fetch,[s0,{provide:wl,useExisting:s0}])}var M2=new q(""),Qg="b",Kg="h",Jg="s",e_="st",t_="u",i_="rt",Oc=new q(""),D2=["GET","HEAD"];function I2(r,e){let _=O(Oc),{isCacheActive:n}=_,t=Nf(_,["isCacheActive"]),{transferCache:i,method:o}=r;if(!n||i===!1||o==="POST"&&!t.includePostRequests&&!i||o!=="POST"&&!D2.includes(o)||!t.includeRequestsWithAuthHeaders&&k2(r)||t.filter?.(r)===!1)return e(r);let s=O(Qh),a=O(M2,{optional:!0}),l=bl(O(ai));if(a&&!l)throw new rt(2803,!1);let u=l&&a?N2(r.url,a):r.url,c=R2(r,u),m=s.get(c,null),g=t.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(g=i.includeHeaders),m){let{[Qg]:C,[i_]:y,[Kg]:x,[Jg]:A,[e_]:k,[t_]:F}=m,M=C;switch(y){case"arraybuffer":M=new TextEncoder().encode(C).buffer;break;case"blob":M=new Blob([C]);break}let L=new Er(x);return G(new ds({body:M,headers:L,status:A,statusText:k,url:F}))}return e(r).pipe(tt(C=>{C instanceof ds&&l&&s.set(c,{[Qg]:C.body,[Kg]:P2(C.headers,g),[Jg]:C.status,[e_]:C.statusText,[t_]:u,[i_]:r.responseType})}))}function k2(r){return r.headers.has("authorization")||r.headers.has("proxy-authorization")}function P2(r,e){if(!e)return{};let n={};for(let t of e){let i=r.getAll(t);i!==null&&(n[t]=i)}return n}function n_(r){return[...r.keys()].sort().map(e=>`${e}=${r.getAll(e)}`).join("&")}function R2(r,e){let{params:n,method:t,responseType:i}=r,o=n_(n),s=r.serializeBody();s instanceof URLSearchParams?s=n_(s):typeof s!="string"&&(s="");let a=[t,i,e,s,o].join("|"),l=F2(a);return l}function F2(r){let e=0;for(let n of r)e=Math.imul(31,e)+n.charCodeAt(0)<<0;return e+=2147483648,e.toString()}function d_(r){return[{provide:Oc,useFactory:()=>(_c("NgHttpTransferCache"),z({isCacheActive:!0},r))},{provide:s_,useValue:I2,multi:!0,deps:[Qh,Oc]},{provide:_l,multi:!0,useFactory:()=>{let e=O(Zr),n=O(Oc);return()=>{Eg(e).then(()=>{n.isCacheActive=!1})}}}]}function N2(r,e){let n=new URL(r,"resolve://").origin,t=e[n];return t?r.replace(n,t):r}var h0=class extends kg{constructor(){super(...arguments),this.supportsDOMEvents=!0}},p0=class r extends h0{static makeCurrent(){Ig(new r)}onAndCancel(e,n,t){return e.addEventListener(n,t),()=>{e.removeEventListener(n,t)}}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=V2();return n==null?null:j2(n)}resetBaseElement(){Sl=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return xc(document.cookie,e)}},Sl=null;function V2(){return Sl=Sl||document.querySelector("base"),Sl?Sl.getAttribute("href"):null}function j2(r){return new URL(r,document.baseURI).pathname}var B2=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})(),Al=new q(""),m_=(()=>{let e=class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,o){return this._findPluginFor(i).addEventListener(t,i,o)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(s=>s.supports(t)),!i)throw new rt(5101,!1);return this._eventNameToPlugin.set(t,i),i}};e.\u0275fac=function(i){return new(i||e)(I(Al),I(ie))},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})(),la=class{constructor(e){this._doc=e}},c0="ng-app-id",f_=(()=>{let e=class e{constructor(t,i,o,s={}){this.doc=t,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=bl(s),this.resetHostNodes()}addStyles(t){for(let i of t)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(t){for(let i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){let i=this.styleRef;i.get(t)?.elements?.forEach(o=>o.remove()),i.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${c0}="${this.appId}"]`);if(t?.length){let i=new Map;return t.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(t,i){let o=this.styleRef;if(o.has(t)){let s=o.get(t);return s.usage+=i,s.usage}return o.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===t)return o.delete(i),s.removeAttribute(c0),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(c0,this.appId),t.appendChild(a),a}}addStyleToHost(t,i){let o=this.getStyleElement(t,i),s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(I(ae),I(pl),I(ml,8),I(ai))},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})(),d0={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"},v0=/%COMP%/g,g_="%COMP%",z2=`_nghost-${g_}`,U2=`_ngcontent-${g_}`,W2=!0,H2=new q("",{providedIn:"root",factory:()=>W2});function $2(r){return U2.replace(v0,r)}function G2(r){return z2.replace(v0,r)}function __(r,e){return e.map(n=>n.replace(v0,r))}var Ic=(()=>{let e=class e{constructor(t,i,o,s,a,l,u,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=u,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=bl(l),this.defaultRenderer=new Tl(t,a,u,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===hl.ShadowDom&&(i=nt(z({},i),{encapsulation:hl.Emulated}));let o=this.getOrCreateRenderer(t,i);return o instanceof kc?o.applyToHost(t):o instanceof Ol&&o.applyStyles(),o}getOrCreateRenderer(t,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,l=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(i.encapsulation){case hl.Emulated:s=new kc(u,c,i,this.appId,m,a,l,g);break;case hl.ShadowDom:return new m0(u,c,t,i,a,l,this.nonce,g);default:s=new Ol(u,c,i,m,a,l,g);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(I(m_),I(f_),I(pl),I(H2),I(ae),I(ai),I(ie),I(ml))},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})(),Tl=class{constructor(e,n,t,i){this.eventManager=e,this.doc=n,this.ngZone=t,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(d0[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(h_(e)?e.content:e).appendChild(n)}insertBefore(e,n,t){e&&(h_(e)?e.content:e).insertBefore(n,t)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new rt(-5104,!1);return n||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,t,i){if(i){n=i+":"+n;let o=d0[i];o?e.setAttributeNS(o,n,t):e.setAttribute(n,t)}else e.setAttribute(n,t)}removeAttribute(e,n,t){if(t){let i=d0[t];i?e.removeAttributeNS(i,n):e.removeAttribute(`${t}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,t,i){i&(fl.DashCase|fl.Important)?e.style.setProperty(n,t,i&fl.Important?"important":""):e.style[n]=t}removeStyle(e,n,t){t&fl.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,t){e!=null&&(e[n]=t)}setValue(e,n){e.nodeValue=n}listen(e,n,t){if(typeof e=="string"&&(e=sa().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(t))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function h_(r){return r.tagName==="TEMPLATE"&&r.content!==void 0}var m0=class extends Tl{constructor(e,n,t,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=n,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=__(i.id,i.styles);for(let c of u){let m=document.createElement("style");a&&m.setAttribute("nonce",a),m.textContent=c,this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,t){return super.insertBefore(this.nodeOrShadowRoot(e),n,t)}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)}},Ol=class extends Tl{constructor(e,n,t,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=l?__(l,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},kc=class extends Ol{constructor(e,n,t,i,o,s,a,l){let u=i+"-"+t.id;super(e,n,t,o,s,a,l,u),this.contentAttr=$2(u),this.hostAttr=G2(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let t=super.createElement(e,n);return super.setAttribute(t,this.contentAttr,""),t}},Y2=(()=>{let e=class e extends la{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,o){return t.addEventListener(i,o,!1),()=>this.removeEventListener(t,i,o)}removeEventListener(t,i,o){return t.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(I(ae))},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})(),X2=(()=>{let e=class e extends la{constructor(t){super(t),this.delegate=O(Ag,{optional:!0})}supports(t){return this.delegate?this.delegate.supports(t):!1}addEventListener(t,i,o){return this.delegate.addEventListener(t,i,o)}removeEventListener(t,i,o){return this.delegate.removeEventListener(t,i,o)}};e.\u0275fac=function(i){return new(i||e)(I(ae))},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})(),p_=["alt","control","meta","shift"],Z2={"\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"},q2={alt:r=>r.altKey,control:r=>r.ctrlKey,meta:r=>r.metaKey,shift:r=>r.shiftKey},Q2=(()=>{let e=class e extends la{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>sa().onAndCancel(t,s.domEventName,a))}static parseEventName(t){let i=t.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),p_.forEach(c=>{let m=i.indexOf(c);m>-1&&(i.splice(m,1),a+=c+".")}),a+=s,i.length!=0||s.length===0)return null;let u={};return u.domEventName=o,u.fullKey=a,u}static matchEventFullKeyCode(t,i){let o=Z2[t.key]||t.key,s="";return i.indexOf("code.")>-1&&(o=t.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),p_.forEach(a=>{if(a!==o){let l=q2[a];l(t)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(t,i,o){return s=>{e.matchEventFullKeyCode(s,t)&&o.runGuarded(()=>i(s))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(i){return new(i||e)(I(ae))},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})();function v_(r,e){return Sg(z({rootComponent:r},K2(e)))}function K2(r){return{appProviders:[...n1,...r?.providers??[]],platformProviders:i1}}function J2(){p0.makeCurrent()}function e1(){return new as}function t1(){return Jf(document),document}var i1=[{provide:ai,useValue:jg},{provide:eg,useValue:J2,multi:!0},{provide:ae,useFactory:t1,deps:[]}];var n1=[{provide:Qf,useValue:"root"},{provide:as,useFactory:e1,deps:[]},{provide:Al,useClass:Y2,multi:!0,deps:[ae,ie,ai]},{provide:Al,useClass:Q2,multi:!0,deps:[ae]},{provide:Al,useClass:X2,multi:!0},Ic,f_,m_,{provide:gc,useExisting:Ic},{provide:Sc,useClass:B2,deps:[]},[]];var b_=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(i){return new(i||e)(I(ae))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var r1={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},f0=new q("HammerGestureConfig"),C_=new q("HammerLoader"),o1=(()=>{let e=class e{constructor(){this.events=[],this.overrides={}}buildHammer(t){let i=new Hammer(t,this.options);i.get("pinch").set({enable:!0}),i.get("rotate").set({enable:!0});for(let o in this.overrides)i.get(o).set(this.overrides[o]);return i}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})(),s1=(()=>{let e=class e extends la{constructor(t,i,o,s){super(t),this._config=i,this.console=o,this.loader=s,this._loaderPromise=null}supports(t){return!(!r1.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader)}addEventListener(t,i,o){let s=this.manager.getZone();if(i=i.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||s.runOutsideAngular(()=>this.loader());let a=!1,l=()=>{a=!0};return s.runOutsideAngular(()=>this._loaderPromise.then(()=>{if(!window.Hammer){l=()=>{};return}a||(l=this.addEventListener(t,i,o))}).catch(()=>{l=()=>{}})),()=>{l()}}return s.runOutsideAngular(()=>{let a=this._config.buildHammer(t),l=function(u){s.runGuarded(function(){o(u)})};return a.on(i,l),()=>{a.off(i,l),typeof a.destroy=="function"&&a.destroy()}})}isCustomEvent(t){return this._config.events.indexOf(t)>-1}};e.\u0275fac=function(i){return new(i||e)(I(ae),I(f0),I(oa),I(C_,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})(),y_=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({providers:[{provide:Al,useClass:s1,multi:!0,deps:[ae,f0,oa,[new dl,C_]]},{provide:f0,useClass:o1,deps:[]}]});let r=e;return r})(),Ml=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=I(a1),o},providedIn:"root"});let r=e;return r})(),a1=(()=>{let e=class e extends Ml{constructor(t){super(),this._doc=t}sanitize(t,i){if(i==null)return null;switch(t){case Mn.NONE:return i;case Mn.HTML:return ia(i,"HTML")?ta(i):lg(this._doc,String(i)).toString();case Mn.STYLE:return ia(i,"Style")?ta(i):i;case Mn.SCRIPT:if(ia(i,"Script"))return ta(i);throw new rt(5200,!1);case Mn.URL:return ia(i,"URL")?ta(i):ag(String(i));case Mn.RESOURCE_URL:if(ia(i,"ResourceURL"))return ta(i);throw new rt(5201,!1);default:throw new rt(5202,!1)}}bypassSecurityTrustHtml(t){return ig(t)}bypassSecurityTrustStyle(t){return ng(t)}bypassSecurityTrustScript(t){return rg(t)}bypassSecurityTrustUrl(t){return og(t)}bypassSecurityTrustResourceUrl(t){return sg(t)}};e.\u0275fac=function(i){return new(i||e)(I(ae))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),g0=function(r){return r[r.NoHttpTransferCache=0]="NoHttpTransferCache",r[r.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",r[r.I18nSupport=2]="I18nSupport",r[r.EventReplay=3]="EventReplay",r}(g0||{});function w_(...r){let e=[],n=new Set,t=n.has(g0.HttpTransferCacheOptions);for(let{\u0275providers:i,\u0275kind:o}of r)n.add(o),i.length&&e.push(i);return Oo([[],Tg(),n.has(g0.NoHttpTransferCache)||t?[]:d_({}),e])}var Oe="primary",$l=Symbol("RouteTitle"),x0=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function ma(r){return new x0(r)}function l1(r,e,n){let t=n.path.split("/");if(t.length>r.length||n.pathMatch==="full"&&(e.hasChildren()||t.length<r.length))return null;let i={};for(let o=0;o<t.length;o++){let s=t[o],a=r[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:r.slice(0,t.length),posParams:i}}function u1(r,e){if(r.length!==e.length)return!1;for(let n=0;n<r.length;++n)if(!Sr(r[n],e[n]))return!1;return!0}function Sr(r,e){let n=r?E0(r):void 0,t=e?E0(e):void 0;if(!n||!t||n.length!=t.length)return!1;let i;for(let o=0;o<n.length;o++)if(i=n[o],!R_(r[i],e[i]))return!1;return!0}function E0(r){return[...Object.keys(r),...Object.getOwnPropertySymbols(r)]}function R_(r,e){if(Array.isArray(r)&&Array.isArray(e)){if(r.length!==e.length)return!1;let n=[...r].sort(),t=[...e].sort();return n.every((i,o)=>t[o]===i)}else return r===e}function F_(r){return r.length>0?r[r.length-1]:null}function Ro(r){return lc(r)?r:yc(r)?Ei(Promise.resolve(r)):G(r)}var c1={exact:L_,subset:V_},N_={exact:d1,subset:h1,ignored:()=>!0};function E_(r,e,n){return c1[n.paths](r.root,e.root,n.matrixParams)&&N_[n.queryParams](r.queryParams,e.queryParams)&&!(n.fragment==="exact"&&r.fragment!==e.fragment)}function d1(r,e){return Sr(r,e)}function L_(r,e,n){if(!ps(r.segments,e.segments)||!Fc(r.segments,e.segments,n)||r.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!r.children[t]||!L_(r.children[t],e.children[t],n))return!1;return!0}function h1(r,e){return Object.keys(e).length<=Object.keys(r).length&&Object.keys(e).every(n=>R_(r[n],e[n]))}function V_(r,e,n){return j_(r,e,e.segments,n)}function j_(r,e,n,t){if(r.segments.length>n.length){let i=r.segments.slice(0,n.length);return!(!ps(i,n)||e.hasChildren()||!Fc(i,n,t))}else if(r.segments.length===n.length){if(!ps(r.segments,n)||!Fc(r.segments,n,t))return!1;for(let i in e.children)if(!r.children[i]||!V_(r.children[i],e.children[i],t))return!1;return!0}else{let i=n.slice(0,r.segments.length),o=n.slice(r.segments.length);return!ps(r.segments,i)||!Fc(r.segments,i,t)||!r.children[Oe]?!1:j_(r.children[Oe],e,o,t)}}function Fc(r,e,n){return e.every((t,i)=>N_[n](r[i].parameters,t.parameters))}var eo=class{constructor(e=new st([],{}),n={},t=null){this.root=e,this.queryParams=n,this.fragment=t}get queryParamMap(){return this._queryParamMap??=ma(this.queryParams),this._queryParamMap}toString(){return f1.serialize(this)}},st=class{constructor(e,n){this.segments=e,this.children=n,this.parent=null,Object.values(n).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Nc(this)}},hs=class{constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap??=ma(this.parameters),this._parameterMap}toString(){return z_(this)}};function p1(r,e){return ps(r,e)&&r.every((n,t)=>Sr(n.parameters,e[t].parameters))}function ps(r,e){return r.length!==e.length?!1:r.every((n,t)=>n.path===e[t].path)}function m1(r,e){let n=[];return Object.entries(r.children).forEach(([t,i])=>{t===Oe&&(n=n.concat(e(i,t)))}),Object.entries(r.children).forEach(([t,i])=>{t!==Oe&&(n=n.concat(e(i,t)))}),n}var ba=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:()=>new fa,providedIn:"root"});let r=e;return r})(),fa=class{parse(e){let n=new A0(e);return new eo(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){let n=`/${Dl(e.root,!0)}`,t=v1(e.queryParams),i=typeof e.fragment=="string"?`#${g1(e.fragment)}`:"";return`${n}${t}${i}`}},f1=new fa;function Nc(r){return r.segments.map(e=>z_(e)).join("/")}function Dl(r,e){if(!r.hasChildren())return Nc(r);if(e){let n=r.children[Oe]?Dl(r.children[Oe],!1):"",t=[];return Object.entries(r.children).forEach(([i,o])=>{i!==Oe&&t.push(`${i}:${Dl(o,!1)}`)}),t.length>0?`${n}(${t.join("//")})`:n}else{let n=m1(r,(t,i)=>i===Oe?[Dl(r.children[Oe],!1)]:[`${i}:${Dl(t,!1)}`]);return Object.keys(r.children).length===1&&r.children[Oe]!=null?`${Nc(r)}/${n[0]}`:`${Nc(r)}/(${n.join("//")})`}}function B_(r){return encodeURIComponent(r).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pc(r){return B_(r).replace(/%3B/gi,";")}function g1(r){return encodeURI(r)}function S0(r){return B_(r).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Lc(r){return decodeURIComponent(r)}function S_(r){return Lc(r.replace(/\+/g,"%20"))}function z_(r){return`${S0(r.path)}${_1(r.parameters)}`}function _1(r){return Object.entries(r).map(([e,n])=>`;${S0(e)}=${S0(n)}`).join("")}function v1(r){let e=Object.entries(r).map(([n,t])=>Array.isArray(t)?t.map(i=>`${Pc(n)}=${Pc(i)}`).join("&"):`${Pc(n)}=${Pc(t)}`).filter(n=>n);return e.length?`?${e.join("&")}`:""}var b1=/^[^\/()?;#]+/;function b0(r){let e=r.match(b1);return e?e[0]:""}var C1=/^[^\/()?;=#]+/;function y1(r){let e=r.match(C1);return e?e[0]:""}var w1=/^[^=?&#]+/;function x1(r){let e=r.match(w1);return e?e[0]:""}var E1=/^[^&#]+/;function S1(r){let e=r.match(E1);return e?e[0]:""}var A0=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new st([],{}):new st([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(t[Oe]=new st(e,n)),t}parseSegment(){let e=b0(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new rt(4009,!1);return this.capture(e),new hs(Lc(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let n=y1(this.remaining);if(!n)return;this.capture(n);let t="";if(this.consumeOptional("=")){let i=b0(this.remaining);i&&(t=i,this.capture(t))}e[Lc(n)]=Lc(t)}parseQueryParam(e){let n=x1(this.remaining);if(!n)return;this.capture(n);let t="";if(this.consumeOptional("=")){let s=S1(this.remaining);s&&(t=s,this.capture(t))}let i=S_(n),o=S_(t);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=b0(this.remaining),i=this.remaining[t.length];if(i!=="/"&&i!==")"&&i!==";")throw new rt(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=Oe);let s=this.parseChildren();n[o]=Object.keys(s).length===1?s[Oe]:new st([],s),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new rt(4011,!1)}};function U_(r){return r.segments.length>0?new st([],{[Oe]:r}):r}function W_(r){let e={};for(let[t,i]of Object.entries(r.children)){let o=W_(i);if(t===Oe&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[t]=o)}let n=new st(r.segments,e);return A1(n)}function A1(r){if(r.numberOfChildren===1&&r.children[Oe]){let e=r.children[Oe];return new st(r.segments.concat(e.segments),e.children)}return r}function ms(r){return r instanceof eo}function T1(r,e,n=null,t=null){let i=H_(r);return $_(i,e,n,t)}function H_(r){let e;function n(o){let s={};for(let l of o.children){let u=n(l);s[l.outlet]=u}let a=new st(o.url,s);return o===r&&(e=a),a}let t=n(r.root),i=U_(t);return e??i}function $_(r,e,n,t){let i=r;for(;i.parent;)i=i.parent;if(e.length===0)return C0(i,i,i,n,t);let o=O1(e);if(o.toRoot())return C0(i,i,new st([],{}),n,t);let s=M1(o,i,r),a=s.processChildren?Pl(s.segmentGroup,s.index,o.commands):Y_(s.segmentGroup,s.index,o.commands);return C0(i,s.segmentGroup,a,n,t)}function Vc(r){return typeof r=="object"&&r!=null&&!r.outlets&&!r.segmentPath}function Nl(r){return typeof r=="object"&&r!=null&&r.outlets}function C0(r,e,n,t,i){let o={};t&&Object.entries(t).forEach(([l,u])=>{o[l]=Array.isArray(u)?u.map(c=>`${c}`):`${u}`});let s;r===e?s=n:s=G_(r,e,n);let a=U_(W_(s));return new eo(a,o,i)}function G_(r,e,n){let t={};return Object.entries(r.children).forEach(([i,o])=>{o===e?t[i]=n:t[i]=G_(o,e,n)}),new st(r.segments,t)}var jc=class{constructor(e,n,t){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=t,e&&t.length>0&&Vc(t[0]))throw new rt(4003,!1);let i=t.find(Nl);if(i&&i!==F_(t))throw new rt(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function O1(r){if(typeof r[0]=="string"&&r.length===1&&r[0]==="/")return new jc(!0,0,r);let e=0,n=!1,t=r.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,u])=>{a[l]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?n=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new jc(n,e,t)}var da=class{constructor(e,n,t){this.segmentGroup=e,this.processChildren=n,this.index=t}};function M1(r,e,n){if(r.isAbsolute)return new da(e,!0,0);if(!n)return new da(e,!1,NaN);if(n.parent===null)return new da(n,!0,0);let t=Vc(r.commands[0])?0:1,i=n.segments.length-1+t;return D1(n,i,r.numberOfDoubleDots)}function D1(r,e,n){let t=r,i=e,o=n;for(;o>i;){if(o-=i,t=t.parent,!t)throw new rt(4005,!1);i=t.segments.length}return new da(t,!1,i-o)}function I1(r){return Nl(r[0])?r[0].outlets:{[Oe]:r}}function Y_(r,e,n){if(r??=new st([],{}),r.segments.length===0&&r.hasChildren())return Pl(r,e,n);let t=k1(r,e,n),i=n.slice(t.commandIndex);if(t.match&&t.pathIndex<r.segments.length){let o=new st(r.segments.slice(0,t.pathIndex),{});return o.children[Oe]=new st(r.segments.slice(t.pathIndex),r.children),Pl(o,0,i)}else return t.match&&i.length===0?new st(r.segments,{}):t.match&&!r.hasChildren()?T0(r,e,n):t.match?Pl(r,0,i):T0(r,e,n)}function Pl(r,e,n){if(n.length===0)return new st(r.segments,{});{let t=I1(n),i={};if(Object.keys(t).some(o=>o!==Oe)&&r.children[Oe]&&r.numberOfChildren===1&&r.children[Oe].segments.length===0){let o=Pl(r.children[Oe],e,n);return new st(r.segments,o.children)}return Object.entries(t).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Y_(r.children[o],e,s))}),Object.entries(r.children).forEach(([o,s])=>{t[o]===void 0&&(i[o]=s)}),new st(r.segments,i)}}function k1(r,e,n){let t=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i<r.segments.length;){if(t>=n.length)return o;let s=r.segments[i],a=n[t];if(Nl(a))break;let l=`${a}`,u=t<n.length-1?n[t+1]:null;if(i>0&&l===void 0)break;if(l&&u&&typeof u=="object"&&u.outlets===void 0){if(!T_(l,u,s))return o;t+=2}else{if(!T_(l,{},s))return o;t++}i++}return{match:!0,pathIndex:i,commandIndex:t}}function T0(r,e,n){let t=r.segments.slice(0,e),i=0;for(;i<n.length;){let o=n[i];if(Nl(o)){let l=P1(o.outlets);return new st(t,l)}if(i===0&&Vc(n[0])){let l=r.segments[e];t.push(new hs(l.path,A_(n[0]))),i++;continue}let s=Nl(o)?o.outlets[Oe]:`${o}`,a=i<n.length-1?n[i+1]:null;s&&a&&Vc(a)?(t.push(new hs(s,A_(a))),i+=2):(t.push(new hs(s,{})),i++)}return new st(t,{})}function P1(r){let e={};return Object.entries(r).forEach(([n,t])=>{typeof t=="string"&&(t=[t]),t!==null&&(e[n]=T0(new st([],{}),0,t))}),e}function A_(r){let e={};return Object.entries(r).forEach(([n,t])=>e[n]=`${t}`),e}function T_(r,e,n){return r==n.path&&Sr(e,n.parameters)}var Rl="imperative",fi=function(r){return r[r.NavigationStart=0]="NavigationStart",r[r.NavigationEnd=1]="NavigationEnd",r[r.NavigationCancel=2]="NavigationCancel",r[r.NavigationError=3]="NavigationError",r[r.RoutesRecognized=4]="RoutesRecognized",r[r.ResolveStart=5]="ResolveStart",r[r.ResolveEnd=6]="ResolveEnd",r[r.GuardsCheckStart=7]="GuardsCheckStart",r[r.GuardsCheckEnd=8]="GuardsCheckEnd",r[r.RouteConfigLoadStart=9]="RouteConfigLoadStart",r[r.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",r[r.ChildActivationStart=11]="ChildActivationStart",r[r.ChildActivationEnd=12]="ChildActivationEnd",r[r.ActivationStart=13]="ActivationStart",r[r.ActivationEnd=14]="ActivationEnd",r[r.Scroll=15]="Scroll",r[r.NavigationSkipped=16]="NavigationSkipped",r}(fi||{}),Gn=class{constructor(e,n){this.id=e,this.url=n}},ga=class extends Gn{constructor(e,n,t="imperative",i=null){super(e,n),this.type=fi.NavigationStart,this.navigationTrigger=t,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ar=class extends Gn{constructor(e,n,t){super(e,n),this.urlAfterRedirects=t,this.type=fi.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Pn=function(r){return r[r.Redirect=0]="Redirect",r[r.SupersededByNewNavigation=1]="SupersededByNewNavigation",r[r.NoDataFromResolver=2]="NoDataFromResolver",r[r.GuardRejected=3]="GuardRejected",r}(Pn||{}),Bc=function(r){return r[r.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",r[r.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",r}(Bc||{}),Jr=class extends Gn{constructor(e,n,t,i){super(e,n),this.reason=t,this.code=i,this.type=fi.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Po=class extends Gn{constructor(e,n,t,i){super(e,n),this.reason=t,this.code=i,this.type=fi.NavigationSkipped}},Ll=class extends Gn{constructor(e,n,t,i){super(e,n),this.error=t,this.target=i,this.type=fi.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},zc=class extends Gn{constructor(e,n,t,i){super(e,n),this.urlAfterRedirects=t,this.state=i,this.type=fi.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},O0=class extends Gn{constructor(e,n,t,i){super(e,n),this.urlAfterRedirects=t,this.state=i,this.type=fi.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},M0=class extends Gn{constructor(e,n,t,i,o){super(e,n),this.urlAfterRedirects=t,this.state=i,this.shouldActivate=o,this.type=fi.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},D0=class extends Gn{constructor(e,n,t,i){super(e,n),this.urlAfterRedirects=t,this.state=i,this.type=fi.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vl=class extends Gn{constructor(e,n,t,i){super(e,n),this.urlAfterRedirects=t,this.state=i,this.type=fi.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},I0=class{constructor(e){this.route=e,this.type=fi.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},k0=class{constructor(e){this.route=e,this.type=fi.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},P0=class{constructor(e){this.snapshot=e,this.type=fi.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},R0=class{constructor(e){this.snapshot=e,this.type=fi.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},F0=class{constructor(e){this.snapshot=e,this.type=fi.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},N0=class{constructor(e){this.snapshot=e,this.type=fi.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Uc=class{constructor(e,n,t){this.routerEvent=e,this.position=n,this.anchor=t,this.type=fi.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},jl=class{},_a=class{constructor(e,n){this.url=e,this.navigationBehaviorOptions=n}};function R1(r,e){return r.providers&&!r._injector&&(r._injector=Jh(r.providers,e,`Route: ${r.path}`)),r._injector??e}function lr(r){return r.outlet||Oe}function F1(r,e){let n=r.filter(t=>lr(t)===e);return n.push(...r.filter(t=>lr(t)!==e)),n}function Gl(r){if(!r)return null;if(r.routeConfig?._injector)return r.routeConfig._injector;for(let e=r.parent;e;e=e.parent){let n=e.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var L0=class{get injector(){return Gl(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new Yl(this.rootInjector),this.attachRef=null}},Yl=(()=>{let e=class e{constructor(t){this.rootInjector=t,this.contexts=new Map}onChildOutletCreated(t,i){let o=this.getOrCreateContext(t);o.outlet=i,this.contexts.set(t,o)}onChildOutletDestroyed(t){let i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new L0(this.rootInjector),this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(i){return new(i||e)(I(or))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Wc=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){let n=V0(e,this._root);return n?n.children.map(t=>t.value):[]}firstChild(e){let n=V0(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){let n=j0(e,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return j0(e,this._root).map(n=>n.value)}};function V0(r,e){if(r===e.value)return e;for(let n of e.children){let t=V0(r,n);if(t)return t}return null}function j0(r,e){if(r===e.value)return[e];for(let n of e.children){let t=j0(r,n);if(t.length)return t.unshift(e),t}return[]}var kn=class{constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}};function ca(r){let e={};return r&&r.children.forEach(n=>e[n.value.outlet]=n),e}var Hc=class extends Wc{constructor(e,n){super(e),this.snapshot=n,X0(this,e)}toString(){return this.snapshot.toString()}};function X_(r){let e=N1(r),n=new Pi([new hs("",{})]),t=new Pi({}),i=new Pi({}),o=new Pi({}),s=new Pi(""),a=new vn(n,t,o,s,i,Oe,r,e.root);return a.snapshot=e.root,new Hc(new kn(a,[]),e)}function N1(r){let e={},n={},t={},i="",o=new ha([],e,t,i,n,Oe,r,null,{});return new Gc("",new kn(o,[]))}var vn=class{constructor(e,n,t,i,o,s,a,l){this.urlSubject=e,this.paramsSubject=n,this.queryParamsSubject=t,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(te(u=>u[$l]))??G(void 0),this.url=e,this.params=n,this.queryParams=t,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(te(e=>ma(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(te(e=>ma(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function $c(r,e,n="emptyOnly"){let t,{routeConfig:i}=r;return e!==null&&(n==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:z(z({},e.params),r.params),data:z(z({},e.data),r.data),resolve:z(z(z(z({},r.data),e.data),i?.data),r._resolvedData)}:t={params:z({},r.params),data:z({},r.data),resolve:z(z({},r.data),r._resolvedData??{})},i&&q_(i)&&(t.resolve[$l]=i.title),t}var ha=class{get title(){return this.data?.[$l]}constructor(e,n,t,i,o,s,a,l,u){this.url=e,this.params=n,this.queryParams=t,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ma(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ma(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${n}')`}},Gc=class extends Wc{constructor(e,n){super(n),this.url=e,X0(this,n)}toString(){return Z_(this._root)}};function X0(r,e){e.value._routerState=r,e.children.forEach(n=>X0(r,n))}function Z_(r){let e=r.children.length>0?` { ${r.children.map(Z_).join(", ")} } `:"";return`${r.value}${e}`}function y0(r){if(r.snapshot){let e=r.snapshot,n=r._futureSnapshot;r.snapshot=n,Sr(e.queryParams,n.queryParams)||r.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&r.fragmentSubject.next(n.fragment),Sr(e.params,n.params)||r.paramsSubject.next(n.params),u1(e.url,n.url)||r.urlSubject.next(n.url),Sr(e.data,n.data)||r.dataSubject.next(n.data)}else r.snapshot=r._futureSnapshot,r.dataSubject.next(r._futureSnapshot.data)}function B0(r,e){let n=Sr(r.params,e.params)&&p1(r.url,e.url),t=!r.parent!=!e.parent;return n&&!t&&(!r.parent||B0(r.parent,e.parent))}function q_(r){return typeof r.title=="string"||r.title===null}var Z0=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=Oe,this.activateEvents=new ge,this.deactivateEvents=new ge,this.attachEvents=new ge,this.detachEvents=new ge,this.parentContexts=O(Yl),this.location=O(Dn),this.changeDetector=O(Dt),this.inputBinder=O(qc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:i,previousValue:o}=t.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new rt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new rt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new rt(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){if(this.isActivated)throw new rt(4013,!1);this._activatedRoute=t;let o=this.location,a=t.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,u=new z0(t,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:u,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ye({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[$t]});let r=e;return r})(),z0=class r{__ngOutletInjector(e){return new r(this.route,this.childContexts,e)}constructor(e,n,t){this.route=e,this.childContexts=n,this.parent=t}get(e,n){return e===vn?this.route:e===Yl?this.childContexts:this.parent.get(e,n)}},qc=new q(""),O_=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:i}=t,o=wo([i.queryParams,i.params,i.data]).pipe(lt(([s,a,l],u)=>(l=z(z(z({},s),a),l),u===0?G(l):Promise.resolve(l)))).subscribe(s=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(t);return}let a=Dg(i.component);if(!a){this.unsubscribeFromRouteData(t);return}for(let{templateName:l}of a.inputs)t.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(t,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})();function L1(r,e,n){let t=Bl(r,e._root,n?n._root:void 0);return new Hc(t,e)}function Bl(r,e,n){if(n&&r.shouldReuseRoute(e.value,n.value.snapshot)){let t=n.value;t._futureSnapshot=e.value;let i=V1(r,e,n);return new kn(t,i)}else{if(r.shouldAttach(e.value)){let o=r.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Bl(r,a)),s}}let t=j1(e.value),i=e.children.map(o=>Bl(r,o));return new kn(t,i)}}function V1(r,e,n){return e.children.map(t=>{for(let i of n.children)if(r.shouldReuseRoute(t.value,i.value.snapshot))return Bl(r,t,i);return Bl(r,t)})}function j1(r){return new vn(new Pi(r.url),new Pi(r.params),new Pi(r.queryParams),new Pi(r.fragment),new Pi(r.data),r.outlet,r.component,r)}var zl=class{constructor(e,n){this.redirectTo=e,this.navigationBehaviorOptions=n}},Q_="ngNavigationCancelingError";function Yc(r,e){let{redirectTo:n,navigationBehaviorOptions:t}=ms(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=K_(!1,Pn.Redirect);return i.url=n,i.navigationBehaviorOptions=t,i}function K_(r,e){let n=new Error(`NavigationCancelingError: ${r||""}`);return n[Q_]=!0,n.cancellationCode=e,n}function B1(r){return J_(r)&&ms(r.url)}function J_(r){return!!r&&r[Q_]}var z1=(r,e,n,t)=>te(i=>(new U0(e,i.targetRouterState,i.currentRouterState,n,t).activate(r),i)),U0=class{constructor(e,n,t,i,o){this.routeReuseStrategy=e,this.futureState=n,this.currState=t,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let n=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,t,e),y0(this.futureState.root),this.activateChildRoutes(n,t,e)}deactivateChildRoutes(e,n,t){let i=ca(n);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],t),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(e,n,t){let i=e.value,o=n?n.value:null;if(i===o)if(i.component){let s=t.getContext(i.outlet);s&&this.deactivateChildRoutes(e,n,s.children)}else this.deactivateChildRoutes(e,n,t);else o&&this.deactivateRouteAndItsChildren(n,t)}deactivateRouteAndItsChildren(e,n){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){let t=n.getContext(e.value.outlet),i=t&&e.value.component?t.children:n,o=ca(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,n){let t=n.getContext(e.value.outlet),i=t&&e.value.component?t.children:n,o=ca(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,n,t){let i=ca(n);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],t),this.forwardEvent(new N0(o.value.snapshot))}),e.children.length&&this.forwardEvent(new R0(e.value.snapshot))}activateRoutes(e,n,t){let i=e.value,o=n?n.value:null;if(y0(i),i===o)if(i.component){let s=t.getOrCreateContext(i.outlet);this.activateChildRoutes(e,n,s.children)}else this.activateChildRoutes(e,n,t);else if(i.component){let s=t.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),y0(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,t)}},Xc=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},pa=class{constructor(e,n){this.component=e,this.route=n}};function U1(r,e,n){let t=r._root,i=e?e._root:null;return Il(t,i,n,[t.value])}function W1(r){let e=r.routeConfig?r.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:r,guards:e}}function Ca(r,e){let n=Symbol(),t=e.get(r,n);return t===n?typeof r=="function"&&!Zf(r)?r:e.get(r):t}function Il(r,e,n,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ca(e);return r.children.forEach(s=>{H1(s,o[s.value.outlet],n,t.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Fl(a,n.getContext(s),i)),i}function H1(r,e,n,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=r.value,s=e?e.value:null,a=n?n.getContext(r.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=$1(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Xc(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Il(r,e,a?a.children:null,t,i):Il(r,e,n,t,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new pa(a.outlet.component,s))}else s&&Fl(e,a,i),i.canActivateChecks.push(new Xc(t)),o.component?Il(r,null,a?a.children:null,t,i):Il(r,null,n,t,i);return i}function $1(r,e,n){if(typeof n=="function")return n(r,e);switch(n){case"pathParamsChange":return!ps(r.url,e.url);case"pathParamsOrQueryParamsChange":return!ps(r.url,e.url)||!Sr(r.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!B0(r,e)||!Sr(r.queryParams,e.queryParams);case"paramsChange":default:return!B0(r,e)}}function Fl(r,e,n){let t=ca(r),i=r.value;Object.entries(t).forEach(([o,s])=>{i.component?e?Fl(s,e.children.getContext(o),n):Fl(s,null,n):Fl(s,e,n)}),i.component?e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new pa(e.outlet.component,i)):n.canDeactivateChecks.push(new pa(null,i)):n.canDeactivateChecks.push(new pa(null,i))}function Xl(r){return typeof r=="function"}function G1(r){return typeof r=="boolean"}function Y1(r){return r&&Xl(r.canLoad)}function X1(r){return r&&Xl(r.canActivate)}function Z1(r){return r&&Xl(r.canActivateChild)}function q1(r){return r&&Xl(r.canDeactivate)}function Q1(r){return r&&Xl(r.canMatch)}function e6(r){return r instanceof jf||r?.name==="EmptyError"}var Rc=Symbol("INITIAL_VALUE");function va(){return lt(r=>wo(r.map(e=>e.pipe(Si(1),Fi(Rc)))).pipe(te(e=>{for(let n of e)if(n!==!0){if(n===Rc)return Rc;if(n===!1||K1(n))return n}return!0}),_t(e=>e!==Rc),Si(1)))}function K1(r){return ms(r)||r instanceof zl}function J1(r,e){return Zi(n=>{let{targetSnapshot:t,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=n;return s.length===0&&o.length===0?G(nt(z({},n),{guardsResult:!0})):ew(s,t,i,r).pipe(Zi(a=>a&&G1(a)?tw(t,o,r,e):G(a)),te(a=>nt(z({},n),{guardsResult:a})))})}function ew(r,e,n,t){return Ei(r).pipe(Zi(i=>sw(i.component,i.route,n,e,t)),Ao(i=>i!==!0,!0))}function tw(r,e,n,t){return Ei(e).pipe(Eo(i=>xo(nw(i.route.parent,t),iw(i.route,t),ow(r,i.path,n),rw(r,i.route,n))),Ao(i=>i!==!0,!0))}function iw(r,e){return r!==null&&e&&e(new F0(r)),G(!0)}function nw(r,e){return r!==null&&e&&e(new P0(r)),G(!0)}function rw(r,e,n){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return G(!0);let i=t.map(o=>rr(()=>{let s=Gl(e)??n,a=Ca(o,s),l=X1(a)?a.canActivate(e,r):Wn(s,()=>a(e,r));return Ro(l).pipe(Ao())}));return G(i).pipe(va())}function ow(r,e,n){let t=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>W1(s)).filter(s=>s!==null).map(s=>rr(()=>{let a=s.guards.map(l=>{let u=Gl(s.node)??n,c=Ca(l,u),m=Z1(c)?c.canActivateChild(t,r):Wn(u,()=>c(t,r));return Ro(m).pipe(Ao())});return G(a).pipe(va())}));return G(o).pipe(va())}function sw(r,e,n,t,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return G(!0);let s=o.map(a=>{let l=Gl(e)??i,u=Ca(a,l),c=q1(u)?u.canDeactivate(r,e,n,t):Wn(l,()=>u(r,e,n,t));return Ro(c).pipe(Ao())});return G(s).pipe(va())}function aw(r,e,n,t){let i=e.canLoad;if(i===void 0||i.length===0)return G(!0);let o=i.map(s=>{let a=Ca(s,r),l=Y1(a)?a.canLoad(e,n):Wn(r,()=>a(e,n));return Ro(l)});return G(o).pipe(va(),t6(t))}function t6(r){return Lf(tt(e=>{if(typeof e!="boolean")throw Yc(r,e)}),te(e=>e===!0))}function lw(r,e,n,t){let i=e.canMatch;if(!i||i.length===0)return G(!0);let o=i.map(s=>{let a=Ca(s,r),l=Q1(a)?a.canMatch(e,n):Wn(r,()=>a(e,n));return Ro(l)});return G(o).pipe(va(),t6(t))}var Ul=class{constructor(e){this.segmentGroup=e||null}},Wl=class extends Error{constructor(e){super(),this.urlTree=e}};function ua(r){return os(new Ul(r))}function uw(r){return os(new rt(4e3,!1))}function cw(r){return os(K_(!1,Pn.GuardRejected))}var W0=class{constructor(e,n){this.urlSerializer=e,this.urlTree=n}lineralizeSegments(e,n){let t=[],i=n.root;for(;;){if(t=t.concat(i.segments),i.numberOfChildren===0)return G(t);if(i.numberOfChildren>1||!i.children[Oe])return uw(`${e.redirectTo}`);i=i.children[Oe]}}applyRedirectCommands(e,n,t,i,o){if(typeof n!="string"){let a=n,{queryParams:l,fragment:u,routeConfig:c,url:m,outlet:g,params:_,data:C,title:y}=i,x=Wn(o,()=>a({params:_,data:C,queryParams:l,fragment:u,routeConfig:c,url:m,outlet:g,title:y}));if(x instanceof eo)throw new Wl(x);n=x}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),e,t);if(n[0]==="/")throw new Wl(s);return s}applyRedirectCreateUrlTree(e,n,t,i){let o=this.createSegmentGroup(e,n.root,t,i);return new eo(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){let t={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);t[i]=n[a]}else t[i]=o}),t}createSegmentGroup(e,n,t,i){let o=this.createSegments(e,n.segments,t,i),s={};return Object.entries(n.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,t,i)}),new st(o,s)}createSegments(e,n,t,i){return n.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,t))}findPosParam(e,n,t){let i=t[n.path.substring(1)];if(!i)throw new rt(4001,!1);return i}findOrReturn(e,n){let t=0;for(let i of n){if(i.path===e.path)return n.splice(t),i;t++}return e}},H0={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function dw(r,e,n,t,i){let o=q0(r,e,n);return o.matched?(t=R1(e,t),lw(t,e,n,i).pipe(te(s=>s===!0?o:z({},H0)))):G(o)}function q0(r,e,n){if(e.path==="**")return hw(n);if(e.path==="")return e.pathMatch==="full"&&(r.hasChildren()||n.length>0)?z({},H0):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(e.matcher||l1)(n,r,e);if(!i)return z({},H0);let o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=i.consumed.length>0?z(z({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function hw(r){return{matched:!0,parameters:r.length>0?F_(r).parameters:{},consumedSegments:r,remainingSegments:[],positionalParamSegments:{}}}function M_(r,e,n,t){return n.length>0&&fw(r,n,t)?{segmentGroup:new st(e,mw(t,new st(n,r.children))),slicedSegments:[]}:n.length===0&&gw(r,n,t)?{segmentGroup:new st(r.segments,pw(r,n,t,r.children)),slicedSegments:n}:{segmentGroup:new st(r.segments,r.children),slicedSegments:n}}function pw(r,e,n,t){let i={};for(let o of n)if(Qc(r,e,o)&&!t[lr(o)]){let s=new st([],{});i[lr(o)]=s}return z(z({},t),i)}function mw(r,e){let n={};n[Oe]=e;for(let t of r)if(t.path===""&&lr(t)!==Oe){let i=new st([],{});n[lr(t)]=i}return n}function fw(r,e,n){return n.some(t=>Qc(r,e,t)&&lr(t)!==Oe)}function gw(r,e,n){return n.some(t=>Qc(r,e,t))}function Qc(r,e,n){return(r.hasChildren()||e.length>0)&&n.pathMatch==="full"?!1:n.path===""}function _w(r,e,n,t){return lr(r)!==t&&(t===Oe||!Qc(e,n,r))?!1:q0(e,r,n).matched}function vw(r,e,n){return e.length===0&&!r.children[n]}var $0=class{};function bw(r,e,n,t,i,o,s="emptyOnly"){return new G0(r,e,n,t,i,s,o).recognize()}var Cw=31,G0=class{constructor(e,n,t,i,o,s,a){this.injector=e,this.configLoader=n,this.rootComponentType=t,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new W0(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new rt(4002,`'${e.segmentGroup}'`)}recognize(){let e=M_(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(te(({children:n,rootSnapshot:t})=>{let i=new kn(t,n),o=new Gc("",i),s=T1(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let n=new ha([],Object.freeze({}),Object.freeze(z({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),Oe,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,Oe,n).pipe(te(t=>({children:t,rootSnapshot:n})),Mt(t=>{if(t instanceof Wl)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Ul?this.noMatchError(t):t}))}processSegmentGroup(e,n,t,i,o){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,n,t,o):this.processSegment(e,n,t,t.segments,i,!0,o).pipe(te(s=>s instanceof kn?[s]:[]))}processChildren(e,n,t,i){let o=[];for(let s of Object.keys(t.children))s==="primary"?o.unshift(s):o.push(s);return Ei(o).pipe(Eo(s=>{let a=t.children[s],l=F1(n,s);return this.processSegmentGroup(e,l,a,s,i)}),$f((s,a)=>(s.push(...a),s)),$h(null),Hf(),Zi(s=>{if(s===null)return ua(t);let a=i6(s);return yw(a),G(a)}))}processSegment(e,n,t,i,o,s,a){return Ei(n).pipe(Eo(l=>this.processSegmentAgainstRoute(l._injector??e,n,l,t,i,o,s,a).pipe(Mt(u=>{if(u instanceof Ul)return G(null);throw u}))),Ao(l=>!!l),Mt(l=>{if(e6(l))return vw(t,i,o)?G(new $0):ua(t);throw l}))}processSegmentAgainstRoute(e,n,t,i,o,s,a,l){return _w(t,i,o,s)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,t,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,n,t,o,s,l):ua(i):ua(i)}expandSegmentAgainstRouteUsingRedirect(e,n,t,i,o,s,a){let{matched:l,parameters:u,consumedSegments:c,positionalParamSegments:m,remainingSegments:g}=q0(n,i,o);if(!l)return ua(n);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Cw&&(this.allowRedirects=!1));let _=new ha(o,u,Object.freeze(z({},this.urlTree.queryParams)),this.urlTree.fragment,D_(i),lr(i),i.component??i._loadedComponent??null,i,I_(i)),C=$c(_,a,this.paramsInheritanceStrategy);_.params=Object.freeze(C.params),_.data=Object.freeze(C.data);let y=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,m,_,e);return this.applyRedirects.lineralizeSegments(i,y).pipe(Zi(x=>this.processSegment(e,t,n,x.concat(g),s,!1,a)))}matchSegmentAgainstRoute(e,n,t,i,o,s){let a=dw(n,t,i,e,this.urlSerializer);return t.path==="**"&&(n.children={}),a.pipe(lt(l=>l.matched?(e=t._injector??e,this.getChildConfig(e,t,i).pipe(lt(({routes:u})=>{let c=t._loadedInjector??e,{parameters:m,consumedSegments:g,remainingSegments:_}=l,C=new ha(g,m,Object.freeze(z({},this.urlTree.queryParams)),this.urlTree.fragment,D_(t),lr(t),t.component??t._loadedComponent??null,t,I_(t)),y=$c(C,s,this.paramsInheritanceStrategy);C.params=Object.freeze(y.params),C.data=Object.freeze(y.data);let{segmentGroup:x,slicedSegments:A}=M_(n,g,_,u);if(A.length===0&&x.hasChildren())return this.processChildren(c,u,x,C).pipe(te(F=>new kn(C,F)));if(u.length===0&&A.length===0)return G(new kn(C,[]));let k=lr(t)===o;return this.processSegment(c,u,x,A,k?Oe:o,!0,C).pipe(te(F=>new kn(C,F instanceof kn?[F]:[])))}))):ua(n)))}getChildConfig(e,n,t){return n.children?G({routes:n.children,injector:e}):n.loadChildren?n._loadedRoutes!==void 0?G({routes:n._loadedRoutes,injector:n._loadedInjector}):aw(e,n,t,this.urlSerializer).pipe(Zi(i=>i?this.configLoader.loadChildren(e,n).pipe(tt(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):cw(n))):G({routes:[],injector:e})}};function yw(r){r.sort((e,n)=>e.value.outlet===Oe?-1:n.value.outlet===Oe?1:e.value.outlet.localeCompare(n.value.outlet))}function ww(r){let e=r.value.routeConfig;return e&&e.path===""}function i6(r){let e=[],n=new Set;for(let t of r){if(!ww(t)){e.push(t);continue}let i=e.find(o=>t.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...t.children),n.add(i)):e.push(t)}for(let t of n){let i=i6(t.children);e.push(new kn(t.value,i))}return e.filter(t=>!n.has(t))}function D_(r){return r.data||{}}function I_(r){return r.resolve||{}}function xw(r,e,n,t,i,o){return Zi(s=>bw(r,e,n,t,s.extractedUrl,i,o).pipe(te(({state:a,tree:l})=>nt(z({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function Ew(r,e){return Zi(n=>{let{targetSnapshot:t,guards:{canActivateChecks:i}}=n;if(!i.length)return G(n);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let u of n6(l))s.add(u);let a=0;return Ei(s).pipe(Eo(l=>o.has(l)?Sw(l,t,r,e):(l.data=$c(l,l.parent,r).resolve,G(void 0))),tt(()=>a++),Gh(1),Zi(l=>a===s.size?G(n):yr))})}function n6(r){let e=r.children.map(n=>n6(n)).flat();return[r,...e]}function Sw(r,e,n,t){let i=r.routeConfig,o=r._resolve;return i?.title!==void 0&&!q_(i)&&(o[$l]=i.title),Aw(o,r,e,t).pipe(te(s=>(r._resolvedData=s,r.data=$c(r,r.parent,n).resolve,null)))}function Aw(r,e,n,t){let i=E0(r);if(i.length===0)return G({});let o={};return Ei(i).pipe(Zi(s=>Tw(r[s],e,n,t).pipe(Ao(),tt(a=>{if(a instanceof zl)throw Yc(new fa,a);o[s]=a}))),Gh(1),Uf(o),Mt(s=>e6(s)?yr:os(s)))}function Tw(r,e,n,t){let i=Gl(e)??t,o=Ca(r,i),s=o.resolve?o.resolve(e,n):Wn(i,()=>o(e,n));return Ro(s)}function w0(r){return lt(e=>{let n=r(e);return n?Ei(n).pipe(te(()=>e)):G(e)})}var r6=(()=>{let e=class e{buildTitle(t){let i,o=t.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===Oe);return i}getResolvedTitleForRoute(t){return t.data[$l]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:()=>O(Ow),providedIn:"root"});let r=e;return r})(),Ow=(()=>{let e=class e extends r6{constructor(t){super(),this.title=t}updateTitle(t){let i=this.buildTitle(t);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(I(b_))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Zl=new q("",{providedIn:"root",factory:()=>({})}),Mw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Ae({type:e,selectors:[["ng-component"]],standalone:!0,features:[Te],decls:1,vars:0,template:function(i,o){i&1&&v(0,"router-outlet")},dependencies:[Z0],encapsulation:2});let r=e;return r})();function Q0(r){let e=r.children&&r.children.map(Q0),n=e?nt(z({},r),{children:e}):z({},r);return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==Oe&&(n.component=Mw),n}var Hl=new q(""),K0=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=O(wc)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return G(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let i=Ro(t.loadComponent()).pipe(te(o6),tt(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),So(()=>{this.componentLoaders.delete(t)})),o=new ac(i,()=>new K).pipe(zh());return this.componentLoaders.set(t,o),o}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return G({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=Dw(i,this.compiler,t,this.onLoadEndListener).pipe(So(()=>{this.childrenLoaders.delete(i)})),a=new ac(s,()=>new K).pipe(zh());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function Dw(r,e,n,t){return Ro(r.loadChildren()).pipe(te(o6),Zi(i=>i instanceof pg||Array.isArray(i)?G(i):Ei(e.compileModuleAsync(i))),te(i=>{t&&t(r);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(n).injector,s=o.get(Hl,[],{optional:!0,self:!0}).flat()),{routes:s.map(Q0),injector:o}}))}function Iw(r){return r&&typeof r=="object"&&"default"in r}function o6(r){return Iw(r)?r.default:r}var J0=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:()=>O(kw),providedIn:"root"});let r=e;return r})(),kw=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),s6=new q(""),a6=new q("");function Pw(r,e,n){let t=r.get(a6),i=r.get(ae);return r.get(ie).runOutsideAngular(()=>{if(!i.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,s=new Promise(u=>{o=u}),a=i.startViewTransition(()=>(o(),Rw(r))),{onViewTransitionCreated:l}=t;return l&&Wn(r,()=>l({transition:a,from:e,to:n})),s})}function Rw(r){return new Promise(e=>{fn({read:()=>setTimeout(e)},{injector:r})})}var Fw=new q(""),Kc=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new K,this.transitionAbortSubject=new K,this.configLoader=O(K0),this.environmentInjector=O(or),this.urlSerializer=O(ba),this.rootContexts=O(Yl),this.location=O(us),this.inputBindingEnabled=O(qc,{optional:!0})!==null,this.titleStrategy=O(r6),this.options=O(Zl,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=O(J0),this.createViewTransition=O(s6,{optional:!0}),this.navigationErrorHandler=O(Fw,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>G(void 0),this.rootComponentType=null;let t=o=>this.events.next(new I0(o)),i=o=>this.events.next(new k0(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let i=++this.navigationId;this.transitions?.next(nt(z(z({},this.transitions.value),t),{id:i}))}setupNavigations(t,i,o){return this.transitions=new Pi({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Rl,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(_t(s=>s.id!==0),te(s=>nt(z({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),lt(s=>{let a=!1,l=!1;return G(s).pipe(lt(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Pn.SupersededByNewNavigation),yr;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?nt(z({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=u.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!c&&m!=="reload"){let g="";return this.events.next(new Po(u.id,this.urlSerializer.serialize(u.rawUrl),g,Bc.IgnoredSameUrlNavigation)),u.resolve(!1),yr}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return G(u).pipe(lt(g=>{let _=this.transitions?.getValue();return this.events.next(new ga(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),_!==this.transitions?.getValue()?yr:Promise.resolve(g)}),xw(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),tt(g=>{s.targetSnapshot=g.targetSnapshot,s.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=nt(z({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let _=new zc(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(_)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:g,extractedUrl:_,source:C,restoredState:y,extras:x}=u,A=new ga(g,this.urlSerializer.serialize(_),C,y);this.events.next(A);let k=X_(this.rootComponentType).snapshot;return this.currentTransition=s=nt(z({},u),{targetSnapshot:k,urlAfterRedirects:_,extras:nt(z({},x),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=_,G(s)}else{let g="";return this.events.next(new Po(u.id,this.urlSerializer.serialize(u.extractedUrl),g,Bc.IgnoredByUrlHandlingStrategy)),u.resolve(!1),yr}}),tt(u=>{let c=new O0(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}),te(u=>(this.currentTransition=s=nt(z({},u),{guards:U1(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),J1(this.environmentInjector,u=>this.events.next(u)),tt(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw Yc(this.urlSerializer,u.guardsResult);let c=new M0(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(c)}),_t(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",Pn.GuardRejected),!1)),w0(u=>{if(u.guards.canActivateChecks.length)return G(u).pipe(tt(c=>{let m=new D0(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(m)}),lt(c=>{let m=!1;return G(c).pipe(Ew(this.paramsInheritanceStrategy,this.environmentInjector),tt({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(c,"",Pn.NoDataFromResolver)}}))}),tt(c=>{let m=new Vl(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(m)}))}),w0(u=>{let c=m=>{let g=[];m.routeConfig?.loadComponent&&!m.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(m.routeConfig).pipe(tt(_=>{m.component=_}),te(()=>{})));for(let _ of m.children)g.push(...c(_));return g};return wo(c(u.targetSnapshot.root)).pipe($h(null),Si(1))}),w0(()=>this.afterPreactivation()),lt(()=>{let{currentSnapshot:u,targetSnapshot:c}=s,m=this.createViewTransition?.(this.environmentInjector,u.root,c.root);return m?Ei(m).pipe(te(()=>s)):G(s)}),te(u=>{let c=L1(t.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=nt(z({},u),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,s}),tt(()=>{this.events.next(new jl)}),z1(this.rootContexts,t.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Si(1),tt({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ar(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),qe(this.transitionAbortSubject.pipe(tt(u=>{throw u}))),So(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",Pn.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Mt(u=>{if(l=!0,J_(u))this.events.next(new Jr(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),B1(u)?this.events.next(new _a(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let c=new Ll(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let m=Wn(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(m instanceof zl){let{message:g,cancellationCode:_}=Yc(this.urlSerializer,m);this.events.next(new Jr(s.id,this.urlSerializer.serialize(s.extractedUrl),g,_)),this.events.next(new _a(m.redirectTo,m.navigationBehaviorOptions))}else{this.events.next(c);let g=t.errorHandler(u);s.resolve(!!g)}}catch(m){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(m)}}return yr}))}))}cancelNavigationTransition(t,i,o){let s=new Jr(t.id,this.urlSerializer.serialize(t.extractedUrl),i,o);this.events.next(s),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function Nw(r){return r!==Rl}var Lw=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:()=>O(Vw),providedIn:"root"});let r=e;return r})(),Y0=class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}},Vw=(()=>{let e=class e extends Y0{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ea(e)))(o||e)}})(),e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),l6=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:()=>O(jw),providedIn:"root"});let r=e;return r})(),jw=(()=>{let e=class e extends l6{constructor(){super(...arguments),this.location=O(us),this.urlSerializer=O(ba),this.options=O(Zl,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=O(J0),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new eo,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=X_(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(i=>{i.type==="popstate"&&t(i.url,i.state)})}handleRouterEvent(t,i){if(t instanceof ga)this.stateMemento=this.createStateMemento();else if(t instanceof Po)this.rawUrlTree=i.initialUrl;else if(t instanceof zc){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??o,i)}}else t instanceof jl?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):t instanceof Jr&&(t.code===Pn.GuardRejected||t.code===Pn.NoDataFromResolver)?this.restoreHistory(i):t instanceof Ll?this.restoreHistory(i,!0):t instanceof Ar&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,i){let o=t instanceof eo?this.urlSerializer.serialize(t):t;if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=z(z({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=z(z({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(t,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&s===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ea(e)))(o||e)}})(),e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),kl=function(r){return r[r.COMPLETE=0]="COMPLETE",r[r.FAILED=1]="FAILED",r[r.REDIRECTING=2]="REDIRECTING",r}(kl||{});function u6(r,e){r.events.pipe(_t(n=>n instanceof Ar||n instanceof Jr||n instanceof Ll||n instanceof Po),te(n=>n instanceof Ar||n instanceof Po?kl.COMPLETE:(n instanceof Jr?n.code===Pn.Redirect||n.code===Pn.SupersededByNewNavigation:!1)?kl.REDIRECTING:kl.FAILED),_t(n=>n!==kl.REDIRECTING),Si(1)).subscribe(()=>{e()})}function Bw(r){throw r}var zw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Uw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Qi=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=O(oa),this.stateManager=O(l6),this.options=O(Zl,{optional:!0})||{},this.pendingTasks=O(pc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=O(Kc),this.urlSerializer=O(ba),this.location=O(us),this.urlHandlingStrategy=O(J0),this._events=new K,this.errorHandler=this.options.errorHandler||Bw,this.navigated=!1,this.routeReuseStrategy=O(Lw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=O(Hl,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!O(qc,{optional:!0}),this.eventsSubscription=new gt,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof Jr&&i.code!==Pn.Redirect&&i.code!==Pn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Ar)this.navigated=!0;else if(i instanceof _a){let a=i.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),u=z({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Nw(o.source)},a);this.scheduleNavigation(l,Rl,null,u,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Hw(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Rl,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",i)},0)})}navigateToSyncWithBrowser(t,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let u=z({},o);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let l=this.parseUrl(t);this.scheduleNavigation(l,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Q0),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:u}=i,c=u?this.currentUrlTree.fragment:a,m=null;switch(l){case"merge":m=z(z({},this.currentUrlTree.queryParams),s);break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=s||null}m!==null&&(m=this.removeEmptyProps(m));let g;try{let _=o?o.snapshot:this.routerState.snapshot.root;g=H_(_)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),g=this.currentUrlTree.root}return $_(g,t,m,c??null)}navigateByUrl(t,i={skipLocationChange:!1}){let o=ms(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Rl,null,i)}navigate(t,i={skipLocationChange:!1}){return Ww(t),this.navigateByUrl(this.createUrlTree(t,i),i)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,i){let o;if(i===!0?o=z({},zw):i===!1?o=z({},Uw):o=i,ms(t))return E_(this.currentUrlTree,t,o);let s=this.parseUrl(t);return E_(this.currentUrlTree,s,o)}removeEmptyProps(t){return Object.entries(t).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(t,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,u,c;a?(l=a.resolve,u=a.reject,c=a.promise):c=new Promise((g,_)=>{l=g,u=_});let m=this.pendingTasks.add();return u6(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:l,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(g=>Promise.reject(g))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function Ww(r){for(let e=0;e<r.length;e++)if(r[e]==null)throw new rt(4008,!1)}function Hw(r){return!(r instanceof jl)&&!(r instanceof _a)}var Tr=(()=>{let e=class e{constructor(t,i,o,s,a,l){this.router=t,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.onChanges=new K,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof Ar&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(ms(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,i,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(t!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.href=t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;let i=this.href===null?null:ug(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(t,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,t,i):o.removeAttribute(s,t)}get urlTree(){return this.routerLinkInput===null?null:ms(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(S(Qi),S(vn),ss("tabindex"),S(gl),S(de),S(vl))},e.\u0275dir=ye({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&V("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&Xe("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Pe],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Pe],replaceUrl:[2,"replaceUrl","replaceUrl",Pe],routerLink:"routerLink"},standalone:!0,features:[At,$t]});let r=e;return r})();var Zc=class{};var $w=(()=>{let e=class e{constructor(t,i,o,s,a){this.router=t,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(_t(t=>t instanceof Ar),Eo(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Jh(s.providers,t,`Route: ${s.path}`));let a=s._injector??t,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return Ei(o).pipe(Wh())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(t,i):o=G(null);let s=o.pipe(Zi(a=>a===null?G(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??t,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return Ei([s,a]).pipe(Wh())}else return s})}};e.\u0275fac=function(i){return new(i||e)(I(Qi),I(wc),I(or),I(Zc),I(K0))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),ep=new q(""),c6=(()=>{let e=class e{constructor(t,i,o,s,a={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof ga?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ar?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Po&&t.code===Bc.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Uc&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Uc(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(i){ls()},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})();function d6(r,...e){return Oo([{provide:Hl,multi:!0,useValue:r},[],{provide:vn,useFactory:h6,deps:[Qi]},{provide:_l,multi:!0,useFactory:m6},e.map(n=>n.\u0275providers)])}function h6(r){return r.routerState.root}function ya(r,e){return{\u0275kind:r,\u0275providers:e}}function p6(r={}){return ya(4,[{provide:ep,useFactory:()=>{let n=O(i0),t=O(ie),i=O(Kc),o=O(ba);return new c6(o,i,n,t,r)}}])}function m6(){let r=O(St);return e=>{let n=r.get(Zr);if(e!==n.components[0])return;let t=r.get(Qi),i=r.get(f6);r.get(tp)===1&&t.initialNavigation(),r.get(g6,null,Xh.Optional)?.setUpPreloading(),r.get(ep,null,Xh.Optional)?.init(),t.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var f6=new q("",{factory:()=>new K}),tp=new q("",{providedIn:"root",factory:()=>1});function Gw(){return ya(2,[{provide:tp,useValue:0},{provide:t0,multi:!0,deps:[St],useFactory:e=>{let n=e.get(Pg,Promise.resolve());return()=>n.then(()=>new Promise(t=>{let i=e.get(Qi),o=e.get(f6);u6(i,()=>{t(!0)}),e.get(Kc).afterPreactivation=()=>(t(!0),o.closed?G(void 0):o),i.initialNavigation()}))}}])}function Yw(){return ya(3,[{provide:t0,multi:!0,useFactory:()=>{let e=O(Qi);return()=>{e.setUpLocationChangeListener()}}},{provide:tp,useValue:2}])}var g6=new q("");function Xw(r){return ya(0,[{provide:g6,useExisting:$w},{provide:Zc,useExisting:r}])}function Zw(){return ya(8,[O_,{provide:qc,useExisting:O_}])}function qw(r){let e=[{provide:s6,useValue:Pw},{provide:a6,useValue:z({skipNextTransition:!!r?.skipInitialTransition},r)}];return ya(9,e)}var k_=new q("ROUTER_FORROOT_GUARD"),Qw=[us,{provide:ba,useClass:fa},Qi,Yl,{provide:vn,useFactory:h6,deps:[Qi]},K0,[]],Or=(()=>{let e=class e{constructor(t){}static forRoot(t,i){return{ngModule:e,providers:[Qw,[],{provide:Hl,multi:!0,useValue:t},{provide:k_,useFactory:tx,deps:[[Qi,new dl,new Zh]]},{provide:Zl,useValue:i||{}},i?.useHash?Jw():ex(),Kw(),i?.preloadingStrategy?Xw(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?ix(i):[],i?.bindToComponentInputs?Zw().\u0275providers:[],i?.enableViewTransitions?qw().\u0275providers:[],nx()]}}static forChild(t){return{ngModule:e,providers:[{provide:Hl,multi:!0,useValue:t}]}}};e.\u0275fac=function(i){return new(i||e)(I(k_,8))},e.\u0275mod=pe({type:e}),e.\u0275inj=he({});let r=e;return r})();function Kw(){return{provide:ep,useFactory:()=>{let r=O(i0),e=O(ie),n=O(Zl),t=O(Kc),i=O(ba);return n.scrollOffset&&r.setOffset(n.scrollOffset),new c6(i,t,r,e,n)}}}function Jw(){return{provide:vl,useClass:Fg}}function ex(){return{provide:vl,useClass:Rg}}function tx(r){return"guarded"}function ix(r){return[r.initialNavigation==="disabled"?Yw().\u0275providers:[],r.initialNavigation==="enabledBlocking"?Gw().\u0275providers:[]]}var P_=new q("");function nx(){return[{provide:P_,useFactory:m6},{provide:_l,multi:!0,useExisting:P_}]}function to(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function E6(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,r.__proto__=e}var wn={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},xa={duration:.5,overwrite:!1,delay:0},Cp,Li,Tt,Xn=1e8,vt=1/Xn,up=Math.PI*2,rx=up/4,ox=0,S6=Math.sqrt,sx=Math.cos,ax=Math.sin,li=function(e){return typeof e=="string"},Vt=function(e){return typeof e=="function"},no=function(e){return typeof e=="number"},ld=function(e){return typeof e>"u"},Ir=function(e){return typeof e=="object"},yn=function(e){return e!==!1},yp=function(){return typeof window<"u"},Jc=function(e){return Vt(e)||li(e)},A6=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Vi=Array.isArray,cp=/(?:-?\.?\d|\.)+/gi,wp=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,bs=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ip=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,xp=/[+-]=-?[.\d]+/,T6=/[^,'"\[\]\s]+/gi,lx=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,It,Mr,dp,Ep,Fn={},nd={},O6,M6=function(e){return(nd=vs(e,Fn))&&ji},ud=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},iu=function(e,n){return!n&&console.warn(e)},D6=function(e,n){return e&&(Fn[e]=n)&&nd&&(nd[e]=n)||Fn},nu=function(){return 0},ux={suppressEvents:!0,isStart:!0,kill:!1},ed={suppressEvents:!0,kill:!1},cx={suppressEvents:!0},Sp={},No=[],hp={},I6,bn={},np={},_6=30,td=[],Ap="",Tp=function(e){var n=e[0],t,i;if(Ir(n)||Vt(n)||(e=[e]),!(t=(n._gsap||{}).harness)){for(i=td.length;i--&&!td[i].targetTest(n););t=td[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Dp(e[i],t)))||e.splice(i,1);return e},Lo=function(e){return e._gsap||Tp(Zn(e))[0]._gsap},Op=function(e,n,t){return(t=e[n])&&Vt(t)?e[n]():ld(t)&&e.getAttribute&&e.getAttribute(n)||t},Ki=function(e,n){return(e=e.split(",")).forEach(n)||e},jt=function(e){return Math.round(e*1e5)/1e5||0},gi=function(e){return Math.round(e*1e7)/1e7||0},Cs=function(e,n){var t=n.charAt(0),i=parseFloat(n.substr(2));return e=parseFloat(e),t==="+"?e+i:t==="-"?e-i:t==="*"?e*i:e/i},dx=function(e,n){for(var t=n.length,i=0;e.indexOf(n[i])<0&&++i<t;);return i<t},rd=function(){var e=No.length,n=No.slice(0),t,i;for(hp={},No.length=0,t=0;t<e;t++)i=n[t],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},k6=function(e,n,t,i){No.length&&!Li&&rd(),e.render(n,t,i||Li&&n<0&&(e._initted||e._startAt)),No.length&&!Li&&rd()},P6=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(T6).length<2?n:li(e)?e.trim():e},R6=function(e){return e},qn=function(e,n){for(var t in n)t in e||(e[t]=n[t]);return e},hx=function(e){return function(n,t){for(var i in t)i in n||i==="duration"&&e||i==="ease"||(n[i]=t[i])}},vs=function(e,n){for(var t in n)e[t]=n[t];return e},v6=function r(e,n){for(var t in n)t!=="__proto__"&&t!=="constructor"&&t!=="prototype"&&(e[t]=Ir(n[t])?r(e[t]||(e[t]={}),n[t]):n[t]);return e},od=function(e,n){var t={},i;for(i in e)i in n||(t[i]=e[i]);return t},Jl=function(e){var n=e.parent||It,t=e.keyframes?hx(Vi(e.keyframes)):qn;if(yn(e.inherit))for(;n;)t(e,n.vars.defaults),n=n.parent||n._dp;return e},px=function(e,n){for(var t=e.length,i=t===n.length;i&&t--&&e[t]===n[t];);return t<0},F6=function(e,n,t,i,o){t===void 0&&(t="_first"),i===void 0&&(i="_last");var s=e[i],a;if(o)for(a=n[o];s&&s[o]>a;)s=s._prev;return s?(n._next=s._next,s._next=n):(n._next=e[t],e[t]=n),n._next?n._next._prev=n:e[i]=n,n._prev=s,n.parent=n._dp=e,n},cd=function(e,n,t,i){t===void 0&&(t="_first"),i===void 0&&(i="_last");var o=n._prev,s=n._next;o?o._next=s:e[t]===n&&(e[t]=s),s?s._prev=o:e[i]===n&&(e[i]=o),n._next=n._prev=n.parent=null},Vo=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},fs=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var t=e;t;)t._dirty=1,t=t.parent;return e},mx=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},pp=function(e,n,t,i){return e._startAt&&(Li?e._startAt.revert(ed):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},fx=function r(e){return!e||e._ts&&r(e.parent)},b6=function(e){return e._repeat?Ea(e._tTime,e=e.duration()+e._rDelay)*e:0},Ea=function(e,n){var t=Math.floor(e/=n);return e&&t===e?t-1:t},sd=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},dd=function(e){return e._end=gi(e._start+(e._tDur/Math.abs(e._ts||e._rts||vt)||0))},hd=function(e,n){var t=e._dp;return t&&t.smoothChildTiming&&e._ts&&(e._start=gi(t._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),dd(e),t._dirty||fs(t,e)),e},N6=function(e,n){var t;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(t=sd(e.rawTime(),n),(!n._dur||su(0,n.totalDuration(),t)-n._tTime>vt)&&n.render(t,!0)),fs(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(t=e;t._dp;)t.rawTime()>=0&&t.totalTime(t._tTime),t=t._dp;e._zTime=-vt}},Dr=function(e,n,t,i){return n.parent&&Vo(n),n._start=gi((no(t)?t:t||e!==It?Yn(e,t,n):e._time)+n._delay),n._end=gi(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),F6(e,n,"_first","_last",e._sort?"_start":0),mp(n)||(e._recent=n),i||N6(e,n),e._ts<0&&hd(e,e._tTime),e},L6=function(e,n){return(Fn.ScrollTrigger||ud("scrollTrigger",n))&&Fn.ScrollTrigger.create(n,e)},V6=function(e,n,t,i,o){if(Pp(e,n,o),!e._initted)return 1;if(!t&&e._pt&&!Li&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&I6!==Cn.frame)return No.push(e),e._lazy=[o,i],1},gx=function r(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||r(n))},mp=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},_x=function(e,n,t,i){var o=e.ratio,s=n<0||!n&&(!e._start&&gx(e)&&!(!e._initted&&mp(e))||(e._ts<0||e._dp._ts<0)&&!mp(e))?0:1,a=e._rDelay,l=0,u,c,m;if(a&&e._repeat&&(l=su(0,e._tDur,n),c=Ea(l,a),e._yoyo&&c&1&&(s=1-s),c!==Ea(e._tTime,a)&&(o=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==o||Li||i||e._zTime===vt||!n&&e._zTime){if(!e._initted&&V6(e,n,i,t,l))return;for(m=e._zTime,e._zTime=n||(t?vt:0),t||(t=n&&!m),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=l,u=e._pt;u;)u.r(s,u.d),u=u._next;n<0&&pp(e,n,t,!0),e._onUpdate&&!t&&Rn(e,"onUpdate"),l&&e._repeat&&!t&&e.parent&&Rn(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===s&&(s&&Vo(e,1),!t&&!Li&&(Rn(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},vx=function(e,n,t){var i;if(t>n)for(i=e._first;i&&i._start<=t;){if(i.data==="isPause"&&i._start>n)return i;i=i._next}else for(i=e._last;i&&i._start>=t;){if(i.data==="isPause"&&i._start<n)return i;i=i._prev}},Sa=function(e,n,t,i){var o=e._repeat,s=gi(n)||0,a=e._tTime/e._tDur;return a&&!i&&(e._time*=s/e._dur),e._dur=s,e._tDur=o?o<0?1e10:gi(s*(o+1)+e._rDelay*o):s,a>0&&!i&&hd(e,e._tTime=e._tDur*a),e.parent&&dd(e),t||fs(e.parent,e),e},C6=function(e){return e instanceof Ai?fs(e):Sa(e,e._dur)},bx={_start:0,endTime:nu,totalDuration:nu},Yn=function r(e,n,t){var i=e.labels,o=e._recent||bx,s=e.duration()>=Xn?o.endTime(!1):e._dur,a,l,u;return li(n)&&(isNaN(n)||n in i)?(l=n.charAt(0),u=n.substr(-1)==="%",a=n.indexOf("="),l==="<"||l===">"?(a>=0&&(n=n.replace(/=/,"")),(l==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(n.substr(1))||0)*(u?(a<0?o:t).totalDuration()/100:1)):a<0?(n in i||(i[n]=s),i[n]):(l=parseFloat(n.charAt(a-1)+n.substr(a+1)),u&&t&&(l=l/100*(Vi(t)?t[0]:t).totalDuration()),a>1?r(e,n.substr(0,a-1),t)+l:s+l)):n==null?s:+n},eu=function(e,n,t){var i=no(n[1]),o=(i?2:1)+(e<2?0:1),s=n[o],a,l;if(i&&(s.duration=n[1]),s.parent=t,e){for(a=s,l=t;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=yn(l.vars.inherit)&&l.parent;s.immediateRender=yn(a.immediateRender),e<2?s.runBackwards=1:s.startAt=n[o-1]}return new Yt(n[0],s,n[o+1])},jo=function(e,n){return e||e===0?n(e):n},su=function(e,n,t){return t<e?e:t>n?n:t},Ti=function(e,n){return!li(e)||!(n=lx.exec(e))?"":n[1]},Cx=function(e,n,t){return jo(t,function(i){return su(e,n,i)})},fp=[].slice,j6=function(e,n){return e&&Ir(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&Ir(e[0]))&&!e.nodeType&&e!==Mr},yx=function(e,n,t){return t===void 0&&(t=[]),e.forEach(function(i){var o;return li(i)&&!n||j6(i,1)?(o=t).push.apply(o,Zn(i)):t.push(i)})||t},Zn=function(e,n,t){return Tt&&!n&&Tt.selector?Tt.selector(e):li(e)&&!t&&(dp||!Aa())?fp.call((n||Ep).querySelectorAll(e),0):Vi(e)?yx(e,t):j6(e)?fp.call(e,0):e?[e]:[]},gp=function(e){return e=Zn(e)[0]||iu("Invalid scope")||{},function(n){var t=e.current||e.nativeElement||e;return Zn(n,t.querySelectorAll?t:t===e?iu("Invalid scope")||Ep.createElement("div"):e)}},B6=function(e){return e.sort(function(){return .5-Math.random()})},z6=function(e){if(Vt(e))return e;var n=Ir(e)?e:{each:e},t=gs(n.ease),i=n.from||0,o=parseFloat(n.base)||0,s={},a=i>0&&i<1,l=isNaN(i)||a,u=n.axis,c=i,m=i;return li(i)?c=m={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(c=i[0],m=i[1]),function(g,_,C){var y=(C||n).length,x=s[y],A,k,F,M,L,j,R,W,B;if(!x){if(B=n.grid==="auto"?0:(n.grid||[1,Xn])[1],!B){for(R=-Xn;R<(R=C[B++].getBoundingClientRect().left)&&B<y;);B<y&&B--}for(x=s[y]=[],A=l?Math.min(B,y)*c-.5:i%B,k=B===Xn?0:l?y*m/B-.5:i/B|0,R=0,W=Xn,j=0;j<y;j++)F=j%B-A,M=k-(j/B|0),x[j]=L=u?Math.abs(u==="y"?M:F):S6(F*F+M*M),L>R&&(R=L),L<W&&(W=L);i==="random"&&B6(x),x.max=R-W,x.min=W,x.v=y=(parseFloat(n.amount)||parseFloat(n.each)*(B>y?y-1:u?u==="y"?y/B:B:Math.max(B,y/B))||0)*(i==="edges"?-1:1),x.b=y<0?o-y:o,x.u=Ti(n.amount||n.each)||0,t=t&&y<0?q6(t):t}return y=(x[g]-x.min)/x.max||0,gi(x.b+(t?t(y):y)*x.v)+x.u}},_p=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(t){var i=gi(Math.round(parseFloat(t)/e)*e*n);return(i-i%1)/n+(no(t)?0:Ti(t))}},U6=function(e,n){var t=Vi(e),i,o;return!t&&Ir(e)&&(i=t=e.radius||Xn,e.values?(e=Zn(e.values),(o=!no(e[0]))&&(i*=i)):e=_p(e.increment)),jo(n,t?Vt(e)?function(s){return o=e(s),Math.abs(o-s)<=i?o:s}:function(s){for(var a=parseFloat(o?s.x:s),l=parseFloat(o?s.y:0),u=Xn,c=0,m=e.length,g,_;m--;)o?(g=e[m].x-a,_=e[m].y-l,g=g*g+_*_):g=Math.abs(e[m]-a),g<u&&(u=g,c=m);return c=!i||u<=i?e[c]:s,o||c===s||no(s)?c:c+Ti(s)}:_p(e))},W6=function(e,n,t,i){return jo(Vi(e)?!n:t===!0?!!(t=0):!i,function(){return Vi(e)?e[~~(Math.random()*e.length)]:(t=t||1e-5)&&(i=t<1?Math.pow(10,(t+"").length-2):1)&&Math.floor(Math.round((e-t/2+Math.random()*(n-e+t*.99))/t)*t*i)/i})},wx=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return function(i){return n.reduce(function(o,s){return s(o)},i)}},xx=function(e,n){return function(t){return e(parseFloat(t))+(n||Ti(t))}},Ex=function(e,n,t){return $6(e,n,0,1,t)},H6=function(e,n,t){return jo(t,function(i){return e[~~n(i)]})},Sx=function r(e,n,t){var i=n-e;return Vi(e)?H6(e,r(0,e.length),n):jo(t,function(o){return(i+(o-e)%i)%i+e})},Ax=function r(e,n,t){var i=n-e,o=i*2;return Vi(e)?H6(e,r(0,e.length-1),n):jo(t,function(s){return s=(o+(s-e)%o)%o||0,e+(s>i?o-s:s)})},Ta=function(e){for(var n=0,t="",i,o,s,a;~(i=e.indexOf("random(",n));)s=e.indexOf(")",i),a=e.charAt(i+7)==="[",o=e.substr(i+7,s-i-7).match(a?T6:cp),t+=e.substr(n,i-n)+W6(a?o:+o[0],a?0:+o[1],+o[2]||1e-5),n=s+1;return t+e.substr(n,e.length-n)},$6=function(e,n,t,i,o){var s=n-e,a=i-t;return jo(o,function(l){return t+((l-e)/s*a||0)})},Tx=function r(e,n,t,i){var o=isNaN(e+n)?0:function(_){return(1-_)*e+_*n};if(!o){var s=li(e),a={},l,u,c,m,g;if(t===!0&&(i=1)&&(t=null),s)e={p:e},n={p:n};else if(Vi(e)&&!Vi(n)){for(c=[],m=e.length,g=m-2,u=1;u<m;u++)c.push(r(e[u-1],e[u]));m--,o=function(C){C*=m;var y=Math.min(g,~~C);return c[y](C-y)},t=n}else i||(e=vs(Vi(e)?[]:{},e));if(!c){for(l in n)Ip.call(a,e,l,"get",n[l]);o=function(C){return Np(C,a)||(s?e.p:e)}}}return jo(t,o)},y6=function(e,n,t){var i=e.labels,o=Xn,s,a,l;for(s in i)a=i[s]-n,a<0==!!t&&a&&o>(a=Math.abs(a))&&(l=s,o=a);return l},Rn=function(e,n,t){var i=e.vars,o=i[n],s=Tt,a=e._ctx,l,u,c;if(o)return l=i[n+"Params"],u=i.callbackScope||e,t&&No.length&&rd(),a&&(Tt=a),c=l?o.apply(u,l):o.call(u),Tt=s,c},Ql=function(e){return Vo(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Li),e.progress()<1&&Rn(e,"onInterrupt"),e},wa,G6=[],Y6=function(e){if(e)if(e=!e.name&&e.default||e,yp()||e.headless){var n=e.name,t=Vt(e),i=n&&!t&&e.init?function(){this._props=[]}:e,o={init:nu,render:Np,add:Ip,kill:Wx,modifier:Ux,rawVars:0},s={targetTest:0,get:0,getSetter:pd,aliases:{},register:0};if(Aa(),e!==i){if(bn[n])return;qn(i,qn(od(e,o),s)),vs(i.prototype,vs(o,od(e,s))),bn[i.prop=n]=i,e.targetTest&&(td.push(i),Sp[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}D6(n,i),e.register&&e.register(ji,i,Ji)}else G6.push(e)},pt=255,Kl={aqua:[0,pt,pt],lime:[0,pt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,pt],navy:[0,0,128],white:[pt,pt,pt],olive:[128,128,0],yellow:[pt,pt,0],orange:[pt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[pt,0,0],pink:[pt,192,203],cyan:[0,pt,pt],transparent:[pt,pt,pt,0]},rp=function(e,n,t){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(t-n)*e*6:e<.5?t:e*3<2?n+(t-n)*(2/3-e)*6:n)*pt+.5|0},X6=function(e,n,t){var i=e?no(e)?[e>>16,e>>8&pt,e&pt]:0:Kl.black,o,s,a,l,u,c,m,g,_,C;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Kl[e])i=Kl[e];else if(e.charAt(0)==="#"){if(e.length<6&&(o=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+o+o+s+s+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&pt,i&pt,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&pt,e&pt]}else if(e.substr(0,3)==="hsl"){if(i=C=e.match(cp),!n)l=+i[0]%360/360,u=+i[1]/100,c=+i[2]/100,s=c<=.5?c*(u+1):c+u-c*u,o=c*2-s,i.length>3&&(i[3]*=1),i[0]=rp(l+1/3,o,s),i[1]=rp(l,o,s),i[2]=rp(l-1/3,o,s);else if(~e.indexOf("="))return i=e.match(wp),t&&i.length<4&&(i[3]=1),i}else i=e.match(cp)||Kl.transparent;i=i.map(Number)}return n&&!C&&(o=i[0]/pt,s=i[1]/pt,a=i[2]/pt,m=Math.max(o,s,a),g=Math.min(o,s,a),c=(m+g)/2,m===g?l=u=0:(_=m-g,u=c>.5?_/(2-m-g):_/(m+g),l=m===o?(s-a)/_+(s<a?6:0):m===s?(a-o)/_+2:(o-s)/_+4,l*=60),i[0]=~~(l+.5),i[1]=~~(u*100+.5),i[2]=~~(c*100+.5)),t&&i.length<4&&(i[3]=1),i},Z6=function(e){var n=[],t=[],i=-1;return e.split(io).forEach(function(o){var s=o.match(bs)||[];n.push.apply(n,s),t.push(i+=s.length+1)}),n.c=t,n},w6=function(e,n,t){var i="",o=(e+i).match(io),s=n?"hsla(":"rgba(",a=0,l,u,c,m;if(!o)return e;if(o=o.map(function(g){return(g=X6(g,n,1))&&s+(n?g[0]+","+g[1]+"%,"+g[2]+"%,"+g[3]:g.join(","))+")"}),t&&(c=Z6(e),l=t.c,l.join(i)!==c.c.join(i)))for(u=e.replace(io,"1").split(bs),m=u.length-1;a<m;a++)i+=u[a]+(~l.indexOf(a)?o.shift()||s+"0,0,0,0)":(c.length?c:o.length?o:t).shift());if(!u)for(u=e.split(io),m=u.length-1;a<m;a++)i+=u[a]+o[a];return i+u[m]},io=function(){var r="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Kl)r+="|"+e+"\\b";return new RegExp(r+")","gi")}(),Ox=/hsl[a]?\(/,Mp=function(e){var n=e.join(" "),t;if(io.lastIndex=0,io.test(n))return t=Ox.test(n),e[1]=w6(e[1],t),e[0]=w6(e[0],t,Z6(e[1])),!0},ru,Cn=function(){var r=Date.now,e=500,n=33,t=r(),i=t,o=1e3/240,s=o,a=[],l,u,c,m,g,_,C=function y(x){var A=r()-i,k=x===!0,F,M,L,j;if((A>e||A<0)&&(t+=A-n),i+=A,L=i-t,F=L-s,(F>0||k)&&(j=++m.frame,g=L-m.time*1e3,m.time=L=L/1e3,s+=F+(F>=o?4:o-F),M=1),k||(l=u(y)),M)for(_=0;_<a.length;_++)a[_](L,g,j,x)};return m={time:0,frame:0,tick:function(){C(!0)},deltaRatio:function(x){return g/(1e3/(x||60))},wake:function(){O6&&(!dp&&yp()&&(Mr=dp=window,Ep=Mr.document||{},Fn.gsap=ji,(Mr.gsapVersions||(Mr.gsapVersions=[])).push(ji.version),M6(nd||Mr.GreenSockGlobals||!Mr.gsap&&Mr||{}),G6.forEach(Y6)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&m.sleep(),u=c||function(x){return setTimeout(x,s-m.time*1e3+1|0)},ru=1,C(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),ru=0,u=nu},lagSmoothing:function(x,A){e=x||1/0,n=Math.min(A||33,e)},fps:function(x){o=1e3/(x||240),s=m.time*1e3+o},add:function(x,A,k){var F=A?function(M,L,j,R){x(M,L,j,R),m.remove(F)}:x;return m.remove(x),a[k?"unshift":"push"](F),Aa(),F},remove:function(x,A){~(A=a.indexOf(x))&&a.splice(A,1)&&_>=A&&_--},_listeners:a},m}(),Aa=function(){return!ru&&Cn.wake()},Ge={},Mx=/^[\d.\-M][\d.\-,\s]/,Dx=/["']/g,Ix=function(e){for(var n={},t=e.substr(1,e.length-3).split(":"),i=t[0],o=1,s=t.length,a,l,u;o<s;o++)l=t[o],a=o!==s-1?l.lastIndexOf(","):l.length,u=l.substr(0,a),n[i]=isNaN(u)?u.replace(Dx,"").trim():+u,i=l.substr(a+1).trim();return n},kx=function(e){var n=e.indexOf("(")+1,t=e.indexOf(")"),i=e.indexOf("(",n);return e.substring(n,~i&&i<t?e.indexOf(")",t+1):t)},Px=function(e){var n=(e+"").split("("),t=Ge[n[0]];return t&&n.length>1&&t.config?t.config.apply(null,~e.indexOf("{")?[Ix(n[1])]:kx(e).split(",").map(P6)):Ge._CE&&Mx.test(e)?Ge._CE("",e):t},q6=function(e){return function(n){return 1-e(1-n)}},Q6=function r(e,n){for(var t=e._first,i;t;)t instanceof Ai?r(t,n):t.vars.yoyoEase&&(!t._yoyo||!t._repeat)&&t._yoyo!==n&&(t.timeline?r(t.timeline,n):(i=t._ease,t._ease=t._yEase,t._yEase=i,t._yoyo=n)),t=t._next},gs=function(e,n){return e&&(Vt(e)?e:Ge[e]||Px(e))||n},ys=function(e,n,t,i){t===void 0&&(t=function(l){return 1-n(1-l)}),i===void 0&&(i=function(l){return l<.5?n(l*2)/2:1-n((1-l)*2)/2});var o={easeIn:n,easeOut:t,easeInOut:i},s;return Ki(e,function(a){Ge[a]=Fn[a]=o,Ge[s=a.toLowerCase()]=t;for(var l in o)Ge[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=Ge[a+"."+l]=o[l]}),o},K6=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},op=function r(e,n,t){var i=n>=1?n:1,o=(t||(e?.3:.45))/(n<1?n:1),s=o/up*(Math.asin(1/i)||0),a=function(c){return c===1?1:i*Math.pow(2,-10*c)*ax((c-s)*o)+1},l=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:K6(a);return o=up/o,l.config=function(u,c){return r(e,u,c)},l},sp=function r(e,n){n===void 0&&(n=1.70158);var t=function(s){return s?--s*s*((n+1)*s+n)+1:0},i=e==="out"?t:e==="in"?function(o){return 1-t(1-o)}:K6(t);return i.config=function(o){return r(e,o)},i};Ki("Linear,Quad,Cubic,Quart,Quint,Strong",function(r,e){var n=e<5?e+1:e;ys(r+",Power"+(n-1),e?function(t){return Math.pow(t,n)}:function(t){return t},function(t){return 1-Math.pow(1-t,n)},function(t){return t<.5?Math.pow(t*2,n)/2:1-Math.pow((1-t)*2,n)/2})});Ge.Linear.easeNone=Ge.none=Ge.Linear.easeIn;ys("Elastic",op("in"),op("out"),op());(function(r,e){var n=1/e,t=2*n,i=2.5*n,o=function(a){return a<n?r*a*a:a<t?r*Math.pow(a-1.5/e,2)+.75:a<i?r*(a-=2.25/e)*a+.9375:r*Math.pow(a-2.625/e,2)+.984375};ys("Bounce",function(s){return 1-o(1-s)},o)})(7.5625,2.75);ys("Expo",function(r){return r?Math.pow(2,10*(r-1)):0});ys("Circ",function(r){return-(S6(1-r*r)-1)});ys("Sine",function(r){return r===1?1:-sx(r*rx)+1});ys("Back",sp("in"),sp("out"),sp());Ge.SteppedEase=Ge.steps=Fn.SteppedEase={config:function(e,n){e===void 0&&(e=1);var t=1/e,i=e+(n?0:1),o=n?1:0,s=1-vt;return function(a){return((i*su(0,s,a)|0)+o)*t}}};xa.ease=Ge["quad.out"];Ki("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(r){return Ap+=r+","+r+"Params,"});var Dp=function(e,n){this.id=ox++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Op,this.set=n?n.getSetter:pd},ou=function(){function r(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,Sa(this,+n.duration,1,1),this.data=n.data,Tt&&(this._ctx=Tt,Tt.data.push(this)),ru||Cn.wake()}var e=r.prototype;return e.delay=function(t){return t||t===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Sa(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,i){if(Aa(),!arguments.length)return this._tTime;var o=this._dp;if(o&&o.smoothChildTiming&&this._ts){for(hd(this,t),!o._dp||o.parent||N6(o,this);o&&o.parent;)o.parent._time!==o._start+(o._ts>=0?o._tTime/o._ts:(o.totalDuration()-o._tTime)/-o._ts)&&o.totalTime(o._tTime,!0),o=o.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&Dr(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===vt||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),k6(this,t,i)),this},e.time=function(t,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+b6(this))%(this._dur+this._rDelay)||(t?this._dur:0),i):this._time},e.totalProgress=function(t,i){return arguments.length?this.totalTime(this.totalDuration()*t,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(t,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-t:t)+b6(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,i){var o=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*o,i):this._repeat?Ea(this._tTime,o)+1:1},e.timeScale=function(t,i){if(!arguments.length)return this._rts===-vt?0:this._rts;if(this._rts===t)return this;var o=this.parent&&this._ts?sd(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-vt?0:this._rts,this.totalTime(su(-Math.abs(this._delay),this._tDur,o),i!==!1),dd(this),mx(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Aa(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==vt&&(this._tTime-=vt)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Dr(i,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(yn(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var i=this.parent||this._dp;return i?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?sd(i.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){t===void 0&&(t=cx);var i=Li;return Li=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),this.data!=="nested"&&t.kill!==!1&&this.kill(),Li=i,this},e.globalTime=function(t){for(var i=this,o=arguments.length?t:i.rawTime();i;)o=i._start+o/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(t):o},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,C6(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var i=this._time;return this._rDelay=t,C6(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,i){return this.totalTime(Yn(this,t),yn(i))},e.restart=function(t,i){return this.play().totalTime(t?-this._delay:0,yn(i))},e.play=function(t,i){return t!=null&&this.seek(t,i),this.reversed(!1).paused(!1)},e.reverse=function(t,i){return t!=null&&this.seek(t||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(t,i){return t!=null&&this.seek(t,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-vt:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-vt,this},e.isActive=function(){var t=this.parent||this._dp,i=this._start,o;return!!(!t||this._ts&&this._initted&&t.isActive()&&(o=t.rawTime(!0))>=i&&o<this.endTime(!0)-vt)},e.eventCallback=function(t,i,o){var s=this.vars;return arguments.length>1?(i?(s[t]=i,o&&(s[t+"Params"]=o),t==="onUpdate"&&(this._onUpdate=i)):delete s[t],this):s[t]},e.then=function(t){var i=this;return new Promise(function(o){var s=Vt(t)?t:R6,a=function(){var u=i.then;i.then=null,Vt(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=u),o(s),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},e.kill=function(){Ql(this)},r}();qn(ou.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-vt,_prom:0,_ps:!1,_rts:1});var Ai=function(r){E6(e,r);function e(t,i){var o;return t===void 0&&(t={}),o=r.call(this,t)||this,o.labels={},o.smoothChildTiming=!!t.smoothChildTiming,o.autoRemoveChildren=!!t.autoRemoveChildren,o._sort=yn(t.sortChildren),It&&Dr(t.parent||It,to(o),i),t.reversed&&o.reverse(),t.paused&&o.paused(!0),t.scrollTrigger&&L6(to(o),t.scrollTrigger),o}var n=e.prototype;return n.to=function(i,o,s){return eu(0,arguments,this),this},n.from=function(i,o,s){return eu(1,arguments,this),this},n.fromTo=function(i,o,s,a){return eu(2,arguments,this),this},n.set=function(i,o,s){return o.duration=0,o.parent=this,Jl(o).repeatDelay||(o.repeat=0),o.immediateRender=!!o.immediateRender,new Yt(i,o,Yn(this,s),1),this},n.call=function(i,o,s){return Dr(this,Yt.delayedCall(0,i,o),s)},n.staggerTo=function(i,o,s,a,l,u,c){return s.duration=o,s.stagger=s.stagger||a,s.onComplete=u,s.onCompleteParams=c,s.parent=this,new Yt(i,s,Yn(this,l)),this},n.staggerFrom=function(i,o,s,a,l,u,c){return s.runBackwards=1,Jl(s).immediateRender=yn(s.immediateRender),this.staggerTo(i,o,s,a,l,u,c)},n.staggerFromTo=function(i,o,s,a,l,u,c,m){return a.startAt=s,Jl(a).immediateRender=yn(a.immediateRender),this.staggerTo(i,o,a,l,u,c,m)},n.render=function(i,o,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=i<=0?0:gi(i),m=this._zTime<0!=i<0&&(this._initted||!u),g,_,C,y,x,A,k,F,M,L,j,R;if(this!==It&&c>l&&i>=0&&(c=l),c!==this._tTime||s||m){if(a!==this._time&&u&&(c+=this._time-a,i+=this._time-a),g=c,M=this._start,F=this._ts,A=!F,m&&(u||(a=this._zTime),(i||!o)&&(this._zTime=i)),this._repeat){if(j=this._yoyo,x=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(x*100+i,o,s);if(g=gi(c%x),c===l?(y=this._repeat,g=u):(y=~~(c/x),y&&y===c/x&&(g=u,y--),g>u&&(g=u)),L=Ea(this._tTime,x),!a&&this._tTime&&L!==y&&this._tTime-L*x-this._dur<=0&&(L=y),j&&y&1&&(g=u-g,R=1),y!==L&&!this._lock){var W=j&&L&1,B=W===(j&&y&1);if(y<L&&(W=!W),a=W?0:c%u?u:c,this._lock=1,this.render(a||(R?0:gi(y*x)),o,!u)._lock=0,this._tTime=c,!o&&this.parent&&Rn(this,"onRepeat"),this.vars.repeatRefresh&&!R&&(this.invalidate()._lock=1),a&&a!==this._time||A!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,B&&(this._lock=2,a=W?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!R&&this.invalidate()),this._lock=0,!this._ts&&!A)return this;Q6(this,R)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(k=vx(this,gi(a),gi(g)),k&&(c-=g-(g=k._start))),this._tTime=c,this._time=g,this._act=!F,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&g&&!o&&!y&&(Rn(this,"onStart"),this._tTime!==c))return this;if(g>=a&&i>=0)for(_=this._first;_;){if(C=_._next,(_._act||g>=_._start)&&_._ts&&k!==_){if(_.parent!==this)return this.render(i,o,s);if(_.render(_._ts>0?(g-_._start)*_._ts:(_._dirty?_.totalDuration():_._tDur)+(g-_._start)*_._ts,o,s),g!==this._time||!this._ts&&!A){k=0,C&&(c+=this._zTime=-vt);break}}_=C}else{_=this._last;for(var H=i<0?i:g;_;){if(C=_._prev,(_._act||H<=_._end)&&_._ts&&k!==_){if(_.parent!==this)return this.render(i,o,s);if(_.render(_._ts>0?(H-_._start)*_._ts:(_._dirty?_.totalDuration():_._tDur)+(H-_._start)*_._ts,o,s||Li&&(_._initted||_._startAt)),g!==this._time||!this._ts&&!A){k=0,C&&(c+=this._zTime=H?-vt:vt);break}}_=C}}if(k&&!o&&(this.pause(),k.render(g>=a?0:-vt)._zTime=g>=a?1:-1,this._ts))return this._start=M,dd(this),this.render(i,o,s);this._onUpdate&&!o&&Rn(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&a)&&(M===this._start||Math.abs(F)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&Vo(this,1),!o&&!(i<0&&!a)&&(c||a||!l)&&(Rn(this,c===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(i,o){var s=this;if(no(o)||(o=Yn(this,o,i)),!(i instanceof ou)){if(Vi(i))return i.forEach(function(a){return s.add(a,o)}),this;if(li(i))return this.addLabel(i,o);if(Vt(i))i=Yt.delayedCall(0,i);else return this}return this!==i?Dr(this,i,o):this},n.getChildren=function(i,o,s,a){i===void 0&&(i=!0),o===void 0&&(o=!0),s===void 0&&(s=!0),a===void 0&&(a=-Xn);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof Yt?o&&l.push(u):(s&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,o,s)))),u=u._next;return l},n.getById=function(i){for(var o=this.getChildren(1,1,1),s=o.length;s--;)if(o[s].vars.id===i)return o[s]},n.remove=function(i){return li(i)?this.removeLabel(i):Vt(i)?this.killTweensOf(i):(cd(this,i),i===this._recent&&(this._recent=this._last),fs(this))},n.totalTime=function(i,o){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=gi(Cn.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),r.prototype.totalTime.call(this,i,o),this._forcing=0,this):this._tTime},n.addLabel=function(i,o){return this.labels[i]=Yn(this,o),this},n.removeLabel=function(i){return delete this.labels[i],this},n.addPause=function(i,o,s){var a=Yt.delayedCall(0,o||nu,s);return a.data="isPause",this._hasPause=1,Dr(this,a,Yn(this,i))},n.removePause=function(i){var o=this._first;for(i=Yn(this,i);o;)o._start===i&&o.data==="isPause"&&Vo(o),o=o._next},n.killTweensOf=function(i,o,s){for(var a=this.getTweensOf(i,s),l=a.length;l--;)Fo!==a[l]&&a[l].kill(i,o);return this},n.getTweensOf=function(i,o){for(var s=[],a=Zn(i),l=this._first,u=no(o),c;l;)l instanceof Yt?dx(l._targets,a)&&(u?(!Fo||l._initted&&l._ts)&&l.globalTime(0)<=o&&l.globalTime(l.totalDuration())>o:!o||l.isActive())&&s.push(l):(c=l.getTweensOf(a,o)).length&&s.push.apply(s,c),l=l._next;return s},n.tweenTo=function(i,o){o=o||{};var s=this,a=Yn(s,i),l=o,u=l.startAt,c=l.onStart,m=l.onStartParams,g=l.immediateRender,_,C=Yt.to(s,qn({ease:o.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:o.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale())||vt,onStart:function(){if(s.pause(),!_){var x=o.duration||Math.abs((a-(u&&"time"in u?u.time:s._time))/s.timeScale());C._dur!==x&&Sa(C,x,0,1).render(C._time,!0,!0),_=1}c&&c.apply(C,m||[])}},o));return g?C.render(0):C},n.tweenFromTo=function(i,o,s){return this.tweenTo(o,qn({startAt:{time:Yn(this,i)}},s))},n.recent=function(){return this._recent},n.nextLabel=function(i){return i===void 0&&(i=this._time),y6(this,Yn(this,i))},n.previousLabel=function(i){return i===void 0&&(i=this._time),y6(this,Yn(this,i),1)},n.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+vt)},n.shiftChildren=function(i,o,s){s===void 0&&(s=0);for(var a=this._first,l=this.labels,u;a;)a._start>=s&&(a._start+=i,a._end+=i),a=a._next;if(o)for(u in l)l[u]>=s&&(l[u]+=i);return fs(this)},n.invalidate=function(i){var o=this._first;for(this._lock=0;o;)o.invalidate(i),o=o._next;return r.prototype.invalidate.call(this,i)},n.clear=function(i){i===void 0&&(i=!0);for(var o=this._first,s;o;)s=o._next,this.remove(o),o=s;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),fs(this)},n.totalDuration=function(i){var o=0,s=this,a=s._last,l=Xn,u,c,m;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(m=s.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,Dr(s,a,c-a._delay,1)._lock=0):l=c,c<0&&a._ts&&(o-=c,(!m&&!s._dp||m&&m.smoothChildTiming)&&(s._start+=c/s._ts,s._time-=c,s._tTime-=c),s.shiftChildren(-c,!1,-1/0),l=0),a._end>o&&a._ts&&(o=a._end),a=u;Sa(s,s===It&&s._time>o?s._time:o,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(i){if(It._ts&&(k6(It,sd(i,It)),I6=Cn.frame),Cn.frame>=_6){_6+=wn.autoSleep||120;var o=It._first;if((!o||!o._ts)&&wn.autoSleep&&Cn._listeners.length<2){for(;o&&!o._ts;)o=o._next;o||Cn.sleep()}}},e}(ou);qn(Ai.prototype,{_lock:0,_hasPause:0,_forcing:0});var Rx=function(e,n,t,i,o,s,a){var l=new Ji(this._pt,e,n,0,1,Fp,null,o),u=0,c=0,m,g,_,C,y,x,A,k;for(l.b=t,l.e=i,t+="",i+="",(A=~i.indexOf("random("))&&(i=Ta(i)),s&&(k=[t,i],s(k,e,n),t=k[0],i=k[1]),g=t.match(ip)||[];m=ip.exec(i);)C=m[0],y=i.substring(u,m.index),_?_=(_+1)%5:y.substr(-5)==="rgba("&&(_=1),C!==g[c++]&&(x=parseFloat(g[c-1])||0,l._pt={_next:l._pt,p:y||c===1?y:",",s:x,c:C.charAt(1)==="="?Cs(x,C)-x:parseFloat(C)-x,m:_&&_<4?Math.round:0},u=ip.lastIndex);return l.c=u<i.length?i.substring(u,i.length):"",l.fp=a,(xp.test(i)||A)&&(l.e=0),this._pt=l,l},Ip=function(e,n,t,i,o,s,a,l,u,c){Vt(i)&&(i=i(o||0,e,s));var m=e[n],g=t!=="get"?t:Vt(m)?u?e[n.indexOf("set")||!Vt(e["get"+n.substr(3)])?n:"get"+n.substr(3)](u):e[n]():m,_=Vt(m)?u?jx:tv:Rp,C;if(li(i)&&(~i.indexOf("random(")&&(i=Ta(i)),i.charAt(1)==="="&&(C=Cs(g,i)+(Ti(g)||0),(C||C===0)&&(i=C))),!c||g!==i||vp)return!isNaN(g*i)&&i!==""?(C=new Ji(this._pt,e,n,+g||0,i-(g||0),typeof m=="boolean"?zx:iv,0,_),u&&(C.fp=u),a&&C.modifier(a,this,e),this._pt=C):(!m&&!(n in e)&&ud(n,i),Rx.call(this,e,n,g,i,_,l||wn.stringFilter,u))},Fx=function(e,n,t,i,o){if(Vt(e)&&(e=tu(e,o,n,t,i)),!Ir(e)||e.style&&e.nodeType||Vi(e)||A6(e))return li(e)?tu(e,o,n,t,i):e;var s={},a;for(a in e)s[a]=tu(e[a],o,n,t,i);return s},kp=function(e,n,t,i,o,s){var a,l,u,c;if(bn[e]&&(a=new bn[e]).init(o,a.rawVars?n[e]:Fx(n[e],i,o,s,t),t,i,s)!==!1&&(t._pt=l=new Ji(t._pt,o,e,0,1,a.render,a,0,a.priority),t!==wa))for(u=t._ptLookup[t._targets.indexOf(o)],c=a._props.length;c--;)u[a._props[c]]=l;return a},Fo,vp,Pp=function r(e,n,t){var i=e.vars,o=i.ease,s=i.startAt,a=i.immediateRender,l=i.lazy,u=i.onUpdate,c=i.runBackwards,m=i.yoyoEase,g=i.keyframes,_=i.autoRevert,C=e._dur,y=e._startAt,x=e._targets,A=e.parent,k=A&&A.data==="nested"?A.vars.targets:x,F=e._overwrite==="auto"&&!Cp,M=e.timeline,L,j,R,W,B,H,be,J,Se,De,je,Ie,fe;if(M&&(!g||!o)&&(o="none"),e._ease=gs(o,xa.ease),e._yEase=m?q6(gs(m===!0?o:m,xa.ease)):0,m&&e._yoyo&&!e._repeat&&(m=e._yEase,e._yEase=e._ease,e._ease=m),e._from=!M&&!!i.runBackwards,!M||g&&!i.stagger){if(J=x[0]?Lo(x[0]).harness:0,Ie=J&&i[J.prop],L=od(i,Sp),y&&(y._zTime<0&&y.progress(1),n<0&&c&&a&&!_?y.render(-1,!0):y.revert(c&&C?ed:ux),y._lazy=0),s){if(Vo(e._startAt=Yt.set(x,qn({data:"isStart",overwrite:!1,parent:A,immediateRender:!0,lazy:!y&&yn(l),startAt:null,delay:0,onUpdate:u&&function(){return Rn(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Li||!a&&!_)&&e._startAt.revert(ed),a&&C&&n<=0&&t<=0){n&&(e._zTime=n);return}}else if(c&&C&&!y){if(n&&(a=!1),R=qn({overwrite:!1,data:"isFromStart",lazy:a&&!y&&yn(l),immediateRender:a,stagger:0,parent:A},L),Ie&&(R[J.prop]=Ie),Vo(e._startAt=Yt.set(x,R)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Li?e._startAt.revert(ed):e._startAt.render(-1,!0)),e._zTime=n,!a)r(e._startAt,vt,vt);else if(!n)return}for(e._pt=e._ptCache=0,l=C&&yn(l)||l&&!C,j=0;j<x.length;j++){if(B=x[j],be=B._gsap||Tp(x)[j]._gsap,e._ptLookup[j]=De={},hp[be.id]&&No.length&&rd(),je=k===x?j:k.indexOf(B),J&&(Se=new J).init(B,Ie||L,e,je,k)!==!1&&(e._pt=W=new Ji(e._pt,B,Se.name,0,1,Se.render,Se,0,Se.priority),Se._props.forEach(function($e){De[$e]=W}),Se.priority&&(H=1)),!J||Ie)for(R in L)bn[R]&&(Se=kp(R,L,e,je,B,k))?Se.priority&&(H=1):De[R]=W=Ip.call(e,B,R,"get",L[R],je,k,0,i.stringFilter);e._op&&e._op[j]&&e.kill(B,e._op[j]),F&&e._pt&&(Fo=e,It.killTweensOf(B,De,e.globalTime(n)),fe=!e.parent,Fo=0),e._pt&&l&&(hp[be.id]=1)}H&&Lp(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!fe,g&&n<=0&&M.render(Xn,!0,!0)},Nx=function(e,n,t,i,o,s,a,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[n],c,m,g,_;if(!u)for(u=e._ptCache[n]=[],g=e._ptLookup,_=e._targets.length;_--;){if(c=g[_][n],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==n&&c.fp!==n;)c=c._next;if(!c)return vp=1,e.vars[n]="+=0",Pp(e,a),vp=0,l?iu(n+" not eligible for reset"):1;u.push(c)}for(_=u.length;_--;)m=u[_],c=m._pt||m,c.s=(i||i===0)&&!o?i:c.s+(i||0)+s*c.c,c.c=t-c.s,m.e&&(m.e=jt(t)+Ti(m.e)),m.b&&(m.b=c.s+Ti(m.b))},Lx=function(e,n){var t=e[0]?Lo(e[0]).harness:0,i=t&&t.aliases,o,s,a,l;if(!i)return n;o=vs({},n);for(s in i)if(s in o)for(l=i[s].split(","),a=l.length;a--;)o[l[a]]=o[s];return o},Vx=function(e,n,t,i){var o=n.ease||i||"power1.inOut",s,a;if(Vi(n))a=t[e]||(t[e]=[]),n.forEach(function(l,u){return a.push({t:u/(n.length-1)*100,v:l,e:o})});else for(s in n)a=t[s]||(t[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:n[s],e:o})},tu=function(e,n,t,i,o){return Vt(e)?e.call(n,t,i,o):li(e)&&~e.indexOf("random(")?Ta(e):e},J6=Ap+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",ev={};Ki(J6+",id,stagger,delay,duration,paused,scrollTrigger",function(r){return ev[r]=1});var Yt=function(r){E6(e,r);function e(t,i,o,s){var a;typeof i=="number"&&(o.duration=i,i=o,o=null),a=r.call(this,s?i:Jl(i))||this;var l=a.vars,u=l.duration,c=l.delay,m=l.immediateRender,g=l.stagger,_=l.overwrite,C=l.keyframes,y=l.defaults,x=l.scrollTrigger,A=l.yoyoEase,k=i.parent||It,F=(Vi(t)||A6(t)?no(t[0]):"length"in i)?[t]:Zn(t),M,L,j,R,W,B,H,be;if(a._targets=F.length?Tp(F):iu("GSAP target "+t+" not found. https://gsap.com",!wn.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=_,C||g||Jc(u)||Jc(c)){if(i=a.vars,M=a.timeline=new Ai({data:"nested",defaults:y||{},targets:k&&k.data==="nested"?k.vars.targets:F}),M.kill(),M.parent=M._dp=to(a),M._start=0,g||Jc(u)||Jc(c)){if(R=F.length,H=g&&z6(g),Ir(g))for(W in g)~J6.indexOf(W)&&(be||(be={}),be[W]=g[W]);for(L=0;L<R;L++)j=od(i,ev),j.stagger=0,A&&(j.yoyoEase=A),be&&vs(j,be),B=F[L],j.duration=+tu(u,to(a),L,B,F),j.delay=(+tu(c,to(a),L,B,F)||0)-a._delay,!g&&R===1&&j.delay&&(a._delay=c=j.delay,a._start+=c,j.delay=0),M.to(B,j,H?H(L,B,F):0),M._ease=Ge.none;M.duration()?u=c=0:a.timeline=0}else if(C){Jl(qn(M.vars.defaults,{ease:"none"})),M._ease=gs(C.ease||i.ease||"none");var J=0,Se,De,je;if(Vi(C))C.forEach(function(Ie){return M.to(F,Ie,">")}),M.duration();else{j={};for(W in C)W==="ease"||W==="easeEach"||Vx(W,C[W],j,C.easeEach);for(W in j)for(Se=j[W].sort(function(Ie,fe){return Ie.t-fe.t}),J=0,L=0;L<Se.length;L++)De=Se[L],je={ease:De.e,duration:(De.t-(L?Se[L-1].t:0))/100*u},je[W]=De.v,M.to(F,je,J),J+=je.duration;M.duration()<u&&M.to({},{duration:u-M.duration()})}}u||a.duration(u=M.duration())}else a.timeline=0;return _===!0&&!Cp&&(Fo=to(a),It.killTweensOf(F),Fo=0),Dr(k,to(a),o),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(m||!u&&!C&&a._start===gi(k._time)&&yn(m)&&fx(to(a))&&k.data!=="nested")&&(a._tTime=-vt,a.render(Math.max(0,-c)||0)),x&&L6(to(a),x),a}var n=e.prototype;return n.render=function(i,o,s){var a=this._time,l=this._tDur,u=this._dur,c=i<0,m=i>l-vt&&!c?l:i<vt?0:i,g,_,C,y,x,A,k,F,M;if(!u)_x(this,i,o,s);else if(m!==this._tTime||!i||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c){if(g=m,F=this.timeline,this._repeat){if(y=u+this._rDelay,this._repeat<-1&&c)return this.totalTime(y*100+i,o,s);if(g=gi(m%y),m===l?(C=this._repeat,g=u):(C=~~(m/y),C&&C===gi(m/y)&&(g=u,C--),g>u&&(g=u)),A=this._yoyo&&C&1,A&&(M=this._yEase,g=u-g),x=Ea(this._tTime,y),g===a&&!s&&this._initted&&C===x)return this._tTime=m,this;C!==x&&(F&&this._yEase&&Q6(F,A),this.vars.repeatRefresh&&!A&&!this._lock&&this._time!==y&&this._initted&&(this._lock=s=1,this.render(gi(y*C),!0).invalidate()._lock=0))}if(!this._initted){if(V6(this,c?i:g,s,o,m))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&C!==x))return this;if(u!==this._dur)return this.render(i,o,s)}if(this._tTime=m,this._time=g,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=k=(M||this._ease)(g/u),this._from&&(this.ratio=k=1-k),g&&!a&&!o&&!C&&(Rn(this,"onStart"),this._tTime!==m))return this;for(_=this._pt;_;)_.r(k,_.d),_=_._next;F&&F.render(i<0?i:F._dur*F._ease(g/this._dur),o,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!o&&(c&&pp(this,i,o,s),Rn(this,"onUpdate")),this._repeat&&C!==x&&this.vars.onRepeat&&!o&&this.parent&&Rn(this,"onRepeat"),(m===this._tDur||!m)&&this._tTime===m&&(c&&!this._onUpdate&&pp(this,i,!0,!0),(i||!u)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&Vo(this,1),!o&&!(c&&!a)&&(m||a||A)&&(Rn(this,m===l?"onComplete":"onReverseComplete",!0),this._prom&&!(m<l&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),r.prototype.invalidate.call(this,i)},n.resetTo=function(i,o,s,a,l){ru||Cn.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||Pp(this,u),c=this._ease(u/this._dur),Nx(this,i,o,s,a,c,u,l)?this.resetTo(i,o,s,a,1):(hd(this,0),this.parent||F6(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(i,o){if(o===void 0&&(o="all"),!i&&(!o||o==="all"))return this._lazy=this._pt=0,this.parent?Ql(this):this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,o,Fo&&Fo.vars.overwrite!==!0)._first||Ql(this),this.parent&&s!==this.timeline.totalDuration()&&Sa(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=i?Zn(i):a,u=this._ptLookup,c=this._pt,m,g,_,C,y,x,A;if((!o||o==="all")&&px(a,l))return o==="all"&&(this._pt=0),Ql(this);for(m=this._op=this._op||[],o!=="all"&&(li(o)&&(y={},Ki(o,function(k){return y[k]=1}),o=y),o=Lx(a,o)),A=a.length;A--;)if(~l.indexOf(a[A])){g=u[A],o==="all"?(m[A]=o,C=g,_={}):(_=m[A]=m[A]||{},C=o);for(y in C)x=g&&g[y],x&&((!("kill"in x.d)||x.d.kill(y)===!0)&&cd(this,x,"_pt"),delete g[y]),_!=="all"&&(_[y]=1)}return this._initted&&!this._pt&&c&&Ql(this),this},e.to=function(i,o){return new e(i,o,arguments[2])},e.from=function(i,o){return eu(1,arguments)},e.delayedCall=function(i,o,s,a){return new e(o,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:o,onReverseComplete:o,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(i,o,s){return eu(2,arguments)},e.set=function(i,o){return o.duration=0,o.repeatDelay||(o.repeat=0),new e(i,o)},e.killTweensOf=function(i,o,s){return It.killTweensOf(i,o,s)},e}(ou);qn(Yt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Ki("staggerTo,staggerFrom,staggerFromTo",function(r){Yt[r]=function(){var e=new Ai,n=fp.call(arguments,0);return n.splice(r==="staggerFromTo"?5:4,0,0),e[r].apply(e,n)}});var Rp=function(e,n,t){return e[n]=t},tv=function(e,n,t){return e[n](t)},jx=function(e,n,t,i){return e[n](i.fp,t)},Bx=function(e,n,t){return e.setAttribute(n,t)},pd=function(e,n){return Vt(e[n])?tv:ld(e[n])&&e.setAttribute?Bx:Rp},iv=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},zx=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},Fp=function(e,n){var t=n._pt,i="";if(!e&&n.b)i=n.b;else if(e===1&&n.e)i=n.e;else{for(;t;)i=t.p+(t.m?t.m(t.s+t.c*e):Math.round((t.s+t.c*e)*1e4)/1e4)+i,t=t._next;i+=n.c}n.set(n.t,n.p,i,n)},Np=function(e,n){for(var t=n._pt;t;)t.r(e,t.d),t=t._next},Ux=function(e,n,t,i){for(var o=this._pt,s;o;)s=o._next,o.p===i&&o.modifier(e,n,t),o=s},Wx=function(e){for(var n=this._pt,t,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?cd(this,n,"_pt"):n.dep||(t=1),n=i;return!t},Hx=function(e,n,t,i){i.mSet(e,n,i.m.call(i.tween,t,i.mt),i)},Lp=function(e){for(var n=e._pt,t,i,o,s;n;){for(t=n._next,i=o;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:s)?n._prev._next=n:o=n,(n._next=i)?i._prev=n:s=n,n=t}e._pt=o},Ji=function(){function r(n,t,i,o,s,a,l,u,c){this.t=t,this.s=o,this.c=s,this.p=i,this.r=a||iv,this.d=l||this,this.set=u||Rp,this.pr=c||0,this._next=n,n&&(n._prev=this)}var e=r.prototype;return e.modifier=function(t,i,o){this.mSet=this.mSet||this.set,this.set=Hx,this.m=t,this.mt=o,this.tween=i},r}();Ki(Ap+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(r){return Sp[r]=1});Fn.TweenMax=Fn.TweenLite=Yt;Fn.TimelineLite=Fn.TimelineMax=Ai;It=new Ai({sortChildren:!1,defaults:xa,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});wn.stringFilter=Mp;var _s=[],id={},$x=[],x6=0,Gx=0,ap=function(e){return(id[e]||$x).map(function(n){return n()})},bp=function(){var e=Date.now(),n=[];e-x6>2&&(ap("matchMediaInit"),_s.forEach(function(t){var i=t.queries,o=t.conditions,s,a,l,u;for(a in i)s=Mr.matchMedia(i[a]).matches,s&&(l=1),s!==o[a]&&(o[a]=s,u=1);u&&(t.revert(),l&&n.push(t))}),ap("matchMediaRevert"),n.forEach(function(t){return t.onMatch(t,function(i){return t.add(null,i)})}),x6=e,ap("matchMedia"))},nv=function(){function r(n,t){this.selector=t&&gp(t),this.data=[],this._r=[],this.isReverted=!1,this.id=Gx++,n&&this.add(n)}var e=r.prototype;return e.add=function(t,i,o){Vt(t)&&(o=i,i=t,t=Vt);var s=this,a=function(){var u=Tt,c=s.selector,m;return u&&u!==s&&u.data.push(s),o&&(s.selector=gp(o)),Tt=s,m=i.apply(s,arguments),Vt(m)&&s._r.push(m),Tt=u,s.selector=c,s.isReverted=!1,m};return s.last=a,t===Vt?a(s,function(l){return s.add(null,l)}):t?s[t]=a:a},e.ignore=function(t){var i=Tt;Tt=null,t(this),Tt=i},e.getTweens=function(){var t=[];return this.data.forEach(function(i){return i instanceof r?t.push.apply(t,i.getTweens()):i instanceof Yt&&!(i.parent&&i.parent.data==="nested")&&t.push(i)}),t},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,i){var o=this;if(t?function(){for(var a=o.getTweens(),l=o.data.length,u;l--;)u=o.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return a.splice(a.indexOf(c),1)}));for(a.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,m){return m.g-c.g||-1/0}).forEach(function(c){return c.t.revert(t)}),l=o.data.length;l--;)u=o.data[l],u instanceof Ai?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Yt)&&u.revert&&u.revert(t);o._r.forEach(function(c){return c(t,o)}),o.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var s=_s.length;s--;)_s[s].id===this.id&&_s.splice(s,1)},e.revert=function(t){this.kill(t||{})},r}(),Yx=function(){function r(n){this.contexts=[],this.scope=n,Tt&&Tt.data.push(this)}var e=r.prototype;return e.add=function(t,i,o){Ir(t)||(t={matches:t});var s=new nv(0,o||this.scope),a=s.conditions={},l,u,c;Tt&&!s.selector&&(s.selector=Tt.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=t;for(u in t)u==="all"?c=1:(l=Mr.matchMedia(t[u]),l&&(_s.indexOf(s)<0&&_s.push(s),(a[u]=l.matches)&&(c=1),l.addListener?l.addListener(bp):l.addEventListener("change",bp)));return c&&i(s,function(m){return s.add(null,m)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(i){return i.kill(t,!0)})},r}(),ad={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];n.forEach(function(i){return Y6(i)})},timeline:function(e){return new Ai(e)},getTweensOf:function(e,n){return It.getTweensOf(e,n)},getProperty:function(e,n,t,i){li(e)&&(e=Zn(e)[0]);var o=Lo(e||{}).get,s=t?R6:P6;return t==="native"&&(t=""),e&&(n?s((bn[n]&&bn[n].get||o)(e,n,t,i)):function(a,l,u){return s((bn[a]&&bn[a].get||o)(e,a,l,u))})},quickSetter:function(e,n,t){if(e=Zn(e),e.length>1){var i=e.map(function(c){return ji.quickSetter(c,n,t)}),o=i.length;return function(c){for(var m=o;m--;)i[m](c)}}e=e[0]||{};var s=bn[n],a=Lo(e),l=a.harness&&(a.harness.aliases||{})[n]||n,u=s?function(c){var m=new s;wa._pt=0,m.init(e,t?c+t:c,wa,0,[e]),m.render(1,m),wa._pt&&Np(1,wa)}:a.set(e,l);return s?u:function(c){return u(e,l,t?c+t:c,a,1)}},quickTo:function(e,n,t){var i,o=ji.to(e,vs((i={},i[n]="+=0.1",i.paused=!0,i),t||{})),s=function(l,u,c){return o.resetTo(n,l,u,c)};return s.tween=o,s},isTweening:function(e){return It.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=gs(e.ease,xa.ease)),v6(xa,e||{})},config:function(e){return v6(wn,e||{})},registerEffect:function(e){var n=e.name,t=e.effect,i=e.plugins,o=e.defaults,s=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!bn[a]&&!Fn[a]&&iu(n+" effect requires "+a+" plugin.")}),np[n]=function(a,l,u){return t(Zn(a),qn(l||{},o),u)},s&&(Ai.prototype[n]=function(a,l,u){return this.add(np[n](a,Ir(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,n){Ge[e]=gs(n)},parseEase:function(e,n){return arguments.length?gs(e,n):Ge},getById:function(e){return It.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var t=new Ai(e),i,o;for(t.smoothChildTiming=yn(e.smoothChildTiming),It.remove(t),t._dp=0,t._time=t._tTime=It._time,i=It._first;i;)o=i._next,(n||!(!i._dur&&i instanceof Yt&&i.vars.onComplete===i._targets[0]))&&Dr(t,i,i._start-i._delay),i=o;return Dr(It,t,0),t},context:function(e,n){return e?new nv(e,n):Tt},matchMedia:function(e){return new Yx(e)},matchMediaRefresh:function(){return _s.forEach(function(e){var n=e.conditions,t,i;for(i in n)n[i]&&(n[i]=!1,t=1);t&&e.revert()})||bp()},addEventListener:function(e,n){var t=id[e]||(id[e]=[]);~t.indexOf(n)||t.push(n)},removeEventListener:function(e,n){var t=id[e],i=t&&t.indexOf(n);i>=0&&t.splice(i,1)},utils:{wrap:Sx,wrapYoyo:Ax,distribute:z6,random:W6,snap:U6,normalize:Ex,getUnit:Ti,clamp:Cx,splitColor:X6,toArray:Zn,selector:gp,mapRange:$6,pipe:wx,unitize:xx,interpolate:Tx,shuffle:B6},install:M6,effects:np,ticker:Cn,updateRoot:Ai.updateRoot,plugins:bn,globalTimeline:It,core:{PropTween:Ji,globals:D6,Tween:Yt,Timeline:Ai,Animation:ou,getCache:Lo,_removeLinkedListItem:cd,reverting:function(){return Li},context:function(e){return e&&Tt&&(Tt.data.push(e),e._ctx=Tt),Tt},suppressOverwrites:function(e){return Cp=e}}};Ki("to,from,fromTo,delayedCall,set,killTweensOf",function(r){return ad[r]=Yt[r]});Cn.add(Ai.updateRoot);wa=ad.to({},{duration:0});var Xx=function(e,n){for(var t=e._pt;t&&t.p!==n&&t.op!==n&&t.fp!==n;)t=t._next;return t},Zx=function(e,n){var t=e._targets,i,o,s;for(i in n)for(o=t.length;o--;)s=e._ptLookup[o][i],s&&(s=s.d)&&(s._pt&&(s=Xx(s,i)),s&&s.modifier&&s.modifier(n[i],e,t[o],i))},lp=function(e,n){return{name:e,rawVars:1,init:function(i,o,s){s._onInit=function(a){var l,u;if(li(o)&&(l={},Ki(o,function(c){return l[c]=1}),o=l),n){l={};for(u in o)l[u]=n(o[u]);o=l}Zx(a,o)}}}},ji=ad.registerPlugin({name:"attr",init:function(e,n,t,i,o){var s,a,l;this.tween=t;for(s in n)l=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(l||0)+"",n[s],i,o,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(e,n){for(var t=n._pt;t;)Li?t.set(t.t,t.p,t.b,t):t.r(e,t.d),t=t._next}},{name:"endArray",init:function(e,n){for(var t=n.length;t--;)this.add(e,t,e[t]||0,n[t],0,0,0,0,0,1)}},lp("roundProps",_p),lp("modifiers"),lp("snap",U6))||ad;Yt.version=Ai.version=ji.version="3.12.5";O6=1;yp()&&Aa();var qx=Ge.Power0,Qx=Ge.Power1,Kx=Ge.Power2,Jx=Ge.Power3,e4=Ge.Power4,t4=Ge.Linear,i4=Ge.Quad,n4=Ge.Cubic,r4=Ge.Quart,o4=Ge.Quint,s4=Ge.Strong,a4=Ge.Elastic,l4=Ge.Back,u4=Ge.SteppedEase,c4=Ge.Bounce,d4=Ge.Sine,h4=Ge.Expo,p4=Ge.Circ;var rv,Bo,Ma,Hp,Ss,m4,ov,$p,f4=function(){return typeof window<"u"},oo={},Es=180/Math.PI,Da=Math.PI/180,Oa=Math.atan2,sv=1e8,Gp=/([A-Z])/g,g4=/(left|right|width|margin|padding|x)/i,_4=/[\s,\(]\S/,kr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Bp=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},v4=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},b4=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},C4=function(e,n){var t=n.s+n.c*e;n.set(n.t,n.p,~~(t+(t<0?-.5:.5))+n.u,n)},pv=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},mv=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},y4=function(e,n,t){return e.style[n]=t},w4=function(e,n,t){return e.style.setProperty(n,t)},x4=function(e,n,t){return e._gsap[n]=t},E4=function(e,n,t){return e._gsap.scaleX=e._gsap.scaleY=t},S4=function(e,n,t,i,o){var s=e._gsap;s.scaleX=s.scaleY=t,s.renderTransform(o,s)},A4=function(e,n,t,i,o){var s=e._gsap;s[n]=t,s.renderTransform(o,s)},kt="transform",xn=kt+"Origin",T4=function r(e,n){var t=this,i=this.target,o=i.style,s=i._gsap;if(e in oo&&o){if(this.tfm=this.tfm||{},e!=="transform")e=kr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return t.tfm[a]=ro(i,a)}):this.tfm[e]=s.x?s[e]:ro(i,e),e===xn&&(this.tfm.zOrigin=s.zOrigin);else return kr.transform.split(",").forEach(function(a){return r.call(t,a,n)});if(this.props.indexOf(kt)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(xn,n,"")),e=kt}(o||n)&&this.props.push(e,n,o[e])},fv=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},O4=function(){var e=this.props,n=this.target,t=n.style,i=n._gsap,o,s;for(o=0;o<e.length;o+=3)e[o+1]?n[e[o]]=e[o+2]:e[o+2]?t[e[o]]=e[o+2]:t.removeProperty(e[o].substr(0,2)==="--"?e[o]:e[o].replace(Gp,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)i[s]=this.tfm[s];i.svg&&(i.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),o=$p(),(!o||!o.isStart)&&!t[kt]&&(fv(t),i.zOrigin&&t[xn]&&(t[xn]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},gv=function(e,n){var t={target:e,props:[],revert:O4,save:T4};return e._gsap||ji.core.getCache(e),n&&n.split(",").forEach(function(i){return t.save(i)}),t},_v,zp=function(e,n){var t=Bo.createElementNS?Bo.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Bo.createElement(e);return t&&t.style?t:Bo.createElement(e)},Pr=function r(e,n,t){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(Gp,"-$1").toLowerCase())||i.getPropertyValue(n)||!t&&r(e,Ia(n)||n,1)||""},av="O,Moz,ms,Ms,Webkit".split(","),Ia=function(e,n,t){var i=n||Ss,o=i.style,s=5;if(e in o&&!t)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(av[s]+e in o););return s<0?null:(s===3?"ms":s>=0?av[s]:"")+e},Up=function(){f4()&&window.document&&(rv=window,Bo=rv.document,Ma=Bo.documentElement,Ss=zp("div")||{style:{}},m4=zp("div"),kt=Ia(kt),xn=kt+"Origin",Ss.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",_v=!!Ia("perspective"),$p=ji.core.reverting,Hp=1)},Vp=function r(e){var n=zp("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),t=this.parentNode,i=this.nextSibling,o=this.style.cssText,s;if(Ma.appendChild(n),n.appendChild(this),this.style.display="block",e)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=r}catch{}else this._gsapBBox&&(s=this._gsapBBox());return t&&(i?t.insertBefore(this,i):t.appendChild(this)),Ma.removeChild(n),this.style.cssText=o,s},lv=function(e,n){for(var t=n.length;t--;)if(e.hasAttribute(n[t]))return e.getAttribute(n[t])},vv=function(e){var n;try{n=e.getBBox()}catch{n=Vp.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===Vp||(n=Vp.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+lv(e,["x","cx","x1"])||0,y:+lv(e,["y","cy","y1"])||0,width:0,height:0}:n},bv=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&vv(e))},As=function(e,n){if(n){var t=e.style,i;n in oo&&n!==xn&&(n=kt),t.removeProperty?(i=n.substr(0,2),(i==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),t.removeProperty(i==="--"?n:n.replace(Gp,"-$1").toLowerCase())):t.removeAttribute(n)}},zo=function(e,n,t,i,o,s){var a=new Ji(e._pt,n,t,0,1,s?mv:pv);return e._pt=a,a.b=i,a.e=o,e._props.push(t),a},uv={deg:1,rad:1,turn:1},M4={grid:1,flex:1},Uo=function r(e,n,t,i){var o=parseFloat(t)||0,s=(t+"").trim().substr((o+"").length)||"px",a=Ss.style,l=g4.test(n),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),m=100,g=i==="px",_=i==="%",C,y,x,A;if(i===s||!o||uv[i]||uv[s])return o;if(s!=="px"&&!g&&(o=r(e,n,t,"px")),A=e.getCTM&&bv(e),(_||s==="%")&&(oo[n]||~n.indexOf("adius")))return C=A?e.getBBox()[l?"width":"height"]:e[c],jt(_?o/C*m:o/100*C);if(a[l?"width":"height"]=m+(g?s:i),y=~n.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,A&&(y=(e.ownerSVGElement||{}).parentNode),(!y||y===Bo||!y.appendChild)&&(y=Bo.body),x=y._gsap,x&&_&&x.width&&l&&x.time===Cn.time&&!x.uncache)return jt(o/x.width*m);if(_&&(n==="height"||n==="width")){var k=e.style[n];e.style[n]=m+i,C=e[c],k?e.style[n]=k:As(e,n)}else(_||s==="%")&&!M4[Pr(y,"display")]&&(a.position=Pr(e,"position")),y===e&&(a.position="static"),y.appendChild(Ss),C=Ss[c],y.removeChild(Ss),a.position="absolute";return l&&_&&(x=Lo(y),x.time=Cn.time,x.width=y[c]),jt(g?C*o/m:C&&o?m/C*o:0)},ro=function(e,n,t,i){var o;return Hp||Up(),n in kr&&n!=="transform"&&(n=kr[n],~n.indexOf(",")&&(n=n.split(",")[0])),oo[n]&&n!=="transform"?(o=uu(e,i),o=n!=="transformOrigin"?o[n]:o.svg?o.origin:fd(Pr(e,xn))+" "+o.zOrigin+"px"):(o=e.style[n],(!o||o==="auto"||i||~(o+"").indexOf("calc("))&&(o=md[n]&&md[n](e,n,t)||Pr(e,n)||Op(e,n)||(n==="opacity"?1:0))),t&&!~(o+"").trim().indexOf(" ")?Uo(e,n,o,t)+t:o},D4=function(e,n,t,i){if(!t||t==="none"){var o=Ia(n,e,1),s=o&&Pr(e,o,1);s&&s!==t?(n=o,t=s):n==="borderColor"&&(t=Pr(e,"borderTopColor"))}var a=new Ji(this._pt,e.style,n,0,1,Fp),l=0,u=0,c,m,g,_,C,y,x,A,k,F,M,L;if(a.b=t,a.e=i,t+="",i+="",i==="auto"&&(y=e.style[n],e.style[n]=i,i=Pr(e,n)||i,y?e.style[n]=y:As(e,n)),c=[t,i],Mp(c),t=c[0],i=c[1],g=t.match(bs)||[],L=i.match(bs)||[],L.length){for(;m=bs.exec(i);)x=m[0],k=i.substring(l,m.index),C?C=(C+1)%5:(k.substr(-5)==="rgba("||k.substr(-5)==="hsla(")&&(C=1),x!==(y=g[u++]||"")&&(_=parseFloat(y)||0,M=y.substr((_+"").length),x.charAt(1)==="="&&(x=Cs(_,x)+M),A=parseFloat(x),F=x.substr((A+"").length),l=bs.lastIndex-F.length,F||(F=F||wn.units[n]||M,l===i.length&&(i+=F,a.e+=F)),M!==F&&(_=Uo(e,n,y,F)||0),a._pt={_next:a._pt,p:k||u===1?k:",",s:_,c:A-_,m:C&&C<4||n==="zIndex"?Math.round:0});a.c=l<i.length?i.substring(l,i.length):""}else a.r=n==="display"&&i==="none"?mv:pv;return xp.test(i)&&(a.e=0),this._pt=a,a},cv={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},I4=function(e){var n=e.split(" "),t=n[0],i=n[1]||"50%";return(t==="top"||t==="bottom"||i==="left"||i==="right")&&(e=t,t=i,i=e),n[0]=cv[t]||t,n[1]=cv[i]||i,n.join(" ")},k4=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var t=n.t,i=t.style,o=n.u,s=t._gsap,a,l,u;if(o==="all"||o===!0)i.cssText="",l=1;else for(o=o.split(","),u=o.length;--u>-1;)a=o[u],oo[a]&&(l=1,a=a==="transformOrigin"?xn:kt),As(t,a);l&&(As(t,kt),s&&(s.svg&&t.removeAttribute("transform"),uu(t,1),s.uncache=1,fv(i)))}},md={clearProps:function(e,n,t,i,o){if(o.data!=="isFromStart"){var s=e._pt=new Ji(e._pt,n,t,0,0,k4);return s.u=i,s.pr=-10,s.tween=o,e._props.push(t),1}}},lu=[1,0,0,1,0,0],Cv={},yv=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},dv=function(e){var n=Pr(e,kt);return yv(n)?lu:n.substr(7).match(wp).map(jt)},Yp=function(e,n){var t=e._gsap||Lo(e),i=e.style,o=dv(e),s,a,l,u;return t.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,o=[l.a,l.b,l.c,l.d,l.e,l.f],o.join(",")==="1,0,0,1,0,0"?lu:o):(o===lu&&!e.offsetParent&&e!==Ma&&!t.svg&&(l=i.display,i.display="block",s=e.parentNode,(!s||!e.offsetParent)&&(u=1,a=e.nextElementSibling,Ma.appendChild(e)),o=dv(e),l?i.display=l:As(e,"display"),u&&(a?s.insertBefore(e,a):s?s.appendChild(e):Ma.removeChild(e))),n&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o)},Wp=function(e,n,t,i,o,s){var a=e._gsap,l=o||Yp(e,!0),u=a.xOrigin||0,c=a.yOrigin||0,m=a.xOffset||0,g=a.yOffset||0,_=l[0],C=l[1],y=l[2],x=l[3],A=l[4],k=l[5],F=n.split(" "),M=parseFloat(F[0])||0,L=parseFloat(F[1])||0,j,R,W,B;t?l!==lu&&(R=_*x-C*y)&&(W=M*(x/R)+L*(-y/R)+(y*k-x*A)/R,B=M*(-C/R)+L*(_/R)-(_*k-C*A)/R,M=W,L=B):(j=vv(e),M=j.x+(~F[0].indexOf("%")?M/100*j.width:M),L=j.y+(~(F[1]||F[0]).indexOf("%")?L/100*j.height:L)),i||i!==!1&&a.smooth?(A=M-u,k=L-c,a.xOffset=m+(A*_+k*y)-A,a.yOffset=g+(A*C+k*x)-k):a.xOffset=a.yOffset=0,a.xOrigin=M,a.yOrigin=L,a.smooth=!!i,a.origin=n,a.originIsAbsolute=!!t,e.style[xn]="0px 0px",s&&(zo(s,a,"xOrigin",u,M),zo(s,a,"yOrigin",c,L),zo(s,a,"xOffset",m,a.xOffset),zo(s,a,"yOffset",g,a.yOffset)),e.setAttribute("data-svg-origin",M+" "+L)},uu=function(e,n){var t=e._gsap||new Dp(e);if("x"in t&&!n&&!t.uncache)return t;var i=e.style,o=t.scaleX<0,s="px",a="deg",l=getComputedStyle(e),u=Pr(e,xn)||"0",c,m,g,_,C,y,x,A,k,F,M,L,j,R,W,B,H,be,J,Se,De,je,Ie,fe,$e,ct,T,Qe,Ci,Hi,xt,ni;return c=m=g=y=x=A=k=F=M=0,_=C=1,t.svg=!!(e.getCTM&&bv(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[kt]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[kt]!=="none"?l[kt]:"")),i.scale=i.rotate=i.translate="none"),R=Yp(e,t.svg),t.svg&&(t.uncache?($e=e.getBBox(),u=t.xOrigin-$e.x+"px "+(t.yOrigin-$e.y)+"px",fe=""):fe=!n&&e.getAttribute("data-svg-origin"),Wp(e,fe||u,!!fe||t.originIsAbsolute,t.smooth!==!1,R)),L=t.xOrigin||0,j=t.yOrigin||0,R!==lu&&(be=R[0],J=R[1],Se=R[2],De=R[3],c=je=R[4],m=Ie=R[5],R.length===6?(_=Math.sqrt(be*be+J*J),C=Math.sqrt(De*De+Se*Se),y=be||J?Oa(J,be)*Es:0,k=Se||De?Oa(Se,De)*Es+y:0,k&&(C*=Math.abs(Math.cos(k*Da))),t.svg&&(c-=L-(L*be+j*Se),m-=j-(L*J+j*De))):(ni=R[6],Hi=R[7],T=R[8],Qe=R[9],Ci=R[10],xt=R[11],c=R[12],m=R[13],g=R[14],W=Oa(ni,Ci),x=W*Es,W&&(B=Math.cos(-W),H=Math.sin(-W),fe=je*B+T*H,$e=Ie*B+Qe*H,ct=ni*B+Ci*H,T=je*-H+T*B,Qe=Ie*-H+Qe*B,Ci=ni*-H+Ci*B,xt=Hi*-H+xt*B,je=fe,Ie=$e,ni=ct),W=Oa(-Se,Ci),A=W*Es,W&&(B=Math.cos(-W),H=Math.sin(-W),fe=be*B-T*H,$e=J*B-Qe*H,ct=Se*B-Ci*H,xt=De*H+xt*B,be=fe,J=$e,Se=ct),W=Oa(J,be),y=W*Es,W&&(B=Math.cos(W),H=Math.sin(W),fe=be*B+J*H,$e=je*B+Ie*H,J=J*B-be*H,Ie=Ie*B-je*H,be=fe,je=$e),x&&Math.abs(x)+Math.abs(y)>359.9&&(x=y=0,A=180-A),_=jt(Math.sqrt(be*be+J*J+Se*Se)),C=jt(Math.sqrt(Ie*Ie+ni*ni)),W=Oa(je,Ie),k=Math.abs(W)>2e-4?W*Es:0,M=xt?1/(xt<0?-xt:xt):0),t.svg&&(fe=e.getAttribute("transform"),t.forceCSS=e.setAttribute("transform","")||!yv(Pr(e,kt)),fe&&e.setAttribute("transform",fe))),Math.abs(k)>90&&Math.abs(k)<270&&(o?(_*=-1,k+=y<=0?180:-180,y+=y<=0?180:-180):(C*=-1,k+=k<=0?180:-180)),n=n||t.uncache,t.x=c-((t.xPercent=c&&(!n&&t.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*t.xPercent/100:0)+s,t.y=m-((t.yPercent=m&&(!n&&t.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-m)?-50:0)))?e.offsetHeight*t.yPercent/100:0)+s,t.z=g+s,t.scaleX=jt(_),t.scaleY=jt(C),t.rotation=jt(y)+a,t.rotationX=jt(x)+a,t.rotationY=jt(A)+a,t.skewX=k+a,t.skewY=F+a,t.transformPerspective=M+s,(t.zOrigin=parseFloat(u.split(" ")[2])||!n&&t.zOrigin||0)&&(i[xn]=fd(u)),t.xOffset=t.yOffset=0,t.force3D=wn.force3D,t.renderTransform=t.svg?R4:_v?wv:P4,t.uncache=0,t},fd=function(e){return(e=e.split(" "))[0]+" "+e[1]},jp=function(e,n,t){var i=Ti(n);return jt(parseFloat(n)+parseFloat(Uo(e,"x",t+"px",i)))+i},P4=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,wv(e,n)},ws="0deg",au="0px",xs=") ",wv=function(e,n){var t=n||this,i=t.xPercent,o=t.yPercent,s=t.x,a=t.y,l=t.z,u=t.rotation,c=t.rotationY,m=t.rotationX,g=t.skewX,_=t.skewY,C=t.scaleX,y=t.scaleY,x=t.transformPerspective,A=t.force3D,k=t.target,F=t.zOrigin,M="",L=A==="auto"&&e&&e!==1||A===!0;if(F&&(m!==ws||c!==ws)){var j=parseFloat(c)*Da,R=Math.sin(j),W=Math.cos(j),B;j=parseFloat(m)*Da,B=Math.cos(j),s=jp(k,s,R*B*-F),a=jp(k,a,-Math.sin(j)*-F),l=jp(k,l,W*B*-F+F)}x!==au&&(M+="perspective("+x+xs),(i||o)&&(M+="translate("+i+"%, "+o+"%) "),(L||s!==au||a!==au||l!==au)&&(M+=l!==au||L?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+xs),u!==ws&&(M+="rotate("+u+xs),c!==ws&&(M+="rotateY("+c+xs),m!==ws&&(M+="rotateX("+m+xs),(g!==ws||_!==ws)&&(M+="skew("+g+", "+_+xs),(C!==1||y!==1)&&(M+="scale("+C+", "+y+xs),k.style[kt]=M||"translate(0, 0)"},R4=function(e,n){var t=n||this,i=t.xPercent,o=t.yPercent,s=t.x,a=t.y,l=t.rotation,u=t.skewX,c=t.skewY,m=t.scaleX,g=t.scaleY,_=t.target,C=t.xOrigin,y=t.yOrigin,x=t.xOffset,A=t.yOffset,k=t.forceCSS,F=parseFloat(s),M=parseFloat(a),L,j,R,W,B;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=Da,u*=Da,L=Math.cos(l)*m,j=Math.sin(l)*m,R=Math.sin(l-u)*-g,W=Math.cos(l-u)*g,u&&(c*=Da,B=Math.tan(u-c),B=Math.sqrt(1+B*B),R*=B,W*=B,c&&(B=Math.tan(c),B=Math.sqrt(1+B*B),L*=B,j*=B)),L=jt(L),j=jt(j),R=jt(R),W=jt(W)):(L=m,W=g,j=R=0),(F&&!~(s+"").indexOf("px")||M&&!~(a+"").indexOf("px"))&&(F=Uo(_,"x",s,"px"),M=Uo(_,"y",a,"px")),(C||y||x||A)&&(F=jt(F+C-(C*L+y*R)+x),M=jt(M+y-(C*j+y*W)+A)),(i||o)&&(B=_.getBBox(),F=jt(F+i/100*B.width),M=jt(M+o/100*B.height)),B="matrix("+L+","+j+","+R+","+W+","+F+","+M+")",_.setAttribute("transform",B),k&&(_.style[kt]=B)},F4=function(e,n,t,i,o){var s=360,a=li(o),l=parseFloat(o)*(a&&~o.indexOf("rad")?Es:1),u=l-i,c=i+u+"deg",m,g;return a&&(m=o.split("_")[1],m==="short"&&(u%=s,u!==u%(s/2)&&(u+=u<0?s:-s)),m==="cw"&&u<0?u=(u+s*sv)%s-~~(u/s)*s:m==="ccw"&&u>0&&(u=(u-s*sv)%s-~~(u/s)*s)),e._pt=g=new Ji(e._pt,n,t,i,u,v4),g.e=c,g.u="deg",e._props.push(t),g},hv=function(e,n){for(var t in n)e[t]=n[t];return e},N4=function(e,n,t){var i=hv({},t._gsap),o="perspective,force3D,transformOrigin,svgOrigin",s=t.style,a,l,u,c,m,g,_,C;i.svg?(u=t.getAttribute("transform"),t.setAttribute("transform",""),s[kt]=n,a=uu(t,1),As(t,kt),t.setAttribute("transform",u)):(u=getComputedStyle(t)[kt],s[kt]=n,a=uu(t,1),s[kt]=u);for(l in oo)u=i[l],c=a[l],u!==c&&o.indexOf(l)<0&&(_=Ti(u),C=Ti(c),m=_!==C?Uo(t,l,u,C):parseFloat(u),g=parseFloat(c),e._pt=new Ji(e._pt,a,l,m,g-m,Bp),e._pt.u=C||0,e._props.push(l));hv(a,i)};Ki("padding,margin,Width,Radius",function(r,e){var n="Top",t="Right",i="Bottom",o="Left",s=(e<3?[n,t,i,o]:[n+o,n+t,i+t,i+o]).map(function(a){return e<2?r+a:"border"+a+r});md[e>1?"border"+r:r]=function(a,l,u,c,m){var g,_;if(arguments.length<4)return g=s.map(function(C){return ro(a,C,u)}),_=g.join(" "),_.split(g[0]).length===5?g[0]:_;g=(c+"").split(" "),_={},s.forEach(function(C,y){return _[C]=g[y]=g[y]||g[(y-1)/2|0]}),a.init(l,_,m)}});var Xp={name:"css",register:Up,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,t,i,o){var s=this._props,a=e.style,l=t.vars.startAt,u,c,m,g,_,C,y,x,A,k,F,M,L,j,R,W;Hp||Up(),this.styles=this.styles||gv(e),W=this.styles.props,this.tween=t;for(y in n)if(y!=="autoRound"&&(c=n[y],!(bn[y]&&kp(y,n,t,i,e,o)))){if(_=typeof c,C=md[y],_==="function"&&(c=c.call(t,i,e,o),_=typeof c),_==="string"&&~c.indexOf("random(")&&(c=Ta(c)),C)C(this,e,y,c,t)&&(R=1);else if(y.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(y)+"").trim(),c+="",io.lastIndex=0,io.test(u)||(x=Ti(u),A=Ti(c)),A?x!==A&&(u=Uo(e,y,u,A)+A):x&&(c+=x),this.add(a,"setProperty",u,c,i,o,0,0,y),s.push(y),W.push(y,0,a[y]);else if(_!=="undefined"){if(l&&y in l?(u=typeof l[y]=="function"?l[y].call(t,i,e,o):l[y],li(u)&&~u.indexOf("random(")&&(u=Ta(u)),Ti(u+"")||u==="auto"||(u+=wn.units[y]||Ti(ro(e,y))||""),(u+"").charAt(1)==="="&&(u=ro(e,y))):u=ro(e,y),g=parseFloat(u),k=_==="string"&&c.charAt(1)==="="&&c.substr(0,2),k&&(c=c.substr(2)),m=parseFloat(c),y in kr&&(y==="autoAlpha"&&(g===1&&ro(e,"visibility")==="hidden"&&m&&(g=0),W.push("visibility",0,a.visibility),zo(this,a,"visibility",g?"inherit":"hidden",m?"inherit":"hidden",!m)),y!=="scale"&&y!=="transform"&&(y=kr[y],~y.indexOf(",")&&(y=y.split(",")[0]))),F=y in oo,F){if(this.styles.save(y),M||(L=e._gsap,L.renderTransform&&!n.parseTransform||uu(e,n.parseTransform),j=n.smoothOrigin!==!1&&L.smooth,M=this._pt=new Ji(this._pt,a,kt,0,1,L.renderTransform,L,0,-1),M.dep=1),y==="scale")this._pt=new Ji(this._pt,L,"scaleY",L.scaleY,(k?Cs(L.scaleY,k+m):m)-L.scaleY||0,Bp),this._pt.u=0,s.push("scaleY",y),y+="X";else if(y==="transformOrigin"){W.push(xn,0,a[xn]),c=I4(c),L.svg?Wp(e,c,0,j,0,this):(A=parseFloat(c.split(" ")[2])||0,A!==L.zOrigin&&zo(this,L,"zOrigin",L.zOrigin,A),zo(this,a,y,fd(u),fd(c)));continue}else if(y==="svgOrigin"){Wp(e,c,1,j,0,this);continue}else if(y in Cv){F4(this,L,y,g,k?Cs(g,k+c):c);continue}else if(y==="smoothOrigin"){zo(this,L,"smooth",L.smooth,c);continue}else if(y==="force3D"){L[y]=c;continue}else if(y==="transform"){N4(this,c,e);continue}}else y in a||(y=Ia(y)||y);if(F||(m||m===0)&&(g||g===0)&&!_4.test(c)&&y in a)x=(u+"").substr((g+"").length),m||(m=0),A=Ti(c)||(y in wn.units?wn.units[y]:x),x!==A&&(g=Uo(e,y,u,A)),this._pt=new Ji(this._pt,F?L:a,y,g,(k?Cs(g,k+m):m)-g,!F&&(A==="px"||y==="zIndex")&&n.autoRound!==!1?C4:Bp),this._pt.u=A||0,x!==A&&A!=="%"&&(this._pt.b=u,this._pt.r=b4);else if(y in a)D4.call(this,e,y,u,k?k+c:c);else if(y in e)this.add(e,y,u||e[y],k?k+c:c,i,o);else if(y!=="parseTransform"){ud(y,c);continue}F||(y in a?W.push(y,0,a[y]):W.push(y,1,u||e[y])),s.push(y)}}R&&Lp(this)},render:function(e,n){if(n.tween._time||!$p())for(var t=n._pt;t;)t.r(e,t.d),t=t._next;else n.styles.revert()},get:ro,aliases:kr,getSetter:function(e,n,t){var i=kr[n];return i&&i.indexOf(",")<0&&(n=i),n in oo&&n!==xn&&(e._gsap.x||ro(e,"x"))?t&&ov===t?n==="scale"?E4:x4:(ov=t||{})&&(n==="scale"?S4:A4):e.style&&!ld(e.style[n])?y4:~n.indexOf("-")?w4:pd(e,n)},core:{_removeProperty:As,_getMatrix:Yp}};ji.utils.checkPrefix=Ia;ji.core.getStyleSaver=gv;(function(r,e,n,t){var i=Ki(r+","+e+","+n,function(o){oo[o]=1});Ki(e,function(o){wn.units[o]="deg",Cv[o]=1}),kr[i[13]]=r+","+e,Ki(t,function(o){var s=o.split(":");kr[s[1]]=i[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Ki("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(r){wn.units[r]="px"});ji.registerPlugin(Xp);var so=ji.registerPlugin(Xp)||ji,jD=so.core.Tween;function xv(r,e){for(var n=0;n<e.length;n++){var t=e[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(r,t.key,t)}}function L4(r,e,n){return e&&xv(r.prototype,e),n&&xv(r,n),r}var Oi,vd,V4,Nn,Wo,Ho,Pa,Sv,Ts,du,Av,ao,ur,Tv,Ov=function(){return Oi||typeof window<"u"&&(Oi=window.gsap)&&Oi.registerPlugin&&Oi},Mv=1,ka=[],Ne=[],cr=[],hu=Date.now,Zp=function(e,n){return n},j4=function(){var e=du.core,n=e.bridge||{},t=e._scrollers,i=e._proxies;t.push.apply(t,Ne),i.push.apply(i,cr),Ne=t,cr=i,Zp=function(s,a){return n[s](a)}},uo=function(e,n){return~cr.indexOf(e)&&cr[cr.indexOf(e)+1][n]},pu=function(e){return!!~Av.indexOf(e)},tn=function(e,n,t,i,o){return e.addEventListener(n,t,{passive:i!==!1,capture:!!o})},en=function(e,n,t,i){return e.removeEventListener(n,t,!!i)},gd="scrollLeft",_d="scrollTop",qp=function(){return ao&&ao.isPressed||Ne.cache++},bd=function(e,n){var t=function i(o){if(o||o===0){Mv&&(Nn.history.scrollRestoration="manual");var s=ao&&ao.isPressed;o=i.v=Math.round(o)||(ao&&ao.iOS?1:0),e(o),i.cacheID=Ne.cache,s&&Zp("ss",o)}else(n||Ne.cache!==i.cacheID||Zp("ref"))&&(i.cacheID=Ne.cache,i.v=e());return i.v+i.offset};return t.offset=0,e&&t},Bi={s:gd,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:bd(function(r){return arguments.length?Nn.scrollTo(r,Jt.sc()):Nn.pageXOffset||Wo[gd]||Ho[gd]||Pa[gd]||0})},Jt={s:_d,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Bi,sc:bd(function(r){return arguments.length?Nn.scrollTo(Bi.sc(),r):Nn.pageYOffset||Wo[_d]||Ho[_d]||Pa[_d]||0})},nn=function(e,n){return(n&&n._ctx&&n._ctx.selector||Oi.utils.toArray)(e)[0]||(typeof e=="string"&&Oi.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},lo=function(e,n){var t=n.s,i=n.sc;pu(e)&&(e=Wo.scrollingElement||Ho);var o=Ne.indexOf(e),s=i===Jt.sc?1:2;!~o&&(o=Ne.push(e)-1),Ne[o+s]||tn(e,"scroll",qp);var a=Ne[o+s],l=a||(Ne[o+s]=bd(uo(e,t),!0)||(pu(e)?i:bd(function(u){return arguments.length?e[t]=u:e[t]})));return l.target=e,a||(l.smooth=Oi.getProperty(e,"scrollBehavior")==="smooth"),l},Cd=function(e,n,t){var i=e,o=e,s=hu(),a=s,l=n||50,u=Math.max(500,l*3),c=function(C,y){var x=hu();y||x-s>l?(o=i,i=C,a=s,s=x):t?i+=C:i=o+(C-o)/(x-a)*(s-a)},m=function(){o=i=t?0:i,a=s=0},g=function(C){var y=a,x=o,A=hu();return(C||C===0)&&C!==i&&c(C),s===a||A-a>u?0:(i+(t?x:-x))/((t?A:s)-y)*1e3};return{update:c,reset:m,getVelocity:g}},cu=function(e,n){return n&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Ev=function(e){var n=Math.max.apply(Math,e),t=Math.min.apply(Math,e);return Math.abs(n)>=Math.abs(t)?n:t},Dv=function(){du=Oi.core.globals().ScrollTrigger,du&&du.core&&j4()},Iv=function(e){return Oi=e||Ov(),!vd&&Oi&&typeof document<"u"&&document.body&&(Nn=window,Wo=document,Ho=Wo.documentElement,Pa=Wo.body,Av=[Nn,Wo,Ho,Pa],V4=Oi.utils.clamp,Tv=Oi.core.context||function(){},Ts="onpointerenter"in Pa?"pointer":"mouse",Sv=Bt.isTouch=Nn.matchMedia&&Nn.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Nn||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,ur=Bt.eventTypes=("ontouchstart"in Ho?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Ho?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Mv=0},500),Dv(),vd=1),vd};Bi.op=Jt;Ne.cache=0;var Bt=function(){function r(n){this.init(n)}var e=r.prototype;return e.init=function(t){vd||Iv(Oi)||console.warn("Please gsap.registerPlugin(Observer)"),du||Dv();var i=t.tolerance,o=t.dragMinimum,s=t.type,a=t.target,l=t.lineHeight,u=t.debounce,c=t.preventDefault,m=t.onStop,g=t.onStopDelay,_=t.ignore,C=t.wheelSpeed,y=t.event,x=t.onDragStart,A=t.onDragEnd,k=t.onDrag,F=t.onPress,M=t.onRelease,L=t.onRight,j=t.onLeft,R=t.onUp,W=t.onDown,B=t.onChangeX,H=t.onChangeY,be=t.onChange,J=t.onToggleX,Se=t.onToggleY,De=t.onHover,je=t.onHoverEnd,Ie=t.onMove,fe=t.ignoreCheck,$e=t.isNormalizer,ct=t.onGestureStart,T=t.onGestureEnd,Qe=t.onWheel,Ci=t.onEnable,Hi=t.onDisable,xt=t.onClick,ni=t.scrollSpeed,Ke=t.capture,ut=t.allowClicks,Be=t.lockAxis,Je=t.onLockAxis;this.target=a=nn(a)||Ho,this.vars=t,_&&(_=Oi.utils.toArray(_)),i=i||1e-9,o=o||0,C=C||1,ni=ni||1,s=s||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(Nn.getComputedStyle(Pa).lineHeight)||22);var Sn,zt,yi,Re,dt,bt,Ut,P=this,Di=0,cn=0,Wt=t.passive||!c,Rt=lo(a,Bi),fr=lo(a,Jt),Vr=Rt(),go=fr(),qt=~s.indexOf("touch")&&!~s.indexOf("pointer")&&ur[0]==="pointerdown",ir=pu(a),Et=a.ownerDocument||Wo,dn=[0,0,0],$i=[0,0,0],hn=0,jr=function(){return hn=hu()},Ft=function(me,ze){return(P.event=me)&&_&&~_.indexOf(me.target)||ze&&qt&&me.pointerType!=="touch"||fe&&fe(me,ze)},Qs=function(){P._vx.reset(),P._vy.reset(),zt.pause(),m&&m(P)},gr=function(){var me=P.deltaX=Ev(dn),ze=P.deltaY=Ev($i),ee=Math.abs(me)>=i,xe=Math.abs(ze)>=i;be&&(ee||xe)&&be(P,me,ze,dn,$i),ee&&(L&&P.deltaX>0&&L(P),j&&P.deltaX<0&&j(P),B&&B(P),J&&P.deltaX<0!=Di<0&&J(P),Di=P.deltaX,dn[0]=dn[1]=dn[2]=0),xe&&(W&&P.deltaY>0&&W(P),R&&P.deltaY<0&&R(P),H&&H(P),Se&&P.deltaY<0!=cn<0&&Se(P),cn=P.deltaY,$i[0]=$i[1]=$i[2]=0),(Re||yi)&&(Ie&&Ie(P),yi&&(k(P),yi=!1),Re=!1),bt&&!(bt=!1)&&Je&&Je(P),dt&&(Qe(P),dt=!1),Sn=0},_o=function(me,ze,ee){dn[ee]+=me,$i[ee]+=ze,P._vx.update(me),P._vy.update(ze),u?Sn||(Sn=requestAnimationFrame(gr)):gr()},vo=function(me,ze){Be&&!Ut&&(P.axis=Ut=Math.abs(me)>Math.abs(ze)?"x":"y",bt=!0),Ut!=="y"&&(dn[2]+=me,P._vx.update(me,!0)),Ut!=="x"&&($i[2]+=ze,P._vy.update(ze,!0)),u?Sn||(Sn=requestAnimationFrame(gr)):gr()},An=function(me){if(!Ft(me,1)){me=cu(me,c);var ze=me.clientX,ee=me.clientY,xe=ze-P.x,ce=ee-P.y,Ce=P.isDragging;P.x=ze,P.y=ee,(Ce||Math.abs(P.startX-ze)>=o||Math.abs(P.startY-ee)>=o)&&(k&&(yi=!0),Ce||(P.isDragging=!0),vo(xe,ce),Ce||x&&x(P))}},Br=P.onPress=function(we){Ft(we,1)||we&&we.button||(P.axis=Ut=null,zt.pause(),P.isPressed=!0,we=cu(we),Di=cn=0,P.startX=P.x=we.clientX,P.startY=P.y=we.clientY,P._vx.reset(),P._vy.reset(),tn($e?a:Et,ur[1],An,Wt,!0),P.deltaX=P.deltaY=0,F&&F(P))},ke=P.onRelease=function(we){if(!Ft(we,1)){en($e?a:Et,ur[1],An,!0);var me=!isNaN(P.y-P.startY),ze=P.isDragging,ee=ze&&(Math.abs(P.x-P.startX)>3||Math.abs(P.y-P.startY)>3),xe=cu(we);!ee&&me&&(P._vx.reset(),P._vy.reset(),c&&ut&&Oi.delayedCall(.08,function(){if(hu()-hn>300&&!we.defaultPrevented){if(we.target.click)we.target.click();else if(Et.createEvent){var ce=Et.createEvent("MouseEvents");ce.initMouseEvent("click",!0,!0,Nn,1,xe.screenX,xe.screenY,xe.clientX,xe.clientY,!1,!1,!1,!1,0,null),we.target.dispatchEvent(ce)}}})),P.isDragging=P.isGesturing=P.isPressed=!1,m&&ze&&!$e&&zt.restart(!0),A&&ze&&A(P),M&&M(P,ee)}},_r=function(me){return me.touches&&me.touches.length>1&&(P.isGesturing=!0)&&ct(me,P.isDragging)},pn=function(){return(P.isGesturing=!1)||T(P)},Gi=function(me){if(!Ft(me)){var ze=Rt(),ee=fr();_o((ze-Vr)*ni,(ee-go)*ni,1),Vr=ze,go=ee,m&&zt.restart(!0)}},Tn=function(me){if(!Ft(me)){me=cu(me,c),Qe&&(dt=!0);var ze=(me.deltaMode===1?l:me.deltaMode===2?Nn.innerHeight:1)*C;_o(me.deltaX*ze,me.deltaY*ze,0),m&&!$e&&zt.restart(!0)}},zr=function(me){if(!Ft(me)){var ze=me.clientX,ee=me.clientY,xe=ze-P.x,ce=ee-P.y;P.x=ze,P.y=ee,Re=!0,m&&zt.restart(!0),(xe||ce)&&vo(xe,ce)}},bo=function(me){P.event=me,De(P)},Un=function(me){P.event=me,je(P)},ns=function(me){return Ft(me)||cu(me,c)&&xt(P)};zt=P._dc=Oi.delayedCall(g||.25,Qs).pause(),P.deltaX=P.deltaY=0,P._vx=Cd(0,50,!0),P._vy=Cd(0,50,!0),P.scrollX=Rt,P.scrollY=fr,P.isDragging=P.isGesturing=P.isPressed=!1,Tv(this),P.enable=function(we){return P.isEnabled||(tn(ir?Et:a,"scroll",qp),s.indexOf("scroll")>=0&&tn(ir?Et:a,"scroll",Gi,Wt,Ke),s.indexOf("wheel")>=0&&tn(a,"wheel",Tn,Wt,Ke),(s.indexOf("touch")>=0&&Sv||s.indexOf("pointer")>=0)&&(tn(a,ur[0],Br,Wt,Ke),tn(Et,ur[2],ke),tn(Et,ur[3],ke),ut&&tn(a,"click",jr,!0,!0),xt&&tn(a,"click",ns),ct&&tn(Et,"gesturestart",_r),T&&tn(Et,"gestureend",pn),De&&tn(a,Ts+"enter",bo),je&&tn(a,Ts+"leave",Un),Ie&&tn(a,Ts+"move",zr)),P.isEnabled=!0,we&&we.type&&Br(we),Ci&&Ci(P)),P},P.disable=function(){P.isEnabled&&(ka.filter(function(we){return we!==P&&pu(we.target)}).length||en(ir?Et:a,"scroll",qp),P.isPressed&&(P._vx.reset(),P._vy.reset(),en($e?a:Et,ur[1],An,!0)),en(ir?Et:a,"scroll",Gi,Ke),en(a,"wheel",Tn,Ke),en(a,ur[0],Br,Ke),en(Et,ur[2],ke),en(Et,ur[3],ke),en(a,"click",jr,!0),en(a,"click",ns),en(Et,"gesturestart",_r),en(Et,"gestureend",pn),en(a,Ts+"enter",bo),en(a,Ts+"leave",Un),en(a,Ts+"move",zr),P.isEnabled=P.isPressed=P.isDragging=!1,Hi&&Hi(P))},P.kill=P.revert=function(){P.disable();var we=ka.indexOf(P);we>=0&&ka.splice(we,1),ao===P&&(ao=0)},ka.push(P),$e&&pu(a)&&(ao=P),P.enable(y)},L4(r,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),r}();Bt.version="3.12.5";Bt.create=function(r){return new Bt(r)};Bt.register=Iv;Bt.getAll=function(){return ka.slice()};Bt.getById=function(r){return ka.filter(function(e){return e.vars.id===r})[0]};Ov()&&Oi.registerPlugin(Bt);var oe,Na,Ye,Pt,dr,wt,Zv,Nd,Au,Cu,fu,yd,zi,Bd,rm,on,kv,Pv,La,qv,Qp,Qv,rn,om,Kv,Jv,$o,sm,dm,Va,hm,Ld,am,Kp,wd=1,Ui=Date.now,Jp=Ui(),Jn=0,gu=0,Rv=function(e,n,t){var i=Vn(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return t["_"+n+"Clamp"]=i,i?e.substr(6,e.length-7):e},Fv=function(e,n){return n&&(!Vn(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},B4=function r(){return gu&&requestAnimationFrame(r)},Nv=function(){return Bd=1},Lv=function(){return Bd=0},Rr=function(e){return e},_u=function(e){return Math.round(e*1e5)/1e5||0},eb=function(){return typeof window<"u"},tb=function(){return oe||eb()&&(oe=window.gsap)&&oe.registerPlugin&&oe},Ps=function(e){return!!~Zv.indexOf(e)},ib=function(e){return(e==="Height"?hm:Ye["inner"+e])||dr["client"+e]||wt["client"+e]},nb=function(e){return uo(e,"getBoundingClientRect")||(Ps(e)?function(){return Fd.width=Ye.innerWidth,Fd.height=hm,Fd}:function(){return co(e)})},z4=function(e,n,t){var i=t.d,o=t.d2,s=t.a;return(s=uo(e,"getBoundingClientRect"))?function(){return s()[i]}:function(){return(n?ib(o):e["client"+o])||0}},U4=function(e,n){return!n||~cr.indexOf(e)?nb(e):function(){return Fd}},Fr=function(e,n){var t=n.s,i=n.d2,o=n.d,s=n.a;return Math.max(0,(t="scroll"+i)&&(s=uo(e,t))?s()-nb(e)()[o]:Ps(e)?(dr[t]||wt[t])-ib(i):e[t]-e["offset"+i])},xd=function(e,n){for(var t=0;t<La.length;t+=3)(!n||~n.indexOf(La[t+1]))&&e(La[t],La[t+1],La[t+2])},Vn=function(e){return typeof e=="string"},an=function(e){return typeof e=="function"},vu=function(e){return typeof e=="number"},Os=function(e){return typeof e=="object"},mu=function(e,n,t){return e&&e.progress(n?0:1)&&t&&e.pause()},em=function(e,n){if(e.enabled){var t=e._ctx?e._ctx.add(function(){return n(e)}):n(e);t&&t.totalTime&&(e.callbackAnimation=t)}},Ra=Math.abs,rb="left",ob="top",pm="right",mm="bottom",Ds="width",Is="height",yu="Right",wu="Left",xu="Top",Eu="Bottom",ei="padding",Qn="margin",Ba="Width",fm="Height",ui="px",Kn=function(e){return Ye.getComputedStyle(e)},W4=function(e){var n=Kn(e).position;e.style.position=n==="absolute"||n==="fixed"?n:"relative"},Vv=function(e,n){for(var t in n)t in e||(e[t]=n[t]);return e},co=function(e,n){var t=n&&Kn(e)[rm]!=="matrix(1, 0, 0, 1, 0, 0)"&&oe.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return t&&t.progress(0).kill(),i},Vd=function(e,n){var t=n.d2;return e["offset"+t]||e["client"+t]||0},sb=function(e){var n=[],t=e.labels,i=e.duration(),o;for(o in t)n.push(t[o]/i);return n},H4=function(e){return function(n){return oe.utils.snap(sb(e),n)}},gm=function(e){var n=oe.utils.snap(e),t=Array.isArray(e)&&e.slice(0).sort(function(i,o){return i-o});return t?function(i,o,s){s===void 0&&(s=.001);var a;if(!o)return n(i);if(o>0){for(i-=s,a=0;a<t.length;a++)if(t[a]>=i)return t[a];return t[a-1]}else for(a=t.length,i+=s;a--;)if(t[a]<=i)return t[a];return t[0]}:function(i,o,s){s===void 0&&(s=.001);var a=n(i);return!o||Math.abs(a-i)<s||a-i<0==o<0?a:n(o<0?i-e:i+e)}},$4=function(e){return function(n,t){return gm(sb(e))(n,t.direction)}},Ed=function(e,n,t,i){return t.split(",").forEach(function(o){return e(n,o,i)})},vi=function(e,n,t,i,o){return e.addEventListener(n,t,{passive:!i,capture:!!o})},_i=function(e,n,t,i){return e.removeEventListener(n,t,!!i)},Sd=function(e,n,t){t=t&&t.wheelHandler,t&&(e(n,"wheel",t),e(n,"touchmove",t))},jv={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Ad={toggleActions:"play",anticipatePin:0},jd={top:0,left:0,center:.5,bottom:1,right:1},Id=function(e,n){if(Vn(e)){var t=e.indexOf("="),i=~t?+(e.charAt(t-1)+1)*parseFloat(e.substr(t+1)):0;~t&&(e.indexOf("%")>t&&(i*=n/100),e=e.substr(0,t-1)),e=i+(e in jd?jd[e]*n:~e.indexOf("%")?parseFloat(e)*n/100:parseFloat(e)||0)}return e},Td=function(e,n,t,i,o,s,a,l){var u=o.startColor,c=o.endColor,m=o.fontSize,g=o.indent,_=o.fontWeight,C=Pt.createElement("div"),y=Ps(t)||uo(t,"pinType")==="fixed",x=e.indexOf("scroller")!==-1,A=y?wt:t,k=e.indexOf("start")!==-1,F=k?u:c,M="border-color:"+F+";font-size:"+m+";color:"+F+";font-weight:"+_+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return M+="position:"+((x||l)&&y?"fixed;":"absolute;"),(x||l||!y)&&(M+=(i===Jt?pm:mm)+":"+(s+parseFloat(g))+"px;"),a&&(M+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),C._isStart=k,C.setAttribute("class","gsap-marker-"+e+(n?" marker-"+n:"")),C.style.cssText=M,C.innerText=n||n===0?e+"-"+n:e,A.children[0]?A.insertBefore(C,A.children[0]):A.appendChild(C),C._offset=C["offset"+i.op.d2],kd(C,0,i,k),C},kd=function(e,n,t,i){var o={display:"block"},s=t[i?"os2":"p2"],a=t[i?"p2":"os2"];e._isFlipped=i,o[t.a+"Percent"]=i?-100:0,o[t.a]=i?"1px":0,o["border"+s+Ba]=1,o["border"+a+Ba]=0,o[t.p]=n+"px",oe.set(e,o)},Le=[],lm={},Tu,Bv=function(){return Ui()-Jn>34&&(Tu||(Tu=requestAnimationFrame(ho)))},Fa=function(){(!rn||!rn.isPressed||rn.startX>wt.clientWidth)&&(Ne.cache++,rn?Tu||(Tu=requestAnimationFrame(ho)):ho(),Jn||Fs("scrollStart"),Jn=Ui())},tm=function(){Jv=Ye.innerWidth,Kv=Ye.innerHeight},bu=function(){Ne.cache++,!zi&&!Qv&&!Pt.fullscreenElement&&!Pt.webkitFullscreenElement&&(!om||Jv!==Ye.innerWidth||Math.abs(Ye.innerHeight-Kv)>Ye.innerHeight*.25)&&Nd.restart(!0)},Rs={},G4=[],ab=function r(){return _i(Ee,"scrollEnd",r)||Ms(!0)},Fs=function(e){return Rs[e]&&Rs[e].map(function(n){return n()})||G4},Ln=[],lb=function(e){for(var n=0;n<Ln.length;n+=5)(!e||Ln[n+4]&&Ln[n+4].query===e)&&(Ln[n].style.cssText=Ln[n+1],Ln[n].getBBox&&Ln[n].setAttribute("transform",Ln[n+2]||""),Ln[n+3].uncache=1)},_m=function(e,n){var t;for(on=0;on<Le.length;on++)t=Le[on],t&&(!n||t._ctx===n)&&(e?t.kill(1):t.revert(!0,!0));Ld=!0,n&&lb(n),n||Fs("revert")},ub=function(e,n){Ne.cache++,(n||!sn)&&Ne.forEach(function(t){return an(t)&&t.cacheID++&&(t.rec=0)}),Vn(e)&&(Ye.history.scrollRestoration=dm=e)},sn,ks=0,zv,Y4=function(){if(zv!==ks){var e=zv=ks;requestAnimationFrame(function(){return e===ks&&Ms(!0)})}},cb=function(){wt.appendChild(Va),hm=!rn&&Va.offsetHeight||Ye.innerHeight,wt.removeChild(Va)},Uv=function(e){return Au(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(n){return n.style.display=e?"none":"block"})},Ms=function(e,n){if(Jn&&!e&&!Ld){vi(Ee,"scrollEnd",ab);return}cb(),sn=Ee.isRefreshing=!0,Ne.forEach(function(i){return an(i)&&++i.cacheID&&(i.rec=i())});var t=Fs("refreshInit");qv&&Ee.sort(),n||_m(),Ne.forEach(function(i){an(i)&&(i.smooth&&(i.target.style.scrollBehavior="auto"),i(0))}),Le.slice(0).forEach(function(i){return i.refresh()}),Ld=!1,Le.forEach(function(i){if(i._subPinOffset&&i.pin){var o=i.vars.horizontal?"offsetWidth":"offsetHeight",s=i.pin[o];i.revert(!0,1),i.adjustPinSpacing(i.pin[o]-s),i.refresh()}}),am=1,Uv(!0),Le.forEach(function(i){var o=Fr(i.scroller,i._dir),s=i.vars.end==="max"||i._endClamp&&i.end>o,a=i._startClamp&&i.start>=o;(s||a)&&i.setPositions(a?o-1:i.start,s?Math.max(a?o:i.start+1,o):i.end,!0)}),Uv(!1),am=0,t.forEach(function(i){return i&&i.render&&i.render(-1)}),Ne.forEach(function(i){an(i)&&(i.smooth&&requestAnimationFrame(function(){return i.target.style.scrollBehavior="smooth"}),i.rec&&i(i.rec))}),ub(dm,1),Nd.pause(),ks++,sn=2,ho(2),Le.forEach(function(i){return an(i.vars.onRefresh)&&i.vars.onRefresh(i)}),sn=Ee.isRefreshing=!1,Fs("refresh")},um=0,Pd=1,Su,ho=function(e){if(e===2||!sn&&!Ld){Ee.isUpdating=!0,Su&&Su.update(0);var n=Le.length,t=Ui(),i=t-Jp>=50,o=n&&Le[0].scroll();if(Pd=um>o?-1:1,sn||(um=o),i&&(Jn&&!Bd&&t-Jn>200&&(Jn=0,Fs("scrollEnd")),fu=Jp,Jp=t),Pd<0){for(on=n;on-- >0;)Le[on]&&Le[on].update(0,i);Pd=1}else for(on=0;on<n;on++)Le[on]&&Le[on].update(0,i);Ee.isUpdating=!1}Tu=0},cm=[rb,ob,mm,pm,Qn+Eu,Qn+yu,Qn+xu,Qn+wu,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Rd=cm.concat([Ds,Is,"boxSizing","max"+Ba,"max"+fm,"position",Qn,ei,ei+xu,ei+yu,ei+Eu,ei+wu]),X4=function(e,n,t){ja(t);var i=e._gsap;if(i.spacerIsNative)ja(i.spacerState);else if(e._gsap.swappedIn){var o=n.parentNode;o&&(o.insertBefore(e,n),o.removeChild(n))}e._gsap.swappedIn=!1},im=function(e,n,t,i){if(!e._gsap.swappedIn){for(var o=cm.length,s=n.style,a=e.style,l;o--;)l=cm[o],s[l]=t[l];s.position=t.position==="absolute"?"absolute":"relative",t.display==="inline"&&(s.display="inline-block"),a[mm]=a[pm]="auto",s.flexBasis=t.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[Ds]=Vd(e,Bi)+ui,s[Is]=Vd(e,Jt)+ui,s[ei]=a[Qn]=a[ob]=a[rb]="0",ja(i),a[Ds]=a["max"+Ba]=t[Ds],a[Is]=a["max"+fm]=t[Is],a[ei]=t[ei],e.parentNode!==n&&(e.parentNode.insertBefore(n,e),n.appendChild(e)),e._gsap.swappedIn=!0}},Z4=/([A-Z])/g,ja=function(e){if(e){var n=e.t.style,t=e.length,i=0,o,s;for((e.t._gsap||oe.core.getCache(e.t)).uncache=1;i<t;i+=2)s=e[i+1],o=e[i],s?n[o]=s:n[o]&&n.removeProperty(o.replace(Z4,"-$1").toLowerCase())}},Od=function(e){for(var n=Rd.length,t=e.style,i=[],o=0;o<n;o++)i.push(Rd[o],t[Rd[o]]);return i.t=e,i},q4=function(e,n,t){for(var i=[],o=e.length,s=t?8:0,a;s<o;s+=2)a=e[s],i.push(a,a in n?n[a]:e[s+1]);return i.t=e.t,i},Fd={left:0,top:0},Wv=function(e,n,t,i,o,s,a,l,u,c,m,g,_,C){an(e)&&(e=e(l)),Vn(e)&&e.substr(0,3)==="max"&&(e=g+(e.charAt(4)==="="?Id("0"+e.substr(3),t):0));var y=_?_.time():0,x,A,k;if(_&&_.seek(0),isNaN(e)||(e=+e),vu(e))_&&(e=oe.utils.mapRange(_.scrollTrigger.start,_.scrollTrigger.end,0,g,e)),a&&kd(a,t,i,!0);else{an(n)&&(n=n(l));var F=(e||"0").split(" "),M,L,j,R;k=nn(n,l)||wt,M=co(k)||{},(!M||!M.left&&!M.top)&&Kn(k).display==="none"&&(R=k.style.display,k.style.display="block",M=co(k),R?k.style.display=R:k.style.removeProperty("display")),L=Id(F[0],M[i.d]),j=Id(F[1]||"0",t),e=M[i.p]-u[i.p]-c+L+o-j,a&&kd(a,j,i,t-j<20||a._isStart&&j>20),t-=t-j}if(C&&(l[C]=e||-.001,e<0&&(e=0)),s){var W=e+t,B=s._isStart;x="scroll"+i.d2,kd(s,W,i,B&&W>20||!B&&(m?Math.max(wt[x],dr[x]):s.parentNode[x])<=W+1),m&&(u=co(a),m&&(s.style[i.op.p]=u[i.op.p]-i.op.m-s._offset+ui))}return _&&k&&(x=co(k),_.seek(g),A=co(k),_._caScrollDist=x[i.p]-A[i.p],e=e/_._caScrollDist*g),_&&_.seek(y),_?e:Math.round(e)},Q4=/(webkit|moz|length|cssText|inset)/i,Hv=function(e,n,t,i){if(e.parentNode!==n){var o=e.style,s,a;if(n===wt){e._stOrig=o.cssText,a=Kn(e);for(s in a)!+s&&!Q4.test(s)&&a[s]&&typeof o[s]=="string"&&s!=="0"&&(o[s]=a[s]);o.top=t,o.left=i}else o.cssText=e._stOrig;oe.core.getCache(e).uncache=1,n.appendChild(e)}},db=function(e,n,t){var i=n,o=i;return function(s){var a=Math.round(e());return a!==i&&a!==o&&Math.abs(a-i)>3&&Math.abs(a-o)>3&&(s=a,t&&t()),o=i,i=s,s}},Md=function(e,n,t){var i={};i[n.p]="+="+t,oe.set(e,i)},$v=function(e,n){var t=lo(e,n),i="_scroll"+n.p2,o=function s(a,l,u,c,m){var g=s.tween,_=l.onComplete,C={};u=u||t();var y=db(t,u,function(){g.kill(),s.tween=0});return m=c&&m||0,c=c||a-u,g&&g.kill(),l[i]=a,l.inherit=!1,l.modifiers=C,C[i]=function(){return y(u+c*g.ratio+m*g.ratio*g.ratio)},l.onUpdate=function(){Ne.cache++,s.tween&&ho()},l.onComplete=function(){s.tween=0,_&&_.call(g)},g=s.tween=oe.to(e,l),g};return e[i]=t,t.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},vi(e,"wheel",t.wheelHandler),Ee.isTouch&&vi(e,"touchmove",t.wheelHandler),o},Ee=function(){function r(n,t){Na||r.register(oe)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),sm(this),this.init(n,t)}var e=r.prototype;return e.init=function(t,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!gu){this.update=this.refresh=this.kill=Rr;return}t=Vv(Vn(t)||vu(t)||t.nodeType?{trigger:t}:t,Ad);var o=t,s=o.onUpdate,a=o.toggleClass,l=o.id,u=o.onToggle,c=o.onRefresh,m=o.scrub,g=o.trigger,_=o.pin,C=o.pinSpacing,y=o.invalidateOnRefresh,x=o.anticipatePin,A=o.onScrubComplete,k=o.onSnapComplete,F=o.once,M=o.snap,L=o.pinReparent,j=o.pinSpacer,R=o.containerAnimation,W=o.fastScrollEnd,B=o.preventOverlaps,H=t.horizontal||t.containerAnimation&&t.horizontal!==!1?Bi:Jt,be=!m&&m!==0,J=nn(t.scroller||Ye),Se=oe.core.getCache(J),De=Ps(J),je=("pinType"in t?t.pinType:uo(J,"pinType")||De&&"fixed")==="fixed",Ie=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],fe=be&&t.toggleActions.split(" "),$e="markers"in t?t.markers:Ad.markers,ct=De?0:parseFloat(Kn(J)["border"+H.p2+Ba])||0,T=this,Qe=t.onRefreshInit&&function(){return t.onRefreshInit(T)},Ci=z4(J,De,H),Hi=U4(J,De),xt=0,ni=0,Ke=0,ut=lo(J,H),Be,Je,Sn,zt,yi,Re,dt,bt,Ut,P,Di,cn,Wt,Rt,fr,Vr,go,qt,ir,Et,dn,$i,hn,jr,Ft,Qs,gr,_o,vo,An,Br,ke,_r,pn,Gi,Tn,zr,bo,Un;if(T._startClamp=T._endClamp=!1,T._dir=H,x*=45,T.scroller=J,T.scroll=R?R.time.bind(R):ut,zt=ut(),T.vars=t,i=i||t.animation,"refreshPriority"in t&&(qv=1,t.refreshPriority===-9999&&(Su=T)),Se.tweenScroll=Se.tweenScroll||{top:$v(J,Jt),left:$v(J,Bi)},T.tweenTo=Be=Se.tweenScroll[H.p],T.scrubDuration=function(ee){_r=vu(ee)&&ee,_r?ke?ke.duration(ee):ke=oe.to(i,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:_r,paused:!0,onComplete:function(){return A&&A(T)}}):(ke&&ke.progress(1).kill(),ke=0)},i&&(i.vars.lazy=!1,i._initted&&!T.isReverted||i.vars.immediateRender!==!1&&t.immediateRender!==!1&&i.duration()&&i.render(0,!0,!0),T.animation=i.pause(),i.scrollTrigger=T,T.scrubDuration(m),An=0,l||(l=i.vars.id)),M&&((!Os(M)||M.push)&&(M={snapTo:M}),"scrollBehavior"in wt.style&&oe.set(De?[wt,dr]:J,{scrollBehavior:"auto"}),Ne.forEach(function(ee){return an(ee)&&ee.target===(De?Pt.scrollingElement||dr:J)&&(ee.smooth=!1)}),Sn=an(M.snapTo)?M.snapTo:M.snapTo==="labels"?H4(i):M.snapTo==="labelsDirectional"?$4(i):M.directional!==!1?function(ee,xe){return gm(M.snapTo)(ee,Ui()-ni<500?0:xe.direction)}:oe.utils.snap(M.snapTo),pn=M.duration||{min:.1,max:2},pn=Os(pn)?Cu(pn.min,pn.max):Cu(pn,pn),Gi=oe.delayedCall(M.delay||_r/2||.1,function(){var ee=ut(),xe=Ui()-ni<500,ce=Be.tween;if((xe||Math.abs(T.getVelocity())<10)&&!ce&&!Bd&&xt!==ee){var Ce=(ee-Re)/Rt,Qt=i&&!be?i.totalProgress():Ce,Fe=xe?0:(Qt-Br)/(Ui()-fu)*1e3||0,Ot=oe.utils.clamp(-Ce,1-Ce,Ra(Fe/2)*Fe/.185),ri=Ce+(M.inertia===!1?0:Ot),Ct,ht,it=M,Yi=it.onStart,et=it.onInterrupt,oi=it.onComplete;if(Ct=Sn(ri,T),vu(Ct)||(Ct=ri),ht=Math.round(Re+Ct*Rt),ee<=dt&&ee>=Re&&ht!==ee){if(ce&&!ce._initted&&ce.data<=Ra(ht-ee))return;M.inertia===!1&&(Ot=Ct-Ce),Be(ht,{duration:pn(Ra(Math.max(Ra(ri-Qt),Ra(Ct-Qt))*.185/Fe/.05||0)),ease:M.ease||"power3",data:Ra(ht-ee),onInterrupt:function(){return Gi.restart(!0)&&et&&et(T)},onComplete:function(){T.update(),xt=ut(),i&&(ke?ke.resetTo("totalProgress",Ct,i._tTime/i._tDur):i.progress(Ct)),An=Br=i&&!be?i.totalProgress():T.progress,k&&k(T),oi&&oi(T)}},ee,Ot*Rt,ht-ee-Ot*Rt),Yi&&Yi(T,Be.tween)}}else T.isActive&&xt!==ee&&Gi.restart(!0)}).pause()),l&&(lm[l]=T),g=T.trigger=nn(g||_!==!0&&_),Un=g&&g._gsap&&g._gsap.stRevert,Un&&(Un=Un(T)),_=_===!0?g:nn(_),Vn(a)&&(a={targets:g,className:a}),_&&(C===!1||C===Qn||(C=!C&&_.parentNode&&_.parentNode.style&&Kn(_.parentNode).display==="flex"?!1:ei),T.pin=_,Je=oe.core.getCache(_),Je.spacer?fr=Je.pinState:(j&&(j=nn(j),j&&!j.nodeType&&(j=j.current||j.nativeElement),Je.spacerIsNative=!!j,j&&(Je.spacerState=Od(j))),Je.spacer=qt=j||Pt.createElement("div"),qt.classList.add("pin-spacer"),l&&qt.classList.add("pin-spacer-"+l),Je.pinState=fr=Od(_)),t.force3D!==!1&&oe.set(_,{force3D:!0}),T.spacer=qt=Je.spacer,vo=Kn(_),jr=vo[C+H.os2],Et=oe.getProperty(_),dn=oe.quickSetter(_,H.a,ui),im(_,qt,vo),go=Od(_)),$e){cn=Os($e)?Vv($e,jv):jv,P=Td("scroller-start",l,J,H,cn,0),Di=Td("scroller-end",l,J,H,cn,0,P),ir=P["offset"+H.op.d2];var ns=nn(uo(J,"content")||J);bt=this.markerStart=Td("start",l,ns,H,cn,ir,0,R),Ut=this.markerEnd=Td("end",l,ns,H,cn,ir,0,R),R&&(bo=oe.quickSetter([bt,Ut],H.a,ui)),!je&&!(cr.length&&uo(J,"fixedMarkers")===!0)&&(W4(De?wt:J),oe.set([P,Di],{force3D:!0}),Qs=oe.quickSetter(P,H.a,ui),_o=oe.quickSetter(Di,H.a,ui))}if(R){var we=R.vars.onUpdate,me=R.vars.onUpdateParams;R.eventCallback("onUpdate",function(){T.update(0,0,1),we&&we.apply(R,me||[])})}if(T.previous=function(){return Le[Le.indexOf(T)-1]},T.next=function(){return Le[Le.indexOf(T)+1]},T.revert=function(ee,xe){if(!xe)return T.kill(!0);var ce=ee!==!1||!T.enabled,Ce=zi;ce!==T.isReverted&&(ce&&(Tn=Math.max(ut(),T.scroll.rec||0),Ke=T.progress,zr=i&&i.progress()),bt&&[bt,Ut,P,Di].forEach(function(Qt){return Qt.style.display=ce?"none":"block"}),ce&&(zi=T,T.update(ce)),_&&(!L||!T.isActive)&&(ce?X4(_,qt,fr):im(_,qt,Kn(_),Ft)),ce||T.update(ce),zi=Ce,T.isReverted=ce)},T.refresh=function(ee,xe,ce,Ce){if(!((zi||!T.enabled)&&!xe)){if(_&&ee&&Jn){vi(r,"scrollEnd",ab);return}!sn&&Qe&&Qe(T),zi=T,Be.tween&&!ce&&(Be.tween.kill(),Be.tween=0),ke&&ke.pause(),y&&i&&i.revert({kill:!1}).invalidate(),T.isReverted||T.revert(!0,!0),T._subPinOffset=!1;var Qt=Ci(),Fe=Hi(),Ot=R?R.duration():Fr(J,H),ri=Rt<=.01,Ct=0,ht=Ce||0,it=Os(ce)?ce.end:t.end,Yi=t.endTrigger||g,et=Os(ce)?ce.start:t.start||(t.start===0||!g?0:_?"0 0":"0 100%"),oi=T.pinnedContainer=t.pinnedContainer&&nn(t.pinnedContainer,T),Ii=g&&Math.max(0,Le.indexOf(T))||0,Nt=Ii,Ht,di,Ur,Wr,at,ft,si,On,Co,ki,Kt,yo,rs;for($e&&Os(ce)&&(yo=oe.getProperty(P,H.p),rs=oe.getProperty(Di,H.p));Nt--;)ft=Le[Nt],ft.end||ft.refresh(0,1)||(zi=T),si=ft.pin,si&&(si===g||si===_||si===oi)&&!ft.isReverted&&(ki||(ki=[]),ki.unshift(ft),ft.revert(!0,!0)),ft!==Le[Nt]&&(Ii--,Nt--);for(an(et)&&(et=et(T)),et=Rv(et,"start",T),Re=Wv(et,g,Qt,H,ut(),bt,P,T,Fe,ct,je,Ot,R,T._startClamp&&"_startClamp")||(_?-.001:0),an(it)&&(it=it(T)),Vn(it)&&!it.indexOf("+=")&&(~it.indexOf(" ")?it=(Vn(et)?et.split(" ")[0]:"")+it:(Ct=Id(it.substr(2),Qt),it=Vn(et)?et:(R?oe.utils.mapRange(0,R.duration(),R.scrollTrigger.start,R.scrollTrigger.end,Re):Re)+Ct,Yi=g)),it=Rv(it,"end",T),dt=Math.max(Re,Wv(it||(Yi?"100% 0":Ot),Yi,Qt,H,ut()+Ct,Ut,Di,T,Fe,ct,je,Ot,R,T._endClamp&&"_endClamp"))||-.001,Ct=0,Nt=Ii;Nt--;)ft=Le[Nt],si=ft.pin,si&&ft.start-ft._pinPush<=Re&&!R&&ft.end>0&&(Ht=ft.end-(T._startClamp?Math.max(0,ft.start):ft.start),(si===g&&ft.start-ft._pinPush<Re||si===oi)&&isNaN(et)&&(Ct+=Ht*(1-ft.progress)),si===_&&(ht+=Ht));if(Re+=Ct,dt+=Ct,T._startClamp&&(T._startClamp+=Ct),T._endClamp&&!sn&&(T._endClamp=dt||-.001,dt=Math.min(dt,Fr(J,H))),Rt=dt-Re||(Re-=.01)&&.001,ri&&(Ke=oe.utils.clamp(0,1,oe.utils.normalize(Re,dt,Tn))),T._pinPush=ht,bt&&Ct&&(Ht={},Ht[H.a]="+="+Ct,oi&&(Ht[H.p]="-="+ut()),oe.set([bt,Ut],Ht)),_&&!(am&&T.end>=Fr(J,H)))Ht=Kn(_),Wr=H===Jt,Ur=ut(),$i=parseFloat(Et(H.a))+ht,!Ot&&dt>1&&(Kt=(De?Pt.scrollingElement||dr:J).style,Kt={style:Kt,value:Kt["overflow"+H.a.toUpperCase()]},De&&Kn(wt)["overflow"+H.a.toUpperCase()]!=="scroll"&&(Kt.style["overflow"+H.a.toUpperCase()]="scroll")),im(_,qt,Ht),go=Od(_),di=co(_,!0),On=je&&lo(J,Wr?Bi:Jt)(),C?(Ft=[C+H.os2,Rt+ht+ui],Ft.t=qt,Nt=C===ei?Vd(_,H)+Rt+ht:0,Nt&&(Ft.push(H.d,Nt+ui),qt.style.flexBasis!=="auto"&&(qt.style.flexBasis=Nt+ui)),ja(Ft),oi&&Le.forEach(function(vr){vr.pin===oi&&vr.vars.pinSpacing!==!1&&(vr._subPinOffset=!0)}),je&&ut(Tn)):(Nt=Vd(_,H),Nt&&qt.style.flexBasis!=="auto"&&(qt.style.flexBasis=Nt+ui)),je&&(at={top:di.top+(Wr?Ur-Re:On)+ui,left:di.left+(Wr?On:Ur-Re)+ui,boxSizing:"border-box",position:"fixed"},at[Ds]=at["max"+Ba]=Math.ceil(di.width)+ui,at[Is]=at["max"+fm]=Math.ceil(di.height)+ui,at[Qn]=at[Qn+xu]=at[Qn+yu]=at[Qn+Eu]=at[Qn+wu]="0",at[ei]=Ht[ei],at[ei+xu]=Ht[ei+xu],at[ei+yu]=Ht[ei+yu],at[ei+Eu]=Ht[ei+Eu],at[ei+wu]=Ht[ei+wu],Vr=q4(fr,at,L),sn&&ut(0)),i?(Co=i._initted,Qp(1),i.render(i.duration(),!0,!0),hn=Et(H.a)-$i+Rt+ht,gr=Math.abs(Rt-hn)>1,je&&gr&&Vr.splice(Vr.length-2,2),i.render(0,!0,!0),Co||i.invalidate(!0),i.parent||i.totalTime(i.totalTime()),Qp(0)):hn=Rt,Kt&&(Kt.value?Kt.style["overflow"+H.a.toUpperCase()]=Kt.value:Kt.style.removeProperty("overflow-"+H.a));else if(g&&ut()&&!R)for(di=g.parentNode;di&&di!==wt;)di._pinOffset&&(Re-=di._pinOffset,dt-=di._pinOffset),di=di.parentNode;ki&&ki.forEach(function(vr){return vr.revert(!1,!0)}),T.start=Re,T.end=dt,zt=yi=sn?Tn:ut(),!R&&!sn&&(zt<Tn&&ut(Tn),T.scroll.rec=0),T.revert(!1,!0),ni=Ui(),Gi&&(xt=-1,Gi.restart(!0)),zi=0,i&&be&&(i._initted||zr)&&i.progress()!==zr&&i.progress(zr||0,!0).render(i.time(),!0,!0),(ri||Ke!==T.progress||R||y)&&(i&&!be&&i.totalProgress(R&&Re<-.001&&!Ke?oe.utils.normalize(Re,dt,0):Ke,!0),T.progress=ri||(zt-Re)/Rt===Ke?0:Ke),_&&C&&(qt._pinOffset=Math.round(T.progress*hn)),ke&&ke.invalidate(),isNaN(yo)||(yo-=oe.getProperty(P,H.p),rs-=oe.getProperty(Di,H.p),Md(P,H,yo),Md(bt,H,yo-(Ce||0)),Md(Di,H,rs),Md(Ut,H,rs-(Ce||0))),ri&&!sn&&T.update(),c&&!sn&&!Wt&&(Wt=!0,c(T),Wt=!1)}},T.getVelocity=function(){return(ut()-yi)/(Ui()-fu)*1e3||0},T.endAnimation=function(){mu(T.callbackAnimation),i&&(ke?ke.progress(1):i.paused()?be||mu(i,T.direction<0,1):mu(i,i.reversed()))},T.labelToScroll=function(ee){return i&&i.labels&&(Re||T.refresh()||Re)+i.labels[ee]/i.duration()*Rt||0},T.getTrailing=function(ee){var xe=Le.indexOf(T),ce=T.direction>0?Le.slice(0,xe).reverse():Le.slice(xe+1);return(Vn(ee)?ce.filter(function(Ce){return Ce.vars.preventOverlaps===ee}):ce).filter(function(Ce){return T.direction>0?Ce.end<=Re:Ce.start>=dt})},T.update=function(ee,xe,ce){if(!(R&&!ce&&!ee)){var Ce=sn===!0?Tn:T.scroll(),Qt=ee?0:(Ce-Re)/Rt,Fe=Qt<0?0:Qt>1?1:Qt||0,Ot=T.progress,ri,Ct,ht,it,Yi,et,oi,Ii;if(xe&&(yi=zt,zt=R?ut():Ce,M&&(Br=An,An=i&&!be?i.totalProgress():Fe)),x&&_&&!zi&&!wd&&Jn&&(!Fe&&Re<Ce+(Ce-yi)/(Ui()-fu)*x?Fe=1e-4:Fe===1&&dt>Ce+(Ce-yi)/(Ui()-fu)*x&&(Fe=.9999)),Fe!==Ot&&T.enabled){if(ri=T.isActive=!!Fe&&Fe<1,Ct=!!Ot&&Ot<1,et=ri!==Ct,Yi=et||!!Fe!=!!Ot,T.direction=Fe>Ot?1:-1,T.progress=Fe,Yi&&!zi&&(ht=Fe&&!Ot?0:Fe===1?1:Ot===1?2:3,be&&(it=!et&&fe[ht+1]!=="none"&&fe[ht+1]||fe[ht],Ii=i&&(it==="complete"||it==="reset"||it in i))),B&&(et||Ii)&&(Ii||m||!i)&&(an(B)?B(T):T.getTrailing(B).forEach(function(Ur){return Ur.endAnimation()})),be||(ke&&!zi&&!wd?(ke._dp._time-ke._start!==ke._time&&ke.render(ke._dp._time-ke._start),ke.resetTo?ke.resetTo("totalProgress",Fe,i._tTime/i._tDur):(ke.vars.totalProgress=Fe,ke.invalidate().restart())):i&&i.totalProgress(Fe,!!(zi&&(ni||ee)))),_){if(ee&&C&&(qt.style[C+H.os2]=jr),!je)dn(_u($i+hn*Fe));else if(Yi){if(oi=!ee&&Fe>Ot&&dt+1>Ce&&Ce+1>=Fr(J,H),L)if(!ee&&(ri||oi)){var Nt=co(_,!0),Ht=Ce-Re;Hv(_,wt,Nt.top+(H===Jt?Ht:0)+ui,Nt.left+(H===Jt?0:Ht)+ui)}else Hv(_,qt);ja(ri||oi?Vr:go),gr&&Fe<1&&ri||dn($i+(Fe===1&&!oi?hn:0))}}M&&!Be.tween&&!zi&&!wd&&Gi.restart(!0),a&&(et||F&&Fe&&(Fe<1||!Kp))&&Au(a.targets).forEach(function(Ur){return Ur.classList[ri||F?"add":"remove"](a.className)}),s&&!be&&!ee&&s(T),Yi&&!zi?(be&&(Ii&&(it==="complete"?i.pause().totalProgress(1):it==="reset"?i.restart(!0).pause():it==="restart"?i.restart(!0):i[it]()),s&&s(T)),(et||!Kp)&&(u&&et&&em(T,u),Ie[ht]&&em(T,Ie[ht]),F&&(Fe===1?T.kill(!1,1):Ie[ht]=0),et||(ht=Fe===1?1:3,Ie[ht]&&em(T,Ie[ht]))),W&&!ri&&Math.abs(T.getVelocity())>(vu(W)?W:2500)&&(mu(T.callbackAnimation),ke?ke.progress(1):mu(i,it==="reverse"?1:!Fe,1))):be&&s&&!zi&&s(T)}if(_o){var di=R?Ce/R.duration()*(R._caScrollDist||0):Ce;Qs(di+(P._isFlipped?1:0)),_o(di)}bo&&bo(-Ce/R.duration()*(R._caScrollDist||0))}},T.enable=function(ee,xe){T.enabled||(T.enabled=!0,vi(J,"resize",bu),De||vi(J,"scroll",Fa),Qe&&vi(r,"refreshInit",Qe),ee!==!1&&(T.progress=Ke=0,zt=yi=xt=ut()),xe!==!1&&T.refresh())},T.getTween=function(ee){return ee&&Be?Be.tween:ke},T.setPositions=function(ee,xe,ce,Ce){if(R){var Qt=R.scrollTrigger,Fe=R.duration(),Ot=Qt.end-Qt.start;ee=Qt.start+Ot*ee/Fe,xe=Qt.start+Ot*xe/Fe}T.refresh(!1,!1,{start:Fv(ee,ce&&!!T._startClamp),end:Fv(xe,ce&&!!T._endClamp)},Ce),T.update()},T.adjustPinSpacing=function(ee){if(Ft&&ee){var xe=Ft.indexOf(H.d)+1;Ft[xe]=parseFloat(Ft[xe])+ee+ui,Ft[1]=parseFloat(Ft[1])+ee+ui,ja(Ft)}},T.disable=function(ee,xe){if(T.enabled&&(ee!==!1&&T.revert(!0,!0),T.enabled=T.isActive=!1,xe||ke&&ke.pause(),Tn=0,Je&&(Je.uncache=1),Qe&&_i(r,"refreshInit",Qe),Gi&&(Gi.pause(),Be.tween&&Be.tween.kill()&&(Be.tween=0)),!De)){for(var ce=Le.length;ce--;)if(Le[ce].scroller===J&&Le[ce]!==T)return;_i(J,"resize",bu),De||_i(J,"scroll",Fa)}},T.kill=function(ee,xe){T.disable(ee,xe),ke&&!xe&&ke.kill(),l&&delete lm[l];var ce=Le.indexOf(T);ce>=0&&Le.splice(ce,1),ce===on&&Pd>0&&on--,ce=0,Le.forEach(function(Ce){return Ce.scroller===T.scroller&&(ce=1)}),ce||sn||(T.scroll.rec=0),i&&(i.scrollTrigger=null,ee&&i.revert({kill:!1}),xe||i.kill()),bt&&[bt,Ut,P,Di].forEach(function(Ce){return Ce.parentNode&&Ce.parentNode.removeChild(Ce)}),Su===T&&(Su=0),_&&(Je&&(Je.uncache=1),ce=0,Le.forEach(function(Ce){return Ce.pin===_&&ce++}),ce||(Je.spacer=0)),t.onKill&&t.onKill(T)},Le.push(T),T.enable(!1,!1),Un&&Un(T),i&&i.add&&!Rt){var ze=T.update;T.update=function(){T.update=ze,Re||dt||T.refresh()},oe.delayedCall(.01,T.update),Rt=.01,Re=dt=0}else T.refresh();_&&Y4()},r.register=function(t){return Na||(oe=t||tb(),eb()&&window.document&&r.enable(),Na=gu),Na},r.defaults=function(t){if(t)for(var i in t)Ad[i]=t[i];return Ad},r.disable=function(t,i){gu=0,Le.forEach(function(s){return s[i?"kill":"disable"](t)}),_i(Ye,"wheel",Fa),_i(Pt,"scroll",Fa),clearInterval(yd),_i(Pt,"touchcancel",Rr),_i(wt,"touchstart",Rr),Ed(_i,Pt,"pointerdown,touchstart,mousedown",Nv),Ed(_i,Pt,"pointerup,touchend,mouseup",Lv),Nd.kill(),xd(_i);for(var o=0;o<Ne.length;o+=3)Sd(_i,Ne[o],Ne[o+1]),Sd(_i,Ne[o],Ne[o+2])},r.enable=function(){if(Ye=window,Pt=document,dr=Pt.documentElement,wt=Pt.body,oe&&(Au=oe.utils.toArray,Cu=oe.utils.clamp,sm=oe.core.context||Rr,Qp=oe.core.suppressOverwrites||Rr,dm=Ye.history.scrollRestoration||"auto",um=Ye.pageYOffset,oe.core.globals("ScrollTrigger",r),wt)){gu=1,Va=document.createElement("div"),Va.style.height="100vh",Va.style.position="absolute",cb(),B4(),Bt.register(oe),r.isTouch=Bt.isTouch,$o=Bt.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),om=Bt.isTouch===1,vi(Ye,"wheel",Fa),Zv=[Ye,Pt,dr,wt],oe.matchMedia?(r.matchMedia=function(l){var u=oe.matchMedia(),c;for(c in l)u.add(c,l[c]);return u},oe.addEventListener("matchMediaInit",function(){return _m()}),oe.addEventListener("matchMediaRevert",function(){return lb()}),oe.addEventListener("matchMedia",function(){Ms(0,1),Fs("matchMedia")}),oe.matchMedia("(orientation: portrait)",function(){return tm(),tm})):console.warn("Requires GSAP 3.11.0 or later"),tm(),vi(Pt,"scroll",Fa);var t=wt.style,i=t.borderTopStyle,o=oe.core.Animation.prototype,s,a;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),t.borderTopStyle="solid",s=co(wt),Jt.m=Math.round(s.top+Jt.sc())||0,Bi.m=Math.round(s.left+Bi.sc())||0,i?t.borderTopStyle=i:t.removeProperty("border-top-style"),yd=setInterval(Bv,250),oe.delayedCall(.5,function(){return wd=0}),vi(Pt,"touchcancel",Rr),vi(wt,"touchstart",Rr),Ed(vi,Pt,"pointerdown,touchstart,mousedown",Nv),Ed(vi,Pt,"pointerup,touchend,mouseup",Lv),rm=oe.utils.checkPrefix("transform"),Rd.push(rm),Na=Ui(),Nd=oe.delayedCall(.2,Ms).pause(),La=[Pt,"visibilitychange",function(){var l=Ye.innerWidth,u=Ye.innerHeight;Pt.hidden?(kv=l,Pv=u):(kv!==l||Pv!==u)&&bu()},Pt,"DOMContentLoaded",Ms,Ye,"load",Ms,Ye,"resize",bu],xd(vi),Le.forEach(function(l){return l.enable(0,1)}),a=0;a<Ne.length;a+=3)Sd(_i,Ne[a],Ne[a+1]),Sd(_i,Ne[a],Ne[a+2])}},r.config=function(t){"limitCallbacks"in t&&(Kp=!!t.limitCallbacks);var i=t.syncInterval;i&&clearInterval(yd)||(yd=i)&&setInterval(Bv,i),"ignoreMobileResize"in t&&(om=r.isTouch===1&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(xd(_i)||xd(vi,t.autoRefreshEvents||"none"),Qv=(t.autoRefreshEvents+"").indexOf("resize")===-1)},r.scrollerProxy=function(t,i){var o=nn(t),s=Ne.indexOf(o),a=Ps(o);~s&&Ne.splice(s,a?6:2),i&&(a?cr.unshift(Ye,i,wt,i,dr,i):cr.unshift(o,i))},r.clearMatchMedia=function(t){Le.forEach(function(i){return i._ctx&&i._ctx.query===t&&i._ctx.kill(!0,!0)})},r.isInViewport=function(t,i,o){var s=(Vn(t)?nn(t):t).getBoundingClientRect(),a=s[o?Ds:Is]*i||0;return o?s.right-a>0&&s.left+a<Ye.innerWidth:s.bottom-a>0&&s.top+a<Ye.innerHeight},r.positionInViewport=function(t,i,o){Vn(t)&&(t=nn(t));var s=t.getBoundingClientRect(),a=s[o?Ds:Is],l=i==null?a/2:i in jd?jd[i]*a:~i.indexOf("%")?parseFloat(i)*a/100:parseFloat(i)||0;return o?(s.left+l)/Ye.innerWidth:(s.top+l)/Ye.innerHeight},r.killAll=function(t){if(Le.slice(0).forEach(function(o){return o.vars.id!=="ScrollSmoother"&&o.kill()}),t!==!0){var i=Rs.killAll||[];Rs={},i.forEach(function(o){return o()})}},r}();Ee.version="3.12.5";Ee.saveStyles=function(r){return r?Au(r).forEach(function(e){if(e&&e.style){var n=Ln.indexOf(e);n>=0&&Ln.splice(n,5),Ln.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),oe.core.getCache(e),sm())}}):Ln};Ee.revert=function(r,e){return _m(!r,e)};Ee.create=function(r,e){return new Ee(r,e)};Ee.refresh=function(r){return r?bu():(Na||Ee.register())&&Ms(!0)};Ee.update=function(r){return++Ne.cache&&ho(r===!0?2:0)};Ee.clearScrollMemory=ub;Ee.maxScroll=function(r,e){return Fr(r,e?Bi:Jt)};Ee.getScrollFunc=function(r,e){return lo(nn(r),e?Bi:Jt)};Ee.getById=function(r){return lm[r]};Ee.getAll=function(){return Le.filter(function(r){return r.vars.id!=="ScrollSmoother"})};Ee.isScrolling=function(){return!!Jn};Ee.snapDirectional=gm;Ee.addEventListener=function(r,e){var n=Rs[r]||(Rs[r]=[]);~n.indexOf(e)||n.push(e)};Ee.removeEventListener=function(r,e){var n=Rs[r],t=n&&n.indexOf(e);t>=0&&n.splice(t,1)};Ee.batch=function(r,e){var n=[],t={},i=e.interval||.016,o=e.batchMax||1e9,s=function(u,c){var m=[],g=[],_=oe.delayedCall(i,function(){c(m,g),m=[],g=[]}).pause();return function(C){m.length||_.restart(!0),m.push(C.trigger),g.push(C),o<=m.length&&_.progress(1)}},a;for(a in e)t[a]=a.substr(0,2)==="on"&&an(e[a])&&a!=="onRefreshInit"?s(a,e[a]):e[a];return an(o)&&(o=o(),vi(Ee,"refresh",function(){return o=e.batchMax()})),Au(r).forEach(function(l){var u={};for(a in t)u[a]=t[a];u.trigger=l,n.push(Ee.create(u))}),n};var Gv=function(e,n,t,i){return n>i?e(i):n<0&&e(0),t>i?(i-n)/(t-n):t<0?n/(n-t):1},nm=function r(e,n){n===!0?e.style.removeProperty("touch-action"):e.style.touchAction=n===!0?"auto":n?"pan-"+n+(Bt.isTouch?" pinch-zoom":""):"none",e===dr&&r(wt,n)},Dd={auto:1,scroll:1},K4=function(e){var n=e.event,t=e.target,i=e.axis,o=(n.changedTouches?n.changedTouches[0]:n).target,s=o._gsap||oe.core.getCache(o),a=Ui(),l;if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==wt&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!(Dd[(l=Kn(o)).overflowY]||Dd[l.overflowX]));)o=o.parentNode;s._isScroll=o&&o!==t&&!Ps(o)&&(Dd[(l=Kn(o)).overflowY]||Dd[l.overflowX]),s._isScrollT=a}(s._isScroll||i==="x")&&(n.stopPropagation(),n._gsapAllow=!0)},hb=function(e,n,t,i){return Bt.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:n,onWheel:i=i&&K4,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return t&&vi(Pt,Bt.eventTypes[0],Xv,!1,!0)},onDisable:function(){return _i(Pt,Bt.eventTypes[0],Xv,!0)}})},J4=/(input|label|select|textarea)/i,Yv,Xv=function(e){var n=J4.test(e.target.tagName);(n||Yv)&&(e._gsapAllow=!0,Yv=n)},eE=function(e){Os(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var n=e,t=n.normalizeScrollX,i=n.momentum,o=n.allowNestedScroll,s=n.onRelease,a,l,u=nn(e.target)||dr,c=oe.core.globals().ScrollSmoother,m=c&&c.get(),g=$o&&(e.content&&nn(e.content)||m&&e.content!==!1&&!m.smooth()&&m.content()),_=lo(u,Jt),C=lo(u,Bi),y=1,x=(Bt.isTouch&&Ye.visualViewport?Ye.visualViewport.scale*Ye.visualViewport.width:Ye.outerWidth)/Ye.innerWidth,A=0,k=an(i)?function(){return i(a)}:function(){return i||2.8},F,M,L=hb(u,e.type,!0,o),j=function(){return M=!1},R=Rr,W=Rr,B=function(){l=Fr(u,Jt),W=Cu($o?1:0,l),t&&(R=Cu(0,Fr(u,Bi))),F=ks},H=function(){g._gsap.y=_u(parseFloat(g._gsap.y)+_.offset)+"px",g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(g._gsap.y)+", 0, 1)",_.offset=_.cacheID=0},be=function(){if(M){requestAnimationFrame(j);var $e=_u(a.deltaY/2),ct=W(_.v-$e);if(g&&ct!==_.v+_.offset){_.offset=ct-_.v;var T=_u((parseFloat(g&&g._gsap.y)||0)-_.offset);g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+T+", 0, 1)",g._gsap.y=T+"px",_.cacheID=Ne.cache,ho()}return!0}_.offset&&H(),M=!0},J,Se,De,je,Ie=function(){B(),J.isActive()&&J.vars.scrollY>l&&(_()>l?J.progress(1)&&_(l):J.resetTo("scrollY",l))};return g&&oe.set(g,{y:"+=0"}),e.ignoreCheck=function(fe){return $o&&fe.type==="touchmove"&&be(fe)||y>1.05&&fe.type!=="touchstart"||a.isGesturing||fe.touches&&fe.touches.length>1},e.onPress=function(){M=!1;var fe=y;y=_u((Ye.visualViewport&&Ye.visualViewport.scale||1)/x),J.pause(),fe!==y&&nm(u,y>1.01?!0:t?!1:"x"),Se=C(),De=_(),B(),F=ks},e.onRelease=e.onGestureStart=function(fe,$e){if(_.offset&&H(),!$e)je.restart(!0);else{Ne.cache++;var ct=k(),T,Qe;t&&(T=C(),Qe=T+ct*.05*-fe.velocityX/.227,ct*=Gv(C,T,Qe,Fr(u,Bi)),J.vars.scrollX=R(Qe)),T=_(),Qe=T+ct*.05*-fe.velocityY/.227,ct*=Gv(_,T,Qe,Fr(u,Jt)),J.vars.scrollY=W(Qe),J.invalidate().duration(ct).play(.01),($o&&J.vars.scrollY>=l||T>=l-1)&&oe.to({},{onUpdate:Ie,duration:ct})}s&&s(fe)},e.onWheel=function(){J._ts&&J.pause(),Ui()-A>1e3&&(F=0,A=Ui())},e.onChange=function(fe,$e,ct,T,Qe){if(ks!==F&&B(),$e&&t&&C(R(T[2]===$e?Se+(fe.startX-fe.x):C()+$e-T[1])),ct){_.offset&&H();var Ci=Qe[2]===ct,Hi=Ci?De+fe.startY-fe.y:_()+ct-Qe[1],xt=W(Hi);Ci&&Hi!==xt&&(De+=xt-Hi),_(xt)}(ct||$e)&&ho()},e.onEnable=function(){nm(u,t?!1:"x"),Ee.addEventListener("refresh",Ie),vi(Ye,"resize",Ie),_.smooth&&(_.target.style.scrollBehavior="auto",_.smooth=C.smooth=!1),L.enable()},e.onDisable=function(){nm(u,!0),_i(Ye,"resize",Ie),Ee.removeEventListener("refresh",Ie),L.kill()},e.lockAxis=e.lockAxis!==!1,a=new Bt(e),a.iOS=$o,$o&&!_()&&_(1),$o&&oe.ticker.add(Rr),je=a._dc,J=oe.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:t?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:db(_,_(),function(){return J.pause()})},onUpdate:ho,onComplete:je.vars.onComplete}),a};Ee.sort=function(r){return Le.sort(r||function(e,n){return(e.vars.refreshPriority||0)*-1e6+e.start-(n.start+(n.vars.refreshPriority||0)*-1e6)})};Ee.observe=function(r){return new Bt(r)};Ee.normalizeScroll=function(r){if(typeof r>"u")return rn;if(r===!0&&rn)return rn.enable();if(r===!1){rn&&rn.kill(),rn=r;return}var e=r instanceof Bt?r:eE(r);return rn&&rn.target===e.target&&rn.kill(),Ps(e.target)&&(rn=e),e};Ee.core={_getVelocityProp:Cd,_inputObserver:hb,_scrollers:Ne,_proxies:cr,bridge:{ss:function(){Jn||Fs("scrollStart"),Jn=Ui()},ref:function(){return zi}}};tb()&&oe.registerPlugin(Ee);var ci={production:!0,apiHost:"https://simurghnameh.com",apiBase1:"https://simurghnameh.com/simurgh/manager/api/v1",apiBase2:"https://simurghnameh.com/api/v2",apiBase3:"https://simurghnameh.com/api/v3"};var pb=(()=>{let e=class e{constructor(t){this.httpClient=t,this.credentials={},this.loggedIn=new Vf}login(t,i,o){return t===void 0&&(t=this.credentials.username,i=this.credentials.password,o=!1),this.httpClient.post(`${ci.apiBase1}/session`,{username:t,password:i}).pipe(te(s=>s?.data?.token?(this.credentials={username:t,password:i,token:s.data.token},this.loggedIn.next(!0),o&&this.saveCredentials(),!0):!1),Mt(s=>G(!1)))}ping(){let t=rr(()=>Cr(this,null,function*(){return(!this.credentials.username||!this.credentials.password)&&(yield this.loadCredentials()),!!this.credentials.username&&!!this.credentials.password})),i=this.httpClient.get(`${ci.apiBase1}/categories`,{headers:{Authorization:"Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJJZCI6IjljOTZmNzcwLTg0NzEtNDIzMS04YThlLTY5YjVjMjVhNTIyOCIsInN1YiI6ImJhYmFrIiwiZW1haWwiOiJiYWJhayIsImp0aSI6ImMyZDhlNGEyLTVlZjAtNGI4ZS1iOGY4LTM5NWMzZGZlMzVjZiIsIlBpcmFuaGFBZG1pbiI6WyJQaXJhbmhhQWRtaW4iLCJQaXJhbmhhQWRtaW4iLCJQaXJhbmhhQWRtaW4iLCJQaXJhbmhhQWRtaW4iLCJQaXJhbmhhQWRtaW4iXSwiU2ltdXJnaG5hbWVoTWFuaWZlc3RNYW5hZ2VyQWRkU2luZ2xlIjpbIlNpbXVyZ2huYW1laE1hbmlmZXN0TWFuYWdlckFkZFNpbmdsZSIsIlNpbXVyZ2huYW1laE1hbmlmZXN0TWFuYWdlckFkZFNpbmdsZSJdLCJTaW11cmdobmFtZWhNYW5pZmVzdE1hbmFnZXJBZGRHcm91cCI6WyJTaW11cmdobmFtZWhNYW5pZmVzdE1hbmFnZXJBZGRHcm91cCIsIlNpbXVyZ2huYW1laE1hbmlmZXN0TWFuYWdlckFkZEdyb3VwIl0sIlNpbXVyZ2huYW1laE1hbmlmZXN0TWFuYWdlclB1Ymxpc2giOlsiU2ltdXJnaG5hbWVoTWFuaWZlc3RNYW5hZ2VyUHVibGlzaCIsIlNpbXVyZ2huYW1laE1hbmlmZXN0TWFuYWdlclB1Ymxpc2giXSwiU2ltdXJnaG5hbWVoTWFuaWZlc3RNYW5hZ2VyRGVsZXRlIjpbIlNpbXVyZ2huYW1laE1hbmlmZXN0TWFuYWdlckRlbGV0ZSIsIlNpbXVyZ2huYW1laE1hbmlmZXN0TWFuYWdlckRlbGV0ZSJdLCJTaW11cmdobmFtZWhNYW5pZmVzdE1hbmFnZXJFbnJpY2htZW50IjpbIlNpbXVyZ2huYW1laE1hbmlmZXN0TWFuYWdlckVucmljaG1lbnQiLCJTaW11cmdobmFtZWhNYW5pZmVzdE1hbmFnZXJFbnJpY2htZW50Il0sIlNpbXVyZ2huYW1laE1hbmlmZXN0TWFuYWdlciI6WyJTaW11cmdobmFtZWhNYW5pZmVzdE1hbmFnZXIiLCJTaW11cmdobmFtZWhNYW5pZmVzdE1hbmFnZXIiXSwiU2ltdXJnaG5hbWVoTWFuaWZlc3RFZGl0b3IiOlsiU2ltdXJnaG5hbWVoTWFuaWZlc3RFZGl0b3IiLCJTaW11cmdobmFtZWhNYW5pZmVzdEVkaXRvciJdLCJMYW5ndWFnZSI6Ikxhbmd1YWdlIiwiTGFuZ3VhZ2VBZGQiOiJMYW5ndWFnZUFkZCIsIkxhbmd1YWdlRGVsZXRlIjoiTGFuZ3VhZ2VEZWxldGUiLCJMYW5ndWFnZUVkaXQiOiJMYW5ndWFnZUVkaXQiLCJQaXJhbmhhQWxpYXNlcyI6IlBpcmFuaGFBbGlhc2VzIiwiUGlyYW5oYUFsaWFzZXNEZWxldGUiOiJQaXJhbmhhQWxpYXNlc0RlbGV0ZSIsIlBpcmFuaGFBbGlhc2VzRWRpdCI6IlBpcmFuaGFBbGlhc2VzRWRpdCIsIlBpcmFuaGFDb21tZW50cyI6IlBpcmFuaGFDb21tZW50cyIsIlBpcmFuaGFDb21tZW50c0FwcHJvdmUiOiJQaXJhbmhhQ29tbWVudHNBcHByb3ZlIiwiUGlyYW5oYUNvbW1lbnRzRGVsZXRlIjoiUGlyYW5oYUNvbW1lbnRzRGVsZXRlIiwiUGlyYW5oYUNvbmZpZyI6IlBpcmFuaGFDb25maWciLCJQaXJhbmhhQ29uZmlnRWRpdCI6IlBpcmFuaGFDb25maWdFZGl0IiwiUGlyYW5oYUNvbnRlbnQiOiJQaXJhbmhhQ29udGVudCIsIlBpcmFuaGFDb250ZW50QWRkIjoiUGlyYW5oYUNvbnRlbnRBZGQiLCJQaXJhbmhhQ29udGVudERlbGV0ZSI6IlBpcmFuaGFDb250ZW50RGVsZXRlIiwiUGlyYW5oYUNvbnRlbnRFZGl0IjoiUGlyYW5oYUNvbnRlbnRFZGl0IiwiUGlyYW5oYUNvbnRlbnRTYXZlIjoiUGlyYW5oYUNvbnRlbnRTYXZlIiwiUGlyYW5oYU1lZGlhIjoiUGlyYW5oYU1lZGlhIiwiUGlyYW5oYU1lZGlhQWRkIjoiUGlyYW5oYU1lZGlhQWRkIiwiUGlyYW5oYU1lZGlhQWRkRm9sZGVyIjoiUGlyYW5oYU1lZGlhQWRkRm9sZGVyIiwiUGlyYW5oYU1lZGlhRGVsZXRlIjoiUGlyYW5oYU1lZGlhRGVsZXRlIiwiUGlyYW5oYU1lZGlhRGVsZXRlRm9sZGVyIjoiUGlyYW5oYU1lZGlhRGVsZXRlRm9sZGVyIiwiUGlyYW5oYU1lZGlhRWRpdCI6IlBpcmFuaGFNZWRpYUVkaXQiLCJQaXJhbmhhTW9kdWxlcyI6IlBpcmFuaGFNb2R1bGVzIiwiUGlyYW5oYVBhZ2VQcmV2aWV3IjoiUGlyYW5oYVBhZ2VQcmV2aWV3IiwiUGlyYW5oYVBhZ2VzIjoiUGlyYW5oYVBhZ2VzIiwiUGlyYW5oYVBhZ2VzQWRkIjoiUGlyYW5oYVBhZ2VzQWRkIiwiUGlyYW5oYVBhZ2VzRGVsZXRlIjoiUGlyYW5oYVBhZ2VzRGVsZXRlIiwiUGlyYW5oYVBhZ2VzRWRpdCI6IlBpcmFuaGFQYWdlc0VkaXQiLCJQaXJhbmhhUGFnZXNQdWJsaXNoIjoiUGlyYW5oYVBhZ2VzUHVibGlzaCIsIlBpcmFuaGFQYWdlc1NhdmUiOiJQaXJhbmhhUGFnZXNTYXZlIiwiUGlyYW5oYVBvc3RQcmV2aWV3IjoiUGlyYW5oYVBvc3RQcmV2aWV3IiwiUGlyYW5oYVBvc3RzIjoiUGlyYW5oYVBvc3RzIiwiUGlyYW5oYVBvc3RzQWRkIjoiUGlyYW5oYVBvc3RzQWRkIiwiUGlyYW5oYVBvc3RzRGVsZXRlIjoiUGlyYW5oYVBvc3RzRGVsZXRlIiwiUGlyYW5oYVBvc3RzRWRpdCI6IlBpcmFuaGFQb3N0c0VkaXQiLCJQaXJhbmhhUG9zdHNQdWJsaXNoIjoiUGlyYW5oYVBvc3RzUHVibGlzaCIsIlBpcmFuaGFQb3N0c1NhdmUiOiJQaXJhbmhhUG9zdHNTYXZlIiwiUGlyYW5oYVJvbGVzIjoiUGlyYW5oYVJvbGVzIiwiUGlyYW5oYVJvbGVzQWRkIjoiUGlyYW5oYVJvbGVzQWRkIiwiUGlyYW5oYVJvbGVzRGVsZXRlIjoiUGlyYW5oYVJvbGVzRGVsZXRlIiwiUGlyYW5oYVJvbGVzRWRpdCI6IlBpcmFuaGFSb2xlc0VkaXQiLCJQaXJhbmhhUm9sZXNTYXZlIjoiUGlyYW5oYVJvbGVzU2F2ZSIsIlBpcmFuaGFTaXRlcyI6IlBpcmFuaGFTaXRlcyIsIlBpcmFuaGFTaXRlc0FkZCI6IlBpcmFuaGFTaXRlc0FkZCIsIlBpcmFuaGFTaXRlc0RlbGV0ZSI6IlBpcmFuaGFTaXRlc0RlbGV0ZSIsIlBpcmFuaGFTaXRlc0VkaXQiOiJQaXJhbmhhU2l0ZXNFZGl0IiwiUGlyYW5oYVNpdGVzU2F2ZSI6IlBpcmFuaGFTaXRlc1NhdmUiLCJQaXJhbmhhVXNlcnMiOiJQaXJhbmhhVXNlcnMiLCJQaXJhbmhhVXNlcnNBZGQiOiJQaXJhbmhhVXNlcnNBZGQiLCJQaXJhbmhhVXNlcnNEZWxldGUiOiJQaXJhbmhhVXNlcnNEZWxldGUiLCJQaXJhbmhhVXNlcnNFZGl0IjoiUGlyYW5oYVVzZXJzRWRpdCIsIlBpcmFuaGFVc2Vyc1NhdmUiOiJQaXJhbmhhVXNlcnNTYXZlIiwiU2ltdXJnaG5hbWVoQXVkaXQiOlsiU2ltdXJnaG5hbWVoQXVkaXQiLCJTaW11cmdobmFtZWhBdWRpdCJdLCJTaW11cmdobmFtZWhEYXNoYm9hcmQiOiJTaW11cmdobmFtZWhEYXNoYm9hcmQiLCJTaW11cmdobmFtZWhIZWFsdGhDaGVjayI6IlNpbXVyZ2huYW1laEhlYWx0aENoZWNrIiwiU2ltdXJnaG5hbWVoTWFuaWZlc3RCb29rbWFyayI6IlNpbXVyZ2huYW1laE1hbmlmZXN0Qm9va21hcmsiLCJuYmYiOjE3MDYyOTUwMjIsImV4cCI6MTcwNjM4MTQyMiwiaWF0IjoxNzA2Mjk1MDIyLCJpc3MiOiJhcHAuc2ltdXJnaCIsImF1ZCI6ImFwcC5zaW11cmdoIn0.Naxk556pJiY9-0cWIWypeSF56rFaHolsZs4GX_Nw3vrBkcOzbasy0VvWM5mBdj3S_P_PWW9aqWzwZZ1iHJlUSw"}}).pipe(te(o=>(o?.data&&this.loggedIn.next(!0),!!o?.data)),Mt(o=>G(!1)));return this.credentials.token?i:t.pipe(lt(o=>Bf(()=>o,this.login(),G(!1))))}loadCredentials(){return Cr(this,null,function*(){let t=localStorage.getItem("creds")||"";t&&(t=JSON.parse(t),t={cipherText:t.a,iv:t.b},t=yield this.decrypt(t,"abvd"),t=JSON.parse(t),this.credentials.username=t.username,this.credentials.password=t.password)})}logout(){return this.clearCredentials(),G(!0)}clearCredentials(){this.credentials.password="",this.credentials.username="",this.credentials.token="",localStorage.removeItem("creds")}saveCredentials(){return Cr(this,null,function*(){let t=JSON.stringify({username:this.credentials.username,password:this.credentials.password}),i=yield this.encrypt(t,"abvd");localStorage.setItem("creds",JSON.stringify({a:i.cipherText,b:i.iv}))})}deriveKey(t){return Cr(this,null,function*(){let i={name:"PBKDF2",hash:"SHA-256",salt:new TextEncoder().encode("my-salty-flavour"),iterations:1e3};return crypto.subtle.deriveKey(i,yield crypto.subtle.importKey("raw",new TextEncoder().encode(t),{name:i.name},!1,["deriveKey"]),{name:"AES-GCM",length:256},!1,["encrypt","decrypt"])})}encrypt(t,i){return Cr(this,null,function*(){let o={name:"AES-GCM",length:256,iv:crypto.getRandomValues(new Uint8Array(12))},s=yield crypto.subtle.encrypt(o,yield this.deriveKey(i),new TextEncoder().encode(t)),a=btoa(String.fromCharCode(...new Uint8Array(s))),l=btoa(String.fromCharCode(...o.iv));return{cipherText:a,iv:l}})}decrypt(t,i){return Cr(this,null,function*(){t.cipherText=Uint8Array.from(atob(t.cipherText),s=>s.charCodeAt(0)).buffer,t.iv=Uint8Array.from(atob(t.iv),s=>s.charCodeAt(0));let o={name:"AES-GCM",length:256,iv:t.iv};return new TextDecoder().decode(yield crypto.subtle.decrypt(o,yield this.deriveKey(i),t.cipherText))})}};e.\u0275fac=function(i){return new(i||e)(I(qi))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var jn=(()=>{let e=class e{constructor(t,i){this.httpClient=t,this.authService=i,this.cultures=[]}list(t,i=!1){return!i&&this.cultures.length?(t&&(t.sum=this.cultures.length,t.list=this.cultures),G(!0)):(t&&(t.meta.busyLoading=!0,t.meta.errorLoading=!1),this.httpClient.get(`${ci.apiBase2}/cultures`).pipe(te(o=>{if(o.code||!o.data)return!1;let s=o.data;this.cultures=s.map(a=>new zd(a)),t&&(t.sum=s.length,t.list=this.cultures,t.meta.busyLoading=!1);for(let a of this.cultures)a.name=="en"&&(e.EN=a.id),a.name=="fa"&&(e.FA=a.id);return!0}),Mt(o=>(t&&(t.meta.busyLoading=!1,t.meta.errorLoading=!0),G(!1)))))}};e.EN="",e.FA="",e.\u0275fac=function(i){return new(i||e)(I(qi),I(pb))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var hr=class{constructor(){this.meta={}}absorb(e){if(typeof e=="number"||typeof e=="string"){this.id=e;return}for(let n in e)this[n]=e[n]}},En=class{set page(e){this._page=e,this.offset=this.limit*this._page}get page(){return this._page}constructor(e,n){this.limit=0,this.sum=0,this.totalPages=0,this.offset=0,this.filter="",this.constraints={},this.meta={},this.sort="time",this.order="asc",this.list=[],this._page=0,this.limit=n||this.limit,this.offset=e||this.offset}remove(e){this.list=this.list.filter(n=>n.id!=e.id)}};var za=class extends hr{constructor(e){super(),this.id="",this.internationalName="",this.localName="",this.url="",this.description="",this.coverUrl="",this.cover=0,this.iiifId="",e&&this.absorb(e),/^~\//.exec(e.coverUrl)&&(this.coverUrl=this.coverUrl.replace(/^~/,ci.apiHost))}},Ud=class extends hr{constructor(e){if(super(),this.id="",this.name="",this.localName="",this.listed=!1,this.predefinedValues=[],!e)return;super.absorb(e),e.predefinedValues&&(this.predefinedValues=e.predefinedValues.map(t=>new Mu(t)),this.meta.originalValues=this.predefinedValues.map(t=>t.id));let n={"poetry or prose?":{localName:"\u0634\u0639\u0631 \u06CC\u0627 \u0646\u062B\u0631\u061F",listed:!1},"illustrated or not?":{localName:"\u0645\u0635\u0648\u0651\u0631 \u06CC\u0627 \u063A\u06CC\u0631 \u0645\u0635\u0648\u0651\u0631",listed:!1},description:{localName:"\u062A\u0648\u0636\u06CC\u062D\u0627\u062A",listed:!1},dimensions:{localName:"\u0627\u0628\u0639\u0627\u062F",listed:!1},title:{localName:"\u0639\u0646\u0648\u0627\u0646",listed:!1},"scribe/calligrapher":{localName:"\u062E\u0648\u0634\u0646\u0648\u06CC\u0633 / \u06A9\u0627\u062A\u0628",listed:!1},"place of origin":{localName:"\u0645\u062D\u0644 \u0633\u0627\u062E\u062A",listed:!0},illuminator:{localName:"\u062A\u0632\u06CC\u06CC\u0646\u200C\u06AF\u0631",listed:!1},illustrator:{localName:"\u062A\u0635\u0648\u06CC\u0631\u06AF\u0631",listed:!1},"calligraphy type":{localName:"\u062E\u0637 \u0646\u0633\u062E\u0647",listed:!0},"manuscript language":{localName:"\u0632\u0628\u0627\u0646 \u0646\u0633\u062E\u0647",listed:!0},author:{localName:"\u067E\u062F\u06CC\u062F\u0622\u0648\u0631\u0646\u062F\u0647",listed:!0},dynasty:{localName:"\u0647\u0645\u200C\u0632\u0645\u0627\u0646 \u0628\u0627",listed:!0},topic:{localName:"\u0645\u0648\u0636\u0648\u0639",listed:!0},technique:{localName:"\u062A\u06A9\u0646\u06CC\u06A9 \u0633\u0627\u062E\u062A",listed:!0},"art type":{localName:"\u0631\u0634\u062A\u0647\u0654 \u0647\u0646\u0631\u06CC",listed:!0},creator:{localName:"\u067E\u062F\u06CC\u062F\u0622\u0648\u0631\u0646\u062F\u0647",listed:!1},application:{localName:"\u06A9\u0627\u0631\u0628\u0631\u062F",listed:!0},material:{localName:"\u0645\u0648\u0627\u062F \u0633\u0627\u0632\u0646\u062F\u0647",listed:!0}};this.localName=n[this.name.toLowerCase()]?.localName||"",this.listed=n[this.name.toLowerCase()]?.listed||!1}sortValues(){let e=this.predefinedValues.sort((n,t)=>n.fa.localeCompare(t.fa,"fa"));for(let n=0;n<e.length;n++)this.predefinedValues[n]=e[n]}},Mu=class extends hr{constructor(e){if(super(),this.id="",this.name="",this.fa="",this.altFa="",this.displayFa="",this.en="",this.altEn="",this.displayEn="",this.glossary=[],!e)return;super.absorb(e);let n;n=this.getValue(jn.EN),this.en=e.en||n.value,this.altEn=e.altEn||n.altValue,this.displayEn=e.displayEn||n.displayValue,n=this.getValue(jn.FA),this.fa=e.fa||n.value,this.altFa=e.altFa||n.altValue,this.displayFa=e.displayFa||n.displayValue}get trans(){let e={};return e[jn.EN]=[this.en],e[jn.FA]=[this.fa],{value:this.en||this.fa,cultureValues:e}}get hasChanged(){let e=this.getValue(jn.EN),n=this.getValue(jn.FA);return!(n.value==this.fa&&n.altValue==this.altFa&&n.displayValue==this.displayFa&&e.value==this.en&&e.altValue==this.altEn&&e.displayValue==this.displayEn)}getValue(e){return this.glossary.find(n=>n.cultureId==e)||{cultureId:"",value:"",altValue:"",displayValue:""}}},Ns=class extends hr{constructor(e){super(),this.id="",this.cover="",this.internationalName="",this.localName="",this.propertyTypes=[],e&&super.absorb(e)}get slug(){return this.internationalName=="Book"?"manuscripts":"objects"}},Ua=class extends hr{constructor(e){super(),this.id="",this.internationalName="",this.localName="",this.title="",this.subtitle="",this.description="",this.coverUrl="",this.accessUrl="",e&&(super.absorb(e),e.coverUrl&&(this.meta.coverUrl=`${ci.apiHost}/${e.coverUrl.replace(/^~\/?/,"")}`))}},zd=class extends hr{constructor(e){super(),this.id="",this.name="",this.value="",e&&super.absorb(e)}},Wd=class extends hr{constructor(e){super(),this.id="",this.internationalName="",this.localName="",e&&super.absorb(e)}},Ou=class extends hr{constructor(e){super(),this.width=0,this.height=0,this.baseUrl="",this.infoUrl="",e&&this.absorb(e)}get thumbUrl(){return`${this.baseUrl}/full/84,/0/default.jpg`}get bigtoeUrl(){let e=/image\.simurghnameh\.ir/.exec(this.baseUrl)?"^":"";return`${this.baseUrl}/full/${e}350,/0/default.jpg`}get showcaseUrl(){let e=/image\.simurghnameh\.ir/.exec(this.baseUrl)?"^":"";return`${this.baseUrl}/full/${e},590/0/default.jpg`}get fullSizeUrl(){return`${this.baseUrl}/full/max/0/default.jpg`}},Go=class extends hr{constructor(e){super(),this.id="",this.no=0,this.canvases=[],this.canvasesCount=0,this.pages=[],this.content="",this.description="",this.metadata=[],this.path="",this.status="",this.tags=[],this.thumbnail="",this.thumbnailUrl="",this.cover=0,this.title="",this.categories=[],this.version="",this.language=null,this.properties=[],this.propertiesRev={title:{en:"",fa:""},description:{en:"",fa:""},dimensions:{en:"",fa:""},application:[],material:[],technique:[],topic:[],dynasty:[],artType:[],place:[],manLang:[],author:[],scribe:[],illuminator:[],illustrator:[],font:[]},this.startCreationDate=null,this.endCreationDate=null,e&&this.absorb(e)}absorb(e){if(super.absorb(e),this.meta.originalData=JSON.parse(JSON.stringify(e)),e.publisherInfo&&(e.publisher=e.publisherInfo),e.publisher&&!(e.publisher instanceof za)&&(this.publisher=new za(e.publisher)),e.type&&!(e.type instanceof Ns)&&(this.type=new Ns(e.type)),e.categories&&(this.categories=e.categories.map(t=>t instanceof Ua?t:new Ua(t))),e.language&&!(e.language instanceof Wd)&&(this.language=new Wd(e.language)),this.propertiesRev.title=this.getCustomValueOf("Title"),this.propertiesRev.description=this.getCustomValueOf("Description"),this.propertiesRev.dimensions=this.getCustomValueOf("Dimensions"),this.propertiesRev.application=this.getPredefinedValuesOf("Application"),this.propertiesRev.material=this.getPredefinedValuesOf("Material"),this.propertiesRev.technique=this.getPredefinedValuesOf("Technique"),this.propertiesRev.topic=this.getPredefinedValuesOf("Topic"),this.propertiesRev.dynasty=this.getPredefinedValuesOf("Dynasty"),this.propertiesRev.artType=this.getPredefinedValuesOf("Art type"),this.propertiesRev.place=this.getPredefinedValuesOf("Place of origin"),this.propertiesRev.manLang=this.getPredefinedValuesOf("Manuscript language"),this.propertiesRev.author=this.getPredefinedValuesOf("Author"),this.propertiesRev.scribe=this.getPredefinedValuesOf("Scribe/calligrapher"),this.propertiesRev.illuminator=this.getPredefinedValuesOf("Illuminator"),this.propertiesRev.illustrator=this.getPredefinedValuesOf("Illustrator"),this.propertiesRev.font=this.getPredefinedValuesOf("Calligraphy type"),e.content){if(e.content["@context"]=="http://iiif.io/api/presentation/3/context.json")for(let o of e.content.items){let s=o.items[0].items[0].body.service[0].id;this.pages.push(new Ou({baseUrl:s,infoUrl:`${s}/info.json`}))}else if(e.content.sequences?.length&&e.content.sequences[0].canvases){for(let o of e.content.sequences[0].canvases)if(o.images){let s=(o.metadata||[]).map(l=>this.simplifyMeta(l)),a=o.images[0].resource.service["@id"];this.pages.push(new Ou({width:o.width,height:o.height,baseUrl:a,metadata:s,infoUrl:`${a}/info.json`}))}}let t=e.content.metadata||[];if(t=t.map(o=>this.simplifyMeta(o)),e.content.description){let o=t.find(s=>s.label.toLowerCase()=="description");(!o||!o.values.includes(e.content.description))&&t.unshift(this.simplifyMeta({label:"Description",value:e.content.description}))}if(e.content.label){let o=t.find(s=>s.label.toLowerCase()=="label");(!o||!o.values.includes(e.content.label))&&t.unshift(this.simplifyMeta({label:"Label",value:e.content.label}))}if(e.content.attribution){let o=t.find(s=>s.label.toLowerCase()=="attribution");(!o||!o.values.includes(e.content.attribution))&&t.push(this.simplifyMeta({label:"Attribution",value:e.content.attribution}))}if(e.content.license){let o=t.find(s=>s.label.toLowerCase()=="license");(!o||!o.values.includes(e.content.license))&&t.push(this.simplifyMeta({label:"License",value:e.content.license}))}if(e.content.seeAlso)for(let o of[e.content.seeAlso].flat())t.push(this.simplifyMeta({label:"See also",linkLabel:o.label||"",value:o["@id"]}));if(e.content.related)for(let o of[e.content.related].flat())t.push(this.simplifyMeta({label:"Related",linkLabel:o.label||"",value:o["@id"]}));e.content.rendering&&t.push(this.simplifyMeta({label:e.content.rendering.label||"Rendering",value:e.content.rendering["@id"]})),this.meta.publishersMetadata=t.map(o=>(o.values=o.values.map(s=>{s=s||"",s=`${s}`.trim();let a={value:s,linkLabel:o.linkLabel,html:!1};return a.html=!!/<\/[a-zA-Z]+>/.exec(s)||!!/<[a-zA-Z]+\/>/.exec(s),/^https?:\/\/[^ ]+$/.exec(s)&&(a.value=`<a href="${s}" target="_blank">${a.linkLabel||"\u067E\u06CC\u0648\u0646\u062F \u0628\u0647 \u0628\u06CC\u0631\u0648\u0646"}</a>`,a.html=!0),a}).filter(s=>!!s.value),o)).filter(o=>o.values.length);let i=[];for(let o of this.meta.publishersMetadata){let s=i.find(a=>a.label==o.label);s?s.values=[...s.values,...o.values]:i.push(o)}this.meta.publishersMetadata=i}let n="";if(e.coverContent?.Resources?.length&&(n=e.coverContent.Resources[0]),n){let t="",i=/^(.*)\/\w+\/[^/]+\/\d+\/\w+\.\w+$/.exec(n);i?t=i[1]:/.*\/info\.json$/.exec(n)?t=n.replace("/info.json",""):t=n,this.coverPage=new Ou({baseUrl:t,infoUrl:`${t}/info.json`})}e.description&&(this.description=e.description.replace(/^[ \t\n\r]+/,"").replace(/[ \t\n\r]+$/,""))}getPredefinedValuesOf(e){return this.getProperty(e)||[]}getPredefinedValueOf(e){return this.getProperty(e,!1,!1)||new Mu}getCustomValuesOf(e){return this.getProperty(e,!0)||[]}getCustomValueOf(e){return this.getProperty(e,!0,!1)||{en:"",fa:""}}getProperty(e,n=!1,t=!0){let i=this.properties?.find(o=>o.propertyName.toLowerCase()==e.toLowerCase());if(i)if(n){let o=i.customValues.find(a=>a.cultureId==jn.EN)?.values||[""];t||(o=o[0]);let s=i.customValues.find(a=>a.cultureId==jn.FA)?.values||[""];return t||(s=s[0]),{en:o,fa:s}}else{let o=i.predefinedValues.map(s=>new Mu(s));return t?o:o[0]}}simplifyMeta(e){let n={};if(n.linkLabel=e.linkLabel||"",typeof e.label=="string")n.label=e.label;else if(e.label.en)n.label=e.label.en instanceof Array?e.label.en[0]:e.label.en;else if(e.label instanceof Array){let t=e.label.find(i=>i["@language"]=="en");!t&&e.label.length&&(t=e[0]),t&&(n.label=t["@value"]instanceof Array?t["@value"][0]:t["@value"])}else n.label=Object.values(e.label)[0];if(e.value?typeof e.value=="string"||e.value instanceof Array?n.value=e.value:e.value.en?n.value=e.value.en:n.value=Object.values(e.value)[0]:n.value=e.value,n.value instanceof Array&&n.value.length){let t="";n.value[0]["@language"]?(t=n.value.find(i=>i["@language"]=="en"),t&&(n.value=t["@value"])):n.value[0]["@value"]&&(n.value=n.value.map(i=>i["@value"]))}return n.value instanceof Array?n.values=n.value:n.values=[n.value],delete n.value,n}getMeta(e,n){let t=this.metadata?.find(i=>n&&typeof i.label!="string"?i.label[n]==e:!n&&typeof i.label=="string"?i.label==e:!1);if(t)return typeof t.value=="string"?t.value:t.value[n]||t.value.fa||t.value.en||null}get preferredTitle(){return this.propertiesRev.title.fa&&typeof this.propertiesRev.title.fa=="string"?this.propertiesRev.title.fa:this.propertiesRev.title.fa?.length?this.propertiesRev.title.fa[0]:this.propertiesRev.title.en&&typeof this.propertiesRev.title.en=="string"?this.propertiesRev.title.en:this.propertiesRev.title.en?.length?this.propertiesRev.title.en[0]:this.title||""}get preferredTitleIsEn(){return!(this.propertiesRev.title.fa&&typeof this.propertiesRev.title.fa=="string")&&!this.propertiesRev.title.fa?.length}get hasVisbleProperties(){return!!(this.propertiesRev.dimensions.fa||this.propertiesRev.dimensions.en||this.propertiesRev.description.fa||this.propertiesRev.description.en||this.propertiesRev.author.length||this.propertiesRev.illuminator.length||this.propertiesRev.illustrator.length||this.propertiesRev.application.length||this.propertiesRev.artType.length||this.propertiesRev.dynasty.length||this.propertiesRev.manLang.length||this.propertiesRev.font.length||this.propertiesRev.material.length||this.propertiesRev.technique.length||this.propertiesRev.topic.length||this.propertiesRev.scribe.length||this.propertiesRev.place.length)}};var Hd=(()=>{let e=class e{constructor(t){this.httpClient=t,this.categories=[]}list(t=!1){return!t&&this.categories.length?G(this.categories):this.httpClient.get(`${ci.apiBase2}/categories?size=10`).pipe(te(i=>i.code||!i.data?[]:(i=i.data,this.categories=i.map(o=>new Ua(o)),this.categories)),Mt(i=>G([])))}loadArtworks(t){return this.httpClient.get(`${ci.apiBase2}/categories/${t.id}/manifests?size=200`).pipe(te(i=>i.code||!i.data?.collection?[]:i.data.collection.map(o=>new Go(o))),Mt(i=>G([])))}};e.\u0275fac=function(i){return new(i||e)(I(qi))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var bm;try{bm=typeof Intl<"u"&&Intl.v8BreakIterator}catch{bm=!1}var He=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Hn(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||bm)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(i){return new(i||e)(I(ai))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var Wa,mb=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Cm(){if(Wa)return Wa;if(typeof document!="object"||!document)return Wa=new Set(mb),Wa;let r=document.createElement("input");return Wa=new Set(mb.filter(e=>(r.setAttribute("type",e),r.type===e))),Wa}var Du;function iE(){if(Du==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Du=!0}))}finally{Du=Du||!1}return Du}function ln(r){return iE()?r:!!r.capture}var Ls;function fb(){if(Ls==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ls=!1,Ls;if("scrollBehavior"in document.documentElement.style)Ls=!0;else{let r=Element.prototype.scrollTo;r?Ls=!/\{\s*\[native code\]\s*\}/.test(r.toString()):Ls=!1}}return Ls}var vm;function nE(){if(vm==null){let r=typeof document<"u"?document.head:null;vm=!!(r&&(r.createShadowRoot||r.attachShadow))}return vm}function Ha(r){if(nE()){let e=r.getRootNode?r.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Iu(){let r=typeof document<"u"&&document?document.activeElement:null;for(;r&&r.shadowRoot;){let e=r.shadowRoot.activeElement;if(e===r)break;r=e}return r}function ti(r){return r.composedPath?r.composedPath()[0]:r.target}function ku(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Mi(r,...e){return e.length?e.some(n=>r[n]):r.altKey||r.shiftKey||r.ctrlKey||r.metaKey}function Nr(r){return r!=null&&`${r}`!="false"}function Yo(r,e=0){return rE(r)?Number(r):arguments.length===2?e:0}function rE(r){return!isNaN(parseFloat(r))&&!isNaN(Number(r))}function Vs(r){return Array.isArray(r)?r:[r]}function Xt(r){return r==null?"":typeof r=="string"?r:`${r}px`}function ii(r){return r instanceof de?r.nativeElement:r}var oE=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var $d=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({providers:[oE]});let r=e;return r})();var gb=new Set,js,sE=(()=>{let e=class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):lE}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&aE(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(i){return new(i||e)(I(He),I(ml,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function aE(r,e){if(!gb.has(r))try{js||(js=document.createElement("style"),e&&js.setAttribute("nonce",e),js.setAttribute("type","text/css"),document.head.appendChild(js)),js.sheet&&(js.sheet.insertRule(`@media ${r} {body{ }}`,0),gb.add(r))}catch(n){console.error(n)}}function lE(r){return{matches:r==="all"||r==="",media:r,addListener:()=>{},removeListener:()=>{}}}var Gd=(()=>{let e=class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new K}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return _b(Vs(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=_b(Vs(t)).map(a=>this._registerQuery(a).observable),s=wo(o);return s=xo(s.pipe(Si(1)),s.pipe(cc(1),Js(0))),s.pipe(te(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:u,query:c})=>{l.matches=l.matches||u,l.breakpoints[c]=u}),l}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let i=this._mediaMatcher.matchMedia(t),s={observable:new xi(a=>{let l=u=>this._zone.run(()=>a.next(u));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Fi(i),te(({matches:a})=>({query:t,matches:a})),qe(this._destroySubject)),mql:i};return this._queries.set(t,s),s}};e.\u0275fac=function(i){return new(i||e)(I(sE),I(ie))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function _b(r){return r.map(e=>e.split(",")).reduce((e,n)=>e.concat(n)).map(e=>e.trim())}var vb={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var xb=" ";function Xa(r,e,n){let t=qd(r,e);n=n.trim(),!t.some(i=>i.trim()===n)&&(t.push(n),r.setAttribute(e,t.join(xb)))}function Xo(r,e,n){let t=qd(r,e);n=n.trim();let i=t.filter(o=>o!==n);i.length?r.setAttribute(e,i.join(xb)):r.removeAttribute(e)}function qd(r,e){return r.getAttribute(e)?.match(/\S+/g)??[]}var Eb="cdk-describedby-message",Yd="cdk-describedby-host",xm=0,Sb=(()=>{let e=class e{constructor(t,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${xm++}`,this._document=t,this._id=O(pl)+"-"+xm++}describe(t,i,o){if(!this._canBeDescribed(t,i))return;let s=ym(i,o);typeof i!="string"?(bb(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,o),this._isElementDescribedByMessage(t,s)||this._addMessageReference(t,s)}removeDescription(t,i,o){if(!i||!this._isElementNode(t))return;let s=ym(i,o);if(this._isElementDescribedByMessage(t,s)&&this._removeMessageReference(t,s),typeof i=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let t=this._document.querySelectorAll(`[${Yd}="${this._id}"]`);for(let i=0;i<t.length;i++)this._removeCdkDescribedByReferenceIds(t[i]),t[i].removeAttribute(Yd);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(t,i){let o=this._document.createElement("div");bb(o,this._id),o.textContent=t,i&&o.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(ym(t,i),{messageElement:o,referenceCount:0})}_deleteMessageElement(t){this._messageRegistry.get(t)?.messageElement?.remove(),this._messageRegistry.delete(t)}_createMessagesContainer(){if(this._messagesContainer)return;let t="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${t}[platform="server"]`);for(let s=0;s<i.length;s++)i[s].remove();let o=this._document.createElement("div");o.style.visibility="hidden",o.classList.add(t),o.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&o.setAttribute("platform","server"),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(t){let i=qd(t,"aria-describedby").filter(o=>o.indexOf(Eb)!=0);t.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(t,i){let o=this._messageRegistry.get(i);Xa(t,"aria-describedby",o.messageElement.id),t.setAttribute(Yd,this._id),o.referenceCount++}_removeMessageReference(t,i){let o=this._messageRegistry.get(i);o.referenceCount--,Xo(t,"aria-describedby",o.messageElement.id),t.removeAttribute(Yd)}_isElementDescribedByMessage(t,i){let o=qd(t,"aria-describedby"),s=this._messageRegistry.get(i),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(t,i){if(!this._isElementNode(t))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":`${i}`.trim(),s=t.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(i){return new(i||e)(I(ae),I(He))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function ym(r,e){return typeof r=="string"?`${e||""}/${r}`:r}function bb(r,e){r.id||(r.id=`${Eb}-${e}-${xm++}`)}var Em=class{constructor(e,n){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new K,this._typeaheadSubscription=gt.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new K,this.change=new K,e instanceof qh?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):Kh(e)&&(this._effectRef=Og(()=>this._itemsChanged(e()),{injector:n}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(tt(n=>this._pressedLetters.push(n)),Js(e),_t(()=>this._pressedLetters.length>0),te(()=>this._pressedLetters.join(""))).subscribe(n=>{let t=this._getItemsArray();for(let i=1;i<t.length+1;i++){let o=(this._activeItemIndex+i)%t.length,s=t[o];if(!this._skipPredicateFn(s)&&s.getLabel().toUpperCase().trim().indexOf(n)===0){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,n=10){return this._pageUpAndDown={enabled:e,delta:n},this}setActiveItem(e){let n=this._activeItem;this.updateActiveItem(e),this._activeItem!==n&&this.change.next(this._activeItemIndex)}onKeydown(e){let n=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(n){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}else return;default:(i||Mi(e,"shiftKey"))&&(e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let n=this._getItemsArray(),t=typeof e=="number"?e:n.indexOf(e),i=n[t];this._activeItem=i??null,this._activeItemIndex=t}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let n=this._getItemsArray();for(let t=1;t<=n.length;t++){let i=(this._activeItemIndex+e*t+n.length)%n.length,o=n[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,n){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=n,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return Kh(this._items)?this._items():this._items instanceof qh?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let n=e.indexOf(this._activeItem);n>-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n)}}},Ga=class extends Em{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}};var Dm=(()=>{let e=class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return wE(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let i=yE(DE(t));if(i&&(Cb(i)===-1||!this.isVisible(i)))return!1;let o=t.nodeName.toLowerCase(),s=Cb(t);return t.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!OE(t)?!1:o==="audio"?t.hasAttribute("controls")?s!==-1:!1:o==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,i){return ME(t)&&!this.isDisabled(t)&&(i?.ignoreVisibility||this.isVisible(t))}};e.\u0275fac=function(i){return new(i||e)(I(He))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function yE(r){try{return r.frameElement}catch{return null}}function wE(r){return!!(r.offsetWidth||r.offsetHeight||typeof r.getClientRects=="function"&&r.getClientRects().length)}function xE(r){let e=r.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function EE(r){return AE(r)&&r.type=="hidden"}function SE(r){return TE(r)&&r.hasAttribute("href")}function AE(r){return r.nodeName.toLowerCase()=="input"}function TE(r){return r.nodeName.toLowerCase()=="a"}function Ab(r){if(!r.hasAttribute("tabindex")||r.tabIndex===void 0)return!1;let e=r.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function Cb(r){if(!Ab(r))return null;let e=parseInt(r.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function OE(r){let e=r.nodeName.toLowerCase(),n=e==="input"&&r.type;return n==="text"||n==="password"||e==="select"||e==="textarea"}function ME(r){return EE(r)?!1:xE(r)||SE(r)||r.hasAttribute("contenteditable")||Ab(r)}function DE(r){return r.ownerDocument&&r.ownerDocument.defaultView||window}var Sm=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,n,t,i,o=!1,s){this._element=e,this._checker=n,this._ngZone=t,this._document=i,this._injector=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,n=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),n&&(n.removeEventListener("focus",this.endAnchorListener),n.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let n=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?n.length?n[0]:this._getFirstTabbableElement(this._element):n.length?n[n.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let n=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(n){if(!this._checker.isFocusable(n)){let t=this._getFirstTabbableElement(n);return t?.focus(e),!!t}return n.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let n=this._getRegionBoundary("start");return n&&n.focus(e),!!n}focusLastTabbableElement(e){let n=this._getRegionBoundary("end");return n&&n.focus(e),!!n}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let n=e.children;for(let t=0;t<n.length;t++){let i=n[t].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(n[t]):null;if(i)return i}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let n=e.children;for(let t=n.length-1;t>=0;t--){let i=n[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[t]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,n){e?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?fn(e,{injector:this._injector}):setTimeout(e)}},Tb=(()=>{let e=class e{constructor(t,i,o){this._checker=t,this._ngZone=i,this._injector=O(St),this._document=o}create(t,i=!1){return new Sm(t,this._checker,this._ngZone,this._document,i,this._injector)}};e.\u0275fac=function(i){return new(i||e)(I(Dm),I(ie),I(ae))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function Pu(r){return r.buttons===0||r.detail===0}function Ru(r){let e=r.touches&&r.touches[0]||r.changedTouches&&r.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var IE=new q("cdk-input-modality-detector-options"),kE={ignoreKeys:[18,17,224,91,16]},Ob=650,$a=ln({passive:!0,capture:!0}),PE=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(t,i,o,s){this._platform=t,this._mostRecentTarget=null,this._modality=new Pi(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ti(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<Ob||(this._modality.next(Pu(a)?"keyboard":"mouse"),this._mostRecentTarget=ti(a))},this._onTouchstart=a=>{if(Ru(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ti(a)},this._options=z(z({},kE),s),this.modalityDetected=this._modality.pipe(cc(1)),this.modalityChanged=this.modalityDetected.pipe(cl()),t.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,$a),o.addEventListener("mousedown",this._onMousedown,$a),o.addEventListener("touchstart",this._onTouchstart,$a)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,$a),document.removeEventListener("mousedown",this._onMousedown,$a),document.removeEventListener("touchstart",this._onTouchstart,$a))}};e.\u0275fac=function(i){return new(i||e)(I(He),I(ie),I(ae),I(IE,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),RE=new q("liveAnnouncerElement",{providedIn:"root",factory:FE});function FE(){return null}var NE=new q("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),LE=0,Mb=(()=>{let e=class e{constructor(t,i,o,s){this._ngZone=i,this._defaultOptions=s,this._document=o,this._liveElement=t||this._createLiveElement()}announce(t,...i){let o=this._defaultOptions,s,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[s,a]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",i=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let s=0;s<i.length;s++)i[s].remove();return o.classList.add(t),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id=`cdk-live-announcer-${LE++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(t){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<i.length;o++){let s=i[o],a=s.getAttribute("aria-owns");a?a.indexOf(t)===-1&&s.setAttribute("aria-owns",a+" "+t):s.setAttribute("aria-owns",t)}}};e.\u0275fac=function(i){return new(i||e)(I(RE,8),I(ie),I(ae),I(NE,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var Zd=function(r){return r[r.IMMEDIATE=0]="IMMEDIATE",r[r.EVENTUAL=1]="EVENTUAL",r}(Zd||{}),VE=new q("cdk-focus-monitor-default-options"),Xd=ln({passive:!0,capture:!0}),Za=(()=>{let e=class e{constructor(t,i,o,s,a){this._ngZone=t,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new K,this._rootNodeFocusAndBlurListener=l=>{let u=ti(l);for(let c=u;c;c=c.parentElement)l.type==="focus"?this._onFocus(l,c):this._onBlur(l,c)},this._document=s,this._detectionMode=a?.detectionMode||Zd.IMMEDIATE}monitor(t,i=!1){let o=ii(t);if(!this._platform.isBrowser||o.nodeType!==1)return G();let s=Ha(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;let l={checkChildren:i,subject:new K,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(t){let i=ii(t),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(t,i,o){let s=ii(t),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([l,u])=>this._originChanged(l,i,u)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Zd.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused",i==="touch"),t.classList.toggle("cdk-keyboard-focused",i==="keyboard"),t.classList.toggle("cdk-mouse-focused",i==="mouse"),t.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&i,this._detectionMode===Zd.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Ob:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,i){let o=this._elementInfo.get(i),s=ti(t);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(t,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let i=t.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Xd),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Xd)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(qe(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(t){let i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Xd),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Xd),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,o){this._setClasses(t,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){let i=[];return this._elementInfo.forEach((o,s)=>{(s===t||o.checkChildren&&s.contains(t))&&i.push([s,o])}),i}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let s=t.labels;if(s){for(let a=0;a<s.length;a++)if(s[a].contains(i))return!0}return!1}};e.\u0275fac=function(i){return new(i||e)(I(ie),I(He),I(PE),I(ae,8),I(VE,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var Bs=function(r){return r[r.NONE=0]="NONE",r[r.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",r[r.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",r}(Bs||{}),yb="cdk-high-contrast-black-on-white",wb="cdk-high-contrast-white-on-black",wm="cdk-high-contrast-active",Im=(()=>{let e=class e{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=O(Gd).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Bs.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(t):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Bs.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Bs.BLACK_ON_WHITE}return Bs.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(wm,yb,wb),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Bs.BLACK_ON_WHITE?t.add(wm,yb):i===Bs.WHITE_ON_BLACK&&t.add(wm,wb)}}};e.\u0275fac=function(i){return new(i||e)(I(He),I(ae))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Qd=(()=>{let e=class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(i){return new(i||e)(I(Im))},e.\u0275mod=pe({type:e}),e.\u0275inj=he({imports:[$d]});let r=e;return r})();var jE=new q("cdk-dir-doc",{providedIn:"root",factory:BE});function BE(){return O(ae)}var zE=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function UE(r){let e=r?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?zE.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var Wi=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new ge,t){let i=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.value=UE(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(i){return new(i||e)(I(jE,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var Zo=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({});let r=e;return r})();var WE=["text"],HE=[[["mat-icon"]],"*"],$E=["mat-icon","*"];function GE(r,e){if(r&1&&v(0,"mat-pseudo-checkbox",1),r&2){let n=N();ue("disabled",n.disabled)("state",n.selected?"checked":"unchecked")}}function YE(r,e){if(r&1&&v(0,"mat-pseudo-checkbox",3),r&2){let n=N();ue("disabled",n.disabled)}}function XE(r,e){if(r&1&&(d(0,"span",4),h(1),p()),r&2){let n=N();w(),In("(",n.group.label,")")}}function ZE(){return!0}var qE=new q("mat-sanity-checks",{providedIn:"root",factory:ZE}),mt=(()=>{let e=class e{constructor(t,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return ku()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(i){return new(i||e)(I(Im),I(qE,8),I(ae))},e.\u0275mod=pe({type:e}),e.\u0275inj=he({imports:[Zo,Zo]});let r=e;return r})();var Qa=class{constructor(e,n,t,i,o){this._defaultMatcher=e,this.ngControl=n,this._parentFormGroup=t,this._parentForm=i,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,n=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=t?.isErrorState(i,n)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var th=(()=>{let e=class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var er=function(r){return r[r.FADING_IN=0]="FADING_IN",r[r.VISIBLE=1]="VISIBLE",r[r.FADING_OUT=2]="FADING_OUT",r[r.HIDDEN=3]="HIDDEN",r}(er||{}),Rm=class{constructor(e,n,t,i=!1){this._renderer=e,this.element=n,this.config=t,this._animationForciblyDisabledThroughCss=i,this.state=er.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Db=ln({passive:!0,capture:!0}),Fm=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let n=ti(e);n&&this._events.get(e.type)?.forEach((t,i)=>{(i===n||i.contains(n))&&t.forEach(o=>o.handleEvent(e))})}}addHandler(e,n,t,i){let o=this._events.get(n);if(o){let s=o.get(t);s?s.add(i):o.set(t,new Set([i]))}else this._events.set(n,new Map([[t,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,Db)})}removeHandler(e,n,t){let i=this._events.get(e);if(!i)return;let o=i.get(n);o&&(o.delete(t),o.size===0&&i.delete(n),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Db)))}},Ib={enterDuration:225,exitDuration:150},QE=800,kb=ln({passive:!0,capture:!0}),Pb=["mousedown","touchstart"],Rb=["mouseup","mouseleave","touchend","touchcancel"],Fu=class Fu{constructor(e,n,t,i){this._target=e,this._ngZone=n,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=ii(t))}fadeInRipple(e,n,t={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=z(z({},Ib),t.animation);t.centered&&(e=i.left+i.width/2,n=i.top+i.height/2);let s=t.radius||KE(e,n,i),a=e-i.left,l=n-i.top,u=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=`${a-s}px`,c.style.top=`${l-s}px`,c.style.height=`${s*2}px`,c.style.width=`${s*2}px`,t.color!=null&&(c.style.backgroundColor=t.color),c.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(c);let m=window.getComputedStyle(c),g=m.transitionProperty,_=m.transitionDuration,C=g==="none"||_==="0s"||_==="0s, 0s"||i.width===0&&i.height===0,y=new Rm(this,c,t,C);c.style.transform="scale3d(1, 1, 1)",y.state=er.FADING_IN,t.persistent||(this._mostRecentTransientRipple=y);let x=null;return!C&&(u||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let A=()=>{x&&(x.fallbackTimer=null),clearTimeout(F),this._finishRippleTransition(y)},k=()=>this._destroyRipple(y),F=setTimeout(k,u+100);c.addEventListener("transitionend",A),c.addEventListener("transitioncancel",k),x={onTransitionEnd:A,onTransitionCancel:k,fallbackTimer:F}}),this._activeRipples.set(y,x),(C||!u)&&this._finishRippleTransition(y),y}fadeOutRipple(e){if(e.state===er.FADING_OUT||e.state===er.HIDDEN)return;let n=e.element,t=z(z({},Ib),e.config.animation);n.style.transitionDuration=`${t.exitDuration}ms`,n.style.opacity="0",e.state=er.FADING_OUT,(e._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let n=ii(e);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,Pb.forEach(t=>{Fu._eventManager.addHandler(this._ngZone,t,n,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Rb.forEach(n=>{this._triggerElement.addEventListener(n,this,kb)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===er.FADING_IN?this._startFadeOutTransition(e):e.state===er.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let n=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=er.VISIBLE,!t&&(!n||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let n=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=er.HIDDEN,n!==null&&(e.element.removeEventListener("transitionend",n.onTransitionEnd),e.element.removeEventListener("transitioncancel",n.onTransitionCancel),n.fallbackTimer!==null&&clearTimeout(n.fallbackTimer)),e.element.remove()}_onMousedown(e){let n=Pu(e),t=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+QE;!this._target.rippleDisabled&&!n&&!t&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!Ru(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let n=e.changedTouches;if(n)for(let t=0;t<n.length;t++)this.fadeInRipple(n[t].clientX,n[t].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let n=e.state===er.VISIBLE||e.config.terminateOnPointerUp&&e.state===er.FADING_IN;!e.config.persistent&&n&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(Pb.forEach(n=>Fu._eventManager.removeHandler(n,e,this)),this._pointerUpEventsRegistered&&(Rb.forEach(n=>e.removeEventListener(n,this,kb)),this._pointerUpEventsRegistered=!1))}};Fu._eventManager=new Fm;var Nm=Fu;function KE(r,e,n){let t=Math.max(Math.abs(r-n.left),Math.abs(r-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(t*t+i*i)}var Vb=new q("mat-ripple-global-options"),jb=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,i,o,s,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Nm(this,i,t,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:z(z(z({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,i=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,i,z(z({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,z(z({},this.rippleConfig),t))}};e.\u0275fac=function(i){return new(i||e)(S(de),S(ie),S(He),S(Vb,8),S(pi,8))},e.\u0275dir=ye({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&Q("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let r=e;return r})(),Lm=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({imports:[mt,mt]});let r=e;return r})(),JE=(()=>{let e=class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(i){return new(i||e)(S(pi,8))},e.\u0275cmp=Ae({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&Q("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Te],decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let r=e;return r})(),eS=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({imports:[mt]});let r=e;return r})(),Lu=new q("MAT_OPTION_PARENT_COMPONENT");var Vu=new q("MatOptgroup");var tS=0,Nu=class{constructor(e,n=!1){this.source=e,this.isUserInput=n}},Us=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,i,o,s){this._element=t,this._changeDetectorRef=i,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${tS++}`,this.onSelectionChange=new ge,this._stateChanges=new K}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,i){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!Mi(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Nu(this,t))}};e.\u0275fac=function(i){return new(i||e)(S(de),S(Dt),S(Lu,8),S(Vu,8))},e.\u0275cmp=Ae({type:e,selectors:[["mat-option"]],viewQuery:function(i,o){if(i&1&&yt(WE,7),i&2){let s;Ue(s=We())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){i&1&&V("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),i&2&&(na("id",o.id),Xe("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),Q("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",Pe]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[At,Te],ngContentSelectors:$E,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,o){i&1&&(Ni(HE),re(0,GE,1,2,"mat-pseudo-checkbox",1),ot(1),d(2,"span",2,0),ot(4,1),p(),re(5,YE,1,1,"mat-pseudo-checkbox",3)(6,XE,2,1,"span",4),v(7,"div",5)),i&2&&(Z(o.multiple?0:-1),w(5),Z(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),w(),Z(o.group&&o.group._inert?6:-1),w(),ue("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[JE,jb],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight)}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let r=e;return r})();function ih(r,e,n){if(n.length){let t=e.toArray(),i=n.toArray(),o=0;for(let s=0;s<r+1;s++)t[s].group&&t[s].group===i[o]&&o++;return o}return 0}function nh(r,e,n,t){return r<n?r:r+e>n+t?Math.max(0,r-t+e):n}var Ja=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({imports:[Lm,mt,eS]});let r=e;return r})(),Fb={capture:!0},Nb=["focus","mousedown","mouseenter","touchstart"],km="mat-ripple-loader-uninitialized",Pm="mat-ripple-loader-class-name",Lb="mat-ripple-loader-centered",Jd="mat-ripple-loader-disabled",Bb=(()=>{let e=class e{constructor(){this._document=O(ae,{optional:!0}),this._animationMode=O(pi,{optional:!0}),this._globalRippleOptions=O(Vb,{optional:!0}),this._platform=O(He),this._ngZone=O(ie),this._hosts=new Map,this._onInteraction=t=>{let i=ti(t);if(i instanceof HTMLElement){let o=i.closest(`[${km}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}},this._ngZone.runOutsideAngular(()=>{for(let t of Nb)this._document?.addEventListener(t,this._onInteraction,Fb)})}ngOnDestroy(){let t=this._hosts.keys();for(let i of t)this.destroyRipple(i);for(let i of Nb)this._document?.removeEventListener(i,this._onInteraction,Fb)}configureRipple(t,i){t.setAttribute(km,this._globalRippleOptions?.namespace??""),(i.className||!t.hasAttribute(Pm))&&t.setAttribute(Pm,i.className||""),i.centered&&t.setAttribute(Lb,""),i.disabled&&t.setAttribute(Jd,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,i){let o=this._hosts.get(t);if(o){o.disabled=i;return}i?t.setAttribute(Jd,""):t.removeAttribute(Jd)}_createRipple(t){if(!this._document)return;let i=this._hosts.get(t);if(i)return i;t.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",t.getAttribute(Pm)),t.append(o);let s=new jb(new de(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=t,s.centered=t.hasAttribute(Lb),s.disabled=t.hasAttribute(Jd),this.attachRipple(t,s),s}attachRipple(t,i){t.removeAttribute(km),this._hosts.set(t,i)}destroyRipple(t){let i=this._hosts.get(t);i&&(i.ngOnDestroy(),this._hosts.delete(t))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var zb=["mat-button",""],Ub=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Wb=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],iS='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color);background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow);height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color);background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight);border-radius:var(--mdc-outlined-button-container-shape);border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color);border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',Hb=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var nS=["mat-icon-button",""],rS=["*"];var oS=new q("MAT_BUTTON_CONFIG");var sS=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],jm=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}constructor(t,i,o,s){this._elementRef=t,this._platform=i,this._ngZone=o,this._animationMode=s,this._focusMonitor=O(Za),this._rippleLoader=O(Bb),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=O(oS,{optional:!0}),l=t.nativeElement,u=l.classList;this.disabledInteractive=a?.disabledInteractive??!1,this.color=a?.color??null,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:c,mdcClasses:m}of sS)l.hasAttribute(c)&&u.add(...m)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",i){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(i){ls()},e.\u0275dir=ye({type:e,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Pe],disabled:[2,"disabled","disabled",Pe],ariaDisabled:[2,"aria-disabled","ariaDisabled",Pe],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Pe]},features:[At]});let r=e;return r})();var aS=(()=>{let e=class e extends jm{constructor(t,i,o,s){super(t,i,o,s),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled}};e.\u0275fac=function(i){ls()},e.\u0275dir=ye({type:e,inputs:{tabIndex:[2,"tabIndex","tabIndex",t=>t==null?void 0:Mo(t)]},features:[At,mi]});let r=e;return r})(),$b=(()=>{let e=class e extends jm{constructor(t,i,o,s){super(t,i,o,s)}};e.\u0275fac=function(i){return new(i||e)(S(de),S(He),S(ie),S(pi,8))},e.\u0275cmp=Ae({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(Xe("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),wr(o.color?"mat-"+o.color:""),Q("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[mi,Te],attrs:zb,ngContentSelectors:Wb,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Ni(Ub),v(0,"span",0),ot(1),d(2,"span",1),ot(3,1),p(),ot(4,2),v(5,"span",2)(6,"span",3)),i&2&&Q("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color);background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow);height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color);background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight);border-radius:var(--mdc-outlined-button-container-shape);border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color);border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let r=e;return r})(),Gb=(()=>{let e=class e extends aS{constructor(t,i,o,s){super(t,i,o,s)}};e.\u0275fac=function(i){return new(i||e)(S(de),S(He),S(ie),S(pi,8))},e.\u0275cmp=Ae({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(i,o){i&2&&(Xe("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getDisabledAttribute()),wr(o.color?"mat-"+o.color:""),Q("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[mi,Te],attrs:zb,ngContentSelectors:Wb,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Ni(Ub),v(0,"span",0),ot(1),d(2,"span",1),ot(3,1),p(),ot(4,2),v(5,"span",2)(6,"span",3)),i&2&&Q("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[iS,Hb],encapsulation:2,changeDetection:0});let r=e;return r})();var Yb=(()=>{let e=class e extends jm{constructor(t,i,o,s){super(t,i,o,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(i){return new(i||e)(S(de),S(He),S(ie),S(pi,8))},e.\u0275cmp=Ae({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(Xe("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),wr(o.color?"mat-"+o.color:""),Q("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[mi,Te],attrs:nS,ngContentSelectors:rS,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Ni(),v(0,"span",0),ot(1),v(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Hb],encapsulation:2,changeDetection:0});let r=e;return r})();var el=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({imports:[mt,Lm,mt]});let r=e;return r})();var lS=["class","page page-home blurry-background"],Zb=(r,e)=>e.id,qb=()=>({values:"f4957c82-6b22-46a1-1e62-08dc84725c5b"});function uS(r,e){if(r&1){let n=se();d(0,"div",32),v(1,"div",49),d(2,"div",50),V("click",function(){let i=Y(n).$implicit,o=N();return X(o.activeCategory=i)}),p(),d(3,"div",19)(4,"div",33)(5,"div",34)(6,"a",51),h(7),p()(),d(8,"div",52),h(9),p(),v(10,"div",37),p()()()}if(r&2){let n=e.$implicit,t=N();Q("active",t.activeCategory==n),w(),Gt("routerLink","/collection/",n.id,""),w(),bg("background-image: url(",n.meta.coverUrl,");"),w(),Ze("background-color",n.meta.coverColor||""),w(3),Gt("routerLink","/collection/",n.id,""),w(),le(n.localName),w(2),le(n.subtitle)}}function cS(r,e){if(r&1&&(d(0,"a",53),v(1,"div",2),d(2,"div",19)(3,"div",34),h(4),p(),d(5,"div",36),h(6),p()()()),r&2){let n=e.$implicit;Ze("background-image","url(/assets/"+n.cover+")"),ue("routerLink",n.url)("queryParams",n.queryParams),w(4),le(n.title),w(2),le(n.subTitle)}}var Qb=(()=>{let e=class e{constructor(){this.categoryService=O(Hd),this.svgWidth=1e3,this.svgHeight=1e3,this.categories=[],this.customFilters=[{id:0,cover:"dummy-01.jpg",title:"\u0641\u0644\u0632\u06A9\u0627\u0631\u06CC",subTitle:"",url:"/archive/objects",queryParams:{values:"681142df-530b-4139-a3a5-04b075a428b4"}},{id:1,cover:"dummy-02.jpg",title:"\u0627\u0628\u0632\u0627\u0631 \u062C\u0646\u06AF \u0648 \u0634\u06A9\u0627\u0631",subTitle:"",url:"/archive/objects",queryParams:{values:"83969330-ee00-4899-a413-50af1aa207ea"}},{id:2,cover:"dummy-03.jpg",title:"\u0641\u0631\u0634",subTitle:"",url:"/archive/objects",queryParams:{values:"9ea1c7f3-5997-40f1-bca3-acff7e3b4a2c"}},{id:3,cover:"dummy-04.jpg",title:"\u0627\u0628\u0632\u0627\u0631 \u0631\u0648\u0634\u0646\u0627\u06CC\u06CC",subTitle:"",url:"/archive/objects",queryParams:{values:"2260147d-989a-46ef-88b8-02496413b27a"}},{id:4,cover:"dummy-05.jpg",title:"\u067E\u0627\u0631\u0686\u0647 \u0648 \u0628\u0627\u0641\u062A\u0647",subTitle:"",url:"/archive/objects",queryParams:{values:"5e1cf715-3d0b-46f5-a4e9-88f8b9d97f44"}},{id:5,cover:"dummy-06.jpg",title:"\u062E\u0648\u0634\u0646\u0648\u06CC\u0633\u06CC",subTitle:"",url:"/archive/objects",queryParams:{values:"1c891fb0-3480-49c3-b7b8-a4957f623b6b"}}]}ngOnInit(){this.categoryService.list().subscribe(t=>{this.categories=t.filter(s=>["48f5c792-d620-4042-8031-05f5fedad01d","cde406d9-0933-48bd-91b6-99619eb86ffc","5d1215d7-4595-4003-9bc4-e5d79ec09631","fba098b2-1f62-445c-802b-6943aef2328c","ffd7c178-861f-4822-af7a-9ef2e9995cdb","a9550da9-802f-4595-9336-732de3b9e16f"].includes(s.id));let i=this.categories.findIndex(s=>s.id=="48f5c792-d620-4042-8031-05f5fedad01d");this.categories.push(this.categories.splice(i,1)[0]);let o=this.categories.findIndex(s=>s.id=="5d1215d7-4595-4003-9bc4-e5d79ec09631");this.categories.splice(1,0,this.categories.splice(o,1)[0]),this.categories.forEach((s,a)=>s.meta.index=a),this.activeCategory=this.categories[1],this.activeFilter=this.customFilters[0]})}ngAfterContentInit(){if(typeof window>"u")return;let t=document.querySelector(".svg-wrapper").getBoundingClientRect();this.svgWidth=1e3*t.width/t.height,so.registerPlugin(Ee),so.to(".svg-wrapper .backdrop",{scrollTrigger:{trigger:".svg-wrapper .backdrop",start:"top 100%",end:"bottom 0",toggleActions:"restart pause reverse pause",scrub:1},"--progress":1,duration:1})}activateNextCategory(){if(!this.activeCategory){this.activeCategory=this.categories[0];return}let t=this.categories.indexOf(this.activeCategory);t++,t>=this.categories.length&&(t=0),this.activeCategory=this.categories[t]}activatePrevCategory(){if(!this.activeCategory){this.activeCategory=this.categories[0];return}let t=this.categories.indexOf(this.activeCategory);t--,t<0&&(t=this.categories.length-1),this.activeCategory=this.categories[t]}activateNextFilter(){if(!this.activeFilter){this.activeFilter=this.customFilters[0];return}let t=this.customFilters.indexOf(this.activeFilter);t++,t>=this.customFilters.length-1&&(t=0),this.activeFilter=this.customFilters[t]}activatePrevFilter(){if(!this.activeFilter){this.activeFilter=this.customFilters[0];return}let t=this.customFilters.indexOf(this.activeFilter);t--,t<0&&(t=this.customFilters.length-2),this.activeFilter=this.customFilters[t]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Ae({type:e,selectors:[["page",8,"page","page-home","blurry-background"]],standalone:!0,features:[Te],attrs:lS,decls:76,vars:25,consts:[["banner",""],[1,"svg-wrapper"],[1,"backdrop"],["width","100%","height","100%","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","svg","http://www.w3.org/2000/svg",1,"rank"],["id","opaque"],["id","visible-mask","x","0","y","0","height","1000","fill","white"],["x","0","y","0",1,"block","block-1"],["x","0","y","0",1,"block","block-2"],["x","0","y","0",1,"block","block-3"],["x","0","y","0",1,"block","block-4"],["x","0","y","0",1,"block","block-5"],["x","0","y","0",1,"block","block-6"],["id","mask-block","x","0","y","0","height","1000","mask","url(#opaque)"],[1,"texts"],[1,"line","line-1"],[1,"line","line-2"],["id","categories"],[1,"card-view-1"],[1,"section-title-box"],[1,"info"],[1,"card-view-title"],[1,"sub-title-1"],[1,"action"],[1,"sn-button","type-1","dark","lg","right",3,"click"],[1,"sn-button","type-1","dark","lg","left",3,"click"],[1,"cards-wrapper",3,"swiperight","swipeleft"],[1,"cards"],[1,"card",3,"active"],[1,"indicator","type-1"],[1,"track"],[1,"bar"],["id","miniature"],[1,"card"],[1,"inner-wrapper"],[1,"title"],["routerLink","/archive/objects",3,"queryParams"],[1,"sub-title"],[1,"gap"],[1,"footer"],[1,"tags"],["id","calligraphy"],[1,"card-view-3"],[1,"row"],[1,"col-1"],[1,"col-3"],["desktop","",1,"action"],[1,"cards-wrapper",3,"swipeleft","swiperight"],[1,"card",3,"background-image","routerLink","queryParams"],["desktop","",1,"row"],[1,"link-mask",3,"routerLink"],[1,"thumbnail",3,"click"],[3,"routerLink"],[1,"sub-title-2"],[1,"card",3,"routerLink","queryParams"]],template:function(i,o){if(i&1){let s=se();d(0,"section",null,0)(2,"div",1),v(3,"div",2),hc(),d(4,"svg",3)(5,"mask",4),v(6,"rect",5)(7,"rect",6)(8,"rect",7)(9,"rect",8)(10,"rect",9)(11,"rect",10)(12,"rect",11),p(),v(13,"rect",12),p(),Kf(),d(14,"div",13)(15,"div",14),h(16,"\u0628\u0633\u062A\u0631\u06CC \u0628\u0631\u0627\u06CC \u0641\u0631\u0647\u0646\u06AF \u0648 \u0647\u0646\u0631 \u062C\u0647\u0627\u0646\u0650 \u0627\u06CC\u0631\u0627\u0646\u06CC"),p(),d(17,"div",15),h(18,"An Online Platform for the Arts and Culture of Iran"),p()()()(),d(19,"section",16)(20,"div",17)(21,"div",18)(22,"div",19)(23,"h3",20),h(24,"\u062A\u0645\u0627\u0634\u0627\u06CC \u062A\u0627\u0644\u0627\u0631\u0647\u0627"),p(),d(25,"p",21),h(26,"\u06AF\u0632\u06CC\u062F\u0647\u200C\u06CC \u0622\u062B\u0627\u0631 \u0641\u0631\u0647\u0646\u06AF \u0648 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646"),p()(),d(27,"div",22)(28,"div",23),V("click",function(){return Y(s),X(o.activatePrevCategory())}),p(),d(29,"div",24),V("click",function(){return Y(s),X(o.activateNextCategory())}),p()()(),d(30,"div",25),V("swiperight",function(){return Y(s),X(o.activateNextCategory())})("swipeleft",function(){return Y(s),X(o.activatePrevCategory())}),d(31,"div",26),_e(32,uS,11,13,"div",27,Zb),p()(),d(34,"div",28),v(35,"div",29)(36,"div",30),p()()(),d(37,"section",31)(38,"div",32)(39,"div",19)(40,"div",33)(41,"h3",34)(42,"a",35),h(43,"\u0646\u06AF\u0627\u0631\u06AF\u0631\u06CC"),p()(),d(44,"div",36)(45,"a",35),h(46,"\u0647\u0645\u0647\u200C\u06CC \u0646\u06AF\u0627\u0631\u06AF\u0631\u06CC\u200C\u0647\u0627\u06CC \u06AF\u0646\u062C\u06CC\u0646\u0647\u200C\u06CC \u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647"),p()(),v(47,"div",37),d(48,"div",38),v(49,"div",39),p()()()()(),d(50,"section",40)(51,"div",41)(52,"div",42),v(53,"div",43),d(54,"div",44)(55,"div",18)(56,"div",19)(57,"h3",20),h(58,"\u0647\u0646\u0631\u0647\u0627\u06CC \u0627\u06CC\u0631\u0627\u0646 \u062F\u0631 \u06AF\u0646\u06CC\u062C\u0646\u0647\u200C\u06CC \u0627\u0634\u06CC\u0627"),p(),d(59,"p",21),h(60,"\u06AF\u0632\u06CC\u062F\u0647\u200C\u06CC \u0622\u062B\u0627\u0631 \u0641\u0631\u0647\u0646\u06AF \u0648 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646"),p()(),d(61,"div",45)(62,"div",23),V("click",function(){return Y(s),X(o.activatePrevFilter())}),p(),d(63,"div",24),V("click",function(){return Y(s),X(o.activateNextFilter())}),p()()()(),v(64,"div",43),p(),d(65,"div",46),V("swipeleft",function(){return Y(s),X(o.activatePrevFilter())})("swiperight",function(){return Y(s),X(o.activateNextFilter())}),d(66,"div",26),_e(67,cS,7,6,"a",47,Zb),p()(),d(69,"div",48),v(70,"div",43),d(71,"div",44)(72,"div",28),v(73,"div",29)(74,"div",30),p()(),v(75,"div",43),p()()()}i&2&&(w(2),Ze("--aspect-ratio",o.svgWidth/o.svgHeight),w(2),Xe("viewBox","0 0 "+o.svgWidth+" "+o.svgHeight),w(2),Xe("width",o.svgWidth),w(7),Xe("width",o.svgWidth),w(7),Ze("--index",(o.activeCategory==null?null:o.activeCategory.meta.index)||0)("--size",o.categories.length),w(12),ve(o.categories),w(2),Ze("--index",(o.activeCategory==null?null:o.activeCategory.meta.index)||0)("--size",o.categories.length||1),w(8),ue("queryParams",e0(23,qb)),w(3),ue("queryParams",e0(24,qb)),w(6),Ze("--index",(o.activeFilter==null?null:o.activeFilter.id)||0)("--size",o.customFilters.length),w(16),ve(o.customFilters),w(5),Ze("--index",(o.activeFilter==null?null:o.activeFilter.id)||0)("--size",o.customFilters.length||1))},dependencies:[Or,Tr,el],styles:['.svg-wrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100svh;--progress: 0;--aspect-ratio: 1}.svg-wrapper[_ngcontent-%COMP%]   .backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;background-image:url(/assets/masked-01.jpg);background-size:cover;background-position:0 calc(var(--progress) * 100%)}.svg-wrapper[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{position:absolute;inset:0;width:100%;height:100%}.svg-wrapper[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   #mask-block[_ngcontent-%COMP%]{fill:var(--black-color)}.svg-wrapper[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]{width:40%;height:calc(11% * var(--aspect-ratio));fill:#000;transform-origin:0 0}.svg-wrapper[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .block.block-1[_ngcontent-%COMP%]{transform:translateY(18%) rotate(-25deg)}.svg-wrapper[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .block.block-2[_ngcontent-%COMP%]{transform:translateY(18%) rotate(25deg)}.svg-wrapper[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .block.block-3[_ngcontent-%COMP%]{transform:translate(10%,85%) rotate(-20deg)}.svg-wrapper[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .block.block-4[_ngcontent-%COMP%]{transform:translate(60%,10%) rotate(-15deg)}.svg-wrapper[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .block.block-5[_ngcontent-%COMP%]{transform:translate(70%,15%) rotate(35deg)}.svg-wrapper[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   .block.block-6[_ngcontent-%COMP%]{transform:translate(50%,60%) rotate(25deg)}.svg-wrapper[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]{position:absolute;top:50%;right:0;left:0;margin-top:-60px}.svg-wrapper[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]{text-align:center;color:#fff;font-weight:600;font-size:30px;line-height:200%;font-variation-settings:"CNTR" 100}@media screen and (max-width: 960px){.svg-wrapper[_ngcontent-%COMP%]   .texts[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]{font-size:22px}}section#categories[_ngcontent-%COMP%]{padding:200px 0}section#miniature[_ngcontent-%COMP%]{position:relative;height:100svh;background-image:url(/assets/miniature-background.jpg);background-size:100% auto;background-position:0 0}section#miniature[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{position:absolute;bottom:10%;right:20%;width:600px;height:240px;background:var(--color-brand-palette-10)}@media screen and (max-width: 960px){section#miniature[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{inset:auto 20px 20px;width:initial}}section#miniature[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{padding:40px 50px;color:#fff}section#miniature[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .inner-wrapper[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{font-size:14px;font-variation-settings:"CNTR" 0}section#miniature[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .inner-wrapper[_ngcontent-%COMP%]   .gap[_ngcontent-%COMP%]{height:20px}section#miniature[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .inner-wrapper[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]{display:flex}section#miniature[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .inner-wrapper[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]   .tags[_ngcontent-%COMP%]{flex:1}']});let r=e;return r})();var rC=(()=>{let e=class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(i){return new(i||e)(S(gl),S(de))},e.\u0275dir=ye({type:e});let r=e;return r})(),dS=(()=>{let e=class e extends rC{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ea(e)))(o||e)}})(),e.\u0275dir=ye({type:e,features:[mi]});let r=e;return r})(),$u=new q("");var hS={provide:$u,useExisting:To(()=>ph),multi:!0};function pS(){let r=sa()?sa().getUserAgent():"";return/android (\d+)/.test(r.toLowerCase())}var mS=new q(""),ph=(()=>{let e=class e extends rC{constructor(t,i,o){super(t,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!pS())}writeValue(t){let i=t??"";this.setProperty("value",i)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(i){return new(i||e)(S(gl),S(de),S(mS,8))},e.\u0275dir=ye({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&V("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[Lt([hS]),mi]});let r=e;return r})();function qo(r){return r==null||(typeof r=="string"||Array.isArray(r))&&r.length===0}function oC(r){return r!=null&&typeof r.length=="number"}var mh=new q(""),fh=new q(""),fS=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,nl=class{static min(e){return gS(e)}static max(e){return _S(e)}static required(e){return vS(e)}static requiredTrue(e){return bS(e)}static email(e){return CS(e)}static minLength(e){return yS(e)}static maxLength(e){return wS(e)}static pattern(e){return xS(e)}static nullValidator(e){return sC(e)}static compose(e){return hC(e)}static composeAsync(e){return pC(e)}};function gS(r){return e=>{if(qo(e.value)||qo(r))return null;let n=parseFloat(e.value);return!isNaN(n)&&n<r?{min:{min:r,actual:e.value}}:null}}function _S(r){return e=>{if(qo(e.value)||qo(r))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>r?{max:{max:r,actual:e.value}}:null}}function vS(r){return qo(r.value)?{required:!0}:null}function bS(r){return r.value===!0?null:{required:!0}}function CS(r){return qo(r.value)||fS.test(r.value)?null:{email:!0}}function yS(r){return e=>qo(e.value)||!oC(e.value)?null:e.value.length<r?{minlength:{requiredLength:r,actualLength:e.value.length}}:null}function wS(r){return e=>oC(e.value)&&e.value.length>r?{maxlength:{requiredLength:r,actualLength:e.value.length}}:null}function xS(r){if(!r)return sC;let e,n;return typeof r=="string"?(n="",r.charAt(0)!=="^"&&(n+="^"),n+=r,r.charAt(r.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=r.toString(),e=r),t=>{if(qo(t.value))return null;let i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function sC(r){return null}function aC(r){return r!=null}function lC(r){return yc(r)?Ei(r):r}function uC(r){let e={};return r.forEach(n=>{e=n!=null?z(z({},e),n):e}),Object.keys(e).length===0?null:e}function cC(r,e){return e.map(n=>n(r))}function ES(r){return!r.validate}function dC(r){return r.map(e=>ES(e)?e:n=>e.validate(n))}function hC(r){if(!r)return null;let e=r.filter(aC);return e.length==0?null:function(n){return uC(cC(n,e))}}function Hm(r){return r!=null?hC(dC(r)):null}function pC(r){if(!r)return null;let e=r.filter(aC);return e.length==0?null:function(n){let t=cC(n,e).map(lC);return Ks(t).pipe(te(uC))}}function $m(r){return r!=null?pC(dC(r)):null}function Kb(r,e){return r===null?[e]:Array.isArray(r)?[...r,e]:[r,e]}function mC(r){return r._rawValidators}function fC(r){return r._rawAsyncValidators}function Bm(r){return r?Array.isArray(r)?r:[r]:[]}function oh(r,e){return Array.isArray(r)?r.includes(e):r===e}function Jb(r,e){let n=Bm(e);return Bm(r).forEach(i=>{oh(n,i)||n.push(i)}),n}function eC(r,e){return Bm(e).filter(n=>!oh(r,n))}var sh=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Hm(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=$m(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},Ws=class extends sh{get formDirective(){return null}get path(){return null}},mr=class extends sh{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},zm=class{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},SS={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},qk=nt(z({},SS),{"[class.ng-submitted]":"isSubmitted"}),Gm=(()=>{let e=class e extends zm{constructor(t){super(t)}};e.\u0275fac=function(i){return new(i||e)(S(mr,2))},e.\u0275dir=ye({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Q("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[mi]});let r=e;return r})();var ju="VALID",rh="INVALID",tl="PENDING",Bu="DISABLED",Qo=class{},ah=class extends Qo{constructor(e,n){super(),this.value=e,this.source=n}},Uu=class extends Qo{constructor(e,n){super(),this.pristine=e,this.source=n}},Wu=class extends Qo{constructor(e,n){super(),this.touched=e,this.source=n}},il=class extends Qo{constructor(e,n){super(),this.status=e,this.source=n}},Um=class extends Qo{constructor(e){super(),this.source=e}},Wm=class extends Qo{constructor(e){super(),this.source=e}};function gC(r){return(gh(r)?r.validators:r)||null}function AS(r){return Array.isArray(r)?Hm(r):r||null}function _C(r,e){return(gh(e)?e.asyncValidators:r)||null}function TS(r){return Array.isArray(r)?$m(r):r||null}function gh(r){return r!=null&&!Array.isArray(r)&&typeof r=="object"}function OS(r,e,n){let t=r.controls;if(!(e?Object.keys(t):t).length)throw new rt(1e3,"");if(!t[n])throw new rt(1001,"")}function MS(r,e,n){r._forEachChild((t,i)=>{if(n[i]===void 0)throw new rt(1002,"")})}var lh=class{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=qr(()=>this.statusReactive()),this.statusReactive=Yr(void 0),this._pristine=qr(()=>this.pristineReactive()),this.pristineReactive=Yr(!0),this._touched=qr(()=>this.touchedReactive()),this.touchedReactive=Yr(!1),this._events=new K,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return sr(this.statusReactive)}set status(e){sr(()=>this.statusReactive.set(e))}get valid(){return this.status===ju}get invalid(){return this.status===rh}get pending(){return this.status==tl}get disabled(){return this.status===Bu}get enabled(){return this.status!==Bu}get pristine(){return sr(this.pristineReactive)}set pristine(e){sr(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return sr(this.touchedReactive)}set touched(e){sr(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Jb(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Jb(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(eC(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(eC(e,this._rawAsyncValidators))}hasValidator(e){return oh(this._rawValidators,e)}hasAsyncValidator(e){return oh(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let n=this.touched===!1;this.touched=!0;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(nt(z({},e),{sourceControl:t})),n&&e.emitEvent!==!1&&this._events.next(new Wu(!0,t))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(e))}markAsUntouched(e={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:t})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t),n&&e.emitEvent!==!1&&this._events.next(new Wu(!1,t))}markAsDirty(e={}){let n=this.pristine===!0;this.pristine=!1;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(nt(z({},e),{sourceControl:t})),n&&e.emitEvent!==!1&&this._events.next(new Uu(!1,t))}markAsPristine(e={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),n&&e.emitEvent!==!1&&this._events.next(new Uu(!0,t))}markAsPending(e={}){this.status=tl;let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new il(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(nt(z({},e),{sourceControl:n}))}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=Bu,this.errors=null,this._forEachChild(i=>{i.disable(nt(z({},e),{onlySelf:!0}))}),this._updateValue();let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new ah(this.value,t)),this._events.next(new il(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(nt(z({},e),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=ju,this._forEachChild(t=>{t.enable(nt(z({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(nt(z({},e),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e,n){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ju||this.status===tl)&&this._runAsyncValidator(t,e.emitEvent)}let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new ah(this.value,n)),this._events.next(new il(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(nt(z({},e),{sourceControl:n}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Bu:ju}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,n){if(this.asyncValidator){this.status=tl,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1};let t=lC(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:n,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((t,i)=>t&&t._find(i),this)}getError(e,n){let t=n?this.get(n):this;return t&&t.errors?t.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,n,t){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||t)&&this._events.next(new il(this.status,n)),this._parent&&this._parent._updateControlsErrors(e,n,t)}_initObservables(){this.valueChanges=new ge,this.statusChanges=new ge}_calculateStatus(){return this._allControlsDisabled()?Bu:this.errors?rh:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(tl)?tl:this._anyControlsHaveStatus(rh)?rh:ju}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,n){let t=!this._anyControlsDirty(),i=this.pristine!==t;this.pristine=t,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),i&&this._events.next(new Uu(this.pristine,n))}_updateTouched(e={},n){this.touched=this._anyControlsTouched(),this._events.next(new Wu(this.touched,n)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){gh(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=AS(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=TS(this._rawAsyncValidators)}},uh=class extends lh{constructor(e,n,t){super(gC(n),_C(t,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,t={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){MS(this,!0,e),Object.keys(e).forEach(t=>{OS(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(t=>{let i=this.controls[t];i&&i.patchValue(e[t],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((t,i)=>{t.reset(e?e[i]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,t)=>(e[t]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,t)=>t._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let t=this.controls[n];t&&e(t,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,t]of Object.entries(this.controls))if(this.contains(n)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,t,i)=>((t.enabled||this.disabled)&&(n[i]=t.value),n))}_reduceChildren(e,n){let t=e;return this._forEachChild((i,o)=>{t=n(t,i,o)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var rl=new q("CallSetDisabledState",{providedIn:"root",factory:()=>_h}),_h="always";function DS(r,e){return[...e.path,r]}function Hu(r,e,n=_h){Ym(r,e),e.valueAccessor.writeValue(r.value),(r.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(r.disabled),kS(r,e),RS(r,e),PS(r,e),IS(r,e)}function ch(r,e,n=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),hh(r,e),r&&(e._invokeOnDestroyCallbacks(),r._registerOnCollectionChange(()=>{}))}function dh(r,e){r.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function IS(r,e){if(e.valueAccessor.setDisabledState){let n=t=>{e.valueAccessor.setDisabledState(t)};r.registerOnDisabledChange(n),e._registerOnDestroy(()=>{r._unregisterOnDisabledChange(n)})}}function Ym(r,e){let n=mC(r);e.validator!==null?r.setValidators(Kb(n,e.validator)):typeof n=="function"&&r.setValidators([n]);let t=fC(r);e.asyncValidator!==null?r.setAsyncValidators(Kb(t,e.asyncValidator)):typeof t=="function"&&r.setAsyncValidators([t]);let i=()=>r.updateValueAndValidity();dh(e._rawValidators,i),dh(e._rawAsyncValidators,i)}function hh(r,e){let n=!1;if(r!==null){if(e.validator!==null){let i=mC(r);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(n=!0,r.setValidators(o))}}if(e.asyncValidator!==null){let i=fC(r);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(n=!0,r.setAsyncValidators(o))}}}let t=()=>{};return dh(e._rawValidators,t),dh(e._rawAsyncValidators,t),n}function kS(r,e){e.valueAccessor.registerOnChange(n=>{r._pendingValue=n,r._pendingChange=!0,r._pendingDirty=!0,r.updateOn==="change"&&vC(r,e)})}function PS(r,e){e.valueAccessor.registerOnTouched(()=>{r._pendingTouched=!0,r.updateOn==="blur"&&r._pendingChange&&vC(r,e),r.updateOn!=="submit"&&r.markAsTouched()})}function vC(r,e){r._pendingDirty&&r.markAsDirty(),r.setValue(r._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1}function RS(r,e){let n=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};r.registerOnChange(n),e._registerOnDestroy(()=>{r._unregisterOnChange(n)})}function bC(r,e){r==null,Ym(r,e)}function FS(r,e){return hh(r,e)}function CC(r,e){if(!r.hasOwnProperty("model"))return!1;let n=r.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function NS(r){return Object.getPrototypeOf(r.constructor)===dS}function yC(r,e){r._syncPendingControls(),e.forEach(n=>{let t=n.control;t.updateOn==="submit"&&t._pendingChange&&(n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function wC(r,e){if(!e)return null;Array.isArray(e);let n,t,i;return e.forEach(o=>{o.constructor===ph?n=o:NS(o)?t=o:i=o}),i||t||n||null}function LS(r,e){let n=r.indexOf(e);n>-1&&r.splice(n,1)}var VS={provide:Ws,useExisting:To(()=>Gu)},zu=Promise.resolve(),Gu=(()=>{let e=class e extends Ws{get submitted(){return sr(this.submittedReactive)}constructor(t,i,o){super(),this.callSetDisabledState=o,this._submitted=qr(()=>this.submittedReactive()),this.submittedReactive=Yr(!1),this._directives=new Set,this.ngSubmit=new ge,this.form=new uh({},Hm(t),$m(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){zu.then(()=>{let i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),Hu(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){zu.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){zu.then(()=>{let i=this._findContainer(t.path),o=new uh({});bC(o,t),i.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){zu.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){zu.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),yC(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(i){return new(i||e)(S(mh,10),S(fh,10),S(rl,8))},e.\u0275dir=ye({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&V("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Lt([VS]),mi]});let r=e;return r})();function tC(r,e){let n=r.indexOf(e);n>-1&&r.splice(n,1)}function iC(r){return typeof r=="object"&&r!==null&&Object.keys(r).length===2&&"value"in r&&"disabled"in r}var Yu=class extends lh{constructor(e=null,n,t){super(gC(n),_C(t,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),gh(n)&&(n.nonNullable||n.initialValueIsDefault)&&(iC(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){tC(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){tC(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){iC(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var jS=r=>r instanceof Yu;var BS={provide:mr,useExisting:To(()=>Xm)},nC=Promise.resolve(),Xm=(()=>{let e=class e extends mr{constructor(t,i,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new Yu,this._registered=!1,this.name="",this.update=new ge,this._parent=t,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=wC(this,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),CC(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Hu(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){nC.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let i=t.isDisabled.currentValue,o=i!==0&&Pe(i);nC.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?DS(t,this._parent):[t]}};e.\u0275fac=function(i){return new(i||e)(S(Ws,9),S(mh,10),S(fh,10),S($u,10),S(Dt,8),S(rl,8))},e.\u0275dir=ye({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Lt([BS]),mi,$t]});let r=e;return r})();var xC=new q(""),zS={provide:mr,useExisting:To(()=>Zm)},Zm=(()=>{let e=class e extends mr{set isDisabled(t){}constructor(t,i,o,s,a){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=a,this.update=new ge,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=wC(this,o)}ngOnChanges(t){if(this._isControlChanged(t)){let i=t.form.previousValue;i&&ch(i,this,!1),Hu(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}CC(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ch(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(i){return new(i||e)(S(mh,10),S(fh,10),S($u,10),S(xC,8),S(rl,8))},e.\u0275dir=ye({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Lt([zS]),mi,$t]});let r=e;return r})(),US={provide:Ws,useExisting:To(()=>Xu)},Xu=(()=>{let e=class e extends Ws{get submitted(){return sr(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}constructor(t,i,o){super(),this.callSetDisabledState=o,this._submitted=qr(()=>this._submittedReactive()),this._submittedReactive=Yr(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ge,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(hh(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let i=this.form.get(t.path);return Hu(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){ch(t.control||null,t,!1),LS(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this._submittedReactive.set(!0),yC(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new Um(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new Wm(this.form))}_updateDomValue(){this.directives.forEach(t=>{let i=t.control,o=this.form.get(t.path);i!==o&&(ch(i||null,t),jS(o)&&(Hu(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let i=this.form.get(t.path);bC(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let i=this.form.get(t.path);i&&FS(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ym(this.form,this),this._oldForm&&hh(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(S(mh,10),S(fh,10),S(rl,8))},e.\u0275dir=ye({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&V("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Lt([US]),mi,$t]});let r=e;return r})();var EC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({});let r=e;return r})();var qm=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:rl,useValue:t.callSetDisabledState??_h}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({imports:[EC]});let r=e;return r})(),Qm=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:xC,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:rl,useValue:t.callSetDisabledState??_h}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({imports:[EC]});let r=e;return r})();var vh=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,n,t=!0,i){this._multiple=e,this._emitChanges=t,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new K,n&&n.length&&(e?n.forEach(o=>this._markSelected(o)):this._markSelected(n[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(t=>this._markSelected(t));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}deselect(...e){this._verifyValueAssignment(e),e.forEach(t=>this._unmarkSelected(t));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}setSelection(...e){this._verifyValueAssignment(e);let n=this.selected,t=new Set(e);e.forEach(o=>this._markSelected(o)),n.filter(o=>!t.has(this._getConcreteValue(o,t))).forEach(o=>this._unmarkSelected(o));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let n=this._hasQueuedChanges();return e&&this._emitChangeEvent(),n}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,n){if(this.compareWith){n=n??this._selection;for(let t of n)if(this.compareWith(e,t))return t;return e}else return e}};var WS=20,ol=(()=>{let e=class e{constructor(t,i,o){this._ngZone=t,this._platform=i,this._scrolled=new K,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=WS){return this._platform.isBrowser?new xi(i=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(Hh(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):G()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){let o=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(_t(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(t){let i=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,t)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let o=ii(i),s=t.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return $r(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(i){return new(i||e)(I(ie),I(He),I(ae,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var HS=20,Lr=(()=>{let e=class e{constructor(t,i,o){this._platform=t,this._change=new K,this._changeListener=s=>{this._change.next(s)},this._document=o,i.runOutsideAngular(()=>{if(t.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,i=this._getWindow(),o=t.documentElement,s=o.getBoundingClientRect(),a=-s.top||t.body.scrollTop||i.scrollY||o.scrollTop||0,l=-s.left||t.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:a,left:l}}change(t=HS){return t>0?this._change.pipe(Hh(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(i){return new(i||e)(I(He),I(ie),I(ae,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var Ko=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({});let r=e;return r})(),Jm=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({imports:[Zo,Ko,Zo,Ko]});let r=e;return r})();var Zu=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Jo=class extends Zu{constructor(e,n,t,i,o){super(),this.component=e,this.viewContainerRef=n,this.injector=t,this.componentFactoryResolver=i,this.projectableNodes=o}},po=class extends Zu{constructor(e,n,t,i){super(),this.templateRef=e,this.viewContainerRef=n,this.context=t,this.injector=i}get origin(){return this.templateRef.elementRef}attach(e,n=this.context){return this.context=n,super.attach(e)}detach(){return this.context=void 0,super.detach()}},ef=class extends Zu{constructor(e){super(),this.element=e instanceof de?e.nativeElement:e}},sl=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof Jo)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof po)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof ef)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Ch=class extends sl{constructor(e,n,t,i,o){super(),this.outletElement=e,this._componentFactoryResolver=n,this._appRef=t,this._defaultInjector=i,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i;return e.viewContainerRef?(i=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=t.create(e.injector||this._defaultInjector||St.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=e,i}attachTemplatePortal(e){let n=e.viewContainerRef,t=n.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return t.rootNodes.forEach(i=>this.outletElement.appendChild(i)),t.detectChanges(),this.setDisposeFn(()=>{let i=n.indexOf(t);i!==-1&&n.remove(i)}),this._attachedPortal=e,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var tf=(()=>{let e=class e extends sl{constructor(t,i,o){super(),this._componentFactoryResolver=t,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new ge,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");s.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let i=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,s=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),a=i.createComponent(s,i.length,t.injector||i.injector,t.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=t,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(t){t.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}};e.\u0275fac=function(i){return new(i||e)(S(fc),S(Dn),S(ae))},e.\u0275dir=ye({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[mi]});let r=e;return r})();var qu=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({});let r=e;return r})();var SC=fb(),nf=class{constructor(e,n){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Xt(-this._previousScrollPosition.left),e.style.top=Xt(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,n=this._document.body,t=e.style,i=n.style,o=t.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),SC&&(t.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),SC&&(t.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let n=this._document.body,t=this._viewportRuler.getViewportSize();return n.scrollHeight>t.height||n.scrollWidth>t.width}};var rf=class{constructor(e,n,t,i){this._scrollDispatcher=e,this._ngZone=n,this._viewportRuler=t,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(_t(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},yh=class{enable(){}disable(){}attach(){}};function of(r,e){return e.some(n=>{let t=r.bottom<n.top,i=r.top>n.bottom,o=r.right<n.left,s=r.left>n.right;return t||i||o||s})}function AC(r,e){return e.some(n=>{let t=r.top<n.top,i=r.bottom>n.bottom,o=r.left<n.left,s=r.right>n.right;return t||i||o||s})}var sf=class{constructor(e,n,t,i){this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=t,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:i}=this._viewportRuler.getViewportSize();of(n,[{width:t,height:i,bottom:i,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},$S=(()=>{let e=class e{constructor(t,i,o,s){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new yh,this.close=a=>new rf(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new nf(this._viewportRuler,this._document),this.reposition=a=>new sf(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(i){return new(i||e)(I(ol),I(Lr),I(ie),I(ae))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),es=class{constructor(e){if(this.scrollStrategy=new yh,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let n=Object.keys(e);for(let t of n)e[t]!==void 0&&(this[t]=e[t])}}};var af=class{constructor(e,n){this.connectionPair=e,this.scrollableViewProperties=n}};var kC=(()=>{let e=class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(i){return new(i||e)(I(ae))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),GS=(()=>{let e=class e extends kC{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(i){return new(i||e)(I(ae),I(ie,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),YS=(()=>{let e=class e extends kC{constructor(t,i,o){super(t),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=ti(s)},this._clickListener=s=>{let a=ti(s),l=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let u=this._attachedOverlays.slice();for(let c=u.length-1;c>-1;c--){let m=u[c];if(m._outsidePointerEvents.observers.length<1||!m.hasAttached())continue;if(TC(m.overlayElement,a)||TC(m.overlayElement,l))break;let g=m._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>g.next(s)):g.next(s)}}}add(t){if(super.add(t),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(i){return new(i||e)(I(ae),I(He),I(ie,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function TC(r,e){let n=typeof ShadowRoot<"u"&&ShadowRoot,t=e;for(;t;){if(t===r)return!0;t=n&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var wh=(()=>{let e=class e{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||ku()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;s<o.length;s++)o[s].remove()}let i=this._document.createElement("div");i.classList.add(t),ku()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}};e.\u0275fac=function(i){return new(i||e)(I(ae),I(He))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),$s=class{constructor(e,n,t,i,o,s,a,l,u,c=!1,m){this._portalOutlet=e,this._host=n,this._pane=t,this._config=i,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=u,this._animationsDisabled=c,this._injector=m,this._backdropElement=null,this._backdropClick=new K,this._attachments=new K,this._detachments=new K,this._locationChanges=gt.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._backdropTransitionendHandler=g=>{this._disposeBackdrop(g.target)},this._keydownEvents=new K,this._outsidePointerEvents=new K,this._renders=new K,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy,this._afterRenderRef=sr(()=>vc(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let n=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),fn(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof n?.onDestroy=="function"&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=z(z({},this._config),e),this._updateElementSize()}setDirection(e){this._config=nt(z({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=Xt(this._config.width),e.height=Xt(this._config.height),e.minWidth=Xt(this._config.minWidth),e.minHeight=Xt(this._config.minHeight),e.maxWidth=Xt(this._config.maxWidth),e.maxHeight=Xt(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,n,t){let i=Vs(n||[]).filter(o=>!!o);i.length&&(t?e.classList.add(...i):e.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(qe(Ri(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},OC="cdk-overlay-connected-position-bounding-box",XS=/([A-Za-z%]+)$/,lf=class{get positions(){return this._preferredPositions}constructor(e,n,t,i,o){this._viewportRuler=n,this._document=t,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new K,this._resizeSubscription=gt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(OC),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,n=this._overlayRect,t=this._viewportRect,i=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,i,a),u=this._getOverlayPoint(l,n,a),c=this._getOverlayFit(u,n,t,a);if(c.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(c,u,t)){o.push({position:a,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<c.visibleArea)&&(s={overlayFit:c,overlayPoint:u,originPoint:l,position:a,overlayRect:n})}if(o.length){let a=null,l=-1;for(let u of o){let c=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);c>l&&(l=c,a=u)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Hs(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(OC),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,n)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,n,t){let i;if(t.originX=="center")i=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;i=t.originX=="start"?s:a}n.left<0&&(i-=n.left);let o;return t.originY=="center"?o=e.top+e.height/2:o=t.originY=="top"?e.top:e.bottom,n.top<0&&(o-=n.top),{x:i,y:o}}_getOverlayPoint(e,n,t){let i;t.overlayX=="center"?i=-n.width/2:t.overlayX==="start"?i=this._isRtl()?-n.width:0:i=this._isRtl()?0:-n.width;let o;return t.overlayY=="center"?o=-n.height/2:o=t.overlayY=="top"?0:-n.height,{x:e.x+i,y:e.y+o}}_getOverlayFit(e,n,t,i){let o=DC(n),{x:s,y:a}=e,l=this._getOffset(i,"x"),u=this._getOffset(i,"y");l&&(s+=l),u&&(a+=u);let c=0-s,m=s+o.width-t.width,g=0-a,_=a+o.height-t.height,C=this._subtractOverflows(o.width,c,m),y=this._subtractOverflows(o.height,g,_),x=C*y;return{visibleArea:x,isCompletelyWithinViewport:o.width*o.height===x,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:C==o.width}}_canFitWithFlexibleDimensions(e,n,t){if(this._hasFlexibleDimensions){let i=t.bottom-n.y,o=t.right-n.x,s=MC(this._overlayRef.getConfig().minHeight),a=MC(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||s!=null&&s<=i,u=e.fitsInViewportHorizontally||a!=null&&a<=o;return l&&u}return!1}_pushOverlayOnScreen(e,n,t){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let i=DC(n),o=this._viewportRect,s=Math.max(e.x+i.width-o.width,0),a=Math.max(e.y+i.height-o.height,0),l=Math.max(o.top-t.top-e.y,0),u=Math.max(o.left-t.left-e.x,0),c=0,m=0;return i.width<=o.width?c=u||-s:c=e.x<this._viewportMargin?o.left-t.left-e.x:0,i.height<=o.height?m=l||-a:m=e.y<this._viewportMargin?o.top-t.top-e.y:0,this._previousPushAmount={x:c,y:m},{x:e.x+c,y:e.y+m}}_applyPosition(e,n){if(this._setTransformOrigin(e),this._setOverlayElementStyles(n,e),this._setBoundingBoxStyles(n,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let t=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!ZS(this._lastScrollVisibility,t)){let i=new af(e,t);this._positionChanges.next(i)}this._lastScrollVisibility=t}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let n=this._boundingBox.querySelectorAll(this._transformOriginSelector),t,i=e.overlayY;e.overlayX==="center"?t="center":this._isRtl()?t=e.overlayX==="start"?"right":"left":t=e.overlayX==="start"?"left":"right";for(let o=0;o<n.length;o++)n[o].style.transformOrigin=`${t} ${i}`}_calculateBoundingBoxRect(e,n){let t=this._viewportRect,i=this._isRtl(),o,s,a;if(n.overlayY==="top")s=e.y,o=t.height-s+this._viewportMargin;else if(n.overlayY==="bottom")a=t.height-e.y+this._viewportMargin*2,o=t.height-a+this._viewportMargin;else{let _=Math.min(t.bottom-e.y+t.top,e.y),C=this._lastBoundingBoxSize.height;o=_*2,s=e.y-_,o>C&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-C/2)}let l=n.overlayX==="start"&&!i||n.overlayX==="end"&&i,u=n.overlayX==="end"&&!i||n.overlayX==="start"&&i,c,m,g;if(u)g=t.width-e.x+this._viewportMargin*2,c=e.x-this._viewportMargin;else if(l)m=e.x,c=t.right-e.x;else{let _=Math.min(t.right-e.x+t.left,e.x),C=this._lastBoundingBoxSize.width;c=_*2,m=e.x-_,c>C&&!this._isInitialRender&&!this._growAfterOpen&&(m=e.x-C/2)}return{top:s,left:m,bottom:a,right:g,width:c,height:o}}_setBoundingBoxStyles(e,n){let t=this._calculateBoundingBoxRect(e,n);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=Xt(t.height),i.top=Xt(t.top),i.bottom=Xt(t.bottom),i.width=Xt(t.width),i.left=Xt(t.left),i.right=Xt(t.right),n.overlayX==="center"?i.alignItems="center":i.alignItems=n.overlayX==="end"?"flex-end":"flex-start",n.overlayY==="center"?i.justifyContent="center":i.justifyContent=n.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=Xt(o)),s&&(i.maxWidth=Xt(s))}this._lastBoundingBoxSize=t,Hs(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Hs(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Hs(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,n){let t={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){let c=this._viewportRuler.getViewportScrollPosition();Hs(t,this._getExactOverlayY(n,e,c)),Hs(t,this._getExactOverlayX(n,e,c))}else t.position="static";let a="",l=this._getOffset(n,"x"),u=this._getOffset(n,"y");l&&(a+=`translateX(${l}px) `),u&&(a+=`translateY(${u}px)`),t.transform=a.trim(),s.maxHeight&&(i?t.maxHeight=Xt(s.maxHeight):o&&(t.maxHeight="")),s.maxWidth&&(i?t.maxWidth=Xt(s.maxWidth):o&&(t.maxWidth="")),Hs(this._pane.style,t)}_getExactOverlayY(e,n,t){let i={top:"",bottom:""},o=this._getOverlayPoint(n,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;i.bottom=`${s-(o.y+this._overlayRect.height)}px`}else i.top=Xt(o.y);return i}_getExactOverlayX(e,n,t){let i={left:"",right:""},o=this._getOverlayPoint(n,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(o.x+this._overlayRect.width)}px`}else i.left=Xt(o.x);return i}_getScrollVisibility(){let e=this._getOriginRect(),n=this._pane.getBoundingClientRect(),t=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:AC(e,t),isOriginOutsideView:of(e,t),isOverlayClipped:AC(n,t),isOverlayOutsideView:of(n,t)}}_subtractOverflows(e,...n){return n.reduce((t,i)=>t-Math.max(i,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+e-this._viewportMargin,bottom:t.top+n-this._viewportMargin,width:e-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,n){return n==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Vs(e).forEach(n=>{n!==""&&this._appliedPanelClasses.indexOf(n)===-1&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof de)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let n=e.width||0,t=e.height||0;return{top:e.y,bottom:e.y+t,left:e.x,right:e.x+n,height:t,width:n}}};function Hs(r,e){for(let n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r}function MC(r){if(typeof r!="number"&&r!=null){let[e,n]=r.split(XS);return!n||n==="px"?parseFloat(e):null}return r||null}function DC(r){return{top:Math.floor(r.top),right:Math.floor(r.right),bottom:Math.floor(r.bottom),left:Math.floor(r.left),width:Math.floor(r.width),height:Math.floor(r.height)}}function ZS(r,e){return r===e?!0:r.isOriginClipped===e.isOriginClipped&&r.isOriginOutsideView===e.isOriginOutsideView&&r.isOverlayClipped===e.isOverlayClipped&&r.isOverlayOutsideView===e.isOverlayOutsideView}var IC="cdk-global-overlay-wrapper",uf=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let n=e.getConfig();this._overlayRef=e,this._width&&!n.width&&e.updateSize({width:this._width}),this._height&&!n.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(IC),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=t,l=(i==="100%"||i==="100vw")&&(!s||s==="100%"||s==="100vw"),u=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),c=this._xPosition,m=this._xOffset,g=this._overlayRef.getConfig().direction==="rtl",_="",C="",y="";l?y="flex-start":c==="center"?(y="center",g?C=m:_=m):g?c==="left"||c==="end"?(y="flex-end",_=m):(c==="right"||c==="start")&&(y="flex-start",C=m):c==="left"||c==="start"?(y="flex-start",_=m):(c==="right"||c==="end")&&(y="flex-end",C=m),e.position=this._cssPosition,e.marginLeft=l?"0":_,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":C,n.justifyContent=y,n.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,t=n.style;n.classList.remove(IC),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},qS=(()=>{let e=class e{constructor(t,i,o,s){this._viewportRuler=t,this._document=i,this._platform=o,this._overlayContainer=s}global(){return new uf}flexibleConnectedTo(t){return new lf(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(i){return new(i||e)(I(Lr),I(ae),I(He),I(wh))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),QS=0,Zt=(()=>{let e=class e{constructor(t,i,o,s,a,l,u,c,m,g,_,C){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=u,this._document=c,this._directionality=m,this._location=g,this._outsideClickDispatcher=_,this._animationsModuleType=C}create(t){let i=this._createHostElement(),o=this._createPaneElement(i),s=this._createPortalOutlet(o),a=new es(t);return a.direction=a.direction||this._directionality.value,new $s(s,i,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(or))}position(){return this._positionBuilder}_createPaneElement(t){let i=this._document.createElement("div");return i.id=`cdk-overlay-${QS++}`,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Zr)),new Ch(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(i){return new(i||e)(I($S),I(wh),I(fc),I(qS),I(GS),I(St),I(ie),I(ae),I(Wi),I(us),I(YS),I(pi,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),KS=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],PC=new q("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let r=O(Zt);return()=>r.scrollStrategies.reposition()}}),Qu=(()=>{let e=class e{constructor(t){this.elementRef=t}};e.\u0275fac=function(i){return new(i||e)(S(de))},e.\u0275dir=ye({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let r=e;return r})(),cf=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,i,o,s,a){this._overlay=t,this._dir=a,this._backdropSubscription=gt.EMPTY,this._attachSubscription=gt.EMPTY,this._detachSubscription=gt.EMPTY,this._positionSubscription=gt.EMPTY,this._disposeOnNavigation=!1,this._ngZone=O(ie),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new ge,this.positionChange=new ge,this.attach=new ge,this.detach=new ge,this.overlayKeydown=new ge,this.overlayOutsideClick=new ge,this._templatePortal=new po(i,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=KS);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Mi(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let o=this._getOriginElement(),s=ti(i);(!o||o!==s&&!o.contains(s))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new es({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(t){let i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Qu?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Qu?this.origin.elementRef.nativeElement:this.origin instanceof de?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Yf(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(S(Zt),S(Gr),S(Dn),S(PC),S(Wi,8))},e.\u0275dir=ye({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Pe],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Pe],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Pe],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Pe],push:[2,"cdkConnectedOverlayPush","push",Pe],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Pe]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[At,$t]});let r=e;return r})();function JS(r){return()=>r.scrollStrategies.reposition()}var eA={provide:PC,deps:[Zt],useFactory:JS},is=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({providers:[Zt,eA],imports:[Zo,qu,Jm,Jm]});let r=e;return r})();var hf=class{constructor(e){this._box=e,this._destroyed=new K,this._resizeSubject=new K,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(n=>this._resizeSubject.next(n)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new xi(n=>{let t=this._resizeSubject.subscribe(n);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),t.unsubscribe(),this._elementObservables.delete(e)}}).pipe(_t(n=>n.some(t=>t.target===e)),Yh({bufferSize:1,refCount:!0}),qe(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},RC=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=O(ie),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,t]of this._observers)t.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(t,i){let o=i?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new hf(o)),this._observers.get(o).observe(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var tA=["notch"],iA=["matFormFieldNotchedOutline",""],nA=["*"],rA=["textField"],oA=["iconPrefixContainer"],sA=["textPrefixContainer"],aA=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],lA=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function uA(r,e){r&1&&v(0,"span",19)}function cA(r,e){if(r&1&&(d(0,"label",18),ot(1,1),re(2,uA,1,0,"span",19),p()),r&2){let n=N(2);ue("floating",n._shouldLabelFloat())("monitorResize",n._hasOutline())("id",n._labelId),Xe("for",n._control.disableAutomaticLabeling?null:n._control.id),w(2),Z(!n.hideRequiredMarker&&n._control.required?2:-1)}}function dA(r,e){if(r&1&&re(0,cA,3,5,"label",18),r&2){let n=N();Z(n._hasFloatingLabel()?0:-1)}}function hA(r,e){r&1&&v(0,"div",5)}function pA(r,e){}function mA(r,e){if(r&1&&re(0,pA,0,0,"ng-template",11),r&2){N(2);let n=xr(1);ue("ngTemplateOutlet",n)}}function fA(r,e){if(r&1&&(d(0,"div",7),re(1,mA,1,1,null,11),p()),r&2){let n=N();ue("matFormFieldNotchedOutlineOpen",n._shouldLabelFloat()),w(),Z(n._forceDisplayInfixLabel()?-1:1)}}function gA(r,e){r&1&&(d(0,"div",8,2),ot(2,2),p())}function _A(r,e){r&1&&(d(0,"div",9,3),ot(2,3),p())}function vA(r,e){}function bA(r,e){if(r&1&&re(0,vA,0,0,"ng-template",11),r&2){N();let n=xr(1);ue("ngTemplateOutlet",n)}}function CA(r,e){r&1&&(d(0,"div",12),ot(1,4),p())}function yA(r,e){r&1&&(d(0,"div",13),ot(1,5),p())}function wA(r,e){r&1&&v(0,"div",14)}function xA(r,e){if(r&1&&(d(0,"div",16),ot(1,6),p()),r&2){let n=N();ue("@transitionMessages",n._subscriptAnimationState)}}function EA(r,e){if(r&1&&(d(0,"mat-hint",20),h(1),p()),r&2){let n=N(2);ue("id",n._hintLabelId),w(),le(n.hintLabel)}}function SA(r,e){if(r&1&&(d(0,"div",17),re(1,EA,2,2,"mat-hint",20),ot(2,7),v(3,"div",21),ot(4,8),p()),r&2){let n=N();ue("@transitionMessages",n._subscriptAnimationState),w(),Z(n.hintLabel?1:-1)}}var Eh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ye({type:e,selectors:[["mat-label"]],standalone:!0});let r=e;return r})();var AA=new q("MatError");var TA=0,FC=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${TA++}`}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ye({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){i&2&&(na("id",o.id),Xe("align",null),Q("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let r=e;return r})(),OA=new q("MatPrefix");var WC=new q("MatSuffix"),HC=(()=>{let e=class e{constructor(){this._isText=!1}set _isTextSelector(t){this._isText=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ye({type:e,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[Lt([{provide:WC,useExisting:e}])]});let r=e;return r})(),$C=new q("FloatingLabelParent"),NC=(()=>{let e=class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=O(RC),this._ngZone=O(ie),this._parent=O($C),this._resizeSubscription=new gt}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return MA(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(i){return new(i||e)(S(de))},e.\u0275dir=ye({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){i&2&&Q("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let r=e;return r})();function MA(r){let e=r;if(e.offsetParent!==null)return e.scrollWidth;let n=e.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);let t=n.scrollWidth;return n.remove(),t}var LC="mdc-line-ripple--active",xh="mdc-line-ripple--deactivating",VC=(()=>{let e=class e{constructor(t,i){this._elementRef=t,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(xh);o.propertyName==="opacity"&&a&&s.remove(LC,xh)},i.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let t=this._elementRef.nativeElement.classList;t.remove(xh),t.add(LC)}deactivate(){this._elementRef.nativeElement.classList.add(xh)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(i){return new(i||e)(S(de),S(ie))},e.\u0275dir=ye({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let r=e;return r})(),jC=(()=>{let e=class e{constructor(t,i){this._elementRef=t,this._ngZone=i,this.open=!1}ngAfterViewInit(){let t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){!this.open||!t?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(i){return new(i||e)(S(de),S(ie))},e.\u0275cmp=Ae({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(i&1&&yt(tA,5),i&2){let s;Ue(s=We())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){i&2&&Q("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Te],attrs:iA,ngContentSelectors:nA,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,o){i&1&&(Ni(),v(0,"div",1),d(1,"div",2,0),ot(3),p(),v(4,"div",3))},encapsulation:2,changeDetection:0});let r=e;return r})(),DA={transitionMessages:cs("transitionMessages",[aa("enter",$n({opacity:1,transform:"translateY(0%)"})),Kr("void => enter",[$n({opacity:0,transform:"translateY(-5px)"}),Qr("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ku=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ye({type:e});let r=e;return r})();var Gs=new q("MatFormField"),IA=new q("MAT_FORM_FIELD_DEFAULT_OPTIONS"),BC=0,zC="fill",kA="auto",UC="fixed",PA="translateY(-50%)",pf=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Nr(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||kA}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){let i=this._appearance,o=t||this._defaults?.appearance||zC;this._appearance=o,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||UC}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||UC}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,i,o,s,a,l,u,c){this._elementRef=t,this._changeDetectorRef=i,this._dir=s,this._platform=a,this._defaults=l,this._animationMode=u,this._labelChild=hg(Eh),this._hideRequiredMarker=!1,this.color="primary",this._appearance=zC,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${BC++}`,this._hintLabelId=`mat-mdc-hint-${BC++}`,this._subscriptAnimationState="",this._destroyed=new K,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._injector=O(St),this.getLabelId=qr(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=qr(()=>!!this._labelChild()),l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(qe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Ri(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),vc(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(qe(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(t){let i=this._control?this._control.ngControl:null;return i&&i[t]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&t.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;i?t.push(i.id):this._hintLabel&&t.push(this._hintLabelId),o&&t.push(o.id)}else this._errorChildren&&t.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let t=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){t.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=i?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",u=`${s+a}px`,m=`calc(${l} * (${u} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;t.style.transform=`var(
        --mat-mdc-form-field-label-transform,
        ${PA} translateX(${m})
    )`}_isAttachedToDom(){let t=this._elementRef.nativeElement;if(t.getRootNode){let i=t.getRootNode();return i&&i!==t}return document.documentElement.contains(t)}};e.\u0275fac=function(i){return new(i||e)(S(de),S(Dt),S(ie),S(Wi),S(He),S(IA,8),S(pi,8),S(ae))},e.\u0275cmp=Ae({type:e,selectors:[["mat-form-field"]],contentQueries:function(i,o,s){if(i&1&&(_g(s,o._labelChild,Eh,5),gn(s,Ku,5),gn(s,OA,5),gn(s,WC,5),gn(s,AA,5),gn(s,FC,5)),i&2){vg();let a;Ue(a=We())&&(o._formFieldControl=a.first),Ue(a=We())&&(o._prefixChildren=a),Ue(a=We())&&(o._suffixChildren=a),Ue(a=We())&&(o._errorChildren=a),Ue(a=We())&&(o._hintChildren=a)}},viewQuery:function(i,o){if(i&1&&(yt(rA,5),yt(oA,5),yt(sA,5),yt(NC,5),yt(jC,5),yt(VC,5)),i&2){let s;Ue(s=We())&&(o._textField=s.first),Ue(s=We())&&(o._iconPrefixContainer=s.first),Ue(s=We())&&(o._textPrefixContainer=s.first),Ue(s=We())&&(o._floatingLabel=s.first),Ue(s=We())&&(o._notchedOutline=s.first),Ue(s=We())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){i&2&&Q("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[Lt([{provide:Gs,useExisting:e},{provide:$C,useExisting:e}]),Te],ngContentSelectors:lA,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,o){if(i&1){let s=se();Ni(aA),re(0,dA,1,1,"ng-template",null,0,xg),d(2,"div",4,1),V("click",function(l){return Y(s),X(o._control.onContainerClick(l))}),re(4,hA,1,0,"div",5),d(5,"div",6),re(6,fA,2,2,"div",7)(7,gA,3,0,"div",8)(8,_A,3,0,"div",9),d(9,"div",10),re(10,bA,1,1,null,11),ot(11),p(),re(12,CA,2,0,"div",12)(13,yA,2,0,"div",13),p(),re(14,wA,1,0,"div",14),p(),d(15,"div",15),re(16,xA,2,1,"div",16)(17,SA,5,2,"div",17),p()}if(i&2){let s;w(2),Q("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),w(2),Z(!o._hasOutline()&&!o._control.disabled?4:-1),w(2),Z(o._hasOutline()?6:-1),w(),Z(o._hasIconPrefix?7:-1),w(),Z(o._hasTextPrefix?8:-1),w(2),Z(!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),w(2),Z(o._hasTextSuffix?12:-1),w(),Z(o._hasIconSuffix?13:-1),w(),Z(o._hasOutline()?-1:14),w(),Q("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),w(),Z((s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[NC,jC,Ng,VC,FC],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color);caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color);caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape)}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-left:16px;padding-right:16px}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color);border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;width:12px;border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape)}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 24px)}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[DA.transitionMessages]},changeDetection:0});let r=e;return r})(),Ys=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({imports:[mt,ar,$d,mt]});let r=e;return r})();var FA=["trigger"],NA=["panel"],LA=[[["mat-select-trigger"]],"*"],VA=["mat-select-trigger","*"];function jA(r,e){if(r&1&&(d(0,"span",4),h(1),p()),r&2){let n=N();w(),le(n.placeholder)}}function BA(r,e){r&1&&ot(0)}function zA(r,e){if(r&1&&(d(0,"span",11),h(1),p()),r&2){let n=N(2);w(),le(n.triggerValue)}}function UA(r,e){if(r&1&&(d(0,"span",5),re(1,BA,1,0)(2,zA,2,1,"span",11),p()),r&2){let n=N();w(),Z(n.customTrigger?1:2)}}function WA(r,e){if(r&1){let n=se();d(0,"div",12,1),V("@transformPanel.done",function(i){Y(n);let o=N();return X(o._panelDoneAnimatingStream.next(i.toState))})("keydown",function(i){Y(n);let o=N();return X(o._handleKeydown(i))}),ot(2,1),p()}if(r&2){let n=N();mg("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",n._getPanelTheme(),""),ue("ngClass",n.panelClass)("@transformPanel","showing"),Xe("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}var HA={transformPanelWrap:cs("transformPanelWrap",[Kr("* => void",Ug("@transformPanel",[zg()],{optional:!0}))]),transformPanel:cs("transformPanel",[aa("void",$n({opacity:0,transform:"scale(1, 0.8)"})),Kr("void => showing",Qr("120ms cubic-bezier(0, 0, 0.2, 1)",$n({opacity:1,transform:"scale(1, 1)"}))),Kr("* => void",Qr("100ms linear",$n({opacity:0})))])};var GC=0,YC=new q("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let r=O(Zt);return()=>r.scrollStrategies.reposition()}});function $A(r){return()=>r.scrollStrategies.reposition()}var GA=new q("MAT_SELECT_CONFIG"),YA={provide:YC,deps:[Zt],useFactory:$A},XA=new q("MatSelectTrigger"),mf=class{constructor(e,n){this.source=e,this.value=n}},XC=(()=>{let e=class e{_scrollOptionIntoView(t){let i=this.options.toArray()[t];if(i){let o=this.panel.nativeElement,s=ih(t,this.options,this.optionGroups),a=i._getHostElement();t===0&&s===1?o.scrollTop=0:o.scrollTop=nh(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new mf(this,t)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(nl.required)??!1}set required(t){this._required=t,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._selectionModel,this._multiple=t}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,i,o,s,a,l,u,c,m,g,_,C,y,x){this._viewportRuler=t,this._changeDetectorRef=i,this._elementRef=a,this._dir=l,this._parentFormField=m,this.ngControl=g,this._liveAnnouncer=y,this._defaultOptions=x,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(A,k)=>A===k,this._uid=`mat-select-${GC++}`,this._triggerAriaLabelledBy=null,this._destroy=new K,this.stateChanges=new K,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${GC++}`,this._panelDoneAnimatingStream=new K,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new K,this.optionSelectionChanges=rr(()=>{let A=this.options;return A?A.changes.pipe(Fi(A),lt(()=>Ri(...A.map(k=>k.onSelectionChange)))):this._initialized.pipe(lt(()=>this.optionSelectionChanges))}),this.openedChange=new ge,this._openedStream=this.openedChange.pipe(_t(A=>A),te(()=>{})),this._closedStream=this.openedChange.pipe(_t(A=>!A),te(()=>{})),this.selectionChange=new ge,this.valueChange=new ge,this._trackedModal=null,this._skipPredicate=A=>this.panelOpen?!1:A.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),x?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=x.typeaheadDebounceInterval),this._errorStateTracker=new Qa(s,g,c,u,this.stateChanges),this._scrollStrategyFactory=C,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(_)||0,this.id=this.id}ngOnInit(){this._selectionModel=new vh(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(cl(),qe(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(qe(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(qe(this._destroy)).subscribe(t=>{t.added.forEach(i=>i.select()),t.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Fi(null),qe(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let t=this._getTriggerAriaLabelledby(),i=this.ngControl;if(t!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?o.setAttribute("aria-labelledby",t):o.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let i=`${this.id}-panel`;this._trackedModal&&Xo(this._trackedModal,"aria-owns",i),Xa(t,"aria-owns",i),this._trackedModal=t}_clearFromModal(){if(!this._trackedModal)return;let t=`${this.id}-panel`;Xo(this._trackedModal,"aria-owns",t),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let t=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){let i=t.keyCode,o=i===40||i===38||i===37||i===39,s=i===13||i===32,a=this._keyManager;if(!a.isTyping()&&s&&!Mi(t)||(this.multiple||t.altKey)&&o)t.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;a.onKeydown(t);let u=this.selected;u&&l!==u&&this._liveAnnouncer.announce(u.viewValue,1e4)}}_handleOpenKeydown(t){let i=this._keyManager,o=t.keyCode,s=o===40||o===38,a=i.isTyping();if(s&&t.altKey)t.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&i.activeItem&&!Mi(t))t.preventDefault(),i.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&t.ctrlKey){t.preventDefault();let l=this.options.some(u=>!u.disabled&&!u.selected);this.options.forEach(u=>{u.disabled||(l?u.select():u.deselect())})}else{let l=i.activeItemIndex;i.onKeydown(t),this._multiple&&s&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==l&&i.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Si(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(t);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){let i=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,t)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(t){return t!==this._value||this._multiple&&Array.isArray(t)?(this.options&&this._setSelectionByValue(t),this._value=t,!0):!1}_getOverlayWidth(t){return this.panelWidth==="auto"?(t instanceof Qu?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Ga(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let t=Ri(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(qe(t)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Ri(...this.options.map(i=>i._stateChanges)).pipe(qe(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,i){let o=this._selectionModel.isSelected(t);t.value==null&&!this._multiple?(t.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(t.value)):(o!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),i&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),i&&this.focus())),o!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let t=this.options.toArray();this._selectionModel.sort((i,o)=>this.sortComparator?this.sortComparator(i,o,t):t.indexOf(i)-t.indexOf(o)),this.stateChanges.next()}}_propagateChanges(t){let i;this.multiple?i=this.selected.map(o=>o.value):i=this.selected?this.selected.value:t,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){t=i;break}this._keyManager.setActiveItem(t)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),i=t?t+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),i=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(i){return new(i||e)(S(Lr),S(Dt),S(ie),S(th),S(de),S(Wi,8),S(Gu,8),S(Xu,8),S(Gs,8),S(mr,10),ss("tabindex"),S(YC),S(Mb),S(GA,8))},e.\u0275cmp=Ae({type:e,selectors:[["mat-select"]],contentQueries:function(i,o,s){if(i&1&&(gn(s,XA,5),gn(s,Us,5),gn(s,Vu,5)),i&2){let a;Ue(a=We())&&(o.customTrigger=a.first),Ue(a=We())&&(o.options=a),Ue(a=We())&&(o.optionGroups=a)}},viewQuery:function(i,o){if(i&1&&(yt(FA,5),yt(NA,5),yt(cf,5)),i&2){let s;Ue(s=We())&&(o.trigger=s.first),Ue(s=We())&&(o.panel=s.first),Ue(s=We())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,o){i&1&&V("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),i&2&&(Xe("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),Q("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",Pe],disableRipple:[2,"disableRipple","disableRipple",Pe],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:Mo(t)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Pe],placeholder:"placeholder",required:[2,"required","required",Pe],multiple:[2,"multiple","multiple",Pe],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Pe],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Mo],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Lt([{provide:Ku,useExisting:e},{provide:Lu,useExisting:e}]),At,$t,Te],ngContentSelectors:VA,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,o){if(i&1){let s=se();Ni(LA),d(0,"div",2,0),V("click",function(){return Y(s),X(o.open())}),d(3,"div",3),re(4,jA,2,1,"span",4)(5,UA,3,1,"span",5),p(),d(6,"div",6)(7,"div",7),hc(),d(8,"svg",8),v(9,"path",9),p()()()(),re(10,WA,3,9,"ng-template",10),V("backdropClick",function(){return Y(s),X(o.close())})("attach",function(){return Y(s),X(o._onAttached())})("detach",function(){return Y(s),X(o.close())})}if(i&2){let s=xr(1);w(3),Xe("id",o._valueId),w(),Z(o.empty?4:5),w(6),ue("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[Qu,cf,Ec],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[HA.transformPanel]},changeDetection:0});let r=e;return r})();var ZC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({providers:[YA],imports:[ar,is,Ja,mt,Ko,Ys,Ja,mt]});let r=e;return r})();function qA(r,e){r&1&&v(0,"div",2)}var QA=new q("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var al=(()=>{let e=class e{constructor(t,i,o,s,a){this._elementRef=t,this._ngZone=i,this._changeDetectorRef=o,this._animationMode=s,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new ge,this._mode="determinate",this._transitionendHandler=l=>{this.animationEnd.observers.length===0||!l.target||!l.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=s==="NoopAnimations",a&&(a.color&&(this.color=this._defaultColor=a.color),this.mode=a.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(t){this._color=t}get value(){return this._value}set value(t){this._value=qC(t||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(t){this._bufferValue=qC(t||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(t){this._mode=t,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}};e.\u0275fac=function(i){return new(i||e)(S(de),S(ie),S(Dt),S(pi,8),S(QA,8))},e.\u0275cmp=Ae({type:e,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(i,o){i&2&&(Xe("aria-valuenow",o._isIndeterminate()?null:o.value)("mode",o.mode),wr("mat-"+o.color),Q("_mat-animation-noopable",o._isNoopAnimation)("mdc-linear-progress--animation-ready",!o._isNoopAnimation)("mdc-linear-progress--indeterminate",o._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",Mo],bufferValue:[2,"bufferValue","bufferValue",Mo],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[At,Te],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(i,o){i&1&&(d(0,"div",0),v(1,"div",1),re(2,qA,1,0,"div",2),p(),d(3,"div",3),v(4,"span",4),p(),d(5,"div",5),v(6,"span",4),p()),i&2&&(w(),Ze("flex-basis",o._getBufferBarFlexBasis()),w(),Z(o.mode==="buffer"?2:-1),w(),Ze("transform",o._getPrimaryBarTransform()))},styles:[`.mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height),var(--mdc-linear-progress-active-indicator-height))}.cdk-high-contrast-active .mdc-linear-progress{outline-color:CanvasText}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color);border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height);border-radius:var(--mdc-linear-progress-track-shape)}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color)}.cdk-high-contrast-active .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}`],encapsulation:2,changeDetection:0});let r=e;return r})();function qC(r,e=0,n=100){return Math.max(e,Math.min(n,r))}var ll=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({imports:[mt]});let r=e;return r})();var QC=ln({passive:!0}),KC=(()=>{let e=class e{constructor(t,i){this._platform=t,this._ngZone=i,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return yr;let i=ii(t),o=this._monitoredElements.get(i);if(o)return o.subject;let s=new K,a="cdk-text-field-autofilled",l=u=>{u.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(a)?(i.classList.add(a),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",l,QC),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:s,unlisten:()=>{i.removeEventListener("animationstart",l,QC)}}),s}stopMonitoring(t){let i=ii(t),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((t,i)=>this.stopMonitoring(i))}};e.\u0275fac=function(i){return new(i||e)(I(He),I(ie))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var JC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({});let r=e;return r})();var JA=new q("MAT_INPUT_VALUE_ACCESSOR"),e3=["button","checkbox","file","hidden","image","radio","range","reset","submit"],t3=0,ey=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){this._disabled=Nr(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(nl.required)??!1}set required(t){this._required=Nr(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Cm().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Nr(t)}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,i,o,s,a,l,u,c,m,g){this._elementRef=t,this._platform=i,this.ngControl=o,this._autofillMonitor=c,this._ngZone=m,this._formField=g,this._uid=`mat-input-${t3++}`,this._webkitBlinkWheelListenerAttached=!1,this.focused=!1,this.stateChanges=new K,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(y=>Cm().has(y)),this._iOSKeyupListener=y=>{let x=y.target;!x.value&&x.selectionStart===0&&x.selectionEnd===0&&(x.setSelectionRange(1,1),x.setSelectionRange(0,0))},this._webkitBlinkWheelListener=()=>{};let _=this._elementRef.nativeElement,C=_.nodeName.toLowerCase();this._inputValueAccessor=u||_,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&m.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Qa(l,o,a,s,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=C==="select",this._isTextarea=C==="textarea",this._isInFormField=!!g,this._isNativeSelect&&(this.controlType=_.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_dirtyCheckPlaceholder(){let t=this._getPlaceholder();if(t!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=t,t?i.setAttribute("placeholder",t):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){e3.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let t=this._elementRef.nativeElement,i=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&i&&i.label)}else return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}};e.\u0275fac=function(i){return new(i||e)(S(de),S(He),S(mr,10),S(Gu,8),S(Xu,8),S(th),S(JA,10),S(KC),S(ie),S(Gs,8))},e.\u0275dir=ye({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){i&1&&V("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),i&2&&(na("id",o.id)("disabled",o.disabled)("required",o.required),Xe("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),Q("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[Lt([{provide:Ku,useExisting:e}]),$t]});let r=e;return r})(),ty=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({imports:[mt,Ys,Ys,JC,mt]});let r=e;return r})();var n3=["*"],Sh;function r3(){if(Sh===void 0&&(Sh=null,typeof window<"u")){let r=window;r.trustedTypes!==void 0&&(Sh=r.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return Sh}function Ju(r){return r3()?.createHTML(r)||r}function iy(r){return Error(`Unable to find icon with the name "${r}"`)}function o3(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function ny(r){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${r}".`)}function ry(r){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${r}".`)}var mo=class{constructor(e,n,t){this.url=e,this.svgText=n,this.options=t}},s3=(()=>{let e=class e{constructor(t,i,o,s){this._httpClient=t,this._sanitizer=i,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(t,i,o){return this.addSvgIconInNamespace("",t,i,o)}addSvgIconLiteral(t,i,o){return this.addSvgIconLiteralInNamespace("",t,i,o)}addSvgIconInNamespace(t,i,o,s){return this._addSvgIconConfig(t,i,new mo(o,null,s))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,o,s){let a=this._sanitizer.sanitize(Mn.HTML,o);if(!a)throw ry(o);let l=Ju(a);return this._addSvgIconConfig(t,i,new mo("",l,s))}addSvgIconSet(t,i){return this.addSvgIconSetInNamespace("",t,i)}addSvgIconSetLiteral(t,i){return this.addSvgIconSetLiteralInNamespace("",t,i)}addSvgIconSetInNamespace(t,i,o){return this._addSvgIconSetConfig(t,new mo(i,null,o))}addSvgIconSetLiteralInNamespace(t,i,o){let s=this._sanitizer.sanitize(Mn.HTML,i);if(!s)throw ry(i);let a=Ju(s);return this._addSvgIconSetConfig(t,new mo("",a,o))}registerFontClassAlias(t,i=t){return this._fontCssClassesByAlias.set(t,i),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let i=this._sanitizer.sanitize(Mn.RESOURCE_URL,t);if(!i)throw ny(t);let o=this._cachedIconsByUrl.get(i);return o?G(Ah(o)):this._loadSvgIconFromConfig(new mo(t,null)).pipe(tt(s=>this._cachedIconsByUrl.set(i,s)),te(s=>Ah(s)))}getNamedSvgIcon(t,i=""){let o=oy(i,t),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,t),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(t,a):os(iy(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?G(Ah(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(te(i=>Ah(i)))}_getSvgFromIconSetConfigs(t,i){let o=this._extractIconWithNameFromAnySet(t,i);if(o)return G(o);let s=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Mt(l=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(Mn.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(c)),G(null)})));return Ks(s).pipe(te(()=>{let a=this._extractIconWithNameFromAnySet(t,i);if(!a)throw iy(t);return a}))}_extractIconWithNameFromAnySet(t,i){for(let o=i.length-1;o>=0;o--){let s=i[o];if(s.svgText&&s.svgText.toString().indexOf(t)>-1){let a=this._svgElementFromConfig(s),l=this._extractSvgIconFromSet(a,t,s.options);if(l)return l}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(tt(i=>t.svgText=i),te(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?G(null):this._fetchIcon(t).pipe(tt(i=>t.svgText=i))}_extractSvgIconFromSet(t,i,o){let s=t.querySelector(`[id="${i}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let l=this._svgElementFromString(Ju("<svg></svg>"));return l.appendChild(a),this._setSvgAttributes(l,o)}_svgElementFromString(t){let i=this._document.createElement("DIV");i.innerHTML=t;let o=i.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(t){let i=this._svgElementFromString(Ju("<svg></svg>")),o=t.attributes;for(let s=0;s<o.length;s++){let{name:a,value:l}=o[s];a!=="id"&&i.setAttribute(a,l)}for(let s=0;s<t.childNodes.length;s++)t.childNodes[s].nodeType===this._document.ELEMENT_NODE&&i.appendChild(t.childNodes[s].cloneNode(!0));return i}_setSvgAttributes(t,i){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),i&&i.viewBox&&t.setAttribute("viewBox",i.viewBox),t}_fetchIcon(t){let{url:i,options:o}=t,s=o?.withCredentials??!1;if(!this._httpClient)throw o3();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let a=this._sanitizer.sanitize(Mn.RESOURCE_URL,i);if(!a)throw ny(i);let l=this._inProgressUrlFetches.get(a);if(l)return l;let u=this._httpClient.get(a,{responseType:"text",withCredentials:s}).pipe(te(c=>Ju(c)),So(()=>this._inProgressUrlFetches.delete(a)),Gf());return this._inProgressUrlFetches.set(a,u),u}_addSvgIconConfig(t,i,o){return this._svgIconConfigs.set(oy(t,i),o),this}_addSvgIconSetConfig(t,i){let o=this._iconSetConfigs.get(t);return o?o.push(i):this._iconSetConfigs.set(t,[i]),this}_svgElementFromConfig(t){if(!t.svgElement){let i=this._svgElementFromString(t.svgText);this._setSvgAttributes(i,t.options),t.svgElement=i}return t.svgElement}_getIconConfigFromResolvers(t,i){for(let o=0;o<this._resolvers.length;o++){let s=this._resolvers[o](i,t);if(s)return a3(s)?new mo(s.url,null,s.options):new mo(s,null)}}};e.\u0275fac=function(i){return new(i||e)(I(qi,8),I(Ml),I(ae,8),I(as))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function Ah(r){return r.cloneNode(!0)}function oy(r,e){return r+":"+e}function a3(r){return!!(r.url&&r.options)}var l3=new q("MAT_ICON_DEFAULT_OPTIONS"),u3=new q("mat-icon-location",{providedIn:"root",factory:c3});function c3(){let r=O(ae),e=r?r.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}var sy=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],d3=sy.map(r=>`[${r}]`).join(", "),h3=/^url\(['"]?#(.*?)['"]?\)$/,ay=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){let i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){let i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(t,i,o,s,a,l){this._elementRef=t,this._iconRegistry=i,this._location=s,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=gt.EMPTY,l&&(l.color&&(this.color=this._defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),o||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let i=t.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,i=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=t.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>t.classList.remove(o)),i.forEach(o=>t.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let i=this._elementsWithExternalReferences;i&&i.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${t}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(t){let i=t.querySelectorAll(d3),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<i.length;s++)sy.forEach(a=>{let l=i[s],u=l.getAttribute(a),c=u?u.match(h3):null;if(c){let m=o.get(l);m||(m=[],o.set(l,m)),m.push({name:a,value:c[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[i,o]=this._splitIconName(t);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(Si(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${i}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}};e.\u0275fac=function(i){return new(i||e)(S(de),S(s3),ss("aria-hidden"),S(u3),S(as),S(l3,8))},e.\u0275cmp=Ae({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,o){i&2&&(Xe("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),wr(o.color?"mat-"+o.color:""),Q("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Pe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[At,Te],ngContentSelectors:n3,decls:1,vars:0,template:function(i,o){i&1&&(Ni(),ot(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let r=e;return r})(),ly=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({imports:[mt,mt]});let r=e;return r})();var m3=["panel"],f3=["*"];function g3(r,e){if(r&1){let n=se();d(0,"div",1,0),V("@panelAnimation.done",function(i){Y(n);let o=N();return X(o._animationDone.next(i))}),ot(2),p()}if(r&2){let n=e.id,t=N();wr(t._classList),Q("mat-mdc-autocomplete-visible",t.showPanel)("mat-mdc-autocomplete-hidden",!t.showPanel)("mat-primary",t._color==="primary")("mat-accent",t._color==="accent")("mat-warn",t._color==="warn"),ue("id",t.id)("@panelAnimation",t.isOpen?"visible":"hidden"),Xe("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(n))}}var _3=cs("panelAnimation",[aa("void, hidden",$n({opacity:0,transform:"scaleY(0.8)"})),Kr(":enter, hidden => visible",[Bg([Qr("0.03s linear",$n({opacity:1})),Qr("0.12s cubic-bezier(0, 0, 0.2, 1)",$n({transform:"scaleY(1)"}))])]),Kr(":leave, visible => hidden",[Qr("0.075s linear",$n({opacity:0}))])]),v3=0,gf=class{constructor(e,n){this.source=e,this.option=n}},uy=new q("mat-autocomplete-default-options",{providedIn:"root",factory:b3});function b3(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var cy=(()=>{let e=class e{get isOpen(){return this._isOpen&&this.showPanel}_setColor(t){this._color=t,this._changeDetectorRef.markForCheck()}set classList(t){this._classList=t,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}constructor(t,i,o,s){this._changeDetectorRef=t,this._elementRef=i,this._defaults=o,this._activeOptionChanges=gt.EMPTY,this._animationDone=new ge,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new ge,this.opened=new ge,this.closed=new ge,this.optionActivated=new ge,this.id=`mat-autocomplete-${v3++}`,this.inertGroups=s?.SAFARI||!1,this.autoActiveFirstOption=!!o.autoActiveFirstOption,this.autoSelectActiveOption=!!o.autoSelectActiveOption,this.requireSelection=!!o.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Ga(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){let i=new gf(this,t);this.optionSelected.emit(i)}_getPanelAriaLabelledby(t){if(this.ariaLabel)return null;let i=t?t+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:t}_skipPredicate(){return!1}};e.\u0275fac=function(i){return new(i||e)(S(Dt),S(de),S(uy),S(He))},e.\u0275cmp=Ae({type:e,selectors:[["mat-autocomplete"]],contentQueries:function(i,o,s){if(i&1&&(gn(s,Us,5),gn(s,Vu,5)),i&2){let a;Ue(a=We())&&(o.options=a),Ue(a=We())&&(o.optionGroups=a)}},viewQuery:function(i,o){if(i&1&&(yt(Gr,7),yt(m3,5)),i&2){let s;Ue(s=We())&&(o.template=s.first),Ue(s=We())&&(o.panel=s.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",Pe],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",Pe],requireSelection:[2,"requireSelection","requireSelection",Pe],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",Pe],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Pe]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[Lt([{provide:Lu,useExisting:e}]),At,Te],ngContentSelectors:f3,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(i,o){i&1&&(Ni(),re(0,g3,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[_3]},changeDetection:0});let r=e;return r})();var C3={provide:$u,useExisting:To(()=>_f),multi:!0};var dy=new q("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let r=O(Zt);return()=>r.scrollStrategies.reposition()}});function y3(r){return()=>r.scrollStrategies.reposition()}var w3={provide:dy,deps:[Zt],useFactory:y3},_f=(()=>{let e=class e{constructor(t,i,o,s,a,l,u,c,m,g,_){this._element=t,this._overlay=i,this._viewContainerRef=o,this._zone=s,this._changeDetectorRef=a,this._dir=u,this._formField=c,this._document=m,this._viewportRuler=g,this._defaults=_,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=gt.EMPTY,this._breakpointObserver=O(Gd),this._handsetLandscapeSubscription=gt.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new K,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new K,this._injector=O(St),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=rr(()=>{let C=this.autocomplete?this.autocomplete.options:null;return C?C.changes.pipe(Fi(C),lt(()=>Ri(...C.map(y=>y.onSelectionChange)))):this._initialized.pipe(lt(()=>this.optionSelections))}),this._handlePanelKeydown=C=>{(C.keyCode===27&&!Mi(C)||C.keyCode===38&&Mi(C,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),C.stopPropagation(),C.preventDefault())},this._trackedModal=null,this._scrollStrategy=l}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();let t=this._getWindow();typeof t<"u"&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let t=this._getWindow();typeof t<"u"&&t.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&Xo(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Ri(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(_t(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(_t(()=>this._overlayAttached)):G()).pipe(te(t=>t instanceof Nu?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Ri($r(this._document,"click"),$r(this._document,"auxclick"),$r(this._document,"touchend")).pipe(_t(t=>{let i=ti(t),o=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,s=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(i))&&(!s||!s.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(t){Promise.resolve(null).then(()=>this._assignOptionValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){let i=t.keyCode,o=Mi(t);if(i===27&&!o&&t.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&i===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){let s=this.autocomplete._keyManager.activeItem,a=i===38||i===40;i===9||a&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(t):a&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(a||this.autocomplete._keyManager.activeItem!==s)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(t){let i=t.target,o=i.value;if(i.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let s=this.autocomplete.options?.find(a=>a.selected);if(s){let a=this._getDisplayValue(s.value);o!==a&&s.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===t.target){let s=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(s)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(t=!1){this._formField&&this._formField.floatLabel==="auto"&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let t=new xi(o=>{fn(()=>{o.next()},{injector:this._injector})}),i=this.autocomplete.options.changes.pipe(tt(()=>this._positionStrategy.reapplyLastPosition()),Wf(0));return Ri(t,i).pipe(lt(()=>this._zone.run(()=>{let o=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Si(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(t){let i=this.autocomplete;return i&&i.displayWith?i.displayWith(t):t}_assignOptionValue(t){let i=this._getDisplayValue(t);t==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(i??"")}_updateNativeInputValue(t){this._formField?this._formField._control.value=t:this._element.nativeElement.value=t,this._previousValue=t}_setValueAndClose(t){let i=this.autocomplete,o=t?t.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),i._emitSelectEvent(o),this._element.nativeElement.focus()):i.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),i._animationDone?i._animationDone.pipe(Si(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(t,i){this.autocomplete?.options?.forEach(o=>{o!==t&&o.selected&&o.deselect(i)})}_openPanelInternal(t=this._element.nativeElement.value){if(this._attachOverlay(t),this._floatLabel(),this._trackedModal){let i=this.autocomplete.id;Xa(this._trackedModal,"aria-owns",i)}}_attachOverlay(t){this.autocomplete;let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new po(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(vb.HandsetLandscape).subscribe(s=>{s.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),i&&!i.hasAttached()&&(i.attach(this._portal),this._valueOnAttach=t,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let t=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=t.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=t.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new es({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){let i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,s=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],a;this.position==="above"?a=s:this.position==="below"?a=i:a=[...i,...s],t.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let t=this.autocomplete;if(t.autoActiveFirstOption){let i=-1;for(let o=0;o<t.options.length;o++)if(!t.options.get(o).disabled){i=o;break}t._keyManager.setActiveItem(i)}else t._keyManager.setActiveItem(-1)}_canOpen(){let t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this.autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(t){let i=this.autocomplete,o=ih(t,i.options,i.optionGroups);if(t===0&&o===1)i._setScrollTop(0);else if(i.panel){let s=i.options.toArray()[t];if(s){let a=s._getHostElement(),l=nh(a.offsetTop,a.offsetHeight,i._getScrollTop(),i.panel.nativeElement.offsetHeight);i._setScrollTop(l)}}}_applyModalPanelOwnership(){let t=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let i=this.autocomplete.id;this._trackedModal&&Xo(this._trackedModal,"aria-owns",i),Xa(t,"aria-owns",i),this._trackedModal=t}_clearFromModal(){if(this._trackedModal){let t=this.autocomplete.id;Xo(this._trackedModal,"aria-owns",t),this._trackedModal=null}}};e.\u0275fac=function(i){return new(i||e)(S(de),S(Zt),S(Dn),S(ie),S(Dt),S(dy),S(Wi,8),S(Gs,9),S(ae,8),S(Lr),S(uy,8))},e.\u0275dir=ye({type:e,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,o){i&1&&V("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(a){return o._handleInput(a)})("keydown",function(a){return o._handleKeydown(a)})("click",function(){return o._handleClick()}),i&2&&Xe("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",Pe]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[Lt([C3]),At,$t]});let r=e;return r})(),hy=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({providers:[w3],imports:[is,Ja,mt,ar,Ko,Ja,mt]});let r=e;return r})();function E3(r,e,n,t){let i=window&&!!window.document&&window.document.documentElement,o=i&&e?window:n;if(r&&(o=r&&i&&typeof r=="string"?S3(r,n.nativeElement,t):r,!o))throw new Error("ngx-infinite-scroll {resolveContainerElement()}: selector for");return o}function S3(r,e,n){return(n?window.document:e).querySelector(r)}function vf(r){return r&&!r.firstChange}function A3(){return typeof window<"u"}var T3={clientHeight:"clientHeight",offsetHeight:"offsetHeight",scrollHeight:"scrollHeight",pageYOffset:"pageYOffset",offsetTop:"offsetTop",scrollTop:"scrollTop",top:"top"},O3={clientHeight:"clientWidth",offsetHeight:"offsetWidth",scrollHeight:"scrollWidth",pageYOffset:"pageXOffset",offsetTop:"offsetLeft",scrollTop:"scrollLeft",top:"left"},bf=class{constructor(e=!0){this.vertical=e,this.propsMap=e?T3:O3}clientHeightKey(){return this.propsMap.clientHeight}offsetHeightKey(){return this.propsMap.offsetHeight}scrollHeightKey(){return this.propsMap.scrollHeight}pageYOffsetKey(){return this.propsMap.pageYOffset}offsetTopKey(){return this.propsMap.offsetTop}scrollTopKey(){return this.propsMap.scrollTop}topKey(){return this.propsMap.top}};function M3(r,e,n){return!!(r&&e||!n&&e)}function D3({windowElement:r,axis:e}){return I3({axis:e,isWindow:k3(r)},r)}function I3(r,e){let n=r.isWindow||e&&!e.nativeElement?e:e.nativeElement;return nt(z({},r),{container:n})}function k3(r){return["Window","global"].some(n=>Object.prototype.toString.call(r).includes(n))}function wf(r,e){return r?e.document.documentElement:null}function py(r,e){let n=F3(e);return e.isWindow?P3(n,r,e):R3(n,r,e)}function P3(r,e,n){let{axis:t,container:i,isWindow:o}=n,{offsetHeightKey:s,clientHeightKey:a}=my(t),l=r+gy(wf(o,i),t,o),u=fy(e.nativeElement,o,s,a),c=N3(e.nativeElement,t,o)+u;return{height:r,scrolled:l,totalToScroll:c,isWindow:o}}function R3(r,e,n){let{axis:t,container:i}=n,o=i[t.scrollTopKey()],s=i[t.scrollHeightKey()];return{height:r,scrolled:o,totalToScroll:s,isWindow:!1}}function my(r){return{offsetHeightKey:r.offsetHeightKey(),clientHeightKey:r.clientHeightKey()}}function F3({container:r,isWindow:e,axis:n}){let{offsetHeightKey:t,clientHeightKey:i}=my(n);return fy(r,e,t,i)}function fy(r,e,n,t){if(isNaN(r[n])){let i=wf(e,r);return i?i[t]:0}else return r[n]}function N3(r,e,n){let t=e.topKey();if(r.getBoundingClientRect)return r.getBoundingClientRect()[t]+gy(r,e,n)}function gy(r,e,n){let t=e.pageYOffsetKey(),i=e.scrollTopKey(),o=e.offsetTopKey();return isNaN(window.pageYOffset)?wf(n,r)[i]:r.ownerDocument?r.ownerDocument.defaultView[t]:r[o]}function L3(r,e={down:0,up:0},n){let t,i;if(r.totalToScroll<=0)return!1;let o=r.isWindow?r.scrolled:r.height+r.scrolled;if(n)t=(r.totalToScroll-o)/r.totalToScroll,i=(e?.down?e.down:0)/10;else{let a=r.scrolled+(r.totalToScroll-o);t=r.scrolled/a,i=(e?.up?e.up:0)/10}return t<=i}function V3(r,e){return r<e.scrolled}function j3(r,e,n){let t=V3(r,e);return{fire:L3(e,n,t),scrollDown:t}}var Cf=class{constructor(e){this.lastScrollPosition=0,this.lastTotalToScroll=0,this.totalToScroll=0,this.triggered={down:0,up:0},Object.assign(this,e)}updateScrollPosition(e){return this.lastScrollPosition=e}updateTotalToScroll(e){this.lastTotalToScroll!==e&&(this.lastTotalToScroll=this.totalToScroll,this.totalToScroll=e)}updateScroll(e,n){this.updateScrollPosition(e),this.updateTotalToScroll(n)}updateTriggeredFlag(e,n){n?this.triggered.down=e:this.triggered.up=e}isTriggeredScroll(e,n){return n?this.triggered.down===e:this.triggered.up===e}};function B3(r){let{scrollContainer:e,scrollWindow:n,element:t,fromRoot:i}=r,o=D3({axis:new bf(!r.horizontal),windowElement:E3(e,n,t,i)}),s=new Cf({totalToScroll:py(t,o).totalToScroll}),a={container:o.container,throttle:r.throttle},l={up:r.upDistance,down:r.downDistance};return z3(a).pipe(Zi(()=>G(py(t,o))),te(u=>U3(s.lastScrollPosition,u,l)),tt(({stats:u})=>s.updateScroll(u.scrolled,u.totalToScroll)),_t(({fire:u,scrollDown:c,stats:{totalToScroll:m}})=>M3(r.alwaysCallback,u,s.isTriggeredScroll(m,c))),tt(({scrollDown:u,stats:{totalToScroll:c}})=>{s.updateTriggeredFlag(c,u)}),te(W3))}function z3(r){let e=$r(r.container,"scroll");return r.throttle&&(e=e.pipe(Xf(r.throttle,void 0,{leading:!0,trailing:!0}))),e}function U3(r,e,n){let{scrollDown:t,fire:i}=j3(r,e,n);return{scrollDown:t,fire:i,stats:e}}var yf={DOWN:"[NGX_ISE] DOWN",UP:"[NGX_ISE] UP"};function W3(r){let{scrollDown:e,stats:{scrolled:n}}=r;return{type:e?yf.DOWN:yf.UP,payload:{currentScrollPosition:n}}}var _y=(()=>{let e=class e{constructor(t,i){this.element=t,this.zone=i,this.scrolled=new ge,this.scrolledUp=new ge,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:t,infiniteScrollDisabled:i,infiniteScrollDistance:o}){let s=vf(t),a=vf(i),l=vf(o),u=!a&&!this.infiniteScrollDisabled||a&&!i.currentValue||l;(s||a||l)&&(this.destroyScroller(),u&&this.setup())}ngOnDestroy(){this.destroyScroller()}setup(){A3()&&this.zone.runOutsideAngular(()=>{this.disposeScroller=B3({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(t=>this.handleOnScroll(t))})}handleOnScroll({type:t,payload:i}){let o=t===yf.DOWN?this.scrolled:this.scrolledUp;H3(o)&&this.zone.run(()=>o.emit(i))}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(S(de),S(ie))},e.\u0275dir=ye({type:e,selectors:[["","infiniteScroll",""],["","infinite-scroll",""],["","data-infinite-scroll",""]],inputs:{infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollUpDistance:"infiniteScrollUpDistance",infiniteScrollThrottle:"infiniteScrollThrottle",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollContainer:"infiniteScrollContainer",scrollWindow:"scrollWindow",immediateCheck:"immediateCheck",horizontal:"horizontal",alwaysCallback:"alwaysCallback",fromRoot:"fromRoot"},outputs:{scrolled:"scrolled",scrolledUp:"scrolledUp"},standalone:!0,features:[$t]});let r=e;return r})();function H3(r){return r.observed??r.observers.length>0}var vy=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({});let r=e;return r})();function G3(r,e){}var ec=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var Y3=(()=>{let e=class e extends sl{constructor(t,i,o,s,a,l,u,c){super(),this._elementRef=t,this._focusTrapFactory=i,this._config=s,this._interactivityChecker=a,this._ngZone=l,this._overlayRef=u,this._focusMonitor=c,this._platform=O(He),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=O(Dt),this._injector=O(St),this._isDestroyed=!1,this.attachDomPortal=m=>{this._portalOutlet.hasAttached();let g=this._portalOutlet.attachDomPortal(m);return this._contentAttached(),g},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){let i=this._ariaLabelledByQueue.indexOf(t);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),i}attachTemplatePortal(t){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,i){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{t.removeEventListener("blur",o),t.removeEventListener("mousedown",o),t.removeAttribute("tabindex")};t.addEventListener("blur",o),t.addEventListener("mousedown",o)})),t.focus(i)}_focusByCssSelector(t,i){let o=this._elementRef.nativeElement.querySelector(t);o&&this._forceFocus(o,i)}_trapFocus(){this._isDestroyed||fn(()=>{let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let t=this._config.restoreFocus,i=null;if(typeof t=="string"?i=this._document.querySelector(t):typeof t=="boolean"?i=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(i=t),this._config.restoreFocus&&i&&typeof i.focus=="function"){let o=Iu(),s=this._elementRef.nativeElement;(!o||o===this._document.body||o===s||s.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let t=this._elementRef.nativeElement,i=Iu();return t===i||t.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Iu()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};e.\u0275fac=function(i){return new(i||e)(S(de),S(Tb),S(ae,8),S(ec),S(Dm),S(ie),S($s),S(Za))},e.\u0275cmp=Ae({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(i&1&&yt(tf,7),i&2){let s;Ue(s=We())&&(o._portalOutlet=s.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){i&2&&Xe("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[mi,Te],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){i&1&&re(0,G3,0,0,"ng-template",0)},dependencies:[tf],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let r=e;return r})(),fo=class{constructor(e,n){this.overlayRef=e,this.config=n,this.closed=new K,this.disableClose=n.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=n.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!Mi(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{n.closeOnOverlayDetachments!==!1&&this.close()})}close(e,n){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=n?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(e),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",n=""){return this.overlayRef.updateSize({width:e,height:n}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},X3=new q("DialogScrollStrategy",{providedIn:"root",factory:()=>{let r=O(Zt);return()=>r.scrollStrategies.block()}}),tc=new q("DialogData"),Z3=new q("DefaultDialogConfig");var q3=0,ic=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,i,o,s,a,l){this._overlay=t,this._injector=i,this._defaultOptions=o,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new K,this._afterOpenedAtThisLevel=new K,this._ariaHiddenElements=new Map,this.afterAllClosed=rr(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Fi(void 0))),this._scrollStrategy=l}open(t,i){let o=this._defaultOptions||new ec;i=z(z({},o),i),i.id=i.id||`cdk-dialog-${q3++}`,i.id&&this.getDialogById(i.id);let s=this._getOverlayConfig(i),a=this._overlay.create(s),l=new fo(a,i),u=this._attachContainer(a,l,i);return l.containerInstance=u,this._attachDialogContent(t,l,u,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){xf(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){xf(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),xf(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let i=new es({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(i.backdropClass=t.backdropClass),i}_attachContainer(t,i,o){let s=o.injector||o.viewContainerRef?.injector,a=[{provide:ec,useValue:o},{provide:fo,useValue:i},{provide:$s,useValue:t}],l;o.container?typeof o.container=="function"?l=o.container:(l=o.container.type,a.push(...o.container.providers(o))):l=Y3;let u=new Jo(l,o.viewContainerRef,St.create({parent:s||this._injector,providers:a}),o.componentFactoryResolver);return t.attach(u).instance}_attachDialogContent(t,i,o,s){if(t instanceof Gr){let a=this._createInjector(s,i,o,void 0),l={$implicit:s.data,dialogRef:i};s.templateContext&&(l=z(z({},l),typeof s.templateContext=="function"?s.templateContext():s.templateContext)),o.attachTemplatePortal(new po(t,null,l,a))}else{let a=this._createInjector(s,i,o,this._injector),l=o.attachComponentPortal(new Jo(t,s.viewContainerRef,a,s.componentFactoryResolver));i.componentRef=l,i.componentInstance=l.instance}}_createInjector(t,i,o,s){let a=t.injector||t.viewContainerRef?.injector,l=[{provide:tc,useValue:t.data},{provide:fo,useValue:i}];return t.providers&&(typeof t.providers=="function"?l.push(...t.providers(i,t,o)):l.push(...t.providers)),t.direction&&(!a||!a.get(Wi,null,{optional:!0}))&&l.push({provide:Wi,useValue:{value:t.direction,change:G()}}),St.create({parent:a||s,providers:l})}_removeOpenDialog(t,i){let o=this.openDialogs.indexOf(t);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let t=this._overlayContainer.getContainerElement();if(t.parentElement){let i=t.parentElement.children;for(let o=i.length-1;o>-1;o--){let s=i[o];s!==t&&s.nodeName!=="SCRIPT"&&s.nodeName!=="STYLE"&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}};e.\u0275fac=function(i){return new(i||e)(I(Zt),I(St),I(Z3,8),I(e,12),I(wh),I(X3))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();function xf(r,e){let n=r.length;for(;n--;)e(r[n])}var by=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({providers:[ic],imports:[is,qu,Qd,qu]});let r=e;return r})();function Fy(r){let e=r.cloneNode(!0),n=e.querySelectorAll("[id]"),t=r.nodeName.toLowerCase();e.removeAttribute("id");for(let i=0;i<n.length;i++)n[i].removeAttribute("id");return t==="canvas"?wy(r,e):(t==="input"||t==="select"||t==="textarea")&&yy(r,e),Cy("canvas",r,e,wy),Cy("input, textarea, select",r,e,yy),e}function Cy(r,e,n,t){let i=e.querySelectorAll(r);if(i.length){let o=n.querySelectorAll(r);for(let s=0;s<i.length;s++)t(i[s],o[s])}}var Q3=0;function yy(r,e){e.type!=="file"&&(e.value=r.value),e.type==="radio"&&e.name&&(e.name=`mat-clone-${e.name}-${Q3++}`)}function wy(r,e){let n=e.getContext("2d");if(n)try{n.drawImage(r,0,0)}catch{}}function Df(r){let e=r.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height,x:e.x,y:e.y}}function Sf(r,e,n){let{top:t,bottom:i,left:o,right:s}=r;return n>=t&&n<=i&&e>=o&&e<=s}function rc(r,e,n){r.top+=e,r.bottom=r.top+r.height,r.left+=n,r.right=r.left+r.width}function xy(r,e,n,t){let{top:i,right:o,bottom:s,left:a,width:l,height:u}=r,c=l*e,m=u*e;return t>i-m&&t<s+m&&n>a-c&&n<o+c}var Dh=class{constructor(e){this._document=e,this.positions=new Map}clear(){this.positions.clear()}cache(e){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),e.forEach(n=>{this.positions.set(n,{scrollPosition:{top:n.scrollTop,left:n.scrollLeft},clientRect:Df(n)})})}handleScroll(e){let n=ti(e),t=this.positions.get(n);if(!t)return null;let i=t.scrollPosition,o,s;if(n===this._document){let u=this.getViewportScrollPosition();o=u.top,s=u.left}else o=n.scrollTop,s=n.scrollLeft;let a=i.top-o,l=i.left-s;return this.positions.forEach((u,c)=>{u.clientRect&&n!==c&&n.contains(c)&&rc(u.clientRect,a,l)}),i.top=o,i.left=s,{top:a,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function Ny(r,e){let n=r.rootNodes;if(n.length===1&&n[0].nodeType===e.ELEMENT_NODE)return n[0];let t=e.createElement("div");return n.forEach(i=>t.appendChild(i)),t}function If(r,e,n){for(let t in e)if(e.hasOwnProperty(t)){let i=e[t];i?r.setProperty(t,i,n?.has(t)?"important":""):r.removeProperty(t)}return r}function ul(r,e){let n=e?"":"none";If(r.style,{"touch-action":e?"":"none","-webkit-user-drag":e?"":"none","-webkit-tap-highlight-color":e?"":"transparent","user-select":n,"-ms-user-select":n,"-webkit-user-select":n,"-moz-user-select":n})}function Ey(r,e,n){If(r.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},n)}function Ih(r,e){return e&&e!="none"?r+" "+e:r}function Sy(r,e){r.style.width=`${e.width}px`,r.style.height=`${e.height}px`,r.style.transform=kh(e.left,e.top)}function kh(r,e){return`translate3d(${Math.round(r)}px, ${Math.round(e)}px, 0)`}function Ay(r){let e=r.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(r)*e}function K3(r){let e=getComputedStyle(r),n=Ef(e,"transition-property"),t=n.find(a=>a==="transform"||a==="all");if(!t)return 0;let i=n.indexOf(t),o=Ef(e,"transition-duration"),s=Ef(e,"transition-delay");return Ay(o[i])+Ay(s[i])}function Ef(r,e){return r.getPropertyValue(e).split(",").map(t=>t.trim())}var J3=new Set(["position"]),Af=class{get element(){return this._preview}constructor(e,n,t,i,o,s,a,l,u){this._document=e,this._rootElement=n,this._direction=t,this._initialDomRect=i,this._previewTemplate=o,this._previewClass=s,this._pickupPositionOnPage=a,this._initialTransform=l,this._zIndex=u}attach(e){this._preview=this._createPreview(),e.appendChild(this._preview),"showPopover"in this._preview&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(e){this._preview.style.transform=e}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(e){this._preview.classList.add(e)}getTransitionDuration(){return K3(this._preview)}addEventListener(e,n){this._preview.addEventListener(e,n)}removeEventListener(e,n){this._preview.removeEventListener(e,n)}_createPreview(){let e=this._previewTemplate,n=this._previewClass,t=e?e.template:null,i;if(t&&e){let o=e.matchSize?this._initialDomRect:null,s=e.viewContainer.createEmbeddedView(t,e.context);s.detectChanges(),i=Ny(s,this._document),this._previewEmbeddedView=s,e.matchSize?Sy(i,o):i.style.transform=kh(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else i=Fy(this._rootElement),Sy(i,this._initialDomRect),this._initialTransform&&(i.style.transform=this._initialTransform);return If(i.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},J3),ul(i,!1),i.classList.add("cdk-drag-preview"),i.setAttribute("popover","manual"),i.setAttribute("dir",this._direction),n&&(Array.isArray(n)?n.forEach(o=>i.classList.add(o)):i.classList.add(n)),i}},Ty=ln({passive:!0}),Th=ln({passive:!1}),Oy=ln({passive:!1,capture:!0}),eT=800,My=new Set(["position"]),Tf=class{get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(e){e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(n=>ul(n,e)))}constructor(e,n,t,i,o,s){this._config=n,this._document=t,this._ngZone=i,this._viewportRuler=o,this._dragDropRegistry=s,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=Yr(!1),this._moveEvents=new K,this._pointerMoveSubscription=gt.EMPTY,this._pointerUpSubscription=gt.EMPTY,this._scrollSubscription=gt.EMPTY,this._resizeSubscription=gt.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new K,this.started=new K,this.released=new K,this.ended=new K,this.entered=new K,this.exited=new K,this.dropped=new K,this.moved=this._moveEvents,this._pointerDown=a=>{if(this.beforeStarted.next(),this._handles.length){let l=this._getTargetHandle(a);l&&!this._disabledHandles.has(l)&&!this.disabled&&this._initializeDragSequence(l,a)}else this.disabled||this._initializeDragSequence(this._rootElement,a)},this._pointerMove=a=>{let l=this._getPointerPositionOnPage(a);if(!this._hasStartedDragging()){let c=Math.abs(l.x-this._pickupPositionOnPage.x),m=Math.abs(l.y-this._pickupPositionOnPage.y);if(c+m>=this._config.dragStartThreshold){let _=Date.now()>=this._dragStartTime+this._getDragStartDelay(a),C=this._dropContainer;if(!_){this._endDragSequence(a);return}(!C||!C.isDragging()&&!C.isReceiving())&&(a.cancelable&&a.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(a)))}return}a.cancelable&&a.preventDefault();let u=this._getConstrainedPointerPosition(l);if(this._hasMoved=!0,this._lastKnownPointerPosition=l,this._updatePointerDirectionDelta(u),this._dropContainer)this._updateActiveDropContainer(u,l);else{let c=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,m=this._activeTransform;m.x=u.x-c.x+this._passiveTransform.x,m.y=u.y-c.y+this._passiveTransform.y,this._applyRootElementTransform(m.x,m.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:u,event:a,distance:this._getDragDistance(u),delta:this._pointerDirectionDelta})})},this._pointerUp=a=>{this._endDragSequence(a)},this._nativeDragStart=a=>{if(this._handles.length){let l=this._getTargetHandle(a);l&&!this._disabledHandles.has(l)&&!this.disabled&&a.preventDefault()}else this.disabled||a.preventDefault()},this.withRootElement(e).withParent(n.parentDragRef||null),this._parentPositions=new Dh(t),s.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(t=>ii(t)),this._handles.forEach(t=>ul(t,this.disabled)),this._toggleNativeDragInteractions();let n=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&n.add(t)}),this._disabledHandles=n,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){let n=ii(e);return n!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{n.addEventListener("mousedown",this._pointerDown,Th),n.addEventListener("touchstart",this._pointerDown,Ty),n.addEventListener("dragstart",this._nativeDragStart,Th)}),this._initialTransform=void 0,this._rootElement=n),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?ii(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(e){return this._parentDragRef=e,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),ul(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),ul(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){let e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}withPreviewContainer(e){return this._previewContainer=e,this}_sortFromLastPointerPosition(){let e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._getShadowRoot()?.removeEventListener("selectstart",Iy,Oy)}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(e){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:e}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let n=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(n),dropPoint:n,event:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(e){nc(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let n=this._getShadowRoot(),t=this._dropContainer;if(n&&this._ngZone.runOutsideAngular(()=>{n.addEventListener("selectstart",Iy,Oy)}),t){let i=this._rootElement,o=i.parentNode,s=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment("");o.insertBefore(a,i),this._initialTransform=i.style.transform||"",this._preview=new Af(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(o,n)),Ey(i,!1,My),this._document.body.appendChild(o.replaceChild(s,i)),this.started.next({source:this,event:e}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this,event:e}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}_initializeDragSequence(e,n){this._parentDragRef&&n.stopPropagation();let t=this.isDragging(),i=nc(n),o=!i&&n.button!==0,s=this._rootElement,a=ti(n),l=!i&&this._lastTouchEventTime&&this._lastTouchEventTime+eT>Date.now(),u=i?Ru(n):Pu(n);if(a&&a.draggable&&n.type==="mousedown"&&n.preventDefault(),t||o||l||u)return;if(this._handles.length){let g=s.style;this._rootElementTapHighlight=g.webkitTapHighlightColor||"",g.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(g=>this._updateOnScroll(g)),this._boundaryElement&&(this._boundaryRect=Df(this._boundaryElement));let c=this._previewTemplate;this._pickupPositionInElement=c&&c.template&&!c.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,e,n);let m=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(n);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:m.x,y:m.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,n)}_cleanupDragArtifacts(e){Ey(this._rootElement,!0,My),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let n=this._dropContainer,t=n.getItemIndex(this),i=this._getPointerPositionOnPage(e),o=this._getDragDistance(i),s=n._isOverContainer(i.x,i.y);this.ended.next({source:this,distance:o,dropPoint:i,event:e}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:n,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:o,dropPoint:i,event:e}),n.drop(this,t,this._initialIndex,this._initialContainer,s,o,i,e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:n},{x:t,y:i}){let o=this._initialContainer._getSiblingContainerFromPosition(this,e,n);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,n)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,e,n,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,i),this._dropContainer._sortItem(this,e,n,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(e,n):this._applyPreviewTransform(e-this._pickupPositionInElement.x,n-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let e=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);let n=this._preview.getTransitionDuration();return n===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{let i=s=>{(!s||this._preview&&ti(s)===this._preview.element&&s.propertyName==="transform")&&(this._preview?.removeEventListener("transitionend",i),t(),clearTimeout(o))},o=setTimeout(i,n*1.5);this._preview.addEventListener("transitionend",i)}))}_createPlaceholderElement(){let e=this._placeholderTemplate,n=e?e.template:null,t;return n?(this._placeholderRef=e.viewContainer.createEmbeddedView(n,e.context),this._placeholderRef.detectChanges(),t=Ny(this._placeholderRef,this._document)):t=Fy(this._rootElement),t.style.pointerEvents="none",t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(e,n,t){let i=n===this._rootElement?null:n,o=i?i.getBoundingClientRect():e,s=nc(t)?t.targetTouches[0]:t,a=this._getViewportScrollPosition(),l=s.pageX-o.left-a.left,u=s.pageY-o.top-a.top;return{x:o.left-e.left+l,y:o.top-e.top+u}}_getPointerPositionOnPage(e){let n=this._getViewportScrollPosition(),t=nc(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,i=t.pageX-n.left,o=t.pageY-n.top;if(this._ownerSVGElement){let s=this._ownerSVGElement.getScreenCTM();if(s){let a=this._ownerSVGElement.createSVGPoint();return a.x=i,a.y=o,a.matrixTransform(s.inverse())}}return{x:i,y:o}}_getConstrainedPointerPosition(e){let n=this._dropContainer?this._dropContainer.lockAxis:null,{x:t,y:i}=this.constrainPosition?this.constrainPosition(e,this,this._initialDomRect,this._pickupPositionInElement):e;if(this.lockAxis==="x"||n==="x"?i=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||n==="y")&&(t=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:o,y:s}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,a=this._boundaryRect,{width:l,height:u}=this._getPreviewRect(),c=a.top+s,m=a.bottom-(u-s),g=a.left+o,_=a.right-(l-o);t=Dy(t,g,_),i=Dy(i,c,m)}return{x:t,y:i}}_updatePointerDirectionDelta(e){let{x:n,y:t}=e,i=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,s=Math.abs(n-o.x),a=Math.abs(t-o.y);return s>this._config.pointerDirectionChangeThreshold&&(i.x=n>o.x?1:-1,o.x=n),a>this._config.pointerDirectionChangeThreshold&&(i.y=t>o.y?1:-1,o.y=t),i}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,ul(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,Th),e.removeEventListener("touchstart",this._pointerDown,Ty),e.removeEventListener("dragstart",this._nativeDragStart,Th)}_applyRootElementTransform(e,n){let t=kh(e,n),i=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=i.transform&&i.transform!="none"?i.transform:""),i.transform=Ih(t,this._initialTransform)}_applyPreviewTransform(e,n){let t=this._previewTemplate?.template?void 0:this._initialTransform,i=kh(e,n);this._preview.setTransform(Ih(i,t))}_getDragDistance(e){let n=this._pickupPositionOnPage;return n?{x:e.x-n.x,y:e.y-n.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:n}=this._passiveTransform;if(e===0&&n===0||this.isDragging()||!this._boundaryElement)return;let t=this._rootElement.getBoundingClientRect(),i=this._boundaryElement.getBoundingClientRect();if(i.width===0&&i.height===0||t.width===0&&t.height===0)return;let o=i.left-t.left,s=t.right-i.right,a=i.top-t.top,l=t.bottom-i.bottom;i.width>t.width?(o>0&&(e+=o),s>0&&(e-=s)):e=0,i.height>t.height?(a>0&&(n+=a),l>0&&(n-=l)):n=0,(e!==this._passiveTransform.x||n!==this._passiveTransform.y)&&this.setFreeDragPosition({y:n,x:e})}_getDragStartDelay(e){let n=this.dragStartDelay;return typeof n=="number"?n:nc(e)?n.touch:n?n.mouse:0}_updateOnScroll(e){let n=this._parentPositions.handleScroll(e);if(n){let t=ti(e);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&rc(this._boundaryRect,n.top,n.left),this._pickupPositionOnPage.x+=n.left,this._pickupPositionOnPage.y+=n.top,this._dropContainer||(this._activeTransform.x-=n.left,this._activeTransform.y-=n.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=Ha(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(e,n){let t=this._previewContainer||"global";if(t==="parent")return e;if(t==="global"){let i=this._document;return n||i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement||i.body}return ii(t)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_getTargetHandle(e){return this._handles.find(n=>e.target&&(e.target===n||n.contains(e.target)))}};function Dy(r,e,n){return Math.max(e,Math.min(n,r))}function nc(r){return r.type[0]==="t"}function Iy(r){r.preventDefault()}function Ly(r,e,n){let t=ky(e,r.length-1),i=ky(n,r.length-1);if(t===i)return;let o=r[t],s=i<t?-1:1;for(let a=t;a!==i;a+=s)r[a]=r[a+s];r[i]=o}function ky(r,e){return Math.max(0,Math.min(e,r))}var Ph=class{constructor(e){this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(e){this.withItems(e)}sort(e,n,t,i){let o=this._itemPositions,s=this._getItemIndexFromPointerPosition(e,n,t,i);if(s===-1&&o.length>0)return null;let a=this.orientation==="horizontal",l=o.findIndex(x=>x.drag===e),u=o[s],c=o[l].clientRect,m=u.clientRect,g=l>s?1:-1,_=this._getItemOffsetPx(c,m,g),C=this._getSiblingOffsetPx(l,o,g),y=o.slice();return Ly(o,l,s),o.forEach((x,A)=>{if(y[A]===x)return;let k=x.drag===e,F=k?_:C,M=k?e.getPlaceholderElement():x.drag.getRootElement();x.offset+=F,a?(M.style.transform=Ih(`translate3d(${Math.round(x.offset)}px, 0, 0)`,x.initialTransform),rc(x.clientRect,0,F)):(M.style.transform=Ih(`translate3d(0, ${Math.round(x.offset)}px, 0)`,x.initialTransform),rc(x.clientRect,F,0))}),this._previousSwap.overlaps=Sf(m,n,t),this._previousSwap.drag=u.drag,this._previousSwap.delta=a?i.x:i.y,{previousIndex:l,currentIndex:s}}enter(e,n,t,i){let o=i==null||i<0?this._getItemIndexFromPointerPosition(e,n,t):i,s=this._activeDraggables,a=s.indexOf(e),l=e.getPlaceholderElement(),u=s[o];if(u===e&&(u=s[o+1]),!u&&(o==null||o===-1||o<s.length-1)&&this._shouldEnterAsFirstChild(n,t)&&(u=s[0]),a>-1&&s.splice(a,1),u&&!this._dragDropRegistry.isDragging(u)){let c=u.getRootElement();c.parentElement.insertBefore(l,c),s.splice(o,0,e)}else this._element.appendChild(l),s.push(e);l.style.transform="",this._cacheItemPositions()}withItems(e){this._activeDraggables=e.slice(),this._cacheItemPositions()}withSortPredicate(e){this._sortPredicate=e}reset(){this._activeDraggables?.forEach(e=>{let n=e.getRootElement();if(n){let t=this._itemPositions.find(i=>i.drag===e)?.initialTransform;n.style.transform=t||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(e){return(this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===e)}updateOnScroll(e,n){this._itemPositions.forEach(({clientRect:t})=>{rc(t,e,n)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()})}withElementContainer(e){this._element=e}_cacheItemPositions(){let e=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(n=>{let t=n.getVisibleElement();return{drag:n,offset:0,initialTransform:t.style.transform||"",clientRect:Df(t)}}).sort((n,t)=>e?n.clientRect.left-t.clientRect.left:n.clientRect.top-t.clientRect.top)}_getItemOffsetPx(e,n,t){let i=this.orientation==="horizontal",o=i?n.left-e.left:n.top-e.top;return t===-1&&(o+=i?n.width-e.width:n.height-e.height),o}_getSiblingOffsetPx(e,n,t){let i=this.orientation==="horizontal",o=n[e].clientRect,s=n[e+t*-1],a=o[i?"width":"height"]*t;if(s){let l=i?"left":"top",u=i?"right":"bottom";t===-1?a-=s.clientRect[l]-o[u]:a+=o[l]-s.clientRect[u]}return a}_shouldEnterAsFirstChild(e,n){if(!this._activeDraggables.length)return!1;let t=this._itemPositions,i=this.orientation==="horizontal";if(t[0].drag!==this._activeDraggables[0]){let s=t[t.length-1].clientRect;return i?e>=s.right:n>=s.bottom}else{let s=t[0].clientRect;return i?e<=s.left:n<=s.top}}_getItemIndexFromPointerPosition(e,n,t,i){let o=this.orientation==="horizontal",s=this._itemPositions.findIndex(({drag:a,clientRect:l})=>{if(a===e)return!1;if(i){let u=o?i.x:i.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&u===this._previousSwap.delta)return!1}return o?n>=Math.floor(l.left)&&n<Math.floor(l.right):t>=Math.floor(l.top)&&t<Math.floor(l.bottom)});return s===-1||!this._sortPredicate(s,e)?-1:s}},Of=class{constructor(e,n){this._document=e,this._dragDropRegistry=n,this._previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1},this._relatedNodes=[]}start(e){let n=this._element.childNodes;this._relatedNodes=[];for(let t=0;t<n.length;t++){let i=n[t];this._relatedNodes.push([i,i.nextSibling])}this.withItems(e)}sort(e,n,t,i){let o=this._getItemIndexFromPointerPosition(e,n,t),s=this._previousSwap;if(o===-1||this._activeItems[o]===e)return null;let a=this._activeItems[o];if(s.drag===a&&s.overlaps&&s.deltaX===i.x&&s.deltaY===i.y)return null;let l=this.getItemIndex(e),u=e.getPlaceholderElement(),c=a.getRootElement();o>l?c.after(u):c.before(u),Ly(this._activeItems,l,o);let m=this._getRootNode().elementFromPoint(n,t);return s.deltaX=i.x,s.deltaY=i.y,s.drag=a,s.overlaps=c===m||c.contains(m),{previousIndex:l,currentIndex:o}}enter(e,n,t,i){let o=i==null||i<0?this._getItemIndexFromPointerPosition(e,n,t):i;o===-1&&(o=this._getClosestItemIndexToPointer(e,n,t));let s=this._activeItems[o],a=this._activeItems.indexOf(e);a>-1&&this._activeItems.splice(a,1),s&&!this._dragDropRegistry.isDragging(s)?(this._activeItems.splice(o,0,e),s.getRootElement().before(e.getPlaceholderElement())):(this._activeItems.push(e),this._element.appendChild(e.getPlaceholderElement()))}withItems(e){this._activeItems=e.slice()}withSortPredicate(e){this._sortPredicate=e}reset(){let e=this._element,n=this._previousSwap;for(let t=this._relatedNodes.length-1;t>-1;t--){let[i,o]=this._relatedNodes[t];i.parentNode===e&&i.nextSibling!==o&&(o===null?e.appendChild(i):o.parentNode===e&&e.insertBefore(i,o))}this._relatedNodes=[],this._activeItems=[],n.drag=null,n.deltaX=n.deltaY=0,n.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(e){return this._activeItems.indexOf(e)}updateOnScroll(){this._activeItems.forEach(e=>{this._dragDropRegistry.isDragging(e)&&e._sortFromLastPointerPosition()})}withElementContainer(e){e!==this._element&&(this._element=e,this._rootNode=void 0)}_getItemIndexFromPointerPosition(e,n,t){let i=this._getRootNode().elementFromPoint(Math.floor(n),Math.floor(t)),o=i?this._activeItems.findIndex(s=>{let a=s.getRootElement();return i===a||a.contains(i)}):-1;return o===-1||!this._sortPredicate(o,e)?-1:o}_getRootNode(){return this._rootNode||(this._rootNode=Ha(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(e,n,t){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let i=1/0,o=-1;for(let s=0;s<this._activeItems.length;s++){let a=this._activeItems[s];if(a!==e){let{x:l,y:u}=a.getRootElement().getBoundingClientRect(),c=Math.hypot(n-l,t-u);c<i&&(i=c,o=s)}}return o}},Py=.05,Vy=.05,tr=function(r){return r[r.NONE=0]="NONE",r[r.UP=1]="UP",r[r.DOWN=2]="DOWN",r}(tr||{}),un=function(r){return r[r.NONE=0]="NONE",r[r.LEFT=1]="LEFT",r[r.RIGHT=2]="RIGHT",r}(un||{}),Mf=class{constructor(e,n,t,i,o){this._dragDropRegistry=n,this._ngZone=i,this._viewportRuler=o,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new K,this.entered=new K,this.exited=new K,this.dropped=new K,this.sorted=new K,this.receivingStarted=new K,this.receivingStopped=new K,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=gt.EMPTY,this._verticalScrollDirection=tr.NONE,this._horizontalScrollDirection=un.NONE,this._stopScrollTimers=new K,this._cachedShadowRoot=null,this._scrollableElements=[],this._direction="ltr",this._startScrollInterval=()=>{this._stopScrolling(),zf(0,Uh).pipe(qe(this._stopScrollTimers)).subscribe(()=>{let a=this._scrollNode,l=this.autoScrollStep;this._verticalScrollDirection===tr.UP?a.scrollBy(0,-l):this._verticalScrollDirection===tr.DOWN&&a.scrollBy(0,l),this._horizontalScrollDirection===un.LEFT?a.scrollBy(-l,0):this._horizontalScrollDirection===un.RIGHT&&a.scrollBy(l,0)})};let s=this.element=ii(e);this._document=t,this.withOrientation("vertical").withElementContainer(s),n.registerDropContainer(this),this._parentPositions=new Dh(t)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,n,t,i){this._draggingStarted(),i==null&&this.sortingDisabled&&(i=this._draggables.indexOf(e)),this._sortStrategy.enter(e,n,t,i),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,n,t,i,o,s,a,l={}){this._reset(),this.dropped.next({item:e,currentIndex:n,previousIndex:t,container:this,previousContainer:i,isPointerOverContainer:o,distance:s,dropPoint:a,event:l})}withItems(e){let n=this._draggables;return this._draggables=e,e.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(n.filter(i=>i.isDragging()).every(i=>e.indexOf(i)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(e){return this._direction=e,this._sortStrategy instanceof Ph&&(this._sortStrategy.direction=e),this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){if(e==="mixed")this._sortStrategy=new Of(this._document,this._dragDropRegistry);else{let n=new Ph(this._dragDropRegistry);n.direction=this._direction,n.orientation=e,this._sortStrategy=n}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((n,t)=>this.sortPredicate(n,t,this)),this}withScrollableParents(e){let n=this._container;return this._scrollableElements=e.indexOf(n)===-1?[n,...e]:e.slice(),this}withElementContainer(e){if(e===this._container)return this;let n=ii(this.element),t=this._scrollableElements.indexOf(this._container),i=this._scrollableElements.indexOf(e);return t>-1&&this._scrollableElements.splice(t,1),i>-1&&this._scrollableElements.splice(i,1),this._sortStrategy&&this._sortStrategy.withElementContainer(e),this._cachedShadowRoot=null,this._scrollableElements.unshift(e),this._container=e,this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?this._sortStrategy.getItemIndex(e):this._draggables.indexOf(e)}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,n,t,i){if(this.sortingDisabled||!this._domRect||!xy(this._domRect,Py,n,t))return;let o=this._sortStrategy.sort(e,n,t,i);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:e})}_startScrollingIfNecessary(e,n){if(this.autoScrollDisabled)return;let t,i=tr.NONE,o=un.NONE;if(this._parentPositions.positions.forEach((s,a)=>{a===this._document||!s.clientRect||t||xy(s.clientRect,Py,e,n)&&([i,o]=tT(a,s.clientRect,this._direction,e,n),(i||o)&&(t=a))}),!i&&!o){let{width:s,height:a}=this._viewportRuler.getViewportSize(),l={width:s,height:a,top:0,right:s,bottom:a,left:0};i=jy(l,n),o=By(l,e),t=window}t&&(i!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=i,this._horizontalScrollDirection=o,this._scrollNode=t,(i||o)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let e=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let e=this._container.style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(n=>n._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(e,n){return this._domRect!=null&&Sf(this._domRect,e,n)}_getSiblingContainerFromPosition(e,n,t){return this._siblings.find(i=>i._canReceive(e,n,t))}_canReceive(e,n,t){if(!this._domRect||!Sf(this._domRect,n,t)||!this.enterPredicate(e,this))return!1;let i=this._getShadowRoot().elementFromPoint(n,t);return i?i===this._container||this._container.contains(i):!1}_startReceiving(e,n){let t=this._activeSiblings;!t.has(e)&&n.every(i=>this.enterPredicate(i,this)||this._draggables.indexOf(i)>-1)&&(t.add(e),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:e,receiver:this,items:n}))}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:e,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(e=>{if(this.isDragging()){let n=this._parentPositions.handleScroll(e);n&&this._sortStrategy.updateOnScroll(n.top,n.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let e=Ha(this._container);this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let e=this._sortStrategy.getActiveItemsSnapshot().filter(n=>n.isDragging());this._siblings.forEach(n=>n._startReceiving(this,e))}};function jy(r,e){let{top:n,bottom:t,height:i}=r,o=i*Vy;return e>=n-o&&e<=n+o?tr.UP:e>=t-o&&e<=t+o?tr.DOWN:tr.NONE}function By(r,e){let{left:n,right:t,width:i}=r,o=i*Vy;return e>=n-o&&e<=n+o?un.LEFT:e>=t-o&&e<=t+o?un.RIGHT:un.NONE}function tT(r,e,n,t,i){let o=jy(e,i),s=By(e,t),a=tr.NONE,l=un.NONE;if(o){let u=r.scrollTop;o===tr.UP?u>0&&(a=tr.UP):r.scrollHeight-u>r.clientHeight&&(a=tr.DOWN)}if(s){let u=r.scrollLeft;n==="rtl"?s===un.RIGHT?u<0&&(l=un.RIGHT):r.scrollWidth+u>r.clientWidth&&(l=un.LEFT):s===un.LEFT?u>0&&(l=un.LEFT):r.scrollWidth-u>r.clientWidth&&(l=un.RIGHT)}return[a,l]}var Oh=ln({passive:!1,capture:!0}),Mh=new Set,iT=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Ae({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[Te],decls:0,vars:0,template:function(i,o){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}"],encapsulation:2,changeDetection:0});let r=e;return r})(),nT=(()=>{let e=class e{constructor(t,i){this._ngZone=t,this._appRef=O(Zr),this._environmentInjector=O(or),this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=Yr([]),this._globalListeners=new Map,this._draggingPredicate=o=>o.isDragging(),this.pointerMove=new K,this.pointerUp=new K,this.scroll=new K,this._preventDefaultWhileDragging=o=>{this._activeDragInstances().length>0&&o.preventDefault()},this._persistentTouchmoveListener=o=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&o.preventDefault(),this.pointerMove.next(o))},this._document=i}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Oh)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),this._dragInstances.size===0&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Oh)}startDragging(t,i){if(!(this._activeDragInstances().indexOf(t)>-1)&&(this._loadResets(),this._activeDragInstances.update(o=>[...o,t]),this._activeDragInstances().length===1)){let o=i.type.startsWith("touch");this._globalListeners.set(o?"touchend":"mouseup",{handler:s=>this.pointerUp.next(s),options:!0}).set("scroll",{handler:s=>this.scroll.next(s),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Oh}),o||this._globalListeners.set("mousemove",{handler:s=>this.pointerMove.next(s),options:Oh}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((s,a)=>{this._document.addEventListener(a,s.handler,s.options)})})}}stopDragging(t){this._activeDragInstances.update(i=>{let o=i.indexOf(t);return o>-1?(i.splice(o,1),[...i]):i}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances().indexOf(t)>-1}scrolled(t){let i=[this.scroll];return t&&t!==this._document&&i.push(new xi(o=>this._ngZone.runOutsideAngular(()=>{let a=l=>{this._activeDragInstances().length&&o.next(l)};return t.addEventListener("scroll",a,!0),()=>{t.removeEventListener("scroll",a,!0)}}))),Ri(...i)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,i)=>{this._document.removeEventListener(i,t.handler,t.options)}),this._globalListeners.clear()}_loadResets(){if(!Mh.has(this._appRef)){Mh.add(this._appRef);let t=Mg(iT,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(()=>{Mh.delete(this._appRef),Mh.size===0&&t.destroy()})}}};e.\u0275fac=function(i){return new(i||e)(I(ie),I(ae))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),rT={dragStartThreshold:5,pointerDirectionChangeThreshold:5},oT=(()=>{let e=class e{constructor(t,i,o,s){this._document=t,this._ngZone=i,this._viewportRuler=o,this._dragDropRegistry=s}createDrag(t,i=rT){return new Tf(t,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new Mf(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}};e.\u0275fac=function(i){return new(i||e)(I(ae),I(ie),I(Lr),I(nT))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})(),Ry=new q("CDK_DRAG_PARENT");var sT=new q("CdkDragHandle");var aT=new q("CDK_DRAG_CONFIG"),lT="cdk-drag",uT=new q("CdkDropList"),Xs=(()=>{let e=class e{get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=t,this._dragRef.disabled=this._disabled}constructor(t,i,o,s,a,l,u,c,m,g,_){this.element=t,this.dropContainer=i,this._ngZone=s,this._viewContainerRef=a,this._dir=u,this._changeDetectorRef=m,this._selfHandle=g,this._parentDrag=_,this._destroyed=new K,this._handles=new Pi([]),this.started=new ge,this.released=new ge,this.ended=new ge,this.entered=new ge,this.exited=new ge,this.dropped=new ge,this.moved=new xi(C=>{let y=this._dragRef.moved.pipe(te(x=>({source:this,pointerPosition:x.pointerPosition,event:x.event,delta:x.delta,distance:x.distance}))).subscribe(C);return()=>{y.unsubscribe()}}),this._injector=O(St),this._dragRef=c.createDrag(t,{dragStartThreshold:l&&l.dragStartThreshold!=null?l.dragStartThreshold:5,pointerDirectionChangeThreshold:l&&l.pointerDirectionChangeThreshold!=null?l.pointerDirectionChangeThreshold:5,zIndex:l?.zIndex}),this._dragRef.data=this,e._dragInstances.push(this),l&&this._assignDefaults(l),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(t){this._dragRef.setFreeDragPosition(t)}ngAfterViewInit(){fn(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(t){let i=t.rootElementSelector,o=t.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),o&&!o.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);let t=e._dragInstances.indexOf(this);t>-1&&e._dragInstances.splice(t,1),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(t){let i=this._handles.getValue();i.push(t),this._handles.next(i)}_removeHandle(t){let i=this._handles.getValue(),o=i.indexOf(t);o>-1&&(i.splice(o,1),this._handles.next(i))}_setPreviewTemplate(t){this._previewTemplate=t}_resetPreviewTemplate(t){t===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(t){this._placeholderTemplate=t}_resetPlaceholderTemplate(t){t===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){let t=this.element.nativeElement,i=t;this.rootElementSelector&&(i=t.closest!==void 0?t.closest(this.rootElementSelector):t.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||t)}_getBoundaryElement(){let t=this.boundaryElement;return t?typeof t=="string"?this.element.nativeElement.closest(t):ii(t):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){let i=this._dir,o=this.dragStartDelay,s=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,a=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay=typeof o=="object"&&o?o:Yo(o),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(s).withPreviewTemplate(a).withPreviewContainer(this.previewContainer||"global"),i&&t.withDirection(i.value)}}),t.beforeStarted.pipe(Si(1)).subscribe(()=>{if(this._parentDrag){t.withParent(this._parentDrag._dragRef);return}let i=this.element.nativeElement.parentElement;for(;i;){if(i.classList.contains(lT)){t.withParent(e._dragInstances.find(o=>o.element.nativeElement===i)?._dragRef||null);break}i=i.parentElement}})}_handleEvents(t){t.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),t.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),t.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),t.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(t){let{lockAxis:i,dragStartDelay:o,constrainPosition:s,previewClass:a,boundaryElement:l,draggingDisabled:u,rootElementSelector:c,previewContainer:m}=t;this.disabled=u??!1,this.dragStartDelay=o||0,i&&(this.lockAxis=i),s&&(this.constrainPosition=s),a&&(this.previewClass=a),l&&(this.boundaryElement=l),c&&(this.rootElementSelector=c),m&&(this.previewContainer=m)}_setupHandlesListener(){this._handles.pipe(tt(t=>{let i=t.map(o=>o.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),lt(t=>Ri(...t.map(i=>i._stateChanges.pipe(Fi(i))))),qe(this._destroyed)).subscribe(t=>{let i=this._dragRef,o=t.element.nativeElement;t.disabled?i.disableHandle(o):i.enableHandle(o)})}};e._dragInstances=[],e.\u0275fac=function(i){return new(i||e)(S(de),S(uT,12),S(ae),S(ie),S(Dn),S(aT,8),S(Wi,8),S(oT),S(Dt),S(sT,10),S(Ry,12))},e.\u0275dir=ye({type:e,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(i,o){i&2&&Q("cdk-drag-disabled",o.disabled)("cdk-drag-dragging",o._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",Pe],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Lt([{provide:Ry,useExisting:e}]),At,$t]});let r=e;return r})();var zy=(()=>{let e=class e{transform(t,i=!1,o=!1){return o&&(t=`${t}`.replace(/\-(\d+)/g,"$1-")),i&&(t=`${t}`.replace(/\B(?=(\d{3})+(?!\d))/g,"\u066B")),e.toFa(t).replace(/,/g,"\u066B")}static toFa(t){return`${t}`.replace(/0/g,"\u06F0").replace(/1/g,"\u06F1").replace(/2/g,"\u06F2").replace(/3/g,"\u06F3").replace(/4/g,"\u06F4").replace(/5/g,"\u06F5").replace(/6/g,"\u06F6").replace(/7/g,"\u06F7").replace(/8/g,"\u06F8").replace(/9/g,"\u06F9")}static toEn(t){return`${t}`.replace(/۰/g,"0").replace(/۱/g,"1").replace(/۲/g,"2").replace(/۳/g,"3").replace(/۴/g,"4").replace(/۵/g,"5").replace(/۶/g,"6").replace(/۷/g,"7").replace(/۸/g,"8").replace(/۹/g,"9")}static toEnNum(t){if(!t)return 0;let i=e.toEn(`${t}`);return parseFloat(i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=dc({name:"fa",type:e,pure:!0,standalone:!0});let r=e;return r})();var Zs=(()=>{let e=class e{constructor(t){this.httpClient=t,this.publishers=[]}list(t,i=!1){return!i&&this.publishers.length?(t.sum=this.publishers.length,t.list=this.publishers,G(!0)):(t.meta.busyLoading=!0,t.meta.errorLoading=!1,this.httpClient.get(`${ci.apiBase3}/publishers`).pipe(te(o=>{if(o.code||!o.data)return!1;for(let{manifestTypeId:s,publishers:a}of o.data)for(let l of a){let u=this.publishers.find(c=>c.id==l.id);u||(u=new za(l),this.publishers.push(u)),u.meta.objectTypes||(u.meta.objectTypes={}),u.meta.objectTypes[s]=!0}return t.sum=this.publishers.length,t.list=this.publishers,t.meta.busyLoading=!1,!0}),Mt(o=>(t.meta.busyLoading=!1,t.meta.errorLoading=!0,G(!1)))))}};e.\u0275fac=function(i){return new(i||e)(I(qi))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var qs=(()=>{let e=class e{constructor(){this.httpClient=O(qi),this.objectTypes=[],this.objectTypeMap={manuscripts:null,objects:null}}list(t,i=!1){return!i&&this.objectTypes.length?(t.sum=this.objectTypes.length,t.list=this.objectTypes,G(!0)):(t.meta.busyLoading=!0,t.meta.errorLoading=!1,this.httpClient.get(`${ci.apiBase2}/manifesttypes`).pipe(te(o=>{if(o.code||!o.data)return!1;let s=o.data;return t.sum=s.length,this.objectTypes=s.map(a=>new Ns(a)),t.list=this.objectTypes,this.objectTypeMap.manuscripts=this.objectTypes.find(a=>a.internationalName=="Book"),this.objectTypeMap.objects=this.objectTypes.find(a=>a.internationalName=="Object"),t.meta.busyLoading=!1,!0}),Mt(o=>(t.meta.busyLoading=!1,t.meta.errorLoading=!0,G(!1)))))}listPropertiesOf(t,i=!1){t instanceof Ns&&(t=[t]);let o={};for(let s of t)(!s.propertyTypes.length||i)&&(o[s.id]=this.httpClient.get(`${ci.apiBase2}/manifesttypes/${s.id}/properties`));return Object.keys(o).length?Ks(o).pipe(te(s=>{for(let a of Object.keys(s)){let l=this.objectTypes.find(u=>u.id==a);l&&(l.propertyTypes=s[a].data.map(u=>new Ud(u)).sort((u,c)=>u.localName.localeCompare(c.localName,"fa")),l.propertyTypes.forEach(u=>u.sortValues()))}return!0})):G(!0)}getPropertyId(t){return this.objectTypes.map(i=>i.propertyTypes).flat().find(i=>i.name.toLowerCase()==t.toLowerCase())?.id}getProperty(t){return this.objectTypes.map(i=>i.propertyTypes).flat().find(i=>i.name.toLowerCase()==t.toLowerCase())}getValuesOf(t,i){return i?i.propertyTypes.find(o=>o.name.toLowerCase()==t.toLowerCase())?.predefinedValues||[]:this.objectTypes.map(o=>o.propertyTypes).flat().filter(o=>o.name.toLowerCase()==t.toLowerCase()).map(o=>o.predefinedValues).flat()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var Rh=(()=>{let e=class e{constructor(){this.httpClient=O(qi),this.objectTypeService=O(qs)}list(t){t.meta.busyLoading=!0,t.meta.errorLoading=!1;let i={parameters:{properties:[]}};if(i.pageSize=t.limit,i.page=t.page+1,t.sort){let o=t.sort,s=t.order.toLowerCase()=="asc"?"Asc":"Dsc";o=="time"&&(o="Date"),o=="no"&&(o="No"),o=="type"&&(o="LocalTypeName"),o=="status"&&(o="Status"),i.orders={[o]:s}}if(t.constraints.predefinedValues)for(let o of["Scribe/calligrapher","Place of origin","Illuminator","Illustrator","Calligraphy type","Manuscript language","Author","Dynasty","Topic","Technique","Art type","Creator","Application","Material"]){let s=this.objectTypeService.getPropertyId(o),a=this.objectTypeService.getValuesOf(o).filter(l=>!!t.constraints.predefinedValues.find(u=>l.id==u)).map(l=>l.id);a.length&&i.parameters.properties.push({propertyId:s,predefinedValues:a})}return i.parameters.publishers=t.constraints.publishers||void 0,t.constraints.dateFrom&&(i.parameters.fromStartCreationDate=parseInt(t.constraints.dateFrom)),t.constraints.dateTo&&(i.parameters.toEndCreationDate=parseInt(t.constraints.dateTo)),t.constraints.keyword&&(i.parameters.keyword=t.constraints.keyword),t.constraints.typeId&&(i.parameters.manifestTypeId=t.constraints.typeId),Object.keys(i.parameters).length||delete i.parameters,this.httpClient.post(`${ci.apiBase2}/manifests/search`,i).pipe(te(o=>{if(t.meta.busyLoading=!1,o.code||!o.data)return!1;let s=o.data;return t.sum=s.total,t.totalPages=Math.ceil(s.total/t.limit),t.list=[...t.list,...s.collection.map(a=>new Go(a))],!0}),Mt(o=>(t.meta.busyLoading=!1,t.meta.errorLoading=!0,G(!1))))}load(t){return t.meta.busyLoading=!0,t.meta.errorLoading=!1,this.httpClient.get(`${ci.apiBase2}/manifests/${t.id}`).pipe(te(i=>(t.meta.busyLoading=!1,i.code||!i.data?(t.meta.errorLoading=!0,!1):(t.absorb(i.data),!0))),Mt(i=>(console.log("error",i),t.meta.busyLoading=!1,t.meta.errorLoading=!0,G(!1))))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var cT=["startPose"],dT=["endPose"],hT=["class","page page-archive blurry-background"],bi=(r,e)=>e.id,pT=(r,e)=>e.offset;function mT(r,e){r&1&&h(0,"\u06AF\u0646\u062C\u06CC\u0646\u0647\u0654 \u0627\u0634\u06CC\u0627")}function fT(r,e){r&1&&h(0,"\u0646\u0633\u062E \u062E\u0637\u06CC")}function gT(r,e){r&1&&(d(0,"span"),h(1,"\u0644\u0637\u0641\u0627\u064B \u0635\u0628\u0631 \u06A9\u0646\u06CC\u062F."),p())}function _T(r,e){if(r&1&&(d(0,"span"),h(1),Xr(2,"number"),Xr(3,"fa"),p()),r&2){let n=N(2);w(),In("",ra(3,5,Cc(2,1,n.artworks.sum,"","en-US"))," \xA0 \u0627\u062B\u0631")}}function vT(r,e){if(r&1&&(d(0,"p"),re(1,gT,2,0,"span")(2,_T,4,7,"span"),p()),r&2){let n=N();w(),Z(n.artworks.meta.busyLoading?1:2)}}function bT(r,e){if(r&1){let n=se();d(0,"div",38),V("click",function(){Y(n);let i=N();return X(i.clearTextFilter())}),d(1,"label"),h(2),p(),v(3,"div",39),p()}if(r&2){let n=N();w(2),In("\u062C\u0633\u062A\u062C\u0648: ",n.filterText,"")}}function CT(r,e){if(r&1&&(h(0),Xr(1,"fa")),r&2){let n=N(2);In("\u0627\u0632 ",Cc(1,1,n.timelineActiveBarStart.year,!1,!0)," ")}}function yT(r,e){if(r&1&&(h(0),Xr(1,"fa")),r&2){let n=N(2);In("\u062A\u0627 ",Cc(1,1,n.timelineActiveBarEnd.year,!1,!0)," ")}}function wT(r,e){if(r&1){let n=se();d(0,"div",38),V("click",function(){Y(n);let i=N();return X(i.clearTime())}),d(1,"label"),re(2,CT,2,5)(3,yT,2,5),p(),v(4,"div",39),p()}if(r&2){let n=N();w(2),Z(n.timelineActiveBarStart.offset?2:-1),w(),Z(n.timelineActiveBarEnd.offset<1?3:-1)}}function xT(r,e){if(r&1){let n=se();d(0,"div",40),V("click",function(){let i=Y(n).$implicit,o=N();return X(o.clearFilter(i))}),d(1,"label"),h(2),p(),v(3,"div",39),p()}if(r&2){let n=e.$implicit;w(2),le(n.localName)}}function ET(r,e){if(r&1){let n=se();d(0,"div",41),V("click",function(){let i=Y(n).$implicit,o=N();return X(o.clearFilter(i))}),d(1,"label"),h(2),p(),v(3,"div",39),p()}if(r&2){let n=e.$implicit;w(2),le(n.displayFa||n.fa)}}function ST(r,e){if(r&1){let n=se();d(0,"div",42),V("click",function(){Y(n);let i=N();return X(i.clearAllFilters())}),d(1,"label"),h(2,"\u062D\u0630\u0641 \u0647\u0645\u0647"),p()()}}function AT(r,e){if(r&1&&(d(0,"div",43)(1,"div",31),h(2),Xr(3,"fa"),p()()),r&2){let n=e.$implicit;Ze("--offset",n.offset),w(2),le(ra(3,3,n.label))}}function TT(r,e){if(r&1){let n=se();d(0,"img",46),V("load",function(){Y(n);let i=N(2);return X(i.layout())}),p()}if(r&2){let n=N().$implicit;ue("src",n.coverPage.bigtoeUrl,mn)}}function OT(r,e){if(r&1&&(d(0,"div",33)(1,"a",44),re(2,TT,1,1,"img",45),p()()),r&2){let n=e.$implicit;w(),Gt("routerLink","/artwork/",n.id,""),gg("title",n.preferredTitle),w(),Z(n.coverPage?2:-1)}}function MT(r,e){r&1&&(d(0,"p",34),h(1,"\u0628\u0627 \u0641\u06CC\u0644\u062A\u0631\u0647\u0627 \u06CC\u0627 \u0639\u0628\u0627\u0631\u062A \u0645\u0648\u0631\u062F \u0646\u0638\u0631 \u0634\u0645\u0627 \u0646\u062A\u06CC\u062C\u0647\u200C\u0627\u06CC \u06CC\u0627\u0641\u062A \u0646\u0634\u062F."),p())}function DT(r,e){r&1&&v(0,"mat-progress-bar",35)}function IT(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit;return X(i.meta._selected=!i.meta._selected)}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.fa)}}function kT(r,e){if(r&1){let n=se();d(0,"span",22),V("click",function(){Y(n);let i=N(2);return X(i.showMoreApplications=!0)}),h(1,"\u0628\u06CC\u0634\u062A\u0631"),p()}}function PT(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit;return X(i.meta._selected=!i.meta._selected)}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.fa)}}function RT(r,e){if(r&1){let n=se();_e(0,PT,4,3,"div",11,bi),d(2,"span",22),V("click",function(){Y(n);let i=N(2);return X(i.showMoreApplications=!1)}),h(3,"\u06A9\u0645\u062A\u0631"),p()}if(r&2){let n=N(2);ve(n.applications.slice(8))}}function FT(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit;return X(i.meta._selected=!i.meta._selected)}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.fa)}}function NT(r,e){if(r&1){let n=se();d(0,"span",22),V("click",function(){Y(n);let i=N(2);return X(i.showMoreArtTypes=!0)}),h(1,"\u0628\u06CC\u0634\u062A\u0631"),p()}}function LT(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit;return X(i.meta._selected=!i.meta._selected)}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.fa)}}function VT(r,e){if(r&1){let n=se();_e(0,LT,4,3,"div",11,bi),d(2,"span",22),V("click",function(){Y(n);let i=N(2);return X(i.showMoreArtTypes=!1)}),h(3,"\u06A9\u0645\u062A\u0631"),p()}if(r&2){let n=N(2);ve(n.artTypes.slice(8))}}function jT(r,e){if(r&1&&(d(0,"p",5),h(1,"\u06A9\u0627\u0631\u0628\u0631\u062F"),p(),d(2,"div",10),_e(3,IT,4,3,"div",11,bi),re(5,kT,2,0,"span",12)(6,RT,4,0,"span",12),p(),v(7,"div",13),d(8,"p",5),h(9,"\u0631\u0634\u062A\u0647\u0654 \u0647\u0646\u0631\u06CC"),p(),d(10,"div",10),_e(11,FT,4,3,"div",11,bi),re(13,NT,2,0,"span",12)(14,VT,4,0,"span",12),p(),v(15,"div",13)),r&2){let n=N();w(3),ve(n.applications.slice(0,8)),w(2),Z(!n.showMoreApplications&&n.applications.length>8?5:-1),w(),Z(n.showMoreApplications?6:-1),w(5),ve(n.artTypes.slice(0,8)),w(2),Z(!n.showMoreArtTypes&&n.artTypes.length>8?13:-1),w(),Z(n.showMoreArtTypes?14:-1)}}function BT(r,e){if(r&1&&(d(0,"mat-option",26),h(1),p()),r&2){let n=e.$implicit;ue("value",n),w(),le(n.displayFa||n.fa)}}function zT(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit,o=N(2);return X(o.deselectAuthor(i))}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.displayFa||n.fa)}}function UT(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit;return X(i.meta._selected=!i.meta._selected)}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.fa)}}function WT(r,e){if(r&1){let n=se();d(0,"span",22),V("click",function(){Y(n);let i=N(2);return X(i.showMoreTopics=!0)}),h(1,"\u0628\u06CC\u0634\u062A\u0631"),p()}}function HT(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit;return X(i.meta._selected=!i.meta._selected)}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.fa)}}function $T(r,e){if(r&1){let n=se();_e(0,HT,4,3,"div",11,bi),d(2,"span",22),V("click",function(){Y(n);let i=N(2);return X(i.showMoreTopics=!1)}),h(3,"\u06A9\u0645\u062A\u0631"),p()}if(r&2){let n=N(2);ve(n.topics.slice(8))}}function GT(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit;return X(i.meta._selected=!i.meta._selected)}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.fa)}}function YT(r,e){if(r&1){let n=se();d(0,"span",22),V("click",function(){Y(n);let i=N(2);return X(i.showMoreManuscriptLanguages=!0)}),h(1,"\u0628\u06CC\u0634\u062A\u0631"),p()}}function XT(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit;return X(i.meta._selected=!i.meta._selected)}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.fa)}}function ZT(r,e){if(r&1){let n=se();_e(0,XT,4,3,"div",11,bi),d(2,"span",22),V("click",function(){Y(n);let i=N(2);return X(i.showMoreManuscriptLanguages=!1)}),h(3,"\u06A9\u0645\u062A\u0631"),p()}if(r&2){let n=N(2);ve(n.manuscriptLanguages.slice(8))}}function qT(r,e){if(r&1){let n=se();d(0,"p",5),h(1,"\u0646\u0648\u06CC\u0633\u0646\u062F\u0647"),p(),d(2,"mat-form-field",23)(3,"mat-label"),h(4,"\u0646\u0648\u06CC\u0633\u0646\u062F\u0647"),p(),v(5,"input",24),d(6,"mat-autocomplete",25,0),V("optionSelected",function(i){Y(n);let o=N();return X(o.selectAuthor(i.option.value))}),_e(8,BT,2,2,"mat-option",26,bc),Xr(10,"async"),p()(),d(11,"div",10),_e(12,zT,4,3,"div",11,bi),p(),v(14,"div",9),d(15,"p",5),h(16,"\u0645\u0648\u0636\u0648\u0639 \u0646\u0633\u062E\u0647"),p(),d(17,"div",10),_e(18,UT,4,3,"div",11,bi),re(20,WT,2,0,"span",12)(21,$T,4,0,"span",12),p(),v(22,"div",13),d(23,"p",5),h(24,"\u0632\u0628\u0627\u0646 \u0646\u0633\u062E\u0647"),p(),d(25,"div",10),_e(26,GT,4,3,"div",11,bi),re(28,YT,2,0,"span",12)(29,ZT,4,0,"span",12),p(),v(30,"div",13)}if(r&2){let n=xr(7),t=N();w(5),ue("formControl",t.authorControl)("matAutocomplete",n),w(3),ve(ra(10,6,t.filteredAuthors)),w(4),ve(t.selectedAuthors),w(6),ve(t.topics.slice(0,8)),w(2),Z(!t.showMoreTopics&&t.topics.length>8?20:-1),w(),Z(t.showMoreTopics?21:-1),w(5),ve(t.manuscriptLanguages.slice(0,8)),w(2),Z(!t.showMoreManuscriptLanguages&&t.manuscriptLanguages.length>8?28:-1),w(),Z(t.showMoreManuscriptLanguages?29:-1)}}function QT(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit;return X(i.meta._selected=!i.meta._selected)}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.fa)}}function KT(r,e){if(r&1){let n=se();d(0,"span",22),V("click",function(){Y(n);let i=N();return X(i.showMoreDynasties=!0)}),h(1,"\u0628\u06CC\u0634\u062A\u0631"),p()}}function JT(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit;return X(i.meta._selected=!i.meta._selected)}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.fa)}}function eO(r,e){if(r&1){let n=se();_e(0,JT,4,3,"div",11,bi),d(2,"span",22),V("click",function(){Y(n);let i=N();return X(i.showMoreDynasties=!1)}),h(3,"\u06A9\u0645\u062A\u0631"),p()}if(r&2){let n=N();ve(n.dynasties.slice(8))}}function tO(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit;return X(i.meta._selected=!i.meta._selected)}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.fa)}}function iO(r,e){if(r&1){let n=se();d(0,"span",22),V("click",function(){Y(n);let i=N(2);return X(i.showMoreMaterials=!0)}),h(1,"\u0628\u06CC\u0634\u062A\u0631"),p()}}function nO(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit;return X(i.meta._selected=!i.meta._selected)}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.fa)}}function rO(r,e){if(r&1){let n=se();_e(0,nO,4,3,"div",11,bi),d(2,"span",22),V("click",function(){Y(n);let i=N(2);return X(i.showMoreMaterials=!1)}),h(3,"\u06A9\u0645\u062A\u0631"),p()}if(r&2){let n=N(2);ve(n.materials.slice(8))}}function oO(r,e){if(r&1&&(d(0,"p",5),h(1,"\u0645\u0648\u0627\u062F \u0633\u0627\u0632\u0646\u062F\u0647"),p(),d(2,"div",10),_e(3,tO,4,3,"div",11,bi),re(5,iO,2,0,"span",12)(6,rO,4,0,"span",12),p(),v(7,"div",13)),r&2){let n=N();w(3),ve(n.materials.slice(0,8)),w(2),Z(!n.showMoreMaterials&&n.materials.length>8?5:-1),w(),Z(n.showMoreMaterials?6:-1)}}function sO(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit;return X(i.meta._selected=!i.meta._selected)}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.localName)}}function aO(r,e){if(r&1){let n=se();d(0,"span",22),V("click",function(){Y(n);let i=N();return X(i.showMorePublishers=!0)}),h(1,"\u0628\u06CC\u0634\u062A\u0631"),p()}}function lO(r,e){if(r&1){let n=se();d(0,"div",20),V("click",function(){let i=Y(n).$implicit;return X(i.meta._selected=!i.meta._selected)}),d(1,"label"),h(2),p(),v(3,"div",21),p()}if(r&2){let n=e.$implicit;Q("selected",n.meta._selected),w(2),le(n.localName)}}function uO(r,e){if(r&1){let n=se();_e(0,lO,4,3,"div",11,bi),d(2,"span",22),V("click",function(){Y(n);let i=N();return X(i.showMorePublishers=!1)}),h(3,"\u06A9\u0645\u062A\u0631"),p()}if(r&2){let n=N();ve(n.publishers.list.slice(8))}}var kf=(()=>{let e=class e{constructor(){this.platformId=O(ai),this.route=O(vn),this.router=O(Qi),this.dialog=O(ic),this.cultureService=O(jn),this.publisherService=O(Zs),this.objectTypeService=O(qs),this.artworkService=O(Rh),this.applications=[],this.materials=[],this.artTypes=[],this.manuscriptLanguages=[],this.authors=[],this.techniques=[],this.topics=[],this.dynasties=[],this.place=[],this.scribes=[],this.illuminators=[],this.illustrators=[],this.fonts=[],this.allPredefinedValues=[],this.browserMode=Hn(this.platformId),this.timeIndices=[],this.startTime=-6e3,this.endTime=1800,this.timelineActiveBarStart={offset:0,year:0,label:""},this.timelineActiveBarStartOffset=0,this.timelineActiveBarEnd={offset:1,year:0,label:""},this.timelineActiveBarEndOffset=1,this.filterText="",this.filterValues=[],this.filterPublishers=[],this.cultures=new En,this.publishers=new En,this.objectTypes=new En,this.artworks=new En,this.firstRoute=!0,this.movableSearchButton=!1}ngOnInit(){this.artworks.limit=30,this.artworks.sort="time",this.artworks.meta.busyLoading=!0;for(let t=this.startTime;t<0;t+=1e3)this.timeIndices.push({offset:0,year:t,label:`${-t} \u067E.\u0645.`});for(let t=0;t<=this.endTime;t+=200)this.timeIndices.push({offset:0,year:t,label:`${t||1} \u0645.`});for(let t=0;t<this.timeIndices.length;t++)this.timeIndices[t].offset=t/(this.timeIndices.length-1);xo(this.cultureService.list(this.cultures),this.publisherService.list(this.publishers),this.objectTypeService.list(this.objectTypes).pipe(lt(t=>t?this.objectTypeService.listPropertiesOf(this.objectTypes.list):G(!1)))).pipe(uc()).subscribe(([t,i])=>{wo([this.route.params,this.route.queryParams]).pipe(Js(300)).subscribe(([o,s])=>{if(this.browserMode&&window.scrollTo(0,0),this.filterText=s.search||"",o.type=="objects"?this.type=this.objectTypes.list.find(a=>a.internationalName.toLowerCase()=="object"):this.type=this.objectTypes.list.find(a=>a.internationalName.toLowerCase()=="book"),this.applications=this.objectTypeService.getValuesOf("Application",this.type),this.materials=this.objectTypeService.getValuesOf("Material",this.type),this.artTypes=this.objectTypeService.getValuesOf("Art type",this.type),this.manuscriptLanguages=this.objectTypeService.getValuesOf("Manuscript language",this.type),this.authors=this.objectTypeService.getValuesOf("Author",this.type),this.techniques=this.objectTypeService.getValuesOf("Technique",this.type),this.topics=this.objectTypeService.getValuesOf("Topic",this.type),this.dynasties=this.objectTypeService.getValuesOf("Dynasty",this.type),this.place=this.objectTypeService.getValuesOf("Place of origin",this.type),this.scribes=this.objectTypeService.getValuesOf("Scribe/calligrapher",this.type),this.illuminators=this.objectTypeService.getValuesOf("Illuminator",this.type),this.illustrators=this.objectTypeService.getValuesOf("Illustrator",this.type),this.fonts=this.objectTypeService.getValuesOf("Calligraphy type",this.type),this.allPredefinedValues=[...this.applications,...this.materials,...this.artTypes,...this.manuscriptLanguages,...this.authors,...this.techniques,...this.topics,...this.dynasties,...this.place,...this.scribes,...this.illuminators,...this.illustrators,...this.fonts],this.allPredefinedValues.forEach(a=>a.meta.selected=!1),this.filterValues=(s.values||"").split(",").map(a=>{let l=this.allPredefinedValues.find(u=>u.id==a.trim());return l&&(l.meta.selected=!0),l||null}).filter(a=>!!a),this.publishers.list.forEach(a=>a.meta.selected=!1),this.filterPublishers=(s.publishers||"").split(",").map(a=>{let l=this.publishers.list.find(u=>u.id==a.trim());return l&&(l.meta.selected=!0),l||null}).filter(a=>!!a),s.dateFrom){let a="",l=0,u=1/(this.timeIndices.length-1);for(let g=0;g<this.timeIndices.length&&!(this.timeIndices[g].year>=s.dateFrom);g++)l=g;let c=(s.dateFrom-this.timeIndices[l].year)/(this.timeIndices[l+1].year-this.timeIndices[l].year),m=this.timeIndices[l].offset+c*u;this.timelineActiveBarStart={offset:m,year:s.dateFrom,label:a},this.firstRoute&&(this.timelineActiveBarStartOffset=m)}else this.timelineActiveBarStart=this.timeIndices[0];if(s.dateTo){let a="",l=0,u=1/(this.timeIndices.length-1);for(let g=0;g<this.timeIndices.length&&!(this.timeIndices[g].year>=s.dateTo);g++)l=g;let c=(s.dateTo-this.timeIndices[l].year)/(this.timeIndices[l+1].year-this.timeIndices[l].year),m=this.timeIndices[l].offset+c*u;this.timelineActiveBarEnd={offset:m,year:s.dateTo,label:a},this.firstRoute&&(this.timelineActiveBarEndOffset=m)}else this.timelineActiveBarEnd=this.timeIndices[this.timeIndices.length-1];s.order&&(this.artworks.order=s.order.toLowerCase()=="desc"?"desc":"asc"),this.firstRoute=!1,this.artworks.list.length=0,this.loadMore()})})}onScroll(){this.browserMode&&(document.querySelector("#advanced-search-trigger").classList.toggle("movable",document.querySelector(".artworks").getBoundingClientRect().bottom<window.innerHeight),document.querySelector("#to-the-top-trigger")?.classList.toggle("show",document.querySelector(".artworks").getBoundingClientRect().top<0))}loadMore(){this.firstRoute||(this.artworks.constraints={},this.artworks.constraints.typeId=this.type.id,this.filterValues.length&&(this.artworks.constraints.predefinedValues=this.filterValues.map(t=>t.id)),this.filterPublishers.length&&(this.artworks.constraints.publishers=this.filterPublishers.map(t=>t.id)),this.filterText&&(this.artworks.constraints.keyword=this.filterText),this.timelineActiveBarStart.offset&&(this.artworks.constraints.dateFrom=this.timelineActiveBarStart.year),this.timelineActiveBarEnd.offset<1&&(this.artworks.constraints.dateTo=this.timelineActiveBarEnd.year),this.artworks.list.length?this.artworks.page++:this.artworks.page=0,this.browserMode&&(this.masonry=new Masonry(".artworks",{itemSelector:".artwork",columnWidth:".grid-sizer",horizontalOrder:!0,originLeft:!1,transitionDuration:.4})),this.artworkService.list(this.artworks).subscribe(t=>{t&&setTimeout(i=>this.layout(!0),300)}))}layout(t=!1){t&&this.masonry?.reloadItems(),this.masonry?.layout()}timelineDragged(t){if(!this.browserMode)return;let i=[],o=document.querySelector(".timeline .bar").getBoundingClientRect();document.querySelectorAll(".timeline .node-wrapper").forEach(m=>{let g=m.getBoundingClientRect().left;i.push((o.left-g)/(o.left-o.right))}),i=i.sort();let s="",a=0,l=1/(this.timeIndices.length-1);for(let m=0;m<this.timeIndices.length&&!(this.timeIndices[m].offset>=i[0]);m++)a=m;let u=(i[0]-this.timeIndices[a].offset)/l,c=this.timeIndices[a].year+u*(this.timeIndices[a+1].year-this.timeIndices[a].year);c=10*Math.round(c/10),this.timelineActiveBarStart={offset:i[0],year:c,label:s},a=0;for(let m=0;m<this.timeIndices.length&&!(this.timeIndices[m].offset>=i[1]);m++)a=m;u=(i[1]-this.timeIndices[a].offset)/l,a==this.timeIndices.length-1?c=this.timeIndices[this.timeIndices.length-1].year:c=this.timeIndices[a].year+u*(this.timeIndices[a+1].year-this.timeIndices[a].year),c=10*Math.round(c/10),this.timelineActiveBarEnd={offset:i[1],year:c,label:s}}clearFilter(t){t.meta.selected=!1,this.reroute()}clearTextFilter(){this.filterText="",this.reroute()}clearTime(){this.timelineActiveBarStart=this.timeIndices[0],this.timelineActiveBarEnd=this.timeIndices[this.timeIndices.length-1],this.reroute(),this.timelineActiveBarStartOffset=0,this.timelineActiveBarEndOffset=1,this.timelineStartPose._dragRef.reset(),this.timelineEndPose._dragRef.reset()}clearAllFilters(){this.filterText="",[...this.publishers.list,...this.filterValues].forEach(t=>t.meta.selected=!1),this.timelineActiveBarStart=this.timeIndices[0],this.timelineActiveBarEnd=this.timeIndices[this.timeIndices.length-1],this.timelineActiveBarStartOffset=0,this.timelineActiveBarEndOffset=1,this.timelineStartPose._dragRef.reset(),this.timelineEndPose._dragRef.reset(),this.reroute()}reroute(){this.filterValues=this.allPredefinedValues.filter(o=>o.meta.selected);let t=this.filterValues.map(o=>o.id),i={};t.length&&(i.values=t.join(",")),i.publishers=this.publishers.list.filter(o=>o.meta.selected).map(o=>o.id).join(",")||void 0,this.filterText&&(i.search=this.filterText),this.timelineActiveBarStart.offset&&(i.dateFrom=this.timelineActiveBarStart.year),this.timelineActiveBarEnd.offset<1&&(i.dateTo=this.timelineActiveBarEnd.year),this.artworks.order.toLowerCase()=="desc"&&(i.order="desc"),this.router.navigate([this.route.snapshot.url.map(o=>o.path).join("/")],{queryParams:i})}openSearchDialog(){this.dialog.open(cO,{data:{type:this.type,searchText:this.filterText}}).closed.subscribe(t=>{t?.apply&&(this.filterText=t.searchText,this.reroute())})}toTheTop(){window.scrollTo(0,0)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Ae({type:e,selectors:[["page",8,"page","page-archive","blurry-background"]],viewQuery:function(i,o){if(i&1&&(yt(cT,5,Xs),yt(dT,5,Xs)),i&2){let s;Ue(s=We())&&(o.timelineStartPose=s.first),Ue(s=We())&&(o.timelineEndPose=s.first)}},hostBindings:function(i,o){i&1&&V("scroll",function(){return o.onScroll()},!1,cg)},standalone:!0,features:[Te],attrs:hT,decls:54,vars:18,consts:[["startPose",""],["endPose",""],[1,"header-compensation"],[1,"title-box","row"],[1,"col","col-1"],[1,"col","col-3","page-header"],[1,"page-title"],[1,"layout","horizontal"],[1,"pane","flex"],[1,"actions"],[1,"bg-transparent"],[3,"ngModelChange","selectionChange","ngModel"],["value","desc"],["value","asc"],[1,"filters","row"],[1,"col","col-3"],[1,"filter-button"],[1,"filter-button","publisher"],[1,"filter-button","value"],[1,"filter-button","clear"],[1,"row"],[1,"timeline-section","col-5"],[1,"indices"],[1,"index",3,"--offset"],[1,"timeline"],[1,"bar"],[1,"active-bar"],["cdkDragBoundary",".timeline","cdkDragLockAxis","x","cdkDrag","",1,"node-wrapper",3,"cdkDragReleased","cdkDragMoved"],["cdkDragHandle","",1,"node"],["infiniteScroll","",1,"artworks","block","row","grid",3,"scrolled","infiniteScrollDistance","infiniteScrollThrottle"],["id","advanced-search-trigger",1,"sn-button","type-2","accent",3,"click"],[1,"label"],[1,"grid-sizer","col","col-1"],["ngxMasonryItem","",1,"artwork","col","col-1","grid-item"],[1,"no-results"],["mode","indeterminate"],["id","to-the-top-trigger"],[1,"sn-button","type-1","xg","accent","up",3,"click"],[1,"filter-button",3,"click"],[1,"plus"],[1,"filter-button","publisher",3,"click"],[1,"filter-button","value",3,"click"],[1,"filter-button","clear",3,"click"],[1,"index"],["target","_blank",3,"routerLink","title"],["alt","",1,"thumbnail",3,"src"],["alt","",1,"thumbnail",3,"load","src"]],template:function(i,o){if(i&1){let s=se();v(0,"div",2),d(1,"div",3),v(2,"div",4),d(3,"div",5)(4,"h1",6),re(5,mT,1,0)(6,fT,1,0),p(),d(7,"div",7)(8,"div",8),re(9,vT,3,1,"p"),p(),d(10,"div",9)(11,"mat-form-field",10)(12,"mat-select",11),wg("ngModelChange",function(l){return Y(s),yg(o.artworks.order,l)||(o.artworks.order=l),X(l)}),V("selectionChange",function(){return Y(s),X(o.reroute())}),d(13,"mat-option",12),h(14,"\u062C\u062F\u06CC\u062F\u062A\u0631\u06CC\u0646"),p(),d(15,"mat-option",13),h(16,"\u0642\u062F\u06CC\u0645\u06CC\u200C\u062A\u0631\u06CC\u0646"),p()()()()()(),v(17,"div",4),p(),d(18,"div",14),v(19,"div",4),d(20,"div",15),re(21,bT,4,1,"div",16)(22,wT,5,2,"div",16),_e(23,xT,4,1,"div",17,bi),_e(25,ET,4,1,"div",18,bi),re(27,ST,3,0,"div",19),p(),v(28,"div",4),p(),d(29,"div",20)(30,"div",21)(31,"div",22),_e(32,AT,4,5,"div",23,pT),p(),d(34,"div",24),v(35,"div",25)(36,"div",26),d(37,"div",27,0),V("cdkDragReleased",function(){return Y(s),X(o.reroute())})("cdkDragMoved",function(l){return Y(s),X(o.timelineDragged(l))}),v(39,"div",28),p(),d(40,"div",27,1),V("cdkDragReleased",function(){return Y(s),X(o.reroute())})("cdkDragMoved",function(l){return Y(s),X(o.timelineDragged(l))}),v(42,"div",28),p()()()(),d(43,"ngx-masonry",29),V("scrolled",function(){return Y(s),X(o.loadMore())}),d(44,"div",30),V("click",function(){return Y(s),X(o.openSearchDialog())}),d(45,"span",31),h(46,"\u062C\u0633\u062A\u062C\u0648\u06CC \u067E\u06CC\u0634\u0631\u0641\u062A\u0647"),p()(),v(47,"div",32),_e(48,OT,3,4,"div",33,bi),re(50,MT,2,0,"p",34)(51,DT,1,0,"mat-progress-bar",35),p(),d(52,"div",36)(53,"div",37),V("click",function(){return Y(s),X(o.toTheTop())}),p()()}i&2&&(w(5),Z((o.type==null?null:o.type.internationalName)=="Object"?5:6),w(4),Z(o.browserMode?9:-1),w(3),Cg("ngModel",o.artworks.order),w(9),Z(o.filterText?21:-1),w(),Z(o.timelineActiveBarStart.offset||o.timelineActiveBarEnd.offset<1?22:-1),w(),ve(o.filterPublishers),w(2),ve(o.filterValues),w(2),Z(o.filterText||o.timelineActiveBarStart.offset||o.timelineActiveBarEnd.offset<1||o.filterPublishers.length||o.filterValues.length?27:-1),w(5),ve(o.timeIndices),w(4),Ze("--start",o.timelineActiveBarStart.offset)("--end",o.timelineActiveBarEnd.offset),w(),Ze("--offset",o.timelineActiveBarStartOffset),w(3),Ze("--offset",o.timelineActiveBarEndOffset),w(3),ue("infiniteScrollDistance",2)("infiniteScrollThrottle",50),w(5),ve(o.artworks.list),w(2),Z(!o.artworks.meta.busyLoading&&!o.artworks.list.length?50:-1),w(),Z(o.artworks.meta.busyLoading?51:-1))},dependencies:[ZC,pf,XC,Us,ll,al,by,Or,Tr,qm,Gm,Xm,Qm,Xs,vy,_y,ar,Vg,zy],styles:['.page-header[_ngcontent-%COMP%]{padding:0 20px}.page-header[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, 0);--mat-select-trigger-text-size: 14px;--mat-select-trigger-text-weight: 300}@media screen and (max-width: 960px){.page-header[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{width:130px}}.timeline-section[_ngcontent-%COMP%]{position:relative;height:250px}@media screen and (max-width: 960px){.timeline-section[_ngcontent-%COMP%]{width:calc(100% - 40px);height:180px;margin-right:20px}}.timeline-section[_ngcontent-%COMP%]   .indices[_ngcontent-%COMP%]{position:relative;top:100px}@media screen and (max-width: 960px){.timeline-section[_ngcontent-%COMP%]   .indices[_ngcontent-%COMP%]{top:80px}}.timeline-section[_ngcontent-%COMP%]   .indices[_ngcontent-%COMP%]   .index[_ngcontent-%COMP%]{--offset: 0;position:absolute;top:0;left:calc(100% * var(--offset))}.timeline-section[_ngcontent-%COMP%]   .indices[_ngcontent-%COMP%]   .index[_ngcontent-%COMP%]:after{content:" ";position:absolute;top:10px;width:0;height:16px;border-left:1px solid var(--color-neutral-surface-4)}.timeline-section[_ngcontent-%COMP%]   .indices[_ngcontent-%COMP%]   .index[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{position:absolute;left:0;margin-top:-16px;width:100px;text-align:left;transform-origin:0 15px;transform:rotate(-90deg)}@media screen and (max-width: 960px){.timeline-section[_ngcontent-%COMP%]   .indices[_ngcontent-%COMP%]   .index[_ngcontent-%COMP%]:nth-child(2n)   .label[_ngcontent-%COMP%]{opacity:0}.timeline-section[_ngcontent-%COMP%]   .indices[_ngcontent-%COMP%]   .index[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{width:80px}}.timeline-section[_ngcontent-%COMP%]   .timeline[_ngcontent-%COMP%]{position:absolute;inset:140px 0 auto;height:35px}@media screen and (max-width: 960px){.timeline-section[_ngcontent-%COMP%]   .timeline[_ngcontent-%COMP%]{top:110px}}.timeline-section[_ngcontent-%COMP%]   .timeline[_ngcontent-%COMP%]   .bar[_ngcontent-%COMP%]{position:absolute;inset:15px 0 auto;height:1px;background-color:var(--color-neutral-surface-4)}.timeline-section[_ngcontent-%COMP%]   .timeline[_ngcontent-%COMP%]   .active-bar[_ngcontent-%COMP%]{position:absolute;inset:15px calc(100% * (1 - var(--end))) auto calc(100% * var(--start));height:2px;background-color:var(--color-neutral-surface-10)}.timeline-section[_ngcontent-%COMP%]   .timeline[_ngcontent-%COMP%]   .node-wrapper[_ngcontent-%COMP%]{--offset: 0;position:absolute;top:16px;left:calc(100% * var(--offset));width:0;height:0}.timeline-section[_ngcontent-%COMP%]   .timeline[_ngcontent-%COMP%]   .node-wrapper[_ngcontent-%COMP%]   .node[_ngcontent-%COMP%]{position:absolute;top:-8.5px;left:-8.5px;width:17px;height:17px;background-color:var(--color-neutral-surface-10);cursor:pointer;transform:rotate(45deg)}.artworks[_ngcontent-%COMP%]{display:block;position:relative;width:calc(100% - 144px);min-height:700px}@media screen and (max-width: 960px){.artworks[_ngcontent-%COMP%]{width:calc(100% - 20px);padding:0 10px}.artworks[_ngcontent-%COMP%]   .grid-sizer[_ngcontent-%COMP%]{width:50%}}.artworks[_ngcontent-%COMP%]   .artwork[_ngcontent-%COMP%]{padding-bottom:24px}@media screen and (max-width: 960px){.artworks[_ngcontent-%COMP%]   .artwork[_ngcontent-%COMP%]{box-sizing:border-box;width:calc(50% - 10px);padding:0 10px 20px}}.artworks[_ngcontent-%COMP%]   .artwork[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .artworks[_ngcontent-%COMP%]   .artwork[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .thumbnail[_ngcontent-%COMP%]{width:100%}.artworks[_ngcontent-%COMP%]   #advanced-search-trigger[_ngcontent-%COMP%]{position:fixed;bottom:50px;left:50%;margin-left:-113px;z-index:10}@media screen and (max-width: 960px){.artworks[_ngcontent-%COMP%]   #advanced-search-trigger[_ngcontent-%COMP%]{transform:scale(.75);bottom:20px}}.artworks[_ngcontent-%COMP%]   #advanced-search-trigger.movable[_ngcontent-%COMP%]{position:absolute}.filters[_ngcontent-%COMP%]{min-height:55px}@media screen and (max-width: 960px){.filters[_ngcontent-%COMP%]{padding:0 20px}}.filter-button[_ngcontent-%COMP%]{display:inline-block;margin:0 0 8px 8px;padding:8px 16px 8px 12px;color:#fff;background-color:var(--color-neutral-surface-10);border:1px solid var(--color-neutral-surface-10);cursor:pointer}.filter-button[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:14px;font-weight:300;line-height:16px;pointer-events:none}.filter-button[_ngcontent-%COMP%]   .plus[_ngcontent-%COMP%]{position:relative;display:inline-block;width:16px;height:16px;margin-right:8px;vertical-align:-4px;transform:rotate(45deg)}.filter-button[_ngcontent-%COMP%]   .plus[_ngcontent-%COMP%]:after{content:" ";display:block;position:absolute;inset:0;background-image:url(/assets/components/icon-plus-w.png)}.filter-button.clear[_ngcontent-%COMP%]{color:var(--color-neutral-surface-10);background-color:transparent}.no-results[_ngcontent-%COMP%]{text-align:center}#to-the-top-trigger[_ngcontent-%COMP%]{position:fixed;bottom:-70px;right:96px;height:56px;z-index:10;transition:bottom .2s ease-in}#to-the-top-trigger.show[_ngcontent-%COMP%]{bottom:50px}@media screen and (max-width: 960px){#to-the-top-trigger[_ngcontent-%COMP%]{right:10px;transform:scale(.75)}#to-the-top-trigger.show[_ngcontent-%COMP%]{bottom:20px}}']});let r=e;return r})(),cO=(()=>{let e=class e{constructor(){this.dialogRef=O(fo),this.objectTypeService=O(qs),this.data=O(tc),this.publisherService=O(Zs),this.applications=[],this.showMoreApplications=!1,this.artTypes=[],this.showMoreArtTypes=!1,this.dynasties=[],this.showMoreDynasties=!1,this.manuscriptLanguages=[],this.showMoreManuscriptLanguages=!1,this.materials=[],this.showMoreTopics=!1,this.topics=[],this.showMoreMaterials=!1,this.publishers=new En,this.showMorePublishers=!1,this.authors=[],this.filteredAuthors=new xi,this.authorControl=new Yu(""),this.selectedAuthors=[],this.filterSize=6,this.searchControl=new Yu(""),this.searchControl.patchValue(this.data.searchText),this.applications=this.objectTypeService.getValuesOf("Application",this.data.type),this.artTypes=this.objectTypeService.getValuesOf("Art type",this.data.type),this.dynasties=this.objectTypeService.getValuesOf("Dynasty",this.data.type),this.manuscriptLanguages=this.objectTypeService.getValuesOf("Manuscript language",this.data.type),this.materials=this.objectTypeService.getValuesOf("Material",this.data.type),this.topics=this.objectTypeService.getValuesOf("Topic",this.data.type),this.authors=this.objectTypeService.getValuesOf("Author",this.data.type),this.publisherService.list(this.publishers).subscribe(t=>{this.publishers.list=this.publishers.list.filter(i=>i.meta.objectTypes[this.data.type.id])}),[...this.artTypes,...this.dynasties,...this.applications,...this.manuscriptLanguages,...this.materials,...this.topics,...this.authors,...this.publishers.list].forEach(t=>t.meta._selected=t.meta.selected),this.selectedAuthors=this.authors.filter(t=>t.meta._selected),this.filteredAuthors=this.authorControl.valueChanges.pipe(Fi(""),te(t=>{if(t=t.trim(),!t)return[];let i=[],o=[];for(let s of this.authors)if(s.fa.startsWith(t)){if(i.push(s),i.length==this.filterSize)return i}else s.fa.includes(t)&&o.push(s);return i.length<this.filterSize&&(i=[...i,...o.slice(0,this.filterSize-i.length)]),i}))}selectAuthor(t){this.authorControl.patchValue(""),this.authorControl.reset(),t.meta._selected=!0,this.selectedAuthors=this.authors.filter(i=>i.meta._selected)}deselectAuthor(t){t.meta._selected=!1,this.selectedAuthors=this.authors.filter(i=>i.meta._selected)}clear(){this.searchControl.patchValue(""),this.searchControl.reset(),this.selectedAuthors.length=0,[...this.artTypes,...this.dynasties,...this.applications,...this.manuscriptLanguages,...this.materials,...this.topics,...this.authors,...this.publishers.list].forEach(t=>t.meta._selected=!1)}save(){[...this.artTypes,...this.dynasties,...this.applications,...this.manuscriptLanguages,...this.materials,...this.topics,...this.authors,...this.publishers.list].forEach(t=>t.meta.selected=!!t.meta._selected),this.dialogRef.close({apply:!0,searchText:this.searchControl.value})}close(){this.dialogRef.close({apply:!1})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Ae({type:e,selectors:[["search-dialog"]],standalone:!0,features:[Te],decls:40,vars:8,consts:[["authorsAuto","matAutocomplete"],[1,"header-action-wrapper"],[1,"sn-button","type-1","xg","close",3,"click"],[1,"dialog-content"],[1,"inner-wrapper"],[1,"form-label"],[1,"full-width","padded"],["type","text","matInput","",3,"keyup.enter","formControl"],["mat-icon-button","","matSuffix","",3,"click"],[1,"spacer-48"],[1,"predefined-values"],[1,"predefined-value",3,"selected"],[1,"add-more","like-link"],[1,"separator"],[1,"actions"],[1,"side","right"],["mat-button","",1,"dark",3,"click"],[1,"gap"],[1,"side","left"],["mat-button","",1,"accent",3,"click"],[1,"predefined-value",3,"click"],[1,"plus"],[1,"add-more","like-link",3,"click"],[1,"full-width"],["type","text","matInput","",3,"formControl","matAutocomplete"],["autoActiveFirstOption","",3,"optionSelected"],[3,"value"]],template:function(i,o){i&1&&(d(0,"div",1)(1,"div",2),V("click",function(){return o.close()}),p()(),d(2,"div",3)(3,"div",4)(4,"p",5),h(5,"\u062C\u0633\u062A\u062C\u0648\u06CC \u0645\u062A\u0646\u06CC"),p(),d(6,"mat-form-field",6)(7,"mat-label"),h(8,"\u0628\u0627 \u0648\u0627\u0698\u0647\u200C\u0647\u0627\u06CC \u0627\u0646\u06AF\u0644\u06CC\u0633\u06CC \u062C\u0633\u062A\u062C\u0648 \u06A9\u0646\u06CC\u062F"),p(),d(9,"input",7),V("keyup.enter",function(){return o.save()}),p(),d(10,"button",8),V("click",function(){return o.save()}),d(11,"mat-icon"),h(12,"search"),p()()(),v(13,"div",9),re(14,jT,16,4)(15,qT,31,8),d(16,"p",5),h(17,"\u0647\u0645\u200C\u0632\u0645\u0627\u0646 \u0628\u0627"),p(),d(18,"div",10),_e(19,QT,4,3,"div",11,bi),re(21,KT,2,0,"span",12)(22,eO,4,0,"span",12),p(),v(23,"div",13),re(24,oO,8,2),d(25,"p",5),h(26,"\u0645\u0646\u0628\u0639"),p(),d(27,"div",10),_e(28,sO,4,3,"div",11,bi),re(30,aO,2,0,"span",12)(31,uO,4,0,"span",12),p()()(),d(32,"div",14)(33,"div",15)(34,"button",16),V("click",function(){return o.save()}),h(35,"\u0627\u0639\u0645\u0627\u0644 \u0641\u06CC\u0644\u062A\u0631"),p()(),v(36,"div",17),d(37,"div",18)(38,"button",19),V("click",function(){return o.clear()}),h(39,"\u062D\u0630\u0641 \u0647\u0645\u0647"),p()()()),i&2&&(w(9),ue("formControl",o.searchControl),w(5),Z(o.data.type.internationalName=="Object"?14:-1),w(),Z(o.data.type.internationalName=="Book"?15:-1),w(4),ve(o.dynasties.slice(0,8)),w(2),Z(!o.showMoreDynasties&&o.dynasties.length>8?21:-1),w(),Z(o.showMoreDynasties?22:-1),w(2),Z(o.data.type.internationalName=="Object"?24:-1),w(4),ve(o.publishers.list.slice(0,8)),w(2),Z(!o.showMorePublishers&&o.publishers.list.length>8?30:-1),w(),Z(o.showMorePublishers?31:-1))},dependencies:[ty,ey,pf,Eh,HC,Ys,ly,ay,el,$b,Yb,hy,cy,Us,_f,qm,ph,Gm,Qm,Zm,Lg],styles:['.dialog-content[_ngcontent-%COMP%]{display:block;max-height:calc(65vh - 73px);width:min(80vw,745px);background-color:#fff;box-sizing:border-box;overflow:auto}@media screen and (max-width: 960px){.dialog-content[_ngcontent-%COMP%]{max-height:calc(100svh - 153px);width:100vw}}.dialog-content[_ngcontent-%COMP%] > .inner-wrapper[_ngcontent-%COMP%]{padding:48px}@media screen and (max-width: 960px){.dialog-content[_ngcontent-%COMP%] > .inner-wrapper[_ngcontent-%COMP%]{padding:40px 20px}}.header-action-wrapper[_ngcontent-%COMP%]{height:80px;text-align:center}@media screen and (max-width: 960px){.header-action-wrapper[_ngcontent-%COMP%]{background-color:#00000080}}.header-action-wrapper[_ngcontent-%COMP%]   .sn-button[_ngcontent-%COMP%]{margin-top:10px}p[_ngcontent-%COMP%]{margin:0;padding-bottom:15px}.separator[_ngcontent-%COMP%]{margin:48px 0;border-bottom:1px solid var(--color-neutral-surface-2)}.add-more[_ngcontent-%COMP%]{margin-right:20px}mat-form-field[_ngcontent-%COMP%]   .padded[_ngcontent-%COMP%]{margin-bottom:28px}.predefined-value[_ngcontent-%COMP%]{display:inline-block;margin:0 0 8px 8px;padding:8px 16px 8px 12px;border:1px solid var(--color-neutral-surface-10);cursor:pointer;transition:color .2s,background-color .2s}.predefined-value[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:14px;font-weight:300;line-height:16px;cursor:pointer}.predefined-value[_ngcontent-%COMP%]   .plus[_ngcontent-%COMP%]{position:relative;display:inline-block;width:16px;height:16px;margin-right:8px;vertical-align:-4px;transition:transform .2s}.predefined-value[_ngcontent-%COMP%]   .plus[_ngcontent-%COMP%]:before{content:" ";display:block;position:absolute;inset:0;background-image:url(/assets/components/icon-plus-b.png);opacity:1;transition:opacity .2s}.predefined-value[_ngcontent-%COMP%]   .plus[_ngcontent-%COMP%]:after{content:" ";display:block;position:absolute;inset:0;background-image:url(/assets/components/icon-plus-w.png);opacity:0;transition:opacity .2s}.predefined-value.selected[_ngcontent-%COMP%]{color:#fff;background-color:var(--color-neutral-surface-10)}.predefined-value.selected[_ngcontent-%COMP%]   .plus[_ngcontent-%COMP%]{transform:rotate(45deg)}.predefined-value.selected[_ngcontent-%COMP%]   .plus[_ngcontent-%COMP%]:before{opacity:0}.predefined-value.selected[_ngcontent-%COMP%]   .plus[_ngcontent-%COMP%]:after{opacity:1}.actions[_ngcontent-%COMP%]{display:flex;padding:16px 48px;border-top:1px solid var(--color-neutral-surface-2);background-color:#fff}.actions[_ngcontent-%COMP%]   .gap[_ngcontent-%COMP%]{flex:1}']});let r=e;return r})();var dO=["tooltip"],Hy=20;var $y=new q("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let r=O(Zt);return()=>r.scrollStrategies.reposition({scrollThrottle:Hy})}});function hO(r){return()=>r.scrollStrategies.reposition({scrollThrottle:Hy})}var pO={provide:$y,deps:[Zt],useFactory:hO};function mO(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var fO=new q("mat-tooltip-default-options",{providedIn:"root",factory:mO});var Uy="tooltip-panel",Wy=ln({passive:!0}),gO=8,_O=8,vO=24,bO=200,Gy=(()=>{let e=class e{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=Nr(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Nr(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=Yo(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=Yo(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,i,o,s,a,l,u,c,m,g,_,C){this._overlay=t,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=a,this._platform=l,this._ariaDescriber=u,this._focusMonitor=c,this._dir=g,this._defaultOptions=_,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=CO,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new K,this._injector=O(St),this._scrollStrategy=m,this._document=C,_&&(this._showDelay=_.showDelay,this._hideDelay=_.hideDelay,_.position&&(this.position=_.position),_.positionAtOrigin&&(this.positionAtOrigin=_.positionAtOrigin),_.touchGestures&&(this.touchGestures=_.touchGestures)),g.change.pipe(qe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=gO}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(qe(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{t.removeEventListener(i,o,Wy)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(i);this._detach(),this._portal=this._portal||new Jo(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(qe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(t)}hide(t=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&s._origin instanceof de)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(qe(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${Uy}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(qe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(qe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(qe(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!Mi(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let i=t.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();i.withPositions([this._addOffset(z(z({},o.main),s.main)),this._addOffset(z(z({},o.fallback),s.fallback))])}_addOffset(t){let i=_O,o=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-i:t.originY==="bottom"?t.offsetY=i:t.originX==="start"?t.offsetX=o?-i:i:t.originX==="end"&&(t.offsetX=o?i:-i),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"||i=="below"?o={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&t||i=="right"&&!t?o={originX:"start",originY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(o={originX:"end",originY:"center"});let{x:s,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:a}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"?o={overlayX:"center",overlayY:"bottom"}:i=="below"?o={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&t||i=="right"&&!t?o={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(o={overlayX:"start",overlayY:"center"});let{x:s,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),fn(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){let{overlayY:i,originX:o,originY:s}=t,a;if(i==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=i==="bottom"&&s==="top"?"above":"below",a!==this._currentPosition){let l=this._overlayRef;if(l){let u=`${this._cssClassPrefix}-${Uy}-`;l.removePanelClass(u+this._currentPosition),l.addPanelClass(u+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let i;t.x!==void 0&&t.y!==void 0&&(i=t),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{let i=t.targetTouches?.[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let s=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),this._defaultOptions.touchLongPressShowDelay??s)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{let o=i.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,Wy)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(t.clientX,t.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let i=this._elementRef.nativeElement,o=i.style;(t==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(t==="on"||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};e.\u0275fac=function(i){return new(i||e)(S(Zt),S(de),S(ol),S(Dn),S(ie),S(He),S(Sb),S(Za),S($y),S(Wi),S(fO,8),S(ae))},e.\u0275dir=ye({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,o){i&2&&Q("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let r=e;return r})(),CO=(()=>{let e=class e{constructor(t,i,o){this._changeDetectorRef=t,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new K,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>vO&&t.width>=bO}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let i=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(i.classList.remove(t?s:o),i.classList.add(t?o:s),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(i);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}};e.\u0275fac=function(i){return new(i||e)(S(Dt),S(de),S(pi,8))},e.\u0275cmp=Ae({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(i,o){if(i&1&&yt(dO,7),i&2){let s;Ue(s=We())&&(o._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,o){i&1&&V("mouseleave",function(a){return o._handleMouseLeave(a)}),i&2&&Ze("zoom",o.isVisible()?1:null)},standalone:!0,features:[Te],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,o){if(i&1){let s=se();d(0,"div",1,0),V("animationend",function(l){return Y(s),X(o._handleAnimationEnd(l))}),d(2,"div",2),h(3),p()()}i&2&&(Q("mdc-tooltip--multiline",o._isMultiline),ue("ngClass",o.tooltipClass),w(3),le(o.message))},dependencies:[Ec],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color);color:var(--mdc-plain-tooltip-supporting-text-color);border-radius:var(--mdc-plain-tooltip-container-shape);font-family:var(--mdc-plain-tooltip-supporting-text-font);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let r=e;return r})();var Yy=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=he({providers:[pO],imports:[Qd,ar,is,mt,mt,Ko]});let r=e;return r})();var wO=["class","page page-artwork"],Fh=(r,e)=>e.infoUrl,Bn=(r,e)=>e.id,zn=r=>({values:r});function xO(r,e){r&1&&v(0,"mat-progress-bar",3)}function EO(r,e){r&1&&(d(0,"div",4),h(1,"\u062F\u0631 \u062D\u0627\u0644 \u062D\u0627\u0636\u0631 \u062A\u0635\u0648\u06CC\u0631 \u0627\u06CC\u0646 \u0627\u062B\u0631 \u062F\u0631 \u062F\u0633\u062A\u0631\u0633 \u0646\u06CC\u0633\u062A!"),p())}function SO(r,e){if(r&1){let n=se();d(0,"div",28),V("click",function(){let i=Y(n).$index,o=N(2);return X(o.gotoPage(i))}),d(1,"img",29),V("load",function(){Y(n);let i=N(2);return X(i.arrangeThumbnails())}),p()()}if(r&2){let n=e.$implicit,t=e.$index,i=N(2);Q("viewing",i.viewingPage==t),w(),ue("src",n.thumbUrl,mn)}}function AO(r,e){if(r&1){let n=se();d(0,"div",28),V("click",function(){let i=Y(n).$index,o=N(2);return X(o.gotoPage(i))}),d(1,"img",29),V("load",function(){Y(n);let i=N(2);return X(i.arrangeThumbnails())}),p()()}if(r&2){let n=e.$implicit,t=e.$index,i=N(2);Q("viewing",i.viewingPage==t),w(),ue("src",n.thumbUrl,mn)}}function TO(r,e){if(r&1&&(d(0,"div",23)(1,"div",30)(2,"div",31),h(3),p(),d(4,"div",32),h(5),p()(),d(6,"div",33)(7,"a",34),v(8,"img",35),p()()()),r&2){let n=N(2);w(3),le(n.artwork.publisher.localName),w(2),le(n.artwork.publisher.internationalName),w(2),ue("href",n.artwork.publisher.url,mn),w(),ue("src",n.artwork.publisher.coverUrl,mn)}}function OO(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u0627\u0628\u0639\u0627\u062F:"),p(),d(3,"div",38),h(4),p()()),r&2){let n=N(3);w(4),In(" ",n.artwork.propertiesRev.dimensions.fa||n.artwork.propertiesRev.dimensions.en," ")}}function MO(r,e){r&1&&(d(0,"span"),h(1,"\u060C "),p())}function DO(r,e){if(r&1&&(d(0,"a",39),h(1),p(),re(2,MO,2,0,"span")),r&2){let n=e.$implicit,t=e.$index,i=e.$count,o=N(4);Gt("routerLink","/archive/",o.artwork.type==null?null:o.artwork.type.slug,""),ue("queryParams",_n(5,zn,n.id)),w(),le(n.displayFa||n.fa||n.en||""),w(),Z(t!==i-1?2:-1)}}function IO(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u067E\u062F\u06CC\u062F\u0622\u0648\u0631\u0646\u062F\u0647:"),p(),d(3,"div",38),_e(4,DO,3,7,null,null,Bn),p()()),r&2){let n=N(3);w(4),ve(n.artwork.propertiesRev.author)}}function kO(r,e){r&1&&(d(0,"span"),h(1,"\u060C "),p())}function PO(r,e){if(r&1&&(d(0,"a",39),h(1),p(),re(2,kO,2,0,"span")),r&2){let n=e.$implicit,t=e.$index,i=e.$count,o=N(4);Gt("routerLink","/archive/",o.artwork.type==null?null:o.artwork.type.slug,""),ue("queryParams",_n(5,zn,n.id)),w(),le(n.displayFa||n.fa||n.en||""),w(),Z(t!==i-1?2:-1)}}function RO(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u062A\u0632\u06CC\u06CC\u0646\u200C\u06AF\u0631:"),p(),d(3,"div",38),_e(4,PO,3,7,null,null,Bn),p()()),r&2){let n=N(3);w(4),ve(n.artwork.propertiesRev.illuminator)}}function FO(r,e){r&1&&(d(0,"span"),h(1,"\u060C "),p())}function NO(r,e){if(r&1&&(d(0,"a",39),h(1),p(),re(2,FO,2,0,"span")),r&2){let n=e.$implicit,t=e.$index,i=e.$count,o=N(4);Gt("routerLink","/archive/",o.artwork.type==null?null:o.artwork.type.slug,""),ue("queryParams",_n(5,zn,n.id)),w(),le(n.displayFa||n.fa||n.en||""),w(),Z(t!==i-1?2:-1)}}function LO(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u062A\u0635\u0648\u06CC\u0631\u06AF\u0631:"),p(),d(3,"div",38),_e(4,NO,3,7,null,null,Bn),p()()),r&2){let n=N(3);w(4),ve(n.artwork.propertiesRev.illustrator)}}function VO(r,e){r&1&&(d(0,"span"),h(1,"\u060C "),p())}function jO(r,e){if(r&1&&(d(0,"a",39),h(1),p(),re(2,VO,2,0,"span")),r&2){let n=e.$implicit,t=e.$index,i=e.$count,o=N(4);Gt("routerLink","/archive/",o.artwork.type==null?null:o.artwork.type.slug,""),ue("queryParams",_n(5,zn,n.id)),w(),le(n.displayFa||n.fa||n.en||""),w(),Z(t!==i-1?2:-1)}}function BO(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u06A9\u0627\u0631\u0628\u0631\u062F:"),p(),d(3,"div",38),_e(4,jO,3,7,null,null,Bn),p()()),r&2){let n=N(3);w(4),ve(n.artwork.propertiesRev.application)}}function zO(r,e){r&1&&(d(0,"span"),h(1,"\u060C "),p())}function UO(r,e){if(r&1&&(d(0,"a",39),h(1),p(),re(2,zO,2,0,"span")),r&2){let n=e.$implicit,t=e.$index,i=e.$count,o=N(4);Gt("routerLink","/archive/",o.artwork.type==null?null:o.artwork.type.slug,""),ue("queryParams",_n(5,zn,n.id)),w(),le(n.displayFa||n.fa||n.en||""),w(),Z(t!==i-1?2:-1)}}function WO(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u0631\u0634\u062A\u0647\u0654 \u0647\u0646\u0631\u06CC:"),p(),d(3,"div",38),_e(4,UO,3,7,null,null,Bn),p()()),r&2){let n=N(3);w(4),ve(n.artwork.propertiesRev.artType)}}function HO(r,e){r&1&&(d(0,"span"),h(1,"\u060C "),p())}function $O(r,e){if(r&1&&(d(0,"a",39),h(1),p(),re(2,HO,2,0,"span")),r&2){let n=e.$implicit,t=e.$index,i=e.$count,o=N(4);Gt("routerLink","/archive/",o.artwork.type==null?null:o.artwork.type.slug,""),ue("queryParams",_n(5,zn,n.id)),w(),le(n.displayFa||n.fa||n.en||""),w(),Z(t!==i-1?2:-1)}}function GO(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u0647\u0645\u200C\u0632\u0645\u0627\u0646 \u0628\u0627:"),p(),d(3,"div",38),_e(4,$O,3,7,null,null,Bn),p()()),r&2){let n=N(3);w(4),ve(n.artwork.propertiesRev.dynasty)}}function YO(r,e){r&1&&(d(0,"span"),h(1,"\u060C "),p())}function XO(r,e){if(r&1&&(d(0,"a",39),h(1),p(),re(2,YO,2,0,"span")),r&2){let n=e.$implicit,t=e.$index,i=e.$count,o=N(4);Gt("routerLink","/archive/",o.artwork.type==null?null:o.artwork.type.slug,""),ue("queryParams",_n(5,zn,n.id)),w(),le(n.displayFa||n.fa||n.en||""),w(),Z(t!==i-1?2:-1)}}function ZO(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u0632\u0628\u0627\u0646 \u0646\u0633\u062E\u0647:"),p(),d(3,"div",38),_e(4,XO,3,7,null,null,Bn),p()()),r&2){let n=N(3);w(4),ve(n.artwork.propertiesRev.manLang)}}function qO(r,e){r&1&&(d(0,"span"),h(1,"\u060C "),p())}function QO(r,e){if(r&1&&(d(0,"a",39),h(1),p(),re(2,qO,2,0,"span")),r&2){let n=e.$implicit,t=e.$index,i=e.$count,o=N(4);Gt("routerLink","/archive/",o.artwork.type==null?null:o.artwork.type.slug,""),ue("queryParams",_n(5,zn,n.id)),w(),le(n.displayFa||n.fa||n.en||""),w(),Z(t!==i-1?2:-1)}}function KO(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u062E\u0637 \u0646\u0633\u062E\u0647:"),p(),d(3,"div",38),_e(4,QO,3,7,null,null,Bn),p()()),r&2){let n=N(3);w(4),ve(n.artwork.propertiesRev.font)}}function JO(r,e){r&1&&(d(0,"span"),h(1,"\u060C "),p())}function eM(r,e){if(r&1&&(d(0,"a",39),h(1),p(),re(2,JO,2,0,"span")),r&2){let n=e.$implicit,t=e.$index,i=e.$count,o=N(4);Gt("routerLink","/archive/",o.artwork.type==null?null:o.artwork.type.slug,""),ue("queryParams",_n(5,zn,n.id)),w(),le(n.displayFa||n.fa||n.en||""),w(),Z(t!==i-1?2:-1)}}function tM(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u0645\u0627\u062F\u0647\u0654 \u0633\u0627\u0632\u0646\u062F\u0647:"),p(),d(3,"div",38),_e(4,eM,3,7,null,null,Bn),p()()),r&2){let n=N(3);w(4),ve(n.artwork.propertiesRev.material)}}function iM(r,e){r&1&&(d(0,"span"),h(1,"\u060C "),p())}function nM(r,e){if(r&1&&(d(0,"a",39),h(1),p(),re(2,iM,2,0,"span")),r&2){let n=e.$implicit,t=e.$index,i=e.$count,o=N(4);Gt("routerLink","/archive/",o.artwork.type==null?null:o.artwork.type.slug,""),ue("queryParams",_n(5,zn,n.id)),w(),le(n.displayFa||n.fa||n.en||""),w(),Z(t!==i-1?2:-1)}}function rM(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u062A\u06A9\u0646\u06CC\u06A9 \u0633\u0627\u062E\u062A:"),p(),d(3,"div",38),_e(4,nM,3,7,null,null,Bn),p()()),r&2){let n=N(3);w(4),ve(n.artwork.propertiesRev.technique)}}function oM(r,e){r&1&&(d(0,"span"),h(1,"\u060C "),p())}function sM(r,e){if(r&1&&(d(0,"a",39),h(1),p(),re(2,oM,2,0,"span")),r&2){let n=e.$implicit,t=e.$index,i=e.$count,o=N(4);Gt("routerLink","/archive/",o.artwork.type==null?null:o.artwork.type.slug,""),ue("queryParams",_n(5,zn,n.id)),w(),le(n.displayFa||n.fa||n.en||""),w(),Z(t!==i-1?2:-1)}}function aM(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u0645\u0648\u0636\u0648\u0639 \u0627\u062B\u0631:"),p(),d(3,"div",38),_e(4,sM,3,7,null,null,Bn),p()()),r&2){let n=N(3);w(4),ve(n.artwork.propertiesRev.topic)}}function lM(r,e){r&1&&(d(0,"span"),h(1,"\u060C "),p())}function uM(r,e){if(r&1&&(d(0,"a",39),h(1),p(),re(2,lM,2,0,"span")),r&2){let n=e.$implicit,t=e.$index,i=e.$count,o=N(4);Gt("routerLink","/archive/",o.artwork.type==null?null:o.artwork.type.slug,""),ue("queryParams",_n(5,zn,n.id)),w(),le(n.displayFa||n.fa||n.en||""),w(),Z(t!==i-1?2:-1)}}function cM(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u062E\u0648\u0634\u0646\u0648\u06CC\u0633 / \u06A9\u0627\u062A\u0628:"),p(),d(3,"div",38),_e(4,uM,3,7,null,null,Bn),p()()),r&2){let n=N(3);w(4),ve(n.artwork.propertiesRev.scribe)}}function dM(r,e){r&1&&(d(0,"span"),h(1,"\u060C "),p())}function hM(r,e){if(r&1&&(d(0,"a",39),h(1),p(),re(2,dM,2,0,"span")),r&2){let n=e.$implicit,t=e.$index,i=e.$count,o=N(4);Gt("routerLink","/archive/",o.artwork.type==null?null:o.artwork.type.slug,""),ue("queryParams",_n(5,zn,n.id)),w(),le(n.displayFa||n.fa||n.en||""),w(),Z(t!==i-1?2:-1)}}function pM(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u0645\u062D\u0644 \u0633\u0627\u062E\u062A:"),p(),d(3,"div",38),_e(4,hM,3,7,null,null,Bn),p()()),r&2){let n=N(3);w(4),ve(n.artwork.propertiesRev.place)}}function mM(r,e){if(r&1&&(d(0,"div",36)(1,"h3",37),h(2,"\u062A\u0648\u0636\u06CC\u062D\u0627\u062A:"),p(),d(3,"div",38),h(4),p()()),r&2){let n=N(3);w(4),In(" ",n.artwork.propertiesRev.description.fa||n.artwork.propertiesRev.description.en," ")}}function fM(r,e){if(r&1&&(d(0,"div",19),v(1,"div",20),d(2,"div",21)(3,"h2",22),h(4,"\u0645\u0634\u062E\u0635\u0627\u062A \u0627\u062B\u0631"),p(),re(5,OO,5,1,"div",36)(6,IO,6,0,"div",36)(7,RO,6,0,"div",36)(8,LO,6,0,"div",36)(9,BO,6,0,"div",36)(10,WO,6,0,"div",36)(11,GO,6,0,"div",36)(12,ZO,6,0,"div",36)(13,KO,6,0,"div",36)(14,tM,6,0,"div",36)(15,rM,6,0,"div",36)(16,aM,6,0,"div",36)(17,cM,6,0,"div",36)(18,pM,6,0,"div",36)(19,mM,5,1,"div",36),p(),v(20,"div",20)(21,"div",20),p(),d(22,"div",19),v(23,"div",20),d(24,"div",24),v(25,"hr",25),p(),v(26,"div",20),p()),r&2){let n=N(2);w(5),Z(n.artwork.propertiesRev.dimensions.fa||n.artwork.propertiesRev.dimensions.en?5:-1),w(),Z(n.artwork.propertiesRev.author.length?6:-1),w(),Z(n.artwork.propertiesRev.illuminator.length?7:-1),w(),Z(n.artwork.propertiesRev.illustrator.length?8:-1),w(),Z(n.artwork.propertiesRev.application.length?9:-1),w(),Z(n.artwork.propertiesRev.artType.length?10:-1),w(),Z(n.artwork.propertiesRev.dynasty.length?11:-1),w(),Z(n.artwork.propertiesRev.manLang.length?12:-1),w(),Z(n.artwork.propertiesRev.font.length?13:-1),w(),Z(n.artwork.propertiesRev.material.length?14:-1),w(),Z(n.artwork.propertiesRev.technique.length?15:-1),w(),Z(n.artwork.propertiesRev.topic.length?16:-1),w(),Z(n.artwork.propertiesRev.scribe.length?17:-1),w(),Z(n.artwork.propertiesRev.place.length?18:-1),w(),Z(n.artwork.propertiesRev.description.fa||n.artwork.propertiesRev.description.en?19:-1)}}function gM(r,e){if(r&1&&v(0,"div",42),r&2){let n=N().$implicit;ue("innerHTML",n.value,mc)}}function _M(r,e){if(r&1&&(d(0,"div",43),h(1),p()),r&2){let n=N().$implicit;w(),le(n.value)}}function vM(r,e){if(r&1&&re(0,gM,1,1,"div",42)(1,_M,2,1,"div",43),r&2){let n=e.$implicit;Z(n.html?0:1)}}function bM(r,e){if(r&1&&(d(0,"div",27)(1,"div",40),h(2),p(),d(3,"div",41),_e(4,vM,2,1,null,null,fg),p()()),r&2){let n=e.$implicit;ue("matTooltip",n.label.length>20?n.label:""),w(2),le(n.label),w(2),ve(n.values)}}function CM(r,e){if(r&1){let n=se();d(0,"div",1)(1,"div",2),V("click",function(){Y(n);let i=N();return X(i.fullView())}),p(),re(2,xO,1,0,"mat-progress-bar",3)(3,EO,2,0,"div",4),d(4,"div",5)(5,"div",6)(6,"div",7,0),_e(8,SO,2,3,"div",8,Fh),p()()(),d(10,"div",9)(11,"div",6)(12,"div",10,0),_e(14,AO,2,3,"div",8,Fh),p()()(),d(16,"div",11)(17,"div",12),V("click",function(){Y(n);let i=N();return X(i.gotoPage(i.viewingPage-1))}),p(),d(18,"div",13),V("click",function(){Y(n);let i=N();return X(i.gotoPage(i.viewingPage+1))}),p()(),d(19,"div",14)(20,"div",15),V("click",function(){Y(n);let i=N();return X(i.download())}),v(21,"div",16),p(),d(22,"div",15),V("click",function(){Y(n);let i=N();return X(i.fullView())}),v(23,"div",17),p()()(),d(24,"div",18)(25,"div",19),v(26,"div",20),d(27,"div",21)(28,"h1",22),h(29),p()(),d(30,"div",20),re(31,TO,9,4,"div",23),p(),v(32,"div",20),p(),d(33,"div",19),v(34,"div",20),d(35,"div",24),v(36,"hr",25),p(),v(37,"div",20),p(),re(38,fM,27,15),d(39,"div",19),v(40,"div",20),d(41,"div",24)(42,"h2",22),h(43),p(),d(44,"div",26),_e(45,bM,6,2,"div",27,bc),p()(),v(47,"div",20),p()()}if(r&2){let n=xr(7),t=N();w(2),Z(t.artwork.meta.busyCanvas?2:-1),w(),Z(t.artwork.meta.errorCanvas?3:-1),w(2),Ze("height",t.dragMaskLength,"px")("top",t.dragMaskOffset,"px"),w(),Ze("top",t.dragOffset,"px"),Q("dragging",n._dragRef.isDragging()),w(2),ve(t.artwork.pages),w(3),Ze("width",t.dragMaskLength,"px")("right",t.dragMaskOffset,"px"),w(),Ze("right",t.dragOffset,"px"),Q("dragging",n._dragRef.isDragging()),w(2),ve(t.artwork.pages),w(3),Q("disabled",t.viewingPage==0),w(),Q("disabled",t.viewingPage==t.artwork.pages.length-1),w(10),Q("lat",t.artwork.preferredTitleIsEn),w(),le(t.artwork.preferredTitle),w(2),Z(t.artwork.publisher?31:-1),w(7),Z(t.artwork.hasVisbleProperties?38:-1),w(5),In("\u0645\u0634\u062E\u0635\u0627\u062A \u0627\u062B\u0631 \u062F\u0631 ",t.artwork.publisher==null?null:t.artwork.publisher.localName,""),w(2),ve(t.artwork.meta.publishersMetadata)}}function yM(r,e){if(r&1){let n=se();d(0,"div",19),V("click",function(){let i=Y(n).$index,o=N();return X(o.gotoPage(i))}),d(1,"img",20),V("load",function(){Y(n);let i=N();return X(i.arrangeThumbnails())}),p()()}if(r&2){let n=e.$implicit,t=e.$index,i=N();Q("viewing",i.data.viewingPage==t),w(),ue("src",n.thumbUrl,mn)}}function wM(r,e){if(r&1){let n=se();d(0,"div",19),V("click",function(){let i=Y(n).$index,o=N();return X(o.gotoPage(i))}),d(1,"img",20),V("load",function(){Y(n);let i=N();return X(i.arrangeThumbnails())}),p()()}if(r&2){let n=e.$implicit,t=e.$index,i=N();Q("viewing",i.data.viewingPage==t),w(),ue("src",n.thumbUrl,mn)}}var Xy=(()=>{let e=class e{constructor(){this.ngZone=O(ie),this.platformId=O(ai),this.route=O(vn),this.router=O(Qi),this.dialog=O(ic),this.cultureService=O(jn),this.publisherService=O(Zs),this.objectTypeService=O(qs),this.artworkService=O(Rh),this.cultures=new En,this.publishers=new En,this.objectTypes=new En,this.viewingPage=0,this.dragMaskLength=0,this.dragMaskOffset=0,this.dragOffset=0}ngOnInit(){xo(this.cultureService.list(this.cultures),this.publisherService.list(this.publishers),this.objectTypeService.list(this.objectTypes).pipe(lt(t=>t?this.objectTypeService.listPropertiesOf(this.objectTypes.list):G(!1)))).pipe(uc()).subscribe(([t,i])=>{this.route.params.subscribe(o=>{typeof window<"u"&&window.scrollTo(0,0),this.artwork=new Go({id:o.id}),this.artwork.meta.busyCanvas=!0,this.artworkService.load(this.artwork).subscribe(s=>{s&&(this.artwork?.publisher&&(this.artwork.publisher=this.publishers.list.find(a=>a.id==this.artwork.publisher?.id)||this.artwork.publisher),Hn(this.platformId)&&this.initOpenSeadragon())})})})}initOpenSeadragon(){this.artwork.pages.length&&(OpenSeadragon.setString("Tooltips.Home",""),OpenSeadragon.setString("Tooltips.ZoomOut",""),OpenSeadragon.setString("Tooltips.ZoomIn",""),OpenSeadragon.setString("Tooltips.FullPage",""),OpenSeadragon.setString("Tooltips.NextPage",""),OpenSeadragon.setString("Tooltips.PreviousPage",""),this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.viewer=OpenSeadragon({id:"openseadragon",sequenceMode:!0,zoomInButton:"zoom-in",zoomOutButton:"zoom-out",homeButton:"zoom-home",fullPageButton:"full-page",nextButton:"next-page",previousButton:"prev-page",tileSources:this.artwork.pages.map(t=>t.infoUrl)}),this.viewer.setControlsEnabled(!1),this.viewer.setMouseNavEnabled(!1),this.viewer.addHandler("open",t=>{}),this.viewer.addHandler("open-failed",t=>{this.artwork.meta.busyCanvas=!1,this.artwork.meta.errorCanvas=!0}),this.viewer.addHandler("tile-loaded",t=>{this.artwork.meta.busyCanvas=!1})},0)}))}gotoPage(t){this.artwork?.pages?.length&&(t<0||t>=this.artwork.pages.length||(this.viewer?.goToPage(t),this.viewingPage=t))}arrangeThumbnails(){if(Hn(this.platformId))if(screen.width<=960){let t=document.querySelector(".showcase .thumbnails-wrapper[mobile] .thumbnails").getBoundingClientRect().width,i=document.querySelector(".showcase").getBoundingClientRect().width;this.dragMaskOffset=-t+i,this.dragMaskLength=Math.max(2*t-i,i),this.dragOffset=Math.max(t-i,0)}else{let t=document.querySelector(".showcase .thumbnails-wrapper[desktop] .thumbnails").getBoundingClientRect().height,i=document.querySelector(".showcase").getBoundingClientRect().height;this.dragMaskOffset=-t+i,this.dragMaskLength=Math.max(2*t-.7*i,t),this.dragOffset=Math.max(t-.7*i,0)}}download(){let t=document.createElement("a");t.target="_blank",t.href=this.artwork?.pages[this.viewingPage].fullSizeUrl,t.download=`${this.artwork.id}-${this.viewingPage+1}`,document.body.appendChild(t),t.click(),document.body.removeChild(t)}fullView(){this.dialog.open(xM,{width:"100%",height:"100%",data:{artwork:this.artwork,viewingPage:this.viewingPage}}).closed.subscribe(i=>{i!==void 0&&this.gotoPage(i)})}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Ae({type:e,selectors:[["page",8,"page","page-artwork"]],standalone:!0,features:[Te],attrs:wO,decls:1,vars:1,consts:[["draggable","cdkDrag"],[1,"showcase"],["id","openseadragon",1,"artwork",3,"click"],["mode","indeterminate"],[1,"artwork","has-error"],["desktop","",1,"thumbnails-wrapper"],[1,"drag-mask"],["cdkDrag","","cdkDragLockAxis","y","cdkDragBoundary",".drag-mask",1,"thumbnails"],[1,"thumbnail",3,"viewing"],["mobile","",1,"thumbnails-wrapper"],["cdkDrag","","cdkDragLockAxis","x","cdkDragBoundary",".drag-mask",1,"thumbnails"],[1,"thumb-actions"],[1,"sn-button","type-1","light","lg","up",3,"click"],[1,"sn-button","type-1","light","lg","down",3,"click"],[1,"artwork-actions"],[1,"sn-button","type-icon",3,"click"],[1,"icon","icon-download"],[1,"icon","icon-full-screen"],[1,"artwork-details"],[1,"row"],[1,"col","col-1"],[1,"col","col-2"],[1,"title"],[1,"publisher-block"],[1,"col","col-3"],[1,"separator"],[1,"original-metadata","lat"],[1,"item",3,"matTooltip"],[1,"thumbnail",3,"click"],[3,"load","src"],[1,"labels"],[1,"label-fa"],[1,"label-en"],[1,"publisher-logo"],["target","_blank",3,"href"],[3,"src"],[1,"property-combo"],[1,"property-name"],[1,"property-values"],[1,"property-value",3,"routerLink","queryParams"],[1,"label"],[1,"values"],[1,"value",3,"innerHTML"],[1,"value"]],template:function(i,o){i&1&&re(0,CM,48,28),i&2&&Z(o.artwork?0:-1)},dependencies:[Or,Tr,Xs,Yy,Gy,ll,al],styles:['.showcase[_ngcontent-%COMP%]{position:relative;height:100vh;background:var(--color-neutral-surface-1)}.showcase[_ngcontent-%COMP%]   .artwork[_ngcontent-%COMP%]{position:absolute;inset:130px 200px 100px;z-index:0}@media screen and (max-width: 960px){.showcase[_ngcontent-%COMP%]   .artwork[_ngcontent-%COMP%]{inset:105px 0 205px}.showcase[_ngcontent-%COMP%]   .artwork[_ngcontent-%COMP%]:before{content:" ";position:absolute;inset:0;z-index:1}}.showcase[_ngcontent-%COMP%]   .artwork.has-error[_ngcontent-%COMP%]{text-align:center;background:var(--color-neutral-surface-1);font-weight:500;padding-top:96px}.showcase[_ngcontent-%COMP%]   .thumbnails-wrapper[_ngcontent-%COMP%]{position:absolute;top:0;right:96px;width:84px;height:100%;overflow:hidden}@media screen and (max-width: 960px){.showcase[_ngcontent-%COMP%]   .thumbnails-wrapper[_ngcontent-%COMP%]{top:initial;bottom:0;right:0;width:100%;height:145px}}.showcase[_ngcontent-%COMP%]   .thumbnails-wrapper[_ngcontent-%COMP%]   .drag-mask[_ngcontent-%COMP%]{position:absolute;inset:0 0 auto}@media screen and (max-width: 960px){.showcase[_ngcontent-%COMP%]   .thumbnails-wrapper[_ngcontent-%COMP%]   .drag-mask[_ngcontent-%COMP%]{height:100%}}.showcase[_ngcontent-%COMP%]   .thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:100%}@media screen and (max-width: 960px){.showcase[_ngcontent-%COMP%]   .thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]{top:10px;width:initial;height:calc(100% - 20px);white-space:nowrap}}.showcase[_ngcontent-%COMP%]   .thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails.dragging[_ngcontent-%COMP%]{pointer-events:none}.showcase[_ngcontent-%COMP%]   .thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]   .thumbnail[_ngcontent-%COMP%]{width:100%;margin-bottom:10px;opacity:.5;filter:grayscale(1);transition:opacity .2s,filter .2s;cursor:pointer}@media screen and (max-width: 960px){.showcase[_ngcontent-%COMP%]   .thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]   .thumbnail[_ngcontent-%COMP%]{display:inline-block;width:fit-content;height:100%;margin:0 10px}}.showcase[_ngcontent-%COMP%]   .thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]   .thumbnail.viewing[_ngcontent-%COMP%]{opacity:1;filter:grayscale(0)}.showcase[_ngcontent-%COMP%]   .thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]   .thumbnail[_ngcontent-%COMP%]:hover{opacity:1}.showcase[_ngcontent-%COMP%]   .thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]   .thumbnail[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;width:100%}@media screen and (max-width: 960px){.showcase[_ngcontent-%COMP%]   .thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]   .thumbnail[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:auto;height:100%;max-width:initial}}.showcase[_ngcontent-%COMP%]   .thumb-actions[_ngcontent-%COMP%]{position:absolute;bottom:48px;right:250px}@media screen and (max-width: 960px){.showcase[_ngcontent-%COMP%]   .thumb-actions[_ngcontent-%COMP%]{bottom:150px;right:initial;left:20px}.showcase[_ngcontent-%COMP%]   .thumb-actions[_ngcontent-%COMP%]   .sn-button[_ngcontent-%COMP%]{transform:rotate(90deg)}}.showcase[_ngcontent-%COMP%]   .artwork-actions[_ngcontent-%COMP%]{position:absolute;bottom:48px;left:250px}@media screen and (max-width: 960px){.showcase[_ngcontent-%COMP%]   .artwork-actions[_ngcontent-%COMP%]{bottom:150px;left:initial;right:20px}}hr.separator[_ngcontent-%COMP%]{margin:48px 0;border:1px solid var(--color-neutral-surface-4);border-style:none none solid none}@media screen and (max-width: 960px){hr.separator[_ngcontent-%COMP%]{margin:20px 0}}.artwork-details[_ngcontent-%COMP%]{padding:96px 0}@media screen and (max-width: 960px){.artwork-details[_ngcontent-%COMP%]{padding:40px 20px}}.artwork-details[_ngcontent-%COMP%]   .publisher-block[_ngcontent-%COMP%]{display:flex;gap:24px}@media screen and (max-width: 960px){.artwork-details[_ngcontent-%COMP%]   .publisher-block[_ngcontent-%COMP%]{margin-top:20px;flex-direction:row-reverse}}.artwork-details[_ngcontent-%COMP%]   .publisher-block[_ngcontent-%COMP%]   .labels[_ngcontent-%COMP%]{flex:1;text-align:left;display:flex;flex-direction:column;justify-content:center}@media screen and (max-width: 960px){.artwork-details[_ngcontent-%COMP%]   .publisher-block[_ngcontent-%COMP%]   .labels[_ngcontent-%COMP%]{text-align:right}}.artwork-details[_ngcontent-%COMP%]   .publisher-block[_ngcontent-%COMP%]   .labels[_ngcontent-%COMP%]   .label-fa[_ngcontent-%COMP%]{font-size:16px;font-weight:500;line-height:24px}.artwork-details[_ngcontent-%COMP%]   .publisher-block[_ngcontent-%COMP%]   .labels[_ngcontent-%COMP%]   .label-en[_ngcontent-%COMP%]{font-size:11px;font-weight:300;line-height:16px;direction:ltr}.artwork-details[_ngcontent-%COMP%]   .publisher-block[_ngcontent-%COMP%]   .publisher-logo[_ngcontent-%COMP%]{width:56px}.artwork-details[_ngcontent-%COMP%]   .property-combo[_ngcontent-%COMP%]{display:flex;margin:24px 0}.artwork-details[_ngcontent-%COMP%]   .property-combo[_ngcontent-%COMP%]   .property-name[_ngcontent-%COMP%]{width:200px}@media screen and (max-width: 960px){.artwork-details[_ngcontent-%COMP%]   .property-combo[_ngcontent-%COMP%]   .property-name[_ngcontent-%COMP%]{width:150px}}.artwork-details[_ngcontent-%COMP%]   .property-combo[_ngcontent-%COMP%]   .property-values[_ngcontent-%COMP%]{flex:1}.artwork-details[_ngcontent-%COMP%]   .original-metadata[_ngcontent-%COMP%]{margin-top:48px;direction:ltr}.artwork-details[_ngcontent-%COMP%]   .original-metadata[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{display:flex;margin-bottom:10px;font-weight:400;font-size:14px}@media screen and (max-width: 960px){.artwork-details[_ngcontent-%COMP%]   .original-metadata[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{display:block;margin-bottom:20px}}.artwork-details[_ngcontent-%COMP%]   .original-metadata[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{width:200px;color:var(--color-neutral-surface-10);overflow:hidden;text-overflow:ellipsis}@media screen and (max-width: 960px){.artwork-details[_ngcontent-%COMP%]   .original-metadata[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{width:auto;padding-bottom:10px}}.artwork-details[_ngcontent-%COMP%]   .original-metadata[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   .values[_ngcontent-%COMP%]{flex:1;color:var(--color-neutral-surface-7)}']});let r=e;return r})(),xM=(()=>{let e=class e{constructor(){this.ngZone=O(ie),this.platformId=O(ai),this.dialogRef=O(fo),this.data=O(tc),this.dragMaskLength=0,this.dragMaskOffset=0,this.dragOffset=0,this.initOpenSeadragon()}initOpenSeadragon(){this.data.artwork.pages.length&&(OpenSeadragon.setString("Tooltips.Home",""),OpenSeadragon.setString("Tooltips.ZoomOut",""),OpenSeadragon.setString("Tooltips.ZoomIn",""),OpenSeadragon.setString("Tooltips.FullPage",""),OpenSeadragon.setString("Tooltips.NextPage",""),OpenSeadragon.setString("Tooltips.PreviousPage",""),this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.viewer=OpenSeadragon({id:"fullscreen-openseadragon",sequenceMode:!0,zoomInButton:"zoom-in",zoomOutButton:"zoom-out",homeButton:"",fullPageButton:"",nextButton:"",previousButton:"",tileSources:this.data.artwork.pages.map(t=>t.infoUrl)}),this.viewer?.goToPage(this.data.viewingPage)},0)}))}gotoPage(t){this.data.artwork?.pages?.length&&(t<0||t>=this.data.artwork.pages.length||(this.viewer?.goToPage(t),this.data.viewingPage=t))}arrangeThumbnails(){if(Hn(this.platformId))if(screen.width<=960){let t=document.querySelector(".showcase .thumbnails-wrapper[mobile] .thumbnails").getBoundingClientRect().width,i=document.querySelector(".showcase").getBoundingClientRect().width;this.dragMaskOffset=-t+i,this.dragMaskLength=Math.max(2*t-i,i),this.dragOffset=Math.max(t-i,0)}else{let t=document.querySelector(".showcase .thumbnails-wrapper[desktop] .thumbnails").getBoundingClientRect().height,i=document.querySelector(".showcase").getBoundingClientRect().height;this.dragMaskOffset=-t+i,this.dragMaskLength=Math.max(2*t-.7*i,t),this.dragOffset=Math.max(t-.7*i,0)}}download(){let t=document.createElement("a");t.target="_blank",t.href=this.data.artwork?.pages[this.data.viewingPage].fullSizeUrl,t.download=`${this.data.artwork.id}-${this.data.viewingPage+1}`,document.body.appendChild(t),t.click(),document.body.removeChild(t)}close(){this.dialogRef.close(this.data.viewingPage)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Ae({type:e,selectors:[["full-view-dialog"]],standalone:!0,features:[Te],decls:24,vars:20,consts:[["draggable","cdkDrag"],["id","fullscreen-openseadragon",1,"artwork"],["desktop","",1,"thumbnails-wrapper"],[1,"drag-mask"],["cdkDrag","","cdkDragLockAxis","y","cdkDragBoundary",".drag-mask",1,"thumbnails"],[1,"thumbnail",3,"viewing"],["mobile","",1,"thumbnails-wrapper"],["cdkDrag","","cdkDragLockAxis","x","cdkDragBoundary",".drag-mask",1,"thumbnails"],[1,"sn-button","type-1","xg","close",3,"click"],[1,"thumb-actions"],[1,"sn-button","type-1","light","lg","up",3,"click"],[1,"sn-button","type-1","light","lg","down",3,"click"],[1,"artwork-actions"],[1,"sn-button","type-icon",3,"click"],[1,"icon","icon-download","light"],["id","zoom-in",1,"sn-button","type-icon"],[1,"icon","icon-zoom-plus","light"],["id","zoom-out",1,"sn-button","type-icon"],[1,"icon","icon-zoom-minus","light"],[1,"thumbnail",3,"click"],[3,"load","src"]],template:function(i,o){if(i&1){let s=se();v(0,"div",1),d(1,"div",2)(2,"div",3)(3,"div",4,0),_e(5,yM,2,3,"div",5,Fh),p()()(),d(7,"div",6)(8,"div",3)(9,"div",7,0),_e(11,wM,2,3,"div",5,Fh),p()()(),d(13,"div",8),V("click",function(){return Y(s),X(o.close())}),p(),d(14,"div",9)(15,"div",10),V("click",function(){return Y(s),X(o.gotoPage(o.data.viewingPage-1))}),p(),d(16,"div",11),V("click",function(){return Y(s),X(o.gotoPage(o.data.viewingPage+1))}),p()(),d(17,"div",12)(18,"div",13),V("click",function(){return Y(s),X(o.download())}),v(19,"div",14),p(),d(20,"div",15),v(21,"div",16),p(),d(22,"div",17),v(23,"div",18),p()()}if(i&2){let s=xr(4);w(2),Ze("height",o.dragMaskLength,"px")("top",o.dragMaskOffset,"px"),w(),Ze("top",o.dragOffset,"px"),Q("dragging",s._dragRef.isDragging()),w(2),ve(o.data.artwork.pages),w(3),Ze("width",o.dragMaskLength,"px")("right",o.dragMaskOffset,"px"),w(),Ze("right",o.dragOffset,"px"),Q("dragging",s._dragRef.isDragging()),w(2),ve(o.data.artwork.pages),w(4),Q("disabled",o.data.viewingPage==0),w(),Q("disabled",o.data.viewingPage==o.data.artwork.pages.length-1)}},dependencies:[Xs],styles:["[_nghost-%COMP%]{position:relative;display:block;width:100%;height:100%;background:var(--color-neutral-surface-10)}.artwork[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:0}.thumbnails-wrapper[_ngcontent-%COMP%]{position:absolute;top:0;right:96px;width:84px;height:100%;overflow:hidden}@media screen and (max-width: 960px){.thumbnails-wrapper[_ngcontent-%COMP%]{top:initial;bottom:0;right:0;width:100%;height:145px}}.thumbnails-wrapper[_ngcontent-%COMP%]   .drag-mask[_ngcontent-%COMP%]{position:absolute;inset:0 0 auto}@media screen and (max-width: 960px){.thumbnails-wrapper[_ngcontent-%COMP%]   .drag-mask[_ngcontent-%COMP%]{height:100%}}.thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:100%}@media screen and (max-width: 960px){.thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]{top:10px;width:initial;height:calc(100% - 20px);white-space:nowrap}}.thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails.dragging[_ngcontent-%COMP%]{pointer-events:none}.thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]   .thumbnail[_ngcontent-%COMP%]{width:100%;margin-bottom:10px;opacity:.5;filter:grayscale(1);transition:opacity .2s,filter .2s;cursor:pointer}@media screen and (max-width: 960px){.thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]   .thumbnail[_ngcontent-%COMP%]{display:inline-block;width:fit-content;height:100%;margin:0 10px}}.thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]   .thumbnail.viewing[_ngcontent-%COMP%]{opacity:1;filter:grayscale(0)}.thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]   .thumbnail[_ngcontent-%COMP%]:hover{opacity:1}.thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]   .thumbnail[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;width:100%}@media screen and (max-width: 960px){.thumbnails-wrapper[_ngcontent-%COMP%]   .thumbnails[_ngcontent-%COMP%]   .thumbnail[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:auto;height:100%;max-width:initial}}.thumb-actions[_ngcontent-%COMP%]{position:absolute;bottom:48px;right:250px}@media screen and (max-width: 960px){.thumb-actions[_ngcontent-%COMP%]{bottom:150px;right:initial;left:20px}.thumb-actions[_ngcontent-%COMP%]   .sn-button[_ngcontent-%COMP%]{transform:rotate(90deg)}}.sn-button.close[_ngcontent-%COMP%]{position:absolute;top:96px;right:105px}@media screen and (max-width: 960px){.sn-button.close[_ngcontent-%COMP%]{top:20px;right:20px}}.artwork-actions[_ngcontent-%COMP%]{position:absolute;bottom:48px;left:250px}@media screen and (max-width: 960px){.artwork-actions[_ngcontent-%COMP%]{bottom:150px;left:initial;right:20px}}"]});let r=e;return r})();var Zy=(()=>{let e=class e{constructor(){this.sanitizer=O(Ml)}transform(t){return this.sanitizer.bypassSecurityTrustHtml((t||"").split(`
`).filter(i=>!!i.trim()).map(i=>`<p>${i.trim()}</p>`).join(`
`))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=dc({name:"paragraphed",type:e,pure:!0,standalone:!0});let r=e;return r})();var EM=["class","page page-collection"],SM=(r,e)=>e.id;function AM(r,e){if(r&1&&(d(0,"div",10)(1,"div",11)(2,"a",12),v(3,"img",13),d(4,"div",14),h(5),p()()(),v(6,"div",15),Xr(7,"paragraphed"),p()),r&2){let n=e.$implicit;w(2),Gt("routerLink","/artwork/",n.id,""),w(),ue("src",n.coverPage==null?null:n.coverPage.showcaseUrl,mn),w(2),In(" ",n.propertiesRev.title.fa||n.propertiesRev.title.en||n.title," "),w(),Q("no-text",!n.description),ue("innerHtml",ra(7,7,n.description),mc)}}function TM(r,e){if(r&1){let n=se();d(0,"div",2),v(1,"div",3),d(2,"div",4)(3,"h1",5),h(4),p(),d(5,"p",6),h(6),p(),d(7,"p",7),h(8),p()(),v(9,"div",3),p(),v(10,"div",1),d(11,"div",8),V("swiperight",function(){Y(n);let i=N();return X(i.nextArtwork())})("swipeleft",function(){Y(n);let i=N();return X(i.prevArtwork())}),d(12,"div",9),_e(13,AM,8,9,"div",10,SM),p()()}if(r&2){let n=N();w(4),le(n.category.localName),w(2),le(n.category.subtitle),w(2),le(n.category.description),w(3),Ze("--index",n.artworkIndex),w(2),ve(n.artworks)}}function OM(r,e){r&1&&(d(0,"div",16),v(1,"div",3),d(2,"div",17)(3,"p"),h(4,"\u0644\u0637\u0641\u0627\u064B \u0635\u0628\u0631 \u06A9\u0646\u06CC\u062F."),p(),v(5,"mat-progress-bar",18),p(),v(6,"div",3),p(),v(7,"div",1))}var qy=(()=>{let e=class e{constructor(){this.platformId=O(ai),this.categoryService=O(Hd),this.route=O(vn),this.artworks=[],this.artworkIndex=0}ngOnInit(){this.route.params.subscribe(t=>{this.categoryService.list().subscribe(i=>{if(this.category=i.find(o=>o.id==t.id),!this.category){this.notFound();return}this.categoryService.loadArtworks(this.category).subscribe(o=>{if(!o.length){this.notFound();return}this.artworks=o,setTimeout(s=>this.initGsap(),0)})})})}ngOnDestroy(){this.gsapTrigger&&this.gsapTrigger.kill()}initGsap(){Hn(this.platformId)&&(window.screen.width<960||(so.registerPlugin(Ee),this.gsapTrigger=so.to(".artworks-wrapper",{scrollTrigger:{trigger:".artworks-wrapper",start:"top 150",end:`top -${1e3*this.artworks.length}`,pin:!0,scrub:1},ease:"none","--progress":1,duration:1})))}notFound(){console.log("--notfound--")}nextArtwork(){this.artworkIndex<this.artworks.length-1&&this.artworkIndex++}prevArtwork(){this.artworkIndex&&this.artworkIndex--}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Ae({type:e,selectors:[["page",8,"page","page-collection"]],standalone:!0,features:[Te],attrs:EM,decls:4,vars:1,consts:[[1,"header-compensation"],[1,"spacer-96"],[1,"row","collection-info"],[1,"col","col-1"],[1,"col","col-3","mobile-padding"],[1,"collection-title"],[1,"collection-subtitle"],[1,"collection-description"],[1,"artworks-wrapper",3,"swiperight","swipeleft"],[1,"artworks"],[1,"artwork"],[1,"image"],["target","_blank",3,"routerLink"],[3,"src"],[1,"artwork-title"],[1,"artwork-description",3,"innerHtml"],[1,"row"],[1,"col","col-3"],["mode","indeterminate"]],template:function(i,o){i&1&&(v(0,"div",0),re(1,TM,15,5)(2,OM,8,0),v(3,"div",1)),i&2&&(w(),Z(o.category?1:2))},dependencies:[Or,Tr,Zy,ll,al],styles:[".collection-info[_ngcontent-%COMP%]{font-size:14px}.collection-info[_ngcontent-%COMP%]   .collection-subtitle[_ngcontent-%COMP%]{margin-top:0}.artworks-wrapper[_ngcontent-%COMP%]{--progress: 0;--index: 0;width:100%;overflow-x:hidden}@media screen and (max-width: 960px){.artworks-wrapper[_ngcontent-%COMP%]{touch-action:pan-y!important}}.artworks-wrapper[_ngcontent-%COMP%]   .artworks[_ngcontent-%COMP%]{width:max-content;margin-right:calc((100vw - 192px)/5 + 96px);white-space:nowrap;transform:translate(calc(var(--progress) * (100% - 3 * (100vw - 192px) / 5)))}@media screen and (max-width: 960px){.artworks-wrapper[_ngcontent-%COMP%]   .artworks[_ngcontent-%COMP%]{margin-right:0;white-space:initial;transform:translate(calc(var(--index) * 75vw));transition:transform .4s ease-in-out}}.artworks-wrapper[_ngcontent-%COMP%]   .artworks[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{white-space:initial}.artworks-wrapper[_ngcontent-%COMP%]   .artworks[_ngcontent-%COMP%]   .artwork[_ngcontent-%COMP%]{display:inline-flex;padding:0 10px;gap:20px;vertical-align:top;box-sizing:border-box}@media screen and (max-width: 960px){.artworks-wrapper[_ngcontent-%COMP%]   .artworks[_ngcontent-%COMP%]   .artwork[_ngcontent-%COMP%]{flex-direction:column;width:75vw;padding:0 20px 0 0;gap:0;font-size:14px}}.artworks-wrapper[_ngcontent-%COMP%]   .artworks[_ngcontent-%COMP%]   .artwork[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:initial;max-width:initial;height:calc(100vh - 196px)}@media screen and (max-width: 960px){.artworks-wrapper[_ngcontent-%COMP%]   .artworks[_ngcontent-%COMP%]   .artwork[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:initial;width:100%}}@media screen and (min-width: 961px){.artworks-wrapper[_ngcontent-%COMP%]   .artworks[_ngcontent-%COMP%]   .artwork[_ngcontent-%COMP%]   .artwork-description[_ngcontent-%COMP%]{width:600px;padding-left:96px}.artworks-wrapper[_ngcontent-%COMP%]   .artworks[_ngcontent-%COMP%]   .artwork[_ngcontent-%COMP%]   .artwork-description.no-text[_ngcontent-%COMP%]{width:48px;padding-left:0}}"]});let r=e;return r})();var MM=["class","page page-about"],DM=(r,e)=>e.id;function IM(r,e){if(r&1&&(d(0,"a",32),v(1,"div",43),d(2,"div",44),v(3,"img",55),p(),d(4,"div",46),h(5),p(),d(6,"div",47),h(7),p()()),r&2){let n=e.$implicit;ue("href",n.url,mn),w(3),ue("src",n.coverUrl,mn),w(2),le(n.localName),w(2),le(n.internationalName)}}var Qy=(()=>{let e=class e{constructor(){this.publisherService=O(Zs),this.activePartner=0,this.partners=7,this.activePublisher=0,this.publishers=new En,this.publisherService.list(this.publishers).subscribe()}nextPartner(){this.activePartner--,this.activePartner<0&&(this.activePartner=this.partners-2)}prevPartner(){this.activePartner++,this.activePartner>=this.partners-1&&(this.activePartner=0)}nextPublisher(){this.activePublisher--,this.activePublisher<0&&(this.activePublisher=this.publishers.list.length-2)}prevPublisher(){this.activePublisher++,this.activePublisher>=this.publishers.list.length-1&&(this.activePublisher=0)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Ae({type:e,selectors:[["page",8,"page","page-about"]],standalone:!0,features:[Te],attrs:MM,decls:669,vars:8,consts:[[1,"header-compensation"],[1,"row"],[1,"col","col-1"],[1,"col","col-3"],["id","s01"],[1,"ol"],[1,"li"],[1,"bullet"],[1,"text"],["id","s02"],[1,"spacer-96"],["id","s03"],["id","s04"],[1,"spacer-48"],[1,"display-box"],[1,"box","box-1"],[1,"image"],["href","https://herfeh-honarmand.com/blog/tag/ariasp-dadbeh/","target","_blank"],["src","/assets/about-pic-1.jpg"],[1,"caption"],[1,"box","box-2"],["href","https://www.youtube.com/playlist?list=PLi8m23SndiR9HgFTqzoNT6eNtfW2wlCeL","target","_blank"],["src","/assets/about-pic-2.jpg"],[1,"card-view-4"],[1,"section-title-box"],[1,"info"],[1,"card-view-title"],["desktop","",1,"action"],[1,"sn-button","type-1","light","lg","right",3,"click"],[1,"sn-button","type-1","light","lg","left",3,"click"],[1,"cards-wrapper",3,"swiperight","swipeleft"],[1,"cards"],["target","_blank",1,"card",3,"href"],["id","s05"],[1,"poem"],[1,"part"],["href","mailto:info@simurghnameh.com"],["desktop","",1,"columned-text"],[1,"col"],["mobile","",1,"columned-text"],["id","s06"],["id","s07"],["href","https://islamicartstudies.com","target","_blank",1,"card"],[1,"background-image"],[1,"logo"],["src",""],[1,"title"],[1,"sub-title"],["href","https://studioshizaru.com/","target","_blank",1,"card"],["href","https://nowruzgan.com","target","_blank",1,"card"],["href","https://herfeh-honarmand.com","target","_blank",1,"card"],["href","https://www.emaratkhorshid.com","target","_blank",1,"card"],["href","https://architectstogether.com","target","_blank",1,"card"],["href","https://ganjoor.net/","target","_blank",1,"card"],["id","s08"],[3,"src"]],template:function(i,o){i&1&&(v(0,"div",0),d(1,"div",1),v(2,"div",2),d(3,"div",3),v(4,"a",4),d(5,"h1"),h(6,"\u0686\u0631\u0627 \u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647\u061F"),p(),d(7,"p"),h(8,"\u0622\u06CC\u0646\u062F\u0647\u200C\u0654 \u06CC\u06A9 \u0631\u0648\u062F \u062F\u0631 \u0633\u0631\u0686\u0634\u0645\u0647\u200C\u0654 \u0622\u0646 \u0627\u0633\u062A. \u0622\u06CC\u0646\u062F\u0647\u200C\u0654 \u0645\u0627 \u0627\u06CC\u0631\u0627\u0646\u06CC\u0627\u0646 \u062F\u0631 \u06AF\u0631\u0648 \u0628\u0627\u0631\u0648\u0631 \u06A9\u0631\u062F\u0646 \u0633\u0631\u0686\u0634\u0645\u0647\u200C\u200C\u0647\u0627\u06CC \u0622\u06AF\u0627\u0647\u06CC \u0628\u0647 \u06AF\u0630\u0634\u062A\u0647\u200C\u0654 \u0645\u0627\u0633\u062A. \u0645\u06CC\u200C\u062E\u0648\u0627\u0647\u06CC\u0645 \u0628\u0647 \u062E\u0627\u0637\u0631 \u0628\u06CC\u0627\u0648\u0631\u06CC\u0645 \u06A9\u0647 \u0628\u0648\u062F\u0647\u200C\u0627\u06CC\u0645 \u0648 \u0686\u0647 \u06A9\u0631\u062F\u0647\u200C\u0627\u06CC\u0645. \u0633\u0647\u0645 \u0627\u06CC\u0631\u0627\u0646\u06CC\u0627\u0646 \u062F\u0631 \u0634\u06A9\u0648\u0641\u0627\u06CC\u06CC \u0641\u0631\u0647\u0646\u06AF \u062C\u0647\u0627\u0646 \u0686\u0647 \u0628\u0648\u062F\u0647 \u0627\u0633\u062A\u061F \u0646\u06CC\u0627\u06A9\u0627\u0646 \u0645\u0627 \u062F\u0631 \u0637\u0648\u0644 \u062A\u0627\u0631\u06CC\u062E \u0686\u06AF\u0648\u0646\u0647 \u062C\u0647\u0627\u0646 \u0631\u0627 \u0632\u06CC\u0628\u0627\u062A\u0631 \u06A9\u0631\u062F\u0647\u200C\u0627\u0646\u062F\u061F \u0686\u0647 \u062E\u06CC\u0627\u0644 \u0648 \u062E\u0627\u0637\u0631\u0647\u200C\u0627\u06CC \u0645\u0627 \u0631\u0627 \u0637\u06CC \u0686\u0646\u062F \u0647\u0632\u0627\u0631 \u0633\u0627\u0644 \u062F\u0631 \u0627\u06CC\u0646 \u0633\u0631\u0632\u0645\u06CC\u0646 \u062F\u0648\u0631 \u0647\u0645 \u0646\u06AF\u0647 \u062F\u0627\u0634\u062A\u0647 \u0627\u0633\u062A\u061F \u0645\u0627 \u062F\u0631 \u067E\u06CC \u067E\u0627\u0633\u062E \u0628\u0647 \u0627\u06CC\u0646 \u067E\u0631\u0633\u0634\u200C\u0647\u0627 \u0647\u0633\u062A\u06CC\u0645. \u0628\u0646\u062F\u0647\u0627\u06CC \u0632\u06CC\u0631 \u06A9\u0627\u0633\u062A\u06CC\u200C\u0647\u0627\u06CC\u06CC \u0627\u0633\u062A \u06A9\u0647 \u0636\u0631\u0648\u0631\u062A \u06A9\u0627\u0631 \u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647 \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06CC\u200C\u062F\u0647\u062F:"),p(),d(9,"div",5)(10,"div",6)(11,"div",7),h(12,"\u06F1"),p(),d(13,"div",8)(14,"em"),h(15,"\u067E\u0631\u0627\u06A9\u0646\u062F\u06AF\u06CC \u0622\u062B\u0627\u0631:"),p(),h(16," \u0622\u062B\u0627\u0631 \u062A\u0627\u0631\u06CC\u062E\u06CC \u0627\u06CC\u0631\u0627\u0646 \u062F\u0631 \u0633\u0631\u062A\u0627\u0633\u0631 \u062C\u0647\u0627\u0646 \u067E\u0631\u0627\u06A9\u0646\u062F\u0647\u200C\u0627\u0646\u062F \u0648 \u0628\u0631\u0631\u0633\u06CC \u0622\u0646\u0647\u0627 \u062F\u0631 \u06A9\u0646\u0627\u0631 \u0647\u0645 \u0628\u0631\u0627\u06CC \u062F\u0631\u06A9 \u0631\u0648\u0627\u0628\u0637 \u0648 \u0646\u0633\u0628\u062A\u200C\u0647\u0627\u06CC\u0634\u0627\u0646 \u062F\u0634\u0648\u0627\u0631 \u0627\u0633\u062A."),p()(),d(17,"div",6)(18,"div",7),h(19,"\u06F2"),p(),d(20,"div",8)(21,"em"),h(22,"\u062F\u0631 \u062F\u0633\u062A\u0631\u0633 \u0646\u0628\u0648\u062F\u0646 \u0622\u062B\u0627\u0631:"),p(),h(23," \u0628\u0633\u06CC\u0627\u0631\u06CC \u0627\u0632 \u0622\u062B\u0627\u0631 \u0627\u06CC\u0631\u0627\u0646 \u062F\u0631 \u0645\u0648\u0632\u0647\u200C\u0647\u0627\u06CC \u062E\u0635\u0648\u0635\u06CC \u0646\u06AF\u0647\u062F\u0627\u0631\u06CC \u0645\u06CC\u200C\u0634\u0648\u0646\u062F \u0648 \u0628\u0647\u200C\u0646\u062F\u0631\u062A \u062F\u0631 \u0645\u0639\u0631\u0636 \u062F\u06CC\u062F \u0639\u0645\u0648\u0645 \u0642\u0631\u0627\u0631 \u0645\u06CC\u200C\u06AF\u06CC\u0631\u0646\u062F. \u0622\u062B\u0627\u0631 \u0645\u0648\u0632\u0647\u200C\u0647\u0627\u06CC \u063A\u06CC\u0631\u0622\u0646\u0644\u0627\u06CC\u0646 \u0647\u0645 \u062F\u0631 \u062F\u0633\u062A\u0631\u0633 \u0647\u0645\u06AF\u0627\u0646 \u0646\u06CC\u0633\u062A\u0646\u062F."),p()(),d(24,"div",6)(25,"div",7),h(26,"\u06F3"),p(),d(27,"div",8)(28,"em"),h(29,"\u0641\u0642\u062F\u0627\u0646 \u062F\u0633\u062A\u0647\u200C\u0628\u0646\u062F\u06CC \u0622\u062B\u0627\u0631:"),p(),h(30," \u0633\u0627\u0632 \u0648 \u06A9\u0627\u0631 \u0645\u0624\u062B\u0631\u06CC \u0628\u0631\u0627\u06CC \u062F\u0633\u062A\u0647\u200C\u0628\u0646\u062F\u06CC \u0627\u0646\u0628\u0648\u0647 \u0622\u062B\u0627\u0631 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646 \u0648\u062C\u0648\u062F \u0646\u062F\u0627\u0631\u062F. \u0648 \u0627\u06CC\u0646 \u0645\u0627\u0646\u0639 \u0634\u0646\u0627\u062E\u062A \u0648 \u0628\u0631\u0631\u0633\u06CC \u0627\u0646\u0648\u0627\u0639 \u0647\u0646\u0631\u0647\u0627\u06CC \u0627\u06CC\u0631\u0627\u0646 \u0648 \u0648\u06CC\u0698\u06AF\u06CC\u200C\u0647\u0627\u06CC \u0622\u0646\u200C\u0647\u0627\u0633\u062A."),p()(),d(31,"div",6)(32,"div",7),h(33,"\u06F4"),p(),d(34,"div",8)(35,"em"),h(36,"\u0641\u0631\u0627\u0645\u0648\u0634\u06CC \u0645\u06CC\u0631\u0627\u062B \u0647\u0646\u0631\u06CC:"),p(),h(37," \u0628\u0633\u06CC\u0627\u0631\u06CC \u0627\u0632 \u0627\u06CC\u0631\u0627\u0646\u06CC\u0627\u0646 \u0628\u0627 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646 \u063A\u0631\u06CC\u0628\u0647\u200C\u0627\u0646\u062F. \u062D\u0627\u0641\u0638\u0647\u200C\u0654 \u0647\u0646\u0631\u06CC\u060C \u062A\u0635\u0648\u06CC\u0631\u06CC\u060C \u0641\u0631\u0647\u0646\u06AF\u06CC \u0627\u06CC\u0631\u0627\u0646 \u0645\u0639\u0627\u0635\u0631 \u0627\u0632 \u06AF\u0646\u062C\u06CC\u0646\u0647\u200C\u0654 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646 \u0645\u062D\u0631\u0648\u0645 \u0627\u0633\u062A \u0648 \u0645\u0647\u0627\u0631\u062A\u200C\u0647\u0627 \u0648 \u0641\u0646\u0648\u0646 \u06A9\u0647\u0646 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646 \u0631\u0648 \u0628\u0647 \u0641\u0631\u0627\u0645\u0648\u0634\u06CC \u0627\u0633\u062A."),p()(),d(38,"div",6)(39,"div",7),h(40,"\u06F5"),p(),d(41,"div",8)(42,"em"),h(43,"\u0646\u0627\u0628\u0648\u062F\u06CC \u0648 \u0642\u0627\u0686\u0627\u0642 \u0622\u062B\u0627\u0631:"),p(),h(44," \u0628\u0647 \u0633\u0628\u0628 \u0636\u0639\u0641 \u062A\u0645\u0647\u06CC\u062F\u0627\u062A \u062D\u0641\u0627\u0638\u062A\u06CC\u060C \u0628\u0633\u06CC\u0627\u0631\u06CC \u0627\u0632 \u0622\u062B\u0627\u0631 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646 \u062F\u0631 \u062D\u0627\u0644 \u0646\u0627\u0628\u0648\u062F\u06CC \u06CC\u0627 \u062F\u0631 \u0645\u0639\u0631\u0636 \u062E\u0637\u0631 \u0642\u0627\u0686\u0627\u0642 \u0647\u0633\u062A\u0646\u062F."),p()(),d(45,"div",6)(46,"div",7),h(47,"\u06F6"),p(),d(48,"div",8)(49,"em"),h(50,"\u062C\u0639\u0644 \u0647\u0648\u06CC\u062A \u0622\u062B\u0627\u0631:"),p(),h(51," \u06A9\u0645\u200C\u06A9\u0627\u0631\u06CC \u062F\u0631 \u0645\u0639\u0631\u0641\u06CC \u0622\u062B\u0627\u0631 \u0627\u06CC\u0631\u0627\u0646 \u0632\u0645\u06CC\u0646\u0647\u200C\u0633\u0627\u0632 \u062C\u0639\u0644 \u0627\u0635\u0627\u0644\u062A \u0648 \u0633\u0627\u0628\u0642\u0647\u200C\u0654 \u0622\u0646\u200C\u0647\u0627 \u0648 \u0633\u0648\u0621\u200C\u0627\u0633\u062A\u0641\u0627\u062F\u0647\u200C\u0647\u0627\u06CC \u0633\u06CC\u0627\u0633\u06CC \u0634\u062F\u0647 \u0627\u0633\u062A. \u0627\u062F\u0639\u0627\u06CC \u06A9\u0634\u0648\u0631\u0647\u0627\u06CC \u0647\u0645\u200C\u062C\u0648\u0627\u0631 \u062F\u0631 \u062A\u0645\u0644\u06A9 \u0645\u0627\u062F\u06CC \u0648 \u0645\u0639\u0646\u0648\u06CC \u0627\u06CC\u0646 \u0622\u062B\u0627\u0631 \u0634\u0627\u0647\u062F \u06AF\u0648\u06CC\u0627\u06CC\u06CC \u0628\u0631 \u0627\u06CC\u0646 \u0648\u0636\u0639\u06CC\u062A \u0627\u0633\u062A."),p()(),d(52,"div",6)(53,"div",7),h(54,"\u06F7"),p(),d(55,"div",8)(56,"em"),h(57,"\u062A\u06A9\u0647\u200C\u062A\u06A9\u0647\u200C \u0634\u062F\u0646 \u0627\u06CC\u0631\u0627\u0646 \u0641\u0631\u0647\u0646\u06AF\u06CC:"),p(),h(58," \u063A\u0641\u0644\u062A \u0627\u0632 \u0627\u0634\u062A\u0631\u0627\u06A9\u0627\u062A \u0647\u0646\u0631\u06CC \u062F\u0631 \u06AF\u0633\u062A\u0631\u0647\u0654 \u0627\u06CC\u0631\u0627\u0646 \u0641\u0631\u0647\u0646\u06AF\u06CC\u060C \u0633\u0628\u0628 \u0646\u0627\u062F\u06CC\u062F\u0647 \u0645\u0627\u0646\u062F\u0646 \u067E\u06CC\u0648\u0646\u062F\u200C\u0647\u0627\u06CC \u0627\u0642\u0648\u0627\u0645 \u0648 \u0645\u0644\u062A\u200C\u0647\u0627\u06CC \u0627\u06CC\u0646 \u0633\u0631\u0632\u0645\u06CC\u0646 \u062A\u0627\u0631\u06CC\u062E\u06CC \u0634\u062F\u0647\u200C \u0627\u0633\u062A."),p()(),d(59,"div",6)(60,"div",7),h(61,"\u06F8"),p(),d(62,"div",8)(63,"em"),h(64,"\u06A9\u0645\u0628\u0648\u062F \u0627\u0637\u0644\u0627\u0639\u0627\u062A:"),p(),h(65," \u062F\u0631 \u0645\u0648\u0632\u0647\u200C\u0647\u0627\u06CC \u062E\u0627\u0631\u062C\u06CC\u060C \u063A\u0627\u0644\u0628\u0627\u064B \u0627\u0637\u0644\u0627\u0639\u0627\u062A \u06A9\u0627\u0641\u06CC \u0648 \u0645\u0646\u0627\u0633\u0628 \u062F\u0631\u0628\u0627\u0631\u0647\u200C\u0654 \u0622\u062B\u0627\u0631 \u0627\u06CC\u0631\u0627\u0646 \u0639\u0631\u0636\u0647 \u0646\u0645\u06CC\u200C\u0634\u0648\u062F \u0648 \u0627\u06CC\u0646 \u062E\u0648\u062F \u0627\u0632 \u0645\u0648\u0627\u0646\u0639 \u067E\u0698\u0648\u0647\u0634 \u062F\u0631\u0628\u0627\u0631\u0647\u200C\u0654 \u0627\u06CC\u0646 \u0622\u062B\u0627\u0631 \u0627\u0633\u062A."),p()(),d(66,"div",6)(67,"div",7),h(68,"\u06F9"),p(),d(69,"div",8)(70,"em"),h(71,"\u0641\u0642\u0631 \u062A\u0627\u0631\u06CC\u062E\u200C\u0646\u06AF\u0627\u0631\u06CC \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646:"),p(),h(72," \u062A\u0627\u0631\u06CC\u062E \u0641\u0631\u0647\u0646\u06AF \u0648 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646 \u0628\u0647 \u0633\u0628\u0628 \u062F\u0631 \u062F\u0633\u062A\u0631\u0633 \u0646\u0628\u0648\u062F\u0646 \u0634\u0648\u0627\u0647\u062F \u0645\u0627\u062F\u06CC \u06CC\u0627 \u063A\u0641\u0644\u062A \u0627\u0632 \u0622\u0646\u0647\u0627 \u06A9\u0645\u200C\u0645\u0627\u06CC\u0647 \u0648 \u0641\u0642\u06CC\u0631 \u0627\u0633\u062A."),p()()(),d(73,"p"),h(74,"\u0627\u0645\u0631\u0648\u0632\u060C \u062F\u0633\u062A\u0627\u0648\u0631\u062F\u0647\u0627\u06CC \u0646\u064A\u0627\u06A9\u0627\u0646\u200C\u0645\u0627\u0646 \u0631\u0627 \u067E\u0627\u0645\u0627\u0644 \u0632\u0645\u0627\u0646 \u0645\u06CC\u200C\u0628\u064A\u0646\u064A\u0645. \u0628\u0647 \u0647\u0631 \u0633\u0648 \u06A9\u0647 \u0646\u06AF\u0627\u0647 \u0645\u06CC\u200C\u06A9\u0646\u06CC\u0645\u060C \u0627\u062E\u0628\u0627\u0631 \u0648\u06CC\u0631\u0627\u0646\u06CC \u0622\u062B\u0627\u0631 \u0647\u0646\u0631 \u0648 \u0645\u0639\u0645\u0627\u0631\u06CC\u060C \u0641\u0631\u0627\u0645\u0648\u0634\u06CC \u0645\u0647\u0627\u0631\u062A\u200C\u0647\u0627 \u0648 \u0641\u0646\u0648\u0646 \u06CC\u06AF\u0627\u0646\u0647\u060C \u0648 \u063A\u0627\u0631\u062A \u06AF\u0646\u062C\u06CC\u0646\u0647\u200C\u0647\u0627\u06CC \u062A\u0627\u0631\u06CC\u062E\u06CC\u200C\u0633\u062A. \u062A\u062C\u0631\u0628\u06C0 \u062E\u064F\u0633\u0631\u0627\u0646 \u0648 \u0627\u0632 \u062F\u0633\u062A \u062F\u0627\u062F\u0646 \u0645\u062F\u0627\u0648\u0645 \u0628\u0647 \u0635\u0648\u0631\u062A \u0628\u062E\u0634 \u0639\u0627\u062F\u06CC \u0627\u0632 \u0632\u0646\u062F\u06AF\u06CC \u0631\u0648\u0632\u0645\u0631\u0647\u200C\u0654 \u0645\u0627 \u062F\u0631 \u0622\u0645\u062F\u0647 \u0627\u0633\u062A. \u0645\u0627 \u062F\u0631 \u0627\u062D\u0648\u0627\u0644\u0627\u062A \u0627\u0645\u0631\u0648\u0632 \u0634\u0628\u0627\u0647\u062A\u200C\u0647\u0627\u06CC \u0628\u0633\u064A\u0627\u0631 \u0628\u0627 \u062A\u0646\u06AF\u0646\u0627\u0647\u0627\u06CC \u062A\u0639\u064A\u064A\u0646\u200C\u06A9\u0646\u0646\u062F\u0647\u200C\u0654 \u062A\u0627\u0631\u064A\u062E\u0645\u0627\u0646 \u0645\u06CC\u200C\u064A\u0627\u0628\u064A\u0645\u060C \u0627\u0632 \u0642\u0631\u0646 \u062F\u0648\u0645 \u0648 \u0633\u0648\u0645 \u0647\u062C\u0631\u06CC \u06A9\u0647 \u062F\u0631 \u0622\u0646 \u0646\u0647\u0636\u062A \u0628\u0632\u0631\u06AF \u062A\u0631\u062C\u0645\u0647 \u0645\u0639\u0646\u0627\u06CC \u06A9\u0647\u0646 \u0631\u0627 \u062F\u0631 \u0642\u0627\u0644\u0628 \u0632\u0628\u0627\u0646 \u0646\u0648 \u0631\u064A\u062E\u062A \u0648 \u062C\u0627\u0646 \u0628\u062E\u0634\u06CC\u062F\u060C \u062A\u0627 \u0646\u0647\u0636\u062A \u0641\u0631\u0647\u0646\u06AF\u06CC \u0642\u0631\u0646 \u0686\u0647\u0627\u0631\u0645 \u06A9\u0647 \u0628\u0647 \u062C\u0646\u06AF \u0641\u0631\u0627\u0645\u0648\u0634\u06CC \u0631\u0641\u062A \u0648 \u0627\u06CC\u0631\u0627\u0646\u06CC \u0628\u0648\u062F\u0646 \u0631\u0627 \u0627\u062D\u06CC\u0627 \u06A9\u0631\u062F\u060C \u0648\u2026"),p(),d(75,"p"),h(76,"\u0645\u0639\u062A\u0642\u062F\u064A\u0645 \u0627\u0645\u0631\u0648\u0632 \u0646\u0648\u0628\u062A \u0645\u0627\u0633\u062A."),p(),v(77,"a",9)(78,"div",10),d(79,"h1"),h(80,"\u0631\u0648\u0654\u06CC\u0627\u06CC \u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647"),p(),d(81,"ul")(82,"li"),h(83,"\u0634\u0646\u0627\u0633\u0627\u0646\u062F\u0646 \u0641\u0631\u0647\u0646\u06AF \u0648 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646 \u0628\u0647 \u0627\u06CC\u0631\u0627\u0646\u06CC\u0627\u0646 \u0648 \u062C\u0647\u0627\u0646\u06CC\u0627\u0646"),p(),d(84,"li"),h(85,"\u0628\u0631\u0642\u0631\u0627\u0631\u06CC \u067E\u06CC\u0648\u0646\u062F \u062F\u0648\u0628\u0627\u0631\u0647\u200C\u200C \u0645\u06CC\u0627\u0646 \u062A\u06A9\u0647\u200C\u0647\u0627\u06CC \u067E\u0631\u0627\u06A9\u0646\u062F\u0647\u200C\u0634\u062F\u0647\u200C\u0654 \u0627\u06CC\u0631\u0627\u0646 \u0641\u0631\u0647\u0646\u06AF\u06CC"),p(),d(86,"li"),h(87,"\u0627\u06CC\u062C\u0627\u062F \u0628\u0633\u062A\u0631\u06CC \u0628\u0631\u0627\u06CC \u0647\u0645\u200C\u0627\u0641\u0632\u0627\u06CC\u06CC \u0628\u06CC\u0646 \u0646\u0647\u0627\u062F\u0647\u0627\u06CC \u0647\u0646\u0631 \u0648 \u0641\u0631\u0647\u0646\u06AF \u0627\u06CC\u0631\u0627\u0646"),p()(),d(88,"p"),h(89,"\u0633\u064A\u0645\u0631\u063A\u0646\u0627\u0645\u0647 \u0645\u06CC\u200C\u06A9\u0648\u0634\u062F \u0622\u062B\u0627\u0631 \u0641\u0631\u0647\u0646\u06AF\u06CC \u0648 \u0647\u0646\u0631\u06CC \u0627\u06CC\u0631\u0627\u0646\u200C\u0632\u0645\u06CC\u0646 \u0631\u0627\u060C \u06A9\u0647 \u062F\u0631 \u0645\u0648\u0632\u0647\u200C\u0647\u0627 \u0648 \u06A9\u062A\u0627\u0628\u062E\u0627\u0646\u0647\u200C\u0647\u0627\u06CC \u0645\u062E\u062A\u0644\u0641 \u062C\u0647\u0627\u0646 \u0648 \u0645\u062C\u0645\u0648\u0639\u0647\u200C\u0647\u0627\u06CC \u0634\u062E\u0635\u06CC \u067E\u0631\u0627\u06A9\u0646\u062F\u0647\u200C \u0627\u0633\u062A\u060C \u062F\u0631 \u0686\u0627\u0631\u0686\u0648\u0628 \u06CC\u06A9 \u06AF\u0646\u062C\u06CC\u0646\u06C0 \u062C\u0627\u0645\u0639 \u0645\u062C\u0627\u0632\u06CC \u062F\u0631 \u062F\u0633\u062A\u0631\u0633 \u0645\u062D\u0642\u0642\u0627\u0646 \u0648 \u0639\u0644\u0627\u0642\u0645\u0646\u062F\u0627\u0646 \u0642\u0631\u0627\u0631 \u062F\u0647\u062F. \u0628\u0647 \u0633\u062E\u0646 \u062F\u06CC\u06AF\u0631\u060C \u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647 \u0645\u06CC\u200C\u06A9\u0648\u0634\u062F \u067E\u0627\u0631\u0647\u200C\u0647\u0627\u06CC \u0641\u0631\u0647\u0646\u06AF\u06CC \u062C\u0647\u0627\u0646 \u0627\u06CC\u0631\u0627\u0646\u06CC \u0631\u0627 \u062F\u0631 \u06A9\u0646\u0627\u0631 \u0647\u0645 \u0642\u0631\u0627\u0631 \u062F\u0647\u062F\u060C \u067E\u06CC\u0648\u0646\u062F\u0647\u0627\u06CC\u0634\u0627\u0646 \u0631\u0627 \u0628\u0627 \u06CC\u06A9\u062F\u06CC\u06AF\u0631 \u0622\u0634\u06A9\u0627\u0631 \u06A9\u0646\u062F\u060C \u0648 \u062A\u0635\u0648\u06CC\u0631\u06CC \u0627\u0632 \u06A9\u0644\u06CC\u062A \u0627\u06CC\u0631\u0627\u0646 \u0641\u0631\u0647\u0646\u06AF\u06CC \u067E\u06CC\u0634 \u0686\u0634\u0645 \u0622\u0648\u0631\u062F. \u0645\u06CC\u200C\u06A9\u0648\u0634\u062F \u0645\u06CC\u0627\u0646 \u06AF\u0631\u0648\u0647\u200C\u0647\u0627\u06CC \u0645\u062E\u062A\u0644\u0641\u06CC \u06A9\u0647 \u062F\u0631 \u062D\u0648\u0632\u0647\u200C\u0647\u0627\u06CC \u0641\u0631\u0647\u0646\u06AF \u0648 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646 \u067E\u0698\u0648\u0647\u0634 \u0645\u06CC\u200C\u06A9\u0646\u0646\u062F \u06CC\u0627 \u062F\u0648\u0633\u062A\u062F\u0627\u0631 \u0641\u0631\u0647\u0646\u06AF \u0627\u06CC\u0631\u0627\u0646 \u0647\u0633\u062A\u0646\u062F\u060C \u067E\u06CC\u0648\u0646\u062F \u0628\u0631\u0642\u0631\u0627\u0631 \u06A9\u0646\u062F\u060C \u0628\u0627 \u0622\u0646\u0647\u0627 \u0647\u0645\u06A9\u0627\u0631\u06CC \u06A9\u0646\u062F\u060C \u0648 \u0628\u0633\u062A\u0631\u06CC \u0628\u0631\u0627\u06CC \u062A\u0633\u0647\u06CC\u0644 \u0627\u0646\u062A\u0634\u0627\u0631 \u0646\u0638\u0631\u0627\u062A \u0645\u062A\u0646\u0648\u0639 \u0648 \u0645\u062A\u06A9\u062B\u0631 \u0628\u0627\u0634\u062F \u062A\u0627 \u0627\u0632 \u0627\u06CC\u0646 \u0637\u0631\u06CC\u0642 \u0645\u0642\u062F\u0645\u0627\u062A \u0634\u06A9\u0644\u200C\u06AF\u06CC\u0631\u06CC \u0646\u0647\u0627\u062F\u06CC \u0641\u0631\u0627\u06AF\u06CC\u0631 \u0628\u0631\u0627\u06CC \u0641\u0631\u0647\u0646\u06AF \u0627\u06CC\u0631\u0627\u0646 \u0631\u0627 \u0645\u0647\u06CC\u0627 \u06A9\u0646\u062F."),p(),v(90,"a",11)(91,"div",10),d(92,"h1"),h(93,"\u0631\u0648\u0634 \u0645\u0627"),p(),d(94,"ul")(95,"li"),h(96,"\u0627\u0634\u06A9\u0627\u0644 \u0645\u062E\u062A\u0644\u0641 \u0641\u0631\u0647\u0646\u06AF \u0648 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646 \u0631\u0627 \u062F\u0631 \u06A9\u0646\u0627\u0631 \u0647\u0645 \u06AF\u0631\u062F\u0622\u0648\u0631\u06CC \u0645\u06CC\u200C\u06A9\u0646\u06CC\u0645\u061B \u0627\u0632 \u0622\u062B\u0627\u0631 \u0645\u0639\u0645\u0627\u0631\u06CC \u062A\u0627 \u0627\u0634\u06CC\u0627 \u0648 \u0622\u062B\u0627\u0631 \u0647\u0646\u0631\u06CC \u0648 \u06A9\u062A\u0627\u0628\u200C\u0647\u0627 \u0648 \u0646\u0633\u062E \u062E\u0637\u06CC\u060C \u062F\u0631 \u0633\u0631\u0627\u0633\u0631 \u062A\u0627\u0631\u06CC\u062E \u062F\u06CC\u0631\u067E\u0627\u06CC \u0627\u06CC\u0646 \u0633\u0631\u0632\u0645\u06CC\u0646 (\u062A\u0627 \u067E\u0627\u06CC\u0627\u0646 \u0632\u0645\u0627\u0646 \u0642\u0627\u062C\u0627\u0631\u06CC\u0627\u0646)."),p(),d(97,"li"),h(98,"\u0622\u062B\u0627\u0631 \u0631\u0627 \u062F\u0631 \u0634\u0628\u06A9\u0647\u200C\u0627\u06CC \u0645\u0646\u0633\u062C\u0645\u060C \u062F\u0631 \u067E\u06CC\u0648\u0646\u062F \u0628\u0627 \u06CC\u06A9\u062F\u06CC\u06AF\u0631\u060C \u0645\u06CC\u200C\u0646\u0634\u0627\u0646\u06CC\u0645 \u0648 \u0631\u0648\u0627\u0628\u0637 \u0648 \u0646\u0633\u0628\u062A\u200C\u0647\u0627\u06CC\u0634\u0627\u0646 \u0631\u0627 \u0628\u0627 \u0647\u0645 \u0622\u0634\u06A9\u0627\u0631 \u0645\u06CC\u200C\u06A9\u0646\u06CC\u0645."),p(),d(99,"li"),h(100,"\u0628\u0627 \u0646\u06AF\u0627\u0647\u06CC \u062F\u0631\u0648\u0646\u200C\u0641\u0631\u0647\u0646\u06AF\u06CC \u0628\u0647 \u0641\u0647\u0645 \u0648 \u062F\u0633\u062A\u0647\u200C\u0628\u0646\u062F\u06CC \u0622\u062B\u0627\u0631 \u0645\u06CC\u200C\u067E\u0631\u062F\u0627\u0632\u06CC\u0645\u061B \u0627\u0632 \u0627\u06CC\u0646 \u0637\u0631\u06CC\u0642 \u0648\u06CC\u0698\u06AF\u06CC\u200C\u0647\u0627\u06CC \u0645\u063A\u0641\u0648\u0644\u0634\u0627\u0646 \u0631\u0627 \u062F\u0631\u0645\u06CC\u200C\u06CC\u0627\u0628\u06CC\u0645 \u0648 \u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0645\u0648\u062C\u0648\u062F \u0627\u0632 \u0647\u0631 \u0627\u062B\u0631 \u0631\u0627 \u0628\u0633\u0637 \u0645\u06CC\u200C\u062F\u0647\u06CC\u0645 \u0648 \u062A\u0639\u0645\u06CC\u0642 \u0645\u06CC\u200C\u06A9\u0646\u06CC\u0645."),p(),d(101,"li"),h(102,"\u062A\u0644\u0627\u0634 \u0645\u06CC\u200C\u06A9\u0646\u06CC\u0645 \u0627\u0632 \u062F\u0644 \u0634\u0628\u06A9\u0647\u200C\u200C\u0654 \u0631\u0648\u0627\u0628\u0637 \u0641\u0631\u0627\u0647\u0645\u200C\u0622\u0645\u062F\u0647 \u0645\u06CC\u0627\u0646 \u0622\u062B\u0627\u0631\u060C \u0631\u0648\u0627\u06CC\u062A\u06CC \u0646\u0648 \u0627\u0632 \u062A\u0627\u0631\u06CC\u062E \u0648 \u0645\u0639\u0646\u0627\u06CC \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646 \u0628\u0647 \u062F\u0633\u062A \u062F\u0647\u06CC\u0645."),p()(),v(103,"a",12)(104,"div",10),d(105,"h1"),h(106,"\u062A\u0627 \u0627\u0645\u0631\u0648\u0632 \u0686\u0647 \u06A9\u0631\u062F\u0647\u200C\u0627\u064A\u0645\u061F"),p(),v(107,"div",13),d(108,"h2"),h(109,"\u0633\u0627\u062E\u062A \u0645\u062D\u0635\u0648\u0644 \u062F\u06CC\u062C\u06CC\u062A\u0627\u0644"),p(),d(110,"p"),h(111,"\xAB\u06F1\u06F8\u066B\u06F0\u06F0\u06F0 \u0627\u062B\u0631\xBB \xAB\u06F1\u06F2 \u0645\u0646\u0628\u0639\xBB"),p(),v(112,"div",13),d(113,"h2"),h(114,"\u062A\u062F\u0648\u06CC\u0646 \u062F\u06CC\u0628\u0627\u0686\u0647\u200C\u0627\u06CC \u0628\u0631 \u062A\u0627\u0631\u06CC\u062E \u0641\u0631\u0647\u0646\u06AF \u0648 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646"),p(),d(115,"p"),h(116,"\u06F3\u06F5\u06F0 \u0635\u0641\u062D\u0647 \u0645\u0637\u0644\u0628 \u062F\u0631 \u06F1\u06F1 \u0645\u0642\u0627\u0644\u0647\u060C \u06F1\u06F1 \u062F\u0631\u0633\u06AF\u0641\u062A\u0627\u0631 \u0628\u0627 \u0639\u0646\u0648\u0627\u0646 \u062F\u06CC\u0628\u0627\u0686\u0647\u200C\u0627\u06CC \u0628\u0631 \u062A\u0627\u0631\u06CC\u062E \u0641\u0631\u0647\u0646\u06AF \u0648 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646 \u062F\u0631 \u0634\u0645\u0627\u0631\u0647\u200C\u0647\u0627\u06CC \u0627\u062E\u064A\u0631 \u0641\u0635\u0644\u0646\u0627\u0645\u0647\u200C\u0654 \u062D\u0631\u0641\u0647: \u0647\u0646\u0631\u0645\u0646\u062F \u0645\u0646\u062A\u0634\u0631 \u0634\u062F\u0647 \u0627\u0633\u062A. \u0641\u0631\u0627\u0647\u0645 \u0622\u0648\u0631\u062F\u0646 \u0622\u0646 \u0631\u0627 \u0645\u0631\u0647\u0648\u0646 \u062F\u0627\u0646\u0634 \u0648 \u0647\u0645\u064A\u0627\u0631\u06CC \u0622\u0631\u064A\u0627\u0633\u067E \u062F\u0627\u062F\u0628\u0647\u060C \u064A\u06A9\u06CC \u0627\u0632 \u0646\u0638\u0631\u064A\u0647\u200C\xAD\u067E\u0631\u062F\u0627\u0632\u0627\u0646 \u062A\u0627\u0631\u064A\u062E \u0641\u0631\u0647\u0646\u06AF\u06CC \u0627\u064A\u0631\u0627\u0646\u060C \u0647\u0633\u062A\u06CC\u0645."),p(),d(117,"div",14)(118,"div",15)(119,"div",16)(120,"a",17),v(121,"img",18),p()(),d(122,"div",19)(123,"a",17),h(124,"\u0645\u0637\u0627\u0644\u0639\u0647\u0654 \u062F\u0631\u0633\u200C\u06AF\u0641\u062A\u0627\u0631\u0647\u0627"),p()()(),d(125,"div",20)(126,"div",16)(127,"a",21),v(128,"img",22),p()(),d(129,"div",19)(130,"a",21),h(131,"\u062A\u0645\u0627\u0634\u0627\u06CC \u062F\u0631\u0633\u200C\u06AF\u0641\u062A\u0627\u0631\u0647\u0627"),p()()()(),v(132,"div",13),d(133,"h2"),h(134,"\u0628\u0633\u062A\u0631\u06CC \u0628\u0631\u0627\u06CC \u0645\u062A\u062E\u0635\u0635\u0627\u0646"),p(),d(135,"p"),h(136,"\u06AF\u0641\u062A\u0627\u0631\u0647\u0627 \u0648 \u06CC\u0627\u062F\u062F\u0627\u0634\u062A\u200C\u0647\u0627\u06CC\u06CC \u0627\u0632 \u067E\u0698\u0648\u0647\u0634\u06AF\u0631\u0627\u0646 \u0647\u0646\u0631 \u0648 \u0641\u0631\u0647\u0646\u06AF \u0627\u06CC\u0631\u0627\u0646 \u062F\u0631 \u0627\u06CC\u0646\u0633\u062A\u0627\u06AF\u0631\u0627\u0645 \u0648 \u067E\u0627\u062F\u06A9\u0633\u062A \u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647 \u0645\u0646\u062A\u0634\u0631\u200C \u0634\u062F\u0647\u200C \u0627\u0633\u062A. \u0627\u0644\u0646\u0627\u0632 \u0646\u062C\u0641\u06CC\u060C \u0628\u0647\u0646\u0627\u0645 \u0627\u0628\u0648\u062A\u0631\u0627\u0628\u06CC\u0627\u0646\u060C \u0645\u0647\u0631\u06CC \u0628\u0647\u0641\u0631\u060C \u0648 \u06A9\u0627\u0648\u0647 \u0645\u0646\u0635\u0648\u0631\u06CC \u0627\u0632 \u062C\u0645\u0644\u0647 \u0627\u06CC\u0646 \u067E\u0698\u0648\u0647\u0634\u06AF\u0631\u0627\u0646\u200C\u0627\u0646\u062F."),p(),v(137,"div",10),p()(),d(138,"div",23)(139,"div",1),v(140,"div",2),d(141,"div",3)(142,"div",24)(143,"div",25)(144,"h1",26),h(145,"\u0645\u0646\u0627\u0628\u0639 \u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647"),p()(),d(146,"div",27)(147,"div",28),V("click",function(){return o.nextPublisher()}),p(),d(148,"div",29),V("click",function(){return o.prevPublisher()}),p()()()(),v(149,"div",2),p(),d(150,"div",30),V("swiperight",function(){return o.prevPublisher()})("swipeleft",function(){return o.nextPublisher()}),d(151,"div",31),_e(152,IM,8,4,"a",32,DM),p()()(),d(154,"div",1),v(155,"div",2),d(156,"div",3),v(157,"div",10),d(158,"h1"),h(159,"\u0633\u06CC\u200C\u0645\u0631\u063A\u200C \u0634\u0645\u0627\u06CC\u06CC\u062F"),p(),v(160,"a",33),d(161,"p"),h(162,"\u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647\u060C \u0645\u0633\u062A\u0642\u0644\u060C \u063A\u064A\u0631 \u062F\u0648\u0644\u062A\u06CC\u060C \u0639\u0627\u0645\u200C\u0627\u0644\u0645\u0646\u0641\u0639\u0647\u060C \u0648 \u0646\u0627\u0633\u0648\u062F\u0628\u0631 \u0627\u0633\u062A \u0648 \u0645\u0627\u0644\u06A9 \u0622\u0646 \u0647\u0645\u06C0 \u0645\u0631\u062F\u0645\u0627\u0646\u06CC \u0647\u0633\u062A\u0646\u062F \u06A9\u0647 \u062F\u0631 \u062F\u0644 \u0641\u0631\u0647\u0646\u06AF \u0627\u06CC\u0631\u0627\u0646\u06CC \u0628\u0627\u0644\u06CC\u062F\u0647\u200C\u0627\u0646\u062F \u0648 \u062F\u0631 \u067E\u0631\u0648\u0631\u062F\u0646 \u0622\u0646 \u0645\u0634\u0627\u0631\u06A9\u062A \u062F\u0627\u0634\u062A\u0647\u200C\u0627\u0646\u062F."),p(),v(163,"div",13),d(164,"h2"),h(165,"\u0634\u0645\u0627 \u0686\u0647 \u06A9\u0645\u06A9\u06CC \u0628\u0647 \u0645\u0627 \u0645\u06CC\u200C\u06A9\u0646\u06CC\u062F\u061F"),p(),d(166,"p",34)(167,"span",35),h(168,"\u062A\u0648 \u0645\u06AF\u0648 \u0647\u0645\u0647 \u0628\u0647 \u062C\u0646\u06AF\u200C\u0627\u0646\u062F \u0648 \u0632 \u0635\u0644\u062D \u0645\u0646 \u0686\u0647 \u0622\u06CC\u062F\u061F"),p(),d(169,"span",35),h(170,"\u062A\u0648 \u06CC\u06A9\u06CC \u0646\u0647\u200C\u0627\u06CC\u060C \u0647\u0632\u0627\u0631\u06CC\u060C \u062A\u0648 \u0686\u0631\u0627\u063A \u062E\u0648\u062F \u0628\u0631\u0627\u0641\u0631\u0648\u0632"),p()(),v(171,"div",13),d(172,"ul")(173,"li"),h(174,"\u06A9\u0627\u0631 \u062F\u0627\u0648\u0637\u0644\u0628\u0627\u0646\u0647"),p(),d(175,"li"),h(176,"\u062D\u0645\u0627\u06CC\u062A \u0645\u0627\u0644\u06CC"),p(),d(177,"li"),h(178,"\u0628\u0647\u200C\u0627\u0634\u062A\u0631\u0627\u06A9\u200C\u06AF\u0630\u0627\u0631\u06CC \u0645\u062C\u0645\u0648\u0639\u0647\u200C\u0654 \u0622\u062B\u0627\u0631"),p()(),v(179,"div",13),d(180,"p"),h(181,"\u0633\u064A\u0645\u0631\u063A\u0646\u0627\u0645\u0647 \u0628\u0631 \u0633\u0646\u062A \u0627\u064A\u0631\u0627\u0646\u06CC \u0648\u0642\u0641 \u0648 \u06A9\u0627\u0631 \u062F\u0627\u0648\u0637\u0644\u0628\u0627\u0646\u0647 \u0627\u0633\u062A\u0648\u0627\u0631 \u0627\u0633\u062A \u0648 \u0641\u0642\u0637 \u062F\u0631 \u0627\u064A\u0646 \u0635\u0648\u0631\u062A \u062A\u062F\u0627\u0648\u0645 \u062E\u0648\u0627\u0647\u062F \u064A\u0627\u0641\u062A. \u0628\u0633\u06CC\u0627\u0631\u06CC \u0627\u0632 \u0645\u0647\u0645\u200C\u062A\u0631\u06CC\u0646 \u0646\u0647\u0627\u062F\u0647\u0627 \u0648 \u0628\u0646\u0627\u0647\u0627\u06CC \u0639\u0627\u0645\u200C\u0627\u0644\u0645\u0646\u0641\u0639\u0647\u060C \u062F\u0631 \u0637\u0648\u0644 \u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0631\u0627\u0646\u060C \u0627\u0632 \u0647\u0645\u06CC\u0646 \u0637\u0631\u06CC\u0642 \u0628\u0627\u0644\u06CC\u062F\u0647 \u0648 \u062F\u0648\u0627\u0645 \u06CC\u0627\u0641\u062A\u0647\u200C\u0627\u0646\u062F. \u0642\u0646\u0627\u062A\u200C\u0647\u0627 \u0648 \u0622\u0628\u200C\u0627\u0646\u0628\u0627\u0631\u0647\u0627 \u0628\u0647 \u0645\u062F\u062F \u0647\u0645\u06CC\u0646 \u0633\u0646\u062A\u0650 \u0633\u062E\u0627\u0648\u062A \u062F\u0631 \u062C\u0627\u06CC\u200C\u062C\u0627\u06CC \u0627\u06CC\u0646 \u0633\u0631\u0632\u0645\u06CC\u0646 \u062A\u0634\u0646\u0647 \u062D\u0641\u0631 \u0648 \u0628\u0631\u067E\u0627 \u0634\u062F\u0647 \u0648 \u0628\u0627 \u0647\u0645\u06CC\u0646 \u067E\u0634\u062A\u0648\u0627\u0646\u0647\u200C\u0654 \u0645\u0631\u062F\u0645\u06CC \u062F\u0631 \u06AF\u0630\u0631 \u0632\u0645\u0627\u0646 \u0646\u06AF\u0647\u062F\u0627\u0631\u06CC \u0634\u062F\u0647 \u0648 \u062F\u0631 \u0637\u06CC \u0646\u0633\u0644\u200C\u0647\u0627 \u0636\u0627\u0645\u0646 \u0632\u0646\u062F\u06AF\u06CC \u0648 \u0645\u0627\u06CC\u0647\u200C\u0654 \u0622\u0628\u0627\u062F\u0627\u0646\u06CC \u0628\u0648\u062F\u0647 \u0627\u0633\u062A. \u0639\u062C\u064A\u0628 \u0646\u064A\u0633\u062A \u06A9\u0647 \u0628\u0639\u062F \u0627\u0632 \u0645\u062F\u062A\u06CC \u06A9\u0627\u0631 \u0631\u0648\u06CC \u0633\u064A\u0645\u0631\u063A\u0646\u0627\u0645\u0647\u060C \u0645\u062A\u0648\u062C\u0647 \u0634\u062F\u064A\u0645 \u0645\u0627 \u0647\u0645 \u062F\u0631 \u0627\u062F\u0627\u0645\u0647 \u0648 \u0628\u0631 \u0622\u0646 \u0645\u0633\u064A\u0631 \u06A9\u0647\u0646\u06CC \u0642\u062F\u0645 \u0645\u06CC\u200C\u0632\u0646\u064A\u0645 \u06A9\u0647 \u0646\u064A\u0627\u06A9\u0627\u0646\u200C\u0645\u0627\u0646 \u0633\u0627\u062E\u062A\u0647\u200C\u0627\u0646\u062F\u061B \u0648 \u0628\u0647 \u0634\u0628\u0627\u0647\u062A \u062F\u0644\u0646\u0634\u064A\u0646 \u0627\u064A\u0646 \u067E\u0631\u0648\u0698\u0647 \u0628\u0627 \u062D\u0641\u0631 \u0642\u0646\u0627\u062A \u0648 \u0633\u0627\u062E\u062A \u0622\u0628 \u0627\u0646\u0628\u0627\u0631 \u067E\u06CC \u0628\u0631\u062F\u064A\u0645. \u0622\u0628\u06CC \u0648 \u0646\u0648\u0631\u06CC \u0627\u0632 \u062F\u0644 \u062A\u0627\u0631\u064A\u062E \u0628\u0647 \u0645\u0627 \u0631\u0633\u064A\u062F\u0647 \u0627\u0633\u062A\u060C \u0622\u0646 \u0631\u0627 \u0647\u062F\u0627\u064A\u062A \u0648 \u0634\u0628\u06A9\u0647\u200C\u0628\u0646\u062F\u06CC \u0648 \u0644\u0627\u064A\u0631\u0648\u0628\u06CC \u0648 \u0627\u0646\u0628\u0627\u0631 \u0645\u06CC\u200C\u06A9\u0646\u064A\u0645\u060C \u0628\u0631\u0627\u06CC \u0628\u0647\u0631\u0647\u200C\u0645\u0646\u062F\u06CC \u0639\u0645\u0648\u0645 \u0648 \u0628\u0647 \u064A\u0627\u062F\u06AF\u0627\u0631 \u0628\u0631\u0627\u06CC \u0622\u064A\u0646\u062F\u06AF\u0627\u0646."),p(),d(182,"p"),h(183,"\u0645\u0627 \u0627\u0632 \u0634\u0645\u0627 \u062F\u0648\u0633\u062A\u200C\u062F\u0627\u0631\u0627\u0646 \u0641\u0631\u0647\u0646\u06AF \u0648 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646\u060C \u06A9\u0647 \u062F\u0631 \u0627\u064A\u0646 \u0627\u062D\u0633\u0627\u0633 \u0648\u0638\u064A\u0641\u0647\u200C\u0654 \u062A\u0627\u0631\u064A\u062E\u06CC \u0628\u0627 \u0645\u0627 \u0634\u0631\u064A\u06A9 \u0647\u0633\u062A\u06CC\u062F \u0648 \u0627\u0647\u0645\u06CC\u062A \u062D\u0641\u0627\u0638\u062A \u0627\u0632 \u0627\u06CC\u0646 \u0645\u06CC\u0631\u0627\u062B \u0648 \u0627\u0646\u062A\u0642\u0627\u0644 \u0622\u0646 \u0628\u0647 \u0646\u0633\u0644\u200C\u0647\u0627\u06CC \u0628\u0639\u062F\u06CC \u0631\u0627 \u0645\u06CC\u200C\u0634\u0646\u0627\u0633\u06CC\u062F\u060C \u062F\u0639\u0648\u062A \u0645\u06CC\u200C\u06A9\u0646\u06CC\u0645 \u062A\u0627 \u062F\u0631 \u0627\u06CC\u0646 \u0645\u0633\u06CC\u0631 \u0647\u0645\u0631\u0627\u0647\u0645\u0627\u0646 \u0628\u0627\u0634\u06CC\u062F. \u0647\u0645\u0631\u0627\u0647\u06CC \u0628\u0627 \u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647 \u0627\u0632 \u0637\u0631\u06CC\u0642 \u062D\u0645\u0627\u06CC\u062A \u0645\u0627\u0644\u06CC\u060C \u0628\u0647\u200C\u0627\u0634\u062A\u0631\u0627\u06A9\u200C\u06AF\u0630\u0627\u0631\u06CC \u0645\u062C\u0645\u0648\u0639\u0647\u200C\u0654 \u0622\u062B\u0627\u0631 \u0641\u0631\u0647\u0646\u06AF \u0648 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646\u060C \u0648 \u06A9\u0627\u0631 \u062F\u0627\u0648\u0637\u0644\u0628\u0627\u0646\u0647\u200C \u0627\u0645\u06A9\u0627\u0646\u200C\u067E\u0630\u06CC\u0631 \u0627\u0633\u062A. \u0645\u0627 \u0645\u0634\u062A\u0627\u0642 \u0647\u0645\u06A9\u0627\u0631\u06CC \u0628\u0627 \u0647\u0645\u0647\u200C\u0654 \u0645\u0624\u0633\u0633\u0627\u062A \u0648 \u0646\u0647\u0627\u062F\u200C\u0647\u0627\u06CC \u0645\u0631\u062A\u0628\u0637 \u0628\u0627 \u0641\u0631\u0647\u0646\u06AF \u0648 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646\u060C \u0627\u06CC\u0631\u0627\u0646\u200C\u0634\u0646\u0627\u0633\u0627\u0646\u060C \u067E\u0698\u0648\u0647\u0634\u06AF\u0631\u0627\u0646 \u0631\u0634\u062A\u0647\u200C\u0647\u0627\u06CC \u0647\u0646\u0631\u06CC\u060C \u0645\u062C\u0645\u0648\u0639\u0647\u200C\u062F\u0627\u0631\u0627\u0646 \u0648 \u0635\u0627\u062D\u0628\u0627\u0646 \u0645\u062C\u0645\u0648\u0639\u0647\u200C\u0647\u0627\u06CC \u0622\u062B\u0627\u0631 \u0647\u0646\u0631 \u0627\u06CC\u0631\u0627\u0646\u060C \u0645\u062A\u062E\u0635\u0635\u0627\u0646 \u0641\u0646\u0627\u0648\u0631\u06CC \u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0648 \u0645\u062D\u0635\u0648\u0644 \u062F\u06CC\u062C\u06CC\u062A\u0627\u0644\u060C \u0628\u0631\u0646\u0627\u0645\u0647\u200C\u0646\u0648\u06CC\u0633\u0627\u0646\u060C \u0647\u0646\u0631\u062C\u0648\u06CC\u0627\u0646\u060C \u0648 \u2026 \u0647\u0633\u062A\u06CC\u0645."),p(),d(184,"p"),h(185,"\u062D\u0645\u0627\u06CC\u062A\u200C\u0647\u0627\u06CC \u0645\u0627\u0644\u06CC \u0635\u0631\u0641 \u062A\u0648\u0633\u0639\u0647\u200C\u0654 \u0645\u062D\u0635\u0648\u0644\u060C \u06A9\u0627\u0631 \u067E\u0698\u0648\u0647\u0634\u06CC\u060C \u062A\u06A9\u0645\u064A\u0644 \u0622\u0631\u0634\u064A\u0648 \u062A\u0635\u0648\u064A\u0631\u06CC\u060C \u0648 \u0627\u0646\u062A\u0634\u0627\u0631 \u0645\u062D\u062A\u0648\u0627\u0647\u0627\u06CC \u0645\u0631\u062A\u0628\u0637 \u0628\u0627 \u067E\u0631\u0648\u0698\u0647 \u0645\u06CC\u200C\u0634\u0648\u062F \u0648 \u06AF\u0632\u0627\u0631\u0634 \u0647\u0632\u064A\u0646\u0647\u200C\u0647\u0627 \u0648 \u0641\u0639\u0627\u0644\u064A\u062A\u200C\u0647\u0627 \u0628\u0647 \u0637\u0648\u0631 \u0633\u0627\u0644\u0627\u0646\u0647 \u0628\u0631\u0627\u06CC \u062D\u0627\u0645\u064A\u0627\u0646 \u0622\u0646 \u0627\u0631\u0633\u0627\u0644 \u062E\u0648\u0627\u0647\u062F \u0634\u062F. \u062F\u0633\u062A \u064A\u0627\u0631\u06CC \u0634\u0645\u0627 \u0631\u0627 \u0628\u0647 \u06AF\u0631\u0645\u06CC \u0645\u06CC\u200C\u0641\u0634\u0627\u0631\u064A\u0645 \u0648 \u0628\u0647 \u0641\u0631\u062F\u0627\u06CC \u0631\u0648\u0634\u0646\u200C\u062A\u0631\u06CC \u06A9\u0647 \u0628\u0627 \u062A\u0644\u0627\u0634\u200C\u0647\u0627\u06CC \u0627\u0645\u0631\u0648\u0632\u0645\u0627\u0646 \u0633\u0627\u062E\u062A\u0647 \u062E\u0648\u0627\u0647\u062F \u0634\u062F \u0633\u062E\u062A \u0627\u0645\u064A\u062F\u0648\u0627\u0631\u06CC\u0645. \u0634\u0645\u0627 \u0645\u06CC\u200C\u062A\u0648\u0627\u0646\u06CC\u062F \u0627\u0632 \u0637\u0631\u06CC\u0642 \u0627\u06CC\u0646 \u0646\u0634\u0627\u0646\u06CC \u0628\u0627 \u0645\u0627 \u062F\u0631 \u062A\u0645\u0627\u0633 \u0628\u0627\u0634\u06CC\u062F:"),p(),d(186,"p")(187,"a",36),h(188,"info@simurghnameh.com"),p()(),v(189,"div",10),d(190,"h1"),h(191,"\u062D\u0627\u0645\u06CC\u0627\u0646 \u0645\u0627\u0644\u06CC"),p(),d(192,"div",37)(193,"div",38),h(194," \u0635\u0627\u0628\u0631 \u0627\u0628\u0631"),v(195,"br"),h(196," \u0628\u0647\u0627\u062F\u0631 \u0627\u062F\u0628"),v(197,"br"),h(198," \u0647\u0627\u0634\u0645 \u0627\u0641\u0633\u0631\u06CC\u0627\u0646"),v(199,"br"),h(200," \u062B\u0645\u06CC\u0644\u0627 \u0627\u0645\u06CC\u0631\u0627\u0628\u0631\u0627\u0647\u06CC\u0645\u06CC"),v(201,"br"),h(202," \u0633\u0647\u0631\u0627\u0628 \u067E\u0648\u0631\u0646\u0627\u0638\u0631\u06CC"),v(203,"br"),h(204," \u06A9\u0627\u0641\u0647 \u062A\u0647\u0631\u0648\u0646"),v(205,"br"),h(206," \u0627\u0645\u06CC\u0631 \u062C\u062F\u06CC\u062F\u06CC"),v(207,"br"),h(208," \u0622\u0631\u0634 \u062C\u0648\u06CC\u0646\u062F\u0647"),v(209,"br"),h(210," \u0645\u062D\u0645\u062F \u062C\u0645\u0627\u0644\u06CC\u200C \u06A9\u0627\u0638\u0645\u06CC\u0646\u06CC"),v(211,"br"),h(212," \u0622\u0631\u0634\u06CC\u0627 \u0686\u0631\u0627\u063A\u0686\u06CC"),v(213,"br"),h(214," \u062B\u0631\u06CC\u0627 \u062D\u0628\u06CC\u0628\u06CC"),v(215,"br"),h(216," \u0645\u0647\u0631\u0627\u0646 \u062D\u0633\u06CC\u0646\u200C\u0646\u06CC\u0627"),v(217,"br"),h(218," \u0631\u0636\u0627 \u062F\u0698\u0627\u06AF\u0627\u0647 "),p(),d(219,"div",38),h(220," \u0631\u0627\u062F\u0645\u0627\u0646 \u0631\u0628\u06CC\u0639\u06CC"),v(221,"br"),h(222," \u0645\u0647\u0633\u0627 \u0632\u0645\u0627\u0646\u06CC\u0627\u0646"),v(223,"br"),h(224," \u0647\u0645\u0627 \u0634\u062C\u0627\u0639\u06CC"),v(225,"br"),h(226," \u0645\u0648\u0646\u0627 \u0634\u06A9\u0631\u0631\u06CC\u0632"),v(227,"br"),h(228," \u067E\u06AF\u0627\u0647 \u0634\u0647\u06CC\u062F\u06CC\u200C\u0648\u062C\u062F"),v(229,"br"),h(230," \u0647\u0645\u0627 \u0634\u06CC\u0648\u0627"),v(231,"br"),h(232," \u0632\u0647\u0631\u0627 \u0639\u0628\u062F\u06CC"),v(233,"br"),h(234," \u0627\u0645\u06CC\u0631 \u0639\u0631\u0628\u0632\u0627\u062F\u0647 \u062C\u0645\u0627\u0644\u06CC"),v(235,"br"),h(236," \u0632\u0647\u0631\u0647 \u0639\u0631\u0628\u0632\u0627\u062F\u0647 \u062C\u0645\u0627\u0644\u06CC"),v(237,"br"),h(238," \u0645\u06CC\u0646\u0627 \u063A\u0627\u0632\u06CC\u0627\u0646\u06CC"),v(239,"br"),h(240," \u0641\u0631\u06CC\u0627\u0631 \u0641\u0627\u0637\u0645\u06CC"),v(241,"br"),h(242," \u0632\u0647\u0631\u0627 \u0641\u062A\u0648\u062D\u200C\u0646\u0698\u0627\u062F"),v(243,"br"),h(244," \u0646\u0631\u062C\u0633 \u0642\u0627\u0633\u0645\u06CC "),p(),d(245,"div",38),h(246," \u0641\u0631\u06CC\u0628\u0631\u0632 \u06A9\u06CC\u0647\u0627\u0646\u0641\u0631"),v(247,"br"),h(248," \u0645\u062D\u0645\u062F \u0645\u062C\u06CC\u062F\u06CC"),v(249,"br"),h(250," \u0645\u064F\u062D\u0650\u0642"),v(251,"br"),h(252," \u0646\u0648\u06CC\u062F \u0645\u062D\u0645\u062F\u0632\u0627\u062F\u0647"),v(253,"br"),h(254," \u06AF\u0631\u0648\u0647 \u0645\u0639\u0645\u0627\u0631\u0627\u0646 \u0628\u0627\u0647\u0645"),v(255,"br"),h(256," \u0645\u0631\u06CC\u0645 \u0645\u0642\u06CC\u0633\u0647"),v(257,"br"),h(258," \u0627\u0644\u0647\u0627\u0645 \u0645\u0644\u06A9\u200C\u0627\u0641\u0634\u0627\u0631"),v(259,"br"),h(260," \u0635\u0628\u0627 \u0645\u0646\u0648\u0686\u0647\u0631\u06CC"),v(261,"br"),h(262," \u0646\u0633\u06CC\u0628\u0647 \u0645\u0648\u0633\u0648\u06CC\u200C \u0627\u06CC\u0631\u0627\u0646\u06CC"),v(263,"br"),h(264," \u0645\u0627\u0631\u0627\u0644 \u0645\u06CC\u0631\u0632\u0627\u06CC\u06CC"),v(265,"br"),h(266," \u06A9\u0627\u0631\u062E\u0627\u0646\u0647\u0654 \u0646\u0634\u06CC\u0645\u0646"),v(267,"br"),h(268," \u0647\u0631\u0645\u0632 \u0647\u0645\u062A\u06CC\u0627\u0646 "),p()(),d(269,"div",39)(270,"div",38),h(271," \u0635\u0627\u0628\u0631 \u0627\u0628\u0631"),v(272,"br"),h(273," \u0628\u0647\u0627\u062F\u0631 \u0627\u062F\u0628"),v(274,"br"),h(275," \u0647\u0627\u0634\u0645 \u0627\u0641\u0633\u0631\u06CC\u0627\u0646"),v(276,"br"),h(277," \u062B\u0645\u06CC\u0644\u0627 \u0627\u0645\u06CC\u0631\u0627\u0628\u0631\u0627\u0647\u06CC\u0645\u06CC"),v(278,"br"),h(279," \u0633\u0647\u0631\u0627\u0628 \u067E\u0648\u0631\u0646\u0627\u0638\u0631\u06CC"),v(280,"br"),h(281," \u06A9\u0627\u0641\u0647 \u062A\u0647\u0631\u0648\u0646"),v(282,"br"),h(283," \u0627\u0645\u06CC\u0631 \u062C\u062F\u06CC\u062F\u06CC"),v(284,"br"),h(285," \u0622\u0631\u0634 \u062C\u0648\u06CC\u0646\u062F\u0647"),v(286,"br"),h(287," \u0645\u062D\u0645\u062F \u062C\u0645\u0627\u0644\u06CC\u200C \u06A9\u0627\u0638\u0645\u06CC\u0646\u06CC"),v(288,"br"),h(289," \u0622\u0631\u0634\u06CC\u0627 \u0686\u0631\u0627\u063A\u0686\u06CC"),v(290,"br"),h(291," \u062B\u0631\u06CC\u0627 \u062D\u0628\u06CC\u0628\u06CC"),v(292,"br"),h(293," \u0645\u0647\u0631\u0627\u0646 \u062D\u0633\u06CC\u0646\u200C\u0646\u06CC\u0627"),v(294,"br"),h(295," \u0631\u0636\u0627 \u062F\u0698\u0627\u06AF\u0627\u0647"),v(296,"br"),h(297," \u0631\u0627\u062F\u0645\u0627\u0646 \u0631\u0628\u06CC\u0639\u06CC"),v(298,"br"),h(299," \u0645\u0647\u0633\u0627 \u0632\u0645\u0627\u0646\u06CC\u0627\u0646"),v(300,"br"),h(301," \u0647\u0645\u0627 \u0634\u062C\u0627\u0639\u06CC"),v(302,"br"),h(303," \u0645\u0648\u0646\u0627 \u0634\u06A9\u0631\u0631\u06CC\u0632"),v(304,"br"),h(305," \u067E\u06AF\u0627\u0647 \u0634\u0647\u06CC\u062F\u06CC\u200C\u0648\u062C\u062F"),v(306,"br"),h(307," \u0647\u0645\u0627 \u0634\u06CC\u0648\u0627 "),p(),d(308,"div",38),h(309," \u0632\u0647\u0631\u0627 \u0639\u0628\u062F\u06CC"),v(310,"br"),h(311," \u0627\u0645\u06CC\u0631 \u0639\u0631\u0628\u0632\u0627\u062F\u0647 \u062C\u0645\u0627\u0644\u06CC"),v(312,"br"),h(313," \u0632\u0647\u0631\u0647 \u0639\u0631\u0628\u0632\u0627\u062F\u0647 \u062C\u0645\u0627\u0644\u06CC"),v(314,"br"),h(315," \u0645\u06CC\u0646\u0627 \u063A\u0627\u0632\u06CC\u0627\u0646\u06CC"),v(316,"br"),h(317," \u0641\u0631\u06CC\u0627\u0631 \u0641\u0627\u0637\u0645\u06CC"),v(318,"br"),h(319," \u0632\u0647\u0631\u0627 \u0641\u062A\u0648\u062D\u200C\u0646\u0698\u0627\u062F"),v(320,"br"),h(321," \u0646\u0631\u062C\u0633 \u0642\u0627\u0633\u0645\u06CC"),v(322,"br"),h(323," \u0641\u0631\u06CC\u0628\u0631\u0632 \u06A9\u06CC\u0647\u0627\u0646\u0641\u0631"),v(324,"br"),h(325," \u0645\u062D\u0645\u062F \u0645\u062C\u06CC\u062F\u06CC"),v(326,"br"),h(327," \u0645\u064F\u062D\u0650\u0642"),v(328,"br"),h(329," \u0646\u0648\u06CC\u062F \u0645\u062D\u0645\u062F\u0632\u0627\u062F\u0647"),v(330,"br"),h(331," \u06AF\u0631\u0648\u0647 \u0645\u0639\u0645\u0627\u0631\u0627\u0646 \u0628\u0627\u0647\u0645"),v(332,"br"),h(333," \u0645\u0631\u06CC\u0645 \u0645\u0642\u06CC\u0633\u0647"),v(334,"br"),h(335," \u0627\u0644\u0647\u0627\u0645 \u0645\u0644\u06A9\u200C\u0627\u0641\u0634\u0627\u0631"),v(336,"br"),h(337," \u0635\u0628\u0627 \u0645\u0646\u0648\u0686\u0647\u0631\u06CC"),v(338,"br"),h(339," \u0646\u0633\u06CC\u0628\u0647 \u0645\u0648\u0633\u0648\u06CC\u200C \u0627\u06CC\u0631\u0627\u0646\u06CC"),v(340,"br"),h(341," \u0645\u0627\u0631\u0627\u0644 \u0645\u06CC\u0631\u0632\u0627\u06CC\u06CC"),v(342,"br"),h(343," \u06A9\u0627\u0631\u062E\u0627\u0646\u0647\u0654 \u0646\u0634\u06CC\u0645\u0646"),v(344,"br"),h(345," \u0647\u0631\u0645\u0632 \u0647\u0645\u062A\u06CC\u0627\u0646 "),p()(),v(346,"a",40)(347,"div",10),d(348,"h1"),h(349,"\u062F\u0627\u0648\u0637\u0644\u0628\u0627\u0646 \u06AF\u0630\u0634\u062A\u0647 \u062A\u0627 \u0627\u0645\u0631\u0648\u0632"),p(),d(350,"div",37)(351,"div",38),h(352," \u0627\u0645\u06CC\u0631\u0631\u0636\u0627 \u0622\u0632\u0627\u062F\u0647"),v(353,"br"),h(354," \u0628\u0647\u0646\u0627\u0645 \u0627\u0628\u0648\u062A\u0631\u0627\u0628\u06CC\u0627\u0646"),v(355,"br"),h(356," \u0647\u062F\u0627 \u0627\u0631\u0628\u0627\u0628\u06CC"),v(357,"br"),h(358," \u0633\u0645\u0646\u200C\u0646\u0627\u0632 \u0627\u0698\u062F\u0631\u06CC"),v(359,"br"),h(360," \u0627\u06CC\u0645\u0627\u0646 \u0627\u0641\u0633\u0631\u06CC\u0627\u0646"),v(361,"br"),h(362," \u0633\u0627\u0631\u0627 \u0627\u0641\u0633\u0631\u06CC\u0627\u0646"),v(363,"br"),h(364," \u0633\u0628\u062D\u0627\u0646 \u0627\u0641\u0633\u0631\u06CC\u0627\u0646"),v(365,"br"),h(366," \u0635\u062D\u0631\u0627 \u0627\u0645\u062C\u062F\u06CC\u0627\u0646"),v(367,"br"),h(368," \u067E\u06AF\u0627\u0647 \u0628\u0647\u0627\u062F\u0631"),v(369,"br"),h(370," \u0645\u0647\u0631\u06CC \u0628\u0647\u0641\u0631"),v(371,"br"),h(372," \u0634\u06CC\u0648\u0627 \u062C\u0644\u06CC\u0644\u06CC"),v(373,"br"),h(374," \u0645\u0647\u0631\u0627\u0646 \u062D\u0633\u06CC\u0646\u200C\u0646\u06CC\u0627 "),p(),d(375,"div",38),h(376," \u0622\u0646\u06CC \u062E\u0627\u0686\u06CC\u06A9\u06CC\u0627\u0646"),v(377,"br"),h(378," \u0622\u0631\u06CC\u0627\u0633\u067E \u062F\u0627\u062F\u0628\u0647"),v(379,"br"),h(380," \u0633\u06CC\u0627\u0645\u06A9 \u062F\u0647\u0628\u062F"),v(381,"br"),h(382," \u0645\u062D\u0645\u062F \u0631\u0627\u0632\u0642\u06CC"),v(383,"br"),h(384," \u0639\u0644\u06CC \u0631\u0641\u06CC\u0639"),v(385,"br"),h(386," \u0639\u0644\u06CC\u0631\u0636\u0627 \u0633\u0627\u0639\u06CC"),v(387,"br"),h(388," \u0627\u0633\u062A\u0648\u062F\u06CC\u0648 \u0634\u06CC\u0632\u0627\u0631\u0648"),v(389,"br"),h(390," \u0632\u0647\u0631\u0627 \u0635\u0627\u0644\u062D\u06CC"),v(391,"br"),h(392," \u0622\u0646\u0627\u0647\u06CC\u062A\u0627 \u0641\u0631\u0634\u0686\u06CC"),v(393,"br"),h(394," \u0631\u06CC\u062D\u0627\u0646\u0647 \u0641\u0631\u0646\u0642\u06CC\u200C\u0632\u0627\u062F"),v(395,"br"),h(396," \u0627\u0645\u06CC\u0631\u0639\u0644\u06CC \u06AF\u0644\u0628\u0646 "),p(),d(397,"div",38),h(398," \u0633\u0628\u0627 \u0644\u0639\u0644\u200C \u0645\u062D\u0645\u062F\u06CC"),v(399,"br"),h(400," \u0645\u0647\u0631\u0646\u0648\u0634 \u0645\u062D\u0628\u06CC"),v(401,"br"),h(402," \u0634\u0639\u0644\u0647 \u0645\u062D\u0644\u0648\u062C\u06CC"),v(403,"br"),h(404," \u0633\u062D\u0631 \u0639\u0627\u0628\u062F\u06CC\u0646\u06CC \u0645\u063A\u0627\u0646\u06A9\u06CC"),v(405,"br"),h(406," \u06A9\u06CC\u0645\u06CC\u0627 \u0645\u0644\u06A9\u06CC"),v(407,"br"),h(408," \u0645\u062C\u062A\u0628\u06CC \u0645\u0647\u0631\u0639\u0644\u06CC"),v(409,"br"),h(410," \u0641\u0627\u0637\u0645\u0647 \u0645\u0648\u062D\u062F\u0646\u0698\u0627\u062F"),v(411,"br"),h(412," \u0627\u0644\u0646\u0627\u0632 \u0646\u062C\u0641\u06CC"),v(413,"br"),h(414," \u0646\u06CC\u06A9\u0627 \u0646\u0638\u0631\u06CC"),v(415,"br"),h(416," \u0634\u0628\u0646\u0645 \u0646\u06A9\u0648\u0646\u0627\u0645"),v(417,"br"),h(418," \u0628\u0627\u0628\u06A9 \u0648\u0646\u062F\u0627\u062F "),p()(),d(419,"div",39)(420,"div",38),h(421," \u0627\u0645\u06CC\u0631\u0631\u0636\u0627 \u0622\u0632\u0627\u062F\u0647"),v(422,"br"),h(423," \u0628\u0647\u0646\u0627\u0645 \u0627\u0628\u0648\u062A\u0631\u0627\u0628\u06CC\u0627\u0646"),v(424,"br"),h(425," \u0647\u062F\u0627 \u0627\u0631\u0628\u0627\u0628\u06CC"),v(426,"br"),h(427," \u0633\u0645\u0646\u200C\u0646\u0627\u0632 \u0627\u0698\u062F\u0631\u06CC"),v(428,"br"),h(429," \u0627\u06CC\u0645\u0627\u0646 \u0627\u0641\u0633\u0631\u06CC\u0627\u0646"),v(430,"br"),h(431," \u0633\u0627\u0631\u0627 \u0627\u0641\u0633\u0631\u06CC\u0627\u0646"),v(432,"br"),h(433," \u0633\u0628\u062D\u0627\u0646 \u0627\u0641\u0633\u0631\u06CC\u0627\u0646"),v(434,"br"),h(435," \u0635\u062D\u0631\u0627 \u0627\u0645\u062C\u062F\u06CC\u0627\u0646"),v(436,"br"),h(437," \u067E\u06AF\u0627\u0647 \u0628\u0647\u0627\u062F\u0631"),v(438,"br"),h(439," \u0645\u0647\u0631\u06CC \u0628\u0647\u0641\u0631"),v(440,"br"),h(441," \u0634\u06CC\u0648\u0627 \u062C\u0644\u06CC\u0644\u06CC"),v(442,"br"),h(443," \u0645\u0647\u0631\u0627\u0646 \u062D\u0633\u06CC\u0646\u06CC\u200C\u0646\u06CC\u0627"),v(444,"br"),h(445," \u0622\u0646\u06CC \u062E\u0627\u0686\u06CC\u06A9\u06CC\u0627\u0646"),v(446,"br"),h(447," \u0622\u0631\u06CC\u0627\u0633\u067E \u062F\u0627\u062F\u0628\u0647"),v(448,"br"),h(449," \u0633\u06CC\u0627\u0645\u06A9 \u062F\u0647\u0628\u062F"),v(450,"br"),h(451," \u0645\u062D\u0645\u062F \u0631\u0627\u0632\u0642\u06CC"),v(452,"br"),p(),d(453,"div",38),h(454," \u0639\u0644\u06CC \u0631\u0641\u06CC\u0639"),v(455,"br"),h(456," \u0639\u0644\u06CC\u0631\u0636\u0627 \u0633\u0627\u0639\u06CC"),v(457,"br"),h(458," \u0627\u0633\u062A\u0648\u062F\u06CC\u0648 \u0634\u06CC\u0632\u0627\u0631\u0648"),v(459,"br"),h(460," \u0632\u0647\u0631\u0627 \u0635\u0627\u0644\u062D\u06CC"),v(461,"br"),h(462," \u0622\u0646\u0627\u0647\u06CC\u062A\u0627 \u0641\u0631\u0634\u0686\u06CC"),v(463,"br"),h(464," \u0631\u06CC\u062D\u0627\u0646\u0647 \u0641\u0631\u0646\u0642\u06CC\u200C\u0632\u0627\u062F"),v(465,"br"),h(466," \u0627\u0645\u06CC\u0631\u0639\u0644\u06CC \u06AF\u0644\u0628\u0646"),v(467,"br"),h(468," \u0633\u0628\u0627 \u0644\u0639\u0644\u200C \u0645\u062D\u0645\u062F\u06CC"),v(469,"br"),h(470," \u0645\u0647\u0631\u0646\u0648\u0634 \u0645\u062D\u0628\u06CC"),v(471,"br"),h(472," \u0634\u0639\u0644\u0647 \u0645\u062D\u0644\u0648\u062C\u06CC"),v(473,"br"),h(474," \u0633\u062D\u0631 \u0639\u0627\u0628\u062F\u06CC\u0646\u06CC \u0645\u063A\u0627\u0646\u06A9\u06CC"),v(475,"br"),h(476," \u06A9\u06CC\u0645\u06CC\u0627 \u0645\u0644\u06A9\u06CC"),v(477,"br"),h(478," \u0645\u062C\u062A\u0628\u06CC \u0645\u0647\u0631\u0639\u0644\u06CC"),v(479,"br"),h(480," \u0641\u0627\u0637\u0645\u0647 \u0645\u0648\u062D\u062F\u0646\u0698\u0627\u062F"),v(481,"br"),h(482," \u0627\u0644\u0646\u0627\u0632 \u0646\u062C\u0641\u06CC"),v(483,"br"),h(484," \u0646\u06CC\u06A9\u0627 \u0646\u0638\u0631\u06CC"),v(485,"br"),h(486," \u0634\u0628\u0646\u0645 \u0646\u06A9\u0648\u0646\u0627\u0645"),v(487,"br"),h(488," \u0628\u0627\u0628\u06A9 \u0648\u0646\u062F\u0627\u062F "),p()(),v(489,"a",41)(490,"div",10),p()(),d(491,"div",23)(492,"div",1),v(493,"div",2),d(494,"div",3)(495,"div",24)(496,"div",25)(497,"h1",26),h(498,"\u0646\u0647\u0627\u062F\u0647\u0627\u06CC \u0647\u0645\u06A9\u0627\u0631"),p()(),d(499,"div",27)(500,"div",28),V("click",function(){return o.nextPartner()}),p(),d(501,"div",29),V("click",function(){return o.prevPartner()}),p()()()(),v(502,"div",2),p(),d(503,"div",30),V("swiperight",function(){return o.prevPartner()})("swipeleft",function(){return o.nextPartner()}),d(504,"div",31)(505,"a",42),v(506,"div",43),d(507,"div",44),v(508,"img",45),p(),d(509,"div",46),h(510,"\u06AF\u0631\u0648\u0647 \u0645\u0637\u0627\u0644\u0639\u0627\u062A \u0647\u0646\u0631 \u0627\u0633\u0644\u0627\u0645\u06CC \u063A\u0628\u0627\u0631"),p(),d(511,"div",47),h(512,"Islamic Art Studies"),p()(),d(513,"a",48),v(514,"div",43),d(515,"div",44),v(516,"img",45),p(),d(517,"div",46),h(518,"\u0627\u0633\u062A\u0648\u062F\u06CC\u0648 \u0634\u06CC\u0632\u0627\u0631\u0648"),p(),d(519,"div",47),h(520,"Studio Shizaru"),p()(),d(521,"a",49),v(522,"div",43),d(523,"div",44),v(524,"img",45),p(),d(525,"div",46),h(526,"\u0645\u0624\u0633\u0633\u0647\u200C\u0654 \u0646\u0648\u0631\u0648\u0632\u06AF\u0627\u0646"),p(),d(527,"div",47),h(528,"Nowruzgan"),p()(),d(529,"a",50),v(530,"div",43),d(531,"div",44),v(532,"img",45),p(),d(533,"div",46),h(534,"\u062D\u0631\u0641\u0647: \u0647\u0646\u0631\u0645\u0646\u062F"),p(),d(535,"div",47),h(536,"Herfeh: Honarmand"),p()(),d(537,"a",51),v(538,"div",43),d(539,"div",44),v(540,"img",45),p(),d(541,"div",46),h(542,"\u0639\u0645\u0627\u0631\u062A \u062E\u0648\u0631\u0634\u06CC\u062F"),p(),d(543,"div",47),h(544,"Emarate Khorshid"),p()(),d(545,"a",52),v(546,"div",43),d(547,"div",44),v(548,"img",45),p(),d(549,"div",46),h(550,"\u0645\u0639\u0645\u0627\u0631\u0627\u0646 \u0628\u0627\u0647\u0645"),p(),d(551,"div",47),h(552,"Architectures Together"),p()(),d(553,"a",53),v(554,"div",43),d(555,"div",44),v(556,"img",45),p(),d(557,"div",46),h(558,"\u06AF\u0646\u062C\u0648\u0631"),p(),d(559,"div",47),h(560,"Ganjoor"),p()()()()(),d(561,"div",1),v(562,"div",2),d(563,"div",3),v(564,"a",54)(565,"div",10),d(566,"h1"),h(567,"\u0647\u0645\u06A9\u0627\u0631\u0627\u0646 \u0627\u0645\u0631\u0648\u0632"),p(),d(568,"div",37)(569,"div",38)(570,"h3"),h(571,"\u067E\u0698\u0648\u0647\u0634 \u0648 \u0633\u0627\u0632\u0645\u0627\u0646\u062F\u0647\u06CC"),v(572,"br"),h(573,"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0622\u062B\u0627\u0631:"),p(),h(574," \u0646\u06AF\u0627\u0631 \u0634\u0631\u06CC\u0639\u062A\u200C\u0646\u06CC\u0627"),v(575,"br"),h(576," \u0646\u06CC\u0644\u0648\u0641\u0631 \u0644\u0627\u0631\u06CC"),v(577,"br"),h(578," \u0645\u0647\u0646\u0627\u0645 \u0646\u062C\u0641\u06CC"),v(579,"br"),h(580," \u0632\u0647\u0631\u0647 \u0645\u062D\u0645\u062F\u06CC"),v(581,"br"),h(582," \u0633\u067E\u06CC\u062F\u0647 \u0627\u062D\u0645\u062F\u062E\u0627\u0646\u06CC"),v(583,"br"),h(584," \u0633\u0645\u06CC\u0631\u0627 \u0645\u062E\u062A\u0627\u0631\u06CC"),v(585,"br"),h(586," \u0633\u062D\u0631 \u0647\u0627\u0634\u0645\u06CC\u0627\u0646"),v(587,"br"),h(588," \u062F\u06CC\u0646\u0627 \u062F\u0631\u062E\u0634\u0646\u062F\u0647"),v(589,"br"),p(),d(590,"div",38)(591,"h3"),h(592,"\u0641\u0646\u06CC:"),p(),h(593," \u0645\u0647\u062F\u06CC \u0627\u0637\u0627\u0639\u062A\u06CC"),v(594,"br"),h(595," \u0628\u0627\u0628\u06A9 \u0648\u0646\u062F\u0627\u062F "),v(596,"p"),d(597,"h3"),h(598,"\u062A\u0627\u0654\u0644\u06CC\u0641 \u062A\u0627\u0631\u06CC\u062E \u0641\u0631\u0647\u0646\u06AF \u0648 \u0647\u0646\u0631:"),p(),h(599," \u0622\u0631\u06CC\u0627\u0633\u067E \u062F\u0627\u062F\u0628\u0647"),v(600,"br"),h(601," \u0647\u062F\u0627 \u0627\u0631\u0628\u0627\u0628\u06CC "),v(602,"p"),d(603,"h3"),h(604,"\u0627\u062C\u0631\u0627\u06CC\u06CC:"),p(),h(605," \u0633\u0645\u0646\u200C\u0646\u0627\u0632 \u0627\u0698\u062F\u0631\u06CC"),v(606,"br"),p(),d(607,"div",38)(608,"h3"),h(609,"\u0645\u062F\u06CC\u0631\u06CC\u062A \u0648 \u0645\u062D\u0635\u0648\u0644:"),p(),h(610," \u0645\u0647\u0631\u0646\u0648\u0634 \u0645\u062D\u0628\u06CC"),v(611,"br"),h(612," \u0627\u06CC\u0645\u0627\u0646 \u0627\u0641\u0633\u0631\u06CC\u0627\u0646"),v(613,"br"),h(614," \u0634\u0647\u0631\u0632\u0627\u062F \u0645\u06CC\u0631\u0628\u0647\u0627"),v(615,"br"),h(616," \u0627\u0645\u06CC\u0631\u0631\u0636\u0627 \u0622\u0632\u0627\u062F\u0647 "),p()(),d(617,"div",39)(618,"div",38)(619,"h3"),h(620,"\u067E\u0698\u0648\u0647\u0634 \u0648 \u0633\u0627\u0632\u0645\u0627\u0646\u062F\u0647\u06CC"),v(621,"br"),h(622,"\u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0622\u062B\u0627\u0631:"),p(),h(623," \u0646\u06AF\u0627\u0631 \u0634\u0631\u06CC\u0639\u062A\u200C\u0646\u06CC\u0627"),v(624,"br"),h(625," \u0646\u06CC\u0644\u0648\u0641\u0631 \u0644\u0627\u0631\u06CC"),v(626,"br"),h(627," \u0645\u0647\u0646\u0627\u0645 \u0646\u062C\u0641\u06CC"),v(628,"br"),h(629," \u0632\u0647\u0631\u0647 \u0645\u062D\u0645\u062F\u06CC"),v(630,"br"),h(631," \u0633\u067E\u06CC\u062F\u0647 \u0627\u062D\u0645\u062F\u062E\u0627\u0646\u06CC"),v(632,"br"),h(633," \u0633\u0645\u06CC\u0631\u0627 \u0645\u062E\u062A\u0627\u0631\u06CC"),v(634,"br"),h(635," \u0633\u062D\u0631 \u0647\u0627\u0634\u0645\u06CC\u0627\u0646"),v(636,"br"),h(637," \u062F\u06CC\u0646\u0627 \u062F\u0631\u062E\u0634\u0646\u062F\u0647"),v(638,"br"),d(639,"h3"),h(640,"\u0641\u0646\u06CC:"),p(),h(641," \u0645\u0647\u062F\u06CC \u0627\u0637\u0627\u0639\u062A\u06CC"),v(642,"br"),h(643," \u0628\u0627\u0628\u06A9 \u0648\u0646\u062F\u0627\u062F"),v(644,"br")(645,"p"),p(),d(646,"div",38)(647,"h3"),h(648,"\u062A\u0627\u0654\u0644\u06CC\u0641 \u062A\u0627\u0631\u06CC\u062E \u0641\u0631\u0647\u0646\u06AF \u0648 \u0647\u0646\u0631:"),p(),h(649," \u0622\u0631\u06CC\u0627\u0633\u067E \u062F\u0627\u062F\u0628\u0647"),v(650,"br"),h(651," \u0647\u062F\u0627 \u0627\u0631\u0628\u0627\u0628\u06CC"),v(652,"br")(653,"p"),d(654,"h3"),h(655,"\u0627\u062C\u0631\u0627\u06CC\u06CC:"),p(),h(656," \u0633\u0645\u0646\u200C\u0646\u0627\u0632 \u0627\u0698\u062F\u0631\u06CC"),v(657,"br"),d(658,"h3"),h(659,"\u0645\u062F\u06CC\u0631\u06CC\u062A \u0648 \u0645\u062D\u0635\u0648\u0644:"),p(),h(660," \u0645\u0647\u0631\u0646\u0648\u0634 \u0645\u062D\u0628\u06CC"),v(661,"br"),h(662," \u0627\u06CC\u0645\u0627\u0646 \u0627\u0641\u0633\u0631\u06CC\u0627\u0646"),v(663,"br"),h(664," \u0634\u0647\u0631\u0632\u0627\u062F \u0645\u06CC\u0631\u0628\u0647\u0627"),v(665,"br"),h(666," \u0627\u0645\u06CC\u0631\u0631\u0636\u0627 \u0622\u0632\u0627\u062F\u0647 "),p()(),v(667,"div",10),p(),v(668,"div",2),p()),i&2&&(w(138),Ze("--index",o.activePublisher)("--size",o.publishers.list.length),w(14),ve(o.publishers.list),w(339),Ze("--index",o.activePartner)("--size",7))},styles:['[_nghost-%COMP%]{background-color:var(--black-color);color:#fff;background-image:url(/assets/blocks-bg.svg);background-size:100% auto;background-position:left top;background-repeat:no-repeat}.insert-artwork[_ngcontent-%COMP%]{text-align:center}.insert-artwork[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:60%}.method-box[_ngcontent-%COMP%]{display:flex;margin-bottom:48px}.method-box[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;justify-content:center}.method-box[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:150px}.columned-text[_ngcontent-%COMP%]{display:flex;margin-top:48px}.columned-text[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]{flex:1;font-size:14px}.columned-text[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:16px}.columned-text[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]:not(:first-child){padding-top:12px}@media screen and (max-width: 960px){.columned-text[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]{font-size:inherit}.columned-text[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:14px;line-height:22px}}.ol[_ngcontent-%COMP%]{margin:48px 0}.ol[_ngcontent-%COMP%]   .li[_ngcontent-%COMP%]{display:flex;margin:24px 0}.ol[_ngcontent-%COMP%]   .li[_ngcontent-%COMP%]   .bullet[_ngcontent-%COMP%]{width:50px;line-height:32px}@media screen and (max-width: 960px){.ol[_ngcontent-%COMP%]   .li[_ngcontent-%COMP%]   .bullet[_ngcontent-%COMP%]{width:20px}}.ol[_ngcontent-%COMP%]   .li[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{flex:1;line-height:32px}.ol[_ngcontent-%COMP%]   .li[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   em[_ngcontent-%COMP%]{padding-left:5px;font-style:normal;font-weight:600;font-variation-settings:"CNTR" 100}.poem[_ngcontent-%COMP%]{display:flex;gap:48px}.poem[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]{flex:1}.poem[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]:first-child{text-align:left}@media screen and (max-width: 960px){.poem[_ngcontent-%COMP%]{flex-direction:column;gap:10px}.poem[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%], .poem[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]:first-child{text-align:center}}.display-box[_ngcontent-%COMP%]{display:flex;gap:48px;justify-content:center}.display-box[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.display-box[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   .caption[_ngcontent-%COMP%]{text-align:center}@media screen and (max-width: 960px){.display-box[_ngcontent-%COMP%]{flex-direction:column;gap:30px}}@media screen and (max-width: 960px){.row[_ngcontent-%COMP%]{padding:0 20px}}']});let r=e;return r})();var Ky=[{path:"",component:Qb},{path:"about-us",component:Qy},{path:"archive",component:kf},{path:"archive/:type",component:kf},{path:"artwork/:id",component:Xy},{path:"collection/:id",component:qy}];var kM="@",PM=(()=>{let e=class e{constructor(t,i,o,s,a){this.doc=t,this.delegate=i,this.zone=o,this.animationType=s,this.moduleImpl=a,this._rendererFactoryPromise=null,this.scheduler=O(dg,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-PR27SVIW.js").then(i=>i)).catch(i=>{throw new rt(5300,!1)}).then(({\u0275createEngine:i,\u0275AnimationRendererFactory:o})=>{this._engine=i(this.animationType,this.doc);let s=new o(this.delegate,this._engine,this.zone);return this.delegate=s,s})}createRenderer(t,i){let o=this.delegate.createRenderer(t,i);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let s=new Pf(o);return i?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(a=>{let l=a.createRenderer(t,i);s.use(l),this.scheduler?.notify(9)}).catch(a=>{s.use(o)}),s}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};e.\u0275fac=function(i){ls()},e.\u0275prov=$({token:e,factory:e.\u0275fac});let r=e;return r})(),Pf=class{constructor(e){this.delegate=e,this.replay=[],this.\u0275type=1}use(e){if(this.delegate=e,this.replay!==null){for(let n of this.replay)n(e);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}get destroyNode(){return this.delegate.destroyNode}appendChild(e,n){this.delegate.appendChild(e,n)}insertBefore(e,n,t,i){this.delegate.insertBefore(e,n,t,i)}removeChild(e,n,t){this.delegate.removeChild(e,n,t)}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,t,i){this.delegate.setAttribute(e,n,t,i)}removeAttribute(e,n,t){this.delegate.removeAttribute(e,n,t)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,t,i){this.delegate.setStyle(e,n,t,i)}removeStyle(e,n,t){this.delegate.removeStyle(e,n,t)}setProperty(e,n,t){this.shouldReplay(n)&&this.replay.push(i=>i.setProperty(e,n,t)),this.delegate.setProperty(e,n,t)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,t){return this.shouldReplay(n)&&this.replay.push(i=>i.listen(e,n,t)),this.delegate.listen(e,n,t)}shouldReplay(e){return this.replay!==null&&e.startsWith(kM)}};function Jy(r="animations"){return _c("NgAsyncAnimations"),Oo([{provide:gc,useFactory:(e,n,t)=>new PM(e,n,t,r),deps:[ae,Ic,ie]},{provide:pi,useValue:r==="noop"?"NoopAnimations":"BrowserAnimations"}])}var RM={scrollPositionRestoration:"top",anchorScrolling:"enabled"},FM=p6(RM),e2={providers:[d6(Ky,FM),w_(),Jy(),u_(c_()),{provide:tg,useValue:{disableImageSizeWarning:!0}},qf(y_)]};var t2=(()=>{let e=class e{constructor(){this.router=O(Qi),this.platformId=O(ai),this.headerExpandable=!1,this.darkMode=!1,this.menuOpen=!1,this.activeMenu="",this.animations=[]}ngOnInit(){so.registerPlugin(Ee),this.router.events.subscribe(t=>{t instanceof Vl&&(this.headerExpandable=!!/^\/?$/.exec(t.url),this.headerExpandable&&Hn(this.platformId)&&setTimeout(()=>this.initGsap(),0),this.darkMode=!!/^\/about-us#?.*/.exec(t.url),/^\/?$/.exec(t.url)?this.activeMenu="home":t.url.startsWith("/archive/objects")?this.activeMenu="archive-objects":t.url.startsWith("/archive/manuscripts")?this.activeMenu="archive-manuscripts":t.url.startsWith("/about-us")?this.activeMenu="about":this.activeMenu="")})}initGsap(){if(!this.animations.length)return window.screen.width<960?this.initGsapMobile():this.initGsapDesktop()}initGsapDesktop(){this.animations.push(Ee.create({trigger:"header.expandable",start:"bottom 75px",end:"bottom 0",onEnter:()=>document.querySelector(".menu-primary")?.classList.add("dark"),onLeaveBack:()=>document.querySelector(".menu-primary")?.classList.remove("dark")})),this.animations.push(Ee.create({trigger:"header.expandable",start:"bottom 192px",end:"bottom 0",onEnter:()=>document.querySelector(".menu-secondary")?.classList.add("sticky"),onLeaveBack:()=>document.querySelector(".menu-secondary")?.classList.remove("sticky")}))}initGsapMobile(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=Ae({type:e,selectors:[["app-root"]],standalone:!0,features:[Te],decls:101,vars:24,consts:[[1,"backdrop","blurry-background"],["mobile","",1,"menu-icon",3,"click"],[1,"sn-button","type-1","lg","dark","close"],[1,"sn-button","type-1","lg","light","menu"],["mobile","",1,"menu-block"],[1,"inner-wrapper"],["routerLink","/",1,"logo"],["src","assets/logo-l02.png",1,"layer-02"],["mat-button","","routerLink","/",1,"menu-item","emphasize",3,"click"],["mat-button","","routerLink","archive/objects",1,"menu-item","emphasize",3,"click"],["mat-button","","routerLink","archive/manuscripts",1,"menu-item","emphasize",3,"click"],["mat-button","","routerLink","about-us",1,"menu-item","deemphasize",3,"click"],["desktop","",1,"menu-primary","blurry-background"],["mat-button","","routerLink","about-us"],["desktop","",1,"menu-secondary","blurry-background"],[1,"button-group"],["mat-button","","routerLink","/"],["mat-button","","routerLink","archive/objects"],["mat-button","","routerLink","archive/manuscripts"],["routerLink","/",1,"logo-group","blurry-background"],["src","assets/logo-l0.png",1,"layer-0"],["src","assets/logo-l1.png",1,"layer-1"],["src","assets/logo-inv.png",1,"layer-inv"],[1,"blurry-background"],[1,"row"],["desktop","",1,"col","col-1"],[1,"column-title"],[1,"column-content"],[1,"col","col-1"],["href","/about-us#s01"],["href","/about-us#s02"],["href","/about-us#s03"],["href","/about-us#s04"],["href","/about-us#s05"],["href","/about-us#s06"],["href","/about-us#s07"],["href","/about-us#s08"],["mobile","",1,"col","col-1"],[1,"col","col-1","lat"],[1,"logo-wrapper"],["src","/assets/logo/logo-black.png","alt","\u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647"],["href","mailto:info@simurghnameh.com"],[1,"socials"],["href","https://x.com/simurghnameh","target","_blank",1,"social"],["href","https://instagram.com/simurgh.nameh","target","_blank",1,"social"],[1,"col","col-3","bottom-links"],["href","#"],[1,"col","col-2","lat"]],template:function(i,o){i&1&&(d(0,"header"),v(1,"div",0),d(2,"div",1),V("click",function(){return o.menuOpen=!o.menuOpen}),v(3,"div",2)(4,"div",3),p(),d(5,"div",4)(6,"div",5)(7,"a",6),v(8,"img",7),p(),d(9,"a",8),V("click",function(){return o.menuOpen=!1}),h(10,"\u062E\u0627\u0646\u0647"),p(),d(11,"a",9),V("click",function(){return o.menuOpen=!1}),h(12,"\u06AF\u0646\u062C\u06CC\u0646\u0647\u0654 \u0627\u0634\u06CC\u0627"),p(),d(13,"a",10),V("click",function(){return o.menuOpen=!1}),h(14,"\u0646\u0633\u062E \u062E\u0637\u06CC"),p(),d(15,"a",11),V("click",function(){return o.menuOpen=!1}),h(16,"\u062F\u0631\u0628\u0627\u0631\u0647\u0654 \u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647"),p()()(),d(17,"menu",12)(18,"a",13),h(19,"\u062F\u0631\u0628\u0627\u0631\u0647\u0654 \u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647"),p()(),d(20,"menu",14)(21,"div",15)(22,"a",16),h(23,"\u062E\u0627\u0646\u0647"),p(),d(24,"a",17),h(25,"\u06AF\u0646\u062C\u06CC\u0646\u0647\u0654 \u0627\u0634\u06CC\u0627"),p(),d(26,"a",18),h(27,"\u0646\u0633\u062E \u062E\u0637\u06CC"),p()()(),d(28,"a",19),v(29,"img",20)(30,"img",21)(31,"img",22),p()(),v(32,"router-outlet"),d(33,"footer",23)(34,"div",24)(35,"div",25)(36,"div",26),h(37,"\u062A\u0645\u0627\u0633 \u0628\u0627 \u0645\u0627"),p(),d(38,"div",27),h(39," \u062A\u0647\u0631\u0627\u0646\u060C \u0628\u0644\u0648\u0627\u0631 \u06A9\u0631\u06CC\u0645\u200C\u062E\u0627\u0646\u060C \u062E\u06CC\u0627\u0628\u0627\u0646 \u0646\u062C\u0627\u062A\u200C\u0627\u0644\u0647\u06CC\u060C \u062E\u06CC\u0627\u0628\u0627\u0646 \u0627\u0631\u0627\u06A9\u060C \u06A9\u0648\u0686\u0647 \u0645\u0647\u0631\u060C \u0628\u0646\u200C\u0628\u0633\u062A \u062E\u0633\u0631\u0648\u06CC\u060C \u067E\u0644\u0627\u06A9 \u06F4\u060C \u0632\u0646\u06AF \u06F1"),v(40,"br"),h(41," \u06F8\u06F8\u06F3\u06F3\u06F8\u06F8\u06F4\u06F4 "),p()(),d(42,"div",28)(43,"div",26),h(44,"\u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647"),p(),d(45,"div",27)(46,"p")(47,"a",29),h(48,"\u0686\u0631\u0627 \u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647\u061F"),p()(),d(49,"p")(50,"a",30),h(51,"\u0631\u0624\u06CC\u0627\u06CC \u0633\u06CC\u0645\u0631\u063A\u0646\u0627\u0645\u0647"),p()(),d(52,"p")(53,"a",31),h(54,"\u0631\u0648\u0634 \u0645\u0627"),p()(),d(55,"p")(56,"a",32),h(57,"\u062A\u0627 \u0627\u0645\u0631\u0648\u0632 \u0686\u0647 \u06A9\u0631\u062F\u0647\u200C\u0627\u064A\u0645\u061F"),p()()()(),d(58,"div",28)(59,"div",26),h(60,"\u0633\u06CC\u200C\u0645\u0631\u063A \u0634\u0645\u0627\u06CC\u06CC\u062F"),p(),d(61,"div",27)(62,"p")(63,"a",33),h(64,"\u0634\u0645\u0627 \u0686\u0647 \u06A9\u0645\u06A9\u06CC \u0645\u06CC\u200C\u06A9\u0646\u06CC\u062F\u061F"),p()(),d(65,"p")(66,"a",34),h(67,"\u062F\u0627\u0648\u0637\u0644\u0628\u0627\u0646"),p()(),d(68,"p")(69,"a",35),h(70,"\u0646\u0647\u0627\u062F\u0647\u0627\u06CC \u0647\u0645\u06A9\u0627\u0631"),p()(),d(71,"p")(72,"a",36),h(73,"\u0647\u0645\u06A9\u0627\u0631\u0627\u0646 \u0627\u0645\u0631\u0648\u0632"),p()()()(),d(74,"div",37)(75,"div",26),h(76,"\u062A\u0645\u0627\u0633 \u0628\u0627 \u0645\u0627"),p(),d(77,"div",27),h(78," \u062A\u0647\u0631\u0627\u0646\u060C \u0628\u0644\u0648\u0627\u0631 \u06A9\u0631\u06CC\u0645\u200C\u062E\u0627\u0646\u060C \u062E\u06CC\u0627\u0628\u0627\u0646 \u0646\u062C\u0627\u062A\u200C\u0627\u0644\u0647\u06CC\u060C \u062E\u06CC\u0627\u0628\u0627\u0646 \u0627\u0631\u0627\u06A9\u060C \u06A9\u0648\u0686\u0647 \u0645\u0647\u0631\u060C \u0628\u0646\u200C\u0628\u0633\u062A \u062E\u0633\u0631\u0648\u06CC\u060C \u067E\u0644\u0627\u06A9 \u06F4\u060C \u0632\u0646\u06AF \u06F1"),v(79,"br"),h(80," \u06F8\u06F8\u06F3\u06F3\u06F8\u06F8\u06F4\u06F4 "),p()(),v(81,"div",28),d(82,"div",38)(83,"p",39)(84,"a",6),v(85,"img",40),p()(),d(86,"p")(87,"a",41),h(88,"info@simurghnameh.com"),p()(),d(89,"p",42)(90,"a",43),h(91,"twitter"),p(),d(92,"a",44),h(93,"instagram"),p()()()(),v(94,"hr"),d(95,"div",24)(96,"div",45)(97,"a",46),h(98,"\u0634\u0631\u0627\u06CC\u0637 \u0648 \u0636\u0648\u0627\u0628\u0637"),p()(),d(99,"div",47),h(100,"All right reserved to SIMURGHNAMEH 2024"),p()()()),i&2&&(Q("expandable",o.headerExpandable)("dark-mode",o.darkMode),w(2),Q("open",o.menuOpen),w(3),Q("open",o.menuOpen),w(4),Q("active",o.activeMenu=="home"),w(2),Q("active",o.activeMenu=="archive-objects"),w(2),Q("active",o.activeMenu=="archive-manuscripts"),w(2),Q("active",o.activeMenu=="about"),w(3),Q("active",o.activeMenu=="about"),w(4),Q("active",o.activeMenu=="home"),w(2),Q("active",o.activeMenu=="archive-objects"),w(2),Q("active",o.activeMenu=="archive-manuscripts"))},dependencies:[Z0,Or,Tr,el,Gb],styles:['header[_ngcontent-%COMP%]{width:100%;--progress: 0}header[_ngcontent-%COMP%]   .backdrop[_ngcontent-%COMP%]{display:none}header[_ngcontent-%COMP%]   .menu-icon[_ngcontent-%COMP%]{position:fixed;top:20px;right:10px;width:48px;height:48px;z-index:120}header[_ngcontent-%COMP%]   .menu-icon[_ngcontent-%COMP%]   .sn-button[_ngcontent-%COMP%]{position:absolute;top:0;right:0;transition:opacity .4s}header[_ngcontent-%COMP%]   .menu-icon[_ngcontent-%COMP%]   .sn-button[_ngcontent-%COMP%]:first-child{opacity:0}header[_ngcontent-%COMP%]   .menu-icon.open[_ngcontent-%COMP%]   .sn-button[_ngcontent-%COMP%]:first-child{opacity:1}header[_ngcontent-%COMP%]   .menu-icon.open[_ngcontent-%COMP%]   .sn-button[_ngcontent-%COMP%]:last-child{opacity:0}header[_ngcontent-%COMP%]   .menu-block[_ngcontent-%COMP%]{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:110}header[_ngcontent-%COMP%]   .menu-block[_ngcontent-%COMP%]   .inner-wrapper[_ngcontent-%COMP%]{position:absolute;inset:-300px 0 0;background-color:#fff;padding-top:calc(60vw + 60px);opacity:0;transition:opacity .4s,top .4s}header[_ngcontent-%COMP%]   .menu-block[_ngcontent-%COMP%]   .inner-wrapper[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{position:absolute;display:block;top:20px;left:20px;width:60vw}header[_ngcontent-%COMP%]   .menu-block[_ngcontent-%COMP%]   .inner-wrapper[_ngcontent-%COMP%]   a.menu-item[_ngcontent-%COMP%]{display:block;width:100%}header[_ngcontent-%COMP%]   .menu-block[_ngcontent-%COMP%]   .inner-wrapper[_ngcontent-%COMP%]   a.menu-item.emphasize[_ngcontent-%COMP%]{--mdc-text-button-label-text-weight: 500;font-size:16px;--mdc-text-button-container-height: 56px;line-height:56px}header[_ngcontent-%COMP%]   .menu-block[_ngcontent-%COMP%]   .inner-wrapper[_ngcontent-%COMP%]   a.menu-item.deemphasize[_ngcontent-%COMP%]{--mdc-text-button-label-text-weight: 300;--mdc-text-button-container-height: 47px;line-height:47px}header[_ngcontent-%COMP%]   .menu-block.open[_ngcontent-%COMP%]{pointer-events:initial}header[_ngcontent-%COMP%]   .menu-block.open[_ngcontent-%COMP%]   .inner-wrapper[_ngcontent-%COMP%]{top:0;opacity:1}header[_ngcontent-%COMP%]   .logo-group[_ngcontent-%COMP%]{position:absolute;display:block;top:50px;left:96px;width:200px;height:200px;z-index:100}header[_ngcontent-%COMP%]   .logo-group[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:absolute;inset:0;max-width:100%}header[_ngcontent-%COMP%]   .logo-group[_ngcontent-%COMP%]   img.layer-1[_ngcontent-%COMP%]{display:none}header[_ngcontent-%COMP%]   .logo-group[_ngcontent-%COMP%]   img.layer-inv[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 960px){header[_ngcontent-%COMP%]   .logo-group[_ngcontent-%COMP%]{top:20px;left:20px;width:87px;height:87px}}header[_ngcontent-%COMP%]   .menu-primary[_ngcontent-%COMP%]{position:fixed;top:50px;right:96px;margin:0;padding:0;z-index:100;--mdc-text-button-label-text-size: 16px;--mdc-text-button-container-height: 48px}header.dark-mode[_ngcontent-%COMP%]   .menu-primary[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}header[_ngcontent-%COMP%]   .menu-secondary[_ngcontent-%COMP%]{position:fixed;top:50px;right:calc(96px + (100% - 192px)/5);margin:0;padding:0;z-index:100}header[_ngcontent-%COMP%]   .menu-secondary[_ngcontent-%COMP%]:before{content:" ";display:inline-block;width:24px;height:48px;vertical-align:bottom;background-image:url(/assets/components/round-right.png)}header[_ngcontent-%COMP%]   .menu-secondary[_ngcontent-%COMP%]:after{content:" ";display:inline-block;width:24px;height:48px;vertical-align:bottom;background-image:url(/assets/components/round-left.png)}header[_ngcontent-%COMP%]   .menu-secondary[_ngcontent-%COMP%]   .button-group[_ngcontent-%COMP%]{display:inline-block;background-color:#fff;--mdc-text-button-label-text-size: 16px;--mdc-text-button-container-height: 48px}header.expandable[_ngcontent-%COMP%]{height:100vh}header.expandable[_ngcontent-%COMP%]   .backdrop[_ngcontent-%COMP%]{display:block;position:absolute;inset:0;background-image:url("./media/cover-01-3ZE6U5OV.jpg");background-size:cover;background-position:50% 50%}header.expandable[_ngcontent-%COMP%]   .backdrop[_ngcontent-%COMP%]:after{content:" ";position:absolute;inset:0;background-color:#00000080}@media screen and (min-width: 961px){header.expandable[_ngcontent-%COMP%]   .logo-group[_ngcontent-%COMP%]{width:calc((1 - var(--progress)) * 200px + 200px);height:calc((1 - var(--progress)) * 200px + 200px)}header.expandable[_ngcontent-%COMP%]   .logo-group[_ngcontent-%COMP%]   img.layer-1[_ngcontent-%COMP%]{display:block;opacity:calc(1 - var(--progress))}}@media screen and (max-width: 960px){header.expandable[_ngcontent-%COMP%]   .logo-group[_ngcontent-%COMP%]{top:200px;left:20px;width:calc(100vw - 40px);height:calc(100vw - 40px)}header.expandable[_ngcontent-%COMP%]   .logo-group[_ngcontent-%COMP%]   img.layer-1[_ngcontent-%COMP%]{display:block}}header.expandable[_ngcontent-%COMP%]   .menu-primary[_ngcontent-%COMP%]   .mdc-button[_ngcontent-%COMP%]{color:#fff;transition:color .4s}header.expandable[_ngcontent-%COMP%]   .menu-primary.dark[_ngcontent-%COMP%]   .mdc-button[_ngcontent-%COMP%]{color:var(--mdc-text-button-label-text-color)}header.expandable[_ngcontent-%COMP%]   .menu-secondary[_ngcontent-%COMP%]{position:absolute;top:initial;bottom:100px}header.expandable[_ngcontent-%COMP%]   .menu-secondary.sticky[_ngcontent-%COMP%]{position:fixed;top:50px;bottom:auto;right:300px}header.dark-mode[_ngcontent-%COMP%]   .logo-group[_ngcontent-%COMP%]   img.layer-0[_ngcontent-%COMP%]{display:none}header.dark-mode[_ngcontent-%COMP%]   .logo-group[_ngcontent-%COMP%]   img.layer-inv[_ngcontent-%COMP%]{display:block}footer[_ngcontent-%COMP%]{padding:96px 0 32px;background-color:#fff;font-size:14px}@media screen and (max-width: 960px){footer[_ngcontent-%COMP%]{text-align:center;padding-top:48px}footer[_ngcontent-%COMP%]   .lat[_ngcontent-%COMP%]{text-align:center}}footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .col.lat[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0}footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]   .column-title[_ngcontent-%COMP%]{margin-bottom:20px;font-weight:500;font-size:16px;font-variation-settings:"CNTR" 0;color:var(--color-neutral-surface-10)}@media screen and (max-width: 960px){footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]   .column-title[_ngcontent-%COMP%]{margin:48px 0 24px}}footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]   .column-content[_ngcontent-%COMP%]{font-weight:300;font-variation-settings:"CNTR" 0}@media screen and (max-width: 960px){footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]   .column-content[_ngcontent-%COMP%]{padding:0 20px;line-height:24px}footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]   .column-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}}footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]   a.logo[_ngcontent-%COMP%]{display:block;width:77px;opacity:.5}@media screen and (max-width: 960px){footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]   a.logo[_ngcontent-%COMP%]{margin:96px 0 24px;display:inline-block}}footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--color-neutral-surface-10)}footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]   .socials[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;margin-right:10px}footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:last-child{font-size:11px}footer[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]:last-child   .column[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}footer[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin:20px auto;border-style:solid none none none;border-color:var(--color-neutral-surface-4)}@media screen and (max-width: 960px){footer[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{width:calc(100% - 40px)}}footer[_ngcontent-%COMP%]   .bottom-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}']});let r=e;return r})();v_(t2,e2).catch(r=>console.error(r));
