PageSourceSearch

https://publicvideo.nl/client/en-US/chunk-CBGwcTR3.js

js publicvideo.nl collected 2026-10-06 22:09:55 UTC 650,658 bytes, 26 lines download raw bytes

1import{c as x,l as y,o as F$1,r as C,s as w$1,t as A$1}from"./chunk-C6uGsfWa.js";var nk=A$1((_Be,tk)=>{"use strict";var kc=1e3,Fc=kc*60,Uc=Fc*60,$s=Uc*24,DX=$s*7,CX=$s*365.25;tk.exports=function(e,t){t=t||{};var n=typeof e;if(n===`string`&&e.length>0)return IX(e);if(n===`number`&&isFinite(e))return t.long?wX(e):_X(e);throw new Error(`val is not a non-empty string or a valid number. val=`+JSON.stringify(e))};function IX(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||`ms`).toLowerCase()){case`years`:case`year`:case`yrs`:case`yr`:case`y`:return n*CX;case`weeks`:case`week`:case`w`:return n*DX;case`days`:case`day`:case`d`:return n*$s;case`hours`:case`hour`:case`hrs`:case`hr`:case`h`:return n*Uc;case`minutes`:case`minute`:case`mins`:case`min`:case`m`:return n*Fc;case`seconds`:case`second`:case`secs`:case`sec`:case`s`:return n*kc;case`milliseconds`:case`millisecond`:case`msecs`:case`msec`:case`ms`:return n;default:return}}}}function _X(e){var t=Math.abs(e);return t>=$s?Math.round(e/$s)+`d`:t>=Uc?Math.round(e/Uc)+`h`:t>=Fc?Math.round(e/Fc)+`m`:t>=kc?Math.round(e/kc)+`s`:e+`ms`}function wX(e){var t=Math.abs(e);return t>=$s?yg(e,t,$s,`day`):t>=Uc?yg(e,t,Uc,`hour`):t>=Fc?yg(e,t,Fc,`minute`):t>=kc?yg(e,t,kc,`second`):e+` ms`}function yg(e,t,n,r){var o=t>=n*1.5;return Math.round(e/n)+` `+r+(o?`s`:``)}});var ok=A$1((wBe,rk)=>{"use strict";function AX(e){n.debug=n,n.default=n,n.coerce=c,n.disable=s,n.enable=o,n.enabled=a,n.humanize=nk(),n.destroy=l,Object.keys(e).forEach(u=>{n[u]=e[u]}),n.names=[],n.skips=[],n.formatters={};function t(u){let d=0;for(let f=0;f<u.length;f++)d=(d<<5)-d+u.charCodeAt(f),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=t;function n(u){let d,f=null,p,g;function y(...E){if(!y.enabled)return;let b=y,C=Number(new Date);b.diff=C-(d||C),b.prev=d,b.curr=C,d=C,E[0]=n.coerce(E[0]),typeof E[0]!=`string`&&E.unshift(`%O`);let q=0;
vendor: 4,177 bytes, line 1
1E[0]=E[0].replace(/%([a-zA-Z%])/g,(R,ce)=>{if(R===`%%`)return`%`;q++;let be=n.formatters[ce];if(typeof be==`function`){let nt=E[q];R=be.call(b,nt),E.splice(q,1),q--}return R}),n.formatArgs.call(b,E),(b.log||n.log).apply(b,E)}return y.namespace=u,y.useColors=n.useColors(),y.color=n.selectColor(u),y.extend=r,y.destroy=n.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(p!==n.namespaces&&(p=n.namespaces,g=n.enabled(u)),g),set:E=>{f=E}}),typeof n.init==`function`&&n.init(y),y}function r(u,d){let f=n(this.namespace+(typeof d>`u`?`:`:d)+u);return f.log=this.log,f}function o(u){n.save(u),n.namespaces=u,n.names=[],n.skips=[];let d=(typeof u==`string`?u:``).trim().replace(/\s+/g,`,`).split(`,`).filter(Boolean);for(let f of d)f[0]===`-`?n.skips.push(f.slice(1)):n.names.push(f)}function i(u,d){let f=0,p=0,g=-1,y=0;for(;f<u.length;)if(p<d.length&&(d[p]===u[f]||d[p]===`*`))d[p]===`*`?(g=p,y=f,p++):(f++,p++);else if(g!==-1)p=g+1,y++,f=y;else return!1;for(;p<d.length&&d[p]===`*`;)p++;return p===d.length}function s(){let u=[...n.names,...n.skips.map(d=>`-`+d)].join(`,`);return n.enable(``),u}function a(u){for(let d of n.skips)if(i(u,d))return!1;for(let d of n.names)if(i(u,d))return!0;return!1}function c(u){return u instanceof Error?u.stack||u.message:u}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}rk.exports=AX});var Vo=A$1((bn,vg)=>{"use strict";bn.formatArgs=RX;bn.save=NX;bn.load=MX;bn.useColors=xX;bn.storage=OX();bn.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();bn.colors=[`#0000CC`,`#0000FF`,`#0033CC`,`#0033FF`,`#0066CC`,`#0066FF`,`#0099CC`,`#0099FF`,`#00CC00`,`#00CC33`,`#00CC66`,`#00CC99`,`#00CCCC`,`#00CCFF`,`#3300CC`,`#3300FF`,`#3333CC`,`#3333FF`,`#3366CC`,`#3366FF`,`#3399CC`,`#3399FF`,`#33CC00`,`#33CC33`,`#33CC66`,`#33CC99`,`#33CCCC`,`#33CCFF`,`#6600CC`,`#6600FF`,`#6633CC`,`#6633FF`,`#66CC00`,`#66CC33`,`#9900CC`,`#9900FF`,`#9933CC`,`#9933FF`,`#99CC00`,`#99CC33`,`#CC0000`,`#CC0033`,`#CC0066`,`#CC0099`,`#CC00CC`,`#CC00FF`,`#CC3300`,`#CC3333`,`#CC3366`,`#CC3399`,`#CC33CC`,`#CC33FF`,`#CC6600`,`#CC6633`,`#CC9900`,`#CC9933`,`#CCCC00`,`#CCCC33`,`#FF0000`,`#FF0033`,`#FF0066`,`#FF0099`,`#FF00CC`,`#FF00FF`,`#FF3300`,`#FF3333`,`#FF3366`,`#FF3399`,`#FF33CC`,`#FF33FF`,`#FF6600`,`#FF6633`,`#FF9900`,`#FF9933`,`#FFCC00`,`#FFCC33`];function xX(){if(typeof window<`u`&&window.process&&(window.process.type===`renderer`||window.process.__nwjs))return!0;if(typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<`u`&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<`u`&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<`u`&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function RX(e){if(e[0]=(this.useColors?`%c`:``)+this.namespace+(this.useColors?` %c`:` `)+e[0]+(this.useColors?`%c `:` `)+`+`+vg.exports.humanize(this.diff),!this.useColors)return;let t=`color: `+this.color;e.splice(1,0,t,`color: inherit`);let n=0,r=0;e[0].replace(/%[a-zA-Z%]/g,o=>{o!==`%%`&&(n++,o===`%c`&&(r=n))}),e.splice(r,0,t)}bn.log=console.debug||console.log||(()=>{});function NX(e){try{e?bn.storage.setItem(`debug`,e):bn.storage.removeItem(`debug`)}catch(t){}}function MX(){let e;try{e=bn.storage.getItem(`debug`)||bn.storage.getItem(`DEBUG`)}catch(t){}return!e&&typeof process<`u`&&`env`in process&&(e=process.env.DEBUG),e}function OX(){try{return localStorage}catch(e){}}vg.exports=ok()(bn);var{formatters:LX}=vg.exports;LX.j=function(e){try{return JSON.stringify(e)}catch(t){return`[UnexpectedJSONParseError]: `+t.message}}});var Pi=A$1(ae=>{"use strict";
1Object.defineProperty(ae,"__esModule",{value:!0});ae.OFFSET_A=ae.OFFSET_B=ae.OFFSET_G=ae.OFFSET_R=void 0;ae.newColor=ik;ae.from=FX;ae.toNumber=UX;ae.getRed=HX;ae.getGreen=BX;ae.getBlue=jX;ae.getAlpha=VX;ae.setRed=$X;ae.setGreen=GX;ae.setBlue=zX;ae.setAlpha=WX;var kX=2**32;ae.OFFSET_R=24;ae.OFFSET_G=16;ae.OFFSET_B=8;ae.OFFSET_A=0;function ik(e,t,n,r){return(e<<ae.OFFSET_R)+(t<<ae.OFFSET_G)+(n<<ae.OFFSET_B)+(r<<ae.OFFSET_A)}function FX(e){return ik(Li(e,ae.OFFSET_R),Li(e,ae.OFFSET_G),Li(e,ae.OFFSET_B),Li(e,ae.OFFSET_A))}function UX(e){return qX(e)}function HX(e){return Li(e,ae.OFFSET_R)}function BX(e){return Li(e,ae.OFFSET_G)}function jX(e){return Li(e,ae.OFFSET_B)}function VX(e){return Li(e,ae.OFFSET_A)}function $X(e,t){return Eg(e,ae.OFFSET_R,t)}function GX(e,t){return Eg(e,ae.OFFSET_G,t)}function zX(e,t){return Eg(e,ae.OFFSET_B,t)}function WX(e,t){return Eg(e,ae.OFFSET_A,t)}function qX(e){return e<0?e+kX:e}function Li(e,t){return e>>t&255}function Eg(e,t,n){return e^(e^n<<t)&255<<t}});var rD=A$1(nD=>{"use strict";Object.defineProperty(nD,"__esModule",{value:!0});nD.clampByte=YX;function YX(e){let t=Math.round(e);return t<0?0:t>255?255:t}});var gk=A$1(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.labToXyzd50=iZ;Fe.xyzd50ToLab=sZ;Fe.oklabToXyzd65=uk;Fe.xyzd65ToOklab=dk;Fe.lchToLab=fk;Fe.labToLch=pk;Fe.displayP3ToXyzd50=aZ;Fe.xyzd50ToDisplayP3=cZ;Fe.proPhotoToXyzd50=lZ;Fe.xyzd50ToProPhoto=uZ;Fe.adobeRGBToXyzd50=dZ;Fe.xyzd50ToAdobeRGB=fZ;Fe.rec2020ToXyzd50=pZ;Fe.xyzd50ToRec2020=hZ;Fe.xyzd50ToD65=hk;Fe.xyzd65ToD50=mk;Fe.xyzd65TosRGBLinear=mZ;Fe.xyzd50TosRGBLinear=gZ;Fe.srgbLinearToXyzd50=yZ;Fe.srgbToXyzd50=vZ;Fe.xyzd50ToSrgb=EZ;Fe.oklchToXyzd50=bZ;Fe.xyzd50ToOklch=SZ;var ak=.9642,ck=1,lk=.8251;function At(e,t,n,r,o,i,s,a,c){return Float64Array.of(e,t,n,r,o,i,s,a,c)}function bt(e,t,n,r,o){return o[0]=e[0]*t+e[1]*n+e[2]*r,o[1]=e[3]*t+e[4]*n+e[5]*r,o[2]=e[6]*t+e[7]*n+e[8]*r,o}var co=class{g;a;b;c;d;e;f;constructor(t,n,r=0,o=0,i=0,s=0,a=0){this.g=t,this.a=n,this.b=r,this.c=o,this.d=i,this.e=s,this.f=a}eval(t){let n=t<0?-1:1,r=t*n;return r<this.d?n*(this.c*r+this.f):n*(Math.pow(this.a*r+this.b,this.g)+this.e)}},lo={sRGB:new co(2.4,1/1.055,.055/1.055,1/12.92,.04045,0,0),sRGB_INVERSE:new co(.416667,1.13728,-0,12.92,.0031308,-.0549698,-0),proPhotoRGB:new co(1.8,1),proPhotoRGB_INVERSE:new co(.555556,1,-0,0,0,0,0),k2Dot2:new co(2.2,1),k2Dot2_INVERSE:new co(.454545,1),rec2020:new co(2.22222,.909672,.0903276,.222222,.0812429,0,0),rec2020_INVERSE:new co(.45,1.23439,-0,4.5,.018054,-.0993195,-0)},uo={sRGB:At(.436065674,.385147095,.143066406,.222488403,.716873169,.06060791,.013916016,.097076416,.714096069),sRGB_INVERSE:At(3.134112151374599,-1.6173924597114966,-.4906334036481285,-.9787872938826594,1.9162795854799963,.0334547139520088,.07198304248352326,-.2289858493321844,1.4053851325241447),displayP3:At(.515102,.291965,.157153,.241182,.692236,.0665819,-.00104941,.0418818,.784378),displayP3_INVERSE:At(2.404045155982687,-.9898986932663839,-.3976317191366333,-.8422283799266768,1.7988505115115485,.016048170293157416,.04818705979712955,-.09737385156228891,1.2735066448052303),adobeRGB:At(.60974,.20528,.14919,.31111,.62567,.06322,.01947,.06087,.74457),adobeRGB_INVERSE:At(1.9625385510109137,-.6106892546501431,-.3413827467482388,-.9787580455521,1.9161624707082339,.03341676594241408,.028696263137883395,-.1406807819331586,1.349252109991369),rec2020:At(.673459,.165661,.1251,.279033,.675338,.0456288,-.00193139,.0299794,.797162),rec2020_INVERSE:At(1.647275201661012,-.3936024771460771,-.23598028884792507,-.6826176165196962,1.647617775014935,.01281626807852422,.029662725298529837,-.06291668721366285,1.2533964313435522),xyz:At(1,0,0,0,1,0,0,0,1)};function sk(e){return e*(Math.PI/180)}function KX(e){return e*(180/Math.PI)}function md(e,t){return t[0]=e.eval(t[0]),t[1]=e.eval(t[1]),t[2]=e.eval(t[2]),t}var XX=At(.9999999984505198,.39633779217376786,.2158037580607588,1.0000000088817609,-.10556134232365635,-.06385417477170591,1.0000000546724108,-.08948418209496575,-1.2914855378640917),ZX=At(.2104542553,.7936177849999999,-.0040720468,1.9779984951000003,-2.4285922049999997,.4505937099000001,.025904037099999982,.782771
17662,-.8086757660000001),QX=At(.8190224432164319,.3619062562801221,-.12887378261216414,.0329836671980271,.9292868468965546,.03614466816999844,.048177199566046255,.26423952494422764,.6335478258136937),JX=At(1.226879873374156,-.5578149965554814,.2813910501772159,-.040575762624313734,1.1122868293970596,-.07171106666151703,-.07637294974672144,-.4214933239627915,1.586924024427242),eZ=At(.7976700747153241,.13519395152800417,.03135596341127167,.28803902352472205,.7118744007923554,8661179538844252e-20,2.739876695467402e-7,-14405226518969991e-22,.825211112593861),tZ=At(1.3459533710138858,-.25561367037652133,-.051116041522131374,-.544600415668951,1.5081687311475767,.020535163968720935,-13975622054109725e-22,2717590904589903e-21,1.2118111696814942),nZ=At(1.0478573189120088,.022907374491829943,-.050162247377152525,.029570500050499514,.9904755577034089,-.017061518194840468,-.00924047197558879,.015052921526981566,.7519708530777581),rZ=At(.9555366447632887,-.02306009252137888,.06321844147263304,-.028315378228764922,1.009951351591575,.021026001591792402,.012308773293784308,-.02050053471777469,1.3301947294775631),oZ=At(3.2408089365140573,-1.5375788839307314,-.4985609572551541,-.9692732213205414,1.876110235238969,.041560501141251774,.05567030990267439,-.2040007921971802,1.0571046720577026);function oD(e){return e<=.20689655172413793?108/841*(e-16/116):e*e*e}function iD(e){return e<=.008856451679035631?841/108*e+16/116:Math.pow(e,1/3)}function iZ(e,t,n,r){let o=(e+16)/116,i=o+t/500,s=o-n/200;return r[0]=oD(i)*ak,r[1]=oD(o)*ck,r[2]=oD(s)*lk,r}function sZ(e,t,n,r){return e=iD(e/ak),t=iD(t/ck),n=iD(n/lk),r[0]=116*t-16,r[1]=500*(e-t),r[2]=200*(t-n),r}function uk(e,t,n,r){bt(XX,e,t,n,r);let o=r[0],i=r[1],s=r[2];return bt(JX,o*o*o,i*i*i,s*s*s,r)}function dk(e,t,n,r){return bt(QX,e,t,n,r),bt(ZX,Math.pow(r[0],1/3),Math.pow(r[1],1/3),Math.pow(r[2],1/3),r)}function fk(e,t,n,r){return r[0]=e,n===void 0?(r[1]=0,r[2]=0):(r[1]=t*Math.cos(sk(n)),r[2]=t*Math.sin(sk(n))),r}function pk(e,t,n,r){return r[0]=e,r[1]=Math.sqrt(t*t+n*n),r[2]=KX(Math.atan2(n,t)),r}function aZ(e,t,n,r){let o=lo.sRGB;return bt(uo.displayP3,o.eval(e),o.eval(t),o.eval(n),r)}function cZ(e,t,n,r){return bt(uo.displayP3_INVERSE,e,t,n,r),md(lo.sRGB_INVERSE,r)}function lZ(e,t,n,r){let o=lo.proPhotoRGB;return bt(eZ,o.eval(e),o.eval(t),o.eval(n),r)}function uZ(e,t,n,r){return bt(tZ,e,t,n,r),md(lo.proPhotoRGB_INVERSE,r)}function dZ(e,t,n,r){let o=lo.k2Dot2;return bt(uo.adobeRGB,o.eval(e),o.eval(t),o.eval(n),r)}function fZ(e,t,n,r){return bt(uo.adobeRGB_INVERSE,e,t,n,r),md(lo.k2Dot2_INVERSE,r)}function pZ(e,t,n,r){let o=lo.rec2020;return bt(uo.rec2020,o.eval(e),o.eval(t),o.eval(n),r)}function hZ(e,t,n,r){return bt(uo.rec2020_INVERSE,e,t,n,r),md(lo.rec2020_INVERSE,r)}function hk(e,t,n,r){return bt(rZ,e,t,n,r)}function mk(e,t,n,r){return bt(nZ,e,t,n,r)}function mZ(e,t,n,r){return bt(oZ,e,t,n,r)}function gZ(e,t,n,r){return bt(uo.sRGB_INVERSE,e,t,n,r)}function yZ(e,t,n,r){return bt(uo.sRGB,e,t,n,r)}function vZ(e,t,n,r){let o=lo.sRGB;return bt(uo.sRGB,o.eval(e),o.eval(t),o.eval(n),r)}function EZ(e,t,n,r){return bt(uo.sRGB_INVERSE,e,t,n,r),md(lo.sRGB_INVERSE,r)}function bZ(e,t,n,r){return fk(e,t,n,r),uk(r[0],r[1],r[2],r),mk(r[0],r[1],r[2],r)}function SZ(e,t,n,r){return hk(e,t,n,r),dk(r[0],r[1],r[2],r),pk(r[0],r[1],r[2],r)}});var aD=A$1(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});ct.srgbToColor=Bc;ct.hslToColor=vk;ct.srgbToHsl=sD;ct.hwbToColor=Ek;ct.srgbToHwb=bk;ct.labToColor=Sk;ct.srgbToLab=Tk;ct.lchToColor=Dk;ct.srgbToLch=Ck;ct.oklabToColor=Ik;ct.srgbToOklab=_k;ct.oklchToColor=wk;ct.srgbToOklch=Ak;ct.colorSpaceChannels=xk;ct.colorSpaceToSrgb=Rk;ct.colorSpaceToColor=Nk;ct.srgbToColorSpace=Mk;ct.colorModel=DZ;ct.colorSpaceModel=CZ;var Tg=Pi(),TZ=rD(),re=gk(),J=new Float64Array(3);function Sg(e){return(0,TZ.clampByte)(e*255)}function Bc(e,t,n,r){return(0,Tg.newColor)(Sg(e),Sg(t),Sg(n),r)}function Hc(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function vk(e,t,n,r){(e<0||e>=360)&&(e=(e%360+360)%360),t<0?t=0:t>100&&(t=100),n<0?n=0:n>100&&(n=100),e/=360,t/=100,n/=100;let o,i,s;if(t===0)o=i=s=Math.round(n*255);else{let a=n<.5?n*(1+t):n+t-n*t,c=2*n-a;
1o=Math.round(Hc(c,a,e+1/3)*255),i=Math.round(Hc(c,a,e)*255),s=Math.round(Hc(c,a,e-1/3)*255)}return(0,Tg.newColor)(o,i,s,r)}function sD(e,t,n,r){let o=Math.max(e,t,n),i=o-Math.min(e,t,n),s=i?o===e?(t-n)/i:o===t?2+(n-e)/i:4+(e-t)/i:0;return r[0]=60*s<0?60*s+360:60*s,r[1]=100*(i?2*o-i<=1?i/(2*o-i):i/(2-(2*o-i)):0),r[2]=100*(2*o-i)/2,r}function Ek(e,t,n,r){if((e<0||e>=360)&&(e=(e%360+360)%360),t<0?t=0:t>100&&(t=100),n<0?n=0:n>100&&(n=100),t/=100,n/=100,e/=360,t+n>=1){let i=Sg(t/(t+n));return(0,Tg.newColor)(i,i,i,r)}let o=1-t-n;return(0,Tg.newColor)(Math.round((Hc(0,1,e+1/3)*o+t)*255),Math.round((Hc(0,1,e)*o+t)*255),Math.round((Hc(0,1,e-1/3)*o+t)*255),r)}function bk(e,t,n,r){return sD(e,t,n,r),r[1]=Math.min(e,t,n)*100,r[2]=(1-Math.max(e,t,n))*100,r}function Sk(e,t,n,r){return(0,re.labToXyzd50)(e,t,n,J),(0,re.xyzd50ToSrgb)(J[0],J[1],J[2],J),Bc(J[0],J[1],J[2],r)}function Tk(e,t,n,r){return(0,re.srgbToXyzd50)(e,t,n,r),(0,re.xyzd50ToLab)(r[0],r[1],r[2],r)}function Dk(e,t,n,r){return(0,re.lchToLab)(e,t,n,J),(0,re.labToXyzd50)(J[0],J[1],J[2],J),(0,re.xyzd50ToSrgb)(J[0],J[1],J[2],J),Bc(J[0],J[1],J[2],r)}function Ck(e,t,n,r){return(0,re.srgbToXyzd50)(e,t,n,r),(0,re.xyzd50ToLab)(r[0],r[1],r[2],r),(0,re.labToLch)(r[0],r[1],r[2],r)}function Ik(e,t,n,r){return(0,re.oklabToXyzd65)(e,t,n,J),(0,re.xyzd65ToD50)(J[0],J[1],J[2],J),(0,re.xyzd50ToSrgb)(J[0],J[1],J[2],J),Bc(J[0],J[1],J[2],r)}function _k(e,t,n,r){return(0,re.srgbToXyzd50)(e,t,n,r),(0,re.xyzd50ToD65)(r[0],r[1],r[2],r),(0,re.xyzd65ToOklab)(r[0],r[1],r[2],r)}function wk(e,t,n,r){return(0,re.oklchToXyzd50)(e,t,n,J),(0,re.xyzd50ToSrgb)(J[0],J[1],J[2],J),Bc(J[0],J[1],J[2],r)}function Ak(e,t,n,r){return(0,re.srgbToXyzd50)(e,t,n,r),(0,re.xyzd50ToOklch)(r[0],r[1],r[2],r)}function xk(e){switch(e){case`srgb`:case`srgb-linear`:case`display-p3`:case`a98-rgb`:case`prophoto-rgb`:case`rec2020`:return[`r`,`g`,`b`];case`xyz`:case`xyz-d65`:case`xyz-d50`:return[`x`,`y`,`z`];default:return null}}function Rk(e,t,n,r,o){switch(e){case`srgb`:return o[0]=t,o[1]=n,o[2]=r,o;case`srgb-linear`:(0,re.srgbLinearToXyzd50)(t,n,r,o);break;case`display-p3`:(0,re.displayP3ToXyzd50)(t,n,r,o);break;case`a98-rgb`:(0,re.adobeRGBToXyzd50)(t,n,r,o);break;case`prophoto-rgb`:(0,re.proPhotoToXyzd50)(t,n,r,o);break;case`rec2020`:(0,re.rec2020ToXyzd50)(t,n,r,o);break;case`xyz`:case`xyz-d65`:(0,re.xyzd65ToD50)(t,n,r,o);break;case`xyz-d50`:o[0]=t,o[1]=n,o[2]=r;break;default:return null}return(0,re.xyzd50ToSrgb)(o[0],o[1],o[2],o)}function Nk(e,t,n,r,o){return Rk(e,t,n,r,J)===null?null:Bc(J[0],J[1],J[2],o)}function Mk(e,t,n,r,o){switch(e){case`srgb`:return o[0]=t,o[1]=n,o[2]=r,o;case`srgb-linear`:return(0,re.srgbToXyzd50)(t,n,r,o),(0,re.xyzd50TosRGBLinear)(o[0],o[1],o[2],o);case`display-p3`:return(0,re.srgbToXyzd50)(t,n,r,o),(0,re.xyzd50ToDisplayP3)(o[0],o[1],o[2],o);case`a98-rgb`:return(0,re.srgbToXyzd50)(t,n,r,o),(0,re.xyzd50ToAdobeRGB)(o[0],o[1],o[2],o);case`prophoto-rgb`:return(0,re.srgbToXyzd50)(t,n,r,o),(0,re.xyzd50ToProPhoto)(o[0],o[1],o[2],o);case`rec2020`:return(0,re.srgbToXyzd50)(t,n,r,o),(0,re.xyzd50ToRec2020)(o[0],o[1],o[2],o);case`xyz`:case`xyz-d65`:return(0,re.srgbToXyzd50)(t,n,r,o),(0,re.xyzd50ToD65)(o[0],o[1],o[2],o);case`xyz-d50`:return(0,re.srgbToXyzd50)(t,n,r,o);default:return null}}var jt=!1,bg=!0,yk={hsl:{keys:[`h`,`s`,`l`],ranges:[360,100,100],hues:[bg,jt,jt],fromSrgb:sD,toColor:vk},hwb:{keys:[`h`,`w`,`b`],ranges:[360,100,100],hues:[bg,jt,jt],fromSrgb:bk,toColor:Ek},lab:{keys:[`l`,`a`,`b`],ranges:[100,125,125],hues:[jt,jt,jt],fromSrgb:Tk,toColor:Sk},lch:{keys:[`l`,`c`,`h`],ranges:[100,150,360],hues:[jt,jt,bg],fromSrgb:Ck,toColor:Dk},oklab:{keys:[`l`,`a`,`b`],ranges:[1,.4,.4],hues:[jt,jt,jt],fromSrgb:_k,toColor:Ik},oklch:{keys:[`l`,`c`,`h`],ranges:[1,.4,360],hues:[jt,jt,bg],fromSrgb:Ak,toColor:wk}};function DZ(e){return Object.prototype.hasOwnProperty.call(yk,e)?yk[e]:null}function CZ(e){let t=xk(e);return t===null?null:{keys:t,ranges:[1,1,1],hues:[jt,jt,jt],fromSrgb:(n,r,o,i)=>Mk(e,n,r,o,i),toColor:(n,r,o,i)=>Nk(e,n,r,o,i)}}});var Lk=A$1(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.isFromKeyword=AZ;fo.parseColorChannel=xZ;fo.parseAlphaChannel=RZ;fo.parseAlphaValue=Ok;fo.parseAngle=NZ;fo.parsePercent=MZ;fo.parsePercentageOrValue=OZ;fo.parseNumberOrPercentage=LZ;var cD=rD(),Dg=37,IZ=103,gd=110,_Z=100,wZ=101;function AZ(e){return e.length===4&&(e.charCodeAt(0)|32)===102&&(e.charCodeAt(1)|32)===114&&(e.charCodeAt(2)|32)===111&&(e.charCodeAt(3)|32)===109}function xZ(e){return e.charCodeAt(e.length-1)===Dg?(0,cD.clampByte)(parseFloat(e)/100*255):(0,cD.clampByte)(parseFloat(e))}function RZ(e){return(0,cD.clampByte)(Ok(e)*255)}function Ok(e){return(e.charCodeAt(0)|32)===gd?0:e.charCodeAt(e.length-1)===Dg?parseFloat(e)/100:parseFloat(e)}function NZ(e){let t=1;switch(e.charCodeAt(e.length-1)|32){case wZ:return 0;case _Z:(e.charCodeAt(Math.max(0,e.length-4))|32)===IZ?t=360/400:t=360/(2*Math.PI);break;case gd:t=360;break;default:return parseFloat(e)}return parseFloat(e)*t}function MZ(e){return(e.charCodeAt(0)|32)===gd?0:parseFloat(e)}function OZ(e){return(e.charCodeAt(0)|32)===gd?0:e.charCodeAt(e.length-1)===Dg?parseFloat(e)/100:parseFloat(e)}function LZ(e,t){return(e.charCodeAt(0)|32)===gd?0:e.charCodeAt(e.length-1)===Dg?parseFloat(e)/100*t:parseFloat(e)}});var Hk=A$1(yd=>{"use strict";Object.defineProperty(yd,"__esModule",{value:!0});yd.parse=FZ;yd.parseHex=Fk;yd.parseColor=Uk;var kk=Pi(),ki=aD(),ge=Lk(),PZ=35,kZ=(()=>{let e=`(\\w+)`,t=`[\\s,\\/]`,n=`([^\\s,\\/]+)`,r=`(?:${t}+${n})`;return new RegExp(`${e}\\(
2      ${t}*
3      ${n}
4      ${r}
5      ${r}
6      ${r}?
7      ${r}?
8      ${t}*
9    \\)`.replace(/\s/g,``))})();function FZ(e){return e.charCodeAt(0)===PZ?Fk(e):Uk(e)}function Fk(e){let t=0,n=0,r=0,o=255;switch(e.length){case 4:t=(pt(e.charCodeAt(1))<<4)+pt(e.charCodeAt(1)),n=(pt(e.charCodeAt(2))<<4)+pt(e.charCodeAt(2)),r=(pt(e.charCodeAt(3))<<4)+pt(e.charCodeAt(3));break;case 7:t=(pt(e.charCodeAt(1))<<4)+pt(e.charCodeAt(2)),n=(pt(e.charCodeAt(3))<<4)+pt(e.charCodeAt(4)),r=(pt(e.charCodeAt(5))<<4)+pt(e.charCodeAt(6));break;case 9:t=(pt(e.charCodeAt(1))<<4)+pt(e.charCodeAt(2)),n=(pt(e.charCodeAt(3))<<4)+pt(e.charCodeAt(4)),r=(pt(e.charCodeAt(5))<<4)+pt(e.charCodeAt(6)),o=(pt(e.charCodeAt(7))<<4)+pt(e.charCodeAt(8));break;default:break}return(0,kk.newColor)(t,n,r,o)}function pt(e){return(e&15)+9*(e>>6)}function Uk(e){let t=kZ.exec(e);if(t!==null){let n=t[1],r=t[2],o=t[3],i=t[4],s=t[5],a=t[6];if((0,ge.isFromKeyword)(r))throw new Error(`Color.parse(): relative colors require parseCSS() from "color-bits/css": "${e}"`);let c=Pk(n,r,o,i,s,a);if(c===null&&n.toLowerCase()!==n&&(c=Pk(n.toLowerCase(),r,o,i,s,a)),c!==null)return c}
9throw new Error(`Color.parse(): invalid CSS color: "${e}"`)}function Pk(e,t,n,r,o,i){switch(e){case`rgb`:case`rgba`:{let s=(0,ge.parseColorChannel)(t),a=(0,ge.parseColorChannel)(n),c=(0,ge.parseColorChannel)(r),l=o?(0,ge.parseAlphaChannel)(o):255;return(0,kk.newColor)(s,a,c,l)}case`hsl`:case`hsla`:{let s=(0,ge.parseAngle)(t),a=(0,ge.parsePercent)(n),c=(0,ge.parsePercent)(r),l=o?(0,ge.parseAlphaChannel)(o):255;return(0,ki.hslToColor)(s,a,c,l)}case`hwb`:{let s=(0,ge.parseAngle)(t),a=(0,ge.parsePercent)(n),c=(0,ge.parsePercent)(r),l=o?(0,ge.parseAlphaChannel)(o):255;return(0,ki.hwbToColor)(s,a,c,l)}case`lab`:{let s=(0,ge.parseNumberOrPercentage)(t,100),a=(0,ge.parseNumberOrPercentage)(n,125),c=(0,ge.parseNumberOrPercentage)(r,125),l=o?(0,ge.parseAlphaChannel)(o):255;return(0,ki.labToColor)(s,a,c,l)}case`lch`:{let s=(0,ge.parseNumberOrPercentage)(t,100),a=(0,ge.parseNumberOrPercentage)(n,150),c=(0,ge.parseAngle)(r),l=o?(0,ge.parseAlphaChannel)(o):255;return(0,ki.lchToColor)(s,a,c,l)}case`oklab`:{let s=(0,ge.parseNumberOrPercentage)(t,1),a=(0,ge.parseNumberOrPercentage)(n,.4),c=(0,ge.parseNumberOrPercentage)(r,.4),l=o?(0,ge.parseAlphaChannel)(o):255;return(0,ki.oklabToColor)(s,a,c,l)}case`oklch`:{let s=(0,ge.parseNumberOrPercentage)(t,1),a=(0,ge.parseNumberOrPercentage)(n,.4),c=(0,ge.parseAngle)(r),l=o?(0,ge.parseAlphaChannel)(o):255;return(0,ki.oklchToColor)(s,a,c,l)}case`color`:{let s=(0,ge.parsePercentageOrValue)(n),a=(0,ge.parsePercentageOrValue)(r),c=(0,ge.parsePercentageOrValue)(o),l=i?(0,ge.parseAlphaChannel)(i):255,u=(0,ki.colorSpaceToColor)(t,s,a,c,l);return u===null&&t.toLowerCase()!==t&&(u=(0,ki.colorSpaceToColor)(t.toLowerCase(),s,a,c,l)),u}default:return null}}});var jk=A$1(xt=>{"use strict";var UZ=xt&&xt.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||(`get`in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),HZ=xt&&xt.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),BZ=xt&&xt.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&UZ(t,e,n);return HZ(t,e),t};Object.defineProperty(xt,"__esModule",{value:!0});xt.format=void 0;xt.formatHEXA=Bk;xt.formatHEX=VZ;xt.formatRGBA=$Z;xt.toRGBA=GZ;xt.formatHSLA=zZ;xt.toHSLA=WZ;xt.formatHWBA=qZ;xt.toHWBA=YZ;var jZ=BZ(Pi()),Cg=aD(),{getRed:Fi,getGreen:Ui,getBlue:Hi,getAlpha:zs}=jZ,Yt=new Float64Array(3),Gs=Array.from({length:256}).map((e,t)=>t.toString(16).padStart(2,`0`));xt.format=Bk;function Bk(e){return`#`+Gs[Fi(e)]+Gs[Ui(e)]+Gs[Hi(e)]+Gs[zs(e)]}function VZ(e){return`#`+Gs[Fi(e)]+Gs[Ui(e)]+Gs[Hi(e)]}function $Z(e){return`rgba(${Fi(e)} ${Ui(e)} ${Hi(e)} / ${zs(e)/255})`}function GZ(e){return{r:Fi(e),g:Ui(e),b:Hi(e),a:zs(e)}}function zZ(e){return(0,Cg.srgbToHsl)(Fi(e)/255,Ui(e)/255,Hi(e)/255,Yt),`hsla(${Yt[0]} ${Yt[1]}% ${Yt[2]}% / ${zs(e)/255})`}function WZ(e){return(0,Cg.srgbToHsl)(Fi(e)/255,Ui(e)/255,Hi(e)/255,Yt),{h:Yt[0],s:Yt[1],l:Yt[2],a:zs(e)/255}}function qZ(e){return(0,Cg.srgbToHwb)(Fi(e)/255,Ui(e)/255,Hi(e)/255,Yt),`hwb(${Yt[0]} ${Yt[1]}% ${Yt[2]}% / ${zs(e)/255})`}function YZ(e){return(0,Cg.srgbToHwb)(Fi(e)/255,Ui(e)/255,Hi(e)/255,Yt),{h:Yt[0],w:Yt[1],b:Yt[2],a:zs(e)/255}}});var Vk=A$1(vd=>{"use strict";Object.defineProperty(vd,"__esModule",{value:!0});vd.alpha=KZ;vd.darken=XZ;vd.lighten=ZZ;var Ir=Pi();function KZ(e,t){return(0,Ir.setAlpha)(e,Math.round(t*255))}function XZ(e,t){let n=(0,Ir.getRed)(e),r=(0,Ir.getGreen)(e),o=(0,Ir.getBlue)(e),i=(0,Ir.getAlpha)(e),s=1-t;return(0,Ir.newColor)(n*s,r*s,o*s,i)}function ZZ(e,t){let n=(0,Ir.getRed)(e),r=(0,Ir.getGreen)(e),o=(0,Ir.getBlue)(e),i=(0,Ir.getAlpha)(e);return(0,Ir.newColor)(n+(255-n)*t,r+(255-r)*t,o+(255-o)*t,i)}});var $k=A$1(lD=>{"use strict";Object.defineProperty(lD,"__esModule",{value:!0});lD.blend=QZ;var Ws=Pi();function QZ(e,t,n,r=1){let o=(c,l)=>Math.round((c**(1/r)*(1-n)+l**(1/r)*n)**r),i=o((0,Ws.getRed)(e),(0,Ws.getRed)(t)),s=o((0,Ws.getGreen)(e),(0,Ws.getGreen)(t)),a=o((0,Ws.getBlue)(e),(0,Ws.getBlue)(t));return(0,Ws.newColor)(i,s,a,255)}});var Gk=A$1(dD=>{"use strict";Object.defineProperty(dD,"__esModule",{value:!0});dD.getLuminance=JZ;var uD=Pi();function JZ(e){let t=(0,uD.getRed)(e)/255,n=(0,uD.getGreen)(e)/255,r=(0,uD.getBlue)(e)/255,o=c=>c<=.03928?c/12.92:((c+.055)/1.055)**2.4,i=o(t),s=o(n),a=o(r);return Math.round((.2126*i+.7152*s+.0722*a)*1e3)/1e3}});var fD=A$1(Jn=>{"use strict";var eQ=Jn&&Jn.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);
vendor: 4,219 bytes, lines 9-11
9(!o||(`get`in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),jc=Jn&&Jn.__exportStar||function(e,t){for(var n in e)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&eQ(t,e,n)};Object.defineProperty(Jn,"__esModule",{value:!0});jc(Pi(),Jn);jc(Hk(),Jn);jc(jk(),Jn);jc(Vk(),Jn);jc($k(),Jn);jc(Gk(),Jn)});function V(e){return typeof e==`function`}function ra(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var jd=ra(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
10${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
11  `)}`:``,this.name=`UnsubscriptionError`,this.errors=n});function Yi(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var We=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(V(r))try{r()}catch(i){t=i instanceof jd?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{bC(i)}catch(s){t=t??[],s instanceof jd?t=[...t,...s.errors]:t.push(s)}}if(t)throw new jd(t)}}add(t){var n;if(t&&t!==this)if(this.closed)bC(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Yi(n,t)}remove(t){let{_finalizers:n}=this;n&&Yi(n,t),t instanceof e&&t._removeParent(this)}};We.EMPTY=(()=>{let e=new We;return e.closed=!0,e})();var hy=We.EMPTY;function Vd(e){return e instanceof We||e&&`closed`in e&&V(e.remove)&&V(e.add)&&V(e.unsubscribe)}function bC(e){V(e)?e():e.unsubscribe()}var nr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var oa={setTimeout(e,t,...n){let{delegate:r}=oa;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=oa;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $d(e){oa.setTimeout(()=>{let{onUnhandledError:t}=nr;if(t)t(e);else throw e})}function Tn(){}var SC=my(`C`,void 0,void 0);function TC(e){return my(`E`,void 0,e)}function DC(e){return my(`N`,e,void 0)}function my(e,t,n){return{kind:e,value:t,error:n}}var Ki=null;function ia(e){if(nr.useDeprecatedSynchronousErrorHandling){let t=!Ki;if(t&&(Ki={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ki;if(Ki=null,n)throw r}}else e()}function CC(e){nr.useDeprecatedSynchronousErrorHandling&&Ki&&(Ki.errorThrown=!0,Ki.error=e)}var Xi=class extends We{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Vd(t)&&t.add(this)):this.destination=IF}static create(t,n,r){return new rr(t,n,r)}next(t){this.isStopped?yy(DC(t),this):this._next(t)}error(t){this.isStopped?yy(TC(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?yy(SC,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}};var DF=Function.prototype.bind;function gy(e,t){return DF.call(e,t)}var vy=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Gd(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Gd(r)}else Gd(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Gd(n)}}};var rr=class extends Xi{constructor(t,n,r){super();let o;if(V(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;
vendor: 4,988 bytes, line 11
11this&&nr.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&gy(t.next,i),error:t.error&&gy(t.error,i),complete:t.complete&&gy(t.complete,i)}):o=t}this.destination=new vy(o)}};function Gd(e){nr.useDeprecatedSynchronousErrorHandling?CC(e):$d(e)}function CF(e){throw e}function yy(e,t){let{onStoppedNotification:n}=nr;n&&oa.setTimeout(()=>n(e,t))}var IF={closed:!0,next:Tn,error:CF,complete:Tn};var sa=typeof Symbol==`function`&&Symbol.observable||`@@observable`;function Qt(e){return e}function zd(...e){return Ey(e)}function Ey(e){return e.length===0?Qt:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var W=class e{constructor(t){t&&(this._subscribe=t)}lift(t){let n=new e;return n.source=this,n.operator=t,n}subscribe(t,n,r){let o=wF(t)?t:new rr(t,n,r);return ia(()=>{let{operator:i,source:s}=this;o.add(i?i.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(n){t.error(n)}}forEach(t,n){return n=IC(n),new n((r,o)=>{let i=new rr({next:s=>{try{t(s)}catch(a){o(a),i.unsubscribe()}},error:o,complete:r});this.subscribe(i)})}_subscribe(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)}[sa](){return this}pipe(...t){return Ey(t)(this)}toPromise(t){return t=IC(t),new t((n,r)=>{let o;this.subscribe(i=>o=i,i=>r(i),()=>n(o))})}};W.create=e=>new W(e);function IC(e){var t;return(t=e??nr.Promise)!==null&&t!==void 0?t:Promise}function _F(e){return e&&V(e.next)&&V(e.error)&&V(e.complete)}function wF(e){return e&&e instanceof Xi||_F(e)&&Vd(e)}var _C=ra(e=>function(){e(this),this.name=`ObjectUnsubscribedError`,this.message=`object unsubscribed`});var K=class extends W{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let n=new Wd(this,this);return n.operator=t,n}_throwIfClosed(){if(this.closed)throw new _C}next(t){ia(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(t)}})}error(t){ia(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:n}=this;for(;n.length;)n.shift().error(t)}})}complete(){ia(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:n,isStopped:r,observers:o}=this;return n||r?hy:(this.currentObservers=null,o.push(t),new We(()=>{this.currentObservers=null,Yi(o,t)}))}_checkFinalizedStatuses(t){let{hasError:n,thrownError:r,isStopped:o}=this;n?t.error(r):o&&t.complete()}asObservable(){let t=new W;return t.source=this,t}};K.create=(e,t)=>new Wd(e,t);var Wd=class extends K{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:hy}};function Or(e,t){let n=V(e)?e:()=>e,r=o=>o.error(n());return new W(t?o=>t.schedule(r,0,o):r)}function AF(e){return V(e?.lift)}function B(e){return t=>{if(AF(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError(`Unable to lift unknown Observable type`)}}function H(e,t,n,r,o){return new by(e,t,n,r,o)}var by=class extends Xi{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function $(e,t){return B((n,r)=>{let o=0;n.subscribe(H(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:xF}=Array,{getPrototypeOf:RF,prototype:NF,keys:MF}=Object;function qd(e){if(e.length===1){let t=e[0];if(xF(t))return{args:t,keys:null};if(OF(t)){let n=MF(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function OF(e){return e&&typeof e==`object`&&RF(e)===NF}function AC(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}
vendor: 8,940 bytes, line 11
11return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function wC(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function Zi(e){return this instanceof Zi?(this.v=e,this):new Zi(e)}function xC(e,t,n){if(!Symbol.asyncIterator)throw new TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),a(`next`),a(`throw`),a(`return`,s),o[Symbol.asyncIterator]=function(){return this},o;function s(p){return function(g){return Promise.resolve(g).then(p,d)}}function a(p,g){r[p]&&(o[p]=function(y){return new Promise(function(E,b){i.push([p,y,E,b])>1||c(p,y)})},g&&(o[p]=g(o[p])))}function c(p,g){try{l(r[p](g))}catch(y){f(i[0][3],y)}}function l(p){p.value instanceof Zi?Promise.resolve(p.value.v).then(u,d):f(i[0][2],p)}function u(p){c(`next`,p)}function d(p){c(`throw`,p)}function f(p,g){p(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function RC(e){if(!Symbol.asyncIterator)throw new TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof wC==`function`?wC(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var aa=(e=>e&&typeof e.length==`number`&&typeof e!=`function`);function Yd(e){return V(e?.then)}function Kd(e){return V(e[sa])}function Xd(e){return Symbol.asyncIterator&&V(e?.[Symbol.asyncIterator])}function Zd(e){return new TypeError(`You provided ${e!==null&&typeof e==`object`?`an invalid object`:`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function LF(){return typeof Symbol!=`function`||!Symbol.iterator?`@@iterator`:Symbol.iterator}var Qd=LF();function Jd(e){return V(e?.[Qd])}function ef(e){return xC(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Zi(n.read());if(o)return yield Zi(void 0);yield yield Zi(r)}}finally{n.releaseLock()}})}function tf(e){return V(e?.getReader)}function ne(e){if(e instanceof W)return e;if(e!=null){if(Kd(e))return PF(e);if(aa(e))return kF(e);if(Yd(e))return FF(e);if(Xd(e))return NC(e);if(Jd(e))return UF(e);if(tf(e))return HF(e)}throw Zd(e)}function PF(e){return new W(t=>{let n=e[sa]();if(V(n.subscribe))return n.subscribe(t);throw new TypeError(`Provided object does not correctly implement Symbol.observable`)})}function kF(e){return new W(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function FF(e){return new W(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,$d)})}function UF(e){return new W(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function NC(e){return new W(t=>{BF(e,t).catch(n=>t.error(n))})}function HF(e){return NC(ef(e))}function BF(e,t){var n,r,o,i;return AC(this,void 0,void 0,function*(){try{for(n=RC(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function nf(e){return e&&V(e.schedule)}function Sy(e){return e[e.length-1]}function qo(e){return V(Sy(e))?e.pop():void 0}function Lr(e){return nf(Sy(e))?e.pop():void 0}function MC(e,t){return typeof Sy(e)==`number`?e.pop():t}var{isArray:jF}=Array;function VF(e,t){return jF(t)?e(...t):e(t)}function ca(e){return $(t=>VF(e,t))}function rf(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function $F(...e){let t=qo(e),{args:n,keys:r}=qd(e),o=new W(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;ne(n[u]).subscribe(H(i,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?rf(r,a):a),i.complete())}))}});return t?o.pipe(ca(t)):o}function xe(e,t){return B((n,r)=>{let o=0;n.subscribe(H(r,i=>e.call(t,i,o++)&&r.next(i)))})}function he(e){return B((t,n)=>{let r=null,o=!1,i;r=t.subscribe(H(n,void 0,void 0,s=>{i=ne(e(s,he(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var of=class extends We{constructor(t,n){super()}schedule(t,n=0){return this}};var sl={setInterval(e,t,...n){let{delegate:r}=sl;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=sl;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var la=class extends of{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return sl.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&sl.clearInterval(n)}execute(t,n){if(this.closed)return new Error(`executing a cancelled action`);this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error(`Scheduled action threw falsy error`)}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Yi(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var al={now(){return(al.delegate||Date).now()},delegate:void 0};var Ty=(()=>{class e{constructor(n,r=e.now){this.schedulerActionCtor=n,this.now=r}schedule(n,r=0,o){return new this.schedulerActionCtor(this,n).schedule(o,r)}}return e.now=al.now,e})();var ua=class extends Ty{constructor(t,n=Ty.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var or=new ua(la);var OC=or;function da(e,t=or){return B((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(H(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function je(e,t){return B((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(H(r,c=>{o?.unsubscribe();let l=0,u=i++;ne(e(c,u)).subscribe(o=H(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}var fa={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=fa;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new We(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=fa;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=fa;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Nt=class extends K{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var qe=class extends K{constructor(t=Infinity,n=Infinity,r=al){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===Infinity,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<Infinity&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var sf=class extends la{constructor(t,n){super(t,n),this.scheduler
11=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=fa.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(fa.cancelAnimationFrame(n),t._scheduled=void 0)}};var af=class extends ua{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var GF=new af(sf);var ot=new W(e=>e.complete());function dn(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function cf(e,t=0){return B((n,r)=>{n.subscribe(H(r,o=>dn(r,e,()=>r.next(o),t),()=>dn(r,e,()=>r.complete(),t),o=>dn(r,e,()=>r.error(o),t)))})}function lf(e,t=0){return B((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function LC(e,t){return ne(e).pipe(lf(t),cf(t))}function PC(e,t){return ne(e).pipe(lf(t),cf(t))}function kC(e,t){return new W(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function FC(e,t){return new W(n=>{let r;return dn(n,t,()=>{r=e[Qd](),dn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>V(r?.return)&&r.return()})}function uf(e,t){if(!e)throw new Error(`Iterable cannot be null`);return new W(n=>{dn(n,t,()=>{let r=e[Symbol.asyncIterator]();dn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function UC(e,t){return uf(ef(e),t)}function HC(e,t){if(e!=null){if(Kd(e))return LC(e,t);if(aa(e))return kC(e,t);if(Yd(e))return PC(e,t);if(Xd(e))return uf(e,t);if(Jd(e))return FC(e,t);if(tf(e))return UC(e,t)}throw Zd(e)}function Te(e,t){return t?HC(e,t):ne(e)}function O(...e){return Te(e,Lr(e))}function df(e){return!!e&&(e instanceof W||V(e.lift)&&V(e.subscribe))}var ir=ra(e=>function(){e(this),this.name=`EmptyError`,this.message=`no elements in sequence`});function zF(e,t){let n=typeof t==`object`;return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new ir)}})})}function sr(e,t){let n=typeof t==`object`;return new Promise((r,o)=>{let i=new rr({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new ir)}});e.subscribe(i)})}function BC(e){return e instanceof Date&&!isNaN(e)}function ff(...e){let t=Lr(e),n=qo(e),{args:r,keys:o}=qd(e);if(r.length===0)return Te([],t);let i=new W(WF(r,t,o?s=>rf(o,s):Qt));return n?i.pipe(ca(n)):i}function WF(e,t,n=Qt){return r=>{jC(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)jC(t,()=>{let l=Te(e[c],t),u=!1;l.subscribe(H(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function jC(e,t,n){e?dn(n,e,t):t()}function VC(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,f=()=>{d&&!c.length&&!l&&t.complete()},p=y=>l<r?g(y):c.push(y),g=y=>{i&&t.next(y),l++;let E=!1;ne(n(y,u++)).subscribe(H(t,b=>{o?.(b),i?p(b):t.next(b)},()=>{E=!0},void 0,()=>{if(E)try{for(l--;c.length&&l<r;){let b=c.shift();s?dn(t,s,()=>g(b)):g(b)}f()}catch(b){t.error(b)}}))};return e.subscribe(H(t,p,()=>{d=!0,f()})),()=>{a?.()}}function we(e,t,n=Infinity){return V(t)?we((r,o)=>$((i,s)=>t(r,i,o,s))(ne(e(r,o))),n):(typeof t==`number`&&(n=t),B((r,o)=>VC(r,o,e,n)))}function Pr(e=Infinity){return we(Qt,e)}function $C(){return Pr(1)}function kr(...e){return $C()(Te(e,Lr(e)))}function cl(e){return new W(t=>{ne(e()).subscribe(t)})}var qF=[`addListener`,`removeListener`];var YF=[`addEventListener`,`removeEventListener`];var KF=[`on`,`off`];function ll(e,t,n,r){if(V(n)&&(r=n,n=void 0),r)return ll(e,t,n).pipe(ca(r));let[o,i]=QF(e)?YF.map(s=>a=>e[s](t,a,n)):XF(e)?qF.map(GC(e,t)):ZF(e)?KF.map(GC(e,t)):[];if(!o&&aa(e))return we(s=>ll(s,t,n))(ne(e));if(!o)throw new TypeError(`Invalid event target`);return new W(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function GC(e,t){return n=>r=>e[n](t,r)}function XF(e){return V(e.addListener)&&V(e.removeListener)}function ZF(e){return V(e.on)&&V(e.off)}function QF(e){return V(e.addEventListener)&&V(e.removeEventListener)}function ar(e=0,t,n=OC){let r=-1;return t!=null&&(nf(t)?n=t:r=t),new W(o=>{let i=BC(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function JF(e=0,t=or){return e<0&&(e=0),ar(e,e,t)}function eU(...e){let t=Lr(e),n=MC(e,Infinity),r=e;return r.length?r.length===1?ne(r[0]):Pr(n)(Te(r,t)):ot}var tU=new W(Tn);var{isArray:nU}=Array;function pf(e){return e.length===1&&nU(e[0])?e[0]:e}function rU(...e){return e=pf(e),e.length===1?ne(e[0]):new W(oU(e))}function oU(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(ne(e[r]).subscribe(H(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function iU(...e){let t=qo(e),n=pf(e);return n.length?new W(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)ne(n[s]).subscribe(H(r,a=>{if(o[s].push(a),o.every(c=>
vendor: 2,691 bytes, line 11
11c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):ot}function zC(e){return B((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(H(n,l=>{r=!0,o=l,i||ne(e(l)).subscribe(i=H(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function sU(e,t=or){return zC(()=>ar(e,t))}function Dy(e){return B((t,n)=>{let r=[];return t.subscribe(H(n,o=>r.push(o),()=>{n.next(r),n.complete()})),ne(e).subscribe(H(n,()=>{let o=r;r=[],n.next(o)},Tn)),()=>{r=null}})}function WC(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(H(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function qC(e,t){return B(WC(e,t,arguments.length>=2,!1,!0))}var aU=(e,t)=>(e.push(t),e);function hf(){return B((e,t)=>{qC(aU,[])(e).subscribe(t)})}function cr(e,t){return V(t)?we(e,t,1):we(e,1)}function YC(e){return B((t,n)=>{let r=!1;t.subscribe(H(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Nn(e){return e<=0?()=>ot:B((t,n)=>{let r=0;t.subscribe(H(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function KC(){return B((e,t)=>{e.subscribe(H(t,Tn))})}function XC(e){return $(()=>e)}function Cy(e,t){return t?n=>kr(t.pipe(Nn(1),KC()),n.pipe(Cy(e))):we((n,r)=>ne(e(n,r)).pipe(Nn(1),XC(n)))}function cU(e,t=or){let n=ar(e,t);return Cy(()=>n)}function mf(e,t=Qt){return e=e??lU,B((n,r)=>{let o,i=!0;n.subscribe(H(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function lU(e,t){return e===t}function ZC(e=uU){return B((t,n)=>{let r=!1;t.subscribe(H(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function uU(){return new ir}function dU(...e){return t=>kr(t,O(...e))}function Qi(e){return B((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ke(e,t){let n=arguments.length>=2;return r=>r.pipe(e?xe((o,i)=>e(o,i,r)):Qt,Nn(1),n?YC(t):ZC(()=>new ir))}function gf(e){return e<=0?()=>ot:B((t,n)=>{let r=[];t.subscribe(H(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function yf(){return B((e,t)=>{let n,r=!1;e.subscribe(H(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function mo(e={}){let{connector:t=()=>new K,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=c=void 0,u=d=!1},g=()=>{let y=s;p(),y?.unsubscribe()};return B((y,E)=>{l++,!d&&!u&&f();let b=c=c??t();E.add(()=>{l--,l===0&&!d&&!u&&(a=Iy(g,o))}),b.subscribe(E),!s&&l>0&&(s=new rr({next:C=>
11b.next(C),error:C=>{d=!0,f(),a=Iy(p,n,C),b.error(C)},complete:()=>{u=!0,f(),a=Iy(p,r),b.complete()}}),ne(y).subscribe(s))})(i)}}function Iy(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new rr({next:()=>{r.unsubscribe(),e()}});return ne(t(...n)).subscribe(r)}function Mn(e,t,n){let r,o=!1;return e&&typeof e==`object`?{bufferSize:r=Infinity,windowTime:t=Infinity,refCount:o=!1,scheduler:n}=e:r=e??Infinity,mo({connector:()=>new qe(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function fU(e){return xe((t,n)=>e<=n)}function vf(...e){let t=Lr(e);return B((n,r)=>{(t?kr(e,n,t):kr(e,n)).subscribe(r)})}function ul(e){return B((t,n)=>{ne(e).subscribe(H(n,()=>n.complete(),Tn)),!n.closed&&t.subscribe(n)})}function Tt(e,t,n){let r=V(e)||t||n?{next:e,error:t,complete:n}:e;return r?B((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(H(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Qt}function QC(e,t){return B((n,r)=>{let{leading:o=!0,trailing:i=!1}=t??{},s=!1,a=null,c=null,l=!1,u=()=>{c?.unsubscribe(),c=null,i&&(p(),l&&r.complete())},d=()=>{c=null,l&&r.complete()},f=g=>c=ne(e(g)).subscribe(H(r,u,d)),p=()=>{if(s){s=!1;let g=a;a=null,r.next(g),!l&&f(g)}};n.subscribe(H(r,g=>{s=!0,a=g,!(c&&!c.closed)&&(o?p():f(g))},()=>{l=!0,!(i&&s&&c&&!c.closed)&&r.complete()}))})}function Ef(e,t=or,n){let r=ar(e,t);return QC(()=>r,n)}function pU(...e){let t=qo(e);return B((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)ne(e[c]).subscribe(H(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(Qt))&&(s=null))},Tn));n.subscribe(H(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}var Jt=null;var bf=!1;var Ji=1;var hU=null;var Ve=Symbol(`SIGNAL`);function F(e){let t=Jt;return Jt=e,t}function Sf(){return Jt}var go={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:`unknown`,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function yo(e){if(bf)throw new Error(``);if(Jt===null)return;Jt.consumerOnSignalRead(e);let t=Jt.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=Jt.recomputing;if(r&&(n=t!==void 0?t.nextProducer:Jt.producers,n!==void 0&&n.producer===e)){Jt.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=Ji;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Jt&&(!r||o.knownValidAtEpoch===Ji))return;let i=ha(Jt),s={producer:e,consumer:Jt,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:Ji,lastReadVersion:e.version,nextConsumer:void 0};Jt.producersTail=s,t!==void 0?t.nextProducer=s:Jt.producers=s,i&&rI(e,s)}function JC(){Ji++}function ns(e){if(!(ha(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ji)){if(!e.producerMustRecompute(e)&&!rs(e)){pa(e);return}e.producerRecomputeValue(e),pa(e)}}function _y(e){if(e.consumers===void 0)return;let t=bf;bf=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||eI(r)}}finally{bf=t}}function wy(){return Jt?.consumerAllowSignalWrites!==!1}function eI(e){e.dirty=!0,_y(e),e.consumerMarkedDirty?.(e)}function pa(e){e.dirty=!1,e.lastCleanEpoch=Ji}function Ur(e){return e&&tI(e),F(e)}function tI(e){if(e.producersTail?.knownValidAtEpoch===Ji){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function vo(e,t){F(t),e&&nI(e)}function nI(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(ha(e))do n=Ay(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function rs(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(ns(n),r!==n.version))return!0}return!1}function Eo(e){if(ha(e)){let t=e.producers;for(;t!==void 0;)t=Ay(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function rI(e,t){let n=e.consumersTail,r=ha(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)rI(o.producer,o)}function Ay(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)
11o.nextConsumer=r;else if(t.consumers=r,!ha(t)){let i=t.producers;for(;i!==void 0;)i=Ay(i)}return n}function ha(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function dl(e){hU?.(e)}function fl(e,t){return Object.is(e,t)}function pl(e,t){let n=Object.create(mU);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(ns(n),yo(n),n.value===Fr)throw n.error;return n.value};return r[Ve]=n,dl(n),r}var es=Symbol(`UNSET`);var ts=Symbol(`COMPUTING`);var Fr=Symbol(`ERRORED`);var mU=x(w$1({},go),{value:es,dirty:!0,error:null,equal:fl,kind:`computed`,producerMustRecompute(e){return e.value===es||e.value===ts},producerRecomputeValue(e){if(e.value===ts)throw new Error(``);let t=e.value;e.value=ts;let n=Ur(e),r,o=!1;try{r=e.computation(),F(null),o=t!==es&&t!==Fr&&r!==Fr&&e.equal(t,r)}catch(i){r=Fr,e.error=i}finally{vo(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function gU(){throw new Error}var oI=gU;function iI(e){oI(e)}function xy(e){oI=e}var yU=null;function Ry(e,t){let n=Object.create(ma);n.value=e,t!==void 0&&(n.equal=t);let r=()=>sI(n);return r[Ve]=n,dl(n),[r,s=>bo(n,s),s=>Tf(n,s)]}function sI(e){return yo(e),e.value}function bo(e,t){wy()||iI(e),e.equal(e.value,t)||(e.value=t,vU(e))}function Tf(e,t){wy()||iI(e),bo(e,t(e.value))}var ma=x(w$1({},go),{equal:fl,value:void 0,kind:`signal`});function vU(e){e.version++,JC(),_y(e),yU?.(e)}var Ny=x(w$1({},go),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:`effect`});function My(e){if(e.dirty=!1,e.version>0&&!rs(e))return;e.version++;let t=Ur(e);try{e.cleanup(),e.fn()}finally{vo(e,t)}}var Oy;function Df(){return Oy}function Hr(e){let t=Oy;return Oy=e,t}var aI=Symbol(`NotFound`);function ga(e){return e===aI||e?.name===`ɵNotFound`}function Ly(e,t,n){let r=Object.create(EU);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(ns(r),yo(r),r.value===Fr)throw r.error;return r.value};return i[Ve]=r,dl(r),i}function Py(e,t){ns(e),bo(e,t),pa(e)}function cI(e,t){if(ns(e),e.value===Fr)throw e.error;Tf(e,t),pa(e)}var EU=x(w$1({},go),{value:es,dirty:!0,error:null,equal:fl,kind:`linkedSignal`,producerMustRecompute(e){return e.value===es||e.value===ts},producerRecomputeValue(e){if(e.value===ts)throw new Error(``);let t=e.value;e.value=ts;let n=Ur(e),r,o=!1;try{let i=e.source(),s=t!==es&&t!==Fr,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,F(null),o=s&&r!==Fr&&e.equal(t,r)}catch(i){r=Fr,e.error=i}finally{vo(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function lI(e){let t=F(null);try{return e()}finally{F(t)}}var Rf=`https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss`;var I=class extends Error{code;constructor(t,n){super(Ln(t,n)),this.code=t}};function bU(e){return`NG0${Math.abs(e)}`}function Ln(e,t){return`${bU(e)}${t?`: `+t:``}`}function ve(e){for(let t in e)if(e[t]===ve)return t;throw Error(``)}function mI(e,t){for(let n in t)Object.hasOwn(t,n)&&!Object.hasOwn(e,n)&&(e[n]=t[n])}function bl(e){if(typeof e==`string`)return e;if(Array.isArray(e))return`[${e.map(bl).join(`, `)}]`;if(e==null)return``+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return``+n;let r=n.indexOf(`
12`);return r>=0?n.slice(0,r):n}function Nf(e,t){return e?t?`${e} ${t}`:e:t||``}var SU=ve({__forward_ref__:ve});function Mf(e){return e.__forward_ref__=Mf,e}function gt(e){return Xy(e)?e():e}function Xy(e){return typeof e==`function`&&Object.hasOwn(e,SU)&&e.__forward_ref__===Mf}function gI(e,t,n){e!=t&&yI(n,e,t,`==`)}function yI(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?``:` [Expected=> ${n} ${r} ${t} <=Actual]`))}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Sl(e){return TU(e,Of)}function Zy(e){return Sl(e)!==null}function TU(e,t){return Object.hasOwn(e,t)&&e[t]||null}function DU(e){return(e?.[Of]??null)||null}function Fy(e){return e&&Object.hasOwn(e,If)?e[If]:null}var Of=ve({ɵprov:ve});var If=ve({ɵinj:ve});var A=class{_desc;ngMetadataName=`InjectionToken`;ɵprov;
vendor: 2,818 bytes, line 12
12constructor(t,n){this._desc=t,this.ɵprov=void 0,typeof n==`number`?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.ɵprov=T({token:this,providedIn:n.providedIn||`root`,factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Qy(e){return e&&!!e.ɵproviders}var Tl=ve({ɵcmp:ve});var Dl=ve({ɵdir:ve});var Jy=ve({ɵpipe:ve});var ev=ve({ɵmod:ve});var gl=ve({ɵfac:ve});var cs=ve({__NG_ELEMENT_ID__:ve});var uI=ve({__NG_ENV_ID__:ve});function vI(e){return Lf(e,`@NgModule`),e[ev]||null}function Br(e){return Lf(e,`@Component`),e[Tl]||null}function Cl(e){return Lf(e,`@Directive`),e[Dl]||null}function tv(e){return Lf(e,`@Pipe`),e[Jy]||null}function Lf(e,t){if(e==null)throw new I(-919,!1)}function Ot(e){return typeof e==`string`?e:e==null?``:String(e)}var EI=ve({ngErrorCode:ve});var CU=ve({ngErrorMessage:ve});var IU=ve({ngTokenPath:ve});function nv(e,t){return bI(``,-200,t)}function Pf(e,t){throw new I(-201,!1)}function bI(e,t,n){let r=new I(t,e);return r[EI]=t,r[CU]=e,n&&(r[IU]=n),r}function _U(e){return e[EI]}var Uy;function SI(){return Uy}function en(e){let t=Uy;return Uy=e,t}function rv(e,t,n){let r=Sl(e);if(r&&r.providedIn==`root`)return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;Pf(e,``)}var it=globalThis;var os={};var AU=`__NG_DI_FLAG__`;var Hy=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=is(n)||0;try{return this.injector.get(t,r&8?null:os,r)}catch(o){if(ga(o))return o;throw o}}};function xU(e,t=0){let n=Df();if(n===void 0)throw new I(-203,!1);if(n===null)return rv(e,void 0,t);{let r=RU(t),o=n.retrieve(e,r);if(ga(o)){if(r.optional)return null;throw o}return o}}function L(e,t=0){return(SI()||xU)(gt(e),t)}function m(e,t){return L(e,is(t))}function is(e){return typeof e>`u`||typeof e==`number`?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function RU(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function By(e){let t=[];for(let n=0;n<e.length;n++){let r=gt(e[n]);if(Array.isArray(r)){if(r.length===0)throw new I(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=NU(a);typeof c==`number`?c===-1?o=a.token:i|=c:o=a}t.push(L(o,i))}else t.push(L(r))}return t}function NU(e){return e[AU]}function Ko(e,t){return Object.hasOwn(e,gl)?e[gl]:null}function TI(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function DI(e){return e.flat(Number.POSITIVE_INFINITY)}function kf(e,t){e.forEach(n=>Array.isArray(n)?kf(n,t):t(n))}function ov(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Il(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function CI(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function II(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);
vendor: 6,236 bytes, line 12
12else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}function _l(e,t,n){let r=Ea(e,t);return r>=0?e[r|1]=n:(r=~r,II(e,r,t,n)),r}function Ff(e,t){let n=Ea(e,t);if(n>=0)return e[n|1]}function Ea(e,t){return MU(e,t,1)}function MU(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Zo={};var Mt=[];var Qo=new A(``);var wl=new A(``,-1);var iv=new A(``);var va=class{get(t,n=os){if(n===os){let o=bI(``,-201);throw o.name=`ɵNotFound`,o}return n}};function jr(e){return{ɵproviders:e}}function _I(...e){return{ɵproviders:Uf(!0,e),ɵfromNgModule:!0}}function Uf(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return kf(t,s=>{let a=s;_f(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&wI(o,i),n}function wI(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];sv(o,i=>{t(i,r)})}}function _f(e,t,n,r){if(e=gt(e),!e)return!1;let o=null,i=Fy(e),s=!i&&Br(e);if(!i&&!s){let c=e.ngModule;if(i=Fy(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies==`function`?s.dependencies():s.dependencies;for(let l of c)_f(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;kf(i.imports,u=>{_f(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&wI(l,t)}if(!a){let l=Ko(o)||(()=>new o);t({provide:o,useFactory:l,deps:Mt},o),t({provide:iv,useValue:o,multi:!0},o),t({provide:Qo,useValue:()=>L(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;sv(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function sv(e,t){for(let n of e)Qy(n)&&(n=n.ɵproviders),Array.isArray(n)?sv(n,t):t(n)}var OU=ve({provide:String,useValue:ve});function AI(e){return e!==null&&typeof e==`object`&&OU in e}function LU(e){return!!(e&&e.useExisting)}function PU(e){return!!(e&&e.useFactory)}function ss(e){return typeof e==`function`}function xI(e){return!!e.useClass}var Al=new A(``);var Cf={};var dI={};var ky;function ba(){return ky===void 0&&(ky=new va),ky}var Le=class{};var as=class extends Le{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Vy(t,s=>this.processProvider(s)),this.records.set(wl,ya(void 0,this)),o.has(`environment`)&&this.records.set(Le,ya(void 0,this));let i=this.records.get(Al);i!=null&&typeof i.value==`string`&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(iv,Mt,{self:!0}))}retrieve(t,n){let r=is(n)||0;try{return this.get(t,os,r)}catch(o){if(ga(o))return o;throw o}}destroy(){hl(this),this._destroyed=!0;let t=F(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),F(t)}}onDestroy(t){return hl(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){hl(this);let n=Hr(this),r=en(void 0);try{return t()}finally{Hr(n),en(r)}}get(t,n=os,r){if(hl(this),Object.hasOwn(t,uI))return t[uI](this);let o=is(r),s=Hr(this),a=en(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=BU(t)&&Sl(t);u&&this.injectableDefInScope(u)?l=ya(jy(t),Cf):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?ba():this.parent;return n=o&8&&n===os?null:n,c.get(t,n)}catch(c){let l=_U(c);throw l===-200||l===-201?new I(l,null):c}finally{en(a),Hr(s)}}resolveInjectorInitializers(){let t=F(null),n=Hr(this),r=en(void 0);try{let i=this.get(Qo,Mt,{self:!0});for(let s of i)s()}finally{Hr(n),en(r),F(t)}}toString(){return`R3Injector[...]`}processProvider(t){t=gt(t);let n=ss(t)?t:gt(t&&t.provide),r=FU(t);if(!ss(t)&&t.multi===!0){let o=this.records.get(n);o||(o=ya(void 0,Cf,!0),o.factory=()=>By(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=F(null);try{if(n.value===dI)throw nv(``);return n.value===Cf&&(n.value=dI,n.value=n.factory(void 0,r)),typeof n.value==`object`&&n.value&&HU(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{F(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=gt(t.providedIn);return typeof n==`string`?n===`any`||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function jy(e){let t=Sl(e),n=t!==null?t.factory:Ko(e);if(n!==null)return n;if(e instanceof A)throw new I(-204,!1);if(e instanceof Function)return kU(e);throw new I(-204,!1)}function kU(e){if(e.length>0)throw new I(-204,!1);let n=DU(e);return n!==null?()=>n.factory(e):()=>new e}function FU(e){if(AI(e))return ya(void 0,e.useValue);return ya(av(e),Cf)}function av(e,t,n){let r;if(ss(e)){let o=gt(e);return Ko(o)||jy(o)}else if(AI(e))r=()=>gt(e.useValue);else if(PU(e))r=()=>e.useFactory(...By(e.deps||[]));else if(LU(e))r=(o,i)=>L(gt(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=gt(e&&(e.useClass||e.provide));if(UU(e))r=()=>new o(...By(e.deps));else return Ko(o)||jy(o)}return r}function hl(e){if(e.destroyed)throw new I(-205,!1)}function ya(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function UU(e){return!!e.deps}function HU(e){return e!==null&&typeof e==`object`&&typeof e.ngOnDestroy==`function`}function BU(e){return typeof e==`function`||typeof e==`object`&&e.ngMetadataName===`InjectionToken`}function Vy(e,t){for(let n of e)Array.isArray(n)?Vy(n,t):n&&Qy(n)?Vy(n.ɵproviders,t):t(n)}function ut(e,t){let n;e instanceof as?(hl(e),n=e):n=new Hy(e);let o=Hr(n),i=en(void 0);try{return t()}finally{Hr(o),en(i)}}function cv(){return SI()!==void 0||Df()!=null}var ur=0;var N=1;var G=2;var lt=3;var Pn=4;var It=5;var ls=6;var Sa=7;var Xe=8;var Ye=9;var dr=10;var oe=11;var Ta=12;var lv=13;var Jo=14;var Lt=15;var ei=16;var us=17;var Vr=18;var fr=19;var uv=20;var So=21;var Hf=22;var To=23;var Cn=24;var ds=25;var kn=26;var le=27;var RI=1;var ti=6;var fs=7;var xl=8;var ps=9;var $e=10;function Co(e){return Array.isArray(e)&&typeof e[RI]==`object`}function Fn(e){return Array.isArray(e)&&e[RI]===!0}function dv(e){return(e.flags&4)!==0}
12function Io(e){return e.componentOffset>-1}function Da(e){return(e.flags&1)===1}function pr(e){return!!e.template}function Ca(e){return(e[G]&512)!==0}function $r(e){return(e[G]&256)===256}var ue=(function(e){return e[e.NONE=0]=`NONE`,e[e.HTML=1]=`HTML`,e[e.STYLE=2]=`STYLE`,e[e.SCRIPT=3]=`SCRIPT`,e[e.URL=4]=`URL`,e[e.RESOURCE_URL=5]=`RESOURCE_URL`,e[e.ATTRIBUTE_NO_BINDING=6]=`ATTRIBUTE_NO_BINDING`,e})(ue||{});var ml;var Xo=`svg`;var Bf=`math`;var $y=``;var fI=`*`;var Gy=()=>Object.create(null);function jU(){return ml||(ml=Gy(),Yo(ue.HTML,void 0,[[`iframe`,[`srcdoc`]],[`*`,[`innerHTML`,`outerHTML`]]]),Yo(ue.STYLE,void 0,[[`*`,[`style`]]]),Yo(ue.URL,void 0,[[`*`,[`formAction`]],[`area`,[`href`]],[`a`,[`href`,`xlink:href`]],[`form`,[`action`]],[`img`,[`src`]],[`video`,[`src`]]]),Yo(ue.URL,Bf,[[`*`,[`href`,`xlink:href`]]]),Yo(ue.RESOURCE_URL,void 0,[[`base`,[`href`]],[`embed`,[`src`]],[`frame`,[`src`]],[`iframe`,[`src`]],[`link`,[`href`]],[`object`,[`codebase`,`data`]]]),Yo(ue.URL,Xo,[[`a`,[`href`,`xlink:href`]]]),Yo(ue.ATTRIBUTE_NO_BINDING,Xo,[[`animate`,[`attributeName`,`values`,`to`,`from`]],[`set`,[`to`,`attributeName`]],[`animateMotion`,[`attributeName`]],[`animateTransform`,[`attributeName`]]]),Yo(ue.ATTRIBUTE_NO_BINDING,void 0,[[`unknown`,[`attributeName`,`values`,`to`,`from`,`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]],[`iframe`,[`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]]]),ml)}function Yo(e,t,n){let r=t??$y;for(let[o,i]of n){let s=o.toLowerCase();for(let a of i){let c=a.toLowerCase(),l=ml[c]??=Gy(),u=l[r]??=Gy();u[s]=e}}}function Rl(e,t,n){let o=jU()[t.toLowerCase()];if(!o)return ue.NONE;let i=e.toLowerCase(),s;if(n){let a=o[n];a&&(s=a[i]??a[fI])}if(s===void 0){let a=o[$y];a&&(s=a[i]??a[fI])}if(s===void 0&&(!n||n===$y)){let a=o[Xo];a&&(s=a[i])}return s??ue.NONE}function yt(e){for(;Array.isArray(e);)e=e[ur];return e}function Ia(e,t){return yt(t[e])}function Pt(e,t){return yt(t[e.index])}function _a(e,t){return e.data[t]}function wa(e,t){return e[t]}function Nl(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Un(e,t){let n=t[e];return Co(n)?n:n[ur]}function NI(e){return(e[G]&4)===4}function jf(e){return(e[G]&128)===128}function MI(e){return Fn(e[lt])}function fn(e,t){return t==null?null:e[t]}function fv(e){e[us]=0}function Vf(e){e[G]&1024||(e[G]|=1024,jf(e)&&hs(e))}function pv(e,t){for(;e>0;)t=t[Jo],e--;return t}function Ml(e){return!!(e[G]&9216||e[Cn]?.dirty)}function $f(e){e[dr].changeDetectionScheduler?.notify(8),e[G]&64&&(e[G]|=1024),Ml(e)&&hs(e)}function hs(e){e[dr].changeDetectionScheduler?.notify(0);let t=Do(e);for(;t!==null&&!(t[G]&8192||(t[G]|=8192,!jf(t)));)t=Do(t)}function Aa(e,t){if($r(e))throw new I(911,!1);e[So]===null&&(e[So]=[]),e[So].push(t)}function Gf(e,t){if(e[So]===null)return;let n=e[So].indexOf(t);n!==-1&&e[So].splice(n,1)}function Do(e){let t=e[lt];return Fn(t)?t[lt]:t}function hv(e){return e[Sa]??=[]}function mv(e){return e.cleanup??=[]}function OI(e,t,n,r){let o=hv(t);o.push(n),e.firstCreatePass&&mv(e).push(r,o.length-1)}var ee={lFrame:GI(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var zy=!1;function LI(){return ee.lFrame.elementDepthCount}function PI(){ee.lFrame.elementDepthCount++}function gv(){ee.lFrame.elementDepthCount--}function zf(){return ee.bindingsEnabled}function yv(){return ee.skipHydrationRootTNode!==null}function vv(e){return ee.skipHydrationRootTNode===e}function Ev(){ee.skipHydrationRootTNode=null}function w(){return ee.lFrame.lView}function me(){return ee.lFrame.tView}function kI(e){return ee.lFrame.contextLView=e,e[Xe]}function FI(e){return ee.lFrame.contextLView=null,e}function Re(){let e=bv();for(;e!==null&&e.type===64;)e=e.parent;return e}function bv(){return ee.lFrame.currentTNode}function xa(){let e=ee.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Gr(e,t){let n=ee.lFrame;n.currentTNode=e,n.isParent=t}function Sv(){return ee.lFrame.isParent}function Tv(){ee.lFrame.isParent=!1}function Dv(){return ee.lFrame.contextLView}function Cv(){return zy}function yl(e){let t=zy;return zy=e,t}function Hn(){let e=ee.lFrame,t=e.bindingRootIndex;
12return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ol(){return ee.lFrame.bindingIndex}function UI(e){return ee.lFrame.bindingIndex=e}function hr(){return ee.lFrame.bindingIndex++}function Ra(e){let t=ee.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function HI(){return ee.lFrame.inI18n}function Iv(e){ee.lFrame.inI18n=e}function BI(e,t){let n=ee.lFrame;n.bindingIndex=n.bindingRootIndex=e,Wf(t)}function jI(){return ee.lFrame.currentDirectiveIndex}function Wf(e){ee.lFrame.currentDirectiveIndex=e}function VI(e){let t=ee.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function qf(){return ee.lFrame.currentQueryIndex}function Ll(e){ee.lFrame.currentQueryIndex=e}function VU(e){let t=e[N];return t.type===2?t.declTNode:t.type===1?e[It]:null}function _v(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=VU(i),o===null||(i=i[Jo],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=ee.lFrame=$I();return r.currentTNode=t,r.lView=e,!0}function Yf(e){let t=$I(),n=e[N];ee.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $I(){let e=ee.lFrame,t=e===null?null:e.child;return t===null?GI(e):t}function GI(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function zI(){let e=ee.lFrame;return ee.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var wv=zI;function Kf(){let e=zI();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function WI(e){return(ee.lFrame.contextLView=pv(e,ee.lFrame.contextLView))[Xe]}function Gt(){return ee.lFrame.selectedIndex}function zr(e){ee.lFrame.selectedIndex=e}function _o(){let e=ee.lFrame;return _a(e.tView,e.selectedIndex)}function qI(){ee.lFrame.currentNamespace=Xo}function YI(){$U()}function $U(){ee.lFrame.currentNamespace=null}function Av(){return ee.lFrame.currentNamespace}var KI=!0;function Pl(){return KI}function Na(e){KI=e}function Xf(){let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}}function Wy(e,t=null,n=null,r){let o=xv(e,t,n,r);return o.resolveInjectorInitializers(),o}function xv(e,t=null,n=null,r,o=new Set){return new as([n||Mt,_I(e)],t||ba(),null,o)}var Dt=class e{static THROW_IF_NOT_FOUND=os;static NULL=new va;static create(t,n){if(Array.isArray(t))return Wy({name:``},n,t,``);{let r=t.name??``;return Wy({name:r},t.parent,t.providers,r)}}static ɵprov=T({token:e,providedIn:`any`,factory:()=>L(wl)});static __NG_ELEMENT_ID__=-1};var Ne=new A(``);var Ct=class{static __NG_ELEMENT_ID__=GU;static __NG_ENV_ID__=t=>t};var wf=class extends Ct{_lView;constructor(t){super(),this._lView=t}get destroyed(){return $r(this._lView)}onDestroy(t){let n=this._lView;return Aa(n,t),()=>Gf(n,t)}};function GU(){return new wf(w())}var Rv=!1;var XI=new A(``);var mr=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Nt(!1);debugTaskTracker=m(XI,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new W(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static ɵprov=T({token:e,providedIn:`root`,factory:()=>new e})}return e})();var qy=class extends K{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,cv()&&(this.destroyRef=m(Ct,{optional:!0})??void 0,this.pendingTasks=m(mr,{optional:!0})??void 0)}emit(t){let n=F(null);try{super.next(t)}finally{F(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t==`object`){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof We&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}};var $t=qy;function Af(...e){}function Nv(e){let t,n;function r(){e=Af;try{n!==void 0&&typeof cancelAnimationFrame==`function`&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame==`function`&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function ZI(e){return queueMicrotask(()=>e()),()=>{e=Af}}var Mv=`isAngularZone`;var vl=Mv+`_ID`;var zU=0;var ie=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new $t(!1);onMicrotaskEmpty=new $t(!1);onStable=new $t(!1);
vendor: 5,960 bytes, line 12
12onError=new $t(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Rv}=t;if(typeof Zone>`u`)throw new I(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,YU(s)}static isInAngularZone(){return typeof Zone<`u`&&Zone.current.get(Mv)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new I(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask(`NgZoneEvent: `+o,t,WU,Af,Af);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}};var WU={};function Ov(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function qU(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Nv(()=>{e.callbackScheduled=!1,Yy(e),e.isCheckStableRunning=!0,Ov(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Yy(e)}function YU(e){let t=()=>{qU(e)},n=zU++;e._inner=e._inner.fork({name:`angular`,properties:{[Mv]:!0,[vl]:n,[vl+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(KU(c))return r.invokeTask(i,s,a,c);try{return pI(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type===`eventTask`||e.shouldCoalesceRunChangeDetection)&&t(),hI(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return pI(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!XU(c)&&t(),hI(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change==`microTask`?(e._hasPendingMicrotasks=s.microTask,Yy(e),Ov(e)):s.change==`macroTask`&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Yy(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function pI(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hI(e){e._nesting--,Ov(e)}var El=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new $t;onMicrotaskEmpty=new $t;onStable=new $t;onError=new $t;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function KU(e){return QI(e,`__ignore_ng_zone__`)}function XU(e){return QI(e,`__scheduler_tick__`)}function QI(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var On=class{_console=console;handleError(t){this._console.error(`ERROR`,t)}};var pn=new A(``,{factory:()=>{let e=m(ie),t=m(Le),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(On),n.handleError(r))})}}});var JI={provide:Qo,useValue:()=>{m(On,{optional:!0})},multi:!0};function Ze(e,t){let[n,r,o]=Ry(e,t?.equal),i=n;i[Ve];return i.set=r,i.update=o,i.asReadonly=kl.bind(i),i}function kl(){let e=this[Ve];if(e.readonlyFn===void 0){let t=()=>this();t[Ve]=e,e.readonlyFn=t}return e.readonlyFn}var Fl=new A(``,{factory:()=>ZU});var ZU=`ng`;var Zf=new A(``);var Ul=new A(``,{providedIn:`platform`,factory:()=>`unknown`});var Hl=new A(``,{factory:()=>m(Ne).body?.querySelector(`[ngCspNonce]`)?.getAttribute(`ngCspNonce`)||null});var Ma=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=QU}return e})();function QU(){return new Ma(w(),Re())}var lr=class{};var Oa=new A(``,{factory:()=>!0});var Qf=new A(``);var Jf=(()=>{class e{static ɵprov=T({token:e,providedIn:`root`,factory:()=>new Ky})}return e})();var Ky=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};var xf=class{[Ve];constructor(t){this[Ve]=t}destroy(){this[Ve].destroy()}};function Lv(e,t){let n=t?.injector??m(Dt),r=t?.manualCleanup!==!0?n.get(Ct):null,o,i=n.get(Ma,null,{optional:!0}),s=n.get(lr);return i!==null?(o=t0(i.view,s,e),r instanceof wf&&r._lView===i.view&&(r=null)):o=tH(e,n.get(Jf),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new xf(o)}var e0=x(w$1({},Ny),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=yl(!1);try{My(this)}finally{yl(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=F(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],F(e)}}});var JU=x(w$1({},e0),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Eo(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}});var eH=x(w$1({},e0),{consumerMarkedDirty(){this.view[G]|=8192,hs(this.view),this.notifier.notify(13)},destroy(){if(Eo(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[To]?.delete(this)}});
12function t0(e,t,n){let r=Object.create(eH);return r.view=e,r.zone=typeof Zone<`u`?Zone.current:null,r.notifier=t,r.fn=n0(r,n),e[To]??=new Set,e[To].add(r),r.consumerMarkedDirty(r),r}function tH(e,t,n){let r=Object.create(JU);return r.fn=n0(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<`u`?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function n0(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Bl(e){return typeof e==`function`&&e[Ve]!==void 0}function ep(e){return Bl(e)&&typeof e.set==`function`}var ms=(()=>{class e{internalPendingTasks=m(mr);scheduler=m(lr);errorHandler=m(pn);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();try{n().catch(this.errorHandler).finally(r)}catch(o){this.errorHandler(o),r()}}static ɵprov=T({token:e,providedIn:`root`,factory:()=>new e})}return e})();var ja=Symbol(`InputSignalNode#UNSET`);var HE=x(w$1({},ma),{transformFn:void 0,applyValueToInputSignal(e,t){bo(e,t)}});function iu(e){return{toString:e}.toString()}var de=(function(e){return e[e.TemplateCreateStart=0]=`TemplateCreateStart`,e[e.TemplateCreateEnd=1]=`TemplateCreateEnd`,e[e.TemplateUpdateStart=2]=`TemplateUpdateStart`,e[e.TemplateUpdateEnd=3]=`TemplateUpdateEnd`,e[e.LifecycleHookStart=4]=`LifecycleHookStart`,e[e.LifecycleHookEnd=5]=`LifecycleHookEnd`,e[e.OutputStart=6]=`OutputStart`,e[e.OutputEnd=7]=`OutputEnd`,e[e.BootstrapApplicationStart=8]=`BootstrapApplicationStart`,e[e.BootstrapApplicationEnd=9]=`BootstrapApplicationEnd`,e[e.BootstrapComponentStart=10]=`BootstrapComponentStart`,e[e.BootstrapComponentEnd=11]=`BootstrapComponentEnd`,e[e.ChangeDetectionStart=12]=`ChangeDetectionStart`,e[e.ChangeDetectionEnd=13]=`ChangeDetectionEnd`,e[e.ChangeDetectionSyncStart=14]=`ChangeDetectionSyncStart`,e[e.ChangeDetectionSyncEnd=15]=`ChangeDetectionSyncEnd`,e[e.AfterRenderHooksStart=16]=`AfterRenderHooksStart`,e[e.AfterRenderHooksEnd=17]=`AfterRenderHooksEnd`,e[e.ComponentStart=18]=`ComponentStart`,e[e.ComponentEnd=19]=`ComponentEnd`,e[e.DeferBlockStateStart=20]=`DeferBlockStateStart`,e[e.DeferBlockStateEnd=21]=`DeferBlockStateEnd`,e[e.DynamicComponentStart=22]=`DynamicComponentStart`,e[e.DynamicComponentEnd=23]=`DynamicComponentEnd`,e[e.HostBindingsUpdateStart=24]=`HostBindingsUpdateStart`,e[e.HostBindingsUpdateEnd=25]=`HostBindingsUpdateEnd`,e})(de||{});var mp=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function l_(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var u_=null;var ai=(()=>{u_=r0;let e=()=>r0;return e.ngInherit=!0,e})();function uH(){return u_}function r0(e){return e.type.prototype.ngOnChanges&&(e.setInput=fH),dH}function dH(){let e=d_(this),t=e?.current;if(t){let n=e.previous;if(n===Zo)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fH(e,t,n,r,o){let i=this.declaredInputs[r],s=d_(e)||pH(e,{previous:Zo,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new mp(l&&l.currentValue,n,c===Zo),l_(e,t,o,n)}var Yv=`__ngSimpleChanges__`;function d_(e){return Object.hasOwn(e,Yv)&&e[Yv]||null}function pH(e,t){return e[Yv]=t}var o0=[];var Ee=function(e,t=null,n){for(let r=0;r<o0.length;r++){let o=o0[r];o(e,t,n)}};function hH(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=uH()(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function f_(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=e.data[n].type.prototype;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function ap(e,t,n){p_(e,t,3,n)}function cp(e,t,n,r){(e[G]&3)===n&&p_(e,t,n,r)}function Pv(e,t){let n=e[G];(n&3)===t&&(n&=16383,n+=1,e[G]=n)}function p_(e,t,n,r){let o=r!==void 0?e[us]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]==`number`){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[us]+=65536),(a<i||i==-1)&&(mH(e,n,t,c),e[us]=(e[us]&4294901760)+c+2),c++}function i0(e,t){Ee(de.LifecycleHookStart,e,t);let n=F(null);try{t.call(e)}finally{F(n),Ee(de.LifecycleHookEnd,e,t)}}function mH(e,t,n,r){let o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[G]>>14<e[us]>>16&&(e[G]&3)===t&&(e[G]+=16384,i0(a,i)):i0(a,i)}var Pa=-1;var bs=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function gH(e){return(e.flags&8)!==0}function yH(e){return(e.flags&16)!==0}function vH(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o==`number`){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];EH(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function h_(e){return e===3||e===4||e===6}function EH(e){return e.charCodeAt(0)===64}function ka(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o==`number`?n=o:n===0||(n===-1||n===2?s0(e,n,o,null,t[++r]):s0(e,n,o,null,
vendor: 4,213 bytes, line 12
12null))}}return e}function s0(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a==`number`){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a==`number`)break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function m_(e){return e!==Pa}function gp(e){return e&32767}function bH(e){return e>>16}function yp(e,t){let n=bH(e),r=t;for(;n>0;)r=r[Jo],n--;return r}var Kv=!0;function vp(e){let t=Kv;return Kv=e,t}var g_=255;var y_=5;var TH=0;var Wr={};function DH(e,t,n){let r;typeof n==`string`?r=n.charCodeAt(0)||0:Object.hasOwn(n,cs)&&(r=n[cs]),r??=n[cs]=TH++;let o=r&g_,i=1<<o;t.data[e+(o>>y_)]|=i}function Ep(e,t){let n=v_(e,t);if(n!==-1)return n;let r=t[N];r.firstCreatePass&&(e.injectorIndex=t.length,kv(r.data,e),kv(t,null),kv(r.blueprint,null));let o=BE(e,t),i=e.injectorIndex;if(m_(o)){let s=gp(o),a=yp(o,t),c=a[N].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function kv(e,t){e.push(0,0,0,0,0,0,0,0,t)}function v_(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function BE(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=D_(o),r===null)return Pa;if(n++,o=o[Jo],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Pa}function Xv(e,t,n){DH(e,t,n)}function CH(e,t){if(t===`class`)return e.classes;if(t===`style`)return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(h_(i))break;if(i===0)o=o+2;else if(typeof i==`number`)for(o++;o<r&&typeof n[o]==`string`;)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function E_(e,t,n){if(n&8||e!==void 0)return e;Pf(t,`NodeInjector`)}function b_(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Ye],i=en(void 0);try{return o?o.get(t,r,n&8):rv(t,r,n&8)}finally{en(i)}}return E_(r,t,n)}function S_(e,t,n,r=0,o){if(e!==null){if(t[G]&2048&&!(r&2)){let s=AH(e,t,n,r,Wr);if(s!==Wr)return s}let i=T_(e,t,n,r,Wr);if(i!==Wr)return i}return b_(t,n,r,o)}function T_(e,t,n,r,o){let i=_H(n);if(typeof i==`function`){if(!_v(t,e,r))return r&1?E_(o,n,r):b_(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Pf(n);else return s}finally{wv()}}else if(typeof i==`number`){let s=null,a=v_(e,t),c=Pa,l=r&1?t[Lt][It]:null;for((a===-1||r&4)&&(c=a===-1?BE(e,t):t[a+8],c===Pa||!c0(r,!1)?a=-1:(s=t[N],a=gp(c),t=yp(c,t)));a!==-1;){let u=t[N];if(a0(i,a,u.data)){let d=IH(a,t,n,s,r,l);if(d!==Wr)return d}c=t[a+8],c!==Pa&&c0(r,t[N].data[a+8]===l)&&a0(i,a,t)?(s=u,a=gp(c),t=yp(c,t)):a=-1}}return o}function IH(e,t,n,r,o,i){let s=t[N],a=s.data[e+8],u=lp(a,s,n,r==null?Io(a)&&Kv:r!=s&&(a.type&3)!==0,o&1&&i===a);return u!==null?Kl(t,s,u,a,o):Wr}function lp(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,f=o?a+u:l;for(let p=d;p<f;p++){let g=s[p];if(p<c&&n===g||p>=c&&g.type===n)return p}if(o){let p=s[c];if(p&&pr(p)&&p.type===n)return c}return null}function Kl(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof bs){let a=i;if(a.resolving)throw nv(``);let c=vp(a.canSeeViewProviders);a.resolving=!0;s[n].type||s[n];let d=a.injectImpl?en(a.injectImpl):null;_v(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&hH(n,s[n],t)}finally{d!==null&&en(d),vp(c),a.resolving=!1,wv()}}return i}function _H(e){if(typeof e==`string`)return e.charCodeAt(0)||0;let t=Object.hasOwn(e,cs)?e[cs]:void 0;return typeof t==`number`?t>=0?t&g_:wH:t}function a0(e,t,n){let r=1<<e;return!!(n[t+(e>>y_)]&r)}function c0(e,t){return!(e&2)&&!(e&1&&t)}var oi=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return S_(this._tNode,this._lView,t,is(r),n)}};function wH(){return new oi(Re(),w())}function su(e){return iu(()=>{let t=e.prototype.constructor,n=t[gl]||Zv(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[gl]||Zv(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Zv(e){return Xy(e)?()=>{let t=Zv(gt(e));return t&&t()}:Ko(e)}function AH(e,t,n,r,o){let i=e,s=t;
12for(;i!==null&&s!==null&&s[G]&2048&&!Ca(s);){let a=T_(i,s,n,r|2,Wr);if(a!==Wr)return a;r&=-5;let c=i.parent;if(!c){let l=s[uv];if(l){let u=l.get(n,Wr,r);if(u!==Wr)return u}c=D_(s),s=s[Jo]}i=c}return o}function D_(e){let t=e[N],n=t.type;return n===2?t.declTNode:n===1?e[It]:null}function au(e){return CH(Re(),e)}var xH=()=>(typeof requestIdleCallback<`u`?requestIdleCallback:e=>setTimeout(e)).bind(globalThis);var RH=()=>(typeof requestIdleCallback<`u`?cancelIdleCallback:clearTimeout).bind(globalThis);var C_=new A(``,{factory:()=>new Qv});var Qv=class{requestIdleCallback=xH();cancelIdleCallback=RH();requestOnIdle(t,n){return this.requestIdleCallback(t,n)}cancelOnIdle(t){return this.cancelIdleCallback(t)}};function De(e){return{token:e.token,providedIn:e.autoProvided===!1?null:`root`,factory:e.factory,value:void 0}}function NH(){return Va(Re(),w())}function Va(e,t){return new Bn(Pt(e,t))}var Bn=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=NH}return e})();function I_(e){return e instanceof Bn?e.nativeElement:e}function MH(){return this._results[Symbol.iterator]()}var bp=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new K}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=DI(t);(this._changesDetected=!TI(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=MH};function __(e){return(e.flags&128)===128}var jE=(function(e){return e[e.OnPush=0]=`OnPush`,e[e.Eager=1]=`Eager`,e[e.Default=1]=`Default`,e})(jE||{});var w_=new Map;var OH=0;function LH(){return OH++}function PH(e){w_.set(e[fr],e)}function Jv(e){w_.delete(e[fr])}var l0=`__ngContext__`;function ii(e,t){Co(t)?(e[l0]=t[fr],PH(t)):e[l0]=t}function A_(e){return R_(e[Ta])}function x_(e){return R_(e[Pn])}function R_(e){for(;e!==null&&!Fn(e);)e=e[Pn];return e}var eE;function VE(e){eE=e}function Pp(){if(eE!==void 0)return eE;if(typeof document<`u`)return document;throw new I(210,!1)}var N_=`r`;var $E=`di`;var GE=`s`;var zE=new A(``);var M_=!1;var O_=new A(``,{factory:()=>M_});var L_=new A(``);var kp=new A(``);var ni=new WeakMap;var tp=new Map;var tE=class{callbacks=new Set;listener=()=>{for(let t of this.callbacks)t()}};function kH(e){let t=P_(e);return new IntersectionObserver(n=>{for(let r of n)r.isIntersecting&&ni.has(r.target)&&ni.get(r.target)?.get(t)?.listener()},e)}function FH(e,t,n,r){let o=P_(r),i=ni.get(e)?.get(o);tp.has(o)||tp.set(o,{observer:n(r),count:0});let s=tp.get(o);if(!i){i=new tE,s.observer.observe(e);let a=ni.get(e);a?a.set(o,i):(a=new Map,ni.set(e,a)),a.set(o,i),s.count++}return i.callbacks.add(t),()=>{if(ni.get(e)?.has(o)){if(i.callbacks.delete(t),i.callbacks.size===0){s.observer.unobserve(e),s.count--;let a=ni.get(e);a&&(a.delete(o),a.size===0&&ni.delete(e))}s.count===0&&(s.observer.disconnect(),tp.delete(o))}}}function P_(e){return e?`${e.rootMargin}/${typeof e.threshold==`number`?e.threshold:e.threshold?.join(`
13`)}`:``}var u0=new WeakMap;function UH(e,t){if(e==null||typeof e!=`object`)return;let n=u0.get(e);n||(n=new WeakSet,u0.set(e,n)),n.add(t)}var k_=new A(``);function Fp(e){return(e.flags&32)===32}var jH=()=>null;function F_(e,t,n=!1){return jH(e,t,n)}function WE(e){return e.get(L_,!1,{optional:!0})}function U_(e,t){let n=e.contentQueries;if(n!==null){let r=F(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Ll(i),a.contentQueries(2,t[s],s)}}}finally{F(r)}}}function nE(e,t,n){Ll(0);let r=F(null);try{t(e,n)}finally{F(r)}}
13function qE(e,t,n){if(dv(t)){let r=F(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{F(r)}}}var yr=(function(e){return e[e.Emulated=0]=`Emulated`,e[e.None=2]=`None`,e[e.ShadowDom=3]=`ShadowDom`,e[e.ExperimentalIsolatedShadowDom=4]=`ExperimentalIsolatedShadowDom`,e})(yr||{});var H_={"http://www.w3.org/2000/svg":Xo,"http://www.w3.org/1998/Math/MathML":Bf};var np;function VH(){if(np===void 0&&(np=null,it.trustedTypes))try{np=it.trustedTypes.createPolicy(`angular`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return np}function cu(e){return VH()?.createHTML(e)||e}var rp;function YE(){if(rp===void 0&&(rp=null,it.trustedTypes))try{rp=it.trustedTypes.createPolicy(`angular#unsafe-bypass`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return rp}function d0(e){return YE()?.createHTML(e)||e}function f0(e){return YE()?.createScript(e)||e}function p0(e){return YE()?.createScriptURL(e)||e}var Ao=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Rf})`}};var rE=class extends Ao{getTypeName(){return`HTML`}};var oE=class extends Ao{getTypeName(){return`Style`}};var iE=class extends Ao{getTypeName(){return`Script`}};var sE=class extends Ao{getTypeName(){return`URL`}};var aE=class extends Ao{getTypeName(){return`ResourceURL`}};function kt(e){return e instanceof Ao?e.changingThisBreaksApplicationSecurity:e}function jn(e,t){let n=B_(e);if(n!=null&&n!==t){if(n===`ResourceURL`&&t===`URL`)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Rf})`)}return n===t}function B_(e){return e instanceof Ao&&e.getTypeName()||null}function KE(e){return new rE(e)}function XE(e){return new oE(e)}function ZE(e){return new iE(e)}function QE(e){return new sE(e)}function JE(e){return new aE(e)}function j_(e){let t=new lE(e);return $H()?new cE(t):t}var cE=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=`<body><remove></remove>`+t;try{let n=new window.DOMParser().parseFromString(cu(t),`text/html`).body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}};var lE=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument(`sanitization-inert`)}getInertBodyElement(t){let n=this.inertDocument.createElement(`template`);return n.innerHTML=cu(t),n}};function $H(){try{return!!new window.DOMParser().parseFromString(cu(``),`text/html`)}catch(e){return!1}}var GH=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $a(e){return e=String(e),e.match(GH)?e:`unsafe:`+e}function Ro(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=!0;return t}function lu(...e){let t=Object.create(null);for(let n of e)for(let r in n)Object.hasOwn(n,r)&&(t[r]=!0);return t}var V_=Ro(`area,br,col,hr,img,wbr`);var $_=Ro(`colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr`);var G_=Ro(`rp,rt`);var zH=lu(G_,$_);var uE=lu(V_,lu($_,Ro(`address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul`)),lu(G_,Ro(`a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video`)),zH);var z_=Ro(`background,cite,href,itemtype,longdesc,poster,src,xlink:href`);var dE=lu(z_,Ro(`abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width`),Ro(`aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext`));var XH=Ro(`script,style,template`);var fE=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=JH(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=QH(n);if(i){n=i;break}n=o.pop()}}return this.buf.join(``)}startElement(t){let n=h0(t).toLowerCase();if(!Object.hasOwn(uE,n))return this.sanitizedSomething=!0,!Object.hasOwn(XH,n);this.buf.push(`<`),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Object.hasOwn(dE,a)){this.sanitizedSomething=!0;continue}let c=i.value;z_[a]&&(c=$a(c)),this.buf.push(` `,s,`="`,m0(c),`"`)}return this.buf.push(`>`),!0}endElement(t){let n=h0(t).toLowerCase();Object.hasOwn(uE,n)&&!Object.hasOwn(V_,n)&&(this.buf.push(`</`),this.buf.push(n),this.buf.push(`>`))}chars(t){this.buf.push(m0(t))}};function ZH(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function QH(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw W_(t);return t}function JH(e){let t=e.firstChild;if(t&&ZH(e,t))throw W_(t);return t}function h0(e){let t=e.nodeName;return typeof t==`string`?t:`FORM`}function W_(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var eB=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var tB=/([^\#-~ |!])/g;function m0(e){return e.replace(/&/g,`&amp;`).replace(eB,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return`&#`+((n-55296)*1024+(r-56320)+65536)+`;`}).replace(tB,function(t){return`&#`+t.charCodeAt(0)+`;`}).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}var op;function Up(e,t){let n=null;try{op=op||j_(e);let r=t?String(t):``;n=op.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error(`Failed to sanitize html because the input is unstable`);o--,r=i,i=n.innerHTML,n=op.getInertBodyElement(r)}while(r!==i);return cu(new fE().sanitizeChildren(pE(n)||n))}finally{if(n){let r=pE(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function pE(e){return`content`in e&&nB(e)?e.content:null}
13function nB(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName===`TEMPLATE`}var rB=/^>|^->|<!--|-->|--!>|<!-$/g;var oB=/(<|>)/g;var iB=`​$1​`;function sB(e){return e.replace(rB,t=>t.replace(oB,iB))}function q_(e,t){return e.createText(t)}function Y_(e,t,n){e.setValue(t,n)}function K_(e,t){return e.createComment(sB(t))}function eb(e,t,n){return e.createElement(t,n)}function qr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function X_(e,t,n){e.appendChild(t,n)}function g0(e,t,n,r,o){r!==null?qr(e,t,n,r,o):X_(e,t,n)}function Hp(e,t,n,r){e.removeChild(null,t,n,r)}function aB(e,t,n){e.setAttribute(t,`style`,n)}function cB(e,t,n){n===``?e.removeAttribute(t,`class`):e.setAttribute(t,`class`,n)}function Z_(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&vH(e,t,r),o!==null&&cB(e,t,o),i!==null&&aB(e,t,i)}function lB(e){let t=w();e.src=``,e.srcdoc=cu(``),Hp(t[oe],e)}function Q_(e,t=!0){if(e[0]!=`:`)return[null,e];let n=e.indexOf(`:`,1);if(n===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function J_(e,t,n){if(t!==void 0&&n!==void 0&&rw(t,n)!==ue.HTML)return e;let r=uu();return r?d0(r.sanitize(ue.HTML,e)||``):jn(e,`HTML`)?d0(kt(e)):Up(Pp(),Ot(e))}function ew(e){let t=uu();return t?t.sanitize(ue.STYLE,e)||``:jn(e,`Style`)?kt(e):Ot(e)}function tw(e){let t=uu();return t?t.sanitize(ue.URL,e)||``:jn(e,`URL`)?kt(e):$a(Ot(e))}function tb(e){let t=uu();if(t)return p0(t.sanitize(ue.RESOURCE_URL,e)||``);if(jn(e,`ResourceURL`))return p0(kt(e));throw new I(904,!1)}function nw(e){let t=uu();if(t)return f0(t.sanitize(ue.SCRIPT,e)||``);if(jn(e,`Script`))return f0(kt(e));throw new I(905,!1)}function uB(e,t){switch(rw(e,t)){case ue.RESOURCE_URL:return tb;case ue.URL:return tw;default:return null}}function nb(e,t,n){return uB(t,n)?.(e)??e}function uu(){let e=w();return e&&e[dr].sanitizer}function rw(e,t){let[n,r]=ow(e);return Rl(r,t,n)}function ow(e){e=e.toLowerCase();let t=Q_(e,!1);if(t[0])return t;let r=Gt()===-1?null:_o(),o=r?.namespace;if(e===`#host`&&r?.type===2){let i=Pt(r,w());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&H_[s]}}return[o,e]}var ip=new Set([`href`,`xlink:href`]);var dB={animate:{to:ip,values:ip,from:ip},set:{to:ip}};function iw(e,t,n){let o=Gt()===-1?null:_o();if(o&&o.type!==2)return e;let[i,s]=ow(t);if(Rl(s,n,i)!==ue.ATTRIBUTE_NO_BINDING)return e;let c=w();if(o){if(s===`iframe`)lB(Pt(o,c));else if(i===Xo||!i){let u=dB[s]?.[n.toLowerCase()];if(u){if(fB(Pt(o,c),u))throw new I(-910,!1);return e}}}throw new I(-910,!1)}function fB(e,t){for(let n of e.getAttributeNames()){if(n.toLowerCase()!==`attributename`)continue;let r=e.getAttribute(n);if(r!==null&&t.has(r.toLowerCase()))return r}return null}function pB(e){return e.ownerDocument.defaultView}function hB(e){return e.ownerDocument}function mB(e){return e instanceof Function?e():e}function gB(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var sw=`ng-template`;function yB(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]==`string`;o+=2)if(t[o]===`class`&&gB(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(rb(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])==`string`;)if(i.toLowerCase()===n)return!0}return!1}function rb(e){return e.type===4&&e.value!==sw}function vB(e,t,n){return t===(e.type===4&&!n?sw:e.value)}function EB(e,t,n){let r=4,o=e.attrs,i=o!==null?TB(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c==`number`){if(!s&&!gr(r)&&!gr(c))return!1;if(s&&gr(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==``&&!vB(e,c,n)||c===``&&t.length===1){if(gr(r))return!1;s=!0}}else if(r&8){if(o===null||!yB(e,o,c,n)){if(gr(r))return!1;s=!0}}else{let l=t[++a],u=bB(c,o,rb(e),n);if(u===-1){if(gr(r))return!1;s=!0;continue}if(l!==``){let d;if(u>i?d=``:d=o[u+1].toLowerCase(),r&2&&l!==d){if(gr(r))return!1;s=!0}}}}return gr(r)||s}function gr(e){return(e&1)===0}function bB(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a==`string`;)a=t[++o];continue}else{if(s===4)break;
13if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return DB(t,e)}function aw(e,t,n=!1){for(let r=0;r<t.length;r++)if(EB(e,t[r],n))return!0;return!1}function SB(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function TB(e){for(let t=0;t<e.length;t++){let n=e[t];if(h_(n))return t}return e.length}function DB(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r==`number`)return-1;if(r===t)return n;n++}return-1}function CB(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function y0(e,t){return e?`:not(`+t.trim()+`)`:t}function IB(e){let t=e[0],n=1,r=2,o=``,i=!1;for(;n<e.length;){let s=e[n];if(typeof s==`string`)if(r&2){let a=e[++n];o+=`[`+s+(a.length>0?`="`+a+`"`:``)+`]`}else r&8?o+=`.`+s:r&4&&(o+=` `+s);else o!==``&&!gr(s)&&(t+=y0(i,o),o=``),r=s,i=i||!gr(r);n++}return o!==``&&(t+=y0(i,o)),t}function _B(e){return e.map(IB).join(`,`)}function wB(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i==`string`)o===2?i!==``&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!gr(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var dt={};var vr=(function(e){return e[e.Important=1]=`Important`,e[e.DashCase=2]=`DashCase`,e})(vr||{});var hE;function ob(e,t){return hE(e,t)}function AB(e){hE===void 0&&(hE=e())}var cw=new A(``,{factory:()=>!1});function Sp(e){if(!e)return 0;let t=e.toLowerCase().indexOf(`ms`)>-1?1:1e3;return parseFloat(e)*t}function gs(e,t){return e.getPropertyValue(t).split(`,`).map(r=>r.trim())}function xB(e){let t=gs(e,`transition-property`),n=gs(e,`transition-duration`),r=gs(e,`transition-delay`),o={propertyName:``,duration:0,animationName:void 0};for(let i=0;i<t.length;i++){let s=Sp(r[i])+Sp(n[i]);s>o.duration&&(o.propertyName=t[i],o.duration=s)}return o}function RB(e){let t=gs(e,`animation-name`),n=gs(e,`animation-delay`),r=gs(e,`animation-duration`),o=gs(e,`animation-iteration-count`),i={animationName:``,propertyName:void 0,duration:0};for(let s=0;s<t.length;s++){let a=Sp(n[s])+Sp(r[s]),c=o[s];a>i.duration&&c!==`infinite`&&(i.animationName=t[s],i.duration=a)}return i}function lw(e,t){return e!==void 0&&e.duration>t.duration}function uw(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function dw(e){let t=e.effect?.getTiming();if(t===void 0)return;let n=typeof t.duration==`number`?t.duration:0,r=(t.delay??0)+n,o=e.playbackRate;return o!==void 0&&o!==0&&o!==1&&(r/=Math.abs(o)),r}function NB(e,t){let n=getComputedStyle(e),r=RB(n),o=xB(n),i=r.duration>o.duration?r:o;lw(t.get(e),i)||uw(i)&&t.set(e,i)}function fw(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?NB(e,t):MB(e,t,r)}function MB(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of n){if(o.effect?.getTiming()?.iterations===Infinity)continue;let s=dw(o)??0,a,c;o.animationName?c=o.animationName:a=o.transitionProperty,s>=r.duration&&(r={animationName:c,propertyName:a,duration:s})}lw(t.get(e),r)||uw(r)&&t.set(e,r)}var xo=new Set;var OB=!1;var LB=1;var du=typeof document<`u`&&typeof document?.documentElement?.getAnimations==`function`;function pw(e){return e[Ye].get(cw,OB)}function PB(e,t,n){let r=Fa.get(e);if(r){for(let o of t)r.classList.push(o);for(let o of n)r.cleanupFns.push(o)}else Fa.set(e,{classList:t,cleanupFns:n})}function ib(e){let t=Fa.get(e);if(t){for(let n of t.cleanupFns)n();Fa.delete(e)}ys.delete(e)}var Fa=new WeakMap;var ys=new WeakMap;var Xl=new WeakMap;function hw(e){return e?e[Jo]??e:null}var Vl=new WeakSet;function v0(e,t){let n=Xl.get(e);if(n&&n.length>0){let r=n.findIndex(o=>o.el===t);r>-1&&n.splice(r,1)}n?.length===0&&Xl.delete(e)}function kB(e,t,n){let r=Xl.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=hw(n);for(let a=r.length-1;a>=0;a--){let{el:c,declarationView:l}=r[a],u=c.parentNode;c===t?(r.splice(a,1),Vl.add(c),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),c.parentNode?.removeChild(c)):u&&o&&u!==o&&(s===null||l===null||s===l)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),c.parentNode?.removeChild(c))}}
13function mw(e,t,n){let r=hw(n),o=Xl.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):Xl.set(e,[{el:t,declarationView:r}])}function E0(e){let t=e[kn]??={};return t.enter??=new Map}function Bp(e){let t=e[kn]??={};return t.leave??=new Map}function gw(e){let t=typeof e==`function`?e():e,n=Array.isArray(t)?t:null;return typeof t==`string`&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function FB(e,t){if(!du)return;let n=Fa.get(e);if(n&&n.classList.length>0&&UB(e,n.classList))for(let r of n.classList)t.removeClass(e,r);ib(e)}function UB(e,t){for(let n of t)if(e.classList.contains(n))return!0;return!1}function Zl(e){return e.composedPath?e.composedPath()[0]:e.target}function sb(e,t){let n=ys.get(t);if(n===void 0)return!0;if(t!==Zl(e))return!1;let r=e.animation;if(r){let o=dw(r);if(o!==void 0&&o+LB<n.duration)return!1}return n.animationName!==void 0?e.animationName===n.animationName:n.propertyName!==void 0?n.propertyName===`all`||e.propertyName===n.propertyName:!1}function yw(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function b0(e,t){if(e)for(let n of e)n();for(let n of t)n()}function S0(e,t){let n=Bp(e).get(t.index);n&&(n.resolvers=void 0)}var jp=(function(e){return e[e.CHANGE_DETECTION=0]=`CHANGE_DETECTION`,e[e.AFTER_NEXT_RENDER=1]=`AFTER_NEXT_RENDER`,e})(jp||{});var Er=new A(``);var T0=new Set;function Ut(e){T0.has(e)||(T0.add(e),performance?.mark?.(`mark_feature_usage`,{detail:{feature:e}}))}var Vp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static ɵprov=T({token:e,providedIn:`root`,factory:()=>new e})}return e})();var ab=[0,1,2,3];var cb=(()=>{class e{ngZone=m(ie);scheduler=m(lr);errorHandler=m(On,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){m(Er,{optional:!0})}execute(){let n=this.sequences.size>0;n&&Ee(de.AfterRenderHooksStart),this.executing=!0;for(let r of ab)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&Ee(de.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[ds]??=[]).push(n),hs(r),r[G]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(jp.AFTER_NEXT_RENDER,n):n()}static ɵprov=T({token:e,providedIn:`root`,factory:()=>new e})}return e})();var Ql=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[ds];t&&(this.view[ds]=t.filter(n=>n!==this))}};function vw(e,t){let n=t?.injector??m(Dt);return Ut(`NgAfterRender`),Ew(e,n,t,!1)}function fu(e,t){let n=t?.injector??m(Dt);return Ut(`NgAfterNextRender`),Ew(e,n,t,!0)}function HB(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Ew(e,t,n,r){let o=t.get(Vp);o.impl??=t.get(cb);let i=t.get(Er,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ct):null,a=t.get(Ma,null,{optional:!0}),c=new Ql(o.impl,HB(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var pu=new A(``,{factory:()=>{let e=m(Le),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function bw(e,t,n){let r=e.get(pu);
13if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function BB(e,t){let n=e.get(pu);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function jB(e,t){let n=e.get(pu);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function VB(e){let t=e.get(pu);t.isScheduled||(fu(()=>{t.isScheduled=!1;for(let n of t.queue)n();t.queue.clear()},{injector:t.injector}),t.isScheduled=!0)}function Sw(e){let t=e.get(pu);t.scheduler=VB,t.scheduler(e)}function Tw(e,t){for(let[n,r]of t)bw(e,r.animateFns)}function D0(e,t,n,r){let o=e?.[kn]?.enter;t!==null&&o&&o.has(n.index)&&Tw(r,o)}function C0(e,t,n,r){try{n.get(wl)}catch(s){return r(!1)}let o=e?.[kn];o?.enter?.has(t.index)&&BB(n,o.enter.get(t.index).animateFns);let i=$B(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];$p(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&xo.add(e[fr]),bw(n,()=>GB(e,t,o||void 0,i,r),o||void 0)}function $B(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[N].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}function GB(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:l}=c();i.push(l)}n.detachedLeaveAnimationFns=void 0}if(e&&$p(e,t,i),i.length>0){let s=n||e?.[kn];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),WB(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&xo.delete(e[fr]),o(!0)})}else e&&xo.delete(e[fr]),o(!1)}function $p(e,t,n){if(t.type&12){let o=e[t.index];if(Fn(o))for(let i=$e;i<o.length;i++){let s=o[i];s[N].type===2&&zB(s,n)}}let r=t.child;for(;r;)$p(e,r,n),r=r.next}function zB(e,t){let n=e[kn];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s)}let r=e[N].firstChild;for(;r;)$p(e,r,t),r=r.next}function WB(e,t,n){t.then(()=>{e[kn]?.running===t&&(e[kn].running=void 0,xo.delete(e[fr])),n(!0)})}function La(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;Fn(o)?c=o:Co(o)&&(l=!0,o=o[ur]);let u=yt(o);e===0&&r!==null?(D0(a,r,i,n),s==null?X_(t,r,u):qr(t,r,u,s||null,!0)):e===1&&r!==null?(D0(a,r,i,n),qr(t,r,u,s||null,!0),kB(i,u,a)):e===2?(a?.[kn]?.leave?.has(i.index)&&mw(i,u,a),Vl.delete(u),C0(a,i,n,d=>{if(Vl.has(u)){Vl.delete(u);return}Hp(t,u,l,d)})):e===3&&(Vl.delete(u),C0(a,i,n,()=>{t.destroyNode(u)})),c!=null&&ej(t,e,n,c,i,r,s)}}function qB(e,t){Dw(e,t),t[ur]=null,t[It]=null}function YB(e,t,n,r,o,i){r[ur]=o,r[It]=t,zp(e,r,n,1,o,i)}function Dw(e,t){t[dr].changeDetectionScheduler?.notify(9),zp(e,t,t[oe],2,null,null)}function KB(e){let t=e[Ta];if(!t)return Fv(e[N],e);for(;t;){let n=null;if(Co(t))n=t[Ta];else{let r=t[$e];r&&(n=r)}if(!n){for(;t&&!t[Pn]&&t!==e;)Co(t)&&Fv(t[N],t),t=t[lt];t===null&&(t=e),Co(t)&&Fv(t[N],t),n=t&&t[Pn]}t=n}}function lb(e,t){let n=e[ps],r=n.indexOf(t);n.splice(r,1)}function Gp(e,t){if($r(t))return;let n=t[oe];n.destroyNode&&zp(e,t,n,3,null,null),KB(t)}function Fv(e,t){if($r(t))return;let n=F(null);try{t[G]&=-129,t[G]|=256,t[Cn]&&Eo(t[Cn]),ZB(e,t),XB(e,t),t[N].type===1&&t[oe].destroy();let r=t[ei];if(r!==null&&Fn(t[lt])){r!==t[lt]&&lb(r,t);let o=t[Vr];o!==null&&o.detachView(e)}Jv(t)}finally{F(n)}}function XB(e,t){let n=e.cleanup,r=t[Sa];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]==`string`){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Sa]=null);let o=t[So];if(o!==null){t[So]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[To];if(i!==null){t[To]=null;for(let s of i)s.destroy()}}function ZB(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof bs)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Ee(de.LifecycleHookStart,a,c);try{c.call(a)}finally{Ee(de.LifecycleHookEnd,a,c)}}else{Ee(de.LifecycleHookStart,o,i);
13try{i.call(o)}finally{Ee(de.LifecycleHookEnd,o,i)}}}}}function Cw(e,t,n){if(t===null)throw new I(510,!1);return Iw(e,t.parent,n)}function Iw(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ur];if(Io(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===yr.None||o===yr.Emulated)return null}return Pt(r,n)}function _w(e,t,n){return Aw(e,t,n)}function ww(e,t,n){return e.type&40?Pt(e,n):null}var Aw=ww;var mE;function xw(e,t){Aw=e,mE=t}function ub(e,t,n,r){let o=Cw(e,r,t),i=t[oe],a=_w(r.parent||t[It],r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)g0(i,o,n[c],a,!1);else g0(i,o,n,a,!1);mE!==void 0&&mE(i,r,t,n,o)}function $l(e,t){if(t!==null){let n=t.type;if(n&3)return Pt(t,e);if(n&4)return gE(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return $l(e,r);{let o=e[t.index];return Fn(o)?gE(-1,o):yt(o)}}else{if(n&128)return $l(e,t.next);if(n&32)return ob(t,e)()||yt(e[t.index]);{let r=Rw(e,t);if(r!==null){if(Array.isArray(r))return r[0];return $l(Do(e[Lt]),r)}else return $l(e,t.next)}}}return null}function Rw(e,t){if(t!==null){let r=e[Lt][It],o=t.projection;return r.projection[o]}return null}function gE(e,t){let n=$e+e+1;if(n<t.length){let r=t[n],o=r[N].firstChild;if(o!==null)return $l(r,o)}return t[fs]}function db(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Ye];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&ii(yt(c),r),n.flags|=2),!Fp(n))if(l&8)db(e,t,n.child,r,o,i,!1),La(t,e,a,o,c,n,i,r);else if(l&32){let u=ob(n,r),d;for(;d=u();)La(t,e,a,o,d,n,i,r);La(t,e,a,o,c,n,i,r)}else l&16?Nw(e,t,r,n,o,i):La(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function zp(e,t,n,r,o,i){e.type===3?QB(n,r,t,o,i):db(n,r,e.firstChild,t,o,i,!1)}function QB(e,t,n,r,o){let s=n[N].firstChild,a=s.next,c=yt(n[s.index]),l=yt(n[a.index]),u=a.index+1,d=n[u];if(t===1||t===0)r!==null&&(d&&d.hasChildNodes()?qr(e,r,d,o,!0):(qr(e,r,c,o,!0),qr(e,r,l,o,!0)));else if(t===2){if(d||(d=document.createDocumentFragment(),n[u]=d),c&&c.parentNode===d)return;let f=c;for(;f!==null;){let p=f.nextSibling;if(d.appendChild(f),f===l)break;f=p}}}function JB(e,t,n){let r=t[oe];Nw(r,0,t,n,Cw(e,n,t),_w(n.parent||t[It],n,t))}function Nw(e,t,n,r,o,i){let s=n[Lt],c=s[It].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];La(t,e,n[Ye],o,u,r,i,n)}else{let l=c,u=s[lt];__(r)&&(l.flags|=128),db(e,t,l,u,o,i,!0)}}function ej(e,t,n,r,o,i,s){let a=r[fs];if(a!==yt(r)&&La(t,e,n,i,a,o,s),(r[G]&4)===0)for(let l=$e;l<r.length;l++){let u=r[l];zp(u[N],u,e,t,i,a)}}function tj(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf(`-`)===-1?void 0:vr.DashCase;o==null?e.removeStyle(n,r,i):(typeof o==`string`&&o.endsWith(`!important`)&&(o=o.slice(0,-10),i|=vr.Important),e.setStyle(n,r,o,i))}}function fb(e,t,n,r,o,i,s,a,c,l,u){let d=le+r,f=d+o,p=nj(d,f),g=typeof l==`function`?l():l;return p[N]={type:e,blueprint:p,template:n,queries:null,viewQuery:a,declTNode:t,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i==`function`?i():i,pipeRegistry:typeof s==`function`?s():s,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:u}}function nj(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:dt);return n}function rj(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=fb(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function pb(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[ur]=o,d[G]=r|1228,(l!==null||e&&e[G]&2048)&&(d[G]|=2048),fv(d),d[lt]=d[Jo]=e,d[Xe]=n,d[dr]=s||e&&e[dr],d[oe]=a||e&&e[oe],d[Ye]=c||e&&e[Ye]||null,d[It]=i,d[fr]=LH(),d[ls]=u,d[uv]=l,d[Lt]=t.type==2?e[Lt]:d,d}function oj(e,t,n){let r=Pt(t,e),o=rj(n),i=e[dr].rendererFactory,s=hb(e,pb(e,o,null,Mw(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Mw(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function hu(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function hb(e,t){return e[Ta]?e[lv][Pn]=t:e[Ta]=t,e[lv]=t,t}function ij(e=1){Ow(me(),w(),Gt()+e,!1)}function Ow(e,t,n,r){if(!r)if((t[G]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ap(t,i,n)}else{let i=e.preOrderHooks;i!==null&&cp(t,i,0,n)}zr(n)}var mu=(function(e){return e[e.None=0]=`None`,e[e.SignalBased=1]=`SignalBased`,e[e.HasDecoratorInputTransform=2]=`HasDecoratorInputTransform`,e})(mu||{});function Ss(e,t,n,r){let o=F(null);try{let[i,s,a]=e.inputs[n],c=null;(s&mu.SignalBased)!==0&&(c=t[i][Ve]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):l_(t,c,i,r)}finally{F(o)}}function Lw(e,t,n,r,o){let i=Gt(),s=r&2;try{zr(-1),s&&t.length>le&&Ow(e,t,le,!1);Ee(s?de.TemplateUpdateStart:de.TemplateCreateStart,o,n),n(r,o)}finally{zr(i);Ee(s?de.TemplateUpdateEnd:de.TemplateCreateEnd,o,n)}}function Wp(e,t,n){dj(e,t,n),(n.flags&64)===64&&fj(e,t,n)}function Ga(e,t,n=Pt){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function sj(e,t,n,r){let i=r.get(O_,M_)||n===yr.ShadowDom||n===yr.ExperimentalIsolatedShadowDom;return e.selectRootElement(t,i)}function lj(e){return e===`class`?`className`:e===`for`?`htmlFor`:e===`formaction`?`formAction`:e===`innerHtml`?`innerHTML`:e===`readonly`?`readOnly`:e===`tabindex`?`tabIndex`:e}function mb(e,t,n,r,o,i){let s=t[N];if(Eb(e,s,t,n,r)){Io(e)&&uj(t,e.index);return}e.type&3&&(n=lj(n)),Pw(e,t,n,r,o,i)}
13function Pw(e,t,n,r,o,i){if(e.type&3){let s=Pt(e,t);r=i!=null?i(r,e.value||``,n):r,o.setProperty(s,n,r)}else e.type&12}function uj(e,t){let n=Un(t,e);n[G]&16||(n[G]|=64)}function dj(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Io(n)&&oj(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ep(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Kl(t,e,s,n);if(ii(c,t),i!==null&&mj(t,s-r,c,a,n,i),pr(a)){let l=Un(n.index,t);l[Xe]=Kl(t,e,s,n)}}}function fj(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=jI();try{zr(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Wf(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&pj(c,l)}}finally{zr(-1),Wf(s)}}function pj(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function gb(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];aw(t,i.selectors,!1)&&(r??=[],pr(i)?r.unshift(i):r.push(i))}return r}function hj(e,t,n,r,o,i){let s=Pt(e,t);yb(t[oe],s,i,e.value,n,r,o)}function yb(e,t,n,r,o,i,s){if(i==null)s?.(i,r||``,o),e.removeAttribute(t,o,n);else{let a=s==null?Ot(i):s(i,r||``,o);e.setAttribute(t,o,a,n)}}function mj(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Ss(r,n,c,l)}}function qp(e,t,n,r,o){let i=le+n,s=t[N],a=o(s,t,e,r,n);t[i]=a,Gr(e,!0);let c=e.type===2;return c?(Z_(t[oe],a,e),(LI()===0||Da(e))&&ii(a,t),PI()):ii(a,t),Pl()&&(!c||!Fp(e))&&ub(s,t,a,e),e}function Yp(e){let t=e;return Sv()?Tv():(t=t.parent,Gr(t,!1)),t}function vb(e,t){let n=e[Ye];if(!n)return;let r;try{r=n.get(pn,null)}catch(o){r=null}r?.(t)}function Eb(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Ss(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Ss(u,l,r,o),a=!0}return a}function gj(e,t,n,r,o,i){let s=null,a=null,c=null,l=!1,u=e.directiveToIndex.get(r.type);if(typeof u==`number`?s=u:[s,a,c]=u,a!==null&&c!==null&&e.hostDirectiveInputs&&Object.hasOwn(e.hostDirectiveInputs,o)){let d=e.hostDirectiveInputs[o];for(let f=0;f<d.length;f+=2){let p=d[f];if(p>=a&&p<=c){let g=t.data[p],y=d[f+1];Ss(g,n[p],y,i),l=!0}else if(p>c)break}}return s!==null&&Object.hasOwn(r.inputs,o)&&(Ss(r,n[s],o,i),l=!0),l}function yj(e,t){let n=Un(t,e),r=n[N];vj(r,n);let o=n[ur];o!==null&&n[ls]===null&&(n[ls]=F_(o,n[Ye])),Ee(de.ComponentStart);try{bb(r,n,n[Xe])}finally{Ee(de.ComponentEnd,n[Xe])}}function vj(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function bb(e,t,n){Yf(t);try{let r=e.viewQuery;r!==null&&nE(1,r,n);let o=e.template;o!==null&&Lw(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Vr]?.finishViewCreation(e),e.staticContentQueries&&U_(e,t),e.staticViewQueries&&nE(2,e.viewQuery,n);let i=e.components;i!==null&&Ej(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[G]&=-5,Kf()}}function Ej(e,t){for(let n=0;n<t.length;n++)yj(e,t[n])}function za(e,t,n,r){let o=F(null);try{let i=t.tView,c=pb(e,i,n,e[G]&4096?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);c[ei]=e[t.index];let u=e[Vr];return u!==null&&(c[Vr]=u.createEmbeddedView(i)),bb(i,c,n),c}finally{F(o)}}function Ts(e,t){return!t||t.firstChild===null||__(e)}function Jl(e,t,n,r,o=!1){if(e.type===3){let i=e.firstChild,s=i.next,a=yt(t[i.index]),c=yt(t[s.index]),l=a;for(;l!==null&&(r.push(l),l!==c);)l=l.nextSibling;return r}for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];if(i!==null)if(Fn(i)){let a=i[fs];a!==i[ur]&&r.push(yt(i)),i[G]&4||kw(i,r),r.push(a)}else r.push(yt(i));let s=n.type;if(s&8)Jl(e,t,n.child,r);else if(s&32){let a=ob(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Rw(t,n);if(Array.isArray(a))r.push(...a);else{let c=Do(t[Lt]);Jl(c[N],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function kw(e,t){for(let n=$e;n<e.length;n++){let r=e[n],o=r[N].firstChild;o!==null&&Jl(r[N],r,o,t)}}function Fw(e){if(e[ds]!==null){for(let t of e[ds])t.impl.addSequence(t);e[ds].length=0}}var Uw=[];function bj(e){return e[Cn]??Sj(e)}function Sj(e){let t=Uw.pop()??Object.create(Dj);return t.lView=e,t}function Tj(e){e.lView[Cn]!==e&&(e.lView=null,Uw.push(e))}var Dj=x(w$1({},go),{consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{hs(e.lView)},consumerOnSignalRead(){this.lView[Cn]=this}});function Cj(e){let t=e[Cn]??Object.create(Ij);return t.lView=e,t}var Ij=x(w$1({},go),{consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{let t=Do(e.lView);for(;t&&!Hw(t[N]);)t=Do(t);t&&Vf(t)},consumerOnSignalRead(){this.lView[Cn]=this}});function Hw(e){return e.type!==2}function Bw(e){if(e[To]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[To])if(r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()),e[To]===null))return;t=n&&!!(e[G]&8192)}}var _j=100;function jw(e,t=0){let r=e[dr].rendererFactory;r.begin?.();try{wj(e,t)}finally{r.end?.()}}function wj(e,t){let n=Cv();try{yl(!0),yE(e,t);let r=0;for(;Ml(e);){if(r===_j)throw new I(103,!1);r++,yE(e,1)}}finally{yl(n)}}function Aj(e,t,n,r){if($r(t))return;let o=t[G];Yf(t);let a=!0,c=null,l=null;Hw(e)?(l=bj(t),c=Ur(l)):Sf()===null?(a=!1,l=Cj(t),c=Ur(l)):t[Cn]&&(Eo(t[Cn]),t[Cn]=null);try{fv(t),UI(e.bindingStartIndex),n!==null&&Lw(e,t,n,2,r);let u=(o&3)===3;if(u){let p=e.preOrderCheckHooks;p!==null&&ap(t,p,null)}else{let p=e.preOrderHooks;p!==null&&cp(t,p,0,null),Pv(t,0)}if(xj(t),Bw(t),Vw(t,0),e.contentQueries!==null&&U_(e,t),true)if(u){let p=e.contentCheckHooks;p!==null&&ap(t,p)}else{let p=e.contentHooks;p!==null&&cp(t,p,1),Pv(t,1)}Nj(e,t);let d=e.components;d!==null&&Gw(t,d,0);let f=e.viewQuery;if(f!==null&&nE(2,f,r),true)if(u){let p=e.viewCheckHooks;p!==null&&ap(t,p)}else{let p=e.viewHooks;p!==null&&cp(t,p,2),Pv(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Hf]){for(let p of t[Hf])p();t[Hf]=null}Fw(t),t[G]&=-73}catch(u){throw hs(t),u}finally{l!==null&&(vo(l,c),a&&Tj(l)),Kf()}}function Vw(e,t){for(let n=A_(e);n!==null;n=x_(n))for(let r=$e;r<n.length;r++){let o=n[r];
vendor: 4,763 bytes, line 13
13$w(o,t)}}function xj(e){for(let t=A_(e);t!==null;t=x_(t)){if(!(t[G]&2))continue;let n=t[ps];for(let r=0;r<n.length;r++){let o=n[r];Vf(o)}}}function Rj(e,t,n){Ee(de.ComponentStart);let r=Un(t,e);try{$w(r,n)}finally{Ee(de.ComponentEnd,r[Xe])}}function $w(e,t){jf(e)&&yE(e,t)}function yE(e,t){let r=e[N],o=e[G],i=e[Cn],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&rs(i)),s||=!1,i&&(i.dirty=!1),e[G]&=-9217,s)Aj(r,e,r.template,e[Xe]);else if(o&8192){let a=F(null);try{Bw(e),Vw(e,1);let c=r.components;c!==null&&Gw(e,c,1),Fw(e)}finally{F(a)}}}function Gw(e,t,n){for(let r=0;r<t.length;r++)Rj(e,t[r],n)}function Nj(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)zr(~o);else{let i=o,s=n[++r],a=n[++r];BI(s,i);let c=t[i];Ee(de.HostBindingsUpdateStart,c);try{a(2,c)}finally{Ee(de.HostBindingsUpdateEnd,c)}}}}finally{zr(-1)}}function Sb(e,t){let n=Cv()?64:1088;for(e[dr].changeDetectionScheduler?.notify(t);e;){e[G]|=n;let r=Do(e);if(Ca(e)&&!r)return e;e=r}return null}function zw(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Ww(e,t){let n=$e+t;if(n<e.length)return e[n]}function Wa(e,t,n,r=!0){let o=t[N];if(Mj(o,t,e,n),r){let s=gE(n,e),a=t[oe],c=a.parentNode(e[fs]);c!==null&&YB(o,e[It],a,t,c,s)}let i=t[ls];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Tb(e,t){let n=eu(e,t);return n!==void 0&&Gp(n[N],n),n}function eu(e,t){if(e.length<=$e)return;let n=$e+t,r=e[n];if(r){let o=r[ei];o!==null&&o!==e&&lb(o,r),t>0&&(e[n-1][Pn]=r[Pn]);let i=Il(e,$e+t);qB(r[N],r);let s=i[Vr];s!==null&&s.detachView(i[N]),r[lt]=null,r[Pn]=null,r[G]&=-129}return r}function Mj(e,t,n,r){let o=$e+r,i=n.length;r>0&&(n[o-1][Pn]=t),r<i-$e?(t[Pn]=n[o],ov(n,$e+r,t)):(n.push(t),t[Pn]=null),t[lt]=n;let s=t[ei];s!==null&&n!==s&&qw(s,t);let a=t[Vr];a!==null&&a.insertView(e),$f(t),t[G]|=128}function qw(e,t){let n=e[ps],r=t[lt];if(Co(r))e[G]|=2;else{let o=r[lt][Lt];t[Lt]!==o&&(e[G]|=2)}n===null?e[ps]=[t]:n.push(t)}var si=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[N];return Jl(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[Xe]}set context(t){this._lView[Xe]=t}get destroyed(){return $r(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[lt];if(Fn(t)){let n=t[xl],r=n?n.indexOf(this):-1;r>-1&&(eu(t,r),Il(n,r))}this._attachedToViewContainer=!1}Gp(this._lView[N],this._lView)}onDestroy(t){Aa(this._lView,t)}markForCheck(){Sb(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[G]&=-129}reattach(){$f(this._lView),this._lView[G]|=128}detectChanges(){this._lView[G]|=1024,jw(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Ca(this._lView),n=this._lView[ei];n!==null&&!t&&lb(n,this._lView),Dw(this._lView[N],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t;let n=Ca(this._lView),r=this._lView[ei];r!==null&&!n&&qw(r,this._lView),$f(this._lView)}};var Yr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Oj;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){return new si(za(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o}))}}return e})();function Oj(){return Kp(Re(),w())}function Kp(e,t){return e.type&4?new Yr(t,e,Va(e,t)):null}function Yw(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?ww(e,t,n):yt(n[o])}function Kw(e,t,n,r,o){let i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(t.type&3||(a=s,s=o),s!==null&&t.componentOffset===-1)for(let c=1;c<i.length;c++){let l=n[i[c]];qr(e,s,l,a,!1)}}}function As(e,t,n,r,o){let i=e.data[t];if(i===null)i=Db(e,t,n,r,o),HI()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=xa();i.injectorIndex=s===null?-1:s.injectorIndex}return Gr(i,!0),i}function Db(e,t,n,r,o){let i=bv(),s=Sv(),a=s?i:i&&i.parent,c=e.data[t]=Pj(e,a,n,t,r,o);return Lj(e,c,i,s),c}function Lj(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Pj(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return yv()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOff
13set:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Av(),attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Xw(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];Zw(r)||kj(r,t)&&Fj(r)===null&&Uj(r,t.index)}}function Zw(e){return!(e.type&64)}function kj(e,t){return Zw(t)||e.index>t.index}function Fj(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function Uj(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(xw(Yw,Kw),e.insertBeforeIndex=t)}var Hj=ve({currentCaseLViewIndex:ve});function Gl(e,t){let n=e.data[t];return n===null||typeof n==`string`?null:Object.hasOwn(n,Hj)?n:n.value}function Bj(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function jj(e,t){let n=e.insertBeforeIndex;n===null?(xw(Yw,Kw),n=e.insertBeforeIndex=[null,t]):(gI(Array.isArray(n),!0,`Expecting array here`),n.push(t))}function Vj(e,t,n){let r=Db(e,n,64,null,null);return Xw(t,r),r}function Xp(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function $j(e){return e>>>17}function Gj(e){return(e&131070)>>>1}function zj(e,t,n){return e|t<<17|n<<1}function Wj(e){return e===-1}function Qw(e,t,n){e.index=0;let r=Xp(t,n);r!==null?e.removes=t.remove[r]:e.removes=Mt}function vE(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[N].data[n];return Qw(e,r,e.lView),vE(e)}}else return e.stack.length===0?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),vE(e))}function qj(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return Qw(e,n.value,r),vE.bind(null,e)}return t}function Qj(e){let t=e[ti]??[],r=e[lt][oe],o=[];for(let i of t)i.data[$E]!==void 0?o.push(i):Jj(i,r);e[ti]=o}function Jj(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[N_];for(;n<o;){let i=r.nextSibling;Hp(t,r,!1),r=i,n++}
13}}var e2=()=>null;var t2=()=>null;function Tp(e,t){return e2(e,t)}function Jw(e,t,n){return t2(e,t,n)}var eA=class{};var Ds=class{};var Kr=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>n2()};function n2(){let e=w(),n=Un(Re().index,e);return(Co(n)?n:e)[oe]}var tA=(()=>{class e{static ɵprov=T({token:e,providedIn:`root`,factory:()=>null})}return e})();function nA(e){return e.debugInfo?.className||e.type.name||null}var up={};var vs=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,up,r);return o!==up||n===up?o:this.parentInjector.get(t,n,r)}};function Cb(e){return Zp(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function rA(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Zp(e){return e!==null&&(typeof e==`function`||typeof e==`object`)}function ci(e,t,n){return e[t]=n}function Qp(e,t){return e[t]}function Ft(e,t,n){if(n===dt)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Ua(e,t,n,r){let o=Ft(e,t,n);return Ft(e,t+1,r)||o}function Ib(e,t,n,r,o){let i=Ua(e,t,n,r);return Ft(e,t+2,o)||i}function gu(e,t,n,r,o,i){let s=Ua(e,t,n,r);return Ua(e,t+2,o,i)||s}function Es(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&UH(o,i);Sb(Io(e)?Un(e.index,t):t,5);let a=t[Xe],c=I0(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=I0(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function I0(e,t,n,r){let o=F(null);try{return Ee(de.OutputStart,t,n),n(r)!==!1}catch(i){return vb(e,i),!1}finally{Ee(de.OutputEnd,t,n),F(o)}}function _b(e,t,n,r,o,i,s,a){let c=Da(e),l=!1,u=null;if(!r&&c&&(u=o2(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Pt(e,n),f=r?r(d):d;r||(a.__ngNativeEl__=d);let p=o.listen(f,i,a);if(!r2(i))oA(r?y=>r(yt(y[e.index])):e.index,t,n,i,a,p,!1)}return l}function r2(e){return e.startsWith(`animation`)||e.startsWith(`transition`)}function o2(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Sa],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s==`string`&&(i+=2)}return null}function oA(e,t,n,r,o,i,s){let a=t.firstCreatePass?mv(t):null,c=hv(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function _0(e,t,n,r,o){let i=null,s=null,a=null,c=!1,l=e.directiveToIndex.get(n.type);if(typeof l==`number`?i=l:[i,s,a]=l,s!==null&&a!==null&&e.hostDirectiveOutputs&&Object.hasOwn(e.hostDirectiveOutputs,r)){let u=e.hostDirectiveOutputs[r];for(let d=0;d<u.length;d+=2){let f=u[d];if(f>=s&&f<=a)c=!0,Dp(e,t,f,u[d+1],r,o);else if(f>a)break}}return Object.hasOwn(n.outputs,r)&&(c=!0,Dp(e,t,i,r,r,o)),c}function Dp(e,t,n,r,o,i){let s=t[n],a=t[N],d=s[a.data[n].outputs[r]].subscribe(i);oA(e.index,a,t,o,i,d,!0)}function i2(){s2()}function s2(){let e=w(),t=me(),n=Re();if(t.firstCreatePass&&l2(t,n),n.controlDirectiveIndex===-1)return;Ut(`NgSignalForms`);let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new Cp(e,t,n))}function a2(){c2()}function c2(){let e=w(),t=me(),n=_o();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new Cp(e,t,n))}var Cp=class{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(r.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return Pt(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];_0(this.tNode,this.lView,r,t,Es(this.tNode,this.lView,n))}listenToCustomControlModel(t){let n=this.tNode.flags&1024?`valueChange`:`checkedChange`,r=this.tView.data[this.tNode.customControlIndex];_0(this.tNode,this.lView,r,n,Es(this.tNode,this.lView,t))}listenToDom(t,n){_b(this.tNode,this.tView,this.lView,void 0,this.lView[oe],t,n,Es(this.tNode,this.lView,n))}
13setInputOnDirectives(t,n,r){let o=this.tNode.inputs?.[t],i=this.tNode.hostDirectiveInputs?.[t];if(!o&&!i)return!1;let s=!1;if(o)for(let a of o){if(a===this.tNode.controlDirectiveIndex)continue;let c=this.lView[a],l=this.tView.data[a];(!r||r(A0(c,l,t)))&&(Ss(l,c,t,n),s=!0)}if(i)for(let a=0;a<i.length;a+=2){let c=i[a];if(c===this.tNode.controlDirectiveIndex)continue;let l=this.lView[c],u=i[a+1],d=this.tView.data[c];(!r||r(A0(l,d,t)))&&(Ss(d,l,u,n),s=!0)}return s}setCustomControlModelInput(t){let n=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?`value`:`checked`;gj(this.tNode,this.tView,this.lView,n,r,t)}customControlHasInput(t){if(this.tNode.customControlIndex===-1)return!1;let n=this.tView.data[this.tNode.customControlIndex];return(n.signalFormsInputPresence??=this._buildCustomControlInputCache(n))[t]===!0}_buildCustomControlInputCache(t){let n={};for(let r in t.inputs)n[r]=!0;if(t.hostDirectives!==null){let r=[...t.hostDirectives];for(;r.length>0;){let o=r.shift();if(typeof o!=`function`){for(let s in o.inputs)n[o.inputs[s]]=!0;let i=w0(o.directive);i!==null&&r.push(...i);continue}for(let i of o()){if(typeof i==`function`)continue;if(i.inputs)for(let a=0;a<i.inputs.length;a+=2){let c=i.inputs[a+1]||i.inputs[a];n[c]=!0}let s=w0(i.directive);s!==null&&r.push(...s)}}}return n}};function w0(e){return typeof e==`function`&&`ɵdir`in e?e.ɵdir.hostDirectives??null:null}function A0(e,t,n){if(!t.inputs||!Object.hasOwn(t.inputs,n))return;let[r,o]=t.inputs[n];if((o&mu.SignalBased)!==0){let s=e[r][Ve];return s.value===ja?void 0:s.value}return e[r]}function l2(e,t,n){for(let o=t.directiveStart;o<t.directiveEnd;o++)if(e.data[o].controlDef){t.controlDirectiveIndex=o;break}if(t.controlDirectiveIndex===-1)return;let r=e.data[t.controlDirectiveIndex].controlDef;if(r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1){t.flags|=4096;return}u2(e,t)}function u2(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(!(t.directiveToIndex&&!t.directiveToIndex.has(r.type))){if(x0(r,`value`)){t.flags|=1024,t.customControlIndex=n;return}if(x0(r,`checked`)){t.flags|=2048,t.customControlIndex=n;return}}}if(t.hostDirectiveInputs!==null&&t.hostDirectiveOutputs!==null&&t.directiveToIndex!==null){let n=(r,o)=>{let i=t.hostDirectiveInputs[r],s=t.hostDirectiveOutputs[r+`Change`];if(!i||!s)return!1;for(let a=0;a<i.length;a+=2){let c=i[a];for(let l=0;l<s.length;l+=2)if(c===s[l])for(let d of t.directiveToIndex.values()){if(!Array.isArray(d))continue;let[f,p,g]=d;if(c>=p&&c<=g)return t.flags|=o,t.customControlIndex=f,!0}}return!1};if(n(`value`,1024)||n(`checked`,2048))return}}function x0(e,t){return d2(e,t)&&f2(e,t+`Change`)}function d2(e,t){return t in e.inputs}function f2(e,t){return t in e.outputs}var EE=Symbol(`BINDING`);var xs=new A(``);function Ip(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a==`number`)i=a;else if(i==1)o=Nf(o,a);else if(i==2){let c=a,l=t[++s];r=Nf(r,c+`: `+l+`;`)}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function fe(e,t=0){let n=w();if(n===null)return L(e,t);return S_(Re(),n,gt(e),t)}function yu(){throw new Error(`invalid`)}function iA(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}m2(e,t,n,a,i,c,l)}i!==null&&r!==null&&p2(n,r,i)}function p2(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new I(-301,!1);r.push(t[o],i)}}function h2(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function m2(e,t,n,r,o,i,s){let a=r.length,c=null;for(let f=0;f<a;f++){let p=r[f];c===null&&pr(p)&&(c=p,h2(e,n,f)),Xv(Ep(n,t),e,p.type)}S2(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let f=0;f<a;f++){let p=r[f];p.providersResolver&&p.providersResolver(p)}let l=!1,u=!1,d=hu(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let f=0;f<a;f++){let p=r[f];if(n.mergedAttrs=ka(n.mergedAttrs,p.hostAttrs),y2(e,n,t,d,p),b2(d,p,o),s!==null&&s.has(p
13)){let[y,E]=s.get(p);n.directiveToIndex.set(p.type,[d,y+n.directiveStart,E+n.directiveStart])}else(i===null||!i.has(p))&&n.directiveToIndex.set(p.type,d);p.contentQueries!==null&&(n.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(n.flags|=64);let g=p.type.prototype;!l&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}g2(e,n,i)}function g2(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))R0(0,t,o,r),R0(1,t,o,r),M0(t,r,!1);else{let i=n.get(o);N0(0,t,i,r),N0(1,t,i,r),M0(t,r,!0)}}}function R0(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(Object.hasOwn(o,i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),sA(t,i)}}function N0(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(Object.hasOwn(o,i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),sA(t,s)}}function sA(e,t){t===`class`?e.flags|=8:t===`style`&&(e.flags|=16)}function M0(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||rb(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c==`number`)break;if(!n&&Object.hasOwn(o,c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&Object.hasOwn(i,c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function y2(e,t,n,r,o){e.data[r]=o;let s=new bs(o.factory||(o.factory=Ko(o.type,!0)),pr(o),fe,null);e.blueprint[r]=s,n[r]=s,v2(e,t,r,hu(e,n,o.hostVars,dt),o)}function v2(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;E2(s)!=a&&s.push(a),s.push(n,r,i)}}function E2(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n==`number`&&n<0)return n}return 0}function b2(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;pr(t)&&(n[``]=e)}}function S2(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function wb(e,t,n,r,o,i,s,a){let c=t[N],l=c.consts,d=As(c,e,n,r,fn(l,s));return i&&iA(c,t,d,fn(l,a),o),d.mergedAttrs=ka(d.mergedAttrs,d.attrs),d.attrs!==null&&Ip(d,d.attrs,!1),d.mergedAttrs!==null&&Ip(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Ab(e,t){f_(e,t),dv(t)&&e.queries.elementEnd(t)}function aA(e,t,n,r,o,i){let s=t.consts,c=As(t,e,n,r,fn(s,o));if(c.mergedAttrs=ka(c.mergedAttrs,c.attrs),i!=null){let l=fn(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Ip(c,c.attrs,!1),c.mergedAttrs!==null&&Ip(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var cA=typeof ShadowRoot<`u`;var T2=typeof Document<`u`;function D2(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&mu.SignalBased)!==0};return o&&(i.transform=o),i})}function C2(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function I2(e,t,n){let r=t instanceof Le?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new vs(n,r):n}function _2(e){let t=e.get(Ds,null);if(t===null)throw new I(407,!1);return{rendererFactory:t,sanitizer:e.get(tA,null),changeDetectionScheduler:e.get(lr,null),ngReflect:!1,tracingService:e.get(Er,null,{optional:!0})}}function w2(e,t,n){let r=lA(e);return eb(t,r,r===`svg`?Xo:r===`math`?Bf:n)}function A2(e){if((e&&`localName`in e&&typeof e.localName==`string`?e.localName:e?.tagName)?.toLowerCase()===`script`)throw new I(905,!1)}function lA(e){return(e.selectors[0][0]||`div`).toLowerCase()}var Cs=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=D2(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=C2(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=_B(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s,a){Ee(de.DynamicComponentStart);let c=F(null);try{let l=this.componentDef,u=I2(l,o||this.ngModule,t),d=_2(u),f=d.tracingService;
13return f&&f.componentCreate?f.componentCreate(nA(l),()=>this.createComponentRef(d,u,n,r,i,s,a)):this.createComponentRef(d,u,n,r,i,s,a)}finally{F(c)}}createComponentRef(t,n,r,o,i,s,a){let c=this.componentDef,l=x2(o,c,s,i),u=t.rendererFactory.createRenderer(null,c),d=o?sj(u,o,c.encapsulation,n):w2(c,u,a??null);A2(d);let f=n.get(xs,null),p=R2(d,()=>n.get(Ne,null)??Pp());f&&f.addHost(p);let g=s?.some(O0)||i?.some(b=>typeof b!=`function`&&b.bindings.some(O0)),y=pb(null,l,null,512|Mw(c),null,null,t,u,n,null,F_(d,n,!0));f&&cA&&p instanceof ShadowRoot&&Aa(y,()=>{f.removeHost(p)}),y[le]=d,Yf(y);let E=null;try{let b=wb(le,y,2,`#host`,()=>l.directiveRegistry,!0,0);Z_(u,d,b),ii(d,y),Wp(l,y,b),qE(l,b,y),Ab(l,b),r!==void 0&&M2(b,this.ngContentSelectors,r),E=Un(b.index,y),y[Xe]=E[Xe],bb(l,y,null)}catch(b){throw E!==null&&Jv(E),Jv(y),b}finally{Ee(de.DynamicComponentEnd),Kf()}return new _p(this.componentType,y,!!g)}};function x2(e,t,n,r){let o=e?[`ng-version`,`22.1.6`]:wB(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[EE].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!=`function`)for(let f of d.bindings){a+=f[EE].requiredVars;let p=u+1;f.create&&(f.targetIdx=p,(i??=[]).push(f)),f.update&&(f.targetIdx=p,(s??=[]).push(f))}}let c=[t];if(r)for(let u of r){let f=Cl(typeof u==`function`?u:u.type);c.push(f)}return fb(0,null,N2(i,s),1,a,c,null,null,null,[o],null)}function R2(e,t){let n=e.getRootNode?.();return T2&&n instanceof Document?n.head:n&&cA&&n instanceof ShadowRoot?n:t().head}function N2(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function O0(e){let t=e[EE].kind;return t===`input`||t===`twoWay`}var _p=class extends eA{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=_a(n[N],le),this.location=Va(this._tNode,n),this.instance=Un(this._tNode.index,n)[Xe],this.hostView=this.changeDetectorRef=new si(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView;Eb(r,o[N],o,t,n);this.previousInputValues.set(t,n);Sb(Un(r.index,o),1)}get injector(){return new oi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function M2(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Xr=(()=>{class e{static __NG_ELEMENT_ID__=O2}return e})();function O2(){return uA(Re(),w())}var bE=class e extends Xr{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Va(this._hostTNode,this._hostLView)}get injector(){return new oi(this._hostTNode,this._hostLView)}get parentInjector(){let t=BE(this._hostTNode,this._hostLView);if(m_(t)){let n=yp(t,this._hostLView),r=gp(t),o=n[N].data[r+8];return new oi(o,n)}else return new oi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=L0(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-$e}createEmbeddedView(t,n,r){let o,i;typeof r==`number`?o=r:r!=null&&(o=r.index,i=r.injector);let s=Tp(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Ts(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,l=n||{};c=l.index,r=l.injector,o=l.projectableNodes,i=l.environmentInjector||l.ngModuleRef,s=l.directives,a=l.bindings;let u=new Cs(Br(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let b=this.parentInjector.get(Le,null);b&&(i=b)}let f=Br(u.componentType??{}),p=Tp(this._lContainer,f?.id??null),g=p?.firstChild??null,y=u.create(d,o,g,i,s,a,this._getHostElementNamespace());return this.insertImpl(y.hostView,c,Ts(this._hostTNode,p)),y}_getHostElementNamespace(){if(this._hostTNode.type&2){let t=this._hostTNode.parent??this._hostLView[It];return t!==null&&t.type&2&&typeof t.value==`string`&&t.value.toLowerCase()===`foreignobject`?null:t?.namespace??null}return this._hostTNode.namespace}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(MI(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[lt],l=new e(c,c[It],c[lt]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Wa(s,o,i,r),t.attachToViewContainerRef(),ov(Uv(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=L0(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=eu(this._lContainer,n);r&&(Il(Uv(this._lContainer),n),Gp(r[N],r))}detach(t){let n=this._adjustIndex(t,-1),r=eu(this._lContainer,n);return r&&Il(Uv(this._lContainer),n)!=null?new si(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function L0(e){return e[xl]}function Uv(e){return e[xl]||(e[xl]=[])}function uA(e,t){let n,r=t[e.index];return Fn(r)?n=r:(n=zw(r,t,null,e),t[e.index]=n,hb(t,n)),P2(n,t,e,r),new bE(n,e,t)}function L2(e,t){let n=e[oe],r=n.createComment(``),o=Pt(t,e);return qr(n,n.parentNode(o),r,n.nextSibling(o),!1),r}var P2=F2;var k2=()=>!1;function dA(e,t,n){return k2(e,t,n)}function F2(e,t,n,r){if(e[fs])return;let o;n.type&8?o=yt(r):o=L2(t,n),e[fs]=o}var SE=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}};var TE=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Rb(t,n).matches!==null&&this.queries[n].setDirty()}};var wp=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t==`string`?this.predicate=V2(t):this.predicate=t}};var DE=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}};
vendor: 4,308 bytes, line 13
13var CE=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,U2(n,i)),this.matchTNodeWithReadOption(t,n,lp(n,t,i,!1,!1))}else r===Yr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,lp(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Bn||o===Xr||o===Yr&&n.type&4)this.addMatch(n.index,-2);else{let i=lp(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function U2(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function H2(e,t){return e.type&11?Va(e,t):e.type&4?Kp(e,t):null}function B2(e,t,n,r){return n===-1?H2(t,e):n===-2?j2(e,t,r):Kl(e,e[N],n,t)}function j2(e,t,n){if(n===Bn)return Va(t,e);if(n===Yr)return Kp(t,e);if(n===Xr)return uA(t,e)}function fA(e,t,n,r){let o=t[Vr].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(B2(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function IE(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=fA(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=$e;d<u.length;d++){let f=u[d];f[ei]===f[lt]&&IE(f[N],f,l,r)}if(u[ps]!==null){let d=u[ps];for(let f=0;f<d.length;f++){let p=d[f];IE(p[N],p,l,r)}}}}}return r}function xb(e,t){return e[Vr].queries[t].queryList}function pA(e,t,n){let r=new bp((n&4)===4);return OI(e,t,r,r.destroy),(t[Vr]??=new TE).queries.push(new SE(r))-1}function hA(e,t,n){let r=me();return r.firstCreatePass&&(gA(r,new wp(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),pA(r,w(),t)}function mA(e,t,n,r){let o=me();if(o.firstCreatePass){let i=Re();gA(o,new wp(t,n,r),i.index),$2(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return pA(o,w(),n)}function V2(e){return e.split(`,`).map(t=>t.trim())}function gA(e,t,n){e.queries===null&&(e.queries=new DE),e.queries.track(new CE(t,n))}function $2(e,t){let n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}function Rb(e,t){return e.queries.getByIndex(t)}function yA(e,t){let n=e[N],r=Rb(n,t);return r.crossesNgTemplate?IE(n,e,t,[]):fA(n,e,r,t)}function Nb(e,t,n){let r,o=pl(()=>{r._dirtyCounter();let i=G2(r,e);if(t&&i===void 0)throw new I(-951,!1);return i});return r=o[Ve],r._dirtyCounter=Ze(0),r._flatValue=void 0,o}function Mb(e){return Nb(!0,!1,e)}function Ob(e){return Nb(!0,!0,e)}function Lb(e){return Nb(!1,!1,e)}function vA(e,t){let n=e[Ve];n._lView=w(),n._queryIndex=t,n._queryList=xb(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function G2(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[G]&4)return t?void 0:Mt;let o=xb(n,r),i=yA(n,r);return o.reset(i,I_),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Rs(e){return!!e&&typeof e.then==`function`}function Jp(e){return!!e&&typeof e.subscribe==`function`}var Is=class{};var eh=class{};var Ap=class extends Is{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=vI(t);this._bootstrapComponents=mB(i.bootstrap),this._r3Injector=xv(t,n,[{provide:Is,useValue:this},...r],bl(t),new Set([`environment`])),o&&this.resolveInjectorInitializer
vendor: 4,306 bytes, line 13
13s()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}};var xp=class extends eh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Ap(this.moduleType,t,[])}};var tu=class extends Is{injector;instance=null;constructor(t){super();let n=new as([...t.providers,{provide:Is,useValue:this}],t.parent||ba(),t.debugName,new Set([`environment`]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Ns(e,t,n=null){return new tu({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var z2=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Uf(!1,n.type),o=r.length>0?Ns([r],this._injector,``):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=T({token:e,providedIn:`environment`,factory:()=>new e(L(Le))})}return e})();function qa(e){return iu(()=>{let t=EA(e),n=x(w$1({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==jE.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(z2).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||yr.Emulated,styles:e.styles||Mt,_:null,schemas:e.schemas||null,tView:null,id:``});t.standalone&&Ut(`NgStandalone`),bA(n);let r=e.dependencies;return n.directiveDefs=P0(r,W2),n.pipeDefs=P0(r,tv),n.id=K2(n),n})}function W2(e){return Br(e)||Cl(e)}function Vn(e){return iu(()=>({type:e.type,bootstrap:e.bootstrap||Mt,declarations:e.declarations||Mt,imports:e.imports||Mt,exports:e.exports||Mt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function q2(e,t){if(e==null)return Zo;let n={};for(let r in e)if(Object.hasOwn(e,r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=mu.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Y2(e){if(e==null)return Zo;let t={};for(let n in e)Object.hasOwn(e,n)&&(t[e[n]]=n);return t}function hn(e){return iu(()=>{let t=EA(e);return bA(t),t})}function li(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function EA(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Zo,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Mt,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:q2(e.inputs,t),outputs:Y2(e.outputs),debugInfo:null}}function bA(e){e.features?.forEach(t=>t(e))}function P0(e,t){return e?()=>{let n=typeof e==`function`?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function K2(e){let t=0,n=typeof e.consts==`function`?``:e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join(`|`))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,`c`+t}var Pb=new A(``);function th(e){return jr([{provide:Pb,multi:!0,useValue:e}])}var kb=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=m(Pb,{optional:!0})??[];injector=m(Dt);constructor(){}
13runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=ut(this.injector,o);if(Rs(i))n.push(i);else if(Jp(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();function X2(e){return t=>{t.controlDef={create:(n,r)=>{n?.ɵngControlCreate(r)},update:(n,r)=>{n?.ɵngControlUpdate?.(r)},passThroughInput:e}}}function Z2(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=Q2,n.hostDirectives=r?e.map(_E):[e]):r?n.hostDirectives.unshift(...e.map(_E)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Q2(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,SA(s,t,r,e),o.set(s,[a,t.length-1])}i===0&&pr(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return r!==null&&r.forEach((i,s)=>{J2(s.declaredInputs,i.inputs)}),[t,r,o]}function SA(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o==`function`){let i=o();for(let s of i)k0(_E(s),t,n,r)}else k0(o,t,n,r)}function k0(e,t,n,r){let o=Cl(e.directive);if(SA(o,t,n,r),n.has(o)){let i=n.get(o);F0(i,e.inputs,`input`),F0(i,e.outputs,`output`)}else r.includes(o)||(n.set(o,e),t.push(o))}function F0(e,t,n){let r=n===`input`?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!Object.hasOwn(r,o)||r[o]===i)&&(r[o]=i)})}function _E(e){return typeof e==`function`?{directive:gt(e),inputs:{},outputs:{}}:{directive:gt(e.directive),inputs:U0(e.inputs),outputs:U0(e.outputs)}}function U0(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function J2(e,t){for(let n in t)if(Object.hasOwn(t,n)){let r=t[n];e[r]=e[n]}}function eV(e){return Object.getPrototypeOf(e.prototype).constructor}function TA(e){let t=eV(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,i=Object.hasOwn(t,Tl)?t[Tl]:void 0,s=Object.hasOwn(t,Dl)?t[Dl]:void 0;if(pr(e))o=i??s;else{if(i)throw new I(903,!1);o=s}if(o){if(n){r.push(o);let c=e;c.inputs=Hv(e.inputs),c.declaredInputs=Hv(e.declaredInputs),c.outputs=Hv(e.outputs);let l=o.hostBindings;l&&iV(e,l);let u=o.viewQuery,d=o.contentQueries;if(u&&rV(e,u),d&&oV(e,d),tV(e,o),mI(e.outputs,o.outputs),pr(o)&&o.data.animation){let f=e.data;f.animation=(f.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(e),l===TA&&(n=!1)}}t=Object.getPrototypeOf(t)}nV(r)}function tV(e,t){for(let n in t.inputs){if(!Object.hasOwn(t.inputs,n)||Object.hasOwn(e.inputs,n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function nV(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=ka(o.hostAttrs,n=ka(n,o.hostAttrs))}}function Hv(e){return e===Zo?{}:e===Mt?[]:e}function rV(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function oV(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function iV(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function DA(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=ka(e.mergedAttrs,e.attrs);let u=e.tView=fb(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Gr(e,!1);let c=aV(n,t,e,r);Pl()&&ub(n,t,c,e),ii(c,t);let l=zw(c,t,c,e);t[r+le]=l,hb(t,l),dA(l,e,t)}function sV(e,t,n,r,o,i,s,a,c,l,u){let d=n+le,f;return t.firstCreatePass?(f=As(t,d,4,s||null,a||null),zf()&&iA(t,e,f,fn(t.consts,l),gb),f_(t,f)):f=t.data[d],DA(f,e,t,n,r,o,i,c),Da(f)&&Wp(t,e,f),l!=null&&Ga(e,f,u),f}function _s(e,t,n,r,o,i,s,a,c,l,u){let d=n+le,f;if(t.firstCreatePass){if(f=As(t,d,4,s||null,a||null),l!=null){let p=fn(t.consts,l);f.localNames=[];for(let g=0;g<p.length;g+=2)f.localNames.push(p[g],-1)}}else f=t.data[d];return DA(f,e,t,n,r,o,i,c),l!=null&&Ga(e,f,u),f}function CA(e,t,n,r,o,i,s,a){let c=w(),l=me();return sV(c,l,e,t,n,r,o,fn(l.consts,i),void 0,s,a),CA}function IA(e,t,n,r,o,i,s,a){let c=w(),l=me();return _s(c,l,e,t,n,r,o,fn(l.consts,i),void 0,s,a),IA}var aV=cV;function cV(e,t,n,r){return Na(!0),t[oe].createComment(``)}var tn=(function(e){return e[e.NOT_STARTED=0]=`NOT_STARTED`,e[e.IN_PROGRESS=1]=`IN_PROGRESS`,e[e.COMPLETE=2]=`COMPLETE`,e[e.FAILED=3]=`FAILED`,e})(tn||{});var H0=0;var lV=1;var Qe=(function(e){return e[e.Placeholder=0]=`Placeholder`,e[e.Loading=1]=`Loading`,e[e.Complete=2]=`Complete`,e[e.Error=3]=`Error`,e})(Qe||{});var nu=(function(e){return e[e.Initial=-1]=`Initial`,e})(nu||{});var uV=0;var Ya=1;var dV=4;var fV=5;var pV=6;var hV=7;var Bv=8;var mV=9;var Fb=(function(e){return e[e.Manual=0]=`Manual`,e[e.Playthrough=1]=`Playthrough`,e})(Fb||{});function Ub(e,t,n){let r=wA(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function dp(e,t){let n=wA(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function _A(e){dp(1,e),dp(0,e),dp(2,e)}function wA(e){let t=dV;return e===1?t=fV:e===2&&(t=mV),t}function nh(e){return e+1}function ui(e,t){e[N];return e[nh(t.index)]}
13function gV(e,t,n){e[N];let o=nh(t);e[o]=n}function Ms(e,t){let n=nh(t.index);return e.data[n]}function yV(e,t,n){let r=nh(t);e.data[r]=n}function vV(e,t,n){let r=t[N],o=Ms(r,n);switch(e){case Qe.Complete:return o.primaryTmplIndex;case Qe.Loading:return o.loadingTmplIndex;case Qe.Error:return o.errorTmplIndex;case Qe.Placeholder:return o.placeholderTmplIndex;default:return null}}function B0(e,t){return t===Qe.Placeholder?e.placeholderBlockConfig?.[H0]??null:t===Qe.Loading?e.loadingBlockConfig?.[H0]??null:null}function EV(e){return e.loadingBlockConfig?.[lV]??null}function j0(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function bV(e,t){return _a(e,t.primaryTmplIndex+le)}var SV=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Ns(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=T({token:e,providedIn:`environment`,factory:()=>new e})}return e})();var AA=new A(``);function jv(e,t,n){return e.get(SV).getOrCreateInjector(t,e,n,``)}function TV(e,t,n){if(e instanceof vs){let o=e.injector,i=e.parentInjector;return new vs(o,jv(i,t,n))}let r=e.get(Le);if(r!==e)return new vs(e,jv(r,t,n));return jv(e,t,n)}function ri(e,t,n,r=!1){let o=n[lt],i=o[N];if($r(o))return;let s=ui(o,t),a=s[Ya],c=s[hV];if(!(c!==null&&e<c)&&V0(a,e)&&V0(s[uV]??-1,e)){let l=Ms(i,t),d=!r&&(EV(l)!==null||B0(l,Qe.Loading)!==null||B0(l,Qe.Placeholder))?IV:CV;try{d(e,s,n,t,o)}catch(f){vb(o,f)}}}function DV(e,t){let n=e[ti]?.findIndex(o=>o.data[GE]===t[Ya])??-1;return{dehydratedView:n>-1?e[ti][n]:null,dehydratedViewIx:n}}function CV(e,t,n,r,o){Ee(de.DeferBlockStateStart);let i=vV(e,o,r);if(i!==null){t[Ya]=e;let s=o[N],c=_a(s,i+le),l=0;Tb(n,l);let u;if(e===Qe.Complete){let g=Ms(s,r),y=g.providers;y&&y.length>0&&(u=TV(o[Ye],g,y))}let{dehydratedView:d,dehydratedViewIx:f}=DV(n,t),p=za(o,c,null,{injector:u,dehydratedView:d});if(Wa(n,p,l,Ts(c,d)),Vf(p),f>-1&&n[ti]?.splice(f,1),(e===Qe.Complete||e===Qe.Error)&&Array.isArray(t[Bv])){for(let g of t[Bv])g();t[Bv]=null}}Ee(de.DeferBlockStateEnd)}function V0(e,t){return e<t}function xA(e,t){let n=e[t.index];ri(Qe.Placeholder,t,n)}function $0(e,t,n){e.loadingPromise.then(()=>{e.loadingState===tn.COMPLETE?ri(Qe.Complete,t,n):e.loadingState===tn.FAILED&&ri(Qe.Error,t,n)})}var IV=null;function RA(e,t){return t[Ye].get(AA,null,{optional:!0})?.behavior!==Fb.Manual}function _V(e,t,n,r){let o=n.get(ie);return FH(e,()=>o.run(t),i=>o.runOutsideAngular(()=>kH(i)),r)}function wV(e,t,n){return n==null?e:n>=0?pv(n,e):e[t.index][$e]??null}function AV(e,t){return Ia(le+t,e)}function xV(e,t,n,r,o,i,s,a){if(!RA(s,e))return;let c=e[Ye],l=c.get(ie),u;function d(){if($r(e)){u.destroy();return}let f=ui(e,t),p=f[Ya];if(p!==nu.Initial&&p!==Qe.Placeholder){u.destroy();return}let g=wV(e,t,r);if(!g||(u.destroy(),$r(g)))return;let E=o(AV(g,n),()=>{l.run(()=>{e!==g&&Gf(g,E),i()})},c,a);e!==g&&Aa(g,E),Ub(s,f,E)}u=vw({read:d},{injector:c})}var rh=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=T({token:e,factory:e.ɵfac,providedIn:`platform`})}return e})();var oh=new A(``);var Ka=new A(``);var Hb=new A(`USE_PENDING_TASKS`,{providedIn:`root`,factory:()=>typeof Zone>`u`});var vu=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;pendingTasksInternal=m(mr);_usePendingTasks=m(Hb);constructor(n,r,o){this._ngZone=n,this.registry=r,cv()&&(this._destroyRef=m(Ct,{optional:!0})??void 0),Bb||(NA(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>`u`?null:Zone.current.get(`TaskTrackingZone`)})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r,o;this._ngZone.runOutsideAngular(()=>{this._usePendingTasks&&(r=this.pendingTasksInternal.hasPendingTasksObservable.subscribe(()=>{this.isStable()&&this._ngZone.runOutsideAngular(()=>{this._runCallbacksIfReady()})})),o=this._ngZone.onStable.subscribe({next:()=>{ie.assertNotInAngularZone(),queueMicrotask(()=>
13{this._isZoneStable=!0,this._runCallbacksIfReady()})}})}),this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r?.unsubscribe(),o.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks&&(!this._usePendingTasks||!this.pendingTasksInternal.hasPendingTasks)}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error(`Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?`);this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static ɵfac=function(r){return new(r||e)(L(ie),L(Eu),L(Ka))};static ɵprov=T({token:e,factory:e.ɵfac})}return e})();var Eu=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Bb?.findTestabilityInTree(this,n,r)??null}static ɵfac=function(r){return new(r||e)};static ɵprov=T({token:e,factory:e.ɵfac,providedIn:`platform`})}return e})();function NA(e){Bb=e}var Bb;var Xa=new A(``);function MA(){xy(()=>{throw new I(600,``)})}var RV=10;var $n=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=m(pn);afterRenderManager=m(Vp);zonelessEnabled=m(Oa);
13rootEffectScheduler=m(Jf);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new K;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=m(mr);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe($(n=>!n))}constructor(){m(Er,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=m(Le);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Dt.NULL){return this._injector.get(ie).run(()=>{if(Ee(de.BootstrapComponentStart),!this._injector.get(kb).done)throw new I(405,``);let a=Br(n),c=this._injector.get(Is),l=new Cs(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:f}=NV(r),p=u||l.selector,g=l.create(o,[],p,c.injector,d,f),y=g.location.nativeElement,E=g.injector.get(oh,null);return E?.registerApplication(y),g.onDestroy(()=>{this.detachView(g.hostView),zl(this.components,g),E?.unregisterApplication(y)}),this._loadComponent(g),Ee(de.BootstrapComponentEnd,g),g})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Ee(de.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(jp.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Ee(de.ChangeDetectionEnd),new I(101,!1);let n=F(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,F(n),this.afterTick.next(),Ee(de.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ds,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<RV;){Ee(de.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Ee(de.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Ml(o))continue;jw(o,r&&!this.zonelessEnabled?0:1),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Ml(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;zl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Xa,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>zl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new I(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();function NV(e){return e===void 0||typeof e==`string`||e instanceof Element?{hostElement:e}:e}function zl(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function MV(e,t,n){let r=t.get(LV),o=()=>r.remove(e);return r.add(e,n),o}function OV(e){return(t,n)=>MV(t,n,e)}var LV=(()=>{class e{buckets=new Map;callbackBucket=new Map;applicationRef=m($n);ngZone=m(ie);idleService=m(C_);add(n,r){let o=G0(r);this.callbackBucket.set(n,o);let i=this.buckets.get(o);i??(i={idleId:null,queue:new Set},this.buckets.set(o,i)),i.queue.add(n),this.scheduleBucket(i,r)}remove(n){let r=this.callbackBucket.get(n);if(r===void 0)return;this.callbackBucket.delete(n);let o=this.buckets.get(r);o&&(o.queue.delete(n),o.queue.size===0&&(this.cancelBucket(o),this.buckets.delete(r)))}scheduleBucket(n,r){if(n.idleId!==null)return;let o=G0(r),i=s=>{for(let a of n.queue)if(a(),this.applicationRef._tick(),n.queue.delete(a),this.callbackBucket.delete(a),s&&s.timeRemaining()===0&&!s.didTimeout)break;n.idleId=null,n.queue.size>0?this.scheduleBucket(n,r):this.buckets.delete(o)};n.idleId=this.idleService.requestOnIdle(s=>this.ngZone.run(()=>i(s)),r)}cancelBucket(n){n.idleId!==null&&(this.idleService.cancelOnIdle(n.idleId),n.idleId=null)}ngOnDestroy(){for(let n of this.buckets.values())this.cancelBucket(n);this.buckets.clear(),this.callbackBucket.clear()}static ɵprov=T({token:e,providedIn:`root`,factory:()=>new e})}return e})();function G0(e){return!e||e.timeout==null?``:`${e.timeout}`}function PV(e){let t=w(),n=t[Ye],r=Re(),o=t[N],i=Ms(o,r);if(i.loadingState===tn.NOT_STARTED)Ub(1,ui(t,r),e(()=>kV(i,t,r),n))}function kV(e,t,n){jb(e,t,n)}function jb(e,t,n){let r=t[Ye],o=t[N];if(e.loadingState!==tn.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=ui(t,n),s=bV(o,e);e.loadingState=tn.IN_PROGRESS,dp(1,i);let a=e.dependencyResolverFn,c=r.get(ms).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,f=[],p=[];for(let g=0;g<l.length;g++){let y=l[g];if(y.status===`fulfilled`){let E=y.value,b=Br(E)||Cl(E);if(b)f.push(b);else{let C=tv(E);C&&p.push(C)}}else{u=!0,y.reason instanceof Error?y.reason:new Error(String(y.reason));break}}if(u){if(e.loadingState=tn.FAILED,e.errorTmplIndex===null)vb(t,new I(-750,``))}else{e.loadingState=tn.COMPLETE;let g=s.tView;if(f.length>0){g.directiveRegistry=j0(g.directiveRegistry,f);e.providers=Uf(!1,...f.map(b=>b.type))}p.length>0&&(g.pipeRegistry=j0(g.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=tn.COMPLETE,c()}),e.loadingPromise)}function OA(e,t,n){let r=t[N],o=t[n.index];if(!RA(e,t))return;let i=ui(t,n),s=Ms(r,n);switch(_A(i),s.loadingState){case tn.NOT_STARTED:ri(Qe.Loading,n,o),jb(s,t,n),s.loadingState===tn.IN_PROGRESS&&$0(s,n,o);break;case tn.IN_PROGRESS:ri(Qe.Loading,n,o),$0(s,n,o);break;case tn.COMPLETE:ri(Qe.Complete,n,o);break;case tn.FAILED:ri(Qe.Error,n,o);break;default:}}
13function Vb(e,t,n){return e===0?z0(t,n):e===2?!z0(t,n):!0}function FV(e){return e!=null&&(e&1)===1}function z0(e,t){let n=e[Ye],r=Ms(e[N],t),o=WE(n),i=FV(r.flags),a=ui(e,t)[pV]!==null;return!(i&&a&&o)}function UV(e,t,n,r,o,i,s,a,c,l){let u=w(),d=me(),f=e+le,p=_s(u,d,e,null,0,0),g=u[Ye],y=WE(g);if(d.firstCreatePass){Ut(`NgDefer`);let R={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:tn.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,R,a,s),yV(d,f,R)}let E=u[f];dA(E,p,u);let b=null,C=null;if(E[ti]?.length>0){let R=E[ti][0].data;C=R[$E]??null,b=R[GE]}let M=[null,nu.Initial,null,null,null,null,C,b,null,null];gV(u,f,M);let q=null;C!==null&&y&&(q=g.get(k_),q.add(C,{lView:u,tNode:p,lContainer:E}));let te=()=>{_A(M),C!==null&&q?.cleanup([C])};Ub(0,M,()=>Gf(u,te)),Aa(u,te)}function HV(e){let t=w(),n=_o();if(!Vb(0,t,n))return;if(Ft(t,hr(),e)){let o=F(null);try{let i=!!e,a=ui(t,n)[Ya];i===!1&&a===nu.Initial?xA(t,n):i===!0&&(a===nu.Initial||a===Qe.Placeholder)&&OA(0,t,n)}finally{F(o)}}}function BV(e){Vb(1,w(),Re())&&PV(OV({timeout:e}))}function jV(e,t,n){let r=w(),o=Re();Vb(0,r,o)&&(xA(r,o),xV(r,o,e,t,_V,()=>OA(0,r,o),0,n))}function ih(e,t,n,r){let o=w();if(Ft(o,hr(),t)){me();hj(_o(),o,e,t,n,r)}return ih}function fp(e){if(Ut(`NgAnimateEnter`),!du)return fp;let t=w();if(pw(t))return fp;let n=Re(),r=t[Ye].get(ie);return yw(E0(t),n,()=>VV(t,n,e,r)),Sw(t[Ye]),Tw(t[Ye],E0(t)),fp}function VV(e,t,n,r){let o=Pt(t,e),i=e[oe],s=gw(n),a=[],c=!1,l=d=>{if(Zl(d)!==o)return;let f=d instanceof AnimationEvent?`animationend`:`transitionend`;r.runOutsideAngular(()=>{i.listen(o,f,u)})},u=d=>{Zl(d)===o&&(sb(d,o)&&(c=!0),$V(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,`animationstart`,l)),a.push(i.listen(o,`transitionstart`,l))}),PB(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(fw(o,ys,du),!ys.has(o))){for(let d of s)i.removeClass(o,d);ib(o)}})})}}function $V(e,t,n){let r=Fa.get(t);if(!(Zl(e)!==t||!r)&&sb(e,t)){e.stopPropagation();for(let o of r.classList)n.removeClass(t,o);ib(t)}}function pp(e){if(Ut(`NgAnimateLeave`),!du)return pp;let t=w();if(pw(t))return pp;let r=Re(),o=t[Ye].get(ie);return yw(Bp(t),r,()=>GV(t,r,e,o)),Sw(t[Ye]),pp}function GV(e,t,n,r){let{promise:o,resolve:i}=Xf(),s=Pt(t,e),a=e[oe];xo.add(e[fr]),(Bp(e).get(t.index).resolvers??=[]).push(i);let c=gw(n);return c&&c.length>0?zV(s,t,e,c,a,r):i(),{promise:o,resolve:i}}function zV(e,t,n,r,o,i){FB(e,o);let s=[],a=Bp(n).get(t.index)?.resolvers,c,l=!1,u=d=>{if(!(Zl(d)!==e&&d.type!==`animation-fallback`)&&(d.type===`animation-fallback`||sb(d,e))){if(l=!0,c&&clearTimeout(c),d.type!==`animation-fallback`&&d.stopPropagation(),ys.delete(e),v0(t,e),Array.isArray(t.projection))for(let p of r)o.removeClass(e,p);b0(a,s),S0(n,t)}};i.runOutsideAngular(()=>{s.push(o.listen(e,`animationend`,u)),s.push(o.listen(e,`transitionend`,u))}),mw(t,e);for(let d of r)o.addClass(e,d);i.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(l)return;fw(e,ys,du);let d=ys.get(e);d?(c=setTimeout(()=>{u(new CustomEvent(`animation-fallback`))},d.duration+50),s.push(()=>clearTimeout(c))):(v0(t,e),b0(a,s),S0(n,t))})})}function WV(){return w()[Lt][Xe]}var wE=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Vv(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function qV(e,t,n,r){let o,i,s=0,a=e.length-1;if(Array.isArray(t)){F(r);let l=t.length-1;for(F(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],f=Vv(s,u,s,d,n);if(f!==0){f<0&&e.updateValue(s,d),s++;continue}let p=e.at(a),g=t[l],y=Vv(a,p,l,g,n);if(y!==0){y<0&&e.updateValue(a,g),a--,l--;continue}let E=n(s,u),b=n(a,p),C=n(s,d);if(Object.is(C,b)){let M=n(l,g);Object.is(M,E)?(e.swap(s,a),e.updateValue(a,g),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Rp,i??=q0(e,s,a,n),AE(e,o,s,C))e.updateValue(s,d),s++,a++;else if(i.has(C))o.set(E,e.detach(s)),a--;else{let M=e.create(s,t[s]);e.attach(s,M),s++,a++}}for(;s<=l;)W0(e,o,n,s,t[s]),s++}else if(t!=null){F(r);let l=t[Symbol.iterator]();F(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),f=u.value,p=Vv(s,d,s,f,n);if(p!==0)p<0&&e.updateValue(s,f),s++,u=l.next();
13else{o??=new Rp,i??=q0(e,s,a,n);let g=n(s,f);if(AE(e,o,s,g))e.updateValue(s,f),s++,a++,u=l.next();else if(!i.has(g))e.attach(s,e.create(s,f)),s++,a++,u=l.next();else{let y=n(s,d);o.set(y,e.detach(s)),a--}}}for(;!u.done;)W0(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function AE(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function W0(e,t,n,r,o){if(AE(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function q0(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Rp=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function YV(e,t,n,r,o,i,s,a){Ut(`NgControlFlow`);let c=w(),l=me();return _s(c,l,e,t,n,r,o,fn(l.consts,i),256,s,a),$b}function $b(e,t,n,r,o,i,s,a){Ut(`NgControlFlow`);let c=w(),l=me();return _s(c,l,e,t,n,r,o,fn(l.consts,i),512,s,a),$b}function KV(e,t){Ut(`NgControlFlow`);let n=w(),r=hr(),o=n[r]!==dt?n[r]:-1,i=o!==-1?Np(n,le+o):void 0,s=0;if(Ft(n,r,e)){let a=F(null);try{if(i!==void 0&&Tb(i,s),e!==-1){let c=le+e,l=Np(n,c),u=ME(n[N],c),d=Jw(l,u,n);Wa(l,za(n,u,t,{dehydratedView:d}),s,Ts(u,d))}}finally{F(a)}}else if(i!==void 0){let a=Ww(i,s);a!==void 0&&(a[Xe]=t)}}var xE=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-$e}};function XV(e){return e}function ZV(e,t){return t}var RE=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function QV(e,t,n,r,o,i,s,a,c,l,u,d,f){Ut(`NgControlFlow`);let p=w(),g=me(),y=c!==void 0,E=w(),C=new RE(y,a?s.bind(E[Lt][Xe]):s);E[le+e]=C,_s(p,g,e+1,t,n,r,o,fn(g.consts,i),256),y&&_s(p,g,e+2,c,l,u,d,fn(g.consts,f),512)}var NE=class extends wE{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-$e}at(t){return this.getLView(t)[Xe].$implicit}attach(t,n){let r=n[ls];this.needsIndexUpdate||=t!==this.length,Wa(this.lContainer,n,t,Ts(this.templateTNode,r)),e$(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,t$(this.lContainer,t),n$(this.lContainer,t)}create(t,n){let r=Tp(this.lContainer,this.templateTNode.tView.ssrId);return za(this.hostLView,this.templateTNode,new xE(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Gp(t[N],t)}updateValue(t,n){this.getLView(t)[Xe].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Xe].$index=t}getLView(t){return r$(this.lContainer,t)}};function JV(e){let t=F(null),n=Gt();try{let r=w(),o=r[N],i=r[n],s=n+1,a=Np(r,s);if(i.liveCollection===void 0)i.liveCollection=new NE(a,r,ME(o,s));else i.liveCollection.reset();let c=i.liveCollection;if(qV(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=hr(),u=c.length===0;if(Ft(r,l,u)){let d=n+2,f=Np(r,d);if(u){let p=ME(o,d),g=Jw(f,p,r);Wa(f,za(r,p,void 0,{dehydratedView:g}),0,Ts(p,g))}else o.firstUpdatePass&&Qj(f),Tb(f,0)}}}finally{F(t)}}function Np(e,t){return e[t]}function e$(e,t){if(e.length<=$e)return;let r=e[$e+t],o=r?r[kn]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Ye];jB(i,o),xo.delete(r[fr]),o.detachedLeaveAnimationFns=void 0}}function t$(e,t){if(e.length<=$e)return;let r=e[$e+t],o=r?r[kn]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function n$(e,t){return eu(e,t)}function r$(e,t){return Ww(e,t)}function ME(e,t){return _a(e,t)}function LA(e,t,n){let r=w();if(Ft(r,hr(),t)){me();mb(_o(),r,e,t,r[oe],n)}return LA}function OE(e,t,n,r,o){Eb(t,e,n,o?`class`:`style`,r)}function Mp(e,t,n,r){let o=w(),i=o[N],s=e+le,a=i.firstCreatePass?wb(s,o,2,t,gb,zf(),n,r):i.data[s];if(Io(a)){let c=o[dr].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOff
13set];return c.componentCreate(nA(l),()=>(Y0(e,t,o,a,r),Mp))}}return Y0(e,t,o,a,r),Mp}function Y0(e,t,n,r,o){if(qp(r,n,e,t,kA),Da(r)){let i=n[N];Wp(i,n,r),qE(i,r,n)}o!=null&&Ga(n,r)}function Gb(){let e=me(),n=Yp(Re());return e.firstCreatePass&&Ab(e,n),vv(n)&&Ev(),gv(),n.classesWithoutHost!=null&&gH(n)&&OE(e,n,w(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&yH(n)&&OE(e,n,w(),n.stylesWithoutHost,!1),Gb}function sh(e,t,n,r){return Mp(e,t,n,r),Gb(),sh}function zb(e,t,n,r){let o=w(),i=o[N],s=e+le,a=i.firstCreatePass?aA(s,i,2,t,n,r):i.data[s];return qp(a,o,e,t,kA),r!=null&&Ga(o,a),zb}function Wb(){return vv(Yp(Re()))&&Ev(),gv(),Wb}function PA(e,t,n,r){return zb(e,t,n,r),Wb(),PA}var kA=(e,t,n,r,o)=>(Na(!0),eb(t[oe],r,Av()));function qb(e,t,n){let r=w(),o=r[N],i=e+le,s=o.firstCreatePass?wb(i,r,8,`ng-container`,gb,zf(),t,n):o.data[i];if(qp(s,r,e,`ng-container`,BA),Da(s)){let a=r[N];Wp(a,r,s),qE(a,s,r)}return n!=null&&Ga(r,s),qb}function ah(){let e=me(),n=Yp(Re());return e.firstCreatePass&&Ab(e,n),ah}function FA(e,t,n){return qb(e,t,n),ah(),FA}function Yb(e,t,n){let r=w(),o=r[N],i=e+le,s=o.firstCreatePass?aA(i,o,8,`ng-container`,t,n):o.data[i];return qp(s,r,e,`ng-container`,BA),n!=null&&Ga(r,s),Yb}function UA(){Yp(Re());return ah}function HA(e,t,n){return Yb(e,t,n),UA(),HA}var BA=(e,t,n,r,o)=>(Na(!0),K_(t[oe],``));function o$(){return w()}function jA(e,t,n){let r=w();if(Ft(r,hr(),t)){me();Pw(_o(),r,e,t,r[oe],n)}return jA}var jl=void 0;function i$(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,``).length;return t===1&&n===0?1:5}var s$=[`en`,[[`a`,`p`],[`AM`,`PM`]],[[`AM`,`PM`]],[[`S`,`M`,`T`,`W`,`T`,`F`,`S`],[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`]],jl,[[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]],jl,[[`B`,`A`],[`BC`,`AD`],[`Before Christ`,`Anno Domini`]],0,[6,0],[`M/d/yy`,`MMM d, y`,`MMMM d, y`,`EEEE, MMMM d, y`],[`h:mm a`,`h:mm:ss a`,`h:mm:ss a z`,`h:mm:ss a zzzz`],[`{1}, {0}`,jl,jl,jl],[`.`,`,`,`;`,`%`,`+`,`-`,`E`,`×`,`‰`,`∞`,`NaN`,`:`],[`#,##0.###`,`#,##0%`,`¤#,##0.00`,`#E0`],`USD`,`$`,`US Dollar`,{},`ltr`,i$];var Wl=Object.create(null);function Kb(e,t,n){typeof t!=`string`&&(n=t,t=e[Pe.LocaleId]),t=t.toLowerCase().replace(/_/g,`-`),Wl[t]=e,n&&(Wl[t][Pe.ExtraData]=n)}function zt(e){let t=a$(e),n=K0(t);if(n)return n;let r=t.split(`-`)[0];if(n=K0(r),n)return n;if(r===`en`)return s$;throw new I(701,!1)}function Xb(e){return zt(e)[Pe.PluralCase]}function K0(e){if(!(e in Wl)){let t=it.ng&&it.ng.common&&it.ng.common.locales&&it.ng.common.locales[e];return t!==void 0&&(Wl[e]=t),t}return Wl[e]}var Pe={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};function a$(e){return e.toLowerCase().replace(/_/g,`-`)}var c$=[`zero`,`one`,`two`,`few`,`many`];function l$(e,t){let r=c$[Xb(t)(parseInt(e,10))];return r!==void 0?r:`other`}var bu=`en-US`;var VA={marker:`element`};var $A={marker:`ICU`};var wo=(function(e){return e[e.SHIFT=2]=`SHIFT`,e[e.APPEND_EAGERLY=1]=`APPEND_EAGERLY`,e[e.COMMENT=2]=`COMMENT`,e})(wo||{});var GA=bu;function zA(e){typeof e==`string`&&(GA=e.toLowerCase().replace(/_/g,`-`))}function u$(){return GA}var ru=0;var ql=0;function d$(e){e&&(ru=ru|1<<Math.min(ql,31)),ql++}function f$(e,t,n){try{if(ql>0){let r=e.data[n];qA(e,t,Array.isArray(r)?r:r.update,Ol()-ql-1,ru)}}finally{ru=0,ql=0}}function p$(e,t,n){let r=e[oe];switch(n){case Node.COMMENT_NODE:return K_(r,t);case Node.TEXT_NODE:return q_(r,t);case Node.ELEMENT_NODE:return eb(r,t,null)}}var hp=(e,t,n,r)=>(Na(!0),p$(e,n,r));function h$(e,t,n,r){let o=e[oe];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s&wo.COMMENT)===wo.COMMENT,l=(s&wo.APPEND_EAGERLY)===wo.APPEND_EAGERLY,u=s>>>wo.SHIFT,d=e[u],f=!1;
13d===null&&(d=e[u]=hp(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),f=Pl()),l&&n!==null&&f&&qr(o,n,d,r,!1)}}function WA(e,t,n,r){let o=n[oe],i=null,s;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c==`string`){let l=t[++a];n[l]===null&&(n[l]=hp(n,l,c,Node.TEXT_NODE))}else if(typeof c==`number`)switch(c&1){case 0:let l=$j(c);i===null&&(i=l,s=o.parentNode(r));let u,d;if(l===i?(u=r,d=s):(u=null,d=yt(n[l])),d!==null){let y=Gj(c),E=n[y];qr(o,d,E,u,!1);let b=Gl(e,y);if(b!==null&&typeof b==`object`){let C=Xp(b,n);C!==null&&WA(e,b.create[C],n,n[b.anchorIdx])}}break;case 1:let f=c>>>1,p=t[++a],g=t[++a];yb(o,Ia(f,n),null,null,p,g,null);break;default:}else switch(c){case $A:let l=t[++a],u=t[++a];if(n[u]===null)ii(n[u]=hp(n,u,l,Node.COMMENT_NODE),n);break;case VA:let d=t[++a],f=t[++a];if(n[f]===null)ii(n[f]=hp(n,f,d,Node.ELEMENT_NODE),n);break;default:}}}function qA(e,t,n,r,o){for(let i=0;i<n.length;i++){let s=n[i],a=n[++i];if(s&o){let c=``;for(let l=i+1;l<=i+a;l++){let u=n[l];if(typeof u==`string`)c+=u;else if(typeof u==`number`)if(u<0)c+=Ot(t[r-u]);else{let d=u>>>2;switch(u&3){case 1:let f=n[++l],p=n[++l],g=e.data[d];if(typeof g==`string`)yb(t[oe],t[d],null,g,f,c,p);else{let E=Gt();zr(d);try{mb(g,t,f,c,t[oe],p)}finally{zr(E)}}break;case 0:let y=t[d];y!==null&&Y_(t[oe],y,c);break;case 2:m$(e,Gl(e,d),t,c);break;case 3:X0(e,Gl(e,d),r,t);break}}}}else{let c=n[i+1];if(c>0&&(c&3)===3){let u=Gl(e,c>>>2);t[u.currentCaseLViewIndex]<0&&X0(e,u,r,t)}}i+=a}}function X0(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=ru;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),qA(e,r,t.update[o],n,i)}}function m$(e,t,n,r){let o=g$(t,r);if(Xp(t,n)!==o&&(YA(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&WA(e,t.create[o],n,s),t.anchorIdx}}function YA(e,t,n){let r=Xp(t,n);if(r!==null){let o=t.remove[r];for(let i=0;i<o.length;i++){let s=o[i];if(s>0){let a=Ia(s,n);a!==null&&Hp(n[oe],a)}else YA(e,Gl(e,~s),n)}}}function g$(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=l$(t,u$());n=e.cases.indexOf(r),n===-1&&r!==`other`&&(n=e.cases.indexOf(`other`));break}case 0:n=e.cases.indexOf(`other`);break}return n===-1?null:n}var Op=/�(\d+):?\d*�/gi;var y$=/�(\d+)�/;var KA=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/;var Yl=`�`;var v$=/�\/?\*(\d+:\d+)�/gi;var E$=/�(\/?[#*]\d+):?\d*�/gi;var b$=/\uE500/g;function S$(e){return e.replace(b$,` `)}function T$(e,t,n,r,o,i){let s=xa(),a=[],c=[],l=[[]],u=[[]];o=C$(o,i);let d=S$(o).split(E$);for(let f=0;f<d.length;f++){let p=d[f];if((f&1)===0){let g=PE(p);for(let y=0;y<g.length;y++){let E=g[y];if((y&1)===0){let b=E;b!==``&&D$(u[0],e,s,l[0],a,c,n,b)}else{let b=E;if(typeof b!=`object`)throw new Error(`Unable to parse ICU expression in "${o}" message.`);let M=XA(e,s,l[0],n,a,``,!0).index;QA(u[0],e,n,c,t,b,M)}}}else{let g=p.charCodeAt(0)===47,y=p.charCodeAt(g?1:0),E=le+Number.parseInt(p.substring(g?2:1));if(g)l.shift(),u.shift(),Gr(xa(),!1);else{let b=Vj(e,l[0],E);l.unshift([]),Gr(b,!0);let C={kind:2,index:E,children:[],type:y===35?0:1};u[0].push(C),u.unshift(C.children)}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function XA(e,t,n,r,o,i,s){let a=hu(e,r,1,null),c=a<<wo.SHIFT,l=xa();t===l&&(l=null),l===null&&(c|=wo.APPEND_EAGERLY),s&&(c|=wo.COMMENT,AB(qj)),o.push(c,i===null?``:i);let u=Db(e,a,s?32:1,i===null?``:i,null);Xw(n,u);let d=u.index;return Gr(u,!1),l!==null&&t!==l&&jj(l,d),u}function D$(e,t,n,r,o,i,s,a){let c=a.match(Op),u=XA(t,n,r,s,o,c?null:a,!1).index;c&&LE(i,a,u,null,0,null),e.push({kind:0,index:u})}function LE(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(Op),u=0;for(let d=0;d<l.length;d++){let f=l[d];if(d&1){let p=o+parseInt(f,10);e.push(-1-p),u=u|ZA(p)}else f!==``&&e.push(f)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=u,e[a]=e.length-c,u}function ZA(e){return 1<<Math.min(e,31)}function Z0(e){let t,n=``,r=0,o=!1,i;for(;(t=v$.exec(e))!==null;)o?t[0]===`${Yl}/*${i}${Yl}`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],o=!0);return n+=e.slice(r),n}function C$(e,t){if(Wj(t))return Z0(e);{let n=e.indexOf(`:${t}${Yl}`)+2+t.toString().length,r=e.search(new RegExp(`${Yl}\\/\\*\\d+:${t}${Yl}`));return Z0(e.substring(n,r))}}function QA(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:hu(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};A$(r,i,s),Bj(t,s,c);let l=i.values,u=[];for(let d=0;d<l.length;d++){let f=l[d],p=[];for(let y=0;y<f.length;y++){let E=f[y];if(typeof E!=`string`)f[y]=`<!--\uFFFD${p.push(E)-1}\uFFFD-->`}let g=[];u.push(g),a=_$(g,t,c,n,r,o,i.cases[d],f.join(``),p)|a}
13a&&x$(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function I$(e){let t=[],n=[],r=1,o=0;e=e.replace(KA,function(s,a,c){return c===`select`?r=0:r=1,o=parseInt(a.slice(1),10),``});let i=PE(e);for(let s=0;s<i.length;){let a=i[s++].trim();r===1&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,`$1`)),a.length&&t.push(a);let c=PE(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function PE(e){if(!e)return[];let t=0,n=[],r=[],o=/[{}]/g;o.lastIndex=0;let i;for(;i=o.exec(e);){let a=i.index;if(i[0]==`}`){if(n.pop(),n.length==0){let c=e.substring(t,a);KA.test(c)?r.push(I$(c)):r.push(c),t=a+1}}else{if(n.length==0){let c=e.substring(t,a);r.push(c),t=a+1}n.push(`{`)}}let s=e.substring(t);return r.push(s),r}function _$(e,t,n,r,o,i,s,a,c){let l=[],u=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(u),n.update.push(d);let p=j_(Pp()).getInertBodyElement(a),g=pE(p)||p;return g?JA(e,t,n,r,o,l,u,d,g,i,c,0):0}function JA(e,t,n,r,o,i,s,a,c,l,u,d){let f=0,p=c.firstChild;for(;p;){let g=hu(t,r,1,null);switch(p.nodeType){case Node.ELEMENT_NODE:let y=p,E=y.tagName.toLowerCase();if(Object.hasOwn(uE,E)){$v(i,VA,E,l,g),t.data[g]=E;let q=y.attributes;for(let R=0;R<q.length;R++){let ce=q.item(R),be=ce.name.toLowerCase(),nt=!!ce.value.match(Op),mt=y.namespaceURI,an=mt&&H_[mt],Ar=an?`:${an}:${E}`:E;if(nt)Object.hasOwn(dE,be)&&LE(a,ce.value,g,ce.name,0,e_(be,Ar));else if(dE[be]){let Gi=ce.value;e_(be,Ar)?J0(i,g,ce.name,`unsafe:blocked`):J0(i,g,ce.name,Gi)}}let te={kind:1,index:g,children:[]};e.push(te),f=JA(te.children,t,n,r,o,i,s,a,p,g,u,d+1)|f,Q0(s,g,d)}break;case Node.TEXT_NODE:let b=p.textContent||``,C=b.match(Op);$v(i,null,C?``:b,l,g),Q0(s,g,d),C&&(f=LE(a,b,g,null,0,null)|f),e.push({kind:0,index:g});break;case Node.COMMENT_NODE:let M=y$.exec(p.textContent||``);if(M){let te=u[parseInt(M[1],10)];$v(i,$A,``,l,g),QA(e,t,r,o,l,te,g),w$(s,g,d)}break}p=p.nextSibling}return f}function Q0(e,t,n){n===0&&e.push(t)}function w$(e,t,n){n===0&&(e.push(~t),e.push(t))}function A$(e,t,n){e.push(ZA(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function x$(e,t,n){e.push(t,1,n<<2|3)}function $v(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,zj(0,r,o))}function J0(e,t,n,r){e.push(t<<1|1,n,r)}function e_(e,t){let n;if(t){let[r,o]=Q_(t,!1);n=Rl(o,e,r)}else n=Rl(`*`,e);switch(n){case ue.HTML:return J_;case ue.STYLE:return ew;case ue.SCRIPT:return nw;case ue.URL:return $a;case ue.RESOURCE_URL:return tb;case ue.ATTRIBUTE_NO_BINDING:return iw;default:return null}}var t_=0;var R$=/\[(�.+?�?)\]/;var N$=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g;var M$=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g;var O$=/{([A-Z0-9_]+)}/g;var L$=/�I18N_EXP_(ICU(_\d+)?)�/g;var P$=/\/\*/;var k$=/\d+\:(\d+)/;function F$(e,t={}){let n=e;if(R$.test(e)){let r={},o=[t_];n=n.replace(N$,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split(`|`).forEach(y=>{let E=y.match(k$),b=E?parseInt(E[1],10):t_,C=P$.test(y);l.push([b,C,y])}),r[c]=l),!l.length)throw new Error(`i18n postprocess: unmatched placeholder - ${c}`);let u=o[o.length-1],d=0;for(let y=0;y<l.length;y++)if(l[y][0]===u){d=y;break}let[f,p,g]=l[d];return p?o.pop():u!==f&&o.push(f),l.splice(d,1),g})}return Object.keys(t).length&&(n=n.replace(M$,(r,o,i,s,a,c)=>Object.hasOwn(t,i)?`${o}${t[i]}${c}`:r),n=n.replace(O$,(r,o)=>Object.hasOwn(t,o)?t[o]:r),n=n.replace(L$,(r,o)=>{if(Object.hasOwn(t,o)){let i=t[o];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return i.shift()}return r})),n}function ex(e,t,n=-1){let r=me(),o=w(),i=le+e,s=fn(r.consts,t),a=xa();if(r.firstCreatePass&&T$(r,a===null?0:a.index,o,i,s,n),r.type===2){let f=o[Lt];f[G]|=32}else o[G]|=32;let c=r.data[i],u=Iw(r,a===o[It]?null:a,o),d=a&&a.type&8?o[a.index]:null;h$(o,c.create,u,d),Iv(!0)}function tx(){Iv(!1)}function U$(e,t,n){ex(e,t,n),tx()}function nx(e){return d$(Ft(w(),hr(),e)),nx}function H$(e){f$(me(),w(),e+le)}function B$(e,t={}){return F$(e,t)}function ch(e,t,n){let r=w(),o=me(),i=Re();return ox(o,r,r[oe],i,e,t,n),ch}function rx(e,t,n){let r=w(),o=me(),i=Re();return(i.type&3||n)&&_b(i,o,r,n,r[oe],e,t,Es(i,r,t)),rx}function ox(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Es(r,t,i),_b(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let f=u[d],p=u[d+1];c??=Es(r,t,i),Dp(r,t,f,p,o,c)}if(l&&l.length)for(let d of l)c??=Es(r,t,i),Dp(r,t,d,o,o,c)}}function j$(e=1){return WI(e)}function V$(e,t){let n=null,r=SB(e);for(let o=0;o<t.length;o++){let i=t[o];if(i===`*`){n=o;continue}if(r===null?aw(e,i,!0):CB(r,i))return o}return n}function lh(e){let t=w()[Lt][It];if(!t.projection){let r=t.projection=CI(e?e.length:1,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?V$(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function uh(e,t=0,n,r,o,i){let s=w(),a=me(),c=r?e+1:null;c!==null&&_s(s,a,c,r,o,i,null,n);let l=As(a,le+e,16,null,n||null);l.projection===null&&(l.projection=t),Tv();let d=!s[ls]||yv();s[Lt][It].projection[l.projection]===null&&c!==null?$$(s,a,c):d&&!Fp(l)&&JB(a,s,l)}function $$(e,t,n){let r=le+n,o=t.data[r],i=e[r],s=Tp(i,o.tView.ssrId);Wa(i,za(e,o,void 0,{dehydratedView:s}
vendor: 1,979 bytes, line 13
13),0,Ts(o,s))}function dh(e,t,n,r){return mA(e,t,n,r),dh}function ix(e,t,n){return hA(e,t,n),ix}function Zb(e){let t=w(),n=me(),r=qf();Ll(r+1);let o=Rb(n,r);if(e.dirty&&NI(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=yA(t,r);e.reset(i,I_),e.notifyOnChanges()}return!0}return!1}function Qb(){return xb(w(),qf())}function sx(e,t,n,r,o){return vA(t,mA(e,n,r,o)),sx}function ax(e,t,n,r){return vA(e,hA(t,n,r)),ax}function G$(e=1){Ll(qf()+e)}function z$(e){return wa(Dv(),le+e)}function sp(e,t){return e<<17|t<<2}function ws(e){return e>>17&32767}function W$(e){return(e&2)==2}function q$(e,t){return e&131071|t<<17}function kE(e){return e|2}function Ha(e){return(e&131068)>>2}function Gv(e,t){return e&-131069|t<<2}function Y$(e){return(e&1)===1}function FE(e){return e|1}function K$(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ws(s),c=Ha(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Ea(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let f=ws(e[a+1]);e[r+1]=sp(f,a),f!==0&&(e[f+1]=Gv(e[f+1],r)),e[a+1]=q$(e[a+1],r)}else e[r+1]=sp(a,0),a!==0&&(e[a+1]=Gv(e[a+1],r)),a=r;else e[r+1]=sp(c,0),a===0?a=r:e[c+1]=Gv(e[c+1],r),c=r;l&&(e[r+1]=kE(e[r+1])),n_(e,u,r,!0),n_(e,u,r,!1),X$(t,u,e,r,i),s=sp(a,c),i?t.classBindings=s:t.styleBindings=s}function X$(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t==`string`&&Ea(i,t)>=0&&(n[r+1]=FE(n[r+1]))}function n_(e,t,n,r){let o=e[n+1],i=t===null,s=r?ws(o):Ha(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];Z$(c,t)&&(a=!0,e[s+1]=r?FE(l):kE(l)),s=r?ws(l):Ha(l)}a&&(e[n+1]=r?kE(o):FE(o))}function Z$(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t==`string`?Ea(e,t)>=0:!1}var vt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function cx(e){return e.substring(vt.key,vt.keyEnd)}function Q$(e){return e.substring(vt.value,vt.valueEnd)}function J$(e){return dx(e),lx(e,Ba(e,0,vt.textEnd))}function lx(e,t){let n=vt.textEnd;
vendor: 4,459 bytes, line 13
13return n===t?-1:(t=vt.keyEnd=t5(e,vt.key=t,n),Ba(e,t,n))}function e5(e){return dx(e),ux(e,Ba(e,0,vt.textEnd))}function ux(e,t){let n=vt.textEnd,r=vt.key=Ba(e,t,n);return n===r?-1:(r=vt.keyEnd=n5(e,r,n),r=r_(e,r,n,58),r=vt.value=Ba(e,r,n),r=vt.valueEnd=r5(e,r,n),r_(e,r,n,59))}function dx(e){vt.key=0,vt.keyEnd=0,vt.value=0,vt.valueEnd=0,vt.textEnd=e.length}function Ba(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function t5(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function n5(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function r_(e,t,n,r){return t=Ba(e,t,n),t<n&&t++,t}function r5(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=o_(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=o_(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function o_(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function fx(e,t,n){return hx(e,t,n,!1),fx}function px(e,t){return hx(e,t,null,!0),px}function o5(e){mx(vx,i5,e,!1)}function i5(e,t){for(let n=e5(t);n>=0;n=ux(t,n))vx(e,cx(t),Q$(t))}function s5(e){mx(p5,a5,e,!0)}function a5(e,t){for(let n=J$(t);n>=0;n=lx(t,n))_l(e,cx(t),!0)}function hx(e,t,n,r){let o=w(),i=me(),s=Ra(2);if(i.firstUpdatePass&&yx(i,e,s,r),t!==dt&&Ft(o,s,t)){let a=i.data[Gt()];Ex(i,a,o,o[oe],e,o[s+1]=m5(t,n),r,s)}}function mx(e,t,n,r){let o=me(),i=Ra(2);o.firstUpdatePass&&yx(o,null,i,r);let s=w();if(n!==dt&&Ft(s,i,n)){let a=o.data[Gt()];if(bx(a,r)&&!gx(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Nf(c,n||``)),OE(o,a,s,n,r)}else h5(o,a,s,s[oe],s[i+1],s[i+1]=f5(e,t,n),r,i)}}function gx(e,t){return t>=e.expandoStartIndex}function yx(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Gt()],s=gx(e,n);bx(i,r)&&t===null&&!s&&(t=!1),t=c5(o,i,t,r),K$(o,i,t,n,s,r)}}function c5(e,t,n,r){let o=VI(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=zv(null,e,t,n,r),n=ou(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=zv(o,e,t,n,r),i===null){let c=l5(e,t,r);c!==void 0&&Array.isArray(c)&&(c=zv(null,e,t,c[1],r),c=ou(c,t.attrs,r),u5(e,t,r,c))}else i=d5(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function l5(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ha(r)!==0)return e[ws(r)]}function u5(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ws(o)]=r}function d5(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=ou(r,s,n)}return ou(r,t.attrs,n)}function zv(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=ou(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function ou(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s==`number`?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:[``,e]),_l(e,s,n?!0:t[++i]))}return e===void 0?null:e}function f5(e,t,n){if(n==null||n===``)return Mt;let r=[],o=kt(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o==`object`)for(let i in o)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o==`string`&&t(r,o);return r}function vx(e,t,n){_l(e,t,kt(n))}function p5(e,t,n){let r=String(t);r!==``&&!r.includes(` `)&&_l(e,r,n)}function h5(e,t,n,r,o,i,s,a){o===dt&&(o=Mt);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let f=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,g=null,y;u===d?(c+=2,l+=2,f!==p&&(g=d,y=p)):d===null||u!==null&&u<d?(c+=2,g=u):(l+=2,g=d,y=p),g!==null&&Ex(e,t,n,r,g,y,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Ex(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1];if(!Lp(Y$(l)?i_(c,t,n,o,Ha(l),s):void 0)){Lp(i)||W$(l)&&(i=i_(c,null,n,o,a,s));tj(r,s,Ia(Gt(),n),o,i)}}function i_(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,f=n[o+1];f===dt&&(f=d?Mt:void 0);let p=d?Ff(f,r):u===r?f:void 0;if(l&&!Lp(p)&&(p=Ff(c,r)),Lp(p)&&(a=p,s))return a;let g=e[o+1];o=s?ws(g):Ha(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ff(c,r))}return a}function Lp(e){return e!==void 0}function m5(e,t){return e==null||e===``||(typeof t==`string`?e=kt(e)+t:typeof e==`object`&&(e=bl(kt(e)))
vendor: 4,384 bytes, line 13
13),e}function bx(e,t){return(e.flags&(t?8:16))!==0}function g5(e,t=``){let n=w(),r=me(),o=e+le,i=r.firstCreatePass?As(r,o,1,t,null):r.data[o],s=y5(r,n,i,t);n[o]=s,Pl()&&ub(r,n,s,i),Gr(i,!1)}var y5=(e,t,n,r)=>(Na(!0),q_(t[oe],r));function Sx(e,t,n,r=``){return Ft(e,hr(),n)?t+Ot(n)+r:dt}function v5(e,t,n,r,o,i=``){let a=Ua(e,Ol(),n,o);return Ra(2),a?t+Ot(n)+r+Ot(o)+i:dt}function E5(e,t,n,r,o,i,s,a=``){let l=Ib(e,Ol(),n,o,s);return Ra(3),l?t+Ot(n)+r+Ot(o)+i+Ot(s)+a:dt}function b5(e,t,n,r,o,i,s,a,c,l=``){let d=gu(e,Ol(),n,o,s,c);return Ra(4),d?t+Ot(n)+r+Ot(o)+i+Ot(s)+a+Ot(c)+l:dt}function Tx(e){return Jb(``,e),Tx}function Jb(e,t,n){let r=w(),o=Sx(r,e,t,n);return o!==dt&&fh(r,Gt(),o),Jb}function Dx(e,t,n,r,o){let i=w(),s=v5(i,e,t,n,r,o);return s!==dt&&fh(i,Gt(),s),Dx}function Cx(e,t,n,r,o,i,s){let a=w(),c=E5(a,e,t,n,r,o,i,s);return c!==dt&&fh(a,Gt(),c),Cx}function Ix(e,t,n,r,o,i,s,a,c){let l=w(),u=b5(l,e,t,n,r,o,i,s,a,c);return u!==dt&&fh(l,Gt(),u),Ix}function fh(e,t,n){let r=Ia(t,e);Y_(e[oe],r,n)}function _x(e,t,n){ep(t)&&(t=t());let r=w();if(Ft(r,hr(),t)){me();mb(_o(),r,e,t,r[oe],n)}return _x}function S5(e,t){let n=ep(e);return n&&e.set(t),n}function wx(e,t){let n=w(),r=me(),o=Re();return ox(r,n,n[oe],o,e,t),wx}var Ax={};function xx(e){Ut(`NgLet`);let t=me(),n=w(),r=e+le;return Gr(As(t,r,128,null,null),!1),Nl(t,n,r,Ax),xx}function T5(e){return Nl(me(),w(),Gt(),e),e}function D5(e){let n=wa(Dv(),le+e);if(n===Ax)throw new I(314,!1);return n}function C5(e){return Ft(w(),hr(),e)?Ot(e):dt}function I5(e,t,n=``){return Sx(w(),e,t,n)}function s_(e,t,n){let r=me();r.firstCreatePass&&Rx(t,r.data,r.blueprint,pr(e),n)}function Rx(e,t,n,r,o){if(e=gt(e),Array.isArray(e))for(let i=0;i<e.length;i++)Rx(e[i],t,n,r,o);else{let i=me(),s=w(),a=Re(),c=ss(e)?e:gt(e.provide),l=av(e),u=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(ss(e)||!e.multi){let p=new bs(l,o,fe,null),g=qv(c,t,o?u:u+f,d);g===-1?(Xv(Ep(a,s),i,c),Wv(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[g]=p,s[g]=p)}else{let p=qv(c,t,u+f,d),g=qv(c,t,u,u+f),y=p>=0&&n[p],E=g>=0&&n[g];if(o&&!E||!o&&!y){Xv(Ep(a,s),i,c);let b=A5(o?w5:_5,n.length,o,r,l,e);!o&&E&&(n[g].providerFactory=b),Wv(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(b),s.push(b)}else{let b=Nx(n[o?g:p],l,!o&&r);Wv(i,e,p>-1?p:g,b)}!o&&r&&E&&n[g].componentProviders++}}}function Wv(e,t,n,r){let o=ss(t),i=xI(t);if(o||i){let c=(i?gt(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Nx(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function qv(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function _5(e,t,n,r,o){return UE(this.multi,[])}function w5(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Kl(r,r[N],this.providerFactory.index,o);s=c.slice(0,a),UE(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],UE(i,s);return s}function UE(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function A5(e,t,n,r,o,i){let s=new bs(e,n,fe,null);return s.multi=[],s.index=t,s.componentProviders=0,Nx(s,o,r&&!n),s}function x5(e,t){return n=>{n.providersResolver=(r,o)=>s_(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>s_(r,o?o(t):t,!0))}}function R5(e,t){let n=Hn()+e,r=w();return r[n]===dt?ci(r,n,t()):Qp(r,n)}function N5(e,t,n){return Mx(w(),Hn(),e,t,n)}function M5(e,t,n,r){return Ox(w(),Hn(),e,t,n,r)}function O5(e,t,n,r,o){return Lx(w(),Hn(),e,t,n,r,o)}function L5(e,t,n,r,o,i,s){return U5(w(),Hn(),e,t,n,r,o,i)}function P5(e,t,n,r,o,i,s){let a=Hn()+e,c=w(),l=gu(c,a,n,r,o,i);return Ft(c,a+4,s)||l?ci(c,a+5,t(n,r,o,i,s)):Qp(c,a+5)}function k5(e,t,n,r,o,i,s,a){let c=Hn()+e,l=w(),u=gu(l,c,n,r,o,i);return Ua(l,c+4,s,a)||u?ci(l,c+6,t(n,r,o,i,s,a)):Qp(l,c+6)}function F5(e,t,n,r,o,i,s,a,c){let l=Hn()+e,u=w(),d=gu(u,l,n,r,o,i);return Ib(u,l+4,s,a,c)||d?ci(u,l+7,t(n,r,o,i,s,a,c)):Qp(u,l+7)}function ph(e,t){let n=e[t];return n===dt?void 0:n}function Mx(e,t,n,r,o,i){let s=t+n;return Ft(e,s,o)?ci(e,s+1,i?r.call(i,o):r(o)):ph(e,s+1)}function Ox(e,t,n,r,o,i,s){let a=t+n;return Ua(e,a,o,i)?ci(e,a+2,s?r.call(s,o,i):r(o,i)):ph(e,a+2)}function Lx(e,t,n,r,o,i,s,a){let c=t+n;
13return Ib(e,c,o,i,s)?ci(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):ph(e,c+3)}function U5(e,t,n,r,o,i,s,a,c){let l=t+n;return gu(e,l,o,i,s,a)?ci(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):ph(e,l+4)}function H5(e,t){let n=me(),r,o=e+le;n.firstCreatePass?(r=B5(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Ko(r.type,!0)),a=en(fe);try{let c=vp(!1),l=i();return vp(c),Nl(n,w(),o,l),l}finally{en(a)}}function B5(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function j5(e,t,n){let r=e+le,o=w(),i=wa(o,r);return eS(o,r)?Mx(o,Hn(),t,i.transform,n,i):i.transform(n)}function V5(e,t,n,r){let o=e+le,i=w(),s=wa(i,o);return eS(i,o)?Ox(i,Hn(),t,s.transform,n,r,s):s.transform(n,r)}function $5(e,t,n,r,o){let i=e+le,s=w(),a=wa(s,i);return eS(s,i)?Lx(s,Hn(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function eS(e,t){return e[N].data[t].pure}function G5(e,t){return Kp(e,t)}var Px=(()=>{class e{applicationErrorHandler=m(pn);appRef=m($n);taskService=m(mr);ngZone=m(ie);zonelessEnabled=m(Oa);tracing=m(Er,{optional:!0});zoneIsDefined=typeof Zone<`u`&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new We;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(vl):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(m(Qf,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:this.appRef.dirtyFlags|=2;break;case 3:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:this.appRef.dirtyFlags|=2;break;case 12:this.appRef.dirtyFlags|=16;break;case 13:this.appRef.dirtyFlags|=2;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?ZI:Nv;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(vl+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();function kx(){return[{provide:lr,useExisting:Px},{provide:ie,useClass:El},{provide:Oa,useValue:!0}]}var tS=(()=>{class e{compileModuleSync(n){return new xp(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();function z5(){return typeof $localize<`u`&&$localize.locale||bu}var mn=new A(``,{factory:()=>m(mn,{optional:!0,skipSelf:!0})||z5()});var Su=class{destroyed=!1;listeners=null;errorHandler=m(On,{optional:!0});isEmitting=!1;hasNullListeners=!1;destroyRef=m(Ct);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new I(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?this.listeners.indexOf(t):-1;n>-1&&(this.isEmitting?(this.hasNullListeners=!0,this.listeners[n]=null):this.listeners.splice(n,1))}}}emit(t){if(this.destroyed){console.warn(Ln(953,!1));return}if(this.listeners===null)return;this.isEmitting=!0;let n=F(null);try{for(let r of this.listeners)try{r!==null&&r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{this.hasNullListeners&&(this.hasNullListeners=!1,this.listeners&&W5(this.listeners)),F(n),this.isEmitting=!1}}};function W5(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--}function pue(e){return e.destroyRef}function Tu(e,t){return pl(e,t?.equal)}function Ce(e){return lI(e)}
13(class e extends Error{_brand;constructor(t){super(t)}static IDLE=new e(`IDLE`);static LOADING=new e(`LOADING`)});var q5=e=>e;function nS(e,t){if(typeof e==`function`)return Ux(Ly(e,q5,t?.equal),t?.debugName,t?.set);else return Ux(Ly(e.source,e.computation,e.equal),e.debugName,e.set)}function Ux(e,t,n){let r=e[Ve],o=e;if(n!==void 0){let i=s=>Py(r,s);o.set=s=>n(s,i),o.update=s=>n(s(Ce(e)),i)}else o.set=i=>Py(r,i),o.update=i=>cI(r,i);return o.asReadonly=kl.bind(e),o}var Hx=!1;function Y5(){return Hx}function K5(e){Hx=e}function Xx(e,t){let n=Object.create(HE);n.value=e,n.transformFn=t?.transform;function r(){if(yo(n),n.value===ja)throw new I(-950,null);return n.value}return r[Ve]=n,r}var mh=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>au(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function pS(e){return n3(e)?e.default:e}function n3(e){return e&&typeof e==`object`&&`default`in e}function Jhe(e){return new Su}function Bx(e,t){return Xx(e,t)}function r3(e){return Xx(ja,e)}var yh=(Bx.required=r3,Bx);function Zx(e,t){let n=Object.create(HE),r=new Su;n.value=e;function o(){return yo(n),jx(n.value),n.value}return o[Ve]=n,o.asReadonly=kl.bind(o),o.set=i=>{n.equal(n.value,i)||(bo(n,i),r.emit(i))},o.update=i=>{jx(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function jx(e){if(e===ja)throw new I(952,!1)}function Vx(e,t){return Zx(e,t)}function o3(e){return Zx(ja,e)}var eme=(Vx.required=o3,Vx);function $x(e,t){return Mb(t)}function i3(e,t){return Ob(t)}var tme=($x.required=i3,$x);function nme(e,t){return Lb(t)}function Gx(e,t){return Mb(t)}function s3(e,t){return Ob(t)}var rme=(Gx.required=s3,Gx);function ome(e,t){return Lb(t)}var Qx=(()=>{class e{constructor(n){}static ɵfac=function(r){return new(r||e)(L($n))};static ɵmod=Vn({type:e});static ɵinj=Dn({})}return e})();var oS=class{supports(t){return Cb(t)}create(t){return new iS(t)}};var c3=(e,t)=>t;var iS=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||c3}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<zx(r,o,i)?n:r,a=zx(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let f=0;f<l;f++){let p=f<i.length?i[f]:i[f]=0,g=p+f;u<=g&&g<l&&(i[f]=p+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t??=[],!Cb(t))throw new I(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,rA(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.
vendor: 10,074 bytes, line 13
13item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new sS(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new gh),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new gh),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}};var sS=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}};var aS=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}};var gh=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new aS,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function zx(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var cS=class{supports(t){return t instanceof Map||Zp(t)}create(){return new lS}};var lS=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Zp(t)))throw new I(900,!1);return this.check(t)?this:null}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new uS(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}};var uS=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Wx(){return new hS([new oS])}var hS=(()=>{class e{factories;static ɵprov=T({token:e,providedIn:`root`,factory:Wx});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=m(e,{optional:!0,skipSelf:!0});return e.create(n,r||Wx())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new I(901,!1)}}return e})();function qx(){return new vh([new cS])}var vh=(()=>{class e{static ɵprov=T({token:e,providedIn:`root`,factory:qx});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=m(e,{optional:!0,skipSelf:!0});return e.create(n,r||qx())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new I(901,!1)}}return e})();var Os=(()=>{class e{static __NG_ELEMENT_ID__=l3}return e})();function l3(e){return u3(Re(),w(),(e&16)===16)}function u3(e,t,n){if(Io(e)&&!n){let r=Un(e.index,t);return new si(r,r)}else if(e.type&175){let r=t[Lt];return new si(r,t)}return null}var d3=(()=>{class e{zone=m(ie);changeDetectionScheduler=m(lr);applicationRef=m($n);applicationErrorHandler=m(pn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();var f3=new A(``,{factory:()=>!1});function p3({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new ie(x(w$1({},Jx()),{scheduleInRootZone:t})),[{provide:Oa,useValue:!1},{provide:ie,useFactory:e},{provide:Qo,multi:!0,useFactory:()=>{let n=m(d3,{optional:!0});return()=>n.initialize()}},{provide:Qo,multi:!0,useFactory:()=>{let n=m(h3);return()=>{n.initialize()}}},{provide:Qf,useValue:t??Rv}]}function sme(e){let t=e?.scheduleInRootZone,n=p3({ngZoneFactory:()=>{let r=Jx(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&Ut(`NgZone_CoalesceEvent`),new ie(r)},scheduleInRootZone:t});return jr([{provide:f3,useValue:!0},n])}function Jx(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var h3=(()=>{class e{subscription=new We;initialized=!1;zone=m(ie);pendingTasks=m(mr);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ie.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}
13))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ie.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();var dS=new A(``);var m3=new A(``);function Du(e){return!e.moduleRef}function g3(e){let t=Du(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ie);return n.run(()=>{Du(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(pn),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Du(e)){let i=()=>t.destroy(),s=e.platformInjector.get(dS);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(dS);s.add(i),e.moduleRef.onDestroy(()=>{zl(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return v3(r,n,()=>{let i=t.get(mr),s=i.add(),a=t.get(kb);return a.runInitializers(),a.donePromise.then(()=>{if(zA(t.get(mn,bu)||bu),!t.get(m3,!0))return Du(e)?t.get($n):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Du(e)){let u=t.get($n);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return y3?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var y3;function v3(e,t,n){try{let r=n();return Rs(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var hh=null;function E3(e=[],t){return Dt.create({name:t,providers:[{provide:Al,useValue:`platform`},{provide:dS,useValue:new Set([()=>hh=null])},...e]})}function b3(e=[]){if(hh)return hh;let t=E3(e);return hh=t,MA(),S3(t),t}function S3(e){let t=e.get(Zf,null);ut(e,()=>{t?.forEach(n=>n())})}function eR(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;Ee(de.BootstrapApplicationStart);try{let i=o?.injector??b3(r);return g3({r3Injector:new tu({providers:[kx(),JI,...n||[]],parent:i,debugName:``,runEnvironmentInitializers:!1}).injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{Ee(de.BootstrapApplicationEnd)}}function Cu(e){return typeof e==`boolean`?e:e!=null&&e!==`false`}function T3(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var rS=Symbol(`NOT_SET`);var tR=new Set;var D3=x(w$1({},ma),{kind:`afterRenderEffectPhase`,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:rS,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==rS&&!rs(this))return this.signal;try{for(let o of this.cleanup??tR)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Ur(this),r;try{r=this.userFn.apply(null,t)}finally{vo(this,n)}return(this.value===rS||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}});var fS=class extends Ql{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(Ct),s),this.scheduler=o;for(let a of ab){let c=n[a];if(c===void 0)continue;let l=Object.create(D3);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(yo(l),l.value),l.signal[Ve]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??tR)n()}finally{Eo(t)}}};function ame(e,t){let n=t?.injector??m(Dt),r=n.get(lr),o=n.get(Vp),i=n.get(Er,null,{optional:!0});o.impl??=n.get(cb);let s=e;typeof s==`function`&&(s={mixedReadWrite:e});let a=n.get(Ma,null,{optional:!0}),c=new fS(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function cme(e,t){let n=Br(e),r=t.elementInjector||ba();return new Cs(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function mS(e){let t=Br(e);if(!t)return null;let n=new Cs(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var nR=null;function br(){return nR}function gS(e){nR??=e}var Iu=class{};var No=(()=>{class e{historyGo(n){throw new Error(``)}static ɵfac=function(r){return new(r||e)};static ɵprov=T({token:e,factory:()=>m(rR),providedIn:`platform`})}return e})();var yS=new A(``);var rR=(()=>{class e extends No{_location;_history;_doc=m(Ne);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return br().getBaseHref(this._doc)}onPopState(n){let r=br().getGlobalEventTarget(this._doc,`window`);return r.addEventListener(`popstate`,n,!1),()=>r.removeEventListener(`popstate`,n)}onHashChange(n){let r=br().getGlobalEventTarget(this._doc,`window`);return r.addEventListener(`hashchange`,n,!1),()=>r.removeEventListener(`hashchange`,n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static ɵfac=function(r){return new(r||e)};static ɵprov=T({token:e,factory:()=>new e,providedIn:`platform`})}return e})();function Eh(e,t){return e?t?e.endsWith(`/`)?t.startsWith(`/`)?e+t.slice(1):e+t:t.startsWith(`/`)?e+t:`${e}/${t}`:e:t}function oR(e){let t=e.search(/#|\?|$/);return e[t-1]===`/`?e.slice(0,t-1)+e.slice(t):e}function Sr(e){return e&&e[0]!==`?`?`?${e}`:e}var Tr=(()=>{class e{historyGo(n){throw new Error(``)}static ɵfac=function(r){return new(r||e)};static ɵprov=T({token:e,factory:()=>m(Sh),providedIn:`root`})}return e})();var bh=new A(``);var Sh=(()=>{class e extends Tr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??m(Ne).location?.origin??``}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.on
vendor: 4,914 bytes, line 13
13HashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Eh(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Sr(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Sr(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Sr(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static ɵfac=function(r){return new(r||e)(L(No),L(bh,8))};static ɵprov=T({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var di=(()=>{class e{_subject=new K;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=_3(oR(iR(r))),this._locationStrategy.onPopState(o=>{let i={url:this.path(!0),pop:!0,state:o.state,type:o.type};o.hasUAVisualTransition&&(i.hasUAVisualTransition=!0),this._subject.next(i)})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=``){return this.path()==this.normalize(n+Sr(r))}normalize(n){return e.stripTrailingSlash(I3(this._basePath,iR(n)))}prepareExternalUrl(n){return n&&n[0]!==`/`&&(n=`/`+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r=``,o=null){this._locationStrategy.pushState(o,``,n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Sr(r)),o)}replaceState(n,r=``,o=null){this._locationStrategy.replaceState(o,``,n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Sr(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n=``,r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Sr;static joinWithSlash=Eh;static stripTrailingSlash=oR;static ɵfac=function(r){return new(r||e)(L(Tr))};static ɵprov=T({token:e,factory:()=>C3(),providedIn:`root`})}return e})();function C3(){return new di(L(Tr))}function I3(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===``||[`/`,`;`,`?`,`#`].includes(n[0])?n:t}function iR(e){return e.replace(/\/index\.html$/,``)}function _3(e){if(new RegExp(`^(https?:)?//`).test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var _S=(()=>{class e extends Tr{_platformLocation;_baseHref=``;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??`#`;return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Eh(this._baseHref,n);return r.length>0?`#`+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Sr(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Sr(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static ɵfac=function(r){return new(r||e)(L(No),L(bh,8))};static ɵprov=T({token:e,factory:e.ɵfac})}return e})();var wS=(function(e){return e[e.Decimal=0]=`Decimal`,e[e.Percent=1]=`Percent`,e[e.Currency=2]=`Currency`,e[e.Scientific=3]=`Scientific`,e})(wS||{});var Wt=(function(e){return e[e.Format=0]=`Format`,e[e.Standalone=1]=`Standalone`,e})(Wt||{});var Ie=(function(e){return e[e.Narrow=0]=`Narrow`,e[e.Abbreviated=1]=`Abbreviated`,e[e.Wide=2]=`Wide`,e[e.Short=3]=`Short`,e})(Ie||{});var gn=(function(e){return e[e.Short=0]=`Short`,e[e.Medium=1]=`Medium`,e[e.Long=2]=`Long`,e[e.Full=3]=`Full`,e})(gn||{});var nn={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function fR(e){return zt(e)[Pe.LocaleId]}
vendor: 6,347 bytes, line 13
13function pR(e,t,n){let r=zt(e);return Gn(Gn([r[Pe.DayPeriodsFormat],r[Pe.DayPeriodsStandalone]],t),n)}function hR(e,t,n){let r=zt(e);return Gn(Gn([r[Pe.DaysFormat],r[Pe.DaysStandalone]],t),n)}function mR(e,t,n){let r=zt(e);return Gn(Gn([r[Pe.MonthsFormat],r[Pe.MonthsStandalone]],t),n)}function gR(e,t){let r=zt(e)[Pe.Eras];return Gn(r,t)}function _u(e,t){return Gn(zt(e)[Pe.DateFormat],t)}function wu(e,t){return Gn(zt(e)[Pe.TimeFormat],t)}function Au(e,t){let r=zt(e)[Pe.DateTimeFormat];return Gn(r,t)}function Zr(e,t){let n=zt(e),r=n[Pe.NumberSymbols][t];if(typeof r>`u`){if(t===nn.CurrencyDecimal)return n[Pe.NumberSymbols][nn.Decimal];if(t===nn.CurrencyGroup)return n[Pe.NumberSymbols][nn.Group]}return r}function yR(e,t){return zt(e)[Pe.NumberFormats][t]}function vR(e){if(!e[Pe.ExtraData])throw new I(2303,!1)}function ER(e){let t=zt(e);return vR(t),(t[Pe.ExtraData][2]||[]).map(r=>typeof r==`string`?vS(r):[vS(r[0]),vS(r[1])])}function bR(e,t,n){let r=zt(e);vR(r);return Gn(Gn([r[Pe.ExtraData][0],r[Pe.ExtraData][1]],t)||[],n)||[]}function w3(e){return zt(e)[Pe.Directionality]}function Gn(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<`u`)return e[n];throw new I(2304,!1)}function vS(e){let[t,n]=e.split(`:`);return{hours:+t,minutes:+n}}var A3=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;var Th=Object.create(null);var x3=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var R3=256;function SR(e,t,n,r){let o=B3(e);N3(t),t=Mo(n,t)||t;let s=[],a;for(;t;)if(a=x3.exec(t),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;t=u}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=DR(r,c),o=H3(o,r));let l=``;return s.forEach(u=>{let d=F3(u);l+=d?d(o,n,c):u===`''`?`'`:u.replace(/(^'|'$)/g,``).replace(/''/g,`'`)}),l}function N3(e){if(e.length>R3)throw new I(2300,!1)}function wh(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Mo(e,t){let n=fR(e);if(Th[n]??=Object.create(null),Th[n][t])return Th[n][t];let r=``;switch(t){case`shortDate`:r=_u(e,gn.Short);break;case`mediumDate`:r=_u(e,gn.Medium);break;case`longDate`:r=_u(e,gn.Long);break;case`fullDate`:r=_u(e,gn.Full);break;case`shortTime`:r=wu(e,gn.Short);break;case`mediumTime`:r=wu(e,gn.Medium);break;case`longTime`:r=wu(e,gn.Long);break;case`fullTime`:r=wu(e,gn.Full);break;case`short`:let o=Mo(e,`shortTime`),i=Mo(e,`shortDate`);r=Dh(Au(e,gn.Short),[o,i]);break;case`medium`:let s=Mo(e,`mediumTime`),a=Mo(e,`mediumDate`);r=Dh(Au(e,gn.Medium),[s,a]);break;case`long`:let c=Mo(e,`longTime`),l=Mo(e,`longDate`);r=Dh(Au(e,gn.Long),[c,l]);break;case`full`:let u=Mo(e,`fullTime`),d=Mo(e,`fullDate`);r=Dh(Au(e,gn.Full),[u,d]);break}return r&&(Th[n][t]=r),r}function Dh(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return Object.hasOwn(t,r)?t[r]:n})),e}function Dr(e,t,n=`-`,r,o){let i=``;(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s=`0`+s;return r&&(s=s.slice(s.length-t)),i+s}function M3(e,t){return Dr(e,3).substring(0,t)}function ft(e,t,n=0,r=!1,o=!1){return function(i,s){let a=O3(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return M3(a,t);let c=Zr(s,nn.MinusSign);return Dr(a,t,c,r,o)}}function O3(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new I(2301,!1)}}function Me(e,t,n=Wt.Format,r=!1){return function(o,i){return L3(o,i,e,t,n,r)}}function L3(e,t,n,r,o,i){switch(n){case 2:return mR(t,o,r)[e.getMonth()];case 1:return hR(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let l=ER(t),u=bR(t,o,r),d=l.findIndex(f=>{if(Array.isArray(f)){let[p,g]=f,y=s>=p.hours&&a>=p.minutes,E=s<g.hours||s===g.hours&&a<g.minutes;if(p.hours<g.hours){if(y&&E)return!0}else if(y||E)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return pR(t,o,r)[s<12?0:1];case 3:return gR(t,r)[e.getFullYear()<=0?0:1];default:throw new I(2302,!1)}}function Ch(e){return function(t,n,r){let o=-1*r,i=Zr(n,nn.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?`+`:``)+Dr(s,2,i)+Dr(Math.abs(o%60),2,i);case 1:return`GMT`+(o>=0?`+`:``)+Dr(s,1,i);case 2:return`GMT`+(o>=0?`+`:``)+Dr(s,2,i)+`:`+Dr(Math.abs(o%60),2,i);case 3:return r===0?`Z`:(o>=0?`+`:``)+Dr(s,2,i)+`:`+Dr(Math.abs(o%60),2,i);default:throw new I(2310,!1)}}}var P3=0;var _h=4;function k3(e){let t=wh(e,P3,1).getDay();return wh(e,0,1+(t<=_h?_h:_h+7)-t)}function TR(e){let t=e.getDay(),n=t===0?-3:_h-t;return wh(e.getFullYear(),e.getMonth(),e.getDate()+n)}function ES(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=TR(n),s=k3(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Dr(o,e,Zr(r,nn.MinusSign))}}function Ih(e,t=!1){return function(n,r){return Dr(TR(n).getFullYear(),e,Zr(r,nn.MinusSign),t)}}var bS=Object.create(null);function F3(e){if(bS[e])return bS[e];let t;switch(e){case`G`:case`GG`:case`GGG`:t=Me(3,Ie.Abbreviated);break;case`GGGG`:t=Me(3,Ie.Wide);break;case`GGGGG`:t=Me(3,Ie.Narrow);break;case`y`:t=ft(0,1,0,!1,!0);break;case`yy`:t=ft(0,2,0,!0,!0);break;case`yyy`:t=ft(0,3,0,!1,!0);break;case`yyyy`:t=ft(0,4,0,!1,!0);break;case`Y`:t=Ih(1);break;case`YY`:t=Ih(2,!0);break;case`YYY`:t=Ih(3);break;case`YYYY`:t=Ih(4);break;case`M`:case`L`:t=ft(1,1,1);break;case`MM`:case`LL`:t=ft(1,2,1);break;case`MMM`:t=Me(2,Ie.Abbreviated);break;case`MMMM`:t=Me(2,Ie.Wide);break;case`MMMMM`:t=Me(2,Ie.Narrow);break;case`LLL`:t=Me(2,Ie.Abbreviated,Wt.Standalone);break;case`LLLL`:t=Me(2,Ie.Wide,Wt.Standalone);break;case`LLLLL`:t=Me(2,Ie.Narrow,Wt.Standalone);break;case`w`:t=ES(1);break;case`ww`:t=ES(2);break;case`W`:t=ES(1,!0);break;case`d`:t=ft(2,1);break;case`dd`:t=ft(2,2);break;case`c`:case`cc`:t=ft(7,1);break;case`ccc`:t=Me(1,Ie.Abbreviated,Wt.Standalone);break;case`cccc`:t=Me(1,Ie.Wide,Wt.Standalone);break;case`ccccc`:t=Me(1,Ie.Narrow,Wt.Standalone);break;case`cccccc`:t=Me(1,Ie.Short,Wt.Standalone);break;
vendor: 8,226 bytes, line 13
13case`E`:case`EE`:case`EEE`:t=Me(1,Ie.Abbreviated);break;case`EEEE`:t=Me(1,Ie.Wide);break;case`EEEEE`:t=Me(1,Ie.Narrow);break;case`EEEEEE`:t=Me(1,Ie.Short);break;case`a`:case`aa`:case`aaa`:t=Me(0,Ie.Abbreviated);break;case`aaaa`:t=Me(0,Ie.Wide);break;case`aaaaa`:t=Me(0,Ie.Narrow);break;case`b`:case`bb`:case`bbb`:t=Me(0,Ie.Abbreviated,Wt.Standalone,!0);break;case`bbbb`:t=Me(0,Ie.Wide,Wt.Standalone,!0);break;case`bbbbb`:t=Me(0,Ie.Narrow,Wt.Standalone,!0);break;case`B`:case`BB`:case`BBB`:t=Me(0,Ie.Abbreviated,Wt.Format,!0);break;case`BBBB`:t=Me(0,Ie.Wide,Wt.Format,!0);break;case`BBBBB`:t=Me(0,Ie.Narrow,Wt.Format,!0);break;case`h`:t=ft(3,1,-12);break;case`hh`:t=ft(3,2,-12);break;case`H`:t=ft(3,1);break;case`HH`:t=ft(3,2);break;case`m`:t=ft(4,1);break;case`mm`:t=ft(4,2);break;case`s`:t=ft(5,1);break;case`ss`:t=ft(5,2);break;case`S`:t=ft(6,1);break;case`SS`:t=ft(6,2);break;case`SSS`:t=ft(6,3);break;case`Z`:case`ZZ`:case`ZZZ`:t=Ch(0);break;case`ZZZZZ`:t=Ch(3);break;case`O`:case`OO`:case`OOO`:case`z`:case`zz`:case`zzz`:t=Ch(1);break;case`OOOO`:case`ZZZZ`:case`zzzz`:t=Ch(2);break;default:return null}return bS[e]=t,t}function DR(e,t){e=e.replace(/:/g,``);let n=Date.parse(`Jan 01, 1970 00:00:00 `+e)/6e4;return isNaN(n)?t:n}function U3(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function H3(e,t,n){let o=e.getTimezoneOffset();return U3(e,-1*(DR(t,o)-o))}function B3(e){if(sR(e))return e;if(typeof e==`number`&&!isNaN(e))return new Date(e);if(typeof e==`string`){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split(`-`).map(a=>+a);return wh(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(A3))return j3(r)}let t=new Date(e);if(!sR(t))throw new I(2311,!1);return t}function j3(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.floor(parseFloat(`0.`+(e[7]||0))*1e3);return i.call(t,s,a,c,l),t}function sR(e){return e instanceof Date&&!isNaN(e.valueOf())}var V3=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var aR=22;var Ah=`.`;var xu=`0`;var $3=`;`;var G3=`,`;var SS=`#`;function z3(e,t,n,r,o,i,s=!1){let a=``,c=!1;if(!isFinite(e))a=Zr(n,Number.isNaN(e)?nn.NaN:nn.Infinity);else{let l=Y3(e);s&&(l=q3(l));let u=t.minInt,d=t.minFrac,f=t.maxFrac;if(i){let C=i.match(V3);if(C===null)throw new I(2306,!1);let M=C[1],q=C[3],te=C[5];M!=null&&(u=TS(M)),q!=null&&(d=TS(q)),te!=null?f=TS(te):q!=null&&d>f&&(f=d);let R=100;if(u>R||d>R||f>R)throw new I(2306,!1)}K3(l,d,f);let p=l.digits,g=l.integerLen,y=l.exponent,E=[];for(c=p.every(C=>!C);g<u;g++)p.unshift(0);for(;g<0;g++)p.unshift(0);g>0?E=p.splice(g,p.length):(E=p,p=[0]);let b=[];for(p.length>=t.lgSize&&b.unshift(p.splice(-t.lgSize,p.length).join(``));p.length>t.gSize;)b.unshift(p.splice(-t.gSize,p.length).join(``));p.length&&b.unshift(p.join(``)),a=b.join(Zr(n,r)),E.length&&(a+=Zr(n,o)+E.join(``)),y&&(a+=Zr(n,nn.Exponential)+`+`+y)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function CR(e,t,n){return z3(e,W3(yR(t,wS.Decimal),Zr(t,nn.MinusSign)),t,nn.Group,nn.Decimal,n)}function W3(e,t=`-`){let n={minInt:1,minFrac:0,maxFrac:0,posPre:``,posSuf:``,negPre:``,negSuf:``,gSize:0,lgSize:0},r=e.split($3),o=r[0],i=r[1],s=o.indexOf(Ah)!==-1?o.split(Ah):[o.substring(0,o.lastIndexOf(xu)+1),o.substring(o.lastIndexOf(xu)+1)],a=s[0],c=s[1]||``;n.posPre=a.substring(0,a.indexOf(SS));for(let u=0;u<c.length;u++){let d=c.charAt(u);d===xu?n.minFrac=n.maxFrac=u+1:d===SS?n.maxFrac=u+1:n.posSuf+=d}let l=a.split(G3);if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,i){let u=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(SS);n.negPre=i.substring(0,d).replace(/'/g,``),n.negSuf=i.slice(d+u).replace(/'/g,``)}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function q3(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function Y3(e){let t=Math.abs(e)+``,n=0,r,o,i,s,a;for((o=t.indexOf(Ah))>-1&&(t=t.replace(Ah,``)),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===xu;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===xu;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>aR&&(r=r.splice(0,aR-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function K3(e,t,n){if(t>n)throw new I(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,l=t+e.integerLen,u=r.reduceRight(function(d,f,p,g){return f=f+d,g[p]=f<10?f:f-10,c&&(g[p]===0&&p>=l?g.pop():c=!1),f>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}function TS(e){let t=parseInt(e);if(isNaN(t))throw new I(2305,!1);return t}var DS=/\s+/;var cR=[];var X3=(()=>{class e{_ngEl;_renderer;initialClasses=cR;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(DS):cR}set ngClass(n){this.rawClass=typeof n==`string`?n.trim().split(DS):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(DS).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static ɵfac=function(r){return new(r||e)(fe(Bn),fe(Kr))};static ɵdir=hn({type:e,selectors:[[``,`ngClass`,``]],inputs:{klass:[0,`class`,`klass`],ngClass:`ngClass`}})}return e})();var xh=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}};var IR=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new xh(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),lR(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{lR(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static ɵfac=function(r){return new(r||e)(fe(Xr),fe(Yr),fe(hS))};static ɵdir=hn({type:e,selectors:[[``,`ngFor`,``,`ngForOf`,``]],inputs:{ngForOf:`ngForOf`,ngForTrackBy:`ngForTrackBy`,ngForTemplate:`ngForTemplate`}})}return e})();function lR(e,t){e.context.$implicit=t.item}var Z3=(()=>{class e{_viewContainer;_context=new Rh;_thenTemplateRef=null;_elseTemplateRef=null;
13_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){uR(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){uR(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static ɵfac=function(r){return new(r||e)(fe(Xr),fe(Yr))};static ɵdir=hn({type:e,selectors:[[``,`ngIf`,``]],inputs:{ngIf:`ngIf`,ngIfThen:`ngIfThen`,ngIfElse:`ngIfElse`}})}return e})();var Rh=class{$implicit=null;ngIf=null};function uR(e,t){if(e&&!e.createEmbeddedView)throw new I(2020,!1)}var Q3=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split(`.`),s=o.indexOf(`-`)===-1?void 0:vr.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static ɵfac=function(r){return new(r||e)(fe(Bn),fe(vh),fe(Kr))};static ɵdir=hn({type:e,selectors:[[``,`ngStyle`,``]],inputs:{ngStyle:`ngStyle`}})}return e})();var J3=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=m(Dt);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector===`outlet`?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static ɵfac=function(r){return new(r||e)(fe(Xr))};static ɵdir=hn({type:e,selectors:[[``,`ngTemplateOutlet`,``]],inputs:{ngTemplateOutletContext:`ngTemplateOutletContext`,ngTemplateOutlet:`ngTemplateOutlet`,ngTemplateOutletInjector:`ngTemplateOutletInjector`},features:[ai]})}return e})();function Ru(e,t){return new I(2100,!1)}var CS=class{createSubscription(t,n,r){return Ce(()=>t.subscribe({next:n,error:r}))}dispose(t){Ce(()=>t.unsubscribe())}};var IS=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}};var eG=new IS;var tG=new CS;var nG=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=m(pn);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(Rs(n))return eG;if(Jp(n))return tG;throw Ru(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static ɵfac=function(r){return new(r||e)(fe(Os,16))};static ɵpipe=li({name:`async`,type:e,pure:!1})}return e})();var rG=(()=>{class e{transform(n){return n==null?null:(oG(e,n),n.toUpperCase())}static ɵfac=function(r){return new(r||e)};static ɵpipe=li({name:`uppercase`,type:e,pure:!0})}return e})();function oG(e,t){if(typeof t!=`string`)throw Ru(e,t)}var iG=`mediumDate`;var _R=new A(``);var wR=new A(``);var AS=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}
13transform(n,r,o,i){if(n==null||n===``||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??iG,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return SR(n,s,i||this.locale,a)}catch(s){throw Ru(e,s.message)}}static ɵfac=function(r){return new(r||e)(fe(mn,16),fe(_R,24),fe(wR,24))};static ɵpipe=li({name:`date`,type:e,pure:!0})}return e})();function sG(e,t){return{key:e,value:t}}var aG=(()=>{class e{differs;constructor(n){this.differs=n}differ;keyValues=[];compareFn=dR;transform(n,r=dR){if(!n||!(n instanceof Map)&&typeof n!=`object`)return null;this.differ??=this.differs.find(n).create();let o=this.differ.diff(n),i=r!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(s=>{this.keyValues.push(sG(s.key,s.currentValue))})),(o||i)&&(r&&this.keyValues.sort(r),this.compareFn=r),this.keyValues}static ɵfac=function(r){return new(r||e)(fe(vh,16))};static ɵpipe=li({name:`keyvalue`,type:e,pure:!1})}return e})();function dR(e,t){let n=e.key,r=t.key;if(n===r)return 0;if(n==null)return 1;if(r==null)return-1;if(typeof n==`string`&&typeof r==`string`)return n<r?-1:1;if(typeof n==`number`&&typeof r==`number`)return n-r;if(typeof n==`boolean`&&typeof r==`boolean`)return n<r?-1:1;let o=String(n),i=String(r);return o==i?0:o<i?-1:1}var cG=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!lG(n))return null;o||=this._locale;try{return CR(uG(n),o,r)}catch(i){throw Ru(e,i.message)}}static ɵfac=function(r){return new(r||e)(fe(mn,16))};static ɵpipe=li({name:`number`,type:e,pure:!0})}return e})();function lG(e){return!(e==null||e===``||e!==e)}function uG(e){if(typeof e==`string`&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!=`number`)throw new I(2309,!1);return e}var dG=(()=>{class e{transform(n,r,o){if(n==null)return null;if(!(typeof n==`string`||Array.isArray(n)))throw Ru(e,n);return n.slice(r,o)}static ɵfac=function(r){return new(r||e)};static ɵpipe=li({name:`slice`,type:e,pure:!1})}return e})();var Nu=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=Vn({type:e});static ɵinj=Dn({})}return e})();function Mu(e,t){t=encodeURIComponent(t);for(let n of e.split(`;`)){let r=n.indexOf(`=`),[o,i]=r==-1?[n,``]:[n.slice(0,r),n.slice(r+1)];if(o.trim()!==t)continue;let s=i;try{s=decodeURIComponent(i)}catch(a){}return s.length>1&&s[0]===`"`&&s[s.length-1]===`"`&&(s=s.slice(1,-1)),s}return null}var fG=(()=>{class e{build(){return new XMLHttpRequest}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();var xS=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=L(fG),o},providedIn:`root`})}return e})();function Sge(e,t,n){return Kb(e,t,n)}var NS=`browser`;var pG=`server`;function Tge(e){return e===NS}function Dge(e){return e===pG}var Ou=(()=>{class e{static ɵprov=T({token:e,providedIn:`root`,factory:()=>new RS(m(Ne),window)})}return e})();var RS=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(x(w$1({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=hG(this.document,t);r&&(this.scrollToElement(r,n),r.focus({preventScroll:!0}))}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch(n){console.warn(Ln(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(x(w$1({},n),{left:o-s[0],top:i-s[1]}))}};function hG(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker==`function`&&e.body&&typeof e.body.attachShadow==`function`){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${CSS.escape(t)}"]`);if(s)return s}o=r.nextNode()}}return null}var Ht=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t==`string`?this.lazyInit=()=>{this.headers=new Map,t.split(`
14`).forEach(n=>{let r=n.indexOf(`:`);
vendor: 8,956 bytes, line 14
14if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<`u`&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:`a`})}set(t,n){return this.clone({name:t,value:n,op:`s`})}delete(t,n){return this.clone({name:t,value:n,op:`d`})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init();for(let[n,r]of t.headers.entries())this.headers.set(n,r),this.normalizedNames.set(n,t.normalizedNames.get(n))}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case`a`:case`s`:let r=t.value;if(typeof r==`string`&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=t.op===`a`?(this.headers.get(n)||[]).slice():[];o.push(...r),this.headers.set(n,o);break;case`d`:let i=t.value;if(i===void 0)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=Array.isArray(i)?i:[i],a=this.headers.get(n);if(!a)return;a=a.filter(c=>s.indexOf(c)===-1),a.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,a)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var OS=class{defaultValue;constructor(t){this.defaultValue=t}};var Mh=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};var Oh=class{encodeKey(t){return AR(t)}encodeValue(t){return AR(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function gG(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,``).split(`&`).forEach(o=>{let i=o.indexOf(`=`),[s,a]=i==-1?[t.decodeKey(o),``]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var yG=/%(\d[a-f0-9])/gi;var vG={40:`@`,"3A":`:`,24:`$`,"2C":`,`,"3B":`;`,"3D":`=`,"3F":`?`,"2F":`/`};function AR(e){return encodeURIComponent(e).replace(yG,(t,n)=>vG[n]??t)}function Nh(e){return`${e}`}var yn=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Oh,t.fromString){if(t.fromObject)throw new I(2805,!1);this.map=gG(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Nh):[Nh(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:`a`})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:`a`})}):n.push({param:r,value:o,op:`a`})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:`s`})}delete(t,n){return this.clone({param:t,value:n,op:`d`})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+`=`+this.encoder.encodeValue(r)).join(`&`)}).filter(t=>t!==``).join(`&`)}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[t,n]of this.cloneFrom.map.entries())this.map.set(t,n);this.updates.forEach(t=>{switch(t.op){case`a`:case`s`:let n=t.op===`a`?(this.map.get(t.param)||[]).slice():[];n.push(Nh(t.value)),this.map.set(t.param,n);break;case`d`:if(t.value!==void 0){let r=(this.map.get(t.param)||[]).slice(),o=r.indexOf(Nh(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null}}};function EG(e){switch(e){case`DELETE`:case`GET`:case`HEAD`:case`OPTIONS`:case`JSONP`:return!1;default:return!0}}function xR(e){return typeof ArrayBuffer<`u`&&e instanceof ArrayBuffer}function RR(e){return typeof Blob<`u`&&e instanceof Blob}function NR(e){return typeof FormData<`u`&&e instanceof FormData}function bG(e){return typeof URLSearchParams<`u`&&e instanceof URLSearchParams}var Lu=`Content-Type`;var Lh=`Accept`;var PR=`text/plain`;var kR=`application/json`;var FR=`${kR}, ${PR}, */*`;var Za=class e{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType=`json`;method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(EG(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.reportUploadProgress=!!i.reportUploadProgress,this.reportDownloadProgress=!!i.reportDownloadProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout==`number`){if(i.timeout<1||!Number.isInteger(i.timeout))throw new I(2822,``);this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Ht,this.context??=new Mh,!this.params)this.params=new yn,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n,c=``,l=n.indexOf(`#`);l!==-1&&(c=n.substring(l),a=n.substring(0,l));let u=a.indexOf(`?`),d=u===-1?`?`:u<a.length-1?`&`:``;this.urlWithParams=a+d+s+c}}}serializeBody(){return this.body===null?null:typeof this.body==`string`||xR(this.body)||RR(this.body)||NR(this.body)||bG(this.body)?this.body:this.body instanceof yn?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||NR(this.body)?null:RR(this.body)?this.body.type||null:xR(this.body)?null:typeof this.body==`string`?PR:this.body instanceof yn?`application/x-www-form-urlencoded;charset=UTF-8`:typeof this.body==`object`||typeof this.body==`number`||typeof this.body==`boolean`?kR:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,l=t.redirect||this.redirect,u=t.credentials||this.credentials,d=t.referrer??this.referrer,f=t.integrity||this.integrity,p=t.referrerPolicy||this.referrerPolicy,g=t.transferCache??this.transferCache,y=t.timeout??this.timeout,E=t.body!==void 0?t.body:this.body,b=t.withCredentials??this.withCredentials,C=t.reportProgress??this.reportProgress,M=t.reportUploadProgress??this.reportUploadProgress,q=t.reportDownloadProgress??this.reportDownloadProgress,te=t.headers||this.headers,R=t.params||this.params,ce=t.context??this.context;return t.setHeaders!==void 0&&(te=Object.keys(t.setHeaders).reduce((be,nt)=>be.set(nt,t.setHeaders[nt]),te)),t.setParams&&(R=Object.keys(t.setParams).reduce((be,nt)=>be.set(nt,t.setParams[nt]),R)),new e(n,r,E,{params:R,headers:te,context:ce,reportProgress:C,reportUploadProgress:M,reportDownloadProgress:q,responseType:o,withCredentials:b,transferCache:g,keepalive:i,cache:a,priority:s,timeout:y,mode:c,redirect:l,credentials:u,referrer:d,integrity:f,referrerPolicy:p})}};
14var zn=(function(e){return e[e.Sent=0]=`Sent`,e[e.UploadProgress=1]=`UploadProgress`,e[e.ResponseHeader=2]=`ResponseHeader`,e[e.DownloadProgress=3]=`DownloadProgress`,e[e.Response=4]=`Response`,e[e.User=5]=`User`,e})(zn||{});var Qa=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r=`OK`){this.headers=t.headers||new Ht,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}};var Pu=class e extends Qa{constructor(t={}){super(t)}type=zn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}};var Ja=class e extends Qa{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=zn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}};var Qr=class extends Qa{name=`HttpErrorResponse`;message;error;ok=!1;constructor(t){super(t,0,`Unknown Error`),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||`(unknown url)`}`:this.message=`Http failure response for ${t.url||`(unknown url)`}: ${t.status} ${t.statusText}`,this.error=t.error||null}};var UR=200;var SG=204;var TG=/^\)\]\}',?\n/;var HR=new A(``,{factory:()=>null});var Ph=(()=>{class e{fetchImpl=m(LS,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=m(ie);destroyRef=m(Ct);maxResponseSize=m(HR);handle(n){return new W(r=>{let o=new AbortController,i=!1,s={next:c=>{c.type===zn.Response&&(i=!0),r.next(c)},error:c=>{i=!0,r.error(c)},complete:()=>{i=!0,r.complete()}};this.doRequest(n,o.signal,s).then(PS,c=>s.error(new Qr({error:c})));let a;return n.timeout&&(a=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException(`signal timed out`,`TimeoutError`))},n.timeout))),()=>{a!==void 0&&clearTimeout(a),!i&&!o.signal.aborted&&o.abort()}})}
14doRequest(n,r,o){return F$1(this,null,function*(){let i=this.createRequestInit(n),s;try{let E=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,w$1({signal:r},i)));DG(E),o.next({type:zn.Sent}),s=yield E}catch(E){o.error(new Qr({error:E,status:E.status??0,statusText:E.statusText,url:n.urlWithParams,headers:E.headers}));return}let a=new Ht(s.headers),c=s.statusText,l=s.url||n.urlWithParams,u=s.status,d=null,f=n.reportProgress||n.reportDownloadProgress;if(f&&o.next(new Pu({headers:a,status:u,statusText:c,url:l})),s.body){let E=s.headers.get(Lu)??``,b=s.headers.get(`content-length`),C=b!==null?Number(b):NaN;this.maxResponseSize!==null&&Number.isFinite(C)&&C>this.maxResponseSize&&(yield s.body.cancel(),MR(this.maxResponseSize));let M=[],q=s.body.getReader(),te=0,R,ce,be=typeof Zone<`u`&&Zone.current,nt=!1;if(yield this.ngZone.runOutsideAngular(()=>F$1(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield q.cancel(),nt=!0;break}let{done:an,value:Ar}=yield q.read();if(an)break;if(M.push(Ar),te+=Ar.length,this.maxResponseSize!==null&&te>this.maxResponseSize&&(yield q.cancel(),MR(this.maxResponseSize)),f){ce=n.responseType===`text`?(ce??``)+(R??=OR(E)).decode(Ar,{stream:!0}):void 0;let Gi=()=>o.next({type:zn.DownloadProgress,total:Number.isFinite(C)?C:void 0,loaded:te,partialText:ce});be?be.run(Gi):Gi()}}})),nt){o.complete();return}let mt=this.concatChunks(M,te);try{d=this.parseBody(n,mt,E,u)}catch(an){o.error(new Qr({error:an,headers:new Ht(s.headers),status:s.status,statusText:s.statusText,url:s.url||n.urlWithParams}));return}}u===0&&(u=d?UR:0);let p=u>=200&&u<300,g=s.redirected,y=s.type;p?(o.next(new Ja({body:d,headers:a,status:u,statusText:c,url:l,redirected:g,responseType:y})),o.complete()):o.error(new Qr({error:d,headers:a,status:u,statusText:c,url:l,redirected:g,responseType:y}))})}parseBody(n,r,o,i){switch(n.responseType){case`json`:let s=new TextDecoder().decode(r).replace(TG,``);if(s===``)return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case`text`:return OR(o).decode(r);case`blob`:return new Blob([r],{type:o});case`arraybuffer`:return r.buffer}}createRequestInit(n){if(n.reportUploadProgress)throw new I(2824,!1);let r={},o;if(o=n.credentials,n.withCredentials&&(o=`include`),n.headers.forEach((i,s)=>r[i]=s.join(`,`)),n.headers.has(Lh)||(r[Lh]=FR),!n.headers.has(Lu)){let i=n.detectContentTypeHeader();i!==null&&(r[Lu]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o,keepalive:n.keepalive,cache:n.cache,priority:n.priority,mode:n.mode,redirect:n.redirect,referrer:n.referrer,integrity:n.integrity,referrerPolicy:n.referrerPolicy}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();var LS=class{};function PS(){}function DG(e){e.then(PS,PS)}function MR(e){throw new I(-2825,!1)}var CG=/charset=\s*["']?([^;"'\s]+)["']?/i;function OR(e){let t=e.match(CG);if(t!==null)try{return new TextDecoder(t[1])}catch(n){}return new TextDecoder}var IG=new A(``,{factory:()=>!0});var _G=`XSRF-TOKEN`;var wG=new A(``,{factory:()=>_G});var AG=`X-XSRF-TOKEN`;var xG=new A(``,{factory:()=>AG});var RG=(()=>{class e{cookieName=m(wG);doc=m(Ne);lastCookieString=``;lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||``;return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Mu(n,this.cookieName),this.lastCookieString=n),this.lastToken}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();var BR=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=L(RG),o},providedIn:`root`})}return e})();function jR(e,t){if(!m(IG)||e.method===`GET`||e.method===`HEAD`)return t(e);try{let o=m(No).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch(o){return t(e)}let n=m(BR).getToken(),r=m(xG);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function VR(e,t){return t(e)}function NG(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}function MG(e,t,n){return(r,o)=>ut(n,()=>t(r,i=>e(i,o)))}var $R=new A(``);var Fh=new A(``,{factory:()=>[jR]});var GR=new A(``);var FS=new A(``,{factory:()=>!0});function OG(){let e=null;return(t,n)=>{e===null&&(e=(m($R,{optional:!0})??[]).reduceRight(NG,VR));let r=m(ms);if(m(FS)){let i=r.add();return e(t,n).pipe(Qi(i))}else return e(t,n)}}var Uh=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=L(Ph),o},providedIn:`root`})}return e})();var kh=(()=>{class e{backend;injector;chain=null;pendingTasks=m(ms);contributeToStability=m(FS);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let o=this.injector.get(Hh,null,{skipSelf:!0}),i=o!==null&&this.backend===o,s=this.injector.get(GR,[],i?{self:!0}:void 0),a=Array.from(new Set([...this.injector.get(Fh),...s]));this.chain=a.reduceRight((c,l)=>MG(c,l,this.injector),VR)}let r=this.chain;if(this.contributeToStability){let o=this.pendingTasks.add();return Ce(()=>r(n,i=>this.backend.handle(i))).pipe(Qi(o))}else return Ce(()=>r(n,o=>this.backend.handle(o)))}static ɵfac=function(r){return new(r||e)(L(Uh),L(Le))};static ɵprov=T({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var Hh=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=L(kh),o},providedIn:`root`})}return e})();function MS(e,t){return w$1({body:t},e)}var Wn=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Za)i=n;else{let c;o.headers instanceof Ht?c=o.headers:c=new Ht(o.headers);let l;o.params&&(o.params instanceof yn?l=o.params:l=new yn({fromObject:o.params})),i=new Za(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,reportUploadProgress:o.reportUploadProgress,reportDownloadProgress:o.reportDownloadProgress,responseType:o.responseType||`json`,withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=O(i).pipe(cr(c=>this.handler.handle(c)));if(n instanceof Za||o.observe===`events`)return s;let a=s.pipe(xe(c=>c instanceof Ja));switch(o.observe||`body`){case`body`:switch(i.responseType){case`arraybuffer`:return a.pipe($(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new I(2806,!1);return c.body}));case`blob`:return a.pipe($(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new I(2807,!1);return c.body}));case`text`:return a.pipe($(c=>{if(c.body!==null&&typeof c.body!=`string`)throw new I(2808,!1);return c.body}));default:return a.pipe($(c=>c.body))}case`response`:return a;default:throw new I(2809,!1)}}delete(n,r={}){return this.request(`DELETE`,n,r)}get(n,r={}){return this.request(`GET`,n,r)}head(n,r={}){return this.request(`HEAD`,n,r)}jsonp(n,r){return this.request(`JSONP`,n,{params:new yn().append(r,`JSONP_CALLBACK`),observe:`body`,responseType:`json`})}options(n,r={}){return this.request(`OPTIONS`,n,r)}patch(n,r,o={}){return this.request(`PATCH`,n,MS(o,r))}post(n,r,o={}){return this.request(`POST`,n,MS(o,r))}put(n,r,o={}){return this.request(`PUT`,n,MS(o,r))}static ɵfac=function(r){return new(r||e)(L(Hh))};static ɵprov=T({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var LG=/^\)\]\}',?\n/;var kS=(()=>{class e{xhrFactory;tracingService=m(Er,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method===`JSONP`)throw new I(-2800,!1);let r=this.xhrFactory;return O(null).pipe(je(()=>new W(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEac
14h((C,M)=>s.setRequestHeader(C,M.join(`,`))),n.headers.has(Lh)||s.setRequestHeader(Lh,FR),!n.headers.has(Lu)){let C=n.detectContentTypeHeader();C!==null&&s.setRequestHeader(Lu,C)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let C=n.responseType.toLowerCase();s.responseType=C!==`json`?C:`text`}let a=n.serializeBody(),c=null,l=()=>{if(c!==null)return c;let C=s.statusText||`OK`,M=new Ht(s.getAllResponseHeaders()),q=s.responseURL||n.url;return c=new Pu({headers:M,status:s.status,statusText:C,url:q}),c},u=this.maybePropagateTrace(()=>{let{headers:C,status:M,statusText:q,url:te}=l(),R=null;M!==SG&&(R=typeof s.response>`u`?s.responseText:s.response),M===0&&(M=R?UR:0);let ce=M>=200&&M<300;if(n.responseType===`json`&&typeof R==`string`){let be=R;R=R.replace(LG,``);try{R=R!==``?JSON.parse(R):null}catch(nt){R=be,ce&&(ce=!1,R={error:nt,text:R})}}ce?(i.next(new Ja({body:R,headers:C,status:M,statusText:q,url:te||void 0})),i.complete()):i.error(new Qr({error:R,headers:C,status:M,statusText:q,url:te||void 0}))}),d=this.maybePropagateTrace(C=>{let{url:M}=l(),q=new Qr({error:C,status:s.status||0,statusText:s.statusText||`Unknown Error`,url:M||void 0});i.error(q)}),f=d;n.timeout&&(f=this.maybePropagateTrace(C=>{let{url:M}=l(),q=new Qr({error:new DOMException(`Request timed out`,`TimeoutError`),status:s.status||0,statusText:s.statusText||`Request timeout`,url:M||void 0});i.error(q)}));let p=!1,g=this.maybePropagateTrace(C=>{p||(i.next(l()),p=!0);let M={type:zn.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(M.total=C.total),n.responseType===`text`&&s.responseText&&(M.partialText=s.responseText),i.next(M)}),y=this.maybePropagateTrace(C=>{let M={type:zn.UploadProgress,loaded:C.loaded};C.lengthComputable&&(M.total=C.total),i.next(M)});s.addEventListener(`load`,u),s.addEventListener(`error`,d),s.addEventListener(`timeout`,f),s.addEventListener(`abort`,d);let E=n.reportProgress||n.reportUploadProgress,b=n.reportProgress||n.reportDownloadProgress;return b&&s.addEventListener(`progress`,g),E&&a!==null&&s.upload&&s.upload.addEventListener(`progress`,y),s.send(a),i.next({type:zn.Sent}),()=>{s.removeEventListener(`error`,d),s.removeEventListener(`abort`,d),s.removeEventListener(`load`,u),s.removeEventListener(`timeout`,f),b&&s.removeEventListener(`progress`,g),E&&a!==null&&s.upload&&s.upload.removeEventListener(`progress`,y),s.readyState!==s.DONE&&s.abort()}})))}static ɵfac=function(r){return new(r||e)(L(xS))};static ɵprov=T({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var ku=(function(e){return e[e.Interceptors=0]=`Interceptors`,e[e.LegacyInterceptors=1]=`LegacyInterceptors`,e[e.CustomXsrfConfiguration=2]=`CustomXsrfConfiguration`,e[e.NoXsrfProtection=3]=`NoXsrfProtection`,e[e.JsonpSupport=4]=`JsonpSupport`,e[e.RequestsMadeViaParent=5]=`RequestsMadeViaParent`,e[e.Fetch=6]=`Fetch`,e[e.Xhr=7]=`Xhr`,e})(ku||{});function US(e,t){return{ɵkind:e,ɵproviders:t}}function zR(...e){let t=[Wn,Ph,kh,{provide:Hh,useExisting:kh},{provide:Uh,useFactory:()=>m(Ph)},{provide:Fh,useValue:jR,multi:!0}];for(let n of e)t.push(...n.ɵproviders);return jr(t)}function PG(e){return US(ku.Interceptors,e.map(t=>({provide:Fh,useValue:t,multi:!0})))}var LR=new A(``);function WR(){return US(ku.LegacyInterceptors,[{provide:LR,useFactory:OG},{provide:Fh,useExisting:LR,multi:!0}])}function qR(){return US(ku.Xhr,[kS,{provide:Uh,useExisting:kS}])}var kG=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=Vn({type:e});static ɵinj=Dn({providers:[zR(WR(),qR())]})}return e})();var Fu=class{_doc;constructor(t){this._doc=t}manager};var Bh=(()=>{class e extends Fu{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static ɵfac=function(r){return new(r||e)(L(Ne))};static ɵprov=T({token:e,factory:e.ɵfac})}return e})();var $h=new A(``);var VS=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof Bh));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof Bh);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new I(-5101,!1);return this._eventNameToPlugin.set(n,r),r}static ɵfac=function(r){return new(r||e)(L($h),L(ie))};static ɵprov=T({token:e,factory:e.ɵfac})}return e})();var HS=`ng-app-id`;function YR(e){for(let t of e)t.remove()}function KR(e,t){let n=t.createElement(`style`);return n.textContent=e,n}function FG(e,t,n,r){let o=e.head?.querySelectorAll(`style[${HS}="${t}"],link[${HS}="${t}"]`);if(!o||o.length===0)return!1;for(let i of o)i.removeAttribute(HS),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf(`/`)+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]});return!0}function jS(e,t){let n=t.createElement(`link`);return n.setAttribute(`rel`,`stylesheet`),n.setAttribute(`href`,e),n}var $S=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,FG(n,r,this.inline,this.external)&&this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,KR);r?.forEach(o=>this.addUsage(o,this.external,jS))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(YR(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])YR(n);this.hosts.clear()}addHost(n){if(!this.hosts.has(n)){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,KR(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,jS(r,this.doc)))}}removeHost(n){this.hosts.delete(n);for(let r of[...this.inline.values(),...this.external.values()]){let o=[];for(let i of r.elements)i.parentNode===n?i.remove():o.push(i);r.elements=o}}
14addElement(n,r){return this.nonce&&r.setAttribute(`nonce`,this.nonce),n.appendChild(r)}static ɵfac=function(r){return new(r||e)(L(Ne),L(Fl),L(Hl,8),L(Ul))};static ɵprov=T({token:e,factory:e.ɵfac})}return e})();var BS={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`};var GS=/%COMP%/g;var ZR=`%COMP%`;var UG=`_nghost-${ZR}`;var HG=`_ngcontent-${ZR}`;var BG=!0;var jG=new A(``,{factory:()=>BG});var VG=new A(``);function $G(e){return HG.replace(GS,e)}function GG(e){return UG.replace(GS,e)}function QR(e,t){return t.map(n=>n.replace(GS,e))}var zS=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(n,r,o,i,s,a,c=null,l=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.cssVarNamespace=u??``,this.defaultRenderer=new Uu(n,s,a,this.tracingService,this.cssVarNamespace)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);
14return o instanceof Vh?o.applyToHost(n):o instanceof Hu&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case yr.Emulated:i=new Vh(c,l,r,this.appId,u,s,a,d,this.cssVarNamespace);break;case yr.ShadowDom:return new jh(c,n,r,s,a,this.nonce,d,this.cssVarNamespace,l);case yr.ExperimentalIsolatedShadowDom:return new jh(c,n,r,s,a,this.nonce,d,this.cssVarNamespace);default:i=new Hu(c,l,r,u,s,a,d,this.cssVarNamespace);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static ɵfac=function(r){return new(r||e)(L(VS),L(xs),L(Fl),L(jG),L(Ne),L(ie),L(Hl),L(Er,8),L(VG,8))};static ɵprov=T({token:e,factory:e.ɵfac})}return e})();var Uu=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i=``){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o,this.cssVarNamespace=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(BS[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(XR(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){if(t){let o=XR(t)?t.content:t;if(r!=null&&r.parentNode!==o)throw new I(-5106,!1);o.insertBefore(n,r)}}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t==`string`?this.doc.querySelector(t):t;if(!r)throw new I(-5104,!1);return n||(r.textContent=``),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+`:`+n;let i=BS[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=BS[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){let i=n.startsWith(`--`);i&&(n=n.replace(`%NS%`,this.cssVarNamespace)),i||o&(vr.DashCase|vr.Important)?t.style.setProperty(n,r,o&vr.Important?`important`:``):t.style[n]=r}removeStyle(t,n,r){let o=n.startsWith(`--`);o&&(n=n.replace(`%NS%`,this.cssVarNamespace)),o||r&vr.DashCase?t.style.removeProperty(n):t.style[n]=``}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t==`string`&&(t=br().getGlobalEventTarget(this.doc,t),!t))throw new I(-5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n===`__ngUnwrap__`)return t;t(n)===!1&&n.preventDefault()}}};function XR(e){return e.tagName===`TEMPLATE`&&e.content!==void 0}var jh=class extends Uu{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c,l){super(t,o,i,a,c),this.hostEl=n,this.sharedStylesHost=l,this.shadowRoot=n.attachShadow({mode:`open`}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=QR(r.id,u).map(f=>f.replace(/%NS%/g,c));for(let f of u){let p=document.createElement(`style`);s&&p.setAttribute(`nonce`,s),p.textContent=f,this.shadowRoot.appendChild(p)}let d=r.getExternalStyles?.();if(d)for(let f of d){let p=jS(f,o);s&&p.setAttribute(`nonce`,s),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}};var Hu=class extends Uu{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles,d=l?QR(l,u):u;this.styles=d.map(f=>f.replace(/%NS%/g,c)),this.styleUrls=r.getExternalStyles?.(l)}
14applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&xo.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}};var Vh=class extends Hu{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,l){let u=o+`-`+r.id;super(t,n,r,i,s,a,c,l,u),this.contentAttr=$G(u),this.hostAttr=GG(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,``)}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,``),r}};var Gh=class e extends Iu{supportsDOMEvents=!0;static makeCurrent(){gS(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument(`fakeTitle`)}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n===`window`?window:n===`document`?t:n===`body`?t.body:null}getBaseHref(t){let n=zG();return n==null?null:WG(n)}resetBaseElement(){Bu=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Mu(document.cookie,t)}};var Bu=null;function zG(){return Bu=Bu||document.head.querySelector(`base`),Bu?Bu.getAttribute(`href`):null}function WG(e){return new URL(e,document.baseURI).pathname}var zh=class{addToWindow(t){it.getAngularTestability=(r,o=!0)=>{let i=t.findTestabilityInTree(r,o);if(i==null)throw new I(5103,!1);return i},it.getAllAngularTestabilities=()=>t.getAllTestabilities(),it.getAllAngularRootElements=()=>t.getAllRootElements();let n=r=>{let o=it.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};it.frameworkStabilizers||(it.frameworkStabilizers=[]),it.frameworkStabilizers.push(n)}findTestabilityInTree(t,n,r){if(n==null)return null;return t.getTestability(n)??(r?br().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}};var JR=[`alt`,`control`,`meta`,`shift`];var qG={"\b":`Backspace`,"	":`Tab`,"�":`Delete`,"\x1B":`Escape`,Del:`Delete`,Esc:`Escape`,Left:`ArrowLeft`,Right:`ArrowRight`,Up:`ArrowUp`,Down:`ArrowDown`,Menu:`ContextMenu`,Scroll:`ScrollLock`,Win:`OS`};var YG={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};var eN=(()=>{class e extends Fu{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>br().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split(`.`),o=r.shift();if(r.length===0||!(o===`keydown`||o===`keyup`))return null;let i=e._normalizeKey(r.pop()),s=``,a=r.indexOf(`code`);if(a>-1&&(r.splice(a,1),s=`code.`),JR.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+`.`)}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=qG[n.key]||n.key,i=``;return r.indexOf(`code.`)>-1&&(o=n.code,i=`code.`),o==null||!o?!1:(o=o.toLowerCase(),o===` `?o=`space`:o===`.`&&(o=`dot`),JR.forEach(s=>{if(s!==o){let a=YG[s];a(n)&&(i+=s+`.`)}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n===`esc`?`escape`:n}static ɵfac=function(r){return new(r||e)(L(Ne))};static ɵprov=T({token:e,factory:e.ɵfac})}return e})();function KG(e,t,n){return F$1(this,null,function*(){return eR(w$1({rootComponent:e},XG(t,n)))})}function XG(e,t){return{platformRef:t?.platformRef,appProviders:[...tN,...e?.providers??[]],platformProviders:ez}}function ZG(){Gh.makeCurrent()}function QG(){return new On}function JG(){return VE(document),document}var ez=[{provide:Ul,useValue:NS},{provide:Zf,useValue:ZG,multi:!0},{provide:Ne,useFactory:JG}];var tz=[{provide:Ka,useClass:zh},{provide:oh,useClass:vu,deps:[ie,Eu,Ka]},{provide:vu,useClass:vu,deps:[ie,Eu,Ka]}];var tN=[{provide:Al,useValue:`root`},{provide:On,useFactory:QG},{provide:$h,useClass:Bh,multi:!0},{provide:$h,useClass:eN,multi:!0},zS,{provide:xs,useClass:$S},{provide:$S,useExisting:xs},VS,{provide:Ds,useExisting:zS},[]];var nz=(()=>{class e{constructor(){}static ɵfac=function(r){return new(r||e)};static ɵmod=Vn({type:e});static ɵinj=Dn({providers:[...tN,...tz],imports:[Nu,Qx]})}return e})();var cN=(()=>{class e{_doc=m(Ne);_dom=br();_cachedHead;addTag(n,r=!1){return n?this._getOrCreateElement(n,r):null}addTags(n,r=!1){return n.filter(o=>!!o).map(o=>this._getOrCreateElement(o,r))}getTag(n){if(!n)return null;let r=this._doc.querySelector(nN(n));return sN(r)?r:null}getTags(n){if(!n)return[];let r=this._doc.querySelectorAll(nN(n));return r?Array.from(r).filter(o=>sN(o)):[]}updateTag(n,r){oN(n),r??=iN(n);let o=this.getTag(r);return o?(rN(n,o),o):this._getOrCreateElement(n,!0)}removeTag(n){this.removeTagElement(this.getTag(n))}removeTagElement(n){n&&this._dom.remove(n)}_getOrCreateElement(n,r=!1){if(oN(n),!r){let s=iN(n),a=this.getTags(s).filter(c=>oz(n,c))[0];if(a!==void 0)return a}let o=this._dom.createElement(`meta`);return rN(n,o),this._doc.getElementsByTagName(`head`)[0].appendChild(o),o}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();function nN(e){return`meta[${e}]`}function rN(e,t){Object.keys(e).forEach(n=>t.setAttribute(YS(n),e[n]))}function oN(e){for(let t of Object.keys(e))if(YS(t).toLowerCase().startsWith(`on`))throw new I(5203,!1)}function iN(e){let t=e.name?`name`:`property`;return`${t}=${rz(String(e[t]))}`}function rz(e){return`"${e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}"`}function oz(e,t){return Object.keys(e).every(n=>t.getAttribute(YS(n))===e[n])}function YS(e){return Object.hasOwn(aN,e)?aN[e]:e}function sN(e){return e?.nodeName.toLowerCase()===`meta`}var aN={httpEquiv:`http-equiv`};var Wh=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||``}static ɵfac=function(r){return new(r||e)(L(Ne))};static ɵprov=T({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();function iz(e,t){if(typeof COMPILED>`u`||!COMPILED){let n=it.ng=it.ng||{};n[e]=t}}var WS=class{msPerTick;numTicks;constructor(t,n){this.msPerTick=t,this.numTicks=n}};var qS=class{appRef;constructor(t){this.appRef=t.injector.get($n)}timeChangeDetection(t){let n=t&&t.record,r=`Change Detection`;n&&`profile`in console&&typeof console.profile==`function`&&console.profile(r);let o=performance.now(),i=0;for(;i<5||performance.now()-o<500;)this.appRef.tick(),i++;let s=performance.now();n&&`profileEnd`in console&&typeof console.profileEnd==`function`&&console.profileEnd(r);let a=(s-o)/i;return console.log(`ran ${i} change detection cycles`),console.log(`${a.toFixed(2)} ms per check`),new WS(a,i)}};var sz=`profiler`;function Hye(e){return iz(sz,new qS(e)),e}var az=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=T({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=L(cz),o},providedIn:`root`})}return e})();var cz=(()=>{class e extends az{_doc=m(Ne);sanitize(n,r){if(r==null)return null;switch(n){case ue.NONE:return r;case ue.HTML:return jn(r,`HTML`)?kt(r):Up(this._doc,String(r)).toString();case ue.STYLE:return jn(r,`Style`)?kt(r):r;case ue.SCRIPT:if(jn(r,`Script`))return kt(r);throw new I(5200,!1);case ue.URL:return jn(r,`URL`)?kt(r):$a(String(r));case ue.RESOURCE_URL:if(jn(r,`ResourceURL`))return kt(r);throw new I(-5201,!1);default:throw new I(5202,!1)}}bypassSecurityTrustHtml(n){return KE(n)}bypassSecurityTrustStyle(n){return XE(n)}bypassSecurityTrustScript(n){return ZE(n)}bypassSecurityTrustUrl(n){return QE(n)}bypassSecurityTrustResourceUrl(n){return JE(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();var Q=`primary`;var Qu=Symbol(`RouteTitle`);var JS=class{params;constructor(t){this.params=t||{}}has(t){return Object.hasOwn(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Ps(e){return new JS(e)}function KS(e,t,n){for(let r=0;r<e.length;r++){let o=e[r],i=t[r];
14if(o[0]===`:`)n[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function mN(e,t,n){let r=n.path.split(`/`),o=r.indexOf(`**`);if(o===-1){if(r.length>e.length||n.pathMatch===`full`&&(t.hasChildren()||r.length<e.length))return null;let c={},l=e.slice(0,r.length);return KS(r,l,c)?{consumed:l,posParams:c}:null}if(o!==r.lastIndexOf(`**`))return null;let i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>e.length||n.pathMatch===`full`&&t.hasChildren()&&n.path!==`**`)return null;let a={};return!KS(i,e.slice(0,i.length),a)||!KS(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function Qh(e){return new Promise((t,n)=>{e.pipe(Ke()).subscribe({next:r=>t(r),error:r=>n(r)})})}function uz(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Jr(e[n],t[n]))return!1;return!0}function Jr(e,t){let n=e?eT(e):void 0,r=t?eT(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!gN(e[o],t[o]))return!1;return!0}function eT(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function gN(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function dz(e){return e.length>0?e[e.length-1]:null}function Fs(e){return df(e)?e:Rs(e)?Te(Promise.resolve(e)):O(e)}function yN(e){return df(e)?Qh(e):Promise.resolve(e)}var fz={exact:EN,subset:bN};var vN={exact:pz,subset:hz,ignored:()=>!0};var mT={paths:`exact`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`exact`};var oc={paths:`subset`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`subset`};function gT(e,t,n){let r=e instanceof rn?e:t.parseUrl(e);return Tu(()=>tT(t.lastSuccessfulNavigation()?.finalUrl??new rn,r,w$1(w$1({},oc),n)))}function tT(e,t,n){return fz[n.paths](e.root,t.root,n.matrixParams)&&vN[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment===`exact`&&e.fragment!==t.fragment)}function pz(e,t){return Jr(e,t)}function EN(e,t,n){if(!Ls(e.segments,t.segments)||!Kh(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!EN(e.children[r],t.children[r],n))return!1;return!0}function hz(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>gN(e[n],t[n]))}function bN(e,t,n){return SN(e,t,t.segments,n)}function SN(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!Ls(o,n)||t.hasChildren()||!Kh(o,n,r))}else if(e.segments.length===n.length){if(!Ls(e.segments,n)||!Kh(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!bN(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!Ls(e.segments,o)||!Kh(e.segments,o,r)||!e.children[Q]?!1:SN(e.children[Q],t,i,r)}}function Kh(e,t,n){return t.every((r,o)=>vN[n](e[o].parameters,r.parameters))}var rn=class{root;queryParams;fragment;_queryParamMap;constructor(t=new Se([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Ps(this.queryParams),this._queryParamMap}toString(){return yz.serialize(this)}};var Se=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Xh(this)}};var fi=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=Ps(this.parameters),this._parameterMap}toString(){return DN(this)}};function mz(e,t){return Ls(e,t)&&e.every((n,r)=>Jr(n.parameters,t[r].parameters))}function Ls(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function gz(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===Q&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==Q&&(n=n.concat(t(o,r)))}),n}var yi=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:()=>new Lo})}return e})();var Lo=class{parse(t){let n=new rT(t);return new rn(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){return`${`/${ju(t.root,!0)}`}${bz(t.queryParams)}${typeof t.fragment==`string`?`#${vz(t.fragment)}`:``}`}};var yz=new Lo;function Xh(e){return e.segments.map(t=>DN(t)).join(`/`)}function ju(e,t){if(!e.hasChildren())return Xh(e);if(t){let n=e.children[Q]?ju(e.children[Q],!1):``,r=[];
14return Object.entries(e.children).forEach(([o,i])=>{o!==Q&&r.push(`${o}:${ju(i,!1)}`)}),r.length>0?`${n}(${r.join(`//`)})`:n}else{let n=gz(e,(r,o)=>o===Q?[ju(e.children[Q],!1)]:[`${o}:${ju(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[Q]!=null?`${Xh(e)}/${n[0]}`:`${Xh(e)}/(${n.join(`//`)})`}}function TN(e){return encodeURIComponent(e).replace(/%40/g,`@`).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`)}function qh(e){return TN(e).replace(/%3B/gi,`;`)}function vz(e){return encodeURI(e)}function nT(e){return TN(e).replace(/\(/g,`%28`).replace(/\)/g,`%29`).replace(/%26/gi,`&`)}function Zh(e){return decodeURIComponent(e)}function lN(e){return Zh(e.replace(/\+/g,`%20`))}function DN(e){return`${nT(e.path)}${Ez(e.parameters)}`}function Ez(e){return Object.entries(e).map(([t,n])=>`;${nT(t)}=${nT(n)}`).join(``)}function bz(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${qh(n)}=${qh(o)}`).join(`&`):`${qh(n)}=${qh(r)}`).filter(n=>n);return t.length?`?${t.join(`&`)}`:``}var Sz=/^[^\/()?;#]+/;function XS(e){let t=e.match(Sz);return t?t[0]:``}var Tz=/^[^\/()?;=#]+/;function Dz(e){let t=e.match(Tz);return t?t[0]:``}var Cz=/^[^=?&#]+/;function Iz(e){let t=e.match(Cz);return t?t[0]:``}var _z=/^[^&#]+/;function wz(e){let t=e.match(_z);return t?t[0]:``}var rT=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){for(;this.consumeOptional(`/`););return this.remaining===``||this.peekStartsWith(`?`)||this.peekStartsWith(`#`)?new Se([],{}):new Se([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional(`?`))do this.parseQueryParam(t);while(this.consumeOptional(`&`));return t}parseFragment(){return this.consumeOptional(`#`)?decodeURIComponent(this.remaining):null}parseChildren(t=0){if(t>50)throw new I(4010,!1);if(this.remaining===``)return{};this.consumeOptional(`/`);let n=[];for(this.peekStartsWith(`(`)||n.push(this.parseSegment());this.peekStartsWith(`/`)&&!this.peekStartsWith(`//`)&&!this.peekStartsWith(`/(`);)this.capture(`/`),n.push(this.parseSegment());let r={};this.peekStartsWith(`/(`)&&(this.capture(`/`),r=this.parseParens(!0,t));let o={};return this.peekStartsWith(`(`)&&(o=this.parseParens(!1,t)),(n.length>0||Object.keys(r).length>0)&&(o[Q]=new Se(n,r)),o}parseSegment(){let t=XS(this.remaining);if(t===``&&this.peekStartsWith(`;`))throw new I(4009,!1);return this.capture(t),new fi(Zh(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(`;`);)this.parseParam(t);return t}parseParam(t){let n=Dz(this.remaining);if(!n)return;this.capture(n);let r=``;if(this.consumeOptional(`=`)){let o=XS(this.remaining);o&&(r=o,this.capture(r))}t[Zh(n)]=Zh(r)}parseQueryParam(t){let n=Iz(this.remaining);if(!n)return;this.capture(n);let r=``;if(this.consumeOptional(`=`)){let s=wz(this.remaining);s&&(r=s,this.capture(r))}let o=lN(n),i=lN(r);if(Object.hasOwn(t,o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t,n){let r=Object.create(null);for(this.capture(`(`);!this.consumeOptional(`)`)&&this.remaining.length>0;){let o=XS(this.remaining),i=this.remaining[o.length];if(i!==`/`&&i!==`)`&&i!==`;`)throw new I(4010,!1);let s;o.indexOf(`:`)>-1?(s=o.slice(0,o.indexOf(`:`)),this.capture(s),this.capture(`:`)):t&&(s=Q);let a=this.parseChildren(n+1);r[s??Q]=Object.keys(a).length===1&&a[Q]?a[Q]:new Se([],a),this.consumeOptional(`//`)}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new I(4011,!1)}};function CN(e){return e.segments.length>0?new Se([],{[Q]:e}):e}function IN(e){let t=Object.create(null);for(let[r,o]of Object.entries(e.children)){let i=IN(o);if(r===Q&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return Az(new Se(e.segments,t))}function Az(e){if(e.numberOfChildren===1&&e.children[Q]){let t=e.children[Q];return new Se(e.segments.concat(t.segments),t.children)}return e}function pi(e){return e instanceof rn}function _N(e,t,n=null,r=null,o=new Lo){return AN(wN(e),t,n,r,o)}function wN(e){let t;function n(i){let s={};for(let c of i.children){let l=n(c);s[c.outlet]=l}let a=new Se(i.url,s);return i===e&&(t=a),a}let o=CN(n(e.root));return t??o}function AN(e,t,n,r,o){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return ZS(i,i,i,n,r,o);let s=xz(t);if(s.toRoot())return ZS(i,i,new Se([],{}),n,r,o);let a=Rz(s,i,e),c=a.processChildren?$u(a.segmentGroup,a.index,s.commands):RN(a.segmentGroup,a.index,s.commands);return ZS(i,a.segmentGroup,c,n,r,o)}function Jh(e){return typeof e==`object`&&e!=null&&!e.outlets&&!e.segmentPath}function zu(e){return typeof e==`object`&&e!=null&&e.outlets}
vendor: 5,145 bytes, line 14
14function uN(e,t,n){e||=`ɵ`;let r=new rn;return r.queryParams={[e]:t},n.parse(n.serialize(r)).queryParams[e]}function ZS(e,t,n,r,o,i){let s={};for(let[l,u]of Object.entries(r??{}))s[l]=Array.isArray(u)?u.map(d=>uN(l,d,i)):uN(l,u,i);let a;e===t?a=n:a=xN(e,t,n);return new rn(CN(IN(a)),s,o)}function xN(e,t,n){let r=Object.create(null);return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=xN(i,t,n)}),new Se(e.segments,r)}var em=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Jh(r[0]))throw new I(4003,!1);let o=r.find(zu);if(o&&o!==dz(r))throw new I(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]==`/`}};function xz(e){if(typeof e[0]==`string`&&e.length===1&&e[0]===`/`)return new em(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i==`object`&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,l])=>{a[c]=typeof l==`string`?l.split(`/`):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!=`string`?[...o,i]:s===0?(i.split(`/`).forEach((a,c)=>{c==0&&a===`.`||(c==0&&a===``?n=!0:a===`..`?t++:a!=``&&o.push(a))}),o):[...o,i]},[]);return new em(n,t,r)}var tc=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function Rz(e,t,n){if(e.isAbsolute)return new tc(t,!0,0);if(!n)return new tc(t,!1,NaN);if(n.parent===null)return new tc(n,!0,0);let r=Jh(e.commands[0])?0:1;return Nz(n,n.segments.length-1+r,e.numberOfDoubleDots)}function Nz(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new I(4005,!1);o=r.segments.length}return new tc(r,!1,o-i)}function Mz(e){return zu(e[0])?e[0].outlets:{[Q]:e}}function RN(e,t,n){if(e??=new Se([],{}),e.segments.length===0&&e.hasChildren())return $u(e,t,n);let r=Oz(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new Se(e.segments.slice(0,r.pathIndex),{});return i.children[Q]=new Se(e.segments.slice(r.pathIndex),e.children),$u(i,0,o)}else return r.match&&o.length===0?new Se(e.segments,{}):r.match&&!e.hasChildren()?oT(e,t,n):r.match?$u(e,0,o):oT(e,t,n)}function $u(e,t,n){if(n.length===0)return new Se(e.segments,{});{let r=Mz(n),o=Object.create(null);if(Object.keys(r).some(i=>i!==Q)&&e.children[Q]&&e.numberOfChildren===1&&e.children[Q].segments.length===0){let i=$u(e.children[Q],t,n);return new Se(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s==`string`&&(s=[s]),s!==null&&(o[i]=RN(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new Se(e.segments,o)}}function Oz(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(zu(a))break;let c=`${a}`,l=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&l&&typeof l==`object`&&l.outlets===void 0){if(!fN(c,l,s))return i;r+=2}else{if(!fN(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function oT(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(zu(i))return new Se(r,Lz(i.outlets));if(o===0&&Jh(n[0])){let c=e.segments[t];r.push(new fi(c.path,dN(n[0]))),o++;continue}let s=zu(i)?i.outlets[Q]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Jh(a)?(r.push(new fi(s,dN(a))),o+=2):(r.push(new fi(s,{})),o++)}return new Se(r,{})}function Lz(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r==`string`&&(r=[r]),r!==null&&(t[n]=oT(new Se([],{}),0,r))}),t}function dN(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function fN(e,t,n){return e==n.path&&Jr(t,n.parameters)}var nc=`imperative`;var Et=(function(e){return e[e.NavigationStart=0]=`NavigationStart`,e[e.NavigationEnd=1]=`NavigationEnd`,e[e.NavigationCancel=2]=`NavigationCancel`,e[e.NavigationError=3]=`NavigationError`,e[e.RoutesRecognized=4]=`RoutesRecognized`,e[e.ResolveStart=5]=`ResolveStart`,e[e.ResolveEnd=6]=`ResolveEnd`,e[e.GuardsCheckStart=7]=`GuardsCheckStart`,e[e.GuardsCheckEnd=8]=`GuardsCheckEnd`,e[e.RouteConfigLoadStart=9]=`RouteConfigLoadStart`,e[e.RouteConfigLoadEnd=10]=`RouteConfigLoadEnd`,e[e.ChildActivationStart=11]=`ChildActivationStart`,e[e.ChildActivationEnd=12]=`ChildActivationEnd`,e[e.ActivationStart=13]=`ActivationStart`,e[e.ActivationEnd=14]=`ActivationEnd`,e[e.Scroll=15]=`Scroll`,e[e.NavigationSkipped=16]=`NavigationSkipped`,e})(Et||{});var _n=class{id;url;constructor(t,n){this.id=t,this.url=n}};var hi=class extends _n{type=Et.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r=`imperative`,o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}};var Bt=class extends _n{urlAfterRedirects;type=Et.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}};var qt=(function(e){return e[e.Redirect=0]=`Redirect`,e[e.SupersededByNewNavigation=1]=`SupersededByNewNavigation`,e[e.NoDataFromRe
14solver=2]=`NoDataFromResolver`,e[e.GuardRejected=3]=`GuardRejected`,e[e.Aborted=4]=`Aborted`,e})(qt||{});var ic=(function(e){return e[e.IgnoredSameUrlNavigation=0]=`IgnoredSameUrlNavigation`,e[e.IgnoredByUrlHandlingStrategy=1]=`IgnoredByUrlHandlingStrategy`,e})(ic||{});var vn=class extends _n{reason;code;type=Et.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function NN(e){return e instanceof vn&&(e.code===qt.Redirect||e.code===qt.SupersededByNewNavigation)}var qn=class extends _n{reason;code;type=Et.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}};var ks=class extends _n{error;target;type=Et.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}};var Wu=class extends _n{urlAfterRedirects;state;type=Et.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var tm=class extends _n{urlAfterRedirects;state;type=Et.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var nm=class extends _n{urlAfterRedirects;state;shouldActivate;type=Et.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}};var rm=class extends _n{urlAfterRedirects;state;type=Et.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var om=class extends _n{urlAfterRedirects;state;type=Et.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var im=class{route;type=Et.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}};var sm=class{route;type=Et.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}};var am=class{snapshot;type=Et.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var cm=class{snapshot;type=Et.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var lm=class{snapshot;type=Et.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var um=class{snapshot;type=Et.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var mi=class{routerEvent;position;anchor;scrollBehavior;type=Et.Scroll;constructor(t,n,r,o){this.routerEvent=t,this.position=n,this.anchor=r,this.scrollBehavior=o}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}};var sc=class{};var qu=class{};var ac=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function Pz(e){return!(e instanceof sc)&&!(e instanceof ac)&&!(e instanceof qu)}var dm=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new gi(this.rootInjector)}resetChildren(){this.children=new gi(this.rootInjector)}};var gi=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new dm(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static ɵfac=function(r){return new(r||e)(L(Le))};static ɵprov=T({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var fm=class{_root;constructor(t){this._root=t}get root(){return this._root.value}
14parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=iT(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=iT(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=sT(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return sT(t,this._root).map(n=>n.value)}};function iT(e,t){if(e===t.value)return t;for(let n of t.children){let r=iT(e,n);if(r)return r}return null}function sT(e,t){if(e===t.value)return[t];for(let n of t.children){let r=sT(e,n);if(r.length)return r.unshift(t),r}return[]}var In=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function ec(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Yu=class extends fm{snapshot;constructor(t,n){super(t),this.snapshot=n,vT(this,t)}toString(){return this.snapshot.toString()}};function MN(e,t){let n=kz(e,t),r=new Nt([new fi(``,{})]),o=new Nt({}),i=new Nt({}),c=new eo(r,o,new Nt({}),new Nt(``),i,Q,e,n.root);return c.snapshot=n.root,new Yu(new In(c,[]),n)}function kz(e,t){return new Ku(``,new In(new cc([],{},{},``,{},Q,e,null,{},t),[]))}var eo=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;resources;_localInjector;pending;paramsSignal;queryParamsSignal;paramMapSignal;queryParamMapSignal;fragmentSignal;dataSignal;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe($(l=>l[Qu]))??O(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe($(t=>Ps(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe($(t=>Ps(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}_setPending(t){this._futureSnapshot=t,this.pending?.set(!0)}};var Fz=`always`;function yT(e,t,n){let r,{routeConfig:o}=e;return t!==null&&(n===`always`||o?.path===``||!t.component&&!t.routeConfig?.loadComponent)?r={params:w$1(w$1({},t.params),e.params),data:w$1(w$1({},t.data),e.data),resolve:w$1(w$1(w$1(w$1({},e.data),t.data),o?.data),e._resolvedData)}:r={params:w$1({},e.params),data:w$1({},e.data),resolve:w$1(w$1({},e.data),e._resolvedData??{})},o&&LN(o)&&(r.resolve[Qu]=o.title),r}var cc=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;resources;get title(){return this.data?.[Qu]}constructor(t,n,r,o,i,s,a,c,l,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l,this._environmentInjector=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??=Ps(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ps(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join(`/`)}', path:'${this.routeConfig?this.routeConfig.path:``}')`}};var Ku=class extends fm{url;constructor(t,n){super(n),this.url=t,vT(this,n)}toString(){return ON(this._root)}};
14function vT(e,t){t.value._routerState=e,t.children.forEach(n=>vT(e,n))}function ON(e){let t=e.children.length>0?` { ${e.children.map(ON).join(`, `)} } `:``;return`${e.value}${t}`}function QS(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Jr(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Jr(t.params,n.params)||e.paramsSubject.next(n.params),uz(t.url,n.url)||e.urlSubject.next(n.url),Jr(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function aT(e,t){let n=Jr(e.params,t.params)&&mz(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||aT(e.parent,t.parent))}function LN(e){return typeof e.title==`string`||e.title===null}var PN=new A(``);var ET=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Q;activateEvents=new $t;deactivateEvents=new $t;attachEvents=new $t;detachEvents=new $t;routerOutletData=yh();parentContexts=m(gi);location=m(Xr);changeDetector=m(Os);inputBinder=m(Ju,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)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(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new I(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new I(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new I(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new I(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new cT(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.activateEvents.emit(this.activated.instance)}static ɵfac=function(r){return new(r||e)};static ɵdir=hn({type:e,selectors:[[`router-outlet`]],inputs:{name:`name`,routerOutletData:[1,`routerOutletData`]},outputs:{activateEvents:`activate`,deactivateEvents:`deactivate`,attachEvents:`attach`,detachEvents:`detach`},exportAs:[`outlet`],features:[ai]})}return e})();var cT=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===eo?this.route:t===gi?this.childContexts:t===PN?this.outletData:this.parent.get(t,n)}};var Ju=new A(``);var kN=(()=>{class e{options;feature;outletDataSubscriptions=new Map;outletSeenKeys=new Map;outletEffects=new Map;constructor(n,r=null){this.options=n,this.feature=r,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(n,r){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n,r)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n),this.outletSeenKeys.delete(n),this.outletEffects.get(n)?.forEach(r=>r.destroy()),this.outletEffects.delete(n)}subscribeToRouteData(n,r){let{activatedRoute:o}=n,i=[],s=[];if(this.feature?.createResourceOutletBindingEffects&&n.activatedComponentRef){let{handledKeys:c,createdEffects:l}=this.feature.createResourceOutletBindingEffects(n.activatedComponentRef,o,r);i.push(...l),s=c}i.length>0&&this.outletEffects.set(n,i);let a=ff([this.options.queryParams?o.queryParams:O({}),o.params,o.data]).pipe(je(([c,l,u],d)=>(u=w$1(w$1(w$1(w$1({},c),l),u),o.resources||{}),d===0?O(u):Promise.resolve(u)))).subscribe(c=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let l=mS(o.component);if(!l){this.unsubscribeFromRouteData(n);return}let u=this.outletSeenKeys.get(n);u||(u=new Set,this.outletSeenKeys.set(n,u));for(let f of Object.keys(c))u.add(f);let d=this.options.unmatchedInputBehavior??`alwaysUndefined`;for(let{templateName:f}of l.inputs){if(s.includes(f))continue;let p=c[f];(p!==void 0||d===`alwaysUndefined`||u.has(f))&&n.activatedComponentRef.setInput(f,p)}});this.outletDataSubscriptions.set(n,a)}static ɵfac=function(r){yu()};static ɵprov=T({token:e,factory:e.ɵfac})}return e})();var bT=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵcmp=qa({type:e,selectors:[[`ng-component`]],exportAs:[`emptyRouterOutlet`],decls:1,vars:0,template:function(r,o){r&1&&sh(0,`router-outlet`)},dependencies:[ET],encapsulation:2,changeDetection:1})}return e})();function ST(e){let t=e.children&&e.children.map(ST),n=t?x(w$1({},e),{children:t}):w$1({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==Q&&(n.component=bT),n}function Uz(e,t,n){let r=new Set;return{newlyCreatedRoutes:r,state:new Yu(Xu(e,t._root,n?n._root:void 0,r),t)}}function Xu(e,t,n,r){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let o=n.value;o._setPending(t.value);return new In(o,Hz(e,t,n,r))}else{if(e.shouldAttach(t.value)){let s=e.retrieve(t.value);if(s!==null){let a=s.route;return a.value._setPending(t.value),a.children=t.children.map(c=>Xu(e,c,void 0,r)),a}}let o=Bz(t.value);o._setPending(t.value),r.add(o);return new In(o,t.children.map(s=>Xu(e,s,void 0,r)))}}function Hz(e,t,n,r){return t.children.map(o=>{for(let i of n.children)if(e.shouldReuseRoute(o.value,i.value.snapshot))return Xu(e,o,i,r);return Xu(e,o,void 0,r)})}function Bz(e){return new eo(new Nt(e.url),new Nt(e.params),new Nt(e.queryParams),new Nt(e.fragment),new Nt(e.data),e.outlet,e.component,e)}var lc=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}};var FN=`ngNavigationCancelingError`;function pm(e,t){let{redirectTo:n,navigationBehaviorOptions:r}
14=pi(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=UN(!1,qt.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function UN(e,t){let n=new Error(`NavigationCancelingError: ${e||``}`);return n[FN]=!0,n.cancellationCode=t,n}function jz(e){return HN(e)&&pi(e.url)}function HN(e){return!!e&&e[FN]}var lT=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),QS(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=ec(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=ec(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.contexts;r.resetChildren(),this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=ec(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null),t.value._localInjector?.destroy()}activateChildRoutes(t,n,r){let o=ec(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new um(i.value.snapshot))}),t.children.length&&this.forwardEvent(new cm(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(QS(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.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),QS(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}};var hm=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}};var rc=class{component;route;constructor(t,n){this.component=t,this.route=n}};function Vz(e,t,n){let r=e._root;return Vu(r,t?t._root:null,n,[r.value])}function $z(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function dc(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e==`function`&&!Zy(e)?e:t.get(e):r}function Vu(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=ec(t);return e.children.forEach(s=>{Gz(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Gu(a,n.getContext(s),n,o)),o}function Gz(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=zz(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new hm(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Vu(e,t,a?a.children:null,r,o):Vu(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new rc(a.outlet.component,s))}else s&&Gu(t,a,n,o),o.canActivateChecks.push(new hm(r)),i.component?Vu(e,null,a?a.children:null,r,o):Vu(e,null,n,r,o);return o}function zz(e,t,n){if(typeof n==`function`)return ut(t._environmentInjector,()=>n(e,t));switch(n){case`pathParamsChange`:return!Ls(e.url,t.url);case`pathParamsOrQueryParamsChange`:return!Ls(e.url,t.url)||!Jr(e.queryParams,t.queryParams);case`always`:return!0;case`paramsOrQueryParamsChange`:return!aT(e,t)||!Jr(e.queryParams,t.queryParams);default:return!aT(e,t)}}function Gu(e,t,n,r){let o=ec(e),i=e.value;
14Object.entries(o).forEach(([s,a])=>{i.component?t?Gu(a,t.children.getContext(s),t.children,r):Gu(a,null,null,r):Gu(a,n?n.getContext(s):null,n,r)}),i.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new rc(t.outlet.component,i)):r.canDeactivateChecks.push(new rc(null,i)):r.canDeactivateChecks.push(new rc(null,i))}function ed(e){return typeof e==`function`}function Wz(e){return typeof e==`boolean`}function qz(e){return e&&ed(e.canLoad)}function Yz(e){return e&&ed(e.canActivate)}function Kz(e){return e&&ed(e.canActivateChild)}function Xz(e){return e&&ed(e.canDeactivate)}function Zz(e){return e&&ed(e.canMatch)}function BN(e){return e instanceof ir||e?.name===`EmptyError`}var Yh=Symbol(`INITIAL_VALUE`);function uc(){return je(e=>ff(e.map(t=>t.pipe(Nn(1),vf(Yh)))).pipe($(t=>{for(let n of t)if(n!==!0){if(n===Yh)return Yh;if(n===!1||Qz(n))return n}return!0}),xe(t=>t!==Yh),Nn(1)))}function Qz(e){return pi(e)||e instanceof lc}function jN(e){return e.aborted?O(void 0).pipe(Nn(1)):new W(t=>{let n=()=>{t.next(),t.complete()};return e.addEventListener(`abort`,n),()=>e.removeEventListener(`abort`,n)})}function VN(e){return ul(jN(e))}function Jz(e){return we(t=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=t;return i.length===0&&o.length===0?O(x(w$1({},t),{guardsResult:!0})):e4(i,n,r).pipe(we(s=>s&&Wz(s)?t4(n,o,e):O(s)),$(s=>x(w$1({},t),{guardsResult:s})))})}function e4(e,t,n){return Te(e).pipe(we(r=>s4(r.component,r.route,n,t)),Ke(r=>r!==!0,!0))}function t4(e,t,n){return Te(t).pipe(cr(r=>kr(r4(r.route.parent,n),n4(r.route,n),i4(e,r.path),o4(e,r.route))),Ke(r=>r!==!0,!0))}function n4(e,t){return e!==null&&t&&t(new lm(e)),O(!0)}function r4(e,t){return e!==null&&t&&t(new am(e)),O(!0)}function o4(e,t){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return O(!0);return O(n.map(o=>cl(()=>{let i=t._environmentInjector,s=dc(o,i);return Fs(Yz(s)?s.canActivate(t,e):ut(i,()=>s(t,e))).pipe(Ke())}))).pipe(uc())}function i4(e,t){let n=t[t.length-1];return O(t.slice(0,t.length-1).reverse().map(i=>$z(i)).filter(i=>i!==null).map(i=>cl(()=>{return O(i.guards.map(a=>{let c=i.node._environmentInjector,l=dc(a,c);return Fs(Kz(l)?l.canActivateChild(n,e):ut(c,()=>l(n,e))).pipe(Ke())})).pipe(uc())}))).pipe(uc())}function s4(e,t,n,r){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return O(!0);return O(o.map(s=>{let a=t._environmentInjector,c=dc(s,a);return Fs(Xz(c)?c.canDeactivate(e,t,n,r):ut(a,()=>c(e,t,n,r))).pipe(Ke())})).pipe(uc())}function a4(e,t,n,r,o){let i=t.canLoad;if(i===void 0||i.length===0)return O(!0);return O(i.map(a=>{let c=dc(a,e),u=Fs(qz(c)?c.canLoad(t,n):ut(e,()=>c(t,n)));return o?u.pipe(VN(o)):u})).pipe(uc(),$N(r))}function $N(e){return zd(Tt(t=>{if(typeof t!=`boolean`)throw pm(e,t)}),$(t=>t===!0))}function c4(e,t,n,r,o,i){let s=t.canMatch;if(!s||s.length===0)return O(!0);return O(s.map(c=>{let l=dc(c,e);return Fs(Zz(l)?l.canMatch(t,n,o):ut(e,()=>l(t,n,o))).pipe(VN(i))})).pipe(uc(),$N(r))}var Oo=class e extends Error{segmentGroup;constructor(t){super(),this.segmentGroup=t||null,Object.setPrototypeOf(this,e.prototype)}};var Zu=class e extends Error{urlTree;constructor(t){super(),this.urlTree=t,Object.setPrototypeOf(this,e.prototype)}};function l4(e){throw new I(4e3,!1)}function u4(e){throw UN(!1,qt.GuardRejected)}var uT=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){return F$1(this,null,function*(){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[Q])throw l4(`${t.redirectTo}`);o=o.children[Q]}})}applyRedirectCommands(t,n,r,o,i){return F$1(this,null,function*(){let s=yield d4(n,o,i);if(s instanceof rn)throw new Zu(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]===`/`)throw new Zu(a);return a})}applyRedirectCreateUrlTree(t,n,r,o){return new rn(this.createSegmentGroup(t,n.root,r,o),this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i==`string`&&i[0]===`:`){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s=Object.create(null);
14return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new Se(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===`:`?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new I(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function d4(e,t,n){if(typeof e==`string`)return Promise.resolve(e);let r=e;return Qh(Fs(ut(n,()=>r(t))))}function f4(e,t){return e.providers&&!e._injector&&(e._injector=Ns(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Cr(e){return e.outlet||Q}function p4(e,t){let n=e.filter(r=>Cr(r)===t);return n.push(...e.filter(r=>Cr(r)!==t)),n}var dT={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function GN(e){return{routeConfig:e.routeConfig,url:e.url,params:e.params,queryParams:e.queryParams,fragment:e.fragment,data:e.data,outlet:e.outlet,title:e.title,paramMap:e.paramMap,queryParamMap:e.queryParamMap}}function h4(e,t,n,r,o,i,s){let a=zN(e,t,n);if(!a.matched)return O(a);let c=GN(i(a));return r=f4(t,r),c4(r,t,n,o,c,s).pipe($(l=>l===!0?a:w$1({},dT)))}function zN(e,t,n){if(t.path===``)return t.pathMatch===`full`&&(e.hasChildren()||n.length>0)?w$1({},dT):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||mN)(n,e,t);if(!o)return w$1({},dT);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?w$1(w$1({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function pN(e,t,n,r,o){return n.length>0&&y4(e,n,r,o)?{segmentGroup:new Se(t,g4(r,new Se(n,e.children))),slicedSegments:[]}:n.length===0&&v4(e,n,r)?{segmentGroup:new Se(e.segments,m4(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new Se(e.segments,e.children),slicedSegments:n}}function m4(e,t,n,r){let o={};for(let i of n)if(gm(e,t,i)&&!r[Cr(i)]){let s=new Se([],{});o[Cr(i)]=s}return w$1(w$1({},r),o)}function g4(e,t){let n={};n[Q]=t;for(let r of e)if(r.path===``&&Cr(r)!==Q){let o=new Se([],{});n[Cr(r)]=o}return n}function y4(e,t,n,r){return n.some(o=>!gm(e,t,o)||!(Cr(o)!==Q)?!1:!(r!==void 0&&Cr(o)===r))}function v4(e,t,n){return n.some(r=>gm(e,t,r))}function gm(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch===`full`?!1:n.path===``}function E4(e,t,n){return t.length===0&&!e.children[n]}var fT=class{};function b4(e,t,n,r,o,i,s,a){return F$1(this,null,function*(){return new pT(e,t,n,r,o,s,i,a).recognize()})}var S4=31;var pT=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a,c){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new uT(this.urlSerializer,this.urlTree)}noMatchError(t){return new I(4002,`'${t.segmentGroup}'`)}recognize(){return F$1(this,null,function*(){let t=pN(this.urlTree.root,[],[],this.config).segmentGroup,{children:n,rootSnapshot:r}=yield this.match(t),i=new Ku(``,new In(r,n)),s=_N(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}})}match(t){return F$1(this,null,function*(){let n=new cc([],Object.freeze({}),Object.freeze(w$1({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),Q,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,t,Q,n),rootSnapshot:n}}catch(r){if(r instanceof Zu)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Oo?this.noMatchError(r):r}})}processSegmentGroup(t,n,r,o,i){return F$1(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(t,n,r,i);let s=yield this.processSegment(t,n,r,r.segments,o,!0,i);return s instanceof In?[s]:[]})}processChildren(t,n,r,o){return F$1(this,null,function*(){let i=[];for(let c of Object.keys(r.children))c===`primary`?i.unshift(c):i.push(c);let s=[];for(let c of i){let l=r.children[c],u=p4(n,c),d=yield this.processSegmentGroup(t,u,l,c,o);s.push(...d)}let a=WN(s);return T4(a),a})}processSegment(t,n,r,o,i,s,a){return F$1(this,null,function*(){for(let c of n)try{return yield this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a)}catch(l){if(l instanceof Oo||BN(l))continue;throw l}if(E4(r,o,i))return new fT;throw new Oo(r)})}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return F$1(this,null,function*(){if(Cr(r)!==s&&(s===Q||!gm(o,i,r)))throw new Oo(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(t,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c);throw new Oo(o)})}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){return F$1(this,null,function*(){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:f}=zN(n,o,i);if(!c)throw new Oo(n);typeof o.redirectTo==`string`&&o.redirectTo[0]===`/`&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>S4&&(this.allowRedirects=!1));let p=this.createSnapshot(t,o,i,l,a);
14if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let g=yield this.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,GN(p),t),y=yield this.applyRedirects.lineralizeSegments(o,g);return this.processSegment(t,r,n,y.concat(f),s,!1,a)})}createSnapshot(t,n,r,o,i){let s=new cc(r,o,Object.freeze(w$1({},this.urlTree.queryParams)),this.urlTree.fragment,C4(n),Cr(n),n.component??n._loadedComponent??null,n,I4(n),t),a=yT(s,i,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}matchSegmentAgainstRoute(t,n,r,o,i,s){return F$1(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=M=>this.createSnapshot(t,r,M.consumedSegments,M.parameters,s),c=yield Qh(h4(n,r,o,t,this.urlSerializer,a,this.abortSignal));if(r.path===`**`&&(n.children={}),!c?.matched)throw new Oo(n);t=r._injector??t;let{routes:l}=yield this.getChildConfig(t,r,o),u=r._loadedInjector??t,{parameters:d,consumedSegments:f,remainingSegments:p}=c,g=this.createSnapshot(t,r,f,d,s),{segmentGroup:y,slicedSegments:E}=pN(n,f,p,l,i);if(E.length===0&&y.hasChildren())return new In(g,yield this.processChildren(u,l,y,g));if(l.length===0&&E.length===0)return new In(g,[]);let b=Cr(r)===i,C=yield this.processSegment(u,l,y,E,b?Q:i,!0,g);return new In(g,C instanceof In?[C]:[])})}getChildConfig(t,n,r){return F$1(this,null,function*(){if(n.children)return{routes:n.children,injector:t};if(n.loadChildren){if(n._loadedRoutes!==void 0){let i=n._loadedNgModuleFactory;return i&&!n._loadedInjector&&(n._loadedInjector=i.create(t).injector),{routes:n._loadedRoutes,injector:n._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield Qh(a4(t,n,r,this.urlSerializer,this.abortSignal))){let i=yield this.configLoader.loadChildren(t,n);return n._loadedRoutes=i.routes,n._loadedInjector=i.injector,n._loadedNgModuleFactory=i.factory,i}throw u4(n)}return{routes:[],injector:t}})}};function T4(e){e.sort((t,n)=>t.value.outlet===Q?-1:n.value.outlet===Q?1:t.value.outlet.localeCompare(n.value.outlet))}function D4(e){let t=e.value.routeConfig;return t&&t.path===``}function WN(e){let t=[],n=new Set;for(let r of e){if(!D4(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=WN(r.children);t.push(new In(r.value,o))}return t.filter(r=>!n.has(r))}function C4(e){return e.data||{}}function I4(e){return e.resolve||{}}function _4(e,t,n,r,o,i,s){return we(a=>F$1(null,null,function*(){let{state:c,tree:l}=yield b4(e,t,n,r,a.extractedUrl,o,i,s);return x(w$1({},a),{targetSnapshot:c,urlAfterRedirects:l})}))}function w4(e){return we(t=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=t;if(!r.length)return O(t);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of qN(a))i.add(c);let s=0;return Te(i).pipe(cr(a=>o.has(a)?A4(a,n,e):(a.data=yT(a,a.parent,e).resolve,O(void 0))),Tt(()=>s++),gf(1),we(a=>s===i.size?O(t):ot))})}function qN(e){return[e,...e.children.map(n=>qN(n)).flat()]}function A4(e,t,n){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!LN(r)&&(o[Qu]=r.title),cl(()=>(e.data=yT(e,e.parent,n).resolve,x4(o,e,t).pipe($(i=>(e._resolvedData=i,e.data=w$1(w$1({},e.data),i),null)))))}function x4(e,t,n){let r=eT(e);if(r.length===0)return O({});let o={};return Te(r).pipe(we(i=>R4(e[i],t,n).pipe(Ke(),Tt(s=>{if(s instanceof lc)throw pm(new Lo,s);o[i]=s}))),gf(1),$(()=>o),he(i=>BN(i)?ot:Or(i)))}function R4(e,t,n){let r=t._environmentInjector,o=dc(e,r);return Fs(o.resolve?o.resolve(t,n):ut(r,()=>o(t,n)))}var TT=new A(``);function hT(e){return je(t=>{let n=e(t);return n?Te(n).pipe($(()=>t)):O(t)})}var DT=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===Q);return r}getResolvedTitleForRoute(n){return n.data[Qu]}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:()=>m(YN)})}return e})();var YN=(()=>{class e extends DT{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static ɵfac=function(r){return new(r||e)(L(Wh))};static ɵprov=T({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var vi=new A(``,{factory:()=>({})});var Us=new A(``);var ym=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=m(tS);loadComponent(n,r){return F$1(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=F$1(this,null,function*(){try{let s=yield XN(pS(yield yN(ut(n,()=>r.loadComponent()))));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,o),o})}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=F$1(this,null,function*(){try{let i=yield KN(r,this.compiler,n,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,o),o}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();function KN(e,t,n,r){return F$1(this,null,function*(){let i=yield XN(pS(yield yN(ut(n,()=>e.loadChildren())))),s;i instanceof eh||Array.isArray(i)?s=i:s=yield t.compileModuleAsync(i),r&&r(e);let a,c,u;return Array.isArray(s)?c=s:(a=s.create(n).injector,u=s,c=a.get(Us,[],{optional:!0,self:!0}).flat()),{routes:c.map(ST),injector:a,factory:u}})}function XN(e){return F$1(this,null,function*(){return e})}var vm=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:()=>m(N4)})}return e})();var N4=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();
14var CT=new A(``);var IT=new A(``);function ZN(e,t,n,r){let o=e.get(IT),i=e.get(Ne);if(r){o.skipNextTransition=!1;return}if(!i.startViewTransition||o.skipNextTransition)return o.skipNextTransition=!1,new Promise(u=>setTimeout(u));let s,a=new Promise(u=>{s=u}),c=i.startViewTransition(()=>(s(),M4(e)));c.updateCallbackDone.catch(u=>{}),c.ready.catch(u=>{}),c.finished.catch(u=>{});let{onViewTransitionCreated:l}=o;return l&&ut(e,()=>l({transition:c,from:t,to:n})),a}function M4(e){return new Promise(t=>{fu({read:()=>setTimeout(t)},{injector:e})})}var O4=()=>{};var _T=new A(``);var Em=(()=>{class e{currentNavigation=Ze(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=Ze(null);events=new K;transitionAbortWithErrorSubject=new K;configLoader=m(ym);environmentInjector=m(Le);destroyRef=m(Ct);urlSerializer=m(yi);rootContexts=m(gi);location=m(di);inputBindingEnabled=m(Ju,{optional:!0})!==null;titleStrategy=m(DT);options=m(vi,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||Fz;urlHandlingStrategy=m(vm);createViewTransition=m(CT,{optional:!0});navigationErrorHandler=m(_T,{optional:!0});routerResourcesFeature=m(TT,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>O(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new im(o)),r=o=>this.events.next(new sm(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;Ce(()=>{this.transitions?.next(x(w$1({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(n){return this.transitions=new Nt(null),this.transitions.pipe(xe(r=>r!==null),je(r=>{let o=!0,i=!1,s=new AbortController,a=()=>!i&&this.currentTransition?.id===r.id;return O(r).pipe(je(c=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,``,qt.SupersededByNewNavigation),ot;this.currentTransition=r;let l=this.lastSuccessfulNavigation();this.currentNavigation.set({id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl==`string`?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:l?x(w$1({},l),{previousNavigation:null}):null,abort:()=>s.abort(),routesRecognizeHandler:c.routesRecognizeHandler,beforeActivateHandler:c.beforeActivateHandler});let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&d!==`reload`)return this.events.next(new qn(c.id,this.urlSerializer.serialize(c.rawUrl),``,ic.IgnoredSameUrlNavigation)),c.resolve(!1),ot;if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return O(c).pipe(je(f=>(this.events.next(new hi(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),f.id!==this.navigationId?ot:Promise.resolve(f))),_4(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy,s.signal),Tt(f=>{r.targetSnapshot=f.targetSnapshot,r.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation.update(p=>(p.finalUrl=f.urlAfterRedirects,p)),this.events.next(new qu)}),je(f=>Te(r.routesRecognizeHandler.deferredHandle??O(void 0)).pipe($(()=>f))),Tt(()=>{let f=new Wu(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(f)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:p,source:g,restoredState:y,extras:E}=c,b=new hi(f,this.urlSerializer.serialize(p),g,y);this.events.next(b);let C=MN(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=x(w$1({},c),{targetSnapshot:C,urlAfterRedirects:p,extras:x(w$1({},E),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(M=>(M.finalUrl=p,M)),O(r)}else return this.events.next(new qn(c.id,this.urlSerializer.serialize(c.extractedUrl),``,ic.IgnoredByUrlHandlingStrategy)),c.resolve(!1),ot}),$(c=>{let l=new tm(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);return this.events.next(l),this.currentTransition=r=x(w$1({},c),{guards:Vz(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),r}),Jz(c=>this.events.next(c)),je(c=>{if(r.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!=`boolean`)throw pm(this.urlSerializer,c.guardsResult);let l=new nm(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);if(this.events.next(l),!a())return ot;if(!c.guardsResult)return this.cancelNavigationTransition(c,``,qt.GuardRejected),ot;if(c.guards.canActivateChecks.length===0)return O(c);let u=new rm(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);if(this.events.next(u),!a())return ot;let d=!1;return O(c).pipe(w4(this.paramsInheritanceStrategy),Tt({next:()=>{d=!0;let f=new om(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(f)},complete:()=>
14{d||this.cancelNavigationTransition(c,``,qt.NoDataFromResolver)}}))}),hT(c=>{let l=d=>{let f=[];if(d.routeConfig?._loadedComponent)d.component=d.routeConfig?._loadedComponent;else if(d.routeConfig?.loadComponent){let p=d._environmentInjector;f.push(this.configLoader.loadComponent(p,d.routeConfig).then(g=>{d.component=g}))}for(let p of d.children)f.push(...l(p));return f},u=l(c.targetSnapshot.root);return u.length===0?O(c):Te(Promise.all(u).then(()=>c))}),je(c=>{let{newlyCreatedRoutes:l,state:u}=Uz(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=r=c=x(w$1({},c),{targetRouterState:u,newlyCreatedRoutes:l}),this.currentNavigation.update(d=>(d.targetRouterState=u,d)),O(c)}),this.routerResourcesFeature?.setupAndRunResources(s.signal)??(c=>c),hT(()=>this.afterPreactivation()),je(()=>{let{currentSnapshot:c,targetSnapshot:l}=r,u=this.createViewTransition?.(this.environmentInjector,c.root,l.root,r.hasUAVisualTransition);return u?Te(u).pipe($(()=>r)):O(r)}),Nn(1),je(c=>{o=!1,this.events.next(new sc);let l=r.beforeActivateHandler.deferredHandle;return l?Te(l.then(()=>c)):O(c)}),Tt(c=>{new lT(n.routeReuseStrategy,r.targetRouterState,r.currentRouterState,l=>this.events.next(l),this.inputBindingEnabled).activate(this.rootContexts),c.newlyCreatedRoutes?.clear(),a()&&(QN(c.targetRouterState),i=!0,this.currentNavigation.update(l=>(l.abort=O4,l)),this.lastSuccessfulNavigation.set(Ce(this.currentNavigation)),this.events.next(new Bt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0))}),ul(jN(s.signal).pipe(xe(()=>!i&&o),Tt(()=>{this.cancelNavigationTransition(r,s.signal.reason+``,qt.Aborted)}))),Tt({complete:()=>{i=!0}}),ul(this.transitionAbortWithErrorSubject.pipe(Tt(c=>{throw c}))),Qi(()=>{s.abort(),i||this.cancelNavigationTransition(r,``,qt.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),he(c=>{if(i=!0,hN(r),this.destroyed)return r.resolve(!1),ot;if(HN(c))this.events.next(new vn(r.id,this.urlSerializer.serialize(r.extractedUrl),c.message,c.cancellationCode)),jz(c)?this.events.next(new ac(c.url,c.navigationBehaviorOptions)):r.resolve(!1);else{let l=new ks(r.id,this.urlSerializer.serialize(r.extractedUrl),c,r.targetSnapshot??void 0);try{let u=ut(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(u instanceof lc){let{message:d,cancellationCode:f}=pm(this.urlSerializer,u);this.events.next(new vn(r.id,this.urlSerializer.serialize(r.extractedUrl),d,f)),this.events.next(new ac(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(l),c}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return ot}))}))}cancelNavigationTransition(n,r,o){hN(n);let i=new vn(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=Ce(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();function L4(e){return e!==nc}function hN(e){for(let t of e.newlyCreatedRoutes??[])t._localInjector?.destroy(),t._localInjector=void 0;QN(e.targetRouterState)}function QN(e){if(!e)return;let t=n=>{n.value.pending?.set(!1),n.children.forEach(t)};t(e._root)}var JN=new A(``);var eM=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:()=>m(P4)})}return e})();var mm=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}shouldDestroyInjector(t){return!0}};var P4=(()=>{class e extends mm{static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();var bm=(()=>
14{class e{urlSerializer=m(yi);options=m(vi,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||`replace`;location=m(di);urlHandlingStrategy=m(vm);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;currentUrlTree=new rn;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof rn?this.urlSerializer.serialize(s):s}routerUrlState(n){return n?.targetBrowserUrl===void 0||n?.finalUrl===void 0?{}:{ɵrouterUrl:this.urlSerializer.serialize(n.finalUrl)}}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=MN(null,m(Le));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:()=>m(k4)})}return e})();var k4=(()=>{class e extends bm{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!==`computed`?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type===`popstate`&&setTimeout(()=>{n(r.url,r.state,`popstate`,{replaceUrl:!0},r.hasUAVisualTransition)})})}handleRouterEvent(n,r){n instanceof hi?this.updateStateMemento():n instanceof qn?this.commitTransition(r):n instanceof Wu?this.urlUpdateStrategy===`eager`&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof sc?(this.commitTransition(r),this.urlUpdateStrategy===`deferred`&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof vn&&!NN(n)?this.restoreHistory(r):n instanceof ks?this.restoreHistory(r,!0):n instanceof Bt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let{extras:o,id:i}=r,{replaceUrl:s,state:a}=o;if(this.location.isCurrentPathEqualTo(n)||s){let c=this.browserPageId,l=w$1(w$1({},a),this.generateNgRouterState(i,c,r));this.location.replaceState(n,``,l)}else{let c=w$1(w$1({},a),this.generateNgRouterState(i,this.browserPageId+1,r));this.location.go(n,``,c)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution===`computed`){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution===`replace`&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),``,this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r,o){return this.canceledNavigationResolution===`computed`?w$1({navigationId:n,ɵrouterPageId:r},this.routerUrlState(o)):w$1({navigationId:n},this.routerUrlState(o))}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();function Sm(e,t){e.events.pipe(xe(n=>n instanceof Bt||n instanceof vn||n instanceof ks||n instanceof qn),$(n=>n instanceof Bt||n instanceof qn?0:(n instanceof vn?n.code===qt.Redirect||n.code===qt.SupersededByNewNavigation:!1)?2:1),xe(n=>n!==2),Nn(1)).subscribe(()=>{t()})}var st=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=m(rh);stateManager=m(bm);options=m(vi,{optional:!0})||{};pendingTasks=m(mr);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;navigationTransitions=m(Em);
14urlSerializer=m(yi);location=m(di);urlHandlingStrategy=m(vm);injector=m(Le);_events=new K;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=m(eM);injectorCleanup=m(JN,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||`ignore`;config=m(Us,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!m(Ju,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new We;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=Ce(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof vn&&r.code!==qt.Redirect&&r.code!==qt.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Bt)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof ac){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=w$1({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy===`eager`||L4(o.source)},s);this.scheduleNavigation(a,nc,null,c,o.hasUAVisualTransition,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Pz(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),nc,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o,i,s)=>{this.navigateToSyncWithBrowser(n,o,r,i,s)})}navigateToSyncWithBrowser(n,r,o,i,s){let a=o?.navigationId?o:null,c=o?.ɵrouterUrl??n;if(o?.ɵrouterUrl&&(i=x(w$1({},i),{browserUrl:n})),o){let u=w$1({},o);delete u.navigationId,delete u.ɵrouterPageId,delete u.ɵrouterUrl,Object.keys(u).length!==0&&(i.state=u)}let l=this.parseUrl(c);this.scheduleNavigation(l,r,a,i,s).catch(u=>{this.disposed||this.injector.get(pn)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Ce(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(ST),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case`merge`:u=w$1(w$1({},this.currentUrlTree.queryParams),i);break;case`preserve`:u=this.currentUrlTree.queryParams;break;default:u=i||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{d=wN(o?o.snapshot:this.routerState.snapshot.root)}catch(f){(typeof n[0]!=`string`||n[0][0]!==`/`)&&(n=[]),d=this.currentUrlTree.root}return AN(d,n,u,l??null,this.urlSerializer)}navigateByUrl(n,r={skipLocationChange:!1}){let o=pi(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,nc,null,r)}navigate(n,r={skipLocationChange:!1}){return F4(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch(r){return this.console.warn(Ln(4018,!1)),this.urlSerializer.parse(`/`)}}isActive(n,r){let o;if(r===!0?o=w$1({},mT):r===!1?o=w$1({},oc):o=w$1(w$1({},oc),r),pi(n))return tT(this.currentUrlTree,n,o);let i=this.parseUrl(n);return tT(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,l,u;a?(c=a.resolve,l=a.reject,u=a.promise):u=new Promise((f,p)=>{c=f,l=p});let d=this.pendingTasks.add();return Sm(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,hasUAVisualTransition:s,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
14),u.catch(Promise.reject.bind(Promise))}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();function F4(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new I(4008,!1)}var U4=(()=>{class e{router=m(st);stateManager=m(bm);fragment=Ze(``);queryParams=Ze({});path=Ze(``);serializer=m(yi);constructor(){this.updateState(),this.router.events?.subscribe(n=>{n instanceof Bt&&this.updateState()})}updateState(){let{fragment:n,root:r,queryParams:o}=this.stateManager.getCurrentUrlTree();this.fragment.set(n),this.queryParams.set(o),this.path.set(this.serializer.serialize(new rn(r)))}static ɵfac=function(r){return new(r||e)};static ɵprov=De({token:e,factory:e.ɵfac})}return e})();var Tm=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=m(new mh(`href`),{optional:!0});reactiveHref=nS(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return Ce(this.reactiveHref)}set href(n){this.reactiveHref.set(n)}set target(n){this._target.set(n)}get target(){return Ce(this._target)}_target=Ze(void 0);set queryParams(n){this._queryParams.set(n)}get queryParams(){return Ce(this._queryParams)}_queryParams=Ze(void 0,{equal:()=>!1});set fragment(n){this._fragment.set(n)}get fragment(){return Ce(this._fragment)}_fragment=Ze(void 0);set queryParamsHandling(n){this._queryParamsHandling.set(n)}get queryParamsHandling(){return Ce(this._queryParamsHandling)}_queryParamsHandling=Ze(void 0);set state(n){this._state.set(n)}get state(){return Ce(this._state)}_state=Ze(void 0,{equal:()=>!1});set info(n){this._info.set(n)}get info(){return Ce(this._info)}_info=Ze(void 0,{equal:()=>!1});set relativeTo(n){this._relativeTo.set(n)}get relativeTo(){return Ce(this._relativeTo)}_relativeTo=Ze(void 0);set preserveFragment(n){this._preserveFragment.set(n)}get preserveFragment(){return Ce(this._preserveFragment)}_preserveFragment=Ze(!1);set skipLocationChange(n){this._skipLocationChange.set(n)}get skipLocationChange(){return Ce(this._skipLocationChange)}_skipLocationChange=Ze(!1);set replaceUrl(n){this._replaceUrl.set(n)}get replaceUrl(){return Ce(this._replaceUrl)}_replaceUrl=Ze(!1);browserUrl=yh(void 0);isAnchorElement;onChanges=new K;applicationErrorHandler=m(pn);options=m(vi,{optional:!0});reactiveRouterState=m(U4);constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c===`a`||c===`area`||!!(typeof customElements==`object`&&customElements.get(c)?.observedAttributes?.includes?.(`href`))}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue(`tabindex`,n)}ngOnChanges(n){this.onChanges.next(this)}routerLinkInput=Ze(null);set routerLink(n){n==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(pi(n)?this.routerLinkInput.set(n):this.routerLinkInput.set(Array.isArray(n)?n:[n]),this.setTabIndexIfNotOnNativeEl(`0`))}onClick(n,r,o,i,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(n!==0||r||o||i||s||typeof this.target==`string`&&this.target!=`_self`))return!0;let c=this.browserUrl(),l=w$1({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},c!==void 0&&{browserUrl:c});return this.router.navigateByUrl(a,l)?.catch(u=>{this.applicationErrorHandler(u)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(n,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,n,r):o.removeAttribute(i,n)}_urlTree=Tu(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let n=o=>o===`preserve`||o===`merge`;(n(this._queryParamsHandling())||n(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:pi(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(n,r)=>this.computeHref(n)===this.computeHref(r)});get urlTree(){return Ce(this._urlTree)}computeHref(n){return n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n))??``:null}static ɵfac=function(r){return new(r||e)(fe(st),fe(eo),au(`tabindex`),fe(Kr),fe(Bn),fe(Tr))};static ɵdir=hn({type:e,selectors:[[``,`routerLink`,``]],hostVars:2,hostBindings:function(r,o){r&1&&ch(`click`,function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&ih(`href`,o.reactiveHref(),nb)(`target`,o._target())},inputs:{target:`target`,queryParams:`queryParams`,fragment:`fragment`,queryParamsHandling:`queryParamsHandling`,state:`state`,info:`info`,relativeTo:`relativeTo`,preserveFragment:[2,`preserveFragment`,`preserveFragment`,Cu],skipLocationChange:[2,`skipLocationChange`,`skipLocationChange`,Cu],replaceUrl:[2,`replaceUrl`,`replaceUrl`,Cu],browserUrl:[1,`browserUrl`],routerLink:`routerLink`},features:[ai]})}return e})();var H4=(()=>{class e{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new $t;link=m(Tm,{optional:!0});constructor(n,r,o,i){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.routerEventsSubscription=n.events.subscribe(s=>{s instanceof Bt&&this.update()})}ngAfterContentInit(){O(this.links.changes,O(null)).pipe(Pr()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Te(n).pipe(Pr()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){if(n==null){this.classes=[];return}let r=Array.isArray(n)?n:n.split(` `);this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||this.routerLinkActiveOptions===null&&!this._isActive||queueMicrotask(()=>{let n=this.hasActiveLinks();
14this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,`aria-current`,this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,`aria-current`),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let r=this.routerLinkActiveOptions;if(r===null)return()=>!1;let o;return r===void 0?o=w$1({},oc):B4(r)?o=r:r.exact??!1?o=w$1({},mT):o=w$1({},oc),i=>{let s=i.urlTree;return s?Ce(gT(s,n,o)):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}static ɵfac=function(r){return new(r||e)(fe(st),fe(Bn),fe(Kr),fe(Os))};static ɵdir=hn({type:e,selectors:[[``,`routerLinkActive`,``]],contentQueries:function(r,o,i){if(r&1&&dh(i,Tm,5),r&2){let s;Zb(s=Qb())&&(o.links=s)}},inputs:{routerLinkActiveOptions:`routerLinkActiveOptions`,ariaCurrentWhenActive:`ariaCurrentWhenActive`,routerLinkActive:`routerLinkActive`},outputs:{isActiveChange:`isActiveChange`},exportAs:[`routerLinkActive`],features:[ai]})}return e})();function B4(e){let t=e;return!!(t.paths||t.matrixParams||t.queryParams||t.fragment)}var td=class{};var tM=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(n,r,o,i){this.router=n,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(xe(n=>n instanceof Bt),cr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=Ns(i.providers,n,``));let s=i._injector??n;i._loadedNgModuleFactory&&!i._loadedInjector&&(i._loadedInjector=i._loadedNgModuleFactory.create(s).injector);let a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Te(o).pipe(Pr())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{if(n.destroyed)return O(null);let o;r.loadChildren&&r.canLoad===void 0?o=Te(this.loader.loadChildren(n,r)):o=O(null);let i=o.pipe(we(s=>s===null?O(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent)return Te([i,this.loader.loadComponent(n,r)]).pipe(Pr());else return i})}static ɵfac=function(r){return new(r||e)(L(st),L(Le),L(td),L(ym))};static ɵprov=T({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var AT=new A(``);var nM=(()=>{class e{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=nc;restoredId=0;store={};isHydrating=m(zE,{optional:!0})??!1;urlSerializer=m(yi);zone=m(ie);viewportScroller=m(Ou);transitions=m(Em);constructor(n){this.options=n,this.options.scrollPositionRestoration||=`disabled`,this.options.anchorScrolling||=`disabled`,this.isHydrating&&m($n).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.setHistoryScrollRestoration(`manual`),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof hi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Bt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof qn&&n.code===ic.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{if(!(n instanceof mi)||n.scrollBehavior===`manual`)return;let r={behavior:`instant`};n.position?this.options.scrollPositionRestoration===`top`?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration===`enabled`&&this.viewportScroller.scrollToPosition(n.position,r):n.anchor&&this.options.anchorScrolling===`enabled`?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(n,r){if(this.isHydrating)return;let o=Ce(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>F$1(this,null,function*(){yield new Promise(i=>{setTimeout(i),typeof requestAnimationFrame<`u`&&requestAnimationFrame(i)}),this.zone.run(()=>{this.transitions.events.next(new mi(n,this.lastSource===`popstate`?this.store[this.restoredId]:null,r,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static ɵfac=function(r){yu()};static ɵprov=T({token:e,factory:e.ɵfac})}return e})();function j4(e,...t){return jr([{provide:Us,multi:!0,useValue:e},{provide:eo,useFactory:rM},{provide:Xa,multi:!0,useFactory:oM},t.map(n=>n.ɵproviders)])}function rM(){return m(st).routerState.root}function fc(e,t){return{ɵkind:e,ɵproviders:t}}function V4(e={}){return fc(4,[{provide:AT,useFactory:()=>new nM(e)}])}function oM(){let e=m(Dt);return t=>{let n=e.get($n);if(t!==n.components[0])return;let r=e.get(st),o=e.get(iM);e.get(xT)===1&&r.initialNavigation(),e.get(cM,null,{optional:!0})?.setUpPreloading(),e.get(AT,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var iM=new A(``,{factory:()=>new K});var xT=new A(``,{factory:()=>1});function sM(){return fc(2,[{provide:kp,useValue:!0},{provide:xT,useValue:0},th(()=>{let t=m(Dt);return t.get(yS,Promise.resolve()).then(()=>new Promise(r=>{let o=t.get(st),i=t.get(iM);Sm(o,()=>{r(!0)}),t.get(Em).afterPreactivation=()=>(r(!0),i.closed?O(void 0):i),o.initialNavigation()}))})])}function aM(){return fc(3,[th(()=>{m(st).setUpLocationChangeListener()}),{provide:xT,useValue:2}])}var cM=new A(``);function lM(e){return fc(0,[{provide:cM,useExisting:tM},{provide:td,useExisting:e}])}function uM(e={}){return fc(8,[{provide:Ju,useFactory:()=>new kN(e,m(TT,{optional:!0}))}])}function dM(e){Ut(`NgRouterViewTransitions`);return fc(9,[{provide:CT,useValue:ZN},{provide:IT,useValue:w$1({skipNextTransition:!!e?.skipInitialTransition},e)}])}var fM=[di,{provide:yi,useClass:Lo},st,gi,{provide:eo,useFactory:rM},ym];var $4=(()=>{class e{constructor(){}static forRoot(n,r){return{ngModule:e,providers:[fM,[],{provide:Us,multi:!0,useValue:n},[],r?.errorHandler?{provide:_T,useValue:r.errorHandler}:[],{provide:vi,useValue:r||{}},r?.useHash?z4():W4(),G4(),r?.preloadingStrategy?lM(r.preloadingStrategy).ɵproviders:[],r?.initialNavigation?q4(r):[],r?.bindToComponentInputs?uM(typeof r.bindToComponentInputs==`object`?r.bindToComponentInputs:{}).ɵproviders:[],r?.enableViewTransitions?dM().ɵproviders:[],Y4()]}}static forChild(n){return{ngModule:e,providers:[{provide:Us,multi:!0,useValue:n}]}}static ɵfac=function(r){return new(r||e)};static ɵmod=Vn({type:e});static ɵinj=Dn({})}return e})();function G4(){return{provide:AT,useFactory:()=>{let e=m(Ou),t=m(vi);return t.scrollOffset&&e.setOffset(t.scrollOffset),new nM(t)}}}function z4(){return{provide:Tr,useClass:_S}}function W4(){return{provide:Tr,useClass:Sh}}function q4(e){return[e.initialNavigation===`disabled`?aM().ɵproviders:[],e.initialNavigation===`enabledBlocking`?sM().ɵproviders:[]]}var wT=new A(``);function Y4(){return[{provide:wT,useFactory:oM},{provide:Xa,multi:!0,useExisting:wT}]}var hEe=x(w$1({},{primitive:{borderRadius:{none:`0`,xs:`2px`,sm:`4px`,md:`6px`,lg:`8px`,xl:`12px`}},semantic:{transitionDuration:`0`,focusRing:{width:`0`,style:`none`,color:`transparent`,offset:`0`},disabledOpacity:`0.6`,iconSize:`1rem`,anchorGutter:`2px`,primary:{50:`var(--primary-50)`,100:`var(--primary-100)`,200:`var(--primary-200)`,300:`var(--primary-300)`,400:`var(--primary-400)`,500:`var(--primary-500)`,600:`var(--primary-600)`,700:`var(--primary-700)`,800:`var(--primary-800)`,900:`var(--primary-900)`,950:`var(--primary-950)`},formField:{paddingX:`var(--input-x-padding)`,paddingY:`var(--input-y-padding)`,borderRadius:`var(--input-border-radius)`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`},transitionDuration:`{transition.duration}`},list:{padding:`0.5rem 0`,gap:`0`,header:{padding:`0.5rem 1rem 0.5rem 1rem`},option:{padding:`0.5rem 1rem`,borderRadius:`0`},optionGroup:{padding:`0.5rem 1rem`,fontWeight:`600`}}
14,content:{borderRadius:`{border.radius.md}`},mask:{transitionDuration:`0.15s`},navigation:{list:{padding:`0.5rem 0`,gap:`0`},item:{padding:`0.5rem 1rem`,borderRadius:`0`,gap:`0.5rem`},submenuLabel:{padding:`0.5rem 1rem`,fontWeight:`600`},submenuIcon:{size:`0.875rem`}},overlay:{select:{borderRadius:`{border.radius.md}`,shadow:`0 2px 12px 0 rgba(0, 0, 0, 0.1)`},popover:{borderRadius:`{border.radius.md}`,padding:`1rem`,shadow:`0 1px 3px rgba(0, 0, 0, 0.1)`},modal:{borderRadius:`{border.radius.xl}`,padding:`1.5rem`,shadow:`0 1px 3px rgba(0, 0, 0, 0.3)`},navigation:{shadow:`0 2px 12px 0 rgba(0, 0, 0, 0.1)`}},colorScheme:{light:{surface:{0:`var(--bg-secondary-0)`,50:`var(--bg-secondary-50)`,100:`var(--bg-secondary-100)`,200:`var(--bg-secondary-200)`,300:`var(--bg-secondary-300)`,400:`var(--bg-secondary-400)`,500:`var(--bg-secondary-500)`,600:`var(--bg-secondary-600)`,700:`var(--bg-secondary-700)`,800:`var(--bg-secondary-800)`,900:`var(--bg-secondary-900)`,950:`var(--bg-secondary-950)`},primary:{color:`{primary.500}`,contrastColor:`var(--on-primary)`,hoverColor:`{primary.600}`,activeColor:`{primary.700}
14`},highlight:{background:`var(--primary)`,focusBackground:`var(--primary)`,color:`var(--on-primary)`,focusColor:`var(--on-primary)`},focusRing:{shadow:`0 0 0 0.2rem var(--fg-100)`},mask:{background:`rgba(0,0,0,0.4)`,color:`{surface.200}`},formField:{background:`var(--input-bg)`,disabledBackground:`inherit`,filledBackground:`{surface.50}`,filledHoverBackground:`{surface.50}`,filledFocusBackground:`{surface.0}`,borderColor:`var(--input-border-color)`,hoverBorderColor:`var(--input-border-color)`,focusBorderColor:`var(--input-border-color)`,invalidBorderColor:`var(--red)`,color:`var(--input-fg)`,disabledColor:`var(--fg-300)`,placeholderColor:`var(--input-placeholder-color)`,invalidPlaceholderColor:`var(--red)`,floatLabelColor:`var(--fg-300)`,floatLabelFocusColor:`var(--primary)`,floatLabelActiveColor:`var(--fg)`,floatLabelInvalidColor:`{form.field.invalid.placeholder.color}`,iconColor:`var(--fg-300)`,shadow:`none`},text:{color:`var(--fg)`,hoverColor:`var(--fg)`,mutedColor:`var(--fg)`,hoverMutedColor:`var(--fg)`},content:{background:`var(--bg)`,hoverBackground:`var(--bg)`,borderColor:`var(--input-border-color)`,color:`var(--fg)`,hoverColor:`var(--fg)`},overlay:{select:{background:`var(--bg)`,borderColor:`var(--input-border-color)`,color:`var(--fg)`},popover:{background:`var(--bg)`,borderColor:`var(--input-border-color)`,color:`var(--fg)`},modal:{background:`var(--bg)`,borderColor:`var(--input-border-color)`,color:`var(--fg)`}},list:{option:{focusBackground:`var(--bg-secondary-450)`,selectedBackground:`var(--bg-secondary-500)`,selectedFocusBackground:`var(--bg-secondary-500)`,color:`{text.color}`,focusColor:`{text.color}`,selectedColor:`{text.color}`,selectedFocusColor:`{text.color}`,icon:{color:`{surface.400}`,focusColor:`{surface.500}`}},optionGroup:{background:`var(--bg-secondary-500)`,color:`{text.color}`}},navigation:{item:{focusBackground:`{surface.100}`,activeBackground:`{surface.100}`,color:`{text.color}`,focusColor:`{text.hover.color}`,activeColor:`{text.hover.color}`,icon:{color:`{surface.400}`,focusColor:`{surface.500}`,activeColor:`{surface.500}`}},submenuLabel:{background:`transparent`,color:`{text.color}`},submenuIcon:{color:`{surface.400}`,focusColor:`{surface.500}`,activeColor:`{surface.500}`}}}}}}),{components:{select:{root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}},dropdown:{width:`2.5rem`,color:`{form.field.icon.color}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},list:{padding:`{list.padding}`,gap:`{list.gap}`,header:{padding:`{list.header.padding}`}},option:{focusBackground:`{list.option.focus.background}`,selectedBackground:`{list.option.selected.background}`,selectedFocusBackground:`{list.option.selected.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{list.option.selected.color}`,selectedFocusColor:`{list.option.selected.focus.color}`,padding:`{list.option.padding}
14`,borderRadius:`{list.option.border.radius}`},optionGroup:{background:`{list.option.background}`,color:`{list.option.group.color}`,fontWeight:`{list.option.group.font.weight}`,padding:`{list.option.group.padding}`},clearIcon:{color:`{form.field.icon.color}`},checkmark:{color:`{list.option.color}`,gutterStart:`-0.375rem`,gutterEnd:`0.375rem`},emptyMessage:{padding:`{list.option.padding}`}},inputchips:{root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`},chip:{borderRadius:`var(--input-border-radius)`},colorScheme:{light:{chip:{focusBackground:`{surface.200}`,color:`{surface.800}`}},dark:{chip:{focusBackground:`{surface.700}`,color:`{surface.0}`}}}},chip:{root:{borderRadius:`4px`,paddingX:`15px`,paddingY:`2px`,gap:`0.5rem`,transitionDuration:`{transition.duration}`},image:{width:`2rem`,height:`2rem`},icon:{size:`1rem`},removeIcon:{size:`1rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},colorScheme:{light:{root:{background:`var(--input-bg-550)`,color:`var(--fg)`},icon:{color:`var(--fg)`},removeIcon:{color:`var(--fg)`}}}},colorpicker:{root:{transitionDuration:`{transition.duration}`},preview:{width:`100%`,height:`1.5rem`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},panel:{shadow:`{overlay.popover.shadow}`,borderRadius:`{overlay.popover.borderRadius}`},colorScheme:{light:{panel:{background:`var(--bg-secondary-400)`,borderColor:`var(--bg-secondary-450)`},handle:{color:`var(--fg)`}}}},datepicker:{root:{transitionDuration:`{transition.duration}`},panel:{background:`var(--bg-secondary-400)`,borderColor:`{content.border.color}`,color:`var(--fg)`,borderRadius:`{content.border.radius}`,shadow:`{overlay.popover.shadow}`,padding:`{overlay.popover.padding}`},header:{background:`var(--bg-secondary-400)`,borderColor:`{content.border.color}`,color:`{content.color}`,padding:`0 0 0.75rem 0`},title:{gap:`0.5rem`,fontWeight:`700`},dropdown:{width:`2.5rem`,sm:{width:`2rem`},lg:{width:`3rem`},borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.border.color}`,activeBorderColor:`{form.field.border.color}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`}},inputIcon:{color:`{form.field.icon.color}`},selectMonth:{hoverBackground:`var(--bg-secondary-500)`,color:`{content.color}`,hoverColor:`{content.hover.color}`,padding:`0.375rem 0.625rem`,borderRadius:`{content.border.radius}`},selectYear:{hoverBackground:`var(--bg-secondary-500)`,color:`{content.color}`,hoverColor:`{content.hover.color}`,padding:`0.375rem 0.625rem`,borderRadius:`{content.border.radius}`},group:{borderColor:`{content.border.color}`,gap:`{overlay.popover.padding}`},dayView:{margin:`0.25rem 0 0 0`},weekDay:{padding:`0.375rem`,fontWeight:`700`,color:`{content.color}`},date:{hoverBackground:`var(--bg-secondary-500)`,selectedBackground:`{primary.color}
14`,rangeSelectedBackground:`{highlight.background}`,color:`var(--fg)`,hoverColor:`{content.hover.color}`,selectedColor:`{primary.contrast.color}`,rangeSelectedColor:`{highlight.color}`,width:`auto`,height:`1.75rem`,borderRadius:`3px`,padding:`0.15rem`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`}},monthView:{margin:`0.25rem 0 0 0`},month:{padding:`0.5rem`,borderRadius:`{content.border.radius}`},yearView:{margin:`0.75rem 0 0 0`},year:{padding:`0.5rem`,borderRadius:`{content.border.radius}`},buttonbar:{padding:`0.75rem 0 0 0`,borderColor:`{content.border.color}`},timePicker:{padding:`0.75rem 0 0 0`,borderColor:`{content.border.color}`,gap:`0.5rem`,buttonGap:`0.25rem`},colorScheme:{light:{dropdown:{background:`var(--bg-secondary-400)`,hoverBackground:`var(--bg-secondary-500)`,activeBackground:`var(--primary)`,color:`var(--fg)`,hoverColor:`var(--fg)`,activeColor:`var(--on-primary)`},today:{background:`var(--bg-secondary-600)`,color:`var(--fg)`}}}},inputtext:{root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}}},toast:{root:{width:`25rem`,borderRadius:`{content.border.radius}`,borderWidth:`0 0 0 6px`,transitionDuration:`{transition.duration}`},icon:{size:`1.25rem`},content:{padding:`10px`,gap:`0.5rem`},text:{gap:`0.5rem`},summary:{fontWeight:`500`,fontSize:`1rem`},detail:{fontWeight:`500`,fontSize:`0.875rem`},closeButton:{width:`2rem`,height:`2rem`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,offset:`{focus.ring.offset}`}},closeIcon:{size:`1rem`},colorScheme:{light:{root:{blur:`1.5px`},info:{background:`color-mix(in srgb, {blue.50}, transparent 5%)`,borderColor:`{blue.500}`,color:`{blue.600}`,detailColor:`{surface.700}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{blue.100}`,focusRing:{color:`{focus.ring.color}`,shadow:`0 0 0 0.2rem {blue.200}`}}},success:{background:`color-mix(in srgb, {green.50}, transparent 5%)`,borderColor:`{green.500}`,color:`{green.600}`,detailColor:`{surface.700}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{green.100}`,focusRing:{color:`{focus.ring.color}`,shadow:`0 0 0 0.2rem {green.200}`}}},warn:{background:`color-mix(in srgb,{yellow.50}, transparent 5%)`,borderColor:`{yellow.500}`,color:`{yellow.600}`,detailColor:`{surface.700}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{yellow.100}`,focusRing:{color:`{focus.ring.color}`,shadow:`0 0 0 0.2rem {yellow.200}`}}},error:{background:`color-mix(in srgb, {red.50}, transparent 5%)`,borderColor:`{red.500}`,color:`{red.600}`,detailColor:`{surface.700}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{red.100}`,focusRing:{color:`{focus.ring.color}`,shadow:`0 0 0 0.2rem {red.200}`}}},secondary:{background:`{surface.100}`,borderColor:`{surface.500}`,color:`{surface.600}`,detailColor:`{surface.700}`,shadow:`{overlay.popover.shadow}
14`,closeButton:{hoverBackground:`{surface.200}`,focusRing:{color:`{focus.ring.color}`,shadow:`0 0 0 0.2rem {surface.200}`}}},contrast:{background:`{surface.900}`,borderColor:`{primary.color}`,color:`{surface.50}`,detailColor:`{surface.0}`,shadow:`{overlay.popover.shadow}`,closeButton:{hoverBackground:`{surface.800}`,focusRing:{color:`{focus.ring.color}`,shadow:`0 0 0 0.2rem {surface.400}`}}}}}},autocomplete:{root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.placeholder.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},list:{padding:`{list.padding}`,gap:`{list.gap}`},option:{focusBackground:`{list.option.focus.background}`,selectedBackground:`{list.option.selected.background}`,selectedFocusBackground:`{list.option.selected.focus.background}`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{list.option.selected.color}`,selectedFocusColor:`{list.option.selected.focus.color}`,padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`},optionGroup:{background:`{list.option.group.background}`,color:`{list.option.group.color}`,fontWeight:`{list.option.group.font.weight}`,padding:`{list.option.group.padding}`},dropdown:{width:`2.5rem`,sm:{width:`2rem`},lg:{width:`3rem`},borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.border.color}`,activeBorderColor:`{form.field.border.color}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`}},chip:{borderRadius:`{border.radius.sm}`},emptyMessage:{padding:`{list.option.padding}`},colorScheme:{light:{chip:{focusBackground:`{surface.200}`,focusColor:`{surface.800}`},dropdown:{background:`{surface.50}`,hoverBackground:`{surface.100}`,activeBackground:`{surface.200}`,color:`{surface.600}`,hoverColor:`{surface.700}`,activeColor:`{surface.800}`}}}},multiselect:{root:{background:`{form.field.background}`,disabledBackground:`{form.field.disabled.background}`,filledBackground:`{form.field.filled.background}`,filledHoverBackground:`{form.field.filled.hover.background}`,filledFocusBackground:`{form.field.filled.focus.background}`,borderColor:`{form.field.border.color}`,hoverBorderColor:`{form.field.hover.border.color}`,focusBorderColor:`{form.field.focus.border.color}`,invalidBorderColor:`{form.field.invalid.border.color}`,color:`{form.field.color}`,disabledColor:`{form.field.disabled.color}`,placeholderColor:`{form.field.color}`,invalidPlaceholderColor:`{form.field.invalid.placeholder.color}`,shadow:`{form.field.shadow}`,paddingX:`{form.field.padding.x}`,paddingY:`{form.field.padding.y}`,borderRadius:`{form.field.border.radius}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`{form.field.transition.duration}`,sm:{fontSize:`{form.field.sm.font.size}`,paddingX:`{form.field.sm.padding.x}`,paddingY:`{form.field.sm.padding.y}`},lg:{fontSize:`{form.field.lg.font.size}`,paddingX:`{form.field.lg.padding.x}`,paddingY:`{form.field.lg.padding.y}`}},dropdown:{width:`2.5rem`,color:`{form.field.icon.color}`},overlay:{background:`{overlay.select.background}`,borderColor:`{overlay.select.border.color}
14`,borderRadius:`{overlay.select.border.radius}`,color:`{overlay.select.color}`,shadow:`{overlay.select.shadow}`},list:{padding:`{list.padding}`,gap:`{list.gap}`,header:{padding:`{list.header.padding}`}},option:{focusBackground:`var(--bg-secondary-400)`,selectedBackground:`{overlay.select.background}`,selectedFocusBackground:`var(--bg-secondary-400)`,color:`{list.option.color}`,focusColor:`{list.option.focus.color}`,selectedColor:`{overlay.select.color}`,selectedFocusColor:`{overlay.select.color}`,padding:`{list.option.padding}`,borderRadius:`{list.option.border.radius}`,gap:`0.5rem`},optionGroup:{background:`{list.option.group.background}`,color:`{list.option.group.color}`,fontWeight:`{list.option.group.font.weight}`,padding:`{list.option.group.padding}`},clearIcon:{color:`{form.field.icon.color}`},chip:{borderRadius:`{border.radius.sm}`},emptyMessage:{padding:`{list.option.padding}`}},checkbox:{root:{borderRadius:`3px`,width:`18px`,height:`18px`,background:`var(--bg)`,checkedBackground:`var(--primary)`,checkedHoverBackground:`var(--primary)`,disabledBackground:`var(--bg)`,filledBackground:`var(--primary)`,borderColor:`var(--fg-100)`,hoverBorderColor:`var(--fg)`,focusBorderColor:`var(--fg)`,checkedBorderColor:`var(--primary)`,checkedHoverBorderColor:`var(--primary)`,checkedFocusBorderColor:`var(--primary)`,checkedDisabledBorderColor:`var(--fg-100)`,invalidBorderColor:`{form.field.invalid.border.color}`,shadow:`{form.field.shadow}`,focusRing:{width:`{form.field.focus.ring.width}`,style:`{form.field.focus.ring.style}`,color:`{form.field.focus.ring.color}`,offset:`{form.field.focus.ring.offset}`,shadow:`{form.field.focus.ring.shadow}`},transitionDuration:`0.2s`,sm:{width:`1.25rem`,height:`1.25rem`},lg:{width:`1.75rem`,height:`1.75rem`}},icon:{size:`14px`,color:`{form.field.color}`,checkedColor:`var(--on-primary)`,checkedHoverColor:`var(--on-primary)`,disabledColor:`{form.field.disabled.color}`,sm:{size:`0.75rem`},lg:{size:`1.25rem`}}},datatable:{root:{transitionDuration:`{transition.duration}`},header:{borderColor:`{datatable.border.color}`,borderWidth:`0`,padding:`0.5rem 0 1rem`,sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},headerCell:{selectedBackground:`var(--bg)`,borderColor:`{datatable.border.color}`,hoverColor:`{content.hover.color}`,selectedColor:`var(--fg-200)`,gap:`0.5rem`,padding:`10px 0.25rem 10px 1rem`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`inset {focus.ring.shadow}`},sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},columnTitle:{fontWeight:`normal`},row:{background:`{content.background}`,hoverBackground:`var(--bg-secondary-350)`,selectedBackground:`{content.background}`,color:`{content.color}`,hoverColor:`{content.hover.color}`,selectedColor:`{content.color}`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`inset {focus.ring.shadow}`}},bodyCell:{borderColor:`transparent`,padding:`5px 2px 5px 1rem`,sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},footerCell:{borderColor:`{datatable.border.color}`,padding:`0.75rem 1rem`,sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},columnFooter:{fontWeight:`700`},footer:{borderColor:`{datatable.border.color}`,borderWidth:`0 0 1px 0`,padding:`0.75rem 1rem`,sm:{padding:`0.375rem 0.5rem`},lg:{padding:`1rem 1.25rem`}},dropPoint:{color:`var(--border-primary)`},columnResizer:{width:`0.5rem`},resizeIndicator:{width:`1px`,color:`{primary.color}`},sortIcon:{color:`{text.muted.color}`,hoverColor:`{text.hover.muted.color}`,size:`0.875rem`},loadingIcon:{size:`2rem`},rowToggleButton:{hoverBackground:`{content.hover.background}`,selectedHoverBackground:`{content.background}`,color:`{text.muted.color}`,hoverColor:`{text.color}`,selectedHoverColor:`{primary.color}`,size:`1.75rem`,borderRadius:`50%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},paginatorTop:{borderColor:`{datatable.border.color}`,borderWidth:`0 0 1px 0`},paginatorBottom:{borderColor:`{datatable.border.color}`,borderWidth:`0 0 1px 0`},colorScheme:{light:{root:{borderColor:`var(--bg-secondary-450)`},header:{background:`var(--bg)`,color:`var(--fg)`}
14,headerCell:{background:`var(--bg)`,hoverBackground:`var(--bg-secondary-400)`,color:`var(--fg-200)`},footer:{background:`var(--bg)`,color:`{text.color}`},footerCell:{background:`var(--bg)`,color:`{text.color}`},row:{stripedBackground:`var(--bg-secondary-350)`},bodyCell:{selectedBorderColor:`transparent`}}}},paginator:{root:{padding:`5px 0`,gap:`10px`,borderRadius:`{content.border.radius}`,background:`{content.background}`,color:`{content.color}`,transitionDuration:`{transition.duration}`},navButton:{background:`transparent`,hoverBackground:`var(--bg-secondary-400)`,selectedBackground:`var(--bg-secondary-450)`,color:`var(--fg)`,hoverColor:`var(--fg)`,selectedColor:` var(--fg)`,width:`34px`,height:`34px`,borderRadius:`100%`,focusRing:{width:`{focus.ring.width}`,style:`{focus.ring.style}`,color:`{focus.ring.color}`,offset:`{focus.ring.offset}`,shadow:`{focus.ring.shadow}`}},currentPageReport:{color:`var(--fg-300)`},jumpToPageInput:{maxWidth:`2.5rem`}}}});function K4(e){let t=Math.floor(Math.abs(e));return t===0||t===1?1:5}var yEe=[`oc`,[[`a. m.`,`p. m.`],void 0,void 0],void 0,[[`dg`,`dl`,`dm`,`dc`,`dj`,`dv`,`ds`],[`dg.`,`dl.`,`dm.`,`dc.`,`dj.`,`dv.`,`ds.`],[`dimenge`,`diluns`,`dimars`,`dimècres`,`dijòus`,`divendres`,`dissabte`],[`dg.`,`dl.`,`dm.`,`dc.`,`dj.`,`dv.`,`ds.`]],void 0,[[`GN`,`FB`,`MÇ`,`AB`,`MA`,`JN`,`JL`,`AG`,`ST`,`OC`,`NV`,`DC`],[`de gen.`,`de febr.`,`de març`,`d’abr.`,`de mai`,`de junh`,`de jul.`,`d’ag.`,`de set.`,`d’oct.`,`de nov.`,`de dec.`],[`de genièr`,`de febrièr`,`de març`,`d’abril`,`de mai`,`de junh`,`de julhet`,`d’agòst`,`de setembre`,`d’octòbre`,`de novembre`,`de decembre`]],[[`GN`,`FB`,`MÇ`,`AB`,`MA`,`JN`,`JL`,`AG`,`ST`,`OC`,`NV`,`DC`],[`gen.`,`febr.`,`març`,`abr.`,`mai`,`junh`,`jul.`,`ag.`,`set.`,`oct.`,`nov.`,`dec.`],[`genièr`,`febrièr`,`març`,`abril`,`mai`,`junh`,`julhet`,`agòst`,`setembre`,`octòbre`,`novembre`,`decembre`]],[[`aC`,`dC`],void 0,[`abans Jèsus-Crist`,`aprèp Jèsus-Crist`]],1,[6,0],[`d/M/yy`,`d MMM y`,`d MMMM 'de' y`,`EEEE, d MMMM 'de' y`],[`H:mm`,`H:mm:ss`,`H:mm:ss z`,`H:mm:ss zzzz`],[`{1} {0}`,`{1}, {0}`,`{1} 'a' 'les' {0}`,void 0],[`,`,`.`,`;`,`%`,`+`,`-`,`E`,`×`,`‰`,`∞`,`NaN`,`:`],[`#,##0.###`,`#,##0%`,`#,##0.00 ¤`,`#E0`],`EUR`,`€`,`euro`,{ARS:[`$AR`,`$`],AUD:[`$AU`,`$`],BEF:[`FB`],BMD:[`$BM`,`$`],BND:[`$BN`,`$`],BZD:[`$BZ`,`$`],CAD:[`$CA`,`$`],CLP:[`$CL`,`$`],CNY:[void 0,`¥`],COP:[`$CO`,`$`],CYP:[`£CY`],EGP:[void 0,`£E`],FJD:[`$FJ`,`$`],FKP:[`£FK`,`£`],FRF:[`F`],GBP:[`£GB`,`£`],GIP:[`£GI`,`£`],HKD:[void 0,`$`],IEP:[`£IE`],ILP:[`£IL`],ITL:[`₤IT`],JPY:[void 0,`¥`],KMF:[void 0,`FC`],LBP:[`£LB`,`£L`],MTP:[`£MT`],MXN:[`$MX`,`$`],NAD:[`$NA`,`$`],NIO:[void 0,`$C`],NZD:[`$NZ`,`$`],RHD:[`$RH`],RON:[void 0,`L`],RWF:[void 0,`FR`],SBD:[`$SB`,`$`],SGD:[`$SG`,`$`],SRD:[`$SR`,`$`],TOP:[void 0,`$T`],TTD:[`$TT`,`$`],TWD:[void 0,`NT$`],USD:[`$US`,`$`],UYU:[`$UY`,`$`],WST:[`$WS`],XCD:[void 0,`$`],XPF:[`FCFP`],ZMW:[void 0,`Kw`]},`ltr`,K4];var Je={ALL:0,MANAGE_USERS:1,MANAGE_SERVER_FOLLOW:2,MANAGE_LOGS:3,MANAGE_DEBUG:4,MANAGE_SERVER_REDUNDANCY:5,MANAGE_ABUSES:6,MANAGE_JOBS:7,MANAGE_CONFIGURATION:8,MANAGE_INSTANCE_CUSTOM_PAGE:9,MANAGE_SERVER_ACCOUNTS_BLOCKLIST:10,MANAGE_SERVER_SERVERS_BLOCKLIST:11,MANAGE_VIDEO_BLACKLIST:12,MANAGE_ANY_VIDEO_CHANNEL:13,REMOVE_ANY_VIDEO:14,REMOVE_ANY_VIDEO_PLAYLIST:15,MANAGE_ANY_VIDEO_COMMENT:16,UPDATE_ANY_VIDEO:17,UPDATE_ANY_VIDEO_PLAYLIST:18,GET_ANY_LIVE:19,SEE_ALL_VIDEOS:20,SEE_ALL_COMMENTS:21,CHANGE_VIDEO_OWNERSHIP:22,MANAGE_PLUGINS:23,MANAGE_VIDEOS_REDUNDANCIES:24,MANAGE_VIDEO_FILES:25,RUN_VIDEO_TRANSCODING:26,MANAGE_VIDEO_IMPORTS:27,MANAGE_REGISTRATIONS:28,MANAGE_RUNNERS:29,MANAGE_USER_EXPORTS:30,MANAGE_USER_IMPORTS:31,MANAGE_INSTANCE_WATCHED_WORDS:32,MANAGE_INSTANCE_AUTO_TAGS:33,MANAGE_SERVER_BLOCKLIST_SUBSCRIPTIONS:34,CHANGE_CHANNEL_OWNERSHIP:35};var XEe={FILE_SYSTEM:0,OBJECT_STORAGE:1};var JEe={WAITING_FIRST_RUN:1,PROCESSING:2,SYNCED:3,FAILED:4};var Cbe={PENDING:1,PROCESSING:2,COMPLETED:3,ERRORED:4};var _be={PENDING:1,PROCESSING:2,COMPLETED:3,ERRORED:4};var Ube={PODCAST:`xml`,RSS:`xml`,ATOM:`atom`,JSON:`json`};var Hbe={VIDEOS:`videos`,PODCAST:`podcast`};var _t={CONTINUE_100:100,SWITCHING_PROTOCOLS_101:101,OK_200:200,CREATED_201:201,ACCEPTED_202:202,NO_CONTENT_204:204,RESET_CONTENT_205:205,PARTIAL_CONTENT_206:206,MULTIPLE_CHOICES_300:300,MOVED_PE
14RMANENTLY_301:301,FOUND_302:302,SEE_OTHER_303:303,NOT_MODIFIED_304:304,TEMPORARY_REDIRECT_307:307,PERMANENT_REDIRECT_308:308,BAD_REQUEST_400:400,UNAUTHORIZED_401:401,PAYMENT_REQUIRED_402:402,FORBIDDEN_403:403,NOT_FOUND_404:404,METHOD_NOT_ALLOWED_405:405,NOT_ACCEPTABLE_406:406,REQUEST_TIMEOUT_408:408,CONFLICT_409:409,GONE_410:410,LENGTH_REQUIRED_411:411,PRECONDITION_FAILED_412:412,PAYLOAD_TOO_LARGE_413:413,URI_TOO_LONG_414:414,UNSUPPORTED_MEDIA_TYPE_415:415,RANGE_NOT_SATISFIABLE_416:416,EXPECTATION_FAILED_417:417,I_AM_A_TEAPOT_418:418,UNPROCESSABLE_ENTITY_422:422,LOCKED_423:423,TOO_MANY_REQUESTS_429:429,REQUEST_HEADER_FIELDS_TOO_LARGE_431:431,UNAVAILABLE_FOR_LEGAL_REASONS_451:451,INTERNAL_SERVER_ERROR_500:500,NOT_IMPLEMENTED_501:501,BAD_GATEWAY_502:502,SERVICE_UNAVAILABLE_503:503,GATEWAY_TIMEOUT_504:504,HTTP_VERSION_NOT_SUPPORTED_505:505,INSUFFICIENT_STORAGE_507:507};var Po={VIOLENT_OR_REPULSIVE:1,HATEFUL_OR_ABUSIVE:2,SPAM_OR_MISLEADING:3,PRIVACY:4,RIGHTS:5,SERVER_RULES:6,THUMBNAILS:7,CAPTIONS:8};var Zbe={PENDING:1,REJECTED:2,ACCEPTED:3};var _M=Object.assign({},{"filter:api.trending-videos.videos.list.params":!0,"filter:api.trending-videos.videos.list.result":!0,"filter:api.most-liked-videos.videos.list.params":!0,"filter:api.most-liked-videos.videos.list.result":!0,"filter:api.local-videos.videos.list.params":!0,"filter:api.local-videos.videos.list.result":!0,"filter:api.recently-added-videos.videos.list.params":!0,"filter:api.recently-added-videos.videos.list.result":!0,"filter:api.browse-videos.videos.list.params":!0,"filter:api.browse-videos.videos.list.result":!0,"filter:api.user-subscriptions-videos.videos.list.params":!0,"filter:api.user-subscriptions-videos.videos.list.result":!0,"filter:api.video-watch.video.get.params":!0,"filter:api.video-watch.video.get.result":!0,"filter:api.video-watch.video-playlist-elements.get.params":!0,"filter:api.video-watch.video-playlist-elements.get.result":!0,"filter:api.video-watch.video-threads.list.params":!0,"filter:api.video-watch.video-threads.list.result":!0,"filter:api.video-watch.video-thread-replies.list.params":!0,"filter:api.video-watch.video-thread-replies.list.result":!0,"filter:api.video-watch.video-comment-replies.list.params":!0,"filter:api.video-watch.video-comment-replies.list.result":!0,"filter:api.search.videos.list.params":!0,"filter:api.search.videos.list.result":!0,"filter:api.search.video-channels.list.params":!0,"filter:api.search.video-channels.list.result":!0,"filter:api.search.video-playlists.list.params":!0,"filter:api.search.video-playlists.list.result":!0,"filter:api.signup.registration.create.params":!0,"filter:api.my-library.video-playlist-elements.list.params":!0,"filter:api.my-library.video-playlist-elements.list.result":!0,"filter:internal.video-watch.player.build-options.params":!0,"filter:internal.video-watch.player.build-options.result":!0,"filter:internal.video-watch.player.load-options.params":!0,"filter:internal.video-watch.player.load-options.result":!0,"filter:internal.common.svg-icons.get-content.params":!0,"filter:internal.common.svg-icons.get-content.result":!0,"filter:left-menu.links.create.result":!0,"filter:upload.messages.create.result":!0,"filter:login.instance-about-plugin-panels.create.result":!0,"filter:signup.instance-about-plugin-panels.create.result":!0,"filter:share.video-embed-code.build.params":!0,"filter:share.video-embed-code.build.result":!0,"filter:share.video-playlist-embed-code.build.params":!0,"filter:share.video-playlist-embed-code.build.result":!0,"filter:share.video-embed-url.build.params":!0,"filter:share.video-embed-url.build.result":!0,"filter:share.video-playlist-embed-url.build.params":!0,"filter:share.video-playlist-embed-url.build.result":!0,"filter:share.video-url.build.params":!0,"filter:share.video-url.build.result":!0,"filter:share.video-playlist-url.build.params":!0,"filter:share.video-playlist-url.build.result":!0,"filter:video-watch.video-plugin-metadata.result":!0,"filter:internal.player.videojs.options.result":!0,"filter:internal.player.p2p-media-loader.options.result":!0,"filter:admin-users-list.bulk-actions.create.result":!0,"filter:admin-video-comments-list.actions.create.result":!0,"filter:admin-video-comments-list.bulk-actions.create.result":!0,"filter:user-moderation.actions.create.result":!0,"filter:admin-abuse-list.actions.create.result":!0},{"action:application.init":!0,"action:video-watch.init":!0,"action:video-watch.video.loaded":!0,"action:video-watch.player.loaded":!0,"action:video-watch.video-threads.loaded":!0,"action:video-watch.video-thread-replies.loaded":!0,"action:video-channel-create.init":!0,"action:video-channel-update.init":!0,"action:video-channel-update.video-channel.loaded":!0,"action:video-channel-videos.init":!0,"action:video-channel-videos.video-channel.loaded":!0,"action:video-channel-videos.videos.loaded":!0,"action:video-channel-playlists.init":!0,"action:video-channel-playlists.video-channel.loaded":!0,"action:video-channel-playlists.playlists.loaded":!0,"action:video-edit.init":!0,"action:video-edit.form.updated":!0,"action:login.init":!0,"action:search.init":!0,"action:router.navigation-end":!0,"action:signup.register.init":!0,"action:admin-plugin-settings.init":!0,"action:video-upload.init":!0,"action:video-url-import.init":!0,"action:video-torrent-import.init":!0,"action:go-live.init":!0,"action:auth-user.logged-in":!0,"action:auth-user.logged-out":!0,"action:auth-user.information-loaded":!0,"action:modal.video-download.shown":!0,"action:modal.share.shown":!0,"action:embed.player.loaded":!0});Object.assign({},{"filter:api.videos.list.params":!0,"filter:api.videos.list.result":!0,"filter:api.video-playlist.videos.list.params":!0,"filter:api.video-playlist.videos.list.result":!0,"filter:api.accounts.videos.list.params":!0,"filter:api.accounts.videos.list.result":!0,"filter:api.video-channels.videos.list.params":!0,"filter:api.video-channels.videos.list.result":!0,"filter:api.user.me.videos.list.params":!0,"filter:api.user.me.videos.list.result":!0,"filter:api.overviews.videos.list.params":!0,"filter:api.overviews.videos.list.result":!0,"filter:api.user.me.subscription-vi
14deos.list.params":!0,"filter:api.user.me.subscription-videos.list.result":!0,"filter:api.search.videos.local.list.params":!0,"filter:api.search.videos.local.list.result":!0,"filter:api.search.videos.index.list.params":!0,"filter:api.search.videos.index.list.result":!0,"filter:api.search.video-channels.local.list.params":!0,"filter:api.search.video-channels.local.list.result":!0,"filter:api.search.video-channels.index.list.params":!0,"filter:api.search.video-channels.index.list.result":!0,"filter:api.search.video-playlists.local.list.params":!0,"filter:api.search.video-playlists.local.list.result":!0,"filter:api.search.video-playlists.index.list.params":!0,"filter:api.search.video-playlists.index.list.result":!0,"filter:api.video.get.result":!0,"filter:api.video-channels.list.params":!0,"filter:api.video-channels.list.result":!0,"filter:api.video-channel.get.result":!0,"filter:api.video.upload.accept.result":!0,"filter:api.live-video.create.accept.result":!0,"filter:api.video.pre-import-url.accept.result":!0,"filter:api.video.pre-import-torrent.accept.result":!0,"filter:api.video.post-import-url.accept.result":!0,"filter:api.video.post-import-torrent.accept.result":!0,"filter:api.video.update-file.accept.result":!0,"filter:api.video.user-import.accept.result":!0,"filter:api.video-thread.create.accept.result":!0,"filter:api.video-comment-reply.create.accept.result":!0,"filter:api.video.upload.video-attribute.result":!0,"filter:api.video.import-url.video-attribute.result":!0,"filter:api.video.import-torrent.video-attribute.result":!0,"filter:api.video.live.video-attribute.result":!0,"filter:api.video.user-import.video-attribute.result":!0,"filter:api.video-threads.list.params":!0,"filter:api.video-threads.list.result":!0,"filter:api.video-thread-comments.list.params":!0,"filter:api.video-thread-comments.list.result":!0,"filter:api.video-comment-replies.list.params":!0,"filter:api.video-comment-replies.list.result":!0,"filter:api.server.stats.get.result":!0,"filter:video.auto-blacklist.result":!0,"filter:api.user.signup.allowed.result":!0,"filter:api.user.signup.requires-approval.result":!0,"filter:api.user.request-signup.allowed.result":!0,"filter:api.download.video.allowed.result":!0,"filter:api.download.generated-video.allowed.result":!0,"filter:api.download.torrent.allowed.result":!0,"filter:html.embed.video.allowed.result":!0,"filter:html.embed.video-playlist.allowed.result":!0,"filter:html.client.json-ld.result":!0,"filter:job-queue.process.params":!0,"filter:job-queue.process.result":!0,"filter:transcoding.manual.resolutions-to-transcode.result":!0,"filter:transcoding.auto.resolutions-to-transcode.result":!0,"filter:activity-pub.remote-video-comment.create.accept.result":!0,"filter:activity-pub.activity.context.build.result":!0,"filter:activity-pub.video.json-ld.build.result":!0,"filter:feed.podcast.rss.create-custom-xmlns.result":!0,"filter:feed.podcast.channel.create-custom-tags.result":!0,"filter:feed.podcast.video-playlist.create-custom-tags.result":!0,"filter:feed.podcast.video.create-custom-tags.result":!0,"filter:api.user.me.get.result":!0,"filter:oauth.password-grant.get-user.params":!0,"filter:api.email-verification.ask-send-verify-email.body":!0,"filter:api.users.ask-reset-password.body":!0,"filter:email.subject.result":!0,"filter:email.template-path.result":!0,"filter:notifier.notification.enabled.result":!0,"filter:feed.videos.list.result":!0},{"action:application.listening":!0,"action:notifier.notification.created":!0,"action:api.video.updated":!0,"action:api.video.deleted":!0,"action:api.video.uploaded":!0,"action:api.video.viewed":!0,"action:api.video.file-updated":!0,"action:api.video-channel.created":!0,"action:api.video-channel.updated":!0,"action:api.video-channel.deleted":!0,"action:api.live-video.created":!0,"action:live.video.state.updated":!0,"action:api.video-thread.created":!0,"action:api.video-comment-reply.created":!0,"action:api.video-comment.deleted":!0,"action:api.video-caption.created":!0,"action:api.video-caption.deleted":!0,"action:api.user.blocked":!0,"action:api.user.unblocked":!0,"action:api.user.registered":!0,"action:api.user.requested-registration":!0,"action:api.user.created":!0,"action:api.user.deleted":!0,"action:api.user.updated":!0,"action:api.user.oauth2-got-token":!0,"action:api.video-playlist-element.created":!0,"action:activity-pub.remote-video.created":!0,"action:activity-pub.remote-video.updated":!0});var Hs={STATIC:1,ACTION:2,FILTER:3};var nd={PLUGIN:1,THEME:2};var NTe={PENDING:1,PROCESSING:2,COMPLETED:3,ERRORED:4,WAITING_FOR_PARENT_JOB:5,CANCELLED:6,PARENT_ERRORED:7,PARENT_CANCELLED:8,COMPLETING:9};var dDe={MAX_FILE_SIZE_REACHED:`max_file_size_reached`,QUOTA_REACHED:`quota_reached`,DOES_NOT_RESPECT_FOLLOW_CONSTRAINTS:`does_not_respect_follow_constraints`,LIVE_NOT_ENABLED:`live_not_enabled`,LIVE_NOT_ALLOWING_REPLAY:`live_not_allowing_replay`,LIVE_CONFLICTING_PERMANENT_AND_SAVE_REPLAY:`live_conflicting_permanent_and_save_replay`,MAX_INSTANCE_LIVES_LIMIT_REACHED:`max_instance_lives_limit_reached`,MAX_USER_LIVES_LIMIT_REACHED:`max_user_lives_limit_reached`,INCORRECT_FILES_IN_TORRENT:`incorrect_files_in_torrent`,COMMENT_NOT_ASSOCIATED_TO_VIDEO:`comment_not_associated_to_video`,INVALID_GRANT:`invalid_grant`,MISSING_TWO_FACTOR:`missing_two_factor`,TOO_LONG_PASSWORD:`too_long_password`,INVALID_TWO_FACTOR:`invali
14d_two_factor`,ACCOUNT_BLOCKED:`account_blocked`,EMAIL_NOT_VERIFIED:`email_not_verified`,ACCOUNT_WAITING_FOR_APPROVAL:`account_waiting_for_approval`,ACCOUNT_APPROVAL_REJECTED:`account_approval_rejected`,RUNNER_JOB_NOT_IN_PROCESSING_STATE:`runner_job_not_in_processing_state`,RUNNER_JOB_NOT_IN_PENDING_STATE:`runner_job_not_in_pending_state`,UNKNOWN_RUNNER_TOKEN:`unknown_runner_token`,VIDEO_REQUIRES_PASSWORD:`video_requires_password`,INCORRECT_VIDEO_PASSWORD:`incorrect_video_password`,VIDEO_ALREADY_BEING_TRANSCODED:`video_already_being_transcoded`,VIDEO_ALREADY_BEING_TRANSCRIBED:`video_already_being_transcribed`,VIDEO_ALREADY_HAS_CAPTIONS:`video_already_has_captions`,MAX_USER_VIDEO_QUOTA_EXCEEDED_FOR_USER_EXPORT:`max_user_video_quota_exceeded_for_user_export`,CURRENT_PASSWORD_IS_INVALID:`current_password_is_invalid`};var fDe={INVALID_GRANT:`invalid_grant`,INVALID_CLIENT:`invalid_client`,INVALID_TOKEN:`invalid_token`};var PDe={PENDING:1,REJECTED:2,ACCEPTED:3};var wM={NONE:0,BYPASS_VIDEO_AUTO_BLACKLIST:1};var GDe={NONE:0,CHANNEL_COLLABORATION:1};var WDe={NONE:0,WEB:1,EMAIL:2};var YDe={NEW_VIDEO_FROM_SUBSCRIPTION:1,NEW_COMMENT_ON_MY_VIDEO:2,NEW_ABUSE_FOR_MODERATORS:3,BLACKLIST_ON_MY_VIDEO:4,UNBLACKLIST_ON_MY_VIDEO:5,MY_VIDEO_PUBLISHED:6,MY_VIDEO_IMPORT_SUCCESS:7,MY_VIDEO_IMPORT_ERROR:8,NEW_USER_REGISTRATION:9,NEW_FOLLOW:10,COMMENT_MENTION:11,VIDEO_AUTO_BLACKLIST_FOR_MODERATORS:12,NEW_INSTANCE_FOLLOWER:13,AUTO_INSTANCE_FOLLOWING:14,ABUSE_STATE_CHANGE:15,ABUSE_NEW_MESSAGE:16,NEW_PLUGIN_VERSION:17,NEW_PEERTUBE_VERSION:18,MY_VIDEO_STUDIO_EDITION_FINISHED:19,NEW_USER_REGISTRATION_REQUEST:20,NEW_LIVE_FROM_SUBSCRIPTION:21,MY_VIDEO_TRANSCRIPTION_GENERATED:22,INVITED_TO_COLLABORATE_TO_CHANNEL:23,ACCEPTED_TO_COLLABORATE_TO_CHANNEL:24,REFUSED_TO_COLLABORATE_TO_CHANNEL:25,VIDEO_OWNERSHIP_CHANGED_REQUEST:26,VIDEO_OWNERSHIP_CHANGED_ACCEPTED:27,VIDEO_OWNERSHIP_CHANGED_REJECTED:28,CHANNEL_OWNERSHIP_CHANGED_REQUEST:29,CHANNEL_OWNERSHIP_CHANGED_ACCEPTED:30,CHANNEL_OWNERSHIP_CHANGED_REJECTED:31,AUTOMATIC_BLOCKLIST_UPDATE:32};var Yn={ADMINISTRATOR:0,MODERATOR:1,USER:2};var vCe={MANUAL:1,AUTO_BY_INSTANCE_POLICY:2,AUTO_BY_AUTO_TAG_POLICY:3};var wCe={PENDING:1,REJECTED:2,ACCEPTED:3};var LCe={PENDING:1,ACCEPTED:2,REJECTED:3};var kCe=[30,90,365,0];var e8=400;var t8=60;function FCe(e){return e===0||e>e8?`month`:e>=t8?`week`:`day`}var Dm={ENABLED:1,DISABLED:2,REQUIRES_APPROVAL:3};var eIe={BAD_SOCKET_HEALTH:1,DURATION_EXCEEDED:2,QUOTA_EXCEEDED:3,FFMPEG_ERROR:4,BLACKLISTED:5,RUNNER_JOB_ERROR:6,RUNNER_JOB_CANCEL:7,UNKNOWN_ERROR:8,INVALID_INPUT_VIDEO_STREAM:9};var nIe={DEFAULT:1,HIGH_LATENCY:2,SMALL_LATENCY:3};var Z={H_NOVIDEO:0,H_144P:144,H_240P:240,H_360P:360,H_480P:480,H_720P:720,H_1080P:1080,H_1440P:1440,H_4K:2160};var AM={PENDING:1,SUCCESS:2,FAILED:3,REJECTED:4,CANCELLED:5,PROCESSING:6};var CIe=[AM.FAILED,AM.CANCELLED];var NIe={REGULAR:0,DELETED:1,PRIVATE:2,UNAVAILABLE:3};var OIe={PUBLIC:1,UNLISTED:2,PRIVATE:3};var PIe={REGULAR:1,WATCH_LATER:2};var Cm={ALL_ALLOWED:1,ALLOWLIST:2,REMOTE_RESTRICTIONS:3,DISABLED:4};var Im={NONE:0,VIOLENT:1,EXPLICIT_SEX:2};Im.VIOLENT,Im.EXPLICIT_SEX;Im.VIOLENT,Im.EXPLICIT_SEX;var I0e={"CC-BY":1,"CC-BY-SA":2,"CC-BY-ND":3,"CC-BY-NC":4,"CC-BY-NC-SA":5,"CC-BY-NC-ND":6,CC0:7,PDM:8,ALL_RIGHTS_RESERVED:9};var on={PUBLIC:1,UNLISTED:2,PRIVATE:3,INTERNAL:4,PASSWORD_PROTECTED:5};var A0e={NONE:0,NOT_PUBLISHED_STATE:1,BLACKLISTED:2,BLOCKED_OWNER:4,FILES:8,CAPTIONS:16,SOURCE:32,AUTOMATIC_TAGS:64,TAGS:128};var rd={PUBLISHED:1,TO_TRANSCODE:2,TO_IMPORT:3,WAITING_FOR_LIVE:4,LIVE_ENDED:5,TO_MOVE_TO_EXTERNAL_STORAGE:6,TRANSCODING_FAILED:7,TO_MOVE_TO_EXTERNAL_STORAGE_FAILED:8,TO_EDIT:9,TO_MOVE_TO_FILE_SYSTEM:10,TO_MOVE_TO_FILE_SYSTEM_FAILED:11,TO_IMPORT_FAILED:12};var xM={HLS:1};var j_e={violentOrRepulsive:Po.VIOLENT_OR_REPULSIVE,hatefulOrAbusive:Po.HATEFUL_OR_ABUSIVE,spamOrMisleading:Po.SPAM_OR_MISLEADING,privacy:Po.PRIVACY,rights:Po.RIGHTS,serverRules:Po.SERVER_RULES,thumbnails:Po.THUMBNAILS,captions:Po.CAPTIONS};function $_e(e){return NM(e,new Date)}function G_e(e){let t=new Date;return t.setDate(t.getDate()-1),NM(e,t)}function z_e(e){let t=new Date;return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function W_e(e){return MM(new Date,e)<=30}function q_e(e){return MM(new Date,e)<=7}var RM=`(\\d+[h:])?(\\d+[m:])?\\d+s?`;function n8(e){if(!e)return 0;if(typeof e==`number`)return Math.floor(e);let t=new RegExp(`^((?<hours>\\d+)h)?((?<minutes>\\d+)m)?((?<seconds>\\d+)s?)?$`),n=e.match(t);if(n){let s=parseInt(n.groups.hours||`0`,10),a=parseInt(n.groups.minutes||`0`,10),c=parseInt(n.groups.seconds||`0`,10);return s*3600+a*60+c}let r=e.split(`:`).reverse(),o={0:1,1:60,2:3600},i=0;for(let s=0;s<r.length;s++){if(o[s]===void 0)return 0;let a=parseInt(r[s],10);if(isNaN(a))return 0;i+=o[s]*a}return i}function RT(e){let t,n=`short`,r;typeof e==`number`?t=e:(t=e.seconds,n=e.format??`short`,r=e.symbol);let o=``;if(t===0&&n!==`full`)return`0s`;t=Math.round(t);let i=d=>
14n===`locale-string`?d.toLocaleString():d,s=r||`h`,a=r||`m`,c=n===`full`?``:`s`,l=Math.floor(t/3600);l>=1&&l<10&&n===`full`?o=`0`+l+s:l>=1?o=i(l)+s:n===`full`&&(o=`00`+s),t%=3600;let u=Math.floor(t/60);return u>=1&&u<10&&n===`full`?o+=`0`+u+a:u>=1?o+=i(u)+a:n===`full`&&(o+=`00`+a),t%=60,t>=1&&t<10&&n===`full`?o+=`0`+t+c:t>=1?o+=i(t)+c:n===`full`&&(o+=`00`),o}function Y_e(e){let t=Math.round(e||0);return`${String(Math.floor(t/36e5)).padStart(2,`0`)}:${String(Math.floor(t%36e5/6e4)).padStart(2,`0`)}:${String(Math.floor(t%6e4/1e3)).padStart(2,`0`)}.${String(t%1e3).padStart(3,`0`)}`}function NM(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function MM(e,t){return(e.getTime()-t.getTime())/864e5}function _m(e){return Array.isArray(e)?e:e==null?[]:[e]}function J_e(e){return Array.from(new Set(e))}function OM(e,t,n){return[...e].sort((r,o)=>{let i=n?r[t][n]:r[t],s=n?o[t][n]:o[t];return i<s?-1:i===s?0:1})}function LM(e,t){let n;for(let r of e)(!n||n[t]<r[t])&&(n=r);return n}function twe(e,t){return Math.floor(Math.random()*(t-e)+e)}function PM(e,t,n){return e?NT(e.filter(r=>r.aspectRatio===n),t):null}function NT(e,t){if(!t)throw new Error(`Invalid width to find appropriate image`);if(!e||e.length===0)return;let n;for(let r of e)r.width>=t&&(!n||r.width<n.width)&&(n=r);return n||LM(e,`width`)}function swe(e,t){let n={};for(let r of t)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function awe(e,t){let n={},r=new Set(t);for(let[o,i]of Object.entries(e))r.has(o)||(n[o]=i);return n}function pc(e){return Object.keys(e)}function kM(e,t){return Object.keys(e).filter(n=>t.includes(n))}function cwe(e){return Object.assign(Object.create(Object.getPrototypeOf(e)),e)}function lwe(e){return e!=null}function r8(e,t){if(e===t||e===void 0&&t===void 0)return!0;if(typeof e!=`object`||typeof t!=`object`||e===null||t===null)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o of n)if(!r.includes(o)||!r8(e[o],t[o]))return!1;return!0}function MT(e){return e&&typeof e.then==`function`}function FM(e){return e&&typeof e.catch==`function`}function mwe(e){let{baseUrl:t,videoFiles:n,videoUUID:r,videoFileToken:o,extension:i=``}=e,s=`${t}/download/videos/generate/${r}${i}?`;return s+=n.map(a=>`videoFileIds=`+a).join(`&`),o&&(s+=`&videoFileToken=${o}`),s}function gwe(e,t){return(t??window.location.origin)+o8(e)}function o8(e){return`/w/p/`+e.shortUUID}function i8(e){return`/w/`+e.shortUUID}function UM(e,t){return(t??window.location.origin)+i8(e)}function s8(e){return`/video-playlists/embed/`+(e.shortUUID||e.uuid)}function ywe(e,t){return(t??window.location.origin)+s8(e)}function a8(e){return`/videos/embed/`+(e.shortUUID||e.uuid)}function vwe(e,t){return(t??window.location.origin)+a8(e)}function HM(e){let{url:t}=e,n=new URLSearchParams;if(e.startTime!==void 0&&e.startTime!==null){let r=Math.floor(e.startTime);n.set(`start`,RT(r))}if(e.stopTime){let r=Math.floor(e.stopTime);n.set(`stop`,RT(r))}return e.subtitle&&n.set(`subtitle`,e.subtitle),e.loop===!0&&n.set(`loop`,`1`),e.autoplay===!0&&n.set(`autoplay`,`1`),e.muted===!0&&n.set(`muted`,`1`),e.title===!1&&n.set(`title`,`0`),e.warningTitle===!1&&n.set(`warningTitle`,`0`),e.controls===!1&&n.set(`controls`,`0`),e.controlBar===!1&&n.set(`controlBar`,`0`),e.peertubeLink===!1&&n.set(`peertubeLink`,`0`),e.p2p!==void 0&&n.set(`p2p`,e.p2p?`1`:`0`),e.api!==void 0&&n.set(`api`,e.api?`1`:`0`),e.version!==void 0&&n.set(`v`,e.version+``),BM(t,n)}function Ewe(e){let{url:t}=e,n=new URLSearchParams;return e.playlistPosition&&n.set(`playlistPosition`,``+e.playlistPosition),BM(t,n)}function BM(e,t){let n=!1;return t.forEach(()=>{n=!0}),n?e+`?`+t.toString():e}function Swe(e,t){return e.startsWith(t+`-`)?-1:t.startsWith(e+`-`)?1:e.localeCompare(t,void 0,{numeric:!0,sensitivity:`case`,caseFirst:`upper`})}var c8={"en-US":`English`,ar:`العربية`,"ca-ES":`Català`,"cs-CZ":`Čeština`,"de-DE":`Deutsch`,"el-GR":`ελληνικά`,eo:`Esperanto`,"es-ES":`Español`,"eu-ES":`Euskara`,"fa-IR":`فارسی`,"fi-FI":`Suomi`,"fr-FR":`Français`,gd:`Gàidhlig`,"gl-ES":`Galego`,hr:`Hrvatski`,"hu-HU":`Magyar`,is:`Íslenska`,"it-
14IT":`Italiano`,"ja-JP":`日本語`,ka:`ქართული ენა`,kab:`Taqbaylit`,"ko-KR":`한국어`,"nb-NO":`Norsk bokmål`,"nl-NL":`Nederlands`,nn:`Norsk nynorsk`,oc:`Occitan`,"pl-PL":`Polski`,"pt-BR":`Português (Brasil)`,"pt-PT":`Português (Portugal)`,ro:`Română`,"ru-RU":`Pусский`,"sk-SK":`Slovenčina`,sq:`Shqip`,"sv-SE":`Svenska`,"th-TH":`ไทย`,tok:`Toki Pona`,"tr-TR":`Türkçe`,"uk-UA":`украї́нська мо́ва`,"vi-VN":`Tiếng Việt`,"zh-Hans-CN":`简体中文(中国)`,"zh-Hant-TW":`繁體中文(台灣)`};var jM={"ar-001":`ar`,ca:`ca-ES`,cs:`cs-CZ`,de:`de-DE`,el:`el-GR`,en:`en-US`,es:`es-ES`,eu:`eu-ES`,fa:`fa-IR`,fi:`fi-FI`,fr:`fr-FR`,gl:`gl-ES`,hu:`hu-HU`,it:`it-IT`,ja:`ja-JP`,ko:`ko-KR`,nb:`nb-NO`,nl:`nl-NL`,pl:`pl-PL`,pt:`pt-BR`,ru:`ru-RU`,sk:`sk-SK`,sv:`sv-SE`,th:`th-TH`,tr:`tr-TR`,uk:`uk-UA`,vi:`vi-VN`,"zh-CN":`zh-Hans-CN`,"zh-Hans":`zh-Hans-CN`,"zh-Hant":`zh-Hant-TW`,"zh-TW":`zh-Hant-TW`,zh:`zh-Hans-CN`};var l8=Object.keys(c8).concat(Object.keys(jM));function u8(){return`en-US`}function wm(e){return Ei(e)===Ei(u8())}function Am(e,t){return t?.[e]?t[e]:e}var d8=l8.map(e=>`/`+e);function Pwe(e){return d8.includes(e)}function Ei(e){return e&&(jM[e]||e)}function kwe(e){return e.includes(`-`)===!1?e:e.split(`-`)[0]}function VM(e){return e.startsWith(`filter:`)?Hs.FILTER:e.startsWith(`action:`)?Hs.ACTION:Hs.STATIC}function $M(e){return F$1(this,null,function*(){let{handler:t,hookType:n,result:r,params:o,onError:i}=e;try{if(n===Hs.FILTER){let a=t(r,o);return MT(a)?yield a:a}let s=t(o);if(n===Hs.STATIC){MT(s)&&(yield s);return}if(n===Hs.ACTION){FM(s)&&s.catch(a=>i(a));return}}catch(s){i(s)}return r})}function GM(e,t){return e+`/plugins/${t.name}/${t.version}/auth/${t.authName}`}function OT(){return[`a`,`p`,`span`,`br`,`strong`,`em`,`ul`,`ol`,`li`]}function LT(){return[`http`,`https`]}function PT(){return[`href`,`class`,`target`,`rel`]}var xm=[`linkify`,`autolink`,`emphasis`,`link`,`newline`,`entity`,`list`];var kT=xm.concat([`html_inline`,`html_block`]);var zM=xm.concat([`image`]);var FT=kT.concat([`image`]);var UT=FT.concat([`block`,`inline`,`heading`,`paragraph`]);function hc(e){let{url:t,title:n}=e;return{url:`${t}/feeds/videos.xml`,title:n}}function Kwe(e){let{url:t,titles:n,channel:r}=e;return[{url:HT(t,r),title:n.channelPodcastFeed},{url:HT(t,r,`audio`),title:n.channelPodcastAudioFeed},{url:HT(t,r,`video`),title:n.channelPodcastVideoFeed},{url:`${t}/feeds/videos.xml?videoChannelId=${r.id}`,title:n.channelVideosFeed},hc({url:t,title:n.instanceVideosFeed})]}function HT(e,t,n){let r=n?`&enclosurePreference=${n}`:``;return`${e}/feeds/podcast/videos.xml?videoChannelId=${t.id}${r}`}function Xwe(e){let{url:t,titles:n,video:r}=e;return r.privacy!==on.PUBLIC?[hc({url:t,title:n.instanceVideosFeed})]:[{url:`${t}/feeds/video-comments.xml?videoId=${r.uuid}`,title:n.videoCommentsFeed},hc({url:t,title:n.instanceVideosFeed})]}function Zwe(e){let{url:t,titles:n,playlist:r}=e;return[{url:BT(t,r),title:n.playlistPodcastFeed},{url:BT(t,r,`audio`),title:n.playlistPodcastAudioFeed},{url:BT(t,r,`video`),title:n.playlistPodcastVideoFeed},hc({url:t,title:n.instanceVideosFeed})]}function BT(e,t,n){let r=n?`&enclosurePreference=${n}`:``;return`${e}/feeds/podcast/videos.xml?playlistId=${t.id}${r}`}var oAe={[Yn.USER]:`User`,[Yn.MODERATOR]:`Moderator`,[Yn.ADMINISTRATOR]:`Administrator`};var f8={[Yn.ADMINISTRATOR]:[Je.ALL],[Yn.MODERATOR]:[Je.MANAGE_VIDEO_BLACKLIST,Je.MANAGE_ABUSES,Je.MANAGE_ANY_VIDEO_CHANNEL,Je.UPDATE_ANY_VIDEO_PLAYLIST,Je.REMOVE_ANY_VIDEO_PLAYLIST,Je.MANAGE_ANY_VIDEO_COMMENT,Je.REMOVE_ANY_VIDEO,Je.UPDATE_ANY_VIDEO,Je.SEE_ALL_VIDEOS,Je.MANAGE_SERVER_ACCOUNTS_BLOCKLIST,Je.MANAGE_SERVER_SERVERS_BLOCKLIST,Je.MANAGE_SERVER_BLOCKLIST_SUBSCRIPTIONS,Je.MANAGE_USERS,Je.SEE_ALL_COMMENTS,Je.MANAGE_REGISTRATIONS,Je.MANAGE_INSTANCE_WATCHED_WORDS,Je.MANAGE_INSTANCE_AUTO_TAGS,Je.CHANGE_VIDEO_OWNERSHIP,Je.CHANGE_CHANNEL_OWNERSHIP],[Yn.USER]:[]};function Rm(e,t){let n=f8[e];return n.includes(Je.ALL)||n.includes(t)}Z.H_NOVIDEO,Z.H_144P,Z.H_240P,Z.H_360P,Z.H_480P,Z.H_720P,Z.H_1080P,Z.H_1440P,Z.H_4K;Z.H_NOVIDEO,Z.H_144P,Z.H_240P,Z.H_360P,Z.H_480P,Z.H_720P,Z.H_1080P,Z.H_1440P,Z.H_4K;Z.H_NOVIDEO,Z.H_144P,Z.H_240P,Z.H_360P,Z.H_480P,Z.H_720P,Z.H_1080P,Z.H_1440P,Z.H_4K;function mAe(){return[on.PUBLIC,on.INTERNAL,on.PRIVATE,on.UNLISTED,on.PASSWORD_PROTECTED]}function gAe(e){let t=e.files||[],n=p8(e);return n&&Array.isArray(n.files)?t.concat(n.files):t}function p8(e){return Array.isArray(e.streamingPlaylists)?e.streamingPlaylists.find(t=>t.type===xM.HLS):null}Z.H_NOVIDEO,Z.H_144P,Z.H_240P,Z.H_360P,Z.H_480P,Z.H_720P,Z.H_1080P,Z.H_1440P,Z.H_4K;Z.H_4K,Z.H_1080P,Z.H_720P,Z.H_480P,Z.H_360P,Z.H_240P,Z.H_144P;function EAe(e,t){return t&&t>=50?e+t:e}function CAe(e){return new Set([rd.PUBLISHED,rd.TO_MOVE_TO_EXTERNAL_STORAGE_FAILED,rd.TO_MOVE_TO_FILE_SYSTEM_FAILED,rd.TRANSCODING_FAILED]).has(e)}new RegExp(`^(${RM})\\s`);function PAe(e){let t=0;if(!e)return t;for(let n of e)t=(t<<5)-t+n.charCodeAt(0),t|=0;return t}var bi=new Map;function WM(e){return new Proxy(e,{set:function(t,n,r){return Object.prototype.hasOwnProperty.call(od,n)?e[n]=r:e.setItem(n,r),!0},get:function(t,n){if(typeof e[n]==`function`)return e[n];if(bi.has(n))return e.getItem(n)}})}var od=class{getItem(t){let n=String(t);return bi.has(t)?String(bi.get(n)):null}
14setItem(t,n){bi.set(String(t),String(n))}removeItem(t){bi.delete(t)}clear(){bi.clear()}key(t){if(arguments.length===0)throw new TypeError(`Failed to execute "key" on "Storage": 1 argument required, but only 0 present.`);return Array.from(bi.keys())[t]}get length(){return bi.size}};var Kn;var id;function qM(){let e=new od,t=new od;Kn=WM(e),id=WM(t)}try{Kn=localStorage,id=sessionStorage}catch(e){qM()}(!Kn||!id)&&qM();var P={ID:`id`,USERNAME:`username`,ROLE:`role`,EMAIL:`email`,NSFW_POLICY:`nsfw_policy`,NSFW_FLAGS_DISPLAYED:`nsfw_flags_displayed`,NSFW_FLAGS_HIDDEN:`nsfw_flags_hidden`,NSFW_FLAGS_WARNED:`nsfw_flags_warned`,NSFW_FLAGS_BLURRED:`nsfw_flags_blurred`,P2P_ENABLED:`peertube-videojs-webtorrent_enabled`,AUTO_PLAY_VIDEO:`auto_play_video`,AUTO_PLAY_NEXT_VIDEO:`auto_play_next_video`,AUTO_PLAY_VIDEO_PLAYLIST:`auto_play_video_playlist`,THEME:`theme`,LAST_ACTIVE_THEME:`last_active_theme`,VIDEO_LANGUAGES:`video_languages`};var to={ACCESS_TOKEN:`access_token`,REFRESH_TOKEN:`refresh_token`,TOKEN_TYPE:`token_type`};var no=class e{accessToken;refreshToken;tokenType;constructor(t){t&&(this.accessToken=t.accessToken,this.refreshToken=t.refreshToken,t.tokenType===`bearer`?this.tokenType=`Bearer`:this.tokenType=t.tokenType)}static getUserTokens(t){let n=t.getItem(to.ACCESS_TOKEN),r=t.getItem(to.REFRESH_TOKEN),o=t.getItem(to.TOKEN_TYPE);return!n||!r||!o?null:new e({accessToken:n,refreshToken:r,tokenType:o})}static saveToLocalStorage(t,n){t.setItem(to.ACCESS_TOKEN,n.accessToken),t.setItem(to.REFRESH_TOKEN,n.refreshToken),t.setItem(to.TOKEN_TYPE,n.tokenType)}static flushLocalStorage(t){t.removeItem(to.ACCESS_TOKEN),t.removeItem(to.REFRESH_TOKEN),t.removeItem(to.TOKEN_TYPE)}};var jT=class{hooks=[];info(t,n){this.runHooks(`info`,t,n),n?console.log(t,n):console.log(t)}warn(t,n){this.runHooks(`warn`,t,n),this.clientWarn(t,n)}clientWarn(t,n){n?console.warn(t,n):console.warn(t)}error(t,n){this.runHooks(`error`,t,n),this.clientError(t,n)}clientError(t,n){n?console.error(t,n):console.error(t)}addHook(t,n){this.hooks.push({level:t,hook:n})}registerServerSending(t){this.addHook(`warn`,(n,r)=>this.sendClientLog(t,this.buildServerLogPayload(`warn`,n,r))),this.addHook(`error`,(n,r)=>this.sendClientLog(t,this.buildServerLogPayload(`error`,n,r)))}sendClientLog(t,n){if(!n)return;let r=new Headers({Accept:`application/json`,"Content-Type":`application/json`});try{let o=no.getUserTokens(Kn);o&&r.set(`Authorization`,`${o.tokenType} ${o.accessToken}`)}catch(o){console.error(`Cannot set tokens to client log sender.`,{err:o})}fetch(t+`/api/v1/server/logs/client`,{headers:r,method:`POST`,body:JSON.stringify(n)}).catch(o=>console.error(`Cannot send client warn/error to server.`,o))}buildServerLogPayload(t,n,r){return n?{message:this.buildMessageServerLogPayload(n),userAgent:navigator.userAgent,url:window.location.href,level:t,stackTrace:this.buildStackServerLogPayload(n,r),meta:this.buildMetaServerLogPayload(r)}:null}buildMessageServerLogPayload(t){return typeof t==`string`?t:t instanceof Error?t.message:JSON.stringify(t)}buildStackServerLogPayload(t,n){if(t instanceof Error)return this.buildStack(t);if(n instanceof Error)return this.buildStack(n);if(n?.err instanceof Error)return this.buildStack(n.err)}buildMetaServerLogPayload(t){if(!t||t instanceof Error)return;let n;try{n=JSON.stringify(t,(r,o)=>{if(r!==`err`)return o})}catch(r){console.error(`Cannot stringify meta.`,r)}return n}runHooks(t,n,r){for(let o of this.hooks)o.level===t&&o.hook(n,r)}buildStack(t){return`${t.message}
15${t.stack||``}`}};var j=window.logger||new jT;window.logger=j;var se={production:!0,hmr:!1,apiUrl:``,originServerUrl:``,embedUrl:``};var Nm=typeof global==`object`&&global&&global.Object===Object&&global;var m8=typeof self==`object`&&self&&self.Object===Object&&self;var et=Nm||m8||Function(`return this`)();var wt=et.Symbol;var YM=Object.prototype;var v8=YM.hasOwnProperty;var E8=YM.toString;var sd=wt?wt.toStringTag:void 0;function b8(e){var t=v8.call(e,sd),n=e[sd];try{e[sd]=void 0;var r=!0}catch(i){}var o=E8.call(e);return r&&(t?e[sd]=n:delete e[sd]),o}var KM=b8;var T8=Object.prototype.toString;function D8(e){return T8.call(e)}var XM=D8;var C8=`[object Null]`;
15var I8=`[object Undefined]`;var ZM=wt?wt.toStringTag:void 0;function _8(e){return e==null?e===void 0?I8:C8:ZM&&ZM in Object(e)?KM(e):XM(e)}var sn=_8;function w8(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var _e=w8;var A8=`[object AsyncFunction]`;var x8=`[object Function]`;var R8=`[object GeneratorFunction]`;var N8=`[object Proxy]`;function M8(e){if(!_e(e))return!1;var t=sn(e);return t==x8||t==R8||t==A8||t==N8}var mc=M8;var Mm=et[`__core-js_shared__`];var QM=(function(){var e=/[^.]+$/.exec(Mm&&Mm.keys&&Mm.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``})();function L8(e){return!!QM&&QM in e}var JM=L8;var k8=Function.prototype.toString;function F8(e){if(e!=null){try{return k8.call(e)}catch(t){}try{return e+``}catch(t){}}return``}var ko=F8;var U8=/[\\^$.*+?()[\]{}|]/g;var H8=/^\[object .+?Constructor\]$/;var B8=Function.prototype;var j8=Object.prototype;var V8=B8.toString;var $8=j8.hasOwnProperty;var G8=RegExp(`^`+V8.call($8).replace(U8,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function z8(e){if(!_e(e)||JM(e))return!1;return(mc(e)?G8:H8).test(ko(e))}var eO=z8;function W8(e,t){return e?.[t]}var tO=W8;function q8(e,t){var n=tO(e,t);return eO(n)?n:void 0}var En=q8;var gc=(function(){try{var e=En(Object,`defineProperty`);return e({},``,{}),e}catch(t){}})();function K8(e,t,n){t==`__proto__`&&gc?gc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Si=K8;function X8(e){return function(t,n,r){for(var o=-1,i=Object(t),s=r(t),a=s.length;a--;){var c=s[e?a:++o];if(n(i[c],c,i)===!1)break}return t}}var Om=X8();function Q8(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var rO=Q8;function J8(e){return e!=null&&typeof e==`object`}var at=J8;var eW=`[object Arguments]`;function tW(e){return at(e)&&sn(e)==eW}var VT=tW;var oO=Object.prototype;var nW=oO.hasOwnProperty;var rW=oO.propertyIsEnumerable;var Fo=VT((function(){return arguments})())?VT:function(e){return at(e)&&nW.call(e,`callee`)&&!rW.call(e,`callee`)};var Ge=Array.isArray;function sW(){return!1}var iO=sW;var cO=typeof exports==`object`&&exports&&!exports.nodeType&&exports;var sO=cO&&typeof module==`object`&&module&&!module.nodeType&&module;var aO=sO&&sO.exports===cO?et.Buffer:void 0;var Uo=(aO?aO.isBuffer:void 0)||iO;var uW=9007199254740991;var dW=/^(?:0|[1-9]\d*)$/;function fW(e,t){var n=typeof e;return t=t??uW,!!t&&(n==`number`||n!=`symbol`&&dW.test(e))&&e>-1&&e%1==0&&e<t}var Ti=fW;var pW=9007199254740991;function hW(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=pW}var yc=hW;var mW=`[object Arguments]`;var gW=`[object Array]`;var yW=`[object Boolean]`;var vW=`[object Date]`;var EW=`[object Error]`;var bW=`[object Function]`;var SW=`[object Map]`;var TW=`[object Number]`;var DW=`[object Object]`;var CW=`[object RegExp]`;var IW=`[object Set]`;var _W=`[object String]`;var wW=`[object WeakMap]`;var AW=`[object ArrayBuffer]`;var xW=`[object DataView]`;var RW=`[object Float32Array]`;var NW=`[object Float64Array]`;var MW=`[object Int8Array]`;var OW=`[object Int16Array]`;var LW=`[object Int32Array]`;var PW=`[object Uint8Array]`;var kW=`[object Uint8ClampedArray]`;var FW=`[object Uint16Array]`;var UW=`[object Uint32Array]`;var ke={};ke[RW]=ke[NW]=ke[MW]=ke[OW]=ke[LW]=ke[PW]=ke[kW]=ke[FW]=ke[UW]=!0;ke[mW]=ke[gW]=ke[AW]=ke[yW]=ke[xW]=ke[vW]=ke[EW]=ke[bW]=ke[SW]=ke[TW]=ke[DW]=ke[CW]=ke[IW]=ke[_W]=ke[wW]=!1;function HW(e){return at(e)&&yc(e.length)&&!!ke[sn(e)]}var lO=HW;function BW(e){return function(t){return e(t)}}var Di=BW;var uO=typeof exports==`object`&&exports&&!exports.nodeType&&exports;var ad=uO&&typeof module==`object`&&module&&!module.nodeType&&module;var $T=ad&&ad.exports===uO&&Nm.process;var Xn=(function(){try{return ad&&ad.require&&ad.require(`util`).types||$T&&$T.binding&&$T.binding(`util`)}catch(t){}})();var dO=Xn&&Xn.isTypedArray;var vc=dO?Di(dO):lO;var zW=Object.prototype.hasOwnProperty;function WW(e,t){var n=Ge(e),r=!n&&Fo(e),o=!n&&!r&&Uo(e),i=!n&&!r&&!o&&vc(e),s=n||r||o||i,a=s?rO(e.length,String):[],c=a.length;for(var l in e)(t||zW.call(e,l))&&!(s&&(l==`length`||o&&(l==`offset`||l==`parent`)||i&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||Ti(l,c)))&&a.push(l);return a}var Lm=WW;var qW=Object.prototype;function YW(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||qW)}var Ec=YW;function KW(e,t){return function(n){return e(t(n))}}var Pm=KW;var fO=Pm(Object.keys,Object);var QW=Object.prototype.hasOwnProperty;function JW(e){if(!Ec(e))return fO(e);var t=[];for(var n in Object(e))QW.call(e,n)&&n!=`constructor`&&t.push(n);return t}var pO=JW;function e6(e){return e!=null&&yc(e.length)&&!mc(e)}var Ci=e6;function t6(e){return Ci(e)?Lm(e):pO(e)}var ro=t6;function n6(e,t){return e&&Om(e,t,ro)}var hO=n6;function r6(){this.__data__=[],this.size=0}var mO=r6;function o6(e,t){return e===t||e!==e&&t!==t}var oo=o6;function i6(e,t){for(var n=e.length;n--;)if(oo(e[n][0],t))return n;return-1}var Ii=i6;var a6=Array.prototype.splice;function c6(e){var t=this.__data__,n=Ii(t,e);if(n<0)return!1;return n==t.length-1?t.pop():a6.call(t,n,1),--this.size,!0}var gO=c6;function l6(e){var t=this.__data__,n=Ii(t,e);return n<0?void 0:t[n][1]}var yO=l6;function u6(e){return Ii(this.__data__,e)>-1}var vO=u6;function d6(e,t){var n=this.__data__,r=Ii(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var EO=d6;function bc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}bc.prototype.clear=mO;bc.prototype.delete=gO;bc.prototype.get=yO;bc.prototype.has=vO;bc.prototype.set=EO;var _i=bc;function f6(){this.__data__=new _i,this.size=0}var bO=f6;function p6(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var SO=p6;function h6(e){return this.__data__.get(e)}var TO=h6;function m6(e){return this.__data__.has(e)}var DO=m6;var wi=En(et,`Map`);var Ho=En(Object,`create`);function v6(){this.__data__=Ho?Ho(null):{},this.size=0}var CO=v6;function E6(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var IO=E6;var b6=`__lodash_hash_undefined__`;var T6=Object.prototype.hasOwnProperty;function D6(e){var t=this.__data__;if(Ho){var n=t[e];return n===b6?void 0:n}return T6.call(t,e)?t[e]:void 0}var _O=D6;var I6=Object.prototype.hasOwnProperty;function _6(e){var t=this.__data__;return Ho?t[e]!==void 0:I6.call(t,e)}var wO=_6;var w6=`__lodash_hash_undefined__`;function A6(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ho&&t===void 0?w6:t,this}var AO=A6;function Sc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Sc.prototype.clear=CO;Sc.prototype.delete=IO;Sc.prototype.get=_O;Sc.prototype.has=wO;Sc.prototype.set=AO;var GT=Sc;function x6(){this.size=0,this.__data__={hash:new GT,map:new(wi||_i),string:new GT}}var xO=x6;function R6(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}var RO=R6;function N6(e,t){var n=e.__data__;return RO(t)?n[typeof t==`string`?`string`:`hash`]:n.map}var Ai=N6;function M6(e){var t=Ai(this,e).delete(e);return this.size-=t?1:0,t}var NO=M6;function O6(e){return Ai(this,e).get(e)}var MO=O6;function L6(e){return Ai(this,e).has(e)}var OO=L6;function P6(e,t){var n=Ai(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var LO=P6;function Tc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Tc.prototype.clear=xO;Tc.prototype.delete=NO;Tc.prototype.get=MO;Tc.prototype.has=OO;Tc.prototype.set=LO;var Bs=Tc;var k6=200;function F6(e,t){var n=this.__data__;if(n instanceof _i){var r=n.__data__;if(!wi||r.length<k6-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Bs(r)}return n.set(e,t),this.size=n.size,this}var PO=F6;function Dc(e){var t=this.__data__=new _i(e);this.size=t.size}Dc.prototype.clear=bO;Dc.prototype.delete=SO;Dc.prototype.get=TO;Dc.prototype.has=DO;Dc.prototype.set=PO;var io=Dc;var U6=`__lodash_hash_undefined__`;function H6(e){return this.__data__.set(e,U6),this}var kO=H6;function B6(e){return this.__data__.has(e)}var FO=B6;function km(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Bs;++t<n;)this.add(e[t])}km.prototype.add=km.prototype.push=kO;km.prototype.has=FO;var Fm=km;function j6(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var UO=j6;function V6(e,t){return e.has(t)}var Um=V6;var $6=1;var G6=2;function z6(e,t,n,r,o,i){var s=n&$6,a=e.length,c=t.length;if(a!=c&&!(s&&c>a))return!1;var l=i.get(e),u=i.get(t);if(l&&u)return l==t&&u==e;var d=-1,f=!0,p=n&G6?new Fm:void 0;for(i.set(e,t),i.set(t,e);++d<a;){var g=e[d],y=t[d];if(r)var E=s?r(y,g,d,t,e,i):r(g,y,d,e,t,i);if(E!==void 0){if(E)continue;f=!1;break}
vendor: 5,523 bytes, line 15
15if(p){if(!UO(t,function(b,C){if(!Um(p,C)&&(g===b||o(g,b,n,r,i)))return p.push(C)})){f=!1;break}}else if(!(g===y||o(g,y,n,r,i))){f=!1;break}}return i.delete(e),i.delete(t),f}var Hm=z6;var Cc=et.Uint8Array;function q6(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}var HO=q6;function Y6(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Ic=Y6;var K6=1;var X6=2;var Z6=`[object Boolean]`;var Q6=`[object Date]`;var J6=`[object Error]`;var e9=`[object Map]`;var t9=`[object Number]`;var n9=`[object RegExp]`;var r9=`[object Set]`;var o9=`[object String]`;var i9=`[object Symbol]`;var s9=`[object ArrayBuffer]`;var a9=`[object DataView]`;var BO=wt?wt.prototype:void 0;var zT=BO?BO.valueOf:void 0;function c9(e,t,n,r,o,i,s){switch(n){case a9:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case s9:return!(e.byteLength!=t.byteLength||!i(new Cc(e),new Cc(t)));case Z6:case Q6:case t9:return oo(+e,+t);case J6:return e.name==t.name&&e.message==t.message;case n9:case o9:return e==t+``;case e9:var a=HO;case r9:var c=r&K6;if(a||(a=Ic),e.size!=t.size&&!c)return!1;var l=s.get(e);if(l)return l==t;r|=X6,s.set(e,t);var u=Hm(a(e),a(t),r,o,i,s);return s.delete(e),u;case i9:if(zT)return zT.call(e)==zT.call(t)}return!1}var jO=c9;function l9(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var _c=l9;function u9(e,t,n){var r=t(e);return Ge(e)?r:_c(r,n(e))}var Bm=u9;function d9(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}var VO=d9;function f9(){return[]}var jm=f9;var h9=Object.prototype.propertyIsEnumerable;var $O=Object.getOwnPropertySymbols;var wc=$O?function(e){return e==null?[]:(e=Object(e),VO($O(e),function(t){return h9.call(e,t)}))}:jm;function g9(e){return Bm(e,ro,wc)}var cd=g9;var y9=1;var E9=Object.prototype.hasOwnProperty;function b9(e,t,n,r,o,i){var s=n&y9,a=cd(e),c=a.length;if(c!=cd(t).length&&!s)return!1;for(var d=c;d--;){var f=a[d];if(!(s?f in t:E9.call(t,f)))return!1}var p=i.get(e),g=i.get(t);if(p&&g)return p==t&&g==e;var y=!0;i.set(e,t),i.set(t,e);for(var E=s;++d<c;){f=a[d];var b=e[f],C=t[f];if(r)var M=s?r(C,b,f,t,e,i):r(b,C,f,e,t,i);if(!(M===void 0?b===C||o(b,C,n,r,i):M)){y=!1;break}E||(E=f==`constructor`)}if(y&&!E){var q=e.constructor,te=t.constructor;q!=te&&`constructor`in e&&`constructor`in t&&!(typeof q==`function`&&q instanceof q&&typeof te==`function`&&te instanceof te)&&(y=!1)}return i.delete(e),i.delete(t),y}var GO=b9;var Vm=En(et,`DataView`);var $m=En(et,`Promise`);var xi=En(et,`Set`);var Gm=En(et,`WeakMap`);var zO=`[object Map]`;var I9=`[object Object]`;var WO=`[object Promise]`;var qO=`[object Set]`;var YO=`[object WeakMap]`;var KO=`[object DataView]`;var _9=ko(Vm);var w9=ko(wi);var A9=ko($m);var x9=ko(xi);var R9=ko(Gm);var js=sn;(Vm&&js(new Vm(new ArrayBuffer(1)))!=KO||wi&&js(new wi)!=zO||$m&&js($m.resolve())!=WO||xi&&js(new xi)!=qO||Gm&&js(new Gm)!=YO)&&(js=function(e){var t=sn(e),n=t==I9?e.constructor:void 0,r=n?ko(n):``;if(r)switch(r){case _9:return KO;case w9:return zO;case A9:return WO;case x9:return qO;case R9:return YO}return t});var Bo=js;var N9=1;var XO=`[object Arguments]`;var ZO=`[object Array]`;var zm=`[object Object]`;var QO=Object.prototype.hasOwnProperty;function O9(e,t,n,r,o,i){var s=Ge(e),a=Ge(t),c=s?ZO:Bo(e),l=a?ZO:Bo(t);c=c==XO?zm:c,l=l==XO?zm:l;var u=c==zm,d=l==zm,f=c==l;if(f&&Uo(e)){if(!Uo(t))return!1;s=!0,u=!1}if(f&&!u)return i||(i=new io),s||vc(e)?Hm(e,t,n,r,o,i):jO(e,t,c,n,r,o,i);if(!(n&N9)){var p=u&&QO.call(e,`__wrapped__`),g=d&&QO.call(t,`__wrapped__`);if(p||g){var y=p?e.value():e,E=g?t.value():t;return i||(i=new io),o(y,E,n,r,i)}}return f?(i||(i=new io),GO(e,t,n,r,o,i)):!1}var JO=O9;function eL(e,t,n,r,o){return e===t?!0:e==null||t==null||!at(e)&&!at(t)?e!==e&&t!==t:JO(e,t,n,r,eL,o)}var Wm=eL;var L9=1;var P9=2;function k9(e,t,n,r){var o=n.length,i=o,s=!r;if(e==null)return!i;for(e=Object(e);o--;){var a=n[o];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){a=n[o];var c=a[0],l=e[c],u=a[1];if(s&&a[2]){if(l===void 0&&!(c in e))return!1}else{var d=new io;if(r)var f=r(l,u,c,e,t,d);if(!(f===void 0?Wm(u,l,L9|P9,r,d):f))return!1}}return!0}var tL=k9;function F9(e){return e===e&&!_e(e)}var qm=F9;function U9(e){for(var t=ro(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,qm(o)]}return t}var nL=U9;function H9(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var Ym=H9;function B9(e){var t=nL(e);return t.length==1&&t[0][2]?Ym(t[0][0],t[0][1]):function(n){return n===e||tL(n,e,t)}}var rL=B9;var j9=`[object Symbol]`;function V9(e){return typeof e==`symbol`||at(e)&&sn(e)==j9}var Ri=V9;var $9=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;var G9=/^\w*$/;function z9(e,t){if(Ge(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||Ri(e)?!0:G9.test(e)||!$9.test(e)||t!=null&&e in Object(t)}var Ac=z9;var W9=`Expected a function`;function WT(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw new TypeError(W9);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(WT.Cache||Bs),n}WT.Cache=Bs;var oL=WT;var q9=500;function Y9(e){var t=oL(e,function(r){return n.size===q9&&n.clear(),r}),n=t.cache;return t}var iL=Y9;var K9=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var X9=/\\(\\)?/g;var sL=iL(function(e){var t=[];
15return e.charCodeAt(0)===46&&t.push(``),e.replace(K9,function(n,r,o,i){t.push(o?i.replace(X9,`$1`):r||n)}),t});function Q9(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var xc=Q9;var J9=Infinity;var aL=wt?wt.prototype:void 0;var cL=aL?aL.toString:void 0;function lL(e){if(typeof e==`string`)return e;if(Ge(e))return xc(e,lL)+``;if(Ri(e))return cL?cL.call(e):``;var t=e+``;return t==`0`&&1/e==-J9?`-0`:t}var ld=lL;function e7(e){return e==null?``:ld(e)}var jo=e7;function t7(e,t){return Ge(e)?e:Ac(e,t)?[e]:sL(jo(e))}var Zn=t7;var n7=Infinity;function r7(e){if(typeof e==`string`||Ri(e))return e;var t=e+``;return t==`0`&&1/e==-n7?`-0`:t}var wn=r7;function o7(e,t){t=Zn(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[wn(t[n++])];return n&&n==r?e:void 0}var Ni=o7;function i7(e,t,n){var r=e==null?void 0:Ni(e,t);return r===void 0?n:r}var uL=i7;function s7(e,t){return e!=null&&t in Object(e)}var dL=s7;function a7(e,t,n){t=Zn(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var s=wn(t[r]);if(!(i=e!=null&&n(e,s)))break;e=e[s]}return i||++r!=o?i:(o=e==null?0:e.length,!!o&&yc(o)&&Ti(s,o)&&(Ge(e)||Fo(e)))}var fL=a7;function c7(e,t){return e!=null&&fL(e,t,dL)}var Km=c7;var l7=1;var u7=2;function d7(e,t){return Ac(e)&&qm(t)?Ym(wn(e),t):function(n){var r=uL(n,e);return r===void 0&&r===t?Km(n,e):Wm(t,r,l7|u7)}}var pL=d7;function f7(e){return e}var Rc=f7;function p7(e){return function(t){return t?.[e]}}var Xm=p7;function h7(e){return function(t){return Ni(t,e)}}var hL=h7;function m7(e){return Ac(e)?Xm(wn(e)):hL(e)}var mL=m7;function g7(e){return typeof e==`function`?e:e==null?Rc:typeof e==`object`?Ge(e)?pL(e[0],e[1]):rL(e):mL(e)}var Nc=g7;function y7(e,t){var n={};return t=Nc(t,3),hO(e,function(r,o,i){Si(n,o,t(r,o,i))}),n}var v7=y7;var b7=Object.prototype.hasOwnProperty;function S7(e,t,n){var r=e[t];(!(b7.call(e,t)&&oo(r,n))||n===void 0&&!(t in e))&&Si(e,t,n)}var Mc=S7;function T7(e,t,n,r){if(!_e(e))return e;t=Zn(t,e);for(var o=-1,i=t.length,s=i-1,a=e;a!=null&&++o<i;){var c=wn(t[o]),l=n;if(c===`__proto__`||c===`constructor`||c===`prototype`)return e;if(o!=s){var u=a[c];l=r?r(u,c,a):void 0,l===void 0&&(l=_e(u)?u:Ti(t[o+1])?[]:{})}Mc(a,c,l),a=a[c]}return e}var gL=T7;function D7(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var s=t[r],a=Ni(e,s);n(a,s)&&gL(i,Zn(s,e),a)}return i}var Zm=D7;var Oc=Pm(Object.getPrototypeOf,Object);var Qm=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)_c(t,wc(e)),e=Oc(e);return t}:jm;function w7(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var yL=w7;var x7=Object.prototype.hasOwnProperty;function R7(e){if(!_e(e))return yL(e);var t=Ec(e),n=[];for(var r in e)r==`constructor`&&(t||!x7.call(e,r))||n.push(r);return n}var vL=R7;function N7(e){return Ci(e)?Lm(e,!0):vL(e)}var so=N7;function M7(e){return Bm(e,so,Qm)}var Lc=M7;function O7(e,t){if(e==null)return{};var n=xc(Lc(e),function(r){return[r]});return t=Nc(t),Zm(e,n,function(r,o){return t(r,o[0])})}var L7=O7;var P7=/\s/;function k7(e){for(var t=e.length;t--&&P7.test(e.charAt(t)););return t}var EL=k7;var F7=/^\s+/;function U7(e){return e&&e.slice(0,EL(e)+1).replace(F7,``)}var bL=U7;var SL=NaN;var H7=/^[-+]0x[0-9a-f]+$/i;var B7=/^0b[01]+$/i;var j7=/^0o[0-7]+$/i;var V7=parseInt;function $7(e){if(typeof e==`number`)return e;if(Ri(e))return SL;if(_e(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=_e(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=bL(e);var n=B7.test(e);return n||j7.test(e)?V7(e.slice(2),n?2:8):H7.test(e)?SL:+e}var ud=$7;var TL=Infinity;var G7=17976931348623157e292;function z7(e){if(!e)return e===0?e:0;if(e=ud(e),e===TL||e===-TL)return(e<0?-1:1)*G7;return e===e?e:0}var DL=z7;function W7(e){var t=DL(e),n=t%1;return t===t?n?t-n:t:0}var CL=W7;var IL=Object.create;var _L=(function(){function e(){}return function(t){if(!_e(t))return{};if(IL)return IL(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();function Y7(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var wL=Y7;function K7(){}var AL=K7;function X7(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Jm=X7;var Z7=800;var Q7=16;var J7=Date.now;function eq(e){var t=0,n=0;return function(){var r=J7(),o=Q7-(r-n);if(n=r,o>0){if(++t>=Z7)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var xL=eq;function tq(e){return function(){return e}}var RL=tq;var eg=xL(gc?function(e,t){return gc(e,`toString`,{configurable:!0,enumerable:!1,value:RL(t),writable:!0})}:Rc);function oq(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var ML=oq;function iq(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}var OL=iq;function sq(e){return e!==e}var LL=sq;function aq(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var PL=aq;function cq(e,t,n){return t===t?PL(e,t,n):OL(e,LL,n)}var kL=cq;function lq(e,t){return!!(e==null?0:e.length)&&kL(e,t,0)>-1}var FL=lq;function uq(e,t,n,r){var o=!n;n||(n={});for(var i=-1,s=t.length;++i<s;){var a=t[i],c=r?r(n[a],e[a],a,n,e):void 0;c===void 0&&(c=e[a]),o?Si(n,a,c):Mc(n,a,c)}return n}var Qn=uq;var UL=Math.max;function dq(e,t,n){return t=UL(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=UL(r.length-t,0),s=Array(i);++o<i;)s[o]=r[t+o];o=-1;for(var a=Array(t+1);++o<t;)a[o]=r[o];return a[t]=n(s),wL(e,this,a)}}
15var tg=dq;function fq(e,t){return eg(tg(e,t,Rc),e+``)}var HL=fq;function pq(e,t,n){if(!_e(n))return!1;var r=typeof t;return(r==`number`?Ci(n)&&Ti(t,n.length):r==`string`&&t in n)?oo(n[t],e):!1}var BL=pq;function hq(e){return HL(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(i=e.length>3&&typeof i==`function`?(o--,i):void 0,s&&BL(n[0],n[1],s)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var a=n[r];a&&e(t,a,r,i)}return t})}var ng=hq;var jL=wt?wt.isConcatSpreadable:void 0;function mq(e){return Ge(e)||Fo(e)||!!(jL&&e&&e[jL])}var VL=mq;function $L(e,t,n,r,o){var i=-1,s=e.length;for(n||(n=VL),o||(o=[]);++i<s;){var a=e[i];t>0&&n(a)?t>1?$L(a,t-1,n,r,o):_c(o,a):r||(o[o.length]=a)}return o}var GL=$L;function gq(e){return(e==null?0:e.length)?GL(e,1):[]}var zL=gq;function yq(e){return eg(tg(e,void 0,zL),e+``)}var rg=yq;var vq=`[object Object]`;var Eq=Function.prototype;var bq=Object.prototype;var WL=Eq.toString;var Sq=bq.hasOwnProperty;var Tq=WL.call(Object);function Dq(e){if(!at(e)||sn(e)!=vq)return!1;var t=Oc(e);if(t===null)return!0;var n=Sq.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&WL.call(n)==Tq}var og=Dq;function Cq(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}var ig=Cq;function Iq(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:ig(e,t,n)}var sg=Iq;var Oq=RegExp(`[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]`);function Lq(e){return Oq.test(e)}var Mi=Lq;function Pq(e){return e.split(``)}var qL=Pq;var YL=`\\ud800-\\udfff`;var Hq=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`;var Bq=`\\ufe0e\\ufe0f`;var jq=`[`+YL+`]`;var qT=`[`+Hq+`]`;var YT=`\\ud83c[\\udffb-\\udfff]`;var Vq=`(?:`+qT+`|`+YT+`)`;var KL=`[^`+YL+`]`;var XL=`(?:\\ud83c[\\udde6-\\uddff]){2}`;var ZL=`[\\ud800-\\udbff][\\udc00-\\udfff]`;var $q=`\\u200d`;var QL=Vq+`?`;var JL=`[`+Bq+`]?`;var Gq=`(?:`+$q+`(?:`+[KL,XL,ZL].join(`|`)+`)`+JL+QL+`)*`;var zq=JL+QL+Gq;var Wq=`(?:`+[KL+qT+`?`,qT,XL,ZL,jq].join(`|`)+`)`;var qq=RegExp(YT+`(?=`+YT+`)|`+Wq+zq,`g`);function Yq(e){return e.match(qq)||[]}var eP=Yq;function Kq(e){return Mi(e)?eP(e):qL(e)}var ag=Kq;function Xq(e){return function(t){t=jo(t);var n=Mi(t)?ag(t):void 0,r=n?n[0]:t.charAt(0),o=n?sg(n,1).join(``):t.slice(1);return r[e]()+o}}var tP=Xq;function Zq(e,t){return e&&Qn(t,ro(t),e)}var nP=Zq;function Qq(e,t){return e&&Qn(t,so(t),e)}var rP=Qq;var aP=typeof exports==`object`&&exports&&!exports.nodeType&&exports;var oP=aP&&typeof module==`object`&&module&&!module.nodeType&&module;var iP=oP&&oP.exports===aP?et.Buffer:void 0;var sP=iP?iP.allocUnsafe:void 0;function eY(e,t){if(t)return e.slice();var n=e.length,r=sP?sP(n):new e.constructor(n);return e.copy(r),r}var cg=eY;function tY(e,t){return Qn(e,wc(e),t)}var cP=tY;function nY(e,t){return Qn(e,Qm(e),t)}var lP=nY;var oY=Object.prototype.hasOwnProperty;function iY(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&oY.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}var uP=iY;function sY(e){var t=new e.constructor(e.byteLength);return new Cc(t).set(new Cc(e)),t}var Pc=sY;function aY(e,t){var n=t?Pc(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var dP=aY;var cY=/\w*$/;function lY(e){var t=new e.constructor(e.source,cY.exec(e));return t.lastIndex=e.lastIndex,t}var fP=lY;var pP=wt?wt.prototype:void 0;var hP=pP?pP.valueOf:void 0;function uY(e){return hP?Object(hP.call(e)):{}}var mP=uY;function dY(e,t){var n=t?Pc(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var lg=dY;var fY=`[object Boolean]`;var pY=`[object Date]`;var hY=`[object Map]`;var mY=`[object Number]`;var gY=`[object RegExp]`;var yY=`[object Set]`;var vY=`[object String]`;var EY=`[object Symbol]`;var bY=`[object ArrayBuffer]`;var SY=`[object DataView]`;var TY=`[object Float32Array]`;var DY=`[object Float64Array]`;var CY=`[object Int8Array]`;var IY=`[object Int16Array]`;var _Y=`[object Int32Array]`;var wY=`[object Uint8Array]`;var AY=`[object Uint8ClampedArray]`;var xY=`[object Uint16Array]`;var RY=`[object Uint32Array]`;function NY(e,t,n){var r=e.constructor;switch(t){case bY:return Pc(e);case fY:case pY:return new r(+e);case SY:return dP(e,n);case TY:case DY:case CY:case IY:case _Y:case wY:case AY:case xY:case RY:return lg(e,n);case hY:return new r;case mY:case vY:return new r(e);case gY:return fP(e);case yY:return new r;case EY:return mP(e)}}var gP=NY;function MY(e){return typeof e.constructor==`function`&&!Ec(e)?_L(Oc(e)):{}}var ug=MY;var OY=`[object Map]`;function LY(e){return at(e)&&Bo(e)==OY}var yP=LY;var vP=Xn&&Xn.isMap;var EP=vP?Di(vP):yP;var kY=`[object Set]`;function FY(e){return at(e)&&Bo(e)==kY}var bP=FY;var SP=Xn&&Xn.isSet;var TP=SP?Di(SP):bP;var HY=1;var BY=2;var jY=4;var DP=`[object Arguments]`;var VY=`[object Array]`;var $Y=`[object Boolean]`;var GY=`[object Date]`;var zY=`[object Error]`;var CP=`[object Function]`;var WY=`[object GeneratorFunction]`;var qY=`[object Map]`;var YY=`[object Number]`;var IP=`[object Object]`;var KY=`[object RegExp]`;var XY=`[object Set]`;var ZY=`[object String]`;var QY=`[object Symbol]`;var JY=`[object WeakMap]`;var eK=`[object ArrayBuffer]`;
15var tK=`[object DataView]`;var nK=`[object Float32Array]`;var rK=`[object Float64Array]`;var oK=`[object Int8Array]`;var iK=`[object Int16Array]`;var sK=`[object Int32Array]`;var aK=`[object Uint8Array]`;var cK=`[object Uint8ClampedArray]`;var lK=`[object Uint16Array]`;var uK=`[object Uint32Array]`;var Oe={};Oe[DP]=Oe[VY]=Oe[eK]=Oe[tK]=Oe[$Y]=Oe[GY]=Oe[nK]=Oe[rK]=Oe[oK]=Oe[iK]=Oe[sK]=Oe[qY]=Oe[YY]=Oe[IP]=Oe[KY]=Oe[XY]=Oe[ZY]=Oe[QY]=Oe[aK]=Oe[cK]=Oe[lK]=Oe[uK]=!0;Oe[zY]=Oe[CP]=Oe[JY]=!1;function dg(e,t,n,r,o,i){var s,a=t&HY,c=t&BY,l=t&jY;if(n&&(s=o?n(e,r,o,i):n(e)),s!==void 0)return s;if(!_e(e))return e;var u=Ge(e);if(u){if(s=uP(e),!a)return Jm(e,s)}else{var d=Bo(e),f=d==CP||d==WY;if(Uo(e))return cg(e,a);if(d==IP||d==DP||f&&!o){if(s=c||f?{}:ug(e),!a)return c?lP(e,rP(s,e)):cP(e,nP(s,e))}else{if(!Oe[d])return o?e:{};s=gP(e,d,a)}}i||(i=new io);var p=i.get(e);if(p)return p;i.set(e,s),TP(e)?e.forEach(function(E){s.add(dg(E,t,n,E,e,i))}):EP(e)&&e.forEach(function(E,b){s.set(b,dg(E,t,n,b,e,i))});var y=u?void 0:(l?c?Lc:cd:c?so:ro)(e);return ML(y||e,function(E,b){y&&(b=E,E=e[b]),Mc(s,b,dg(E,t,n,b,e,i))}),s}var _P=dg;var dK=function(){return et.Date.now()};var fg=dK;var fK=`Expected a function`;var pK=Math.max;var hK=Math.min;function mK(e,t,n){var r,o,i,s,a,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw new TypeError(fK);t=ud(t)||0,_e(n)&&(u=!!n.leading,d=`maxWait`in n,i=d?pK(ud(n.maxWait)||0,t):i,f=`trailing`in n?!!n.trailing:f);function p(R){var ce=r,be=o;return r=o=void 0,l=R,s=e.apply(be,ce),s}function g(R){return l=R,a=setTimeout(b,t),u?p(R):s}function y(R){var ce=R-c,be=R-l,nt=t-ce;return d?hK(nt,i-be):nt}function E(R){var ce=R-c,be=R-l;return c===void 0||ce>=t||ce<0||d&&be>=i}function b(){var R=fg();if(E(R))return C(R);a=setTimeout(b,y(R))}function C(R){return a=void 0,f&&r?p(R):(r=o=void 0,s)}function M(){a!==void 0&&clearTimeout(a),l=0,r=c=o=a=void 0}function q(){return a===void 0?s:C(fg())}function te(){var R=fg(),ce=E(R);if(r=arguments,o=this,c=R,ce){if(a===void 0)return g(c);if(d)return clearTimeout(a),a=setTimeout(b,t),p(c)}return a===void 0&&(a=setTimeout(b,t)),s}return te.cancel=M,te.flush=q,te}var gK=mK;function yK(e,t,n){(n!==void 0&&!oo(e[t],n)||n===void 0&&!(t in e))&&Si(e,t,n)}var dd=yK;function vK(e){return at(e)&&Ci(e)}var wP=vK;function EK(e,t){if(!(t===`constructor`&&typeof e[t]==`function`)&&t!=`__proto__`)return e[t]}var fd=EK;function bK(e){return Qn(e,so(e))}var AP=bK;function SK(e,t,n,r,o,i,s){var a=fd(e,n),c=fd(t,n),l=s.get(c);if(l){dd(e,n,l);return}var u=i?i(a,c,n+``,e,t,s):void 0,d=u===void 0;if(d){var f=Ge(c),p=!f&&Uo(c),g=!f&&!p&&vc(c);u=c,f||p||g?Ge(a)?u=a:wP(a)?u=Jm(a):p?(d=!1,u=cg(c,!0)):g?(d=!1,u=lg(c,!0)):u=[]:og(c)||Fo(c)?(u=a,Fo(a)?u=AP(a):(!_e(a)||mc(a))&&(u=ug(c))):d=!1}d&&(s.set(c,u),o(u,c,r,i,s),s.delete(c)),dd(e,n,u)}var xP=SK;function RP(e,t,n,r,o){e!==t&&Om(t,function(i,s){if(o||(o=new io),_e(i))xP(e,t,s,n,RP,r,o);else{var a=r?r(fd(e,s),i,s+``,e,t,o):void 0;a===void 0&&(a=i),dd(e,s,a)}},so)}var pg=RP;var vUe=ng(function(e,t,n,r){pg(e,t,n,r)});function DK(e,t,n){for(var r=-1,o=e==null?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}var NP=DK;function CK(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var MP=CK;function IK(e,t){return t.length<2?e:Ni(e,ig(t,0,-1))}var OP=IK;var _K=`[object RegExp]`;function wK(e){return at(e)&&sn(e)==_K}var LP=wK;var PP=Xn&&Xn.isRegExp;var kP=PP?Di(PP):LP;var RK=tP(`toLowerCase`);var kUe=ng(function(e,t,n){pg(e,t,n)});var OK=Object.prototype.hasOwnProperty;function LK(e,t){t=Zn(t,e);var n=-1,r=t.length;if(!r)return!0;for(;++n<r;){var o=wn(t[n]);if(o===`__proto__`&&!OK.call(e,`__proto__`)||(o===`constructor`||o===`prototype`)&&n<r-1)return!1}var i=OP(e,t);return i==null||delete i[wn(MP(t))]}var FP=LK;function PK(e){return og(e)?void 0:e}var UP=PK;var kK=1;var FK=2;var UK=4;var BK=rg(function(e,t){var n={};if(e==null)return n;var r=!1;t=xc(t,function(i){return i=Zn(i,e),r||(r=i.length>1),i}),Qn(e,Lc(e),n),r&&(n=_P(n,kK|FK|UK,UP));for(var o=t.length;o--;)FP(n,t[o]);return n});var HP=Xm(`length`);var jP=`\\ud800-\\udfff`;var zK=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`;var WK=`\\ufe0e\\ufe0f`;var qK=`[`+jP+`]`;var KT=`[`+zK+`]`;var XT=`\\ud83c[\\udffb-\\udfff]`;var YK=`(?:`+KT+`|`+XT+`)`;var VP=`[^`+jP+`]`;
15var $P=`(?:\\ud83c[\\udde6-\\uddff]){2}`;var GP=`[\\ud800-\\udbff][\\udc00-\\udfff]`;var KK=`\\u200d`;var zP=YK+`?`;var WP=`[`+WK+`]?`;var XK=`(?:`+KK+`(?:`+[VP,$P,GP].join(`|`)+`)`+WP+zP+`)*`;var ZK=WP+zP+XK;var QK=`(?:`+[VP+KT+`?`,KT,$P,GP,qK].join(`|`)+`)`;var BP=RegExp(XT+`(?=`+XT+`)|`+QK+ZK,`g`);function JK(e){for(var t=BP.lastIndex=0;BP.test(e);)++t;return t}var qP=JK;function eX(e){return Mi(e)?qP(e):HP(e)}var YP=eX;function tX(e,t){return Zm(e,t,function(n,r){return Km(e,r)})}var KP=tX;var rX=rg(function(e,t){return e==null?{}:KP(e,t)});var oX=30;var iX=`...`;var sX=/\w*$/;function aX(e,t){var n=oX,r=iX;if(_e(t)){var o=`separator`in t?t.separator:o;n=`length`in t?CL(t.length):n,r=`omission`in t?ld(t.omission):r}e=jo(e);var i=e.length;if(Mi(e)){var s=ag(e);i=s.length}if(n>=i)return e;var a=n-YP(r);if(a<1)return r;var c=s?sg(s,0,a).join(``):e.slice(0,a);if(o===void 0)return c+r;if(s&&(a+=c.length-a),kP(o)){if(e.slice(a).search(o)){var l,u=c;for(o.global||(o=RegExp(o.source,jo(sX.exec(o))+`g`)),o.lastIndex=0;l=o.exec(u);)var d=l.index;c=c.slice(0,d===void 0?a:d)}}else if(e.indexOf(ld(o),a)!=a){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+r}var cX=aX;var XP=xi&&1/Ic(new xi([,-0]))[1]==Infinity?function(e){return new xi(e)}:AL;var dX=200;function fX(e,t,n){var r=-1,o=FL,i=e.length,s=!0,a=[],c=a;if(n)s=!1,o=NP;else if(i>=dX){var l=t?null:XP(e);if(l)return Ic(l);s=!1,o=Um,c=new Fm}else c=t?[]:a;e:for(;++r<i;){var u=e[r],d=t?t(u):u;if(u=n||u!==0?u:0,s&&d===d){for(var f=c.length;f--;)if(c[f]===d)continue e;t&&c.push(d),a.push(u)}else o(c,d,n)||(c!==a&&c.push(d),a.push(u))}return a}var hg=fX;function pX(e){return e&&e.length?hg(e):[]}var ZT=pX;function hX(e,t){return e&&e.length?hg(e,Nc(t,2)):[]}var UHe=hX;var mX=0;function gX(e){var t=++mX;return jo(e)+t}var yX=gX;var ao=class e extends Error{alreadyNotified;constructor(t,n){super(t),this.name=`PeerTubeReconnectError`,this.alreadyNotified=n,Object.setPrototypeOf(this,e.prototype)}};var Vs=class e extends Error{status;body;headers;url;constructor(t,n){super(t),this.name=`HTTPError`,this.status=n.status,this.body=n.body,this.headers=n.headers,this.url=n.url,Object.setPrototypeOf(this,e.prototype)}};function vX(e){return e==null||e===``||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e==`object`&&Object.keys(e).length===0}function QT(e,t,n=new WeakSet){if(e===t)return!0;if(!e||!t||typeof e!=`object`||typeof t!=`object`||n.has(e)||n.has(t))return!1;n.add(e).add(t);let r=Array.isArray(e),o=Array.isArray(t),i,s,a;if(r&&o){if(s=e.length,s!=t.length)return!1;for(i=s;i--!==0;)if(!QT(e[i],t[i],n))return!1;return!0}if(r!=o)return!1;let c=e instanceof Date,l=t instanceof Date;if(c!=l)return!1;if(c&&l)return e.getTime()==t.getTime();let u=e instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return e.toString()==t.toString();let f=Object.keys(e);if(s=f.length,s!==Object.keys(t).length)return!1;for(i=s;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,f[i]))return!1;for(i=s;i--!==0;)if(a=f[i],!QT(e[a],t[a],n))return!1;return!0}function EX(e,t){return QT(e,t)}function JP(e){return typeof e==`function`&&`call`in e&&`apply`in e}function JT(e){return!vX(e)}function mg(e,t){if(!e||!t)return null;try{let n=e[t];if(JT(n))return n}catch(n){}if(Object.keys(e).length){if(JP(t))return t(e);if(t.indexOf(`.`)===-1)return e[t];{let n=t.split(`.`),r=e;for(let o=0,i=n.length;o<i;++o){if(r==null)return null;r=r[n[o]]}return r}}return null}function eD(e,t,n){return n?mg(e,n)===mg(t,n):EX(e,t)}function JHe(e,t){if(e!=null&&t&&t.length){for(let n of t)if(eD(e,n))return!0}return!1}function bX(e,t=!0){return e instanceof Object&&e.constructor===Object&&(t||Object.keys(e).length!==0)}function eBe(e,t){let n=-1;if(JT(e))try{n=e.findLastIndex(t)}catch(r){n=e.lastIndexOf([...e].reverse().find(t))}return n}function ZP(e,...t){return JP(e)?e(...t):e}function SX(e,t=!0){return typeof e==`string`&&(t||e!==``)}function QP(e){return SX(e)?e.replace(/(-|_)/g,``).toLowerCase():e}function TX(e,t=``,n={}){let r=QP(t).split(`.`),o=r.shift();if(o){if(bX(e))return TX(ZP(e[Object.keys(e).find(s=>QP(s)===o)||``],n),r.join(`.`),n);return}return ZP(e,n)}function tBe(e,t=!0){return Array.isArray(e)&&(t||e.length!==0)}function nBe(e){return e instanceof Date}function rBe(e=``){return JT(e)&&e.length===1&&!!e.match(/\S| /)}function oBe(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,``).replace(/ {2,}/g,` `).replace(/ ([{:}]) /g,`$1`).replace(/([;,]) /g,`$1`).replace(/ !/g,`!`).replace(/: /g,`:`).trim()}
vendor: 4,622 bytes, line 15
15function An(e){if(e&&/[\xC0-\xFF\u0100-\u017E]/.test(e)){let t={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(let n in t)e=e.replace(t[n],n)}return e}var ek=[`*`];var lBe=(()=>{class e{static STARTS_WITH=`startsWith`;static CONTAINS=`contains`;static NOT_CONTAINS=`notContains`;static ENDS_WITH=`endsWith`;static EQUALS=`equals`;static NOT_EQUALS=`notEquals`;static IN=`in`;static LESS_THAN=`lt`;static LESS_THAN_OR_EQUAL_TO=`lte`;static GREATER_THAN=`gt`;static GREATER_THAN_OR_EQUAL_TO=`gte`;static BETWEEN=`between`;static IS=`is`;static IS_NOT=`isNot`;static BEFORE=`before`;static AFTER=`after`;static DATE_IS=`dateIs`;static DATE_IS_NOT=`dateIsNot`;static DATE_BEFORE=`dateBefore`;static DATE_AFTER=`dateAfter`}return e})();var uBe=(()=>{class e{static AND=`and`;static OR=`or`}return e})();var dBe=(()=>{class e{filter(n,r,o,i,s){let a=[];if(n)for(let c of n)for(let l of r){let u=mg(c,l);if(this.filters[i](u,o,s)){a.push(c);break}}return a}filters={startsWith:(n,r,o)=>{if(r==null||r.trim()===``)return!0;if(n==null)return!1;let i=An(r.toString()).toLocaleLowerCase(o);return An(n.toString()).toLocaleLowerCase(o).slice(0,i.length)===i},contains:(n,r,o)=>{if(r==null||typeof r==`string`&&r.trim()===``)return!0;if(n==null)return!1;let i=An(r.toString()).toLocaleLowerCase(o);return An(n.toString()).toLocaleLowerCase(o).indexOf(i)!==-1},notContains:(n,r,o)=>{if(r==null||typeof r==`string`&&r.trim()===``)return!0;if(n==null)return!1;let i=An(r.toString()).toLocaleLowerCase(o);return An(n.toString()).toLocaleLowerCase(o).indexOf(i)===-1},endsWith:(n,r,o)=>{if(r==null||r.trim()===``)return!0;if(n==null)return!1;let i=An(r.toString()).toLocaleLowerCase(o),s=An(n.toString()).toLocaleLowerCase(o);return s.indexOf(i,s.length-i.length)!==-1},equals:(n,r,o)=>r==null||typeof r==`string`&&r.trim()===``?!0:n==null?!1:n.getTime&&r.getTime?n.getTime()===r.getTime():n==r?!0:An(n.toString()).toLocaleLowerCase(o)==An(r.toString()).toLocaleLowerCase(o),notEquals:(n,r,o)=>r==null||typeof r==`string`&&r.trim()===``?!1:n==null?!0:n.getTime&&r.getTime?n.getTime()!==r.getTime():n==r?!1:An(n.toString()).toLocaleLowerCase(o)!=An(r.toString()).toLocaleLowerCase(o),in:(n,r)=>{if(r==null||r.length===0)return!0;for(let o=0;o<r.length;o++)if(eD(n,r[o]))return!0;return!1},between:(n,r)=>r==null||r[0]==null||r[1]==null?!0:n==null?!1:n.getTime?r[0].getTime()<=n.getTime()&&n.getTime()<=r[1].getTime():r[0]<=n&&n<=r[1],lt:(n,r,o)=>r==null?!0:n==null?!1:n.getTime&&r.getTime?n.getTime()<r.getTime():n<r,lte:(n,r,o)=>r==null?!0:n==null?!1:n.getTime&&r.getTime?n.getTime()<=r.getTime():n<=r,gt:(n,r,o)=>r==null?!0:n==null?!1:n.getTime&&r.getTime?n.getTime()>r.getTime():n>r,gte:(n,r,o)=>r==null?!0:n==null?!1:n.getTime&&r.getTime?n.getTime()>=r.getTime():n>=r,is:(n,r,o)=>this.filters.equals(n,r,o),isNot:(n,r,o)=>this.filters.notEquals(n,r,o),before:(n,r,o)=>this.filters.lt(n,r,o),after:(n,r,o)=>this.filters.gt(n,r,o),dateIs:(n,r)=>r==null?!0:n==null?!1:n.toDateString()===r.toDateString(),dateIsNot:(n,r)=>r==null?!0:n==null?!1:n.toDateString()!==r.toDateString(),dateBefore:(n,r)=>r==null?!0:n==null?!1:n.getTime()<r.getTime(),dateAfter:(n,r)=>r==null?!0:n==null?!1:(n.setHours(0,0,0,0),n.getTime()>r.getTime())};register(n,r){this.filters[n]=r}static ɵfac=function(r){return new(r||e)};static ɵprov=T({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var gg=(()=>{class e{messageSource=new K;clearSource=new K;
15messageObserver=this.messageSource.asObservable();clearObserver=this.clearSource.asObservable();add(n){n&&this.messageSource.next(n)}addAll(n){n&&n.length&&this.messageSource.next(n)}clear(n){this.clearSource.next(n||null)}static ɵfac=function(r){return new(r||e)};static ɵprov=T({token:e,factory:e.ɵfac})}return e})();var fBe=(()=>{class e{clickSource=new K;parentDragSource=new K;clickObservable=this.clickSource.asObservable();parentDragObservable=this.parentDragSource.asObservable();add(n){n&&this.clickSource.next(n)}emitParentDrag(n){this.parentDragSource.next(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=T({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var pBe=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵcmp=qa({type:e,selectors:[[`p-header`]],standalone:!1,ngContentSelectors:ek,decls:1,vars:0,template:function(r,o){r&1&&(lh(),uh(0))},encapsulation:2,changeDetection:1})}return e})();var hBe=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵcmp=qa({type:e,selectors:[[`p-footer`]],standalone:!1,ngContentSelectors:ek,decls:1,vars:0,template:function(r,o){r&1&&(lh(),uh(0))},encapsulation:2,changeDetection:1})}return e})();var mBe=(()=>{class e{template;type;name;constructor(n){this.template=n}getType(){return this.name}static ɵfac=function(r){return new(r||e)(fe(Yr))};static ɵdir=hn({type:e,selectors:[[``,`pTemplate`,``]],inputs:{type:`type`,name:[0,`pTemplate`,`name`]}})}return e})();var gBe=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=Vn({type:e});static ɵinj=Dn({imports:[Nu]})}return e})();var yBe=(()=>{class e{static STARTS_WITH=`startsWith`;static CONTAINS=`contains`;static NOT_CONTAINS=`notContains`;static ENDS_WITH=`endsWith`;static EQUALS=`equals`;static NOT_EQUALS=`notEquals`;static NO_FILTER=`noFilter`;static LT=`lt`;static LTE=`lte`;static GT=`gt`;static GTE=`gte`;static IS=`is`;static IS_NOT=`isNot`;static BEFORE=`before`;static AFTER=`after`;static CLEAR=`clear`;static APPLY=`apply`;static MATCH_ALL=`matchAll`;static MATCH_ANY=`matchAny`;static ADD_RULE=`addRule`;static REMOVE_RULE=`removeRule`;static ACCEPT=`accept`;static REJECT=`reject`;static CHOOSE=`choose`;static UPLOAD=`upload`;static CANCEL=`cancel`;static PENDING=`pending`;static FILE_SIZE_TYPES=`fileSizeTypes`;static DAY_NAMES=`dayNames`;static DAY_NAMES_SHORT=`dayNamesShort`;static DAY_NAMES_MIN=`dayNamesMin`;static MONTH_NAMES=`monthNames`;static MONTH_NAMES_SHORT=`monthNamesShort`;static FIRST_DAY_OF_WEEK=`firstDayOfWeek`;static TODAY=`today`;static WEEK_HEADER=`weekHeader`;static WEAK=`weak`;static MEDIUM=`medium`;static STRONG=`strong`;static PASSWORD_PROMPT=`passwordPrompt`;static EMPTY_MESSAGE=`emptyMessage`;static EMPTY_FILTER_MESSAGE=`emptyFilterMessage`;static SHOW_FILTER_MENU=`showFilterMenu`;static HIDE_FILTER_MENU=`hideFilterMenu`;static SELECTION_MESSAGE=`selectionMessage`;static ARIA=`aria`;static SELECT_COLOR=`selectColor`;static BROWSE_FILES=`browseFiles`}return e})();var Oi=class e{messageService=m(gg);TIMEOUT=5e3;info(t,n,r,o){return n||(n="Info"),j.info(`${n}: ${t}`),this.notify({severity:`info`,text:t,title:n,timeout:r,sticky:o})}error(t,n,r,o){return n||(n="Error"),j.error(`${n}: ${t}`),this.notify({severity:`error`,text:t,title:n,timeout:r,sticky:o})}success(t,n,r,o){return n||(n="Success"),j.info(`${n}: ${t}`),this.notify({severity:`success`,text:t,title:n,timeout:r,sticky:o})}handleError(t){if(t instanceof ao&&t.alreadyNotified)return;let n=this.buildErrorText(t);if(t instanceof Vs){let r=`Backend returned code ${t.status}, errorMessage is: ${t.message}`;t.status===_t.NOT_FOUND_404?j.clientError(r):j.error(r,{url:t.url})}else j.error(t.message,t);return this.notify({severity:`error`,text:n,title:"Error"})}buildErrorText(t){return t instanceof Vs&&t.status===_t.BAD_GATEWAY_502||t.message?.toLowerCase()===`bad gateway`?"Server is unavailable. Please retry later.":t.message}notify(t){let{severity:n,text:r,title:o,timeout:i,sticky:s}=t;this.messageService.add({severity:n,summary:o,detail:r,closable:!0,life:i||this.TIMEOUT,sticky:s})}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var tD=[{max:1024,type:`B`},{max:1048576,type:`KB`},{max:1073741824,type:`MB`},{max:0xffffff9380,type:`GB`},{max:0x4000000000000,type:`TB`}];function ABe(e,t){let n=tD.find(i=>e<i.max)||tD[tD.length-1],r=e/(n.max/1024);return`${t===void 0?r:PX(r,t)} ${n.type}`}function PX(e,t){if(t<=0)return Math.round(e);let n=10**t;return Math.round(e*n)/n}function MBe(e){return new Promise(t=>{let n=new FileReader;n.onerror=r=>j.error(`Cannot read input file.`,r),n.onloadend=()=>t(n.result),n.readAsDataURL(e)})}function OBe(e,t,n){return PM(e,t,n)?.fileUrl||``}function LBe(e,t){return NT(e,t)?.fileUrl||``}
15function pd(e,t){return e===`true`?!0:e===`false`?!1:t}function hd(e,t){if(!e)return t;let n=parseInt(e,10);return isNaN(n)?t:n}var _r=C(fD());var pD=(0,C(Vo()).default)(`peertube:theme`);var Ig=class{configVariablesStyle;colorPaletteStyle;configuredCSSVariables=new Set;configCSSVariableMap={primaryColor:`--primary`,onPrimaryColor:`--on-primary`,foregroundColor:`--fg`,backgroundColor:`--bg`,backgroundSecondaryColor:`--bg-secondary`,menuForegroundColor:`--menu-fg`,menuBackgroundColor:`--menu-bg`,menuBorderRadius:`--menu-border-radius`,headerForegroundColor:`--header-fg`,headerBackgroundColor:`--header-bg`,inputBorderRadius:`--input-border-radius`};defaultConfigValue;getCSSConfigValue(t){let n=this.configCSSVariableMap[t];return getComputedStyle(document.documentElement).getPropertyValue(n)}injectConfigVariables(t){let{currentTheme:n,config:r}=t;if(this.configVariablesStyle||(this.configVariablesStyle=document.createElement(`style`),this.configVariablesStyle.setAttribute(`type`,`text/css`),this.configVariablesStyle.dataset.ptStyleId=`config-variables`,document.head.appendChild(this.configVariablesStyle)),this.configuredCSSVariables.clear(),this.configVariablesStyle.textContent=``,!this.isUsingDefaultTheme({currentTheme:n,config:r}))return;let o=getComputedStyle(document.documentElement),i=``;this.defaultConfigValue={};for(let[s,a]of Object.entries(r.customization)){let c=this.configCSSVariableMap[s];if(this.defaultConfigValue[s]=o.getPropertyValue(c),!!a){if(!c){j.error(`Unknown UI config variable "${s}" with value "${a}"`);continue}i+=`  ${c}: ${a};
16`,this.configuredCSSVariables.add(c)}}i&&(this.configVariablesStyle.textContent=`:root[data-pt-theme=${n}] {
17${i} }`)}injectTheme(t,n){let r=this.getHeadElement(),o=[];for(let i of t.css){let s=document.createElement(`link`),a=n+`/themes/${t.name}/${t.version}/css/${i}`;s.setAttribute(`href`,a),s.setAttribute(`rel`,`alternate stylesheet`),s.setAttribute(`type`,`text/css`),s.setAttribute(`title`,t.name),s.setAttribute(`disabled`,``),r.appendChild(s),o.push(s)}return o}loadThemeStyle(t){let n=document.getElementsByTagName(`link`);for(let r=0;r<n.length;r++){let o=n[r];o.getAttribute(`rel`).includes(`style`)&&o.getAttribute(`title`)&&(o.disabled=o.getAttribute(`title`)!==t,o.disabled?o.onload=void 0:o.onload=()=>this._injectColorPalette())}document.documentElement.dataset.ptTheme=t}injectColorPalette(t,n=0){if(n>100)j.error(`Too many iteration when checking color palette injection. The theme may be missing the --is-dark CSS variable`);else if(!this.canInjectCoreColorPalette())return setTimeout(()=>this.injectColorPalette(t,n+1),Math.floor(n/10));return pD(`Update color palette`,t.config),this.injectConfigVariables(t),this._injectColorPalette()}removeThemeLink(t){this.getHeadElement().removeChild(t)}isUsingDefaultTheme(t){let{currentTheme:n,config:r}=t;return n===r.default?!0:r.default==="default"?r.builtIn.some(o=>o.name===n):!1}canInjectCoreColorPalette(){let n=getComputedStyle(document.documentElement).getPropertyValue(`--is-dark`);return n===`0`||n===`1`}_injectColorPalette(){try{this.colorPaletteStyle||(this.colorPaletteStyle=document.createElement(`style`),this.colorPaletteStyle.setAttribute(`type`,`text/css`),this.colorPaletteStyle.dataset.ptStyleId=`color-palette`,document.head.appendChild(this.colorPaletteStyle));let t=``,n=getComputedStyle(document.documentElement);this.colorPaletteStyle.textContent=``;let r=()=>this.isDarkTheme({fg:n.getPropertyValue(`--fg`)||n.getPropertyValue(`--mainForegroundColor`),bg:n.getPropertyValue(`--bg`)||n.getPropertyValue(`--mainBackgroundColor`),isDarkVar:n.getPropertyValue(`--is-dark`)}),o=s=>this.isDarkTheme({fg:n.getPropertyValue(`--${s}-fg`),bg:n.getPropertyValue(`--${s}-bg`),isDarkVar:n.getPropertyValue(`--is-${s}-dark`)}),i=[{prefix:`primary`,invertIfDark:!0,step:5,darkTheme:r},{prefix:`on-primary`,invertIfDark:!0,step:5,darkTheme:r},{prefix:`bg-secondary`,invertIfDark:!0,step:5,darkTheme:r},{prefix:`fg`,invertIfDark:!0,fallbacks:{"--fg-300":`--greyForegroundColor`},step:5,darkTheme:r},{prefix:`input-bg`,invertIfDark:!0,step:5,darkTheme:r},{prefix:`menu-fg`,invertIfDark:!0,step:5,darkTheme:()=>
17o(`menu`)},{prefix:`menu-bg`,invertIfDark:!0,step:5,darkTheme:()=>o(`menu`)},{prefix:`header-fg`,invertIfDark:!0,step:5,darkTheme:()=>o(`header`)},{prefix:`header-bg`,invertIfDark:!0,step:5,darkTheme:()=>o(`header`)}];for(let{prefix:s,invertIfDark:a,step:c,darkTheme:l,fallbacks:u={}}of i){let d=n.getPropertyValue(`--`+s),f=a&&l()?-1:1;if(!d){console.error(`Cannot create palette of nonexistent "--${s}" CSS documentElement variable`);continue}let p=(0,_r.toHSLA)((0,_r.parse)(d.trim()));pD(`Theme main variable --${s}: ${d} -> ${this.toHSLStr(p)}`);let g=[{id:500,key:`--${s}-500`,value:this.toHSLStr(p)}];for(let y of[-1,1]){let E=w$1({},p);for(let b=1;b<=9;b++){let C=500+50*b*y,M=`--${s}-${C}`,q=this.configuredCSSVariables.has(`--${s}`)?`0`:n.getPropertyValue(M);if(!q||q===`0`){let te=this.buildNewLuminance(E,y*c,f),R=x(w$1({},E),{l:te}),ce=this.toHSLStr(R),be=u[M]?`var(${u[M]}, ${ce})`:ce;g.push({id:C,key:M,value:be}),E=R,pD(`Injected theme palette ${M} -> ${be}`)}else E=(0,_r.toHSLA)((0,_r.parse)(q))}}for(let{key:y,value:E}of OM(g,`id`))t+=`  ${y}: ${E};
18`;t&&(document.documentElement.classList.add(`color-palette`),this.colorPaletteStyle.textContent=`:root.color-palette {
19${t} }`)}document.documentElement.dataset.bsTheme=r()?`dark`:``}catch(t){j.error(`Cannot inject color palette`,t)}}buildNewLuminance(t,n,r){return Math.max(Math.min(100,Math.round(t.l+n*-1*r)),0)}toHSLStr(t){return`hsl(${Math.round(t.h)} ${Math.round(t.s)}% ${Math.round(t.l)}% / ${Math.round(t.a)})`}isDarkTheme(t){let{fg:n,bg:r,isDarkVar:o}=t;if(o===`1`)return!0;if(n&&r)try{if((0,_r.getLuminance)((0,_r.parse)(r))<(0,_r.getLuminance)((0,_r.parse)(n)))return!0}catch(i){console.error(`Cannot parse deprecated CSS variables`,i)}return!1}getHeadElement(){return document.getElementsByTagName(`head`)[0]}};var hD=(0,C(Vo()).default)(`peertube:plugins`);var $o=class e{hooks={};scopes={};loadedScripts={};loadedScopes=[];loadingScopes={};pluginsLoaded={common:new qe(1),"admin-plugin":new qe(1),search:new qe(1),"video-watch":new qe(1),signup:new qe(1),login:new qe(1),"video-edit":new qe(1),embed:new qe(1),"my-library":new qe(1),"video-channel":new qe(1),"my-account":new qe(1),"admin-users":new qe(1),"admin-comments":new qe(1),moderation:new qe(1)};router;doAction;peertubeHelpersFactory;onFormFields;onSettingsScripts;onClientRoute;backendUrl;constructor(t){this.router=t.router,this.doAction=t.doAction,this.peertubeHelpersFactory=t.peertubeHelpersFactory,this.onFormFields=t.onFormFields,this.onSettingsScripts=t.onSettingsScripts,this.onClientRoute=t.onClientRoute,this.backendUrl=t.backendUrl}static getPluginPathPrefix(t){return t?`/themes`:`/plugins`}static getDefaultLoginHref(t,n){if(n?.client.menu.login.redirectOnSingleExternalAuth!==!0)return;let r=n.plugin.registeredExternalAuths;if(r.length===1)return GM(t,r[0])}loadPluginsList(t){for(let n of t.plugin.registered)this.addPlugin(n)}runHook(t,n,r){return F$1(this,null,function*(){if(!this.hooks[t])return yield n;let o=VM(t),i=yield n;for(let s of this.hooks[t])j.info(`Running hook ${t} of plugin ${s.plugin.name}`),i=yield $M({handler:s.handler,hookType:o,result:i,params:r,onError:a=>{j.error(`Cannot run hook ${t} of script ${s.clientScript.script} of plugin ${s.plugin.name}`,a)}});return i})}ensurePluginsAreLoaded(t){this.loadPluginsByScope(t);return sr(this.pluginsLoaded[t].asObservable().pipe(Ke(),Mn()))}reloadLoadedScopes(){return F$1(this,null,function*(){for(let t of this.loadedScopes)yield this.loadPluginsByScope(t,!0)})}addPlugin(t,n=!1){let r=e.getPluginPathPrefix(n);for(let o of Object.keys(t.clientScripts)){let i=t.clientScripts[o];for(let s of i.scopes)this.scopes[s]||(this.scopes[s]=[]),this.scopes[s].push({plugin:t,clientScript:{script:`${r}/${t.name}/${t.version}/client-scripts/${i.script}`,scopes:i.scopes},pluginType:n?nd.THEME:nd.PLUGIN,isTheme:n}),this.loadedScripts[i.script]=!1}}removePlugin(t){for(let n of Object.keys(this.scopes))this.scopes[n]=this.scopes[n].filter(r=>r.plugin.name!==t.name)}loadPluginsByScope(t,n=!1){return F$1(this,null,function*(){if(!this.loadingScopes[t]&&!(!n&&this.loadedScopes.includes(t))){this.loadingScopes[t]=!0,hD(`Loa
19ding scope %s`,t);try{n||this.loadedScopes.push(t);let r=this.scopes[t];if(!Array.isArray(r)){this.loadingScopes[t]=!1,this.pluginsLoaded[t].next(!0),hD(`Nothing to load for scope %s`,t);return}let o=[];for(let i of r){let s=i.clientScript;this.loadedScripts[s.script]||(o.push(this.loadPlugin(i)),this.loadedScripts[s.script]=!0)}yield Promise.all(o),this.pluginsLoaded[t].next(!0),this.loadingScopes[t]=!1,hD(`Scope %s loaded`,t)}catch(r){j.error(`Cannot load plugins by scope ${t}`,r)}}})}loadPlugin(t){let{plugin:n,clientScript:r}=t,o=d=>{if(_M[d.target]!==!0){j.error(`Unknown hook ${d.target} of plugin ${n.name}. Skipping.`);return}this.hooks[d.target]||(this.hooks[d.target]=[]),this.hooks[d.target].push({plugin:n,clientScript:r,target:d.target,handler:d.handler,priority:d.priority||0})},i=(d,f)=>{if(!this.onFormFields)throw new Error(`Video field registration is not supported`);return this.onFormFields(t,d,f)},s=d=>{if(!this.onSettingsScripts)throw new Error(`Registering settings script is not supported`);return this.onSettingsScripts(t,d)},a=d=>{if(!this.onClientRoute)throw new Error(`Registering client route is not supported`);return this.onClientRoute(d)},c=this.doAction,l=this.peertubeHelpersFactory(t);j.info(`Loading script ${r.script} of plugin ${n.name}`);return tQ((this.backendUrl||window.location.origin)+r.script).then(d=>d.register({router:this.router,doAction:c,registerHook:o,registerVideoField:i,registerSettingsScript:s,registerClientRoute:a,peertubeHelpers:l})).then(()=>this.sortHooksByPriority()).catch(d=>j.error(`Cannot import or register plugin ${t.plugin.name}`,d))}sortHooksByPriority(){for(let t of Object.keys(this.hooks))this.hooks[t].sort((n,r)=>r.priority-n.priority)}};function tQ(e){return F$1(this,null,function*(){try{return new Function(`return import('${e}')`)()}catch(t){return j.info(`Fallback to import polyfill`),new Promise((n,r)=>{let o=`$importModule$`+Math.random().toString(32).slice(2),i=document.createElement(`script`),s=()=>{delete window[o],i.onerror=null,i.onload=null,i.remove(),URL.revokeObjectURL(i.src),i.src=``};i.defer=!0,i.type=`module`,i.onerror=()=>{r(new Error(`Failed to import: ${e}`)),s()},i.onload=()=>{n(window[o]),s()};let a=`import * as m from "${e}"; window.${o} = m;`,c=new Blob([a],{type:`text/javascript`});i.src=URL.createObjectURL(c),document.head.appendChild(i)})}})}function mD(e){return e.charAt(0).toUpperCase()+e.slice(1)}function vje(e){return e?e.split(`
20`).filter(t=>t&&t.length!==0):[]}function qk(e){let t=[];for(let n of Object.keys(e))t.push(encodeURIComponent(n)+`=`+encodeURIComponent(e[n]));return t.join(`&`)}function bje(e,t){let n=new URL(e),r=new URL(t);return n.hostname===`localhost`&&r.hostname===`localhost`?!0:n.origin===r.origin}function xje(e){let{embedUrl:t,embedTitle:n,aspectRatio:r,responsive:o=!1}=e,i=document.createElement(`iframe`);if(i.title=n,i.width=o?`100%`:`560`,i.height=o?`100%`:`315`,i.src=t,i.style.border=`0`,i.allow=`fullscreen`,i.sandbox.add(`allow-same-origin`,`allow-scripts`,`allow-popups`,`allow-forms`),o){let s=document.createElement(`div`);return s.style.position=`relative`,s.style.paddingTop=r?(1/r*100).toFixed(2)+`%`:`56.25%`,i.style.position=`absolute`,i.style.inset=`0`,s.appendChild(i),s.outerHTML}return i.outerHTML}function Rje(e,t,n){return e.isLocal&&t.tracker.enabled===!1||rQ()?!1:n}function Nje(e,t){return new Set([on.PRIVATE,on.INTERNAL]).has(e.privacy.id)||e.privacy.id===on.PASSWORD_PROTECTED&&!t}function Mje(e){return e.downloadEnabled===!1||nQ(e)}function nQ(e){return new Set([on.PRIVATE,on.INTERNAL,on.PASSWORD_PROTECTED]).has(e.privacy.id)}function Oje(e,t,n){return e.nsfw===!1?!1:n?(n.nsfwFlagsWarned&e.nsfwFlags)!==0||(n.nsfwFlagsBlurred&e.nsfwFlags)!==0?!0:(n.nsfwFlagsDisplayed&e.nsfwFlags)!==0||(n.nsfwFlagsHidden&e.nsfwFlags)!==0?!1:n.nsfwPolicy===`warn`||n.nsfwPolicy===`blur`:t.instance.defaultNSFWPolicy===`warn`||t.instance.defaultNSFWPolicy===`blur`}function Lje(e,t,n){return e.nsfw===!1?!1:n?(n.nsfwFlagsBlurred&e.nsfwFlags)!==0?!0:(n.nsfwFlagsWarned&e.nsfwFlags)!==0||(n.nsfwFlagsDisplayed&e.nsfwFlags)!==0||(n.nsfwFlagsHidden&e.nsfwFlags)!==0?!1:n.nsfwPolicy===`blur`:t.instance.defaultNSFWPolicy===`blur`}function Pje(e,t,n){return e.nsfw===!1?!1:n?(n.nsfwFlagsHidden&e.nsfwFlags)!==0?!0:(n.nsfwFlagsBlurred&e.
20nsfwFlags)!==0||(n.nsfwFlagsWarned&e.nsfwFlags)!==0||(n.nsfwFlagsDisplayed&e.nsfwFlags)!==0?!1:n.nsfwPolicy===`do_not_list`:t.instance.defaultNSFWPolicy===`do_not_list`}function rQ(){return!(window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection)}var Jje=`pop state dismiss`;function _g(e,t){let n=t&&t.cache?t.cache:uQ,r=t&&t.serializer?t.serializer:cQ;return(t&&t.strategy?t.strategy:iQ)(e,{cache:n,serializer:r})}function oQ(e){return e==null||typeof e==`number`||typeof e==`boolean`}function Yk(e,t,n,r){let o=oQ(r)?r:n(r),i=t.get(o);return typeof i>`u`&&(i=e.call(this,r),t.set(o,i)),i}function Kk(e,t,n){let r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return typeof i>`u`&&(i=e.apply(this,r),t.set(o,i)),i}function gD(e,t,n,r,o){return n.bind(t,e,r,o)}function iQ(e,t){let n=e.length===1?Yk:Kk;return gD(e,this,n,t.cache.create(),t.serializer)}function sQ(e,t){return gD(e,this,Kk,t.cache.create(),t.serializer)}function aQ(e,t){return gD(e,this,Yk,t.cache.create(),t.serializer)}var cQ=function(){return JSON.stringify(arguments)};var lQ=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}};var uQ={create:function(){return new lQ}};var wg={variadic:sQ,monadic:aQ};var dQ=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Jk(e){let t={};return e.replace(dQ,n=>{let r=n.length;switch(n[0]){case`G`:t.era=r===4?`long`:r===5?`narrow`:`short`;break;case`y`:t.year=r===2?`2-digit`:`numeric`;break;case`Y`:case`u`:case`U`:case`r`:throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case`q`:case`Q`:throw new RangeError("`q/Q` (quarter) patterns are not supported");case`M`:case`L`:t.month=[`numeric`,`2-digit`,`short`,`long`,`narrow`][r-1];break;case`w`:case`W`:throw new RangeError("`w/W` (week) patterns are not supported");case`d`:t.day=[`numeric`,`2-digit`][r-1];break;case`D`:case`F`:case`g`:throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case`E`:t.weekday=r===4?`long`:r===5?`narrow`:`short`;break;case`e`:if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][r-3];break;case`c`:if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][r-3];break;case`a`:t.hour12=!0;break;case`b`:case`B`:throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case`h`:t.hourCycle=`h12`,t.hour=[`numeric`,`2-digit`][r-1];break;case`H`:t.hourCycle=`h23`,t.hour=[`numeric`,`2-digit`][r-1];break;case`K`:t.hourCycle=`h11`,t.hour=[`numeric`,`2-digit`][r-1];break;case`k`:t.hourCycle=`h24`,t.hour=[`numeric`,`2-digit`][r-1];break;case`j`:case`J`:case`C`:throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case`m`:t.minute=[`numeric`,`2-digit`][r-1];break;case`s`:t.second=[`numeric`,`2-digit`][r-1];break;case`S`:case`A`:throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case`z`:t.timeZoneName=r<4?`short`:`long`;break;case`Z`:case`O`:case`v`:case`V`:case`X`:case`x`:throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return``}),t}var fQ=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function e1(e){if(e.length===0)throw new Error(`Number skeleton cannot be empty`);let t=e.split(fQ).filter(r=>r.length>0),n=[];for(let r of t){let o=r.split(`/`);if(o.length===0)throw new Error(`Invalid number skeleton`);let[i,...s]=o;for(let a of s)if(a.length===0)throw new Error(`Invalid number skeleton`);n.push({stem:i,options:s})}return n}function pQ(e){return e.replace(/^(.*?)-/,``)}var Xk=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g;var t1=/^(@+)?(\+|#+)?[rs]?$/g;var hQ=/(\*)(0+)|(#+)(0+)|(0+)/g;var n1=/^(0+)$/;function Zk(e){let t={};return e[e.length-1]===`r`?t.roundingPriority=`morePrecision`:e[e.length-1]===`s`&&(t.roundingPriority=`lessPrecision`),e.replace(t1,function(n,r,o){return typeof o!=`string`?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):o===`+`?t.minimumSignificantDigits=r.length:r[0]===`#`?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof o==`string`?o.length:0)),``}),t}function r1(e){switch(e){case`sign-auto`:return{signDisplay:`auto`};case`sign-accounting`:case`()`:return{currencySign:`accounting`};case`sign-always`:case`+!`:return{signDisplay:`always`};case`sign-accounting-always`:case`()!`:return{signDisplay:`always`,currencySign:`accounting`};case`sign-except-zero`:case`+?`:return{signDisplay:`exceptZero`};case`sign-accounting-except-zero`:case`()?`:return{signDisplay:`exceptZero`,currencySign:`accounting`};case`sign-never`:case`+_`:return{signDisplay:`never`}}}function mQ(e){let t;if(e[0]===`E`&&e[1]===`E`?(t={notation:`engineering`},e=e.slice(2)):e[0]===`E`&&(t={notation:`scientific`},e=e.slice(1)),t){let n=e.slice(0,2);if(n===`+!`?(t.signDisplay=`always`,e=e.slice(2)):n===`+?`&&(t.signDisplay=`exceptZero`,e=e.slice(2)),!n1.test(e))throw new Error(`Malformed concise eng/scientific notation`);t.minimumIntegerDigits=e.length}return t}function Qk(e){return r1(e)||{}}function o1(e){let t={};for(let n of e){switch(n.stem){case`percent`:case`%`:t.style=`percent`;continue;case`%x100`:t.style=`percent`,t.scale=100;continue;case`currency`:t.style=`currency`,t.currency=n.options[0];continue;case`group-off`:case`,_`:t.useGrouping=!1;continue;case`precision-integer`:case`.`:t.maximumFractionDigits=0;continue;case`measure-unit`:case`unit`:t.style=`unit`,t.unit=pQ(n.options[0]);continue;case`compact-short`:case`K`:t.notation=`compact`,t.compactDisplay=`short`;continue;case`compact-long`:case`KK`:t.notation=`compact`,t.compactDisplay=`long`;continue;case`scientific`:t=w$1(x(w$1({},t),{notation:`scientific`}),n.options.reduce((i,s)=>w$1(w$1({},i),Qk(s)),{}));continue;case`engineering`:t=w$1(x(w$1({},t),{notation:`engineering`}),n.options.reduce((i,s)=>w$1(w$1({},i),Qk(s)),{}));continue;case`notation-simple`:t.notation=`standard`;continue;case`unit-width-narrow`:t.currencyDisplay=`narrowSymbol`,t.unitDisplay=`narrow`;continue;case`unit-width-short`:t.currencyDisplay=`code`,t.unitDisplay=`short`;continue;case`unit-width-full-name`:t.currencyDisplay=`name`,t.unitDisplay=`long`;continue;case`unit-width-iso-code`:t.currencyDisplay=`symbol`;continue;case`scale`:t.scale=parseFloat(n.options[0]);continue;case`rounding-mode-floor`:t.roundingMode=`floor`;continue;case`rounding-mode-ceiling`:t.roundingMode=`ceil`;continue;case`rounding-mode-down`:t.roundingMode=`trunc`;continue;case`rounding-mode-up`:t.roundingMode=`expand`;continue;case`rounding-mode-half-even`:t.roundingMode=`halfEven`;continue;
20case`rounding-mode-half-down`:t.roundingMode=`halfTrunc`;continue;case`rounding-mode-half-up`:t.roundingMode=`halfExpand`;continue;case`integer-width`:if(n.options.length>1)throw new RangeError(`integer-width stems only accept a single optional option`);n.options[0].replace(hQ,function(i,s,a,c,l,u){if(s)t.minimumIntegerDigits=a.length;else{if(c&&l)throw new Error(`We currently do not support maximum integer digits`);if(u)throw new Error(`We currently do not support exact integer digits`)}return``});continue}if(n1.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Xk.test(n.stem)){if(n.options.length>1)throw new RangeError(`Fraction-precision stems only accept a single optional option`);n.stem.replace(Xk,function(s,a,c,l,u,d){return c===`*`?t.minimumFractionDigits=a.length:l&&l[0]===`#`?t.maximumFractionDigits=l.length:u&&d?(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length+d.length):(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length),``});let i=n.options[0];i===`w`?t=x(w$1({},t),{trailingZeroDisplay:`stripIfInteger`}):i&&(t=w$1(w$1({},t),Zk(i)));continue}if(t1.test(n.stem)){t=w$1(w$1({},t),Zk(n.stem));continue}let r=r1(n.stem);r&&(t=w$1(w$1({},t),r));let o=mQ(n.stem);o&&(t=w$1(w$1({},t),o))}return t}var gQ=(function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]=`EXPECT_ARGUMENT_CLOSING_BRACE`,e[e.EMPTY_ARGUMENT=2]=`EMPTY_ARGUMENT`,e[e.MALFORMED_ARGUMENT=3]=`MALFORMED_ARGUMENT`,e[e.EXPECT_ARGUMENT_TYPE=4]=`EXPECT_ARGUMENT_TYPE`,e[e.INVALID_ARGUMENT_TYPE=5]=`INVALID_ARGUMENT_TYPE`,e[e.EXPECT_ARGUMENT_STYLE=6]=`EXPECT_ARGUMENT_STYLE`,e[e.INVALID_NUMBER_SKELETON=7]=`INVALID_NUMBER_SKELETON`,e[e.INVALID_DATE_TIME_SKELETON=8]=`INVALID_DATE_TIME_SKELETON`,e[e.EXPECT_NUMBER_SKELETON=9]=`EXPECT_NUMBER_SKELETON`,e[e.EXPECT_DATE_TIME_SKELETON=10]=`EXPECT_DATE_TIME_SKELETON`,e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]=`UNCLOSED_QUOTE_IN_ARGUMENT_STYLE`,e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]=`EXPECT_SELECT_ARGUMENT_OPTIONS`,e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]=`EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]=`INVALID_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]=`EXPECT_SELECT_ARGUMENT_SELECTOR`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]=`EXPECT_PLURAL_ARGUMENT_SELECTOR`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]=`EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]=`EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT`,e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]=`INVALID_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]=`DUPLICATE_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]=`DUPLICATE_SELECT_ARGUMENT_SELECTOR`,e[e.MISSING_OTHER_CLAUSE=22]=`MISSING_OTHER_CLAUSE`,e[e.INVALID_TAG=23]=`INVALID_TAG`,e[e.INVALID_TAG_NAME=25]=`INVALID_TAG_NAME`,e[e.UNMATCHED_CLOSING_TAG=26]=`UNMATCHED_CLOSING_TAG`,e[e.UNCLOSED_TAG=27]=`UNCLOSED_TAG`,e})({});function ED(e){return e.type===0}function a1(e){return e.type===1}function bD(e){return e.type===2}function SD(e){return e.type===3}function TD(e){return e.type===4}function DD(e){return e.type===5}function CD(e){return e.type===6}function c1(e){return e.type===7}function ID(e){return e.type===8}function _D(e){return!!(e&&typeof e==`object`&&e.type===0)}function Ag(e){return!!(e&&typeof e==`object`&&e.type===1)}var l1=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;var Ed={"001":[`H`,`h`],419:[`h`,`H`,`hB`,`hb`],AC:[`H`,`h`,`hb`,`hB`],AD:[`H`,`hB`],AE:[`h`,`hB`,`hb`,`H`],AF:[`H`,`hb`,`hB`,`h`],AG:[`h`,`hb`,`H`,`hB`],AI:[`H`,`h`,`hb`,`hB`],AL:[`h`,`H`,`hB`],AM:[`H`,`hB`],AO:[`H`,`hB`],AR:[`h`,`H`,`hB`,`hb`],AS:[`h`,`H`],AT:[`H`,`hB`],AU:[`h`,`hb`,`H`,`hB`],AW:[`H`,`hB`],AX:[`H`],AZ:[`H`,`hB`,`h`],BA:[`H`,`hB`,`h`],BB:[`h`,`hb`,`H`,`hB`],BD:[`h`,`hB`,`H`],BE:[`H`,`hB`],BF:[`H`,`hB`],BG:[`H`,`hB`,`h`],BH:[`h`,`hB`,`hb`,`H`],BI:[`H`,`h`],BJ:[`H`,`hB`],BL:[`H`,`hB`],BM:[`h`,`hb`,`H`,`hB`],BN:[`hb`,`hB`,`h`,`H`],BO:[`h`,`H`,`hB`,`hb`],BQ:[`H`],BR:[`H`,`hB`],BS:[`h`,`hb`,`H`,`hB`],BT:[`h`,`H`],BW:[`H`,`h`,`hb`,`hB`],BY:[`H`,`h`],BZ:[`H`,`h`,`hb`,`hB`],CA:[`h`,`hb`,`H`,`hB`],CC:[`H`,`h`,`hb`,`hB`],CD:[`hB`,`H`],CF:[`H`,`h`,`hB`],CG:[`H`,`hB`],CH:[`H`,`hB`,`h`],CI:[`H`,`hB`],CK:[`H`,`h`,`hb`,`hB`],CL:[`h`,`H`,`hB`,`hb`],CM:[`H`,`h`,`hB`],CN:[`H`,`hB`,`hb`,`h`],CO:[`h`,`H`,`hB`,`hb`],CP:[`H`],CR:[`h`,`H`,`hB`,`hb`],CU:[`h`,`H`,`hB`,`hb`],CV:[`H`,`hB`],CW:[`H`,`hB`],CX:[`H`,`h`,`hb`,`hB`],CY:[`h`,`H`,`hb`,`hB`],CZ:[`H`],DE:[`H`,`hB`],DG:[`H`,`h`,`hb`,`hB`],DJ:[`h`,`H`],DK:[`H`],DM:[`h`,`hb`,`H`,`hB`],DO:[`h`,`H`,`hB`,`hb`],DZ:[`h`,`hB`,`hb`,`H`],EA:[`H`,`h`,`hB`,`hb`],EC:[`h`,`H`,`hB`,`hb`],EE:[`H`,`hB`],EG:[`h`,`hB`,`hb`,`H`],EH:[`h`,`hB`,`hb`,`H`],ER:[`h`,`H`],ES:[`H`,`hB`,`h`,`hb`],ET:[`hB`,`hb`,`h`,`H`],FI:[`H`],FJ:[`h`,`hb`,`H`,`hB`],FK:[`H`,`h`,`hb`,`hB`],FM:[`h`,`hb`,`H`,`hB`],FO:[`H`,`h`],FR:[`H`,`hB`],GA:[`H`,`hB`],GB:[`H`,`h`,`hb`,`hB`],GD:[`h`,`hb`,`H`,`hB`],GE:[`H`,`hB`,`h`],GF:[`H`,`hB`],GG:[`H`,`h`,`hb`,`hB`],GH:[`h`,`H`],GI:[`H`,`h`,`hb`,`hB`],GL:[`H`,`h`],GM:[`h`,`hb`,`H`,`hB`],GN:[`H`,`hB`],GP:[`H`,`hB`],GQ:[`H`,`hB`,`h`,`hb`],GR:[`h`,`H`,`hb`,`hB`],GS:[`H`,`h`,`hb`,`hB`],GT:[`h`,`H`,`hB`,`hb`],GU:[`h`,`hb`,`H`,`hB`],GW:[`H`,`hB`],GY:[`h`,`hb`,`H`,`hB`],HK:[`h`,`hB`,`hb`,`H`],HN:[`h`,`H`,`hB`,`hb`],HR:[`H`,`hB`],HU:[`H`,`h`],IC:[`H`,`h`,`hB`,`hb`],ID:[`H`],IE:[`H`,`h`,`hb`,`hB`],IL:[`H`,`hB`],IM:[`H`,`h`,`hb`,`hB`],IN:[`h`,`H`],IO:[`H`,`h`,`hb`,`hB`],IQ:[`h`,`hB`,`hb`,`H`],IR:[`hB`,`H`],IS:[`H`],IT:[`H`,`hB`],JE:[`H`,`h`,`hb`,`hB`],JM:[`h`,`hb`,`H`,`hB`],JO:[`h`,`hB`,`hb`,`H`],JP:[`H`,`K`,`h`],KE:[`hB`,`hb`,`H`,`h`],KG:[`H`,`h`,`hB`,`hb`],KH:[`hB`,`h`,`H`,`hb`],KI:[`h`,`hb`,`H`,`hB`],KM:[`H`,`h`,`hB`,`hb`],KN:[`h`,`hb`,`H`,`hB`],KP:[`h`,`H`,`hB`,`hb`],KR:[`h`,`H`,`hB`,`hb`],KW:[`h`,`hB`,`hb`,`H`],KY:[`h`,`hb`,`H`,`hB`],KZ:[`H`,`hB`],LA:[`H`,`hb`,`hB`,`h`],LB:[`h`,`hB`,`hb`,`H`],LC:[`h`,`hb`,`H`,`hB`],LI:[`H`,`hB`,`h`],LK:[`H`,`h`,`hB`,`hb`],LR:[`h`,`hb`,`H`,`hB`],LS:[`h`,`H`],LT:[`H`,`h`,`hb`,`hB`],LU:[`H`,`h`,`hB`],LV:[`H`,`hB`,`hb`,`h`],LY:[`h`,`hB`,`hb`,`H`],MA:[`H`,`h`,`hB`,`hb`],MC:[`H`,`hB`],MD:[`H`,`hB`],ME:[`H`,`hB`,`h`],MF:[`H`,`hB`],MG:[`H`,`h`],MH:[`h`,`hb`,`H`,`hB`],MK:[`H`,`h`,`hb`,`hB`],ML:[`H`],MM:[`hB`,`hb`,`H`,`h`],MN:[`H`,`h`,`hb`,`hB`],MO:[`h`,`hB`,`hb`,`H`],MP:[`h`,`hb`,`H`,`hB`],MQ:[`H`,`hB`],MR:[`h`,`hB`,`hb`,`H`],MS:[`H`,`h`,`hb`,`hB`],MT:[`H`,`h`],MU:[`H`,`h`],MV:[`H`,`h`],MW:[`h`,`hb`,`H`,`hB`],MX:[`h`,`H`,`hB`,`hb`],MY:[`hb`,`hB`,`h`,`H`],MZ:[`H`,`hB`],NA:[`h`,`H`,`hB`,`hb`],NC:[`H`,`hB`],NE:[`H`],NF:[`H`,`h`,`hb`,`hB`],NG:[`H`,`h`,`hb`,`hB`],NI:[`h`,`H`,`hB`,`hb`],NL:[`H`,`hB`],NO:[`H`,`h`],NP:[`H`,`h`,`hB`],NR:[`H`,`h`,`hb`,`hB`],NU:[`H`,`h`,`hb`,`hB`],NZ:[`h`,`hb`,`H`,`hB`],OM:[`h`,`hB`,`hb`,`H`],PA:[`h`,`H`,`hB`,`hb`],PE:[`h`,`H`,`hB`,`hb`],PF:[`H`,`h`,`hB`],PG:[`h`,`H`],PH:[`h`,`hB`,`hb`,`H`],PK:[`h`,`hB`,`H`],PL:[`H`,`h`],PM:[`H`,`hB`],PN:[`H`,`h`,`hb`,`hB`],PR:[`h`,`H`,`hB`,`hb`],PS:[`h`,`hB`,`hb`,`H`],PT:[`H`,`hB`],PW:[`h`,`H`],PY:[`h`,`H`,`hB`,`hb`],QA:[`h`,`hB`,`hb`,`H`],RE:[`H`,`hB`],RO:[`H`,`hB`],RS:[`H`,`hB`,`h`],RU:[`H`],RW:[`H`,`h`],SA:[`h`,`hB`,`hb`,`H`],SB:[`h`,`hb`,`H`,`hB`],SC:[`H`,`h`,`hB`],SD:[`h`,`hB`,`hb`,`H`],SE:[`H`],SG:[`h`,`hb`,`H`,`hB`],SH:[`H`,`h`,`hb`,`hB`],SI:[`H`,`hB`],SJ:[`H`],SK:[`H`],SL:[`h`,`hb`,`H`,`hB`],SM:[`H`,`h`,`hB`],SN:[`H`,`h`,`hB`],SO:[`h`,`H`],SR:[`H`,`hB`],SS:[`h`,`hb`,`H`,`hB`],ST:[`H`,`hB`],SV:[`h`,`H`,`hB`,`hb`],SX:[`H`,`h`,`hb`,`hB`],SY:[`h`,`hB`,`hb`,`H`],SZ:[`h`,`hb`,`H`,`hB`],TA:[`H`,`h`,`hb`,`hB`],TC:[`h`,`hb`,`H`,`hB`],TD:[`h`,`H`,`hB`],TF:[`H`,`h`,`hB`],TG:[`H`,`hB`],TH:[`H`,`h`],TJ:[`H`,`h`],TL:[`H`,`hB`,`hb`,`h`],TM:[`H`,`h`],TN:[`h`,`hB`,`hb`,`H`],TO:[`h`,`H`],TR:[`H`,`hB`],TT:[`h`,`hb`,`H`,`hB`],TW:[`hB`,`hb`,`h`,`H`],TZ:[`hB`,`hb`,`H`,`h`],UA:[`H`,`hB`,`h`],UG:[`hB`,`hb`,`H`,`h`],UM:[`h`,`hb`,`H`,`hB`],US:[`h`,`hb`,`H`,`hB`],UY:[`h`,`H`,`hB`,`hb`],UZ:[`H`,`hB`,`h`],VA:[`H`,`h`,`hB`],VC:[`h`,`hb`,`H`,`hB`],VE:[`h`,`H`,`hB`,`hb`],VG:[`h`,`hb`,`H`,`hB`],VI:[`h`,`hb`,`H`,`hB`],VN:[`H`,`h`],VU:[`h`,`H`],WF:[`H`,`hB`],WS:[`h`,`H`],XK:[`H`,`hB`,`h`],YE:[`h`,`hB`,`hb`,`H`],YT:[`H`,`hB`],ZA:[`H`,`h`,`hb`,`hB`],ZM:[`h`,`hb`,`H`,`hB`],ZW:[`H`,`h`],"af-ZA":[`H`,`h`,`hB`,`hb`],"ar-001":[`h`,`hB`,`hb`,`H`],"ca-ES":[`H`,`h`,`hB`],"en-001":[`h`,`hb`,`H`,`hB`],"en-HK":[`h`,`hb`,`H`,`hB`],"en-IL":[`H`,`h`,`hb`,`hB`],"en-MY":[`h`,`hb`,`H`,`hB`],"es-BR":[`H`,`h`,`hB`,`hb`],"es-ES":[`H`,`h`,`hB`,`hb`],"es-GQ":[`H`,`h`,`hB`,`hb`],"fr-CA":[`H`,`h`,`hB`],"gl-ES":[`H`,`h`,`hB`],"gu-IN":[`hB`,`hb`,`h`,`H`],"hi-IN":[`hB`,`h`,`H`],"it-CH":[`H`,`h`,`hB`],"it-IT":[`H`,`h`,`hB`],"kn-IN":[`hB`,`h`,`H`],"ku-SY":[`H`,`hB`],"ml-IN":[`hB`,`h`,`H`],"mr-IN":[`hB`,`hb`,`h`,`H`],"pa-IN":[`hB`,`hb`,`h`,`H`],"ta-IN":[`hB`,`h`,`hb`,`H`],"te-IN":[`hB`,`h`,`H`],"zu-ZA":[`H`,`hB`,`hb`,`h`]};function yQ(e,t){let n=``;for(let r=0;r<e.length;r++){let o=e.charAt(r);if(o===`j`){let i=0;for(;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;let s=1+(i&1),a=i<2?1:3+(i>>1),c=`a`,l=vQ(t);for((l==`H`||l==`k`)&&(a=0);a-->0;)n+=c;for(;s-->0;)n=l+n}else o===`J`?n+=`H`:n+=o}return n}function vQ(e){let t=e.hourCycle;if(t===void 0){let o=e;t=o.getHourCycles?.()[0]??o.hourCycles?.[0]}if(t)switch(t){case`h24`:return`k`;case`h23`:return`H`;case`h12`:return`h`;case`h11`:return`K`;default:throw new Error(`Invalid hourCycle`)}let n=e.language,r;return n!==`root`&&(r=e.maximize().region),(Ed[`${n}-${r}`]||Ed[r||``]||Ed[n||``]||Ed[`${n}-001`]||Ed[`001`])[0].charAt(0)}var EQ=new RegExp(`^${l1.source}*`);var bQ=new RegExp(`${l1.source}*$`);function pe(e,t){return{start:e,end:t}}var SQ=!!Object.fromEntries;var TQ=!!String.prototype.trimStart;var DQ=!!String.prototype.trimEnd;var i1=SQ?Object.fromEntries:function(t){let n={};for(let[r,o]of t)n[r]=o;return n};
20var CQ=TQ?function(t){return t.trimStart()}:function(t){return t.replace(EQ,``)};var IQ=DQ?function(t){return t.trimEnd()}:function(t){return t.replace(bQ,``)};var s1=new RegExp(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`,`yu`);function _Q(e,t){return s1.lastIndex=t,s1.exec(e)[1]??``}function wQ(e){if(e.length===0)return null;let t=1,n=1;for(let r=0;r<e.length;){let o=e.charCodeAt(r);switch(o){case 35:case 39:case 60:case 123:case 125:return null}if(o===10)t++,n=1,r++;else if(n++,o>=55296&&o<=56319&&r+1<e.length){let i=e.charCodeAt(r+1);r+=i>=56320&&i<=57343?2:1}else r++}return{offset:e.length,line:t,column:n}}var AQ=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(this.offset()!==0)throw Error(`parser can only be used once`);if(this.message.length>0){let e=this.message.charCodeAt(0);if(e!==35&&e!==39&&e!==60&&e!==123&&e!==125){let t=wQ(this.message);if(t){let n=this.clonePosition();return this.position=t,{val:[{type:0,value:this.message,location:pe(n,this.clonePosition())}],err:null}}}}return this.parseMessage(0,``,!1)}parseMessage(e,t,n){let r=[];for(;!this.isEOF();){let o=this.char();if(o===123){let i=this.parseArgument(e,n);if(i.err)return i;r.push(i.val)}else{if(o===125&&e>0)break;if(o===35&&(t===`plural`||t===`selectordinal`)){let i=this.clonePosition();this.bump(),r.push({type:7,location:pe(i,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(26,pe(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&yD(this.peek()||0)){let i=this.parseTag(e,t);if(i.err)return i;r.push(i.val)}else{let i=this.parseLiteral(e,t);if(i.err)return i;r.push(i.val)}}}return{val:r,err:null}}parseTag(e,t){let n=this.clonePosition();this.bump();let r=this.parseTagName();if(this.bumpSpace(),this.bumpIf(`/>`))return{val:{type:0,value:`<${r}/>`,location:pe(n,this.clonePosition())},err:null};if(this.bumpIf(`>`)){let o=this.parseMessage(e+1,t,!0);if(o.err)return o;let i=o.val,s=this.clonePosition();if(this.bumpIf(`</`)){if(this.isEOF()||!yD(this.char()))return this.error(23,pe(s,this.clonePosition()));let a=this.clonePosition();return r!==this.parseTagName()?this.error(26,pe(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(`>`)?{val:{type:8,value:r,children:i,location:pe(n,this.clonePosition())},err:null}:this.error(23,pe(s,this.clonePosition())))}else return this.error(27,pe(n,this.clonePosition()))}else return this.error(23,pe(n,this.clonePosition()))}parseTagName(){let e=this.offset();for(this.bump();!this.isEOF()&&RQ(this.char());)this.bump();return this.message.slice(e,this.offset())}parseLiteral(e,t){let n=this.clonePosition(),r=``;for(;;){let i=this.tryParseQuote(t);if(i){r+=i;continue}let s=this.tryParseUnquoted(e,t);if(s){r+=s;continue}let a=this.tryParseLeftAngleBracket();if(a){r+=a;continue}break}let o=pe(n,this.clonePosition());return{val:{type:0,value:r,location:o},err:null}}tryParseLeftAngleBracket(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!xQ(this.peek()||0))?(this.bump(),`<`):null}tryParseQuote(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),`'`;case 123:case 60:case 62:case 125:break;case 35:if(e===`plural`||e===`selectordinal`)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let n=this.char();if(n===39)if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}else t.push(n);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let n=this.char();return n===60||n===123||n===35&&(t===`plural`||t===`selectordinal`)||n===125&&e>0?null:(this.bump(),String.fromCodePoint(n))}parseArgument(e,t){let n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,pe(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(2,pe(n,this.clonePosition()));let r=this.parseIdentifierIfPossible().value;if(!r)return this.error(3,pe(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,pe(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:r,location:pe(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(1,pe(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(3,pe(n,this.clonePosition()))}}parseIdentifierIfPossible(){let e=this.clonePosition(),t=this.offset(),n=_Q(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:pe(e,this.clonePosition())}}parseArgumentOptions(e,t,n,r){let o=this.clonePosition(),i=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(i){case``:return this.error(4,pe(o,s));case`number`:case`date`:case`time`:{this.bumpSpace();let a=null;if(this.bumpIf(`,`)){this.bumpSpace();let u=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;let f=IQ(d.val);if(f.length===0)return this.error(6,pe(this.clonePosition(),this.clonePosition()));a={style:f,styleLocation:pe(u,this.clonePosition())}}let c=this.tryParseArgumentClose(r);if(c.err)return c;let l=pe(r,this.clonePosition());if(a&&a.style.startsWith(`::`)){let u=CQ(a.style.slice(2));if(i===`number`){let d=this.parseNumberSkeletonFromString(u,a.styleLocation);return d.err?d:{val:{type:2,value:n,location:l,style:d.val},err:null}}else{if(u.length===0)return this.error(10,l);let d=u;this.locale&&(d=yQ(u,this.locale));let f={type:1,pattern:d,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?Jk(d):{}};return{val:{type:i===`date`?3:4,value:n,location:l,style:f},err:null}}}return{val:{type:i===`number`?2:i===`date`?3:4,value:n,location:l,style:a?.style??null},err:null}}case`plural`:case`selectordinal`:case`select`:{let a=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(`,`))return this.error(12,pe(a,w$1({},a)));this.bumpSpace();let c=this.parseIdentifierIfPossible(),l=0;if(i!==`select`&&c.value===`offset`){if(!this.bumpIf(`:`))return this.error(13,pe(this.clonePosition(),this.clonePosition()));this.bumpSpace();let p=this.tryParseDecimalInteger(13,14);if(p.err)return p;this.bumpSpace(),c=this.parseIdentifierIfPossible(),l=p.val}let u=this.tryParsePluralOrSelectOptions(e,i,t,c);if(u.err)return u;let d=this.tryParseArgumentClose(r);if(d.err)return d;let f=pe(r,this.clonePosition());return i===`select`?{val:{type:5,value:n,options:i1(u.val),location:f},err:null}:{val:{type:6,value:n,options:i1(u.val),offset:l,pluralType:i===`plural`?`cardinal`:`ordinal`,location:f},err:null}}default:return this.error(5,pe(o,s))}}tryParseArgumentClose(e){return this.isEOF()||this.char()!==125?this.error(1,pe(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let n=this.clonePosition();if(!this.bumpUntil(`'`))return this.error(11,pe(n,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(e>0)e-=1;else return{val:this.message.slice(t.offset,this.offset()),err:null};break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let n=[];try{n=e1(e)}catch(r){return this.error(7,t)}return{val:{type:0,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?o1(n):{}},err:null}}tryParsePluralOrSelectOptions(e,t,n,r){let o=!1,i=[],s=new Set,{value:a,location:c}=r;for(;;){if(a.length===0){let f=this.clonePosition();if(t!==`select`&&this.bumpIf(`=`)){let p=this.tryParseDecimalInteger(16,19);if(p.err)return p;c=pe(f,this.clonePosition()),a=this.message.slice(f.offset,this.offset())}else break}if(s.has(a))return this.error(t===`select`?21:20,c);a===`other`&&(o=!0),this.bumpSpace();let l=this.clonePosition();if(!this.bumpIf(`{`))return this.error(t===`select`?17:18,pe(this.clonePosition(),this.clonePosition()));let u=this.parseMessage(e+1,t,n);if(u.err)return u;let d=this.tryParseArgumentClose(l);if(d.err)return d;i.push([a,{value:u.val,location:pe(l,this.clonePosition())}]),s.add(a),this.bumpSpace(),{value:a,location:c}=this.parseIdentifierIfPossible()}return i.length===0?this.error(t===`select`?15:16,pe(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(22,pe(this.clonePosition(),this.clonePosition())):{val:i,err:null}}tryParseDecimalInteger(e,t){let n=1,r=this.clonePosition();this.bumpIf(`+`)||this.bumpIf(`-`)&&(n=-1);let o=!1,i=0;for(;!this.isEOF();){let a=this.char();if(a>=48&&a<=57)o=!0,i=i*10+(a-48),this.bump();else break}let s=pe(r,this.clonePosition());return o?(i*=n,Number.isSafeInteger(i)?{val:i,err:null}:this.error(t,s)):this.error(e,s)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error(`out of bound`);let t=this.message.codePointAt(e);if(t===void 0)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&NQ(this.char());)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function yD(e){return e>=97&&e<=122||e>=65&&e<=90}function xQ(e){return yD(e)||e===47}function RQ(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function NQ(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function vD(e){e.forEach(t=>{if(delete t.location,DD(t)||CD(t))for(let n in t.options)delete t.options[n].location,vD(t.options[n].value);else bD(t)&&_D(t.style)||(SD(t)||TD(t))&&Ag(t.style)?delete t.style.location:ID(t)&&vD(t.children)})}function u1(e,t={}){t=w$1({shouldParseSkeletons:!0,requiresOtherClause:!0},t);let n=new AQ(e,t).parse();if(n.err){let r=SyntaxError(gQ[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t?.captureLocation||vD(n.val),n.val}
20var Rg=class extends Error{constructor(e,t,n){super(e),this.code=t,this.originalMessage=n}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}};var d1=class extends Rg{constructor(e,t,n,r){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join(`", "`)}"`,`INVALID_VALUE`,r)}};var MQ=class extends Rg{constructor(e,t,n){super(`Value for "${e}" must be of type ${t}`,`INVALID_VALUE`,n)}};var OQ=class extends Rg{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,`MISSING_VALUE`,t)}};function LQ(e){return e.length<2?e:e.reduce((t,n)=>{let r=t[t.length-1];return!r||r.type!==0||n.type!==0?t.push(n):r.value+=n.value,t},[])}function PQ(e){return typeof e==`function`}function xg(e,t,n,r,o,i,s){if(e.length===1&&ED(e[0]))return[{type:0,value:e[0].value}];let a=[];for(let c of e){if(ED(c)){a.push({type:0,value:c.value});continue}if(c1(c)){typeof i==`number`&&a.push({type:0,value:n.getNumberFormat(t).format(i)});continue}let{value:l}=c;if(!(o&&l in o))throw new OQ(l,s);let u=o[l];if(a1(c)){(!u||typeof u==`string`||typeof u==`number`||typeof u==`bigint`)&&(u=typeof u==`string`||typeof u==`number`||typeof u==`bigint`?String(u):``),a.push({type:typeof u==`string`?0:1,value:u});continue}if(SD(c)){let d=typeof c.style==`string`?r.date[c.style]:Ag(c.style)?c.style.parsedOptions:void 0;a.push({type:0,value:n.getDateTimeFormat(t,d).format(u)});continue}if(TD(c)){let d=typeof c.style==`string`?r.time[c.style]:Ag(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:0,value:n.getDateTimeFormat(t,d).format(u)});continue}if(bD(c)){let d=typeof c.style==`string`?r.number[c.style]:_D(c.style)?c.style.parsedOptions:void 0;if(d&&d.scale){let f=d.scale||1;if(typeof u==`bigint`){if(!Number.isInteger(f))throw new TypeError(`Cannot apply fractional scale ${f} to bigint value. Scale must be an integer when formatting bigint.`);u=u*BigInt(f)}else u=u*f}a.push({type:0,value:n.getNumberFormat(t,d).format(u)});continue}if(ID(c)){let{children:d,value:f}=c,p=o[f];if(!PQ(p))throw new MQ(f,`function`,s);let g=p(xg(d,t,n,r,o,i).map(y=>y.value));Array.isArray(g)||(g=[g]),a.push(...g.map(y=>({type:typeof y==`string`?0:1,value:y})))}if(DD(c)){let d=u,f=(Object.prototype.hasOwnProperty.call(c.options,d)?c.options[d]:void 0)||c.options.other;if(!f)throw new d1(c.value,u,Object.keys(c.options),s);a.push(...xg(f.value,t,n,r,o));continue}if(CD(c)){let d=`=${u}`,f=Object.prototype.hasOwnProperty.call(c.options,d)?c.options[d]:void 0;if(!f){if(!Intl.PluralRules)throw new Rg(`Intl.PluralRules is not available in this environment.
21Try polyfilling it using "@formatjs/intl-pluralrules"
22`,`MISSING_INTL_API`,s);let g=typeof u==`bigint`?Number(u):u,y=n.getPluralRules(t,{type:c.pluralType}).select(g-(c.offset||0));f=(Object.prototype.hasOwnProperty.call(c.options,y)?c.options[y]:void 0)||c.options.other}if(!f)throw new d1(c.value,u,Object.keys(c.options),s);let p=typeof u==`bigint`?Number(u):u;a.push(...xg(f.value,t,n,r,o,p-(c.offset||0)));continue}}return LQ(a)}function kQ(e,t){return t?w$1(w$1(w$1({},e),t),Object.keys(e).reduce((n,r)=>(n[r]=w$1(w$1({},e[r]),t[r]),n),{})):e}function FQ(e,t){return t?Object.keys(e).reduce((n,r)=>(n[r]=kQ(e[r],t[r]),n),w$1({},e)):e}function wD(e){return{create(){return{get(t){return e[t]},set(t,n){e[t]=n}}}}}function UQ(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:_g((...t)=>new Intl.NumberFormat(...t),{cache:wD(e.number),strategy:wg.variadic}),getDateTimeFormat:_g((...t)=>new Intl.DateTimeFormat(...t),{cache:wD(e.dateTime),strategy:wg.variadic}),getPluralRules:_g((...t)=>new Intl.PluralRules(...t),{cache:wD(e.pluralRules),strategy:wg.variadic})}}var Vt;var f1=(Vt=class{constructor(t,n=Vt.defaultLocale,r,o){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=i=>{let s=this.formatToParts(i);if(s.length===1)return s[0].value;let a=s.reduce((c,l)=>(!c.length||l.type!==0||typeof c[c.length-1]!=`string`?c.push(l.value):c[c.length-1]+=l.value,c),[]);return a.length<=1?a[0]||``:a},this.formatToParts=i=>xg(this.ast,this.locales,this.formatters,this.formats,i,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=n,this.resolvedLocale=Vt.resolveLocale(n),typeof t==`string`){if(this.message=t,!Vt.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let i=y(o||{},[]);this.ast=Vt.__parse(t,x(w$1({},i),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError(`A message must be provided as a String or AST.`);this.formats=FQ(Vt.formats,r),this.formatters=o&&o.formatters||UQ(this.formatterCache)}static get defaultLocale(){return Vt.memoizedDefaultLocale||(Vt.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),Vt.memoizedDefaultLocale}},Vt.memoizedDefaultLocale=null,Vt.resolveLocale=t=>{if(typeof Intl.Locale>`u`)return;let n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t==`string`?t:t[0])},Vt.__parse=u1,Vt.formats={number:{integer:{maximumFractionDigits:0},currency:{style:`currency`},percent:{style:`percent`}},date:{short:{month:`numeric`,day:`numeric`,year:`2-digit`},medium:{month:`short`,day:`numeric`,year:`numeric`},long:{month:`long`,day:`numeric`,year:`numeric`},full:{weekday:`long`,month:`long`,day:`numeric`,year:`numeric`}},time:{short:{hour:`numeric`,minute:`numeric`},medium:{hour:`numeric`,minute:`numeric`,second:`numeric`},long:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`},full:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`}}},Vt);function Ng(){return se.production===!1&&window.location.search===`?lang=fr`}function Mg(){return`fr-FR`}var p1=new Map;var h1=new Set;var BQ=`String translation error`;function b2e(e,t){try{let n=p1.get(e);return n||(n=new f1(e,$localize.locale),p1.set(e,n)),n.format(t)}catch(n){return h1.has(e)||j.warn(`Cannot format ICU ${e}.`,n),h1.add(e),BQ}}function C2e(e){let{notifierObservable:t,time:n,bulkGet:r}=e;return t.pipe(mf(),Dy(t.pipe(da(n))),xe(o=>o.length!==0),$(o=>ZT(o)),je(o=>r(o).pipe($(i=>({params:o,response:i})))),mo())}var AD;var xD;function m1(e,t,n=`medium`){if(AD||(AD=new AS(e)),xD||(xD=new Intl.DateTimeFormat(e,{hour:`numeric`,minute:`numeric`,second:`numeric`,year:`2-digit`,month:`numeric`,day:`numeric`,fractionalSecondDigits:3})),n===`medium`)return AD.transform(t,n);if(n===`precise`)return xD.format(t)}function w2e(e){let t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=e%60,o=n>=10?``:`0`,i=r>=10?``:`0`;return((t>0?t.toString()+`:`:``)+o+n.toString()+`:`+i+r.toString()).replace(/^0/,``)}function x2e(e=`auto`){window.scrollTo({left:0,top:0,behavior:e})}function R2e(e,t=document.documentElement){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o={top:0,left:0,bottom:0,right:0};return o.top=n.top-r.top,o.left=n.left-r.left,o.top>=0&&o.left>=0&&n.bottom<=r.bottom&&n.right<=r.right}function N2e(e,t){let n=e.getBoundingClientRect(),r=window.innerHeight||document.documentElement.clientHeight;return!(Math.floor(100-(n.top>=0?0:n.top)/+-(n.height/1)*100)<t||Math.floor(100-(n.bottom-r)/n.height*100)<t)}function g1(e,t){return Object.assign({},e,t)}function O2e(e,t){let n=e.indexOf(t);n!==-1&&e.splice(n,1)}function L2e(e){if(e)return Array.isArray(e)?e:typeof e==`string`?e.split(`,`):[e]}function P2e(e){if(e){if(typeof e==`boolean`)return e;if(e===`true`)return!0;
22if(e===`false`)return!1;if(e===`1`)return!0;if(e===`0`)return!1}}function U2e(e,t){return g1(e,{[t]:jQ(e[t])})}function jQ(e){return e&&e.replace(/\r?\n|\r/g,`<br />`)}function B2e(){let e=new Map;return(t,n,r)=>{if(r.value!==null){r.value=VQ(r.value,e);return}throw new Error(`Only put a Memoize() decorator on a method accessor.`)}}function VQ(e,t){return function(...n){if(n.length>1)throw new Error(`Simple memoize only support 0 or 1 argument`);let r;if(n.length>0){let o=n[0];t.has(o)?r=t.get(o):(r=e.apply(this,n),t.set(o,r))}else t.has(this)?r=t.get(this):(r=e.apply(this,n),t.set(this,r));return r}}function z2e(e){let{err:t,name:n,notifier:r,sticky:o=!1}=e,i="Upload failed",s=$Q(n,t);return r&&r.error(s,i,null,o),s}function W2e(){return{maxAttempts:30,maxDelay:12e4,shouldRetry:(e,t)=>e===_t.SERVICE_UNAVAILABLE_503||(e<400||e>500)&&t<6}}function q2e(e){let t=e.response;console.log(t);let n=t?.detail||"Unknown error";return{error:new Error(n),name:`HttpErrorResponse`,message:n,ok:!1,headers:new Ht(e.responseHeaders),status:+e.responseStatus,statusText:n,type:zn.Response,url:e.url}}function $Q(e,t){if(t instanceof ErrorEvent)return "The connection was interrupted";if(t.status===_t.UNSUPPORTED_MEDIA_TYPE_415)return `Your ${e} file format is not supported by your platform.`;if(t.status===_t.INTERNAL_SERVER_ERROR_500)return "The server encountered an error.";if(t.status===_t.REQUEST_TIMEOUT_408)return `Your ${e} file couldn't be transferred before the server proxy timeout.`;if(t.status===_t.PAYLOAD_TOO_LARGE_413){let n=t.headers?.get(`X-File-Maximum-Size`),r=`Your ${e} file was too large.`;return n&&(r+=` Max size is ${n}.`),r}return t.message}function y1(){return se.apiUrl||window.location.origin}function RD(){return se.originServerUrl||window.location.origin}function GQ(){return se.apiUrl||se.originServerUrl||window.location.origin}function X2e(){return se.embedUrl||RD()}function ND(){return new URL(GQ()).host}function zQ(e,t,n){let r=t||new FormData,o;for(let i of Object.keys(e))if(n?o=`${n}[${i}]`:o=i,e[i]!==void 0){if(Array.isArray(e[i])&&e[i].length===0){r.append(i,null);continue}e[i]!==null&&typeof e[i]==`object`&&!(e[i]instanceof File)?zQ(e[i],r,o):r.append(o,e[i])}return r}var Vc=class e{id;name;host;url;followingCount;followersCount;createdAt;avatars;isLocal;static CREATE_BY_STRING(t,n,r=!1){let o=ND();return n.trim()===o&&!r?t:t+`@`+n}static IS_LOCAL(t){let n=ND();return t.trim()===n}constructor(t){this.id=t.id,this.url=t.url??``,this.name=t.name??``,this.host=t.host??``,this.followingCount=t.followingCount,this.followersCount=t.followersCount,t.createdAt&&(this.createdAt=new Date(t.createdAt.toString())),this.avatars=t.avatars||[],this.isLocal=e.IS_LOCAL(this.host)}};var bd=class extends Vc{displayName;description;updatedAt;nameWithHost;nameWithHostForced;mutedByUser;mutedByInstance;mutedByInstanceSubscription;mutedServerByUser;mutedServerByInstance;mutedServerByInstanceSubscription;userId;static GET_DEFAULT_AVATAR_URL(t){return t&&t<=48?`${window.location.origin}/client/assets/images/default-avatar-account-48x48.png`:`${window.location.origin}/client/assets/images/default-avatar-account.png`}constructor(t){super(t),this.displayName=t.displayName,this.description=t.description,this.userId=t.userId,this.nameWithHost=Vc.CREATE_BY_STRING(this.name,this.host),this.nameWithHostForced=Vc.CREATE_BY_STRING(this.name,this.host,!0),t.updatedAt&&(this.updatedAt=new Date(t.updatedAt.toString())),this.mutedByUser=!1,this.mutedByInstance=!1,this.mutedByInstanceSubscription=null,this.mutedServerByUser=!1,this.mutedServerByInstance=!1,this.mutedServerByInstanceSubscription=null}updateAvatar(t){this.avatars=t}resetAvatar(){this.avatars=[]}updateBlockStatus(t){this.mutedByInstance=t.accounts[this.nameWithHostForced].blockedByServer,this.mutedByInstanceSubscription=t.accounts[this.nameWithHostForced].blockedByServerSubscription,this.mutedByUser=t.accounts[this.nameWithHostForced].blockedByUser,this.mutedServerByUser=t.hosts[this.host].blockedByUser,this.mutedServerByInstance=t.hosts[this.host].blockedByServer,this.mutedServerByInstanceSubscription=t.hosts[this.host].blockedByServerSubscription}};var $c=class{id;username;email;pendingEmail;emailVerified;nsfwPolicy;nsfwFlagsDisplayed;nsfwFlagsHidden;nsfwFlagsWarned;nsfwFlagsBlurred;adminFlags;autoPlayVideo;autoPlayNextVideo;autoPlayNextVideoPlaylist;p2pEnabled;videosHistoryEnabled;videoLanguages;role;videoQuota;videoQuotaDaily;videoQuotaUsed;videoQuotaUsedDaily;videosCount;videoCommentsCount;abusesCount;abusesAcceptedCount;abusesCreatedCount;theme;account;notificationSettings;videoChannels;blocked;blockedReason;noInstanceConfigWarningModal;noWelcomeModal;noAccountSetupWarningModal;pluginAuth;lastLoginDate;twoFactorEnabled;language;newFeaturesInfoRead;createdAt;constructor(t){let o=t,{account:n}=o,r=y(o,[`account`]);Object.assign(this,r),n!==void 0&&(this.account=new bd(n))}
22hasRight(t){return Rm(this.role.id,t)}patch(t){for(let n of pc(t))this[n]=t[n];t.account!==void 0&&(this.account=new bd(t.account))}updateAccountAvatar(t){t?this.account.updateAvatar(t):this.account.resetAvatar()}hasUploadDisabled(){return this.videoQuota===0||this.videoQuotaDaily===0}isAutoBlocked(t){return t.autoBlacklist.videos.ofUsers.enabled!==!0?!1:this.role.id===Yn.USER&&this.adminFlags!==wM.BYPASS_VIDEO_AUTO_BLACKLIST}};var Sd=class extends $c{oauthTokens;specialPlaylists;videoChannelCollaborations;constructor(t,n){super(t),this.oauthTokens=new no(n),this.specialPlaylists=t.specialPlaylists,this.videoChannelCollaborations=t.videoChannelCollaborations}getAccessToken(){return this.oauthTokens.accessToken}getRefreshToken(){return this.oauthTokens.refreshToken}getTokenType(){return this.oauthTokens.tokenType}refreshTokens(t,n){this.oauthTokens.accessToken=t,this.oauthTokens.refreshToken=n}hasRight(t){return Rm(this.role.id,t)}canManageUser(t){return this.role.id===Yn.ADMINISTRATOR?!0:t.role.id===Yn.USER}isCollaboratingToChannels(){return this.videoChannelCollaborations.length!==0}isEditorOfChannel(t){return t?this.videoChannelCollaborations.some(n=>n.id===t.id):!1}isOwnerOfChannel(t){return t?this.videoChannels.some(n=>n.id===t.id):!0}};function VVe(e){return e.totalItems===0?!1:e.totalItems?e.totalItems/e.itemsPerPage>e.currentPage:!0}function $Ve(e,t=1){e.totalItems-=t,e.itemsRemoved||(e.itemsRemoved=0),e.itemsRemoved+=t}function GVe(e){e.currentPage=1,e.itemsRemoved=0}var er=class e{localeId=m(mn);router=m(st);applyToResultListData(t,n){let r=t.data;return{total:t.total,data:r.map(o=>n(o))}}convertResultListDateToHuman(t,n=[`createdAt`],r){return this.applyToResultListData(t,o=>this.convertDateToHuman(o,n,r))}convertDateToHuman(t,n,r){return n.forEach(o=>{t[o]&&(t[o]=m1(this.localeId,new Date(t[o]),r))}),t}redirectTo404IfNotFound(t,n,r=[_t.NOT_FOUND_404]){return t?.status&&r.includes(t.status)&&this.router.navigate([`/404`],{state:{type:n,obj:t},skipLocationChange:!0}),Or(()=>t)}handleError(t){let n=this.buildErrorMessage(t),r={message:n,status:void 0,body:void 0,headers:t.headers};return t.status&&(r.status=t.status,r.body=t.error),Or(()=>t instanceof ao?t:t.status?new Vs(n,{status:t.status,body:r.body,headers:r.headers,url:t.url}):t)}buildErrorMessage(t){return t.status!==void 0?this.buildServerErrorMessage(t):t.error instanceof Error?t.error.detail||t.error.title:typeof t.error==`string`?t.error:typeof t==`string`?t:t.message||t.detail||"Unknown error"}buildServerErrorMessage(t){if(t.error?.errors){let n=t.error.errors;return Object.keys(n).map(r=>n[r].msg).join(`. `)}if(t.status===_t.PAYLOAD_TOO_LARGE_413)return "Media is too large for the server. Please contact you administrator if you want to increase the limit size.";if(t.status===_t.TOO_MANY_REQUESTS_429){let n=t.headers.get(`retry-after`);if(n){let r=Math.floor(parseInt(n,10)/60);return `Too many attempts, please try again after ${r} minutes.`}return "Too many attempts, please try again later."}return t.status===_t.INTERNAL_SERVER_ERROR_500?"Server error. Please retry later.":t.status===_t.BAD_GATEWAY_502?"Server is unavailable. Please retry later.":t.error?.error||t.error?.detail||t.error?.title||"Unknown server error"}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Og=class e{addRestGetParams(t,n,r){let o=t;return n!==void 0&&(o=o.set(`start`,n.start.toString()).set(`count`,n.count.toString())),r!==void 0&&(o=o.set(`sort`,this.buildSortString(r))),o}buildSortString(t){return typeof t==`string`?t:(t.order===1?``:`-`)+t.field}addArrayParams(t,n,r){for(let o of r)t=t.append(n,o);return t}addObjectParams(t,n){for(let r of Object.keys(n)){let o=n[r];o!=null&&(Array.isArray(o)?t=this.addArrayParams(t,r,o):t=t.set(r,o))}return t}componentToRestPagination(t){let{currentPage:n,itemsPerPage:r,itemsRemoved:o=0}=t;return{start:Math.max(0,(n-1)*r-o),count:r}}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Lg=class e{authHttp=m(Wn);restExtractor=m(er);static BASE_SCOPED_TOKENS_URL=se.apiUrl+`/api/v1/users/scoped-tokens`;getScopedTokens(){return this.authHttp.get(e.BASE_SCOPED_TOKENS_URL).pipe(he(t=>this.restExtractor.handleError(t)))}renewScopedTokens(){return this.authHttp.post(e.BASE_SCOPED_TOKENS_URL,{}).pipe(he(t=>this.restExtractor.handleError(t)))}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Gc=class e{showConfirm=new K;confirmResponse=new K;confirm(t,n=``,r={}){return this.showConfirm.next({type:`confirm`,title:n,message:t,confirmButtonText:r.confirmButtonText,moreInfo:r.moreInfo,cancelButtonText:r.cancelButtonText}),sr(this.extractConfirmed(this.confirmResponse.asObservable()))}confirmWithPassword(t){let{message:n,title:r=``,confirmButtonText:o,errorMessage:i}=t;this.showConfirm.next({type:`confirm-password`,title:r,message:n,
22confirmButtonText:o,errorMessage:i});return sr(this.confirmResponse.asObservable().pipe($(({confirmed:a,value:c})=>({confirmed:a,password:c}))))}confirmWithExpectedInput(t,n,r,o=``,i){return this.showConfirm.next({type:`confirm-expected-input`,title:o,message:t,inputLabel:n,expectedInputValue:r,confirmButtonText:i}),sr(this.extractConfirmed(this.confirmResponse.asObservable()))}extractConfirmed(t){return t.pipe($(({confirmed:n})=>n))}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var wr=class e{constructor(t,n,r){this.combo=t;this.callback=n;this.description=r;this.combo=_m(t),this.description=r||``}combo;callback;description;formattedHotkey;static symbolize(t){let n={command:`⌘`,shift:`⇧`,left:`←`,right:`→`,up:`↑`,down:`↓`,return:`⏎`,backspace:`⌫`},r=t.split(`+`);for(let o=0;o<r.length;o++)r[o]===`mod`&&(window.navigator?.platform.includes(`Mac`)?r[o]=`command`:r[o]=`ctrl`),r[o]=n[r[o]]||r[o];return r.join(` + `)}get formatted(){if(!this.formattedHotkey){let t=[...this.combo];for(let n=0;n<t.length;n++)t[n]=e.symbolize(t[n]);this.formattedHotkey=t}return this.formattedHotkey}};var S1=C(Vo());var WQ=[`Shift`,`Meta`,`Alt`,`Control`];var qQ=1e3;var YQ=`keydown`;var v1=typeof navigator==`object`?navigator.platform:``;var KQ=/Mac|iPod|iPhone|iPad/.test(v1)?`Meta`:`Control`;var E1=v1===`Win32`?[`Control`,`Alt`]:[`Alt`];function XQ(e){return!!(e.key&&e.code&&e.getModifierState)}function ZQ(e){let t=e.target;return e.repeat||e.isComposing||t!==e.currentTarget&&t.matches(`[contenteditable],input,select,textarea`)}function MD(e,t){return typeof e.getModifierState==`function`?e.getModifierState(t)||E1.includes(t)&&e.getModifierState(`AltGraph`):!1}function QQ(e){let t=[],n=``;for(let r=0;r<e.length;r++){let o=e[r];o===`+`&&r>0&&/[\w\]]/.test(e[r-1])?(t.push(n),n=``):n+=o}return t.push(n),t}function JQ(e){return e.trim().split(` `).map(t=>{let n=QQ(t),r=n.pop(),o=r.match(/^\((.+)\)$/),i=o?new RegExp(`^(?:${o[1]})$`,`iv`):r,s=[],a=[];for(let c of n){let l=c.match(/^\[(.*)\]$/),u=l?.[1]??c;u=u===`$mod`?KQ:u,l?a.push(u):s.push(u)}return[s,a,i]})}function eJ(e,[t,n,r]){let o=t.includes(`AltGraph`);return!((r instanceof RegExp?!(r.test(e.key)||r.test(e.code)):r.toUpperCase()!==e.key.toUpperCase()&&r!==e.code)||t.find(i=>!MD(e,i))||WQ.find(i=>!t.includes(i)&&!n.includes(i)&&r!==i&&MD(e,i)&&!(o&&E1.includes(i))))}function tJ(e,t={}){let n=t.timeout??qQ,r=t.ignore??ZQ,o=Object.keys(e).map(a=>[a,JQ(a),e[a]]),i=new Map,s=null;return a=>{if(!XQ(a)||r(a))return;let c=[];for(let[l,u,d]of o){let[p,...g]=i.get(l)||u;if(!eJ(a,p))MD(a,a.key)||i.delete(l);else if(g.length>0)i.set(l,g),c.push(l);else if(i.delete(l),c.length)console.warn(`tinykeys: Conflict found, "${l}" did not fire, waiting for:`,c);else{d(a);break}}s&&clearTimeout(s),s=setTimeout(()=>i.clear(),n)}}function b1(e,t,n={}){let r=n.event??YQ,o=tJ(t,n);return e.addEventListener(r,o,n.capture),()=>{e.removeEventListener(r,o,n.capture)}}var OD=(0,S1.default)(`peertube:hotkeys`);var zc=class e{zone=m(ie);cheatSheetToggle=new K;hotkeys=[];preventInNode=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);preventInRole=new Set([`combobox`]);disabled=!1;removeTinyKeysStore=new Map;constructor(){this.initCheatSheet()}initCheatSheet(){OD(`Init hotkeys`),this.add([new wr([`?`,`Shift+?`],
22()=>this.cheatSheetToggle.next(void 0),"Show / hide this help menu"),new wr(`escape`,()=>this.cheatSheetToggle.next(!1),"Hide this help menu")])}add(t){if(Array.isArray(t))return t.map(n=>this.add(n));this.remove(t),this.hotkeys.push(t);for(let n of t.combo)OD(`Adding hotkey `+t.formatted),this.zone.runOutsideAngular(()=>{let r=b1(window,{[n]:o=>{if(this.disabled)return;let i=o.target,s=i.nodeName.toUpperCase();i.isContentEditable||this.preventInNode.has(s)||this.preventInRole.has(i.getAttribute(`role`))||this.zone.run(()=>{t.callback.apply(this,[o,n])===!1&&(o.preventDefault(),o.stopPropagation())})}});this.removeTinyKeysStore.has(t)||this.removeTinyKeysStore.set(t,[]),this.removeTinyKeysStore.get(t).push(r)});return t}remove(t){if(Array.isArray(t)){for(let r of t)this.remove(r);return}this.hotkeys=this.hotkeys.filter(r=>r!==t);let n=this.removeTinyKeysStore.get(t);if(n){OD(`Removing hotkey `+t.formatted);for(let r of n)r()}this.removeTinyKeysStore.delete(t)}getHotkeys(){return this.hotkeys}disableHotkeys(){this.disabled=!0}enableHotkeys(){this.disabled=!1}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var A1=C(Vo());var nJ=(0,C(Vo()).default)(`peertube:routing:CanComponentDeactivate`);var Pg=class e{confirmService=m(Gc);canDeactivate(t){let n=t.canDeactivate();if(nJ(`Checking if component can deactivate`,n),n.canDeactivate)return!0;let r=n.text||"All unsaved data will be lost, are you sure you want to leave this page?";return this.confirmService.confirm(r,"Warning",{confirmButtonText:"Stay on page",cancelButtonText:"Leave page"}).then(o=>!o)}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var C1=C(Vo());var kg=class e{isNavigatingBack=!1;static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac,providedIn:`root`})};var Fg=(0,C1.default)(`peertube:router:CustomReuseStrategy`);var D1=class e{routerStatus=m(kg);storedRouteHandles=new Map;recentlyUsed;MAX_SIZE=2;shouldDetach(t){return this.isReuseEnabled(t)}store(t,n){if(!n)return;let r=this.generateKey(t);this.recentlyUsed=r,Fg(`Storing component ${r} to reuse later.`);let o=n.componentRef;o.instance.disableForReuse(),o.changeDetectorRef.detectChanges(),this.storedRouteHandles.set(r,n),this.gb()}shouldAttach(t){let n=this.generateKey(t),r=this.routerStatus.isNavigatingBack,o=!!n&&r===!0&&this.isReuseEnabled(t)&&this.storedRouteHandles.has(n);return n&&Fg(`Should attach ${n}? Answer: ${o}`,{isNavigatingBack:r}),o}retrieve(t){if(!this.isReuseEnabled(t))return;let n=this.generateKey(t);this.recentlyUsed=n,Fg(`Reusing component ${n}.`);let r=this.storedRouteHandles.get(n);return r&&(r.componentRef.instance.enabledForReuse(),r)}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig&&t.routeConfig?.data?.reloadOnSameNavigation!==!0}gb(){this.storedRouteHandles.size>=this.MAX_SIZE&&this.storedRouteHandles.forEach((t,n)=>{n!==this.recentlyUsed&&(Fg(`Removing stored component ${n}`),t.componentRef.destroy(),this.storedRouteHandles.delete(n))})}generateKey(t){let n=t.data.reuse;if(n)return n.key+JSON.stringify(t.queryParams)}isReuseEnabled(t){return t.data.reuse?.enabled}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var I1=C(Vo());var Kt=class e{http=m(Wn);localeId=m(mn);static BASE_CONFIG_URL=se.apiUrl+`/api/v1/config/`;static BASE_VIDEO_URL=se.apiUrl+`/api/v1/videos/`;static BASE_VIDEO_PLAYLIST_URL=se.apiUrl+`/api/v1/video-playlists/`;static BASE_LOCALE_URL=se.apiUrl+`/client/locales/`;static BASE_STATS_URL=se.apiUrl+`/api/v1/server/stats`;configReloaded=new K;localeObservable;videoLicensesObservable;videoCategoriesObservable;videoPrivaciesObservable;videoPlaylistPrivaciesObservable;videoLanguagesObservable;videoTextLanguagesObservable;configObservable;configLoaded=!1;config;htmlConfig;loadHTMLConfig(){try{this.loadHTMLConfigLocally()}catch(t){return se.production!==!1&&j.error(`Cannot load config locally. Fallback to API.`),this.getConfig()}}getServerVersionAndCommit(){let t=this.config.serverVersion,n=this.config.serverCommit||``,r=t;return n&&(r+=`...`+n),r}resetConfig(){return this.configLoaded=!1,this.configObservable=void 0,this.getConfig({isReset:!0})}getConfig(t={}){return this.configLoaded?O(this.config):(this.configObservable||(this.configObservable=this.http.get(e.BASE_CONFIG_URL).pipe(Tt(n=>{this.config=n,this.htmlConfig=n,this.configLoaded=!0}),Tt(n=>{t.isReset&&this.configReloaded.next(n)}),mo())),this.configObservable)}getHTMLConfig(){return this.htmlConfig}isRemoteRunnersEnabled(){let t=this.getHTMLConfig();
22return t.transcoding.remoteRunners.enabled||t.live.transcoding.remoteRunners.enabled||t.videoStudio.remoteRunners.enabled||t.videoTranscription.remoteRunners.enabled||t.storyboards.remoteRunners.enabled}getCommentPolicies(){return O([{id:Dm.DISABLED,label:"Comments are disabled"},{id:Dm.ENABLED,label:"Comments are enabled",description:"Comments may require approval depending on your auto tag policies"},{id:Dm.REQUIRES_APPROVAL,label:"Any new comment requires approval"}])}getEmbedPrivacyPolicies(){return O([{id:Cm.ALL_ALLOWED,label:"Anyone can embed this video"},{id:Cm.ALLOWLIST,label:"Only allowed domains can embed this video"},{id:Cm.DISABLED,label:"Nobody can embed this video"}])}getVideoCategories(){return this.videoCategoriesObservable||(this.videoCategoriesObservable=this.loadAttributeEnum({baseUrl:e.BASE_VIDEO_URL,attributeName:`categories`,sort:!0})),this.videoCategoriesObservable.pipe(Ke())}getVideoLicences(){return this.videoLicensesObservable||(this.videoLicensesObservable=this.loadAttributeEnum({baseUrl:e.BASE_VIDEO_URL,attributeName:`licences`})),this.videoLicensesObservable.pipe(Ke())}getVideoLanguages(){return this.videoLanguagesObservable||(this.videoLanguagesObservable=this.loadAttributeEnum({baseUrl:e.BASE_VIDEO_URL,attributeName:`languages`,sort:!0})),this.videoLanguagesObservable.pipe(Ke())}getVideoTextLanguages(){return this.videoTextLanguagesObservable||(this.videoTextLanguagesObservable=this.loadAttributeEnum({baseUrl:e.BASE_VIDEO_URL,attributeName:`languages`,query:{scope:`subtitle`},sort:!0})),this.videoTextLanguagesObservable.pipe(Ke())}getVideoPrivacies(){return this.videoPrivaciesObservable||(this.videoPrivaciesObservable=this.loadAttributeEnum({baseUrl:e.BASE_VIDEO_URL,attributeName:`privacies`})),this.videoPrivaciesObservable.pipe(Ke())}getVideoPlaylistPrivacies(){return this.videoPlaylistPrivaciesObservable||(this.videoPlaylistPrivaciesObservable=this.loadAttributeEnum({baseUrl:e.BASE_VIDEO_PLAYLIST_URL,attributeName:`privacies`})),this.videoPlaylistPrivaciesObservable.pipe(Ke())}getServerLocale(){if(!this.localeObservable){let t=Ng()?Mg():Ei(this.localeId);wm(t)?this.localeObservable=O({}).pipe(Mn()):this.localeObservable=this.http.get(e.BASE_LOCALE_URL+t+`/server.json`).pipe(Mn())}return this.localeObservable.pipe(Ke())}getServerStats(){return this.http.get(e.BASE_STATS_URL)}loadAttributeEnum(t){let{baseUrl:n,attributeName:r,query:o,sort:i=!1}=t;return this.getServerLocale().pipe(je(s=>this.http.get(n+r,{params:o}).pipe($(a=>({data:a,translations:s})))),$(({data:s,translations:a})=>{let c=Object.keys(s).map(l=>{let u=s[l];return{id:r===`languages`?l:parseInt(l,10),label:Am(u,a)}});return i===!0&&c.sort((l,u)=>l.label.localeCompare(u.label)),c}),Mn())}loadHTMLConfigLocally(){let t=window.PeerTubeServerConfig;if(!t)throw new Error(`Could not find PeerTubeServerConfig in HTML`);this.htmlConfig=JSON.parse(t)}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Ug=class e{instance;static storageSub=new K;watch(t){return e.storageSub.asObservable().pipe(xe(n=>t?t.includes(n):!0))}getItem(t){return this.instance.getItem(t)}setItem(t,n,r=!0){this.instance.setItem(t,n),r&&e.storageSub.next(t)}removeItem(t,n=!0){this.instance.removeItem(t),n&&e.storageSub.next(t)}};var po=class e extends Ug{instance=Kn;static ɵfac=(()=>{let t;return function(r){return(t||(t=su(e)))(r||e)}})();static ɵprov=T({token:e,factory:e.ɵfac})};var Wc=class e extends Ug{instance=id;static ɵfac=(()=>{let t;return function(r){return(t||(t=su(e)))(r||e)}})();static ɵprov=T({token:e,factory:e.ɵfac})};var Td=(0,I1.default)(`peertube:router:RedirectService`);var ho=class e{router=m(st);serverService=m(Kt);storage=m(Wc);static SESSION_STORAGE_LATEST_SESSION_URL_KEY=`redirect-latest-session-url`;static INIT_DEFAULT_ROUTE=`/videos/browse`;static INIT_DEFAULT_TRENDING_ALGORITHM=`most-viewed`;previousUrl;currentUrl;latestSessionUrl;redirectingToHomepage=!1;defaultTrendingAlgorithm=e.INIT_DEFAULT_TRENDING_ALGORITHM;defaultRoute=e.INIT_DEFAULT_ROUTE;init(){let t=this.serverService.getHTMLConfig();t.instance.defaultClientRoute&&(this.defaultRoute=t.instance.defaultClientRoute),t.trending.videos.algorithms.default&&(this.defaultTrendingAlgorithm=t.trending.videos.algorithms.default),this.latestSessionUrl=this.storage.getItem(e.SESSION_STORAGE_LATEST_SESSION_URL_KEY),this.storage.removeItem(e.SESSION_STORAGE_LATEST_SESSION_URL_KEY),Td(`Loaded latest session URL %s`,this.latestSessionUrl),this.currentUrl=this.router.url,this.router.events.subscribe(n=>{if(n instanceof Bt||n instanceof vn){if([`/401`,`/404`].includes(n.url))return;this.previousUrl=this.currentUrl,this.currentUrl=n.url,Td(`Previous URL is %s, current URL is %s`,this.previousUrl,this.currentUrl),Td(`Setting %s as latest URL in session storage.`,this.currentUrl),this.storage.setItem(e.SESSION_STORAGE_LATEST_SESSION_URL_KEY,this.currentUrl)}})}getDefaultRoute(){return this.defaultRoute.split(`?`)[0]}getDefaultRouteQuery(){return this.router.parseUrl(this.defaultRoute).queryParams}getDefaultTrendingSort(){let t=this.defaultTrendingAlgorithm;switch(t){case`most-viewed`:return`-trending`;case`most-liked`:return`-likes`;case`best`:return`-hot`;default:return`-`+t}}redirectToLatestSessionRoute(t={}){return this.doRedirect(this.latestSessionUrl,t)}redirectToPreviousRoute(t={}){return this.doRedirect(this.previousUrl,t)}
22getPreviousUrl(){return this.previousUrl}redirectToHomepage(t={}){let{skipLocationChange:n=!1,reloadTab:r=!1}=t;if(!this.redirectingToHomepage){if(r){window.location.href=this.defaultRoute;return}this.redirectingToHomepage=!0,j.info(`Redirecting to default route ${this.defaultRoute}...`,{skipLocationChange:n}),this.router.navigateByUrl(this.defaultRoute,{skipLocationChange:n,state:{trigger:this.router.currentNavigation()?.trigger}}).then(()=>this.redirectingToHomepage=!1).catch(o=>(this.redirectingToHomepage=!1,j.error(`Cannot navigate to ${this.defaultRoute}, resetting default route to ${e.INIT_DEFAULT_ROUTE}`,o),this.defaultRoute=e.INIT_DEFAULT_ROUTE,this.router.navigateByUrl(this.defaultRoute,{skipLocationChange:n})))}}redirectToLogin(){let t=$o.getDefaultLoginHref(se.apiUrl,this.serverService.getHTMLConfig());t?window.location.href=t:this.router.navigate([`/login`])}replaceBy401(t){this.router.navigate([`/401`],{state:{obj:t},skipLocationChange:!0})}doRedirect(t,n={}){let{reloadTab:r=!1}=n;if(Td(`Redirecting on %s`,t),this.isValidRedirection(t)){if(r){window.location.href=t;return}return this.router.navigateByUrl(t)}return Td(`${t} is not a valid redirection, redirecting to homepage`),this.redirectToHomepage(n)}isValidRedirection(t){return!t||t===`/`?!1:[`/verify-account`,`/reset-password`,`/login`].every(r=>!t.startsWith(r))}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Hg=class e{auth=m(tt);redirectService=m(ho);canActivate(t,n){if(this.auth.isLoggedIn()===!0)return!0;let r=new Error(``);return r.status=401,this.redirectService.replaceBy401(r),!1}canActivateChild(t,n){return this.canActivate(t,n)}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var qc=class e{titleService=m(Wh);meta=m(cN);server=m(Kt);config;constructor(){this.config=this.server.getHTMLConfig()}update(t){this.setTitle(t.title)}setTitle(t){let n=``;t&&(n+=`${t} - `),n+=this.config.instance.name,this.titleService.setTitle(n)}setDescription(t){this.meta.updateTag({name:`description`,content:t||this.config.instance.shortDescription})}revertMetaTags(){this.setTitle(),this.setDescription(),this.setRSSFeeds([hc({url:RD(),title:`${this.config.instance.name} - Videos feed`})])}setRSSFeeds(t){let n=document.getElementsByTagName(`head`)[0];n.querySelectorAll(`link[rel="alternate"]`).forEach(r=>n.removeChild(r));for(let r of t){let o=document.createElement(`link`);o.rel=`alternate`,o.type=`application/rss+xml`,o.title=r.title,o.href=r.url,n.appendChild(o)}}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Bg=class e{meta=m(qc);canActivate(t){let n=t.data?.meta;return n&&this.meta.update(n),!0}canActivateChild(t){return this.canActivate(t)}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Bi=class e{router=m(st);getNavigationEndEvents(){return this.router.events.pipe(xe(t=>t instanceof Bt))}getScrollEvents(){return this.router.events.pipe(xe(t=>t instanceof mi))}hasRouteSetting(t){return!!(this.getRouteSetting()&t)}silentNavigate(t,n,r){let o=this.getRouteSetting()??0;return o|=2,this.router.navigate(t,{queryParams:n,relativeTo:r,state:{routeSetting:o}})}getRouteSetting(){return this.router.currentNavigation()?.extras?.state?.routeSetting}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var _1=class e{preload(t,n){return t.data?.preload?typeof t.data.preload==`number`?ar(t.data.preload).pipe(je(()=>(t.data.preloaded=!0,n()))):n():O(null)}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var ji=(0,C(Vo()).default)(`peertube:main:ScrollService`);var jg=class e{viewportScroller=m(Ou);peertubeRouter=m(Bi);resetScroll=!0;enableScrollRestoration(){this.viewportScroller.setHistoryScrollRestoration(`manual`),this.consumeScroll(),this.produceScroll()}produceScroll(){this.peertubeRouter.getNavigationEndEvents().pipe(yf()).subscribe(([t,n])=>{try{this.resetScroll=!1;let r=new URL(window.location.origin+t.urlAfterRedirects),o=new URL(window.location.origin+n.urlAfterRedirects);if(r.pathname!==o.pathname){ji(`Schedule reset scroll after pathname change`,{previousUrl:r,nextUrl:o}),this.resetScroll=!0;return}if(this.peertubeRouter.hasRouteSetting(2)){ji(`Do not reset scroll after because router state disabled scroll restore`),this.resetScroll=!1;return}let i=o.searchParams,s=r.searchParams;i.sort(),s.sort(),i.toString()!==s.toString()&&(ji(`Schedule reset scroll after search params change`,{previousUrl:r,nextUrl:o}),this.resetScroll=!0)}catch(r){j.error(`Cannot parse URL to check next scroll.`,r),this.resetScroll=!0}})}consumeScroll(){let t;this.peertubeRouter.getScrollEvents().subscribe(n=>{if(t=void 0,n.anchor){ji(`Scroll to anchor.`,{e:n,resetScroll:this.resetScroll}),setTimeout(()=>this.viewportScroller.scrollToAnchor(n.anchor));return}if(n.position){ji(`Scroll to position.`,{e:n,resetScroll:this.resetScroll}),this.viewportScroller.scrollToPosition(n.position),n.position[1]>document.documentElement.scrollHeight&&(ji(`Could not scroll to position, marking scroll event as unhandled`),t=n);return}if(this.resetScroll&&!(n.routerEvent instanceof qn))return ji(`Reset scroll.`,{e:n,resetScroll:this.resetScroll}),this.viewportScroller.scrollToPosition([0,0])}),new ResizeObserver(()=>{t&&(t.position[1]>document.documentElement.scrollHeight||(ji(`Can now scroll to position, handling previous scroll event`),this.viewportScroller.scrollToPosition(t.position),t=void 0))}).observe(document.documentElement)}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Vg=class e{server=m(Kt);resolve(){return this.server.getConfig()}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var $g=class e{auth=m(tt);redirectService=m(ho);canActivate(t,n){return this.auth.isLoggedIn()===!1?!0:(this.redirectService.redirectToHomepage(),!1)}canActivateChild(t,n){return this.canActivate(t,n)}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Gg=class e{redirectService=m(ho);auth=m(tt);canActivate(t,n){let r=this.auth.getUser();if(r){let i=t.data.userRight;if(r.hasRight(i))return!0}let o=new Error(``);return o.status=403,this.redirectService.replaceBy401(o),!1}canActivateChild(t,n){return this.canActivate(t,n)}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Yc=class e{isBroadcastMessageDisplayed=!1;windowInnerWidth;lastFunctionCallTime;cacheForMs=500;constructor(){this.refreshWindowInnerWidth()}isInMediumView(){return this.getWindowInnerWidth()<1e3}isInSmallView(){return this.getWindowInnerWidth()<800}isInMobileView(){return this.getWindowInnerWidth()<500}isInMenuOverlayView(){return this.getWindowInnerWidth()<1200}isInTouchScreen(){return!!(`ontouchstart`in window||navigator.msMaxTouchPoints)}getWindowInnerWidth(){return this.cacheWindowInnerWidthExpired()&&this.refreshWindowInnerWidth(),this.windowInnerWidth}refreshWindowInnerWidth(){this.lastFunctionCallTime=new Date().getTime(),this.windowInnerWidth=window.innerWidth}cacheWindowInnerWidthExpired(){return this.lastFunctionCallTime?new Date().getTime()>this.lastFunctionCallTime+this.cacheForMs:!0}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var rJ=(0,A1.default)(`peertube:menu`);var zg=class e{screenService=m(Yc);localStorageService=m(po);peertubeRouterService=m(Bi);static LS_MENU_COLLAPSED=`menu-collapsed`;menuCollapsed=!1;menuChangedByUser=!1;constructor(){this.screenService.isInMenuOverlayView()||this.hasMenuCollapsedByUrl(window.location.pathname)?this.setMenuCollapsed(!0):(this.setMenuCollapsed(this.localStorageService.getItem(e.LS_MENU_COLLAPSED)===`true`),this.menuChangedByUser=this.menuCollapsed),this.handleWindowResize(),this.peertubeRouterService.getNavigationEndEvents().subscribe(t=>
22{if(this.hasMenuCollapsedByUrl(t.url)||this.hasMenuCollapsedByUrl(t.urlAfterRedirects)){this.collapseByUrl();return}})}hasMenuCollapsedByUrl(t){for(let r of[`/videos/publish`,`/videos/manage/`,`/admin/settings/config`,`/my-library/video-channels/manage`,`/my-library/video-channels/create`])if(t.startsWith(r))return rJ(`Menu should be collapsed by URL `+t),!0;return!1}collapseByUrl(){this.menuCollapsed||this.setMenuCollapsed(!0)}toggleMenu(){this.setMenuCollapsed(!this.menuCollapsed),this.menuChangedByUser=!0,this.localStorageService.setItem(e.LS_MENU_COLLAPSED,this.menuCollapsed+``)}isCollapsed(){return this.menuCollapsed}setMenuCollapsed(t){this.menuCollapsed=t,this.menuCollapsed?document.body.classList.remove(`menu-open`):document.body.classList.add(`menu-open`)}onResize(){this.screenService.isInSmallView()&&!this.menuChangedByUser&&this.setMenuCollapsed(!0)}handleWindowResize(){this.screenService.isInTouchScreen()||ll(window,`resize`).pipe(da(200)).subscribe(()=>this.onResize())}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Wg=class e{auth=m(tt);io;
22notificationSubject=new K;liveVideosSubject=new K;notificationSocket;liveVideosSocket;getMyNotificationsSocket(){return F$1(this,null,function*(){return yield this.initNotificationSocket(),this.notificationSubject.asObservable()})}getLiveVideosObservable(){return this.liveVideosSubject.asObservable()}subscribeToLiveVideosSocket(t){return F$1(this,null,function*(){yield this.initLiveVideosSocket(),this.liveVideosSocket.emit(`subscribe`,{videoId:t})})}unsubscribeLiveVideos(t){this.liveVideosSocket&&this.liveVideosSocket.emit(`unsubscribe`,{videoId:t})}dispatchNotificationEvent(t,n){this.notificationSubject.next({type:t,notification:n})}initNotificationSocket(){return F$1(this,null,function*(){this.notificationSocket||(yield this.importIOIfNeeded(),this.notificationSocket=this.io(se.apiUrl+`/user-notifications`,{query:{accessToken:this.auth.getAccessToken()}}),this.notificationSocket.on(`new-notification`,t=>{this.dispatchNotificationEvent(`new`,t)}))})}initLiveVideosSocket(){return F$1(this,null,function*(){if(this.liveVideosSocket)return;yield this.importIOIfNeeded(),this.liveVideosSocket=this.io(se.apiUrl+`/live-videos`);for(let n of[`views-change`,`state-change`,`force-end`])this.liveVideosSocket.on(n,r=>{this.dispatchLiveVideoEvent(n,r)})})}importIOIfNeeded(){return F$1(this,null,function*(){this.io||(this.io=(yield import(`./chunk-CE0_afo0.js`)).io)})}dispatchLiveVideoEvent(t,n){this.liveVideosSubject.next({type:t,payload:n})}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};function x1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function oJ(e){if(Array.isArray(e))return e}function iJ(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,o,i,s,a=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(u){l=!0,o=u}finally{try{if(!c&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(l)throw o}}return a}}function sJ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
23In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aJ(e,t){return oJ(e)||iJ(e,t)||cJ(e,t)||sJ()}function cJ(e,t){if(e){if(typeof e==`string`)return x1(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x1(e,t):void 0}}var G1=Object.entries;var R1=Object.setPrototypeOf;var lJ=Object.isFrozen;var uJ=Object.getPrototypeOf;var dJ=Object.getOwnPropertyDescriptor;var St=Object.freeze;var Rt=Object.seal;var Kc=Object.create;var z1=typeof Reflect<`u`&&Reflect;var BD=z1.apply;var jD=z1.construct;St||(St=function(t){return t});Rt||(Rt=function(t){return t});BD||(BD=function(t,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return t.apply(n,o)});jD||(jD=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return new t(...r)});var Ys=ht(Array.prototype.forEach);var fJ=ht(Array.prototype.lastIndexOf);var N1=ht(Array.prototype.pop);var Dd=ht(Array.prototype.push);var pJ=ht(Array.prototype.splice);var Xc=Array.isArray;var _d=ht(String.prototype.toLowerCase);var LD=ht(String.prototype.toString);var M1=ht(String.prototype.match);var Cd=ht(String.prototype.replace);var O1=ht(String.prototype.indexOf);var hJ=ht(String.prototype.trim);var mJ=ht(Number.prototype.toString);var gJ=ht(Boolean.prototype.toString);var L1=typeof BigInt>`u`?null:ht(BigInt.prototype.toString);var P1=typeof Symbol>`u`?null:ht(Symbol.prototype.toString);var Sn=ht(Object.prototype.hasOwnProperty);var Id=ht(Object.prototype.toString);var Xt=ht(RegExp.prototype.test);var qs=yJ(TypeError);function ht(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return BD(e,t,r)}}function yJ(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return jD(e,n)}}function ye(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_d;if(R1&&R1(e,null),!Xc(t))return e;let r=t.length;for(;r--;){let o=t[r];if(typeof o==`string`){let i=n(o);i!==o&&(lJ(t)||(t[r]=i),o=i)}e[o]=!0}return e}function vJ(e){for(let t=0;t<e.length;t++)Sn(e,t)||(e[t]=null);return e}function Rn(e){let t=Kc(null);for(let r of G1(e)){var n=aJ(r,2);let o=n[0],i=n[1];Sn(e,o)&&(Xc(i)?t[o]=vJ(i):i&&typeof i==`object`&&i.constructor===Object?t[o]=Rn(i):t[o]=i)}return t}function EJ(e){switch(typeof e){case`string`:return e;case`number`:return mJ(e);case`boolean`:return gJ(e);case`bigint`:return L1?L1(e):`0`;case`symbol`:return P1?P1(e):`Symbol()`;
23case`undefined`:return Id(e);case`function`:case`object`:{if(e===null)return Id(e);let t=e,n=tr(t,`toString`);if(typeof n==`function`){let r=n(t);return typeof r==`string`?r:Id(r)}return Id(e)}default:return Id(e)}}function tr(e,t){for(;e!==null;){let r=dJ(e,t);if(r){if(r.get)return ht(r.get);if(typeof r.value==`function`)return ht(r.value)}e=uJ(e)}function n(){return null}return n}function bJ(e){try{return Xt(e,``),!0}catch(t){return!1}}var k1=St([`a`,`abbr`,`acronym`,`address`,`area`,`article`,`aside`,`audio`,`b`,`bdi`,`bdo`,`big`,`blink`,`blockquote`,`body`,`br`,`button`,`canvas`,`caption`,`center`,`cite`,`code`,`col`,`colgroup`,`content`,`data`,`datalist`,`dd`,`decorator`,`del`,`details`,`dfn`,`dialog`,`dir`,`div`,`dl`,`dt`,`element`,`em`,`fieldset`,`figcaption`,`figure`,`font`,`footer`,`form`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`head`,`header`,`hgroup`,`hr`,`html`,`i`,`img`,`input`,`ins`,`kbd`,`label`,`legend`,`li`,`main`,`map`,`mark`,`marquee`,`menu`,`menuitem`,`meter`,`nav`,`nobr`,`ol`,`optgroup`,`option`,`output`,`p`,`picture`,`pre`,`progress`,`q`,`rp`,`rt`,`ruby`,`s`,`samp`,`search`,`section`,`select`,`shadow`,`slot`,`small`,`source`,`spacer`,`span`,`strike`,`strong`,`style`,`sub`,`summary`,`sup`,`table`,`tbody`,`td`,`template`,`textarea`,`tfoot`,`th`,`thead`,`time`,`tr`,`track`,`tt`,`u`,`ul`,`var`,`video`,`wbr`]);var PD=St([`svg`,`a`,`altglyph`,`altglyphdef`,`altglyphitem`,`animatecolor`,`animatemotion`,`animatetransform`,`circle`,`clippath`,`defs`,`desc`,`ellipse`,`enterkeyhint`,`exportparts`,`filter`,`font`,`g`,`glyph`,`glyphref`,`hkern`,`image`,`inputmode`,`line`,`lineargradient`,`marker`,`mask`,`metadata`,`mpath`,`part`,`path`,`pattern`,`polygon`,`polyline`,`radialgradient`,`rect`,`stop`,`style`,`switch`,`symbol`,`text`,`textpath`,`title`,`tref`,`tspan`,`view`,`vkern`]);var kD=St([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]);var SJ=St([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]);var FD=St([`math`,`menclose`,`merror`,`mfenced`,`mfrac`,`mglyph`,`mi`,`mlabeledtr`,`mmultiscripts`,`mn`,`mo`,`mover`,`mpadded`,`mphantom`,`mroot`,`mrow`,`ms`,`mspace`,`msqrt`,`mstyle`,`msub`,`msup`,`msubsup`,`mtable`,`mtd`,`mtext`,`mtr`,`munder`,`munderover`,`mprescripts`]);var TJ=St([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]);var F1=St([`#text`]);var U1=St([`accept`,`action`,`align`,`alt`,`autocapitalize`,`autocomplete`,`autopictureinpicture`,`autoplay`,`background`,`bgcolor`,`border`,`capture`,`cellpadding`,`cellspacing`,`checked`,`cite`,`class`,`clear`,`color`,`cols`,`colspan`,`command`,`commandfor`,`controls`,`controlslist`,`coords`,`crossorigin`,`datetime`,`decoding`,`default`,`dir`,`disabled`,`disablepictureinpicture`,`disableremoteplayback`,`download`,`draggable`,`enctype`,`enterkeyhint`,`exportparts`,`face`,`for`,`headers`,`height`,`hidden`,`high`,`href`,`hreflang`,`id`,`inert`,`inputmode`,`integrity`,`ismap`,`kind`,`label`,`lang`,`list`,`loading`,`loop`,`low`,`max`,`maxlength`,`media`,`method`,`min`,`minlength`,`multiple`,`muted`,`name`,`nonce`,`noshade`,`novalidate`,`nowrap`,`open`,`optimum`,`part`,`pattern`,`placeholder`,`playsinline`,`popover`,`popovertarget`,`popovertargetaction`,`poster`,`preload`,`pubdate`,`radiogroup`,`readonly`,`rel`,`required`,`rev`,`reversed`,`role`,`rows`,`rowspan`,`spellcheck`,`scope`,`selected`,`shape`,`size`,`sizes`,`slot`,`span`,`srclang`,`start`,`src`,`srcset`,`step`,`style`,`summary`,`tabindex`,`title`,`translate`,`type`,`usemap`,`valign`,`value`,`width`,`wrap`,`xmlns`]);var UD=St([`accent-height`,`accumulate`,`additive`,`alignment-baseline`,`amplitude`,`ascent`,`attributename`,`attributetype`,`azimuth`,`basefrequency`,`baseline-shift`,`begin`,`bias`,`by`,`class`,`clip`,`clippathunits`,`clip-path`,`clip-rule`,`color`,`color-interpolation`,`color-interpolation-filters`,`color-profile`,`color-rendering`,`cx`,`cy`,`d`,`dx`,`dy`,`diffuseconstant`,`direction`,`display`,`divisor`,`dominant-baseline`,`dur`,`edgemode`,`elevation`,`end`,`exponent`,`fill`,`fill-opacity`,`fill-rule`,`filter`,`filterunits`,`flood-color`,`flood-opacity`,`font-family`,`font-size`,`font-size-adjust`,`font-stretch`,`font-style`,`font-variant`,`font-weight`,`fx`,`fy`,`g1`,`g2`,`glyph-name`,`glyphref`,`gradientunits`,`gradienttransform`,`height`,`href`,`id`,`image-rendering`,`in`,`in2`,`intercept`,`k`,`k1`,`k2`,`k3`,`k4`,`kerning`,`keypoints`,`keysplines`,`keytimes`,`lang`,`lengthadjust`,`letter-spacing`,`kernelmatrix`,`kernelunitlength`,`lighting-color`,`local`,`marker-end`,`marker-mid`,`marker-start`,`markerheight`,`markerunits`,`markerwidth`,`maskcontentunits`,`maskunits`,`max`,`mask`,`mask-type`,`media`,`method`,`mode`,`min`,`name`,`numoctaves`,`offset`,`operator`,`opacity`,`order`,`orient`,`orientation`,`origin`,`overflow`,`paint-order`,`path`,`pathlength`,`patterncontentunits`,`patterntransform`,`patternunits`,`pointer-events`,`points`,`preservealpha`,`preserveaspectratio`,`primitiveunits`,`r`,`rx`,`ry`,`radius`,`refx`,`refy`,`repeatcount`,`repeatdur`,`restart`,`result`,`rotate`,`scale`,`seed`,`shape-rendering`,`slope`,`specularconstant`,`specularexponent`,`spreadmethod`,`startoffset`,`stddeviation`,`stitchtiles`,`stop-color`,`stop-opacity`,`stroke-dasharray`,`stroke-dashoffset`,`stroke-linecap`,`stroke-linejoin`,`stroke-miterlimit`,`stroke-opacity`,`stroke`,`stroke-width`,`style`,`surfacescale`,`systemlanguage`,`tabindex`,`tablevalues`,`targetx`,`targety`,`transform`,`transform-origin`,`text-anchor`,`text-decoration`,`text-orientation`,`text-rendering`,`textlength`,`type`,`u1`,`u2`,`unicode`,`values`,`vector-effect`,`viewbox`,`visibility`,`version`,`vert-
23adv-y`,`vert-origin-x`,`vert-origin-y`,`width`,`word-spacing`,`wrap`,`writing-mode`,`xchannelselector`,`ychannelselector`,`x`,`x1`,`x2`,`xmlns`,`y`,`y1`,`y2`,`z`,`zoomandpan`]);var H1=St([`accent`,`accentunder`,`align`,`bevelled`,`close`,`columnalign`,`columnlines`,`columnspacing`,`columnspan`,`denomalign`,`depth`,`dir`,`display`,`displaystyle`,`encoding`,`fence`,`frame`,`height`,`href`,`id`,`largeop`,`length`,`linethickness`,`lquote`,`lspace`,`mathbackground`,`mathcolor`,`mathsize`,`mathvariant`,`maxsize`,`minsize`,`movablelimits`,`notation`,`numalign`,`open`,`rowalign`,`rowlines`,`rowspacing`,`rowspan`,`rspace`,`rquote`,`scriptlevel`,`scriptminsize`,`scriptsizemultiplier`,`selection`,`separator`,`separators`,`stretchy`,`subscriptshift`,`supscriptshift`,`symmetric`,`voffset`,`width`,`xmlns`]);var qg=St([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]);var DJ=Rt(/{{[\w\W]*|^[\w\W]*}}/g);var CJ=Rt(/<%[\w\W]*|^[\w\W]*%>/g);var IJ=Rt(/\${[\w\W]*/g);var _J=Rt(/^data-[\-\w.\u00B7-\uFFFF]+$/);var wJ=Rt(/^aria-[\-\w]+$/);var B1=Rt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);var AJ=Rt(/^(?:\w+script|data):/i);var xJ=Rt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);var RJ=Rt(/^html$/i);var NJ=Rt(/^[a-z][.\w]*(-[.\w]+)+$/i);var j1=Rt(/<[/\w!]/g);var V1=Rt(/<[/\w]/g);var MJ=Rt(/<\/no(script|embed|frames)/i);var OJ=Rt(/\/>/i);var xn={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12};var W1=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`];var LJ=St(ye({},W1));var PJ=(function(){let e={};return Ys(W1,t=>{e[t]=Rt(new RegExp(`</`+t+`(?=[\\t\\n\\f\\r />])`,`i`))}),St(e)})();var kJ=function(){return typeof window>`u`?null:window};var FJ=function(t,n){if(typeof t!=`object`||typeof t.createPolicy!=`function`)return null;let r=null,o=`data-tt-policy-suffix`;n&&n.hasAttribute(o)&&(r=n.getAttribute(o));let i=`dompurify`+(r?`#`+r:``);try{return t.createPolicy(i,{createHTML(s){return s},createScriptURL(s){return s}})}catch(s){return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}};var $1=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var Vi=function(t,n,r,o){return Sn(t,n)&&Xc(t[n])?ye(o.base?Rn(o.base):{},t[n],o.transform):r};var HD=function(t,n,r){let o=Sn(t,n)?t[n]:void 0;return o&&typeof o==`object`?Rn(o):r()};function q1(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:kJ(),t=_=>q1(_);if(t.version=`3.4.15`,t.removed=[],!e||!e.document||e.document.nodeType!==xn.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,o=r.currentScript;e.DocumentFragment;let i=e.HTMLTemplateElement,s=e.Node,a=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let u=e.DOMParser,d=e.trustedTypes,f=a.prototype,p=tr(f,`cloneNode`),g=tr(f,`remove`),y=tr(f,`removeAttributeNode`),E=tr(f,`nextSibling`),b=tr(f,`childNodes`),C=tr(f,`parentNode`),M=tr(f,`shadowRoot`),q=tr(f,`attributes`),te=s&&s.prototype?tr(s.prototype,`nodeType`):null,R=s&&s.prototype?tr(s.prototype,`nodeName`):null,ce=s&&s.prototype?tr(s.prototype,`ownerDocument`):null,be=function(h){return te?te(h):h.nodeType},nt=function(h){return R?R(h):h.nodeName};if(typeof i==`function`){let _=n.createElement(`template`);_.content&&_.content.ownerDocument&&(n=_.content.ownerDocument)}let mt,an=``,Ar,Gi=!1,Ks=0,VD=function(){if(Ks>0)throw qs(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},Xs=function(h){VD(),Ks++;try{return mt.createHTML(h)}finally{Ks--}},K1=function(h){VD(),Ks++;try{return mt.createScriptURL(h)}finally{Ks--}},X1=function(){return Gi||(Ar=FJ(d,o),Gi=!0),Ar},Ad=n,Qg=Ad.implementation,$D=Ad.createNodeIterator,Z1=Ad.createDocumentFragment,Q1=Ad.getElementsByTagName,J1=r.importNode,Ue=$1();t.isSupported=typeof G1==`function`&&typeof C==`function`&&Qg&&Qg.createHTMLDocument!==void 0;let eF=DJ,tF=CJ,nF=IJ,rF=_J,oF=wJ,iF=AJ,GD=xJ,sF=NJ,zD=B1,He=null,Jg=ye({},[...k1,...PD,...kD,...FD,...F1]),Be=null,ey=ye({},[...U1,...UD,...H1,...qg]),xr=Object.seal(Kc(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}}
vendor: 2,309 bytes, line 23
23)),nl=null,WD=null,Go=Object.seal(Kc(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),qD=!0,ty=!0,YD=!1,KD=!0,zo=!1,zi=!0,Wi=!1,ny=!1,xd=null,Rd=null,ry=!1,Zs=!1,Nd=!1,Md=!1,XD=!0,ZD=!1,QD=`user-content-`,oy=!0,iy=!1,Qs={},Js=null,JD=ye({},[`annotation-xml`,`audio`,`colgroup`,`desc`,`foreignobject`,`head`,`iframe`,`math`,`mi`,`mn`,`mo`,`ms`,`mtext`,`noembed`,`noframes`,`noscript`,`plaintext`,`script`,`selectedcontent`,`style`,`svg`,`template`,`thead`,`title`,`video`,`xmp`]),eC=null,tC=ye({},[`audio`,`video`,`img`,`source`,`image`,`track`]),nC=null,rC=ye({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Od=`http://www.w3.org/1998/Math/MathML`,Ld=`http://www.w3.org/2000/svg`,Rr=`http://www.w3.org/1999/xhtml`,ea=Rr,sy=!1,ay=null,aF=ye({},[Od,Ld,Rr],LD),oC=St([`mi`,`mo`,`mn`,`ms`,`mtext`]),cy=ye({},oC),iC=St([`annotation-xml`]),ly=ye({},iC),cF=ye({},[`title`,`style`,`font`,`a`,`script`]),rl=null,lF=[`application/xhtml+xml`,`text/html`],uF=`text/html`,rt=null,ta=null,dF=n.createElement(`form`),sC=function(h){return h instanceof RegExp||h instanceof Function},uy=function(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ta&&ta===h)return;(!h||typeof h!=`object`)&&(h={}),h=Rn(h),rl=lF.indexOf(h.PARSER_MEDIA_TYPE)===-1?uF:h.PARSER_MEDIA_TYPE,rt=rl===`application/xhtml+xml`?LD:_d,He=Vi(h,`ALLOWED_TAGS`,Jg,{transform:rt}),Be=Vi(h,`ALLOWED_ATTR`,ey,{transform:rt}),ay=Vi(h,`ALLOWED_NAMESPACES`,aF,{transform:LD}),nC=Vi(h,`ADD_URI_SAFE_ATTR`,rC,{transform:rt,base:rC}),eC=Vi(h,`ADD_DATA_URI_TAGS`,tC,{transform:rt,base:tC}),Js=Vi(h,`FORBID_CONTENTS`,JD,{transform:rt}),nl=Vi(h,`FORBID_TAGS`,Rn({}),{transform:rt}),WD=Vi(h,`FORBID_ATTR`,Rn({}),{transform:rt}),Qs=Sn(h,`USE_PROFILES`)?h.USE_PROFILES&&typeof h.USE_PROFILES==`object`?Rn(h.USE_PROFILES):h.USE_PROFILES:!1,qD=h.ALLOW_ARIA_ATTR!==!1,ty=h.ALLOW_DATA_ATTR!==!1,YD=h.ALLOW_UNKNOWN_PROTOCOLS||!1,KD=h.ALLOW_SELF_CLOSE_IN_ATTR!==!1,zo=h.SAFE_FOR_TEMPLATES||!1,zi=h.SAFE_FOR_XML!==!1,Wi=h.WHOLE_DOCUMENT||!1,Zs=h.RETURN_DOM||!1,Nd=h.RETURN_DOM_FRAGMENT||!1,Md=h.RETURN_TRUSTED_TYPE||!1,ry=h.FORCE_BODY||!1,XD=h.SANITIZE_DOM!==!1,ZD=h.SANITIZE_NAMED_PROPS||!1,oy=
vendor: 7,098 bytes, line 23
23h.KEEP_CONTENT!==!1,iy=h.IN_PLACE||!1,zD=bJ(h.ALLOWED_URI_REGEXP)?h.ALLOWED_URI_REGEXP:B1,ea=typeof h.NAMESPACE==`string`?h.NAMESPACE:Rr,cy=HD(h,`MATHML_TEXT_INTEGRATION_POINTS`,()=>ye({},oC)),ly=HD(h,`HTML_INTEGRATION_POINTS`,()=>ye({},iC));let v=HD(h,`CUSTOM_ELEMENT_HANDLING`,()=>Kc(null));if(xr=Kc(null),Sn(v,`tagNameCheck`)&&sC(v.tagNameCheck)&&(xr.tagNameCheck=v.tagNameCheck),Sn(v,`attributeNameCheck`)&&sC(v.attributeNameCheck)&&(xr.attributeNameCheck=v.attributeNameCheck),Sn(v,`allowCustomizedBuiltInElements`)&&typeof v.allowCustomizedBuiltInElements==`boolean`&&(xr.allowCustomizedBuiltInElements=v.allowCustomizedBuiltInElements),Rt(xr),zo&&(ty=!1),Nd&&(Zs=!0),Qs&&(He=ye({},F1),Be=Kc(null),Qs.html===!0&&(ye(He,k1),ye(Be,U1)),Qs.svg===!0&&(ye(He,PD),ye(Be,UD),ye(Be,qg)),Qs.svgFilters===!0&&(ye(He,kD),ye(Be,UD),ye(Be,qg)),Qs.mathMl===!0&&(ye(He,FD),ye(Be,H1),ye(Be,qg))),Go.tagCheck=null,Go.attributeCheck=null,Sn(h,`ADD_TAGS`)&&(typeof h.ADD_TAGS==`function`?Go.tagCheck=h.ADD_TAGS:Xc(h.ADD_TAGS)&&(He===Jg&&(He=Rn(He)),ye(He,h.ADD_TAGS,rt))),Sn(h,`ADD_ATTR`)&&(typeof h.ADD_ATTR==`function`?Go.attributeCheck=h.ADD_ATTR:Xc(h.ADD_ATTR)&&(Be===ey&&(Be=Rn(Be)),ye(Be,h.ADD_ATTR,rt))),Sn(h,`ADD_FORBID_CONTENTS`)&&Xc(h.ADD_FORBID_CONTENTS)&&(Js===JD&&(Js=Rn(Js)),ye(Js,h.ADD_FORBID_CONTENTS,rt)),oy&&(He[`#text`]=!0),Wi&&ye(He,[`html`,`head`,`body`]),He.table&&(ye(He,[`tbody`]),delete nl.tbody),h.TRUSTED_TYPES_POLICY){if(typeof h.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw qs(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof h.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw qs(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let D=mt;mt=h.TRUSTED_TYPES_POLICY;try{an=Xs(``)}catch(x){throw mt=D,x}}else h.TRUSTED_TYPES_POLICY===null?(mt=void 0,an=``):(mt===void 0&&(mt=X1()),mt&&typeof an==`string`&&(an=Xs(``)));St&&St(h),ta=h},aC=ye({},[...PD,...kD,...SJ]),cC=ye({},[...FD,...TJ]),fF=function(h,v,D){return v.namespaceURI===Rr?h===`svg`:v.namespaceURI===Od?h===`svg`&&(D===`annotation-xml`||cy[D]):!!aC[h]},pF=function(h,v,D){return v.namespaceURI===Rr?h===`math`:v.namespaceURI===Ld?h===`math`&&ly[D]:!!cC[h]},hF=function(h,v,D){return v.namespaceURI===Ld&&!ly[D]||v.namespaceURI===Od&&!cy[D]?!1:!cC[h]&&(cF[h]||!aC[h])},mF=function(h){let v=C(h);(!v||!v.tagName)&&(v={namespaceURI:ea,tagName:`template`});let D=_d(h.tagName),x=_d(v.tagName);return ay[h.namespaceURI]?h.namespaceURI===Ld?fF(D,v,x):h.namespaceURI===Od?pF(D,v,x):h.namespaceURI===Rr?hF(D,v,x):!!(rl===`application/xhtml+xml`&&ay[h.namespaceURI]):!1},Wo=function(h){Dd(t.removed,{element:h});try{C(h).removeChild(h)}catch(v){if(g(h),!C(h))throw qs(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},lC=function(h,v,D){try{y(h,v)}catch(x){try{h.removeAttribute(D)}catch(k){}}},Pd=function(h){kd(h);let v=b(h);if(v){let x=[];Ys(v,k=>{Dd(x,k)}),Ys(x,k=>{try{g(k)}catch(Y){}})}let D=q(h);if(D)for(let x=D.length-1;x>=0;--x){let k=D[x],Y=k&&k.name;typeof Y==`string`&&lC(h,k,Y)}},qi=function(h,v,D){if(!D)try{D=v.getAttributeNode(h)}catch(x){D=null}Dd(t.removed,{attribute:D||null,from:v});try{D?y(v,D):v.removeAttribute(h)}catch(x){try{v.removeAttribute(h)}catch(k){}}if(h===`is`)if(Zs||Nd)try{Wo(v)}catch(x){}else try{v.setAttribute(h,``)}catch(x){}},gF=function(h){let v=q(h);if(v)for(let D=v.length-1;D>=0;--D){let x=v[D],k=x&&x.name;typeof k!=`string`||Be[rt(k)]||lC(h,x,k)}},kd=function(h){let v=[h];for(;v.length>0;){let D=v.pop();be(D)===xn.element&&gF(D);let k=b(D);if(k)for(let Y=k.length-1;Y>=0;--Y)v.push(k[Y])}},uC=function(h,v){return zi?h===`patchsrc`?!0:h===`for`&&v!==`label`&&v!==`output`:!1},yF=function(h){if(!zi)return;let v=[h];for(;v.length>0;){let D=v.pop(),x=be(D);if(x===xn.processingInstruction||x===xn.comment&&Xt(V1,D.data)){try{g(D)}catch(Y){}continue}if(x===xn.element){let Y=D,Ae=rt(nt(D));try{Y.hasAttribute&&Y.hasAttribute(`patchsrc`)&&Y.removeAttribute(`patchsrc`),Y.hasAttribute&&Y.hasAttribute(`for`)&&uC(`for`,Ae)&&Y.removeAttribute(`for`)}catch(ze){}}let k=b(D);if(k)for(let Y=k.length-1;Y>=0;--Y)v.push(k[Y])}},dC=function(h){let v=null,D=null;if(ry)h=`<remove></remove>`+h;else{let Y=M1(h,/^[\r\n\t ]+/);D=Y&&Y[0]}rl===`application/xhtml+xml`&&ea===Rr&&(h=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+h+`</body></html>`);let x=mt?Xs(h):h;if(ea===Rr)try{v=new u().parseFromString(x,rl)}catch(Y){}if(!v||!v.documentElement){v=Qg.createDocument(ea,`template`,null);try{v.documentElement.innerHTML=sy?an:x}catch(Y){}}let k=v.body||v.documentElement;return h&&D&&k.insertBefore(n.createTextNode(D),k.childNodes[0]||null),ea===Rr?Q1.call(v,Wi?`html`:`body`)[0]:Wi?v.documentElement:k},fC=function(h){let v=ce?ce(h):h.ownerDocument;return $D.call(v||h,h,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Fd=function(h){return h=Cd(h,eF,` `),h=Cd(h,tF,` `),h=Cd(h,nF,` `),h},dy=function(h){var v;h.normalize();let D=ce?ce(h):h.ownerDocument,x=$D.call(D||h,h,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),k=x.nextNode();for(;k;)k.data=Fd(k.data),k=x.nextNode();let Y=(v=h.querySelectorAll)===null||v===void 0?void 0:v.call(h,`template`);Y&&Ys(Y,Ae=>{na(Ae.content)&&dy(Ae.content)})},Ud=function(h){let v=R?R(h):null;return typeof v!=`string`||rt(v)!==`form`?!1:typeof h.nodeName!=`string`||typeof h.textContent!=`string`||typeof h.removeChild!=`function`||h.attributes!==q(h)||typeof h.removeAttribute!=`function`||typeof h.removeAttributeNode!=`function`||typeof h.getAttributeNode!=`function`||typeof h.setAttribute!=`function`||typeof h.namespaceURI!=`string`||typeof h.insertBefore!=`function`||typeof h.hasChildNodes!=`function`||h.nodeType!==te(h)||h.childNodes!==b(h)},na=function(h){if(!te||typeof h!=`object`||h===null)return!1;try{return te(h)===xn.documentFragment}catch(v){return!1}},ol=function(h){if(!te||typeof h!=`object`||h===null)return!1;try{return typeof te(h)==`number`}catch(v){return!1}};function Nr(_,h,v){_.length!==0&&Ys(_,D=>{D.call(t,h,v,ta)})}let vF=function(h,v){return!!(zi&&h.hasChildNodes()&&!ol(h.firstElementChild)&&Xt(j1,h.textContent)&&Xt(j1,h.innerHTML)||zi&&h.namespaceURI===Rr&&LJ[v]&&(ol(h.firstElementChild)||typeof h.textContent==`string`&&Xt(PJ[v],h.textContent))||h.nodeType===xn.processingInstruction||zi&&h.nodeType===xn.comment&&Xt(V1,h.data))},Hd=function(h,v){if(h instanceof RegExp)return Xt(h,v);if(h instanceof Function){for(var D=arguments.length,x=new Array(D>2?D-2:0),k=2;k<D;k++)x[k-2]=arguments[k];return!!h(v,...x)}return!1},EF=function(h,v,D){if(!nl[v]&&yC(v)&&Hd(xr.tagNameCheck,v))return!1;if(oy&&!Js[v]){let x=C(h),k=b(h);if(k&&x){let Y=k.length;for(let Ae=Y-1;Ae>=0;--Ae){let ze=h===D?p(k[Ae],!0):k[Ae];x.insertBefore(ze,E(h))}}}return Wo(h),!0},pC=function(h,v,D,x){return h.length===0?v:v===D||v===x?Rn(v):v},hC=function(h,v){return h===v||C(h)!==null?!1:(iy&&kd(h),!0)},mC=function(h,v){if(Nr(Ue.beforeSanitizeElements,h,null),hC(h,v))return!0;
vendor: 4,360 bytes, line 23
23if(Ud(h))return Wo(h),!0;let D=rt(nt(h));if(He=pC(Ue.uponSanitizeElement,He,Jg,xd),Nr(Ue.uponSanitizeElement,h,{tagName:D,allowedTags:He}),hC(h,v))return!0;if(vF(h,D))return Wo(h),!0;if(nl[D]||!(Go.tagCheck instanceof Function&&Go.tagCheck(D))&&!He[D]){let k=EF(h,D,v);return k===!1&&Nr(Ue.afterSanitizeElements,h,null),k}if(be(h)===xn.element&&!mF(h)||(D===`noscript`||D===`noembed`||D===`noframes`)&&Xt(MJ,h.innerHTML))return Wo(h),!0;if(zo&&h.nodeType===xn.text){let k=Fd(h.textContent);h.textContent!==k&&(Dd(t.removed,{element:h.cloneNode()}),h.textContent=k)}return Nr(Ue.afterSanitizeElements,h,null),!1},gC=function(h,v,D){if(WD[v]||uC(v,h)||XD&&(v===`id`||v===`name`)&&(D in n||D in dF))return!1;let x=Be[v]||Go.attributeCheck instanceof Function&&Go.attributeCheck(v,h);return ty&&Xt(rF,v)||qD&&Xt(oF,v)?!0:x?nC[v]||Xt(zD,Cd(D,GD,``))||(v===`src`||v===`xlink:href`||v===`href`)&&h!==`script`&&O1(D,`data:`)===0&&eC[h]||YD&&!Xt(iF,Cd(D,GD,``))?!0:!D:yC(h)&&Hd(xr.tagNameCheck,h)&&Hd(xr.attributeNameCheck,v,h)||v===`is`&&xr.allowCustomizedBuiltInElements&&Hd(xr.tagNameCheck,D)},bF=ye({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),yC=function(h){return!bF[_d(h)]&&Xt(sF,h)},SF=function(h,v,D,x){if(mt&&typeof d==`object`&&typeof d.getAttributeType==`function`&&!D)switch(d.getAttributeType(h,v)){case`TrustedHTML`:return Xs(x);case`TrustedScriptURL`:return K1(x)}return x},TF=function(h,v,D,x){try{return D?h.setAttributeNS(D,v,x):h.setAttribute(v,x),Ud(h)?(Wo(h),!1):!0}catch(k){return qi(v,h),!1}},vC=function(h){Nr(Ue.beforeSanitizeAttributes,h,null);let v=h.attributes;if(!v||Ud(h))return;Be=pC(Ue.uponSanitizeAttribute,Be,ey,Rd);let D={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:Be,forceKeepAttr:void 0},x=v.length,k=rt(h.nodeName);for(;x--;){let Y=v[x],Ae=Y.name,ze=Y.namespaceURI,cn=Y.value,ln=rt(Ae),py=cn,Zt=Ae===`value`?py:hJ(py),EC=!1;if(D.attrName=ln,D.attrValue=Zt,D.keepAttr=!0,D.forceKeepAttr=void 0,Nr(Ue.uponSanitizeAttribute,h,D),Zt=D.attrValue,ZD&&(ln===`id`||ln===`name`)&&O1(Zt,QD)!==0&&(qi(Ae,h,Y),Zt=QD+Zt,EC=!0),zi&&Xt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Zt)){qi(Ae,h,Y);continue}if(ln===`attributename`&&M1(Zt,`href`)){qi(Ae,h,Y);continue}if(!D.forceKeepAttr){if(!D.keepAttr){qi(Ae,h,Y);continue}if(!KD&&Xt(OJ,Zt)){qi(Ae,h,Y);continue}if(zo&&(Zt=Fd(Zt)),!gC(k,ln,Zt)){qi(Ae,h,Y);continue}Zt=SF(k,ln,ze,Zt),Zt!==py&&TF(h,Ae,ze,Zt)&&EC&&N1(t.removed)}}Nr(Ue.afterSanitizeAttributes,h,null)},Bd=function(h){let v=null,D=fC(h);for(Nr(Ue.beforeSanitizeShadowDOM,h,null);v=D.nextNode();)if(Nr(Ue.uponSanitizeShadowNode,v,null),mC(v,h),vC(v),na(v.content)&&Bd(v.content),be(v)===xn.element){let x=M(v);na(x)&&(fy(x),Bd(x))}Nr(Ue.afterSanitizeShadowDOM,h,null)},fy=function(h){let v=[{node:h,shadow:null}];for(;v.length>0;){let D=v.pop();if(D.shadow){Bd(D.shadow);continue}let x=D.node,Y=be(x)===xn.element,Ae=b(x);if(Ae)for(let ze=Ae.length-1;ze>=0;--ze)v.push({node:Ae[ze],shadow:null});if(Y){let ze=R?R(x):null;if(typeof ze==`string`&&rt(ze)===`template`){let cn=x.content;na(cn)&&v.push({node:cn,shadow:null})}}if(Y){let ze=M(x);na(ze)&&v.push({node:null,shadow:ze},{node:ze,shadow:null})}}};return t.sanitize=function(_){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=null,D=null,x=null,k=null;if(sy=!_,sy&&(_=`<!-->`),typeof _!=`string`&&!ol(_)&&(_=EJ(_),typeof _!=`string`))throw qs(`dirty is not a string, aborting`);if(!t.isSupported)return _;ny?(He=xd,Be=Rd):uy(h),(Ue.uponSanitizeElement.length>0||Ue.uponSanitizeAttribute.length>0)&&(He=Rn(He)),Ue.uponSanitizeAttribute.length>0&&(Be=Rn(Be)),t.removed=[];let Y=iy&&typeof _!=`string`&&ol(_);if(Y){yF(_);let cn=nt(_);if(typeof cn==`string`){let ln=rt(cn);if(!He[ln]||nl[ln])throw Pd(_),qs(`root node is forbidden and cannot be sanitized in-place`)}if(Ud(_))throw Pd(_),qs(`root node is clobbered and cannot be sanitized in-place`);try{fy(_)}catch(ln){throw Pd(_),ln}}else if(ol(_))v=dC(`<!---->`),D=v.ownerDocument.importNode(_,!0),D.nodeType===xn.element&&D.nodeName===`BODY`||D.nodeName===`HTML`?v=D:v.appendChild(D),fy(v);else{if(!Zs&&!zo&&!Wi&&_.indexOf(`<`)===-1)return mt&&Md?Xs(_):_;if(v=dC(_),!v)return Zs?null:Md?an:``}v&&ry&&Wo(v.firstChild);let Ae=Y?_:v;try{let cn=fC(Ae);for(;x=cn.nextNode();
23)mC(x,Ae),vC(x),na(x.content)&&Bd(x.content)}catch(cn){throw Y&&(Pd(_),Ys(t.removed,ln=>{ln.element&&kd(ln.element)})),cn}if(Y)return Ys(t.removed,cn=>{cn.element&&kd(cn.element)}),zo&&dy(_),_;if(Zs){if(zo&&dy(v),Nd)for(k=Z1.call(v.ownerDocument);v.firstChild;)k.appendChild(v.firstChild);else k=v;return(Be.shadowroot||Be.shadowrootmode)&&(k=J1.call(r,k,!0)),k}let ze=Wi?v.outerHTML:v.innerHTML;return Wi&&He[`!doctype`]&&v.ownerDocument&&v.ownerDocument.doctype&&v.ownerDocument.doctype.name&&Xt(RJ,v.ownerDocument.doctype.name)&&(ze=`<!DOCTYPE `+v.ownerDocument.doctype.name+`>
24`+ze),zo&&(ze=Fd(ze)),mt&&Md?Xs(ze):ze},t.setConfig=function(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};uy(_),ny=!0,xd=He,Rd=Be},t.clearConfig=function(){ta=null,ny=!1,xd=null,Rd=null,mt=Ar,an=``},t.isValidAttribute=function(_,h,v){ta||uy({});let D=rt(_),x=rt(h);return gC(D,x,v)},t.addHook=function(_,h){typeof h==`function`&&Sn(Ue,_)&&Dd(Ue[_],h)},t.removeHook=function(_,h){if(Sn(Ue,_)){if(h!==void 0){let v=fJ(Ue[_],h);return v===-1?void 0:pJ(Ue[_],v,1)[0]}return N1(Ue[_])}},t.removeHooks=function(_){Sn(Ue,_)&&(Ue[_]=[])},t.removeAllHooks=function(){Ue=$1()},t}var wd=q1();var Zc=class e{static CLASSNAME=`linkified`;linkifyModule;linkifyHtmlModule;mentionPluginInitialized=!1;linkifyOptions={className:{mention:e.CLASSNAME+`-mention`,url:e.CLASSNAME+`-url`},formatHref:{mention:t=>y1()+`/services/redirect/actors/`+t.substring(1)}};linkify(t){return F$1(this,null,function*(){if(!this.linkifyModule){let n=yield Promise.all([import(`./chunk-c22yPAQF.js`),import(`./chunk-BLCUpEJp2.js`).then(r=>r.default)]);this.linkifyModule=n[0],this.linkifyHtmlModule=n[1],this.buildMentionPlugin()}return this.linkifyHtmlModule(t,this.linkifyOptions)})}buildMentionPlugin(){if(this.mentionPluginInitialized)return;let t=this.linkifyModule.createTokenClass(`mention`,{isLink:!0,toHref(){return`/`+this.toString().slice(1)}});this.linkifyModule.registerPlugin(`mention`,({scanner:n,parser:r})=>{let{DOT:o,HYPHEN:i,UNDERSCORE:s,AT:a}=n.tokens,{domain:c}=n.tokens.groups,l=r.start.tt(a),u=l.tt(s,t);l.ta(c,u),l.tt(s,u),u.ta(c,u),u.tt(i,u),u.tt(s,u);let d=u.tt(o);d.ta(c,u),d.tt(i,u),d.tt(s,u);let f=u.tt(a);f.ta(c,u),f.tt(i,u),f.tt(s,u)}),this.mentionPluginInitialized=!0}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Qc=class e{linkifier=m(Zc);simpleDomPurify;enhancedDomPurify;classDomPurify;constructor(){this.simpleDomPurify=wd(),this.enhancedDomPurify=wd(),this.classDomPurify=wd(),this.addHrefHook(this.simpleDomPurify),this.addHrefHook(this.enhancedDomPurify),this.addCheckSchemesHook(this.simpleDomPurify,LT()),this.addCheckSchemesHook(this.enhancedDomPurify,[...LT(),`mailto`])}addHrefHook(t){t.addHook(`afterSanitizeAttributes`,n=>{if(`target`in n){n.setAttribute(`target`,`_blank`);let r=n.hasAttribute(`rel`)?n.getAttribute(`rel`):``,o=new Set(r.split(` `));o.add(`noopener`),o.add(`noreferrer`),o.add(`ugc`),n.setAttribute(`rel`,[...o].join(` `))}})}addCheckSchemesHook(t,n){let r=new RegExp(`^(${n.join(`|`)}):`,`im`),o=document.createElement(`a`);t.addHook(`afterSanitizeAttributes`,i=>{i.hasAttribute(`href`)&&(o.href=i.getAttribute(`href`),o.protocol&&!o.protocol.match(r)&&i.removeAttribute(`href`))})}convertToBr(t,n=!1){let r=t.replace(/\r?\n/g,`<br />`),o=n?[`b`,`i`,`u`,`strong`,`em`]:[];return wd.sanitize(r,{ALLOWED_TAGS:[...o,`br`]})}removeClassAttributes(t,n={}){let{additionalTags:r=[],additionalAttributes:o=[]}=n;return this.classDomPurify.sanitize(t,{ALLOWED_TAGS:[...OT(),...r],ALLOWED_ATTR:[...PT(),...o].filter(i=>i!==`class`),ALLOW_DATA_ATTR:!0})}toSimpleSafeHtml(t){return this.sanitize(this.simpleDomPurify,t,{excludeAttributes:[`class`]})}toSimpleSafeHtmlWithLinks(r){return F$1(this,arguments,function*(t,n={}){let{allowImages:o=!1}=n,i=o?[`img`]:[],s=o?[`src`,`alt`]:[],a=this.removeClassAttributes(t,{additionalTags:i,additionalAttributes:s});return a=yield this.linkifier.linkify(a),this.sanitize(this.simpleDomPurify,a,{additionalTags:i,additionalAttributes:s})})}toCustomPageSafeHtml(r){return F$1(this,arguments,function*(t,n=[]){let o=yield this.linkifier.linkify(t);return this.sanitize(this.enhancedDomPurify,o,{additionalTags:[...[`div`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`img`],...n],additionalAttributes:[`src`,`alt`,`style`]})})}sanitize(t,n,r={}){let{additionalTags:o=[],additionalAttributes:i=[],excludeAttributes:s=[]}=r;return t.sanitize(n,{ALLOWED_TAGS:[...OT(),...o],ALLOWED_ATTR:[...PT(),...i].filter(a=>!s.includes(a)),ALLOW_DATA_ATTR:!0})}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Jc=class e{htmlRenderer=m(Qc);markdownParsers={textMarkdownIt:null,textWithHTMLMarkdownIt:null,enhancedMarkdownIt:null,enhancedWithHTMLMarkdownIt:null,unsafeMarkdownIt:null,customPageMarkdownIt:null};parsersConfig={textMarkdownIt:{rules:xm,breaks:!0,html:!1},textWithHTMLMarkdownIt:{rules:kT,breaks:!0,html:!0,escape:!0},enhancedMarkdownIt:{rules:zM,breaks:!0,html:!1},enhancedWithHTMLMarkdownIt:{rules:FT,breaks:!0,html:!0,escape:!0},unsafeMarkdownIt:{rules:UT,breaks:!0,html:!0,escape:!1},customPageMarkdownIt:{rules:UT,breaks:!1,html:!0,escape:!0}};emojiModule;textMarkdownToHTML(t){let{markdown:n,withHtml:r=!1,withEmoji:o=!1,userGeneratedLinks:i=!0}=t;return r?this.render({name:`textWithHTMLMarkdownIt`,markdown:n,withEmoji:o,userGeneratedLinks:i}):this.render({name:`textMarkdownIt`,markdown:n,withEmoji:o,userGeneratedLinks:i})}enhancedMarkdownToHTML(t){let{markdown:n,withHtml:r=!1,withEmoji:o=!1,userGeneratedLinks:i=!0}=t;return r?this.render({name:`enhancedWithHTMLMarkdownIt`,markdown:n,withEmoji:o,userGeneratedLinks:i}):this.render({name:`enhancedMarkdownIt`,markdown:n,withEmoji:o,userGeneratedLinks:i})}markdownToUnsafeHTML(t){return this.render({name:`unsafeMarkdownIt`,markdown:t.markdown,withEmoji:!0,userGeneratedLinks:!0})}customPageMarkdownToHTML(t){let{markdown:n,additionalAllowedTags:r}=t;return this.render({name:`customPageMarkdownIt`,markdown:n,withEmoji:!0,additionalAllowedTags:r,userGeneratedLinks:!1})}processVideoTimestamps(t,n){return n.replace(/\b((\d{1,2}):)?(\d{1,2}):(\d{1,2})\b/g,function(r,o,i,s,a){let c=3600*+(i||0)+60*+(s||0)+ +(a||0);return`<a class="video-timestamp" href="${HM({url:UM({shortUUID:t}),startTime:c})}">${r}</a>`})}render(t){return F$1(this,null,function*(){let{name:n,markdown:r,
24withEmoji:o,additionalAllowedTags:i,userGeneratedLinks:s}=t;if(!r)return``;let a=this.parsersConfig[n];this.markdownParsers[n]||(this.markdownParsers[n]=yield this.createMarkdownIt(a,{userGeneratedLinks:s}),o&&(this.emojiModule||(this.emojiModule=(yield import(`./chunk-B2NlWm7j.js`)).default),this.markdownParsers[n].use(this.emojiModule)));let c=this.markdownParsers[n].render(r);return a.escape?n===`customPageMarkdownIt`?this.htmlRenderer.toCustomPageSafeHtml(c,i):n===`enhancedMarkdownIt`||n===`enhancedWithHTMLMarkdownIt`?this.htmlRenderer.toSimpleSafeHtmlWithLinks(c,{allowImages:!0}):this.htmlRenderer.toSimpleSafeHtmlWithLinks(c):c})}createMarkdownIt(t,n){return F$1(this,null,function*(){let r=(yield import(`./chunk-CC6krgz6.js`)).default,o=new r(`zero`,{linkify:!0,breaks:t.breaks,html:t.html});o.linkify.set({fuzzyLink:!0});for(let i of t.rules)o.enable(i);return this.setTargetToLinks(o,n),o})}setTargetToLinks(t,{userGeneratedLinks:n}){let r=t.renderer.rules.link_open||function(o,i,s,a,c){return c.renderToken(o,i,s)};t.renderer.rules.link_open=function(o,i,s,a,c){let l=o[i],u=l.attrIndex(`target`);u<0?l.attrPush([`target`,`_blank`]):l.attrs[u][1]=`_blank`;let d=`noopener noreferrer `.concat(n?`ugc`:``),f=l.attrIndex(`rel`);return f<0?l.attrPush([`rel`,d]):l.attrs[f][1]=d,r(o,i,s,a,c)}}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var $i=class e{authService=m(tt);notifier=m(Oi);markdownRenderer=m(Jc);server=m(Kt);zone=m(ie);authHttp=m(Wn);restExtractor=m(er);localeId=m(mn);router=m(st);static BASE_PLUGIN_API_URL=se.apiUrl+`/api/v1/plugins`;static BASE_PLUGIN_URL=se.apiUrl+`/plugins`;translationsObservable;customModal;formFields={video:[]};settingsScripts={};clientRoutes={};pluginsManager;actions=new Map;constructor(){this.loadTranslations(),this.pluginsManager=new $o({router:this.buildRouter(),doAction:this.doAction.bind(this),peertubeHelpersFactory:this.buildPeerTubeHelpers.bind(this),onFormFields:this.onFormFields.bind(this),onSettingsScripts:this.onSettingsScripts.bind(this),onClientRoute:this.onClientRoute.bind(this)})}addAction(t,n){this.actions.set(t,n)}removeAction(t){this.actions.delete(t)}initializePlugins(){return this.pluginsManager.loadPluginsList(this.server.getHTMLConfig()),this.pluginsManager.ensurePluginsAreLoaded(`common`)}initializeCustomModal(t){this.customModal=t}runHook(t,n,r){return this.zone.runOutsideAngular(()=>this.pluginsManager.runHook(t,n,r))}ensurePluginsAreLoaded(t){return this.pluginsManager.ensurePluginsAreLoaded(t)}reloadLoadedScopes(){return this.pluginsManager.reloadLoadedScopes()}getPluginsManager(){return this.pluginsManager}addPlugin(t,n=!1){return this.pluginsManager.addPlugin(t,n)}removePlugin(t){return this.pluginsManager.removePlugin(t)}nameToNpmName(t,n){return(n===nd.PLUGIN?`peertube-plugin-`:`peertube-theme-`)+t}getRegisteredVideoFormFields(t){return this.formFields.video.filter(n=>n.videoFormOptions.type===t)}getRegisteredSettingsScript(t){return this.settingsScripts[t]}getRegisteredClientRoute(t,n){if(this.clientRoutes[n])return this.clientRoutes[n][t]}getAllRegisteredClientRoutesForParent(t){return this.clientRoutes[t]}getAllRegisteredClientRoutes(){return pc(this.clientRoutes).map(t=>Object.keys(this.clientRoutes[t]).map(n=>t===`/`?n:t+n)).flat()}translateSetting(t,n){return F$1(this,null,function*(){for(let r of kM(n,[`label`,`html`,`descriptionHTML`]))n[r]&&(n[r]=yield this.translateBy(t,n[r]));if(Array.isArray(n.options)){let r=[];for(let o of n.options)r.push({value:o.value,label:yield this.translateBy(t,o.label)});n.options=r}})}translateBy(t,n){return sr(this.translationsObservable.pipe($(o=>o[t]),$(o=>Am(n,o))))}doAction(t){this.actions.has(t)||j.warn(`Plugin tried to do unknown action: ${t}`);try{return this.actions.get(t)()}catch(n){j.warn(`Cannot run action ${t}`,n)}}onFormFields(t,n,r){this.formFields.video.push({pluginInfo:t,commonOptions:n,videoFormOptions:r})}onSettingsScripts(t,n){this.settingsScripts[t.plugin.npmName]=n}onClientRoute(t){let n=t.parentRoute||`/`,r=t.route.startsWith(`/`)?t.route:`/${t.route}`;this.clientRoutes[n]||(this.clientRoutes[n]={}),this.clientRoutes[n][r]=t}buildRouter(){return{navigateByUrl:t=>this.router.navigateByUrl(t)}}buildPeerTubeHelpers(t){let{plugin:n}=t,r=t.plugin.npmName;return{getBaseStaticRoute:()=>{let o=$o.getPluginPathPrefix(t.isTheme);return se.apiUrl+`${o}/${n.name}/${n.version}/static`},getBaseRouterRoute:()=>{let o=$o.getPluginPathPrefix(t.isTheme);return se.apiUrl+`${o}/${n.name}/${n.version}/router`},getBaseWebSocketRoute:()=>{let o=$o.getPluginPathPrefix(t.isTheme);return se.apiUrl+`${o}/${n.name}/${n.version}/ws`},getBasePluginClientPath:()=>`/p`,getSettings:()=>{let o=e.BASE_PLUGIN_API_URL+`/`+r+`/public-settings`;return sr(this.authHttp.get(o).pipe($(s=>s.publicSettings),he(s=>this.restExtractor.handleError(s))))},getUser:()=>this.authService.getUser(),getServerConfig:()=>{return sr(this.server.getConfig().pipe(he(i=>this.restExtractor.handleError(i))))},isLoggedIn:()=>this.authService.isLoggedIn(),getAuthHeader:()=>this.authService.isLoggedIn()?{Authorization:this.authService.getRequestHeaderValue()}:void 0,notifier:{info:(o,i,s)=>this.zone.run(()=>this.notifier.info(o,i,s)),error:(o,i,s)=>this.zone.run(()=>
24this.notifier.error(o,i,s)),success:(o,i,s)=>this.zone.run(()=>this.notifier.success(o,i,s))},showModal:o=>{this.zone.run(()=>this.customModal.show(o))},markdownRenderer:{textMarkdownToHTML:o=>this.markdownRenderer.textMarkdownToHTML({markdown:o,userGeneratedLinks:!1}),enhancedMarkdownToHTML:o=>this.markdownRenderer.enhancedMarkdownToHTML({markdown:o,userGeneratedLinks:!1})},translate:o=>this.translateBy(r,o)}}loadTranslations(){let t=Ng()?Mg():Ei(this.localeId);wm(t)&&(this.translationsObservable=O({}).pipe(Mn())),this.translationsObservable=this.authHttp.get(e.BASE_PLUGIN_URL+`/translations/`+t+`.json`).pipe(Mn())}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Yg=class e{authService=m(tt);pluginService=m($i);constructor(){this.authService.userInformationLoaded.subscribe(()=>this.runAction(`action:auth-user.information-loaded`,`common`,{user:this.authService.getUser()})),this.authService.loginChangedSource.subscribe(t=>{t===0?this.runAction(`action:auth-user.logged-in`,`common`):t===1&&this.runAction(`action:auth-user.logged-out`,`common`)})}wrapObsFun(t,n,r,o,i){return Te(this.pluginService.ensurePluginsAreLoaded(r)).pipe(we(()=>this.wrapObjectWithoutScopeLoad(n,o)),je(s=>t(s)),we(s=>this.pluginService.runHook(i,s,n)))}wrapFun(t,n,r,o,i){return F$1(this,null,function*(){yield this.pluginService.ensurePluginsAreLoaded(r);let a=t(yield this.wrapObjectWithoutScopeLoad(n,o));return this.pluginService.runHook(i,a,n)})}runAction(t,n,r){setTimeout(()=>{this.pluginService.ensurePluginsAreLoaded(n).then(()=>this.pluginService.runHook(t,void 0,r)).catch(o=>j.error(`Fatal hook error.`,o))})}wrapObject(t,n,r,o){return F$1(this,null,function*(){return yield this.pluginService.ensurePluginsAreLoaded(n),this.wrapObjectWithoutScopeLoad(t,r,o)})}wrapObjectWithoutScopeLoad(t,n,r){return this.pluginService.runHook(n,t,r)}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var el=class e{authService=m(tt);server=m(Kt);localStorageService=m(po);constructor(){this.authService.userInformationLoaded.subscribe({next:()=>{let t=this.authService.getUser();this.setLoggedInUser(t),this.setUserInfo(t),this.setTokens(t.oauthTokens)}}),this.authService.loginChangedSource.pipe(xe(t=>t===1)).subscribe({next:()=>{this.flushLoggedInUser(),this.flushUserInfo(),this.flushTokens()}}),this.authService.tokensRefreshed.subscribe({next:()=>{let t=this.authService.getUser();this.setTokens(t.oauthTokens)}})}getLoggedInUser(){if(this.localStorageService.getItem(P.USERNAME))return w$1({id:parseInt(this.localStorageService.getItem(P.ID),10),username:this.localStorageService.getItem(P.USERNAME),email:this.localStorageService.getItem(P.EMAIL),role:{id:parseInt(this.localStorageService.getItem(P.ROLE),10),label:``}},this.getUserInfo())}setLoggedInUser(t){this.localStorageService.setItem(P.ID,t.id.toString()),this.localStorageService.setItem(P.USERNAME,t.username),this.localStorageService.setItem(P.EMAIL,t.email),this.localStorageService.setItem(P.ROLE,t.role.id.toString())}flushLoggedInUser(){this.localStorageService.removeItem(P.ID),this.localStorageService.removeItem(P.USERNAME),this.localStorageService.removeItem(P.EMAIL),this.localStorageService.removeItem(P.ROLE)}getUserInfo(){let t;try{let s=this.localStorageService.getItem(P.VIDEO_LANGUAGES);t=s&&s!==`undefined`?JSON.parse(s):null}catch(s){t=null,j.error(`Cannot parse desired video languages from localStorage.`,s)}let n=this.server.getHTMLConfig(),r=n.instance.defaultNSFWPolicy,o=n.defaults.p2p.webapp.enabled,i=n.defaults.player.autoPlay;return{nsfwPolicy:this.localStorageService.getItem(P.NSFW_POLICY)||r,nsfwFlagsDisplayed:hd(this.localStorageService.getItem(P.NSFW_FLAGS_DISPLAYED),void 0),nsfwFlagsWarned:hd(this.localStorageService.getItem(P.NSFW_FLAGS_WARNED),void 0),nsfwFlagsBlurred:hd(this.localStorageService.getItem(P.NSFW_FLAGS_BLURRED),void 0),nsfwFlagsHidden:hd(this.localStorageService.getItem(P.NSFW_FLAGS_HIDDEN),void 0),p2pEnabled:pd(this.localStorageService.getItem(P.P2P_ENABLED),o),theme:this.localStorageService.getItem(P.THEME)||`instance-default`,videoLanguages:t,autoPlayVideo:pd(this.localStorageService.getItem(P.AUTO_PLAY_VIDEO),i),autoPlayNextVideo:pd(this.localStorageService.getItem(P.AUTO_PLAY_NEXT_VIDEO),!1),autoPlayNextVideoPlaylist:pd(this.localStorageService.getItem(P.AUTO_PLAY_VIDEO_PLAYLIST),!0)}}setUserInfo(t){let n={nsfwPolicy:P.NSFW_POLICY,nsfwFlagsDisplayed:P.NSFW_FLAGS_DISPLAYED,nsfwFlagsHidden:P.NSFW_FLAGS_HIDDEN,nsfwFlagsWarned:P.NSFW_FLAGS_WARNED,nsfwFlagsBlurred:P.NSFW_FLAGS_BLURRED,p2pEnabled:P.P2P_ENABLED,autoPlayVideo:P.AUTO_PLAY_VIDEO,autoPlayNextVideo:P.AUTO_PLAY_NEXT_VIDEO,autoPlayNextVideoPlaylist:P.AUTO_PLAY_VIDEO_PLAYLIST,theme:P.THEME,videoLanguages:P.VIDEO_LANGUAGES},r=pc(n).filter(o=>o in t).map(o=>[n[o],t[o]]);for(let[o,i]of r)try{if(i===void 0){this.localStorageService.removeItem(o);continue}let s=typeof i==`string`?i:JSON.stringify(i);this.localStorageService.setItem(o,s)}catch(s){j.error(`Cannot set ${o}->${i} in localStorage. Likely due to a value impossible to stringify.`,s)}}flushUserInfo(){this.localStorageService.removeItem(P.NSFW_POLICY),this.localStorageService.removeItem(P.NSFW_FLAGS_DISPLAYED),this.localStorageService.removeItem(P.NSFW_FLAGS_WARNED),this.localStorageService.removeItem(P.NSFW_FLAGS_BLURRED),this.localStorageService.removeItem(P.NSFW_FLAGS_HIDDEN),this.localStorageService.removeItem(P.P2P_ENABLED),this.localStorageService.removeItem(P.AUTO_PLAY_VIDEO),this.localStorageService.removeItem(P.AUTO_PLAY_VIDEO_PLAYLIST),this.localStorageService.removeItem(P.THEME),this.localStorageService.removeItem(P.VIDEO_LANGUAGES)}listenUserInfoChange(){return this.localStorageService.watch([P.NSFW_POLICY,P.NSFW_FLAGS_DISPLAYED,P.NSFW_FLAGS_WARNED,P.NSFW_FLAGS_BLURRED,P.NSFW_FLAGS_HIDDEN,P.P2P_ENABLED,P.AUTO_PLAY_VIDEO,P.AUTO_PLAY_NEXT_VIDEO,P.AUTO_PLAY_VIDEO_PLAYLIST,P.THEME,P.VIDEO_LANGUAGES]).pipe(Ef(200),xe(()=>this.authService.isLoggedIn()!==!0))}getTokens(){return no.getUserTokens(this.localStorageService)}setTokens(t){no.saveToLocalStorage(this.localStorageService,t)}flushTokens(){no.flushLocalStorage(this.localStorageService)}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var tl=class e{authHttp=m(Wn);authService=m(tt);restExtractor=m(er);localeId=m(mn);userLocalStorageService=m(el);static BASE_USERS_URL=se.apiUrl+`/api/v1/users/`;static BASE_CLIENT_CONFIG_URL=se.apiUrl+`/api/v1/client-config/`;userCache={};signupInThisSession=!1;getUserWithCache(t){return this.userCache[t]||(this.userCache[t]=this.getUser(t).pipe(Mn(),he(n=>(delete this.userCache[t],Or(()=>n))))),this.userCache[t]}getUser(t,n=!1){let r=new yn().append(`withStats`,n+``);return this.authHttp.get(e.BASE_USERS_URL+t,{params:r}).pipe(he(o=>this.restExtractor.handleError(o)))}setSignupInThisSession(t){this.signupInThisSession=t}hasSignupInThisSession(){return this.signupInThisSession}updateMyAnonymousProfile(t){this.userLocalStorageService.setUserInfo(t)}listenAnonymousUpdate(){return this.userLocalStorageService.listenUserInfoChange().pipe($(()=>this.getAnonymousUser()))}getAnonymousUser(){return new $c(x(w$1({},this.userLocalStorageService.getUserInfo()),{language:Ei(this.localeId)}))}getAnonymousOrLoggedUser(){return this.authService.isLoggedIn()?this.authService.userInformationLoaded.pipe(Ke(),$(()=>this.authService.getUser())):O(this.getAnonymousUser())}changePassword(t,n){let r=e.BASE_USERS_URL+`me`,o={currentPassword:t,password:n};return this.authHttp.put(r,o).pipe(he(i=>this.restExtractor.handleError(i)))}changeEmail(t,n){let r=e.BASE_USERS_URL+`me`,o={currentPassword:t,email:n};return this.authHttp.put(r,o).pipe(he(i=>this.restExtractor.handleError(i)))}askSendVerifyEmail(t){let n=_m(t),r=e.BASE_USERS_URL+`ask-send-verify-email`;return Te(n).pipe(cr(o=>this.authHttp.post(r,{email:o})),hf(),he(o=>this.restExtractor.handleError(o)))}verifyUserEmail(t){let{userId:n,verificationString:r,isPendingEmail:o}=t,i=`${e.BASE_USERS_URL}${n}/verify-email`,s={verificationString:r,isPendingEmail:o};return this.authHttp.post(i,s).pipe(he(a=>this.restExtractor.handleError(a)))}updateMyProfile(t){let n=e.BASE_USERS_URL+`me`;return this.authHttp.put(n,t).pipe(he(r=>this.restExtractor.handleError(r)))}deleteMe(){let t=e.BASE_USERS_URL+`me`;return this.authHttp.delete(t).pipe(he(n=>this.restExtractor.handleError(n)))}changeAvatar(t){let n=e.BASE_USERS_URL+`me/avatar/pick`;return this.authHttp.post(n,t).pipe(he(r=>this.restExtractor.handleError(r)))}deleteAvatar(){let t=e.BASE_USERS_URL+`me/avatar`;return this.authHttp.delete(t).pipe(he(n=>this.restExtractor.handleError(n)))}getMyVideoQuotaUsed(){let t=e.BASE_USERS_URL+`me/video-quota-used`;return this.authHttp.get(t).pipe(he(n=>this.restExtractor.handleError(n)))}askResetPassword(t){let n=e.BASE_USERS_URL+`/ask-reset-password`;return this.authHttp.post(n,{email:t}).pipe(he(r=>this.restExtractor.handleError(r)))}resetPassword(t,n,r){let o=`${e.BASE_USERS_URL}/${t}/reset-password`,i={verificationString:n,password:r};return this.authHttp.post(o,i).pipe(he(s=>this.restExtractor.handleError(s)))}autocomplete(t){let n=e.BASE_USERS_URL+`autocomplete`,r=new yn().append(`search`,t);return this.authHttp.get(n,{params:r}).pipe(he(o=>this.restExtractor.handleError(o)))}updateInterfaceLanguage(t){let n=e.BASE_CLIENT_CONFIG_URL+`update-interface-language`,r={language:t};return this.authHttp.post(n,r).pipe(he(o=>this.restExtractor.handleError(o)))}
24markNewFeatureInfoAsRead(t){let n=e.BASE_USERS_URL+`me/new-feature-info/read`,r={feature:t};return this.authHttp.post(n,r).pipe(he(o=>this.restExtractor.handleError(o)))}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Xg=C(fD());var Kg=class e{auth=m(tt);userService=m(tl);pluginService=m($i);server=m(Kt);localStorageService=m(po);oldThemeName;internalThemes=[];themes=[];themeFromLocalStorage;themeDOMLinksFromLocalStorage=[];serverConfig;themeManager=new Ig;initialize(){this.serverConfig=this.server.getHTMLConfig(),this.internalThemes=this.serverConfig.theme.builtIn.map(n=>n.name),this.loadAndSetFromLocalStorage();let t=this.serverConfig.theme.registered;this.removeThemeFromLocalStorageIfNeeded(t),this.injectThemes(t),this.listenUserTheme()}getDefaultThemeItem(){return{label:"Light (Beige) or Dark (Brown)",id:`default`,description:"PeerTube selects the appropriate theme depending on web browser preferences"}}buildAvailableThemes(){return[...this.serverConfig.theme.builtIn.map(t=>t.name===`peertube-core-dark-brown`?{id:t.name,label:"Dark (Brown)"}:t.name===`peertube-core-light-beige`?{id:t.name,label:"Light (Beige)"}:{id:t.name,label:mD(t.name)}),...this.serverConfig.theme.registered.map(t=>({id:t.name,label:mD(t.name)}))]}updateColorPalette(t=this.serverConfig.theme){this.themeManager.injectColorPalette({currentTheme:this.getCurrentThemeName(),config:t})}getCSSConfigValue(t){return this.themeManager.getCSSConfigValue(t)}
24injectThemes(t,n=!1){this.themes=t,j.info(`Injecting ${this.themes.length} themes.`);for(let r of this.themes){if(n===!1&&this.themeFromLocalStorage?.name===r.name)continue;let o=this.themeManager.injectTheme(r,se.apiUrl);n===!0&&(this.themeDOMLinksFromLocalStorage=[...this.themeDOMLinksFromLocalStorage,...o])}}getCurrentThemeName(){if(this.themeFromLocalStorage)return this.themeFromLocalStorage.name;let t=this.auth.isLoggedIn()?this.auth.getUser().theme:this.userService.getAnonymousUser().theme;if(t!==`instance-default`)return t;let n=this.serverConfig.theme.default;return n!=="default"?n:window.matchMedia?.(`(prefers-color-scheme: dark)`).matches?`peertube-core-dark-brown`:n}isUsingDefaultTheme(t){return this.themeManager.isUsingDefaultTheme(t)}updateCurrentTheme(){let t=this.getCurrentThemeName();if(this.oldThemeName===t)return;this.oldThemeName&&this.removeThemePlugins(this.oldThemeName),j.info(`Enabling ${t} theme.`),this.themeManager.loadThemeStyle(t);let n=this.getTheme(t);this.internalThemes.includes(t)?(j.info(`Enabling internal theme ${t}`),this.localStorageService.setItem(P.LAST_ACTIVE_THEME,JSON.stringify({name:t}),!1)):n?(j.info(`Adding scripts of theme ${t}`),this.pluginService.addPlugin(n,!0),this.pluginService.reloadLoadedScopes(),this.localStorageService.setItem(P.LAST_ACTIVE_THEME,JSON.stringify(n),!1)):this.localStorageService.removeItem(P.LAST_ACTIVE_THEME,!1),this.themeManager.injectColorPalette({currentTheme:t,config:this.serverConfig.theme}),this.oldThemeName=t}listenUserTheme(){this.themeFromLocalStorage=void 0,this.themeDOMLinksFromLocalStorage=[],this.auth.isLoggedIn()||(this.updateCurrentTheme(),this.localStorageService.watch([P.THEME]).subscribe(()=>this.updateCurrentTheme())),this.auth.userInformationLoaded.subscribe(()=>this.updateCurrentTheme())}loadAndSetFromLocalStorage(){let t=this.localStorageService.getItem(P.LAST_ACTIVE_THEME);if(t)try{let n=JSON.parse(t);this.themeFromLocalStorage=n,this.internalThemes.includes(this.themeFromLocalStorage.name)||this.injectThemes([n],!0),this.updateCurrentTheme()}catch(n){j.error(`Cannot parse last active theme.`,n);return}}removeThemePlugins(t){let n=this.getTheme(t);n&&(j.info(`Removing scripts of old theme ${t}.`),this.pluginService.removePlugin(n))}removeThemeFromLocalStorageIfNeeded(t){if(!this.themeFromLocalStorage||this.internalThemes.includes(this.themeFromLocalStorage.name))return;if(t.find(r=>r.name===this.themeFromLocalStorage.name)?.version!==this.themeFromLocalStorage.version){this.removeThemePlugins(this.themeFromLocalStorage.name),this.oldThemeName=void 0;for(let r of this.themeDOMLinksFromLocalStorage)this.themeManager.removeThemeLink(r);this.themeFromLocalStorage=void 0,this.themeDOMLinksFromLocalStorage=[]}}getTheme(t){return this.themes.find(n=>n.name===t)}formatColorForForm(t){if(!t)return null;try{return(0,Xg.formatHEX)((0,Xg.parse)(t))}catch(n){return j.warn(`Error parsing color value "${t}"`,n),null}}formatPixelsForForm(t){if(typeof t==`number`)return t+``;if(typeof t!=`string`)return null;let n=parseInt(t.replace(/px$/,``));return isNaN(n)?null:n+``}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};var Zg=class e{searchHidden=!1;searchHiddenSubject=new K;isSearchHidden(){return this.searchHidden}setSearchHidden(t){this.searchHidden=t,this.searchHiddenSubject.next(t)}getSearchHiddenObs(){return this.searchHiddenSubject.asObservable()}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};function B4e(){return[tt,Lg,Gc,Kt,Kg,zg,Zg,Hg,Gg,$g,$i,Yg,Qc,Zc,Jc,er,Og,tl,el,Yc,po,Wc,ho,Oi,gg,Wg,Vg,Pg,Bi,jg,qc,Bg,zc]}var tt=class e{http=m(Wn);notifier=m(Oi);hotkeysService=m(zc);restExtractor=m(er);router=m(st);static BASE_CLIENT_URL=se.apiUrl+`/api/v1/oauth-clients/local`;static BASE_TOKEN_URL=se.apiUrl+`/api/v1/users/token`;static BASE_REVOKE_TOKEN_URL=se.apiUrl+`/api/v1/users/revoke-token`;static BASE_USER_INFORMATION_URL=se.apiUrl+`/api/v1/users/me`;static LS_OAUTH_CLIENT_KEYS={CLIENT_ID:`client_id`,CLIENT_SECRET:`client_secret`};loginChangedSource;userInformationLoaded=new qe(1);tokensRefreshed=new qe(1);loggedInHotkeys;clientId=Kn.getItem(e.LS_OAUTH_CLIENT_KEYS.CLIENT_ID);clientSecret=Kn.getItem(e.LS_OAUTH_CLIENT_KEYS.CLIENT_SECRET);loginChanged;user=null;refreshingTokenObservable;constructor(){this.loginChanged=new K,this.loginChangedSource=this.loginChanged.asObservable(),this.loggedInHotkeys=[new wr(`m s`,t=>(this.router.navigate([`/videos/subscriptions`]),!1),"Go to my subscriptions"),new wr(`m v`,t=>(this.router.navigate([`/my-library/videos`]),!1),"Go to my videos"),new wr(`m i`,t=>(this.router.navigate([`/my-library/video-imports`]),!1),"Go to my imports"),new wr(`m c`,t=>(this.router.navigate([`/my-library/video-channels`]),!1),"Go to my channels"),new wr(`m p`,t=>(this.router.navigate([`/my-library/video-playlists`]),!1),"Go to my playlists")]}buildAuthUser(t,n){this.user=new Sd(t,n),this.hotkeysService.add(this.loggedInHotkeys)}loadClientCredentials(){this.http.get(e.BASE_CLIENT_URL).pipe(he(t=>this.restExtractor.handleError(t))).subscribe({next:t=>{this.clientId=t.client_id,this.clientSecret=t.client_secret,Kn.setItem(e.LS_OAUTH_CLIENT_KEYS.CLIENT_ID,this.clientId),Kn.setItem(e.LS_OAUTH_CLIENT_KEYS.CLIENT_SECRET,this.clientSecret),j.info(`Client credentials loaded.`)},error:t=>{let n=t.message;t.status===_t.FORBIDDEN_403&&(n=`Cannot retrieve OAuth Client credentials: ${t.message}.\nEnsure you have correctly configured PeerTube (config/ directory), in particular the "webserver" section.`),this.notifier.error(n,"Error",7e3)}})}getRefreshToken(){return this.user===null?null:this.user.getRefreshToken()}getRequestHeaderValue(){let t=this.getAccessToken();return t===null?null:`${this.getTokenType()} ${t}`}getAccessToken(){return this.user===null?null:this.user.getAccessToken()}getTokenType(){return this.user===null?null:this.user.getTokenType()}getUser(){return this.user}isLoggedIn(){return!!this.getAccessToken()}login(t){let{username:n,password:r,token:o,otpToken:i}=t,s={client_id:this.clientId,client_secret:this.clientSecret,response_type:`code`,grant_type:`password`,scope:`upload`,username:(n||``).trim(),password:r};o&&Object.assign(s,{externalAuthToken:o});let a=new Ht().set(`Content-Type`,`application/x-www-form-urlencoded`);return i&&(a=a.set(`x-peertube-otp`,i)),this.http.post(e.BASE_TOKEN_URL,qk(s),{headers:a}).pipe($(c=>Object.assign(c,{username:n})),we(c=>this.mergeUserInformation(c)),$(c=>this.handleLogin(c)),he(c=>this.restExtractor.handleError(c)))}logout(){let t=this.getRequestHeaderValue();(t?this.http.post(e.BASE_REVOKE_TOKEN_URL,{},{headers:new Ht().set(`Authorization`,t)}):O({})).subscribe({next:r=>{r.redirectUrl&&(window.location.href=r.redirectUrl)},error:r=>{r instanceof ao||j.error(r)}}),this.user=null,this.setStatus(1)}refreshAccessToken(){if(this.refreshingTokenObservable)return this.refreshingTokenObservable;if(!this.getAccessToken())return Or(()=>new ao("You need to reconnect",!0));j.info(`Refreshing token...`);let t=this.getRefreshToken(),n=new yn().set(`refresh_token`,t).set(`client_id`,this.clientId).set(`client_secret`,this.clientSecret).set(`response_type`,`code`).set(`grant_type`,`refresh_token`),r=new Ht().set(`Content-Type`,`application/x-www-form-urlencoded`);return this.refreshingTokenObservable=this.http.post(e.BASE_TOKEN_URL,n,{headers:r}).pipe($(o=>this.handleRefreshToken(o)),Tt(()=>{this.refreshingTokenObservable=null}),he(o=>{throw j.clientError(o.message,o),this.logout(),this.notifier.info("Your authentication has expired, you need to reconnect.",void 0,void 0,!0),this.refreshingTokenObservable=null,new ao("You need to reconnect",!0)}),mo()),this.refreshingTokenObservable}refreshUserInformation(){let t={access_token:this.user.getAccessToken(),refresh_token:null,token_type:this.user.getTokenType(),username:this.user.username};this.mergeUserInformation(t).subscribe({next:n=>{this.user.patch(n),this.userInformationLoaded.next(!0)}})}isOTPMissingError(t){return!(t.status!==_t.UNAUTHORIZED_401||t.headers.get(`x-peertube-otp`)!==`required; app`)}mergeUserInformation(t){let n=new Ht().set(`Authorization`,`${t.token_type} ${t.access_token}`);return this.http.get(e.BASE_USER_INFORMATION_URL,{headers:n}).pipe($(r=>Object.assign(t,r)))}handleLogin(t){let n={accessToken:t.access_token,tokenType:t.token_type,refreshToken:t.refresh_token};this.user=new Sd(t,n),this.setStatus(0),this.userInformationLoaded.next(!0)}handleRefreshToken(t){this.user.refreshTokens(t.access_token,t.refresh_token),this.tokensRefreshed.next()}setStatus(t){this.loginChanged.next(t),t===0?this.hotkeysService.add(this.loggedInHotkeys):this.hotkeysService.remove(this.loggedInHotkeys)}static ɵfac=function(n){return new(n||e)};static ɵprov=T({token:e,factory:e.ɵfac})};export{EX as $,hf as $a,awe as $i,Os as $n,nd as $o,Vn as $r,tw as $s,K5 as $t,C2e as A,eo as Aa,yEe as Ac,Z2 as Ai,N5 as An,l8 as Ao,T5 as Ar,rU as As,Hye as At,Cu as B,fu as Ba,zQ as Bc,_1 as Bi,Nt as Bn,mBe as Bo,U2e as Br,sme as Bs,JF as Bt,BK as C,eBe as Ca,xM as Cc,Y_e as Ci,Mf as Cn,kCe as Co,Rs as Cr,qa as Cs,HM as Ct,Bl as D,eU as Da,xx as Dc,Yn as Di,Mn as Dn,kg as Do,Swe as Dr,r8 as Ds,Hg as Dt,Bi as E,eM as Ea,xm as Ec,Yg as Ei,Mje as En,kUe as Eo,Sge as Er,qe as Es,Hbe as Et,CR as F,fU as Fa,ywe as Fc,Zb as Fi,Ne as Fn,li as Fo,Tm as Fr,s5 as Fs,IR as Ft,Dge as G,gBe as Ga,zg as Gc,_x as Gi,OBe as Gn,mo as Go,Ube as Gr,sx as Gs,J_ as Gt,D1 as H,g1 as Ha,z_e as Hc,_be as Hi,O as Hn,mf as Ho,UHe as Hr,st as Hs,JP as Ht,Cbe as I,fe as Ia,z$ as Ic,Zbe as Ii,Ng as In,ll as Io,Tt as Ir,sU as Is,Im as It,Ds as J,gwe as Ja,ah as Ji,OS as Jn,nBe as Jo,V5 as Jr,th as Js,Jc as Jt,Dm as K,gK as Ka,a2 as Ki,OIe as Kn,mwe as Ko,Ul as Kr,tBe as Ks,J_e as Kt,Ce as L,ff as La,z2e as Lc,Ze as Li,Nje as Ln,lwe as Lo,Tu as Lr,se as Ls,Ix as Lt,CA as M,ex as Ma,yf as Mc,ZP as Mi,NIe as Mn,lM as Mo,TX as Mr,rd as Ms,I0e as Mt,CAe as N,fBe as Na,yh as Nc,ZV as Ni,NT as Nn,lc as No,Te as Nr,rme as Ns,I5 as Nt,Bn as O,el as Oa,y1 as Oc,Yr as Oi,Mp as On,kr as Oo,T as Or,rBe as Os,Hl as Ot,CIe as P,fDe as Pa,yn as Pc,Za as Pi,NTe as Pn,lh as Po,Tge as Pr,rx as Ps,IA as Pt,ET as Q,he as Qa,au as Qi,Or as Qn,nS as Qo,Vg as Qr,tt as Qs,K as Qt,Cm as R,fi as Ra,zF as Rc,Zg as Ri,Nn as Rn,m as Ro,Tx as Rr,sh as Rs,J3 as Rt,B4e as S,di as Sa,x5 as Sc,YV as Si,MBe as Sn,k5 as So,Rje as Sr,q_e as Ss,HA as St,Bg as T,eIe as Ta,xje as Tc,Yc as Ti,Mh as Tn,kI as To,SX as Tr,qc as Ts,HV as Tt,D5 as U,g5 as Ua,zb as Uc,_m as Ui,O2e as Un,mg as Uo,UM as Ur,su as Us,JT as Ut,Cx as V,fx as Va,zR as Vc,_I as Vi,Nu as Vn,mD as Vo,UA as Vr,sr as Vs,JHe as Vt,De as W,gAe as Wa,zc as Wc,_t as Wi,O5 as W
24n,mn as Wo,UV as Wr,swe as Ws,JV as Wt,Dx as X,hBe as Xa,ame as Xi,Oi as Xn,nIe as Xo,Vc as Xr,tm as Xs,Jhe as Xt,Dt as Y,hB as Ya,ai as Yi,Og as Yn,nG as Yo,VVe as Yr,tl as Ys,Je as Yt,EAe as Z,hEe as Za,ar as Zi,Oje as Zn,nQ as Zo,Ve as Zr,tme as Zs,Jje as Zt,AM as _,dDe as _a,wM as _c,Xr as _i,Lg as _n,jV as _o,R2e as _r,pp as _s,Gc as _t,$R as a,bje as aa,ut as ac,W_e as ai,Kr as an,iU as ao,PDe as ar,o8 as as,FCe as at,B$ as b,da as ba,wx as bc,YDe as bi,Lv as bn,jg as bo,RK as br,q2e as bs,H4 as bt,$c as c,c8 as ca,vUe as cc,We as ci,L as cn,ih as co,Pg as cr,ome as cs,G$ as ct,$n as d,cX as da,vje as dc,Wn as di,L7 as dn,ix as do,Q3 as dr,pB as ds,GF as dt,ax as ea,twe as ec,Vo as ei,KG as en,hi as eo,Ou as er,nme as es,Ef as et,$o as f,ch as fa,vw as fc,X2 as fi,LA as fn,j as fo,QP as fr,pBe as fs,GM as ft,ABe as g,dBe as ga,wCe as gc,XV as gi,Le as gn,jA as go,Qi as gr,po as gs,Gb as gt,A0e as h,cwe as ha,w3 as hc,XEe as hi,LM as hn,j5 as ho,Qc as hr,pd as hs,G_e as ht,$F as i,bh as ia,ul as ic,WV as ii,Kn as in,i8 as io,PAe as ir,o5 as is,FA as it,C5 as j,er as ja,yX as jc,Z3 as ji,ND as jn,lBe as jo,TA as jr,rX as js,I as jt,Bt as k,eme as ka,yBe as kc,Z as ki,N2e as kn,kwe as ko,T3 as kr,rG as ks,Ht as kt,$g as l,cG as la,vX as lc,Wg as li,L2e as ln,ij as lo,Pje as lr,on as ls,G5 as lt,A as m,cr as ma,w2e as mc,X3 as mi,LCe as mn,j4 as mo,Qb as mr,pc as ms,GVe as mt,$4 as n,b2e as na,uBe as nc,W2e as ni,Ke as nn,ho as no,P5 as nr,nz as ns,Ewe as nt,$Ve as o,bp as oa,v7 as oc,Wb as oi,Kt as on,id as oo,PG as or,oAe as os,FI as ot,$t as p,cme as pa,vwe as pc,X2e as pi,LBe as pn,j$ as po,QV as pr,pU as ps,GQ as pt,Dn as q,gg as qa,aG as qi,OM as qn,n8 as qo,V4 as qr,tU as qs,Jb as qt,$5 as r,bd as ra,uh as rc,WDe as ri,Kg as rn,i2 as ro,PA as rr,o$ as rs,F5 as rt,$_e as s,br as sa,vCe as sc,Wc as si,Kwe as sn,ie as so,PIe as sr,oBe as ss,Fl as st,$ as t,az as ta,tx as tc,W as ti,KV as tn,hn as to,P2e as tr,nx as ts,Ei as tt,$i as u,cU as ua,vf as uc,Wh as ui,L5 as un,im as uo,Pwe as ur,ot as us,GDe as ut,AS as v,dG as va,we as vc,Xwe as vi,Lje as vn,j_e as vo,R5 as vr,pue as vs,Gg as vt,BV as w,eD as wa,xe as wc,Yb as wi,Mg as wn,kG as wo,S5 as wr,qb as ws,HT as wt,B2e as x,dh as xa,x2e as xc,YI as xi,M5 as xn,jr as xo,RT as xr,qI as xs,H5 as xt,Am as y,dU as ya,wr as yc,Y5 as yi,Ln as yn,je as yo,RD as yr,px as ys,H$ as yt,Ct as z,fp as za,zM as zc,Zwe as zi,No as zn,mAe as zo,U$ as zr,sm as zs,JEe as zt};
25//# debugId=6a5c56d7-20aa-5552-92a2-4fe26c308f01
26//# sourceMappingURL=chunk-CBGwcTR3.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.