diff --git a/404.html b/404.html index 14c4c51..8028f15 100644 --- a/404.html +++ b/404.html @@ -19,12 +19,12 @@ } - +
Blockcore Notes loading...
- + \ No newline at end of file diff --git a/472.831ca0b667703080.js b/472.831ca0b667703080.js deleted file mode 100644 index 42be27e..0000000 --- a/472.831ca0b667703080.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var a,se,er={5521:(se,a)=>{"use strict";function H(l){if(!Number.isSafeInteger(l))throw new Error(`Wrong integer: ${l}`)}function q(...l){const u=(j,k)=>V=>j(k(V));return{encode:Array.from(l).reverse().reduce((j,k)=>j?u(j,k.encode):k.encode,void 0),decode:l.reduce((j,k)=>j?u(j,k.decode):k.decode,void 0)}}function d(l){return{encode:u=>{if(!Array.isArray(u)||u.length&&"number"!=typeof u[0])throw new Error("alphabet.encode input should be an array of numbers");return u.map(y=>{if(H(y),y<0||y>=l.length)throw new Error(`Digit index outside alphabet: ${y} (alphabet: ${l.length})`);return l[y]})},decode:u=>{if(!Array.isArray(u)||u.length&&"string"!=typeof u[0])throw new Error("alphabet.decode input should be array of strings");return u.map(y=>{if("string"!=typeof y)throw new Error(`alphabet.decode: not string element=${y}`);const I=l.indexOf(y);if(-1===I)throw new Error(`Unknown letter: "${y}". Allowed: ${l}`);return I})}}}function C(l=""){if("string"!=typeof l)throw new Error("join separator should be string");return{encode:u=>{if(!Array.isArray(u)||u.length&&"string"!=typeof u[0])throw new Error("join.encode input should be array of strings");for(let y of u)if("string"!=typeof y)throw new Error(`join.encode: non-string input=${y}`);return u.join(l)},decode:u=>{if("string"!=typeof u)throw new Error("join.decode input should be string");return u.split(l)}}}function Z(l,u="="){if(H(l),"string"!=typeof u)throw new Error("padding chr should be string");return{encode(y){if(!Array.isArray(y)||y.length&&"string"!=typeof y[0])throw new Error("padding.encode input should be array of strings");for(let I of y)if("string"!=typeof I)throw new Error(`padding.encode: non-string input=${I}`);for(;y.length*l%8;)y.push(u);return y},decode(y){if(!Array.isArray(y)||y.length&&"string"!=typeof y[0])throw new Error("padding.encode input should be array of strings");for(let j of y)if("string"!=typeof j)throw new Error(`padding.decode: non-string input=${j}`);let I=y.length;if(I*l%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;I>0&&y[I-1]===u;I--)if(!((I-1)*l%8))throw new Error("Invalid padding: string has too much padding");return y.slice(0,I)}}}function Q(l){if("function"!=typeof l)throw new Error("normalize fn should be function");return{encode:u=>u,decode:u=>l(u)}}function m(l,u,y){if(u<2)throw new Error(`convertRadix: wrong from=${u}, base cannot be less than 2`);if(y<2)throw new Error(`convertRadix: wrong to=${y}, base cannot be less than 2`);if(!Array.isArray(l))throw new Error("convertRadix: data should be array");if(!l.length)return[];let I=0;const j=[],k=Array.from(l);for(k.forEach(V=>{if(H(V),V<0||V>=u)throw new Error(`Wrong integer: ${V}`)});;){let V=0,ce=!0;for(let le=I;leu?w(u,l%u):l,$=(l,u)=>l+(u-w(l,u));function D(l,u,y,I){if(!Array.isArray(l))throw new Error("convertRadix2: data should be array");if(u<=0||u>32)throw new Error(`convertRadix2: wrong from=${u}`);if(y<=0||y>32)throw new Error(`convertRadix2: wrong to=${y}`);if($(u,y)>32)throw new Error(`convertRadix2: carry overflow from=${u} to=${y} carryBits=${$(u,y)}`);let j=0,k=0;const V=2**y-1,ce=[];for(const le of l){if(H(le),le>=2**u)throw new Error(`convertRadix2: invalid data word=${le} from=${u}`);if(j=j<32)throw new Error(`convertRadix2: carry overflow pos=${k} from=${u}`);for(k+=u;k>=y;k-=y)ce.push((j>>k-y&V)>>>0);j&=2**k-1}if(j=j<=u)throw new Error("Excess padding");if(!I&&j)throw new Error(`Non-zero padding: ${j}`);return I&&k>0&&ce.push(j>>>0),ce}function O(l){return H(l),{encode:u=>{if(!(u instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return m(Array.from(u),256,l)},decode:u=>{if(!Array.isArray(u)||u.length&&"number"!=typeof u[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(m(u,l,256))}}}function B(l,u=!1){if(H(l),l<=0||l>32)throw new Error("radix2: bits should be in (0..32]");if($(8,l)>32||$(l,8)>32)throw new Error("radix2: carry overflow");return{encode:y=>{if(!(y instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return D(Array.from(y),8,l,!u)},decode:y=>{if(!Array.isArray(y)||y.length&&"number"!=typeof y[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(D(y,l,8,u))}}}function F(l){if("function"!=typeof l)throw new Error("unsafeWrapper fn should be function");return function(...u){try{return l.apply(null,u)}catch{}}}function G(l,u){if(H(l),"function"!=typeof u)throw new Error("checksum fn should be function");return{encode(y){if(!(y instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const I=u(y).slice(0,l),j=new Uint8Array(y.length+l);return j.set(y),j.set(I,y.length),j},decode(y){if(!(y instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const I=y.slice(0,-l),j=u(I).slice(0,l),k=y.slice(-l);for(let V=0;Vl.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),a.base64=q(B(6),d("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),Z(6),C("")),a.base64url=q(B(6),d("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),Z(6),C(""));const X=l=>q(O(58),d(l),C(""));a.base58=X("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),a.base58flickr=X("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),a.base58xrp=X("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const W=[0,2,3,5,6,7,9,10,11];a.base58xmr={encode(l){let u="";for(let y=0;yq(G(4,u=>l(l(u))),a.base58);const K=q(d("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),C("")),Y=[996825010,642813549,513874426,1027748829,705979059];function L(l){const u=l>>25;let y=(33554431&l)<<5;for(let I=0;I>I&1)&&(y^=Y[I]);return y}function ee(l,u,y=1){const I=l.length;let j=1;for(let k=0;k126)throw new Error(`Invalid prefix (${l})`);j=L(j)^V>>5}j=L(j);for(let k=0;kie)throw new TypeError(`Wrong string length: ${M.length} (${M}). Expected (8..${ie})`);const de=M.toLowerCase();if(M!==de&&M!==M.toUpperCase())throw new Error("String must be lowercase or uppercase");const E=(M=de).lastIndexOf("1");if(0===E||-1===E)throw new Error('Letter "1" must be present between prefix and data only');const he=M.slice(0,E),_e=M.slice(E+1);if(_e.length<6)throw new Error("Data must be at least 6 characters long");const me=K.decode(_e).slice(0,-6),qe=ee(he,me,u);if(!_e.endsWith(qe))throw new Error(`Invalid checksum in ${M}: expected "${qe}"`);return{prefix:he,words:me}}return{encode:function V(M,ie,de=90){if("string"!=typeof M)throw new Error("bech32.encode prefix should be string, not "+typeof M);if(!Array.isArray(ie)||ie.length&&"number"!=typeof ie[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof ie);const E=M.length+7+ie.length;if(!1!==de&&E>de)throw new TypeError(`Length ${E} exceeds limit ${de}`);return`${M=M.toLowerCase()}1${K.encode(ie)}${ee(M,ie,u)}`},decode:ce,decodeToBytes:function fe(M){const{prefix:ie,words:de}=ce(M,!1);return{prefix:ie,words:de,bytes:I(de)}},decodeUnsafe:F(ce),fromWords:I,fromWordsUnsafe:k,toWords:j}}a.bech32=_("bech32"),a.bech32m=_("bech32m"),a.utf8={encode:l=>(new TextDecoder).decode(l),decode:l=>(new TextEncoder).encode(l)},a.hex=q(B(4),d("0123456789abcdef"),C(""),Q(l=>{if("string"!=typeof l||l.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof l} with length ${l.length}`);return l.toLowerCase()}));const h={utf8:a.utf8,hex:a.hex,base16:a.base16,base32:a.base32,base64:a.base64,base64url:a.base64url,base58:a.base58,base58xmr:a.base58xmr},S=`Invalid encoding type. Available types: ${Object.keys(h).join(", ")}`;a.bytesToString=(l,u)=>{if("string"!=typeof l||!h.hasOwnProperty(l))throw new TypeError(S);if(!(u instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return h[l].encode(u)},a.str=a.bytesToString,a.stringToBytes=(l,u)=>{if(!h.hasOwnProperty(l))throw new TypeError(S);if("string"!=typeof u)throw new TypeError("stringToBytes() expects string");return h[l].decode(u)},a.bytes=a.stringToBytes},6837:(se,a,H)=>{"use strict";a.Z1=a._I=a.OF=void 0;const d=H(5729),C=H(9522),Z=H(8519),Q=H(27),m=H(7507),w=H(5521);function D(_){if("string"!=typeof _)throw new TypeError("Invalid mnemonic type: "+typeof _);return _.normalize("NFKD")}function O(_){const h=D(_),S=h.split(" ");if(![12,15,18,21,24].includes(S.length))throw new Error("Invalid mnemonic");return{nfkd:h,words:S}}function B(_){d.default.bytes(_,16,20,24,28,32)}a.OF=function F(_,h=128){if(d.default.number(h),h%32!=0||h>256)throw new TypeError("Invalid entropy");return function P(_,h){return B(_),X(h).encode(_).join((_=>"\u3042\u3044\u3053\u304f\u3057\u3093"===_[0])(h)?"\u3000":" ")}((0,m.randomBytes)(h/8),_)};const G=_=>{const h=8-_.length/4;return new Uint8Array([(0,Z.sha256)(_)[0]>>h<{if("string"!=typeof h)throw new Error(`Wordlist: non-string element: ${h}`)}),w.utils.chain(w.utils.checksum(1,G),w.utils.radix2(11,!0),w.utils.alphabet(_))}a._I=function K(_,h){try{!function W(_,h){const{words:S}=O(_),R=X(h).decode(S);return B(R),R}(_,h)}catch{return!1}return!0};a.Z1=function ee(_,h=""){return(0,C.pbkdf2)(Q.sha512,O(_).nfkd,(_=>D(`mnemonic${_}`))(h),{c:2048,dkLen:64})}},5729:(se,a)=>{"use strict";function H(w){if(!Number.isSafeInteger(w)||w<0)throw new Error(`Wrong positive integer: ${w}`)}function q(w){if("boolean"!=typeof w)throw new Error(`Expected boolean, not ${w}`)}function d(w,...$){if(!(w instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if($.length>0&&!$.includes(w.length))throw new TypeError(`Expected Uint8Array of length ${$}, not of length=${w.length}`)}function C(w){if("function"!=typeof w||"function"!=typeof w.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");H(w.outputLen),H(w.blockLen)}function Z(w,$=!0){if(w.destroyed)throw new Error("Hash instance has been destroyed");if($&&w.finished)throw new Error("Hash#digest() has already been called")}function Q(w,$){d(w);const D=$.outputLen;if(w.length{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.SHA2=void 0;const q=H(5729),d=H(7507);a.SHA2=class Z extends d.Hash{constructor(m,w,$,D){super(),this.blockLen=m,this.outputLen=w,this.padOffset=$,this.isLE=D,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(m),this.view=(0,d.createView)(this.buffer)}update(m){q.default.exists(this);const{view:w,buffer:$,blockLen:D}=this,O=(m=(0,d.toBytes)(m)).length;for(let B=0;BD-B&&(this.process($,0),B=0);for(let P=B;P>D&O),F=Number(w&O),X=$?0:4;Q.setUint32(m+($?4:0),B,$),Q.setUint32(m+X,F,$)})($,D-8,BigInt(8*this.length),O),this.process($,0);const F=(0,d.createView)(m),G=this.outputLen;if(G%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const X=G/4,W=this.get();if(X>W.length)throw new Error("_sha2: outputLen bigger than state");for(let P=0;P{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.add=a.toBig=a.split=a.fromBig=void 0;const H=BigInt(2**32-1),q=BigInt(32);function d(x,l=!1){return l?{h:Number(x&H),l:Number(x>>q&H)}:{h:0|Number(x>>q&H),l:0|Number(x&H)}}function C(x,l=!1){let u=new Uint32Array(x.length),y=new Uint32Array(x.length);for(let I=0;I>>0)+(y>>>0);return{h:x+u+(I/4294967296|0)|0,l:0|I}}a.fromBig=d,a.split=C,a.toBig=(x,l)=>BigInt(x>>>0)<>>0),a.add=K,a.default={fromBig:d,split:C,toBig:a.toBig,shrSH:(x,l,u)=>x>>>u,shrSL:(x,l,u)=>x<<32-u|l>>>u,rotrSH:(x,l,u)=>x>>>u|l<<32-u,rotrSL:(x,l,u)=>x<<32-u|l>>>u,rotrBH:(x,l,u)=>x<<64-u|l>>>u-32,rotrBL:(x,l,u)=>x>>>u-32|l<<64-u,rotr32H:(x,l)=>l,rotr32L:(x,l)=>x,rotlSH:(x,l,u)=>x<>>32-u,rotlSL:(x,l,u)=>l<>>32-u,rotlBH:(x,l,u)=>l<>>64-u,rotlBL:(x,l,u)=>x<>>64-u,add:K,add3L:(x,l,u)=>(x>>>0)+(l>>>0)+(u>>>0),add3H:(x,l,u,y)=>l+u+y+(x/2**32|0)|0,add4L:(x,l,u,y)=>(x>>>0)+(l>>>0)+(u>>>0)+(y>>>0),add4H:(x,l,u,y,I)=>l+u+y+I+(x/2**32|0)|0,add5H:(x,l,u,y,I,j)=>l+u+y+I+j+(x/2**32|0)|0,add5L:(x,l,u,y,I)=>(x>>>0)+(l>>>0)+(u>>>0)+(y>>>0)+(I>>>0)}},7882:(se,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.crypto=void 0,a.crypto={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0}},602:(se,a,H)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.hmac=void 0;const q=H(5729),d=H(7507);class C extends d.Hash{constructor(m,w){super(),this.finished=!1,this.destroyed=!1,q.default.hash(m);const $=(0,d.toBytes)(w);if(this.iHash=m.create(),"function"!=typeof this.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const D=this.blockLen,O=new Uint8Array(D);O.set($.length>D?m.create().update($).digest():$);for(let B=0;Bnew C(Q,m).update(w).digest(),a.hmac.create=(Q,m)=>new C(Q,m)},9522:(se,a,H)=>{"use strict";var q=H(9598).default;Object.defineProperty(a,"__esModule",{value:!0}),a.pbkdf2Async=a.pbkdf2=void 0;const d=H(5729),C=H(602),Z=H(7507);function Q(O,B,F,G){d.default.hash(O);const X=(0,Z.checkOpts)({dkLen:32,asyncTick:10},G),{c:W,dkLen:P,asyncTick:K}=X;if(d.default.number(W),d.default.number(P),d.default.number(K),W<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const Y=(0,Z.toBytes)(B),L=(0,Z.toBytes)(F),ee=new Uint8Array(P),_=C.hmac.create(O,Y),h=_._cloneInto().update(L);return{c:W,dkLen:P,asyncTick:K,DK:ee,PRF:_,PRFSalt:h}}function m(O,B,F,G,X){return O.destroy(),B.destroy(),G&&G.destroy(),X.fill(0),F}function D(){return(D=q(function*(O,B,F,G){const{c:X,dkLen:W,asyncTick:P,DK:K,PRF:Y,PRFSalt:L}=Q(O,B,F,G);let ee;const _=new Uint8Array(4),h=(0,Z.createView)(_),S=new Uint8Array(Y.outputLen);for(let R=1,x=0;x{Y._cloneInto(ee).update(S).digestInto(S);for(let y=0;y{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.sha224=a.sha256=void 0;const q=H(4206),d=H(7507),C=(O,B,F)=>O&B^~O&F,Z=(O,B,F)=>O&B^O&F^B&F,Q=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),m=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),w=new Uint32Array(64);class $ extends q.SHA2{constructor(){super(64,32,8,!1),this.A=0|m[0],this.B=0|m[1],this.C=0|m[2],this.D=0|m[3],this.E=0|m[4],this.F=0|m[5],this.G=0|m[6],this.H=0|m[7]}get(){const{A:B,B:F,C:G,D:X,E:W,F:P,G:K,H:Y}=this;return[B,F,G,X,W,P,K,Y]}set(B,F,G,X,W,P,K,Y){this.A=0|B,this.B=0|F,this.C=0|G,this.D=0|X,this.E=0|W,this.F=0|P,this.G=0|K,this.H=0|Y}process(B,F){for(let _=0;_<16;_++,F+=4)w[_]=B.getUint32(F,!1);for(let _=16;_<64;_++){const h=w[_-15],S=w[_-2],R=(0,d.rotr)(h,7)^(0,d.rotr)(h,18)^h>>>3,x=(0,d.rotr)(S,17)^(0,d.rotr)(S,19)^S>>>10;w[_]=x+w[_-7]+R+w[_-16]|0}let{A:G,B:X,C:W,D:P,E:K,F:Y,G:L,H:ee}=this;for(let _=0;_<64;_++){const S=ee+((0,d.rotr)(K,6)^(0,d.rotr)(K,11)^(0,d.rotr)(K,25))+C(K,Y,L)+Q[_]+w[_]|0,x=((0,d.rotr)(G,2)^(0,d.rotr)(G,13)^(0,d.rotr)(G,22))+Z(G,X,W)|0;ee=L,L=Y,Y=K,K=P+S|0,P=W,W=X,X=G,G=S+x|0}G=G+this.A|0,X=X+this.B|0,W=W+this.C|0,P=P+this.D|0,K=K+this.E|0,Y=Y+this.F|0,L=L+this.G|0,ee=ee+this.H|0,this.set(G,X,W,P,K,Y,L,ee)}roundClean(){w.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class D extends ${constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}a.sha256=(0,d.wrapConstructor)(()=>new $),a.sha224=(0,d.wrapConstructor)(()=>new D)},27:(se,a,H)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.sha384=a.sha512_256=a.sha512_224=a.sha512=a.SHA512=void 0;const q=H(4206),d=H(9027),C=H(7507),[Z,Q]=d.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(F=>BigInt(F))),m=new Uint32Array(80),w=new Uint32Array(80);class $ extends q.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:G,Al:X,Bh:W,Bl:P,Ch:K,Cl:Y,Dh:L,Dl:ee,Eh:_,El:h,Fh:S,Fl:R,Gh:x,Gl:l,Hh:u,Hl:y}=this;return[G,X,W,P,K,Y,L,ee,_,h,S,R,x,l,u,y]}set(G,X,W,P,K,Y,L,ee,_,h,S,R,x,l,u,y){this.Ah=0|G,this.Al=0|X,this.Bh=0|W,this.Bl=0|P,this.Ch=0|K,this.Cl=0|Y,this.Dh=0|L,this.Dl=0|ee,this.Eh=0|_,this.El=0|h,this.Fh=0|S,this.Fl=0|R,this.Gh=0|x,this.Gl=0|l,this.Hh=0|u,this.Hl=0|y}process(G,X){for(let k=0;k<16;k++,X+=4)m[k]=G.getUint32(X),w[k]=G.getUint32(X+=4);for(let k=16;k<80;k++){const V=0|m[k-15],ce=0|w[k-15],le=d.default.rotrSH(V,ce,1)^d.default.rotrSH(V,ce,8)^d.default.shrSH(V,ce,7),fe=d.default.rotrSL(V,ce,1)^d.default.rotrSL(V,ce,8)^d.default.shrSL(V,ce,7),M=0|m[k-2],ie=0|w[k-2],de=d.default.rotrSH(M,ie,19)^d.default.rotrBH(M,ie,61)^d.default.shrSH(M,ie,6),E=d.default.rotrSL(M,ie,19)^d.default.rotrBL(M,ie,61)^d.default.shrSL(M,ie,6),he=d.default.add4L(fe,E,w[k-7],w[k-16]),_e=d.default.add4H(he,le,de,m[k-7],m[k-16]);m[k]=0|_e,w[k]=0|he}let{Ah:W,Al:P,Bh:K,Bl:Y,Ch:L,Cl:ee,Dh:_,Dl:h,Eh:S,El:R,Fh:x,Fl:l,Gh:u,Gl:y,Hh:I,Hl:j}=this;for(let k=0;k<80;k++){const V=d.default.rotrSH(S,R,14)^d.default.rotrSH(S,R,18)^d.default.rotrBH(S,R,41),ce=d.default.rotrSL(S,R,14)^d.default.rotrSL(S,R,18)^d.default.rotrBL(S,R,41),le=S&x^~S&u,M=d.default.add5L(j,ce,R&l^~R&y,Q[k],w[k]),ie=d.default.add5H(M,I,V,le,Z[k],m[k]),de=0|M,E=d.default.rotrSH(W,P,28)^d.default.rotrBH(W,P,34)^d.default.rotrBH(W,P,39),he=d.default.rotrSL(W,P,28)^d.default.rotrBL(W,P,34)^d.default.rotrBL(W,P,39),_e=W&K^W&L^K&L,me=P&Y^P&ee^YⅇI=0|u,j=0|y,u=0|x,y=0|l,x=0|S,l=0|R,({h:S,l:R}=d.default.add(0|_,0|h,0|ie,0|de)),_=0|L,h=0|ee,L=0|K,ee=0|Y,K=0|W,Y=0|P;const qe=d.default.add3L(de,he,me);W=d.default.add3H(qe,ie,E,_e),P=0|qe}({h:W,l:P}=d.default.add(0|this.Ah,0|this.Al,0|W,0|P)),({h:K,l:Y}=d.default.add(0|this.Bh,0|this.Bl,0|K,0|Y)),({h:L,l:ee}=d.default.add(0|this.Ch,0|this.Cl,0|L,0|ee)),({h:_,l:h}=d.default.add(0|this.Dh,0|this.Dl,0|_,0|h)),({h:S,l:R}=d.default.add(0|this.Eh,0|this.El,0|S,0|R)),({h:x,l}=d.default.add(0|this.Fh,0|this.Fl,0|x,0|l)),({h:u,l:y}=d.default.add(0|this.Gh,0|this.Gl,0|u,0|y)),({h:I,l:j}=d.default.add(0|this.Hh,0|this.Hl,0|I,0|j)),this.set(W,P,K,Y,L,ee,_,h,S,R,x,l,u,y,I,j)}roundClean(){m.fill(0),w.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}a.SHA512=$;class D extends ${constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class O extends ${constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class B extends ${constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}a.sha512=(0,C.wrapConstructor)(()=>new $),a.sha512_224=(0,C.wrapConstructor)(()=>new D),a.sha512_256=(0,C.wrapConstructor)(()=>new O),a.sha384=(0,C.wrapConstructor)(()=>new B)},7507:(se,a,H)=>{"use strict";var q=H(9598).default;Object.defineProperty(a,"__esModule",{value:!0}),a.randomBytes=a.wrapConstructorWithOpts=a.wrapConstructor=a.checkOpts=a.Hash=a.concatBytes=a.toBytes=a.utf8ToBytes=a.asyncLoop=a.nextTick=a.hexToBytes=a.bytesToHex=a.isLE=a.rotr=a.createView=a.u32=a.u8=void 0;const d=H(7882);if(a.u8=h=>new Uint8Array(h.buffer,h.byteOffset,h.byteLength),a.u32=h=>new Uint32Array(h.buffer,h.byteOffset,Math.floor(h.byteLength/4)),a.createView=h=>new DataView(h.buffer,h.byteOffset,h.byteLength),a.rotr=(h,S)=>h<<32-S|h>>>S,a.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!a.isLE)throw new Error("Non little-endian hardware is not supported");const w=Array.from({length:256},(h,S)=>S.toString(16).padStart(2,"0"));function F(){return(F=q(function*(h,S,R){let x=Date.now();for(let l=0;l=0&&ux instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===h.length)return h[0];const S=h.reduce((x,l)=>x+l.length,0),R=new Uint8Array(S);for(let x=0,l=0;x"[object Object]"===Object.prototype.toString.call(h)&&h.constructor===Object)(S)))throw new TypeError("Options should be object or undefined");return Object.assign(h,S)},a.wrapConstructor=function L(h){const S=x=>h().update(X(x)).digest(),R=h();return S.outputLen=R.outputLen,S.blockLen=R.blockLen,S.create=()=>h(),S},a.wrapConstructorWithOpts=function ee(h){const S=(x,l)=>h(l).update(X(x)).digest(),R=h({});return S.outputLen=R.outputLen,S.blockLen=R.blockLen,S.create=x=>h(x),S},a.randomBytes=function _(h=32){if(d.crypto.web)return d.crypto.web.getRandomValues(new Uint8Array(h));if(d.crypto.node)return new Uint8Array(d.crypto.node.randomBytes(h).buffer);throw new Error("The environment doesn't have randomBytes function")}},3439:(se,a)=>{"use strict";a.U=void 0,a.U="abandon\nability\nable\nabout\nabove\nabsent\nabsorb\nabstract\nabsurd\nabuse\naccess\naccident\naccount\naccuse\nachieve\nacid\nacoustic\nacquire\nacross\nact\naction\nactor\nactress\nactual\nadapt\nadd\naddict\naddress\nadjust\nadmit\nadult\nadvance\nadvice\naerobic\naffair\nafford\nafraid\nagain\nage\nagent\nagree\nahead\naim\nair\nairport\naisle\nalarm\nalbum\nalcohol\nalert\nalien\nall\nalley\nallow\nalmost\nalone\nalpha\nalready\nalso\nalter\nalways\namateur\namazing\namong\namount\namused\nanalyst\nanchor\nancient\nanger\nangle\nangry\nanimal\nankle\nannounce\nannual\nanother\nanswer\nantenna\nantique\nanxiety\nany\napart\napology\nappear\napple\napprove\napril\narch\narctic\narea\narena\nargue\narm\narmed\narmor\narmy\naround\narrange\narrest\narrive\narrow\nart\nartefact\nartist\nartwork\nask\naspect\nassault\nasset\nassist\nassume\nasthma\nathlete\natom\nattack\nattend\nattitude\nattract\nauction\naudit\naugust\naunt\nauthor\nauto\nautumn\naverage\navocado\navoid\nawake\naware\naway\nawesome\nawful\nawkward\naxis\nbaby\nbachelor\nbacon\nbadge\nbag\nbalance\nbalcony\nball\nbamboo\nbanana\nbanner\nbar\nbarely\nbargain\nbarrel\nbase\nbasic\nbasket\nbattle\nbeach\nbean\nbeauty\nbecause\nbecome\nbeef\nbefore\nbegin\nbehave\nbehind\nbelieve\nbelow\nbelt\nbench\nbenefit\nbest\nbetray\nbetter\nbetween\nbeyond\nbicycle\nbid\nbike\nbind\nbiology\nbird\nbirth\nbitter\nblack\nblade\nblame\nblanket\nblast\nbleak\nbless\nblind\nblood\nblossom\nblouse\nblue\nblur\nblush\nboard\nboat\nbody\nboil\nbomb\nbone\nbonus\nbook\nboost\nborder\nboring\nborrow\nboss\nbottom\nbounce\nbox\nboy\nbracket\nbrain\nbrand\nbrass\nbrave\nbread\nbreeze\nbrick\nbridge\nbrief\nbright\nbring\nbrisk\nbroccoli\nbroken\nbronze\nbroom\nbrother\nbrown\nbrush\nbubble\nbuddy\nbudget\nbuffalo\nbuild\nbulb\nbulk\nbullet\nbundle\nbunker\nburden\nburger\nburst\nbus\nbusiness\nbusy\nbutter\nbuyer\nbuzz\ncabbage\ncabin\ncable\ncactus\ncage\ncake\ncall\ncalm\ncamera\ncamp\ncan\ncanal\ncancel\ncandy\ncannon\ncanoe\ncanvas\ncanyon\ncapable\ncapital\ncaptain\ncar\ncarbon\ncard\ncargo\ncarpet\ncarry\ncart\ncase\ncash\ncasino\ncastle\ncasual\ncat\ncatalog\ncatch\ncategory\ncattle\ncaught\ncause\ncaution\ncave\nceiling\ncelery\ncement\ncensus\ncentury\ncereal\ncertain\nchair\nchalk\nchampion\nchange\nchaos\nchapter\ncharge\nchase\nchat\ncheap\ncheck\ncheese\nchef\ncherry\nchest\nchicken\nchief\nchild\nchimney\nchoice\nchoose\nchronic\nchuckle\nchunk\nchurn\ncigar\ncinnamon\ncircle\ncitizen\ncity\ncivil\nclaim\nclap\nclarify\nclaw\nclay\nclean\nclerk\nclever\nclick\nclient\ncliff\nclimb\nclinic\nclip\nclock\nclog\nclose\ncloth\ncloud\nclown\nclub\nclump\ncluster\nclutch\ncoach\ncoast\ncoconut\ncode\ncoffee\ncoil\ncoin\ncollect\ncolor\ncolumn\ncombine\ncome\ncomfort\ncomic\ncommon\ncompany\nconcert\nconduct\nconfirm\ncongress\nconnect\nconsider\ncontrol\nconvince\ncook\ncool\ncopper\ncopy\ncoral\ncore\ncorn\ncorrect\ncost\ncotton\ncouch\ncountry\ncouple\ncourse\ncousin\ncover\ncoyote\ncrack\ncradle\ncraft\ncram\ncrane\ncrash\ncrater\ncrawl\ncrazy\ncream\ncredit\ncreek\ncrew\ncricket\ncrime\ncrisp\ncritic\ncrop\ncross\ncrouch\ncrowd\ncrucial\ncruel\ncruise\ncrumble\ncrunch\ncrush\ncry\ncrystal\ncube\nculture\ncup\ncupboard\ncurious\ncurrent\ncurtain\ncurve\ncushion\ncustom\ncute\ncycle\ndad\ndamage\ndamp\ndance\ndanger\ndaring\ndash\ndaughter\ndawn\nday\ndeal\ndebate\ndebris\ndecade\ndecember\ndecide\ndecline\ndecorate\ndecrease\ndeer\ndefense\ndefine\ndefy\ndegree\ndelay\ndeliver\ndemand\ndemise\ndenial\ndentist\ndeny\ndepart\ndepend\ndeposit\ndepth\ndeputy\nderive\ndescribe\ndesert\ndesign\ndesk\ndespair\ndestroy\ndetail\ndetect\ndevelop\ndevice\ndevote\ndiagram\ndial\ndiamond\ndiary\ndice\ndiesel\ndiet\ndiffer\ndigital\ndignity\ndilemma\ndinner\ndinosaur\ndirect\ndirt\ndisagree\ndiscover\ndisease\ndish\ndismiss\ndisorder\ndisplay\ndistance\ndivert\ndivide\ndivorce\ndizzy\ndoctor\ndocument\ndog\ndoll\ndolphin\ndomain\ndonate\ndonkey\ndonor\ndoor\ndose\ndouble\ndove\ndraft\ndragon\ndrama\ndrastic\ndraw\ndream\ndress\ndrift\ndrill\ndrink\ndrip\ndrive\ndrop\ndrum\ndry\nduck\ndumb\ndune\nduring\ndust\ndutch\nduty\ndwarf\ndynamic\neager\neagle\nearly\nearn\nearth\neasily\neast\neasy\necho\necology\neconomy\nedge\nedit\neducate\neffort\negg\neight\neither\nelbow\nelder\nelectric\nelegant\nelement\nelephant\nelevator\nelite\nelse\nembark\nembody\nembrace\nemerge\nemotion\nemploy\nempower\nempty\nenable\nenact\nend\nendless\nendorse\nenemy\nenergy\nenforce\nengage\nengine\nenhance\nenjoy\nenlist\nenough\nenrich\nenroll\nensure\nenter\nentire\nentry\nenvelope\nepisode\nequal\nequip\nera\nerase\nerode\nerosion\nerror\nerupt\nescape\nessay\nessence\nestate\neternal\nethics\nevidence\nevil\nevoke\nevolve\nexact\nexample\nexcess\nexchange\nexcite\nexclude\nexcuse\nexecute\nexercise\nexhaust\nexhibit\nexile\nexist\nexit\nexotic\nexpand\nexpect\nexpire\nexplain\nexpose\nexpress\nextend\nextra\neye\neyebrow\nfabric\nface\nfaculty\nfade\nfaint\nfaith\nfall\nfalse\nfame\nfamily\nfamous\nfan\nfancy\nfantasy\nfarm\nfashion\nfat\nfatal\nfather\nfatigue\nfault\nfavorite\nfeature\nfebruary\nfederal\nfee\nfeed\nfeel\nfemale\nfence\nfestival\nfetch\nfever\nfew\nfiber\nfiction\nfield\nfigure\nfile\nfilm\nfilter\nfinal\nfind\nfine\nfinger\nfinish\nfire\nfirm\nfirst\nfiscal\nfish\nfit\nfitness\nfix\nflag\nflame\nflash\nflat\nflavor\nflee\nflight\nflip\nfloat\nflock\nfloor\nflower\nfluid\nflush\nfly\nfoam\nfocus\nfog\nfoil\nfold\nfollow\nfood\nfoot\nforce\nforest\nforget\nfork\nfortune\nforum\nforward\nfossil\nfoster\nfound\nfox\nfragile\nframe\nfrequent\nfresh\nfriend\nfringe\nfrog\nfront\nfrost\nfrown\nfrozen\nfruit\nfuel\nfun\nfunny\nfurnace\nfury\nfuture\ngadget\ngain\ngalaxy\ngallery\ngame\ngap\ngarage\ngarbage\ngarden\ngarlic\ngarment\ngas\ngasp\ngate\ngather\ngauge\ngaze\ngeneral\ngenius\ngenre\ngentle\ngenuine\ngesture\nghost\ngiant\ngift\ngiggle\nginger\ngiraffe\ngirl\ngive\nglad\nglance\nglare\nglass\nglide\nglimpse\nglobe\ngloom\nglory\nglove\nglow\nglue\ngoat\ngoddess\ngold\ngood\ngoose\ngorilla\ngospel\ngossip\ngovern\ngown\ngrab\ngrace\ngrain\ngrant\ngrape\ngrass\ngravity\ngreat\ngreen\ngrid\ngrief\ngrit\ngrocery\ngroup\ngrow\ngrunt\nguard\nguess\nguide\nguilt\nguitar\ngun\ngym\nhabit\nhair\nhalf\nhammer\nhamster\nhand\nhappy\nharbor\nhard\nharsh\nharvest\nhat\nhave\nhawk\nhazard\nhead\nhealth\nheart\nheavy\nhedgehog\nheight\nhello\nhelmet\nhelp\nhen\nhero\nhidden\nhigh\nhill\nhint\nhip\nhire\nhistory\nhobby\nhockey\nhold\nhole\nholiday\nhollow\nhome\nhoney\nhood\nhope\nhorn\nhorror\nhorse\nhospital\nhost\nhotel\nhour\nhover\nhub\nhuge\nhuman\nhumble\nhumor\nhundred\nhungry\nhunt\nhurdle\nhurry\nhurt\nhusband\nhybrid\nice\nicon\nidea\nidentify\nidle\nignore\nill\nillegal\nillness\nimage\nimitate\nimmense\nimmune\nimpact\nimpose\nimprove\nimpulse\ninch\ninclude\nincome\nincrease\nindex\nindicate\nindoor\nindustry\ninfant\ninflict\ninform\ninhale\ninherit\ninitial\ninject\ninjury\ninmate\ninner\ninnocent\ninput\ninquiry\ninsane\ninsect\ninside\ninspire\ninstall\nintact\ninterest\ninto\ninvest\ninvite\ninvolve\niron\nisland\nisolate\nissue\nitem\nivory\njacket\njaguar\njar\njazz\njealous\njeans\njelly\njewel\njob\njoin\njoke\njourney\njoy\njudge\njuice\njump\njungle\njunior\njunk\njust\nkangaroo\nkeen\nkeep\nketchup\nkey\nkick\nkid\nkidney\nkind\nkingdom\nkiss\nkit\nkitchen\nkite\nkitten\nkiwi\nknee\nknife\nknock\nknow\nlab\nlabel\nlabor\nladder\nlady\nlake\nlamp\nlanguage\nlaptop\nlarge\nlater\nlatin\nlaugh\nlaundry\nlava\nlaw\nlawn\nlawsuit\nlayer\nlazy\nleader\nleaf\nlearn\nleave\nlecture\nleft\nleg\nlegal\nlegend\nleisure\nlemon\nlend\nlength\nlens\nleopard\nlesson\nletter\nlevel\nliar\nliberty\nlibrary\nlicense\nlife\nlift\nlight\nlike\nlimb\nlimit\nlink\nlion\nliquid\nlist\nlittle\nlive\nlizard\nload\nloan\nlobster\nlocal\nlock\nlogic\nlonely\nlong\nloop\nlottery\nloud\nlounge\nlove\nloyal\nlucky\nluggage\nlumber\nlunar\nlunch\nluxury\nlyrics\nmachine\nmad\nmagic\nmagnet\nmaid\nmail\nmain\nmajor\nmake\nmammal\nman\nmanage\nmandate\nmango\nmansion\nmanual\nmaple\nmarble\nmarch\nmargin\nmarine\nmarket\nmarriage\nmask\nmass\nmaster\nmatch\nmaterial\nmath\nmatrix\nmatter\nmaximum\nmaze\nmeadow\nmean\nmeasure\nmeat\nmechanic\nmedal\nmedia\nmelody\nmelt\nmember\nmemory\nmention\nmenu\nmercy\nmerge\nmerit\nmerry\nmesh\nmessage\nmetal\nmethod\nmiddle\nmidnight\nmilk\nmillion\nmimic\nmind\nminimum\nminor\nminute\nmiracle\nmirror\nmisery\nmiss\nmistake\nmix\nmixed\nmixture\nmobile\nmodel\nmodify\nmom\nmoment\nmonitor\nmonkey\nmonster\nmonth\nmoon\nmoral\nmore\nmorning\nmosquito\nmother\nmotion\nmotor\nmountain\nmouse\nmove\nmovie\nmuch\nmuffin\nmule\nmultiply\nmuscle\nmuseum\nmushroom\nmusic\nmust\nmutual\nmyself\nmystery\nmyth\nnaive\nname\nnapkin\nnarrow\nnasty\nnation\nnature\nnear\nneck\nneed\nnegative\nneglect\nneither\nnephew\nnerve\nnest\nnet\nnetwork\nneutral\nnever\nnews\nnext\nnice\nnight\nnoble\nnoise\nnominee\nnoodle\nnormal\nnorth\nnose\nnotable\nnote\nnothing\nnotice\nnovel\nnow\nnuclear\nnumber\nnurse\nnut\noak\nobey\nobject\noblige\nobscure\nobserve\nobtain\nobvious\noccur\nocean\noctober\nodor\noff\noffer\noffice\noften\noil\nokay\nold\nolive\nolympic\nomit\nonce\none\nonion\nonline\nonly\nopen\nopera\nopinion\noppose\noption\norange\norbit\norchard\norder\nordinary\norgan\norient\noriginal\norphan\nostrich\nother\noutdoor\nouter\noutput\noutside\noval\noven\nover\nown\nowner\noxygen\noyster\nozone\npact\npaddle\npage\npair\npalace\npalm\npanda\npanel\npanic\npanther\npaper\nparade\nparent\npark\nparrot\nparty\npass\npatch\npath\npatient\npatrol\npattern\npause\npave\npayment\npeace\npeanut\npear\npeasant\npelican\npen\npenalty\npencil\npeople\npepper\nperfect\npermit\nperson\npet\nphone\nphoto\nphrase\nphysical\npiano\npicnic\npicture\npiece\npig\npigeon\npill\npilot\npink\npioneer\npipe\npistol\npitch\npizza\nplace\nplanet\nplastic\nplate\nplay\nplease\npledge\npluck\nplug\nplunge\npoem\npoet\npoint\npolar\npole\npolice\npond\npony\npool\npopular\nportion\nposition\npossible\npost\npotato\npottery\npoverty\npowder\npower\npractice\npraise\npredict\nprefer\nprepare\npresent\npretty\nprevent\nprice\npride\nprimary\nprint\npriority\nprison\nprivate\nprize\nproblem\nprocess\nproduce\nprofit\nprogram\nproject\npromote\nproof\nproperty\nprosper\nprotect\nproud\nprovide\npublic\npudding\npull\npulp\npulse\npumpkin\npunch\npupil\npuppy\npurchase\npurity\npurpose\npurse\npush\nput\npuzzle\npyramid\nquality\nquantum\nquarter\nquestion\nquick\nquit\nquiz\nquote\nrabbit\nraccoon\nrace\nrack\nradar\nradio\nrail\nrain\nraise\nrally\nramp\nranch\nrandom\nrange\nrapid\nrare\nrate\nrather\nraven\nraw\nrazor\nready\nreal\nreason\nrebel\nrebuild\nrecall\nreceive\nrecipe\nrecord\nrecycle\nreduce\nreflect\nreform\nrefuse\nregion\nregret\nregular\nreject\nrelax\nrelease\nrelief\nrely\nremain\nremember\nremind\nremove\nrender\nrenew\nrent\nreopen\nrepair\nrepeat\nreplace\nreport\nrequire\nrescue\nresemble\nresist\nresource\nresponse\nresult\nretire\nretreat\nreturn\nreunion\nreveal\nreview\nreward\nrhythm\nrib\nribbon\nrice\nrich\nride\nridge\nrifle\nright\nrigid\nring\nriot\nripple\nrisk\nritual\nrival\nriver\nroad\nroast\nrobot\nrobust\nrocket\nromance\nroof\nrookie\nroom\nrose\nrotate\nrough\nround\nroute\nroyal\nrubber\nrude\nrug\nrule\nrun\nrunway\nrural\nsad\nsaddle\nsadness\nsafe\nsail\nsalad\nsalmon\nsalon\nsalt\nsalute\nsame\nsample\nsand\nsatisfy\nsatoshi\nsauce\nsausage\nsave\nsay\nscale\nscan\nscare\nscatter\nscene\nscheme\nschool\nscience\nscissors\nscorpion\nscout\nscrap\nscreen\nscript\nscrub\nsea\nsearch\nseason\nseat\nsecond\nsecret\nsection\nsecurity\nseed\nseek\nsegment\nselect\nsell\nseminar\nsenior\nsense\nsentence\nseries\nservice\nsession\nsettle\nsetup\nseven\nshadow\nshaft\nshallow\nshare\nshed\nshell\nsheriff\nshield\nshift\nshine\nship\nshiver\nshock\nshoe\nshoot\nshop\nshort\nshoulder\nshove\nshrimp\nshrug\nshuffle\nshy\nsibling\nsick\nside\nsiege\nsight\nsign\nsilent\nsilk\nsilly\nsilver\nsimilar\nsimple\nsince\nsing\nsiren\nsister\nsituate\nsix\nsize\nskate\nsketch\nski\nskill\nskin\nskirt\nskull\nslab\nslam\nsleep\nslender\nslice\nslide\nslight\nslim\nslogan\nslot\nslow\nslush\nsmall\nsmart\nsmile\nsmoke\nsmooth\nsnack\nsnake\nsnap\nsniff\nsnow\nsoap\nsoccer\nsocial\nsock\nsoda\nsoft\nsolar\nsoldier\nsolid\nsolution\nsolve\nsomeone\nsong\nsoon\nsorry\nsort\nsoul\nsound\nsoup\nsource\nsouth\nspace\nspare\nspatial\nspawn\nspeak\nspecial\nspeed\nspell\nspend\nsphere\nspice\nspider\nspike\nspin\nspirit\nsplit\nspoil\nsponsor\nspoon\nsport\nspot\nspray\nspread\nspring\nspy\nsquare\nsqueeze\nsquirrel\nstable\nstadium\nstaff\nstage\nstairs\nstamp\nstand\nstart\nstate\nstay\nsteak\nsteel\nstem\nstep\nstereo\nstick\nstill\nsting\nstock\nstomach\nstone\nstool\nstory\nstove\nstrategy\nstreet\nstrike\nstrong\nstruggle\nstudent\nstuff\nstumble\nstyle\nsubject\nsubmit\nsubway\nsuccess\nsuch\nsudden\nsuffer\nsugar\nsuggest\nsuit\nsummer\nsun\nsunny\nsunset\nsuper\nsupply\nsupreme\nsure\nsurface\nsurge\nsurprise\nsurround\nsurvey\nsuspect\nsustain\nswallow\nswamp\nswap\nswarm\nswear\nsweet\nswift\nswim\nswing\nswitch\nsword\nsymbol\nsymptom\nsyrup\nsystem\ntable\ntackle\ntag\ntail\ntalent\ntalk\ntank\ntape\ntarget\ntask\ntaste\ntattoo\ntaxi\nteach\nteam\ntell\nten\ntenant\ntennis\ntent\nterm\ntest\ntext\nthank\nthat\ntheme\nthen\ntheory\nthere\nthey\nthing\nthis\nthought\nthree\nthrive\nthrow\nthumb\nthunder\nticket\ntide\ntiger\ntilt\ntimber\ntime\ntiny\ntip\ntired\ntissue\ntitle\ntoast\ntobacco\ntoday\ntoddler\ntoe\ntogether\ntoilet\ntoken\ntomato\ntomorrow\ntone\ntongue\ntonight\ntool\ntooth\ntop\ntopic\ntopple\ntorch\ntornado\ntortoise\ntoss\ntotal\ntourist\ntoward\ntower\ntown\ntoy\ntrack\ntrade\ntraffic\ntragic\ntrain\ntransfer\ntrap\ntrash\ntravel\ntray\ntreat\ntree\ntrend\ntrial\ntribe\ntrick\ntrigger\ntrim\ntrip\ntrophy\ntrouble\ntruck\ntrue\ntruly\ntrumpet\ntrust\ntruth\ntry\ntube\ntuition\ntumble\ntuna\ntunnel\nturkey\nturn\nturtle\ntwelve\ntwenty\ntwice\ntwin\ntwist\ntwo\ntype\ntypical\nugly\numbrella\nunable\nunaware\nuncle\nuncover\nunder\nundo\nunfair\nunfold\nunhappy\nuniform\nunique\nunit\nuniverse\nunknown\nunlock\nuntil\nunusual\nunveil\nupdate\nupgrade\nuphold\nupon\nupper\nupset\nurban\nurge\nusage\nuse\nused\nuseful\nuseless\nusual\nutility\nvacant\nvacuum\nvague\nvalid\nvalley\nvalve\nvan\nvanish\nvapor\nvarious\nvast\nvault\nvehicle\nvelvet\nvendor\nventure\nvenue\nverb\nverify\nversion\nvery\nvessel\nveteran\nviable\nvibrant\nvicious\nvictory\nvideo\nview\nvillage\nvintage\nviolin\nvirtual\nvirus\nvisa\nvisit\nvisual\nvital\nvivid\nvocal\nvoice\nvoid\nvolcano\nvolume\nvote\nvoyage\nwage\nwagon\nwait\nwalk\nwall\nwalnut\nwant\nwarfare\nwarm\nwarrior\nwash\nwasp\nwaste\nwater\nwave\nway\nwealth\nweapon\nwear\nweasel\nweather\nweb\nwedding\nweekend\nweird\nwelcome\nwest\nwet\nwhale\nwhat\nwheat\nwheel\nwhen\nwhere\nwhip\nwhisper\nwide\nwidth\nwife\nwild\nwill\nwin\nwindow\nwine\nwing\nwink\nwinner\nwinter\nwire\nwisdom\nwise\nwish\nwitness\nwolf\nwoman\nwonder\nwood\nwool\nword\nwork\nworld\nworry\nworth\nwrap\nwreck\nwrestle\nwrist\nwrite\nwrong\nyard\nyear\nyellow\nyou\nyoung\nyouth\nzebra\nzero\nzone\nzoo".split("\n")},5856:()=>{},9598:se=>{function a(q,d,C,Z,Q,m,w){try{var $=q[m](w),D=$.value}catch(O){return void C(O)}$.done?d(D):Promise.resolve(D).then(Z,Q)}se.exports=function H(q){return function(){var d=this,C=arguments;return new Promise(function(Z,Q){var m=q.apply(d,C);function w(D){a(m,Z,Q,w,$,"next",D)}function $(D){a(m,Z,Q,w,$,"throw",D)}w(void 0)})}},se.exports.__esModule=!0,se.exports.default=se.exports}},cn={};function ye(se){var a=cn[se];if(void 0!==a)return a.exports;var H=cn[se]={exports:{}};return er[se](H,H.exports,ye),H.exports}se=Object.getPrototypeOf?H=>Object.getPrototypeOf(H):H=>H.__proto__,ye.t=function(H,q){if(1&q&&(H=this(H)),8&q||"object"==typeof H&&H&&(4&q&&H.__esModule||16&q&&"function"==typeof H.then))return H;var d=Object.create(null);ye.r(d);var C={};a=a||[null,se({}),se([]),se(se)];for(var Z=2&q&&H;"object"==typeof Z&&!~a.indexOf(Z);Z=se(Z))Object.getOwnPropertyNames(Z).forEach(Q=>C[Q]=()=>H[Q]);return C.default=()=>H,ye.d(d,C),d},ye.d=(se,a)=>{for(var H in a)ye.o(a,H)&&!ye.o(se,H)&&Object.defineProperty(se,H,{enumerable:!0,get:a[H]})},ye.o=(se,a)=>Object.prototype.hasOwnProperty.call(se,a),ye.r=se=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(se,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(se,"__esModule",{value:!0})},(()=>{"use strict";function se(t,e,n,r,s,o,i){try{var c=t[o](i),f=c.value}catch(g){return void n(g)}c.done?e(f):Promise.resolve(f).then(r,s)}function a(t){return function(){var e=this,n=arguments;return new Promise(function(r,s){var o=t.apply(e,n);function i(f){se(o,r,s,i,c,"next",f)}function c(f){se(o,r,s,i,c,"throw",f)}i(void 0)})}}var H=ye(5856),q=ye.t(H,2);const d=BigInt(0),C=BigInt(1),Z=BigInt(2),Q=BigInt(3),m=BigInt(8),w=Object.freeze({a:d,b:BigInt(7),P:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:C,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee")}),$=(t,e)=>(t+e/Z)/e,D={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar(t){const{n:e}=w,n=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-C*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),s=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),o=n,i=BigInt("0x100000000000000000000000000000000"),c=$(o*t,e),f=$(-r*t,e);let g=E(t-c*n-f*s,e),b=E(-c*r-f*o,e);const p=g>i,v=b>i;if(p&&(g=e-g),v&&(b=e-b),g>i||b>i)throw new Error("splitScalarEndo: Endomorphism failed, k="+t);return{k1neg:p,k1:g,k2neg:v,k2:b}}};function W(t){const{a:e,b:n}=w,r=E(t*t),s=E(r*t);return E(s+e*t+n)}const P=w.a===d;class K extends Error{constructor(e){super(e)}}function Y(t){if(!(t instanceof L))throw new TypeError("JacobianPoint expected")}class L{constructor(e,n,r){this.x=e,this.y=n,this.z=r}static fromAffine(e){if(!(e instanceof h))throw new TypeError("JacobianPoint#fromAffine: expected Point");return e.equals(h.ZERO)?L.ZERO:new L(e.x,e.y,C)}static toAffineBatch(e){const n=function qe(t,e=w.P){const n=new Array(t.length),s=me(t.reduce((o,i,c)=>i===d?o:(n[c]=o,E(o*i,e)),C),e);return t.reduceRight((o,i,c)=>i===d?o:(n[c]=E(o*n[c],e),E(o*i,e)),s),n}(e.map(r=>r.z));return e.map((r,s)=>r.toAffine(n[s]))}static normalizeZ(e){return L.toAffineBatch(e).map(L.fromAffine)}equals(e){Y(e);const{x:n,y:r,z:s}=this,{x:o,y:i,z:c}=e,f=E(s*s),g=E(c*c),b=E(n*g),p=E(o*f),v=E(E(r*c)*g),T=E(E(i*s)*f);return b===p&&v===T}negate(){return new L(this.x,E(-this.y),this.z)}double(){const{x:e,y:n,z:r}=this,s=E(e*e),o=E(n*n),i=E(o*o),c=e+o,f=E(Z*(E(c*c)-s-i)),g=E(Q*s),b=E(g*g),p=E(b-Z*f),v=E(g*(f-p)-m*i),T=E(Z*n*r);return new L(p,v,T)}add(e){Y(e);const{x:n,y:r,z:s}=this,{x:o,y:i,z:c}=e;if(o===d||i===d)return this;if(n===d||r===d)return e;const f=E(s*s),g=E(c*c),b=E(n*g),p=E(o*f),v=E(E(r*c)*g),T=E(E(i*s)*f),A=E(p-b),U=E(T-v);if(A===d)return U===d?this.double():L.ZERO;const z=E(A*A),te=E(A*z),J=E(b*z),N=E(U*U-te-Z*J),ae=E(U*(J-N)-v*te),ne=E(s*c*A);return new L(N,ae,ne)}subtract(e){return this.add(e.negate())}multiplyUnsafe(e){const n=L.ZERO;if("bigint"==typeof e&&e===d)return n;let r=de(e);if(r===C)return this;if(!P){let p=n,v=this;for(;r>d;)r&C&&(p=p.add(v)),v=v.double(),r>>=C;return p}let{k1neg:s,k1:o,k2neg:i,k2:c}=D.splitScalar(r),f=n,g=n,b=this;for(;o>d||c>d;)o&C&&(f=f.add(b)),c&C&&(g=g.add(b)),b=b.double(),o>>=C,c>>=C;return s&&(f=f.negate()),i&&(g=g.negate()),g=new L(E(g.x*D.beta),g.y,g.z),f.add(g)}precomputeWindow(e){const n=P?128/e+1:256/e+1,r=[];let s=this,o=s;for(let i=0;i>=p,A>f&&(A-=b,e+=C);const U=T,z=T+Math.abs(A)-1,J=A<0;0===A?i=i.add(ee(v%2!=0,s[U])):o=o.add(ee(J,s[z]))}return{p:o,f:i}}multiply(e,n){let s,o,r=de(e);if(P){const{k1neg:i,k1:c,k2neg:f,k2:g}=D.splitScalar(r);let{p:b,f:p}=this.wNAF(c,n),{p:v,f:T}=this.wNAF(g,n);b=ee(i,b),v=ee(f,v),v=new L(E(v.x*D.beta),v.y,v.z),s=b.add(v),o=p.add(T)}else{const{p:i,f:c}=this.wNAF(r,n);s=i,o=c}return L.normalizeZ([s,o])[0]}toAffine(e){const{x:n,y:r,z:s}=this,o=this.equals(L.ZERO);null==e&&(e=o?m:me(s));const i=e,c=E(i*i),f=E(c*i),g=E(n*c),b=E(r*f),p=E(s*i);if(o)return h.ZERO;if(p!==C)throw new Error("invZ was invalid");return new h(g,b)}}function ee(t,e){const n=e.negate();return t?n:e}L.BASE=new L(w.Gx,w.Gy,C),L.ZERO=new L(d,C,d);const _=new WeakMap;class h{constructor(e,n){this.x=e,this.y=n}_setWindowSize(e){this._WINDOW_SIZE=e,_.delete(this)}hasEvenY(){return this.y%Z===d}static fromCompressedHex(e){const n=32===e.length,r=M(n?e:e.subarray(1));if(!it(r))throw new Error("Point is not on curve");let o=function _e(t){const{P:e}=w,n=BigInt(6),r=BigInt(11),s=BigInt(22),o=BigInt(23),i=BigInt(44),c=BigInt(88),f=t*t*t%e,g=f*f*t%e,b=he(g,Q)*g%e,p=he(b,Q)*g%e,v=he(p,Z)*f%e,T=he(v,r)*v%e,A=he(T,s)*T%e,U=he(A,i)*A%e,z=he(U,c)*U%e,te=he(z,i)*A%e,J=he(te,Q)*g%e,N=he(J,o)*T%e,ae=he(N,n)*f%e,ne=he(ae,Z);if(ne*ne%e!==t)throw new Error("Cannot find square root");return ne}(W(r));const i=(o&C)===C;n?i&&(o=E(-o)):1==(1&e[0])!==i&&(o=E(-o));const c=new h(r,o);return c.assertValidity(),c}static fromUncompressedHex(e){const n=M(e.subarray(1,33)),r=M(e.subarray(33,65)),s=new h(n,r);return s.assertValidity(),s}static fromHex(e){const n=ie(e),r=n.length,s=n[0];if(32===r)return this.fromCompressedHex(n);if(33===r&&(2===s||3===s))return this.fromCompressedHex(n);if(65===r&&4===s)return this.fromUncompressedHex(n);throw new Error(`Point.fromHex: received invalid point. Expected 32-33 compressed bytes or 65 uncompressed bytes, not ${r}`)}static fromPrivateKey(e){return h.BASE.multiply(De(e))}static fromSignature(e,n,r){const{r:s,s:o}=un(n);if(![0,1,2,3].includes(r))throw new Error("Cannot recover: invalid recovery bit");const i=St(ie(e)),{n:c}=w,f=2===r||3===r?s+c:s,g=me(f,c),b=E(-i*g,c),p=E(o*g,c),T=h.fromHex((1&r?"03":"02")+k(f)),A=h.BASE.multiplyAndAddUnsafe(T,b,p);if(!A)throw new Error("Cannot recover signature: point at infinify");return A.assertValidity(),A}toRawBytes(e=!1){return fe(this.toHex(e))}toHex(e=!1){const n=k(this.x);return e?`${this.hasEvenY()?"02":"03"}${n}`:`04${n}${k(this.y)}`}toHexX(){return this.toHex(!0).slice(2)}toRawX(){return this.toRawBytes(!0).slice(1)}assertValidity(){const e="Point is not on elliptic curve",{x:n,y:r}=this;if(!it(n)||!it(r))throw new Error(e);const s=E(r*r);if(E(s-W(n))!==d)throw new Error(e)}equals(e){return this.x===e.x&&this.y===e.y}negate(){return new h(this.x,E(-this.y))}double(){return L.fromAffine(this).double().toAffine()}add(e){return L.fromAffine(this).add(L.fromAffine(e)).toAffine()}subtract(e){return this.add(e.negate())}multiply(e){return L.fromAffine(this).multiply(e,this).toAffine()}multiplyAndAddUnsafe(e,n,r){const s=L.fromAffine(this),o=n===d||n===C||this!==h.BASE?s.multiplyUnsafe(n):s.multiply(n),i=L.fromAffine(e).multiplyUnsafe(r),c=o.add(i);return c.equals(L.ZERO)?void 0:c.toAffine()}}function S(t){return Number.parseInt(t[0],16)>=8?"00"+t:t}function R(t){if(t.length<2||2!==t[0])throw new Error(`Invalid signature integer tag: ${I(t)}`);const e=t[1],n=t.subarray(2,e+2);if(!e||n.length!==e)throw new Error("Invalid signature integer: wrong length");if(0===n[0]&&n[1]<=127)throw new Error("Invalid signature integer: trailing length");return{data:M(n),left:t.subarray(e+2)}}h.BASE=new h(w.Gx,w.Gy),h.ZERO=new h(d,d);class l{constructor(e,n){this.r=e,this.s=n,this.assertValidity()}static fromCompact(e){const n=e instanceof Uint8Array,r="Signature.fromCompact";if("string"!=typeof e&&!n)throw new TypeError(`${r}: Expected string or Uint8Array`);const s=n?I(e):e;if(128!==s.length)throw new Error(`${r}: Expected 64-byte hex`);return new l(le(s.slice(0,64)),le(s.slice(64,128)))}static fromDER(e){const n=e instanceof Uint8Array;if("string"!=typeof e&&!n)throw new TypeError("Signature.fromDER: Expected string or Uint8Array");const{r,s}=function x(t){if(t.length<2||48!=t[0])throw new Error(`Invalid signature tag: ${I(t)}`);if(t[1]!==t.length-2)throw new Error("Invalid signature: incorrect length");const{data:e,left:n}=R(t.subarray(2)),{data:r,left:s}=R(n);if(s.length)throw new Error(`Invalid signature: left bytes after parsing: ${I(s)}`);return{r:e,s:r}}(n?e:fe(e));return new l(r,s)}static fromHex(e){return this.fromDER(e)}assertValidity(){const{r:e,s:n}=this;if(!Ze(e))throw new Error("Invalid Signature: r must be 0 < r < n");if(!Ze(n))throw new Error("Invalid Signature: s must be 0 < s < n")}hasHighS(){return this.s>w.n>>C}normalizeS(){return this.hasHighS()?new l(this.r,E(-this.s,w.n)):this}toDERRawBytes(){return fe(this.toDERHex())}toDERHex(){const e=S(ce(this.s)),n=S(ce(this.r)),r=e.length/2,s=n.length/2,o=ce(r),i=ce(s);return`30${ce(s+r+4)}02${i}${n}02${o}${e}`}toRawBytes(){return this.toDERRawBytes()}toHex(){return this.toDERHex()}toCompactRawBytes(){return fe(this.toCompactHex())}toCompactHex(){return k(this.r)+k(this.s)}}function u(...t){if(!t.every(r=>r instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===t.length)return t[0];const e=t.reduce((r,s)=>r+s.length,0),n=new Uint8Array(e);for(let r=0,s=0;re.toString(16).padStart(2,"0"));function I(t){if(!(t instanceof Uint8Array))throw new Error("Expected Uint8Array");let e="";for(let n=0;n0)return BigInt(t);if("bigint"==typeof t&&Ze(t))return t;throw new TypeError("Expected valid private scalar: 0 < scalar < curve.n")}function E(t,e=w.P){const n=t%e;return n>=d?n:e+n}function he(t,e){const{P:n}=w;let r=t;for(;e-- >d;)r*=r,r%=n;return r}function me(t,e=w.P){if(t===d||e<=d)throw new Error(`invert: expected positive integers, got n=${t} mod=${e}`);let n=E(t,e),r=e,s=d,o=C,i=C,c=d;for(;n!==d;){const g=r/n,b=r%n,p=s-i*g,v=o-c*g;r=n,n=b,s=i,o=c,i=p,c=v}if(r!==C)throw new Error("invert: does not exist");return E(s,e)}function St(t,e=!1){const n=function tr(t){const e=8*t.length-256,n=M(t);return e>0?n>>BigInt(e):n}(t);if(e)return n;const{n:r}=w;return n>=r?n-r:n}let Ve,Qe;class an{constructor(e,n){if(this.hashLen=e,this.qByteLen=n,"number"!=typeof e||e<2)throw new Error("hashLen must be a number");if("number"!=typeof n||n<2)throw new Error("qByteLen must be a number");this.v=new Uint8Array(e).fill(1),this.k=new Uint8Array(e).fill(0),this.counter=0}hmac(...e){return oe.hmacSha256(this.k,...e)}hmacSync(...e){return Qe(this.k,...e)}checkSync(){if("function"!=typeof Qe)throw new K("hmacSha256Sync needs to be set")}incr(){if(this.counter>=1e3)throw new Error("Tried 1,000 k values for sign(), all were invalid");this.counter+=1}reseed(e=new Uint8Array){var n=this;return a(function*(){n.k=yield n.hmac(n.v,Uint8Array.from([0]),e),n.v=yield n.hmac(n.v),0!==e.length&&(n.k=yield n.hmac(n.v,Uint8Array.from([1]),e),n.v=yield n.hmac(n.v))})()}reseedSync(e=new Uint8Array){this.checkSync(),this.k=this.hmacSync(this.v,Uint8Array.from([0]),e),this.v=this.hmacSync(this.v),0!==e.length&&(this.k=this.hmacSync(this.v,Uint8Array.from([1]),e),this.v=this.hmacSync(this.v))}generate(){var e=this;return a(function*(){e.incr();let n=0;const r=[];for(;n0)e=BigInt(t);else if("string"==typeof t){if(64!==t.length)throw new Error("Expected 32 bytes of private key");e=le(t)}else{if(!(t instanceof Uint8Array))throw new TypeError("Expected valid private key");if(32!==t.length)throw new Error("Expected 32 bytes of private key");e=M(t)}if(!Ze(e))throw new Error("Expected private key: 0 < key < n");return e}function _t(t){return t instanceof h?(t.assertValidity(),t):h.fromHex(t)}function un(t){if(t instanceof l)return t.assertValidity(),t;try{return l.fromDER(t)}catch{return l.fromCompact(t)}}function hn(t){const e=t instanceof Uint8Array,n="string"==typeof t,r=(e||n)&&t.length;return e?33===r||65===r:n?66===r||130===r:t instanceof h}function fn(t,e,n=!1){if(hn(t))throw new TypeError("getSharedSecret: first arg must be private key");if(!hn(e))throw new TypeError("getSharedSecret: second arg must be public key");const r=_t(e);return r.assertValidity(),r.multiply(De(t)).toRawBytes(n)}function dn(t){return M(t.length>32?t.slice(0,32):t)}function rr(t){const e=dn(t),n=E(e,w.n);return pn(n{if((t=ie(t)).length<40||t.length>1024)throw new Error("Expected valid bytes of private key as per FIPS 186");return V(E(M(t),w.n-C)+C)},randomBytes:(t=32)=>{if(ge.web)return ge.web.getRandomValues(new Uint8Array(t));if(ge.node){const{randomBytes:e}=ge.node;return Uint8Array.from(e(t))}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:()=>oe.hashToPrivateKey(oe.randomBytes(40)),precompute(t=8,e=h.BASE){const n=e===h.BASE?e:new h(e.x,e.y);return n._setWindowSize(t),n.multiply(Q),n},sha256:(t=a(function*(...e){if(ge.web){const n=yield ge.web.subtle.digest("SHA-256",u(...e));return new Uint8Array(n)}if(ge.node){const{createHash:n}=ge.node,r=n("sha256");return e.forEach(s=>r.update(s)),Uint8Array.from(r.digest())}throw new Error("The environment doesn't have sha256 function")}),function(){return t.apply(this,arguments)}),hmacSha256:function(){var t=a(function*(e,...n){if(ge.web){const r=yield ge.web.subtle.importKey("raw",e,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),s=u(...n),o=yield ge.web.subtle.sign("HMAC",r,s);return new Uint8Array(o)}if(ge.node){const{createHmac:r}=ge.node,s=r("sha256",e);return n.forEach(o=>s.update(o)),Uint8Array.from(s.digest())}throw new Error("The environment doesn't have hmac-sha256 function")});return function(n){return t.apply(this,arguments)}}(),sha256Sync:void 0,hmacSha256Sync:void 0,taggedHash:function(){var t=a(function*(e,...n){let r=lt[e];if(void 0===r){const s=yield oe.sha256(Uint8Array.from(e,o=>o.charCodeAt(0)));r=u(s,s),lt[e]=r}return oe.sha256(r,...n)});return function(n){return t.apply(this,arguments)}}(),taggedHashSync:(t,...e)=>{if("function"!=typeof Ve)throw new K("sha256Sync is undefined, you need to set it");let n=lt[t];if(void 0===n){const r=Ve(Uint8Array.from(t,s=>s.charCodeAt(0)));n=u(r,r),lt[t]=n}return Ve(n,...e)},_JacobianPoint:L};var t;Object.defineProperties(oe,{sha256Sync:{configurable:!1,get:()=>Ve,set(t){Ve||(Ve=t)}},hmacSha256Sync:{configurable:!1,get:()=>Qe,set(t){Qe||(Qe=t)}}});const ut={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0},Lt=t=>new DataView(t.buffer,t.byteOffset,t.byteLength),Ee=(t,e)=>t<<32-e|t>>>e;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function ht(t){if("string"==typeof t&&(t=function fr(t){if("string"!=typeof t)throw new TypeError("utf8ToBytes expected string, got "+typeof t);return(new TextEncoder).encode(t)}(t)),!(t instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof t})`);return t}function En(t){if(!Number.isSafeInteger(t)||t<0)throw new Error(`Wrong positive integer: ${t}`)}Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0")),(()=>{const t=typeof module<"u"&&"function"==typeof module.require&&module.require.bind(module);try{if(t){const{setImmediate:e}=t("timers")}}catch{}})();class Ut{clone(){return this._cloneInto()}}function yr(t=32){if(ut.web)return ut.web.getRandomValues(new Uint8Array(t));if(ut.node)return new Uint8Array(ut.node.randomBytes(t).buffer);throw new Error("The environment doesn't have randomBytes function")}class wr extends Ut{constructor(e,n,r,s){super(),this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=s,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=Lt(this.buffer)}update(e){if(this.destroyed)throw new Error("instance is destroyed");const{view:n,buffer:r,blockLen:s,finished:o}=this;if(o)throw new Error("digest() was already called");const i=(e=ht(e)).length;for(let c=0;cs-i&&(this.process(r,0),i=0);for(let f=i;f>s&o),c=Number(n&o),g=r?0:4;t.setUint32(e+(r?4:0),i,r),t.setUint32(e+g,c,r)})(r,s-8,BigInt(8*this.length),o),this.process(r,0);const c=Lt(e);this.get().forEach((f,g)=>c.setUint32(4*g,f,o))}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:s,finished:o,destroyed:i,pos:c}=this;return e.length=s,e.pos=c,e.finished=o,e.destroyed=i,s%n&&e.buffer.set(r),e}}const mr=(t,e,n)=>t&e^~t&n,xr=(t,e,n)=>t&e^t&n^e&n,vr=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Le=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Ie=new Uint32Array(64);class Er extends wr{constructor(){super(64,32,8,!1),this.A=0|Le[0],this.B=0|Le[1],this.C=0|Le[2],this.D=0|Le[3],this.E=0|Le[4],this.F=0|Le[5],this.G=0|Le[6],this.H=0|Le[7]}get(){const{A:e,B:n,C:r,D:s,E:o,F:i,G:c,H:f}=this;return[e,n,r,s,o,i,c,f]}set(e,n,r,s,o,i,c,f){this.A=0|e,this.B=0|n,this.C=0|r,this.D=0|s,this.E=0|o,this.F=0|i,this.G=0|c,this.H=0|f}process(e,n){for(let p=0;p<16;p++,n+=4)Ie[p]=e.getUint32(n,!1);for(let p=16;p<64;p++){const v=Ie[p-15],T=Ie[p-2],A=Ee(v,7)^Ee(v,18)^v>>>3,U=Ee(T,17)^Ee(T,19)^T>>>10;Ie[p]=U+Ie[p-7]+A+Ie[p-16]|0}let{A:r,B:s,C:o,D:i,E:c,F:f,G:g,H:b}=this;for(let p=0;p<64;p++){const T=b+(Ee(c,6)^Ee(c,11)^Ee(c,25))+mr(c,f,g)+vr[p]+Ie[p]|0,U=(Ee(r,2)^Ee(r,13)^Ee(r,22))+xr(r,s,o)|0;b=g,g=f,f=c,c=i+T|0,i=o,o=s,s=r,r=T+U|0}r=r+this.A|0,s=s+this.B|0,o=o+this.C|0,i=i+this.D|0,c=c+this.E|0,f=f+this.F|0,g=g+this.G|0,b=b+this.H|0,this.set(r,s,o,i,c,f,g,b)}roundClean(){Ie.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Je=function br(t){const e=r=>t().update(ht(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}(()=>new Er);function Me(t){if(!Number.isSafeInteger(t))throw new Error(`Wrong integer: ${t}`)}function xe(...t){const e=(s,o)=>i=>s(o(i));return{encode:Array.from(t).reverse().reduce((s,o)=>s?e(s,o.encode):o.encode,void 0),decode:t.reduce((s,o)=>s?e(s,o.decode):o.decode,void 0)}}function Ae(t){return{encode:e=>{if(!Array.isArray(e)||e.length&&"number"!=typeof e[0])throw new Error("alphabet.encode input should be an array of numbers");return e.map(n=>{if(Me(n),n<0||n>=t.length)throw new Error(`Digit index outside alphabet: ${n} (alphabet: ${t.length})`);return t[n]})},decode:e=>{if(!Array.isArray(e)||e.length&&"string"!=typeof e[0])throw new Error("alphabet.decode input should be array of strings");return e.map(n=>{if("string"!=typeof n)throw new Error(`alphabet.decode: not string element=${n}`);const r=t.indexOf(n);if(-1===r)throw new Error(`Unknown letter: "${n}". Allowed: ${t}`);return r})}}}function ke(t=""){if("string"!=typeof t)throw new Error("join separator should be string");return{encode:e=>{if(!Array.isArray(e)||e.length&&"string"!=typeof e[0])throw new Error("join.encode input should be array of strings");for(let n of e)if("string"!=typeof n)throw new Error(`join.encode: non-string input=${n}`);return e.join(t)},decode:e=>{if("string"!=typeof e)throw new Error("join.decode input should be string");return e.split(t)}}}function et(t,e="="){if(Me(t),"string"!=typeof e)throw new Error("padding chr should be string");return{encode(n){if(!Array.isArray(n)||n.length&&"string"!=typeof n[0])throw new Error("padding.encode input should be array of strings");for(let r of n)if("string"!=typeof r)throw new Error(`padding.encode: non-string input=${r}`);for(;n.length*t%8;)n.push(e);return n},decode(n){if(!Array.isArray(n)||n.length&&"string"!=typeof n[0])throw new Error("padding.encode input should be array of strings");for(let s of n)if("string"!=typeof s)throw new Error(`padding.decode: non-string input=${s}`);let r=n.length;if(r*t%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;r>0&&n[r-1]===e;r--)if(!((r-1)*t%8))throw new Error("Invalid padding: string has too much padding");return n.slice(0,r)}}}function An(t){if("function"!=typeof t)throw new Error("normalize fn should be function");return{encode:e=>e,decode:e=>t(e)}}function kn(t,e,n){if(e<2)throw new Error(`convertRadix: wrong from=${e}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: wrong to=${n}, base cannot be less than 2`);if(!Array.isArray(t))throw new Error("convertRadix: data should be array");if(!t.length)return[];let r=0;const s=[],o=Array.from(t);for(o.forEach(i=>{if(Me(i),i<0||i>=e)throw new Error(`Wrong integer: ${i}`)});;){let i=0,c=!0;for(let f=r;fe?Sn(e,t%e):t,ft=(t,e)=>t+(e-Sn(t,e));function Ct(t,e,n,r){if(!Array.isArray(t))throw new Error("convertRadix2: data should be array");if(e<=0||e>32)throw new Error(`convertRadix2: wrong from=${e}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if(ft(e,n)>32)throw new Error(`convertRadix2: carry overflow from=${e} to=${n} carryBits=${ft(e,n)}`);let s=0,o=0;const i=2**n-1,c=[];for(const f of t){if(Me(f),f>=2**e)throw new Error(`convertRadix2: invalid data word=${f} from=${e}`);if(s=s<32)throw new Error(`convertRadix2: carry overflow pos=${o} from=${e}`);for(o+=e;o>=n;o-=n)c.push((s>>o-n&i)>>>0);s&=2**o-1}if(s=s<=e)throw new Error("Excess padding");if(!r&&s)throw new Error(`Non-zero padding: ${s}`);return r&&o>0&&c.push(s>>>0),c}function He(t,e=!1){if(Me(t),t<=0||t>32)throw new Error("radix2: bits should be in (0..32]");if(ft(8,t)>32||ft(t,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!(n instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return Ct(Array.from(n),8,t,!e)},decode:n=>{if(!Array.isArray(n)||n.length&&"number"!=typeof n[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(Ct(n,t,8,e))}}}function Hn(t){if("function"!=typeof t)throw new Error("unsafeWrapper fn should be function");return function(...e){try{return t.apply(null,e)}catch{}}}const Ar=xe(He(4),Ae("0123456789ABCDEF"),ke("")),kr=xe(He(5),Ae("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),et(5),ke("")),tt=(xe(He(5),Ae("0123456789ABCDEFGHIJKLMNOPQRSTUV"),et(5),ke("")),xe(He(5),Ae("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),ke(""),An(t=>t.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),xe(He(6),Ae("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),et(6),ke(""))),Sr=xe(He(6),Ae("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),et(6),ke("")),Ot=t=>xe(function _n(t){return Me(t),{encode:e=>{if(!(e instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return kn(Array.from(e),256,t)},decode:e=>{if(!Array.isArray(e)||e.length&&"number"!=typeof e[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(kn(e,t,256))}}}(58),Ae(t),ke("")),dt=Ot("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),Tn=(Ot("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),Ot("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"),[0,2,3,5,6,7,9,10,11]),_r={encode(t){let e="";for(let n=0;n>25;let n=(33554431&t)<<5;for(let r=0;r>r&1)&&(n^=Ln[r]);return n}function In(t,e,n=1){const r=t.length;let s=1;for(let o=0;o126)throw new Error(`Invalid prefix (${t})`);s=nt(s)^i>>5}s=nt(s);for(let o=0;op)throw new TypeError(`Wrong string length: ${b.length} (${b}). Expected (8..${p})`);const v=b.toLowerCase();if(b!==v&&b!==b.toUpperCase())throw new Error("String must be lowercase or uppercase");const T=(b=v).lastIndexOf("1");if(0===T||-1===T)throw new Error('Letter "1" must be present between prefix and data only');const A=b.slice(0,T),U=b.slice(T+1);if(U.length<6)throw new Error("Data must be at least 6 characters long");const z=$t.decode(U).slice(0,-6),te=In(A,z,e);if(!U.endsWith(te))throw new Error(`Invalid checksum in ${b}: expected "${te}"`);return{prefix:A,words:z}}return{encode:function i(b,p,v=90){if("string"!=typeof b)throw new Error("bech32.encode prefix should be string, not "+typeof b);if(!Array.isArray(p)||p.length&&"number"!=typeof p[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof p);const T=b.length+7+p.length;if(!1!==v&&T>v)throw new TypeError(`Length ${T} exceeds limit ${v}`);return`${b=b.toLowerCase()}1${$t.encode(p)}${In(b,p,e)}`},decode:c,decodeToBytes:function g(b){const{prefix:p,words:v}=c(b,!1);return{prefix:p,words:v,bytes:r(v)}},decodeUnsafe:Hn(c),fromWords:r,fromWordsUnsafe:o,toWords:s}}const we=Un("bech32"),Br=(Un("bech32m"),{encode:t=>(new TextDecoder).decode(t),decode:t=>(new TextEncoder).encode(t)}),Tr=xe(He(4),Ae("0123456789abcdef"),ke(""),An(t=>{if("string"!=typeof t||t.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof t} with length ${t.length}`);return t.toLowerCase()}));Object.keys({utf8:Br,hex:Tr,base16:Ar,base32:kr,base64:tt,base64url:Sr,base58:dt,base58xmr:_r}).join(", ");var On=ye(3439),Rt=ye(6837);function jt(t){if(!Number.isSafeInteger(t)||t<0)throw new Error(`Wrong positive integer: ${t}`)}function Fe(t,...e){if(!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(e.length>0&&!e.includes(t.length))throw new TypeError(`Expected Uint8Array of length ${e}, not of length=${t.length}`)}const ze={number:jt,bool:function Lr(t){if("boolean"!=typeof t)throw new Error(`Expected boolean, not ${t}`)},bytes:Fe,hash:function Ir(t){if("function"!=typeof t||"function"!=typeof t.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");jt(t.outputLen),jt(t.blockLen)},exists:function Ur(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")},output:function Cr(t,e){Fe(t);const n=e.outputLen;if(t.lengthnew DataView(t.buffer,t.byteOffset,t.byteLength)),Se=(t,e)=>t<<32-e|t>>>e;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const Or=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function $n(t){if("string"!=typeof t)throw new TypeError("utf8ToBytes expected string, got "+typeof t);return(new TextEncoder).encode(t)}function pt(t){if("string"==typeof t&&(t=$n(t)),!(t instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof t})`);return t}function bt(...t){if(!t.every(r=>r instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===t.length)return t[0];const e=t.reduce((r,s)=>r+s.length,0),n=new Uint8Array(e);for(let r=0,s=0;rt().update(pt(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}class jn extends Rn{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,ze.hash(e);const r=pt(n);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const s=this.blockLen,o=new Uint8Array(s);o.set(r.length>s?e.create().update(r).digest():r);for(let i=0;inew jn(t,e).update(n).digest();yt.create=(t,e)=>new jn(t,e);class Pt extends Rn{constructor(e,n,r,s){super(),this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=s,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=Ye(this.buffer)}update(e){ze.exists(this);const{view:n,buffer:r,blockLen:s}=this,o=(e=pt(e)).length;for(let i=0;is-i&&(this.process(r,0),i=0);for(let p=i;p>s&o),c=Number(n&o),g=r?0:4;t.setUint32(e+(r?4:0),i,r),t.setUint32(e+g,c,r)})(r,s-8,BigInt(8*this.length),o),this.process(r,0);const c=Ye(e),f=this.outputLen;if(f%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const g=f/4,b=this.get();if(g>b.length)throw new Error("_sha2: outputLen bigger than state");for(let p=0;pe),Dr=Nn.map(t=>(9*t+5)%16);let qt=[Nn],Dt=[Dr];for(let t=0;t<4;t++)for(let e of[qt,Dt])e.push(e[t].map(n=>qr[n]));const Pn=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(t=>new Uint8Array(t)),Mr=qt.map((t,e)=>t.map(n=>Pn[e][n])),Fr=Dt.map((t,e)=>t.map(n=>Pn[e][n])),zr=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Gr=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),gt=(t,e)=>t<>>32-e;function qn(t,e,n,r){return 0===t?e^n^r:1===t?e&n|~e&r:2===t?(e|~n)^r:3===t?e&r|n&~r:e^(n|~r)}const wt=new Uint32Array(16);class Wr extends Pt{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:e,h1:n,h2:r,h3:s,h4:o}=this;return[e,n,r,s,o]}set(e,n,r,s,o){this.h0=0|e,this.h1=0|n,this.h2=0|r,this.h3=0|s,this.h4=0|o}process(e,n){for(let T=0;T<16;T++,n+=4)wt[T]=e.getUint32(n,!0);let r=0|this.h0,s=r,o=0|this.h1,i=o,c=0|this.h2,f=c,g=0|this.h3,b=g,p=0|this.h4,v=p;for(let T=0;T<5;T++){const A=4-T,U=zr[T],z=Gr[T],te=qt[T],J=Dt[T],N=Mr[T],ae=Fr[T];for(let ne=0;ne<16;ne++){const pe=gt(r+qn(T,o,c,g)+wt[te[ne]]+U,N[ne])+p|0;r=p,p=g,g=0|gt(c,10),c=o,o=pe}for(let ne=0;ne<16;ne++){const pe=gt(s+qn(A,i,f,b)+wt[J[ne]]+z,ae[ne])+v|0;s=v,v=b,b=0|gt(f,10),f=i,i=pe}}this.set(this.h1+c+b|0,this.h2+g+v|0,this.h3+p+s|0,this.h4+r+i|0,this.h0+o+f|0)}roundClean(){wt.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const Kr=Ge(()=>new Wr),Vr=(t,e,n)=>t&e^~t&n,Zr=(t,e,n)=>t&e^t&n^e&n,Xr=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Ue=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Ce=new Uint32Array(64);class Dn extends Pt{constructor(){super(64,32,8,!1),this.A=0|Ue[0],this.B=0|Ue[1],this.C=0|Ue[2],this.D=0|Ue[3],this.E=0|Ue[4],this.F=0|Ue[5],this.G=0|Ue[6],this.H=0|Ue[7]}get(){const{A:e,B:n,C:r,D:s,E:o,F:i,G:c,H:f}=this;return[e,n,r,s,o,i,c,f]}set(e,n,r,s,o,i,c,f){this.A=0|e,this.B=0|n,this.C=0|r,this.D=0|s,this.E=0|o,this.F=0|i,this.G=0|c,this.H=0|f}process(e,n){for(let p=0;p<16;p++,n+=4)Ce[p]=e.getUint32(n,!1);for(let p=16;p<64;p++){const v=Ce[p-15],T=Ce[p-2],A=Se(v,7)^Se(v,18)^v>>>3,U=Se(T,17)^Se(T,19)^T>>>10;Ce[p]=U+Ce[p-7]+A+Ce[p-16]|0}let{A:r,B:s,C:o,D:i,E:c,F:f,G:g,H:b}=this;for(let p=0;p<64;p++){const T=b+(Se(c,6)^Se(c,11)^Se(c,25))+Vr(c,f,g)+Xr[p]+Ce[p]|0,U=(Se(r,2)^Se(r,13)^Se(r,22))+Zr(r,s,o)|0;b=g,g=f,f=c,c=i+T|0,i=o,o=s,s=r,r=T+U|0}r=r+this.A|0,s=s+this.B|0,o=o+this.C|0,i=i+this.D|0,c=c+this.E|0,f=f+this.F|0,g=g+this.G|0,b=b+this.H|0,this.set(r,s,o,i,c,f,g,b)}roundClean(){Ce.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class Yr extends Dn{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const Mt=Ge(()=>new Dn),mt=(Ge(()=>new Yr),BigInt(2**32-1)),Ft=BigInt(32);function Mn(t,e=!1){return e?{h:Number(t&mt),l:Number(t>>Ft&mt)}:{h:0|Number(t>>Ft&mt),l:0|Number(t&mt)}}const re_split=function Qr(t,e=!1){let n=new Uint32Array(t.length),r=new Uint32Array(t.length);for(let s=0;st>>>n,re_shrSL=(t,e,n)=>t<<32-n|e>>>n,re_rotrSH=(t,e,n)=>t>>>n|e<<32-n,re_rotrSL=(t,e,n)=>t<<32-n|e>>>n,re_rotrBH=(t,e,n)=>t<<64-n|e>>>n-32,re_rotrBL=(t,e,n)=>t>>>n-32|e<<64-n,re_add=function fs(t,e,n,r){const s=(e>>>0)+(r>>>0);return{h:t+n+(s/2**32|0)|0,l:0|s}},re_add3L=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),re_add3H=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,re_add4L=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),re_add4H=(t,e,n,r,s)=>e+n+r+s+(t/2**32|0)|0,re_add5H=(t,e,n,r,s,o)=>e+n+r+s+o+(t/2**32|0)|0,re_add5L=(t,e,n,r,s)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(s>>>0),[ds,ps]=re_split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),Oe=new Uint32Array(80),$e=new Uint32Array(80);class xt extends Pt{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:e,Al:n,Bh:r,Bl:s,Ch:o,Cl:i,Dh:c,Dl:f,Eh:g,El:b,Fh:p,Fl:v,Gh:T,Gl:A,Hh:U,Hl:z}=this;return[e,n,r,s,o,i,c,f,g,b,p,v,T,A,U,z]}set(e,n,r,s,o,i,c,f,g,b,p,v,T,A,U,z){this.Ah=0|e,this.Al=0|n,this.Bh=0|r,this.Bl=0|s,this.Ch=0|o,this.Cl=0|i,this.Dh=0|c,this.Dl=0|f,this.Eh=0|g,this.El=0|b,this.Fh=0|p,this.Fl=0|v,this.Gh=0|T,this.Gl=0|A,this.Hh=0|U,this.Hl=0|z}process(e,n){for(let N=0;N<16;N++,n+=4)Oe[N]=e.getUint32(n),$e[N]=e.getUint32(n+=4);for(let N=16;N<80;N++){const ae=0|Oe[N-15],ne=0|$e[N-15],pe=re_rotrSH(ae,ne,1)^re_rotrSH(ae,ne,8)^re_shrSH(ae,ne,7),je=re_rotrSL(ae,ne,1)^re_rotrSL(ae,ne,8)^re_shrSL(ae,ne,7),ve=0|Oe[N-2],ue=0|$e[N-2],Ne=re_rotrSH(ve,ue,19)^re_rotrBH(ve,ue,61)^re_shrSH(ve,ue,6),ot=re_rotrSL(ve,ue,19)^re_rotrBL(ve,ue,61)^re_shrSL(ve,ue,6),Pe=re_add4L(je,ot,$e[N-7],$e[N-16]),on=re_add4H(Pe,pe,Ne,Oe[N-7],Oe[N-16]);Oe[N]=0|on,$e[N]=0|Pe}let{Ah:r,Al:s,Bh:o,Bl:i,Ch:c,Cl:f,Dh:g,Dl:b,Eh:p,El:v,Fh:T,Fl:A,Gh:U,Gl:z,Hh:te,Hl:J}=this;for(let N=0;N<80;N++){const ae=re_rotrSH(p,v,14)^re_rotrSH(p,v,18)^re_rotrBH(p,v,41),ne=re_rotrSL(p,v,14)^re_rotrSL(p,v,18)^re_rotrBL(p,v,41),pe=p&T^~p&U,ve=re_add5L(J,ne,v&A^~v&z,ps[N],$e[N]),ue=re_add5H(ve,te,ae,pe,ds[N],Oe[N]),Ne=0|ve,ot=re_rotrSH(r,s,28)^re_rotrBH(r,s,34)^re_rotrBH(r,s,39),Pe=re_rotrSL(r,s,28)^re_rotrBL(r,s,34)^re_rotrBL(r,s,39),on=r&o^r&c^o&c,ho=s&i^s&f^i&f;te=0|U,J=0|z,U=0|T,z=0|A,T=0|p,A=0|v,({h:p,l:v}=re_add(0|g,0|b,0|ue,0|Ne)),g=0|c,b=0|f,c=0|o,f=0|i,o=0|r,i=0|s;const Jn=re_add3L(Ne,Pe,ho);r=re_add3H(Jn,ue,ot,on),s=0|Jn}({h:r,l:s}=re_add(0|this.Ah,0|this.Al,0|r,0|s)),({h:o,l:i}=re_add(0|this.Bh,0|this.Bl,0|o,0|i)),({h:c,l:f}=re_add(0|this.Ch,0|this.Cl,0|c,0|f)),({h:g,l:b}=re_add(0|this.Dh,0|this.Dl,0|g,0|b)),({h:p,l:v}=re_add(0|this.Eh,0|this.El,0|p,0|v)),({h:T,l:A}=re_add(0|this.Fh,0|this.Fl,0|T,0|A)),({h:U,l:z}=re_add(0|this.Gh,0|this.Gl,0|U,0|z)),({h:te,l:J}=re_add(0|this.Hh,0|this.Hl,0|te,0|J)),this.set(r,s,o,i,c,f,g,b,p,v,T,A,U,z,te,J)}roundClean(){Oe.fill(0),$e.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class bs extends xt{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class ys extends xt{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class gs extends xt{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}const Fn=Ge(()=>new xt);Ge(()=>new bs),Ge(()=>new ys),Ge(()=>new gs),oe.hmacSha256Sync=(t,...e)=>yt(Mt,t,oe.concatBytes(...e));const zt=(t=>xe(function Bn(t,e){if(Me(t),"function"!=typeof e)throw new Error("checksum fn should be function");return{encode(n){if(!(n instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const r=e(n).slice(0,t),s=new Uint8Array(n.length+t);return s.set(n),s.set(r,n.length),s},decode(n){if(!(n instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const r=n.slice(0,-t),s=e(r).slice(0,t),o=n.slice(-t);for(let i=0;it(t(e))),dt))(Mt);function zn(t){return BigInt(`0x${function $r(t){if(!(t instanceof Uint8Array))throw new Error("Uint8Array expected");let e="";for(let n=0;n{if(!Number.isSafeInteger(t)||t<0||t>2**32-1)throw new Error(`Invalid number=${t}. Should be from 0 to 2 ** 32 - 1`);const e=new Uint8Array(4);return Ye(e).setUint32(0,t,!1),e};class We{constructor(e){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!e||"object"!=typeof e)throw new Error("HDKey.constructor must not be called directly");if(this.versions=e.versions||Gt,this.depth=e.depth||0,this.chainCode=e.chainCode,this.index=e.index||0,this.parentFingerprint=e.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(e.publicKey&&e.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(e.privateKey){if(!oe.isValidPrivateKey(e.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof e.privateKey?e.privateKey:zn(e.privateKey),this.privKeyBytes=function ws(t){return function Rr(t){if("string"!=typeof t)throw new TypeError("hexToBytes: expected string, got "+typeof t);if(t.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const e=new Uint8Array(t.length/2);for(let n=0;nKr(Mt(this.pubKey)))()}get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return(t=>Ye(this.pubHash).getUint32(0,!1))()}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const e=this.privateKey;if(!e)throw new Error("No private key");return zt.encode(this.serialize(this.versions.private,bt(new Uint8Array([0]),e)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return zt.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(e,n=Gt){if(Fe(e),8*e.length<128||8*e.length>512)throw new Error(`HDKey: wrong seed length=${e.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const r=yt(Fn,ms,e);return new We({versions:n,chainCode:r.slice(32),privateKey:r.slice(0,32)})}static fromExtendedKey(e,n=Gt){const r=zt.decode(e),s=Ye(r),o=s.getUint32(0,!1),i={versions:n,depth:r[4],parentFingerprint:s.getUint32(5,!1),index:s.getUint32(9,!1),chainCode:r.slice(13,45)},c=r.slice(45),f=0===c[0];if(o!==n[f?"private":"public"])throw new Error("Version mismatch");return new We(f?{...i,privateKey:c.slice(1)}:{...i,publicKey:c})}static fromJSON(e){return We.fromExtendedKey(e.xpriv)}derive(e){if(!/^[mM]'?/.test(e))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(e))return this;const n=e.replace(/^[mM]'?\//,"").split("/");let r=this;for(const s of n){const o=/^(\d+)('?)$/.exec(s);if(!o||3!==o.length)throw new Error(`Invalid child index: ${s}`);let i=+o[1];if(!Number.isSafeInteger(i)||i>=Wt)throw new Error("Invalid index");"'"===o[2]&&(i+=Wt),r=r.deriveChild(i)}return r}deriveChild(e){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let n=vt(e);if(e>=Wt){const c=this.privateKey;if(!c)throw new Error("Could not derive hardened child key");n=bt(new Uint8Array([0]),c,n)}else n=bt(this.pubKey,n);const r=yt(Fn,this.chainCode,n),s=zn(r.slice(0,32)),o=r.slice(32);if(!oe.isValidPrivateKey(s))throw new Error("Tweak bigger than curve order");const i={versions:this.versions,chainCode:o,depth:this.depth+1,parentFingerprint:this.fingerprint,index:e};try{if(this.privateKey){const c=oe.mod(this.privKey+s,w.n);if(!oe.isValidPrivateKey(c))throw new Error("The tweak was out of range or the resulted private key is invalid");i.privateKey=c}else{const c=h.fromHex(this.pubKey).add(h.fromPrivateKey(s));if(c.equals(h.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");i.publicKey=c.toRawBytes(!0)}return new We(i)}catch{return this.deriveChild(e+1)}}sign(e){if(!this.privateKey)throw new Error("No privateKey set!");return Fe(e,32),function sr(t,e,n={}){const{seed:r,m:s,d:o}=function bn(t,e,n){if(null==t)throw new Error(`sign: expected valid message hash, not "${t}"`);const r=ie(t),s=De(e),o=[pn(s),rr(r)];if(null!=n){!0===n&&(n=oe.randomBytes(32));const f=ie(n);if(32!==f.length)throw new Error("sign: Expected 32 bytes of extra data");o.push(f)}return{seed:u(...o),m:dn(r),d:s}}(t,e,n.extraEntropy),i=new an(32,32);let c;for(i.reseedSync(r);!(c=ln(i.generateSync(),s,o,n.canonical));)i.reseedSync();return function yn(t,e){const{sig:n,recovery:r}=t,{der:s,recovered:o}=Object.assign({canonical:!0,der:!0},e),i=s?n.toDERRawBytes():n.toCompactRawBytes();return o?[i,r]:i}(c,n)}(e,this.privKey,{canonical:!0,der:!1})}verify(e,n){if(Fe(e,32),Fe(n,64),!this.publicKey)throw new Error("No publicKey set!");let r;try{r=l.fromCompact(n)}catch{return!1}return function ir(t,e,n,r=or){let s;try{s=un(t),e=ie(e)}catch{return!1}const{r:o,s:i}=s;if(r.strict&&s.hasHighS())return!1;const c=St(e);let f;try{f=_t(n)}catch{return!1}const{n:g}=w,b=me(i,g),p=E(c*b,g),v=E(o*b,g),T=h.BASE.multiplyAndAddUnsafe(f,p,v);return!!T&&E(T.x,g)===o}(r,e,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(e,n){if(!this.chainCode)throw new Error("No chainCode set");return Fe(n,33),bt(vt(e),new Uint8Array([this.depth]),vt(this.parentFingerprint),vt(this.index),this.chainCode,n)}}class Gn extends Ut{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,function dr(t){if("function"!=typeof t||"function"!=typeof t.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");En(t.outputLen),En(t.blockLen)}(e);const r=ht(n);if(this.iHash=e.create(),!(this.iHash instanceof Ut))throw new TypeError("Expected instance of class which extends utils.Hash");const s=this.blockLen=this.iHash.blockLen;this.outputLen=this.iHash.outputLen;const o=new Uint8Array(s);o.set(r.length>this.iHash.blockLen?e.create().update(r).digest():r);for(let i=0;inew Gn(t,e).update(n).digest();Wn.create=(t,e)=>new Gn(t,e);var Es=Object.defineProperty,Re=(t,e)=>{for(var n in e)Es(t,n,{get:e[n],enumerable:!0})};function Kn(t){return oe.bytesToHex(at.getPublicKey(t))}Re({},{insertEventIntoAscendingList:()=>Ss,insertEventIntoDescendingList:()=>ks,normalizeURL:()=>Et,utf8Decoder:()=>Ke,utf8Encoder:()=>Be});var Ke=new TextDecoder("utf-8"),Be=new TextEncoder;function Et(t){let e=new URL(t);return e.pathname=e.pathname.replace(/\/+/g,"/"),e.pathname.endsWith("/")&&(e.pathname=e.pathname.slice(0,-1)),("80"===e.port&&"ws:"===e.protocol||"443"===e.port&&"wss:"===e.protocol)&&(e.port=""),e.searchParams.sort(),e.hash="",e.toString()}function ks(t,e){let s,n=0,r=t.length-1,o=n;if(r<0)o=0;else if(e.created_at=t[n].created_at)o=n;else for(;;){if(r<=n+1){o=r;break}if(s=Math.floor(n+(r-n)/2),t[s].created_at>e.created_at)n=s;else{if(!(t[s].created_att[r].created_at)o=r+1;else if(e.created_at<=t[n].created_at)o=n;else for(;;){if(r<=n+1){o=r;break}if(s=Math.floor(n+(r-n)/2),t[s].created_ate.created_at)){o=s;break}r=s}}return t[o]?.id!==e.id?[...t.slice(0,o),e,...t.slice(o)]:t}var kt,Kt=(t=>(t[t.Metadata=0]="Metadata",t[t.Text=1]="Text",t[t.RecommendRelay=2]="RecommendRelay",t[t.Contacts=3]="Contacts",t[t.EncryptedDirectMessage=4]="EncryptedDirectMessage",t[t.EventDeletion=5]="EventDeletion",t[t.Reaction=7]="Reaction",t[t.ChannelCreation=40]="ChannelCreation",t[t.ChannelMetadata=41]="ChannelMetadata",t[t.ChannelMessage=42]="ChannelMessage",t[t.ChannelHideMessage=43]="ChannelHideMessage",t[t.ChannelMuteUser=44]="ChannelMuteUser",t[t.Report=1984]="Report",t[t.ZapRequest=9734]="ZapRequest",t[t.Zap=9735]="Zap",t[t.RelayList=10002]="RelayList",t[t.ClientAuth=22242]="ClientAuth",t[t.Article=30023]="Article",t))(Kt||{});function Zt(t){if("object"!=typeof t||"string"!=typeof t.content||"number"!=typeof t.created_at||"string"!=typeof t.pubkey||!t.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(t.tags))return!1;for(let e=0;eo===n.slice(1)&&-1!==s.indexOf(i)))return!1}return!(t.since&&e.created_at=t.until)}function Ts(t,e){for(let n=0;nAt,getInt:()=>Zn,getSubscriptionId:()=>Xn,matchEventId:()=>Is,matchEventKind:()=>Cs,matchEventPubkey:()=>Us}),Re({},{decrypt:()=>js,encrypt:()=>Rs}),Re({},{queryProfile:()=>Ds,searchDomain:()=>qs,useFetchImplementation:()=>Ps});try{kt=fetch}catch{}function Ps(t){kt=t}function qs(t){return Qt.apply(this,arguments)}function Qt(){return Qt=a(function*(t,e=""){try{return(yield(yield kt(`https://${t}/.well-known/nostr.json?name=${e}`)).json()).names}catch{return{}}}),Qt.apply(this,arguments)}function Ds(t){return Jt.apply(this,arguments)}function Jt(){return Jt=a(function*(t){let[e,n]=t.split("@");if(n||(n=e,e="_"),!e.match(/^[A-Za-z0-9-_]+$/))return null;let r=yield(yield kt(`https://${n}/.well-known/nostr.json?name=${e}`)).json();if(!r?.names?.[e])return null;let s=r.names[e];return{pubkey:s,relays:r.relays?.[s]||[]}}),Jt.apply(this,arguments)}function Fs(t,e){let r=We.fromMasterSeed((0,Rt.Z1)(t,e)).derive("m/44'/1237'/0'/0/0").privateKey;if(!r)throw new Error("could not derive private key");return oe.bytesToHex(r)}function zs(){return(0,Rt.OF)(On.U)}function Gs(t){return(0,Rt._I)(t,On.U)}Re({},{generateSeedWords:()=>zs,privateKeyFromSeedWords:()=>Fs,validateWords:()=>Gs}),Re({},{decode:()=>Ks,naddrEncode:()=>Js,neventEncode:()=>Qs,noteEncode:()=>Xs,nprofileEncode:()=>Ys,npubEncode:()=>Zs,nsecEncode:()=>Vs});var rn,st=5e3;function Ks(t){let{prefix:e,words:n}=we.decode(t,st),r=new Uint8Array(we.fromWords(n));switch(e){case"nprofile":{let s=en(r);if(!s[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==s[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:oe.bytesToHex(s[0][0]),relays:s[1].map(o=>Ke.decode(o))}}}case"nevent":{let s=en(r);if(!s[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==s[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nevent",data:{id:oe.bytesToHex(s[0][0]),relays:s[1].map(o=>Ke.decode(o))}}}case"naddr":{let s=en(r);if(!s[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!s[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==s[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!s[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==s[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:Ke.decode(s[0][0]),pubkey:oe.bytesToHex(s[2][0]),kind:parseInt(oe.bytesToHex(s[3][0]),16),relays:s[1].map(o=>Ke.decode(o))}}}case"nsec":case"npub":case"note":return{type:e,data:oe.bytesToHex(r)};default:throw new Error(`unknown prefix ${e}`)}}function en(t){let e={},n=t;for(;n.length>0;){let r=n[0],s=n[1],o=n.slice(2,2+s);n=n.slice(2+s),!(o.lengthBe.encode(r))}),n=we.toWords(e);return we.encode("nprofile",n,st)}function Qs(t){let e=nn({0:[oe.hexToBytes(t.id)],1:(t.relays||[]).map(r=>Be.encode(r))}),n=we.toWords(e);return we.encode("nevent",n,st)}function Js(t){let e=new ArrayBuffer(4);new DataView(e).setUint32(0,t.kind,!1);let n=nn({0:[Be.encode(t.identifier)],1:(t.relays||[]).map(s=>Be.encode(s)),2:[oe.hexToBytes(t.pubkey)],3:[new Uint8Array(e)]}),r=we.toWords(n);return we.encode("naddr",r,st)}function nn(t){let e=[];return Object.entries(t).forEach(([n,r])=>{r.forEach(s=>{let o=new Uint8Array(s.length+2);o.set([parseInt(n)],0),o.set([s.length],1),o.set(s,2),e.push(o)})}),oe.concatBytes(...e)}function to(t,e){let n=[];(e.kind||-1)>=0&&n.push(`kind=${e.kind}`),e.until&&n.push(`created_at<${e.until}`),e.since&&n.push(`created_at>${e.since}`);let r=n.join("&");if(""===r)throw new Error("refusing to create a delegation without any conditions");let s=Je(Be.encode(`nostr:delegation:${e.pubkey}:${r}`)),o=oe.bytesToHex(at.signSync(s,t));return{from:Kn(t),to:e.pubkey,cond:r,sig:o}}function no(t){let e=t.tags.find(c=>"delegation"===c[0]&&c.length>=4);if(!e)return null;let n=e[1],r=e[2],s=e[3],o=r.split("&");for(let c=0;c"===g&&t.created_at>parseInt(b))continue;return null}}let i=Je(Be.encode(`nostr:delegation:${t.pubkey}:${r}`));return at.verifySync(s,i,n)?n:null}Re({},{createDelegation:()=>to,getDelegator:()=>no}),Re({},{getZapEndpoint:()=>oo,makeZapReceipt:()=>ao,makeZapRequest:()=>io,useFetchImplementation:()=>so,validateZapRequest:()=>co});try{rn=fetch}catch{}function so(t){rn=t}function oo(t){return sn.apply(this,arguments)}function sn(){return sn=a(function*(t){try{let e="",{lud06:n,lud16:r}=JSON.parse(t.content);if(n){let{words:i}=we.decode(n,1e3),c=we.fromWords(i);e=Ke.decode(c)}else{if(!r)return null;{let[i,c]=r.split("@");e=`https://${c}/.well-known/lnurlp/${i}`}}let o=yield(yield rn(e)).json();if(o.allowsNostr&&o.nostrPubkey)return o.callback}catch{}return null}),sn.apply(this,arguments)}function io({profile:t,event:e,amount:n,relays:r,comment:s=""}){if(!n)throw new Error("amount not given");if(!t)throw new Error("profile not given");let o={kind:9734,created_at:Math.round(Date.now()/1e3),content:s,tags:[["p",t],["amount",n.toString()],["relays",...r]]};return e&&o.tags.push(["e",e]),o}function co(t){let e;try{e=JSON.parse(t)}catch{return"Invalid zap request JSON."}if(!Zt(e))return"Zap request is not a valid Nostr event.";if(!Vn(e))return"Invalid signature on zap request.";let n=e.tags.find(([o,i])=>"p"===o&&i);if(!n)return"Zap request doesn't have a 'p' tag.";if(!n[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let r=e.tags.find(([o,i])=>"e"===o&&i);return r&&!r[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":e.tags.find(([o,i])=>"relays"===o&&i)?null:"Zap request doesn't have a 'relays' tag."}function ao({zapRequest:t,preimage:e,bolt11:n,paidAt:r}){let o=JSON.parse(t).tags.filter(([c])=>"e"===c||"p"===c||"a"===c),i={kind:9735,created_at:Math.round(r.getTime()/1e3),content:"",tags:[...o,["bolt11",n],["description",t]]};return e&&i.tags.push(["preimage",e]),i}oe.hmacSha256Sync=(t,...e)=>Wn(Je,t,oe.concatBytes(...e)),oe.sha256Sync=(...t)=>Je(oe.concatBytes(...t));class lo{constructor(){this.queues={profile:{active:!1,jobs:[]},event:{active:!1,jobs:[]},article:{active:!1,jobs:[]},contacts:{active:!1,jobs:[]},subscriptions:{active:!1,jobs:[]}}}enqueProfile(e){this.queues.profile.jobs.push({identifier:e,type:"Profile"})}enqueEvent(e){this.queues.event.jobs.push({identifier:e,type:"Event"})}enqueContacts(e){this.queues.contacts.jobs.push({identifier:e,type:"Contacts"})}enque(e,n){"Profile"===n?this.enqueProfile(e):"Event"===n?this.enqueEvent(e):"Contacts"===n&&this.enqueContacts(e)}}class uo{constructor(e){this.url=e,this.subscriptions=[],this.queue=new lo}publish(e){var n=this;return a(function*(){if(e.kind==Kt.Article){if(!n.relay.nip11)return void console.log(`${n.relay.url}: This relay does not return NIP-11 metadata. Article will not be published here.`);if(!n.relay.nip11.supported_nips.includes(33))return void console.log(`${n.relay.url}: This relay does not NIP-23. Article will not be published here.`);console.log(`${n.relay.url}: This relay supports NIP-23. Publishing article on this relay.`)}let r=n.relay.publish(e);r.on("ok",()=>{console.log(`${n.relay.url} has accepted our event`)}),r.on("failed",s=>{console.log(`failed to publish to ${n.relay.url}: ${s}`)})})()}enque(e){if("Profile"==e.type)this.queue.queues.profile.jobs.push(e);else if("Contacts"==e.type)this.queue.queues.contacts.jobs.push(e);else if("Event"==e.type)this.queue.queues.event.jobs.push(e);else{if("Article"!=e.type)throw Error(`This type of job (${e.type}) is currently not supported.`);this.queue.queues.article.jobs.push(e)}console.log(`${this.url}: Job enqued...processing...`),setTimeout(()=>{this.process()},500)}process(){this.processArticle(),this.processProfiles(),this.processContacts(),this.processEvents(),this.processSubscriptions()}processSubscriptions(){if(this.relay&&1==this.relay.status&&0!=this.queue.queues.subscriptions.jobs.length)for(;this.queue.queues.subscriptions.jobs.length;){const e=this.queue.queues.subscriptions.jobs.shift();e&&this.subscribe(e.filters,e.id)}}processProfiles(){if(!this.relay||1!=this.relay.status||this.queue.queues.profile.active)return void console.log(`${this.url}: processProfiles: Relay not ready or currently active: ${this.queue.queues.profile.active}.`,this.relay);if(0==this.queue.queues.profile.jobs.length)return void(this.queue.queues.profile.active=!1);this.queue.queues.profile.active=!0;const e=this.queue.queues.profile.jobs.splice(0,500).map(n=>n.identifier).filter((n,r,s)=>s.indexOf(n)===r);this.downloadProfile(e,3*e.length)}processContacts(){if(!this.relay||1!=this.relay.status||this.queue.queues.contacts.active)return;if(0==this.queue.queues.contacts.jobs.length)return void(this.queue.queues.contacts.active=!1);this.queue.queues.contacts.active=!0;const e=this.queue.queues.contacts.jobs.shift();this.downloadContacts(e.identifier,()=>{this.queue.queues.contacts.active=!1,this.processContacts()})}processEvents(){if(!this.relay||1!=this.relay.status||this.queue.queues.event.active)return void console.log(`${this.url}: processEvents: Relay not ready or currently active: ${this.queue.queues.event.active}.`,this.relay);if(console.log(`${this.url}: processEvents: Processing with downloading... Count: `+this.queue.queues.event.jobs.length),0==this.queue.queues.event.jobs.length)return void(this.queue.queues.event.active=!1);this.queue.queues.event.active=!0,console.log(this.relay);const e=this.queue.queues.event.jobs.splice(0,500).map(n=>n.identifier).filter((n,r,s)=>s.indexOf(n)===r);console.log("eventsToDownload:",e),this.downloadEvent(e,3*e.length)}processArticle(){if(!this.relay||1!=this.relay.status||this.queue.queues.article.active)return void console.log(`${this.url}: processArticle: Relay not ready or currently active: ${this.queue.queues.article.active}.`,this.relay);if(console.log(`${this.url}: processArticle: Processing with downloading... Count: `+this.queue.queues.article.jobs.length),0==this.queue.queues.article.jobs.length)return void(this.queue.queues.article.active=!1);this.queue.queues.article.active=!0,console.log(this.relay);const e=this.queue.queues.article.jobs.splice(0,500).map(n=>n.identifier).filter((n,r,s)=>s.indexOf(n)===r);console.log("articleToDownload:",e),this.downloadArticle(e,3*e.length)}connect(e){var n=this;return a(function*(){const r=function Yn(t){var e,n,r={},s={connect:[],disconnect:[],error:[],notice:[]},o={},i={};function c(){return f.apply(this,arguments)}function f(){return(f=a(function*(){return new Promise((A,U)=>{(e=new WebSocket(t)).onopen=()=>{s.connect.forEach(N=>N()),A()},e.onerror=()=>{s.error.forEach(N=>N()),U()},e.onclose=a(function*(){s.disconnect.forEach(N=>N()),n&&n()});let te,z=[];function J(){if(0===z.length)return clearInterval(te),void(te=null);var N=z.shift();if(!N)return;let ae=Xn(N);if(ae){let ne=r[ae];if(ne&&ne.alreadyHaveEvent&&ne.alreadyHaveEvent(At(N,"id"),t))return}try{let ne=JSON.parse(N);switch(ne[0]){case"EVENT":let pe=ne[1],je=ne[2];return void(Zt(je)&&r[pe]&&(r[pe].skipVerification||Vn(je))&&Ts(r[pe].filters,je)&&(o[pe]?.event||[]).forEach(ue=>ue(je)));case"EOSE":{let ue=ne[1];return void(ue in o&&(o[ue].eose.forEach(Ne=>Ne()),o[ue].eose=[]))}case"OK":{let ue=ne[1],ot=ne[3]||"";return void(ue in i&&(ne[2]?i[ue].ok.forEach(Pe=>Pe()):i[ue].failed.forEach(Pe=>Pe(ot)),i[ue].ok=[],i[ue].failed=[]))}case"NOTICE":let ve=ne[1];return void s.notice.forEach(ue=>ue(ve))}}catch{return}}e.onmessage=N=>{z.push(N.data),te||(te=setInterval(J,0))}})})).apply(this,arguments)}function b(){return(b=a(function*(){e?.readyState&&1===e.readyState||(yield c())})).apply(this,arguments)}function p(A){return v.apply(this,arguments)}function v(){return(v=a(function*(A){let U=JSON.stringify(A);try{e.send(U)}catch(z){console.log(z)}})).apply(this,arguments)}const T=(A,{skipVerification:U=!1,alreadyHaveEvent:z=null,id:te=Math.random().toString().slice(2)}={})=>{let J=te;return r[J]={id:J,filters:A,skipVerification:U,alreadyHaveEvent:z},p(["REQ",J,...A]),{sub:(N,ae={})=>T(N||A,{skipVerification:ae.skipVerification||U,alreadyHaveEvent:ae.alreadyHaveEvent||z,id:J}),unsub:()=>{delete r[J],delete o[J],p(["CLOSE",J])},on:(N,ae)=>{o[J]=o[J]||{event:[],eose:[]},o[J][N].push(ae)},off:(N,ae)=>{let ne=o[J],pe=ne[N].indexOf(ae);pe>=0&&ne[N].splice(pe,1)}}};return{url:t,sub:T,on:(A,U)=>{s[A].push(U),"connect"===A&&1===e?.readyState&&U()},off:(A,U)=>{let z=s[A].indexOf(U);-1!==z&&s[A].splice(z,1)},list:(A,U)=>new Promise(z=>{let te=T(A,U),J=[],N=setTimeout(()=>{te.unsub(),z(J)},1500);te.on("eose",()=>{te.unsub(),clearTimeout(N),z(J)}),te.on("event",ae=>{J.push(ae)})}),get:(A,U)=>new Promise(z=>{let te=T([A],U),J=setTimeout(()=>{te.unsub(),z(null)},1500);te.on("event",N=>{te.unsub(),clearTimeout(J),z(N)})}),publish(A){if(!A.id)throw new Error(`event ${A} has no id`);let U=A.id;return p(["EVENT",A]),{on:(z,te)=>{i[U]=i[U]||{ok:[],failed:[]},i[U][z].push(te)},off:(z,te)=>{let J=i[U];if(!J)return;let N=J[z].indexOf(te);N>=0&&J[z].splice(N,1)}}},connect:function g(){return b.apply(this,arguments)},close:()=>(s={connect:[],disconnect:[],error:[],notice:[]},o={},i={},e.readyState>1?Promise.resolve():(e.close(),new Promise(A=>{n=A}))),get status(){return e?.readyState??3}}}(n.url);n.relay=r,r.on("connect",a(function*(){console.log(`${n.url}: Connected.`),postMessage({type:"status",data:1,url:r.url}),e?(yield n.publish(e),n.disconnect(),postMessage({type:"terminated",url:n.url})):n.process()})),r.on("disconnect",()=>{console.log(`${n.url}: DISCONNECTED!`),n.subscriptions=[],postMessage({type:"status",data:0,url:r.url})}),r.on("notice",s=>{console.log(`${n.url}: NOTICE: ${s}`),postMessage({type:"notice",data:s,url:r.url})});try{yield r.connect()}catch{postMessage({type:"error",relay:n.url,error:"Unable to connect."}),console.error("Unable to connect.")}})()}disconnect(){1==this.relay.status&&(console.log(`${this.url}: relay.status: ${this.relay.status}, calling close!`),this.relay.close())}unsubscribe(e){const n=this.subscriptions.findIndex(s=>s.id===e);if(-1==n)return;const r=this.subscriptions[n];this.subscriptions.splice(n,1),r.sub?.unsub(),console.log("Unsubscribed: ",e)}clearProfileSub(){this.profileSub?.unsub(),this.profileSub=void 0}clearContactsSub(){this.contactsSub?.unsub(),this.contactsSub=void 0}clearEventSub(){this.eventSub?.unsub(),this.eventSub=void 0}clearArticleSub(){this.articleSub?.unsub(),this.articleTimer=void 0}downloadProfile(e,n=12){if(console.log("DOWNLOAD PROFILE...."),!this.relay)return void console.warn("This relay does not have active connection and download cannot be executed at this time.");this.profileSub&&(console.log("Profile sub already existed, unsub before continue."),this.clearProfileSub());const s=this.relay.sub([{kinds:[0],authors:e}]);this.profileSub=s,s.on("event",o=>{console.log("POST MESSAGE BACK TO MAIN"),postMessage({url:this.url,type:"event",data:o}),console.log("FINISHED POST MESSAGE BACK TO MAIN")}),s.on("eose",()=>{console.log("eose on profile, profile likely not found."),clearTimeout(this.profileTimer),this.clearProfileSub(),this.queue.queues.profile.active=!1,this.processProfiles()}),console.log("REGISTER TIMEOUT!!",1e3*n),this.profileTimer=setTimeout(()=>{console.warn(`${this.url}: Profile download timeout reached.`),this.clearProfileSub(),this.queue.queues.profile.active=!1,this.processProfiles(),postMessage({url:this.url,type:"timeout",data:{type:"Profile",identifier:e}})},1e3*n)}downloadContacts(e,n,r=3e3){console.log("DOWNLOAD CONTACTS....");let s=!1;if(!this.relay)return void console.warn("This relay does not have active connection and download cannot be executed at this time.");this.contactsSub&&this.clearContactsSub();const o=this.relay.sub([{kinds:[3],authors:[e]}]);this.contactsSub=o,o.on("event",i=>{postMessage({url:this.url,type:"event",data:i}),this.clearContactsSub(),clearTimeout(this.contactsTimer),s||(s=!0,n())}),this.contactsTimer=setTimeout(()=>{this.clearContactsSub(),s||(s=!0,n())},1e3*r)}downloadArticle(e,n=12){if(console.log("DOWNLOAD ARTICLE...."),!this.relay)return void console.warn("This relay does not have active connection and download cannot be executed at this time.");this.articleSub&&(console.log("Article sub already existed, unsub before continue."),this.clearArticleSub());const o=this.relay.sub([{kinds:[Kt.Article],authors:e}]);this.articleSub=o,o.on("event",i=>{console.log("POST MESSAGE BACK TO MAIN"),postMessage({url:this.url,type:"event",data:i}),console.log("FINISHED POST MESSAGE BACK TO MAIN")}),o.on("eose",()=>{console.log("eose on event."),clearTimeout(this.articleTimer),this.clearArticleSub(),this.queue.queues.article.active=!1,this.processArticle()}),console.log("REGISTER TIMEOUT!!",1e3*n),this.articleTimer=setTimeout(()=>{console.warn(`${this.url}: Event download timeout reached.`),this.clearArticleSub(),this.queue.queues.article.active=!1,this.processArticle(),postMessage({url:this.url,type:"timeout",data:{type:"Event",identifier:e}})},1e3*n)}downloadEvent(e,n=12){if(console.log("DOWNLOAD EVENT...."),!this.relay)return void console.warn("This relay does not have active connection and download cannot be executed at this time.");this.eventSub&&(console.log("Event sub already existed, unsub before continue."),this.clearEventSub());const s=this.relay.sub([{kinds:[1],ids:e}]);this.eventSub=s,s.on("event",o=>{console.log("POST MESSAGE BACK TO MAIN"),postMessage({url:this.url,type:"event",data:o}),console.log("FINISHED POST MESSAGE BACK TO MAIN")}),s.on("eose",()=>{console.log("eose on event."),clearTimeout(this.eventTimer),this.clearEventSub(),this.queue.queues.event.active=!1,this.processEvents()}),console.log("REGISTER TIMEOUT!!",1e3*n),this.eventTimer=setTimeout(()=>{console.warn(`${this.url}: Event download timeout reached.`),this.clearEventSub(),this.queue.queues.event.active=!1,this.processEvents(),postMessage({url:this.url,type:"timeout",data:{type:"Event",identifier:e}})},1e3*n)}subscribe(e,n){if(console.log("SUBSCRIBE...."),!this.relay||1!=this.relay.status)return this.queue.queues.subscriptions.jobs.push({id:n,filters:e,type:"Event",events:[]}),void console.warn("This relay does not have active connection and subscription cannot be created at this time. Subscription has been scheduled for adding later.");if(this.subscriptions.findIndex(s=>s.id==n)>-1)return void console.log("This subscription is already added!");const r=this.relay.sub(e);console.log("SUBSCRIPTION:",r),this.subscriptions.push({id:n,filters:e,sub:r,type:"Event",events:[]}),r.on("event",s=>{postMessage({url:this.url,subscription:n,type:"event",data:s})}),r.on("eose",()=>{console.log("eose on:",this.url)})}info(){var e=this;return a(function*(){try{const n=new URL(e.url),s=`${"ws:"===n.protocol?"http":"https"}://${n.host}`,o=yield fetch(s,{method:"GET",mode:"cors",headers:{Accept:"application/nostr+json"}});if(200===o.status){const i=yield o.json();e.relay.nip11=i,postMessage({type:"nip11",data:i,url:e.url})}else postMessage({type:"nip11",data:{error:`Unable to get NIP-11 data. Status: ${o.statusText}`},url:e.url})}catch(n){console.warn(n),postMessage({type:"nip11",data:{error:`Unable to get NIP-11 data. Status: ${n}`},url:e.url})}})()}}let be;addEventListener("message",function(){var t=a(function*(e){console.log(`${be?.url}: MESSAGE RECEIVED IN RELAY WORKER!!`,JSON.stringify(e.data));const n=e.data;switch(n.type){case"connect":if(be&&be.relay&&1==be.relay.status){console.log("Already connected...");break}be=new uo(n.data.url),yield be.connect(n.data.event),yield be.info();break;case"disconnect":be.disconnect();break;case"publish":yield be.publish(n.data);break;case"enque":yield be.enque(n.data);break;case"subscribe":yield be.subscribe(n.data.filters,n.data.id);break;case"unsubscribe":yield be.unsubscribe(n.data);break;case"terminate":try{be.disconnect()}catch(r){console.error("Error during disconnect.",r)}console.log(`${be.url}: Sending 'terminated' event.`),postMessage({type:"terminated",url:be.url})}});return function(e){return t.apply(this,arguments)}}())})()})(); \ No newline at end of file diff --git a/911.dab651e9db993b7f.js b/911.dab651e9db993b7f.js new file mode 100644 index 0000000..4315e93 --- /dev/null +++ b/911.dab651e9db993b7f.js @@ -0,0 +1 @@ +(()=>{var a,re,tr={5521:(re,a)=>{"use strict";function _(l){if(!Number.isSafeInteger(l))throw new Error(`Wrong integer: ${l}`)}function P(...l){const u=(j,A)=>K=>j(A(K));return{encode:Array.from(l).reverse().reduce((j,A)=>j?u(j,A.encode):A.encode,void 0),decode:l.reduce((j,A)=>j?u(j,A.decode):A.decode,void 0)}}function d(l){return{encode:u=>{if(!Array.isArray(u)||u.length&&"number"!=typeof u[0])throw new Error("alphabet.encode input should be an array of numbers");return u.map(y=>{if(_(y),y<0||y>=l.length)throw new Error(`Digit index outside alphabet: ${y} (alphabet: ${l.length})`);return l[y]})},decode:u=>{if(!Array.isArray(u)||u.length&&"string"!=typeof u[0])throw new Error("alphabet.decode input should be array of strings");return u.map(y=>{if("string"!=typeof y)throw new Error(`alphabet.decode: not string element=${y}`);const L=l.indexOf(y);if(-1===L)throw new Error(`Unknown letter: "${y}". Allowed: ${l}`);return L})}}}function I(l=""){if("string"!=typeof l)throw new Error("join separator should be string");return{encode:u=>{if(!Array.isArray(u)||u.length&&"string"!=typeof u[0])throw new Error("join.encode input should be array of strings");for(let y of u)if("string"!=typeof y)throw new Error(`join.encode: non-string input=${y}`);return u.join(l)},decode:u=>{if("string"!=typeof u)throw new Error("join.decode input should be string");return u.split(l)}}}function V(l,u="="){if(_(l),"string"!=typeof u)throw new Error("padding chr should be string");return{encode(y){if(!Array.isArray(y)||y.length&&"string"!=typeof y[0])throw new Error("padding.encode input should be array of strings");for(let L of y)if("string"!=typeof L)throw new Error(`padding.encode: non-string input=${L}`);for(;y.length*l%8;)y.push(u);return y},decode(y){if(!Array.isArray(y)||y.length&&"string"!=typeof y[0])throw new Error("padding.encode input should be array of strings");for(let j of y)if("string"!=typeof j)throw new Error(`padding.decode: non-string input=${j}`);let L=y.length;if(L*l%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;L>0&&y[L-1]===u;L--)if(!((L-1)*l%8))throw new Error("Invalid padding: string has too much padding");return y.slice(0,L)}}}function J(l){if("function"!=typeof l)throw new Error("normalize fn should be function");return{encode:u=>u,decode:u=>l(u)}}function m(l,u,y){if(u<2)throw new Error(`convertRadix: wrong from=${u}, base cannot be less than 2`);if(y<2)throw new Error(`convertRadix: wrong to=${y}, base cannot be less than 2`);if(!Array.isArray(l))throw new Error("convertRadix: data should be array");if(!l.length)return[];let L=0;const j=[],A=Array.from(l);for(A.forEach(K=>{if(_(K),K<0||K>=u)throw new Error(`Wrong integer: ${K}`)});;){let K=0,le=!0;for(let he=L;heu?w(u,l%u):l,O=(l,u)=>l+(u-w(l,u));function q(l,u,y,L){if(!Array.isArray(l))throw new Error("convertRadix2: data should be array");if(u<=0||u>32)throw new Error(`convertRadix2: wrong from=${u}`);if(y<=0||y>32)throw new Error(`convertRadix2: wrong to=${y}`);if(O(u,y)>32)throw new Error(`convertRadix2: carry overflow from=${u} to=${y} carryBits=${O(u,y)}`);let j=0,A=0;const K=2**y-1,le=[];for(const he of l){if(_(he),he>=2**u)throw new Error(`convertRadix2: invalid data word=${he} from=${u}`);if(j=j<32)throw new Error(`convertRadix2: carry overflow pos=${A} from=${u}`);for(A+=u;A>=y;A-=y)le.push((j>>A-y&K)>>>0);j&=2**A-1}if(j=j<=u)throw new Error("Excess padding");if(!L&&j)throw new Error(`Non-zero padding: ${j}`);return L&&A>0&&le.push(j>>>0),le}function U(l){return _(l),{encode:u=>{if(!(u instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return m(Array.from(u),256,l)},decode:u=>{if(!Array.isArray(u)||u.length&&"number"!=typeof u[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(m(u,l,256))}}}function H(l,u=!1){if(_(l),l<=0||l>32)throw new Error("radix2: bits should be in (0..32]");if(O(8,l)>32||O(l,8)>32)throw new Error("radix2: carry overflow");return{encode:y=>{if(!(y instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return q(Array.from(y),8,l,!u)},decode:y=>{if(!Array.isArray(y)||y.length&&"number"!=typeof y[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(q(y,l,8,u))}}}function M(l){if("function"!=typeof l)throw new Error("unsafeWrapper fn should be function");return function(...u){try{return l.apply(null,u)}catch{}}}function z(l,u){if(_(l),"function"!=typeof u)throw new Error("checksum fn should be function");return{encode(y){if(!(y instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const L=u(y).slice(0,l),j=new Uint8Array(y.length+l);return j.set(y),j.set(L,y.length),j},decode(y){if(!(y instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const L=y.slice(0,-l),j=u(L).slice(0,l),A=y.slice(-l);for(let K=0;Kl.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),a.base64=P(H(6),d("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),V(6),I("")),a.base64url=P(H(6),d("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),V(6),I(""));const Z=l=>P(U(58),d(l),I(""));a.base58=Z("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),a.base58flickr=Z("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),a.base58xrp=Z("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const G=[0,2,3,5,6,7,9,10,11];a.base58xmr={encode(l){let u="";for(let y=0;yP(z(4,u=>l(l(u))),a.base58);const W=P(d("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),I("")),Y=[996825010,642813549,513874426,1027748829,705979059];function T(l){const u=l>>25;let y=(33554431&l)<<5;for(let L=0;L>L&1)&&(y^=Y[L]);return y}function ee(l,u,y=1){const L=l.length;let j=1;for(let A=0;A126)throw new Error(`Invalid prefix (${l})`);j=T(j)^K>>5}j=T(j);for(let A=0;Aae)throw new TypeError(`Wrong string length: ${D.length} (${D}). Expected (8..${ae})`);const ye=D.toLowerCase();if(D!==ye&&D!==D.toUpperCase())throw new Error("String must be lowercase or uppercase");const E=(D=ye).lastIndexOf("1");if(0===E||-1===E)throw new Error('Letter "1" must be present between prefix and data only');const fe=D.slice(0,E),Be=D.slice(E+1);if(Be.length<6)throw new Error("Data must be at least 6 characters long");const Ee=W.decode(Be).slice(0,-6),qe=ee(fe,Ee,u);if(!Be.endsWith(qe))throw new Error(`Invalid checksum in ${D}: expected "${qe}"`);return{prefix:fe,words:Ee}}return{encode:function K(D,ae,ye=90){if("string"!=typeof D)throw new Error("bech32.encode prefix should be string, not "+typeof D);if(!Array.isArray(ae)||ae.length&&"number"!=typeof ae[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof ae);const E=D.length+7+ae.length;if(!1!==ye&&E>ye)throw new TypeError(`Length ${E} exceeds limit ${ye}`);return`${D=D.toLowerCase()}1${W.encode(ae)}${ee(D,ae,u)}`},decode:le,decodeToBytes:function be(D){const{prefix:ae,words:ye}=le(D,!1);return{prefix:ae,words:ye,bytes:L(ye)}},decodeUnsafe:M(le),fromWords:L,fromWordsUnsafe:A,toWords:j}}a.bech32=S("bech32"),a.bech32m=S("bech32m"),a.utf8={encode:l=>(new TextDecoder).decode(l),decode:l=>(new TextEncoder).encode(l)},a.hex=P(H(4),d("0123456789abcdef"),I(""),J(l=>{if("string"!=typeof l||l.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof l} with length ${l.length}`);return l.toLowerCase()}));const h={utf8:a.utf8,hex:a.hex,base16:a.base16,base32:a.base32,base64:a.base64,base64url:a.base64url,base58:a.base58,base58xmr:a.base58xmr},k=`Invalid encoding type. Available types: ${Object.keys(h).join(", ")}`;a.bytesToString=(l,u)=>{if("string"!=typeof l||!h.hasOwnProperty(l))throw new TypeError(k);if(!(u instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return h[l].encode(u)},a.str=a.bytesToString,a.stringToBytes=(l,u)=>{if(!h.hasOwnProperty(l))throw new TypeError(k);if("string"!=typeof u)throw new TypeError("stringToBytes() expects string");return h[l].decode(u)},a.bytes=a.stringToBytes},6837:(re,a,_)=>{"use strict";a.Z1=a._I=a.OF=void 0;const d=_(5729),I=_(9522),V=_(8519),J=_(27),m=_(7507),w=_(5521),O=S=>"\u3042\u3044\u3053\u304f\u3057\u3093"===S[0];function q(S){if("string"!=typeof S)throw new TypeError("Invalid mnemonic type: "+typeof S);return S.normalize("NFKD")}function U(S){const h=q(S),k=h.split(" ");if(![12,15,18,21,24].includes(k.length))throw new Error("Invalid mnemonic");return{nfkd:h,words:k}}function H(S){d.default.bytes(S,16,20,24,28,32)}a.OF=function M(S,h=128){if(d.default.number(h),h%32!=0||h>256)throw new TypeError("Invalid entropy");return function N(S,h){return H(S),Z(h).encode(S).join(O(h)?"\u3000":" ")}((0,m.randomBytes)(h/8),S)};const z=S=>{const h=8-S.length/4;return new Uint8Array([(0,V.sha256)(S)[0]>>h<{if("string"!=typeof h)throw new Error(`Wordlist: non-string element: ${h}`)}),w.utils.chain(w.utils.checksum(1,z),w.utils.radix2(11,!0),w.utils.alphabet(S))}a._I=function W(S,h){try{!function G(S,h){const{words:k}=U(S),R=Z(h).decode(k);return H(R),R}(S,h)}catch{return!1}return!0};a.Z1=function ee(S,h=""){return(0,I.pbkdf2)(J.sha512,U(S).nfkd,(S=>q(`mnemonic${S}`))(h),{c:2048,dkLen:64})}},5729:(re,a)=>{"use strict";function _(w){if(!Number.isSafeInteger(w)||w<0)throw new Error(`Wrong positive integer: ${w}`)}function P(w){if("boolean"!=typeof w)throw new Error(`Expected boolean, not ${w}`)}function d(w,...O){if(!(w instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(O.length>0&&!O.includes(w.length))throw new TypeError(`Expected Uint8Array of length ${O}, not of length=${w.length}`)}function I(w){if("function"!=typeof w||"function"!=typeof w.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");_(w.outputLen),_(w.blockLen)}function V(w,O=!0){if(w.destroyed)throw new Error("Hash instance has been destroyed");if(O&&w.finished)throw new Error("Hash#digest() has already been called")}function J(w,O){d(w);const q=O.outputLen;if(w.length{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.SHA2=void 0;const P=_(5729),d=_(7507);a.SHA2=class V extends d.Hash{constructor(m,w,O,q){super(),this.blockLen=m,this.outputLen=w,this.padOffset=O,this.isLE=q,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(m),this.view=(0,d.createView)(this.buffer)}update(m){P.default.exists(this);const{view:w,buffer:O,blockLen:q}=this,U=(m=(0,d.toBytes)(m)).length;for(let H=0;Hq-H&&(this.process(O,0),H=0);for(let N=H;N>q&U),M=Number(w&U),Z=O?0:4;J.setUint32(m+(O?4:0),H,O),J.setUint32(m+Z,M,O)})(O,q-8,BigInt(8*this.length),U),this.process(O,0);const M=(0,d.createView)(m),z=this.outputLen;if(z%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const Z=z/4,G=this.get();if(Z>G.length)throw new Error("_sha2: outputLen bigger than state");for(let N=0;N{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.add=a.toBig=a.split=a.fromBig=void 0;const _=BigInt(2**32-1),P=BigInt(32);function d(x,l=!1){return l?{h:Number(x&_),l:Number(x>>P&_)}:{h:0|Number(x>>P&_),l:0|Number(x&_)}}function I(x,l=!1){let u=new Uint32Array(x.length),y=new Uint32Array(x.length);for(let L=0;L>>0)+(y>>>0);return{h:x+u+(L/4294967296|0)|0,l:0|L}}a.fromBig=d,a.split=I,a.toBig=(x,l)=>BigInt(x>>>0)<>>0),a.add=W,a.default={fromBig:d,split:I,toBig:a.toBig,shrSH:(x,l,u)=>x>>>u,shrSL:(x,l,u)=>x<<32-u|l>>>u,rotrSH:(x,l,u)=>x>>>u|l<<32-u,rotrSL:(x,l,u)=>x<<32-u|l>>>u,rotrBH:(x,l,u)=>x<<64-u|l>>>u-32,rotrBL:(x,l,u)=>x>>>u-32|l<<64-u,rotr32H:(x,l)=>l,rotr32L:(x,l)=>x,rotlSH:(x,l,u)=>x<>>32-u,rotlSL:(x,l,u)=>l<>>32-u,rotlBH:(x,l,u)=>l<>>64-u,rotlBL:(x,l,u)=>x<>>64-u,add:W,add3L:(x,l,u)=>(x>>>0)+(l>>>0)+(u>>>0),add3H:(x,l,u,y)=>l+u+y+(x/2**32|0)|0,add4L:(x,l,u,y)=>(x>>>0)+(l>>>0)+(u>>>0)+(y>>>0),add4H:(x,l,u,y,L)=>l+u+y+L+(x/2**32|0)|0,add5H:(x,l,u,y,L,j)=>l+u+y+L+j+(x/2**32|0)|0,add5L:(x,l,u,y,L)=>(x>>>0)+(l>>>0)+(u>>>0)+(y>>>0)+(L>>>0)}},7882:(re,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.crypto=void 0,a.crypto={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0}},602:(re,a,_)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.hmac=void 0;const P=_(5729),d=_(7507);class I extends d.Hash{constructor(m,w){super(),this.finished=!1,this.destroyed=!1,P.default.hash(m);const O=(0,d.toBytes)(w);if(this.iHash=m.create(),"function"!=typeof this.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const q=this.blockLen,U=new Uint8Array(q);U.set(O.length>q?m.create().update(O).digest():O);for(let H=0;Hnew I(J,m).update(w).digest(),a.hmac.create=(J,m)=>new I(J,m)},9522:(re,a,_)=>{"use strict";var P=_(9598).default;Object.defineProperty(a,"__esModule",{value:!0}),a.pbkdf2Async=a.pbkdf2=void 0;const d=_(5729),I=_(602),V=_(7507);function J(U,H,M,z){d.default.hash(U);const Z=(0,V.checkOpts)({dkLen:32,asyncTick:10},z),{c:G,dkLen:N,asyncTick:W}=Z;if(d.default.number(G),d.default.number(N),d.default.number(W),G<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const Y=(0,V.toBytes)(H),T=(0,V.toBytes)(M),ee=new Uint8Array(N),S=I.hmac.create(U,Y),h=S._cloneInto().update(T);return{c:G,dkLen:N,asyncTick:W,DK:ee,PRF:S,PRFSalt:h}}function m(U,H,M,z,Z){return U.destroy(),H.destroy(),z&&z.destroy(),Z.fill(0),M}function q(){return(q=P(function*(U,H,M,z){const{c:Z,dkLen:G,asyncTick:N,DK:W,PRF:Y,PRFSalt:T}=J(U,H,M,z);let ee;const S=new Uint8Array(4),h=(0,V.createView)(S),k=new Uint8Array(Y.outputLen);for(let R=1,x=0;x{Y._cloneInto(ee).update(k).digestInto(k);for(let y=0;y{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.sha224=a.sha256=void 0;const P=_(4206),d=_(7507),I=(U,H,M)=>U&H^~U&M,V=(U,H,M)=>U&H^U&M^H&M,J=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),m=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),w=new Uint32Array(64);class O extends P.SHA2{constructor(){super(64,32,8,!1),this.A=0|m[0],this.B=0|m[1],this.C=0|m[2],this.D=0|m[3],this.E=0|m[4],this.F=0|m[5],this.G=0|m[6],this.H=0|m[7]}get(){const{A:H,B:M,C:z,D:Z,E:G,F:N,G:W,H:Y}=this;return[H,M,z,Z,G,N,W,Y]}set(H,M,z,Z,G,N,W,Y){this.A=0|H,this.B=0|M,this.C=0|z,this.D=0|Z,this.E=0|G,this.F=0|N,this.G=0|W,this.H=0|Y}process(H,M){for(let S=0;S<16;S++,M+=4)w[S]=H.getUint32(M,!1);for(let S=16;S<64;S++){const h=w[S-15],k=w[S-2],R=(0,d.rotr)(h,7)^(0,d.rotr)(h,18)^h>>>3,x=(0,d.rotr)(k,17)^(0,d.rotr)(k,19)^k>>>10;w[S]=x+w[S-7]+R+w[S-16]|0}let{A:z,B:Z,C:G,D:N,E:W,F:Y,G:T,H:ee}=this;for(let S=0;S<64;S++){const k=ee+((0,d.rotr)(W,6)^(0,d.rotr)(W,11)^(0,d.rotr)(W,25))+I(W,Y,T)+J[S]+w[S]|0,x=((0,d.rotr)(z,2)^(0,d.rotr)(z,13)^(0,d.rotr)(z,22))+V(z,Z,G)|0;ee=T,T=Y,Y=W,W=N+k|0,N=G,G=Z,Z=z,z=k+x|0}z=z+this.A|0,Z=Z+this.B|0,G=G+this.C|0,N=N+this.D|0,W=W+this.E|0,Y=Y+this.F|0,T=T+this.G|0,ee=ee+this.H|0,this.set(z,Z,G,N,W,Y,T,ee)}roundClean(){w.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class q extends O{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}a.sha256=(0,d.wrapConstructor)(()=>new O),a.sha224=(0,d.wrapConstructor)(()=>new q)},27:(re,a,_)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.sha384=a.sha512_256=a.sha512_224=a.sha512=a.SHA512=void 0;const P=_(4206),d=_(9027),I=_(7507),[V,J]=d.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(M=>BigInt(M))),m=new Uint32Array(80),w=new Uint32Array(80);class O extends P.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:z,Al:Z,Bh:G,Bl:N,Ch:W,Cl:Y,Dh:T,Dl:ee,Eh:S,El:h,Fh:k,Fl:R,Gh:x,Gl:l,Hh:u,Hl:y}=this;return[z,Z,G,N,W,Y,T,ee,S,h,k,R,x,l,u,y]}set(z,Z,G,N,W,Y,T,ee,S,h,k,R,x,l,u,y){this.Ah=0|z,this.Al=0|Z,this.Bh=0|G,this.Bl=0|N,this.Ch=0|W,this.Cl=0|Y,this.Dh=0|T,this.Dl=0|ee,this.Eh=0|S,this.El=0|h,this.Fh=0|k,this.Fl=0|R,this.Gh=0|x,this.Gl=0|l,this.Hh=0|u,this.Hl=0|y}process(z,Z){for(let A=0;A<16;A++,Z+=4)m[A]=z.getUint32(Z),w[A]=z.getUint32(Z+=4);for(let A=16;A<80;A++){const K=0|m[A-15],le=0|w[A-15],he=d.default.rotrSH(K,le,1)^d.default.rotrSH(K,le,8)^d.default.shrSH(K,le,7),be=d.default.rotrSL(K,le,1)^d.default.rotrSL(K,le,8)^d.default.shrSL(K,le,7),D=0|m[A-2],ae=0|w[A-2],ye=d.default.rotrSH(D,ae,19)^d.default.rotrBH(D,ae,61)^d.default.shrSH(D,ae,6),E=d.default.rotrSL(D,ae,19)^d.default.rotrBL(D,ae,61)^d.default.shrSL(D,ae,6),fe=d.default.add4L(be,E,w[A-7],w[A-16]),Be=d.default.add4H(fe,he,ye,m[A-7],m[A-16]);m[A]=0|Be,w[A]=0|fe}let{Ah:G,Al:N,Bh:W,Bl:Y,Ch:T,Cl:ee,Dh:S,Dl:h,Eh:k,El:R,Fh:x,Fl:l,Gh:u,Gl:y,Hh:L,Hl:j}=this;for(let A=0;A<80;A++){const K=d.default.rotrSH(k,R,14)^d.default.rotrSH(k,R,18)^d.default.rotrBH(k,R,41),le=d.default.rotrSL(k,R,14)^d.default.rotrSL(k,R,18)^d.default.rotrBL(k,R,41),he=k&x^~k&u,D=d.default.add5L(j,le,R&l^~R&y,J[A],w[A]),ae=d.default.add5H(D,L,K,he,V[A],m[A]),ye=0|D,E=d.default.rotrSH(G,N,28)^d.default.rotrBH(G,N,34)^d.default.rotrBH(G,N,39),fe=d.default.rotrSL(G,N,28)^d.default.rotrBL(G,N,34)^d.default.rotrBL(G,N,39),Be=G&W^G&T^W&T,Ee=N&Y^N&ee^YⅇL=0|u,j=0|y,u=0|x,y=0|l,x=0|k,l=0|R,({h:k,l:R}=d.default.add(0|S,0|h,0|ae,0|ye)),S=0|T,h=0|ee,T=0|W,ee=0|Y,W=0|G,Y=0|N;const qe=d.default.add3L(ye,fe,Ee);G=d.default.add3H(qe,ae,E,Be),N=0|qe}({h:G,l:N}=d.default.add(0|this.Ah,0|this.Al,0|G,0|N)),({h:W,l:Y}=d.default.add(0|this.Bh,0|this.Bl,0|W,0|Y)),({h:T,l:ee}=d.default.add(0|this.Ch,0|this.Cl,0|T,0|ee)),({h:S,l:h}=d.default.add(0|this.Dh,0|this.Dl,0|S,0|h)),({h:k,l:R}=d.default.add(0|this.Eh,0|this.El,0|k,0|R)),({h:x,l}=d.default.add(0|this.Fh,0|this.Fl,0|x,0|l)),({h:u,l:y}=d.default.add(0|this.Gh,0|this.Gl,0|u,0|y)),({h:L,l:j}=d.default.add(0|this.Hh,0|this.Hl,0|L,0|j)),this.set(G,N,W,Y,T,ee,S,h,k,R,x,l,u,y,L,j)}roundClean(){m.fill(0),w.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}a.SHA512=O;class q extends O{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class U extends O{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class H extends O{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}a.sha512=(0,I.wrapConstructor)(()=>new O),a.sha512_224=(0,I.wrapConstructor)(()=>new q),a.sha512_256=(0,I.wrapConstructor)(()=>new U),a.sha384=(0,I.wrapConstructor)(()=>new H)},7507:(re,a,_)=>{"use strict";var P=_(9598).default;Object.defineProperty(a,"__esModule",{value:!0}),a.randomBytes=a.wrapConstructorWithOpts=a.wrapConstructor=a.checkOpts=a.Hash=a.concatBytes=a.toBytes=a.utf8ToBytes=a.asyncLoop=a.nextTick=a.hexToBytes=a.bytesToHex=a.isLE=a.rotr=a.createView=a.u32=a.u8=void 0;const d=_(7882);if(a.u8=h=>new Uint8Array(h.buffer,h.byteOffset,h.byteLength),a.u32=h=>new Uint32Array(h.buffer,h.byteOffset,Math.floor(h.byteLength/4)),a.createView=h=>new DataView(h.buffer,h.byteOffset,h.byteLength),a.rotr=(h,k)=>h<<32-k|h>>>k,a.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!a.isLE)throw new Error("Non little-endian hardware is not supported");const w=Array.from({length:256},(h,k)=>k.toString(16).padStart(2,"0"));function M(){return(M=P(function*(h,k,R){let x=Date.now();for(let l=0;l=0&&ux instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===h.length)return h[0];const k=h.reduce((x,l)=>x+l.length,0),R=new Uint8Array(k);for(let x=0,l=0;x"[object Object]"===Object.prototype.toString.call(h)&&h.constructor===Object)(k)))throw new TypeError("Options should be object or undefined");return Object.assign(h,k)},a.wrapConstructor=function T(h){const k=x=>h().update(Z(x)).digest(),R=h();return k.outputLen=R.outputLen,k.blockLen=R.blockLen,k.create=()=>h(),k},a.wrapConstructorWithOpts=function ee(h){const k=(x,l)=>h(l).update(Z(x)).digest(),R=h({});return k.outputLen=R.outputLen,k.blockLen=R.blockLen,k.create=x=>h(x),k},a.randomBytes=function S(h=32){if(d.crypto.web)return d.crypto.web.getRandomValues(new Uint8Array(h));if(d.crypto.node)return new Uint8Array(d.crypto.node.randomBytes(h).buffer);throw new Error("The environment doesn't have randomBytes function")}},3439:(re,a)=>{"use strict";a.U=void 0,a.U="abandon\nability\nable\nabout\nabove\nabsent\nabsorb\nabstract\nabsurd\nabuse\naccess\naccident\naccount\naccuse\nachieve\nacid\nacoustic\nacquire\nacross\nact\naction\nactor\nactress\nactual\nadapt\nadd\naddict\naddress\nadjust\nadmit\nadult\nadvance\nadvice\naerobic\naffair\nafford\nafraid\nagain\nage\nagent\nagree\nahead\naim\nair\nairport\naisle\nalarm\nalbum\nalcohol\nalert\nalien\nall\nalley\nallow\nalmost\nalone\nalpha\nalready\nalso\nalter\nalways\namateur\namazing\namong\namount\namused\nanalyst\nanchor\nancient\nanger\nangle\nangry\nanimal\nankle\nannounce\nannual\nanother\nanswer\nantenna\nantique\nanxiety\nany\napart\napology\nappear\napple\napprove\napril\narch\narctic\narea\narena\nargue\narm\narmed\narmor\narmy\naround\narrange\narrest\narrive\narrow\nart\nartefact\nartist\nartwork\nask\naspect\nassault\nasset\nassist\nassume\nasthma\nathlete\natom\nattack\nattend\nattitude\nattract\nauction\naudit\naugust\naunt\nauthor\nauto\nautumn\naverage\navocado\navoid\nawake\naware\naway\nawesome\nawful\nawkward\naxis\nbaby\nbachelor\nbacon\nbadge\nbag\nbalance\nbalcony\nball\nbamboo\nbanana\nbanner\nbar\nbarely\nbargain\nbarrel\nbase\nbasic\nbasket\nbattle\nbeach\nbean\nbeauty\nbecause\nbecome\nbeef\nbefore\nbegin\nbehave\nbehind\nbelieve\nbelow\nbelt\nbench\nbenefit\nbest\nbetray\nbetter\nbetween\nbeyond\nbicycle\nbid\nbike\nbind\nbiology\nbird\nbirth\nbitter\nblack\nblade\nblame\nblanket\nblast\nbleak\nbless\nblind\nblood\nblossom\nblouse\nblue\nblur\nblush\nboard\nboat\nbody\nboil\nbomb\nbone\nbonus\nbook\nboost\nborder\nboring\nborrow\nboss\nbottom\nbounce\nbox\nboy\nbracket\nbrain\nbrand\nbrass\nbrave\nbread\nbreeze\nbrick\nbridge\nbrief\nbright\nbring\nbrisk\nbroccoli\nbroken\nbronze\nbroom\nbrother\nbrown\nbrush\nbubble\nbuddy\nbudget\nbuffalo\nbuild\nbulb\nbulk\nbullet\nbundle\nbunker\nburden\nburger\nburst\nbus\nbusiness\nbusy\nbutter\nbuyer\nbuzz\ncabbage\ncabin\ncable\ncactus\ncage\ncake\ncall\ncalm\ncamera\ncamp\ncan\ncanal\ncancel\ncandy\ncannon\ncanoe\ncanvas\ncanyon\ncapable\ncapital\ncaptain\ncar\ncarbon\ncard\ncargo\ncarpet\ncarry\ncart\ncase\ncash\ncasino\ncastle\ncasual\ncat\ncatalog\ncatch\ncategory\ncattle\ncaught\ncause\ncaution\ncave\nceiling\ncelery\ncement\ncensus\ncentury\ncereal\ncertain\nchair\nchalk\nchampion\nchange\nchaos\nchapter\ncharge\nchase\nchat\ncheap\ncheck\ncheese\nchef\ncherry\nchest\nchicken\nchief\nchild\nchimney\nchoice\nchoose\nchronic\nchuckle\nchunk\nchurn\ncigar\ncinnamon\ncircle\ncitizen\ncity\ncivil\nclaim\nclap\nclarify\nclaw\nclay\nclean\nclerk\nclever\nclick\nclient\ncliff\nclimb\nclinic\nclip\nclock\nclog\nclose\ncloth\ncloud\nclown\nclub\nclump\ncluster\nclutch\ncoach\ncoast\ncoconut\ncode\ncoffee\ncoil\ncoin\ncollect\ncolor\ncolumn\ncombine\ncome\ncomfort\ncomic\ncommon\ncompany\nconcert\nconduct\nconfirm\ncongress\nconnect\nconsider\ncontrol\nconvince\ncook\ncool\ncopper\ncopy\ncoral\ncore\ncorn\ncorrect\ncost\ncotton\ncouch\ncountry\ncouple\ncourse\ncousin\ncover\ncoyote\ncrack\ncradle\ncraft\ncram\ncrane\ncrash\ncrater\ncrawl\ncrazy\ncream\ncredit\ncreek\ncrew\ncricket\ncrime\ncrisp\ncritic\ncrop\ncross\ncrouch\ncrowd\ncrucial\ncruel\ncruise\ncrumble\ncrunch\ncrush\ncry\ncrystal\ncube\nculture\ncup\ncupboard\ncurious\ncurrent\ncurtain\ncurve\ncushion\ncustom\ncute\ncycle\ndad\ndamage\ndamp\ndance\ndanger\ndaring\ndash\ndaughter\ndawn\nday\ndeal\ndebate\ndebris\ndecade\ndecember\ndecide\ndecline\ndecorate\ndecrease\ndeer\ndefense\ndefine\ndefy\ndegree\ndelay\ndeliver\ndemand\ndemise\ndenial\ndentist\ndeny\ndepart\ndepend\ndeposit\ndepth\ndeputy\nderive\ndescribe\ndesert\ndesign\ndesk\ndespair\ndestroy\ndetail\ndetect\ndevelop\ndevice\ndevote\ndiagram\ndial\ndiamond\ndiary\ndice\ndiesel\ndiet\ndiffer\ndigital\ndignity\ndilemma\ndinner\ndinosaur\ndirect\ndirt\ndisagree\ndiscover\ndisease\ndish\ndismiss\ndisorder\ndisplay\ndistance\ndivert\ndivide\ndivorce\ndizzy\ndoctor\ndocument\ndog\ndoll\ndolphin\ndomain\ndonate\ndonkey\ndonor\ndoor\ndose\ndouble\ndove\ndraft\ndragon\ndrama\ndrastic\ndraw\ndream\ndress\ndrift\ndrill\ndrink\ndrip\ndrive\ndrop\ndrum\ndry\nduck\ndumb\ndune\nduring\ndust\ndutch\nduty\ndwarf\ndynamic\neager\neagle\nearly\nearn\nearth\neasily\neast\neasy\necho\necology\neconomy\nedge\nedit\neducate\neffort\negg\neight\neither\nelbow\nelder\nelectric\nelegant\nelement\nelephant\nelevator\nelite\nelse\nembark\nembody\nembrace\nemerge\nemotion\nemploy\nempower\nempty\nenable\nenact\nend\nendless\nendorse\nenemy\nenergy\nenforce\nengage\nengine\nenhance\nenjoy\nenlist\nenough\nenrich\nenroll\nensure\nenter\nentire\nentry\nenvelope\nepisode\nequal\nequip\nera\nerase\nerode\nerosion\nerror\nerupt\nescape\nessay\nessence\nestate\neternal\nethics\nevidence\nevil\nevoke\nevolve\nexact\nexample\nexcess\nexchange\nexcite\nexclude\nexcuse\nexecute\nexercise\nexhaust\nexhibit\nexile\nexist\nexit\nexotic\nexpand\nexpect\nexpire\nexplain\nexpose\nexpress\nextend\nextra\neye\neyebrow\nfabric\nface\nfaculty\nfade\nfaint\nfaith\nfall\nfalse\nfame\nfamily\nfamous\nfan\nfancy\nfantasy\nfarm\nfashion\nfat\nfatal\nfather\nfatigue\nfault\nfavorite\nfeature\nfebruary\nfederal\nfee\nfeed\nfeel\nfemale\nfence\nfestival\nfetch\nfever\nfew\nfiber\nfiction\nfield\nfigure\nfile\nfilm\nfilter\nfinal\nfind\nfine\nfinger\nfinish\nfire\nfirm\nfirst\nfiscal\nfish\nfit\nfitness\nfix\nflag\nflame\nflash\nflat\nflavor\nflee\nflight\nflip\nfloat\nflock\nfloor\nflower\nfluid\nflush\nfly\nfoam\nfocus\nfog\nfoil\nfold\nfollow\nfood\nfoot\nforce\nforest\nforget\nfork\nfortune\nforum\nforward\nfossil\nfoster\nfound\nfox\nfragile\nframe\nfrequent\nfresh\nfriend\nfringe\nfrog\nfront\nfrost\nfrown\nfrozen\nfruit\nfuel\nfun\nfunny\nfurnace\nfury\nfuture\ngadget\ngain\ngalaxy\ngallery\ngame\ngap\ngarage\ngarbage\ngarden\ngarlic\ngarment\ngas\ngasp\ngate\ngather\ngauge\ngaze\ngeneral\ngenius\ngenre\ngentle\ngenuine\ngesture\nghost\ngiant\ngift\ngiggle\nginger\ngiraffe\ngirl\ngive\nglad\nglance\nglare\nglass\nglide\nglimpse\nglobe\ngloom\nglory\nglove\nglow\nglue\ngoat\ngoddess\ngold\ngood\ngoose\ngorilla\ngospel\ngossip\ngovern\ngown\ngrab\ngrace\ngrain\ngrant\ngrape\ngrass\ngravity\ngreat\ngreen\ngrid\ngrief\ngrit\ngrocery\ngroup\ngrow\ngrunt\nguard\nguess\nguide\nguilt\nguitar\ngun\ngym\nhabit\nhair\nhalf\nhammer\nhamster\nhand\nhappy\nharbor\nhard\nharsh\nharvest\nhat\nhave\nhawk\nhazard\nhead\nhealth\nheart\nheavy\nhedgehog\nheight\nhello\nhelmet\nhelp\nhen\nhero\nhidden\nhigh\nhill\nhint\nhip\nhire\nhistory\nhobby\nhockey\nhold\nhole\nholiday\nhollow\nhome\nhoney\nhood\nhope\nhorn\nhorror\nhorse\nhospital\nhost\nhotel\nhour\nhover\nhub\nhuge\nhuman\nhumble\nhumor\nhundred\nhungry\nhunt\nhurdle\nhurry\nhurt\nhusband\nhybrid\nice\nicon\nidea\nidentify\nidle\nignore\nill\nillegal\nillness\nimage\nimitate\nimmense\nimmune\nimpact\nimpose\nimprove\nimpulse\ninch\ninclude\nincome\nincrease\nindex\nindicate\nindoor\nindustry\ninfant\ninflict\ninform\ninhale\ninherit\ninitial\ninject\ninjury\ninmate\ninner\ninnocent\ninput\ninquiry\ninsane\ninsect\ninside\ninspire\ninstall\nintact\ninterest\ninto\ninvest\ninvite\ninvolve\niron\nisland\nisolate\nissue\nitem\nivory\njacket\njaguar\njar\njazz\njealous\njeans\njelly\njewel\njob\njoin\njoke\njourney\njoy\njudge\njuice\njump\njungle\njunior\njunk\njust\nkangaroo\nkeen\nkeep\nketchup\nkey\nkick\nkid\nkidney\nkind\nkingdom\nkiss\nkit\nkitchen\nkite\nkitten\nkiwi\nknee\nknife\nknock\nknow\nlab\nlabel\nlabor\nladder\nlady\nlake\nlamp\nlanguage\nlaptop\nlarge\nlater\nlatin\nlaugh\nlaundry\nlava\nlaw\nlawn\nlawsuit\nlayer\nlazy\nleader\nleaf\nlearn\nleave\nlecture\nleft\nleg\nlegal\nlegend\nleisure\nlemon\nlend\nlength\nlens\nleopard\nlesson\nletter\nlevel\nliar\nliberty\nlibrary\nlicense\nlife\nlift\nlight\nlike\nlimb\nlimit\nlink\nlion\nliquid\nlist\nlittle\nlive\nlizard\nload\nloan\nlobster\nlocal\nlock\nlogic\nlonely\nlong\nloop\nlottery\nloud\nlounge\nlove\nloyal\nlucky\nluggage\nlumber\nlunar\nlunch\nluxury\nlyrics\nmachine\nmad\nmagic\nmagnet\nmaid\nmail\nmain\nmajor\nmake\nmammal\nman\nmanage\nmandate\nmango\nmansion\nmanual\nmaple\nmarble\nmarch\nmargin\nmarine\nmarket\nmarriage\nmask\nmass\nmaster\nmatch\nmaterial\nmath\nmatrix\nmatter\nmaximum\nmaze\nmeadow\nmean\nmeasure\nmeat\nmechanic\nmedal\nmedia\nmelody\nmelt\nmember\nmemory\nmention\nmenu\nmercy\nmerge\nmerit\nmerry\nmesh\nmessage\nmetal\nmethod\nmiddle\nmidnight\nmilk\nmillion\nmimic\nmind\nminimum\nminor\nminute\nmiracle\nmirror\nmisery\nmiss\nmistake\nmix\nmixed\nmixture\nmobile\nmodel\nmodify\nmom\nmoment\nmonitor\nmonkey\nmonster\nmonth\nmoon\nmoral\nmore\nmorning\nmosquito\nmother\nmotion\nmotor\nmountain\nmouse\nmove\nmovie\nmuch\nmuffin\nmule\nmultiply\nmuscle\nmuseum\nmushroom\nmusic\nmust\nmutual\nmyself\nmystery\nmyth\nnaive\nname\nnapkin\nnarrow\nnasty\nnation\nnature\nnear\nneck\nneed\nnegative\nneglect\nneither\nnephew\nnerve\nnest\nnet\nnetwork\nneutral\nnever\nnews\nnext\nnice\nnight\nnoble\nnoise\nnominee\nnoodle\nnormal\nnorth\nnose\nnotable\nnote\nnothing\nnotice\nnovel\nnow\nnuclear\nnumber\nnurse\nnut\noak\nobey\nobject\noblige\nobscure\nobserve\nobtain\nobvious\noccur\nocean\noctober\nodor\noff\noffer\noffice\noften\noil\nokay\nold\nolive\nolympic\nomit\nonce\none\nonion\nonline\nonly\nopen\nopera\nopinion\noppose\noption\norange\norbit\norchard\norder\nordinary\norgan\norient\noriginal\norphan\nostrich\nother\noutdoor\nouter\noutput\noutside\noval\noven\nover\nown\nowner\noxygen\noyster\nozone\npact\npaddle\npage\npair\npalace\npalm\npanda\npanel\npanic\npanther\npaper\nparade\nparent\npark\nparrot\nparty\npass\npatch\npath\npatient\npatrol\npattern\npause\npave\npayment\npeace\npeanut\npear\npeasant\npelican\npen\npenalty\npencil\npeople\npepper\nperfect\npermit\nperson\npet\nphone\nphoto\nphrase\nphysical\npiano\npicnic\npicture\npiece\npig\npigeon\npill\npilot\npink\npioneer\npipe\npistol\npitch\npizza\nplace\nplanet\nplastic\nplate\nplay\nplease\npledge\npluck\nplug\nplunge\npoem\npoet\npoint\npolar\npole\npolice\npond\npony\npool\npopular\nportion\nposition\npossible\npost\npotato\npottery\npoverty\npowder\npower\npractice\npraise\npredict\nprefer\nprepare\npresent\npretty\nprevent\nprice\npride\nprimary\nprint\npriority\nprison\nprivate\nprize\nproblem\nprocess\nproduce\nprofit\nprogram\nproject\npromote\nproof\nproperty\nprosper\nprotect\nproud\nprovide\npublic\npudding\npull\npulp\npulse\npumpkin\npunch\npupil\npuppy\npurchase\npurity\npurpose\npurse\npush\nput\npuzzle\npyramid\nquality\nquantum\nquarter\nquestion\nquick\nquit\nquiz\nquote\nrabbit\nraccoon\nrace\nrack\nradar\nradio\nrail\nrain\nraise\nrally\nramp\nranch\nrandom\nrange\nrapid\nrare\nrate\nrather\nraven\nraw\nrazor\nready\nreal\nreason\nrebel\nrebuild\nrecall\nreceive\nrecipe\nrecord\nrecycle\nreduce\nreflect\nreform\nrefuse\nregion\nregret\nregular\nreject\nrelax\nrelease\nrelief\nrely\nremain\nremember\nremind\nremove\nrender\nrenew\nrent\nreopen\nrepair\nrepeat\nreplace\nreport\nrequire\nrescue\nresemble\nresist\nresource\nresponse\nresult\nretire\nretreat\nreturn\nreunion\nreveal\nreview\nreward\nrhythm\nrib\nribbon\nrice\nrich\nride\nridge\nrifle\nright\nrigid\nring\nriot\nripple\nrisk\nritual\nrival\nriver\nroad\nroast\nrobot\nrobust\nrocket\nromance\nroof\nrookie\nroom\nrose\nrotate\nrough\nround\nroute\nroyal\nrubber\nrude\nrug\nrule\nrun\nrunway\nrural\nsad\nsaddle\nsadness\nsafe\nsail\nsalad\nsalmon\nsalon\nsalt\nsalute\nsame\nsample\nsand\nsatisfy\nsatoshi\nsauce\nsausage\nsave\nsay\nscale\nscan\nscare\nscatter\nscene\nscheme\nschool\nscience\nscissors\nscorpion\nscout\nscrap\nscreen\nscript\nscrub\nsea\nsearch\nseason\nseat\nsecond\nsecret\nsection\nsecurity\nseed\nseek\nsegment\nselect\nsell\nseminar\nsenior\nsense\nsentence\nseries\nservice\nsession\nsettle\nsetup\nseven\nshadow\nshaft\nshallow\nshare\nshed\nshell\nsheriff\nshield\nshift\nshine\nship\nshiver\nshock\nshoe\nshoot\nshop\nshort\nshoulder\nshove\nshrimp\nshrug\nshuffle\nshy\nsibling\nsick\nside\nsiege\nsight\nsign\nsilent\nsilk\nsilly\nsilver\nsimilar\nsimple\nsince\nsing\nsiren\nsister\nsituate\nsix\nsize\nskate\nsketch\nski\nskill\nskin\nskirt\nskull\nslab\nslam\nsleep\nslender\nslice\nslide\nslight\nslim\nslogan\nslot\nslow\nslush\nsmall\nsmart\nsmile\nsmoke\nsmooth\nsnack\nsnake\nsnap\nsniff\nsnow\nsoap\nsoccer\nsocial\nsock\nsoda\nsoft\nsolar\nsoldier\nsolid\nsolution\nsolve\nsomeone\nsong\nsoon\nsorry\nsort\nsoul\nsound\nsoup\nsource\nsouth\nspace\nspare\nspatial\nspawn\nspeak\nspecial\nspeed\nspell\nspend\nsphere\nspice\nspider\nspike\nspin\nspirit\nsplit\nspoil\nsponsor\nspoon\nsport\nspot\nspray\nspread\nspring\nspy\nsquare\nsqueeze\nsquirrel\nstable\nstadium\nstaff\nstage\nstairs\nstamp\nstand\nstart\nstate\nstay\nsteak\nsteel\nstem\nstep\nstereo\nstick\nstill\nsting\nstock\nstomach\nstone\nstool\nstory\nstove\nstrategy\nstreet\nstrike\nstrong\nstruggle\nstudent\nstuff\nstumble\nstyle\nsubject\nsubmit\nsubway\nsuccess\nsuch\nsudden\nsuffer\nsugar\nsuggest\nsuit\nsummer\nsun\nsunny\nsunset\nsuper\nsupply\nsupreme\nsure\nsurface\nsurge\nsurprise\nsurround\nsurvey\nsuspect\nsustain\nswallow\nswamp\nswap\nswarm\nswear\nsweet\nswift\nswim\nswing\nswitch\nsword\nsymbol\nsymptom\nsyrup\nsystem\ntable\ntackle\ntag\ntail\ntalent\ntalk\ntank\ntape\ntarget\ntask\ntaste\ntattoo\ntaxi\nteach\nteam\ntell\nten\ntenant\ntennis\ntent\nterm\ntest\ntext\nthank\nthat\ntheme\nthen\ntheory\nthere\nthey\nthing\nthis\nthought\nthree\nthrive\nthrow\nthumb\nthunder\nticket\ntide\ntiger\ntilt\ntimber\ntime\ntiny\ntip\ntired\ntissue\ntitle\ntoast\ntobacco\ntoday\ntoddler\ntoe\ntogether\ntoilet\ntoken\ntomato\ntomorrow\ntone\ntongue\ntonight\ntool\ntooth\ntop\ntopic\ntopple\ntorch\ntornado\ntortoise\ntoss\ntotal\ntourist\ntoward\ntower\ntown\ntoy\ntrack\ntrade\ntraffic\ntragic\ntrain\ntransfer\ntrap\ntrash\ntravel\ntray\ntreat\ntree\ntrend\ntrial\ntribe\ntrick\ntrigger\ntrim\ntrip\ntrophy\ntrouble\ntruck\ntrue\ntruly\ntrumpet\ntrust\ntruth\ntry\ntube\ntuition\ntumble\ntuna\ntunnel\nturkey\nturn\nturtle\ntwelve\ntwenty\ntwice\ntwin\ntwist\ntwo\ntype\ntypical\nugly\numbrella\nunable\nunaware\nuncle\nuncover\nunder\nundo\nunfair\nunfold\nunhappy\nuniform\nunique\nunit\nuniverse\nunknown\nunlock\nuntil\nunusual\nunveil\nupdate\nupgrade\nuphold\nupon\nupper\nupset\nurban\nurge\nusage\nuse\nused\nuseful\nuseless\nusual\nutility\nvacant\nvacuum\nvague\nvalid\nvalley\nvalve\nvan\nvanish\nvapor\nvarious\nvast\nvault\nvehicle\nvelvet\nvendor\nventure\nvenue\nverb\nverify\nversion\nvery\nvessel\nveteran\nviable\nvibrant\nvicious\nvictory\nvideo\nview\nvillage\nvintage\nviolin\nvirtual\nvirus\nvisa\nvisit\nvisual\nvital\nvivid\nvocal\nvoice\nvoid\nvolcano\nvolume\nvote\nvoyage\nwage\nwagon\nwait\nwalk\nwall\nwalnut\nwant\nwarfare\nwarm\nwarrior\nwash\nwasp\nwaste\nwater\nwave\nway\nwealth\nweapon\nwear\nweasel\nweather\nweb\nwedding\nweekend\nweird\nwelcome\nwest\nwet\nwhale\nwhat\nwheat\nwheel\nwhen\nwhere\nwhip\nwhisper\nwide\nwidth\nwife\nwild\nwill\nwin\nwindow\nwine\nwing\nwink\nwinner\nwinter\nwire\nwisdom\nwise\nwish\nwitness\nwolf\nwoman\nwonder\nwood\nwool\nword\nwork\nworld\nworry\nworth\nwrap\nwreck\nwrestle\nwrist\nwrite\nwrong\nyard\nyear\nyellow\nyou\nyoung\nyouth\nzebra\nzero\nzone\nzoo".split("\n")},5856:()=>{},9598:re=>{function a(P,d,I,V,J,m,w){try{var O=P[m](w),q=O.value}catch(U){return void I(U)}O.done?d(q):Promise.resolve(q).then(V,J)}re.exports=function _(P){return function(){var d=this,I=arguments;return new Promise(function(V,J){var m=P.apply(d,I);function w(q){a(m,V,J,w,O,"next",q)}function O(q){a(m,V,J,w,O,"throw",q)}w(void 0)})}},re.exports.__esModule=!0,re.exports.default=re.exports}},ln={};function me(re){var a=ln[re];if(void 0!==a)return a.exports;var _=ln[re]={exports:{}};return tr[re](_,_.exports,me),_.exports}re=Object.getPrototypeOf?_=>Object.getPrototypeOf(_):_=>_.__proto__,me.t=function(_,P){if(1&P&&(_=this(_)),8&P||"object"==typeof _&&_&&(4&P&&_.__esModule||16&P&&"function"==typeof _.then))return _;var d=Object.create(null);me.r(d);var I={};a=a||[null,re({}),re([]),re(re)];for(var V=2&P&&_;"object"==typeof V&&!~a.indexOf(V);V=re(V))Object.getOwnPropertyNames(V).forEach(J=>I[J]=()=>_[J]);return I.default=()=>_,me.d(d,I),d},me.d=(re,a)=>{for(var _ in a)me.o(a,_)&&!me.o(re,_)&&Object.defineProperty(re,_,{enumerable:!0,get:a[_]})},me.o=(re,a)=>Object.prototype.hasOwnProperty.call(re,a),me.r=re=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(re,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(re,"__esModule",{value:!0})},(()=>{"use strict";function re(t,e,n,r,s,o,i){try{var c=t[o](i),f=c.value}catch(g){return void n(g)}c.done?e(f):Promise.resolve(f).then(r,s)}function a(t){return function(){var e=this,n=arguments;return new Promise(function(r,s){var o=t.apply(e,n);function i(f){re(o,r,s,i,c,"next",f)}function c(f){re(o,r,s,i,c,"throw",f)}i(void 0)})}}var _=me(5856),P=me.t(_,2);const d=BigInt(0),I=BigInt(1),V=BigInt(2),J=BigInt(3),m=BigInt(8),w=Object.freeze({a:d,b:BigInt(7),P:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:I,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee")}),O=(t,e)=>(t+e/V)/e,q={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar(t){const{n:e}=w,n=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-I*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),s=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),o=n,i=BigInt("0x100000000000000000000000000000000"),c=O(o*t,e),f=O(-r*t,e);let g=E(t-c*n-f*s,e),b=E(-c*r-f*o,e);const p=g>i,v=b>i;if(p&&(g=e-g),v&&(b=e-b),g>i||b>i)throw new Error("splitScalarEndo: Endomorphism failed, k="+t);return{k1neg:p,k1:g,k2neg:v,k2:b}}},U=32,H=32,z=U+1,Z=2*U+1;function G(t){const{a:e,b:n}=w,r=E(t*t),s=E(r*t);return E(s+e*t+n)}const N=w.a===d;class W extends Error{constructor(e){super(e)}}function Y(t){if(!(t instanceof T))throw new TypeError("JacobianPoint expected")}class T{constructor(e,n,r){this.x=e,this.y=n,this.z=r}static fromAffine(e){if(!(e instanceof h))throw new TypeError("JacobianPoint#fromAffine: expected Point");return e.equals(h.ZERO)?T.ZERO:new T(e.x,e.y,I)}static toAffineBatch(e){const n=function qe(t,e=w.P){const n=new Array(t.length),s=Ee(t.reduce((o,i,c)=>i===d?o:(n[c]=o,E(o*i,e)),I),e);return t.reduceRight((o,i,c)=>i===d?o:(n[c]=E(o*n[c],e),E(o*i,e)),s),n}(e.map(r=>r.z));return e.map((r,s)=>r.toAffine(n[s]))}static normalizeZ(e){return T.toAffineBatch(e).map(T.fromAffine)}equals(e){Y(e);const{x:n,y:r,z:s}=this,{x:o,y:i,z:c}=e,f=E(s*s),g=E(c*c),b=E(n*g),p=E(o*f),v=E(E(r*c)*g),B=E(E(i*s)*f);return b===p&&v===B}negate(){return new T(this.x,E(-this.y),this.z)}double(){const{x:e,y:n,z:r}=this,s=E(e*e),o=E(n*n),i=E(o*o),c=e+o,f=E(V*(E(c*c)-s-i)),g=E(J*s),b=E(g*g),p=E(b-V*f),v=E(g*(f-p)-m*i),B=E(V*n*r);return new T(p,v,B)}add(e){Y(e);const{x:n,y:r,z:s}=this,{x:o,y:i,z:c}=e;if(o===d||i===d)return this;if(n===d||r===d)return e;const f=E(s*s),g=E(c*c),b=E(n*g),p=E(o*f),v=E(E(r*c)*g),B=E(E(i*s)*f),C=E(p-b),F=E(B-v);if(C===d)return F===d?this.double():T.ZERO;const oe=E(C*C),Q=E(C*oe),ne=E(b*oe),$=E(F*F-Q-V*ne),ie=E(F*(ne-$)-v*Q),X=E(s*c*C);return new T($,ie,X)}subtract(e){return this.add(e.negate())}multiplyUnsafe(e){const n=T.ZERO;if("bigint"==typeof e&&e===d)return n;let r=ye(e);if(r===I)return this;if(!N){let p=n,v=this;for(;r>d;)r&I&&(p=p.add(v)),v=v.double(),r>>=I;return p}let{k1neg:s,k1:o,k2neg:i,k2:c}=q.splitScalar(r),f=n,g=n,b=this;for(;o>d||c>d;)o&I&&(f=f.add(b)),c&I&&(g=g.add(b)),b=b.double(),o>>=I,c>>=I;return s&&(f=f.negate()),i&&(g=g.negate()),g=new T(E(g.x*q.beta),g.y,g.z),f.add(g)}precomputeWindow(e){const n=N?128/e+1:256/e+1,r=[];let s=this,o=s;for(let i=0;i>=p,C>f&&(C-=b,e+=I);const F=B,oe=B+Math.abs(C)-1,ne=C<0;0===C?i=i.add(ee(v%2!=0,s[F])):o=o.add(ee(ne,s[oe]))}return{p:o,f:i}}multiply(e,n){let s,o,r=ye(e);if(N){const{k1neg:i,k1:c,k2neg:f,k2:g}=q.splitScalar(r);let{p:b,f:p}=this.wNAF(c,n),{p:v,f:B}=this.wNAF(g,n);b=ee(i,b),v=ee(f,v),v=new T(E(v.x*q.beta),v.y,v.z),s=b.add(v),o=p.add(B)}else{const{p:i,f:c}=this.wNAF(r,n);s=i,o=c}return T.normalizeZ([s,o])[0]}toAffine(e){const{x:n,y:r,z:s}=this,o=this.equals(T.ZERO);null==e&&(e=o?m:Ee(s));const i=e,c=E(i*i),f=E(c*i),g=E(n*c),b=E(r*f),p=E(s*i);if(o)return h.ZERO;if(p!==I)throw new Error("invZ was invalid");return new h(g,b)}}function ee(t,e){const n=e.negate();return t?n:e}T.BASE=new T(w.Gx,w.Gy,I),T.ZERO=new T(d,I,d);const S=new WeakMap;class h{constructor(e,n){this.x=e,this.y=n}_setWindowSize(e){this._WINDOW_SIZE=e,S.delete(this)}hasEvenY(){return this.y%V===d}static fromCompressedHex(e){const n=32===e.length,r=D(n?e:e.subarray(1));if(!at(r))throw new Error("Point is not on curve");let o=function Be(t){const{P:e}=w,n=BigInt(6),r=BigInt(11),s=BigInt(22),o=BigInt(23),i=BigInt(44),c=BigInt(88),f=t*t*t%e,g=f*f*t%e,b=fe(g,J)*g%e,p=fe(b,J)*g%e,v=fe(p,V)*f%e,B=fe(v,r)*v%e,C=fe(B,s)*B%e,F=fe(C,i)*C%e,oe=fe(F,c)*F%e,Q=fe(oe,i)*C%e,ne=fe(Q,J)*g%e,$=fe(ne,o)*B%e,ie=fe($,n)*f%e,X=fe(ie,V);if(X*X%e!==t)throw new Error("Cannot find square root");return X}(G(r));const i=(o&I)===I;n?i&&(o=E(-o)):1==(1&e[0])!==i&&(o=E(-o));const c=new h(r,o);return c.assertValidity(),c}static fromUncompressedHex(e){const n=D(e.subarray(1,U+1)),r=D(e.subarray(U+1,2*U+1)),s=new h(n,r);return s.assertValidity(),s}static fromHex(e){const n=ae(e),r=n.length,s=n[0];if(r===U)return this.fromCompressedHex(n);if(r===z&&(2===s||3===s))return this.fromCompressedHex(n);if(r===Z&&4===s)return this.fromUncompressedHex(n);throw new Error(`Point.fromHex: received invalid point. Expected 32-${z} compressed bytes or ${Z} uncompressed bytes, not ${r}`)}static fromPrivateKey(e){return h.BASE.multiply(De(e))}static fromSignature(e,n,r){const{r:s,s:o}=fn(n);if(![0,1,2,3].includes(r))throw new Error("Cannot recover: invalid recovery bit");const i=Ht(ae(e)),{n:c}=w,f=2===r||3===r?s+c:s,g=Ee(f,c),b=E(-i*g,c),p=E(o*g,c),B=h.fromHex((1&r?"03":"02")+A(f)),C=h.BASE.multiplyAndAddUnsafe(B,b,p);if(!C)throw new Error("Cannot recover signature: point at infinify");return C.assertValidity(),C}toRawBytes(e=!1){return be(this.toHex(e))}toHex(e=!1){const n=A(this.x);return e?`${this.hasEvenY()?"02":"03"}${n}`:`04${n}${A(this.y)}`}toHexX(){return this.toHex(!0).slice(2)}toRawX(){return this.toRawBytes(!0).slice(1)}assertValidity(){const e="Point is not on elliptic curve",{x:n,y:r}=this;if(!at(n)||!at(r))throw new Error(e);const s=E(r*r);if(E(s-G(n))!==d)throw new Error(e)}equals(e){return this.x===e.x&&this.y===e.y}negate(){return new h(this.x,E(-this.y))}double(){return T.fromAffine(this).double().toAffine()}add(e){return T.fromAffine(this).add(T.fromAffine(e)).toAffine()}subtract(e){return this.add(e.negate())}multiply(e){return T.fromAffine(this).multiply(e,this).toAffine()}multiplyAndAddUnsafe(e,n,r){const s=T.fromAffine(this),o=n===d||n===I||this!==h.BASE?s.multiplyUnsafe(n):s.multiply(n),i=T.fromAffine(e).multiplyUnsafe(r),c=o.add(i);return c.equals(T.ZERO)?void 0:c.toAffine()}}function k(t){return Number.parseInt(t[0],16)>=8?"00"+t:t}function R(t){if(t.length<2||2!==t[0])throw new Error(`Invalid signature integer tag: ${L(t)}`);const e=t[1],n=t.subarray(2,e+2);if(!e||n.length!==e)throw new Error("Invalid signature integer: wrong length");if(0===n[0]&&n[1]<=127)throw new Error("Invalid signature integer: trailing length");return{data:D(n),left:t.subarray(e+2)}}h.BASE=new h(w.Gx,w.Gy),h.ZERO=new h(d,d);class l{constructor(e,n){this.r=e,this.s=n,this.assertValidity()}static fromCompact(e){const n=e instanceof Uint8Array,r="Signature.fromCompact";if("string"!=typeof e&&!n)throw new TypeError(`${r}: Expected string or Uint8Array`);const s=n?L(e):e;if(128!==s.length)throw new Error(`${r}: Expected 64-byte hex`);return new l(he(s.slice(0,64)),he(s.slice(64,128)))}static fromDER(e){const n=e instanceof Uint8Array;if("string"!=typeof e&&!n)throw new TypeError("Signature.fromDER: Expected string or Uint8Array");const{r,s}=function x(t){if(t.length<2||48!=t[0])throw new Error(`Invalid signature tag: ${L(t)}`);if(t[1]!==t.length-2)throw new Error("Invalid signature: incorrect length");const{data:e,left:n}=R(t.subarray(2)),{data:r,left:s}=R(n);if(s.length)throw new Error(`Invalid signature: left bytes after parsing: ${L(s)}`);return{r:e,s:r}}(n?e:be(e));return new l(r,s)}static fromHex(e){return this.fromDER(e)}assertValidity(){const{r:e,s:n}=this;if(!Xe(e))throw new Error("Invalid Signature: r must be 0 < r < n");if(!Xe(n))throw new Error("Invalid Signature: s must be 0 < s < n")}hasHighS(){return this.s>w.n>>I}normalizeS(){return this.hasHighS()?new l(this.r,E(-this.s,w.n)):this}toDERRawBytes(){return be(this.toDERHex())}toDERHex(){const e=k(le(this.s)),n=k(le(this.r)),r=e.length/2,s=n.length/2,o=le(r),i=le(s);return`30${le(s+r+4)}02${i}${n}02${o}${e}`}toRawBytes(){return this.toDERRawBytes()}toHex(){return this.toDERHex()}toCompactRawBytes(){return be(this.toCompactHex())}toCompactHex(){return A(this.r)+A(this.s)}}function u(...t){if(!t.every(r=>r instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===t.length)return t[0];const e=t.reduce((r,s)=>r+s.length,0),n=new Uint8Array(e);for(let r=0,s=0;re.toString(16).padStart(2,"0"));function L(t){if(!(t instanceof Uint8Array))throw new Error("Expected Uint8Array");let e="";for(let n=0;n0)return BigInt(t);if("bigint"==typeof t&&Xe(t))return t;throw new TypeError("Expected valid private scalar: 0 < scalar < curve.n")}function E(t,e=w.P){const n=t%e;return n>=d?n:e+n}function fe(t,e){const{P:n}=w;let r=t;for(;e-- >d;)r*=r,r%=n;return r}function Ee(t,e=w.P){if(t===d||e<=d)throw new Error(`invert: expected positive integers, got n=${t} mod=${e}`);let n=E(t,e),r=e,s=d,o=I,i=I,c=d;for(;n!==d;){const g=r/n,b=r%n,p=s-i*g,v=o-c*g;r=n,n=b,s=i,o=c,i=p,c=v}if(r!==I)throw new Error("invert: does not exist");return E(s,e)}function Ht(t,e=!1){const n=function nr(t){const e=8*t.length-8*H,n=D(t);return e>0?n>>BigInt(e):n}(t);if(e)return n;const{n:r}=w;return n>=r?n-r:n}let Ze,et;class un{constructor(e,n){if(this.hashLen=e,this.qByteLen=n,"number"!=typeof e||e<2)throw new Error("hashLen must be a number");if("number"!=typeof n||n<2)throw new Error("qByteLen must be a number");this.v=new Uint8Array(e).fill(1),this.k=new Uint8Array(e).fill(0),this.counter=0}hmac(...e){return se.hmacSha256(this.k,...e)}hmacSync(...e){return et(this.k,...e)}checkSync(){if("function"!=typeof et)throw new W("hmacSha256Sync needs to be set")}incr(){if(this.counter>=1e3)throw new Error("Tried 1,000 k values for sign(), all were invalid");this.counter+=1}reseed(e=new Uint8Array){var n=this;return a(function*(){n.k=yield n.hmac(n.v,Uint8Array.from([0]),e),n.v=yield n.hmac(n.v),0!==e.length&&(n.k=yield n.hmac(n.v,Uint8Array.from([1]),e),n.v=yield n.hmac(n.v))})()}reseedSync(e=new Uint8Array){this.checkSync(),this.k=this.hmacSync(this.v,Uint8Array.from([0]),e),this.v=this.hmacSync(this.v),0!==e.length&&(this.k=this.hmacSync(this.v,Uint8Array.from([1]),e),this.v=this.hmacSync(this.v))}generate(){var e=this;return a(function*(){e.incr();let n=0;const r=[];for(;n0)e=BigInt(t);else if("string"==typeof t){if(t.length!==2*H)throw new Error("Expected 32 bytes of private key");e=he(t)}else{if(!(t instanceof Uint8Array))throw new TypeError("Expected valid private key");if(t.length!==H)throw new Error("Expected 32 bytes of private key");e=D(t)}if(!Xe(e))throw new Error("Expected private key: 0 < key < n");return e}function Bt(t){return t instanceof h?(t.assertValidity(),t):h.fromHex(t)}function fn(t){if(t instanceof l)return t.assertValidity(),t;try{return l.fromDER(t)}catch{return l.fromCompact(t)}}function dn(t){const e=t instanceof Uint8Array,n="string"==typeof t,r=(e||n)&&t.length;return e?r===z||r===Z:n?r===2*z||r===2*Z:t instanceof h}function pn(t,e,n=!1){if(dn(t))throw new TypeError("getSharedSecret: first arg must be private key");if(!dn(e))throw new TypeError("getSharedSecret: second arg must be public key");const r=Bt(e);return r.assertValidity(),r.multiply(De(t)).toRawBytes(n)}function bn(t){return D(t.length>U?t.slice(0,U):t)}function sr(t){const e=bn(t),n=E(e,w.n);return yn(n{if((t=ae(t)).length1024)throw new Error("Expected valid bytes of private key as per FIPS 186");return K(E(D(t),w.n-I)+I)},randomBytes:(t=32)=>{if(xe.web)return xe.web.getRandomValues(new Uint8Array(t));if(xe.node){const{randomBytes:e}=xe.node;return Uint8Array.from(e(t))}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:()=>se.hashToPrivateKey(se.randomBytes(H+8)),precompute(t=8,e=h.BASE){const n=e===h.BASE?e:new h(e.x,e.y);return n._setWindowSize(t),n.multiply(J),n},sha256:(t=a(function*(...e){if(xe.web){const n=yield xe.web.subtle.digest("SHA-256",u(...e));return new Uint8Array(n)}if(xe.node){const{createHash:n}=xe.node,r=n("sha256");return e.forEach(s=>r.update(s)),Uint8Array.from(r.digest())}throw new Error("The environment doesn't have sha256 function")}),function(){return t.apply(this,arguments)}),hmacSha256:function(){var t=a(function*(e,...n){if(xe.web){const r=yield xe.web.subtle.importKey("raw",e,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),s=u(...n),o=yield xe.web.subtle.sign("HMAC",r,s);return new Uint8Array(o)}if(xe.node){const{createHmac:r}=xe.node,s=r("sha256",e);return n.forEach(o=>s.update(o)),Uint8Array.from(s.digest())}throw new Error("The environment doesn't have hmac-sha256 function")});return function(n){return t.apply(this,arguments)}}(),sha256Sync:void 0,hmacSha256Sync:void 0,taggedHash:function(){var t=a(function*(e,...n){let r=ht[e];if(void 0===r){const s=yield se.sha256(Uint8Array.from(e,o=>o.charCodeAt(0)));r=u(s,s),ht[e]=r}return se.sha256(r,...n)});return function(n){return t.apply(this,arguments)}}(),taggedHashSync:(t,...e)=>{if("function"!=typeof Ze)throw new W("sha256Sync is undefined, you need to set it");let n=ht[t];if(void 0===n){const r=Ze(Uint8Array.from(t,s=>s.charCodeAt(0)));n=u(r,r),ht[t]=n}return Ze(n,...e)},_JacobianPoint:T};var t;Object.defineProperties(se,{sha256Sync:{configurable:!1,get:()=>Ze,set(t){Ze||(Ze=t)}},hmacSha256Sync:{configurable:!1,get:()=>et,set(t){et||(et=t)}}});const ft={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0},Ut=t=>new DataView(t.buffer,t.byteOffset,t.byteLength),ke=(t,e)=>t<<32-e|t>>>e;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function dt(t){if("string"==typeof t&&(t=function dr(t){if("string"!=typeof t)throw new TypeError("utf8ToBytes expected string, got "+typeof t);return(new TextEncoder).encode(t)}(t)),!(t instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof t})`);return t}function kn(t){if(!Number.isSafeInteger(t)||t<0)throw new Error(`Wrong positive integer: ${t}`)}Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0")),(()=>{const t=typeof module<"u"&&"function"==typeof module.require&&module.require.bind(module);try{if(t){const{setImmediate:e}=t("timers")}}catch{}})();class Ot{clone(){return this._cloneInto()}}class mr extends Ot{constructor(e,n,r,s){super(),this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=s,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=Ut(this.buffer)}update(e){if(this.destroyed)throw new Error("instance is destroyed");const{view:n,buffer:r,blockLen:s,finished:o}=this;if(o)throw new Error("digest() was already called");const i=(e=dt(e)).length;for(let c=0;cs-i&&(this.process(r,0),i=0);for(let f=i;f>s&o),c=Number(n&o),g=r?0:4;t.setUint32(e+(r?4:0),i,r),t.setUint32(e+g,c,r)})(r,s-8,BigInt(8*this.length),o),this.process(r,0);const c=Ut(e);this.get().forEach((f,g)=>c.setUint32(4*g,f,o))}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:s,finished:o,destroyed:i,pos:c}=this;return e.length=s,e.pos=c,e.finished=o,e.destroyed=i,s%n&&e.buffer.set(r),e}}const xr=(t,e,n)=>t&e^~t&n,vr=(t,e,n)=>t&e^t&n^e&n,Er=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Ce=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Oe=new Uint32Array(64);class Ar extends mr{constructor(){super(64,32,8,!1),this.A=0|Ce[0],this.B=0|Ce[1],this.C=0|Ce[2],this.D=0|Ce[3],this.E=0|Ce[4],this.F=0|Ce[5],this.G=0|Ce[6],this.H=0|Ce[7]}get(){const{A:e,B:n,C:r,D:s,E:o,F:i,G:c,H:f}=this;return[e,n,r,s,o,i,c,f]}set(e,n,r,s,o,i,c,f){this.A=0|e,this.B=0|n,this.C=0|r,this.D=0|s,this.E=0|o,this.F=0|i,this.G=0|c,this.H=0|f}process(e,n){for(let p=0;p<16;p++,n+=4)Oe[p]=e.getUint32(n,!1);for(let p=16;p<64;p++){const v=Oe[p-15],B=Oe[p-2],C=ke(v,7)^ke(v,18)^v>>>3,F=ke(B,17)^ke(B,19)^B>>>10;Oe[p]=F+Oe[p-7]+C+Oe[p-16]|0}let{A:r,B:s,C:o,D:i,E:c,F:f,G:g,H:b}=this;for(let p=0;p<64;p++){const B=b+(ke(c,6)^ke(c,11)^ke(c,25))+xr(c,f,g)+Er[p]+Oe[p]|0,F=(ke(r,2)^ke(r,13)^ke(r,22))+vr(r,s,o)|0;b=g,g=f,f=c,c=i+B|0,i=o,o=s,s=r,r=B+F|0}r=r+this.A|0,s=s+this.B|0,o=o+this.C|0,i=i+this.D|0,c=c+this.E|0,f=f+this.F|0,g=g+this.G|0,b=b+this.H|0,this.set(r,s,o,i,c,f,g,b)}roundClean(){Oe.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const tt=function yr(t){const e=r=>t().update(dt(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}(()=>new Ar);function Me(t){if(!Number.isSafeInteger(t))throw new Error(`Wrong integer: ${t}`)}function Ae(...t){const e=(s,o)=>i=>s(o(i));return{encode:Array.from(t).reverse().reduce((s,o)=>s?e(s,o.encode):o.encode,void 0),decode:t.reduce((s,o)=>s?e(s,o.decode):o.decode,void 0)}}function Se(t){return{encode:e=>{if(!Array.isArray(e)||e.length&&"number"!=typeof e[0])throw new Error("alphabet.encode input should be an array of numbers");return e.map(n=>{if(Me(n),n<0||n>=t.length)throw new Error(`Digit index outside alphabet: ${n} (alphabet: ${t.length})`);return t[n]})},decode:e=>{if(!Array.isArray(e)||e.length&&"string"!=typeof e[0])throw new Error("alphabet.decode input should be array of strings");return e.map(n=>{if("string"!=typeof n)throw new Error(`alphabet.decode: not string element=${n}`);const r=t.indexOf(n);if(-1===r)throw new Error(`Unknown letter: "${n}". Allowed: ${t}`);return r})}}}function _e(t=""){if("string"!=typeof t)throw new Error("join separator should be string");return{encode:e=>{if(!Array.isArray(e)||e.length&&"string"!=typeof e[0])throw new Error("join.encode input should be array of strings");for(let n of e)if("string"!=typeof n)throw new Error(`join.encode: non-string input=${n}`);return e.join(t)},decode:e=>{if("string"!=typeof e)throw new Error("join.decode input should be string");return e.split(t)}}}function nt(t,e="="){if(Me(t),"string"!=typeof e)throw new Error("padding chr should be string");return{encode(n){if(!Array.isArray(n)||n.length&&"string"!=typeof n[0])throw new Error("padding.encode input should be array of strings");for(let r of n)if("string"!=typeof r)throw new Error(`padding.encode: non-string input=${r}`);for(;n.length*t%8;)n.push(e);return n},decode(n){if(!Array.isArray(n)||n.length&&"string"!=typeof n[0])throw new Error("padding.encode input should be array of strings");for(let s of n)if("string"!=typeof s)throw new Error(`padding.decode: non-string input=${s}`);let r=n.length;if(r*t%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;r>0&&n[r-1]===e;r--)if(!((r-1)*t%8))throw new Error("Invalid padding: string has too much padding");return n.slice(0,r)}}}function Sn(t){if("function"!=typeof t)throw new Error("normalize fn should be function");return{encode:e=>e,decode:e=>t(e)}}function _n(t,e,n){if(e<2)throw new Error(`convertRadix: wrong from=${e}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: wrong to=${n}, base cannot be less than 2`);if(!Array.isArray(t))throw new Error("convertRadix: data should be array");if(!t.length)return[];let r=0;const s=[],o=Array.from(t);for(o.forEach(i=>{if(Me(i),i<0||i>=e)throw new Error(`Wrong integer: ${i}`)});;){let i=0,c=!0;for(let f=r;fe?Hn(e,t%e):t,pt=(t,e)=>t+(e-Hn(t,e));function $t(t,e,n,r){if(!Array.isArray(t))throw new Error("convertRadix2: data should be array");if(e<=0||e>32)throw new Error(`convertRadix2: wrong from=${e}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if(pt(e,n)>32)throw new Error(`convertRadix2: carry overflow from=${e} to=${n} carryBits=${pt(e,n)}`);let s=0,o=0;const i=2**n-1,c=[];for(const f of t){if(Me(f),f>=2**e)throw new Error(`convertRadix2: invalid data word=${f} from=${e}`);if(s=s<32)throw new Error(`convertRadix2: carry overflow pos=${o} from=${e}`);for(o+=e;o>=n;o-=n)c.push((s>>o-n&i)>>>0);s&=2**o-1}if(s=s<=e)throw new Error("Excess padding");if(!r&&s)throw new Error(`Non-zero padding: ${s}`);return r&&o>0&&c.push(s>>>0),c}function Te(t,e=!1){if(Me(t),t<=0||t>32)throw new Error("radix2: bits should be in (0..32]");if(pt(8,t)>32||pt(t,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!(n instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return $t(Array.from(n),8,t,!e)},decode:n=>{if(!Array.isArray(n)||n.length&&"number"!=typeof n[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from($t(n,t,8,e))}}}function Tn(t){if("function"!=typeof t)throw new Error("unsafeWrapper fn should be function");return function(...e){try{return t.apply(null,e)}catch{}}}const kr=Ae(Te(4),Se("0123456789ABCDEF"),_e("")),Sr=Ae(Te(5),Se("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),nt(5),_e("")),rt=(Ae(Te(5),Se("0123456789ABCDEFGHIJKLMNOPQRSTUV"),nt(5),_e("")),Ae(Te(5),Se("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),_e(""),Sn(t=>t.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),Ae(Te(6),Se("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),nt(6),_e(""))),_r=Ae(Te(6),Se("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),nt(6),_e("")),Rt=t=>Ae(function Bn(t){return Me(t),{encode:e=>{if(!(e instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return _n(Array.from(e),256,t)},decode:e=>{if(!Array.isArray(e)||e.length&&"number"!=typeof e[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(_n(e,t,256))}}}(58),Se(t),_e("")),bt=Rt("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),In=(Rt("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),Rt("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"),[0,2,3,5,6,7,9,10,11]),Hr={encode(t){let e="";for(let n=0;n>25;let n=(33554431&t)<<5;for(let r=0;r>r&1)&&(n^=Un[r]);return n}function Cn(t,e,n=1){const r=t.length;let s=1;for(let o=0;o126)throw new Error(`Invalid prefix (${t})`);s=st(s)^i>>5}s=st(s);for(let o=0;op)throw new TypeError(`Wrong string length: ${b.length} (${b}). Expected (8..${p})`);const v=b.toLowerCase();if(b!==v&&b!==b.toUpperCase())throw new Error("String must be lowercase or uppercase");const B=(b=v).lastIndexOf("1");if(0===B||-1===B)throw new Error('Letter "1" must be present between prefix and data only');const C=b.slice(0,B),F=b.slice(B+1);if(F.length<6)throw new Error("Data must be at least 6 characters long");const oe=jt.decode(F).slice(0,-6),Q=Cn(C,oe,e);if(!F.endsWith(Q))throw new Error(`Invalid checksum in ${b}: expected "${Q}"`);return{prefix:C,words:oe}}return{encode:function i(b,p,v=90){if("string"!=typeof b)throw new Error("bech32.encode prefix should be string, not "+typeof b);if(!Array.isArray(p)||p.length&&"number"!=typeof p[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof p);const B=b.length+7+p.length;if(!1!==v&&B>v)throw new TypeError(`Length ${B} exceeds limit ${v}`);return`${b=b.toLowerCase()}1${jt.encode(p)}${Cn(b,p,e)}`},decode:c,decodeToBytes:function g(b){const{prefix:p,words:v}=c(b,!1);return{prefix:p,words:v,bytes:r(v)}},decodeUnsafe:Tn(c),fromWords:r,fromWordsUnsafe:o,toWords:s}}const ve=On("bech32"),Tr=(On("bech32m"),{encode:t=>(new TextDecoder).decode(t),decode:t=>(new TextEncoder).encode(t)}),Lr=Ae(Te(4),Se("0123456789abcdef"),_e(""),Sn(t=>{if("string"!=typeof t||t.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof t} with length ${t.length}`);return t.toLowerCase()}));Object.keys({utf8:Tr,hex:Lr,base16:kr,base32:Sr,base64:rt,base64url:_r,base58:bt,base58xmr:Hr}).join(", ");var Rn=me(3439),Nt=me(6837);function Pt(t){if(!Number.isSafeInteger(t)||t<0)throw new Error(`Wrong positive integer: ${t}`)}function Fe(t,...e){if(!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(e.length>0&&!e.includes(t.length))throw new TypeError(`Expected Uint8Array of length ${e}, not of length=${t.length}`)}const ze={number:Pt,bool:function Ir(t){if("boolean"!=typeof t)throw new Error(`Expected boolean, not ${t}`)},bytes:Fe,hash:function Ur(t){if("function"!=typeof t||"function"!=typeof t.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Pt(t.outputLen),Pt(t.blockLen)},exists:function Cr(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")},output:function Or(t,e){Fe(t);const n=e.outputLen;if(t.lengthnew DataView(t.buffer,t.byteOffset,t.byteLength)),He=(t,e)=>t<<32-e|t>>>e;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const $r=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function jn(t){if("string"!=typeof t)throw new TypeError("utf8ToBytes expected string, got "+typeof t);return(new TextEncoder).encode(t)}function yt(t){if("string"==typeof t&&(t=jn(t)),!(t instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof t})`);return t}function gt(...t){if(!t.every(r=>r instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===t.length)return t[0];const e=t.reduce((r,s)=>r+s.length,0),n=new Uint8Array(e);for(let r=0,s=0;rt().update(yt(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}class Pn extends Nn{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,ze.hash(e);const r=yt(n);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const s=this.blockLen,o=new Uint8Array(s);o.set(r.length>s?e.create().update(r).digest():r);for(let i=0;inew Pn(t,e).update(n).digest();wt.create=(t,e)=>new Pn(t,e);class Dt extends Nn{constructor(e,n,r,s){super(),this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=s,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=Qe(this.buffer)}update(e){ze.exists(this);const{view:n,buffer:r,blockLen:s}=this,o=(e=yt(e)).length;for(let i=0;is-i&&(this.process(r,0),i=0);for(let p=i;p>s&o),c=Number(n&o),g=r?0:4;t.setUint32(e+(r?4:0),i,r),t.setUint32(e+g,c,r)})(r,s-8,BigInt(8*this.length),o),this.process(r,0);const c=Qe(e),f=this.outputLen;if(f%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const g=f/4,b=this.get();if(g>b.length)throw new Error("_sha2: outputLen bigger than state");for(let p=0;pe),Mr=qn.map(t=>(9*t+5)%16);let Mt=[qn],Ft=[Mr];for(let t=0;t<4;t++)for(let e of[Mt,Ft])e.push(e[t].map(n=>Dr[n]));const Dn=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(t=>new Uint8Array(t)),Fr=Mt.map((t,e)=>t.map(n=>Dn[e][n])),zr=Ft.map((t,e)=>t.map(n=>Dn[e][n])),Gr=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Wr=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),mt=(t,e)=>t<>>32-e;function Mn(t,e,n,r){return 0===t?e^n^r:1===t?e&n|~e&r:2===t?(e|~n)^r:3===t?e&r|n&~r:e^(n|~r)}const xt=new Uint32Array(16);class Kr extends Dt{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:e,h1:n,h2:r,h3:s,h4:o}=this;return[e,n,r,s,o]}set(e,n,r,s,o){this.h0=0|e,this.h1=0|n,this.h2=0|r,this.h3=0|s,this.h4=0|o}process(e,n){for(let B=0;B<16;B++,n+=4)xt[B]=e.getUint32(n,!0);let r=0|this.h0,s=r,o=0|this.h1,i=o,c=0|this.h2,f=c,g=0|this.h3,b=g,p=0|this.h4,v=p;for(let B=0;B<5;B++){const C=4-B,F=Gr[B],oe=Wr[B],Q=Mt[B],ne=Ft[B],$=Fr[B],ie=zr[B];for(let X=0;X<16;X++){const ce=mt(r+Mn(B,o,c,g)+xt[Q[X]]+F,$[X])+p|0;r=p,p=g,g=0|mt(c,10),c=o,o=ce}for(let X=0;X<16;X++){const ce=mt(s+Mn(C,i,f,b)+xt[ne[X]]+oe,ie[X])+v|0;s=v,v=b,b=0|mt(f,10),f=i,i=ce}}this.set(this.h1+c+b|0,this.h2+g+v|0,this.h3+p+s|0,this.h4+r+i|0,this.h0+o+f|0)}roundClean(){xt.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const Vr=Ge(()=>new Kr),Zr=(t,e,n)=>t&e^~t&n,Xr=(t,e,n)=>t&e^t&n^e&n,Yr=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),$e=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Re=new Uint32Array(64);class Fn extends Dt{constructor(){super(64,32,8,!1),this.A=0|$e[0],this.B=0|$e[1],this.C=0|$e[2],this.D=0|$e[3],this.E=0|$e[4],this.F=0|$e[5],this.G=0|$e[6],this.H=0|$e[7]}get(){const{A:e,B:n,C:r,D:s,E:o,F:i,G:c,H:f}=this;return[e,n,r,s,o,i,c,f]}set(e,n,r,s,o,i,c,f){this.A=0|e,this.B=0|n,this.C=0|r,this.D=0|s,this.E=0|o,this.F=0|i,this.G=0|c,this.H=0|f}process(e,n){for(let p=0;p<16;p++,n+=4)Re[p]=e.getUint32(n,!1);for(let p=16;p<64;p++){const v=Re[p-15],B=Re[p-2],C=He(v,7)^He(v,18)^v>>>3,F=He(B,17)^He(B,19)^B>>>10;Re[p]=F+Re[p-7]+C+Re[p-16]|0}let{A:r,B:s,C:o,D:i,E:c,F:f,G:g,H:b}=this;for(let p=0;p<64;p++){const B=b+(He(c,6)^He(c,11)^He(c,25))+Zr(c,f,g)+Yr[p]+Re[p]|0,F=(He(r,2)^He(r,13)^He(r,22))+Xr(r,s,o)|0;b=g,g=f,f=c,c=i+B|0,i=o,o=s,s=r,r=B+F|0}r=r+this.A|0,s=s+this.B|0,o=o+this.C|0,i=i+this.D|0,c=c+this.E|0,f=f+this.F|0,g=g+this.G|0,b=b+this.H|0,this.set(r,s,o,i,c,f,g,b)}roundClean(){Re.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class Qr extends Fn{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const zt=Ge(()=>new Fn),vt=(Ge(()=>new Qr),BigInt(2**32-1)),Gt=BigInt(32);function zn(t,e=!1){return e?{h:Number(t&vt),l:Number(t>>Gt&vt)}:{h:0|Number(t>>Gt&vt),l:0|Number(t&vt)}}const te_split=function Jr(t,e=!1){let n=new Uint32Array(t.length),r=new Uint32Array(t.length);for(let s=0;st>>>n,te_shrSL=(t,e,n)=>t<<32-n|e>>>n,te_rotrSH=(t,e,n)=>t>>>n|e<<32-n,te_rotrSL=(t,e,n)=>t<<32-n|e>>>n,te_rotrBH=(t,e,n)=>t<<64-n|e>>>n-32,te_rotrBL=(t,e,n)=>t>>>n-32|e<<64-n,te_add=function ds(t,e,n,r){const s=(e>>>0)+(r>>>0);return{h:t+n+(s/2**32|0)|0,l:0|s}},te_add3L=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),te_add3H=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,te_add4L=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),te_add4H=(t,e,n,r,s)=>e+n+r+s+(t/2**32|0)|0,te_add5H=(t,e,n,r,s,o)=>e+n+r+s+o+(t/2**32|0)|0,te_add5L=(t,e,n,r,s)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(s>>>0),[ps,bs]=te_split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),je=new Uint32Array(80),Ne=new Uint32Array(80);class Et extends Dt{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:e,Al:n,Bh:r,Bl:s,Ch:o,Cl:i,Dh:c,Dl:f,Eh:g,El:b,Fh:p,Fl:v,Gh:B,Gl:C,Hh:F,Hl:oe}=this;return[e,n,r,s,o,i,c,f,g,b,p,v,B,C,F,oe]}set(e,n,r,s,o,i,c,f,g,b,p,v,B,C,F,oe){this.Ah=0|e,this.Al=0|n,this.Bh=0|r,this.Bl=0|s,this.Ch=0|o,this.Cl=0|i,this.Dh=0|c,this.Dl=0|f,this.Eh=0|g,this.El=0|b,this.Fh=0|p,this.Fl=0|v,this.Gh=0|B,this.Gl=0|C,this.Hh=0|F,this.Hl=0|oe}process(e,n){for(let $=0;$<16;$++,n+=4)je[$]=e.getUint32(n),Ne[$]=e.getUint32(n+=4);for(let $=16;$<80;$++){const ie=0|je[$-15],X=0|Ne[$-15],ce=te_rotrSH(ie,X,1)^te_rotrSH(ie,X,8)^te_shrSH(ie,X,7),we=te_rotrSL(ie,X,1)^te_rotrSL(ie,X,8)^te_shrSL(ie,X,7),ue=0|je[$-2],de=0|Ne[$-2],Ie=te_rotrSH(ue,de,19)^te_rotrBH(ue,de,61)^te_shrSH(ue,de,6),ct=te_rotrSL(ue,de,19)^te_rotrBL(ue,de,61)^te_shrSL(ue,de,6),pe=te_add4L(we,ct,Ne[$-7],Ne[$-16]),Ve=te_add4H(pe,ce,Ie,je[$-7],je[$-16]);je[$]=0|Ve,Ne[$]=0|pe}let{Ah:r,Al:s,Bh:o,Bl:i,Ch:c,Cl:f,Dh:g,Dl:b,Eh:p,El:v,Fh:B,Fl:C,Gh:F,Gl:oe,Hh:Q,Hl:ne}=this;for(let $=0;$<80;$++){const ie=te_rotrSH(p,v,14)^te_rotrSH(p,v,18)^te_rotrBH(p,v,41),X=te_rotrSL(p,v,14)^te_rotrSL(p,v,18)^te_rotrBL(p,v,41),ce=p&B^~p&F,ue=te_add5L(ne,X,v&C^~v&oe,bs[$],Ne[$]),de=te_add5H(ue,Q,ie,ce,ps[$],je[$]),Ie=0|ue,ct=te_rotrSH(r,s,28)^te_rotrBH(r,s,34)^te_rotrBH(r,s,39),pe=te_rotrSL(r,s,28)^te_rotrBL(r,s,34)^te_rotrBL(r,s,39),Ve=r&o^r&c^o&c,an=s&i^s&f^i&f;Q=0|F,ne=0|oe,F=0|B,oe=0|C,B=0|p,C=0|v,({h:p,l:v}=te_add(0|g,0|b,0|de,0|Ie)),g=0|c,b=0|f,c=0|o,f=0|i,o=0|r,i=0|s;const Je=te_add3L(Ie,pe,an);r=te_add3H(Je,de,ct,Ve),s=0|Je}({h:r,l:s}=te_add(0|this.Ah,0|this.Al,0|r,0|s)),({h:o,l:i}=te_add(0|this.Bh,0|this.Bl,0|o,0|i)),({h:c,l:f}=te_add(0|this.Ch,0|this.Cl,0|c,0|f)),({h:g,l:b}=te_add(0|this.Dh,0|this.Dl,0|g,0|b)),({h:p,l:v}=te_add(0|this.Eh,0|this.El,0|p,0|v)),({h:B,l:C}=te_add(0|this.Fh,0|this.Fl,0|B,0|C)),({h:F,l:oe}=te_add(0|this.Gh,0|this.Gl,0|F,0|oe)),({h:Q,l:ne}=te_add(0|this.Hh,0|this.Hl,0|Q,0|ne)),this.set(r,s,o,i,c,f,g,b,p,v,B,C,F,oe,Q,ne)}roundClean(){je.fill(0),Ne.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class ys extends Et{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class gs extends Et{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class ws extends Et{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}const Gn=Ge(()=>new Et);Ge(()=>new ys),Ge(()=>new gs),Ge(()=>new ws),se.hmacSha256Sync=(t,...e)=>wt(zt,t,se.concatBytes(...e));const Wt=(t=>Ae(function Ln(t,e){if(Me(t),"function"!=typeof e)throw new Error("checksum fn should be function");return{encode(n){if(!(n instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const r=e(n).slice(0,t),s=new Uint8Array(n.length+t);return s.set(n),s.set(r,n.length),s},decode(n){if(!(n instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const r=n.slice(0,-t),s=e(r).slice(0,t),o=n.slice(-t);for(let i=0;it(t(e))),bt))(zt);function Wn(t){return BigInt(`0x${function Rr(t){if(!(t instanceof Uint8Array))throw new Error("Uint8Array expected");let e="";for(let n=0;n{if(!Number.isSafeInteger(t)||t<0||t>2**32-1)throw new Error(`Invalid number=${t}. Should be from 0 to 2 ** 32 - 1`);const e=new Uint8Array(4);return Qe(e).setUint32(0,t,!1),e};class We{constructor(e){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!e||"object"!=typeof e)throw new Error("HDKey.constructor must not be called directly");if(this.versions=e.versions||Kt,this.depth=e.depth||0,this.chainCode=e.chainCode,this.index=e.index||0,this.parentFingerprint=e.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(e.publicKey&&e.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(e.privateKey){if(!se.isValidPrivateKey(e.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof e.privateKey?e.privateKey:Wn(e.privateKey),this.privKeyBytes=function ms(t){return function jr(t){if("string"!=typeof t)throw new TypeError("hexToBytes: expected string, got "+typeof t);if(t.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const e=new Uint8Array(t.length/2);for(let n=0;nVr(zt(this.pubKey)))()}get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return(t=>Qe(this.pubHash).getUint32(0,!1))()}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const e=this.privateKey;if(!e)throw new Error("No private key");return Wt.encode(this.serialize(this.versions.private,gt(new Uint8Array([0]),e)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return Wt.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(e,n=Kt){if(Fe(e),8*e.length<128||8*e.length>512)throw new Error(`HDKey: wrong seed length=${e.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const r=wt(Gn,xs,e);return new We({versions:n,chainCode:r.slice(32),privateKey:r.slice(0,32)})}static fromExtendedKey(e,n=Kt){const r=Wt.decode(e),s=Qe(r),o=s.getUint32(0,!1),i={versions:n,depth:r[4],parentFingerprint:s.getUint32(5,!1),index:s.getUint32(9,!1),chainCode:r.slice(13,45)},c=r.slice(45),f=0===c[0];if(o!==n[f?"private":"public"])throw new Error("Version mismatch");return new We(f?{...i,privateKey:c.slice(1)}:{...i,publicKey:c})}static fromJSON(e){return We.fromExtendedKey(e.xpriv)}derive(e){if(!/^[mM]'?/.test(e))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(e))return this;const n=e.replace(/^[mM]'?\//,"").split("/");let r=this;for(const s of n){const o=/^(\d+)('?)$/.exec(s);if(!o||3!==o.length)throw new Error(`Invalid child index: ${s}`);let i=+o[1];if(!Number.isSafeInteger(i)||i>=Vt)throw new Error("Invalid index");"'"===o[2]&&(i+=Vt),r=r.deriveChild(i)}return r}deriveChild(e){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let n=At(e);if(e>=Vt){const c=this.privateKey;if(!c)throw new Error("Could not derive hardened child key");n=gt(new Uint8Array([0]),c,n)}else n=gt(this.pubKey,n);const r=wt(Gn,this.chainCode,n),s=Wn(r.slice(0,32)),o=r.slice(32);if(!se.isValidPrivateKey(s))throw new Error("Tweak bigger than curve order");const i={versions:this.versions,chainCode:o,depth:this.depth+1,parentFingerprint:this.fingerprint,index:e};try{if(this.privateKey){const c=se.mod(this.privKey+s,w.n);if(!se.isValidPrivateKey(c))throw new Error("The tweak was out of range or the resulted private key is invalid");i.privateKey=c}else{const c=h.fromHex(this.pubKey).add(h.fromPrivateKey(s));if(c.equals(h.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");i.publicKey=c.toRawBytes(!0)}return new We(i)}catch{return this.deriveChild(e+1)}}sign(e){if(!this.privateKey)throw new Error("No privateKey set!");return Fe(e,32),function or(t,e,n={}){const{seed:r,m:s,d:o}=function gn(t,e,n){if(null==t)throw new Error(`sign: expected valid message hash, not "${t}"`);const r=ae(t),s=De(e),o=[yn(s),sr(r)];if(null!=n){!0===n&&(n=se.randomBytes(U));const f=ae(n);if(f.length!==U)throw new Error(`sign: Expected ${U} bytes of extra data`);o.push(f)}return{seed:u(...o),m:bn(r),d:s}}(t,e,n.extraEntropy),i=new un(32,H);let c;for(i.reseedSync(r);!(c=hn(i.generateSync(),s,o,n.canonical));)i.reseedSync();return function wn(t,e){const{sig:n,recovery:r}=t,{der:s,recovered:o}=Object.assign({canonical:!0,der:!0},e),i=s?n.toDERRawBytes():n.toCompactRawBytes();return o?[i,r]:i}(c,n)}(e,this.privKey,{canonical:!0,der:!1})}verify(e,n){if(Fe(e,32),Fe(n,64),!this.publicKey)throw new Error("No publicKey set!");let r;try{r=l.fromCompact(n)}catch{return!1}return function cr(t,e,n,r=ir){let s;try{s=fn(t),e=ae(e)}catch{return!1}const{r:o,s:i}=s;if(r.strict&&s.hasHighS())return!1;const c=Ht(e);let f;try{f=Bt(n)}catch{return!1}const{n:g}=w,b=Ee(i,g),p=E(c*b,g),v=E(o*b,g),B=h.BASE.multiplyAndAddUnsafe(f,p,v);return!!B&&E(B.x,g)===o}(r,e,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(e,n){if(!this.chainCode)throw new Error("No chainCode set");return Fe(n,33),gt(At(e),new Uint8Array([this.depth]),At(this.parentFingerprint),At(this.index),this.chainCode,n)}}class Kn extends Ot{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,function pr(t){if("function"!=typeof t||"function"!=typeof t.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");kn(t.outputLen),kn(t.blockLen)}(e);const r=dt(n);if(this.iHash=e.create(),!(this.iHash instanceof Ot))throw new TypeError("Expected instance of class which extends utils.Hash");const s=this.blockLen=this.iHash.blockLen;this.outputLen=this.iHash.outputLen;const o=new Uint8Array(s);o.set(r.length>this.iHash.blockLen?e.create().update(r).digest():r);for(let i=0;inew Kn(t,e).update(n).digest();Vn.create=(t,e)=>new Kn(t,e);var As=Object.defineProperty,Pe=(t,e)=>{for(var n in e)As(t,n,{get:e[n],enumerable:!0})};function Zn(t){return se.bytesToHex(ut.getPublicKey(t))}Pe({},{insertEventIntoAscendingList:()=>_s,insertEventIntoDescendingList:()=>Ss,normalizeURL:()=>kt,utf8Decoder:()=>Ke,utf8Encoder:()=>Le});var Ke=new TextDecoder("utf-8"),Le=new TextEncoder;function kt(t){let e=new URL(t);return e.pathname=e.pathname.replace(/\/+/g,"/"),e.pathname.endsWith("/")&&(e.pathname=e.pathname.slice(0,-1)),("80"===e.port&&"ws:"===e.protocol||"443"===e.port&&"wss:"===e.protocol)&&(e.port=""),e.searchParams.sort(),e.hash="",e.toString()}function Ss(t,e){let s,n=0,r=t.length-1,o=n;if(r<0)o=0;else if(e.created_at=t[n].created_at)o=n;else for(;;){if(r<=n+1){o=r;break}if(s=Math.floor(n+(r-n)/2),t[s].created_at>e.created_at)n=s;else{if(!(t[s].created_att[r].created_at)o=r+1;else if(e.created_at<=t[n].created_at)o=n;else for(;;){if(r<=n+1){o=r;break}if(s=Math.floor(n+(r-n)/2),t[s].created_ate.created_at)){o=s;break}r=s}}return t[o]?.id!==e.id?[...t.slice(0,o),e,...t.slice(o)]:t}var _t,Zt=(t=>(t[t.Metadata=0]="Metadata",t[t.Text=1]="Text",t[t.RecommendRelay=2]="RecommendRelay",t[t.Contacts=3]="Contacts",t[t.EncryptedDirectMessage=4]="EncryptedDirectMessage",t[t.EventDeletion=5]="EventDeletion",t[t.Reaction=7]="Reaction",t[t.ChannelCreation=40]="ChannelCreation",t[t.ChannelMetadata=41]="ChannelMetadata",t[t.ChannelMessage=42]="ChannelMessage",t[t.ChannelHideMessage=43]="ChannelHideMessage",t[t.ChannelMuteUser=44]="ChannelMuteUser",t[t.Report=1984]="Report",t[t.ZapRequest=9734]="ZapRequest",t[t.Zap=9735]="Zap",t[t.RelayList=10002]="RelayList",t[t.ClientAuth=22242]="ClientAuth",t[t.Article=30023]="Article",t))(Zt||{});function Yt(t){if("object"!=typeof t||"string"!=typeof t.content||"number"!=typeof t.created_at||"string"!=typeof t.pubkey||!t.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(t.tags))return!1;for(let e=0;eo===n.slice(1)&&-1!==s.indexOf(i)))return!1}return!(t.since&&e.created_at=t.until)}function St(t,e){let n=e.length+3,r=t.indexOf(`"${e}":`)+n,s=t.slice(r).indexOf('"')+r+1;return t.slice(s,s+64)}function Yn(t,e){let n=e.length,r=t.indexOf(`"${e}":`)+n+3,s=t.slice(r),o=Math.min(s.indexOf(","),s.indexOf("}"));return parseInt(s.slice(0,o),10)}function Qn(t){let e=t.slice(0,22).indexOf('"EVENT"');if(-1===e)return null;let n=t.slice(e+7+1).indexOf('"');if(-1===n)return null;let r=e+7+1+n,s=t.slice(r+1,80).indexOf('"');return-1===s?null:t.slice(r+1,r+1+s)}function Us(t,e){return e===St(t,"id")}function Cs(t,e){return e===St(t,"pubkey")}function Os(t,e){return e===Yn(t,"kind")}function Jn(t,e={}){let{listTimeout:n=3e3,getTimeout:r=3e3}=e;var s,o={},i={connect:[],disconnect:[],error:[],notice:[]},c={},f={};function b(){return b=a(function*(){return new Promise((Q,ne)=>{(s=new WebSocket(t)).onopen=()=>{i.connect.forEach(ce=>ce()),Q()},s.onerror=()=>{i.error.forEach(ce=>ce()),ne()},s.onclose=a(function*(){i.disconnect.forEach(ce=>ce())});let ie,$=[];function X(){if(0===$.length)return clearInterval(ie),void(ie=null);var ce=$.shift();if(!ce)return;let we=Qn(ce);if(we){let ue=o[we];if(ue&&ue.alreadyHaveEvent&&ue.alreadyHaveEvent(St(ce,"id"),t))return}try{let ue=JSON.parse(ce);switch(ue[0]){case"EVENT":let de=ue[1],Ie=ue[2];return void(Yt(Ie)&&o[de]&&(o[de].skipVerification||Xn(Ie))&&function Ls(t,e){for(let n=0;npe(Ie)));case"EOSE":{let pe=ue[1];return void(pe in c&&(c[pe].eose.forEach(Ve=>Ve()),c[pe].eose=[]))}case"OK":{let pe=ue[1],an=ue[3]||"";return void(pe in f&&(ue[2]?f[pe].ok.forEach(Je=>Je()):f[pe].failed.forEach(Je=>Je(an)),f[pe].ok=[],f[pe].failed=[]))}case"NOTICE":let ct=ue[1];return void i.notice.forEach(pe=>pe(ct))}}catch{return}}s.onmessage=ce=>{$.push(ce.data),ie||(ie=setInterval(X,0))}})}),b.apply(this,arguments)}function p(){return 1===s?.readyState}function B(){return B=a(function*(){p()||(yield function g(){return b.apply(this,arguments)}())}),B.apply(this,arguments)}function C(Q){return F.apply(this,arguments)}function F(){return(F=a(function*(Q){let ne=JSON.stringify(Q);if(p()||(yield new Promise($=>setTimeout($,1e3)),p()))try{s.send(ne)}catch($){console.log($)}})).apply(this,arguments)}const oe=(Q,{skipVerification:ne=!1,alreadyHaveEvent:$=null,id:ie=Math.random().toString().slice(2)}={})=>{let X=ie;return o[X]={id:X,filters:Q,skipVerification:ne,alreadyHaveEvent:$},C(["REQ",X,...Q]),{sub:(ce,we={})=>oe(ce||Q,{skipVerification:we.skipVerification||ne,alreadyHaveEvent:we.alreadyHaveEvent||$,id:X}),unsub:()=>{delete o[X],delete c[X],C(["CLOSE",X])},on:(ce,we)=>{c[X]=c[X]||{event:[],eose:[]},c[X][ce].push(we)},off:(ce,we)=>{let ue=c[X],de=ue[ce].indexOf(we);de>=0&&ue[ce].splice(de,1)}}};return{url:t,sub:oe,on:(Q,ne)=>{i[Q].push(ne),"connect"===Q&&1===s?.readyState&&ne()},off:(Q,ne)=>{let $=i[Q].indexOf(ne);-1!==$&&i[Q].splice($,1)},list:(Q,ne)=>new Promise($=>{let ie=oe(Q,ne),X=[],ce=setTimeout(()=>{ie.unsub(),$(X)},n);ie.on("eose",()=>{ie.unsub(),clearTimeout(ce),$(X)}),ie.on("event",we=>{X.push(we)})}),get:(Q,ne)=>new Promise($=>{let ie=oe([Q],ne),X=setTimeout(()=>{ie.unsub(),$(null)},r);ie.on("event",ce=>{ie.unsub(),clearTimeout(X),$(ce)})}),publish(Q){if(!Q.id)throw new Error(`event ${Q} has no id`);let ne=Q.id;return C(["EVENT",Q]),{on:($,ie)=>{f[ne]=f[ne]||{ok:[],failed:[]},f[ne][$].push(ie)},off:($,ie)=>{let X=f[ne];if(!X)return;let ce=X[$].indexOf(ie);ce>=0&&X[$].splice(ce,1)}}},connect:function v(){return B.apply(this,arguments)},close(){i={connect:[],disconnect:[],error:[],notice:[]},c={},f={},s?.close()},get status(){return s?.readyState??3}}}function js(t,e,n){return Qt.apply(this,arguments)}function Qt(){return Qt=a(function*(t,e,n){const s=er(pn(t,"02"+e));let o=Uint8Array.from(function gr(t=32){if(ft.web)return ft.web.getRandomValues(new Uint8Array(t));if(ft.node)return new Uint8Array(ft.node.randomBytes(t).buffer);throw new Error("The environment doesn't have randomBytes function")}(16)),i=Le.encode(n),c=yield crypto.subtle.importKey("raw",s,{name:"AES-CBC"},!1,["encrypt"]),f=yield crypto.subtle.encrypt({name:"AES-CBC",iv:o},c,i);return`${rt.encode(new Uint8Array(f))}?iv=${rt.encode(new Uint8Array(o.buffer))}`}),Qt.apply(this,arguments)}function Ns(t,e,n){return Jt.apply(this,arguments)}function Jt(){return Jt=a(function*(t,e,n){let[r,s]=n.split("?iv="),i=er(pn(t,"02"+e)),c=yield crypto.subtle.importKey("raw",i,{name:"AES-CBC"},!1,["decrypt"]),f=rt.decode(r),g=rt.decode(s),b=yield crypto.subtle.decrypt({name:"AES-CBC",iv:g},c,f);return Ke.decode(b)}),Jt.apply(this,arguments)}function er(t){return t.slice(1,33)}Pe({},{getHex64:()=>St,getInt:()=>Yn,getSubscriptionId:()=>Qn,matchEventId:()=>Us,matchEventKind:()=>Os,matchEventPubkey:()=>Cs}),Pe({},{decrypt:()=>Ns,encrypt:()=>js}),Pe({},{queryProfile:()=>Ms,searchDomain:()=>Ds,useFetchImplementation:()=>qs});try{_t=fetch}catch{}function qs(t){_t=t}function Ds(t){return en.apply(this,arguments)}function en(){return en=a(function*(t,e=""){try{return(yield(yield _t(`https://${t}/.well-known/nostr.json?name=${e}`)).json()).names}catch{return{}}}),en.apply(this,arguments)}function Ms(t){return tn.apply(this,arguments)}function tn(){return tn=a(function*(t){let[e,n]=t.split("@");if(n||(n=e,e="_"),!e.match(/^[A-Za-z0-9-_]+$/))return null;let r=yield(yield _t(`https://${n}/.well-known/nostr.json?name=${e}`)).json();if(!r?.names?.[e])return null;let s=r.names[e];return{pubkey:s,relays:r.relays?.[s]||[]}}),tn.apply(this,arguments)}function zs(t,e){let r=We.fromMasterSeed((0,Nt.Z1)(t,e)).derive("m/44'/1237'/0'/0/0").privateKey;if(!r)throw new Error("could not derive private key");return se.bytesToHex(r)}function Gs(){return(0,Nt.OF)(Rn.U)}function Ws(t){return(0,Nt._I)(t,Rn.U)}Pe({},{generateSeedWords:()=>Gs,privateKeyFromSeedWords:()=>zs,validateWords:()=>Ws}),Pe({},{decode:()=>Vs,naddrEncode:()=>eo,neventEncode:()=>Js,noteEncode:()=>Ys,nprofileEncode:()=>Qs,npubEncode:()=>Xs,nsecEncode:()=>Zs});var on,it=5e3;function Vs(t){let{prefix:e,words:n}=ve.decode(t,it),r=new Uint8Array(ve.fromWords(n));switch(e){case"nprofile":{let s=nn(r);if(!s[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==s[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:se.bytesToHex(s[0][0]),relays:s[1]?s[1].map(o=>Ke.decode(o)):[]}}}case"nevent":{let s=nn(r);if(!s[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==s[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nevent",data:{id:se.bytesToHex(s[0][0]),relays:s[1]?s[1].map(o=>Ke.decode(o)):[]}}}case"naddr":{let s=nn(r);if(!s[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!s[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==s[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!s[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==s[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:Ke.decode(s[0][0]),pubkey:se.bytesToHex(s[2][0]),kind:parseInt(se.bytesToHex(s[3][0]),16),relays:s[1]?s[1].map(o=>Ke.decode(o)):[]}}}case"nsec":case"npub":case"note":return{type:e,data:se.bytesToHex(r)};default:throw new Error(`unknown prefix ${e}`)}}function nn(t){let e={},n=t;for(;n.length>0;){let r=n[0],s=n[1],o=n.slice(2,2+s);n=n.slice(2+s),!(o.lengthLe.encode(r))}),n=ve.toWords(e);return ve.encode("nprofile",n,it)}function Js(t){let e=sn({0:[se.hexToBytes(t.id)],1:(t.relays||[]).map(r=>Le.encode(r))}),n=ve.toWords(e);return ve.encode("nevent",n,it)}function eo(t){let e=new ArrayBuffer(4);new DataView(e).setUint32(0,t.kind,!1);let n=sn({0:[Le.encode(t.identifier)],1:(t.relays||[]).map(s=>Le.encode(s)),2:[se.hexToBytes(t.pubkey)],3:[new Uint8Array(e)]}),r=ve.toWords(n);return ve.encode("naddr",r,it)}function sn(t){let e=[];return Object.entries(t).forEach(([n,r])=>{r.forEach(s=>{let o=new Uint8Array(s.length+2);o.set([parseInt(n)],0),o.set([s.length],1),o.set(s,2),e.push(o)})}),se.concatBytes(...e)}function no(t,e){let n=[];(e.kind||-1)>=0&&n.push(`kind=${e.kind}`),e.until&&n.push(`created_at<${e.until}`),e.since&&n.push(`created_at>${e.since}`);let r=n.join("&");if(""===r)throw new Error("refusing to create a delegation without any conditions");let s=tt(Le.encode(`nostr:delegation:${e.pubkey}:${r}`)),o=se.bytesToHex(ut.signSync(s,t));return{from:Zn(t),to:e.pubkey,cond:r,sig:o}}function ro(t){let e=t.tags.find(c=>"delegation"===c[0]&&c.length>=4);if(!e)return null;let n=e[1],r=e[2],s=e[3],o=r.split("&");for(let c=0;c"===g&&t.created_at>parseInt(b))continue;return null}}let i=tt(Le.encode(`nostr:delegation:${t.pubkey}:${r}`));return ut.verifySync(s,i,n)?n:null}Pe({},{createDelegation:()=>no,getDelegator:()=>ro}),Pe({},{getZapEndpoint:()=>io,makeZapReceipt:()=>lo,makeZapRequest:()=>co,useFetchImplementation:()=>oo,validateZapRequest:()=>ao});try{on=fetch}catch{}function oo(t){on=t}function io(t){return cn.apply(this,arguments)}function cn(){return cn=a(function*(t){try{let e="",{lud06:n,lud16:r}=JSON.parse(t.content);if(n){let{words:i}=ve.decode(n,1e3),c=ve.fromWords(i);e=Ke.decode(c)}else{if(!r)return null;{let[i,c]=r.split("@");e=`https://${c}/.well-known/lnurlp/${i}`}}let o=yield(yield on(e)).json();if(o.allowsNostr&&o.nostrPubkey)return o.callback}catch{}return null}),cn.apply(this,arguments)}function co({profile:t,event:e,amount:n,relays:r,comment:s=""}){if(!n)throw new Error("amount not given");if(!t)throw new Error("profile not given");let o={kind:9734,created_at:Math.round(Date.now()/1e3),content:s,tags:[["p",t],["amount",n.toString()],["relays",...r]]};return e&&o.tags.push(["e",e]),o}function ao(t){let e;try{e=JSON.parse(t)}catch{return"Invalid zap request JSON."}if(!Yt(e))return"Zap request is not a valid Nostr event.";if(!Xn(e))return"Invalid signature on zap request.";let n=e.tags.find(([o,i])=>"p"===o&&i);if(!n)return"Zap request doesn't have a 'p' tag.";if(!n[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let r=e.tags.find(([o,i])=>"e"===o&&i);return r&&!r[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":e.tags.find(([o,i])=>"relays"===o&&i)?null:"Zap request doesn't have a 'relays' tag."}function lo({zapRequest:t,preimage:e,bolt11:n,paidAt:r}){let o=JSON.parse(t).tags.filter(([c])=>"e"===c||"p"===c||"a"===c),i={kind:9735,created_at:Math.round(r.getTime()/1e3),content:"",tags:[...o,["bolt11",n],["description",t]]};return e&&i.tags.push(["preimage",e]),i}se.hmacSha256Sync=(t,...e)=>Vn(tt,t,se.concatBytes(...e)),se.sha256Sync=(...t)=>tt(se.concatBytes(...t));class uo{constructor(){this.queues={profile:{active:!1,jobs:[]},event:{active:!1,jobs:[]},article:{active:!1,jobs:[]},contacts:{active:!1,jobs:[]},subscriptions:{active:!1,jobs:[]}}}enqueProfile(e){this.queues.profile.jobs.push({identifier:e,type:"Profile"})}enqueEvent(e){this.queues.event.jobs.push({identifier:e,type:"Event"})}enqueContacts(e){this.queues.contacts.jobs.push({identifier:e,type:"Contacts"})}enque(e,n){"Profile"===n?this.enqueProfile(e):"Event"===n?this.enqueEvent(e):"Contacts"===n&&this.enqueContacts(e)}}class ho{constructor(e){this.url=e,this.subscriptions=[],this.queue=new uo}publish(e){var n=this;return a(function*(){if(e.kind==Zt.Article){if(!n.relay.nip11)return void console.log(`${n.relay.url}: This relay does not return NIP-11 metadata. Article will not be published here.`);if(!n.relay.nip11.supported_nips.includes(33))return void console.log(`${n.relay.url}: This relay does not NIP-23. Article will not be published here.`);console.log(`${n.relay.url}: This relay supports NIP-23. Publishing article on this relay.`)}let r=n.relay.publish(e);r.on("ok",()=>{console.log(`${n.relay.url} has accepted our event`)}),r.on("failed",s=>{console.log(`failed to publish to ${n.relay.url}: ${s}`)})})()}enque(e){if("Profile"==e.type)this.queue.queues.profile.jobs.push(e);else if("Contacts"==e.type)this.queue.queues.contacts.jobs.push(e);else if("Event"==e.type)this.queue.queues.event.jobs.push(e);else{if("Article"!=e.type)throw Error(`This type of job (${e.type}) is currently not supported.`);this.queue.queues.article.jobs.push(e)}console.log(`${this.url}: Job enqued...processing...`),setTimeout(()=>{this.process()},500)}process(){this.processArticle(),this.processProfiles(),this.processContacts(),this.processEvents(),this.processSubscriptions()}processSubscriptions(){if(this.relay&&1==this.relay.status&&0!=this.queue.queues.subscriptions.jobs.length)for(;this.queue.queues.subscriptions.jobs.length;){const e=this.queue.queues.subscriptions.jobs.shift();e&&this.subscribe(e.filters,e.id)}}processProfiles(){if(!this.relay||1!=this.relay.status||this.queue.queues.profile.active)return void console.log(`${this.url}: processProfiles: Relay not ready or currently active: ${this.queue.queues.profile.active}.`,this.relay);if(0==this.queue.queues.profile.jobs.length)return void(this.queue.queues.profile.active=!1);this.queue.queues.profile.active=!0;const e=this.queue.queues.profile.jobs.splice(0,500).map(n=>n.identifier).filter((n,r,s)=>s.indexOf(n)===r);this.downloadProfile(e,3*e.length)}processContacts(){if(!this.relay||1!=this.relay.status||this.queue.queues.contacts.active)return;if(0==this.queue.queues.contacts.jobs.length)return void(this.queue.queues.contacts.active=!1);this.queue.queues.contacts.active=!0;const e=this.queue.queues.contacts.jobs.shift();this.downloadContacts(e.identifier,()=>{this.queue.queues.contacts.active=!1,this.processContacts()})}processEvents(){if(!this.relay||1!=this.relay.status||this.queue.queues.event.active)return void console.log(`${this.url}: processEvents: Relay not ready or currently active: ${this.queue.queues.event.active}.`,this.relay);if(console.log(`${this.url}: processEvents: Processing with downloading... Count: `+this.queue.queues.event.jobs.length),0==this.queue.queues.event.jobs.length)return void(this.queue.queues.event.active=!1);this.queue.queues.event.active=!0,console.log(this.relay);const e=this.queue.queues.event.jobs.splice(0,500).map(n=>n.identifier).filter((n,r,s)=>s.indexOf(n)===r);console.log("eventsToDownload:",e),this.downloadEvent(e,3*e.length)}processArticle(){if(!this.relay||1!=this.relay.status||this.queue.queues.article.active)return void console.log(`${this.url}: processArticle: Relay not ready or currently active: ${this.queue.queues.article.active}.`,this.relay);if(console.log(`${this.url}: processArticle: Processing with downloading... Count: `+this.queue.queues.article.jobs.length),0==this.queue.queues.article.jobs.length)return void(this.queue.queues.article.active=!1);this.queue.queues.article.active=!0,console.log(this.relay);const e=this.queue.queues.article.jobs.splice(0,500).map(n=>n.identifier).filter((n,r,s)=>s.indexOf(n)===r);console.log("articleToDownload:",e),this.downloadArticle(e,3*e.length)}connect(e){var n=this;return a(function*(){const r=Jn(n.url);n.relay=r,r.on("connect",a(function*(){console.log(`${n.url}: Connected.`),postMessage({type:"status",data:1,url:r.url}),e?(yield n.publish(e),n.disconnect(),postMessage({type:"terminated",url:n.url})):n.process()})),r.on("disconnect",()=>{console.log(`${n.url}: DISCONNECTED!`),n.subscriptions=[],postMessage({type:"status",data:0,url:r.url})}),r.on("notice",s=>{console.log(`${n.url}: NOTICE: ${s}`),postMessage({type:"notice",data:s,url:r.url})});try{yield r.connect()}catch{postMessage({type:"error",relay:n.url,error:"Unable to connect."}),console.error("Unable to connect.")}})()}disconnect(){1==this.relay.status&&(console.log(`${this.url}: relay.status: ${this.relay.status}, calling close!`),this.relay.close())}unsubscribe(e){const n=this.subscriptions.findIndex(s=>s.id===e);if(-1==n)return;const r=this.subscriptions[n];this.subscriptions.splice(n,1),r.sub?.unsub(),console.log("Unsubscribed: ",e)}clearProfileSub(){this.profileSub?.unsub(),this.profileSub=void 0}clearContactsSub(){this.contactsSub?.unsub(),this.contactsSub=void 0}clearEventSub(){this.eventSub?.unsub(),this.eventSub=void 0}clearArticleSub(){this.articleSub?.unsub(),this.articleTimer=void 0}downloadProfile(e,n=12){if(console.log("DOWNLOAD PROFILE...."),!this.relay)return void console.warn("This relay does not have active connection and download cannot be executed at this time.");this.profileSub&&(console.log("Profile sub already existed, unsub before continue."),this.clearProfileSub());const s=this.relay.sub([{kinds:[0],authors:e}]);this.profileSub=s,s.on("event",o=>{console.log("POST MESSAGE BACK TO MAIN"),postMessage({url:this.url,type:"event",data:o}),console.log("FINISHED POST MESSAGE BACK TO MAIN")}),s.on("eose",()=>{console.log("eose on profile, profile likely not found."),clearTimeout(this.profileTimer),this.clearProfileSub(),this.queue.queues.profile.active=!1,this.processProfiles()}),console.log("REGISTER TIMEOUT!!",1e3*n),this.profileTimer=setTimeout(()=>{console.warn(`${this.url}: Profile download timeout reached.`),this.clearProfileSub(),this.queue.queues.profile.active=!1,this.processProfiles(),postMessage({url:this.url,type:"timeout",data:{type:"Profile",identifier:e}})},1e3*n)}downloadContacts(e,n,r=3e3){console.log("DOWNLOAD CONTACTS....");let s=!1;if(!this.relay)return void console.warn("This relay does not have active connection and download cannot be executed at this time.");this.contactsSub&&this.clearContactsSub();const o=this.relay.sub([{kinds:[3],authors:[e]}]);this.contactsSub=o,o.on("event",i=>{postMessage({url:this.url,type:"event",data:i}),this.clearContactsSub(),clearTimeout(this.contactsTimer),s||(s=!0,n())}),this.contactsTimer=setTimeout(()=>{this.clearContactsSub(),s||(s=!0,n())},1e3*r)}downloadArticle(e,n=12){if(console.log("DOWNLOAD ARTICLE...."),!this.relay)return void console.warn("This relay does not have active connection and download cannot be executed at this time.");this.articleSub&&(console.log("Article sub already existed, unsub before continue."),this.clearArticleSub());const o=this.relay.sub([{kinds:[Zt.Article],authors:e}]);this.articleSub=o,o.on("event",i=>{console.log("POST MESSAGE BACK TO MAIN"),postMessage({url:this.url,type:"event",data:i}),console.log("FINISHED POST MESSAGE BACK TO MAIN")}),o.on("eose",()=>{console.log("eose on event."),clearTimeout(this.articleTimer),this.clearArticleSub(),this.queue.queues.article.active=!1,this.processArticle()}),console.log("REGISTER TIMEOUT!!",1e3*n),this.articleTimer=setTimeout(()=>{console.warn(`${this.url}: Event download timeout reached.`),this.clearArticleSub(),this.queue.queues.article.active=!1,this.processArticle(),postMessage({url:this.url,type:"timeout",data:{type:"Event",identifier:e}})},1e3*n)}downloadEvent(e,n=12){if(console.log("DOWNLOAD EVENT...."),!this.relay)return void console.warn("This relay does not have active connection and download cannot be executed at this time.");this.eventSub&&(console.log("Event sub already existed, unsub before continue."),this.clearEventSub());const s=this.relay.sub([{kinds:[1],ids:e}]);this.eventSub=s,s.on("event",o=>{console.log("POST MESSAGE BACK TO MAIN"),postMessage({url:this.url,type:"event",data:o}),console.log("FINISHED POST MESSAGE BACK TO MAIN")}),s.on("eose",()=>{console.log("eose on event."),clearTimeout(this.eventTimer),this.clearEventSub(),this.queue.queues.event.active=!1,this.processEvents()}),console.log("REGISTER TIMEOUT!!",1e3*n),this.eventTimer=setTimeout(()=>{console.warn(`${this.url}: Event download timeout reached.`),this.clearEventSub(),this.queue.queues.event.active=!1,this.processEvents(),postMessage({url:this.url,type:"timeout",data:{type:"Event",identifier:e}})},1e3*n)}subscribe(e,n){if(console.log("SUBSCRIBE...."),!this.relay||1!=this.relay.status)return this.queue.queues.subscriptions.jobs.push({id:n,filters:e,type:"Event",events:[]}),void console.warn("This relay does not have active connection and subscription cannot be created at this time. Subscription has been scheduled for adding later.");if(this.subscriptions.findIndex(s=>s.id==n)>-1)return void console.log("This subscription is already added!");const r=this.relay.sub(e);console.log("SUBSCRIPTION:",r),this.subscriptions.push({id:n,filters:e,sub:r,type:"Event",events:[]}),r.on("event",s=>{postMessage({url:this.url,subscription:n,type:"event",data:s})}),r.on("eose",()=>{console.log("eose on:",this.url)})}info(){var e=this;return a(function*(){try{const n=new URL(e.url),s=`${"ws:"===n.protocol?"http":"https"}://${n.host}`,o=yield fetch(s,{method:"GET",mode:"cors",headers:{Accept:"application/nostr+json"}});if(200===o.status){const i=yield o.json();e.relay.nip11=i,postMessage({type:"nip11",data:i,url:e.url})}else postMessage({type:"nip11",data:{error:`Unable to get NIP-11 data. Status: ${o.statusText}`},url:e.url})}catch(n){console.warn(n),postMessage({type:"nip11",data:{error:`Unable to get NIP-11 data. Status: ${n}`},url:e.url})}})()}}let ge;addEventListener("message",function(){var t=a(function*(e){console.log(`${ge?.url}: MESSAGE RECEIVED IN RELAY WORKER!!`,JSON.stringify(e.data));const n=e.data;switch(n.type){case"connect":if(ge&&ge.relay&&1==ge.relay.status){console.log("Already connected...");break}ge=new ho(n.data.url),yield ge.connect(n.data.event),yield ge.info();break;case"disconnect":ge.disconnect();break;case"publish":yield ge.publish(n.data);break;case"enque":yield ge.enque(n.data);break;case"subscribe":yield ge.subscribe(n.data.filters,n.data.id);break;case"unsubscribe":yield ge.unsubscribe(n.data);break;case"terminate":try{ge.disconnect()}catch(r){console.error("Error during disconnect.",r)}console.log(`${ge.url}: Sending 'terminated' event.`),postMessage({type:"terminated",url:ge.url})}});return function(e){return t.apply(this,arguments)}}())})()})(); \ No newline at end of file diff --git a/index.html b/index.html index 14c4c51..8028f15 100644 --- a/index.html +++ b/index.html @@ -19,12 +19,12 @@ } - +
Blockcore Notes loading...
- + \ No newline at end of file diff --git a/main.78a583db4ff9e76e.js b/main.78a583db4ff9e76e.js new file mode 100644 index 0000000..2a87001 --- /dev/null +++ b/main.78a583db4ff9e76e.js @@ -0,0 +1 @@ +(self.webpackChunkblockcore_notes=self.webpackChunkblockcore_notes||[]).push([[179],{5922:(ye,S,T)=>{"use strict";function E(i){return"function"==typeof i}function g(i){const e=i(n=>{Error.call(n),n.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const b=g(i=>function(e){i(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function _(i,t){if(i){const e=i.indexOf(t);0<=e&&i.splice(e,1)}}class x{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const a of e)a.remove(this);else e.remove(this);const{initialTeardown:n}=this;if(E(n))try{n()}catch(a){t=a instanceof b?a.errors:[a]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const a of r)try{P(a)}catch(o){t=t??[],o instanceof b?t=[...t,...o.errors]:t.push(o)}}if(t)throw new b(t)}}add(t){var e;if(t&&t!==this)if(this.closed)P(t);else{if(t instanceof x){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&_(e,t)}remove(t){const{_finalizers:e}=this;e&&_(e,t),t instanceof x&&t._removeParent(this)}}x.EMPTY=(()=>{const i=new x;return i.closed=!0,i})();const C=x.EMPTY;function I(i){return i instanceof x||i&&"closed"in i&&E(i.remove)&&E(i.add)&&E(i.unsubscribe)}function P(i){E(i)?i():i.unsubscribe()}const O={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},U={setTimeout(i,t,...e){const{delegate:n}=U;return n?.setTimeout?n.setTimeout(i,t,...e):setTimeout(i,t,...e)},clearTimeout(i){const{delegate:t}=U;return(t?.clearTimeout||clearTimeout)(i)},delegate:void 0};function Q(i){U.setTimeout(()=>{const{onUnhandledError:t}=O;if(!t)throw i;t(i)})}function j(){}const V=ie("C",void 0,void 0);function ie(i,t,e){return{kind:i,value:t,error:e}}let q=null;function z(i){if(O.useDeprecatedSynchronousErrorHandling){const t=!q;if(t&&(q={errorThrown:!1,error:null}),i(),t){const{errorThrown:e,error:n}=q;if(q=null,e)throw n}}else i()}class le extends x{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,I(t)&&t.add(this)):this.destination=ge}static create(t,e,n){return new he(t,e,n)}next(t){this.isStopped?me(function G(i){return ie("N",i,void 0)}(t),this):this._next(t)}error(t){this.isStopped?me(function ne(i){return ie("E",void 0,i)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?me(V,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()}}}const ee=Function.prototype.bind;function K(i,t){return ee.call(i,t)}class ae{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(n){re(n)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(n){re(n)}else re(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){re(e)}}}class he extends le{constructor(t,e,n){let r;if(super(),E(t)||!t)r={next:t??void 0,error:e??void 0,complete:n??void 0};else{let a;this&&O.useDeprecatedNextContext?(a=Object.create(t),a.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&K(t.next,a),error:t.error&&K(t.error,a),complete:t.complete&&K(t.complete,a)}):r=t}this.destination=new ae(r)}}function re(i){O.useDeprecatedSynchronousErrorHandling?function ce(i){O.useDeprecatedSynchronousErrorHandling&&q&&(q.errorThrown=!0,q.error=i)}(i):Q(i)}function me(i,t){const{onStoppedNotification:e}=O;e&&U.setTimeout(()=>e(i,t))}const ge={closed:!0,next:j,error:function de(i){throw i},complete:j},ve="function"==typeof Symbol&&Symbol.observable||"@@observable";function ze(i){return i}function st(i){return 0===i.length?ze:1===i.length?i[0]:function(e){return i.reduce((n,r)=>r(n),e)}}let mt=(()=>{class i{constructor(e){e&&(this._subscribe=e)}lift(e){const n=new i;return n.source=this,n.operator=e,n}subscribe(e,n,r){const a=function ft(i){return i&&i instanceof le||function Zt(i){return i&&E(i.next)&&E(i.error)&&E(i.complete)}(i)&&I(i)}(e)?e:new he(e,n,r);return z(()=>{const{operator:o,source:c}=this;a.add(o?o.call(a,c):c?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(e){try{return this._subscribe(e)}catch(n){e.error(n)}}forEach(e,n){return new(n=At(n))((r,a)=>{const o=new he({next:c=>{try{e(c)}catch(h){a(h),o.unsubscribe()}},error:a,complete:r});this.subscribe(o)})}_subscribe(e){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(e)}[ve](){return this}pipe(...e){return st(e)(this)}toPromise(e){return new(e=At(e))((n,r)=>{let a;this.subscribe(o=>a=o,o=>r(o),()=>n(a))})}}return i.create=t=>new i(t),i})();function At(i){var t;return null!==(t=i??O.Promise)&&void 0!==t?t:Promise}const ii=g(i=>function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let He=(()=>{class i extends mt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const n=new gi(this,this);return n.operator=e,n}_throwIfClosed(){if(this.closed)throw new ii}next(e){z(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const n of this.currentObservers)n.next(e)}})}error(e){z(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:n}=this;for(;n.length;)n.shift().error(e)}})}complete(){z(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:n,isStopped:r,observers:a}=this;return n||r?C:(this.currentObservers=null,a.push(e),new x(()=>{this.currentObservers=null,_(a,e)}))}_checkFinalizedStatuses(e){const{hasError:n,thrownError:r,isStopped:a}=this;n?e.error(r):a&&e.complete()}asObservable(){const e=new mt;return e.source=this,e}}return i.create=(t,e)=>new gi(t,e),i})();class gi extends He{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)}error(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:C}}function nt(i){return E(i?.lift)}function ei(i){return t=>{if(nt(t))return t.lift(function(e){try{return i(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function zt(i,t,e,n,r){return new yn(i,t,e,n,r)}class yn extends le{constructor(t,e,n,r,a,o){super(t),this.onFinalize=a,this.shouldUnsubscribe=o,this._next=e?function(c){try{e(c)}catch(h){t.error(h)}}:super._next,this._error=r?function(c){try{r(c)}catch(h){t.error(h)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function bt(i,t){return ei((e,n)=>{let r=0;e.subscribe(zt(n,a=>{n.next(i.call(t,a,r++))}))})}function $r(i){return this instanceof $r?(this.v=i,this):new $r(i)}function Lt(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,t=i[Symbol.asyncIterator];return t?t.call(i):(i=function Gi(i){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&i[t],n=0;if(e)return e.call(i);if(i&&"number"==typeof i.length)return{next:function(){return i&&n>=i.length&&(i=void 0),{value:i&&i[n++],done:!i}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(a){e[a]=i[a]&&function(o){return new Promise(function(c,h){!function r(a,o,c,h){Promise.resolve(h).then(function(f){a({value:f,done:c})},o)}(c,h,(o=i[a](o)).done,o.value)})}}}const ma=i=>i&&"number"==typeof i.length&&"function"!=typeof i;function Aa(i){return E(i?.then)}function Pr(i){return E(i[ve])}function Fr(i){return Symbol.asyncIterator&&E(i?.[Symbol.asyncIterator])}function ho(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Ar=function Kr(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function ss(i){return E(i?.[Ar])}function ia(i){return function Rr(i,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,n=e.apply(i,t||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(W){n[W]&&(r[W]=function(te){return new Promise(function(fe,we){a.push([W,te,fe,we])>1||c(W,te)})})}function c(W,te){try{!function h(W){W.value instanceof $r?Promise.resolve(W.value.v).then(f,F):R(a[0][2],W)}(n[W](te))}catch(fe){R(a[0][3],fe)}}function f(W){c("next",W)}function F(W){c("throw",W)}function R(W,te){W(te),a.shift(),a.length&&c(a[0][0],a[0][1])}}(this,arguments,function*(){const e=i.getReader();try{for(;;){const{value:n,done:r}=yield $r(e.read());if(r)return yield $r(void 0);yield yield $r(n)}}finally{e.releaseLock()}})}function oa(i){return E(i?.getReader)}function dn(i){if(i instanceof mt)return i;if(null!=i){if(Pr(i))return function Ta(i){return new mt(t=>{const e=i[ve]();if(E(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(i);if(ma(i))return function Vt(i){return new mt(t=>{for(let e=0;e{i.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Q)})}(i);if(Fr(i))return Yt(i);if(ss(i))return function Ia(i){return new mt(t=>{for(const e of i)if(t.next(e),t.closed)return;t.complete()})}(i);if(oa(i))return function mo(i){return Yt(ia(i))}(i)}throw ho(i)}function Yt(i){return new mt(t=>{(function vn(i,t){var e,n,r,a;return function cn(i,t,e,n){return new(e||(e=Promise))(function(a,o){function c(F){try{f(n.next(F))}catch(R){o(R)}}function h(F){try{f(n.throw(F))}catch(R){o(R)}}function f(F){F.done?a(F.value):function r(a){return a instanceof e?a:new e(function(o){o(a)})}(F.value).then(c,h)}f((n=n.apply(i,t||[])).next())})}(this,void 0,void 0,function*(){try{for(e=Lt(i);!(n=yield e.next()).done;)if(t.next(n.value),t.closed)return}catch(o){r={error:o}}finally{try{n&&!n.done&&(a=e.return)&&(yield a.call(e))}finally{if(r)throw r.error}}t.complete()})})(i,t).catch(e=>t.error(e))})}function Xn(i,t,e,n=0,r=!1){const a=t.schedule(function(){e(),r?i.add(this.schedule(null,n)):this.unsubscribe()},n);if(i.add(a),!r)return a}function _i(i,t,e=1/0){return E(t)?_i((n,r)=>bt((a,o)=>t(n,a,r,o))(dn(i(n,r))),e):("number"==typeof t&&(e=t),ei((n,r)=>function ls(i,t,e,n,r,a,o,c){const h=[];let f=0,F=0,R=!1;const W=()=>{R&&!h.length&&!f&&t.complete()},te=we=>f{a&&t.next(we),f++;let Ae=!1;dn(e(we,F++)).subscribe(zt(t,Ne=>{r?.(Ne),a?te(Ne):t.next(Ne)},()=>{Ae=!0},void 0,()=>{if(Ae)try{for(f--;h.length&&ffe(Ne)):fe(Ne)}W()}catch(Ne){t.error(Ne)}}))};return i.subscribe(zt(t,te,()=>{R=!0,W()})),()=>{c?.()}}(n,r,i,e)))}function _r(i=1/0){return _i(ze,i)}const an=new mt(i=>i.complete());function Qr(i){return i&&E(i.schedule)}function na(i){return i[i.length-1]}function Qa(i){return E(na(i))?i.pop():void 0}function fo(i){return Qr(na(i))?i.pop():void 0}function dr(i,t=0){return ei((e,n)=>{e.subscribe(zt(n,r=>Xn(n,i,()=>n.next(r),t),()=>Xn(n,i,()=>n.complete(),t),r=>Xn(n,i,()=>n.error(r),t)))})}function pt(i,t=0){return ei((e,n)=>{n.add(i.schedule(()=>e.subscribe(n),t))})}function on(i,t){if(!i)throw new Error("Iterable cannot be null");return new mt(e=>{Xn(e,t,()=>{const n=i[Symbol.asyncIterator]();Xn(e,t,()=>{n.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function Jn(i,t){return t?function nn(i,t){if(null!=i){if(Pr(i))return function El(i,t){return dn(i).pipe(pt(t),dr(t))}(i,t);if(ma(i))return function Io(i,t){return new mt(e=>{let n=0;return t.schedule(function(){n===i.length?e.complete():(e.next(i[n++]),e.closed||this.schedule())})})}(i,t);if(Aa(i))return function ur(i,t){return dn(i).pipe(pt(t),dr(t))}(i,t);if(Fr(i))return on(i,t);if(ss(i))return function Kc(i,t){return new mt(e=>{let n;return Xn(e,t,()=>{n=i[Ar](),Xn(e,t,()=>{let r,a;try{({value:r,done:a}=n.next())}catch(o){return void e.error(o)}a?e.complete():e.next(r)},0,!0)}),()=>E(n?.return)&&n.return()})}(i,t);if(oa(i))return function On(i,t){return on(ia(i),t)}(i,t)}throw ho(i)}(i,t):dn(i)}function Rn(...i){const t=fo(i),e=function Za(i,t){return"number"==typeof na(i)?i.pop():t}(i,1/0),n=i;return n.length?1===n.length?dn(n[0]):_r(e)(Jn(n,t)):an}function Xa(i={}){const{connector:t=(()=>new He),resetOnError:e=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=i;return a=>{let o,c,h,f=0,F=!1,R=!1;const W=()=>{c?.unsubscribe(),c=void 0},te=()=>{W(),o=h=void 0,F=R=!1},fe=()=>{const we=o;te(),we?.unsubscribe()};return ei((we,Ae)=>{f++,!R&&!F&&W();const Ne=h=h??t();Ae.add(()=>{f--,0===f&&!R&&!F&&(c=Sn(fe,r))}),Ne.subscribe(Ae),!o&&f>0&&(o=new he({next:et=>Ne.next(et),error:et=>{R=!0,W(),c=Sn(te,e,et),Ne.error(et)},complete:()=>{F=!0,W(),c=Sn(te,n),Ne.complete()}}),dn(we).subscribe(o))})(a)}}function Sn(i,t,...e){if(!0===t)return void i();if(!1===t)return;const n=new he({next:()=>{n.unsubscribe(),i()}});return dn(t(...e)).subscribe(n)}function Xi(i){for(let t in i)if(i[t]===Xi)return t;throw Error("Could not find renamed property on target object.")}function ac(i,t){for(const e in t)t.hasOwnProperty(e)&&!i.hasOwnProperty(e)&&(i[e]=t[e])}function Pi(i){if("string"==typeof i)return i;if(Array.isArray(i))return"["+i.map(Pi).join(", ")+"]";if(null==i)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;const t=i.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function Yi(i,t){return null==i||""===i?null===t?"":t:null==t||""===t?i:i+" "+t}const Ja=Xi({__forward_ref__:Xi});function ci(i){return i.__forward_ref__=ci,i.toString=function(){return Pi(this())},i}function Pt(i){return Tr(i)?i():i}function Tr(i){return"function"==typeof i&&i.hasOwnProperty(Ja)&&i.__forward_ref__===ci}function qe(i){return i&&!!i.\u0275providers}const oi="https://g.co/ng/security#xss";class Je extends Error{constructor(t,e){super(hr(t,e)),this.code=t}}function hr(i,t){return`NG0${Math.abs(i)}${t?": "+t.trim():""}`}function Bi(i){return"string"==typeof i?i:null==i?"":String(i)}function Js(i,t){throw new Je(-201,!1)}function va(i,t){null==i&&function jn(i,t,e,n){throw new Error(`ASSERTION ERROR: ${i}`+(null==n?"":` [Expected=> ${e} ${n} ${t} <=Actual]`))}(t,i,null,"!=")}function it(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function It(i){return{providers:i.providers||[],imports:i.imports||[]}}function Lo(i){return Ir(i,Oo)||Ir(i,us)}function Ir(i,t){return i.hasOwnProperty(t)?i[t]:null}function io(i){return i&&(i.hasOwnProperty(Sl)||i.hasOwnProperty(Mi))?i[Sl]:null}const Oo=Xi({\u0275prov:Xi}),Sl=Xi({\u0275inj:Xi}),us=Xi({ngInjectableDef:Xi}),Mi=Xi({ngInjectorDef:Xi});var si=(()=>((si=si||{})[si.Default=0]="Default",si[si.Host=1]="Host",si[si.Self=2]="Self",si[si.SkipSelf=4]="SkipSelf",si[si.Optional=8]="Optional",si))();let Nr;function Na(i){const t=Nr;return Nr=i,t}function rt(i,t,e){const n=Lo(i);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:e&si.Optional?null:void 0!==t?t:void Js(Pi(i))}const Li=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),La={},Po="__NG_DI_FLAG__",wo="ngTempTokenPath",Hr="ngTokenPath",wa=/\n/gm,il="\u0275",Bo="__source";let Fo;function kn(i){const t=Fo;return Fo=i,t}function bi(i,t=si.Default){if(void 0===Fo)throw new Je(-203,!1);return null===Fo?rt(i,void 0,t):Fo.get(i,t&si.Optional?null:void 0,t)}function Ee(i,t=si.Default){return(function hs(){return Nr}()||bi)(Pt(i),t)}function Xt(i,t=si.Default){return Ee(i,Ho(t))}function Ho(i){return typeof i>"u"||"number"==typeof i?i:0|(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function Al(i){const t=[];for(let e=0;e((no=no||{})[no.OnPush=0]="OnPush",no[no.Default=1]="Default",no))(),Fe=(()=>{return(i=Fe||(Fe={}))[i.Emulated=0]="Emulated",i[i.None=2]="None",i[i.ShadowDom=3]="ShadowDom",Fe;var i})();const Me={},Ce=[],gt=Xi({\u0275cmp:Xi}),vt=Xi({\u0275dir:Xi}),Fi=Xi({\u0275pipe:Xi}),Si=Xi({\u0275mod:Xi}),xi=Xi({\u0275fac:Xi}),$t=Xi({__NG_ELEMENT_ID__:Xi});let qn=0;function $e(i){return Fa(()=>{const e=!0===i.standalone,n={},r={type:i.type,providersResolver:null,decls:i.decls,vars:i.vars,factory:null,template:i.template||null,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:i.exportAs||null,onPush:i.changeDetection===no.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&i.dependencies||null,getStandaloneInjector:null,selectors:i.selectors||Ce,viewQuery:i.viewQuery||null,features:i.features||null,data:i.data||{},encapsulation:i.encapsulation||Fe.Emulated,id:"c"+qn++,styles:i.styles||Ce,_:null,setInput:null,schemas:i.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},a=i.dependencies,o=i.features;return r.inputs=fs(i.inputs,n),r.outputs=fs(i.outputs),o&&o.forEach(c=>c(r)),r.directiveDefs=a?()=>("function"==typeof a?a():a).map(ms).filter(xa):null,r.pipeDefs=a?()=>("function"==typeof a?a():a).map(l).filter(xa):null,r})}function ms(i){return Y(i)||s(i)}function xa(i){return null!==i}function Dt(i){return Fa(()=>({type:i.type,bootstrap:i.bootstrap||Ce,declarations:i.declarations||Ce,imports:i.imports||Ce,exports:i.exports||Ce,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function fs(i,t){if(null==i)return Me;const e={};for(const n in i)if(i.hasOwnProperty(n)){let r=i[n],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),e[r]=n,t&&(t[r]=a)}return e}const Oe=$e;function Lr(i){return{type:i.type,name:i.name,factory:null,pure:!1!==i.pure,standalone:!0===i.standalone,onDestroy:i.type.prototype.ngOnDestroy||null}}function Y(i){return i[gt]||null}function s(i){return i[vt]||null}function l(i){return i[Fi]||null}function u(i,t){const e=i[Si]||null;if(!e&&!0===t)throw new Error(`Type ${Pi(i)} does not have '\u0275mod' property.`);return e}const m=0,p=1,v=2,M=3,H=4,$=5,ue=6,_e=7,xe=8,Le=9,je=10,Ye=11,Xe=12,kt=13,Ut=14,lt=15,Ai=16,yi=17,Dr=18,Zr=19,fa=20,ar=21,sn=22,nl=1,rl=2,Qd=7,Zd=8,Xd=9,xo=10;function Qo(i){return Array.isArray(i)&&"object"==typeof i[nl]}function Ds(i){return Array.isArray(i)&&!0===i[nl]}function Mp(i){return 0!=(4&i.flags)}function ih(i){return i.componentOffset>-1}function wm(i){return 1==(1&i.flags)}function Ms(i){return null!==i.template}function fw(i){return 0!=(256&i[v])}function mc(i,t){return i.hasOwnProperty(xi)?i[xi]:null}class ww{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function mr(){return H0}function H0(i){return i.type.prototype.ngOnChanges&&(i.setInput=xw),Fw}function Fw(){const i=Y0(this),t=i?.current;if(t){const e=i.previous;if(e===Me)i.previous=t;else for(let n in t)e[n]=t[n];i.current=null,this.ngOnChanges(t)}}function xw(i,t,e,n){const r=this.declaredInputs[e],a=Y0(i)||function kw(i,t){return i[V0]=t}(i,{previous:Me,current:null}),o=a.current||(a.current={}),c=a.previous,h=c[r];o[r]=new ww(h&&h.currentValue,t,c===Me),i[n]=t}mr.ngInherit=!0;const V0="__ngSimpleChanges__";function Y0(i){return i[V0]||null}const ps=function(i,t,e){},j0="svg";function ro(i){for(;Array.isArray(i);)i=i[m];return i}function xm(i,t){return ro(t[i])}function Zo(i,t){return ro(t[i.index])}function U0(i,t){return i.data[t]}function Jd(i,t){return i[t]}function Xo(i,t){const e=t[i];return Qo(e)?e:e[m]}function eu(i){return 64==(64&i[v])}function fc(i,t){return null==t?null:i[t]}function W0(i){i[Dr]=0}function ah(i,t){i[$]+=t;let e=i,n=i[M];for(;null!==n&&(1===t&&1===e[$]||-1===t&&0===e[$]);)n[$]+=t,e=n,n=n[M]}const qi={lFrame:Np(null),bindingsEnabled:!0};function q0(){return qi.bindingsEnabled}function Ft(){return qi.lFrame.lView}function zn(){return qi.lFrame.tView}function Te(i){return qi.lFrame.contextLView=i,i[xe]}function Ie(i){return qi.lFrame.contextLView=null,i}function ao(){let i=Nl();for(;null!==i&&64===i.type;)i=i.parent;return i}function Nl(){return qi.lFrame.currentTNode}function al(i,t){const e=qi.lFrame;e.currentTNode=i,e.isParent=t}function Ap(){return qi.lFrame.isParent}function Tp(){qi.lFrame.isParent=!1}function go(){const i=qi.lFrame;let t=i.bindingRootIndex;return-1===t&&(t=i.bindingRootIndex=i.tView.bindingStartIndex),t}function Jc(){return qi.lFrame.bindingIndex++}function Es(i){const t=qi.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+i,e}function Ow(i,t){const e=qi.lFrame;e.bindingIndex=e.bindingRootIndex=i,Ip(t)}function Ip(i){qi.lFrame.currentDirectiveIndex=i}function Ss(i){const t=qi.lFrame.currentDirectiveIndex;return-1===t?null:i[t]}function Z0(){return qi.lFrame.currentQueryIndex}function km(i){qi.lFrame.currentQueryIndex=i}function Pw(i){const t=i[p];return 2===t.type?t.declTNode:1===t.type?i[ue]:null}function X0(i,t,e){if(e&si.SkipSelf){let r=t,a=i;for(;!(r=r.parent,null!==r||e&si.Host||(r=Pw(a),null===r||(a=a[lt],10&r.type))););if(null===r)return!1;t=r,i=a}const n=qi.lFrame=J0();return n.currentTNode=t,n.lView=i,!0}function Cm(i){const t=J0(),e=i[p];qi.lFrame=t,t.currentTNode=e.firstChild,t.lView=i,t.tView=e,t.contextLView=i,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function J0(){const i=qi.lFrame,t=null===i?null:i.child;return null===t?Np(i):t}function Np(i){const 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:i,child:null,inI18n:!1};return null!==i&&(i.child=t),t}function Dm(){const i=qi.lFrame;return qi.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}const e1=Dm;function Lp(){const i=Dm();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0}function ko(){return qi.lFrame.selectedIndex}function ed(i){qi.lFrame.selectedIndex=i}function Xr(){const i=qi.lFrame;return U0(i.tView,i.selectedIndex)}function _o(){qi.lFrame.currentNamespace=j0}function Ol(){!function Vw(){qi.lFrame.currentNamespace=null}()}function Mm(i,t){for(let e=t.directiveStart,n=t.directiveEnd;e=n)break}else t[h]<0&&(i[Dr]+=65536),(c>11>16&&(3&i[v])===t){i[v]+=2048,ps(4,c,a);try{a.call(c)}finally{ps(5,c,a)}}}else{ps(4,c,a);try{a.call(c)}finally{ps(5,c,a)}}}const iu=-1;class sh{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Rp(i,t,e){let n=0;for(;nt){o=a-1;break}}}for(;a>16}(i),n=t;for(;e>0;)n=n[lt],e--;return n}let be=!0;function Ve(i){const t=be;return be=i,t}const Ei=255,pn=5;let xr=0;const Ur={};function Ts(i,t){const e=HM(i,t);if(-1!==e)return e;const n=t[p];n.firstCreatePass&&(i.injectorIndex=t.length,qw(n.data,i),qw(t,null),qw(n.blueprint,null));const r=$w(i,t),a=i.injectorIndex;if(w(r)){const o=L(r),c=se(r,t),h=c[p].data;for(let f=0;f<8;f++)t[a+f]=c[o+f]|h[o+f]}return t[a+8]=r,a}function qw(i,t){i.push(0,0,0,0,0,0,0,0,t)}function HM(i,t){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===t[i.injectorIndex+8]?-1:i.injectorIndex}function $w(i,t){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let e=0,n=null,r=t;for(;null!==r;){if(n=GM(r),null===n)return iu;if(e++,r=r[lt],-1!==n.injectorIndex)return n.injectorIndex|e<<16}return iu}function Kw(i,t,e){!function Rl(i,t,e){let n;"string"==typeof e?n=e.charCodeAt(0)||0:e.hasOwnProperty($t)&&(n=e[$t]),null==n&&(n=e[$t]=xr++);const r=n&Ei;t.data[i+(r>>pn)]|=1<=0?t&Ei:tP:t}(e);if("function"==typeof a){if(!X0(t,i,n))return n&si.Host?VM(r,0,n):YM(t,e,n,r);try{const o=a(n);if(null!=o||n&si.Optional)return o;Js()}finally{e1()}}else if("number"==typeof a){let o=null,c=HM(i,t),h=iu,f=n&si.Host?t[Ai][ue]:null;for((-1===c||n&si.SkipSelf)&&(h=-1===c?$w(i,t):t[c+8],h!==iu&&WM(n,!1)?(o=t[p],c=L(h),t=se(h,t)):c=-1);-1!==c;){const F=t[p];if(UM(a,c,F.data)){const R=J9(c,t,e,o,n,f);if(R!==Ur)return R}h=t[c+8],h!==iu&&WM(n,t[p].data[c+8]===f)&&UM(a,c,t)?(o=F,c=L(h),t=se(h,t)):c=-1}}return r}function J9(i,t,e,n,r,a){const o=t[p],c=o.data[i+8],F=n1(c,o,e,null==n?ih(c)&&be:n!=o&&0!=(3&c.type),r&si.Host&&a===c);return null!==F?ch(t,o,F,c):Ur}function n1(i,t,e,n,r){const a=i.providerIndexes,o=t.data,c=1048575&a,h=i.directiveStart,F=a>>20,W=r?c+F:i.directiveEnd;for(let te=n?c:c+F;te=h&&fe.type===e)return te}if(r){const te=o[h];if(te&&Ms(te)&&te.type===e)return h}return null}function ch(i,t,e,n){let r=i[e];const a=t.data;if(function Uw(i){return i instanceof sh}(r)){const o=r;o.resolving&&function eo(i,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${i}`:"";throw new Je(-200,`Circular dependency in DI detected for ${i}${e}`)}(function Bn(i){return"function"==typeof i?i.name||i.toString():"object"==typeof i&&null!=i&&"function"==typeof i.type?i.type.name||i.type.toString():Bi(i)}(a[e]));const c=Ve(o.canSeeViewProviders);o.resolving=!0;const h=o.injectImpl?Na(o.injectImpl):null;X0(i,n,si.Default);try{r=i[e]=o.factory(void 0,a,i,n),t.firstCreatePass&&e>=n.directiveStart&&function jw(i,t,e){const{ngOnChanges:n,ngOnInit:r,ngDoCheck:a}=t.type.prototype;if(n){const o=H0(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(i,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i,o)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-i,r),a&&((e.preOrderHooks||(e.preOrderHooks=[])).push(i,a),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i,a))}(e,a[e],t)}finally{null!==h&&Na(h),Ve(c),o.resolving=!1,e1()}}return r}function UM(i,t,e){return!!(e[t+(i>>pn)]&1<{const t=i.prototype.constructor,e=t[xi]||Qw(t),n=Object.prototype;let r=Object.getPrototypeOf(i.prototype).constructor;for(;r&&r!==n;){const a=r[xi]||Qw(r);if(a&&a!==e)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function Qw(i){return Tr(i)?()=>{const t=Qw(Pt(i));return t&&t()}:mc(i)}function GM(i){const t=i[p],e=t.type;return 2===e?t.declTNode:1===e?i[ue]:null}function bo(i){return function X9(i,t){if("class"===t)return i.classes;if("style"===t)return i.styles;const e=i.attrs;if(e){const n=e.length;let r=0;for(;r{const n=function Zw(i){return function(...e){if(i){const n=i(...e);for(const r in n)this[r]=n[r]}}}(t);function r(...a){if(this instanceof r)return n.apply(this,a),this;const o=new r(...a);return c.annotation=o,c;function c(h,f,F){const R=h.hasOwnProperty(Im)?h[Im]:Object.defineProperty(h,Im,{value:[]})[Im];for(;R.length<=F;)R.push(null);return(R[F]=R[F]||[]).push(o),h}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=i,r.annotationCls=r,r})}class Ke{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=it({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function dh(i,t){i.forEach(e=>Array.isArray(e)?dh(e,t):t(e))}function $M(i,t,e){t>=i.length?i.push(e):i.splice(t,0,e)}function r1(i,t){return t>=i.length-1?i.pop():i.splice(t,1)[0]}function Hp(i,t){const e=[];for(let n=0;n=0?i[1|n]=e:(n=~n,function oP(i,t,e,n){let r=i.length;if(r==t)i.push(e,n);else if(1===r)i.push(n,i[0]),i[0]=e;else{for(r--,i.push(i[r-1],i[r]);r>t;)i[r]=i[r-2],r--;i[t]=e,i[t+1]=n}}(i,n,t,e)),n}function Jw(i,t){const e=Om(i,t);if(e>=0)return i[1|e]}function Om(i,t){return function KM(i,t,e){let n=0,r=i.length>>e;for(;r!==n;){const a=n+(r-n>>1),o=i[a<t?r=a:n=a+1}return~(r<({token:i})),-1),gs=Cs(Lm("Optional"),8),Pl=Cs(Lm("SkipSelf"),4);var _s=(()=>((_s=_s||{})[_s.Important=1]="Important",_s[_s.DashCase=2]="DashCase",_s))();const a2=new Map;let EP=0;const s2="__ngContext__";function jo(i,t){Qo(t)?(i[s2]=t[fa],function AP(i){a2.set(i[fa],i)}(t)):i[s2]=t}let l2;function c2(i,t){return l2(i,t)}function zp(i){const t=i[M];return Ds(t)?t[M]:t}function d2(i){return g3(i[kt])}function u2(i){return g3(i[H])}function g3(i){for(;null!==i&&!Ds(i);)i=i[H];return i}function Pm(i,t,e,n,r){if(null!=n){let a,o=!1;Ds(n)?a=n:Qo(n)&&(o=!0,n=n[m]);const c=ro(n);0===i&&null!==e?null==r?F3(t,e,c):uh(t,e,c,r||null,!0):1===i&&null!==e?uh(t,e,c,r||null,!0):2===i?function b2(i,t,e){const n=c1(i,t);n&&function QP(i,t,e,n){i.removeChild(t,e,n)}(i,n,t,e)}(t,c,o):3===i&&t.destroyNode(c),null!=a&&function JP(i,t,e,n,r){const a=e[Qd];a!==ro(e)&&Pm(t,i,n,a,r);for(let c=xo;c0&&(i[e-1][H]=n[H]);const a=r1(i,xo+t);!function jP(i,t){Up(i,t,t[Ye],2,null,null),t[m]=null,t[ue]=null}(n[p],n);const o=a[Zr];null!==o&&o.detachView(a[p]),n[M]=null,n[H]=null,n[v]&=-65}return n}function y3(i,t){if(!(128&t[v])){const e=t[Ye];e.destroyNode&&Up(i,t,e,3,null,null),function WP(i){let t=i[kt];if(!t)return p2(i[p],i);for(;t;){let e=null;if(Qo(t))e=t[kt];else{const n=t[xo];n&&(e=n)}if(!e){for(;t&&!t[H]&&t!==i;)Qo(t)&&p2(t[p],t),t=t[M];null===t&&(t=i),Qo(t)&&p2(t[p],t),e=t&&t[H]}t=e}}(t)}}function p2(i,t){if(!(128&t[v])){t[v]&=-65,t[v]|=128,function KP(i,t){let e;if(null!=i&&null!=(e=i.destroyHooks))for(let n=0;n=0?n[r=o]():n[r=-o].unsubscribe(),a+=2}else{const o=n[r=e[a+1]];e[a].call(o)}if(null!==n){for(let a=r+1;a-1){const{encapsulation:a}=i.data[n.directiveStart+r];if(a===Fe.None||a===Fe.Emulated)return null}return Zo(n,e)}}(i,t.parent,e)}function uh(i,t,e,n,r){i.insertBefore(t,e,n,r)}function F3(i,t,e){i.appendChild(t,e)}function x3(i,t,e,n,r){null!==n?uh(i,t,e,n,r):F3(i,t,e)}function c1(i,t){return i.parentNode(t)}function k3(i,t,e){return D3(i,t,e)}let g2,h1,w2,m1,D3=function C3(i,t,e){return 40&i.type?Zo(i,e):null};function d1(i,t,e,n){const r=v3(i,n,t),a=t[Ye],c=k3(n.parent||t[ue],n,t);if(null!=r)if(Array.isArray(e))for(let h=0;hi,createScript:i=>i,createScriptURL:i=>i})}catch{}return h1}()?.createHTML(i)||i}function O3(i){return function F2(){if(void 0===m1&&(m1=null,Li.trustedTypes))try{m1=Li.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return m1}()?.createScriptURL(i)||i}class hh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${oi})`}}class s7 extends hh{getTypeName(){return"HTML"}}class l7 extends hh{getTypeName(){return"Style"}}class c7 extends hh{getTypeName(){return"Script"}}class d7 extends hh{getTypeName(){return"URL"}}class u7 extends hh{getTypeName(){return"ResourceURL"}}function Ns(i){return i instanceof hh?i.changingThisBreaksApplicationSecurity:i}function gc(i,t){const e=function h7(i){return i instanceof hh&&i.getTypeName()||null}(i);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${oi})`)}return e===t}class b7{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Bm(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class y7{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=Bm(t),e}}const w7=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function f1(i){return(i=String(i)).match(w7)?i:"unsafe:"+i}function id(i){const t={};for(const e of i.split(","))t[e]=!0;return t}function Wp(...i){const t={};for(const e of i)for(const n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}const P3=id("area,br,col,hr,img,wbr"),B3=id("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),H3=id("rp,rt"),x2=Wp(P3,Wp(B3,id("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")),Wp(H3,id("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")),Wp(H3,B3)),k2=id("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),V3=Wp(k2,id("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"),id("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")),F7=id("script,style,template");class x7{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!x2.hasOwnProperty(e))return this.sanitizedSomething=!0,!F7.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let r=0;r"),!0}endElement(t){const e=t.nodeName.toLowerCase();x2.hasOwnProperty(e)&&!P3.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Y3(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const k7=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,C7=/([^\#-~ |!])/g;function Y3(i){return i.replace(/&/g,"&").replace(k7,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(C7,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let p1;function j3(i,t){let e=null;try{p1=p1||function R3(i){const t=new y7(i);return function v7(){try{return!!(new window.DOMParser).parseFromString(Bm(""),"text/html")}catch{return!1}}()?new b7(t):t}(i);let n=t?String(t):"";e=p1.getInertBodyElement(n);let r=5,a=n;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,n=a,a=e.innerHTML,e=p1.getInertBodyElement(n)}while(n!==a);return Bm((new x7).sanitizeChildren(C2(e)||e))}finally{if(e){const n=C2(e)||e;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function C2(i){return"content"in i&&function D7(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}var br=(()=>((br=br||{})[br.NONE=0]="NONE",br[br.HTML=1]="HTML",br[br.STYLE=2]="STYLE",br[br.SCRIPT=3]="SCRIPT",br[br.URL=4]="URL",br[br.RESOURCE_URL=5]="RESOURCE_URL",br))();function An(i){const t=Gp();return t?t.sanitize(br.URL,i)||"":gc(i,"URL")?Ns(i):f1(Bi(i))}function Hm(i){const t=Gp();if(t)return O3(t.sanitize(br.RESOURCE_URL,i)||"");if(gc(i,"ResourceURL"))return O3(Ns(i));throw new Je(904,!1)}function Gp(){const i=Ft();return i&&i[Xe]}const g1=new Ke("ENVIRONMENT_INITIALIZER"),U3=new Ke("INJECTOR",-1),W3=new Ke("INJECTOR_DEF_TYPES");class G3{get(t,e=La){if(e===La){const n=new Error(`NullInjectorError: No provider for ${Pi(t)}!`);throw n.name="NullInjectorError",n}return e}}function L7(...i){return{\u0275providers:q3(0,i),\u0275fromNgModule:!0}}function q3(i,...t){const e=[],n=new Set;let r;return dh(t,a=>{const o=a;D2(o,e,[],n)&&(r||(r=[]),r.push(o))}),void 0!==r&&$3(r,e),e}function $3(i,t){for(let e=0;e{t.push(a)})}}function D2(i,t,e,n){if(!(i=Pt(i)))return!1;let r=null,a=io(i);const o=!a&&Y(i);if(a||o){if(o&&!o.standalone)return!1;r=i}else{const h=i.ngModule;if(a=io(h),!a)return!1;r=h}const c=n.has(r);if(o){if(c)return!1;if(n.add(r),o.dependencies){const h="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const f of h)D2(f,t,e,n)}}else{if(!a)return!1;{if(null!=a.imports&&!c){let f;n.add(r);try{dh(a.imports,F=>{D2(F,t,e,n)&&(f||(f=[]),f.push(F))})}finally{}void 0!==f&&$3(f,t)}if(!c){const f=mc(r)||(()=>new r);t.push({provide:r,useFactory:f,deps:Ce},{provide:W3,useValue:r,multi:!0},{provide:g1,useValue:()=>Ee(r),multi:!0})}const h=a.providers;null==h||c||M2(h,F=>{t.push(F)})}}return r!==i&&void 0!==i.providers}function M2(i,t){for(let e of i)qe(e)&&(e=e.\u0275providers),Array.isArray(e)?M2(e,t):t(e)}const O7=Xi({provide:String,useValue:Xi});function E2(i){return null!==i&&"object"==typeof i&&O7 in i}function mh(i){return"function"==typeof i}const S2=new Ke("Set Injector scope."),_1={},P7={};let A2;function b1(){return void 0===A2&&(A2=new G3),A2}class _c{}class Z3 extends _c{get destroyed(){return this._destroyed}constructor(t,e,n,r){super(),this.parent=e,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,I2(t,o=>this.processProvider(o)),this.records.set(U3,Vm(void 0,this)),r.has("environment")&&this.records.set(_c,Vm(void 0,this));const a=this.records.get(S2);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(W3.multi,Ce,si.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=kn(this),n=Na(void 0);try{return t()}finally{kn(e),Na(n)}}get(t,e=La,n=si.Default){this.assertNotDestroyed(),n=Ho(n);const r=kn(this),a=Na(void 0);try{if(!(n&si.SkipSelf)){let c=this.records.get(t);if(void 0===c){const h=function j7(i){return"function"==typeof i||"object"==typeof i&&i instanceof Ke}(t)&&Lo(t);c=h&&this.injectableDefInScope(h)?Vm(T2(t),_1):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(n&si.Self?b1():this.parent).get(t,e=n&si.Optional&&e===La?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[wo]=o[wo]||[]).unshift(Pi(t)),r)throw o;return function Tl(i,t,e,n){const r=i[wo];throw t[Bo]&&r.unshift(t[Bo]),i.message=function Il(i,t,e,n=null){i=i&&"\n"===i.charAt(0)&&i.charAt(1)==il?i.slice(2):i;let r=Pi(t);if(Array.isArray(t))r=t.map(Pi).join(" -> ");else if("object"==typeof t){let a=[];for(let o in t)if(t.hasOwnProperty(o)){let c=t[o];a.push(o+":"+("string"==typeof c?JSON.stringify(c):Pi(c)))}r=`{${a.join(", ")}}`}return`${e}${n?"("+n+")":""}[${r}]: ${i.replace(wa,"\n ")}`}("\n"+i.message,r,e,n),i[Hr]=r,i[wo]=null,i}(o,t,"R3InjectorError",this.source)}throw o}finally{Na(a),kn(r)}}resolveInjectorInitializers(){const t=kn(this),e=Na(void 0);try{const n=this.get(g1.multi,Ce,si.Self);for(const r of n)r()}finally{kn(t),Na(e)}}toString(){const t=[],e=this.records;for(const n of e.keys())t.push(Pi(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Je(205,!1)}processProvider(t){let e=mh(t=Pt(t))?t:Pt(t&&t.provide);const n=function H7(i){return E2(i)?Vm(void 0,i.useValue):Vm(X3(i),_1)}(t);if(mh(t)||!0!==t.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=Vm(void 0,_1,!0),r.factory=()=>Al(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,n)}hydrate(t,e){return e.value===_1&&(e.value=P7,e.value=e.factory()),"object"==typeof e.value&&e.value&&function Y7(i){return null!==i&&"object"==typeof i&&"function"==typeof i.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=Pt(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function T2(i){const t=Lo(i),e=null!==t?t.factory:mc(i);if(null!==e)return e;if(i instanceof Ke)throw new Je(204,!1);if(i instanceof Function)return function B7(i){const t=i.length;if(t>0)throw Hp(t,"?"),new Je(204,!1);const e=function dc(i){const t=i&&(i[Oo]||i[us]);return t?(function $o(i){if(i.hasOwnProperty("name"))return i.name;(""+i).match(/^function\s*([^\s(]+)/)}(i),t):null}(i);return null!==e?()=>e.factory(i):()=>new i}(i);throw new Je(204,!1)}function X3(i,t,e){let n;if(mh(i)){const r=Pt(i);return mc(r)||T2(r)}if(E2(i))n=()=>Pt(i.useValue);else if(function Q3(i){return!(!i||!i.useFactory)}(i))n=()=>i.useFactory(...Al(i.deps||[]));else if(function K3(i){return!(!i||!i.useExisting)}(i))n=()=>Ee(Pt(i.useExisting));else{const r=Pt(i&&(i.useClass||i.provide));if(!function V7(i){return!!i.deps}(i))return mc(r)||T2(r);n=()=>new r(...Al(i.deps))}return n}function Vm(i,t,e=!1){return{factory:i,value:t,multi:e?[]:void 0}}function I2(i,t){for(const e of i)Array.isArray(e)?I2(e,t):e&&qe(e)?I2(e.\u0275providers,t):t(e)}class z7{}class J3{}class W7{resolveComponentFactory(t){throw function U7(i){const t=Error(`No component factory found for ${Pi(i)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=i,t}(t)}}let nd=(()=>{class i{}return i.NULL=new W7,i})();function G7(){return Ym(ao(),Ft())}function Ym(i,t){return new _t(Zo(i,t))}let _t=(()=>{class i{constructor(e){this.nativeElement=e}}return i.__NG_ELEMENT_ID__=G7,i})();function q7(i){return i instanceof _t?i.nativeElement:i}class jm{}let Bl=(()=>{class i{}return i.__NG_ELEMENT_ID__=()=>function $7(){const i=Ft(),e=Xo(ao().index,i);return(Qo(e)?e:i)[Ye]}(),i})(),K7=(()=>{class i{}return i.\u0275prov=it({token:i,providedIn:"root",factory:()=>null}),i})();class fh{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Q7=new fh("15.2.0"),N2={},L2="ngOriginalError";function O2(i){return i[L2]}class rd{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&O2(t);for(;e&&O2(e);)e=O2(e);return e||null}}function tE(i){return i.ownerDocument.defaultView}function y1(i){return i.ownerDocument}function iE(i){return i.ownerDocument.body}function ad(i){return i instanceof Function?i():i}function rE(i,t,e){let n=i.length;for(;;){const r=i.indexOf(t,e);if(-1===r)return r;if(0===r||i.charCodeAt(r-1)<=32){const a=t.length;if(r+a===n||i.charCodeAt(r+a)<=32)return r}e=r+1}}const aE="ng-template";function rB(i,t,e){let n=0;for(;na?"":r[R+1].toLowerCase();const te=8&n?W:null;if(te&&-1!==rE(te,f,0)||2&n&&f!==W){if(Hl(n))return!1;o=!0}}}}else{if(!o&&!Hl(n)&&!Hl(h))return!1;if(o&&Hl(h))continue;o=!1,n=h|1&n}}return Hl(n)||o}function Hl(i){return 0==(1&i)}function sB(i,t,e,n){if(null===t)return-1;let r=0;if(n||!e){let a=!1;for(;r-1)for(e++;e0?'="'+c+'"':"")+"]"}else 8&n?r+="."+o:4&n&&(r+=" "+o);else""!==r&&!Hl(o)&&(t+=lE(a,r),r=""),n=o,a=a||!Hl(n);e++}return""!==r&&(t+=lE(a,r)),t}const fn={};function A(i){cE(zn(),Ft(),ko()+i,!1)}function cE(i,t,e,n){if(!n)if(3==(3&t[v])){const a=i.preOrderCheckHooks;null!==a&&ol(t,a,e)}else{const a=i.preOrderHooks;null!==a&&Em(t,a,0,e)}ed(e)}function mE(i,t=null,e=null,n){const r=fE(i,t,e,n);return r.resolveInjectorInitializers(),r}function fE(i,t=null,e=null,n,r=new Set){const a=[e||Ce,L7(i)];return n=n||("object"==typeof i?void 0:Pi(i)),new Z3(a,t||b1(),n||null,r)}let Wr=(()=>{class i{static create(e,n){if(Array.isArray(e))return mE({name:""},n,e,"");{const r=e.name??"";return mE({name:r},e.parent,e.providers,r)}}}return i.THROW_IF_NOT_FOUND=La,i.NULL=new G3,i.\u0275prov=it({token:i,providedIn:"any",factory:()=>Ee(U3)}),i.__NG_ELEMENT_ID__=-1,i})();function D(i,t=si.Default){const e=Ft();return null===e?Ee(i,t):jM(ao(),e,Pt(i),t)}function Vl(){throw new Error("invalid")}function wE(i,t){const e=i.contentQueries;if(null!==e)for(let n=0;nsn&&cE(i,t,sn,!1),ps(o?2:0,r),e(n,r)}finally{ed(a),ps(o?3:1,r)}}function j2(i,t,e){if(Mp(t)){const r=t.directiveEnd;for(let a=t.directiveStart;a0;){const e=i[--t];if("number"==typeof e&&e<0)return e}return 0})(o)!=c&&o.push(c),o.push(e,n,a)}}(i,t,n,qp(i,e,r.hostVars,fn),r)}function bc(i,t,e,n,r,a){const o=Zo(i,t);!function $2(i,t,e,n,r,a,o){if(null==a)i.removeAttribute(t,r,e);else{const c=null==o?Bi(a):o(a,n||"",r);i.setAttribute(t,r,c,e)}}(t[Ye],o,a,i.value,e,n,r)}function XB(i,t,e,n,r,a){const o=a[t];if(null!==o){const c=n.setInput;for(let h=0;h0&&K2(e)}}function K2(i){for(let n=d2(i);null!==n;n=u2(n))for(let r=xo;r0&&K2(a)}const e=i[p].components;if(null!==e)for(let n=0;n0&&K2(r)}}function nH(i,t){const e=Xo(t,i),n=e[p];(function rH(i,t){for(let e=t.length;e-1&&(f2(t,n),r1(e,n))}this._attachedToViewContainer=!1}y3(this._lView[p],this._lView)}onDestroy(t){kE(this._lView[p],this._lView,null,t)}markForCheck(){Q2(this._cdRefInjectingView||this._lView)}detach(){this._lView[v]&=-65}reattach(){this._lView[v]|=64}detectChanges(){k1(this._lView[p],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Je(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function UP(i,t){Up(i,t,t[Ye],2,null,null)}(this._lView[p],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Je(902,!1);this._appRef=t}}class aH extends $p{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;k1(t[p],t,t[xe],!1)}checkNoChanges(){}get context(){return null}}class OE extends nd{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Y(t);return new Kp(e,this.ngModule)}}function RE(i){const t=[];for(let e in i)i.hasOwnProperty(e)&&t.push({propName:i[e],templateName:e});return t}class sH{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=Ho(n);const r=this.injector.get(t,N2,n);return r!==N2||e===N2?r:this.parentInjector.get(t,e,n)}}class Kp extends J3{get inputs(){return RE(this.componentDef.inputs)}get outputs(){return RE(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function mB(i){return i.map(hB).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,n,r){let a=(r=r||this.ngModule)instanceof _c?r:r?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const o=a?new sH(t,a):t,c=o.get(jm,null);if(null===c)throw new Je(407,!1);const h=o.get(K7,null),f=c.createRenderer(null,this.componentDef),F=this.componentDef.selectors[0][0]||"div",R=n?function PB(i,t,e){return i.selectRootElement(t,e===Fe.ShadowDom)}(f,n,this.componentDef.encapsulation):m2(f,F,function oH(i){const t=i.toLowerCase();return"svg"===t?j0:"math"===t?"math":null}(F)),W=this.componentDef.onPush?288:272,te=W2(0,null,null,1,0,null,null,null,null,null),fe=w1(null,te,null,W,null,null,c,f,h,o,null);let we,Ae;Cm(fe);try{const Ne=this.componentDef;let et,Be=null;Ne.findHostDirectiveDefs?(et=[],Be=new Map,Ne.findHostDirectiveDefs(Ne,et,Be),et.push(Ne)):et=[Ne];const dt=function cH(i,t){const e=i[p],n=sn;return i[n]=t,Wm(e,n,2,"#host",null)}(fe,R),St=function dH(i,t,e,n,r,a,o,c){const h=r[p];!function uH(i,t,e,n){for(const r of i)t.mergedAttrs=pc(t.mergedAttrs,r.hostAttrs);null!==t.mergedAttrs&&(C1(t,t.mergedAttrs,!0),null!==e&&T3(n,e,t))}(n,i,t,o);const f=a.createRenderer(t,e),F=w1(r,xE(e),null,e.onPush?32:16,r[i.index],i,a,f,c||null,null,null);return h.firstCreatePass&&q2(h,i,n.length-1),x1(r,F),r[i.index]=F}(dt,R,Ne,et,fe,c,f);Ae=U0(te,sn),R&&function mH(i,t,e,n){if(n)Rp(i,e,["ng-version",Q7.full]);else{const{attrs:r,classes:a}=function fB(i){const t=[],e=[];let n=1,r=2;for(;n0&&A3(i,e,a.join(" "))}}(f,Ne,R,n),void 0!==e&&function fH(i,t,e){const n=i.projection=[];for(let r=0;r=0;n--){const r=i[n];r.hostVars=t+=r.hostVars,r.hostAttrs=pc(r.hostAttrs,e=pc(e,r.hostAttrs))}}(n)}function J2(i){return i===Me?{}:i===Ce?[]:i}function _H(i,t){const e=i.viewQuery;i.viewQuery=e?(n,r)=>{t(n,r),e(n,r)}:t}function bH(i,t){const e=i.contentQueries;i.contentQueries=e?(n,r,a)=>{t(n,r,a),e(n,r,a)}:t}function yH(i,t){const e=i.hostBindings;i.hostBindings=e?(n,r)=>{t(n,r),e(n,r)}:t}let M1=null;function ph(){if(!M1){const i=Li.Symbol;if(i&&i.iterator)M1=i.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;eo(ro(dt[n.index])):n.index;let Be=null;if(!o&&c&&(Be=function NH(i,t,e,n){const r=i.cleanup;if(null!=r)for(let a=0;ah?c[h]:null}"string"==typeof o&&(a+=2)}return null}(i,t,r,n.index)),null!==Be)(Be.__ngLastListenerFn__||Be).__ngNextListenerFn__=a,Be.__ngLastListenerFn__=a,W=!1;else{a=JE(n,t,F,a,!1);const dt=e.listen(Ae,r,a);R.push(a,dt),f&&f.push(r,et,Ne,Ne+1)}}else a=JE(n,t,F,a,!1);const te=n.outputs;let fe;if(W&&null!==te&&(fe=te[r])){const we=fe.length;if(we)for(let Ae=0;Ae-1?Xo(i.index,t):t);let h=XE(t,e,n,o),f=a.__ngNextListenerFn__;for(;f;)h=XE(t,e,f,o)&&h,f=f.__ngNextListenerFn__;return r&&!1===h&&(o.preventDefault(),o.returnValue=!1),h}}function X(i=1){return function Ll(i){return(qi.lFrame.contextLView=function Bw(i,t){for(;i>0;)t=t[lt],i--;return t}(i,qi.lFrame.contextLView))[xe]}(i)}function LH(i,t){let e=null;const n=function lB(i){const t=i.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(i);for(let r=0;r>17&32767}function rF(i){return 2|i}function _h(i){return(131068&i)>>2}function aF(i,t){return-131069&i|t<<2}function oF(i){return 1|i}function d4(i,t,e,n,r){const a=i[e+1],o=null===t;let c=n?nu(a):_h(a),h=!1;for(;0!==c&&(!1===h||o);){const F=i[c+1];VH(i[c],t)&&(h=!0,i[c+1]=n?oF(F):rF(F)),c=n?nu(F):_h(F)}h&&(i[e+1]=n?rF(a):oF(a))}function VH(i,t){return null===i||null==t||(Array.isArray(i)?i[1]:i)===t||!(!Array.isArray(i)||"string"!=typeof t)&&Om(i,t)>=0}const so={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function u4(i){return i.substring(so.key,so.keyEnd)}function YH(i){return i.substring(so.value,so.valueEnd)}function h4(i,t){const e=so.textEnd;return e===t?-1:(t=so.keyEnd=function UH(i,t,e){for(;t32;)t++;return t}(i,so.key=t,e),nf(i,t,e))}function m4(i,t){const e=so.textEnd;let n=so.key=nf(i,t,e);return e===n?-1:(n=so.keyEnd=function WH(i,t,e){let n;for(;t=65&&(-33&n)<=90||n>=48&&n<=57);)t++;return t}(i,n,e),n=p4(i,n,e),n=so.value=nf(i,n,e),n=so.valueEnd=function GH(i,t,e){let n=-1,r=-1,a=-1,o=t,c=o;for(;o32&&(c=o),a=r,r=n,n=-33&h}return c}(i,n,e),p4(i,n,e))}function f4(i){so.key=0,so.keyEnd=0,so.value=0,so.valueEnd=0,so.textEnd=i.length}function nf(i,t,e){for(;t=0;e=m4(t,e))y4(i,u4(t),YH(t))}function sF(i){zl(Is,vc,i,!0)}function vc(i,t){for(let e=function jH(i){return f4(i),h4(i,nf(i,0,so.textEnd))}(t);e>=0;e=h4(t,e))Is(i,u4(t),!0)}function jl(i,t,e,n){const r=Ft(),a=zn(),o=Es(2);a.firstUpdatePass&&b4(a,i,o,n),t!==fn&&zo(r,o,t)&&v4(a,a.data[ko()],r,r[Ye],i,r[o+1]=function eV(i,t){return null==i||("string"==typeof t?i+=t:"object"==typeof i&&(i=Pi(Ns(i)))),i}(t,e),n,o)}function zl(i,t,e,n){const r=zn(),a=Es(2);r.firstUpdatePass&&b4(r,null,a,n);const o=Ft();if(e!==fn&&zo(o,a,e)){const c=r.data[ko()];if(F4(c,n)&&!_4(r,a)){let h=n?c.classesWithoutHost:c.stylesWithoutHost;null!==h&&(e=Yi(h,e||"")),tF(r,c,o,e,n)}else!function JH(i,t,e,n,r,a,o,c){r===fn&&(r=Ce);let h=0,f=0,F=0=i.expandoStartIndex}function b4(i,t,e,n){const r=i.data;if(null===r[e+1]){const a=r[ko()],o=_4(i,e);F4(a,n)&&null===t&&!o&&(t=!1),t=function $H(i,t,e,n){const r=Ss(i);let a=n?t.residualClasses:t.residualStyles;if(null===r)0===(n?t.classBindings:t.styleBindings)&&(e=Xp(e=lF(null,i,t,e,n),t.attrs,n),a=null);else{const o=t.directiveStylingLast;if(-1===o||i[o]!==r)if(e=lF(r,i,t,e,n),null===a){let h=function KH(i,t,e){const n=e?t.classBindings:t.styleBindings;if(0!==_h(n))return i[nu(n)]}(i,t,n);void 0!==h&&Array.isArray(h)&&(h=lF(null,i,t,h[1],n),h=Xp(h,t.attrs,n),function QH(i,t,e,n){i[nu(e?t.classBindings:t.styleBindings)]=n}(i,t,n,h))}else a=function ZH(i,t,e){let n;const r=t.directiveEnd;for(let a=1+t.directiveStylingLast;a0)&&(f=!0)):F=e,r)if(0!==h){const W=nu(i[c+1]);i[n+1]=A1(W,c),0!==W&&(i[W+1]=aF(i[W+1],n)),i[c+1]=function RH(i,t){return 131071&i|t<<17}(i[c+1],n)}else i[n+1]=A1(c,0),0!==c&&(i[c+1]=aF(i[c+1],n)),c=n;else i[n+1]=A1(h,0),0===c?c=n:i[h+1]=aF(i[h+1],n),h=n;f&&(i[n+1]=rF(i[n+1])),d4(i,F,n,!0),d4(i,F,n,!1),function HH(i,t,e,n,r){const a=r?i.residualClasses:i.residualStyles;null!=a&&"string"==typeof t&&Om(a,t)>=0&&(e[n+1]=oF(e[n+1]))}(t,F,i,n,a),o=A1(c,h),a?t.classBindings=o:t.styleBindings=o}(r,a,t,e,o,n)}}function lF(i,t,e,n,r){let a=null;const o=e.directiveEnd;let c=e.directiveStylingLast;for(-1===c?c=e.directiveStart:c++;c0;){const h=i[r],f=Array.isArray(h),F=f?h[1]:h,R=null===F;let W=e[r+1];W===fn&&(W=R?Ce:void 0);let te=R?Jw(W,n):F===n?W:void 0;if(f&&!T1(te)&&(te=Jw(h,n)),T1(te)&&(c=te,o))return c;const fe=i[r+1];r=o?nu(fe):_h(fe)}if(null!==t){let h=a?t.residualClasses:t.residualStyles;null!=h&&(c=Jw(h,n))}return c}function T1(i){return void 0!==i}function F4(i,t){return 0!=(i.flags&(t?8:16))}function B(i,t=""){const e=Ft(),n=zn(),r=i+sn,a=n.firstCreatePass?Wm(n,r,1,t,null):n.data[r],o=e[r]=function h2(i,t){return i.createText(t)}(e[Ye],t);d1(n,e,o,a),al(a,!1)}function Ct(i){return ri("",i,""),Ct}function ri(i,t,e){const n=Ft(),r=qm(n,i,t,e);return r!==fn&&od(n,ko(),r),ri}function bh(i,t,e,n,r){const a=Ft(),o=$m(a,i,t,e,n,r);return o!==fn&&od(a,ko(),o),bh}function I1(i,t,e){zl(Is,vc,qm(Ft(),i,t,e),!0)}function lo(i,t,e){const n=Ft();return zo(n,Jc(),t)&&Ls(zn(),Xr(),n,i,t,n[Ye],e,!0),lo}function rf(i,t,e){const n=Ft();if(zo(n,Jc(),t)){const a=zn(),o=Xr();Ls(a,o,n,i,t,NE(Ss(a.data),o,n),e,!0)}return rf}const yh=void 0;var yV=["en",[["a","p"],["AM","PM"],yh],[["AM","PM"],yh,yh],[["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"]],yh,[["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"]],yh,[["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}",yh,"{1} 'at' {0}",yh],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function bV(i){const e=Math.floor(Math.abs(i)),n=i.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let af={};function es(i){const t=function vV(i){return i.toLowerCase().replace(/_/g,"-")}(i);let e=V4(t);if(e)return e;const n=t.split("-")[0];if(e=V4(n),e)return e;if("en"===n)return yV;throw new Je(701,!1)}function V4(i){return i in af||(af[i]=Li.ng&&Li.ng.common&&Li.ng.common.locales&&Li.ng.common.locales[i]),af[i]}var Jt=(()=>((Jt=Jt||{})[Jt.LocaleId=0]="LocaleId",Jt[Jt.DayPeriodsFormat=1]="DayPeriodsFormat",Jt[Jt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Jt[Jt.DaysFormat=3]="DaysFormat",Jt[Jt.DaysStandalone=4]="DaysStandalone",Jt[Jt.MonthsFormat=5]="MonthsFormat",Jt[Jt.MonthsStandalone=6]="MonthsStandalone",Jt[Jt.Eras=7]="Eras",Jt[Jt.FirstDayOfWeek=8]="FirstDayOfWeek",Jt[Jt.WeekendRange=9]="WeekendRange",Jt[Jt.DateFormat=10]="DateFormat",Jt[Jt.TimeFormat=11]="TimeFormat",Jt[Jt.DateTimeFormat=12]="DateTimeFormat",Jt[Jt.NumberSymbols=13]="NumberSymbols",Jt[Jt.NumberFormats=14]="NumberFormats",Jt[Jt.CurrencyCode=15]="CurrencyCode",Jt[Jt.CurrencySymbol=16]="CurrencySymbol",Jt[Jt.CurrencyName=17]="CurrencyName",Jt[Jt.Currencies=18]="Currencies",Jt[Jt.Directionality=19]="Directionality",Jt[Jt.PluralCase=20]="PluralCase",Jt[Jt.ExtraData=21]="ExtraData",Jt))();const sf="en-US";let Y4=sf;function uF(i,t,e,n,r){if(i=Pt(i),Array.isArray(i))for(let a=0;a>20;if(mh(i)||!i.multi){const te=new sh(h,r,D),fe=mF(c,t,r?F:F+W,R);-1===fe?(Kw(Ts(f,o),a,c),hF(a,i,t.length),t.push(c),f.directiveStart++,f.directiveEnd++,r&&(f.providerIndexes+=1048576),e.push(te),o.push(te)):(e[fe]=te,o[fe]=te)}else{const te=mF(c,t,F+W,R),fe=mF(c,t,F,F+W),Ae=fe>=0&&e[fe];if(r&&!Ae||!r&&!(te>=0&&e[te])){Kw(Ts(f,o),a,c);const Ne=function _Y(i,t,e,n,r){const a=new sh(i,e,D);return a.multi=[],a.index=t,a.componentProviders=0,hS(a,r,n&&!e),a}(r?gY:pY,e.length,r,n,h);!r&&Ae&&(e[fe].providerFactory=Ne),hF(a,i,t.length,0),t.push(c),f.directiveStart++,f.directiveEnd++,r&&(f.providerIndexes+=1048576),e.push(Ne),o.push(Ne)}else hF(a,i,te>-1?te:fe,hS(e[r?fe:te],h,!r&&n));!r&&n&&Ae&&e[fe].componentProviders++}}}function hF(i,t,e,n){const r=mh(t),a=function R7(i){return!!i.useClass}(t);if(r||a){const h=(a?Pt(t.useClass):t).prototype.ngOnDestroy;if(h){const f=i.destroyHooks||(i.destroyHooks=[]);if(!r&&t.multi){const F=f.indexOf(e);-1===F?f.push(e,[n,h]):f[F+1].push(n,h)}else f.push(e,h)}}}function hS(i,t,e){return e&&i.componentProviders++,i.multi.push(t)-1}function mF(i,t,e,n){for(let r=e;r{e.providersResolver=(n,r)=>function fY(i,t,e){const n=zn();if(n.firstCreatePass){const r=Ms(i);uF(e,n.data,n.blueprint,r,!0),uF(t,n.data,n.blueprint,r,!1)}}(n,r?r(i):i,t)}}class lf{}class mS{}class fS extends lf{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new OE(this);const n=u(t);this._bootstrapComponents=ad(n.bootstrap),this._r3Injector=fE(t,e,[{provide:lf,useValue:this},{provide:nd,useValue:this.componentFactoryResolver}],Pi(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class pF extends mS{constructor(t){super(),this.moduleType=t}create(t){return new fS(this.moduleType,t)}}class yY extends lf{constructor(t,e,n){super(),this.componentFactoryResolver=new OE(this),this.instance=null;const r=new Z3([...t,{provide:lf,useValue:this},{provide:nd,useValue:this.componentFactoryResolver}],e||b1(),n,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function P1(i,t,e=null){return new yY(i,t,e).injector}let vY=(()=>{class i{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const n=q3(0,e.type),r=n.length>0?P1([n],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return i.\u0275prov=it({token:i,providedIn:"environment",factory:()=>new i(Ee(_c))}),i})();function gF(i){i.getStandaloneInjector=t=>t.get(vY).getOrCreateStandaloneInjector(i)}function Vr(i,t,e){const n=go()+i,r=Ft();return r[n]===fn?yc(r,n,e?t.call(e):t()):function Qp(i,t){return i[t]}(r,n)}function Cn(i,t,e,n){return wS(Ft(),go(),i,t,e,n)}function cl(i,t,e,n,r){return FS(Ft(),go(),i,t,e,n,r)}function bF(i,t,e,n,r,a,o){return function kS(i,t,e,n,r,a,o,c,h){const f=t+e;return function ll(i,t,e,n,r,a){const o=gh(i,t,e,n);return gh(i,t+2,r,a)||o}(i,f,r,a,o,c)?yc(i,f+4,h?n.call(h,r,a,o,c):n(r,a,o,c)):rg(i,f+4)}(Ft(),go(),i,t,e,n,r,a,o)}function rg(i,t){const e=i[t];return e===fn?void 0:e}function wS(i,t,e,n,r,a){const o=t+e;return zo(i,o,r)?yc(i,o+1,a?n.call(a,r):n(r)):rg(i,o+1)}function FS(i,t,e,n,r,a,o){const c=t+e;return gh(i,c,r,a)?yc(i,c+2,o?n.call(o,r,a):n(r,a)):rg(i,c+2)}function zi(i,t){const e=zn();let n;const r=i+sn;e.firstCreatePass?(n=function OY(i,t){if(t)for(let e=t.length-1;e>=0;e--){const n=t[e];if(i===n.name)return n}}(t,e.pipeRegistry),e.data[r]=n,n.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,n.onDestroy)):n=e.data[r];const a=n.factory||(n.factory=mc(n.type)),o=Na(D);try{const c=Ve(!1),h=a();return Ve(c),function AH(i,t,e,n){e>=i.data.length&&(i.data[e]=null,i.blueprint[e]=null),t[e]=n}(e,Ft(),r,h),h}finally{Na(o)}}function Ui(i,t,e){const n=i+sn,r=Ft(),a=Jd(r,n);return ag(r,n)?wS(r,go(),t,a.transform,e,a):a.transform(e)}function ag(i,t){return i[p].data[t].pure}function yF(i){return t=>{setTimeout(i,void 0,t)}}const ht=class HY extends He{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r=t,a=e||(()=>null),o=n;if(t&&"object"==typeof t){const h=t;r=h.next?.bind(h),a=h.error?.bind(h),o=h.complete?.bind(h)}this.__isAsync&&(a=yF(a),r&&(r=yF(r)),o&&(o=yF(o)));const c=super.subscribe({next:r,error:a,complete:o});return t instanceof x&&t.add(c),c}};function VY(){return this._results[ph()]()}class wc{get changes(){return this._changes||(this._changes=new ht)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=ph(),n=wc.prototype;n[e]||(n[e]=VY)}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,e){return this._results.reduce(t,e)}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,e){const n=this;n.dirty=!1;const r=function sl(i){return i.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function rP(i,t,e){if(i.length!==t.length)return!1;for(let n=0;n{class i{}return i.__NG_ELEMENT_ID__=zY,i})();const YY=yr,jY=class extends YY{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t,e){const n=this._declarationTContainer.tViews,r=w1(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null,e||null);r[yi]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[Zr];return null!==o&&(r[Zr]=o.createEmbeddedView(n)),Y2(n,r,t),new $p(r)}};function zY(){return B1(ao(),Ft())}function B1(i,t){return 4&i.type?new jY(t,i,Ym(i,t)):null}let kr=(()=>{class i{}return i.__NG_ELEMENT_ID__=UY,i})();function UY(){return SS(ao(),Ft())}const WY=kr,MS=class extends WY{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Ym(this._hostTNode,this._hostLView)}get injector(){return new Am(this._hostTNode,this._hostLView)}get parentInjector(){const t=$w(this._hostTNode,this._hostLView);if(w(t)){const e=se(t,this._hostLView),n=L(t);return new Am(e[p].data[n+8],e)}return new Am(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=ES(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-xo}createEmbeddedView(t,e,n){let r,a;"number"==typeof n?r=n:null!=n&&(r=n.index,a=n.injector);const o=t.createEmbeddedView(e||{},a);return this.insert(o,r),o}createComponent(t,e,n,r,a){const o=t&&!function Bp(i){return"function"==typeof i}(t);let c;if(o)c=e;else{const R=e||{};c=R.index,n=R.injector,r=R.projectableNodes,a=R.environmentInjector||R.ngModuleRef}const h=o?t:new Kp(Y(t)),f=n||this.parentInjector;if(!a&&null==h.ngModule){const W=(o?f:this.parentInjector).get(_c,null);W&&(a=W)}const F=h.create(f,r,void 0,a);return this.insert(F.hostView,c),F}insert(t,e){const n=t._lView,r=n[p];if(function Sw(i){return Ds(i[M])}(n)){const F=this.indexOf(t);if(-1!==F)this.detach(F);else{const R=n[M],W=new MS(R,R[ue],R[M]);W.detach(W.indexOf(t))}}const a=this._adjustIndex(e),o=this._lContainer;!function GP(i,t,e,n){const r=xo+n,a=e.length;n>0&&(e[r-1][H]=t),n0)n.push(o[c/2]);else{const f=a[c+1],F=t[-h];for(let R=xo;R{class i{constructor(e){this.appInits=e,this.resolve=V1,this.reject=V1,this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],n=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{a.subscribe({complete:c,error:h})});e.push(o)}}Promise.all(e).then(()=>{n()}).catch(r=>{this.reject(r)}),0===e.length&&n(),this.initialized=!0}}return i.\u0275fac=function(e){return new(e||i)(Ee(sg,8))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const uf=new Ke("AppId",{providedIn:"root",factory:function JS(){return`${AF()}${AF()}${AF()}`}});function AF(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const eA=new Ke("Platform Initializer"),ru=new Ke("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),tA=new Ke("appBootstrapListener"),Tn=new Ke("AnimationModuleType");let _j=(()=>{class i{log(e){console.log(e)}warn(e){console.warn(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})();const Fc=new Ke("LocaleId",{providedIn:"root",factory:()=>Xt(Fc,si.Optional|si.SkipSelf)||function bj(){return typeof $localize<"u"&&$localize.locale||sf}()});class vj{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let iA=(()=>{class i{compileModuleSync(e){return new pF(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const n=this.compileModuleSync(e),a=ad(u(e).declarations).reduce((o,c)=>{const h=Y(c);return h&&o.push(new Kp(h)),o},[]);return new vj(n,a)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const xj=(()=>Promise.resolve(0))();function TF(i){typeof Zone>"u"?xj.then(()=>{i&&i.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",i)}class Rt{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ht(!1),this.onMicrotaskEmpty=new ht(!1),this.onStable=new ht(!1),this.onError=new ht(!1),typeof Zone>"u")throw new Je(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&e,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function kj(){let i=Li.requestAnimationFrame,t=Li.cancelAnimationFrame;if(typeof Zone<"u"&&i&&t){const e=i[Zone.__symbol__("OriginalDelegate")];e&&(i=e);const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n)}return{nativeRequestAnimationFrame:i,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Mj(i){const t=()=>{!function Dj(i){i.isCheckStableRunning||-1!==i.lastRequestAnimationFrameId||(i.lastRequestAnimationFrameId=i.nativeRequestAnimationFrame.call(Li,()=>{i.fakeTopEventTask||(i.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{i.lastRequestAnimationFrameId=-1,NF(i),i.isCheckStableRunning=!0,IF(i),i.isCheckStableRunning=!1},void 0,()=>{},()=>{})),i.fakeTopEventTask.invoke()}),NF(i))}(i)};i._inner=i._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,a,o,c)=>{try{return aA(i),e.invokeTask(r,a,o,c)}finally{(i.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||i.shouldCoalesceRunChangeDetection)&&t(),oA(i)}},onInvoke:(e,n,r,a,o,c,h)=>{try{return aA(i),e.invoke(r,a,o,c,h)}finally{i.shouldCoalesceRunChangeDetection&&t(),oA(i)}},onHasTask:(e,n,r,a)=>{e.hasTask(r,a),n===r&&("microTask"==a.change?(i._hasPendingMicrotasks=a.microTask,NF(i),IF(i)):"macroTask"==a.change&&(i.hasPendingMacrotasks=a.macroTask))},onHandleError:(e,n,r,a)=>(e.handleError(r,a),i.runOutsideAngular(()=>i.onError.emit(a)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Rt.isInAngularZone())throw new Je(909,!1)}static assertNotInAngularZone(){if(Rt.isInAngularZone())throw new Je(909,!1)}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const a=this._inner,o=a.scheduleEventTask("NgZoneEvent: "+r,t,Cj,V1,V1);try{return a.runTask(o,e,n)}finally{a.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Cj={};function IF(i){if(0==i._nesting&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null)}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null))}finally{i.isStable=!0}}}function NF(i){i.hasPendingMicrotasks=!!(i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&-1!==i.lastRequestAnimationFrameId)}function aA(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function oA(i){i._nesting--,IF(i)}class Ej{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ht,this.onMicrotaskEmpty=new ht,this.onStable=new ht,this.onError=new ht}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}const sA=new Ke(""),j1=new Ke("");let RF,LF=(()=>{class i{constructor(e,n,r){this._ngZone=e,this.registry=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,RF||(function Sj(i){RF=i}(r),r.addToWindow(n)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Rt.assertNotInAngularZone(),TF(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())TF(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>!n.updateCb||!n.updateCb(e)||(clearTimeout(n.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,n,r){let a=-1;n&&n>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==a),e(this._didWork,this.getPendingTasks())},n)),this._callbacks.push({doneCb:e,timeoutId:a,updateCb:r})}whenStable(e,n,r){if(r&&!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(e,n,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,n,r){return[]}}return i.\u0275fac=function(e){return new(e||i)(Ee(Rt),Ee(OF),Ee(j1))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})(),OF=(()=>{class i{constructor(){this._applications=new Map}registerApplication(e,n){this._applications.set(e,n)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,n=!0){return RF?.findTestabilityInTree(this,e,n)??null}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})(),au=null;const lA=new Ke("AllowMultipleToken"),PF=new Ke("PlatformDestroyListeners"),sd=!1;class cA{constructor(t,e){this.name=t,this.token=e}}function uA(i,t,e=[]){const n=`Platform: ${t}`,r=new Ke(n);return(a=[])=>{let o=BF();if(!o||o.injector.get(lA,!1)){const c=[...e,...a,{provide:r,useValue:!0}];i?i(c):function Ij(i){if(au&&!au.get(lA,!1))throw new Je(400,!1);au=i;const t=i.get(mA);(function dA(i){const t=i.get(eA,null);t&&t.forEach(e=>e())})(i)}(function hA(i=[],t){return Wr.create({name:t,providers:[{provide:S2,useValue:"platform"},{provide:PF,useValue:new Set([()=>au=null])},...i]})}(c,n))}return function Lj(i){const t=BF();if(!t)throw new Je(401,!1);return t}()}}function BF(){return au?.get(mA)??null}let mA=(()=>{class i{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,n){const r=function pA(i,t){let e;return e="noop"===i?new Ej:("zone.js"===i?void 0:i)||new Rt(t),e}(n?.ngZone,function fA(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!i||!i.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!i||!i.ngZoneRunCoalescing)||!1}}(n)),a=[{provide:Rt,useValue:r}];return r.run(()=>{const o=Wr.create({providers:a,parent:this.injector,name:e.moduleType.name}),c=e.create(o),h=c.injector.get(rd,null);if(!h)throw new Je(402,!1);return r.runOutsideAngular(()=>{const f=r.onError.subscribe({next:F=>{h.handleError(F)}});c.onDestroy(()=>{z1(this._modules,c),f.unsubscribe()})}),function gA(i,t,e){try{const n=e();return Zp(n)?n.catch(r=>{throw t.runOutsideAngular(()=>i.handleError(r)),r}):n}catch(n){throw t.runOutsideAngular(()=>i.handleError(n)),n}}(h,r,()=>{const f=c.injector.get(Y1);return f.runInitializers(),f.donePromise.then(()=>(function j4(i){va(i,"Expected localeId to be defined"),"string"==typeof i&&(Y4=i.toLowerCase().replace(/_/g,"-"))}(c.injector.get(Fc,sf)||sf),this._moduleDoBootstrap(c),c))})})}bootstrapModule(e,n=[]){const r=_A({},n);return function Aj(i,t,e){const n=new pF(e);return Promise.resolve(n)}(0,0,e).then(a=>this.bootstrapModuleFactory(a,r))}_moduleDoBootstrap(e){const n=e.injector.get(ld);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new Je(-403,!1);e.instance.ngDoBootstrap(n)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Je(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());const e=this._injector.get(PF,null);e&&(e.forEach(n=>n()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return i.\u0275fac=function(e){return new(e||i)(Ee(Wr))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})();function _A(i,t){return Array.isArray(t)?t.reduce(_A,i):{...i,...t}}let ld=(()=>{class i{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,n,r){this._zone=e,this._injector=n,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new mt(c=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{c.next(this._stable),c.complete()})}),o=new mt(c=>{let h;this._zone.runOutsideAngular(()=>{h=this._zone.onStable.subscribe(()=>{Rt.assertNotInAngularZone(),TF(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,c.next(!0))})})});const f=this._zone.onUnstable.subscribe(()=>{Rt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{c.next(!1)}))});return()=>{h.unsubscribe(),f.unsubscribe()}});this.isStable=Rn(a,o.pipe(Xa()))}bootstrap(e,n){const r=e instanceof J3;if(!this._injector.get(Y1).done){!r&&function d(i){const t=Y(i)||s(i)||l(i);return null!==t&&t.standalone}(e);throw new Je(405,sd)}let o;o=r?e:this._injector.get(nd).resolveComponentFactory(e),this.componentTypes.push(o.componentType);const c=function Tj(i){return i.isBoundToModule}(o)?void 0:this._injector.get(lf),f=o.create(Wr.NULL,[],n||o.selector,c),F=f.location.nativeElement,R=f.injector.get(sA,null);return R?.registerApplication(F),f.onDestroy(()=>{this.detachView(f.hostView),z1(this.components,f),R?.unregisterApplication(F)}),this._loadComponent(f),f}tick(){if(this._runningTick)throw new Je(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const n=e;this._views.push(n),n.attachToAppRef(this)}detachView(e){const n=e;z1(this._views,n),n.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const n=this._injector.get(tA,[]);n.push(...this._bootstrapListeners),n.forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>z1(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Je(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return i.\u0275fac=function(e){return new(e||i)(Ee(Rt),Ee(_c),Ee(rd))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function z1(i,t){const e=i.indexOf(t);e>-1&&i.splice(e,1)}let li=(()=>{class i{}return i.__NG_ELEMENT_ID__=Rj,i})();function Rj(i){return function Pj(i,t,e){if(ih(i)&&!e){const n=Xo(i.index,t);return new $p(n,n)}return 47&i.type?new $p(t[Ai],t):null}(ao(),Ft(),16==(16&i))}class xA{constructor(){}supports(t){return E1(t)}create(t){return new zj(t)}}const jj=(i,t)=>t;class zj{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||jj}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,a=null;for(;e||n;){const o=!n||e&&e.currentIndex{o=this._trackByFn(r,c),null!==e&&Object.is(e.trackById,o)?(n&&(e=this._verifyReinsertion(e,c,o,r)),Object.is(e.item,c)||this._addIdentityChange(e,c)):(e=this._mismatch(e,c,o,r),n=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,a,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,a,r)):t=this._addAfter(new Uj(e,n),a,r),t}_verifyReinsertion(t,e,n,r){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==a?t=this._reinsertAfter(a,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,a=t._nextRemoved;return null===r?this._removalsHead=a:r._nextRemoved=a,null===a?this._removalsTail=r:a._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new kA),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new kA),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Uj{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Wj{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(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,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class kA{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Wj,this.map.set(e,n)),n.add(t)}get(t,e){const r=this.map.get(t);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function CA(i,t,e){const n=i.previousIndex;if(null===n)return n;let r=0;return e&&n{if(e&&e.key===r)this._maybeAddToChanges(e,n),this._appendAfter=e,e=e._next;else{const a=this._getOrCreateRecordForKey(r,n);e=this._insertBeforeOrAppend(e,a)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let n=e;null!==n;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,e);const a=r._prev,o=r._next;return a&&(a._next=o),o&&(o._prev=a),r._next=null,r._prev=null,r}const n=new qj(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class qj{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function MA(){return new ul([new xA])}let ul=(()=>{class i{constructor(e){this.factories=e}static create(e,n){if(null!=n){const r=n.factories.slice();e=e.concat(r)}return new i(e)}static extend(e){return{provide:i,useFactory:n=>i.create(e,n||MA()),deps:[[i,new Pl,new gs]]}}find(e){const n=this.factories.find(r=>r.supports(e));if(null!=n)return n;throw new Je(901,!1)}}return i.\u0275prov=it({token:i,providedIn:"root",factory:MA}),i})();function EA(){return new lg([new DA])}let lg=(()=>{class i{constructor(e){this.factories=e}static create(e,n){if(n){const r=n.factories.slice();e=e.concat(r)}return new i(e)}static extend(e){return{provide:i,useFactory:n=>i.create(e,n||EA()),deps:[[i,new Pl,new gs]]}}find(e){const n=this.factories.find(r=>r.supports(e));if(n)return n;throw new Je(901,!1)}}return i.\u0275prov=it({token:i,providedIn:"root",factory:EA}),i})();const Qj=uA(null,"core",[]);let Zj=(()=>{class i{constructor(e){}}return i.\u0275fac=function(e){return new(e||i)(Ee(ld))},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})();function hf(i){return"boolean"==typeof i?i:null!=i&&"false"!==i}let zF=null;function cd(){return zF}class ez{}const Ci=new Ke("DocumentToken");let UF=(()=>{class i{historyGo(e){throw new Error("Not implemented")}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:function(){return function tz(){return Ee(SA)}()},providedIn:"platform"}),i})();const iz=new Ke("Location Initialized");let SA=(()=>{class i extends UF{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return cd().getBaseHref(this._doc)}onPopState(e){const n=cd().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){const n=cd().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,n,r){AA()?this._history.pushState(e,n,r):this._location.hash=r}replaceState(e,n,r){AA()?this._history.replaceState(e,n,r):this._location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return i.\u0275fac=function(e){return new(e||i)(Ee(Ci))},i.\u0275prov=it({token:i,factory:function(){return function nz(){return new SA(Ee(Ci))}()},providedIn:"platform"}),i})();function AA(){return!!window.history.pushState}function WF(i,t){if(0==i.length)return t;if(0==t.length)return i;let e=0;return i.endsWith("/")&&e++,t.startsWith("/")&&e++,2==e?i+t.substring(1):1==e?i+t:i+"/"+t}function TA(i){const t=i.match(/#|\?|$/),e=t&&t.index||i.length;return i.slice(0,e-("/"===i[e-1]?1:0))+i.slice(e)}function dd(i){return i&&"?"!==i[0]?"?"+i:i}let wh=(()=>{class i{historyGo(e){throw new Error("Not implemented")}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:function(){return Xt(NA)},providedIn:"root"}),i})();const IA=new Ke("appBaseHref");let NA=(()=>{class i extends wh{constructor(e,n){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??Xt(Ci).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return WF(this._baseHref,e)}path(e=!1){const n=this._platformLocation.pathname+dd(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${n}${r}`:n}pushState(e,n,r,a){const o=this.prepareExternalUrl(r+dd(a));this._platformLocation.pushState(e,n,o)}replaceState(e,n,r,a){const o=this.prepareExternalUrl(r+dd(a));this._platformLocation.replaceState(e,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return i.\u0275fac=function(e){return new(e||i)(Ee(UF),Ee(IA,8))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),rz=(()=>{class i extends wh{constructor(e,n){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=n&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let n=this._platformLocation.hash;return null==n&&(n="#"),n.length>0?n.substring(1):n}prepareExternalUrl(e){const n=WF(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,r,a){let o=this.prepareExternalUrl(r+dd(a));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,n,o)}replaceState(e,n,r,a){let o=this.prepareExternalUrl(r+dd(a));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return i.\u0275fac=function(e){return new(e||i)(Ee(UF),Ee(IA,8))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})(),ud=(()=>{class i{constructor(e){this._subject=new ht,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const n=this._locationStrategy.getBaseHref();this._basePath=function sz(i){if(new RegExp("^(https?:)?//").test(i)){const[,e]=i.split(/\/\/[^\/]+/);return e}return i}(TA(LA(n))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+dd(n))}normalize(e){return i.stripTrailingSlash(function oz(i,t){return i&&new RegExp(`^${i}([/;?#]|$)`).test(t)?t.substring(i.length):t}(this._basePath,LA(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",r=null){this._locationStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+dd(n)),r)}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+dd(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)})),()=>{const n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(r=>r(e,n))}subscribe(e,n,r){return this._subject.subscribe({next:e,error:n,complete:r})}}return i.normalizeQueryParams=dd,i.joinWithSlash=WF,i.stripTrailingSlash=TA,i.\u0275fac=function(e){return new(e||i)(Ee(wh))},i.\u0275prov=it({token:i,factory:function(){return function az(){return new ud(Ee(wh))}()},providedIn:"root"}),i})();function LA(i){return i.replace(/\/index.html$/,"")}var ka=(()=>((ka=ka||{})[ka.Format=0]="Format",ka[ka.Standalone=1]="Standalone",ka))(),Wn=(()=>((Wn=Wn||{})[Wn.Narrow=0]="Narrow",Wn[Wn.Abbreviated=1]="Abbreviated",Wn[Wn.Wide=2]="Wide",Wn[Wn.Short=3]="Short",Wn))(),sa=(()=>((sa=sa||{})[sa.Short=0]="Short",sa[sa.Medium=1]="Medium",sa[sa.Long=2]="Long",sa[sa.Full=3]="Full",sa))(),Wi=(()=>((Wi=Wi||{})[Wi.Decimal=0]="Decimal",Wi[Wi.Group=1]="Group",Wi[Wi.List=2]="List",Wi[Wi.PercentSign=3]="PercentSign",Wi[Wi.PlusSign=4]="PlusSign",Wi[Wi.MinusSign=5]="MinusSign",Wi[Wi.Exponential=6]="Exponential",Wi[Wi.SuperscriptingExponent=7]="SuperscriptingExponent",Wi[Wi.PerMille=8]="PerMille",Wi[Wi.Infinity=9]="Infinity",Wi[Wi.NaN=10]="NaN",Wi[Wi.TimeSeparator=11]="TimeSeparator",Wi[Wi.CurrencyDecimal=12]="CurrencyDecimal",Wi[Wi.CurrencyGroup=13]="CurrencyGroup",Wi))();function G1(i,t){return ml(es(i)[Jt.DateFormat],t)}function q1(i,t){return ml(es(i)[Jt.TimeFormat],t)}function $1(i,t){return ml(es(i)[Jt.DateTimeFormat],t)}function hl(i,t){const e=es(i),n=e[Jt.NumberSymbols][t];if(typeof n>"u"){if(t===Wi.CurrencyDecimal)return e[Jt.NumberSymbols][Wi.Decimal];if(t===Wi.CurrencyGroup)return e[Jt.NumberSymbols][Wi.Group]}return n}function RA(i){if(!i[Jt.ExtraData])throw new Error(`Missing extra locale data for the locale "${i[Jt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ml(i,t){for(let e=t;e>-1;e--)if(typeof i[e]<"u")return i[e];throw new Error("Locale data API: locale data undefined")}function qF(i){const[t,e]=i.split(":");return{hours:+t,minutes:+e}}const vz=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,cg={},wz=/((?:[^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 co=(()=>((co=co||{})[co.Short=0]="Short",co[co.ShortGMT=1]="ShortGMT",co[co.Long=2]="Long",co[co.Extended=3]="Extended",co))(),$i=(()=>(($i=$i||{})[$i.FullYear=0]="FullYear",$i[$i.Month=1]="Month",$i[$i.Date=2]="Date",$i[$i.Hours=3]="Hours",$i[$i.Minutes=4]="Minutes",$i[$i.Seconds=5]="Seconds",$i[$i.FractionalSeconds=6]="FractionalSeconds",$i[$i.Day=7]="Day",$i))(),Dn=(()=>((Dn=Dn||{})[Dn.DayPeriods=0]="DayPeriods",Dn[Dn.Days=1]="Days",Dn[Dn.Months=2]="Months",Dn[Dn.Eras=3]="Eras",Dn))();function Fz(i,t,e,n){let r=function Tz(i){if(HA(i))return i;if("number"==typeof i&&!isNaN(i))return new Date(i);if("string"==typeof i){if(i=i.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(i)){const[r,a=1,o=1]=i.split("-").map(c=>+c);return K1(r,a-1,o)}const e=parseFloat(i);if(!isNaN(i-e))return new Date(e);let n;if(n=i.match(vz))return function Iz(i){const t=new Date(0);let e=0,n=0;const r=i[8]?t.setUTCFullYear:t.setFullYear,a=i[8]?t.setUTCHours:t.setHours;i[9]&&(e=Number(i[9]+i[10]),n=Number(i[9]+i[11])),r.call(t,Number(i[1]),Number(i[2])-1,Number(i[3]));const o=Number(i[4]||0)-e,c=Number(i[5]||0)-n,h=Number(i[6]||0),f=Math.floor(1e3*parseFloat("0."+(i[7]||0)));return a.call(t,o,c,h,f),t}(n)}const t=new Date(i);if(!HA(t))throw new Error(`Unable to convert "${i}" into a date`);return t}(i);t=hd(e,t)||t;let c,o=[];for(;t;){if(c=wz.exec(t),!c){o.push(t);break}{o=o.concat(c.slice(1));const F=o.pop();if(!F)break;t=F}}let h=r.getTimezoneOffset();n&&(h=BA(n,h),r=function Az(i,t,e){const n=e?-1:1,r=i.getTimezoneOffset();return function Sz(i,t){return(i=new Date(i.getTime())).setMinutes(i.getMinutes()+t),i}(i,n*(BA(t,r)-r))}(r,n,!0));let f="";return o.forEach(F=>{const R=function Ez(i){if(KF[i])return KF[i];let t;switch(i){case"G":case"GG":case"GGG":t=Gr(Dn.Eras,Wn.Abbreviated);break;case"GGGG":t=Gr(Dn.Eras,Wn.Wide);break;case"GGGGG":t=Gr(Dn.Eras,Wn.Narrow);break;case"y":t=Ra($i.FullYear,1,0,!1,!0);break;case"yy":t=Ra($i.FullYear,2,0,!0,!0);break;case"yyy":t=Ra($i.FullYear,3,0,!1,!0);break;case"yyyy":t=Ra($i.FullYear,4,0,!1,!0);break;case"Y":t=J1(1);break;case"YY":t=J1(2,!0);break;case"YYY":t=J1(3);break;case"YYYY":t=J1(4);break;case"M":case"L":t=Ra($i.Month,1,1);break;case"MM":case"LL":t=Ra($i.Month,2,1);break;case"MMM":t=Gr(Dn.Months,Wn.Abbreviated);break;case"MMMM":t=Gr(Dn.Months,Wn.Wide);break;case"MMMMM":t=Gr(Dn.Months,Wn.Narrow);break;case"LLL":t=Gr(Dn.Months,Wn.Abbreviated,ka.Standalone);break;case"LLLL":t=Gr(Dn.Months,Wn.Wide,ka.Standalone);break;case"LLLLL":t=Gr(Dn.Months,Wn.Narrow,ka.Standalone);break;case"w":t=$F(1);break;case"ww":t=$F(2);break;case"W":t=$F(1,!0);break;case"d":t=Ra($i.Date,1);break;case"dd":t=Ra($i.Date,2);break;case"c":case"cc":t=Ra($i.Day,1);break;case"ccc":t=Gr(Dn.Days,Wn.Abbreviated,ka.Standalone);break;case"cccc":t=Gr(Dn.Days,Wn.Wide,ka.Standalone);break;case"ccccc":t=Gr(Dn.Days,Wn.Narrow,ka.Standalone);break;case"cccccc":t=Gr(Dn.Days,Wn.Short,ka.Standalone);break;case"E":case"EE":case"EEE":t=Gr(Dn.Days,Wn.Abbreviated);break;case"EEEE":t=Gr(Dn.Days,Wn.Wide);break;case"EEEEE":t=Gr(Dn.Days,Wn.Narrow);break;case"EEEEEE":t=Gr(Dn.Days,Wn.Short);break;case"a":case"aa":case"aaa":t=Gr(Dn.DayPeriods,Wn.Abbreviated);break;case"aaaa":t=Gr(Dn.DayPeriods,Wn.Wide);break;case"aaaaa":t=Gr(Dn.DayPeriods,Wn.Narrow);break;case"b":case"bb":case"bbb":t=Gr(Dn.DayPeriods,Wn.Abbreviated,ka.Standalone,!0);break;case"bbbb":t=Gr(Dn.DayPeriods,Wn.Wide,ka.Standalone,!0);break;case"bbbbb":t=Gr(Dn.DayPeriods,Wn.Narrow,ka.Standalone,!0);break;case"B":case"BB":case"BBB":t=Gr(Dn.DayPeriods,Wn.Abbreviated,ka.Format,!0);break;case"BBBB":t=Gr(Dn.DayPeriods,Wn.Wide,ka.Format,!0);break;case"BBBBB":t=Gr(Dn.DayPeriods,Wn.Narrow,ka.Format,!0);break;case"h":t=Ra($i.Hours,1,-12);break;case"hh":t=Ra($i.Hours,2,-12);break;case"H":t=Ra($i.Hours,1);break;case"HH":t=Ra($i.Hours,2);break;case"m":t=Ra($i.Minutes,1);break;case"mm":t=Ra($i.Minutes,2);break;case"s":t=Ra($i.Seconds,1);break;case"ss":t=Ra($i.Seconds,2);break;case"S":t=Ra($i.FractionalSeconds,1);break;case"SS":t=Ra($i.FractionalSeconds,2);break;case"SSS":t=Ra($i.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Z1(co.Short);break;case"ZZZZZ":t=Z1(co.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Z1(co.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Z1(co.Long);break;default:return null}return KF[i]=t,t}(F);f+=R?R(r,e,h):"''"===F?"'":F.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),f}function K1(i,t,e){const n=new Date(0);return n.setFullYear(i,t,e),n.setHours(0,0,0),n}function hd(i,t){const e=function lz(i){return es(i)[Jt.LocaleId]}(i);if(cg[e]=cg[e]||{},cg[e][t])return cg[e][t];let n="";switch(t){case"shortDate":n=G1(i,sa.Short);break;case"mediumDate":n=G1(i,sa.Medium);break;case"longDate":n=G1(i,sa.Long);break;case"fullDate":n=G1(i,sa.Full);break;case"shortTime":n=q1(i,sa.Short);break;case"mediumTime":n=q1(i,sa.Medium);break;case"longTime":n=q1(i,sa.Long);break;case"fullTime":n=q1(i,sa.Full);break;case"short":const r=hd(i,"shortTime"),a=hd(i,"shortDate");n=Q1($1(i,sa.Short),[r,a]);break;case"medium":const o=hd(i,"mediumTime"),c=hd(i,"mediumDate");n=Q1($1(i,sa.Medium),[o,c]);break;case"long":const h=hd(i,"longTime"),f=hd(i,"longDate");n=Q1($1(i,sa.Long),[h,f]);break;case"full":const F=hd(i,"fullTime"),R=hd(i,"fullDate");n=Q1($1(i,sa.Full),[F,R])}return n&&(cg[e][t]=n),n}function Q1(i,t){return t&&(i=i.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),i}function Wl(i,t,e="-",n,r){let a="";(i<0||r&&i<=0)&&(r?i=1-i:(i=-i,a=e));let o=String(i);for(;o.length0||c>-e)&&(c+=e),i===$i.Hours)0===c&&-12===e&&(c=12);else if(i===$i.FractionalSeconds)return function xz(i,t){return Wl(i,3).substring(0,t)}(c,t);const h=hl(o,Wi.MinusSign);return Wl(c,t,h,n,r)}}function Gr(i,t,e=ka.Format,n=!1){return function(r,a){return function Cz(i,t,e,n,r,a){switch(e){case Dn.Months:return function uz(i,t,e){const n=es(i),a=ml([n[Jt.MonthsFormat],n[Jt.MonthsStandalone]],t);return ml(a,e)}(t,r,n)[i.getMonth()];case Dn.Days:return function dz(i,t,e){const n=es(i),a=ml([n[Jt.DaysFormat],n[Jt.DaysStandalone]],t);return ml(a,e)}(t,r,n)[i.getDay()];case Dn.DayPeriods:const o=i.getHours(),c=i.getMinutes();if(a){const f=function pz(i){const t=es(i);return RA(t),(t[Jt.ExtraData][2]||[]).map(n=>"string"==typeof n?qF(n):[qF(n[0]),qF(n[1])])}(t),F=function gz(i,t,e){const n=es(i);RA(n);const a=ml([n[Jt.ExtraData][0],n[Jt.ExtraData][1]],t)||[];return ml(a,e)||[]}(t,r,n),R=f.findIndex(W=>{if(Array.isArray(W)){const[te,fe]=W,we=o>=te.hours&&c>=te.minutes,Ae=o0?Math.floor(r/60):Math.ceil(r/60);switch(i){case co.Short:return(r>=0?"+":"")+Wl(o,2,a)+Wl(Math.abs(r%60),2,a);case co.ShortGMT:return"GMT"+(r>=0?"+":"")+Wl(o,1,a);case co.Long:return"GMT"+(r>=0?"+":"")+Wl(o,2,a)+":"+Wl(Math.abs(r%60),2,a);case co.Extended:return 0===n?"Z":(r>=0?"+":"")+Wl(o,2,a)+":"+Wl(Math.abs(r%60),2,a);default:throw new Error(`Unknown zone width "${i}"`)}}}const Dz=0,X1=4;function PA(i){return K1(i.getFullYear(),i.getMonth(),i.getDate()+(X1-i.getDay()))}function $F(i,t=!1){return function(e,n){let r;if(t){const a=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,o=e.getDate();r=1+Math.floor((o+a)/7)}else{const a=PA(e),o=function Mz(i){const t=K1(i,Dz,1).getDay();return K1(i,0,1+(t<=X1?X1:X1+7)-t)}(a.getFullYear()),c=a.getTime()-o.getTime();r=1+Math.round(c/6048e5)}return Wl(r,i,hl(n,Wi.MinusSign))}}function J1(i,t=!1){return function(e,n){return Wl(PA(e).getFullYear(),i,hl(n,Wi.MinusSign),t)}}const KF={};function BA(i,t){i=i.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+i)/6e4;return isNaN(e)?t:e}function HA(i){return i instanceof Date&&!isNaN(i.valueOf())}function zA(i,t){t=encodeURIComponent(t);for(const e of i.split(";")){const n=e.indexOf("="),[r,a]=-1==n?[e,""]:[e.slice(0,n),e.slice(n+1)];if(r.trim()===t)return decodeURIComponent(a)}return null}const tx=/\s+/,UA=[];let Pa=(()=>{class i{constructor(e,n,r,a){this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=r,this._renderer=a,this.initialClasses=UA,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(tx):UA}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(tx):e}ngDoCheck(){for(const n of this.initialClasses)this._updateState(n,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const n of e)this._updateState(n,!0);else if(null!=e)for(const n of Object.keys(e))this._updateState(n,Boolean(e[n]));this._applyStateDiff()}_updateState(e,n){const r=this.stateMap.get(e);void 0!==r?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const n=e[0],r=e[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(e,n){(e=e.trim()).length>0&&e.split(tx).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return i.\u0275fac=function(e){return new(e||i)(D(ul),D(lg),D(_t),D(Bl))},i.\u0275dir=Oe({type:i,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),i})();class Wz{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Gn=(()=>{class i{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,n,r){this._viewContainer=e,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const n=this._viewContainer;e.forEachOperation((r,a,o)=>{if(null==r.previousIndex)n.createEmbeddedView(this._template,new Wz(r.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)n.remove(null===a?void 0:a);else if(null!==a){const c=n.get(a);n.move(c,o),qA(c,r)}});for(let r=0,a=n.length;r{qA(n.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,n){return!0}}return i.\u0275fac=function(e){return new(e||i)(D(kr),D(yr),D(ul))},i.\u0275dir=Oe({type:i,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),i})();function qA(i,t){i.context.$implicit=t.item}let mi=(()=>{class i{constructor(e,n){this._viewContainer=e,this._context=new qz,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){$A("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){$A("ngIfElse",e),this._elseTemplateRef=e,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 ngTemplateContextGuard(e,n){return!0}}return i.\u0275fac=function(e){return new(e||i)(D(kr),D(yr))},i.\u0275dir=Oe({type:i,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),i})();class qz{constructor(){this.$implicit=null,this.ngIf=null}}function $A(i,t){if(t&&!t.createEmbeddedView)throw new Error(`${i} must be a TemplateRef, but received '${Pi(t)}'.`)}class ix{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let ou=(()=>{class i{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const n=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const n of this._defaultViews)n.enforceState(e)}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),i})(),mf=(()=>{class i{constructor(e,n,r){this.ngSwitch=r,r._addCase(),this._view=new ix(e,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return i.\u0275fac=function(e){return new(e||i)(D(kr),D(yr),D(ou,9))},i.\u0275dir=Oe({type:i,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),i})(),KA=(()=>{class i{constructor(e,n,r){r._addDefault(new ix(e,n))}}return i.\u0275fac=function(e){return new(e||i)(D(kr),D(yr),D(ou,9))},i.\u0275dir=Oe({type:i,selectors:[["","ngSwitchDefault",""]],standalone:!0}),i})(),ff=(()=>{class i{constructor(e,n,r){this._ngEl=e,this._differs=n,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){const[r,a]=e.split("."),o=-1===r.indexOf("-")?void 0:_s.DashCase;null!=n?this._renderer.setStyle(this._ngEl.nativeElement,r,a?`${n}${a}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(lg),D(Bl))},i.\u0275dir=Oe({type:i,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),i})(),ug=(()=>{class i{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:a,ngTemplateOutletInjector:o}=this;this._viewRef=n.createEmbeddedView(r,a,o?{injector:o}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return i.\u0275fac=function(e){return new(e||i)(D(kr))},i.\u0275dir=Oe({type:i,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[mr]}),i})();function Gl(i,t){return new Je(2100,!1)}class Kz{createSubscription(t,e){return t.subscribe({next:e,error:n=>{throw n}})}dispose(t){t.unsubscribe()}}class Qz{createSubscription(t,e){return t.then(e,n=>{throw n})}dispose(t){}}const Zz=new Qz,Xz=new Kz;let Os=(()=>{class i{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n))}_selectStrategy(e){if(Zp(e))return Zz;if(QE(e))return Xz;throw Gl()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this._ref.markForCheck())}}return i.\u0275fac=function(e){return new(e||i)(D(li,16))},i.\u0275pipe=Lr({name:"async",type:i,pure:!1,standalone:!0}),i})();const rU=new Ke("DATE_PIPE_DEFAULT_TIMEZONE"),aU=new Ke("DATE_PIPE_DEFAULT_OPTIONS");let ZA=(()=>{class i{constructor(e,n,r){this.locale=e,this.defaultTimezone=n,this.defaultOptions=r}transform(e,n,r,a){if(null==e||""===e||e!=e)return null;try{return Fz(e,n??this.defaultOptions?.dateFormat??"mediumDate",a||this.locale,r??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(o){throw Gl()}}}return i.\u0275fac=function(e){return new(e||i)(D(Fc,16),D(rU,24),D(aU,24))},i.\u0275pipe=Lr({name:"date",type:i,pure:!0,standalone:!0}),i})(),XA=(()=>{class i{transform(e){return JSON.stringify(e,null,2)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=Lr({name:"json",type:i,pure:!1,standalone:!0}),i})(),JA=(()=>{class i{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=eT}transform(e,n=eT){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const r=this.differ.diff(e),a=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(o=>{this.keyValues.push(function cU(i,t){return{key:i,value:t}}(o.key,o.currentValue))})),(r||a)&&(this.keyValues.sort(n),this.compareFn=n),this.keyValues}}return i.\u0275fac=function(e){return new(e||i)(D(lg,16))},i.\u0275pipe=Lr({name:"keyvalue",type:i,pure:!1,standalone:!0}),i})();function eT(i,t){const e=i.key,n=t.key;if(e===n)return 0;if(void 0===e)return 1;if(void 0===n)return-1;if(null===e)return 1;if(null===n)return-1;if("string"==typeof e&&"string"==typeof n)return e{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})();const tT="browser";function su(i){return i===tT}let gU=(()=>{class i{}return i.\u0275prov=it({token:i,providedIn:"root",factory:()=>new _U(Ee(Ci),window)}),i})();class _U{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function bU(i,t){const e=i.getElementById(t)||i.getElementsByName(t)[0];if(e)return e;if("function"==typeof i.createTreeWalker&&i.body&&(i.body.createShadowRoot||i.body.attachShadow)){const n=i.createTreeWalker(i.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const a=r.shadowRoot;if(a){const o=a.getElementById(t)||a.querySelector(`[name="${t}"]`);if(o)return o}r=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(n-a[0],r-a[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=iT(this.window.history)||iT(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function iT(i){return Object.getOwnPropertyDescriptor(i,"scrollRestoration")}class nT{}class WU extends ez{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class sx extends WU{static makeCurrent(){!function Jj(i){zF||(zF=i)}(new sx)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).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,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=function GU(){return mg=mg||document.querySelector("base"),mg?mg.getAttribute("href"):null}();return null==e?null:function qU(i){nb=nb||document.createElement("a"),nb.setAttribute("href",i);const t=nb.pathname;return"/"===t.charAt(0)?t:`/${t}`}(e)}resetBaseElement(){mg=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return zA(document.cookie,t)}}let nb,mg=null;const lT=new Ke("TRANSITION_ID"),KU=[{provide:sg,useFactory:function $U(i,t,e){return()=>{e.get(Y1).donePromise.then(()=>{const n=cd(),r=t.querySelectorAll(`style[ng-transition="${i}"]`);for(let a=0;a{class i{build(){return new XMLHttpRequest}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();const rb=new Ke("EventManagerPlugins");let ab=(()=>{class i{constructor(e,n){this._zone=n,this._eventNameToPlugin=new Map,e.forEach(r=>r.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,n,r){return this._findPluginFor(n).addEventListener(e,n,r)}addGlobalEventListener(e,n,r){return this._findPluginFor(n).addGlobalEventListener(e,n,r)}getZone(){return this._zone}_findPluginFor(e){const n=this._eventNameToPlugin.get(e);if(n)return n;const r=this._plugins;for(let a=0;a{class i{constructor(){this.usageCount=new Map}addStyles(e){for(const n of e)1===this.changeUsageCount(n,1)&&this.onStyleAdded(n)}removeStyles(e){for(const n of e)0===this.changeUsageCount(n,-1)&&this.onStyleRemoved(n)}onStyleRemoved(e){}onStyleAdded(e){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(e,n){const r=this.usageCount;let a=r.get(e)??0;return a+=n,a>0?r.set(e,a):r.delete(e),a}ngOnDestroy(){for(const e of this.getAllStyles())this.onStyleRemoved(e);this.usageCount.clear()}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})(),fg=(()=>{class i extends dT{constructor(e){super(),this.doc=e,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(e){for(const n of this.hostNodes)this.addStyleToHost(n,e)}onStyleRemoved(e){const n=this.styleRef;n.get(e)?.forEach(a=>a.remove()),n.delete(e)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const n of this.getAllStyles())this.addStyleToHost(e,n)}removeHost(e){this.hostNodes.delete(e)}addStyleToHost(e,n){const r=this.doc.createElement("style");r.textContent=n,e.appendChild(r);const a=this.styleRef.get(n);a?a.push(r):this.styleRef.set(n,[r])}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return i.\u0275fac=function(e){return new(e||i)(Ee(Ci))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();const lx={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/MathML/"},cx=/%COMP%/g,mT=new Ke("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function fT(i,t){return t.flat(100).map(e=>e.replace(cx,i))}function pT(i){return t=>{if("__ngUnwrap__"===t)return i;!1===i(t)&&(t.preventDefault(),t.returnValue=!1)}}let ob=(()=>{class i{constructor(e,n,r,a){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestory=a,this.rendererByCompId=new Map,this.defaultRenderer=new dx(e)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;const r=this.getOrCreateRenderer(e,n);return r instanceof bT?r.applyToHost(e):r instanceof ux&&r.applyStyles(),r}getOrCreateRenderer(e,n){const r=this.rendererByCompId;let a=r.get(n.id);if(!a){const o=this.eventManager,c=this.sharedStylesHost,h=this.removeStylesOnCompDestory;switch(n.encapsulation){case Fe.Emulated:a=new bT(o,c,n,this.appId,h);break;case Fe.ShadowDom:return new rW(o,c,e,n);default:a=new ux(o,c,n,h)}a.onDestroy=()=>r.delete(n.id),r.set(n.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return i.\u0275fac=function(e){return new(e||i)(Ee(ab),Ee(fg),Ee(uf),Ee(mT))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();class dx{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(lx[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(_T(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(_T(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const a=lx[r];a?t.setAttributeNS(a,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=lx[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(_s.DashCase|_s.Important)?t.style.setProperty(e,n,r&_s.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&_s.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,pT(n)):this.eventManager.addEventListener(t,e,pT(n))}}function _T(i){return"TEMPLATE"===i.tagName&&void 0!==i.content}class rW extends dx{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const a=fT(r.id,r.styles);for(const o of a){const c=document.createElement("style");c.textContent=o,this.shadowRoot.appendChild(c)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ux extends dx{constructor(t,e,n,r,a=n.id){super(t),this.sharedStylesHost=e,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=fT(a,n.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class bT extends ux{constructor(t,e,n,r,a){const o=r+"-"+n.id;super(t,e,n,a,o),this.contentAttr=function tW(i){return"_ngcontent-%COMP%".replace(cx,i)}(o),this.hostAttr=function iW(i){return"_nghost-%COMP%".replace(cx,i)}(o)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}let aW=(()=>{class i extends cT{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,r){return e.addEventListener(n,r,!1),()=>this.removeEventListener(e,n,r)}removeEventListener(e,n,r){return e.removeEventListener(n,r)}}return i.\u0275fac=function(e){return new(e||i)(Ee(Ci))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();const yT=["alt","control","meta","shift"],oW={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},sW={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey};let lW=(()=>{class i extends cT{constructor(e){super(e)}supports(e){return null!=i.parseEventName(e)}addEventListener(e,n,r){const a=i.parseEventName(n),o=i.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>cd().onAndCancel(e,a.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const a=i._normalizeKey(n.pop());let o="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),o="code."),yT.forEach(f=>{const F=n.indexOf(f);F>-1&&(n.splice(F,1),o+=f+".")}),o+=a,0!=n.length||0===a.length)return null;const h={};return h.domEventName=r,h.fullKey=o,h}static matchEventFullKeyCode(e,n){let r=oW[e.key]||e.key,a="";return n.indexOf("code.")>-1&&(r=e.code,a="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),yT.forEach(o=>{o!==r&&(0,sW[o])(e)&&(a+=o+".")}),a+=r,a===n)}static eventCallback(e,n,r){return a=>{i.matchEventFullKeyCode(a,e)&&r.runGuarded(()=>n(a))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return i.\u0275fac=function(e){return new(e||i)(Ee(Ci))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();const wT=[{provide:ru,useValue:tT},{provide:eA,useValue:function cW(){sx.makeCurrent()},multi:!0},{provide:Ci,useFactory:function uW(){return function o7(i){w2=i}(document),document},deps:[]}],hW=uA(Qj,"browser",wT),FT=new Ke(""),xT=[{provide:j1,useClass:class QU{addToWindow(t){Li.getAngularTestability=(n,r=!0)=>{const a=t.findTestabilityInTree(n,r);if(null==a)throw new Error("Could not find testability for element.");return a},Li.getAllAngularTestabilities=()=>t.getAllTestabilities(),Li.getAllAngularRootElements=()=>t.getAllRootElements(),Li.frameworkStabilizers||(Li.frameworkStabilizers=[]),Li.frameworkStabilizers.push(n=>{const r=Li.getAllAngularTestabilities();let a=r.length,o=!1;const c=function(h){o=o||h,a--,0==a&&n(o)};r.forEach(function(h){h.whenStable(c)})})}findTestabilityInTree(t,e,n){return null==e?null:t.getTestability(e)??(n?cd().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:sA,useClass:LF,deps:[Rt,OF,j1]},{provide:LF,useClass:LF,deps:[Rt,OF,j1]}],kT=[{provide:S2,useValue:"root"},{provide:rd,useFactory:function dW(){return new rd},deps:[]},{provide:rb,useClass:aW,multi:!0,deps:[Ci,Rt,ru]},{provide:rb,useClass:lW,multi:!0,deps:[Ci]},{provide:ob,useClass:ob,deps:[ab,fg,uf,mT]},{provide:jm,useExisting:ob},{provide:dT,useExisting:fg},{provide:fg,useClass:fg,deps:[Ci]},{provide:ab,useClass:ab,deps:[rb,Rt]},{provide:nT,useClass:ZU,deps:[]},[]];let CT=(()=>{class i{constructor(e){}static withServerTransition(e){return{ngModule:i,providers:[{provide:uf,useValue:e.appId},{provide:lT,useExisting:uf},KU]}}}return i.\u0275fac=function(e){return new(e||i)(Ee(FT,12))},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[...kT,...xT],imports:[Mr,Zj]}),i})(),mx=(()=>{class i{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return i.\u0275fac=function(e){return new(e||i)(Ee(Ci))},i.\u0275prov=it({token:i,factory:function(e){let n=null;return n=e?new e:function fW(){return new mx(Ee(Ci))}(),n},providedIn:"root"}),i})();typeof window<"u"&&window;let px,pg=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:function(e){let n=null;return n=e?new(e||i):Ee(ET),n},providedIn:"root"}),i})(),ET=(()=>{class i extends pg{constructor(e){super(),this._doc=e}sanitize(e,n){if(null==n)return null;switch(e){case br.NONE:return n;case br.HTML:return gc(n,"HTML")?Ns(n):j3(this._doc,String(n)).toString();case br.STYLE:return gc(n,"Style")?Ns(n):n;case br.SCRIPT:if(gc(n,"Script"))return Ns(n);throw new Error("unsafe value used in a script context");case br.URL:return gc(n,"URL")?Ns(n):f1(String(n));case br.RESOURCE_URL:if(gc(n,"ResourceURL"))return Ns(n);throw new Error(`unsafe value used in a resource URL context (see ${oi})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${oi})`)}}bypassSecurityTrustHtml(e){return function m7(i){return new s7(i)}(e)}bypassSecurityTrustStyle(e){return function f7(i){return new l7(i)}(e)}bypassSecurityTrustScript(e){return function p7(i){return new c7(i)}(e)}bypassSecurityTrustUrl(e){return function g7(i){return new d7(i)}(e)}bypassSecurityTrustResourceUrl(e){return function _7(i){return new u7(i)}(e)}}return i.\u0275fac=function(e){return new(e||i)(Ee(Ci))},i.\u0275prov=it({token:i,factory:function(e){let n=null;return n=e?new e:function wW(i){return new ET(i.get(Ci))}(Ee(Wr)),n},providedIn:"root"}),i})();try{px=typeof Intl<"u"&&Intl.v8BreakIterator}catch{px=!1}let pf,Pn=(()=>{class i{constructor(e){this._platformId=e,this.isBrowser=this._platformId?su(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!px)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return i.\u0275fac=function(e){return new(e||i)(Ee(ru))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),FW=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})();const ST=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function AT(){if(pf)return pf;if("object"!=typeof document||!document)return pf=new Set(ST),pf;let i=document.createElement("input");return pf=new Set(ST.filter(t=>(i.setAttribute("type",t),i.type===t))),pf}let gg,sb,Fh,gx;function md(i){return function xW(){if(null==gg&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>gg=!0}))}finally{gg=gg||!1}return gg}()?i:!!i.capture}function TT(){if(null==Fh){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Fh=!1,Fh;if("scrollBehavior"in document.documentElement.style)Fh=!0;else{const i=Element.prototype.scrollTo;Fh=!!i&&!/\{\s*\[native code\]\s*\}/.test(i.toString())}}return Fh}function _g(){if("object"!=typeof document||!document)return 0;if(null==sb){const i=document.createElement("div"),t=i.style;i.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const e=document.createElement("div"),n=e.style;n.width="2px",n.height="1px",i.appendChild(e),document.body.appendChild(i),sb=0,0===i.scrollLeft&&(i.scrollLeft=1,sb=0===i.scrollLeft?1:2),i.remove()}return sb}function lb(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){const t=i.shadowRoot.activeElement;if(t===i)break;i=t}return i}function fd(i){return i.composedPath?i.composedPath()[0]:i.target}function _x(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}class Oi extends He{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:n}=this;if(t)throw e;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}function qt(...i){return Jn(i,fo(i))}function ga(i,...t){return t.length?t.some(e=>i[e]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}function Jr(i,t,e){const n=E(i)||t||e?{next:i,error:t,complete:e}:i;return n?ei((r,a)=>{var o;null===(o=n.subscribe)||void 0===o||o.call(n);let c=!0;r.subscribe(zt(a,h=>{var f;null===(f=n.next)||void 0===f||f.call(n,h),a.next(h)},()=>{var h;c=!1,null===(h=n.complete)||void 0===h||h.call(n),a.complete()},h=>{var f;c=!1,null===(f=n.error)||void 0===f||f.call(n,h),a.error(h)},()=>{var h,f;c&&(null===(h=n.unsubscribe)||void 0===h||h.call(n)),null===(f=n.finalize)||void 0===f||f.call(n)}))}):ze}class HW extends x{constructor(t,e){super()}schedule(t,e=0){return this}}const hb={setInterval(i,t,...e){const{delegate:n}=hb;return n?.setInterval?n.setInterval(i,t,...e):setInterval(i,t,...e)},clearInterval(i){const{delegate:t}=hb;return(t?.clearInterval||clearInterval)(i)},delegate:void 0};class vx extends HW{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var n;if(this.closed)return this;this.state=t;const r=this.id,a=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(a,r,e)),this.pending=!0,this.delay=e,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(a,this.id,e),this}requestAsyncId(t,e,n=0){return hb.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return e;null!=e&&hb.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r,n=!1;try{this.work(t)}catch(a){n=!0,r=a||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,_(n,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}const wx={now:()=>(wx.delegate||Date).now(),delegate:void 0};class bg{constructor(t,e=bg.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,n){return new this.schedulerActionCtor(this,t).schedule(n,e)}}bg.now=wx.now;class Fx extends bg{constructor(t,e=bg.now){super(t,e),this.actions=[],this._active=!1}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}const _f=new Fx(vx),VW=_f;function yg(i,t=_f){return ei((e,n)=>{let r=null,a=null,o=null;const c=()=>{if(r){r.unsubscribe(),r=null;const f=a;a=null,n.next(f)}};function h(){const f=o+i,F=t.now();if(F{a=f,o=t.now(),r||(r=t.schedule(h,i),n.add(r))},()=>{c(),n.complete()},void 0,()=>{a=r=null}))})}function Ki(i,t){return ei((e,n)=>{let r=0;e.subscribe(zt(n,a=>i.call(t,a,r++)&&n.next(a)))})}function gn(i){return i<=0?()=>an:ei((t,e)=>{let n=0;t.subscribe(zt(e,r=>{++n<=i&&(e.next(r),i<=n&&e.complete())}))})}function xx(i){return Ki((t,e)=>i<=e)}function vg(i,t=ze){return i=i??YW,ei((e,n)=>{let r,a=!0;e.subscribe(zt(n,o=>{const c=t(o);(a||!i(r,c))&&(a=!1,r=c,n.next(o))}))})}function YW(i,t){return i===t}function ti(i){return ei((t,e)=>{dn(i).subscribe(zt(e,()=>e.complete(),j)),!e.closed&&t.subscribe(e)})}function xt(i){return null!=i&&"false"!=`${i}`}function vr(i,t=0){return function jW(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}(i)?Number(i):t}function mb(i){return Array.isArray(i)?i:[i]}function Ba(i){return null==i?"":"string"==typeof i?i:`${i}px`}function pd(i){return i instanceof _t?i.nativeElement:i}let IT=(()=>{class i{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),UW=(()=>{class i{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,n)=>this._cleanupObserver(n))}observe(e){const n=pd(e);return new mt(r=>{const o=this._observeElement(n).subscribe(r);return()=>{o.unsubscribe(),this._unobserveElement(n)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const n=new He,r=this._mutationObserverFactory.create(a=>n.next(a));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:n,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:n,stream:r}=this._observedElements.get(e);n&&n.disconnect(),r.complete(),this._observedElements.delete(e)}}}return i.\u0275fac=function(e){return new(e||i)(Ee(IT))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),bf=(()=>{class i{get disabled(){return this._disabled}set disabled(e){this._disabled=xt(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=vr(e),this._subscribe()}constructor(e,n,r){this._contentObserver=e,this._elementRef=n,this._ngZone=r,this.event=new ht,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(yg(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(D(UW),D(_t),D(Rt))},i.\u0275dir=Oe({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),i})(),wg=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[IT]}),i})();const{isArray:WW}=Array,{getPrototypeOf:GW,prototype:qW,keys:$W}=Object;function NT(i){if(1===i.length){const t=i[0];if(WW(t))return{args:t,keys:null};if(function KW(i){return i&&"object"==typeof i&&GW(i)===qW}(t)){const e=$W(t);return{args:e.map(n=>t[n]),keys:e}}}return{args:i,keys:null}}const{isArray:QW}=Array;function kx(i){return bt(t=>function ZW(i,t){return QW(t)?i(...t):i(t)}(i,t))}function LT(i,t){return i.reduce((e,n,r)=>(e[n]=t[r],e),{})}function Cx(...i){const t=fo(i),e=Qa(i),{args:n,keys:r}=NT(i);if(0===n.length)return Jn([],t);const a=new mt(function XW(i,t,e=ze){return n=>{OT(t,()=>{const{length:r}=i,a=new Array(r);let o=r,c=r;for(let h=0;h{const f=Jn(i[h],t);let F=!1;f.subscribe(zt(n,R=>{a[h]=R,F||(F=!0,c--),c||n.next(e(a.slice()))},()=>{--o||n.complete()}))},n)},n)}}(n,t,r?o=>LT(r,o):ze));return e?a.pipe(kx(e)):a}function OT(i,t,e){i?Xn(e,i,t):t()}function kh(...i){return function JW(){return _r(1)}()(Jn(i,fo(i)))}function Yr(...i){const t=fo(i);return ei((e,n)=>{(t?kh(i,e,t):kh(i,e)).subscribe(n)})}let eG=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})();const RT=new Set;let yf,tG=(()=>{class i{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):nG}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function iG(i){if(!RT.has(i))try{yf||(yf=document.createElement("style"),yf.setAttribute("type","text/css"),document.head.appendChild(yf)),yf.sheet&&(yf.sheet.insertRule(`@media ${i} {body{ }}`,0),RT.add(i))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return i.\u0275fac=function(e){return new(e||i)(Ee(Pn))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function nG(i){return{matches:"all"===i||""===i,media:i,addListener:()=>{},removeListener:()=>{}}}let gd=(()=>{class i{constructor(e,n){this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new He}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return PT(mb(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let a=Cx(PT(mb(e)).map(o=>this._registerQuery(o).observable));return a=kh(a.pipe(gn(1)),a.pipe(xx(1),yg(0))),a.pipe(bt(o=>{const c={matches:!1,breakpoints:{}};return o.forEach(({matches:h,query:f})=>{c.matches=c.matches||h,c.breakpoints[f]=h}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const n=this._mediaMatcher.matchMedia(e),a={observable:new mt(o=>{const c=h=>this._zone.run(()=>o.next(h));return n.addListener(c),()=>{n.removeListener(c)}}).pipe(Yr(n),bt(({matches:o})=>({query:e,matches:o})),ti(this._destroySubject)),mql:n};return this._queries.set(e,a),a}}return i.\u0275fac=function(e){return new(e||i)(Ee(tG),Ee(Rt))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function PT(i){return i.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const cu_Medium="(min-width: 960px) and (max-width: 1279.98px)",cu_Large="(min-width: 1280px) and (max-width: 1919.98px)";function fb(i,t){return(i.getAttribute(t)||"").match(/\S+/g)||[]}const HT="cdk-describedby-message",pb="cdk-describedby-host";let Dx=0,Mx=(()=>{class i{constructor(e,n){this._platform=n,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Dx++,this._document=e,this._id=Xt(uf)+"-"+Dx++}describe(e,n,r){if(!this._canBeDescribed(e,n))return;const a=Ex(n,r);"string"!=typeof n?(VT(n,this._id),this._messageRegistry.set(a,{messageElement:n,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(n,r),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,n,r){if(!n||!this._isElementNode(e))return;const a=Ex(n,r);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),"string"==typeof n){const o=this._messageRegistry.get(a);o&&0===o.referenceCount&&this._deleteMessageElement(a)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${pb}="${this._id}"]`);for(let n=0;n0!=r.indexOf(HT));e.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(e,n){const r=this._messageRegistry.get(n);(function rG(i,t,e){const n=fb(i,t);n.some(r=>r.trim()==e.trim())||(n.push(e.trim()),i.setAttribute(t,n.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(pb,this._id),r.referenceCount++}_removeMessageReference(e,n){const r=this._messageRegistry.get(n);r.referenceCount--,function aG(i,t,e){const r=fb(i,t).filter(a=>a!=e.trim());r.length?i.setAttribute(t,r.join(" ")):i.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(pb)}_isElementDescribedByMessage(e,n){const r=fb(e,"aria-describedby"),a=this._messageRegistry.get(n),o=a&&a.messageElement.id;return!!o&&-1!=r.indexOf(o)}_canBeDescribed(e,n){if(!this._isElementNode(e))return!1;if(n&&"object"==typeof n)return!0;const r=null==n?"":`${n}`.trim(),a=e.getAttribute("aria-label");return!(!r||a&&a.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return i.\u0275fac=function(e){return new(e||i)(Ee(Ci),Ee(Pn))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function Ex(i,t){return"string"==typeof i?`${t||""}/${i}`:i}function VT(i,t){i.id||(i.id=`${HT}-${t}-${Dx++}`)}class YT{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new He,this._typeaheadSubscription=x.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new He,this.change=new He,t instanceof wc&&(this._itemChangesSubscription=t.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Jr(e=>this._pressedLetters.push(e)),yg(t),Ki(()=>this._pressedLetters.length>0),bt(()=>this._pressedLetters.join(""))).subscribe(e=>{const n=this._getItemsArray();for(let r=1;r!t[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const a=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const a=this._activeItemIndex+this._pageUpAndDown.delta,o=this._getItemsArray().length;this._setActiveItemByIndex(a=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t);this._activeItem=e[n]??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const r=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof wc?this._items.toArray():this._items}}class jT extends YT{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class Fg extends YT{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let Ch=(()=>{class i{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function sG(i){return!!(i.offsetWidth||i.offsetHeight||"function"==typeof i.getClientRects&&i.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const n=function oG(i){try{return i.frameElement}catch{return null}}(function pG(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}(e));if(n&&(-1===UT(n)||!this.isVisible(n)))return!1;let r=e.nodeName.toLowerCase(),a=UT(e);return e.hasAttribute("contenteditable")?-1!==a:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function mG(i){let t=i.nodeName.toLowerCase(),e="input"===t&&i.type;return"text"===e||"password"===e||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==a:"video"===r?-1!==a&&(null!==a||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,n){return function fG(i){return!function cG(i){return function uG(i){return"input"==i.nodeName.toLowerCase()}(i)&&"hidden"==i.type}(i)&&(function lG(i){let t=i.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(i)||function dG(i){return function hG(i){return"a"==i.nodeName.toLowerCase()}(i)&&i.hasAttribute("href")}(i)||i.hasAttribute("contenteditable")||zT(i))}(e)&&!this.isDisabled(e)&&(n?.ignoreVisibility||this.isVisible(e))}}return i.\u0275fac=function(e){return new(e||i)(Ee(Pn))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function zT(i){if(!i.hasAttribute("tabindex")||void 0===i.tabIndex)return!1;let t=i.getAttribute("tabindex");return!(!t||isNaN(parseInt(t,10)))}function UT(i){if(!zT(i))return null;const t=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class gG{get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}constructor(t,e,n,r,a=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,a||this.attachAnchors()}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){const e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const n=this._getFirstTabbableElement(e);return n?.focus(t),!!n}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;const e=t.children;for(let n=0;n=0;n--){const r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(gn(1)).subscribe(t)}}let vf=(()=>{class i{constructor(e,n,r){this._checker=e,this._ngZone=n,this._document=r}create(e,n=!1){return new gG(e,this._checker,this._ngZone,this._document,n)}}return i.\u0275fac=function(e){return new(e||i)(Ee(Ch),Ee(Rt),Ee(Ci))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function Sx(i){return 0===i.buttons||0===i.offsetX&&0===i.offsetY}function Ax(i){const t=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}const _G=new Ke("cdk-input-modality-detector-options"),bG={ignoreKeys:[18,17,224,91,16]},wf=md({passive:!0,capture:!0});let yG=(()=>{class i{get mostRecentModality(){return this._modality.value}constructor(e,n,r,a){this._platform=e,this._mostRecentTarget=null,this._modality=new Oi(null),this._lastTouchMs=0,this._onKeydown=o=>{this._options?.ignoreKeys?.some(c=>c===o.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=fd(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Sx(o)?"keyboard":"mouse"),this._mostRecentTarget=fd(o))},this._onTouchstart=o=>{Ax(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=fd(o))},this._options={...bG,...a},this.modalityDetected=this._modality.pipe(xx(1)),this.modalityChanged=this.modalityDetected.pipe(vg()),e.isBrowser&&n.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,wf),r.addEventListener("mousedown",this._onMousedown,wf),r.addEventListener("touchstart",this._onTouchstart,wf)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,wf),document.removeEventListener("mousedown",this._onMousedown,wf),document.removeEventListener("touchstart",this._onTouchstart,wf))}}return i.\u0275fac=function(e){return new(e||i)(Ee(Pn),Ee(Rt),Ee(Ci),Ee(_G,8))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const vG=new Ke("liveAnnouncerElement",{providedIn:"root",factory:function wG(){return null}}),FG=new Ke("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let xG=0,Tx=(()=>{class i{constructor(e,n,r,a){this._ngZone=n,this._defaultOptions=a,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...n){const r=this._defaultOptions;let a,o;return 1===n.length&&"number"==typeof n[0]?o=n[0]:[a,o]=n,this.clear(),clearTimeout(this._previousTimeout),a||(a=r&&r.politeness?r.politeness:"polite"),null==o&&r&&(o=r.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof o&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",n=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let a=0;a .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class i{constructor(e,n,r,a,o){this._ngZone=e,this._platform=n,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new He,this._rootNodeFocusAndBlurListener=c=>{for(let f=fd(c);f;f=f.parentElement)"focus"===c.type?this._onFocus(c,f):this._onBlur(c,f)},this._document=a,this._detectionMode=o?.detectionMode||0}monitor(e,n=!1){const r=pd(e);if(!this._platform.isBrowser||1!==r.nodeType)return qt(null);const a=function CW(i){if(function kW(){if(null==gx){const i=typeof document<"u"?document.head:null;gx=!(!i||!i.createShadowRoot&&!i.attachShadow)}return gx}()){const t=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(r)||this._getDocument(),o=this._elementInfo.get(r);if(o)return n&&(o.checkChildren=!0),o.subject;const c={checkChildren:n,subject:new He,rootNode:a};return this._elementInfo.set(r,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const n=pd(e),r=this._elementInfo.get(n);r&&(r.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(r))}focusVia(e,n,r){const a=pd(e);a===this._getDocument().activeElement?this._getClosestElementsInfo(a).forEach(([c,h])=>this._originChanged(c,n,h)):(this._setOrigin(n),"function"==typeof a.focus&&a.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,n){e.classList.toggle("cdk-focused",!!n),e.classList.toggle("cdk-touch-focused","touch"===n),e.classList.toggle("cdk-keyboard-focused","keyboard"===n),e.classList.toggle("cdk-mouse-focused","mouse"===n),e.classList.toggle("cdk-program-focused","program"===n)}_setOrigin(e,n=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&n,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,n){const r=this._elementInfo.get(n),a=fd(e);!r||!r.checkChildren&&n!==a||this._originChanged(n,this._getFocusOrigin(a),r)}_onBlur(e,n){const r=this._elementInfo.get(n);!r||r.checkChildren&&e.relatedTarget instanceof Node&&n.contains(e.relatedTarget)||(this._setClasses(n),this._emitOrigin(r,null))}_emitOrigin(e,n){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(n))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,gb),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,gb)}),this._rootNodeFocusListenerCount.set(n,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ti(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){const n=e.rootNode;if(this._rootNodeFocusListenerCount.has(n)){const r=this._rootNodeFocusListenerCount.get(n);r>1?this._rootNodeFocusListenerCount.set(n,r-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,gb),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,gb),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,n,r){this._setClasses(e,n),this._emitOrigin(r,n),this._lastFocusOrigin=n}_getClosestElementsInfo(e){const n=[];return this._elementInfo.forEach((r,a)=>{(a===e||r.checkChildren&&a.contains(e))&&n.push([a,r])}),n}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:n,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!n||n===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const a=e.labels;if(a)for(let o=0;o{class i{constructor(e,n){this._elementRef=e,this._focusMonitor=n,this._focusOrigin=null,this.cdkFocusChange=new ht}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Ha))},i.\u0275dir=Oe({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),i})();const GT="cdk-high-contrast-black-on-white",qT="cdk-high-contrast-white-on-black",Ix="cdk-high-contrast-active";let $T=(()=>{class i{constructor(e,n){this._platform=e,this._document=n,this._breakpointSubscription=Xt(gd).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const n=this._document.defaultView||window,r=n&&n.getComputedStyle?n.getComputedStyle(e):null,a=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Ix,GT,qT),this._hasCheckedHighContrastMode=!0;const n=this.getHighContrastMode();1===n?e.add(Ix,GT):2===n&&e.add(Ix,qT)}}}return i.\u0275fac=function(e){return new(e||i)(Ee(Pn),Ee(Ci))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Ff=(()=>{class i{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return i.\u0275fac=function(e){return new(e||i)(Ee($T))},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[wg]}),i})();const DG=["addListener","removeListener"],MG=["addEventListener","removeEventListener"],EG=["on","off"];function is(i,t,e,n){if(E(e)&&(n=e,e=void 0),n)return is(i,t,e).pipe(kx(n));const[r,a]=function TG(i){return E(i.addEventListener)&&E(i.removeEventListener)}(i)?MG.map(o=>c=>i[o](t,c,e)):function SG(i){return E(i.addListener)&&E(i.removeListener)}(i)?DG.map(KT(i,t)):function AG(i){return E(i.on)&&E(i.off)}(i)?EG.map(KT(i,t)):[];if(!r&&ma(i))return _i(o=>is(o,t,e))(dn(i));if(!r)throw new TypeError("Invalid event target");return new mt(o=>{const c=(...h)=>o.next(1a(c)})}function KT(i,t){return e=>n=>i[e](t,n)}const xg={schedule(i){let t=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:n}=xg;n&&(t=n.requestAnimationFrame,e=n.cancelAnimationFrame);const r=t(a=>{e=void 0,i(a)});return new x(()=>e?.(r))},requestAnimationFrame(...i){const{delegate:t}=xg;return(t?.requestAnimationFrame||requestAnimationFrame)(...i)},cancelAnimationFrame(...i){const{delegate:t}=xg;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...i)},delegate:void 0},LG=new class NG extends Fx{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;t=t||n.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,r){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw r}}}(class IG extends vx{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t._scheduled||(t._scheduled=xg.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,e,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(t,e,n);const{actions:a}=t;null!=e&&(null===(r=a[a.length-1])||void 0===r?void 0:r.id)!==e&&(xg.cancelAnimationFrame(e),t._scheduled=void 0)}});let Nx,OG=1;const _b={};function QT(i){return i in _b&&(delete _b[i],!0)}const RG={setImmediate(i){const t=OG++;return _b[t]=!0,Nx||(Nx=Promise.resolve()),Nx.then(()=>QT(t)&&i()),t},clearImmediate(i){QT(i)}},{setImmediate:PG,clearImmediate:BG}=RG,bb={setImmediate(...i){const{delegate:t}=bb;return(t?.setImmediate||PG)(...i)},clearImmediate(i){const{delegate:t}=bb;return(t?.clearImmediate||BG)(i)},delegate:void 0},Lx=new class VG extends Fx{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;t=t||n.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,r){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw r}}}(class HG extends vx{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t._scheduled||(t._scheduled=bb.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,e,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(t,e,n);const{actions:a}=t;null!=e&&(null===(r=a[a.length-1])||void 0===r?void 0:r.id)!==e&&(bb.clearImmediate(e),t._scheduled=void 0)}});function ZT(i){return i instanceof Date&&!isNaN(i)}function yb(i=0,t,e=VW){let n=-1;return null!=t&&(Qr(t)?e=t:n=t),new mt(r=>{let a=ZT(i)?+i-e.now():i;a<0&&(a=0);let o=0;return e.schedule(function(){r.closed||(r.next(o++),0<=n?this.schedule(void 0,n):r.complete())},a)})}function Ox(i,t=_f){return function YG(i){return ei((t,e)=>{let n=!1,r=null,a=null,o=!1;const c=()=>{if(a?.unsubscribe(),a=null,n){n=!1;const f=r;r=null,e.next(f)}o&&e.complete()},h=()=>{a=null,o&&e.complete()};t.subscribe(zt(e,f=>{n=!0,r=f,a||dn(i(f)).subscribe(a=zt(e,c,h))},()=>{o=!0,(!n||!a||a.closed)&&e.complete()}))})}(()=>yb(i,t))}const jG=new Ke("cdk-dir-doc",{providedIn:"root",factory:function zG(){return Xt(Ci)}}),UG=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let jr=(()=>{class i{constructor(e){this.value="ltr",this.change=new ht,e&&(this.value=function WG(i){const t=i?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?UG.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return i.\u0275fac=function(e){return new(e||i)(Ee(jG,8))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),xf=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})();const GG=["contentWrapper"],qG=["*"],$G=new Ke("VIRTUAL_SCROLL_STRATEGY");let du=(()=>{class i{constructor(e,n,r){this._ngZone=e,this._platform=n,this._scrolled=new He,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const n=this.scrollContainers.get(e);n&&(n.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new mt(n=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(Ox(e)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):qt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(e,n){const r=this.getAncestorScrollContainers(e);return this.scrolled(n).pipe(Ki(a=>!a||r.indexOf(a)>-1))}getAncestorScrollContainers(e){const n=[];return this.scrollContainers.forEach((r,a)=>{this._scrollableContainsElement(a,e)&&n.push(a)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,n){let r=pd(n),a=e.getElementRef().nativeElement;do{if(r==a)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>is(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return i.\u0275fac=function(e){return new(e||i)(Ee(Rt),Ee(Pn),Ee(Ci,8))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Dh=(()=>{class i{constructor(e,n,r,a){this.elementRef=e,this.scrollDispatcher=n,this.ngZone=r,this.dir=a,this._destroyed=new He,this._elementScrolled=new mt(o=>this.ngZone.runOutsideAngular(()=>is(this.elementRef.nativeElement,"scroll").pipe(ti(this._destroyed)).subscribe(o)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const n=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=n.scrollHeight-n.clientHeight-e.bottom),r&&0!=_g()?(null!=e.left&&(e.right=n.scrollWidth-n.clientWidth-e.left),2==_g()?e.left=e.right:1==_g()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=n.scrollWidth-n.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const n=this.elementRef.nativeElement;TT()?n.scrollTo(e):(null!=e.top&&(n.scrollTop=e.top),null!=e.left&&(n.scrollLeft=e.left))}measureScrollOffset(e){const n="left",r="right",a=this.elementRef.nativeElement;if("top"==e)return a.scrollTop;if("bottom"==e)return a.scrollHeight-a.clientHeight-a.scrollTop;const o=this.dir&&"rtl"==this.dir.value;return"start"==e?e=o?r:n:"end"==e&&(e=o?n:r),o&&2==_g()?e==n?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:o&&1==_g()?e==n?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==n?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(du),D(Rt),D(jr,8))},i.\u0275dir=Oe({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),i})(),pl=(()=>{class i{constructor(e,n,r){this._platform=e,this._change=new He,this._changeListener=a=>{this._change.next(a)},this._document=r,n.runOutsideAngular(()=>{if(e.isBrowser){const a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:n,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,n=this._getWindow(),r=e.documentElement,a=r.getBoundingClientRect();return{top:-a.top||e.body.scrollTop||n.scrollY||r.scrollTop||0,left:-a.left||e.body.scrollLeft||n.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Ox(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return i.\u0275fac=function(e){return new(e||i)(Ee(Pn),Ee(Rt),Ee(Ci,8))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const XT=new Ke("VIRTUAL_SCROLLABLE");let ZG=(()=>{class i extends Dh{constructor(e,n,r,a){super(e,n,r,a)}measureViewportSize(e){const n=this.elementRef.nativeElement;return"horizontal"===e?n.clientWidth:n.clientHeight}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(du),D(Rt),D(jr,8))},i.\u0275dir=Oe({type:i,features:[ot]}),i})();const JG=typeof requestAnimationFrame<"u"?LG:Lx;let eq=(()=>{class i extends ZG{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=xt(e)}constructor(e,n,r,a,o,c,h,f){super(e,c,r,o),this.elementRef=e,this._changeDetectorRef=n,this._scrollStrategy=a,this.scrollable=f,this._platform=Xt(Pn),this._detachedSubject=new He,this._renderedRangeSubject=new He,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new mt(F=>this._scrollStrategy.scrolledIndexChange.subscribe(R=>Promise.resolve().then(()=>this.ngZone.run(()=>F.next(R))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=x.EMPTY,this._viewportChanges=h.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Yr(null),Ox(0,JG)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(ti(this._detachedSubject)).subscribe(n=>{const r=n.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){(function XG(i,t){return i.start==t.start&&i.end==t.end})(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,n="to-start"){e=this.appendOnly&&"to-start"===n?0:e;const a="horizontal"==this.orientation,o=a?"X":"Y";let h=`translate${o}(${Number((a&&this.dir&&"rtl"==this.dir.value?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===n&&(h+=` translate${o}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=h&&(this._renderedContentTransform=h,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,n="auto"){const r={behavior:n};"horizontal"===this.orientation?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,n="auto"){this._scrollStrategy.scrollToIndex(e,n)}measureScrollOffset(e){let n;return n=this.scrollable==this?r=>super.measureScrollOffset(r):r=>this.scrollable.measureScrollOffset(r),Math.max(0,n(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let n;const r="left",a="right",o="rtl"==this.dir?.value;n="start"==e?o?a:r:"end"==e?o?r:a:e||("horizontal"===this.orientation?"left":"top");const c=this.scrollable.measureBoundingClientRectWithScrollOffset(n);return this.elementRef.nativeElement.getBoundingClientRect()[n]-c}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const n of e)n()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(li),D(Rt),D($G,8),D(jr,8),D(du),D(pl),D(XT,8))},i.\u0275cmp=$e({type:i,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,n){if(1&e&&Tt(GG,7),2&e){let r;Qe(r=Ze())&&(n._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("cdk-virtual-scroll-orientation-horizontal","horizontal"===n.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==n.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[Ot([{provide:Dh,useFactory:(t,e)=>t||e,deps:[[new gs,new o1(XT)],i]}]),ot,gF],ngContentSelectors:qG,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,n){1&e&&(Hi(),y(0,"div",0,1),wt(2),k(),De(3,"div",2)),2&e&&(A(3),tr("width",n._totalContentWidth)("height",n._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),i})(),Cc=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})(),vb=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[xf,Cc,eq,xf,Cc]}),i})();class Px{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Mh extends Px{constructor(t,e,n,r,a){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=r,this.projectableNodes=a}}class _d extends Px{constructor(t,e,n,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class tq extends Px{constructor(t){super(),this.element=t instanceof _t?t.nativeElement:t}}class wb{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Mh?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof _d?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof tq?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class iq extends wb{constructor(t,e,n,r,a){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=o=>{const c=o.element,h=this._document.createComment("dom-portal");c.parentNode.insertBefore(h,c),this.outletElement.appendChild(c),this._attachedPortal=o,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(c,h)})},this._document=a}attachComponentPortal(t){const n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(n,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=n.create(t.injector||this._defaultInjector||Wr.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(n);-1!==r&&e.remove(r)}),this._attachedPortal=t,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let nq=(()=>{class i extends _d{constructor(e,n){super(e,n)}}return i.\u0275fac=function(e){return new(e||i)(D(yr),D(kr))},i.\u0275dir=Oe({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[ot]}),i})(),ql=(()=>{class i extends wb{constructor(e,n,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=n,this._isInitialized=!1,this.attached=new ht,this.attachDomPortal=a=>{const o=a.element,c=this._document.createComment("dom-portal");a.setAttachedHost(this),o.parentNode.insertBefore(c,o),this._getRootNode().appendChild(o),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(o,c)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),o=n.createComponent(a,n.length,e.injector||n.injector,e.projectableNodes||void 0);return n!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);const n=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return i.\u0275fac=function(e){return new(e||i)(D(nd),D(kr),D(Ci))},i.\u0275dir=Oe({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ot]}),i})(),gl=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})();function JT(i,t=!1){return ei((e,n)=>{let r=0;e.subscribe(zt(n,a=>{const o=i(a,r++);(o||t)&&n.next(a),!o&&n.complete()}))})}const e6=TT();class rq{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Ba(-this._previousScrollPosition.left),t.style.top=Ba(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,n=t.style,r=this._document.body.style,a=n.scrollBehavior||"",o=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e6&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e6&&(n.scrollBehavior=a,r.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,n=this._viewportRuler.getViewportSize();return e.scrollHeight>n.height||e.scrollWidth>n.width}}class aq{constructor(t,e,n,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class t6{enable(){}disable(){}attach(){}}function Bx(i,t){return t.some(e=>i.bottome.bottom||i.righte.right)}function n6(i,t){return t.some(e=>i.tope.bottom||i.lefte.right)}class oq{constructor(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();Bx(e,[{width:n,height:r,bottom:r,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let sq=(()=>{class i{constructor(e,n,r,a){this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=r,this.noop=()=>new t6,this.close=o=>new aq(this._scrollDispatcher,this._ngZone,this._viewportRuler,o),this.block=()=>new rq(this._viewportRuler,this._document),this.reposition=o=>new oq(this._scrollDispatcher,this._viewportRuler,this._ngZone,o),this._document=a}}return i.\u0275fac=function(e){return new(e||i)(Ee(du),Ee(pl),Ee(Rt),Ee(Ci))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();class kf{constructor(t){if(this.scrollStrategy=new t6,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class lq{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let r6=(()=>{class i{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const n=this._attachedOverlays.indexOf(e);n>-1&&this._attachedOverlays.splice(n,1),0===this._attachedOverlays.length&&this.detach()}}return i.\u0275fac=function(e){return new(e||i)(Ee(Ci))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),cq=(()=>{class i extends r6{constructor(e,n){super(e),this._ngZone=n,this._keydownListener=r=>{const a=this._attachedOverlays;for(let o=a.length-1;o>-1;o--)if(a[o]._keydownEvents.observers.length>0){const c=a[o]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(r)):c.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return i.\u0275fac=function(e){return new(e||i)(Ee(Ci),Ee(Rt,8))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),dq=(()=>{class i extends r6{constructor(e,n,r){super(e),this._platform=n,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=fd(a)},this._clickListener=a=>{const o=fd(a),c="click"===a.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;const h=this._attachedOverlays.slice();for(let f=h.length-1;f>-1;f--){const F=h[f];if(F._outsidePointerEvents.observers.length<1||!F.hasAttached())continue;if(F.overlayElement.contains(o)||F.overlayElement.contains(c))break;const R=F._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>R.next(a)):R.next(a)}}}add(e){if(super.add(e),!this._isAttached){const n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return i.\u0275fac=function(e){return new(e||i)(Ee(Ci),Ee(Pn),Ee(Rt,8))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),kg=(()=>{class i{constructor(e,n){this._platform=n,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||_x()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;athis._backdropClick.next(R),this._backdropTransitionendHandler=R=>{this._disposeBackdrop(R.target)},this._keydownEvents=new He,this._outsidePointerEvents=new He,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(gn(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Ba(this._config.width),t.height=Ba(this._config.height),t.minWidth=Ba(this._config.minWidth),t.minHeight=Ba(this._config.minHeight),t.maxWidth=Ba(this._config.maxWidth),t.maxHeight=Ba(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,n){const r=mb(e||[]).filter(a=>!!a);r.length&&(n?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(ti(Rn(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const a6="cdk-overlay-connected-position-bounding-box",uq=/([A-Za-z%]+)$/;class hq{get positions(){return this._preferredPositions}constructor(t,e,n,r,a){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=a,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new He,this._resizeSubscription=x.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(a6),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,r=this._containerRect,a=[];let o;for(let c of this._preferredPositions){let h=this._getOriginPoint(t,r,c),f=this._getOverlayPoint(h,e,c),F=this._getOverlayFit(f,e,n,c);if(F.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,h);this._canFitWithFlexibleDimensions(F,f,n)?a.push({position:c,origin:h,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(h,c)}):(!o||o.overlayFit.visibleAreah&&(h=F,c=f)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Sh(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(a6),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,n){let r,a;if("center"==n.originX)r=t.left+t.width/2;else{const o=this._isRtl()?t.right:t.left,c=this._isRtl()?t.left:t.right;r="start"==n.originX?o:c}return e.left<0&&(r-=e.left),a="center"==n.originY?t.top+t.height/2:"top"==n.originY?t.top:t.bottom,e.top<0&&(a-=e.top),{x:r,y:a}}_getOverlayPoint(t,e,n){let r,a;return r="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,a="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+r,y:t.y+a}}_getOverlayFit(t,e,n,r){const a=s6(e);let{x:o,y:c}=t,h=this._getOffset(r,"x"),f=this._getOffset(r,"y");h&&(o+=h),f&&(c+=f);let W=0-c,te=c+a.height-n.height,fe=this._subtractOverflows(a.width,0-o,o+a.width-n.width),we=this._subtractOverflows(a.height,W,te),Ae=fe*we;return{visibleArea:Ae,isCompletelyWithinViewport:a.width*a.height===Ae,fitsInViewportVertically:we===a.height,fitsInViewportHorizontally:fe==a.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const r=n.bottom-e.y,a=n.right-e.x,o=o6(this._overlayRef.getConfig().minHeight),c=o6(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=o&&o<=r)&&(t.fitsInViewportHorizontally||null!=c&&c<=a)}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=s6(e),a=this._viewportRect,o=Math.max(t.x+r.width-a.width,0),c=Math.max(t.y+r.height-a.height,0),h=Math.max(a.top-n.top-t.y,0),f=Math.max(a.left-n.left-t.x,0);let F=0,R=0;return F=r.width<=a.width?f||-o:t.xfe&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-fe/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)W=n.width-t.x+this._viewportMargin,F=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)R=t.x,F=n.right-t.x;else{const te=Math.min(n.right-t.x+n.left,t.x),fe=this._lastBoundingBoxSize.width;F=2*te,R=t.x-te,F>fe&&!this._isInitialRender&&!this._growAfterOpen&&(R=t.x-fe/2)}return{top:o,left:R,bottom:c,right:W,width:F,height:a}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const a=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=Ba(n.height),r.top=Ba(n.top),r.bottom=Ba(n.bottom),r.width=Ba(n.width),r.left=Ba(n.left),r.right=Ba(n.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",a&&(r.maxHeight=Ba(a)),o&&(r.maxWidth=Ba(o))}this._lastBoundingBoxSize=n,Sh(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Sh(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Sh(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},r=this._hasExactPosition(),a=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(r){const F=this._viewportRuler.getViewportScrollPosition();Sh(n,this._getExactOverlayY(e,t,F)),Sh(n,this._getExactOverlayX(e,t,F))}else n.position="static";let c="",h=this._getOffset(e,"x"),f=this._getOffset(e,"y");h&&(c+=`translateX(${h}px) `),f&&(c+=`translateY(${f}px)`),n.transform=c.trim(),o.maxHeight&&(r?n.maxHeight=Ba(o.maxHeight):a&&(n.maxHeight="")),o.maxWidth&&(r?n.maxWidth=Ba(o.maxWidth):a&&(n.maxWidth="")),Sh(this._pane.style,n)}_getExactOverlayY(t,e,n){let r={top:"",bottom:""},a=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":r.top=Ba(a.y),r}_getExactOverlayX(t,e,n){let o,r={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n)),o=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===o?r.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":r.left=Ba(a.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:n6(t,n),isOriginOutsideView:Bx(t,n),isOverlayClipped:n6(e,n),isOverlayOutsideView:Bx(e,n)}}_subtractOverflows(t,...e){return e.reduce((n,r)=>n-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&mb(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof _t)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function Sh(i,t){for(let e in t)t.hasOwnProperty(e)&&(i[e]=t[e]);return i}function o6(i){if("number"!=typeof i&&null!=i){const[t,e]=i.split(uq);return e&&"px"!==e?null:parseFloat(t)}return i||null}function s6(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}const l6="cdk-global-overlay-wrapper";class mq{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(l6),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:a,maxWidth:o,maxHeight:c}=n,h=!("100%"!==r&&"100vw"!==r||o&&"100%"!==o&&"100vw"!==o),f=!("100%"!==a&&"100vh"!==a||c&&"100%"!==c&&"100vh"!==c),F=this._xPosition,R=this._xOffset,W="rtl"===this._overlayRef.getConfig().direction;let te="",fe="",we="";h?we="flex-start":"center"===F?(we="center",W?fe=R:te=R):W?"left"===F||"end"===F?(we="flex-end",te=R):("right"===F||"start"===F)&&(we="flex-start",fe=R):"left"===F||"start"===F?(we="flex-start",te=R):("right"===F||"end"===F)&&(we="flex-end",fe=R),t.position=this._cssPosition,t.marginLeft=h?"0":te,t.marginTop=f?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=h?"0":fe,e.justifyContent=we,e.alignItems=f?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(l6),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let fq=(()=>{class i{constructor(e,n,r,a){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=a}global(){return new mq}flexibleConnectedTo(e){return new hq(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return i.\u0275fac=function(e){return new(e||i)(Ee(pl),Ee(Ci),Ee(Pn),Ee(kg))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),pq=0,_a=(()=>{class i{constructor(e,n,r,a,o,c,h,f,F,R,W,te){this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=r,this._positionBuilder=a,this._keyboardDispatcher=o,this._injector=c,this._ngZone=h,this._document=f,this._directionality=F,this._location=R,this._outsideClickDispatcher=W,this._animationsModuleType=te}create(e){const n=this._createHostElement(),r=this._createPaneElement(n),a=this._createPortalOutlet(r),o=new kf(e);return o.direction=o.direction||this._directionality.value,new Eh(a,n,r,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const n=this._document.createElement("div");return n.id="cdk-overlay-"+pq++,n.classList.add("cdk-overlay-pane"),e.appendChild(n),n}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(ld)),new iq(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return i.\u0275fac=function(e){return new(e||i)(Ee(sq),Ee(kg),Ee(nd),Ee(fq),Ee(cq),Ee(Wr),Ee(Rt),Ee(Ci),Ee(jr),Ee(ud),Ee(dq),Ee(Tn,8))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const gq=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],c6=new Ke("cdk-connected-overlay-scroll-strategy");let Hx=(()=>{class i{constructor(e){this.elementRef=e}}return i.\u0275fac=function(e){return new(e||i)(D(_t))},i.\u0275dir=Oe({type:i,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),i})(),d6=(()=>{class i{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=xt(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=xt(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=xt(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=xt(e)}get push(){return this._push}set push(e){this._push=xt(e)}constructor(e,n,r,a,o){this._overlay=e,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=x.EMPTY,this._attachSubscription=x.EMPTY,this._detachSubscription=x.EMPTY,this._positionSubscription=x.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new ht,this.positionChange=new ht,this.attach=new ht,this.detach=new ht,this.overlayKeydown=new ht,this.overlayOutsideClick=new ht,this._templatePortal=new _d(n,r),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=gq);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),27===n.keyCode&&!this.disableClose&&!ga(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{this.overlayOutsideClick.next(n)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),n=new kf({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(n.width=this.width),(this.height||0===this.height)&&(n.height=this.height),(this.minWidth||0===this.minWidth)&&(n.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(e){const n=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Hx?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(JT(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(D(_a),D(yr),D(kr),D(c6),D(jr,8))},i.\u0275dir=Oe({type:i,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[mr]}),i})();const bq={provide:c6,deps:[_a],useFactory:function _q(i){return()=>i.scrollStrategies.reposition()}};let Dc=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[_a,bq],imports:[xf,gl,vb,vb]}),i})();function uu(i){return new mt(t=>{dn(i()).subscribe(t)})}function yq(i,t){}class Cg{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let Vx=(()=>{class i extends wb{constructor(e,n,r,a,o,c,h,f){super(),this._elementRef=e,this._focusTrapFactory=n,this._config=a,this._interactivityChecker=o,this._ngZone=c,this._overlayRef=h,this._focusMonitor=f,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=F=>{this._portalOutlet.hasAttached();const R=this._portalOutlet.attachDomPortal(F);return this._contentAttached(),R},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=r}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),n}attachTemplatePortal(e){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),n}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(n=>{n||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let n=null;if("string"==typeof e?n=this._document.querySelector(e):"boolean"==typeof e?n=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(n=e),this._config.restoreFocus&&n&&"function"==typeof n.focus){const r=lb(),a=this._elementRef.nativeElement;(!r||r===this._document.body||r===a||a.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,n=lb();return e===n||e.contains(n)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=lb())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(vf),D(Ci,8),D(Cg),D(Ch),D(Rt),D(Eh),D(Ha))},i.\u0275cmp=$e({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(e,n){if(1&e&&Tt(ql,7),2&e){let r;Qe(r=Ze())&&(n._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,n){2&e&&Nt("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null)},features:[ot],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){1&e&&oe(0,yq,0,0,"ng-template",0)},dependencies:[ql],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),i})();class Yx{constructor(t,e){this.overlayRef=t,this.config=e,this.closed=new He,this.disableClose=e.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(n=>{27===n.keyCode&&!this.disableClose&&!ga(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=>{!1!==e.closeOnOverlayDetachments&&this.close()})}close(t,e){if(this.containerInstance){const n=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(t),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",e=""){return this.overlayRef.updateSize({width:t,height:e}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}}const u6=new Ke("DialogScrollStrategy"),vq=new Ke("DialogData"),wq=new Ke("DefaultDialogConfig"),xq={provide:u6,deps:[_a],useFactory:function Fq(i){return()=>i.scrollStrategies.block()}};let kq=0,jx=(()=>{class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,n,r,a,o,c){this._overlay=e,this._injector=n,this._defaultOptions=r,this._parentDialog=a,this._overlayContainer=o,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new He,this._afterOpenedAtThisLevel=new He,this._ariaHiddenElements=new Map,this.afterAllClosed=uu(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Yr(void 0))),this._scrollStrategy=c}open(e,n){(n={...this._defaultOptions||new Cg,...n}).id=n.id||"cdk-dialog-"+kq++,n.id&&this.getDialogById(n.id);const a=this._getOverlayConfig(n),o=this._overlay.create(a),c=new Yx(o,n),h=this._attachContainer(o,c,n);return c.containerInstance=h,this._attachDialogContent(e,c,h,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(c),c.closed.subscribe(()=>this._removeOpenDialog(c,!0)),this.afterOpened.next(c),c}closeAll(){zx(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){zx(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),zx(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const n=new kf({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(n.backdropClass=e.backdropClass),n}_attachContainer(e,n,r){const a=r.injector||r.viewContainerRef?.injector,o=[{provide:Cg,useValue:r},{provide:Yx,useValue:n},{provide:Eh,useValue:e}];let c;r.container?"function"==typeof r.container?c=r.container:(c=r.container.type,o.push(...r.container.providers(r))):c=Vx;const h=new Mh(c,r.viewContainerRef,Wr.create({parent:a||this._injector,providers:o}),r.componentFactoryResolver);return e.attach(h).instance}_attachDialogContent(e,n,r,a){if(e instanceof yr){const o=this._createInjector(a,n,r,void 0);let c={$implicit:a.data,dialogRef:n};a.templateContext&&(c={...c,..."function"==typeof a.templateContext?a.templateContext():a.templateContext}),r.attachTemplatePortal(new _d(e,null,c,o))}else{const o=this._createInjector(a,n,r,this._injector),c=r.attachComponentPortal(new Mh(e,a.viewContainerRef,o,a.componentFactoryResolver));n.componentInstance=c.instance}}_createInjector(e,n,r,a){const o=e.injector||e.viewContainerRef?.injector,c=[{provide:vq,useValue:e.data},{provide:Yx,useValue:n}];return e.providers&&("function"==typeof e.providers?c.push(...e.providers(n,e,r)):c.push(...e.providers)),e.direction&&(!o||!o.get(jr,null,{optional:!0}))&&c.push({provide:jr,useValue:{value:e.direction,change:qt()}}),Wr.create({parent:o||a,providers:c})}_removeOpenDialog(e,n){const r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,o)=>{a?o.setAttribute("aria-hidden",a):o.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const n=e.parentElement.children;for(let r=n.length-1;r>-1;r--){const a=n[r];a!==e&&"SCRIPT"!==a.nodeName&&"STYLE"!==a.nodeName&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return i.\u0275fac=function(e){return new(e||i)(Ee(_a),Ee(Wr),Ee(wq,8),Ee(i,12),Ee(kg),Ee(u6))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();function zx(i,t){let e=i.length;for(;e--;)t(i[e])}let Ux=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[jx,xq],imports:[Dc,gl,Ff,gl]}),i})();const Cq=["text"];function Dq(i,t){if(1&i&&De(0,"mat-pseudo-checkbox",6),2&i){const e=X();N("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function Mq(i,t){1&i&&De(0,"mat-pseudo-checkbox",7),2&i&&N("disabled",X().disabled)}function Eq(i,t){if(1&i&&(y(0,"span",8),B(1),k()),2&i){const e=X();A(1),ri("(",e.group.label,")")}}const Sq=[[["mat-icon"]],"*"],Aq=["mat-icon","*"];let f6=(()=>{class i{}return i.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",i.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",i.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",i.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",i})(),p6=(()=>{class i{}return i.COMPLEX="375ms",i.ENTERING="225ms",i.EXITING="195ms",i})();const Iq=new Ke("mat-sanity-checks",{providedIn:"root",factory:function Tq(){return!0}});let Kt=(()=>{class i{constructor(e,n,r){this._sanityChecks=n,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!_x()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return i.\u0275fac=function(e){return new(e||i)(Ee($T),Ee(Iq,8),Ee(Ci))},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[xf,xf]}),i})();function $l(i){return class extends i{get disabled(){return this._disabled}set disabled(t){this._disabled=xt(t)}constructor(...t){super(...t),this._disabled=!1}}}function Kl(i,t){return class extends i{get color(){return this._color}set color(e){const n=e||this.defaultColor;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}constructor(...e){super(...e),this.defaultColor=t,this.color=t}}}function _l(i){return class extends i{get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=xt(t)}constructor(...t){super(...t),this._disableRipple=!1}}}function Mc(i,t=0){return class extends i{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?vr(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}}}function Wx(i){return class extends i{updateErrorState(){const t=this.errorState,a=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);a!==t&&(this.errorState=a,this.stateChanges.next())}constructor(...t){super(...t),this.errorState=!1}}}const Nq=new Ke("MAT_DATE_LOCALE",{providedIn:"root",factory:function Lq(){return Xt(Fc)}});class bd{constructor(){this._localeChanges=new He,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),r=this.isValid(e);return n&&r?!this.compareDate(t,e):n==r}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}let Cf=(()=>{class i{isErrorState(e,n){return!!(e&&e.invalid&&(e.touched||n&&n.submitted))}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Gx=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),i})(),_6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt,Kt]}),i})();class Oq{constructor(t,e,n,r=!1){this._renderer=t,this.element=e,this.config=n,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const b6=md({passive:!0,capture:!0});class Rq{constructor(){this._events=new Map,this._delegateEventHandler=t=>{const e=fd(t);e&&this._events.get(t.type)?.forEach((n,r)=>{(r===e||r.contains(e))&&n.forEach(a=>a.handleEvent(t))})}}addHandler(t,e,n,r){const a=this._events.get(e);if(a){const o=a.get(n);o?o.add(r):a.set(n,new Set([r]))}else this._events.set(e,new Map([[n,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,b6)})}removeHandler(t,e,n){const r=this._events.get(t);if(!r)return;const a=r.get(e);a&&(a.delete(n),0===a.size&&r.delete(e),0===r.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,b6)))}}const y6={enterDuration:225,exitDuration:150},v6=md({passive:!0,capture:!0}),w6=["mousedown","touchstart"],F6=["mouseup","mouseleave","touchend","touchcancel"];class Df{constructor(t,e,n,r){this._target=t,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=pd(n))}fadeInRipple(t,e,n={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a={...y6,...n.animation};n.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const o=n.radius||function Bq(i,t,e){const n=Math.max(Math.abs(i-e.left),Math.abs(i-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(n*n+r*r)}(t,e,r),c=t-r.left,h=e-r.top,f=a.enterDuration,F=document.createElement("div");F.classList.add("mat-ripple-element"),F.style.left=c-o+"px",F.style.top=h-o+"px",F.style.height=2*o+"px",F.style.width=2*o+"px",null!=n.color&&(F.style.backgroundColor=n.color),F.style.transitionDuration=`${f}ms`,this._containerElement.appendChild(F);const R=window.getComputedStyle(F),te=R.transitionDuration,fe="none"===R.transitionProperty||"0s"===te||"0s, 0s"===te||0===r.width&&0===r.height,we=new Oq(this,F,n,fe);F.style.transform="scale3d(1, 1, 1)",we.state=0,n.persistent||(this._mostRecentTransientRipple=we);let Ae=null;return!fe&&(f||a.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ne=()=>this._finishRippleTransition(we),et=()=>this._destroyRipple(we);F.addEventListener("transitionend",Ne),F.addEventListener("transitioncancel",et),Ae={onTransitionEnd:Ne,onTransitionCancel:et}}),this._activeRipples.set(we,Ae),(fe||!f)&&this._finishRippleTransition(we),we}fadeOutRipple(t){if(2===t.state||3===t.state)return;const e=t.element,n={...y6,...t.config.animation};e.style.transitionDuration=`${n.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=pd(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,w6.forEach(n=>{Df._eventManager.addHandler(this._ngZone,n,e,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{F6.forEach(e=>{this._triggerElement.addEventListener(e,this,v6)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){0===t.state?this._startFadeOutTransition(t):2===t.state&&this._destroyRipple(t)}_startFadeOutTransition(t){const e=t===this._mostRecentTransientRipple,{persistent:n}=t.config;t.state=1,!n&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,null!==e&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){const e=Sx(t),n=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(w6.forEach(e=>Df._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&F6.forEach(e=>t.removeEventListener(e,this,v6)))}}Df._eventManager=new Rq;const yd=new Ke("mat-ripple-global-options");let la=(()=>{class i{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,n,r,a,o){this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new Df(this,n,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,n=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,n,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Rt),D(Pn),D(yd,8),D(Tn,8))},i.\u0275dir=Oe({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mat-ripple-unbounded",n.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),i})(),Rs=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt,Kt]}),i})(),Hq=(()=>{class i{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return i.\u0275fac=function(e){return new(e||i)(D(Tn,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,n){2&e&&Mt("mat-pseudo-checkbox-indeterminate","indeterminate"===n.state)("mat-pseudo-checkbox-checked","checked"===n.state)("mat-pseudo-checkbox-disabled",n.disabled)("mat-pseudo-checkbox-minimal","minimal"===n.appearance)("mat-pseudo-checkbox-full","full"===n.appearance)("_mat-animation-noopable","NoopAnimations"===n._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,n){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),i})(),x6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt]}),i})();const qx=new Ke("MAT_OPTION_PARENT_COMPONENT"),$x=new Ke("MatOptgroup");let Vq=0;class k6{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let Yq=(()=>{class i{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=xt(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,n,r,a){this._element=e,this._changeDetectorRef=n,this._parent=r,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Vq++,this.onSelectionChange=new ht,this._stateChanges=new He}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,n){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!ga(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new k6(this,e))}}return i.\u0275fac=function(e){Vl()},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&Tt(Cq,7),2&e){let r;Qe(r=Ze())&&(n._text=r.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),i})(),Ah=(()=>{class i extends Yq{constructor(e,n,r,a){super(e,n,r,a)}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(li),D(qx,8),D($x,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(e,n){1&e&&pe("click",function(){return n._selectViaInteraction()})("keydown",function(a){return n._handleKeydown(a)}),2&e&&(lo("id",n.id),Nt("tabindex",n._getTabIndex())("aria-selected",n._getAriaSelected())("aria-disabled",n.disabled.toString()),Mt("mdc-list-item--selected",n.selected)("mat-mdc-option-multiple",n.multiple)("mat-mdc-option-active",n.active)("mdc-list-item--disabled",n.disabled))},exportAs:["matOption"],features:[ot],ngContentSelectors:Aq,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(e,n){1&e&&(Hi(Sq),oe(0,Dq,1,2,"mat-pseudo-checkbox",0),wt(1),y(2,"span",1,2),wt(4,1),k(),oe(5,Mq,1,1,"mat-pseudo-checkbox",3),oe(6,Eq,2,1,"span",4),De(7,"div",5)),2&e&&(N("ngIf",n.multiple),A(5),N("ngIf",!n.multiple&&n.selected&&!n.hideSingleSelectionIndicator),A(1),N("ngIf",n.group&&n.group._inert),A(1),N("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disabled||n.disableRipple))},dependencies:[la,mi,Hq],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),i})();function C6(i,t,e){if(e.length){let n=t.toArray(),r=e.toArray(),a=0;for(let o=0;oe+n?Math.max(0,i-n+t):e}let Fb=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Rs,Mr,Kt,x6]}),i})();class M6{}class jq{}const vd="*";function Va(i,t){return{type:7,name:i,definitions:t,options:{}}}function ir(i,t=null){return{type:4,styles:t,timings:i}}function Mg(i,t=null){return{type:3,steps:i,options:t}}function E6(i,t=null){return{type:2,steps:i,options:t}}function hi(i){return{type:6,styles:i,offset:null}}function fr(i,t,e){return{type:0,name:i,styles:t,options:e}}function Eg(i){return{type:5,steps:i}}function nr(i,t,e=null){return{type:1,expr:i,animation:t,options:e}}function Sg(i=null){return{type:9,options:i}}function wd(i,t,e=null){return{type:11,selector:i,animation:t,options:e}}function S6(i,t){return{type:12,timings:i,animation:t}}function A6(i){Promise.resolve().then(i)}class Ag{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){A6(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}class T6{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,r=0;const a=this.players.length;0==a?A6(()=>this._onFinish()):this.players.forEach(o=>{o.onDone(()=>{++e==a&&this._onFinish()}),o.onDestroy(()=>{++n==a&&this._onDestroy()}),o.onStart(()=>{++r==a&&this._onStart()})}),this.totalTime=this.players.reduce((o,c)=>Math.max(o,c.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(n=>{const r=n.totalTime?Math.min(1,e/n.totalTime):1;n.setPosition(r)})}getPosition(){const t=this.players.reduce((e,n)=>null===e||n.totalTime>e.totalTime?n:e,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}const Kx="!";function zq(i,t){}const Uq={bottomSheetState:Va("state",[fr("void, hidden",hi({transform:"translateY(100%)"})),fr("visible",hi({transform:"translateY(0%)"})),nr("visible => void, visible => hidden",Mg([ir(`${p6.COMPLEX} ${f6.ACCELERATION_CURVE}`),wd("@*",Sg(),{optional:!0})])),nr("void => visible",Mg([ir(`${p6.EXITING} ${f6.DECELERATION_CURVE}`),wd("@*",Sg(),{optional:!0})]))])};let Wq=(()=>{class i extends Vx{constructor(e,n,r,a,o,c,h,f,F,R){super(e,n,r,a,o,c,h,R),this._changeDetectorRef=F,this._animationState="void",this._animationStateChanged=new ht,this._breakpointSubscription=f.observe([cu_Medium,cu_Large,"(min-width: 1920px)"]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",f.isMatched(cu_Medium)),this._toggleClass("mat-bottom-sheet-container-large",f.isMatched(cu_Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",f.isMatched("(min-width: 1920px)"))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(e){"visible"===e.toState&&this._trapFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_captureInitialFocus(){}_toggleClass(e,n){this._elementRef.nativeElement.classList.toggle(e,n)}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(vf),D(Ci,8),D(Cg),D(Ch),D(Rt),D(Eh),D(gd),D(li),D(Ha))},i.\u0275cmp=$e({type:i,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(e,n){1&e&&tf("@state.start",function(a){return n._onAnimationStart(a)})("@state.done",function(a){return n._onAnimationDone(a)}),2&e&&(Nt("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-label",n._config.ariaLabel),rf("@state",n._animationState))},features:[ot],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){1&e&&oe(0,zq,0,0,"ng-template",0)},dependencies:[ql],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[Uq.bottomSheetState]}}),i})(),I6=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Ux,Kt,gl,Kt]}),i})();const Gq=new Ke("MatBottomSheetData");class qq{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}}class N6{get instance(){return this._ref.componentInstance}constructor(t,e,n){this._ref=t,this._afterOpened=new He,this.containerInstance=n,this.disableClose=e.disableClose,n._animationStateChanged.pipe(Ki(r=>"done"===r.phaseName&&"visible"===r.toState),gn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(Ki(r=>"done"===r.phaseName&&"hidden"===r.toState),gn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),t.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),Rn(this.backdropClick(),this.keydownEvents().pipe(Ki(r=>27===r.keyCode))).subscribe(r=>{!this.disableClose&&("keydown"!==r.type||!ga(r))&&(r.preventDefault(),this.dismiss())})}dismiss(t){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(Ki(e=>"start"===e.phaseName),gn(1)).subscribe(e=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},e.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=t,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}}const $q=new Ke("mat-bottom-sheet-default-options");let Kq=(()=>{class i{get _openedBottomSheetRef(){const e=this._parentBottomSheet;return e?e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=e:this._bottomSheetRefAtThisLevel=e}constructor(e,n,r,a){this._overlay=e,this._parentBottomSheet=r,this._defaultOptions=a,this._bottomSheetRefAtThisLevel=null,this._dialog=n.get(jx)}open(e,n){const r={...this._defaultOptions||new qq,...n};let a;return this._dialog.open(e,{...r,disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:Wq,scrollStrategy:r.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:a}),providers:(o,c,h)=>(a=new N6(o,r,h),[{provide:N6,useValue:a},{provide:Gq,useValue:r.data}])}),a.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===a&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>a.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):a.containerInstance.enter(),this._openedBottomSheetRef=a,a}dismiss(e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}}return i.\u0275fac=function(e){return new(e||i)(Ee(_a),Ee(Wr),Ee(i,12),Ee($q,8))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:I6}),i})();const xb=g(i=>function(){i(this),this.name="EmptyError",this.message="no elements in sequence"});function Th(i,t){const e=E(i)?i:()=>i,n=r=>r.error(e());return new mt(t?r=>t.schedule(n,0,r):n)}function Qx(){return ei((i,t)=>{let e=null;i._refCount++;const n=zt(t,void 0,void 0,void 0,()=>{if(!i||i._refCount<=0||0<--i._refCount)return void(e=null);const r=i._connection,a=e;e=null,r&&(!a||r===a)&&r.unsubscribe(),t.unsubscribe()});i.subscribe(n),n.closed||(e=i.connect())})}class kb extends mt{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,nt(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new x;const e=this.getSubject();t.add(this.source.subscribe(zt(e,void 0,()=>{this._teardown(),e.complete()},n=>{this._teardown(),e.error(n)},()=>this._teardown()))),t.closed&&(this._connection=null,t=x.EMPTY)}return t}refCount(){return Qx()(this)}}function ca(i,t){return ei((e,n)=>{let r=null,a=0,o=!1;const c=()=>o&&!r&&n.complete();e.subscribe(zt(n,h=>{r?.unsubscribe();let f=0;const F=a++;dn(i(h,F)).subscribe(r=zt(n,R=>n.next(t?t(h,R,F,f++):R),()=>{r=null,c()}))},()=>{o=!0,c()}))})}function Cb(i){return ei((t,e)=>{let n=!1;t.subscribe(zt(e,r=>{n=!0,e.next(r)},()=>{n||e.next(i),e.complete()}))})}function L6(i=Qq){return ei((t,e)=>{let n=!1;t.subscribe(zt(e,r=>{n=!0,e.next(r)},()=>n?e.complete():e.error(i())))})}function Qq(){return new xb}function Fd(i,t){const e=arguments.length>=2;return n=>n.pipe(i?Ki((r,a)=>i(r,a,n)):ze,gn(1),e?Cb(t):L6(()=>new xb))}function hu(i,t){return E(t)?_i(i,t,1):_i(i,1)}function vs(i){return ei((t,e)=>{let a,n=null,r=!1;n=t.subscribe(zt(e,void 0,void 0,o=>{a=dn(i(o,vs(i)(t))),n?(n.unsubscribe(),n=null,a.subscribe(e)):r=!0})),r&&(n.unsubscribe(),n=null,a.subscribe(e))})}function O6(i,t){return ei(function Zq(i,t,e,n,r){return(a,o)=>{let c=e,h=t,f=0;a.subscribe(zt(o,F=>{const R=f++;h=c?i(h,F,R):(c=!0,F),n&&o.next(h)},r&&(()=>{c&&o.next(h),o.complete()})))}}(i,t,arguments.length>=2,!0))}function Zx(i){return i<=0?()=>an:ei((t,e)=>{let n=[];t.subscribe(zt(e,r=>{n.push(r),i{for(const r of n)e.next(r);e.complete()},void 0,()=>{n=null}))})}function R6(i,t){const e=arguments.length>=2;return n=>n.pipe(i?Ki((r,a)=>i(r,a,n)):ze,Zx(1),e?Cb(t):L6(()=>new xb))}function Db(i){return bt(()=>i)}function Tg(i){return ei((t,e)=>{try{t.subscribe(e)}finally{e.add(i)}})}const _n="primary",Ig=Symbol("RouteTitle");class Xq{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Mf(i){return new Xq(i)}function Jq(i,t,e){const n=e.path.split("/");if(n.length>i.length||"full"===e.pathMatch&&(t.hasChildren()||n.lengthn[a]===r)}return i===t}function B6(i){return Array.prototype.concat.apply([],i)}function H6(i){return i.length>0?i[i.length-1]:null}function Co(i,t){for(const e in i)i.hasOwnProperty(e)&&t(i[e],e)}function mu(i){return iF(i)?i:Zp(i)?Jn(Promise.resolve(i)):qt(i)}const Mb=!1,t$={exact:function j6(i,t,e){if(!Ih(i.segments,t.segments)||!Eb(i.segments,t.segments,e)||i.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children)if(!i.children[n]||!j6(i.children[n],t.children[n],e))return!1;return!0},subset:z6},V6={exact:function i$(i,t){return Ec(i,t)},subset:function n$(i,t){return Object.keys(t).length<=Object.keys(i).length&&Object.keys(t).every(e=>P6(i[e],t[e]))},ignored:()=>!0};function Y6(i,t,e){return t$[e.paths](i.root,t.root,e.matrixParams)&&V6[e.queryParams](i.queryParams,t.queryParams)&&!("exact"===e.fragment&&i.fragment!==t.fragment)}function z6(i,t,e){return U6(i,t,t.segments,e)}function U6(i,t,e,n){if(i.segments.length>e.length){const r=i.segments.slice(0,e.length);return!(!Ih(r,e)||t.hasChildren()||!Eb(r,e,n))}if(i.segments.length===e.length){if(!Ih(i.segments,e)||!Eb(i.segments,e,n))return!1;for(const r in t.children)if(!i.children[r]||!z6(i.children[r],t.children[r],n))return!1;return!0}{const r=e.slice(0,i.segments.length),a=e.slice(i.segments.length);return!!(Ih(i.segments,r)&&Eb(i.segments,r,n)&&i.children[_n])&&U6(i.children[_n],t,a,n)}}function Eb(i,t,e){return t.every((n,r)=>V6[e](i[r].parameters,n.parameters))}class fu{constructor(t=new Hn([],{}),e={},n=null){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Mf(this.queryParams)),this._queryParamMap}toString(){return o$.serialize(this)}}class Hn{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Co(e,(n,r)=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Sb(this)}}class Ng{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Mf(this.parameters)),this._parameterMap}toString(){return q6(this)}}function Ih(i,t){return i.length===t.length&&i.every((e,n)=>e.path===t[n].path)}let Lg=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:function(){return new Xx},providedIn:"root"}),i})();class Xx{parse(t){const e=new p$(t);return new fu(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${Og(t.root,!0)}`,n=function c$(i){const t=Object.keys(i).map(e=>{const n=i[e];return Array.isArray(n)?n.map(r=>`${Ab(e)}=${Ab(r)}`).join("&"):`${Ab(e)}=${Ab(n)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${e}${n}${"string"==typeof t.fragment?`#${function s$(i){return encodeURI(i)}(t.fragment)}`:""}`}}const o$=new Xx;function Sb(i){return i.segments.map(t=>q6(t)).join("/")}function Og(i,t){if(!i.hasChildren())return Sb(i);if(t){const e=i.children[_n]?Og(i.children[_n],!1):"",n=[];return Co(i.children,(r,a)=>{a!==_n&&n.push(`${a}:${Og(r,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function a$(i,t){let e=[];return Co(i.children,(n,r)=>{r===_n&&(e=e.concat(t(n,r)))}),Co(i.children,(n,r)=>{r!==_n&&(e=e.concat(t(n,r)))}),e}(i,(n,r)=>r===_n?[Og(i.children[_n],!1)]:[`${r}:${Og(n,!1)}`]);return 1===Object.keys(i.children).length&&null!=i.children[_n]?`${Sb(i)}/${e[0]}`:`${Sb(i)}/(${e.join("//")})`}}function W6(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ab(i){return W6(i).replace(/%3B/gi,";")}function Jx(i){return W6(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Tb(i){return decodeURIComponent(i)}function G6(i){return Tb(i.replace(/\+/g,"%20"))}function q6(i){return`${Jx(i.path)}${function l$(i){return Object.keys(i).map(t=>`;${Jx(t)}=${Jx(i[t])}`).join("")}(i.parameters)}`}const d$=/^[^\/()?;=#]+/;function Ib(i){const t=i.match(d$);return t?t[0]:""}const u$=/^[^=?&#]+/,m$=/^[^&#]+/;class p${constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Hn([],{}):new Hn([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[_n]=new Hn(t,e)),n}parseSegment(){const t=Ib(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Je(4009,Mb);return this.capture(t),new Ng(Tb(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Ib(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const r=Ib(this.remaining);r&&(n=r,this.capture(n))}t[Tb(e)]=Tb(n)}parseQueryParam(t){const e=function h$(i){const t=i.match(u$);return t?t[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const o=function f$(i){const t=i.match(m$);return t?t[0]:""}(this.remaining);o&&(n=o,this.capture(n))}const r=G6(e),a=G6(n);if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)||(o=[o],t[r]=o),o.push(a)}else t[r]=a}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ib(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Je(4010,Mb);let a;n.indexOf(":")>-1?(a=n.slice(0,n.indexOf(":")),this.capture(a),this.capture(":")):t&&(a=_n);const o=this.parseChildren();e[a]=1===Object.keys(o).length?o[_n]:new Hn([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Je(4011,Mb)}}function ek(i){return i.segments.length>0?new Hn([],{[_n]:i}):i}function Nb(i){const t={};for(const n of Object.keys(i.children)){const a=Nb(i.children[n]);(a.segments.length>0||a.hasChildren())&&(t[n]=a)}return function g$(i){if(1===i.numberOfChildren&&i.children[_n]){const t=i.children[_n];return new Hn(i.segments.concat(t.segments),t.children)}return i}(new Hn(i.segments,t))}function Nh(i){return i instanceof fu}const tk=!1;function _$(i,t,e,n,r){if(0===e.length)return Ef(t.root,t.root,t.root,n,r);const a=function X6(i){if("string"==typeof i[0]&&1===i.length&&"/"===i[0])return new Z6(!0,0,i);let t=0,e=!1;const n=i.reduce((r,a,o)=>{if("object"==typeof a&&null!=a){if(a.outlets){const c={};return Co(a.outlets,(h,f)=>{c[f]="string"==typeof h?h.split("/"):h}),[...r,{outlets:c}]}if(a.segmentPath)return[...r,a.segmentPath]}return"string"!=typeof a?[...r,a]:0===o?(a.split("/").forEach((c,h)=>{0==h&&"."===c||(0==h&&""===c?e=!0:".."===c?t++:""!=c&&r.push(c))}),r):[...r,a]},[]);return new Z6(e,t,n)}(e);return a.toRoot()?Ef(t.root,t.root,new Hn([],{}),n,r):function o(h){const f=function y$(i,t,e,n){if(i.isAbsolute)return new Sf(t.root,!0,0);if(-1===n)return new Sf(e,e===t.root,0);return function J6(i,t,e){let n=i,r=t,a=e;for(;a>r;){if(a-=r,n=n.parent,!n)throw new Je(4005,tk&&"Invalid number of '../'");r=n.segments.length}return new Sf(n,!1,r-a)}(e,n+(Rg(i.commands[0])?0:1),i.numberOfDoubleDots)}(a,t,i.snapshot?._urlSegment,h),F=f.processChildren?Af(f.segmentGroup,f.index,a.commands):ik(f.segmentGroup,f.index,a.commands);return Ef(t.root,f.segmentGroup,F,n,r)}(i.snapshot?._lastPathIndex)}function Rg(i){return"object"==typeof i&&null!=i&&!i.outlets&&!i.segmentPath}function Pg(i){return"object"==typeof i&&null!=i&&i.outlets}function Ef(i,t,e,n,r){let o,a={};n&&Co(n,(h,f)=>{a[f]=Array.isArray(h)?h.map(F=>`${F}`):`${h}`}),o=i===t?e:Q6(i,t,e);const c=ek(Nb(o));return new fu(c,a,r)}function Q6(i,t,e){const n={};return Co(i.children,(r,a)=>{n[a]=r===t?e:Q6(r,t,e)}),new Hn(i.segments,n)}class Z6{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Rg(n[0]))throw new Je(4003,tk&&"Root segment cannot have matrix parameters");const r=n.find(Pg);if(r&&r!==H6(n))throw new Je(4004,tk&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Sf{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ik(i,t,e){if(i||(i=new Hn([],{})),0===i.segments.length&&i.hasChildren())return Af(i,t,e);const n=function w$(i,t,e){let n=0,r=t;const a={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return a;const o=i.segments[r],c=e[n];if(Pg(c))break;const h=`${c}`,f=n0&&void 0===h)break;if(h&&f&&"object"==typeof f&&void 0===f.outlets){if(!tI(h,f,o))return a;n+=2}else{if(!tI(h,{},o))return a;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}(i,t,e),r=e.slice(n.commandIndex);if(n.match&&n.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(r[o]=ik(i.children[o],t,a))}),Co(i.children,(a,o)=>{void 0===n[o]&&(r[o]=a)}),new Hn(i.segments,r))}}function nk(i,t,e){const n=i.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=nk(new Hn([],{}),0,e))}),t}function eI(i){const t={};return Co(i,(e,n)=>t[n]=`${e}`),t}function tI(i,t,e){return i==e.path&&Ec(t,e.parameters)}const Bg="imperative";class Sc{constructor(t,e){this.id=t,this.url=e}}class rk extends Sc{constructor(t,e,n="imperative",r=null){super(t,e),this.type=0,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Lh extends Sc{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Lb extends Sc{constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ob extends Sc{constructor(t,e,n,r){super(t,e),this.reason=n,this.code=r,this.type=16}}class ak extends Sc{constructor(t,e,n,r){super(t,e),this.error=n,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class x$ extends Sc{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class k$ extends Sc{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class C$ extends Sc{constructor(t,e,n,r,a){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=a,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class D$ extends Sc{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class M$ extends Sc{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class E${constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class S${constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class A${constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class T${constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class I${constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class N${constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class iI{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let R$=(()=>{class i{createUrlTree(e,n,r,a,o,c){return _$(e||n.root,r,a,o,c)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})(),B$=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:function(t){return R$.\u0275fac(t)},providedIn:"root"}),i})();class nI{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=ok(t,this._root);return e?e.children.map(n=>n.value):[]}firstChild(t){const e=ok(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=sk(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return sk(t,this._root).map(e=>e.value)}}function ok(i,t){if(i===t.value)return t;for(const e of t.children){const n=ok(i,e);if(n)return n}return null}function sk(i,t){if(i===t.value)return[t];for(const e of t.children){const n=sk(i,e);if(n.length)return n.unshift(t),n}return[]}class xd{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Tf(i){const t={};return i&&i.children.forEach(e=>t[e.value.outlet]=e),t}class rI extends nI{constructor(t,e){super(t),this.snapshot=e,lk(this,t)}toString(){return this.snapshot.toString()}}function aI(i,t){const e=function H$(i,t){const o=new Rb([],{},{},"",{},_n,t,null,i.root,-1,{});return new sI("",new xd(o,[]))}(i,t),n=new Oi([new Ng("",{})]),r=new Oi({}),a=new Oi({}),o=new Oi({}),c=new Oi(""),h=new Ps(n,r,o,c,a,_n,t,e.root);return h.snapshot=e.root,new rI(new xd(h,[]),e)}class Ps{constructor(t,e,n,r,a,o,c,h){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=a,this.outlet=o,this.component=c,this.title=this.data?.pipe(bt(f=>f[Ig]))??qt(void 0),this._futureSnapshot=h}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._paramMap=this.params.pipe(bt(t=>Mf(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(bt(t=>Mf(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function oI(i,t="emptyOnly"){const e=i.pathFromRoot;let n=0;if("always"!==t)for(n=e.length-1;n>=1;){const r=e[n],a=e[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(a.component)break;n--}}return function V$(i){return i.reduce((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(n))}class Rb{get title(){return this.data?.[Ig]}constructor(t,e,n,r,a,o,c,h,f,F,R){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=a,this.outlet=o,this.component=c,this.routeConfig=h,this._urlSegment=f,this._lastPathIndex=F,this._resolve=R}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._paramMap=Mf(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Mf(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(n=>n.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class sI extends nI{constructor(t,e){super(e),this.url=t,lk(this,e)}toString(){return lI(this._root)}}function lk(i,t){t.value._routerState=i,t.children.forEach(e=>lk(i,e))}function lI(i){const t=i.children.length>0?` { ${i.children.map(lI).join(", ")} } `:"";return`${i.value}${t}`}function ck(i){if(i.snapshot){const t=i.snapshot,e=i._futureSnapshot;i.snapshot=e,Ec(t.queryParams,e.queryParams)||i.queryParams.next(e.queryParams),t.fragment!==e.fragment&&i.fragment.next(e.fragment),Ec(t.params,e.params)||i.params.next(e.params),function e$(i,t){if(i.length!==t.length)return!1;for(let e=0;eEc(e.parameters,t[n].parameters))}(i.url,t.url);return e&&!(!i.parent!=!t.parent)&&(!i.parent||dk(i.parent,t.parent))}function Hg(i,t,e){if(e&&i.shouldReuseRoute(t.value,e.value.snapshot)){const n=e.value;n._futureSnapshot=t.value;const r=function j$(i,t,e){return t.children.map(n=>{for(const r of e.children)if(i.shouldReuseRoute(n.value,r.value.snapshot))return Hg(i,n,r);return Hg(i,n)})}(i,t,e);return new xd(n,r)}{if(i.shouldAttach(t.value)){const a=i.retrieve(t.value);if(null!==a){const o=a.route;return o.value._futureSnapshot=t.value,o.children=t.children.map(c=>Hg(i,c)),o}}const n=function z$(i){return new Ps(new Oi(i.url),new Oi(i.params),new Oi(i.queryParams),new Oi(i.fragment),new Oi(i.data),i.outlet,i.component,i)}(t.value),r=t.children.map(a=>Hg(i,a));return new xd(n,r)}}const uk="ngNavigationCancelingError";function cI(i,t){const{redirectTo:e,navigationBehaviorOptions:n}=Nh(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=dI(!1,0,t);return r.url=e,r.navigationBehaviorOptions=n,r}function dI(i,t,e){const n=new Error("NavigationCancelingError: "+(i||""));return n[uk]=!0,n.cancellationCode=t,e&&(n.url=e),n}function uI(i){return hI(i)&&Nh(i.url)}function hI(i){return i&&i[uk]}class U${constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Vg,this.attachRef=null}}let Vg=(()=>{class i{constructor(){this.contexts=new Map}onChildOutletCreated(e,n){const r=this.getOrCreateContext(e);r.outlet=n,this.contexts.set(e,r)}onChildOutletDestroyed(e){const n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new U$,this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Pb=!1;let hk=(()=>{class i{constructor(){this.activated=null,this._activatedRoute=null,this.name=_n,this.activateEvents=new ht,this.deactivateEvents=new ht,this.attachEvents=new ht,this.detachEvents=new ht,this.parentContexts=Xt(Vg),this.location=Xt(kr),this.changeDetector=Xt(li),this.environmentInjector=Xt(_c)}ngOnChanges(e){if(e.name){const{firstChange:n,previousValue:r}=e.name;if(n)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Je(4012,Pb);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Je(4012,Pb);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Je(4012,Pb);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new Je(4013,Pb);this._activatedRoute=e;const r=this.location,o=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,h=new W$(e,c,r.injector);if(n&&function G$(i){return!!i.resolveComponentFactory}(n)){const f=n.resolveComponentFactory(o);this.activated=r.createComponent(f,r.length,h)}else this.activated=r.createComponent(o,{index:r.length,injector:h,environmentInjector:n??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[mr]}),i})();class W${constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Ps?this.route:t===Vg?this.childContexts:this.parent.get(t,e)}}let mk=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=$e({type:i,selectors:[["ng-component"]],standalone:!0,features:[gF],decls:1,vars:0,template:function(e,n){1&e&&De(0,"router-outlet")},dependencies:[hk],encapsulation:2}),i})();function mI(i,t){return i.providers&&!i._injector&&(i._injector=P1(i.providers,t,`Route: ${i.path}`)),i._injector??t}function pk(i){const t=i.children&&i.children.map(pk),e=t?{...i,children:t}:{...i};return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==_n&&(e.component=mk),e}function bl(i){return i.outlet||_n}function fI(i,t){const e=i.filter(n=>bl(n)===t);return e.push(...i.filter(n=>bl(n)!==t)),e}function Yg(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let t=i.parent;t;t=t.parent){const e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class Z${constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ck(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Tf(e);t.children.forEach(a=>{const o=a.value.outlet;this.deactivateRoutes(a,r[o],n),delete r[o]}),Co(r,(a,o)=>{this.deactivateRouteAndItsChildren(a,n)})}deactivateRoutes(t,e,n){const r=t.value,a=e?e.value:null;if(r===a)if(r.component){const o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else a&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,a=Tf(t);for(const o of Object.keys(a))this.deactivateRouteAndItsChildren(a[o],r);if(n&&n.outlet){const o=n.outlet.detach(),c=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:o,route:t,contexts:c})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,a=Tf(t);for(const o of Object.keys(a))this.deactivateRouteAndItsChildren(a[o],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const r=Tf(e);t.children.forEach(a=>{this.activateRoutes(a,r[a.value.outlet],n),this.forwardEvent(new N$(a.value.snapshot))}),t.children.length&&this.forwardEvent(new T$(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,a=e?e.value:null;if(ck(r),r===a)if(r.component){const o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const o=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const c=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(c.contexts),o.attachRef=c.componentRef,o.route=c.route.value,o.outlet&&o.outlet.attach(c.componentRef,c.route.value),ck(c.route.value),this.activateChildRoutes(t,null,o.children)}else{const c=Yg(r.snapshot),h=c?.get(nd)??null;o.attachRef=null,o.route=r,o.resolver=h,o.injector=c,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,n)}}class pI{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Bb{constructor(t,e){this.component=t,this.route=e}}function X$(i,t,e){const n=i._root;return jg(n,t?t._root:null,e,[n.value])}function If(i,t){const e=Symbol(),n=t.get(i,e);return n===e?"function"!=typeof i||function th(i){return null!==Lo(i)}(i)?t.get(i):i:n}function jg(i,t,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){const a=Tf(t);return i.children.forEach(o=>{(function eK(i,t,e,n,r={canDeactivateChecks:[],canActivateChecks:[]}){const a=i.value,o=t?t.value:null,c=e?e.getContext(i.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){const h=function tK(i,t,e){if("function"==typeof e)return e(i,t);switch(e){case"pathParamsChange":return!Ih(i.url,t.url);case"pathParamsOrQueryParamsChange":return!Ih(i.url,t.url)||!Ec(i.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!dk(i,t)||!Ec(i.queryParams,t.queryParams);default:return!dk(i,t)}}(o,a,a.routeConfig.runGuardsAndResolvers);h?r.canActivateChecks.push(new pI(n)):(a.data=o.data,a._resolvedData=o._resolvedData),jg(i,t,a.component?c?c.children:null:e,n,r),h&&c&&c.outlet&&c.outlet.isActivated&&r.canDeactivateChecks.push(new Bb(c.outlet.component,o))}else o&&zg(t,c,r),r.canActivateChecks.push(new pI(n)),jg(i,null,a.component?c?c.children:null:e,n,r)})(o,a[o.value.outlet],e,n.concat([o.value]),r),delete a[o.value.outlet]}),Co(a,(o,c)=>zg(o,e.getContext(c),r)),r}function zg(i,t,e){const n=Tf(i),r=i.value;Co(n,(a,o)=>{zg(a,r.component?t?t.children.getContext(o):null:t,e)}),e.canDeactivateChecks.push(new Bb(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}function Ug(i){return"function"==typeof i}function gk(i){return i instanceof xb||"EmptyError"===i?.name}const Hb=Symbol("INITIAL_VALUE");function Nf(){return ca(i=>Cx(i.map(t=>t.pipe(gn(1),Yr(Hb)))).pipe(bt(t=>{for(const e of t)if(!0!==e){if(e===Hb)return Hb;if(!1===e||e instanceof fu)return e}return!0}),Ki(t=>t!==Hb),gn(1)))}function gI(i){return function Re(...i){return st(i)}(Jr(t=>{if(Nh(t))throw cI(0,t)}),bt(t=>!0===t))}const _k={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function _I(i,t,e,n,r){const a=bk(i,t,e);return a.matched?function bK(i,t,e,n){const r=t.canMatch;return r&&0!==r.length?qt(r.map(o=>{const c=If(o,i);return mu(function sK(i){return i&&Ug(i.canMatch)}(c)?c.canMatch(t,e):i.runInContext(()=>c(t,e)))})).pipe(Nf(),gI()):qt(!0)}(n=mI(t,n),t,e).pipe(bt(o=>!0===o?a:{..._k})):qt(a)}function bk(i,t,e){if(""===t.path)return"full"===t.pathMatch&&(i.hasChildren()||e.length>0)?{..._k}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(t.matcher||Jq)(e,i,t);if(!r)return{..._k};const a={};Co(r.posParams,(c,h)=>{a[h]=c.path});const o=r.consumed.length>0?{...a,...r.consumed[r.consumed.length-1].parameters}:a;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function Vb(i,t,e,n){if(e.length>0&&function wK(i,t,e){return e.some(n=>Yb(i,t,n)&&bl(n)!==_n)}(i,e,n)){const a=new Hn(t,function vK(i,t,e,n){const r={};r[_n]=n,n._sourceSegment=i,n._segmentIndexShift=t.length;for(const a of e)if(""===a.path&&bl(a)!==_n){const o=new Hn([],{});o._sourceSegment=i,o._segmentIndexShift=t.length,r[bl(a)]=o}return r}(i,t,n,new Hn(e,i.children)));return a._sourceSegment=i,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===e.length&&function FK(i,t,e){return e.some(n=>Yb(i,t,n))}(i,e,n)){const a=new Hn(i.segments,function yK(i,t,e,n,r){const a={};for(const o of n)if(Yb(i,e,o)&&!r[bl(o)]){const c=new Hn([],{});c._sourceSegment=i,c._segmentIndexShift=t.length,a[bl(o)]=c}return{...r,...a}}(i,t,e,n,i.children));return a._sourceSegment=i,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:e}}const r=new Hn(i.segments,i.children);return r._sourceSegment=i,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:e}}function Yb(i,t,e){return(!(i.hasChildren()||t.length>0)||"full"!==e.pathMatch)&&""===e.path}function bI(i,t,e,n){return!!(bl(i)===n||n!==_n&&Yb(t,e,i))&&("**"===i.path||bk(t,i,e).matched)}function yI(i,t,e){return 0===t.length&&!i.children[e]}const jb=!1;class zb{constructor(t){this.segmentGroup=t||null}}class vI{constructor(t){this.urlTree=t}}function Wg(i){return Th(new zb(i))}function wI(i){return Th(new vI(i))}class DK{constructor(t,e,n,r,a){this.injector=t,this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=a,this.allowRedirects=!0}apply(){const t=Vb(this.urlTree.root,[],[],this.config).segmentGroup,e=new Hn(t.segments,t.children);return this.expandSegmentGroup(this.injector,this.config,e,_n).pipe(bt(a=>this.createUrlTree(Nb(a),this.urlTree.queryParams,this.urlTree.fragment))).pipe(vs(a=>{if(a instanceof vI)return this.allowRedirects=!1,this.match(a.urlTree);throw a instanceof zb?this.noMatchError(a):a}))}match(t){return this.expandSegmentGroup(this.injector,this.config,t.root,_n).pipe(bt(r=>this.createUrlTree(Nb(r),t.queryParams,t.fragment))).pipe(vs(r=>{throw r instanceof zb?this.noMatchError(r):r}))}noMatchError(t){return new Je(4002,jb)}createUrlTree(t,e,n){const r=ek(t);return new fu(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(bt(a=>new Hn([],a))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){const r=[];for(const a of Object.keys(n.children))"primary"===a?r.unshift(a):r.push(a);return Jn(r).pipe(hu(a=>{const o=n.children[a],c=fI(e,a);return this.expandSegmentGroup(t,c,o,a).pipe(bt(h=>({segment:h,outlet:a})))}),O6((a,o)=>(a[o.outlet]=o.segment,a),{}),R6())}expandSegment(t,e,n,r,a,o){return Jn(n).pipe(hu(c=>this.expandSegmentAgainstRoute(t,e,n,c,r,a,o).pipe(vs(f=>{if(f instanceof zb)return qt(null);throw f}))),Fd(c=>!!c),vs((c,h)=>{if(gk(c))return yI(e,r,a)?qt(new Hn([],{})):Wg(e);throw c}))}expandSegmentAgainstRoute(t,e,n,r,a,o,c){return bI(r,e,a,o)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,a,o):c&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,a,o):Wg(e):Wg(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,a,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,a,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?wI(a):this.lineralizeSegments(n,a).pipe(_i(o=>{const c=new Hn(o,{});return this.expandSegment(t,c,e,o,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,a,o){const{matched:c,consumedSegments:h,remainingSegments:f,positionalParamSegments:F}=bk(e,r,a);if(!c)return Wg(e);const R=this.applyRedirectCommands(h,r.redirectTo,F);return r.redirectTo.startsWith("/")?wI(R):this.lineralizeSegments(r,R).pipe(_i(W=>this.expandSegment(t,e,n,W.concat(f),o,!1)))}matchSegmentAgainstRoute(t,e,n,r,a){return"**"===n.path?(t=mI(n,t),n.loadChildren?(n._loadedRoutes?qt({routes:n._loadedRoutes,injector:n._loadedInjector}):this.configLoader.loadChildren(t,n)).pipe(bt(c=>(n._loadedRoutes=c.routes,n._loadedInjector=c.injector,new Hn(r,{})))):qt(new Hn(r,{}))):_I(e,n,r,t).pipe(ca(({matched:o,consumedSegments:c,remainingSegments:h})=>o?this.getChildConfig(t=n._injector??t,n,r).pipe(_i(F=>{const R=F.injector??t,W=F.routes,{segmentGroup:te,slicedSegments:fe}=Vb(e,c,h,W),we=new Hn(te.segments,te.children);if(0===fe.length&&we.hasChildren())return this.expandChildren(R,W,we).pipe(bt(Be=>new Hn(c,Be)));if(0===W.length&&0===fe.length)return qt(new Hn(c,{}));const Ae=bl(n)===a;return this.expandSegment(R,we,W,fe,Ae?_n:a,!0).pipe(bt(et=>new Hn(c.concat(et.segments),et.children)))})):Wg(e)))}getChildConfig(t,e,n){return e.children?qt({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?qt({routes:e._loadedRoutes,injector:e._loadedInjector}):function _K(i,t,e,n){const r=t.canLoad;return void 0===r||0===r.length?qt(!0):qt(r.map(o=>{const c=If(o,i);return mu(function nK(i){return i&&Ug(i.canLoad)}(c)?c.canLoad(t,e):i.runInContext(()=>c(t,e)))})).pipe(Nf(),gI())}(t,e,n).pipe(_i(r=>r?this.configLoader.loadChildren(t,e).pipe(Jr(a=>{e._loadedRoutes=a.routes,e._loadedInjector=a.injector})):function kK(i){return Th(dI(jb,3))}())):qt({routes:[],injector:t})}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return qt(n);if(r.numberOfChildren>1||!r.children[_n])return t.redirectTo,Th(new Je(4e3,jb));r=r.children[_n]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreateUrlTree(t,e,n,r){const a=this.createSegmentGroup(t,e.root,n,r);return new fu(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Co(t,(r,a)=>{if("string"==typeof r&&r.startsWith(":")){const c=r.substring(1);n[a]=e[c]}else n[a]=r}),n}createSegmentGroup(t,e,n,r){const a=this.createSegments(t,e.segments,n,r);let o={};return Co(e.children,(c,h)=>{o[h]=this.createSegmentGroup(t,c,n,r)}),new Hn(a,o)}createSegments(t,e,n,r){return e.map(a=>a.path.startsWith(":")?this.findPosParam(t,a,r):this.findOrReturn(a,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Je(4001,jb);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}class EK{}class TK{constructor(t,e,n,r,a,o,c){this.injector=t,this.rootComponentType=e,this.config=n,this.urlTree=r,this.url=a,this.paramsInheritanceStrategy=o,this.urlSerializer=c}recognize(){const t=Vb(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,_n).pipe(bt(e=>{if(null===e)return null;const n=new Rb([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},_n,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new xd(n,e),a=new sI(this.url,r);return this.inheritParamsAndData(a._root),a}))}inheritParamsAndData(t){const e=t.value,n=oI(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,e,n):this.processSegment(t,e,n,n.segments,r)}processChildren(t,e,n){return Jn(Object.keys(n.children)).pipe(hu(r=>{const a=n.children[r],o=fI(e,r);return this.processSegmentGroup(t,o,a,r)}),O6((r,a)=>r&&a?(r.push(...a),r):null),JT(r=>null!==r),Cb(null),R6(),bt(r=>{if(null===r)return null;const a=xI(r);return function IK(i){i.sort((t,e)=>t.value.outlet===_n?-1:e.value.outlet===_n?1:t.value.outlet.localeCompare(e.value.outlet))}(a),a}))}processSegment(t,e,n,r,a){return Jn(e).pipe(hu(o=>this.processSegmentAgainstRoute(o._injector??t,o,n,r,a)),Fd(o=>!!o),vs(o=>{if(gk(o))return yI(n,r,a)?qt([]):qt(null);throw o}))}processSegmentAgainstRoute(t,e,n,r,a){if(e.redirectTo||!bI(e,n,r,a))return qt(null);let o;if("**"===e.path){const c=r.length>0?H6(r).parameters:{},h=CI(n)+r.length;o=qt({snapshot:new Rb(r,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,DI(e),bl(e),e.component??e._loadedComponent??null,e,kI(n),h,MI(e)),consumedSegments:[],remainingSegments:[]})}else o=_I(n,e,r,t).pipe(bt(({matched:c,consumedSegments:h,remainingSegments:f,parameters:F})=>{if(!c)return null;const R=CI(n)+h.length;return{snapshot:new Rb(h,F,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,DI(e),bl(e),e.component??e._loadedComponent??null,e,kI(n),R,MI(e)),consumedSegments:h,remainingSegments:f}}));return o.pipe(ca(c=>{if(null===c)return qt(null);const{snapshot:h,consumedSegments:f,remainingSegments:F}=c;t=e._injector??t;const R=e._loadedInjector??t,W=function NK(i){return i.children?i.children:i.loadChildren?i._loadedRoutes:[]}(e),{segmentGroup:te,slicedSegments:fe}=Vb(n,f,F,W.filter(Ae=>void 0===Ae.redirectTo));if(0===fe.length&&te.hasChildren())return this.processChildren(R,W,te).pipe(bt(Ae=>null===Ae?null:[new xd(h,Ae)]));if(0===W.length&&0===fe.length)return qt([new xd(h,[])]);const we=bl(e)===a;return this.processSegment(R,W,te,fe,we?_n:a).pipe(bt(Ae=>null===Ae?null:[new xd(h,Ae)]))}))}}function LK(i){const t=i.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function xI(i){const t=[],e=new Set;for(const n of i){if(!LK(n)){t.push(n);continue}const r=t.find(a=>n.value.routeConfig===a.value.routeConfig);void 0!==r?(r.children.push(...n.children),e.add(r)):t.push(n)}for(const n of e){const r=xI(n.children);t.push(new xd(n.value,r))}return t.filter(n=>!e.has(n))}function kI(i){let t=i;for(;t._sourceSegment;)t=t._sourceSegment;return t}function CI(i){let t=i,e=t._segmentIndexShift??0;for(;t._sourceSegment;)t=t._sourceSegment,e+=t._segmentIndexShift??0;return e-1}function DI(i){return i.data||{}}function MI(i){return i.resolve||{}}function EI(i){return"string"==typeof i.title||null===i.title}function yk(i){return ca(t=>{const e=i(t);return e?Jn(e).pipe(bt(()=>t)):qt(t)})}const Lf=new Ke("ROUTES");let vk=(()=>{class i{constructor(e,n){this.injector=e,this.compiler=n,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return qt(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const n=mu(e.loadComponent()).pipe(bt(AI),Jr(a=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=a}),Tg(()=>{this.componentLoaders.delete(e)})),r=new kb(n,()=>new He).pipe(Qx());return this.componentLoaders.set(e,r),r}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return qt({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);const a=this.loadModuleFactoryOrRoutes(n.loadChildren).pipe(bt(c=>{this.onLoadEndListener&&this.onLoadEndListener(n);let h,f,F=!1;Array.isArray(c)?f=c:(h=c.create(e).injector,f=B6(h.get(Lf,[],si.Self|si.Optional)));return{routes:f.map(pk),injector:h}}),Tg(()=>{this.childrenLoaders.delete(n)})),o=new kb(a,()=>new He).pipe(Qx());return this.childrenLoaders.set(n,o),o}loadModuleFactoryOrRoutes(e){return mu(e()).pipe(bt(AI),_i(r=>r instanceof mS||Array.isArray(r)?qt(r):Jn(this.compiler.compileModuleAsync(r))))}}return i.\u0275fac=function(e){return new(e||i)(Ee(Wr),Ee(iA))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function AI(i){return function zK(i){return i&&"object"==typeof i&&"default"in i}(i)?i.default:i}let Wb=(()=>{class i{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new He,this.configLoader=Xt(vk),this.environmentInjector=Xt(_c),this.urlSerializer=Xt(Lg),this.rootContexts=Xt(Vg),this.navigationId=0,this.afterPreactivation=()=>qt(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new S$(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new E$(r))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const n=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:n})}setupNavigations(e){return this.transitions=new Oi({id:0,targetPageId:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Bg,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ki(n=>0!==n.id),bt(n=>({...n,extractedUrl:e.urlHandlingStrategy.extract(n.rawUrl)})),ca(n=>{let r=!1,a=!1;return qt(n).pipe(Jr(o=>{this.currentNavigation={id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),ca(o=>{const c=e.browserUrlTree.toString(),h=!e.navigated||o.extractedUrl.toString()!==c||c!==e.currentUrlTree.toString();if(!h&&"reload"!==(o.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const F="";return this.events.next(new Ob(o.id,e.serializeUrl(n.rawUrl),F,0)),e.rawUrlTree=o.rawUrl,o.resolve(null),an}if(e.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return TI(o.source)&&(e.browserUrlTree=o.extractedUrl),qt(o).pipe(ca(F=>{const R=this.transitions?.getValue();return this.events.next(new rk(F.id,this.urlSerializer.serialize(F.extractedUrl),F.source,F.restoredState)),R!==this.transitions?.getValue()?an:Promise.resolve(F)}),function MK(i,t,e,n){return ca(r=>function CK(i,t,e,n,r){return new DK(i,t,e,n,r).apply()}(i,t,e,r.extractedUrl,n).pipe(bt(a=>({...r,urlAfterRedirects:a}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,e.config),Jr(F=>{this.currentNavigation={...this.currentNavigation,finalUrl:F.urlAfterRedirects},n.urlAfterRedirects=F.urlAfterRedirects}),function RK(i,t,e,n,r){return _i(a=>function AK(i,t,e,n,r,a,o="emptyOnly"){return new TK(i,t,e,n,r,o,a).recognize().pipe(ca(c=>null===c?function SK(i){return new mt(t=>t.error(i))}(new EK):qt(c)))}(i,t,e,a.urlAfterRedirects,n.serialize(a.urlAfterRedirects),n,r).pipe(bt(o=>({...a,targetSnapshot:o}))))}(this.environmentInjector,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),Jr(F=>{if(n.targetSnapshot=F.targetSnapshot,"eager"===e.urlUpdateStrategy){if(!F.extras.skipLocationChange){const W=e.urlHandlingStrategy.merge(F.urlAfterRedirects,F.rawUrl);e.setBrowserUrl(W,F)}e.browserUrlTree=F.urlAfterRedirects}const R=new x$(F.id,this.urlSerializer.serialize(F.extractedUrl),this.urlSerializer.serialize(F.urlAfterRedirects),F.targetSnapshot);this.events.next(R)}));if(h&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:F,extractedUrl:R,source:W,restoredState:te,extras:fe}=o,we=new rk(F,this.urlSerializer.serialize(R),W,te);this.events.next(we);const Ae=aI(R,this.rootComponentType).snapshot;return qt(n={...o,targetSnapshot:Ae,urlAfterRedirects:R,extras:{...fe,skipLocationChange:!1,replaceUrl:!1}})}{const F="";return this.events.next(new Ob(o.id,e.serializeUrl(n.extractedUrl),F,1)),e.rawUrlTree=o.rawUrl,o.resolve(null),an}}),Jr(o=>{const c=new k$(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(c)}),bt(o=>n={...o,guards:X$(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),function cK(i,t){return _i(e=>{const{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:o}}=e;return 0===o.length&&0===a.length?qt({...e,guardsResult:!0}):function dK(i,t,e,n){return Jn(i).pipe(_i(r=>function gK(i,t,e,n,r){const a=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return a&&0!==a.length?qt(a.map(c=>{const h=Yg(t)??r,f=If(c,h);return mu(function oK(i){return i&&Ug(i.canDeactivate)}(f)?f.canDeactivate(i,t,e,n):h.runInContext(()=>f(i,t,e,n))).pipe(Fd())})).pipe(Nf()):qt(!0)}(r.component,r.route,e,t,n)),Fd(r=>!0!==r,!0))}(o,n,r,i).pipe(_i(c=>c&&function iK(i){return"boolean"==typeof i}(c)?function uK(i,t,e,n){return Jn(t).pipe(hu(r=>kh(function mK(i,t){return null!==i&&t&&t(new A$(i)),qt(!0)}(r.route.parent,n),function hK(i,t){return null!==i&&t&&t(new I$(i)),qt(!0)}(r.route,n),function pK(i,t,e){const n=t[t.length-1],a=t.slice(0,t.length-1).reverse().map(o=>function J$(i){const t=i.routeConfig?i.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:i,guards:t}:null}(o)).filter(o=>null!==o).map(o=>uu(()=>qt(o.guards.map(h=>{const f=Yg(o.node)??e,F=If(h,f);return mu(function aK(i){return i&&Ug(i.canActivateChild)}(F)?F.canActivateChild(n,i):f.runInContext(()=>F(n,i))).pipe(Fd())})).pipe(Nf())));return qt(a).pipe(Nf())}(i,r.path,e),function fK(i,t,e){const n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||0===n.length)return qt(!0);const r=n.map(a=>uu(()=>{const o=Yg(t)??e,c=If(a,o);return mu(function rK(i){return i&&Ug(i.canActivate)}(c)?c.canActivate(t,i):o.runInContext(()=>c(t,i))).pipe(Fd())}));return qt(r).pipe(Nf())}(i,r.route,e))),Fd(r=>!0!==r,!0))}(n,a,i,t):qt(c)),bt(c=>({...e,guardsResult:c})))})}(this.environmentInjector,o=>this.events.next(o)),Jr(o=>{if(n.guardsResult=o.guardsResult,Nh(o.guardsResult))throw cI(0,o.guardsResult);const c=new C$(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(c)}),Ki(o=>!!o.guardsResult||(e.restoreHistory(o),this.cancelNavigationTransition(o,"",3),!1)),yk(o=>{if(o.guards.canActivateChecks.length)return qt(o).pipe(Jr(c=>{const h=new D$(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}),ca(c=>{let h=!1;return qt(c).pipe(function PK(i,t){return _i(e=>{const{targetSnapshot:n,guards:{canActivateChecks:r}}=e;if(!r.length)return qt(e);let a=0;return Jn(r).pipe(hu(o=>function BK(i,t,e,n){const r=i.routeConfig,a=i._resolve;return void 0!==r?.title&&!EI(r)&&(a[Ig]=r.title),function HK(i,t,e,n){const r=function VK(i){return[...Object.keys(i),...Object.getOwnPropertySymbols(i)]}(i);if(0===r.length)return qt({});const a={};return Jn(r).pipe(_i(o=>function YK(i,t,e,n){const r=Yg(t)??n,a=If(i,r);return mu(a.resolve?a.resolve(t,e):r.runInContext(()=>a(t,e)))}(i[o],t,e,n).pipe(Fd(),Jr(c=>{a[o]=c}))),Zx(1),Db(a),vs(o=>gk(o)?an:Th(o)))}(a,i,t,n).pipe(bt(o=>(i._resolvedData=o,i.data=oI(i,e).resolve,r&&EI(r)&&(i.data[Ig]=r.title),null)))}(o.route,n,i,t)),Jr(()=>a++),Zx(1),_i(o=>a===r.length?qt(e):an))})}(e.paramsInheritanceStrategy,this.environmentInjector),Jr({next:()=>h=!0,complete:()=>{h||(e.restoreHistory(c),this.cancelNavigationTransition(c,"",2))}}))}),Jr(c=>{const h=new M$(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}))}),yk(o=>{const c=h=>{const f=[];h.routeConfig?.loadComponent&&!h.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(h.routeConfig).pipe(Jr(F=>{h.component=F}),bt(()=>{})));for(const F of h.children)f.push(...c(F));return f};return Cx(c(o.targetSnapshot.root)).pipe(Cb(),gn(1))}),yk(()=>this.afterPreactivation()),bt(o=>{const c=function Y$(i,t,e){const n=Hg(i,t._root,e?e._root:void 0);return new rI(n,t)}(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return n={...o,targetRouterState:c}}),Jr(o=>{e.currentUrlTree=o.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),e.routerState=o.targetRouterState,"deferred"===e.urlUpdateStrategy&&(o.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,o),e.browserUrlTree=o.urlAfterRedirects)}),((i,t,e)=>bt(n=>(new Z$(t,n.targetRouterState,n.currentRouterState,e).activate(i),n)))(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o)),Jr({next:o=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new Lh(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{r=!0}}),Tg(()=>{r||a||this.cancelNavigationTransition(n,"",1),this.currentNavigation?.id===n.id&&(this.currentNavigation=null)}),vs(o=>{if(a=!0,hI(o)){uI(o)||(e.navigated=!0,e.restoreHistory(n,!0));const c=new Lb(n.id,this.urlSerializer.serialize(n.extractedUrl),o.message,o.cancellationCode);if(this.events.next(c),uI(o)){const h=e.urlHandlingStrategy.merge(o.url,e.rawUrlTree),f={skipLocationChange:n.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||TI(n.source)};e.scheduleNavigation(h,Bg,null,f,{resolve:n.resolve,reject:n.reject,promise:n.promise})}else n.resolve(!1)}else{e.restoreHistory(n,!0);const c=new ak(n.id,this.urlSerializer.serialize(n.extractedUrl),o,n.targetSnapshot??void 0);this.events.next(c);try{n.resolve(e.errorHandler(o))}catch(h){n.reject(h)}}return an}))}))}cancelNavigationTransition(e,n,r){const a=new Lb(e.id,this.urlSerializer.serialize(e.extractedUrl),n,r);this.events.next(a),e.resolve(!1)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function TI(i){return i!==Bg}let II=(()=>{class i{buildTitle(e){let n,r=e.root;for(;void 0!==r;)n=this.getResolvedTitleForRoute(r)??n,r=r.children.find(a=>a.outlet===_n);return n}getResolvedTitleForRoute(e){return e.data[Ig]}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:function(){return Xt(UK)},providedIn:"root"}),i})(),UK=(()=>{class i extends II{constructor(e){super(),this.title=e}updateTitle(e){const n=this.buildTitle(e);void 0!==n&&this.title.setTitle(n)}}return i.\u0275fac=function(e){return new(e||i)(Ee(mx))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),WK=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:function(){return Xt(qK)},providedIn:"root"}),i})();class GK{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let qK=(()=>{class i extends GK{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Gb=new Ke("",{providedIn:"root",factory:()=>({})});let KK=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:function(){return Xt(QK)},providedIn:"root"}),i})(),QK=(()=>{class i{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function ZK(i){throw i}function XK(i,t,e){return t.parse("/")}const JK={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},eQ={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let rr=(()=>{class i{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=Xt(_j),this.isNgZoneEnabled=!1,this.options=Xt(Gb,{optional:!0})||{},this.errorHandler=this.options.errorHandler||ZK,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||XK,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=Xt(KK),this.routeReuseStrategy=Xt(WK),this.urlCreationStrategy=Xt(B$),this.titleStrategy=Xt(II),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=B6(Xt(Lf,{optional:!0})??[]),this.navigationTransitions=Xt(Wb),this.urlSerializer=Xt(Lg),this.location=Xt(ud),this.isNgZoneEnabled=Xt(Rt)instanceof Rt&&Rt.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new fu,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=aI(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Bg,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const n="popstate"===e.type?"popstate":"hashchange";"popstate"===n&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,n,e.state)},0)}))}navigateToSyncWithBrowser(e,n,r){const a={replaceUrl:!0},o=r?.navigationId?r:null;if(r){const h={...r};delete h.navigationId,delete h.\u0275routerPageId,0!==Object.keys(h).length&&(a.state=h)}const c=this.parseUrl(e);this.scheduleNavigation(c,n,o,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(e){this.config=e.map(pk),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,n={}){const{relativeTo:r,queryParams:a,fragment:o,queryParamsHandling:c,preserveFragment:h}=n,f=h?this.currentUrlTree.fragment:o;let F=null;switch(c){case"merge":F={...this.currentUrlTree.queryParams,...a};break;case"preserve":F=this.currentUrlTree.queryParams;break;default:F=a||null}return null!==F&&(F=this.removeEmptyProps(F)),this.urlCreationStrategy.createUrlTree(r,this.routerState,this.currentUrlTree,e,F,f??null)}navigateByUrl(e,n={skipLocationChange:!1}){const r=Nh(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(a,Bg,null,n)}navigate(e,n={skipLocationChange:!1}){return function tQ(i){for(let t=0;t{const a=e[r];return null!=a&&(n[r]=a),n},{})}scheduleNavigation(e,n,r,a,o){if(this.disposed)return Promise.resolve(!1);let c,h,f,F;return o?(c=o.resolve,h=o.reject,f=o.promise):f=new Promise((R,W)=>{c=R,h=W}),F="computed"===this.canceledNavigationResolution?r&&r.\u0275routerPageId?r.\u0275routerPageId:a.replaceUrl||a.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:F,source:n,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:c,reject:h,promise:f,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),f.catch(R=>Promise.reject(R))}setBrowserUrl(e,n){const r=this.urlSerializer.serialize(e),a={...n.extras.state,...this.generateNgRouterState(n.id,n.targetPageId)};this.location.isCurrentPathEqualTo(r)||n.extras.replaceUrl?this.location.replaceState(r,"",a):this.location.go(r,"",a)}restoreHistory(e,n=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===r?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(n&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Ya=(()=>{class i{constructor(e,n,r,a,o,c){this.router=e,this.route=n,this.tabIndexAttribute=r,this.renderer=a,this.el=o,this.locationStrategy=c,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new He;const h=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===h||"area"===h,this.isAnchorElement?this.subscription=e.events.subscribe(f=>{f instanceof Lh&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=hf(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=hf(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=hf(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,n,r,a,o){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||n||r||a||o||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const e=null===this.href?null:function z3(i,t,e){return function I7(i,t){return"src"===t&&("embed"===i||"frame"===i||"iframe"===i||"media"===i||"script"===i)||"href"===t&&("base"===i||"link"===i)?Hm:An}(t,e)(i)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,n){const r=this.renderer,a=this.el.nativeElement;null!==n?r.setAttribute(a,e,n):r.removeAttribute(a,e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return i.\u0275fac=function(e){return new(e||i)(D(rr),D(Ps),bo("tabindex"),D(Bl),D(_t),D(wh))},i.\u0275dir=Oe({type:i,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(e,n){1&e&&pe("click",function(a){return n.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),2&e&&Nt("target",n.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[mr]}),i})(),NI=(()=>{class i{get isActive(){return this._isActive}constructor(e,n,r,a,o){this.router=e,this.element=n,this.renderer=r,this.cdr=a,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ht,this.routerEventsSubscription=e.events.subscribe(c=>{c instanceof Lh&&this.update()})}ngAfterContentInit(){qt(this.links.changes,qt(null)).pipe(_r()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=Jn(e).pipe(_r()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){const n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(r=>!!r)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const e=this.hasActiveLinks();this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(e))})}isLinkActive(e){const n=function iQ(i){return!!i.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return r=>!!r.urlTree&&e.isActive(r.urlTree,n)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}}return i.\u0275fac=function(e){return new(e||i)(D(rr),D(_t),D(Bl),D(li),D(Ya,8))},i.\u0275dir=Oe({type:i,selectors:[["","routerLinkActive",""]],contentQueries:function(e,n,r){if(1&e&&di(r,Ya,5),2&e){let a;Qe(a=Ze())&&(n.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[mr]}),i})();class LI{}let nQ=(()=>{class i{constructor(e,n,r,a,o){this.router=e,this.injector=r,this.preloadingStrategy=a,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(Ki(e=>e instanceof Lh),hu(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){const r=[];for(const a of n){a.providers&&!a._injector&&(a._injector=P1(a.providers,e,`Route: ${a.path}`));const o=a._injector??e,c=a._loadedInjector??o;a.loadChildren&&!a._loadedRoutes&&void 0===a.canLoad||a.loadComponent&&!a._loadedComponent?r.push(this.preloadConfig(o,a)):(a.children||a._loadedRoutes)&&r.push(this.processRoutes(c,a.children??a._loadedRoutes))}return Jn(r).pipe(_r())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let r;r=n.loadChildren&&void 0===n.canLoad?this.loader.loadChildren(e,n):qt(null);const a=r.pipe(_i(o=>null===o?qt(void 0):(n._loadedRoutes=o.routes,n._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));return n.loadComponent&&!n._loadedComponent?Jn([a,this.loader.loadComponent(n)]).pipe(_r()):a})}}return i.\u0275fac=function(e){return new(e||i)(Ee(rr),Ee(iA),Ee(_c),Ee(LI),Ee(vk))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Fk=new Ke("");let OI=(()=>{class i{constructor(e,n,r,a,o={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=r,this.zone=a,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof rk?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Lh&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof iI&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new iI(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return i.\u0275fac=function(e){Vl()},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();var Bs=(()=>((Bs=Bs||{})[Bs.COMPLETE=0]="COMPLETE",Bs[Bs.FAILED=1]="FAILED",Bs[Bs.REDIRECTING=2]="REDIRECTING",Bs))();const Of=!1;function pu(i,t){return{\u0275kind:i,\u0275providers:t}}const xk=new Ke("",{providedIn:"root",factory:()=>!1});function PI(){const i=Xt(Wr);return t=>{const e=i.get(ld);if(t!==e.components[0])return;const n=i.get(rr),r=i.get(BI);1===i.get(kk)&&n.initialNavigation(),i.get(HI,null,si.Optional)?.setUpPreloading(),i.get(Fk,null,si.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const BI=new Ke(Of?"bootstrap done indicator":"",{factory:()=>new He}),kk=new Ke(Of?"initial navigation":"",{providedIn:"root",factory:()=>1});function lQ(){let i=[];return i=Of?[{provide:g1,multi:!0,useFactory:()=>{const t=Xt(rr);return()=>t.events.subscribe(e=>{console.group?.(`Router Event: ${e.constructor.name}`),console.log(function L$(i){if(!("type"in i))return`Unknown Router Event: ${i.constructor.name}`;switch(i.type){case 14:return`ActivationEnd(path: '${i.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${i.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${i.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${i.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state}, shouldActivate: ${i.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state})`;case 2:return`NavigationCancel(id: ${i.id}, url: '${i.url}')`;case 16:return`NavigationSkipped(id: ${i.id}, url: '${i.url}')`;case 1:return`NavigationEnd(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${i.id}, url: '${i.url}', error: ${i.error})`;case 0:return`NavigationStart(id: ${i.id}, url: '${i.url}')`;case 6:return`ResolveEnd(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state})`;case 5:return`ResolveStart(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state})`;case 10:return`RouteConfigLoadEnd(path: ${i.route.path})`;case 9:return`RouteConfigLoadStart(path: ${i.route.path})`;case 4:return`RoutesRecognized(id: ${i.id}, url: '${i.url}', urlAfterRedirects: '${i.urlAfterRedirects}', state: ${i.state})`;case 15:return`Scroll(anchor: '${i.anchor}', position: '${i.position?`${i.position[0]}, ${i.position[1]}`:null}')`}}(e)),console.log(e),console.groupEnd?.()})}}]:[],pu(1,i)}const HI=new Ke(Of?"router preloader":"");function cQ(i){return pu(0,[{provide:HI,useExisting:nQ},{provide:LI,useExisting:i}])}const Gg=!1,VI=new Ke(Gg?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),dQ=[ud,{provide:Lg,useClass:Xx},rr,Vg,{provide:Ps,useFactory:function RI(i){return i.routerState.root},deps:[rr]},vk,Gg?{provide:xk,useValue:!0}:[]];function uQ(){return new cA("Router",rr)}let YI=(()=>{class i{constructor(e){}static forRoot(e,n){return{ngModule:i,providers:[dQ,Gg&&n?.enableTracing?lQ().\u0275providers:[],{provide:Lf,multi:!0,useValue:e},{provide:VI,useFactory:pQ,deps:[[rr,new gs,new Pl]]},{provide:Gb,useValue:n||{}},n?.useHash?{provide:wh,useClass:rz}:{provide:wh,useClass:NA},{provide:Fk,useFactory:()=>{const i=Xt(gU),t=Xt(Rt),e=Xt(Gb),n=Xt(Wb),r=Xt(Lg);return e.scrollOffset&&i.setOffset(e.scrollOffset),new OI(r,n,i,t,e)}},n?.preloadingStrategy?cQ(n.preloadingStrategy).\u0275providers:[],{provide:cA,multi:!0,useFactory:uQ},n?.initialNavigation?gQ(n):[],[{provide:jI,useFactory:PI},{provide:tA,multi:!0,useExisting:jI}]]}}static forChild(e){return{ngModule:i,providers:[{provide:Lf,multi:!0,useValue:e}]}}}return i.\u0275fac=function(e){return new(e||i)(Ee(VI,8))},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[mk]}),i})();function pQ(i){if(Gg&&i)throw new Je(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function gQ(i){return["disabled"===i.initialNavigation?pu(3,[{provide:sg,multi:!0,useFactory:()=>{const t=Xt(rr);return()=>{t.setUpLocationChangeListener()}}},{provide:kk,useValue:2}]).\u0275providers:[],"enabledBlocking"===i.initialNavigation?pu(2,[{provide:kk,useValue:0},{provide:sg,multi:!0,deps:[Wr],useFactory:t=>{const e=t.get(iz,Promise.resolve());return()=>e.then(()=>new Promise(n=>{const r=t.get(rr),a=t.get(BI);(function rQ(i,t){i.events.pipe(Ki(e=>e instanceof Lh||e instanceof Lb||e instanceof ak||e instanceof Ob),bt(e=>e instanceof Lh||e instanceof Ob?Bs.COMPLETE:e instanceof Lb&&(0===e.code||1===e.code)?Bs.REDIRECTING:Bs.FAILED),Ki(e=>e!==Bs.REDIRECTING),gn(1)).subscribe(()=>{t()})})(r,()=>{n(!0)}),t.get(Wb).afterPreactivation=()=>(n(!0),a.closed?qt(void 0):a),r.initialNavigation()}))}}]).\u0275providers:[]]}const jI=new Ke(Gg?"Router Initializer":"");function zI(i,t,e,n,r,a,o){try{var c=i[a](o),h=c.value}catch(f){return void e(f)}c.done?t(h):Promise.resolve(h).then(n,r)}function Se(i){return function(){var t=this,e=arguments;return new Promise(function(n,r){var a=i.apply(t,e);function o(h){zI(a,n,r,o,c,"next",h)}function c(h){zI(a,n,r,o,c,"throw",h)}o(void 0)})}}function bQ(i,t){}class qg{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const Ck="mdc-dialog--open",UI="mdc-dialog--opening",WI="mdc-dialog--closing";let GI=(()=>{class i extends Vx{constructor(e,n,r,a,o,c,h,f){super(e,n,r,a,o,c,h,f),this._animationStateChanged=new ht}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(vf),D(Ci,8),D(qg),D(Ch),D(Rt),D(Eh),D(Ha))},i.\u0275cmp=$e({type:i,selectors:[["ng-component"]],features:[ot],decls:0,vars:0,template:function(e,n){},encapsulation:2}),i})();const qI="--mat-dialog-transition-duration";function $I(i){return null==i?null:"number"==typeof i?i:i.endsWith("ms")?vr(i.substring(0,i.length-2)):i.endsWith("s")?1e3*vr(i.substring(0,i.length-1)):"0"===i?0:null}let wQ=(()=>{class i extends GI{constructor(e,n,r,a,o,c,h,f,F){super(e,n,r,a,o,c,h,F),this._animationMode=f,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?$I(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?$I(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(qI,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(UI),this._hostElement.classList.add(Ck),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Ck),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(Ck),this._animationsEnabled?(this._hostElement.style.setProperty(qI,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(WI),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(UI),this._hostElement.classList.remove(WI)}_waitForAnimationToComplete(e,n){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,e)}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(vf),D(Ci,8),D(qg),D(Ch),D(Rt),D(Eh),D(Tn,8),D(Ha))},i.\u0275cmp=$e({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(e,n){2&e&&(lo("id",n._config.id),Nt("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),Mt("_mat-animation-noopable",!n._animationsEnabled))},features:[ot],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(e,n){1&e&&(y(0,"div",0)(1,"div",1),oe(2,bQ,0,0,"ng-template",2),k()())},dependencies:[ql],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),i})();class Hs{constructor(t,e,n){this._ref=t,this._containerInstance=n,this._afterOpened=new He,this._beforeClosed=new He,this._state=0,this.disableClose=e.disableClose,this.id=t.id,n._animationStateChanged.pipe(Ki(r=>"opened"===r.state),gn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(Ki(r=>"closed"===r.state),gn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Rn(this.backdropClick(),this.keydownEvents().pipe(Ki(r=>27===r.keyCode&&!this.disableClose&&!ga(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),KI(this,"keydown"===r.type?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Ki(e=>"closing"===e.state),gn(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let e=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",e=""){return this._ref.updateSize(t,e),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function KI(i,t,e){return i._closeInteractionType=t,i.close(e)}const Ac=new Ke("MatMdcDialogData"),FQ=new Ke("mat-mdc-dialog-default-options"),QI=new Ke("mat-mdc-dialog-scroll-strategy"),kQ={provide:QI,deps:[_a],useFactory:function xQ(i){return()=>i.scrollStrategies.block()}};let CQ=0,ZI=(()=>{class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,n,r,a,o,c,h,f,F,R){this._overlay=e,this._defaultOptions=r,this._parentDialog=a,this._dialogRefConstructor=h,this._dialogContainerType=f,this._dialogDataToken=F,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new He,this._afterOpenedAtThisLevel=new He,this._idPrefix="mat-dialog-",this.dialogConfigClass=qg,this.afterAllClosed=uu(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Yr(void 0))),this._scrollStrategy=c,this._dialog=n.get(jx)}open(e,n){let r;(n={...this._defaultOptions||new qg,...n}).id=n.id||`${this._idPrefix}${CQ++}`,n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();const a=this._dialog.open(e,{...n,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:Cg,useValue:n}]},templateContext:()=>({dialogRef:r}),providers:(o,c,h)=>(r=new this._dialogRefConstructor(o,n,h),r.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:h},{provide:this._dialogDataToken,useValue:c.data},{provide:this._dialogRefConstructor,useValue:r}])});return r.componentInstance=a.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{const o=this.openDialogs.indexOf(r);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(n=>n.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let n=e.length;for(;n--;)e[n].close()}}return i.\u0275fac=function(e){Vl()},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})(),ja=(()=>{class i extends ZI{constructor(e,n,r,a,o,c,h,f){super(e,n,a,c,h,o,Hs,wQ,Ac,f),this._idPrefix="mat-mdc-dialog-"}}return i.\u0275fac=function(e){return new(e||i)(Ee(_a),Ee(Wr),Ee(ud,8),Ee(FQ,8),Ee(QI),Ee(i,12),Ee(kg),Ee(Tn,8))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})(),DQ=0,Rf=(()=>{class i{constructor(e,n,r){this.dialogRef=e,this._elementRef=n,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=XI(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const n=e._matDialogClose||e._matDialogCloseResult;n&&(this.dialogResult=n.currentValue)}_onButtonClick(e){KI(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return i.\u0275fac=function(e){return new(e||i)(D(Hs,8),D(_t),D(ja))},i.\u0275dir=Oe({type:i,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,n){1&e&&pe("click",function(a){return n._onButtonClick(a)}),2&e&&Nt("aria-label",n.ariaLabel||null)("type",n.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[mr]}),i})(),Oh=(()=>{class i{constructor(e,n,r){this._dialogRef=e,this._elementRef=n,this._dialog=r,this.id="mat-mdc-dialog-title-"+DQ++}ngOnInit(){this._dialogRef||(this._dialogRef=XI(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return i.\u0275fac=function(e){return new(e||i)(D(Hs,8),D(_t),D(ja))},i.\u0275dir=Oe({type:i,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(e,n){2&e&&lo("id",n.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),i})(),gu=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),i})(),_u=(()=>{class i{constructor(){this.align="start"}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("mat-mdc-dialog-actions-align-center","center"===n.align)("mat-mdc-dialog-actions-align-end","end"===n.align)},inputs:{align:"align"}}),i})();function XI(i,t){let e=i.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?t.find(n=>n.id===e.id):null}let MQ=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[ja,kQ],imports:[Ux,Dc,gl,Kt,Kt]}),i})();const qb={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},EQ={dialogContainer:Va("dialogContainer",[fr("void, exit",hi({opacity:0,transform:"scale(0.7)"})),fr("enter",hi({transform:"none"})),nr("* => enter",Mg([ir("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",hi({transform:"none",opacity:1})),wd("@*",Sg(),{optional:!0})]),qb),nr("* => void, * => exit",Mg([ir("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",hi({opacity:0})),wd("@*",Sg(),{optional:!0})]),qb)])},JI=["mat-button",""],$b=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Kb=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],e5=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",AQ=["mat-fab",""],TQ=["mat-mini-fab",""],NQ=["mat-icon-button",""],LQ=["*"],OQ=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],RQ=Kl($l(_l(class{constructor(i){this._elementRef=i}})));let $g=(()=>{class i extends RQ{constructor(e,n,r,a){super(e),this._platform=n,this._ngZone=r,this._animationMode=a,this._focusMonitor=Xt(Ha),this._isFab=!1;const o=e.nativeElement.classList;for(const c of OQ)this._hasHostAttributes(c.selector)&&c.mdcClasses.forEach(h=>{o.add(h)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",n){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,n):this._elementRef.nativeElement.focus(n)}_hasHostAttributes(...e){return e.some(n=>this._elementRef.nativeElement.hasAttribute(n))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return i.\u0275fac=function(e){Vl()},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&Tt(la,5),2&e){let r;Qe(r=Ze())&&(n.ripple=r.first)}},features:[ot]}),i})(),BQ=(()=>{class i extends $g{constructor(e,n,r,a){super(e,n,r,a),this._haltDisabledEvents=o=>{this.disabled&&(o.preventDefault(),o.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return i.\u0275fac=function(e){Vl()},i.\u0275dir=Oe({type:i,features:[ot]}),i})(),Cr=(()=>{class i extends $g{constructor(e,n,r,a){super(e,n,r,a)}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Pn),D(Rt),D(Tn,8))},i.\u0275cmp=$e({type:i,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(e,n){2&e&&(Nt("disabled",n.disabled||null),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ot],attrs:JI,ngContentSelectors:Kb,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Hi($b),De(0,"span",0),wt(1),y(2,"span",1),wt(3,1),k(),wt(4,2),De(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Mt("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab),A(6),N("matRippleDisabled",n._isRippleDisabled())("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[la],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),i})(),HQ=(()=>{class i extends BQ{constructor(e,n,r,a){super(e,n,r,a)}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Pn),D(Rt),D(Tn,8))},i.\u0275cmp=$e({type:i,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(e,n){2&e&&(Nt("disabled",n.disabled||null)("tabindex",n.disabled?-1:n.tabIndex)("aria-disabled",n.disabled.toString()),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[ot],attrs:JI,ngContentSelectors:Kb,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Hi($b),De(0,"span",0),wt(1),y(2,"span",1),wt(3,1),k(),wt(4,2),De(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Mt("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab),A(6),N("matRippleDisabled",n._isRippleDisabled())("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[la],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',e5],encapsulation:2,changeDetection:0}),i})();const t5=new Ke("mat-mdc-fab-default-options",{providedIn:"root",factory:n5});function n5(){return{color:"accent"}}const Qb=n5();let r5=(()=>{class i extends $g{get extended(){return this._extended}set extended(e){this._extended=xt(e)}constructor(e,n,r,a,o){super(e,n,r,a),this._options=o,this._isFab=!0,this._options=this._options||Qb,this.color=this.defaultColor=this._options.color||Qb.color}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Pn),D(Rt),D(Tn,8),D(t5,8))},i.\u0275cmp=$e({type:i,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(e,n){2&e&&(Nt("disabled",n.disabled||null),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0)("mdc-fab--extended",n.extended)("mat-mdc-extended-fab",n.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[ot],attrs:AQ,ngContentSelectors:Kb,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Hi($b),De(0,"span",0),wt(1),y(2,"span",1),wt(3,1),k(),wt(4,2),De(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Mt("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab),A(6),N("matRippleDisabled",n._isRippleDisabled())("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[la],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),i})(),a5=(()=>{class i extends $g{constructor(e,n,r,a,o){super(e,n,r,a),this._options=o,this._isFab=!0,this._options=this._options||Qb,this.color=this.defaultColor=this._options.color||Qb.color}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Pn),D(Rt),D(Tn,8),D(t5,8))},i.\u0275cmp=$e({type:i,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(e,n){2&e&&(Nt("disabled",n.disabled||null),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ot],attrs:TQ,ngContentSelectors:Kb,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Hi($b),De(0,"span",0),wt(1),y(2,"span",1),wt(3,1),k(),wt(4,2),De(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Mt("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab),A(6),N("matRippleDisabled",n._isRippleDisabled())("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[la],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),i})(),Do=(()=>{class i extends $g{constructor(e,n,r,a){super(e,n,r,a)}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Pn),D(Rt),D(Tn,8))},i.\u0275cmp=$e({type:i,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(e,n){2&e&&(Nt("disabled",n.disabled||null),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ot],attrs:NQ,ngContentSelectors:LQ,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,n){1&e&&(Hi(),De(0,"span",0),wt(1),De(2,"span",1)(3,"span",2)(4,"span",3)),2&e&&(A(3),N("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",n._elementRef.nativeElement))},dependencies:[la],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',e5],encapsulation:2,changeDetection:0}),i})(),Zb=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt,Rs,Kt]}),i})();class Kg{constructor(t,e){this.dialogRef=t,this.consent=e}onNoClick(){this.consent=!1,this.dialogRef.close()}}Kg.\u0275fac=function(t){return new(t||Kg)(D(Hs),D(Ac))},Kg.\u0275cmp=$e({type:Kg,selectors:[["add-consent-dialog"]],decls:24,vars:1,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["href","https://www.blockcore.net/policy","target","_blank"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"h1",1),B(2,"Give consent"),k(),y(3,"div",2)(4,"p"),B(5," Nostr is a decentralized and distributed network of relays that relays data by users. That means there is no centralized service where filtering or censoring is occurring. You may be exposed to content that will be disturbing and against your morality and world views. "),k(),y(6,"p"),B(7,"Content you publish are your responsibility and you cannot undo/delete after you publish. Don't publish or share a note (post) you wouldn't say to your neighbour."),k(),y(8,"p"),B(9,"Blockcore has no involvement in the type of content being produced and shown to you in this app."),k(),y(10,"p"),B(11,"You accept that all usage of Blockcore Notes, Blockcore infrastructure and software must be the result of peaceful voluntary human interactions."),k(),y(12,"p"),B(13,"If you're young and still living with your parents, consider asking them for permission before you continue."),k(),y(14,"p"),B(15,"To continue you must agree with our "),y(16,"a",3),B(17,"Privacy Policy and Terms & Conditions"),k(),B(18,"."),k()(),y(19,"div",4)(20,"button",5),pe("click",function(){return e.onNoClick()}),B(21,"I don't consent"),k(),y(22,"button",6),B(23,"I consent"),k()()()),2&t&&(A(22),N("mat-dialog-close",!0))},dependencies:[Cr,Rf,Oh,gu,_u],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}.dialog[_ngcontent-%COMP%]{max-width:800px}"]});class yl{constructor(t){this._renderer=t,this.renderer=t.createRenderer(null,null)}get darkMode(){if(localStorage.getItem("theme")){if("dark"===localStorage.getItem("theme"))return!0}else if(window.matchMedia("(prefers-color-scheme: dark)").matches)return!0;return!1}set darkMode(t){t?localStorage.setItem("theme","dark"):localStorage.setItem("theme","light"),this.updateMode()}init(){this.updateMode()}updateMode(){this.darkMode?this.renderer.addClass(document.body,"dark"):this.renderer.removeClass(document.body,"dark")}}yl.\u0275fac=function(t){return new(t||yl)(Ee(jm))},yl.\u0275prov=it({token:yl,factory:yl.\u0275fac,providedIn:"root"});class VQ extends He{constructor(t=1/0,e=1/0,n=wx){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:a,_windowTime:o}=this;e||(n.push(t),!r&&n.push(a.now()+o)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:n,_buffer:r}=this,a=r.slice();for(let o=0;onew VQ(n,t,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}var YQ=T(5856),jQ=T.t(YQ,2);const $n=BigInt(0),ea=BigInt(1),bu=BigInt(2),Qg=BigInt(3),o5=BigInt(8),Or=Object.freeze({a:$n,b:BigInt(7),P:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:ea,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee")}),s5=(i,t)=>(i+t/bu)/t,Xb={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar(i){const{n:t}=Or,e=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-ea*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),r=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),a=e,o=BigInt("0x100000000000000000000000000000000"),c=s5(a*i,t),h=s5(-n*i,t);let f=Qt(i-c*e-h*r,t),F=Qt(-c*n-h*a,t);const R=f>o,W=F>o;if(R&&(f=t-f),W&&(F=t-F),f>o||F>o)throw new Error("splitScalarEndo: Endomorphism failed, k="+i);return{k1neg:R,k1:f,k2neg:W,k2:F}}},Ql=32,Rh=32,Jb=Ql+1,ey=2*Ql+1;function c5(i){const{a:t,b:e}=Or,n=Qt(i*i),r=Qt(n*i);return Qt(r+t*i+e)}const ty=Or.a===$n;class Mk extends Error{constructor(t){super(t)}}function d5(i){if(!(i instanceof wr))throw new TypeError("JacobianPoint expected")}class wr{constructor(t,e,n){this.x=t,this.y=e,this.z=n}static fromAffine(t){if(!(t instanceof Kn))throw new TypeError("JacobianPoint#fromAffine: expected Point");return t.equals(Kn.ZERO)?wr.ZERO:new wr(t.x,t.y,ea)}static toAffineBatch(t){const e=function qQ(i,t=Or.P){const e=new Array(i.length),r=Hf(i.reduce((a,o,c)=>o===$n?a:(e[c]=a,Qt(a*o,t)),ea),t);return i.reduceRight((a,o,c)=>o===$n?a:(e[c]=Qt(a*e[c],t),Qt(a*o,t)),r),e}(t.map(n=>n.z));return t.map((n,r)=>n.toAffine(e[r]))}static normalizeZ(t){return wr.toAffineBatch(t).map(wr.fromAffine)}equals(t){d5(t);const{x:e,y:n,z:r}=this,{x:a,y:o,z:c}=t,h=Qt(r*r),f=Qt(c*c),F=Qt(e*f),R=Qt(a*h),W=Qt(Qt(n*c)*f),te=Qt(Qt(o*r)*h);return F===R&&W===te}negate(){return new wr(this.x,Qt(-this.y),this.z)}double(){const{x:t,y:e,z:n}=this,r=Qt(t*t),a=Qt(e*e),o=Qt(a*a),c=t+a,h=Qt(bu*(Qt(c*c)-r-o)),f=Qt(Qg*r),F=Qt(f*f),R=Qt(F-bu*h),W=Qt(f*(h-R)-o5*o),te=Qt(bu*e*n);return new wr(R,W,te)}add(t){d5(t);const{x:e,y:n,z:r}=this,{x:a,y:o,z:c}=t;if(a===$n||o===$n)return this;if(e===$n||n===$n)return t;const h=Qt(r*r),f=Qt(c*c),F=Qt(e*f),R=Qt(a*h),W=Qt(Qt(n*c)*f),te=Qt(Qt(o*r)*h),fe=Qt(R-F),we=Qt(te-W);if(fe===$n)return we===$n?this.double():wr.ZERO;const Ae=Qt(fe*fe),Ne=Qt(fe*Ae),et=Qt(F*Ae),Be=Qt(we*we-Ne-bu*et),dt=Qt(we*(et-Be)-W*Ne),St=Qt(r*c*fe);return new wr(Be,dt,St)}subtract(t){return this.add(t.negate())}multiplyUnsafe(t){const e=wr.ZERO;if("bigint"==typeof t&&t===$n)return e;let n=m5(t);if(n===ea)return this;if(!ty){let R=e,W=this;for(;n>$n;)n&ea&&(R=R.add(W)),W=W.double(),n>>=ea;return R}let{k1neg:r,k1:a,k2neg:o,k2:c}=Xb.splitScalar(n),h=e,f=e,F=this;for(;a>$n||c>$n;)a&ea&&(h=h.add(F)),c&ea&&(f=f.add(F)),F=F.double(),a>>=ea,c>>=ea;return r&&(h=h.negate()),o&&(f=f.negate()),f=new wr(Qt(f.x*Xb.beta),f.y,f.z),h.add(f)}precomputeWindow(t){const e=ty?128/t+1:256/t+1,n=[];let r=this,a=r;for(let o=0;o>=R,fe>h&&(fe-=F,t+=ea);const we=te,Ae=te+Math.abs(fe)-1,et=fe<0;0===fe?o=o.add(iy(W%2!=0,r[we])):a=a.add(iy(et,r[Ae]))}return{p:a,f:o}}multiply(t,e){let r,a,n=m5(t);if(ty){const{k1neg:o,k1:c,k2neg:h,k2:f}=Xb.splitScalar(n);let{p:F,f:R}=this.wNAF(c,e),{p:W,f:te}=this.wNAF(f,e);F=iy(o,F),W=iy(h,W),W=new wr(Qt(W.x*Xb.beta),W.y,W.z),r=F.add(W),a=R.add(te)}else{const{p:o,f:c}=this.wNAF(n,e);r=o,a=c}return wr.normalizeZ([r,a])[0]}toAffine(t){const{x:e,y:n,z:r}=this,a=this.equals(wr.ZERO);null==t&&(t=a?o5:Hf(r));const o=t,c=Qt(o*o),h=Qt(c*o),f=Qt(e*c),F=Qt(n*h),R=Qt(r*o);if(a)return Kn.ZERO;if(R!==ea)throw new Error("invZ was invalid");return new Kn(f,F)}}function iy(i,t){const e=t.negate();return i?e:t}wr.BASE=new wr(Or.Gx,Or.Gy,ea),wr.ZERO=new wr($n,ea,$n);const Ek=new WeakMap;class Kn{constructor(t,e){this.x=t,this.y=e}_setWindowSize(t){this._WINDOW_SIZE=t,Ek.delete(this)}hasEvenY(){return this.y%bu===$n}static fromCompressedHex(t){const e=32===t.length,n=Vs(e?t:t.subarray(1));if(!ry(n))throw new Error("Point is not on curve");let a=function GQ(i){const{P:t}=Or,e=BigInt(6),n=BigInt(11),r=BigInt(22),a=BigInt(23),o=BigInt(44),c=BigInt(88),h=i*i*i%t,f=h*h*i%t,F=vl(f,Qg)*f%t,R=vl(F,Qg)*f%t,W=vl(R,bu)*h%t,te=vl(W,n)*W%t,fe=vl(te,r)*te%t,we=vl(fe,o)*fe%t,Ae=vl(we,c)*we%t,Ne=vl(Ae,o)*fe%t,et=vl(Ne,Qg)*f%t,Be=vl(et,a)*te%t,dt=vl(Be,e)*h%t,St=vl(dt,bu);if(St*St%t!==i)throw new Error("Cannot find square root");return St}(c5(n));const o=(a&ea)===ea;e?o&&(a=Qt(-a)):1==(1&t[0])!==o&&(a=Qt(-a));const c=new Kn(n,a);return c.assertValidity(),c}static fromUncompressedHex(t){const e=Vs(t.subarray(1,Ql+1)),n=Vs(t.subarray(Ql+1,2*Ql+1)),r=new Kn(e,n);return r.assertValidity(),r}static fromHex(t){const e=Tc(t),n=e.length,r=e[0];if(n===Ql)return this.fromCompressedHex(e);if(n===Jb&&(2===r||3===r))return this.fromCompressedHex(e);if(n===ey&&4===r)return this.fromUncompressedHex(e);throw new Error(`Point.fromHex: received invalid point. Expected 32-${Jb} compressed bytes or ${ey} uncompressed bytes, not ${n}`)}static fromPrivateKey(t){return Kn.BASE.multiply(Ph(t))}static fromSignature(t,e,n){const{r,s:a}=g5(e);if(![0,1,2,3].includes(n))throw new Error("Cannot recover: invalid recovery bit");const o=Sk(Tc(t)),{n:c}=Or,h=2===n||3===n?r+c:r,f=Hf(h,c),F=Qt(-o*f,c),R=Qt(a*f,c),te=Kn.fromHex((1&n?"03":"02")+vu(h)),fe=Kn.BASE.multiplyAndAddUnsafe(te,F,R);if(!fe)throw new Error("Cannot recover signature: point at infinify");return fe.assertValidity(),fe}toRawBytes(t=!1){return wu(this.toHex(t))}toHex(t=!1){const e=vu(this.x);return t?`${this.hasEvenY()?"02":"03"}${e}`:`04${e}${vu(this.y)}`}toHexX(){return this.toHex(!0).slice(2)}toRawX(){return this.toRawBytes(!0).slice(1)}assertValidity(){const t="Point is not on elliptic curve",{x:e,y:n}=this;if(!ry(e)||!ry(n))throw new Error(t);const r=Qt(n*n);if(Qt(r-c5(e))!==$n)throw new Error(t)}equals(t){return this.x===t.x&&this.y===t.y}negate(){return new Kn(this.x,Qt(-this.y))}double(){return wr.fromAffine(this).double().toAffine()}add(t){return wr.fromAffine(this).add(wr.fromAffine(t)).toAffine()}subtract(t){return this.add(t.negate())}multiply(t){return wr.fromAffine(this).multiply(t,this).toAffine()}multiplyAndAddUnsafe(t,e,n){const r=wr.fromAffine(this),a=e===$n||e===ea||this!==Kn.BASE?r.multiplyUnsafe(e):r.multiply(e),o=wr.fromAffine(t).multiplyUnsafe(n),c=a.add(o);return c.equals(wr.ZERO)?void 0:c.toAffine()}}function u5(i){return Number.parseInt(i[0],16)>=8?"00"+i:i}function h5(i){if(i.length<2||2!==i[0])throw new Error(`Invalid signature integer tag: ${Pf(i)}`);const t=i[1],e=i.subarray(2,t+2);if(!t||e.length!==t)throw new Error("Invalid signature integer: wrong length");if(0===e[0]&&e[1]<=127)throw new Error("Invalid signature integer: trailing length");return{data:Vs(e),left:i.subarray(t+2)}}Kn.BASE=new Kn(Or.Gx,Or.Gy),Kn.ZERO=new Kn($n,$n);class kd{constructor(t,e){this.r=t,this.s=e,this.assertValidity()}static fromCompact(t){const e=t instanceof Uint8Array,n="Signature.fromCompact";if("string"!=typeof t&&!e)throw new TypeError(`${n}: Expected string or Uint8Array`);const r=e?Pf(t):t;if(128!==r.length)throw new Error(`${n}: Expected 64-byte hex`);return new kd(ny(r.slice(0,64)),ny(r.slice(64,128)))}static fromDER(t){const e=t instanceof Uint8Array;if("string"!=typeof t&&!e)throw new TypeError("Signature.fromDER: Expected string or Uint8Array");const{r:n,s:r}=function zQ(i){if(i.length<2||48!=i[0])throw new Error(`Invalid signature tag: ${Pf(i)}`);if(i[1]!==i.length-2)throw new Error("Invalid signature: incorrect length");const{data:t,left:e}=h5(i.subarray(2)),{data:n,left:r}=h5(e);if(r.length)throw new Error(`Invalid signature: left bytes after parsing: ${Pf(r)}`);return{r:t,s:n}}(e?t:wu(t));return new kd(n,r)}static fromHex(t){return this.fromDER(t)}assertValidity(){const{r:t,s:e}=this;if(!Yf(t))throw new Error("Invalid Signature: r must be 0 < r < n");if(!Yf(e))throw new Error("Invalid Signature: s must be 0 < s < n")}hasHighS(){return this.s>Or.n>>ea}normalizeS(){return this.hasHighS()?new kd(this.r,Qt(-this.s,Or.n)):this}toDERRawBytes(){return wu(this.toDERHex())}toDERHex(){const t=u5(Zg(this.s)),e=u5(Zg(this.r)),n=t.length/2,r=e.length/2,a=Zg(n),o=Zg(r);return`30${Zg(r+n+4)}02${o}${e}02${a}${t}`}toRawBytes(){return this.toDERRawBytes()}toHex(){return this.toDERHex()}toCompactRawBytes(){return wu(this.toCompactHex())}toCompactHex(){return vu(this.r)+vu(this.s)}}function yu(...i){if(!i.every(n=>n instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===i.length)return i[0];const t=i.reduce((n,r)=>n+r.length,0),e=new Uint8Array(t);for(let n=0,r=0;nt.toString(16).padStart(2,"0"));function Pf(i){if(!(i instanceof Uint8Array))throw new Error("Expected Uint8Array");let t="";for(let e=0;e0)return BigInt(i);if("bigint"==typeof i&&Yf(i))return i;throw new TypeError("Expected valid private scalar: 0 < scalar < curve.n")}function Qt(i,t=Or.P){const e=i%t;return e>=$n?e:t+e}function vl(i,t){const{P:e}=Or;let n=i;for(;t-- >$n;)n*=n,n%=e;return n}function Hf(i,t=Or.P){if(i===$n||t<=$n)throw new Error(`invert: expected positive integers, got n=${i} mod=${t}`);let e=Qt(i,t),n=t,r=$n,a=ea,o=ea,c=$n;for(;e!==$n;){const f=n/e,F=n%e,R=r-o*f,W=a-c*f;n=e,e=F,r=o,a=c,o=R,c=W}if(n!==ea)throw new Error("invert: does not exist");return Qt(r,t)}function Sk(i,t=!1){const e=function $Q(i){const t=8*i.length-8*Rh,e=Vs(i);return t>0?e>>BigInt(t):e}(i);if(t)return e;const{n}=Or;return e>=n?e-n:e}let Vf,Xg;class f5{constructor(t,e){if(this.hashLen=t,this.qByteLen=e,"number"!=typeof t||t<2)throw new Error("hashLen must be a number");if("number"!=typeof e||e<2)throw new Error("qByteLen must be a number");this.v=new Uint8Array(t).fill(1),this.k=new Uint8Array(t).fill(0),this.counter=0}hmac(...t){return In.hmacSha256(this.k,...t)}hmacSync(...t){return Xg(this.k,...t)}checkSync(){if("function"!=typeof Xg)throw new Mk("hmacSha256Sync needs to be set")}incr(){if(this.counter>=1e3)throw new Error("Tried 1,000 k values for sign(), all were invalid");this.counter+=1}reseed(t=new Uint8Array){var e=this;return Se(function*(){e.k=yield e.hmac(e.v,Uint8Array.from([0]),t),e.v=yield e.hmac(e.v),0!==t.length&&(e.k=yield e.hmac(e.v,Uint8Array.from([1]),t),e.v=yield e.hmac(e.v))})()}reseedSync(t=new Uint8Array){this.checkSync(),this.k=this.hmacSync(this.v,Uint8Array.from([0]),t),this.v=this.hmacSync(this.v),0!==t.length&&(this.k=this.hmacSync(this.v,Uint8Array.from([1]),t),this.v=this.hmacSync(this.v))}generate(){var t=this;return Se(function*(){t.incr();let e=0;const n=[];for(;e0)t=BigInt(i);else if("string"==typeof i){if(i.length!==2*Rh)throw new Error("Expected 32 bytes of private key");t=ny(i)}else{if(!(i instanceof Uint8Array))throw new TypeError("Expected valid private key");if(i.length!==Rh)throw new Error("Expected 32 bytes of private key");t=Vs(i)}if(!Yf(t))throw new Error("Expected private key: 0 < key < n");return t}function Ak(i){return i instanceof Kn?(i.assertValidity(),i):Kn.fromHex(i)}function g5(i){if(i instanceof kd)return i.assertValidity(),i;try{return kd.fromDER(i)}catch{return kd.fromCompact(i)}}function _5(i){const t=i instanceof Uint8Array,e="string"==typeof i,n=(t||e)&&i.length;return t?n===Jb||n===ey:e?n===2*Jb||n===2*ey:i instanceof Kn}function b5(i,t,e=!1){if(_5(i))throw new TypeError("getSharedSecret: first arg must be private key");if(!_5(t))throw new TypeError("getSharedSecret: second arg must be public key");const n=Ak(t);return n.assertValidity(),n.multiply(Ph(i)).toRawBytes(e)}function y5(i){return Vs(i.length>Ql?i.slice(0,Ql):i)}function QQ(i){const t=y5(i),e=Qt(t,Or.n);return v5(e<$n?t:e)}function v5(i){return Bf(i)}const XQ={strict:!0};function ay(i){return Qt(Vs(i),Or.n)}class jf{constructor(t,e){this.r=t,this.s=e,this.assertValidity()}static fromHex(t){const e=Tc(t);if(64!==e.length)throw new TypeError(`SchnorrSignature.fromHex: expected 64 bytes, not ${e.length}`);const n=Vs(e.subarray(0,32)),r=Vs(e.subarray(32,64));return new jf(n,r)}assertValidity(){const{r:t,s:e}=this;if(!ry(t)||!Yf(e))throw new Error("Invalid signature")}toHex(){return vu(this.r)+vu(this.s)}toRawBytes(){return wu(this.toHex())}}class x5{constructor(t,e,n=In.randomBytes()){if(null==t)throw new TypeError(`sign: Expected valid message, not "${t}"`);this.m=Tc(t);const{x:r,scalar:a}=this.getScalar(Ph(e));if(this.px=r,this.d=a,this.rand=Tc(n),32!==this.rand.length)throw new TypeError("sign: Expected 32 bytes of aux randomness")}getScalar(t){const e=Kn.fromPrivateKey(t),n=e.hasEvenY()?t:Or.n-t;return{point:e,scalar:n,x:e.toRawX()}}initNonce(t,e){return Bf(t^Vs(e))}finalizeNonce(t){const e=Qt(Vs(t),Or.n);if(e===$n)throw new Error("sign: Creation of signature failed. k is zero");const{point:n,x:r,scalar:a}=this.getScalar(e);return{R:n,rx:r,k:a}}finalizeSig(t,e,n,r){return new jf(t.x,Qt(e+n*r,Or.n)).toRawBytes()}error(){throw new Error("sign: Invalid signature produced")}calc(){var t=this;return Se(function*(){const{m:e,d:n,px:r,rand:a}=t,o=In.taggedHash,c=t.initNonce(n,yield o(Fu.aux,a)),{R:h,rx:f,k:F}=t.finalizeNonce(yield o(Fu.nonce,c,r,e)),R=ay(yield o(Fu.challenge,f,r,e)),W=t.finalizeSig(h,F,R,n);return(yield D5(W,e,r))||t.error(),W})()}calcSync(){const{m:t,d:e,px:n,rand:r}=this,a=In.taggedHashSync,o=this.initNonce(e,a(Fu.aux,r)),{R:c,rx:h,k:f}=this.finalizeNonce(a(Fu.nonce,o,n,t)),F=ay(a(Fu.challenge,h,n,t)),R=this.finalizeSig(c,f,F,e);return M5(R,t,n)||this.error(),R}}function Ik(){return(Ik=Se(function*(i,t,e){return new x5(i,t,e).calc()})).apply(this,arguments)}function k5(i,t,e){const n=i instanceof jf,r=n?i:jf.fromHex(i);return n&&r.assertValidity(),{...r,m:Tc(t),P:Ak(e)}}function C5(i,t,e,n){const r=Kn.BASE.multiplyAndAddUnsafe(t,Ph(e),Qt(-n,Or.n));return!(!r||!r.hasEvenY()||r.x!==i)}function D5(i,t,e){return Nk.apply(this,arguments)}function Nk(){return(Nk=Se(function*(i,t,e){try{const{r:n,s:r,m:a,P:o}=k5(i,t,e),c=ay(yield In.taggedHash(Fu.challenge,Bf(n),o.toRawX(),a));return C5(n,o,r,c)}catch{return!1}})).apply(this,arguments)}function M5(i,t,e){try{const{r:n,s:r,m:a,P:o}=k5(i,t,e),c=ay(In.taggedHashSync(Fu.challenge,Bf(n),o.toRawX(),a));return C5(n,o,r,c)}catch(n){if(n instanceof Mk)throw n;return!1}}const Jg={Signature:jf,getPublicKey:function eZ(i){return Kn.fromPrivateKey(i).toRawX()},sign:function tZ(i,t,e){return Ik.apply(this,arguments)},verify:D5,signSync:function iZ(i,t,e){return new x5(i,t,e).calcSync()},verifySync:M5};Kn.BASE._setWindowSize(8);const Ys={node:jQ,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0},Fu={challenge:"BIP0340/challenge",aux:"BIP0340/aux",nonce:"BIP0340/nonce"},oy={},In={bytesToHex:Pf,hexToBytes:wu,concatBytes:yu,mod:Qt,invert:Hf,isValidPrivateKey(i){try{return Ph(i),!0}catch{return!1}},_bigintTo32Bytes:Bf,_normalizePrivateKey:Ph,hashToPrivateKey:i=>{if((i=Tc(i)).length1024)throw new Error("Expected valid bytes of private key as per FIPS 186");return Bf(Qt(Vs(i),Or.n-ea)+ea)},randomBytes:(i=32)=>{if(Ys.web)return Ys.web.getRandomValues(new Uint8Array(i));if(Ys.node){const{randomBytes:t}=Ys.node;return Uint8Array.from(t(i))}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:()=>In.hashToPrivateKey(In.randomBytes(Rh+8)),precompute(i=8,t=Kn.BASE){const e=t===Kn.BASE?t:new Kn(t.x,t.y);return e._setWindowSize(i),e.multiply(Qg),e},sha256:(i=Se(function*(...t){if(Ys.web){const e=yield Ys.web.subtle.digest("SHA-256",yu(...t));return new Uint8Array(e)}if(Ys.node){const{createHash:e}=Ys.node,n=e("sha256");return t.forEach(r=>n.update(r)),Uint8Array.from(n.digest())}throw new Error("The environment doesn't have sha256 function")}),function(){return i.apply(this,arguments)}),hmacSha256:function(){var i=Se(function*(t,...e){if(Ys.web){const n=yield Ys.web.subtle.importKey("raw",t,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),r=yu(...e),a=yield Ys.web.subtle.sign("HMAC",n,r);return new Uint8Array(a)}if(Ys.node){const{createHmac:n}=Ys.node,r=n("sha256",t);return e.forEach(a=>r.update(a)),Uint8Array.from(r.digest())}throw new Error("The environment doesn't have hmac-sha256 function")});return function(e){return i.apply(this,arguments)}}(),sha256Sync:void 0,hmacSha256Sync:void 0,taggedHash:function(){var i=Se(function*(t,...e){let n=oy[t];if(void 0===n){const r=yield In.sha256(Uint8Array.from(t,a=>a.charCodeAt(0)));n=yu(r,r),oy[t]=n}return In.sha256(n,...e)});return function(e){return i.apply(this,arguments)}}(),taggedHashSync:(i,...t)=>{if("function"!=typeof Vf)throw new Mk("sha256Sync is undefined, you need to set it");let e=oy[i];if(void 0===e){const n=Vf(Uint8Array.from(i,r=>r.charCodeAt(0)));e=yu(n,n),oy[i]=e}return Vf(e,...t)},_JacobianPoint:wr};var i;function Bh(i){if(!Number.isSafeInteger(i))throw new Error(`Wrong integer: ${i}`)}function Zl(...i){const t=(r,a)=>o=>r(a(o));return{encode:Array.from(i).reverse().reduce((r,a)=>r?t(r,a.encode):a.encode,void 0),decode:i.reduce((r,a)=>r?t(r,a.decode):a.decode,void 0)}}function Ic(i){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw new Error("alphabet.encode input should be an array of numbers");return t.map(e=>{if(Bh(e),e<0||e>=i.length)throw new Error(`Digit index outside alphabet: ${e} (alphabet: ${i.length})`);return i[e]})},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw new Error("alphabet.decode input should be array of strings");return t.map(e=>{if("string"!=typeof e)throw new Error(`alphabet.decode: not string element=${e}`);const n=i.indexOf(e);if(-1===n)throw new Error(`Unknown letter: "${e}". Allowed: ${i}`);return n})}}}function Nc(i=""){if("string"!=typeof i)throw new Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw new Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw new Error(`join.encode: non-string input=${e}`);return t.join(i)},decode:t=>{if("string"!=typeof t)throw new Error("join.decode input should be string");return t.split(i)}}}function e_(i,t="="){if(Bh(i),"string"!=typeof t)throw new Error("padding chr should be string");return{encode(e){if(!Array.isArray(e)||e.length&&"string"!=typeof e[0])throw new Error("padding.encode input should be array of strings");for(let n of e)if("string"!=typeof n)throw new Error(`padding.encode: non-string input=${n}`);for(;e.length*i%8;)e.push(t);return e},decode(e){if(!Array.isArray(e)||e.length&&"string"!=typeof e[0])throw new Error("padding.encode input should be array of strings");for(let r of e)if("string"!=typeof r)throw new Error(`padding.decode: non-string input=${r}`);let n=e.length;if(n*i%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;n>0&&e[n-1]===t;n--)if(!((n-1)*i%8))throw new Error("Invalid padding: string has too much padding");return e.slice(0,n)}}}function E5(i){if("function"!=typeof i)throw new Error("normalize fn should be function");return{encode:t=>t,decode:t=>i(t)}}function S5(i,t,e){if(t<2)throw new Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(e<2)throw new Error(`convertRadix: wrong to=${e}, base cannot be less than 2`);if(!Array.isArray(i))throw new Error("convertRadix: data should be array");if(!i.length)return[];let n=0;const r=[],a=Array.from(i);for(a.forEach(o=>{if(Bh(o),o<0||o>=t)throw new Error(`Wrong integer: ${o}`)});;){let o=0,c=!0;for(let h=n;hVf,set(i){Vf||(Vf=i)}},hmacSha256Sync:{configurable:!1,get:()=>Xg,set(i){Xg||(Xg=i)}}});const A5=(i,t)=>t?A5(t,i%t):i,sy=(i,t)=>i+(t-A5(i,t));function Lk(i,t,e,n){if(!Array.isArray(i))throw new Error("convertRadix2: data should be array");if(t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(e<=0||e>32)throw new Error(`convertRadix2: wrong to=${e}`);if(sy(t,e)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${e} carryBits=${sy(t,e)}`);let r=0,a=0;const o=2**e-1,c=[];for(const h of i){if(Bh(h),h>=2**t)throw new Error(`convertRadix2: invalid data word=${h} from=${t}`);if(r=r<32)throw new Error(`convertRadix2: carry overflow pos=${a} from=${t}`);for(a+=t;a>=e;a-=e)c.push((r>>a-e&o)>>>0);r&=2**a-1}if(r=r<=t)throw new Error("Excess padding");if(!n&&r)throw new Error(`Non-zero padding: ${r}`);return n&&a>0&&c.push(r>>>0),c}function Cd(i,t=!1){if(Bh(i),i<=0||i>32)throw new Error("radix2: bits should be in (0..32]");if(sy(8,i)>32||sy(i,8)>32)throw new Error("radix2: carry overflow");return{encode:e=>{if(!(e instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return Lk(Array.from(e),8,i,!t)},decode:e=>{if(!Array.isArray(e)||e.length&&"number"!=typeof e[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(Lk(e,i,8,t))}}}function I5(i){if("function"!=typeof i)throw new Error("unsafeWrapper fn should be function");return function(...t){try{return i.apply(null,t)}catch{}}}const nZ=Zl(Cd(4),Ic("0123456789ABCDEF"),Nc("")),rZ=Zl(Cd(5),Ic("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),e_(5),Nc("")),Hh=(Zl(Cd(5),Ic("0123456789ABCDEFGHIJKLMNOPQRSTUV"),e_(5),Nc("")),Zl(Cd(5),Ic("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),Nc(""),E5(i=>i.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),Zl(Cd(6),Ic("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),e_(6),Nc(""))),aZ=Zl(Cd(6),Ic("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),e_(6),Nc("")),Ok=i=>Zl(function T5(i){return Bh(i),{encode:t=>{if(!(t instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return S5(Array.from(t),256,i)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(S5(t,i,256))}}}(58),Ic(i),Nc("")),ly=Ok("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),L5=(Ok("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),Ok("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz"),[0,2,3,5,6,7,9,10,11]),oZ={encode(i){let t="";for(let e=0;e>25;let e=(33554431&i)<<5;for(let n=0;n>n&1)&&(e^=O5[n]);return e}function R5(i,t,e=1){const n=i.length;let r=1;for(let a=0;a126)throw new Error(`Invalid prefix (${i})`);r=t_(r)^o>>5}r=t_(r);for(let a=0;aR)throw new TypeError(`Wrong string length: ${F.length} (${F}). Expected (8..${R})`);const W=F.toLowerCase();if(F!==W&&F!==F.toUpperCase())throw new Error("String must be lowercase or uppercase");const te=(F=W).lastIndexOf("1");if(0===te||-1===te)throw new Error('Letter "1" must be present between prefix and data only');const fe=F.slice(0,te),we=F.slice(te+1);if(we.length<6)throw new Error("Data must be at least 6 characters long");const Ae=Rk.decode(we).slice(0,-6),Ne=R5(fe,Ae,t);if(!we.endsWith(Ne))throw new Error(`Invalid checksum in ${F}: expected "${Ne}"`);return{prefix:fe,words:Ae}}return{encode:function o(F,R,W=90){if("string"!=typeof F)throw new Error("bech32.encode prefix should be string, not "+typeof F);if(!Array.isArray(R)||R.length&&"number"!=typeof R[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof R);const te=F.length+7+R.length;if(!1!==W&&te>W)throw new TypeError(`Length ${te} exceeds limit ${W}`);return`${F=F.toLowerCase()}1${Rk.encode(R)}${R5(F,R,t)}`},decode:c,decodeToBytes:function f(F){const{prefix:R,words:W}=c(F,!1);return{prefix:R,words:W,bytes:n(W)}},decodeUnsafe:I5(c),fromWords:n,fromWordsUnsafe:a,toWords:r}}const yo=P5("bech32"),lZ=(P5("bech32m"),{encode:i=>(new TextDecoder).decode(i),decode:i=>(new TextEncoder).encode(i)}),cZ=Zl(Cd(4),Ic("0123456789abcdef"),Nc(""),E5(i=>{if("string"!=typeof i||i.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof i} with length ${i.length}`);return i.toLowerCase()}));function cy(i){var t=document.createElement("textarea");t.style.position="fixed",t.style.top=0,t.style.left=0,t.style.width="2em",t.style.height="2em",t.style.padding=0,t.style.border="none",t.style.outline="none",t.style.boxShadow="none",t.style.background="transparent",t.value=i,document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")}catch{console.error("Oops, unable to copy")}document.body.removeChild(t)}function dZ(i,t){if(1&i){const e=tt();y(0,"div",2)(1,"button",3),pe("click",function(){return Te(e),Ie(X().action())}),B(2),k()()}if(2&i){const e=X();A(2),ri(" ",e.data.action," ")}}Object.keys({utf8:lZ,hex:cZ,base16:nZ,base32:rZ,base64:Hh,base64url:aZ,base58:ly,base58xmr:oZ}).join(", ");const uZ=["label"];function hZ(i,t){}const mZ=Math.pow(2,31)-1;class Pk{constructor(t,e){this._overlayRef=e,this._afterDismissed=new He,this._afterOpened=new He,this._onAction=new He,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,mZ))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const H5=new Ke("MatSnackBarData");class dy{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let fZ=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),i})(),pZ=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),i})(),gZ=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),i})(),_Z=(()=>{class i{constructor(e,n){this.snackBarRef=e,this.data=n}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return i.\u0275fac=function(e){return new(e||i)(D(Pk),D(H5))},i.\u0275cmp=$e({type:i,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,n){1&e&&(y(0,"div",0),B(1),k(),oe(2,dZ,3,1,"div",1)),2&e&&(A(1),ri(" ",n.data.message,"\n"),A(1),N("ngIf",n.hasAction))},dependencies:[mi,Cr,fZ,pZ,gZ],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),i})();const bZ={snackBarState:Va("state",[fr("void, hidden",hi({transform:"scale(0.8)",opacity:0})),fr("visible",hi({transform:"scale(1)",opacity:1})),nr("* => visible",ir("150ms cubic-bezier(0, 0, 0.2, 1)")),nr("* => void, * => hidden",ir("75ms cubic-bezier(0.4, 0.0, 1, 1)",hi({opacity:0})))])};let yZ=(()=>{class i extends wb{constructor(e,n,r,a,o){super(),this._ngZone=e,this._elementRef=n,this._changeDetectorRef=r,this._platform=a,this.snackBarConfig=o,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new He,this._onExit=new He,this._onEnter=new He,this._animationState="void",this.attachDomPortal=c=>{this._assertNotAttached();const h=this._portalOutlet.attachDomPortal(c);return this._afterPortalAttached(),h},this._live="assertive"!==o.politeness||o.announcementMessage?"off"===o.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const n=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),n}attachTemplatePortal(e){this._assertNotAttached();const n=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),n}onAnimationEnd(e){const{fromState:n,toState:r}=e;if(("void"===r&&"void"!==n||"hidden"===r)&&this._completeExit(),"visible"===r){const a=this._onEnter;this._ngZone.run(()=>{a.next(),a.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(gn(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;n&&(Array.isArray(n)?n.forEach(r=>e.classList.add(r)):e.classList.add(n))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),n=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&n){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),n.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return i.\u0275fac=function(e){return new(e||i)(D(Rt),D(_t),D(li),D(Pn),D(dy))},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&Tt(ql,7),2&e){let r;Qe(r=Ze())&&(n._portalOutlet=r.first)}},features:[ot]}),i})(),vZ=(()=>{class i extends yZ{_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,n="mdc-snackbar__label";e.classList.toggle(n,!e.querySelector(`.${n}`))}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275cmp=$e({type:i,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,n){if(1&e&&Tt(uZ,7),2&e){let r;Qe(r=Ze())&&(n._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(e,n){1&e&&tf("@state.done",function(a){return n.onAnimationEnd(a)}),2&e&&rf("@state",n._animationState)},features:[ot],decls:6,vars:2,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,n){1&e&&(y(0,"div",0)(1,"div",1,2)(3,"div",3),oe(4,hZ,0,0,"ng-template",4),k(),De(5,"div"),k()()),2&e&&(A(5),Nt("aria-live",n._live)("role",n._role))},dependencies:[ql],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px))}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss svg,.mat-mdc-snack-bar-container .mdc-snackbar__dismiss img{width:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px));height:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px))}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size, inherit);font-family:var(--mdc-snackbar-supporting-text-font, inherit);font-weight:var(--mdc-snackbar-supporting-text-weight, inherit);line-height:var(--mdc-snackbar-supporting-text-line-height, inherit)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-mdc-snack-bar-button-color, transparent);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[bZ.snackBarState]}}),i})(),Bk=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Dc,gl,Mr,Zb,Kt,Kt]}),i})();const V5=new Ke("mat-snack-bar-default-options",{providedIn:"root",factory:function wZ(){return new dy}});let FZ=(()=>{class i{get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,n,r,a,o,c){this._overlay=e,this._live=n,this._injector=r,this._breakpointObserver=a,this._parentSnackBar=o,this._defaultConfig=c,this._snackBarRefAtThisLevel=null}openFromComponent(e,n){return this._attach(e,n)}openFromTemplate(e,n){return this._attach(e,n)}open(e,n="",r){const a={...this._defaultConfig,...r};return a.data={message:e,action:n},a.announcementMessage===e&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,n){const a=Wr.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:dy,useValue:n}]}),o=new Mh(this.snackBarContainerComponent,n.viewContainerRef,a),c=e.attach(o);return c.instance.snackBarConfig=n,c.instance}_attach(e,n){const r={...new dy,...this._defaultConfig,...n},a=this._createOverlay(r),o=this._attachSnackBarContainer(a,r),c=new Pk(o,a);if(e instanceof yr){const h=new _d(e,null,{$implicit:r.data,snackBarRef:c});c.instance=o.attachTemplatePortal(h)}else{const h=this._createInjector(r,c),f=new Mh(e,void 0,h),F=o.attachComponentPortal(f);c.instance=F.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(ti(a.detachments())).subscribe(h=>{a.overlayElement.classList.toggle(this.handsetCssClass,h.matches)}),r.announcementMessage&&o._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(e,n){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),n.duration&&n.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(n.duration))}_createOverlay(e){const n=new kf;n.direction=e.direction;let r=this._overlay.position().global();const a="rtl"===e.direction,o="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!a||"end"===e.horizontalPosition&&a,c=!o&&"center"!==e.horizontalPosition;return o?r.left("0"):c?r.right("0"):r.centerHorizontally(),"top"===e.verticalPosition?r.top("0"):r.bottom("0"),n.positionStrategy=r,this._overlay.create(n)}_createInjector(e,n){return Wr.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Pk,useValue:n},{provide:H5,useValue:e.data}]})}}return i.\u0275fac=function(e){return new(e||i)(Ee(_a),Ee(Tx),Ee(Wr),Ee(gd),Ee(i,12),Ee(V5))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})(),js=(()=>{class i extends FZ{constructor(e,n,r,a,o,c){super(e,n,r,a,o,c),this.simpleSnackBarComponent=_Z,this.snackBarContainerComponent=vZ,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return i.\u0275fac=function(e){return new(e||i)(Ee(_a),Ee(Tx),Ee(Wr),Ee(gd),Ee(i,12),Ee(V5))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:Bk}),i})();var Y5=T(1135);class Dd{constructor(){}}Dd.defaultService="nostr.build",Dd.\u0275fac=function(t){return new(t||Dd)},Dd.\u0275prov=it({token:Dd,factory:Dd.\u0275fac,providedIn:"root"});class Er{constructor(){this.values={enableReactions:!0,showLines:!0,peopleDisplayType:1,peopleDisplayView:0,peopleDisplaySort:"name-asc"},this.load()}load(){let t=localStorage.getItem("blockcore:notes:nostr:options");t&&(this.values=JSON.parse(t)),null==this.values.enableReactions&&(this.values.enableReactions=!0),null==this.values.peopleDisplayType&&(this.values.peopleDisplayType=1),null==this.values.peopleDisplayView&&(this.values.peopleDisplayView=0),null==this.values.peopleDisplaySort&&(this.values.peopleDisplaySort="name-asc"),null==this.values.mediaService&&(this.values.mediaService=Dd.defaultService)}save(){localStorage.setItem("blockcore:notes:nostr:options",JSON.stringify(this.values))}}Er.\u0275fac=function(t){return new(t||Er)},Er.\u0275prov=it({token:Er,factory:Er.\u0275fac,providedIn:"root"});class Uo{constructor(t){this.options=t,this.contentLimit=16384,this.tagsLimit=50,this.profileLimit=16384,this.profileTagsLimit=1e3,this.contactsContentLimit=16384}sanitizeEvent(t){let e=Y5(t.content,{allowedTags:["b","i","em","strong","a","img"],allowedAttributes:{a:["href"],img:["src"]},allowedIframeHostnames:["www.youtube.com"]});return t.content=e,t}filterEvent(t){return this.options.values.hideInvoice&&t.content.indexOf("lnbc")>-1||this.options.values.hideSpam&&-1==t.content.substring(0,200).indexOf(" ")?null:t}filterEvents(t){return t.filter(e=>this.filterEvent(e))}validateEvent(t){return t.pubkey.length<60||t.pubkey.length>70||!t.sig||!t.id||t.sig.length<100||t.pubkey.length>150||64!==t.id.length||"number"!=typeof t.kind||"number"!=typeof t.created_at?null:(0===t.kind?t.content.length>this.profileLimit&&(t.content=t.content.substring(0,this.profileLimit),t.contentCut=!0):t.content.length>this.contentLimit&&(t.content=t.content.substring(0,this.contentLimit),t.contentCut=!0),t.tags&&t.tags.length>this.tagsLimit&&(t.tags=t.tags.splice(0,this.tagsLimit),t.tagsCut=!0),t)}validateContacts(t){return t.pubkey.length<60||t.pubkey.length>70||!t.sig||!t.id||t.sig.length<100||t.pubkey.length>150||64!==t.id.length||"number"!=typeof t.kind||"number"!=typeof t.created_at||3!==t.kind?null:(t.content.length>this.contactsContentLimit&&(t.content=t.content.substring(0,this.contactsContentLimit),t.contentCut=!0),t)}escapeNewLineChars(t){return null!=t&&""!=t?t.replace(/\n/g," "):t}sanitizeProfile(t){let e=Y5(t.about,{allowedTags:[],allowedAttributes:{}});return t.about=e,t}validateProfile(t){return t.picture.length>2e3||t.name.length>280||t.about.length>280||t.nip05.length>2e3?null:t}}Uo.\u0275fac=function(t){return new(t||Uo)(Ee(Er))},Uo.\u0275prov=it({token:Uo,factory:Uo.\u0275fac,providedIn:"root"});class Nn{constructor(t,e,n){this.snackBar=t,this.validator=e,this.sanitizer=n,this.defaultBackground="url(/assets/gradient.jpg)"}unsubscribe(t){if(t)for(let e=0;ea.matches),Dk()),this.displayLabels$=this.breakpointObserver.observe("(max-width: 720px)").pipe(bt(a=>a.matches),Dk()),this.connected$=this.connectedChanged.asObservable(),this.visibility$=this.visibilityChanged.asObservable(),this.title$=this.titleChanged.asObservable(),this.initialized$=this.initializedChanged.asObservable()}getPublicKey(){return this.authService.authInfo$.getValue().publicKeyHex}getPublicKeyDisplay(){return this.authService.authInfo$.getValue().publicKey}navigateBack(){this.location.back()}updateTitle(t){this.title=t,this.titleService.setTitle(t+" - Blockcore Notes"),this.titleChanged.next(this.title)}updateConnectionStatus(t){this.connected!=t&&(this.connected=t,this.connectedChanged.next(t))}visibility(t){this.visibilityChanged.next(t)}setInitialized(){this.initialized=!0,this.initializedChanged.next(this.initialized)}}function z5(i,t){if(t.has(i))throw new TypeError("Cannot initialize the same private elements twice on an object")}function bn(i,t,e){z5(i,t),t.set(i,e)}function U5(i,t,e){if(!t.has(i))throw new TypeError("attempted to "+e+" private field on non-instance");return t.get(i)}function fi(i,t,e){return function xZ(i,t,e){if(t.set)t.set.call(i,e);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=e}}(i,U5(i,t,"set"),e),e}function Pe(i,t){return function kZ(i,t){return t.get?t.get.call(i):t.value}(i,U5(i,t,"get"))}ln.\u0275fac=function(t){return new(t||ln)(Ee(gd),Ee(Da),Ee(ud),Ee(mx))},ln.\u0275prov=it({token:ln,factory:ln.\u0275fac,providedIn:"root"});const uy={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0},Hk=i=>new DataView(i.buffer,i.byteOffset,i.byteLength),Lc=(i,t)=>i<<32-t|i>>>t;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");function hy(i){if("string"==typeof i&&(i=function MZ(i){if("string"!=typeof i)throw new TypeError("utf8ToBytes expected string, got "+typeof i);return(new TextEncoder).encode(i)}(i)),!(i instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof i})`);return i}function W5(i){if(!Number.isSafeInteger(i)||i<0)throw new Error(`Wrong positive integer: ${i}`)}Array.from({length:256},(i,t)=>t.toString(16).padStart(2,"0")),(()=>{const i=typeof module<"u"&&"function"==typeof module.require&&module.require.bind(module);try{if(i){const{setImmediate:t}=i("timers")}}catch{}})();class Yk{clone(){return this._cloneInto()}}class NZ extends Yk{constructor(t,e,n,r){super(),this.blockLen=t,this.outputLen=e,this.padOffset=n,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=Hk(this.buffer)}update(t){if(this.destroyed)throw new Error("instance is destroyed");const{view:e,buffer:n,blockLen:r,finished:a}=this;if(a)throw new Error("digest() was already called");const o=(t=hy(t)).length;for(let c=0;cr-o&&(this.process(n,0),o=0);for(let h=o;h>r&a),c=Number(e&a),f=n?0:4;i.setUint32(t+(n?4:0),o,n),i.setUint32(t+f,c,n)})(n,r-8,BigInt(8*this.length),a),this.process(n,0);const c=Hk(t);this.get().forEach((h,f)=>c.setUint32(4*f,h,a))}digest(){const{buffer:t,outputLen:e}=this;this.digestInto(t);const n=t.slice(0,e);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:e,buffer:n,length:r,finished:a,destroyed:o,pos:c}=this;return t.length=r,t.pos=c,t.finished=a,t.destroyed=o,r%e&&t.buffer.set(n),t}}const LZ=(i,t,e)=>i&t^~i&e,OZ=(i,t,e)=>i&t^i&e^t&e,RZ=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),xu=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),ku=new Uint32Array(64);class PZ extends NZ{constructor(){super(64,32,8,!1),this.A=0|xu[0],this.B=0|xu[1],this.C=0|xu[2],this.D=0|xu[3],this.E=0|xu[4],this.F=0|xu[5],this.G=0|xu[6],this.H=0|xu[7]}get(){const{A:t,B:e,C:n,D:r,E:a,F:o,G:c,H:h}=this;return[t,e,n,r,a,o,c,h]}set(t,e,n,r,a,o,c,h){this.A=0|t,this.B=0|e,this.C=0|n,this.D=0|r,this.E=0|a,this.F=0|o,this.G=0|c,this.H=0|h}process(t,e){for(let R=0;R<16;R++,e+=4)ku[R]=t.getUint32(e,!1);for(let R=16;R<64;R++){const W=ku[R-15],te=ku[R-2],fe=Lc(W,7)^Lc(W,18)^W>>>3,we=Lc(te,17)^Lc(te,19)^te>>>10;ku[R]=we+ku[R-7]+fe+ku[R-16]|0}let{A:n,B:r,C:a,D:o,E:c,F:h,G:f,H:F}=this;for(let R=0;R<64;R++){const te=F+(Lc(c,6)^Lc(c,11)^Lc(c,25))+LZ(c,h,f)+RZ[R]+ku[R]|0,we=(Lc(n,2)^Lc(n,13)^Lc(n,22))+OZ(n,r,a)|0;F=f,f=h,h=c,c=o+te|0,o=a,a=r,r=n,n=te+we|0}n=n+this.A|0,r=r+this.B|0,a=a+this.C|0,o=o+this.D|0,c=c+this.E|0,h=h+this.F|0,f=f+this.G|0,F=F+this.H|0,this.set(n,r,a,o,c,h,f,F)}roundClean(){ku.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const n_=function AZ(i){const t=n=>i().update(hy(n)).digest(),e=i();return t.outputLen=e.outputLen,t.blockLen=e.blockLen,t.create=()=>i(),t}(()=>new PZ);var G5=T(3439),jk=T(6837);function zk(i){if(!Number.isSafeInteger(i)||i<0)throw new Error(`Wrong positive integer: ${i}`)}function Vh(i,...t){if(!(i instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(t.length>0&&!t.includes(i.length))throw new TypeError(`Expected Uint8Array of length ${t}, not of length=${i.length}`)}const Yh={number:zk,bool:function BZ(i){if("boolean"!=typeof i)throw new Error(`Expected boolean, not ${i}`)},bytes:Vh,hash:function HZ(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");zk(i.outputLen),zk(i.blockLen)},exists:function VZ(i,t=!0){if(i.destroyed)throw new Error("Hash instance has been destroyed");if(t&&i.finished)throw new Error("Hash#digest() has already been called")},output:function YZ(i,t){Vh(i);const e=t.outputLen;if(i.lengthnew DataView(i.buffer,i.byteOffset,i.byteLength)),Oc=(i,t)=>i<<32-t|i>>>t;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw new Error("Non little-endian hardware is not supported");const jZ=Array.from({length:256},(i,t)=>t.toString(16).padStart(2,"0"));function q5(i){if("string"!=typeof i)throw new TypeError("utf8ToBytes expected string, got "+typeof i);return(new TextEncoder).encode(i)}function my(i){if("string"==typeof i&&(i=q5(i)),!(i instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof i})`);return i}function fy(...i){if(!i.every(n=>n instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===i.length)return i[0];const t=i.reduce((n,r)=>n+r.length,0),e=new Uint8Array(t);for(let n=0,r=0;ni().update(my(n)).digest(),e=i();return t.outputLen=e.outputLen,t.blockLen=e.blockLen,t.create=()=>i(),t}class K5 extends $5{constructor(t,e){super(),this.finished=!1,this.destroyed=!1,Yh.hash(t);const n=my(e);if(this.iHash=t.create(),"function"!=typeof this.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const r=this.blockLen,a=new Uint8Array(r);a.set(n.length>r?t.create().update(n).digest():n);for(let o=0;onew K5(i,t).update(e).digest();py.create=(i,t)=>new K5(i,t);class Wk extends $5{constructor(t,e,n,r){super(),this.blockLen=t,this.outputLen=e,this.padOffset=n,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=zf(this.buffer)}update(t){Yh.exists(this);const{view:e,buffer:n,blockLen:r}=this,a=(t=my(t)).length;for(let o=0;or-o&&(this.process(n,0),o=0);for(let R=o;R>r&a),c=Number(e&a),f=n?0:4;i.setUint32(t+(n?4:0),o,n),i.setUint32(t+f,c,n)})(n,r-8,BigInt(8*this.length),a),this.process(n,0);const c=zf(t),h=this.outputLen;if(h%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const f=h/4,F=this.get();if(f>F.length)throw new Error("_sha2: outputLen bigger than state");for(let R=0;Rt),KZ=Q5.map(i=>(9*i+5)%16);let Gk=[Q5],qk=[KZ];for(let i=0;i<4;i++)for(let t of[Gk,qk])t.push(t[i].map(e=>$Z[e]));const Z5=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map(i=>new Uint8Array(i)),QZ=Gk.map((i,t)=>i.map(e=>Z5[t][e])),ZZ=qk.map((i,t)=>i.map(e=>Z5[t][e])),XZ=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),JZ=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),gy=(i,t)=>i<>>32-t;function X5(i,t,e,n){return 0===i?t^e^n:1===i?t&e|~t&n:2===i?(t|~e)^n:3===i?t&n|e&~n:t^(e|~n)}const _y=new Uint32Array(16);class eX extends Wk{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:t,h1:e,h2:n,h3:r,h4:a}=this;return[t,e,n,r,a]}set(t,e,n,r,a){this.h0=0|t,this.h1=0|e,this.h2=0|n,this.h3=0|r,this.h4=0|a}process(t,e){for(let te=0;te<16;te++,e+=4)_y[te]=t.getUint32(e,!0);let n=0|this.h0,r=n,a=0|this.h1,o=a,c=0|this.h2,h=c,f=0|this.h3,F=f,R=0|this.h4,W=R;for(let te=0;te<5;te++){const fe=4-te,we=XZ[te],Ae=JZ[te],Ne=Gk[te],et=qk[te],Be=QZ[te],dt=ZZ[te];for(let St=0;St<16;St++){const Wt=gy(n+X5(te,a,c,f)+_y[Ne[St]]+we,Be[St])+R|0;n=R,R=f,f=0|gy(c,10),c=a,a=Wt}for(let St=0;St<16;St++){const Wt=gy(r+X5(fe,o,h,F)+_y[et[St]]+Ae,dt[St])+W|0;r=W,W=F,F=0|gy(h,10),h=o,o=Wt}}this.set(this.h1+c+F|0,this.h2+f+W|0,this.h3+R+r|0,this.h4+n+o|0,this.h0+a+h|0)}roundClean(){_y.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const tX=jh(()=>new eX),iX=(i,t,e)=>i&t^~i&e,nX=(i,t,e)=>i&t^i&e^t&e,rX=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Cu=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Du=new Uint32Array(64);class J5 extends Wk{constructor(){super(64,32,8,!1),this.A=0|Cu[0],this.B=0|Cu[1],this.C=0|Cu[2],this.D=0|Cu[3],this.E=0|Cu[4],this.F=0|Cu[5],this.G=0|Cu[6],this.H=0|Cu[7]}get(){const{A:t,B:e,C:n,D:r,E:a,F:o,G:c,H:h}=this;return[t,e,n,r,a,o,c,h]}set(t,e,n,r,a,o,c,h){this.A=0|t,this.B=0|e,this.C=0|n,this.D=0|r,this.E=0|a,this.F=0|o,this.G=0|c,this.H=0|h}process(t,e){for(let R=0;R<16;R++,e+=4)Du[R]=t.getUint32(e,!1);for(let R=16;R<64;R++){const W=Du[R-15],te=Du[R-2],fe=Oc(W,7)^Oc(W,18)^W>>>3,we=Oc(te,17)^Oc(te,19)^te>>>10;Du[R]=we+Du[R-7]+fe+Du[R-16]|0}let{A:n,B:r,C:a,D:o,E:c,F:h,G:f,H:F}=this;for(let R=0;R<64;R++){const te=F+(Oc(c,6)^Oc(c,11)^Oc(c,25))+iX(c,h,f)+rX[R]+Du[R]|0,we=(Oc(n,2)^Oc(n,13)^Oc(n,22))+nX(n,r,a)|0;F=f,f=h,h=c,c=o+te|0,o=a,a=r,r=n,n=te+we|0}n=n+this.A|0,r=r+this.B|0,a=a+this.C|0,o=o+this.D|0,c=c+this.E|0,h=h+this.F|0,f=f+this.G|0,F=F+this.H|0,this.set(n,r,a,o,c,h,f,F)}roundClean(){Du.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class aX extends J5{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}const $k=jh(()=>new J5),by=(jh(()=>new aX),BigInt(2**32-1)),Kk=BigInt(32);function e8(i,t=!1){return t?{h:Number(i&by),l:Number(i>>Kk&by)}:{h:0|Number(i>>Kk&by),l:0|Number(i&by)}}const Ln_split=function oX(i,t=!1){let e=new Uint32Array(i.length),n=new Uint32Array(i.length);for(let r=0;ri>>>e,Ln_shrSL=(i,t,e)=>i<<32-e|t>>>e,Ln_rotrSH=(i,t,e)=>i>>>e|t<<32-e,Ln_rotrSL=(i,t,e)=>i<<32-e|t>>>e,Ln_rotrBH=(i,t,e)=>i<<64-e|t>>>e-32,Ln_rotrBL=(i,t,e)=>i>>>e-32|t<<64-e,Ln_add=function vX(i,t,e,n){const r=(t>>>0)+(n>>>0);return{h:i+e+(r/2**32|0)|0,l:0|r}},Ln_add3L=(i,t,e)=>(i>>>0)+(t>>>0)+(e>>>0),Ln_add3H=(i,t,e,n)=>t+e+n+(i/2**32|0)|0,Ln_add4L=(i,t,e,n)=>(i>>>0)+(t>>>0)+(e>>>0)+(n>>>0),Ln_add4H=(i,t,e,n,r)=>t+e+n+r+(i/2**32|0)|0,Ln_add5H=(i,t,e,n,r,a)=>t+e+n+r+a+(i/2**32|0)|0,Ln_add5L=(i,t,e,n,r)=>(i>>>0)+(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),[wX,FX]=Ln_split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(i=>BigInt(i))),Mu=new Uint32Array(80),Eu=new Uint32Array(80);class yy extends Wk{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:t,Al:e,Bh:n,Bl:r,Ch:a,Cl:o,Dh:c,Dl:h,Eh:f,El:F,Fh:R,Fl:W,Gh:te,Gl:fe,Hh:we,Hl:Ae}=this;return[t,e,n,r,a,o,c,h,f,F,R,W,te,fe,we,Ae]}set(t,e,n,r,a,o,c,h,f,F,R,W,te,fe,we,Ae){this.Ah=0|t,this.Al=0|e,this.Bh=0|n,this.Bl=0|r,this.Ch=0|a,this.Cl=0|o,this.Dh=0|c,this.Dl=0|h,this.Eh=0|f,this.El=0|F,this.Fh=0|R,this.Fl=0|W,this.Gh=0|te,this.Gl=0|fe,this.Hh=0|we,this.Hl=0|Ae}process(t,e){for(let Be=0;Be<16;Be++,e+=4)Mu[Be]=t.getUint32(e),Eu[Be]=t.getUint32(e+=4);for(let Be=16;Be<80;Be++){const dt=0|Mu[Be-15],St=0|Eu[Be-15],Wt=Ln_rotrSH(dt,St,1)^Ln_rotrSH(dt,St,8)^Ln_shrSH(dt,St,7),Yn=Ln_rotrSL(dt,St,1)^Ln_rotrSL(dt,St,8)^Ln_shrSL(dt,St,7),tn=0|Mu[Be-2],sr=0|Eu[Be-2],ta=Ln_rotrSH(tn,sr,19)^Ln_rotrBH(tn,sr,61)^Ln_shrSH(tn,sr,6),qc=Ln_rotrSL(tn,sr,19)^Ln_rotrBL(tn,sr,61)^Ln_shrSL(tn,sr,6),aa=Ln_add4L(Yn,qc,Eu[Be-7],Eu[Be-16]),os=Ln_add4H(aa,Wt,ta,Mu[Be-7],Mu[Be-16]);Mu[Be]=0|os,Eu[Be]=0|aa}let{Ah:n,Al:r,Bh:a,Bl:o,Ch:c,Cl:h,Dh:f,Dl:F,Eh:R,El:W,Fh:te,Fl:fe,Gh:we,Gl:Ae,Hh:Ne,Hl:et}=this;for(let Be=0;Be<80;Be++){const dt=Ln_rotrSH(R,W,14)^Ln_rotrSH(R,W,18)^Ln_rotrBH(R,W,41),St=Ln_rotrSL(R,W,14)^Ln_rotrSL(R,W,18)^Ln_rotrBL(R,W,41),Wt=R&te^~R&we,tn=Ln_add5L(et,St,W&fe^~W&Ae,FX[Be],Eu[Be]),sr=Ln_add5H(tn,Ne,dt,Wt,wX[Be],Mu[Be]),ta=0|tn,qc=Ln_rotrSH(n,r,28)^Ln_rotrBH(n,r,34)^Ln_rotrBH(n,r,39),aa=Ln_rotrSL(n,r,28)^Ln_rotrBL(n,r,34)^Ln_rotrBL(n,r,39),os=n&a^n&c^a&c,Dp=r&o^r&h^o&h;Ne=0|we,et=0|Ae,we=0|te,Ae=0|fe,te=0|R,fe=0|W,({h:R,l:W}=Ln_add(0|f,0|F,0|sr,0|ta)),f=0|c,F=0|h,c=0|a,h=0|o,a=0|n,o=0|r;const $d=Ln_add3L(ta,aa,Dp);n=Ln_add3H($d,sr,qc,os),r=0|$d}({h:n,l:r}=Ln_add(0|this.Ah,0|this.Al,0|n,0|r)),({h:a,l:o}=Ln_add(0|this.Bh,0|this.Bl,0|a,0|o)),({h:c,l:h}=Ln_add(0|this.Ch,0|this.Cl,0|c,0|h)),({h:f,l:F}=Ln_add(0|this.Dh,0|this.Dl,0|f,0|F)),({h:R,l:W}=Ln_add(0|this.Eh,0|this.El,0|R,0|W)),({h:te,l:fe}=Ln_add(0|this.Fh,0|this.Fl,0|te,0|fe)),({h:we,l:Ae}=Ln_add(0|this.Gh,0|this.Gl,0|we,0|Ae)),({h:Ne,l:et}=Ln_add(0|this.Hh,0|this.Hl,0|Ne,0|et)),this.set(n,r,a,o,c,h,f,F,R,W,te,fe,we,Ae,Ne,et)}roundClean(){Mu.fill(0),Eu.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class xX extends yy{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class kX extends yy{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class CX extends yy{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}const t8=jh(()=>new yy);jh(()=>new xX),jh(()=>new kX),jh(()=>new CX),In.hmacSha256Sync=(i,...t)=>py($k,i,In.concatBytes(...t));const Qk=(i=>Zl(function N5(i,t){if(Bh(i),"function"!=typeof t)throw new Error("checksum fn should be function");return{encode(e){if(!(e instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const n=t(e).slice(0,i),r=new Uint8Array(e.length+i);return r.set(e),r.set(n,e.length),r},decode(e){if(!(e instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const n=e.slice(0,-i),r=t(n).slice(0,i),a=e.slice(-i);for(let o=0;oi(i(t))),ly))($k);function n8(i){return BigInt(`0x${function zZ(i){if(!(i instanceof Uint8Array))throw new Error("Uint8Array expected");let t="";for(let e=0;e{if(!Number.isSafeInteger(i)||i<0||i>2**32-1)throw new Error(`Invalid number=${i}. Should be from 0 to 2 ** 32 - 1`);const t=new Uint8Array(4);return zf(t).setUint32(0,i,!1),t};class zh{constructor(t){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!t||"object"!=typeof t)throw new Error("HDKey.constructor must not be called directly");if(this.versions=t.versions||Zk,this.depth=t.depth||0,this.chainCode=t.chainCode,this.index=t.index||0,this.parentFingerprint=t.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(t.publicKey&&t.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(t.privateKey){if(!In.isValidPrivateKey(t.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof t.privateKey?t.privateKey:n8(t.privateKey),this.privKeyBytes=function DX(i){return function UZ(i){if("string"!=typeof i)throw new TypeError("hexToBytes: expected string, got "+typeof i);if(i.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const t=new Uint8Array(i.length/2);for(let e=0;etX($k(this.pubKey)))()}get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return(i=>zf(this.pubHash).getUint32(0,!1))()}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){const t=this.privateKey;if(!t)throw new Error("No private key");return Qk.encode(this.serialize(this.versions.private,fy(new Uint8Array([0]),t)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return Qk.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(t,e=Zk){if(Vh(t),8*t.length<128||8*t.length>512)throw new Error(`HDKey: wrong seed length=${t.length}. Should be between 128 and 512 bits; 256 bits is advised)`);const n=py(t8,MX,t);return new zh({versions:e,chainCode:n.slice(32),privateKey:n.slice(0,32)})}static fromExtendedKey(t,e=Zk){const n=Qk.decode(t),r=zf(n),a=r.getUint32(0,!1),o={versions:e,depth:n[4],parentFingerprint:r.getUint32(5,!1),index:r.getUint32(9,!1),chainCode:n.slice(13,45)},c=n.slice(45),h=0===c[0];if(a!==e[h?"private":"public"])throw new Error("Version mismatch");return new zh(h?{...o,privateKey:c.slice(1)}:{...o,publicKey:c})}static fromJSON(t){return zh.fromExtendedKey(t.xpriv)}derive(t){if(!/^[mM]'?/.test(t))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(t))return this;const e=t.replace(/^[mM]'?\//,"").split("/");let n=this;for(const r of e){const a=/^(\d+)('?)$/.exec(r);if(!a||3!==a.length)throw new Error(`Invalid child index: ${r}`);let o=+a[1];if(!Number.isSafeInteger(o)||o>=Xk)throw new Error("Invalid index");"'"===a[2]&&(o+=Xk),n=n.deriveChild(o)}return n}deriveChild(t){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let e=vy(t);if(t>=Xk){const c=this.privateKey;if(!c)throw new Error("Could not derive hardened child key");e=fy(new Uint8Array([0]),c,e)}else e=fy(this.pubKey,e);const n=py(t8,this.chainCode,e),r=n8(n.slice(0,32)),a=n.slice(32);if(!In.isValidPrivateKey(r))throw new Error("Tweak bigger than curve order");const o={versions:this.versions,chainCode:a,depth:this.depth+1,parentFingerprint:this.fingerprint,index:t};try{if(this.privateKey){const c=In.mod(this.privKey+r,Or.n);if(!In.isValidPrivateKey(c))throw new Error("The tweak was out of range or the resulted private key is invalid");o.privateKey=c}else{const c=Kn.fromHex(this.pubKey).add(Kn.fromPrivateKey(r));if(c.equals(Kn.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");o.publicKey=c.toRawBytes(!0)}return new zh(o)}catch{return this.deriveChild(t+1)}}sign(t){if(!this.privateKey)throw new Error("No privateKey set!");return Vh(t,32),function ZQ(i,t,e={}){const{seed:n,m:r,d:a}=function w5(i,t,e){if(null==i)throw new Error(`sign: expected valid message hash, not "${i}"`);const n=Tc(i),r=Ph(t),a=[v5(r),QQ(n)];if(null!=e){!0===e&&(e=In.randomBytes(Ql));const h=Tc(e);if(h.length!==Ql)throw new Error(`sign: Expected ${Ql} bytes of extra data`);a.push(h)}return{seed:yu(...a),m:y5(n),d:r}}(i,t,e.extraEntropy),o=new f5(32,Rh);let c;for(o.reseedSync(n);!(c=p5(o.generateSync(),r,a,e.canonical));)o.reseedSync();return function F5(i,t){const{sig:e,recovery:n}=i,{der:r,recovered:a}=Object.assign({canonical:!0,der:!0},t),o=r?e.toDERRawBytes():e.toCompactRawBytes();return a?[o,n]:o}(c,e)}(t,this.privKey,{canonical:!0,der:!1})}verify(t,e){if(Vh(t,32),Vh(e,64),!this.publicKey)throw new Error("No publicKey set!");let n;try{n=kd.fromCompact(e)}catch{return!1}return function JQ(i,t,e,n=XQ){let r;try{r=g5(i),t=Tc(t)}catch{return!1}const{r:a,s:o}=r;if(n.strict&&r.hasHighS())return!1;const c=Sk(t);let h;try{h=Ak(e)}catch{return!1}const{n:f}=Or,F=Hf(o,f),R=Qt(c*F,f),W=Qt(a*F,f),te=Kn.BASE.multiplyAndAddUnsafe(h,R,W);return!!te&&Qt(te.x,f)===a}(n,t,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(t,e){if(!this.chainCode)throw new Error("No chainCode set");return Vh(e,33),fy(vy(t),new Uint8Array([this.depth]),vy(this.parentFingerprint),vy(this.index),this.chainCode,e)}}class r8 extends Yk{constructor(t,e){super(),this.finished=!1,this.destroyed=!1,function EZ(i){if("function"!=typeof i||"function"!=typeof i.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");W5(i.outputLen),W5(i.blockLen)}(t);const n=hy(e);if(this.iHash=t.create(),!(this.iHash instanceof Yk))throw new TypeError("Expected instance of class which extends utils.Hash");const r=this.blockLen=this.iHash.blockLen;this.outputLen=this.iHash.outputLen;const a=new Uint8Array(r);a.set(n.length>this.iHash.blockLen?t.create().update(n).digest():n);for(let o=0;onew r8(i,t).update(e).digest();a8.create=(i,t)=>new r8(i,t);var AX=Object.defineProperty,Su=(i,t)=>{for(var e in t)AX(i,e,{get:t[e],enumerable:!0})};function Uf(i){return In.bytesToHex(Jg.getPublicKey(i))}Su({},{insertEventIntoAscendingList:()=>NX,insertEventIntoDescendingList:()=>IX,normalizeURL:()=>wy,utf8Decoder:()=>Uh,utf8Encoder:()=>Md});var Uh=new TextDecoder("utf-8"),Md=new TextEncoder;function wy(i){let t=new URL(i);return t.pathname=t.pathname.replace(/\/+/g,"/"),t.pathname.endsWith("/")&&(t.pathname=t.pathname.slice(0,-1)),("80"===t.port&&"ws:"===t.protocol||"443"===t.port&&"wss:"===t.protocol)&&(t.port=""),t.searchParams.sort(),t.hash="",t.toString()}function IX(i,t){let r,e=0,n=i.length-1,a=e;if(n<0)a=0;else if(t.created_at=i[e].created_at)a=e;else for(;;){if(n<=e+1){a=n;break}if(r=Math.floor(e+(n-e)/2),i[r].created_at>t.created_at)e=r;else{if(!(i[r].created_ati[n].created_at)a=n+1;else if(t.created_at<=i[e].created_at)a=e;else for(;;){if(n<=e+1){a=n;break}if(r=Math.floor(e+(n-e)/2),i[r].created_att.created_at)){a=r;break}n=r}}return i[a]?.id!==t.id?[...i.slice(0,a),t,...i.slice(a)]:i}var Qn=(i=>(i[i.Metadata=0]="Metadata",i[i.Text=1]="Text",i[i.RecommendRelay=2]="RecommendRelay",i[i.Contacts=3]="Contacts",i[i.EncryptedDirectMessage=4]="EncryptedDirectMessage",i[i.EventDeletion=5]="EventDeletion",i[i.Reaction=7]="Reaction",i[i.ChannelCreation=40]="ChannelCreation",i[i.ChannelMetadata=41]="ChannelMetadata",i[i.ChannelMessage=42]="ChannelMessage",i[i.ChannelHideMessage=43]="ChannelHideMessage",i[i.ChannelMuteUser=44]="ChannelMuteUser",i[i.Report=1984]="Report",i[i.ZapRequest=9734]="ZapRequest",i[i.Zap=9735]="Zap",i[i.RelayList=10002]="RelayList",i[i.ClientAuth=22242]="ClientAuth",i[i.Article=30023]="Article",i))(Qn||{});function Au(i){let t=n_(Md.encode(function LX(i){if(!Tu(i))throw new Error("can't serialize event with wrong or missing properties");return JSON.stringify([0,i.pubkey,i.created_at,i.kind,i.tags,i.content])}(i)));return In.bytesToHex(t)}function Tu(i){if("object"!=typeof i||"string"!=typeof i.content||"number"!=typeof i.created_at||"string"!=typeof i.pubkey||!i.pubkey.match(/^[a-f0-9]{64}$/)||!Array.isArray(i.tags))return!1;for(let t=0;tFy,getInt:()=>o8,getSubscriptionId:()=>s8,matchEventId:()=>BX,matchEventKind:()=>VX,matchEventPubkey:()=>HX}),Su({},{decrypt:()=>WX,encrypt:()=>UX});var xy,iC={};Su(iC,{queryProfile:()=>$X,searchDomain:()=>qX,useFetchImplementation:()=>GX});try{xy=fetch}catch{}function GX(i){xy=i}function qX(i){return nC.apply(this,arguments)}function nC(){return nC=Se(function*(i,t=""){try{return(yield(yield xy(`https://${i}/.well-known/nostr.json?name=${t}`)).json()).names}catch{return{}}}),nC.apply(this,arguments)}function $X(i){return rC.apply(this,arguments)}function rC(){return rC=Se(function*(i){let[t,e]=i.split("@");if(e||(e=t,t="_"),!t.match(/^[A-Za-z0-9-_]+$/))return null;let n=yield(yield xy(`https://${e}/.well-known/nostr.json?name=${t}`)).json();if(!n?.names?.[t])return null;let r=n.names[t];return{pubkey:r,relays:n.relays?.[r]||[]}}),rC.apply(this,arguments)}var ky={};function KX(i,t){let n=zh.fromMasterSeed((0,jk.Z1)(i,t)).derive("m/44'/1237'/0'/0/0").privateKey;if(!n)throw new Error("could not derive private key");return In.bytesToHex(n)}function QX(){return(0,jk.OF)(G5.U)}function ZX(i){return(0,jk._I)(i,G5.U)}Su(ky,{generateSeedWords:()=>QX,privateKeyFromSeedWords:()=>KX,validateWords:()=>ZX});var za={};Su(za,{decode:()=>XX,naddrEncode:()=>rJ,neventEncode:()=>nJ,noteEncode:()=>tJ,nprofileEncode:()=>iJ,npubEncode:()=>eJ,nsecEncode:()=>JX});var lC,a_=5e3;function XX(i){let{prefix:t,words:e}=yo.decode(i,a_),n=new Uint8Array(yo.fromWords(e));switch(t){case"nprofile":{let r=aC(n);if(!r[0]?.[0])throw new Error("missing TLV 0 for nprofile");if(32!==r[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nprofile",data:{pubkey:In.bytesToHex(r[0][0]),relays:r[1]?r[1].map(a=>Uh.decode(a)):[]}}}case"nevent":{let r=aC(n);if(!r[0]?.[0])throw new Error("missing TLV 0 for nevent");if(32!==r[0][0].length)throw new Error("TLV 0 should be 32 bytes");return{type:"nevent",data:{id:In.bytesToHex(r[0][0]),relays:r[1]?r[1].map(a=>Uh.decode(a)):[]}}}case"naddr":{let r=aC(n);if(!r[0]?.[0])throw new Error("missing TLV 0 for naddr");if(!r[2]?.[0])throw new Error("missing TLV 2 for naddr");if(32!==r[2][0].length)throw new Error("TLV 2 should be 32 bytes");if(!r[3]?.[0])throw new Error("missing TLV 3 for naddr");if(4!==r[3][0].length)throw new Error("TLV 3 should be 4 bytes");return{type:"naddr",data:{identifier:Uh.decode(r[0][0]),pubkey:In.bytesToHex(r[2][0]),kind:parseInt(In.bytesToHex(r[3][0]),16),relays:r[1]?r[1].map(a=>Uh.decode(a)):[]}}}case"nsec":case"npub":case"note":return{type:t,data:In.bytesToHex(n)};default:throw new Error(`unknown prefix ${t}`)}}function aC(i){let t={},e=i;for(;e.length>0;){let n=e[0],r=e[1],a=e.slice(2,2+r);e=e.slice(2+r),!(a.lengthMd.encode(n))}),e=yo.toWords(t);return yo.encode("nprofile",e,a_)}function nJ(i){let t=sC({0:[In.hexToBytes(i.id)],1:(i.relays||[]).map(n=>Md.encode(n))}),e=yo.toWords(t);return yo.encode("nevent",e,a_)}function rJ(i){let t=new ArrayBuffer(4);new DataView(t).setUint32(0,i.kind,!1);let e=sC({0:[Md.encode(i.identifier)],1:(i.relays||[]).map(r=>Md.encode(r)),2:[In.hexToBytes(i.pubkey)],3:[new Uint8Array(t)]}),n=yo.toWords(e);return yo.encode("naddr",n,a_)}function sC(i){let t=[];return Object.entries(i).forEach(([e,n])=>{n.forEach(r=>{let a=new Uint8Array(r.length+2);a.set([parseInt(e)],0),a.set([r.length],1),a.set(r,2),t.push(a)})}),In.concatBytes(...t)}function oJ(i,t){let e=[];(t.kind||-1)>=0&&e.push(`kind=${t.kind}`),t.until&&e.push(`created_at<${t.until}`),t.since&&e.push(`created_at>${t.since}`);let n=e.join("&");if(""===n)throw new Error("refusing to create a delegation without any conditions");let r=n_(Md.encode(`nostr:delegation:${t.pubkey}:${n}`)),a=In.bytesToHex(Jg.signSync(r,i));return{from:Uf(i),to:t.pubkey,cond:n,sig:a}}function sJ(i){let t=i.tags.find(c=>"delegation"===c[0]&&c.length>=4);if(!t)return null;let e=t[1],n=t[2],r=t[3],a=n.split("&");for(let c=0;c"===f&&i.created_at>parseInt(F))continue;return null}}let o=n_(Md.encode(`nostr:delegation:${i.pubkey}:${n}`));return Jg.verifySync(r,o,e)?e:null}Su({},{createDelegation:()=>oJ,getDelegator:()=>sJ}),Su({},{getZapEndpoint:()=>dJ,makeZapReceipt:()=>mJ,makeZapRequest:()=>uJ,useFetchImplementation:()=>cJ,validateZapRequest:()=>hJ});try{lC=fetch}catch{}function cJ(i){lC=i}function dJ(i){return cC.apply(this,arguments)}function cC(){return cC=Se(function*(i){try{let t="",{lud06:e,lud16:n}=JSON.parse(i.content);if(e){let{words:o}=yo.decode(e,1e3),c=yo.fromWords(o);t=Uh.decode(c)}else{if(!n)return null;{let[o,c]=n.split("@");t=`https://${c}/.well-known/lnurlp/${o}`}}let a=yield(yield lC(t)).json();if(a.allowsNostr&&a.nostrPubkey)return a.callback}catch{}return null}),cC.apply(this,arguments)}function uJ({profile:i,event:t,amount:e,relays:n,comment:r=""}){if(!e)throw new Error("amount not given");if(!i)throw new Error("profile not given");let a={kind:9734,created_at:Math.round(Date.now()/1e3),content:r,tags:[["p",i],["amount",e.toString()],["relays",...n]]};return t&&a.tags.push(["e",t]),a}function hJ(i){let t;try{t=JSON.parse(i)}catch{return"Invalid zap request JSON."}if(!Tu(t))return"Zap request is not a valid Nostr event.";if(!r_(t))return"Invalid signature on zap request.";let e=t.tags.find(([a,o])=>"p"===a&&o);if(!e)return"Zap request doesn't have a 'p' tag.";if(!e[1].match(/^[a-f0-9]{64}$/))return"Zap request 'p' tag is not valid hex.";let n=t.tags.find(([a,o])=>"e"===a&&o);return n&&!n[1].match(/^[a-f0-9]{64}$/)?"Zap request 'e' tag is not valid hex.":t.tags.find(([a,o])=>"relays"===a&&o)?null:"Zap request doesn't have a 'relays' tag."}function mJ({zapRequest:i,preimage:t,bolt11:e,paidAt:n}){let a=JSON.parse(i).tags.filter(([c])=>"e"===c||"p"===c||"a"===c),o={kind:9735,created_at:Math.round(n.getTime()/1e3),content:"",tags:[...a,["bolt11",e],["description",i]]};return t&&o.tags.push(["preimage",t]),o}In.hmacSha256Sync=(i,...t)=>a8(n_,i,In.concatBytes(...t)),In.sha256Sync=(...i)=>n_(In.concatBytes(...i));class fJ{constructor(t){this.url=t,this.status="ok"}start(){return console.log(`${this.url}: start method new Worker called.`),this.worker=new Worker(T.tu(new URL(T.p+T.u(911),T.b))),this.worker}connect(t,e){this.action("connect",{url:this.url,subscriptions:t,event:e})}disconnect(){this.action("disconnect")}terminate(){this.action("terminate")}enque(t){this.action("enque",t)}publish(t){this.action("publish",t)}download(t){this.action("download",t)}subscribe(t,e){this.action("subscribe",{filters:t,id:e})}unsubscribe(t){this.action("unsubscribe",t)}action(t,e){if("ok"!=this.status)throw new Error("The status of this relay worker is: "+this.status);this.worker?.postMessage({type:t,data:e})}}const c8={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Cy;const pJ=new Uint8Array(16);function gJ(){if(!Cy&&(Cy=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Cy))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Cy(pJ)}const Mo=[];for(let i=0;i<256;++i)Mo.push((i+256).toString(16).slice(1));const dC=function _J(i,t,e){if(c8.randomUUID&&!t&&!i)return c8.randomUUID();const n=(i=i||{}).random||(i.rng||gJ)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){e=e||0;for(let r=0;r<16;++r)t[e+r]=n[r];return t}return function d8(i,t=0){return(Mo[i[t+0]]+Mo[i[t+1]]+Mo[i[t+2]]+Mo[i[t+3]]+"-"+Mo[i[t+4]]+Mo[i[t+5]]+"-"+Mo[i[t+6]]+Mo[i[t+7]]+"-"+Mo[i[t+8]]+Mo[i[t+9]]+"-"+Mo[i[t+10]]+Mo[i[t+11]]+Mo[i[t+12]]+Mo[i[t+13]]+Mo[i[t+14]]+Mo[i[t+15]]).toLowerCase()}(n)};class zs{constructor(t){this.validator=t}processEvent(t){let e;return t?(e=t.kind==Qn.Contacts?this.validator.validateContacts(t):this.validator.validateEvent(t),e?(e=this.validator.sanitizeEvent(e),e||null):(console.log("INVALID EVENT!"),null)):null}getPublicKeyAndEventTags(t){return t?t.filter(n=>"e"===n[0]||"p"===n[0]):[]}lastETag(t){const e=this.eTags(t);if(0!=e.length)return e[e.length-1][1]}titleTag(t){const e=this.tagsOfType(t,"title");if(0!=e.length)return e[e.length-1][1]}lastDTag(t){const e=this.tagsOfType(t,"d");if(0!=e.length)return e[e.length-1][1]}lastTagOfType(t,e){const n=this.tagsOfType(t,e);if(0!=n.length)return n[n.length-1][1]}tagsOfType(t,e){return t?t.tags.filter(r=>r[0]===e):[]}tagsOfTypeValues(t,e){return t?t.tags.filter(r=>r[0]===e).map(r=>r[1]):[]}eTags(t){return t?t.tags.filter(n=>"e"===n[0]):[]}pTags(t){return t?t.tags.filter(n=>"p"===n[0]):[]}parentEventId(t){if(!t)return;const e=t.tags.filter(n=>"e"===n[0]);return 0!=e.length?e[e.length-1][1]:void 0}rootEventId(t){if(!t)return;const e=t.tags.filter(n=>"e"===n[0]);for(let n=0;n3&&"root"==r[3])return r[1]}return 0==e.length?null:e[0][1]}replyEventId(t){if(!t)return;const e=t.tags.filter(n=>"e"===n[0]);for(let n=0;n3&&"reply"==r[3])return r[1]}return e.length<2?null:e[1][1]}}zs.\u0275fac=function(t){return new(t||zs)(Ee(Uo))},zs.\u0275prov=it({token:zs,factory:zs.\u0275fac,providedIn:"root"});class Wh{constructor(t,e,n){this.appState=t,this.utilities=e,this.eventService=n,this.articles=[]}get(t){return this.articles.find(e=>e.slug==t)}put(t){const e=t;e.slug=this.eventService.lastDTag(t),e.title=this.eventService.lastTagOfType(t,"title"),e.summary=this.eventService.lastTagOfType(t,"summary"),e.image=this.eventService.lastTagOfType(t,"image"),e.metatags=this.eventService.tagsOfTypeValues(t,"t"),e.metatags=this.eventService.tagsOfTypeValues(t,"t");const n=this.eventService.lastTagOfType(t,"published_at");if(n&&(e.published_at=Number(n)),e.pubkey==this.appState.getPublicKey()){const r=this.articles.findIndex(a=>a.slug==e.slug);if(r>-1){if(this.articles[r].created_at>e.created_at)return;this.articles[r]=e}else this.articles.push(e)}}}Wh.\u0275fac=function(t){return new(t||Wh)(Ee(ln),Ee(Nn),Ee(zs))},Wh.\u0275prov=it({token:Wh,factory:Wh.\u0275fac,providedIn:"root"});const u8=md({passive:!0});let bJ=(()=>{class i{constructor(e,n){this._platform=e,this._ngZone=n,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return an;const n=pd(e),r=this._monitoredElements.get(n);if(r)return r.subject;const a=new He,o="cdk-text-field-autofilled",c=h=>{"cdk-text-field-autofill-start"!==h.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===h.animationName&&n.classList.contains(o)&&(n.classList.remove(o),this._ngZone.run(()=>a.next({target:h.target,isAutofilled:!1}))):(n.classList.add(o),this._ngZone.run(()=>a.next({target:h.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{n.addEventListener("animationstart",c,u8),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:a,unlisten:()=>{n.removeEventListener("animationstart",c,u8)}}),a}stopMonitoring(e){const n=pd(e),r=this._monitoredElements.get(n);r&&(r.unlisten(),r.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}ngOnDestroy(){this._monitoredElements.forEach((e,n)=>this.stopMonitoring(n))}}return i.\u0275fac=function(e){return new(e||i)(Ee(Pn),Ee(Rt))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),uC=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})();function h8(...i){const t=Qa(i),{args:e,keys:n}=NT(i),r=new mt(a=>{const{length:o}=e;if(!o)return void a.complete();const c=new Array(o);let h=o,f=o;for(let F=0;F{R||(R=!0,f--),c[F]=W},()=>h--,void 0,()=>{(!h||!R)&&(f||a.next(n?LT(n,c):c),a.complete())}))}});return t?r.pipe(kx(t)):r}let m8=(()=>{class i{constructor(e,n){this._renderer=e,this._elementRef=n,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,n){this._renderer.setProperty(this._elementRef.nativeElement,e,n)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return i.\u0275fac=function(e){return new(e||i)(D(Bl),D(_t))},i.\u0275dir=Oe({type:i}),i})(),Gh=(()=>{class i extends m8{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,features:[ot]}),i})();const ba=new Ke("NgValueAccessor"),vJ={provide:ba,useExisting:ci(()=>uo),multi:!0},FJ=new Ke("CompositionEventMode");let uo=(()=>{class i extends m8{constructor(e,n,r){super(e,n),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function wJ(){const i=cd()?cd().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return i.\u0275fac=function(e){return new(e||i)(D(Bl),D(_t),D(FJ,8))},i.\u0275dir=Oe({type:i,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,n){1&e&&pe("input",function(a){return n._handleInput(a.target.value)})("blur",function(){return n.onTouched()})("compositionstart",function(){return n._compositionStart()})("compositionend",function(a){return n._compositionEnd(a.target.value)})},features:[Ot([vJ]),ot]}),i})();const xJ=!1;function Iu(i){return null==i||("string"==typeof i||Array.isArray(i))&&0===i.length}function p8(i){return null!=i&&"number"==typeof i.length}const Ua=new Ke("NgValidators"),Nu=new Ke("NgAsyncValidators"),kJ=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ed{static min(t){return function g8(i){return t=>{if(Iu(t.value)||Iu(i))return null;const e=parseFloat(t.value);return!isNaN(e)&&e{if(Iu(t.value)||Iu(i))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>i?{max:{max:i,actual:t.value}}:null}}(t)}static required(t){return function b8(i){return Iu(i.value)?{required:!0}:null}(t)}static requiredTrue(t){return function y8(i){return!0===i.value?null:{required:!0}}(t)}static email(t){return function v8(i){return Iu(i.value)||kJ.test(i.value)?null:{email:!0}}(t)}static minLength(t){return function w8(i){return t=>Iu(t.value)||!p8(t.value)?null:t.value.lengthp8(t.value)&&t.value.length>i?{maxlength:{requiredLength:i,actualLength:t.value.length}}:null}(t)}static pattern(t){return function x8(i){if(!i)return Dy;let t,e;return"string"==typeof i?(e="","^"!==i.charAt(0)&&(e+="^"),e+=i,"$"!==i.charAt(i.length-1)&&(e+="$"),t=new RegExp(e)):(e=i.toString(),t=i),n=>{if(Iu(n.value))return null;const r=n.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}(t)}static nullValidator(t){return null}static compose(t){return S8(t)}static composeAsync(t){return A8(t)}}function Dy(i){return null}function k8(i){return null!=i}function C8(i){const t=Zp(i)?Jn(i):i;if(xJ&&!iF(t)){let e="Expected async validator to return Promise or Observable.";throw"object"==typeof i&&(e+=" Are you using a synchronous validator where an async validator is expected?"),new Je(-1101,e)}return t}function D8(i){let t={};return i.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function M8(i,t){return t.map(e=>e(i))}function E8(i){return i.map(t=>function CJ(i){return!i.validate}(t)?t:e=>t.validate(e))}function S8(i){if(!i)return null;const t=i.filter(k8);return 0==t.length?null:function(e){return D8(M8(e,t))}}function hC(i){return null!=i?S8(E8(i)):null}function A8(i){if(!i)return null;const t=i.filter(k8);return 0==t.length?null:function(e){return h8(M8(e,t).map(C8)).pipe(bt(D8))}}function mC(i){return null!=i?A8(E8(i)):null}function T8(i,t){return null===i?[t]:Array.isArray(i)?[...i,t]:[i,t]}function I8(i){return i._rawValidators}function N8(i){return i._rawAsyncValidators}function fC(i){return i?Array.isArray(i)?i:[i]:[]}function My(i,t){return Array.isArray(i)?i.includes(t):i===t}function L8(i,t){const e=fC(t);return fC(i).forEach(r=>{My(e,r)||e.push(r)}),e}function O8(i,t){return fC(t).filter(e=>!My(i,e))}class R8{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=hC(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=mC(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class ns extends R8{get formDirective(){return null}get path(){return null}}class Xl extends R8{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class P8{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Wa=(()=>{class i extends P8{constructor(e){super(e)}}return i.\u0275fac=function(e){return new(e||i)(D(Xl,2))},i.\u0275dir=Oe({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,n){2&e&&Mt("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)},features:[ot]}),i})(),Wf=(()=>{class i extends P8{constructor(e){super(e)}}return i.\u0275fac=function(e){return new(e||i)(D(ns,10))},i.\u0275dir=Oe({type:i,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,n){2&e&&Mt("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)("ng-submitted",n.isSubmitted)},features:[ot]}),i})();function B8(i,t){return i?`with name: '${t}'`:`at index: ${t}`}const _C=!1,o_="VALID",Sy="INVALID",Gf="PENDING",s_="DISABLED";function bC(i){return(Ay(i)?i.validators:i)||null}function yC(i,t){return(Ay(t)?t.asyncValidators:i)||null}function Ay(i){return null!=i&&!Array.isArray(i)&&"object"==typeof i}function H8(i,t,e){const n=i.controls;if(!(t?Object.keys(n):n).length)throw new Je(1e3,_C?function SJ(i){return`\n There are no form controls registered with this ${i?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(t):"");if(!n[e])throw new Je(1001,_C?function AJ(i,t){return`Cannot find form control ${B8(i,t)}`}(t,e):"")}function V8(i,t,e){i._forEachChild((n,r)=>{if(void 0===e[r])throw new Je(1002,_C?function TJ(i,t){return`Must supply a value for form control ${B8(i,t)}`}(t,r):"")})}class Ty{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===o_}get invalid(){return this.status===Sy}get pending(){return this.status==Gf}get disabled(){return this.status===s_}get enabled(){return this.status!==s_}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(L8(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(L8(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(O8(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(O8(t,this._rawAsyncValidators))}hasValidator(t){return My(this._rawValidators,t)}hasAsyncValidator(t){return My(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Gf,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=s_,this.errors=null,this._forEachChild(n=>{n.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(n=>n(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=o_,this._forEachChild(n=>{n.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===o_||this.status===Gf)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?s_:o_}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Gf,this._hasOwnPendingAsyncValidator=!0;const e=C8(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((n,r)=>n&&n._find(r),this)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new ht,this.statusChanges=new ht}_calculateStatus(){return this._allControlsDisabled()?s_:this.errors?Sy:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gf)?Gf:this._anyControlsHaveStatus(Sy)?Sy:o_}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Ay(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function IJ(i){return Array.isArray(i)?hC(i):i||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function NJ(i){return Array.isArray(i)?mC(i):i||null}(this._rawAsyncValidators)}}class l_ extends Ty{constructor(t,e,n){super(bC(e),yC(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){V8(this,!0,t),Object.keys(t).forEach(n=>{H8(this,!0,n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{const r=this.controls[n];r&&r.patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,n)=>!!n._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,n]of Object.entries(this.controls))if(this.contains(e)&&t(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,n,r)=>((n.enabled||this.disabled)&&(e[r]=n.value),e))}_reduceChildren(t,e){let n=t;return this._forEachChild((r,a)=>{n=e(n,r,a)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class Y8 extends l_{}const qh=new Ke("CallSetDisabledState",{providedIn:"root",factory:()=>c_}),c_="always";function Iy(i,t){return[...t.path,i]}function d_(i,t,e=c_){vC(i,t),t.valueAccessor.writeValue(i.value),(i.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(i.disabled),function OJ(i,t){t.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,"change"===i.updateOn&&j8(i,t)})}(i,t),function PJ(i,t){const e=(n,r)=>{t.valueAccessor.writeValue(n),r&&t.viewToModelUpdate(n)};i.registerOnChange(e),t._registerOnDestroy(()=>{i._unregisterOnChange(e)})}(i,t),function RJ(i,t){t.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,"blur"===i.updateOn&&i._pendingChange&&j8(i,t),"submit"!==i.updateOn&&i.markAsTouched()})}(i,t),function LJ(i,t){if(t.valueAccessor.setDisabledState){const e=n=>{t.valueAccessor.setDisabledState(n)};i.registerOnDisabledChange(e),t._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e)})}}(i,t)}function Ny(i,t,e=!0){const n=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n)),Oy(i,t),i&&(t._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function Ly(i,t){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function vC(i,t){const e=I8(i);null!==t.validator?i.setValidators(T8(e,t.validator)):"function"==typeof e&&i.setValidators([e]);const n=N8(i);null!==t.asyncValidator?i.setAsyncValidators(T8(n,t.asyncValidator)):"function"==typeof n&&i.setAsyncValidators([n]);const r=()=>i.updateValueAndValidity();Ly(t._rawValidators,r),Ly(t._rawAsyncValidators,r)}function Oy(i,t){let e=!1;if(null!==i){if(null!==t.validator){const r=I8(i);if(Array.isArray(r)&&r.length>0){const a=r.filter(o=>o!==t.validator);a.length!==r.length&&(e=!0,i.setValidators(a))}}if(null!==t.asyncValidator){const r=N8(i);if(Array.isArray(r)&&r.length>0){const a=r.filter(o=>o!==t.asyncValidator);a.length!==r.length&&(e=!0,i.setAsyncValidators(a))}}}const n=()=>{};return Ly(t._rawValidators,n),Ly(t._rawAsyncValidators,n),e}function j8(i,t){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function z8(i,t){vC(i,t)}function FC(i,t){if(!i.hasOwnProperty("model"))return!1;const e=i.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function U8(i,t){i._syncPendingControls(),t.forEach(e=>{const n=e.control;"submit"===n.updateOn&&n._pendingChange&&(e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function xC(i,t){if(!t)return null;let e,n,r;return Array.isArray(t),t.forEach(a=>{a.constructor===uo?e=a:function VJ(i){return Object.getPrototypeOf(i.constructor)===Gh}(a)?n=a:r=a}),r||n||e||null}const jJ={provide:ns,useExisting:ci(()=>Rc)},u_=(()=>Promise.resolve())();let Rc=(()=>{class i extends ns{constructor(e,n,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ht,this.form=new l_({},hC(e),mC(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){u_.then(()=>{const n=this._findContainer(e.path);e.control=n.registerControl(e.name,e.control),d_(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){u_.then(()=>{const n=this._findContainer(e.path);n&&n.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){u_.then(()=>{const n=this._findContainer(e.path),r=new l_({});z8(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){u_.then(()=>{const n=this._findContainer(e.path);n&&n.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,n){u_.then(()=>{this.form.get(e.path).setValue(n)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,U8(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return i.\u0275fac=function(e){return new(e||i)(D(Ua,10),D(Nu,10),D(qh,8))},i.\u0275dir=Oe({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,n){1&e&&pe("submit",function(a){return n.onSubmit(a)})("reset",function(){return n.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ot([jJ]),ot]}),i})();function W8(i,t){const e=i.indexOf(t);e>-1&&i.splice(e,1)}function G8(i){return"object"==typeof i&&null!==i&&2===Object.keys(i).length&&"value"in i&&"disabled"in i}const $h=class extends Ty{constructor(t=null,e,n){super(bC(e),yC(n,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ay(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=G8(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(n=>n(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){W8(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){W8(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){G8(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},WJ={provide:Xl,useExisting:ci(()=>Ga)},K8=(()=>Promise.resolve())();let Ga=(()=>{class i extends Xl{constructor(e,n,r,a,o,c){super(),this._changeDetectorRef=o,this.callSetDisabledState=c,this.control=new $h,this._registered=!1,this.update=new ht,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=xC(0,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const n=e.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),FC(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){d_(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){K8.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const n=e.isDisabled.currentValue,r=0!==n&&hf(n);K8.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Iy(e,this._parent):[e]}}return i.\u0275fac=function(e){return new(e||i)(D(ns,9),D(Ua,10),D(Nu,10),D(ba,10),D(li,8),D(qh,8))},i.\u0275dir=Oe({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ot([WJ]),ot,mr]}),i})(),qf=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),i})(),Z8=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})();const kC=new Ke("NgModelWithFormControlWarning"),QJ={provide:Xl,useExisting:ci(()=>CC)};let CC=(()=>{class i extends Xl{set isDisabled(e){}constructor(e,n,r,a,o){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=o,this.update=new ht,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=xC(0,r)}ngOnChanges(e){if(this._isControlChanged(e)){const n=e.form.previousValue;n&&Ny(n,this,!1),d_(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}FC(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ny(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return i._ngModelWarningSentOnce=!1,i.\u0275fac=function(e){return new(e||i)(D(Ua,10),D(Nu,10),D(ba,10),D(kC,8),D(qh,8))},i.\u0275dir=Oe({type:i,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ot([QJ]),ot,mr]}),i})();const ZJ={provide:ns,useExisting:ci(()=>Kh)};let Kh=(()=>{class i extends ns{constructor(e,n,r){super(),this.callSetDisabledState=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ht,this._setValidators(e),this._setAsyncValidators(n)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Oy(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const n=this.form.get(e.path);return d_(n,e,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),n}getControl(e){return this.form.get(e.path)}removeControl(e){Ny(e.control||null,e,!1),function YJ(i,t){const e=i.indexOf(t);e>-1&&i.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,n){this.form.get(e.path).setValue(n)}onSubmit(e){return this.submitted=!0,U8(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const n=e.control,r=this.form.get(e.path);n!==r&&(Ny(n||null,e),(i=>i instanceof $h)(r)&&(d_(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const n=this.form.get(e.path);z8(n,e),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const n=this.form.get(e.path);n&&function BJ(i,t){return Oy(i,t)}(n,e)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){vC(this.form,this),this._oldForm&&Oy(this._oldForm,this)}_checkFormPresent(){}}return i.\u0275fac=function(e){return new(e||i)(D(Ua,10),D(Nu,10),D(qh,8))},i.\u0275dir=Oe({type:i,selectors:[["","formGroup",""]],hostBindings:function(e,n){1&e&&pe("submit",function(a){return n.onSubmit(a)})("reset",function(){return n.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ot([ZJ]),ot,mr]}),i})();const eee={provide:Xl,useExisting:ci(()=>EC)};let EC=(()=>{class i extends Xl{set isDisabled(e){}constructor(e,n,r,a,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new ht,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=xC(0,a)}ngOnChanges(e){this._added||this._setUpControl(),FC(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Iy(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return i._ngModelWarningSentOnce=!1,i.\u0275fac=function(e){return new(e||i)(D(ns,13),D(Ua,10),D(Nu,10),D(ba,10),D(kC,8))},i.\u0275dir=Oe({type:i,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ot([eee]),ot,mr]}),i})(),uN=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Z8]}),i})();class hN extends Ty{constructor(t,e,n){super(bC(e),yC(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){let n=this._adjustIndex(t);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){V8(this,!1,t),t.forEach((n,r)=>{H8(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,n)=>!!n._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function mN(i){return!!i&&(void 0!==i.asyncValidators||void 0!==i.validators||void 0!==i.updateOn)}let fN=(()=>{class i{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new i;return e.useNonNullable=!0,e}group(e,n=null){const r=this._reduceControls(e);let a={};return mN(n)?a=n:null!==n&&(a.validators=n.validator,a.asyncValidators=n.asyncValidator),new l_(r,a)}record(e,n=null){const r=this._reduceControls(e);return new Y8(r,n)}control(e,n,r){let a={};return this.useNonNullable?(mN(n)?a=n:(a.validators=n,a.asyncValidators=r),new $h(e,{...a,nonNullable:!0})):new $h(e,n,r)}array(e,n,r){const a=e.map(o=>this._createControl(o));return new hN(a,n,r)}_reduceControls(e){const n={};return Object.keys(e).forEach(r=>{n[r]=this._createControl(e[r])}),n}_createControl(e){return e instanceof $h||e instanceof Ty?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),pee=(()=>{class i extends fN{group(e,n=null){return super.group(e,n)}control(e,n,r){return super.control(e,n,r)}array(e,n,r){return super.array(e,n,r)}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Py=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:qh,useValue:e.callSetDisabledState??c_}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[uN]}),i})(),pN=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:kC,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:qh,useValue:e.callSetDisabledState??c_}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[uN]}),i})();const gee=["matFormFieldNotchedOutline",""],_ee=["*"],bee=["textField"],yee=["iconPrefixContainer"],vee=["textPrefixContainer"];function wee(i,t){1&i&&De(0,"span",19)}function Fee(i,t){if(1&i){const e=tt();y(0,"label",17),pe("cdkObserveContent",function(){return Te(e),Ie(X(2)._refreshOutlineNotchWidth())}),wt(1,1),oe(2,wee,1,0,"span",18),k()}if(2&i){const e=X(2);N("floating",e._shouldLabelFloat())("cdkObserveContentDisabled",!e._hasOutline())("id",e._labelId),Nt("for",e._control.id)("aria-owns",e._control.id),A(2),N("ngIf",!e.hideRequiredMarker&&e._control.required)}}function xee(i,t){1&i&&oe(0,Fee,3,6,"label",16),2&i&&N("ngIf",X()._hasFloatingLabel())}function kee(i,t){1&i&&De(0,"div",20)}function Cee(i,t){}function Dee(i,t){1&i&&oe(0,Cee,0,0,"ng-template",22),2&i&&(X(2),N("ngTemplateOutlet",en(1)))}function Mee(i,t){if(1&i&&(y(0,"div",21),oe(1,Dee,1,1,"ng-template",9),k()),2&i){const e=X();N("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",e._labelWidth),A(1),N("ngIf",!e._forceDisplayInfixLabel())}}function Eee(i,t){1&i&&(y(0,"div",23,24),wt(2,2),k())}function See(i,t){1&i&&(y(0,"div",25,26),wt(2,3),k())}function Aee(i,t){}function Tee(i,t){1&i&&oe(0,Aee,0,0,"ng-template",22),2&i&&(X(),N("ngTemplateOutlet",en(1)))}function Iee(i,t){1&i&&(y(0,"div",27),wt(1,4),k())}function Nee(i,t){1&i&&(y(0,"div",28),wt(1,5),k())}function Lee(i,t){1&i&&De(0,"div",29)}function Oee(i,t){1&i&&(y(0,"div",30),wt(1,6),k()),2&i&&N("@transitionMessages",X()._subscriptAnimationState)}function Ree(i,t){if(1&i&&(y(0,"mat-hint",34),B(1),k()),2&i){const e=X(2);N("id",e._hintLabelId),A(1),Ct(e.hintLabel)}}function Pee(i,t){if(1&i&&(y(0,"div",31),oe(1,Ree,2,2,"mat-hint",32),wt(2,7),De(3,"div",33),wt(4,8),k()),2&i){const e=X();N("@transitionMessages",e._subscriptAnimationState),A(1),N("ngIf",e.hintLabel)}}const Bee=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Hee=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Wo=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-label"]]}),i})();const gN=new Ke("MatError");let Vee=0,IC=(()=>{class i{constructor(){this.align="start",this.id="mat-mdc-hint-"+Vee++}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,n){2&e&&(lo("id",n.id),Nt("align",null),Mt("mat-mdc-form-field-hint-end","end"===n.align))},inputs:{align:"align",id:"id"}}),i})();const NC=new Ke("MatPrefix");let Pc=(()=>{class i{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[Ot([{provide:NC,useExisting:i}])]}),i})();const LC=new Ke("MatSuffix");let _N=(()=>{class i{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[Ot([{provide:LC,useExisting:i}])]}),i})(),bN=(()=>{class i{constructor(e){this._elementRef=e,this.floating=!1}getWidth(){return function Yee(i){if(null!==i.offsetParent)return i.scrollWidth;const e=i.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const n=e.scrollWidth;return e.remove(),n}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return i.\u0275fac=function(e){return new(e||i)(D(_t))},i.\u0275dir=Oe({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mdc-floating-label--float-above",n.floating)},inputs:{floating:"floating"}}),i})();const yN="mdc-line-ripple--active",By="mdc-line-ripple--deactivating";let vN=(()=>{class i{constructor(e,n){this._elementRef=e,this._handleTransitionEnd=r=>{const a=this._elementRef.nativeElement.classList,o=a.contains(By);"opacity"===r.propertyName&&o&&a.remove(yN,By)},n.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(By),e.add(yN)}deactivate(){this._elementRef.nativeElement.classList.add(By)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Rt))},i.\u0275dir=Oe({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),i})(),wN=(()=>{class i{constructor(e,n){this._elementRef=e,this._ngZone=n,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Rt))},i.\u0275cmp=$e({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mdc-notched-outline--notched",n.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:gee,ngContentSelectors:_ee,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(e,n){1&e&&(Hi(),De(0,"div",0),y(1,"div",1),wt(2),k(),De(3,"div",2)),2&e&&(A(1),tr("width",n._getNotchWidth()))},encapsulation:2,changeDetection:0}),i})();const FN={transitionMessages:Va("transitionMessages",[fr("enter",hi({opacity:1,transform:"translateY(0%)"})),nr("void => enter",[hi({opacity:0,transform:"translateY(-5px)"}),ir("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let $f=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i}),i})();const Zh=new Ke("MatFormField"),jee=new Ke("MAT_FORM_FIELD_DEFAULT_OPTIONS");let xN=0,Eo=(()=>{class i{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=xt(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const n=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==n&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,n,r,a,o,c,h,f){this._elementRef=e,this._changeDetectorRef=n,this._ngZone=r,this._dir=a,this._platform=o,this._defaults=c,this._animationMode=h,this._document=f,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+xN++,this._hintLabelId="mat-mdc-hint-"+xN++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new He,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=Boolean(c?.hideRequiredMarker),c.color&&(this.color=c.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(ti(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Rn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ti(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(ti(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const n=this._control?this._control.ngControl:null;return n&&n[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const n=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,r=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const n=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,a=n?.getBoundingClientRect().width??0,o=r?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${a+o}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const n=e.getRootNode();return n&&n!==e}return document.documentElement.contains(e)}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(li),D(Rt),D(jr),D(Pn),D(jee,8),D(Tn,8),D(Ci))},i.\u0275cmp=$e({type:i,selectors:[["mat-form-field"]],contentQueries:function(e,n,r){if(1&e&&(di(r,Wo,5),di(r,Wo,7),di(r,$f,5),di(r,NC,5),di(r,LC,5),di(r,gN,5),di(r,IC,5)),2&e){let a;Qe(a=Ze())&&(n._labelChildNonStatic=a.first),Qe(a=Ze())&&(n._labelChildStatic=a.first),Qe(a=Ze())&&(n._formFieldControl=a.first),Qe(a=Ze())&&(n._prefixChildren=a),Qe(a=Ze())&&(n._suffixChildren=a),Qe(a=Ze())&&(n._errorChildren=a),Qe(a=Ze())&&(n._hintChildren=a)}},viewQuery:function(e,n){if(1&e&&(Tt(bee,5),Tt(yee,5),Tt(vee,5),Tt(bN,5),Tt(wN,5),Tt(vN,5)),2&e){let r;Qe(r=Ze())&&(n._textField=r.first),Qe(r=Ze())&&(n._iconPrefixContainer=r.first),Qe(r=Ze())&&(n._textPrefixContainer=r.first),Qe(r=Ze())&&(n._floatingLabel=r.first),Qe(r=Ze())&&(n._notchedOutline=r.first),Qe(r=Ze())&&(n._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,n){2&e&&Mt("mat-mdc-form-field-label-always-float",n._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",n._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",n._hasIconSuffix)("mat-form-field-invalid",n._control.errorState)("mat-form-field-disabled",n._control.disabled)("mat-form-field-autofilled",n._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===n._animationMode)("mat-form-field-appearance-fill","fill"==n.appearance)("mat-form-field-appearance-outline","outline"==n.appearance)("mat-form-field-hide-placeholder",n._hasFloatingLabel()&&!n._shouldLabelFloat())("mat-focused",n._control.focused)("mat-primary","accent"!==n.color&&"warn"!==n.color)("mat-accent","accent"===n.color)("mat-warn","warn"===n.color)("ng-untouched",n._shouldForward("untouched"))("ng-touched",n._shouldForward("touched"))("ng-pristine",n._shouldForward("pristine"))("ng-dirty",n._shouldForward("dirty"))("ng-valid",n._shouldForward("valid"))("ng-invalid",n._shouldForward("invalid"))("ng-pending",n._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Ot([{provide:Zh,useExisting:i}])],ngContentSelectors:Hee,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,n){1&e&&(Hi(Bee),oe(0,xee,1,1,"ng-template",null,0,dl),y(2,"div",1,2),pe("click",function(a){return n._control.onContainerClick&&n._control.onContainerClick(a)}),oe(4,kee,1,0,"div",3),y(5,"div",4),oe(6,Mee,2,3,"div",5),oe(7,Eee,3,0,"div",6),oe(8,See,3,0,"div",7),y(9,"div",8),oe(10,Tee,1,1,"ng-template",9),wt(11),k(),oe(12,Iee,2,0,"div",10),oe(13,Nee,2,0,"div",11),k(),oe(14,Lee,1,0,"div",12),k(),y(15,"div",13),oe(16,Oee,2,1,"div",14),oe(17,Pee,5,2,"div",15),k()),2&e&&(A(2),Mt("mdc-text-field--filled",!n._hasOutline())("mdc-text-field--outlined",n._hasOutline())("mdc-text-field--no-label",!n._hasFloatingLabel())("mdc-text-field--disabled",n._control.disabled)("mdc-text-field--invalid",n._control.errorState),A(2),N("ngIf",!n._hasOutline()&&!n._control.disabled),A(2),N("ngIf",n._hasOutline()),A(1),N("ngIf",n._hasIconPrefix),A(1),N("ngIf",n._hasTextPrefix),A(2),N("ngIf",!n._hasOutline()||n._forceDisplayInfixLabel()),A(2),N("ngIf",n._hasTextSuffix),A(1),N("ngIf",n._hasIconSuffix),A(1),N("ngIf",!n._hasOutline()),A(1),Mt("mat-mdc-form-field-subscript-dynamic-size","dynamic"===n.subscriptSizing),N("ngSwitch",n._getDisplayedMessages()),A(1),N("ngSwitchCase","error"),A(1),N("ngSwitchCase","hint"))},dependencies:[mi,ug,ou,mf,bf,IC,bN,wN,vN],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[FN.transitionMessages]},changeDetection:0}),i})(),OC=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt,Mr,wg,Kt]}),i})();const RC=new Ke("MAT_INPUT_VALUE_ACCESSOR"),Wee=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Gee=0;const qee=Wx(class{constructor(i,t,e,n){this._defaultErrorStateMatcher=i,this._parentForm=t,this._parentFormGroup=e,this.ngControl=n,this.stateChanges=new He}});let rs=(()=>{class i extends qee{get disabled(){return this._disabled}set disabled(e){this._disabled=xt(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Ed.required)??!1}set required(e){this._required=xt(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&AT().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=xt(e)}constructor(e,n,r,a,o,c,h,f,F,R){super(c,a,o,r),this._elementRef=e,this._platform=n,this._autofillMonitor=f,this._formField=R,this._uid="mat-input-"+Gee++,this.focused=!1,this.stateChanges=new He,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(fe=>AT().has(fe)),this._iOSKeyupListener=fe=>{const we=fe.target;!we.value&&0===we.selectionStart&&0===we.selectionEnd&&(we.setSelectionRange(1,1),we.setSelectionRange(0,0))};const W=this._elementRef.nativeElement,te=W.nodeName.toLowerCase();this._inputValueAccessor=h||W,this._previousNativeValue=this.value,this.id=this.id,n.IOS&&F.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===te,this._isTextarea="textarea"===te,this._isInFormField=!!R,this._isNativeSelect&&(this.controlType=W.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const n=this._elementRef.nativeElement;this._previousPlaceholder=e,e?n.setAttribute("placeholder",e):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Wee.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,n=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&n&&n.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Pn),D(Xl,10),D(Rc,8),D(Kh,8),D(Cf),D(RC,10),D(bJ),D(Rt),D(Zh,8))},i.\u0275dir=Oe({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,n){1&e&&pe("focus",function(){return n._focusChanged(!0)})("blur",function(){return n._focusChanged(!1)})("input",function(){return n._onInput()}),2&e&&(lo("id",n.id)("disabled",n.disabled)("required",n.required),Nt("name",n.name||null)("readonly",n.readonly&&!n._isNativeSelect||null)("aria-invalid",n.empty&&n.required?null:n.errorState)("aria-required",n.required)("id",n.id),Mt("mat-input-server",n._isServer)("mat-mdc-form-field-textarea-control",n._isInFormField&&n._isTextarea)("mat-mdc-form-field-input-control",n._isInFormField)("mdc-text-field__input",n._isInFormField)("mat-mdc-native-select-inline",n._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Ot([{provide:$f,useExisting:i}]),ot,mr]}),i})(),$ee=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt,OC,OC,uC,Kt]}),i})();class Hy{}class PC{}class Sd{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(e=>{const n=e.indexOf(":");if(n>0){const r=e.slice(0,n),a=r.toLowerCase(),o=e.slice(n+1).trim();this.maybeSetNormalizedName(r,a),this.headers.has(a)?this.headers.get(a).push(o):this.headers.set(a,[o])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof Sd?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(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new Sd;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Sd?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const a=t.value;if(a){let o=this.headers.get(e);if(!o)return;o=o.filter(c=>-1===a.indexOf(c)),0===o.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class Kee{encodeKey(t){return DN(t)}encodeValue(t){return DN(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const Zee=/%(\d[a-f0-9])/gi,Xee={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function DN(i){return encodeURIComponent(i).replace(Zee,(t,e)=>Xee[e]??t)}function Vy(i){return`${i}`}class Lu{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Kee,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Qee(i,t){const e=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(r=>{const a=r.indexOf("="),[o,c]=-1==a?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,a)),t.decodeValue(r.slice(a+1))],h=e.get(o)||[];h.push(c),e.set(o,h)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e],r=Array.isArray(n)?n.map(Vy):[Vy(n)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const r=t[n];Array.isArray(r)?r.forEach(a=>{e.push({param:n,value:a,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Lu({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(Vy(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let n=this.map.get(t.param)||[];const r=n.indexOf(Vy(t.value));-1!==r&&n.splice(r,1),n.length>0?this.map.set(t.param,n):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class Jee{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),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()}}function MN(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function EN(i){return typeof Blob<"u"&&i instanceof Blob}function SN(i){return typeof FormData<"u"&&i instanceof FormData}class h_{constructor(t,e,n,r){let a;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function ete(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,a=r):a=n,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params)),this.headers||(this.headers=new Sd),this.context||(this.context=new Jee),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{const c=e.indexOf("?");this.urlWithParams=e+(-1===c?"?":cR.set(W,t.setHeaders[W]),h)),t.setParams&&(f=Object.keys(t.setParams).reduce((R,W)=>R.set(W,t.setParams[W]),f)),new h_(e,n,a,{params:f,headers:h,context:F,reportProgress:c,responseType:r,withCredentials:o})}}var qa=(()=>((qa=qa||{})[qa.Sent=0]="Sent",qa[qa.UploadProgress=1]="UploadProgress",qa[qa.ResponseHeader=2]="ResponseHeader",qa[qa.DownloadProgress=3]="DownloadProgress",qa[qa.Response=4]="Response",qa[qa.User=5]="User",qa))();class BC{constructor(t,e=200,n="OK"){this.headers=t.headers||new Sd,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class HC extends BC{constructor(t={}){super(t),this.type=qa.ResponseHeader}clone(t={}){return new HC({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Yy extends BC{constructor(t={}){super(t),this.type=qa.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Yy({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class AN extends BC{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function VC(i,t){return{body:t,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials}}let jy=(()=>{class i{constructor(e){this.handler=e}request(e,n,r={}){let a;if(e instanceof h_)a=e;else{let h,f;h=r.headers instanceof Sd?r.headers:new Sd(r.headers),r.params&&(f=r.params instanceof Lu?r.params:new Lu({fromObject:r.params})),a=new h_(e,n,void 0!==r.body?r.body:null,{headers:h,context:r.context,params:f,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const o=qt(a).pipe(hu(h=>this.handler.handle(h)));if(e instanceof h_||"events"===r.observe)return o;const c=o.pipe(Ki(h=>h instanceof Yy));switch(r.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return c.pipe(bt(h=>{if(null!==h.body&&!(h.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return h.body}));case"blob":return c.pipe(bt(h=>{if(null!==h.body&&!(h.body instanceof Blob))throw new Error("Response is not a Blob.");return h.body}));case"text":return c.pipe(bt(h=>{if(null!==h.body&&"string"!=typeof h.body)throw new Error("Response is not a string.");return h.body}));default:return c.pipe(bt(h=>h.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:(new Lu).append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,VC(r,n))}post(e,n,r={}){return this.request("POST",e,VC(r,n))}put(e,n,r={}){return this.request("PUT",e,VC(r,n))}}return i.\u0275fac=function(e){return new(e||i)(Ee(Hy))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();function TN(i,t){return t(i)}function ite(i,t){return(e,n)=>t.intercept(e,{handle:r=>i(r,n)})}const rte=new Ke("HTTP_INTERCEPTORS"),m_=new Ke("HTTP_INTERCEPTOR_FNS");function ate(){let i=null;return(t,e)=>(null===i&&(i=(Xt(rte,{optional:!0})??[]).reduceRight(ite,TN)),i(t,e))}let IN=(()=>{class i extends Hy{constructor(e,n){super(),this.backend=e,this.injector=n,this.chain=null}handle(e){if(null===this.chain){const n=Array.from(new Set(this.injector.get(m_)));this.chain=n.reduceRight((r,a)=>function nte(i,t,e){return(n,r)=>e.runInContext(()=>t(n,a=>i(a,r)))}(r,a,this.injector),TN)}return this.chain(e,n=>this.backend.handle(n))}}return i.\u0275fac=function(e){return new(e||i)(Ee(PC),Ee(_c))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();const cte=/^\)\]\}',?\n/;let LN=(()=>{class i{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new mt(n=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((te,fe)=>r.setRequestHeader(te,fe.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const te=e.detectContentTypeHeader();null!==te&&r.setRequestHeader("Content-Type",te)}if(e.responseType){const te=e.responseType.toLowerCase();r.responseType="json"!==te?te:"text"}const a=e.serializeBody();let o=null;const c=()=>{if(null!==o)return o;const te=r.statusText||"OK",fe=new Sd(r.getAllResponseHeaders()),we=function dte(i){return"responseURL"in i&&i.responseURL?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):null}(r)||e.url;return o=new HC({headers:fe,status:r.status,statusText:te,url:we}),o},h=()=>{let{headers:te,status:fe,statusText:we,url:Ae}=c(),Ne=null;204!==fe&&(Ne=typeof r.response>"u"?r.responseText:r.response),0===fe&&(fe=Ne?200:0);let et=fe>=200&&fe<300;if("json"===e.responseType&&"string"==typeof Ne){const Be=Ne;Ne=Ne.replace(cte,"");try{Ne=""!==Ne?JSON.parse(Ne):null}catch(dt){Ne=Be,et&&(et=!1,Ne={error:dt,text:Ne})}}et?(n.next(new Yy({body:Ne,headers:te,status:fe,statusText:we,url:Ae||void 0})),n.complete()):n.error(new AN({error:Ne,headers:te,status:fe,statusText:we,url:Ae||void 0}))},f=te=>{const{url:fe}=c(),we=new AN({error:te,status:r.status||0,statusText:r.statusText||"Unknown Error",url:fe||void 0});n.error(we)};let F=!1;const R=te=>{F||(n.next(c()),F=!0);let fe={type:qa.DownloadProgress,loaded:te.loaded};te.lengthComputable&&(fe.total=te.total),"text"===e.responseType&&r.responseText&&(fe.partialText=r.responseText),n.next(fe)},W=te=>{let fe={type:qa.UploadProgress,loaded:te.loaded};te.lengthComputable&&(fe.total=te.total),n.next(fe)};return r.addEventListener("load",h),r.addEventListener("error",f),r.addEventListener("timeout",f),r.addEventListener("abort",f),e.reportProgress&&(r.addEventListener("progress",R),null!==a&&r.upload&&r.upload.addEventListener("progress",W)),r.send(a),n.next({type:qa.Sent}),()=>{r.removeEventListener("error",f),r.removeEventListener("abort",f),r.removeEventListener("load",h),r.removeEventListener("timeout",f),e.reportProgress&&(r.removeEventListener("progress",R),null!==a&&r.upload&&r.upload.removeEventListener("progress",W)),r.readyState!==r.DONE&&r.abort()}})}}return i.\u0275fac=function(e){return new(e||i)(Ee(nT))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();const YC=new Ke("XSRF_ENABLED"),ON=new Ke("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),RN=new Ke("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class PN{}let mte=(()=>{class i{constructor(e,n,r){this.doc=e,this.platform=n,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=zA(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return i.\u0275fac=function(e){return new(e||i)(Ee(Ci),Ee(ru),Ee(ON))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();function fte(i,t){const e=i.url.toLowerCase();if(!Xt(YC)||"GET"===i.method||"HEAD"===i.method||e.startsWith("http://")||e.startsWith("https://"))return t(i);const n=Xt(PN).getToken(),r=Xt(RN);return null!=n&&!i.headers.has(r)&&(i=i.clone({headers:i.headers.set(r,n)})),t(i)}var Ma=(()=>((Ma=Ma||{})[Ma.Interceptors=0]="Interceptors",Ma[Ma.LegacyInterceptors=1]="LegacyInterceptors",Ma[Ma.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ma[Ma.NoXsrfProtection=3]="NoXsrfProtection",Ma[Ma.JsonpSupport=4]="JsonpSupport",Ma[Ma.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ma))();function Kf(i,t){return{\u0275kind:i,\u0275providers:t}}function pte(...i){const t=[jy,LN,IN,{provide:Hy,useExisting:IN},{provide:PC,useExisting:LN},{provide:m_,useValue:fte,multi:!0},{provide:YC,useValue:!0},{provide:PN,useClass:mte}];for(const e of i)t.push(...e.\u0275providers);return function N7(i){return{\u0275providers:i}}(t)}const BN=new Ke("LEGACY_INTERCEPTOR_FN");let HN=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[pte(Kf(Ma.LegacyInterceptors,[{provide:BN,useFactory:ate},{provide:m_,useExisting:BN,multi:!0}]))]}),i})();const _te=["*"];let zy;function f_(i){return function bte(){if(void 0===zy&&(zy=null,typeof window<"u")){const i=window;void 0!==i.trustedTypes&&(zy=i.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return zy}()?.createHTML(i)||i}function VN(i){return Error(`Unable to find icon with the name "${i}"`)}function YN(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function jN(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}class Xh{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let Uy=(()=>{class i{constructor(e,n,r,a){this._httpClient=e,this._sanitizer=n,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,n,r){return this.addSvgIconInNamespace("",e,n,r)}addSvgIconLiteral(e,n,r){return this.addSvgIconLiteralInNamespace("",e,n,r)}addSvgIconInNamespace(e,n,r,a){return this._addSvgIconConfig(e,n,new Xh(r,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,n,r,a){const o=this._sanitizer.sanitize(br.HTML,r);if(!o)throw jN(r);const c=f_(o);return this._addSvgIconConfig(e,n,new Xh("",c,a))}addSvgIconSet(e,n){return this.addSvgIconSetInNamespace("",e,n)}addSvgIconSetLiteral(e,n){return this.addSvgIconSetLiteralInNamespace("",e,n)}addSvgIconSetInNamespace(e,n,r){return this._addSvgIconSetConfig(e,new Xh(n,null,r))}addSvgIconSetLiteralInNamespace(e,n,r){const a=this._sanitizer.sanitize(br.HTML,n);if(!a)throw jN(n);const o=f_(a);return this._addSvgIconSetConfig(e,new Xh("",o,r))}registerFontClassAlias(e,n=e){return this._fontCssClassesByAlias.set(e,n),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const n=this._sanitizer.sanitize(br.RESOURCE_URL,e);if(!n)throw YN(e);const r=this._cachedIconsByUrl.get(n);return r?qt(Wy(r)):this._loadSvgIconFromConfig(new Xh(e,null)).pipe(Jr(a=>this._cachedIconsByUrl.set(n,a)),bt(a=>Wy(a)))}getNamedSvgIcon(e,n=""){const r=zN(n,e);let a=this._svgIconConfigs.get(r);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(n,e),a)return this._svgIconConfigs.set(r,a),this._getSvgFromConfig(a);const o=this._iconSetConfigs.get(n);return o?this._getSvgFromIconSetConfigs(e,o):Th(VN(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?qt(Wy(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(bt(n=>Wy(n)))}_getSvgFromIconSetConfigs(e,n){const r=this._extractIconWithNameFromAnySet(e,n);return r?qt(r):h8(n.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(vs(c=>{const f=`Loading icon set URL: ${this._sanitizer.sanitize(br.RESOURCE_URL,o.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(f)),qt(null)})))).pipe(bt(()=>{const o=this._extractIconWithNameFromAnySet(e,n);if(!o)throw VN(e);return o}))}_extractIconWithNameFromAnySet(e,n){for(let r=n.length-1;r>=0;r--){const a=n[r];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){const o=this._svgElementFromConfig(a),c=this._extractSvgIconFromSet(o,e,a.options);if(c)return c}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Jr(n=>e.svgText=n),bt(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?qt(null):this._fetchIcon(e).pipe(Jr(n=>e.svgText=n))}_extractSvgIconFromSet(e,n,r){const a=e.querySelector(`[id="${n}"]`);if(!a)return null;const o=a.cloneNode(!0);if(o.removeAttribute("id"),"svg"===o.nodeName.toLowerCase())return this._setSvgAttributes(o,r);if("symbol"===o.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(o),r);const c=this._svgElementFromString(f_(""));return c.appendChild(o),this._setSvgAttributes(c,r)}_svgElementFromString(e){const n=this._document.createElement("DIV");n.innerHTML=e;const r=n.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const n=this._svgElementFromString(f_("")),r=e.attributes;for(let a=0;af_(f)),Tg(()=>this._inProgressUrlFetches.delete(o)),Xa());return this._inProgressUrlFetches.set(o,h),h}_addSvgIconConfig(e,n,r){return this._svgIconConfigs.set(zN(e,n),r),this}_addSvgIconSetConfig(e,n){const r=this._iconSetConfigs.get(e);return r?r.push(n):this._iconSetConfigs.set(e,[n]),this}_svgElementFromConfig(e){if(!e.svgElement){const n=this._svgElementFromString(e.svgText);this._setSvgAttributes(n,e.options),e.svgElement=n}return e.svgElement}_getIconConfigFromResolvers(e,n){for(let r=0;rt?t.pathname+t.search:""}}}),UN=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Dte=UN.map(i=>`[${i}]`).join(", "),Mte=/^url\(['"]?#(.*?)['"]?\)$/;let pr=(()=>{class i extends Fte{get inline(){return this._inline}set inline(e){this._inline=xt(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const n=this._cleanupFontValue(e);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const n=this._cleanupFontValue(e);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(e,n,r,a,o,c){super(e),this._iconRegistry=n,this._location=a,this._errorHandler=o,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=x.EMPTY,c&&(c.color&&(this.color=this.defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const n=e.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let n=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){const r=e.childNodes[n];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),n.forEach(r=>e.classList.add(r)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const n=this._elementsWithExternalReferences;n&&n.forEach((r,a)=>{r.forEach(o=>{a.setAttribute(o.name,`url('${e}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(e){const n=e.querySelectorAll(Dte),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{const c=n[a],h=c.getAttribute(o),f=h?h.match(Mte):null;if(f){let F=r.get(c);F||(F=[],r.set(c,F)),F.push({name:o,value:f[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[n,r]=this._splitIconName(e);n&&(this._svgNamespace=n),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,n).pipe(gn(1)).subscribe(a=>this._setSvgElement(a),a=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${n}:${r}! ${a.message}`))})}}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Uy),bo("aria-hidden"),D(kte),D(rd),D(xte,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,n){2&e&&(Nt("data-mat-icon-type",n._usingFontIcon()?"font":"svg")("data-mat-icon-name",n._svgName||n.fontIcon)("data-mat-icon-namespace",n._svgNamespace||n.fontSet)("fontIcon",n._usingFontIcon()?n.fontIcon:null),Mt("mat-icon-inline",n.inline)("mat-icon-no-color","primary"!==n.color&&"accent"!==n.color&&"warn"!==n.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[ot],ngContentSelectors:_te,decls:1,vars:0,template:function(e,n){1&e&&(Hi(),wt(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),i})(),Gy=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt,Kt]}),i})();class Qf{constructor(t,e,n){this.appState=t,this.dialogRef=e,this.data=n,this.publicKey=this.appState.getPublicKeyDisplay()}onNoClick(){this.data.password="",this.dialogRef.close()}}Qf.\u0275fac=function(t){return new(t||Qf)(D(ln),D(Hs),D(Ac))},Qf.\u0275cmp=$e({type:Qf,selectors:[["password-dialog"]],decls:24,vars:6,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["appearance","fill",1,"input-full-width","connect-input"],["matPrefix","",1,"circle"],["autocomplete","username","name","email","placeholder","npub...","matInput","","type","email",3,"readonly","ngModel","ngModelChange"],["appearance","fill",1,"input-full-width"],["matInput","","type","password","autocomplete","current-password","name","password",3,"ngModel","ngModelChange"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"h1",1),B(2),k(),y(3,"div",2)(4,"p"),B(5),k(),y(6,"form")(7,"mat-form-field",3)(8,"mat-icon",4),B(9,"person_add"),k(),y(10,"mat-label"),B(11,"Public Key"),k(),y(12,"input",5),pe("ngModelChange",function(r){return e.publicKey=r}),k()(),y(13,"mat-form-field",6)(14,"mat-icon",4),B(15,"password"),k(),y(16,"mat-label"),B(17,"Password"),k(),y(18,"input",7),pe("ngModelChange",function(r){return e.data.password=r}),k()()()(),y(19,"div",8)(20,"button",9),pe("click",function(){return e.onNoClick()}),B(21,"Cancel"),k(),y(22,"button",10),B(23,"Approve"),k()()()),2&t&&(A(2),ri("Approve Action: ",e.data.action,""),A(3),ri('Do you want to approve action "',e.data.action,'"?'),A(7),N("readonly",!0)("ngModel",e.publicKey),A(6),N("ngModel",e.data.password),A(4),N("mat-dialog-close",e.data))},dependencies:[rs,Eo,Wo,Pc,Cr,pr,qf,uo,Wa,Wf,Ga,Rc,Rf,Oh,gu,_u],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});const WN=new TextEncoder,Ete=new TextDecoder;class Bc{getPasswordKey(t){return window.crypto.subtle.importKey("raw",WN.encode(t),"PBKDF2",!1,["deriveKey"])}deriveKey(t,e,n){return window.crypto.subtle.deriveKey({name:"PBKDF2",salt:e,iterations:25e4,hash:"SHA-256"},t,{name:"AES-GCM",length:256},!1,n)}encryptData(t,e){var n=this;return Se(function*(){try{const r=window.crypto.getRandomValues(new Uint8Array(16)),a=window.crypto.getRandomValues(new Uint8Array(12)),o=yield n.getPasswordKey(e),c=yield n.deriveKey(o,r,["encrypt"]),h=yield window.crypto.subtle.encrypt({name:"AES-GCM",iv:a},c,WN.encode(t)),f=new Uint8Array(h);let F=new Uint8Array(r.byteLength+a.byteLength+f.byteLength);return F.set(r,0),F.set(a,r.byteLength),F.set(f,r.byteLength+a.byteLength),Hh.encode(F)}catch(r){return console.error(r),""}})()}decryptData(t,e){var n=this;return Se(function*(){try{const r=Hh.decode(t),a=r.slice(0,16),o=r.slice(16,28),c=r.slice(28),h=yield n.getPasswordKey(e.toString()),f=yield n.deriveKey(h,a,["decrypt"]),F=yield window.crypto.subtle.decrypt({name:"AES-GCM",iv:o},f,c);return Ete.decode(F)}catch(r){return console.error(r),""}})()}}Bc.\u0275fac=function(t){return new(t||Bc)},Bc.\u0275prov=it({token:Bc,factory:Bc.\u0275fac,providedIn:"root"});class Jl{constructor(t,e,n){this.dialog=t,this.snackBar=e,this.security=n,this.defaultRelays={"wss://relay.plebstr.com":{read:!0,write:!0},"wss://relay.nostr.info":{read:!0,write:!0},"wss://nos.lol":{read:!0,write:!0},"wss://relay.nostr.wirednet.jp":{read:!0,write:!0},"wss://relay.damus.io":{read:!0,write:!0},"wss://nostr.mom":{read:!0,write:!0},"wss://relay.snort.social":{read:!0,write:!0},"wss://relay.nostr.bg":{read:!0,write:!0},"wss://nostr.fmt.wiz.biz":{read:!0,write:!0}}}sign(t){var e=this;return Se(function*(){let n=localStorage.getItem("blockcore:notes:nostr:prvkey");return n?new Promise((r,a)=>{e.dialog.open(Qf,{data:{action:"Sign",password:""},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var c=Se(function*(h){if(!h)return void a();const f=yield e.security.decryptData(n,h.password);if(!f)return e.snackBar.open("Unable to decrypt data. Probably wrong password. Try again.","Hide",{duration:3e3,horizontalPosition:"center",verticalPosition:"bottom"}),void a("Unable to decrypt data. Probably wrong password.");const F=Uf(f);t.pubkey!=F&&a("The event public key is not correct for this private key"),t.id||(t.id=yield Au(t)),Tu(t)||a("Invalid Nostr event.");const R=Jk(t,f);t.sig=R,r(t)});return function(h){return c.apply(this,arguments)}}())}):globalThis.nostr.signEvent(t)})()}relays(){var t=this;return Se(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))return t.defaultRelays;try{return globalThis.nostr.getRelays()}catch{return t.defaultRelays}})()}decrypt(t,e){return Se(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))throw new Error("Private key based decrypt not implemented yet.");return yield globalThis.nostr.nip04.decrypt(t,e)})()}encrypt(t,e){return Se(function*(){if(localStorage.getItem("blockcore:notes:nostr:prvkey"))throw new Error("Private key based encrypt not implemented yet.");return yield globalThis.nostr.nip04.encrypt(t,e)})()}}Jl.\u0275fac=function(t){return new(t||Jl)(Ee(ja),Ee(js),Ee(Bc))},Jl.\u0275prov=it({token:Jl,factory:Jl.\u0275fac,providedIn:"root"});var Ad=(()=>(function(i){i["\u2764\ufe0f"]="\u2764\ufe0f",i["\u{1f494}"]="\u{1f494}"}(Ad||(Ad={})),Ad))(),$a=(()=>(function(i){i[i.Public=0]="Public",i[i.Follow=1]="Follow",i[i.Mute=2]="Mute",i[i.Block=3]="Block"}($a||($a={})),$a))(),Ht=new WeakMap,p_=new WeakMap,Jh=new WeakMap,qy=new WeakMap,Zf=new WeakMap,$y=new WeakMap,Hc=new WeakMap,Xf=new WeakMap,Jf=new WeakMap,Ky=new WeakMap,Qy=new WeakMap,Td=new WeakMap,g_=new WeakMap,Us=new WeakMap,ep=new WeakMap,__=new WeakMap,tp=new WeakMap,Zy=new WeakMap,b_=new WeakMap,Xy=new WeakMap,y_=new WeakMap,Jy=new WeakMap,ev=new WeakMap,v_=new WeakMap,Ou=new WeakMap,w_=new WeakMap,wl=new WeakMap,ip=new WeakMap,F_=new WeakMap,tv=new WeakMap;class qr{constructor(t,e){bn(this,Ht,{writable:!0,value:void 0}),bn(this,p_,{writable:!0,value:void 0}),bn(this,Jh,{writable:!0,value:void 0}),bn(this,qy,{writable:!0,value:void 0}),bn(this,Zf,{writable:!0,value:void 0}),bn(this,$y,{writable:!0,value:void 0}),bn(this,Hc,{writable:!0,value:void 0}),bn(this,Xf,{writable:!0,value:void 0}),bn(this,Jf,{writable:!0,value:void 0}),bn(this,Ky,{writable:!0,value:void 0}),bn(this,Qy,{writable:!0,value:void 0}),bn(this,Td,{writable:!0,value:void 0}),bn(this,g_,{writable:!0,value:void 0}),bn(this,Us,{writable:!0,value:void 0}),bn(this,ep,{writable:!0,value:void 0}),bn(this,__,{writable:!0,value:void 0}),bn(this,tp,{writable:!0,value:void 0}),bn(this,Zy,{writable:!0,value:void 0}),bn(this,b_,{writable:!0,value:void 0}),bn(this,Xy,{writable:!0,value:void 0}),bn(this,y_,{writable:!0,value:void 0}),bn(this,Jy,{writable:!0,value:void 0}),bn(this,ev,{writable:!0,value:void 0}),bn(this,v_,{writable:!0,value:void 0}),bn(this,Ou,{writable:!0,value:void 0}),bn(this,w_,{writable:!0,value:void 0}),bn(this,wl,{writable:!0,value:void 0}),bn(this,ip,{writable:!0,value:void 0}),bn(this,F_,{writable:!0,value:void 0}),bn(this,tv,{writable:!0,value:void 0}),this.eventService=t,this.options=e,fi(this,Ht,{feedEvents:[],feedEventsView:[],threadEvents:[],followingEvents:[],followingEventsView:[],rootEvents:[],replyEvents:[],rootEventsView:[],replyEventsView:[],reactions:new Map}),this.viewCounts={feedEventsViewCount:5,feedEventsViewCountExhausted:!1,followingEventsViewCount:5,followingEventsViewExhausted:!1,rootEventsViewCount:5,rootEventsViewCountExhausted:!1,replyEventsViewCount:5,replyEventsViewCountExhausted:!1},fi(this,p_,new Oi(0)),fi(this,Jh,void 0),fi(this,qy,new Oi(this.eventId)),fi(this,Zf,void 0),fi(this,$y,new Oi(this.pubkey)),fi(this,Hc,void 0),fi(this,Xf,new Oi(this.profile)),this.viewEvents=[],fi(this,Jf,new Oi(this.viewEvents)),fi(this,Ky,new Oi(void 0)),this.viewReplyEvents=[],fi(this,Qy,new Oi(this.viewReplyEvents)),this.events=[],fi(this,Td,new Oi(this.events)),fi(this,g_,new Oi(void 0)),this.previousProfileSinceValue=0,this.previousFeedSinceValue=0,this.exhausted=!1,fi(this,Us,[]),fi(this,ep,[]),this.viewEventsStart=0,this.viewEventsCount=5,fi(this,__,new Oi(Pe(this,Ht).feedEvents)),fi(this,tp,new Oi(Pe(this,Ht).feedEventsView)),fi(this,Zy,new Oi(Pe(this,Ht).rootEvents)),fi(this,b_,new Oi(Pe(this,Ht).rootEventsView)),fi(this,Xy,new Oi(Pe(this,Ht).replyEvents)),fi(this,y_,new Oi(Pe(this,Ht).replyEventsView)),fi(this,Jy,new Oi(Pe(this,Ht).threadEvents)),fi(this,ev,new Oi(Pe(this,Ht).followingEvents)),fi(this,v_,new Oi(Pe(this,Ht).followingEventsView)),fi(this,w_,new Oi(Pe(this,Ou))),fi(this,ip,new Oi(Pe(this,wl))),fi(this,tv,new Oi(Pe(this,F_)))}get unreadNotifications$(){return Pe(this,p_).asObservable()}get eventId(){return Pe(this,Jh)}get eventId$(){return Pe(this,qy).asObservable()}get pubkey(){return Pe(this,Zf)}get pubkey$(){return Pe(this,$y).asObservable()}setPubKey(t,e=!0){fi(this,Zf,t),e&&(fi(this,Hc,void 0),this.events=[],this.viewEvents=[],this.previousProfileSinceValue=0,this.exhausted=!1,this.clearLists(),Pe(this,Td).next(this.events),Pe(this,Xf).next(Pe(this,Hc)),Pe(this,$y).next(Pe(this,Zf)))}setProfile(t,e=!1){const n=Pe(this,Hc);fi(this,Hc,t),(e||n?.pubkey!=t?.pubkey)&&Pe(this,Xf).next(Pe(this,Hc))}setEventId(t){console.log("setEventId:",t),fi(this,Jh,t),fi(this,wl,void 0),this.events=[],Pe(this,qy).next(Pe(this,Jh)),Pe(this,ip).next(Pe(this,wl)),Pe(this,Td).next(this.events)}get profile(){return Pe(this,Hc)}get profile$(){return Pe(this,Xf).asObservable()}get viewEvents$(){return Pe(this,Jf).asObservable()}get reactions$(){return Pe(this,Ky).asObservable()}get viewReplyEvents$(){return Pe(this,Qy).asObservable()}get events$(){return Pe(this,Td).asObservable()}get loadMore$(){return Pe(this,g_).asObservable()}triggerLoadMoreProfileEvents(){let t=0,e=0;Pe(this,Ht).rootEvents.length>0&&(t=Pe(this,Ht).rootEvents[Pe(this,Ht).rootEvents.length-1].created_at),Pe(this,Ht).replyEvents.length>0&&(e=Pe(this,Ht).replyEvents[Pe(this,Ht).replyEvents.length-1].created_at);let n=t>e?t:e;n>this.previousProfileSinceValue&&(this.previousProfileSinceValue=n,Pe(this,g_).next({until:n,type:"profile"}))}triggerLoadMoreFeedEvents(){const t=Pe(this,Ht).feedEvents[Pe(this,Ht).feedEvents.length-1].created_at;t>this.previousFeedSinceValue&&(this.previousFeedSinceValue=t,Pe(this,g_).next({circle:Pe(this,F_),until:t,type:"feed"}))}children(t){return this.events.filter(n=>n.parentEventId===t)}children$(t){return this.events$.pipe(Jr(e=>e.filter(n=>n.replyEventId===t)))}get notifications(){return Pe(this,Us)}get activityFeed$(){return qt(Pe(this,ep))}putNotifications(t){t=t.sort((e,n)=>e.created!e.seen).length;Pe(this,p_).next(t)}putNotification(t){const e=Pe(this,Us).findIndex(n=>n.id==t.id);-1==e?(Pe(this,Us).unshift(t),fi(this,Us,Pe(this,Us).sort((n,r)=>n.created=e&&(this.viewCounts.feedEventsViewCountExhausted=e>=Pe(this,Ht).feedEvents.length,Pe(this,Ht).feedEvents.length>0&&this.viewCounts.feedEventsViewCountExhausted&&this.triggerLoadMoreFeedEvents())}updateRootEventsView(t,e){this.viewCounts.rootEventsViewCount=e,Pe(this,Ht).rootEventsView=Pe(this,Ht).rootEvents.slice(t,e),Pe(this,b_).next(Pe(this,Ht).rootEventsView),Pe(this,Ht).rootEvents.length>=e&&(this.viewCounts.rootEventsViewCountExhausted=e>=Pe(this,Ht).rootEvents.length,Pe(this,Ht).rootEvents.length>0&&this.viewCounts.rootEventsViewCountExhausted&&this.triggerLoadMoreProfileEvents())}updateReplyEventsView(t,e){this.viewCounts.replyEventsViewCount=e,Pe(this,Ht).replyEventsView=Pe(this,Ht).replyEvents.slice(t,e),Pe(this,y_).next(Pe(this,Ht).replyEventsView),Pe(this,Ht).replyEvents.length>=e&&(this.viewCounts.replyEventsViewCountExhausted=e>=Pe(this,Ht).replyEvents.length,Pe(this,Ht).replyEvents.length>0&&this.viewCounts.replyEventsViewCountExhausted&&this.triggerLoadMoreProfileEvents())}updateFollowingEventsView(t,e){this.viewCounts.followingEventsViewCount=e,Pe(this,Ht).followingEventsView=Pe(this,Ht).followingEvents.slice(t,e),this.viewCounts.followingEventsViewExhausted=e>=Pe(this,Ht).followingEvents.length,Pe(this,v_).next(Pe(this,Ht).followingEventsView),Pe(this,Ht)}sortAscending(t,e){return t.created_atn.id==t.id);-1==e?(Pe(this,Ht).feedEvents.push(t),Pe(this,Ht).feedEvents=Pe(this,Ht).feedEvents.sort(this.sortDescending),this.updateFeedEventsView(0,this.viewCounts.feedEventsViewCount)):Pe(this,Ht).feedEvents[e]=t}}putEvent(t){if(t.kind==Qn.Reaction){if(!this.options.values.enableReactions)return;const e=this.eventService.lastETag(t);if(e){const n=this.getThreadEntry(e);if(n.reactionIds.includes(t.id))return;""==t.content||"+"==t.content?n.reactions[Ad["\u2764\ufe0f"]]?n.reactions[Ad["\u2764\ufe0f"]]++:n.reactions[Ad["\u2764\ufe0f"]]=1:"-"==t.content?n.reactions[Ad["\u{1f494}"]]?n.reactions[Ad["\u{1f494}"]]++:n.reactions[Ad["\u{1f494}"]]=1:n.reactions[t.content]?n.reactions[t.content]++:n.reactions[t.content]=1,n.reactionIds.push(t.id),this.putThreadEntry(n)}}else if(6==t.kind){const e=this.eventService.lastETag(t);if(e){const n=this.getThreadEntry(e);if(n.reactionIds.includes(t.id))return;n.boosts++,n.reactionIds.push(t.id),this.putThreadEntry(n)}}else if(t.kind==Qn.Text){if(t=this.calculateFields(t),this.pubkey)if(t.parentEventId){if(t.pubkey!=this.pubkey)return void console.log("EVENT BY OTHERS ON PROFILE:",t);const n=Pe(this,Ht).replyEvents.findIndex(r=>r.id==t.id);-1==n?(Pe(this,Ht).replyEvents.push(t),Pe(this,Ht).replyEvents=Pe(this,Ht).replyEvents.sort(this.sortDescending),this.updateReplyEventsView(0,this.viewCounts.replyEventsViewCount)):Pe(this,Ht).replyEvents[n]=t}else{if(t.pubkey!=this.pubkey)return void console.log("EVENT BY OTHERS ON PROFILE:",t);const n=Pe(this,Ht).rootEvents.findIndex(r=>r.id==t.id);-1==n?(Pe(this,Ht).rootEvents.push(t),Pe(this,Ht).rootEvents=Pe(this,Ht).rootEvents.sort(this.sortDescending),this.updateRootEventsView(0,this.viewCounts.rootEventsViewCount)):Pe(this,Ht).rootEvents[n]=t}else if(this.eventId){const n=Pe(this,Ht).threadEvents.findIndex(r=>r.id==t.id);-1==n?(Pe(this,Ht).threadEvents.push(t),Pe(this,Ht).threadEvents=Pe(this,Ht).threadEvents.sort(this.sortDescending)):Pe(this,Ht).threadEvents[n]=t}else{const n=Pe(this,Ht).followingEvents.findIndex(r=>r.id==t.id);-1==n?(Pe(this,Ht).followingEvents.push(t),Pe(this,Ht).followingEvents=Pe(this,Ht).followingEvents.sort(this.sortDescending),this.updateFollowingEventsView(0,this.viewCounts.followingEventsViewCount)):Pe(this,Ht).followingEvents[n]=t}const e=this.events.findIndex(n=>n.id==t.id);e>-1?this.events[e]=t:(this.events.unshift(t),this.pubkey?(this.events=this.events.sort((n,r)=>n.created_atn.created_ate.kind==Qn.Text),this.viewEvents=[],this.events=this.events.map(e=>this.calculateFields(e)),this.events=this.events.sort(this.pubkey?(e,n)=>e.created_ate.created_at"e"===n[0]);for(let n=0;n3&&("root"==r[3]&&(t.rootEventId=r[1]),"reply"==r[3]&&(t.replyEventId=r[1]))}return e.length>0&&(t.rootEventId=e[0][1],t.parentEventId=e[e.length-1][1]),e.length<2||(t.replyEventId=e[1][1]),t.rootEventId==t.parentEventId&&(t.rootEventId=void 0),t}setEvent(t){const e=Pe(this,wl)?.id;fi(this,Jh,t?.id),fi(this,wl,t?this.calculateFields(t):t),Pe(this,wl)?.id!=e&&(Pe(this,ip).next(Pe(this,wl)),this.parentEventId=Pe(this,wl)?.parentEventId,Pe(this,w_).next(void 0))}setParentEvent(t){const e=Pe(this,Ou)?.id;t?(fi(this,Ou,this.calculateFields(t)),this.parentEventId=Pe(this,Ou).id):this.parentEventId=void 0,Pe(this,Ou)?.id!=e&&Pe(this,w_).next(Pe(this,Ou))}get circle$(){return Pe(this,tv).asObservable()}setFeedCircle(t){fi(this,F_,t),Pe(this,tv).next(Pe(this,F_))}}qr.\u0275fac=function(t){return new(t||qr)(Ee(zs),Ee(Er))},qr.\u0275prov=it({token:qr,factory:qr.\u0275fac,providedIn:"root"});var em=new WeakMap;class ws{get queues$(){return Pe(this,em).asObservable()}constructor(){bn(this,em,{writable:!0,value:void 0}),fi(this,em,new Oi(void 0))}enqueProfile(t){Pe(this,em).next({identifier:t,type:"Profile"})}enqueEvent(t){Pe(this,em).next({identifier:t,type:"Event"})}enqueArticle(t){Pe(this,em).next({identifier:t,type:"Article"})}enqueContacts(t){Pe(this,em).next({identifier:t,type:"Contacts"})}enque(t,e){"Profile"===e?this.enqueProfile(t):"Event"===e?this.enqueEvent(t):"Contacts"===e?this.enqueContacts(t):"Article"===e&&this.enqueArticle(t)}}function np(i,t){z5(i,t),t.add(i)}function Go(i,t,e){if(!t.has(i))throw new TypeError("attempted to get private field on non-instance");return e}ws.\u0275fac=function(t){return new(t||ws)},ws.\u0275prov=it({token:ws,factory:ws.\u0275fac,providedIn:"root"});var tm=new WeakMap;class Ste{constructor(t){bn(this,tm,{writable:!0,value:void 0}),this.maxEntries=t,fi(this,tm,new Map)}get(t){const e=Pe(this,tm).get(t);if(e)return Pe(this,tm).size>this.maxEntries&&Array.from(Pe(this,tm).entries()).sort(a=>a[1].accessed).slice(0,20).forEach(a=>{Pe(this,tm).delete(a[0])}),e.accessed=Date.now(),e}set(t,e){Pe(this,tm).set(t,{accessed:Date.now(),value:e})}}const Ate=(i,t)=>t.some(e=>i instanceof e);let GN,qN;const $N=new WeakMap,jC=new WeakMap,KN=new WeakMap,zC=new WeakMap,UC=new WeakMap;let WC={get(i,t,e){if(i instanceof IDBTransaction){if("done"===t)return jC.get(i);if("objectStoreNames"===t)return i.objectStoreNames||KN.get(i);if("store"===t)return e.objectStoreNames[1]?void 0:e.objectStore(e.objectStoreNames[0])}return Id(i[t])},set:(i,t,e)=>(i[t]=e,!0),has:(i,t)=>i instanceof IDBTransaction&&("done"===t||"store"===t)||t in i};function Pte(i){return"function"==typeof i?function Rte(i){return i!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function Ite(){return qN||(qN=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(i)?function(...t){return i.apply(GC(this),t),Id($N.get(this))}:function(...t){return Id(i.apply(GC(this),t))}:function(t,...e){const n=i.call(GC(this),t,...e);return KN.set(n,t.sort?t.sort():[t]),Id(n)}}(i):(i instanceof IDBTransaction&&function Lte(i){if(jC.has(i))return;const t=new Promise((e,n)=>{const r=()=>{i.removeEventListener("complete",a),i.removeEventListener("error",o),i.removeEventListener("abort",o)},a=()=>{e(),r()},o=()=>{n(i.error||new DOMException("AbortError","AbortError")),r()};i.addEventListener("complete",a),i.addEventListener("error",o),i.addEventListener("abort",o)});jC.set(i,t)}(i),Ate(i,function Tte(){return GN||(GN=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(i,WC):i)}function Id(i){if(i instanceof IDBRequest)return function Nte(i){const t=new Promise((e,n)=>{const r=()=>{i.removeEventListener("success",a),i.removeEventListener("error",o)},a=()=>{e(Id(i.result)),r()},o=()=>{n(i.error),r()};i.addEventListener("success",a),i.addEventListener("error",o)});return t.then(e=>{e instanceof IDBCursor&&$N.set(e,i)}).catch(()=>{}),UC.set(t,i),t}(i);if(zC.has(i))return zC.get(i);const t=Pte(i);return t!==i&&(zC.set(i,t),UC.set(t,i)),t}const GC=i=>UC.get(i),Vte=["get","getKey","getAll","getAllKeys","count"],Yte=["put","add","delete","clear"],qC=new Map;function QN(i,t){if(!(i instanceof IDBDatabase)||t in i||"string"!=typeof t)return;if(qC.get(t))return qC.get(t);const e=t.replace(/FromIndex$/,""),n=t!==e,r=Yte.includes(e);if(!(e in(n?IDBIndex:IDBObjectStore).prototype)||!r&&!Vte.includes(e))return;const a=function(){var o=Se(function*(c,...h){const f=this.transaction(c,r?"readwrite":"readonly");let F=f.store;return n&&(F=F.index(h.shift())),(yield Promise.all([F[e](...h),r&&f.done]))[0]});return function(h){return o.apply(this,arguments)}}();return qC.set(t,a),a}function x_(){return Math.floor(Date.now()/1e3)}!function Ote(i){WC=i(WC)}(i=>({...i,get:(t,e,n)=>QN(t,e)||i.get(t,e,n),has:(t,e)=>!!QN(t,e)||i.has(t,e)}));class jte{constructor(t){this.name=t}open(){var t=this;return Se(function*(){t.db=yield function Bte(i,t,{blocked:e,upgrade:n,blocking:r,terminated:a}={}){const o=indexedDB.open(i,t),c=Id(o);return n&&o.addEventListener("upgradeneeded",h=>{n(Id(o.result),h.oldVersion,h.newVersion,Id(o.transaction),h)}),e&&o.addEventListener("blocked",h=>e(h.oldVersion,h.newVersion,h)),c.then(h=>{a&&h.addEventListener("close",()=>a()),r&&h.addEventListener("versionchange",f=>r(f.oldVersion,f.newVersion,f))}).catch(()=>{}),c}(t.name,1,{upgrade(e,n,r,a,o){switch(n){case 0:!function c(){e.createObjectStore("relays",{keyPath:"url"}),e.createObjectStore("notes",{keyPath:"id"}),e.createObjectStore("circles",{keyPath:"id",autoIncrement:!0}),e.createObjectStore("state",{keyPath:"id"}),e.createObjectStore("contacts",{keyPath:"pubkey"}),e.createObjectStore("labels",{keyPath:"id"}),e.createObjectStore("notifications",{keyPath:"id"}).createIndex("created","created");const F=e.createObjectStore("events",{keyPath:"id"});F.createIndex("pubkey","pubkey"),F.createIndex("created","created_at"),F.createIndex("kind","kind"),e.createObjectStore("profiles",{keyPath:"pubkey"}).createIndex("status","status")}();case 1:break;default:console.error("Unknown database version.")}},blocked(e,n,r){},blocking(e,n,r){},terminated(){}})})()}close(){this.db.close()}getState(){var t=this;return Se(function*(){return t.db.get("state",1)})()}putState(t){var e=this;return Se(function*(){return t.id=1,t.modified=x_(),e.db.put("state",t)})()}getCircle(t){var e=this;return Se(function*(){return e.db.get("circles",t)})()}getCircles(){var t=this;return Se(function*(){return t.db.getAll("circles")})()}putNote(t){var e=this;return Se(function*(){return t.saved=x_(),e.db.put("notes",t)})()}deleteNote(t){var e=this;return Se(function*(){return e.db.delete("notes",t)})()}putCircle(t){var e=this;return Se(function*(){return t.modified=x_(),e.db.put("circles",t)})()}getContacts(t){var e=this;return Se(function*(){return e.db.get("contacts",t)})()}putContacts(t){var e=this;return Se(function*(){return e.db.put("contacts",t)})()}putNotification(t){var e=this;return Se(function*(){return e.db.put("notifications",t)})()}deleteContacts(t){var e=this;return Se(function*(){return e.db.delete("contacts",t)})()}getProfile(t){var e=this;return Se(function*(){return e.db.get("profiles",t)})()}putProfile(t){var e=this;return Se(function*(){return t.modified=x_(),e.db.put("profiles",t)})()}getProfilesByStatus(t){var e=this;return Se(function*(){return e.db.getAllFromIndex("profiles","status",t)})()}getProfilesByStatusCount(t){var e=this;return Se(function*(){return e.db.countFromIndex("profiles","status",t)})()}getEvent(t){var e=this;return Se(function*(){return e.db.get("events",t)})()}getNotification(t){var e=this;return Se(function*(){return e.db.get("notifications",t)})()}putEvents(t){var e=this;return Se(function*(){return e.db.put("events",t)})()}getEventsByPubKey(t,e){var n=this;return Se(function*(){return n.db.getAllFromIndex("events","pubkey",t,e)})()}getNotifications2(t){var e=this;return Se(function*(){return e.db.getAllFromIndex("notifications","created",void 0,t)})()}getNotifications(t){var e=this;return Se(function*(){let n=yield e.db.transaction("notifications").store.index("created").openCursor(void 0,"prev");const r=[];let a=0;for(;n&&(r.push(n.value),a++,!(a>=t));)n=yield n.continue();return r})()}getEventsByCreated2(t,e){var n=this;return Se(function*(){return n.db.getAllFromIndex("events","created",t,e)})()}getEventsByCreated(t){var e=this;return Se(function*(){let n=yield e.db.transaction("events").store.index("created").openCursor(void 0,"prev");const r=[];let a=0;for(;n&&(r.push(n.value),a++,!(a>=t));)n=yield n.continue();return r})()}getEventsByCreatedAndKind(t,e){var n=this;return Se(function*(){let r=yield n.db.transaction("events").store.index("created").openCursor(void 0,"prev");const a=[];let o=0;for(;r&&!(r.value.kind==e&&(a.push(r.value),o++,o>=t));)r=yield r.continue();return a})()}getRelay(t){var e=this;return Se(function*(){return e.db.get("relays",t)})()}getRelays(){var t=this;return Se(function*(){return t.db.getAll("relays")})()}getNotes(){var t=this;return Se(function*(){return t.db.getAll("notes")})()}putRelay(t){var e=this;return Se(function*(){return t.modified=x_(),e.db.put("relays",t)})()}deleteCircle(t){var e=this;return Se(function*(){return e.db.delete("circles",t)})()}deleteProfile(t){var e=this;return Se(function*(){return e.db.delete("profiles",t)})()}deleteRelay(t){var e=this;return Se(function*(){return e.db.delete("relays",t)})()}deleteRelays(){var t=this;return Se(function*(){return t.db.clear("relays")})()}deleteNotes(){var t=this;return Se(function*(){return t.db.clear("notes")})()}deleteNotesByAuthor(t){var e=this;return Se(function*(){e.db.transaction("events","readwrite").store.index("pubkey").openCursor(t).then(function(){var o=Se(function*(c){for(;c;)c.delete(),c=yield c.continue()});return function(c){return o.apply(this,arguments)}}())})()}deleteNotifications(){var t=this;return Se(function*(){return t.db.clear("notifications")})()}delete(){var t=this;return Se(function*(){yield function Hte(i,{blocked:t}={}){const e=indexedDB.deleteDatabase(i);return t&&e.addEventListener("blocked",n=>t(n.oldVersion,n)),Id(e).then(()=>{})}(t.name,{blocked(){console.log("BLOCKED...")}})})()}getLabel(t){var e=this;return Se(function*(){return e.db.get("labels",t)})()}getLabels(){var t=this;return Se(function*(){return t.db.getAll("labels")})()}putLabel(t){var e=this;return Se(function*(){return e.db.put("labels",t)})()}deleteLabel(t){var e=this;return Se(function*(){return e.db.delete("labels",t)})()}}var iv=T(5439);class Ea{constructor(t){this.appState=t}initialize(t){var e=this;return Se(function*(){e.storage=new jte("blockcore-notes-"+e.appState.getPublicKey()),yield e.storage.open();let n=yield e.storage.getState();n||(n={id:1,since:iv().subtract(2,"days").unix()}),e.state=n,setTimeout(Se(function*(){console.log("Persisting state...");const r=iv().subtract(10,"minutes").unix();e.state.since=r,yield e.storage.putState(e.state)}),6e4)})()}clearAndReload(){var t=this;return Se(function*(){console.log("Deleting storage..."),setTimeout(()=>{console.log("Reloading!"),location.reload()},1e3);try{yield t.delete()}catch(e){console.error(e)}})()}close(){try{this.storage.close()}catch(t){console.error("Failed to close storage.",t)}}delete(){var t=this;return Se(function*(){yield t.storage.delete()})()}}Ea.\u0275fac=function(t){return new(t||Ea)(Ee(ln))},Ea.\u0275prov=it({token:Ea,factory:Ea.\u0275fac,providedIn:"root"});var im=new WeakMap,$C=new WeakMap,nv=new WeakMap,rp=new WeakMap,KC=new WeakMap,nm=new WeakSet,rv=new WeakMap,zte=new WeakSet,Ute=new WeakSet,ZN=new WeakSet,Nd=new WeakSet;class Vn{get following$(){return Pe(this,rp).asObservable().pipe(bt(t=>t.filter(n=>n.status==$a.Follow)))}get profile$(){return Pe(this,nv).asObservable()}userProfileUpdated(t){this.profile=t,Pe(this,nv).next(t)}get profiles$(){return Pe(this,rp).asObservable()}get profileRequested$(){return Pe(this,KC).asObservable()}updated(){Go(this,nm,ap).call(this)}updateItemIfSelected(t){this.ui.pubkey===t?.pubkey&&this.ui.setProfile(t)}getProfilesByStatus(t){return this.db.storage.getProfilesByStatus(t)}search(t){return Se(function*(){})()}get profilesChanged$(){return Pe(this,rv).asObservable()}constructor(t,e,n,r,a){np(this,Nd),np(this,ZN),np(this,Ute),np(this,zte),np(this,nm),bn(this,im,{writable:!0,value:void 0}),bn(this,$C,{writable:!0,value:void 0}),bn(this,nv,{writable:!0,value:void 0}),bn(this,rp,{writable:!0,value:void 0}),bn(this,KC,{writable:!0,value:void 0}),bn(this,rv,{writable:!0,value:void 0}),this.db=t,this.ui=e,this.queueService=n,this.appState=r,this.utilities=a,this.initialized=!1,fi(this,im,new Ste(500)),this.following=[],this.followingKeys=[],this.blocked=[],this.muted=[],fi(this,$C,new Oi(this.following)),fi(this,nv,new Oi(void 0)),fi(this,rp,new Oi(this.following)),fi(this,KC,new Oi("")),fi(this,rv,new Oi(void 0))}getProfileOrDownload(t){return new mt(e=>(this.db.storage.getProfile(t).then(n=>{if(n)return e.next(n),void e.complete();this.queueService.enqueProfile(t)}).catch(n=>{console.warn("FAILED TO GET PROFILE:",n)}).finally(()=>{}),()=>{})).pipe(Jr(e=>{}))}getLocalProfile(t){var e=this;return Se(function*(){return e.db.storage.getProfile(t)})()}getCachedProfile(t){let e=this.following.findIndex(r=>r.pubkey==t);if(e>-1)return this.following[e];let n=Pe(this,im).get(t);return n?n.value:void 0}getProfile(t){var e=this;return Se(function*(){let n=e.following.findIndex(o=>o.pubkey==t);if(n>-1)return e.following[n];let r=Pe(e,im).get(t);if(r)return r.value;let a=yield e.db.storage.getProfile(t);if(a)return Pe(e,im).set(t,a),a;e.queueService.enqueProfile(t)})()}putProfile(t){var e=this;return Se(function*(){null==t.status&&(t.status=0),t.npub=e.utilities.getNostrIdentifier(t.pubkey),Pe(e,im).set(t.pubkey,t),yield e.db.storage.putProfile(t),e.updateItemIfSelected(t);const n=e.following.findIndex(r=>r.pubkey==t.pubkey);null!=t.circle?1==t.status&&-1==n?(e.following.push(t),Go(e,nm,ap).call(e)):2==t.status&&n>-1?(e.following.splice(n,1),Go(e,nm,ap).call(e)):(e.following[n]=t,Go(e,nm,ap).call(e)):n>-1&&(e.following.splice(n,1),Go(e,nm,ap).call(e))})()}initialize(t){var e=this;return Se(function*(){const n=yield e.getLocalProfile(t);e.userProfileUpdated(n);const r=yield e.db.storage.getProfilesByStatus($a.Follow);e.following=r,Pe(e,rp).next(e.following);const a=yield e.db.storage.getProfilesByStatus($a.Block),o=yield e.db.storage.getProfilesByStatus($a.Mute);e.blocked=a.map(c=>c.pubkey),e.muted=o.map(c=>c.pubkey),e.followingKeys=e.following.map(c=>c.pubkey)})()}follow(t,e=0,n){var r=this;return Se(function*(){if(!t)return;const a=yield r.getLocalProfile(t),o=r.utilities.now();return a?(a.status=$a.Follow,a.modified=o,a.followed=o,a.circle=e,yield r.putProfile(a),a):(n||(n=r.emptyProfile(t)),n.followed=o,n.circle=e,n.status=$a.Follow,n.npub=r.utilities.getNostrIdentifier(n.pubkey),yield r.db.storage.putProfile(n),Go(r,ZN,Wte).call(r,n),r.queueService.enqueProfile(n.pubkey),n)})()}setFollowing(t,e){var n=this;return Se(function*(){return Go(n,Nd,Ru).call(n,t,r=>(r.following=e,r))})()}followingAndRelays(t,e,n){var r=this;return Se(function*(){return Go(r,Nd,Ru).call(r,t,a=>(a.following=e,a.relays=n,a))})()}setCircle(t,e){var n=this;return Se(function*(){return Go(n,Nd,Ru).call(n,t,r=>(r.circle=e,r))})()}unfollow(t){var e=this;return Se(function*(){const n=yield Go(e,Nd,Ru).call(e,t,r=>(r.status=$a.Public,r.followed=void 0,r.circle=void 0,r));return yield e.db.storage.deleteNotesByAuthor(t),n})()}block(t){var e=this;return Se(function*(){const n=yield Go(e,Nd,Ru).call(e,t,r=>(r.status=$a.Block,r.followed=void 0,r.circle=void 0,r));return yield e.db.storage.deleteNotesByAuthor(t),n})()}unblock(t){var e=this;return Se(function*(){return Go(e,Nd,Ru).call(e,t,n=>(n.status=$a.Public,n))})()}mute(t){var e=this;return Se(function*(){return Go(e,Nd,Ru).call(e,t,n=>(n.status=$a.Mute,n))})()}unmute(t){var e=this;return Se(function*(){return Go(e,Nd,Ru).call(e,t,n=>(n.status=$a.Follow,n))})()}deleteProfile(t){var e=this;return Se(function*(){yield e.db.storage.deleteProfile(t)})()}isFollowing(t){const e=this.following.findIndex(r=>r.pubkey==t);if(-1===e)return!1;const n=this.following[e];return!!n&&n.status==$a.Follow}updateProfile(t,e){var n=this;return Se(function*(){let r=yield n.db.storage.getProfile(t);const a=n.utilities.now();if(r){if(r.created_at&&e.created_at&&r.created_at>=e.created_at)return r;r.name=e.name,r.about=e.about,r.nip05=e.nip05,r.lud06=e.lud06,r.lud16=e.lud16,r.website=e.website,r.display_name=e.display_name,r.picture=e.picture,r.banner=e.banner,r.created_at=e.created_at}else r=e;if(r.modified=a,r.retrieved=a,console.log("START PUT PROFILE",r.name),yield n.putProfile(r),console.log("END PUT PROFILE",r.pubkey),Pe(n,im).set(r.pubkey,r),n.appState.getPublicKey()===t&&n.userProfileUpdated(r),r&&r.followed){const o=n.following.findIndex(c=>c.pubkey==r.pubkey);-1===o?n.following.push(r):n.following[o]=r}return Go(n,nm,ap).call(n),r})()}emptyProfile(t){return{npub:this.utilities.getNostrIdentifier(t),name:this.utilities.getShortenedIdentifier(t),about:"",picture:"/assets/profile.png",nip05:"",lud06:"",lud16:"",display_name:"",status:$a.Public,website:"",created:Math.floor(Date.now()/1e3),verifications:[],pubkey:t}}}function ap(){Pe(this,rp).next(this.following),Pe(this,$C).next(this.following)}function Wte(i){const t=this.following.findIndex(e=>e.pubkey==i.pubkey);-1===t?this.following.push(i):this.following[t]=i}function Ru(i,t){return ZC.apply(this,arguments)}function ZC(){return ZC=Se(function*(i,t){let e=yield this.db.storage.getProfile(i);if(e)return e.modified=this.utilities.now(),e=t(e,e.pubkey),yield this.putProfile(e),e}),ZC.apply(this,arguments)}Vn.\u0275fac=function(t){return new(t||Vn)(Ee(Ea),Ee(qr),Ee(ws),Ee(ln),Ee(Nn))},Vn.\u0275prov=it({token:Vn,factory:Vn.\u0275fac,providedIn:"root"});var XC=new WeakMap;class as{get relays$(){return Pe(this,XC).asObservable()}constructor(t,e,n,r,a,o,c,h,f,F){var R=this;bn(this,XC,{writable:!0,value:void 0}),this.articleService=t,this.nostr=e,this.ui=n,this.queue=r,this.utilities=a,this.profileService=o,this.db=c,this.options=h,this.eventService=f,this.appState=F,this.items=[],this.subs=new Map,this.relays=[],fi(this,XC,new Oi(this.relays)),this.workers=[],this.appState.visibility$.subscribe(W=>{W&&this.createRelayWorkers()}),this.queue.queues$.subscribe(W=>{W&&this.enque(W)}),this.ui.loadMore$.subscribe(W=>{if(W&&W.until)if("profile"==W.type){if(!this.profileEventSubscription)return;this.unsubscribe(this.profileEventSubscription),this.profileEventSubscription=this.subscribe([{authors:[this.ui.profile.pubkey],kinds:this.options.values.enableReactions?[Qn.Text,Qn.Reaction,6]:[Qn.Text,6],until:W.until,limit:100}]).id}else if("feed"==W.type){if(!this.circleEventSubscription)return;this.circleEventSubscription&&(this.unsubscribe(this.circleEventSubscription),this.circleEventSubscription=void 0);let te=[];te=W.circle>-1?this.profileService.following.filter(we=>we.circle==W.circle).map(we=>we.pubkey):this.profileService.following.map(we=>we.pubkey),this.circleEventSubscription=this.subscribe([{authors:te,kinds:this.options.values.enableReactions?[Qn.Text,Qn.Reaction,6]:[Qn.Text,6],until:W.until,limit:100}],"feed").id}}),this.ui.circle$.subscribe(W=>{if(null==W)return;let te=[];te=W>-1?this.profileService.following.filter(we=>we.circle==W).map(we=>we.pubkey):this.profileService.following.map(we=>we.pubkey),this.circleEventSubscription&&(this.unsubscribe(this.circleEventSubscription),this.circleEventSubscription=void 0),this.circleEventSubscription=this.subscribe([{authors:te,kinds:this.options.values.enableReactions?[Qn.Text,Qn.Reaction,6]:[Qn.Text,6],limit:100}],"feed").id}),this.ui.pubkey$.subscribe(function(){var W=Se(function*(te){if(!te)return void(R.profileEventSubscription&&(R.unsubscribe(R.profileEventSubscription),R.profileEventSubscription=void 0));const fe=yield R.profileService.getProfile(te);fe&&R.ui.setProfile(fe),R.profileEventSubscription=R.subscribe([{authors:[te],kinds:[Qn.Text,Qn.Reaction,6],limit:100}]).id});return function(te){return W.apply(this,arguments)}}()),this.ui.eventId$.subscribe(function(){var W=Se(function*(te){if(!te)return;const fe=yield R.db.storage.getEvent(te);fe?R.ui.setEvent(fe):R.enque({type:"Event",identifier:te})});return function(te){return W.apply(this,arguments)}}()),this.ui.event$.subscribe(function(){var W=Se(function*(te){if(!te)return R.ui.clearEvents(),void(R.threadSubscription&&(R.unsubscribe(R.threadSubscription),R.threadSubscription=void 0));if(R.threadSubscription!=te?.id&&(R.threadSubscription&&R.unsubscribe(R.threadSubscription),R.threadSubscription=R.subscribe([{"#e":[te.id]}]).id,te.parentEventId)){const fe=yield R.db.storage.getEvent(te.parentEventId);fe?R.ui.setParentEvent(fe):R.enque({type:"Event",identifier:te.parentEventId})}});return function(te){return W.apply(this,arguments)}}())}terminate(t){const e=this.workers.find(n=>n.url==t);e&&e.terminate()}terminateAll(){for(let t=0;to.url==t);r&&(r.type=e,a.type=e,yield n.db.storage.putRelay(r))})()}setRelayPublic(t,e){var n=this;return Se(function*(){const r=yield n.db.storage.getRelay(t),a=n.items.find(o=>o.url==t);r&&(r.public=e,a.public=e,yield n.db.storage.putRelay(r))})()}setRelayStatus(t,e){var n=this;return Se(function*(){console.log("setRelayStatus:",e);const r=yield n.db.storage.getRelay(t),a=n.items.find(o=>o.url==t);r&&(r.status=e,a.status=e,yield n.db.storage.putRelay(r))})()}setRelayEnabled(t,e){var n=this;return Se(function*(){console.log("setRelayEnabled:",e);const r=yield n.db.storage.getRelay(t),a=n.items.find(o=>o.url==t);r&&(r.enabled=e,a.enabled=e,yield n.db.storage.putRelay(r))})()}setRelayTimeout(t,e){const n=this.items.find(r=>r.url==t);n&&(null==n.timeouts&&(n.timeouts=0),n.timeouts++)}setRelayCounter(t){const e=this.items.find(n=>n.url==t);e&&(null==e.eventcount&&(e.eventcount=0),e.eventcount++)}setRelayNIP11(t,e){var n=this;return Se(function*(){const r=yield n.db.storage.getRelay(t),a=n.items.find(o=>o.url==t);r&&(e.error?(r.error=e.error,a.error=e.error):(r.error=void 0,a.error=void 0,r.nip11=e,a.nip11=e),yield n.db.storage.putRelay(r))})()}addRelay(t,e,n){var r=this;return Se(function*(){let a=r.items.find(c=>c.url==t),o=1;n&&!e?o=3:!n&&e&&(o=2),a?(null==a.enabled&&(a.enabled=!0),a.type!==o&&(a.type=o,r.db.storage.putRelay(a))):(a={enabled:!0,public:!0,url:t,type:o},r.db.storage.putRelay(a),r.items.push(a)),o<3?r.createRelayWorker(a.url):r.terminate(a.url)})()}deleteRelays(t){var e=this;return Se(function*(){const n=e.items.filter(r=>-1==t.indexOf(r.url));console.log("relaysToRemove:",n);for(let r=0;rc.url==a.url);console.log(`${a.url}: Terminating this Web Worker!`,o?.url),o?.terminate()}e.items=e.items.filter(r=>t.indexOf(r.url)>-1)})()}processEvent(t){var e=this;return Se(function*(){const r=e.eventService.processEvent(t.data);if(r){if(console.log("SAVE EVENT?:",r),t.subscription){const a=e.subs.get(t.subscription);if(a)if("Event"==a.type)-1===a.events.findIndex(c=>c.id==r.id)&&a.events.push(r);else if("Profile"==a.type){const o=a.events.findIndex(c=>c.pubkey==r.pubkey);o>-1?r.created_at>=a.events[o].created_at&&(a.events[o]=r):a.events.push(r)}else if("Contacts"==a.type){const o=a.events.findIndex(c=>c.pubkey==r.pubkey);o>-1?r.created_at>=a.events[o].created_at&&(a.events[o]=r):a.events.push(r)}}if("feed"==t.subscription)e.ui.putFeedEvent(r);else if("notifications"==t.subscription){let a=yield e.db.storage.getNotification(r.id);if(!a){let o="";if(r.kind==Qn.Reaction){let h=r.content;"+"===h||""===h?h="\u2764\ufe0f":"-"===h&&(h="\u{1f494}"),o=h}else if(r.kind==Qn.Text)o="replied to your note.";else if(r.kind==Qn.Contacts){if(o="started following you.",yield e.db.storage.getNotification(r.pubkey))return;r.id=r.pubkey}else o=6==r.kind?"boosted your note.":`Event kind ${r.kind} notification.`;const c=e.eventService.lastETag(r);a={id:r.id,relatedId:c,kind:r.kind,pubkey:r.pubkey,message:o,seen:!1,created:r.created_at},yield e.db.storage.putNotification(a),e.ui.putNotification(a)}}if(r.kind==Qn.Article)e.articleService.put(r);else if(r.kind==Qn.Metadata){const a=e.utilities.mapProfileEvent(r);if(a){const o=yield e.profileService.updateProfile(a.pubkey,a);e.ui.pubkey==r.pubkey&&e.ui.setProfile(o)}}else if(r.kind==Qn.Contacts){const a=e.appState.getPublicKey();if(r.pubkey===a){let o=yield e.db.storage.getContacts(a);if(!o||o.created_atF[1]);e.profileService.followingAndRelays(r.pubkey,c,r.content),o=r;const f={pubkeys:o.tags.map(F=>F[1]),pubkey:a,relays:[],relaysCount:0};if(o.content&&(f.relays=JSON.parse(o.content),f.relaysCount=Object.keys(f.relays).length),f.pubkeys.length>0||f.relaysCount>0){if(f.relaysCount>0){const R=e.utilities.getRelayUrls(f.relays);yield e.deleteRelays(R),yield e.appendRelays(f.relays)}const F=f.pubkeys;for(let R=0;R=r.created_at)return;yield e.db.storage.putContacts(r);const c=r.tags.map(f=>f[1]),h=yield e.profileService.followingAndRelays(r.pubkey,c,r.content);h&&e.ui.pubkey==h.pubkey&&e.ui.setProfile(h,!0)}}else e.ui.eventId==r.id?e.ui.setEvent(r):e.ui.parentEventId==r.id?e.ui.setParentEvent(r):(e.ui.pubkey==r.pubkey||t.subscription==e.threadSubscription)&&e.ui.putEvent(r)}})()}enque(t){this.action("enque",t)}handleRelayMessage(t,e){var n=this;return Se(function*(){const r=t.data;switch(r.type){case"timeout":console.log(`Relay ${e} timeout: ${r.data}.`),n.setRelayTimeout(e,r.data);break;case"status":if(console.log(`Relay ${e} changed status to ${r.data}.`),yield n.setRelayStatus(e,r.data),1===r.data){n.appState.updateConnectionStatus(!0);const c=n.workers.findIndex(f=>f.url==e),h=n.workers[c];n.subs.forEach(f=>{h.subscribe(f.filters,f.id)})}break;case"terminated":console.log(`${e}: WE HAVE TERMINATED`);const a=n.workers.findIndex(c=>c.url==e),o=n.workers[a];o.status="terminated",console.log(`${e}: Calling actually TERMINATE on Web Worker!`),o.worker?.terminate(),a>-1&&n.workers.splice(a,1),yield n.setRelayStatus(e,-1);break;case"event":console.log("EVENT FROM:",e),n.setRelayCounter(e),yield n.processEvent(r);break;case"nip11":console.log("EVENT FROM:",e),yield n.setRelayNIP11(e,r.data)}})()}handleRelayError(t,e){var n=this;return Se(function*(){yield n.setRelayStatus(e,-1),console.warn("ERROR IN WEB WORKER FOR RELAY!",t),console.warn("ERROR IN WEB WORKER FOR RELAY22!",t.error)})()}createRelayWorker(t,e){var n=this;if(!t)return void console.warn("SUPPLIED EMPTY URL TO CREATE RELAY WORKER!");const r=this.workers.findIndex(c=>c.url==t);if(r>-1)return console.log(`${t}: This relay already exists, calling connect on it.`),void this.workers[r].connect(void 0,e);const a=new fJ(t);console.log(`${t}: Creating this web worker.`),this.workers.push(a);const o=a.start();o.onmessage=function(){var c=Se(function*(h){console.log(`${a.url}: onmessage`,h.data),yield n.handleRelayMessage(h,a.url)});return function(h){return c.apply(this,arguments)}}(),o.onerror=function(){var c=Se(function*(h){console.log(`${a.url}: onerror`,h.error),yield n.handleRelayError(h,a.url)});return function(h){return c.apply(this,arguments)}}(),a.connect(Array.from(this.subs.values()),e)}getActiveRelay(t){const e=this.relays.findIndex(n=>n.url==t);return-1==e?null:this.relays[e]}appendRelays(t){var e=this;return Se(function*(){let n=t;if(Array.isArray(n)){n={};for(let o=0;oa.url==t);-1!=n&&(e.workers.find(a=>a.url==t)?.terminate(),yield e.db.storage.deleteRelay(t),e.items.splice(n,1))})()}connectedRelays(){return this.relays.filter(t=>1===t.status)}queueSubscription(t){const e=dC();return this.subs.set(e,{id:e,filters:t,events:[],type:"Event"}),e}subscribe(t,e,n="Event"){e||(e=dC());const r={id:e,filters:t,events:[],type:n};this.subs.set(e,r);for(let a=0;a3==r.type);for(let r=0;r{class i{constructor(e){this.appearance=e?.appearance||"raised"}}return i.\u0275fac=function(e){return new(e||i)(D(Zte,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("mat-mdc-card-outlined","outlined"===n.appearance)("mdc-card--outlined","outlined"===n.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:Gte,decls:1,vars:0,template:function(e,n){1&e&&(Hi(),wt(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mat-mdc-card{position:relative;border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px));background-color:var(--mdc-elevated-card-container-color, transparent);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color, transparent)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width, 1px);border-style:solid;border-color:var(--mdc-outlined-card-outline-color, transparent)}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0}),i})(),k_=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),i})(),ec=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),i})(),C_=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]}),i})(),XN=(()=>{class i{constructor(){this.align="start"}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mat-mdc-card-actions-align-end","end"===n.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),i})(),D_=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=$e({type:i,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:Qte,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(e,n){1&e&&(Hi(Kte),wt(0),y(1,"div",0),wt(2,1),k(),wt(3,2))},encapsulation:2,changeDetection:0}),i})(),JN=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-mdc-card-footer"]}),i})(),JC=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"]}),i})(),rie=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt,Mr,Kt]}),i})();const aie=["determinateSpinner"];function oie(i,t){if(1&i&&(_o(),y(0,"svg",11),De(1,"circle",12),k()),2&i){const e=X();Nt("viewBox",e._viewBox()),A(1),tr("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),Nt("r",e._circleRadius())}}const sie=Kl(class{constructor(i){this._elementRef=i}},"primary"),lie=new Ke("mat-progress-spinner-default-options",{providedIn:"root",factory:function cie(){return{diameter:eL}}}),eL=100;let av=(()=>{class i extends sie{constructor(e,n,r){super(e),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=eL,this._noopAnimations="NoopAnimations"===n&&!!r&&!r._forceAnimations,r&&(r.color&&(this.color=this.defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,vr(e)))}get diameter(){return this._diameter}set diameter(e){this._diameter=vr(e)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=vr(e)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const e=2*this._circleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Tn,8),D(lie))},i.\u0275cmp=$e({type:i,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(e,n){if(1&e&&Tt(aie,5),2&e){let r;Qe(r=Ze())&&(n._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(e,n){2&e&&(Nt("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===n.mode?n.value:null)("mode",n.mode),tr("width",n.diameter,"px")("height",n.diameter,"px"),Mt("_mat-animation-noopable",n._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===n.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[ot],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(e,n){if(1&e&&(oe(0,oie,2,8,"ng-template",null,0,dl),y(2,"div",1,2),_o(),y(4,"svg",3),De(5,"circle",4),k()(),Ol(),y(6,"div",5)(7,"div",6)(8,"div",7),Jo(9,8),k(),y(10,"div",9),Jo(11,8),k(),y(12,"div",10),Jo(13,8),k()()()),2&e){const r=en(1);A(4),Nt("viewBox",n._viewBox()),A(1),tr("stroke-dasharray",n._strokeCircumference(),"px")("stroke-dashoffset",n._strokeDashOffset(),"px")("stroke-width",n._circleStrokeWidth(),"%"),Nt("r",n._circleRadius()),A(4),N("ngTemplateOutlet",r),A(2),N("ngTemplateOutlet",r),A(2),N("ngTemplateOutlet",r)}},dependencies:[ug],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, transparent)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),i})(),uie=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Mr,Kt]}),i})();function hie(i,t){1&i&&(y(0,"div",17)(1,"button",18),De(2,"mat-spinner",19),k()())}function mie(i,t){if(1&i){const e=tt();y(0,"div",17)(1,"a",20),pe("click",function(){return Te(e),Ie(X().connect())}),B(2,"Install "),y(3,"span",4),B(4,"extension"),k()()()}}function fie(i,t){if(1&i){const e=tt();y(0,"button",22),pe("click",function(){return Te(e),Ie(X(2).connect())}),B(1,"Connect "),y(2,"span",4),B(3,"using extension"),k()()}}function pie(i,t){if(1&i){const e=tt();y(0,"button",22),pe("click",function(){return Te(e),Ie(X(2).giveConsent())}),B(1,"Give consent"),k()}}function gie(i,t){if(1&i&&(y(0,"div",17),oe(1,fie,4,0,"button",21),oe(2,pie,2,0,"button",21),k()),2&i){const e=X();A(1),N("ngIf",e.consent),A(1),N("ngIf",!e.consent)}}function _ie(i,t){1&i&&(y(0,"p",11)(1,"button",23),B(2,"Create new profile"),k(),De(3,"br")(4,"br"),y(5,"button",24),B(6,"Log in"),k(),De(7,"br")(8,"br"),k())}function bie(i,t){if(1&i){const e=tt();y(0,"p",11)(1,"button",22),pe("click",function(){return Te(e),Ie(X().giveConsent())}),B(2,"Give consent"),k()()}}function yie(i,t){if(1&i){const e=tt();y(0,"p",11),De(1,"br"),y(2,"button",25),pe("click",function(){Te(e);const r=X();return r.consent=!1,Ie(r.persist())}),B(3,"Withdraw consent"),k()()}}class M_{constructor(t,e,n,r,a,o,c,h,f){this.theme=t,this.appState=e,this.cd=n,this.relayService=r,this.authService=a,this.utilities=o,this.router=c,this.ngZone=h,this.dialog=f,this.extensionDiscovered=!1,this.consent=!1,this.readOnlyLogin=!1,this.readOnlyKey="npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m",this.checkedTimes=0,this.showInstallLink=!1,this.searchingForExtension=!0}persist(){localStorage.setItem("blockcore:notes:nostr:consent",this.consent.toString())}giveConsent(){var t=this;this.dialog.open(Kg,{data:!1,maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){r&&!0===r&&(t.consent=!0,t.persist())});return function(r){return n.apply(this,arguments)}}())}connect(){var t=this;return Se(function*(){(yield t.authService.login()).authenticated()&&t.router.navigateByUrl("/")})()}scroll(t){const e=document.getElementById("container");e?e.scroll(0,t):console.log("NOT FOUND!")}anonymous(t){var e=this;return Se(function*(){(yield e.authService.anonymous(t)).authenticated()&&e.router.navigateByUrl("/")})()}ngOnInit(){this.consent="true"===localStorage.getItem("blockcore:notes:nostr:consent"),this.checkForExtension()}ngOnDestroy(){this.timeout&&clearTimeout(this.timeout)}checkForExtension(){return this.checkedTimes++,globalThis.nostr?(this.searchingForExtension=!1,void(this.extensionDiscovered=!0)):this.checkedTimes>10?(this.searchingForExtension=!1,void(this.showInstallLink=!0)):void(this.timeout=setTimeout(()=>{this.ngZone.run(()=>{this.checkForExtension()})},250))}}M_.\u0275fac=function(t){return new(t||M_)(D(yl),D(ln),D(li),D(as),D(Da),D(Nn),D(rr),D(Rt),D(ja))},M_.\u0275cmp=$e({type:M_,selectors:[["app-connect"]],decls:51,vars:7,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],["class","connect-button",4,"ngIf"],[1,"connect-content"],[1,"card","first-card"],[1,"centered"],["class","centered",4,"ngIf"],[1,"card","card-image"],["loading","lazy","width","1079","height","776","src","/assets/blockcore-notes-screenshot.png"],[1,"card"],[1,"notice"],[1,"connect-button"],["mat-flat-button","","color","accent",1,"start-button"],["color","accent","diameter","30",1,"spinner"],["mat-flat-button","","color","accent","href","https://chrome.google.com/webstore/detail/blockcore-wallet/peigonhbenoefaeplkpalmafieegnapj","target","_blank",1,"start-button",3,"click"],["class","start-button","mat-flat-button","","color","accent",3,"click",4,"ngIf"],["mat-flat-button","","color","accent",1,"start-button",3,"click"],["color","accent","routerLink","/connect/create","mat-flat-button","",1,"start-button"],["color","accent","routerLink","/connect/login","mat-flat-button","",1,"start-button"],["mat-stroked-button","",3,"click"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"div",1),De(2,"img",2),y(3,"div",3)(4,"span",4),B(5,"Blockcore"),k(),B(6," Notes"),k(),De(7,"div",5),y(8,"button",6),pe("click",function(){return e.theme.darkMode=!e.theme.darkMode}),y(9,"mat-icon",7),B(10),k()(),oe(11,hie,3,0,"div",8),oe(12,mie,5,0,"div",8),oe(13,gie,3,2,"div",8),k(),y(14,"div",9)(15,"mat-card",10)(16,"mat-card-content")(17,"h1",11),B(18,"New ways to connect with humanity"),k(),oe(19,_ie,9,0,"p",12),oe(20,bie,3,0,"p",12),k()(),y(21,"mat-card",13),De(22,"img",14),k(),y(23,"mat-card",15)(24,"mat-card-content")(25,"h1"),B(26,"Freedom of expression"),k(),y(27,"p"),B(28," Share your thoughts and interact with others in a fully transparent and open manner that is not restricted by any boundaries. Experience the world of "),y(29,"strong"),B(30,"Nostr"),k(),B(31,". Nostr is a uncensorable protocol for communication with your friends and the world. "),k(),y(32,"p",16)(33,"strong"),B(34,"PROTOTYPE:"),k(),B(35," This app is currently under development and should be considered prototype-quality."),k()()(),y(36,"mat-card",15)(37,"mat-card-content")(38,"h1"),B(39,"Follow your favorite creators"),k(),y(40,"p"),B(41," No matter if they are photographers, film makers, bloggers, journalists or anyone else who likes to share and engage in communities and chats, Blockcore Notes have you covered with dynamic content layouts and organization of people. "),k()()(),y(42,"mat-card",15)(43,"mat-card-content")(44,"h1"),B(45,"Be humble and kind"),k(),y(46,"p"),B(47,"Being uncensorable and uncancellable means more responsibility is on you, you are in control and you are responsible."),k(),y(48,"p"),B(49,"\u{1f49b}\u{1f5a4}"),k(),oe(50,yie,4,0,"p",12),k()()()()),2&t&&(A(10),Ct(e.theme.darkMode?"dark_mode":"light_mode"),A(1),N("ngIf",e.searchingForExtension),A(1),N("ngIf",e.showInstallLink),A(1),N("ngIf",e.extensionDiscovered),A(6),N("ngIf",e.consent),A(1),N("ngIf",!e.consent),A(30),N("ngIf",e.consent))},dependencies:[mi,Ya,HQ,Cr,Do,Sa,ec,pr,av],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}"]});class sv{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,e,n=!0,r){this._multiple=t,this._emitChanges=n,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new He,e&&e.length&&(t?e.forEach(a=>this._markSelected(a)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(n=>this._markSelected(n));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(n=>this._unmarkSelected(n));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);const e=this.selected,n=new Set(t);t.forEach(a=>this._markSelected(a)),e.filter(a=>!n.has(a)).forEach(a=>this._unmarkSelected(a));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(t){if(this.compareWith){for(let e of this._selection)if(this.compareWith(t,e))return e;return t}return t}}let eD=(()=>{class i{constructor(){this._listeners=[]}notify(e,n){for(let r of this._listeners)r(e,n)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(n=>e!==n)}}ngOnDestroy(){this._listeners=[]}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),vie=0;const tD=new Ke("CdkAccordion");let wie=(()=>{class i{constructor(){this._stateChanges=new He,this._openCloseAllActions=new He,this.id="cdk-accordion-"+vie++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=xt(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[Ot([{provide:tD,useExisting:i}]),mr]}),i})(),Fie=0,xie=(()=>{class i{get expanded(){return this._expanded}set expanded(e){e=xt(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=xt(e)}constructor(e,n,r){this.accordion=e,this._changeDetectorRef=n,this._expansionDispatcher=r,this._openCloseAllSubscription=x.EMPTY,this.closed=new ht,this.opened=new ht,this.destroyed=new ht,this.expandedChange=new ht,this.id="cdk-accordion-child-"+Fie++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((a,o)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===o&&this.id!==a&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return i.\u0275fac=function(e){return new(e||i)(D(tD,12),D(li),D(eD))},i.\u0275dir=Oe({type:i,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Ot([{provide:tD,useValue:void 0}])]}),i})(),kie=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})();const Cie=["body"];function Die(i,t){}const Mie=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Eie=["mat-expansion-panel-header","*","mat-action-row"];function Sie(i,t){1&i&&De(0,"span",2),2&i&&N("@indicatorRotate",X()._getExpandedState())}const Aie=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Tie=["mat-panel-title","mat-panel-description","*"],iD=new Ke("MAT_ACCORDION"),nL="225ms cubic-bezier(0.4,0.0,0.2,1)",rL={indicatorRotate:Va("indicatorRotate",[fr("collapsed, void",hi({transform:"rotate(0deg)"})),fr("expanded",hi({transform:"rotate(180deg)"})),nr("expanded <=> collapsed, void => collapsed",ir(nL))]),bodyExpansion:Va("bodyExpansion",[fr("collapsed, void",hi({height:"0px",visibility:"hidden"})),fr("expanded",hi({height:"*",visibility:"visible"})),nr("expanded <=> collapsed, void => collapsed",ir(nL))])},aL=new Ke("MAT_EXPANSION_PANEL");let Iie=(()=>{class i{constructor(e,n){this._template=e,this._expansionPanel=n}}return i.\u0275fac=function(e){return new(e||i)(D(yr),D(aL,8))},i.\u0275dir=Oe({type:i,selectors:[["ng-template","matExpansionPanelContent",""]]}),i})(),Nie=0;const oL=new Ke("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Vc=(()=>{class i extends xie{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=xt(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}constructor(e,n,r,a,o,c,h){super(e,n,r),this._viewContainerRef=a,this._animationMode=c,this._hideToggle=!1,this.afterExpand=new ht,this.afterCollapse=new ht,this._inputChanges=new He,this._headerId="mat-expansion-panel-header-"+Nie++,this._bodyAnimationDone=new He,this.accordion=e,this._document=o,this._bodyAnimationDone.pipe(vg((f,F)=>f.fromState===F.fromState&&f.toState===F.toState)).subscribe(f=>{"void"!==f.fromState&&("expanded"===f.toState?this.afterExpand.emit():"collapsed"===f.toState&&this.afterCollapse.emit())}),h&&(this.hideToggle=h.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Yr(null),Ki(()=>this.expanded&&!this._portal),gn(1)).subscribe(()=>{this._portal=new _d(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,n=this._body.nativeElement;return e===n||n.contains(e)}return!1}}return i.\u0275fac=function(e){return new(e||i)(D(iD,12),D(li),D(eD),D(kr),D(Ci),D(Tn,8),D(oL,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-expansion-panel"]],contentQueries:function(e,n,r){if(1&e&&di(r,Iie,5),2&e){let a;Qe(a=Ze())&&(n._lazyContent=a.first)}},viewQuery:function(e,n){if(1&e&&Tt(Cie,5),2&e){let r;Qe(r=Ze())&&(n._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,n){2&e&&Mt("mat-expanded",n.expanded)("_mat-animation-noopable","NoopAnimations"===n._animationMode)("mat-expansion-panel-spacing",n._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Ot([{provide:iD,useValue:void 0},{provide:aL,useExisting:i}]),ot,mr],ngContentSelectors:Eie,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,n){1&e&&(Hi(Mie),wt(0),y(1,"div",0,1),pe("@bodyExpansion.done",function(a){return n._bodyAnimationDone.next(a)}),y(3,"div",2),wt(4,1),oe(5,Die,0,0,"ng-template",3),k(),wt(6,2),k()),2&e&&(A(1),N("@bodyExpansion",n._getExpandedState())("id",n.id),Nt("aria-labelledby",n._headerId),A(4),N("cdkPortalOutlet",n._portal))},dependencies:[ql],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[rL.bodyExpansion]},changeDetection:0}),i})();class Lie{}const Oie=Mc(Lie);let Yc=(()=>{class i extends Oie{constructor(e,n,r,a,o,c,h){super(),this.panel=e,this._element=n,this._focusMonitor=r,this._changeDetectorRef=a,this._animationMode=c,this._parentChangeSubscription=x.EMPTY;const f=e.accordion?e.accordion._stateChanges.pipe(Ki(F=>!(!F.hideToggle&&!F.togglePosition))):an;this.tabIndex=parseInt(h||"")||0,this._parentChangeSubscription=Rn(e.opened,e.closed,f,e._inputChanges.pipe(Ki(F=>!!(F.hideToggle||F.disabled||F.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(Ki(()=>e._containsFocus())).subscribe(()=>r.focusVia(n,"program")),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:ga(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,n){e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return i.\u0275fac=function(e){return new(e||i)(D(Vc,1),D(_t),D(Ha),D(li),D(oL,8),D(Tn,8),bo("tabindex"))},i.\u0275cmp=$e({type:i,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,n){1&e&&pe("click",function(){return n._toggle()})("keydown",function(a){return n._keydown(a)}),2&e&&(Nt("id",n.panel._headerId)("tabindex",n.tabIndex)("aria-controls",n._getPanelId())("aria-expanded",n._isExpanded())("aria-disabled",n.panel.disabled),tr("height",n._getHeaderHeight()),Mt("mat-expanded",n._isExpanded())("mat-expansion-toggle-indicator-after","after"===n._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===n._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===n._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[ot],ngContentSelectors:Tie,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,n){1&e&&(Hi(Aie),y(0,"span",0),wt(1),wt(2,1),wt(3,2),k(),oe(4,Sie,1,1,"span",1)),2&e&&(Mt("mat-content-hide-toggle",!n._showToggle()),A(4),N("ngIf",n._showToggle()))},dependencies:[mi],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[rL.indicatorRotate]},changeDetection:0}),i})(),Ld=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),i})(),Od=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),i})(),tc=(()=>{class i extends wie{constructor(){super(...arguments),this._ownHeaders=new wc,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=xt(e)}ngAfterContentInit(){this._headers.changes.pipe(Yr(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(n=>n.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Fg(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["mat-accordion"]],contentQueries:function(e,n,r){if(1&e&&di(r,Yc,5),2&e){let a;Qe(a=Ze())&&(n._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mat-accordion-multi",n.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[Ot([{provide:iD,useExisting:i}]),ot]}),i})(),sL=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Mr,Kt,kie,gl]}),i})();class S_{constructor(t){this.appState=t}ngOnInit(){this.appState.showBackButton=!0,this.appState.updateTitle("About"),this.appState.actions=[]}}S_.\u0275fac=function(t){return new(t||S_)(D(ln))},S_.\u0275cmp=$e({type:S_,selectors:[["app-about"]],decls:76,vars:0,consts:[[1,"page","help"],["srcset","/assets/icons/icon-128x128.png, /assets/icons/icon-256x256.png 1.5x, /assets/icons/icon-512x512.png 2x","src","/assets/icons/icon-128x128.png","alt","Blockcore Notes logo","width","128","height","128",1,"logo"],[1,"marginless","heading"],["routerLink","licenses"],["href","https://github.com/block-core/blockcore-notes","target","_blank"],["href","https://geyser.fund/project/blockcore","target","_blank"],["href","https://www.blockcore.net/about","target","_blank"],["src","assets/nostr.svg",1,"logo"],["href","https://www.nostr.directory/","target","_blank"],["href","https://www.nostr.guru/","target","_blank"],["hideToggle",""],[1,"centered"],["src","/assets/nostritch.jpg",1,"mascot"]],template:function(t,e){1&t&&(y(0,"div",0),De(1,"img",1),y(2,"h1",2),B(3,"About"),k(),y(4,"p"),B(5,"Blockcore Notes instructions will come here later on."),k(),y(6,"p")(7,"a",3),B(8,"Third Party Licenses"),k(),De(9,"br"),y(10,"a",4),B(11,"Source Code"),k()(),y(12,"h3"),B(13,"Support development"),k(),y(14,"p"),B(15,"Please consider donating some Bitcoin using Geyser:"),k(),y(16,"p")(17,"a",5),B(18,"geyser.fund/project/blockcore"),k()(),y(19,"p"),B(20,"We have additional donation and sponsoring options available here:"),k(),y(21,"p")(22,"a",6),B(23,"www.blockcore.net/about"),k()(),De(24,"img",7),y(25,"h1",2),B(26,"Nostr"),k(),y(27,"h3"),B(28,"Nostr Directory"),k(),y(29,"p"),B(30,"Accounts marked with globe icon are accounts added to this service:"),k(),y(31,"p")(32,"a",8),B(33,"www.nostr.directory"),k()(),y(34,"h3"),B(35,"Data Lookup"),k(),y(36,"p"),B(37,"The user identity (npub) and the event identity is available in tooltips on notes. You can copy those and verify using:"),k(),y(38,"p")(39,"a",9),B(40,"www.nostr.guru"),k()(),y(41,"h3"),B(42,"Frequently Asked Questions"),k(),y(43,"mat-accordion")(44,"mat-expansion-panel",10)(45,"mat-expansion-panel-header")(46,"mat-panel-title"),B(47," Can I contribute? "),k(),y(48,"mat-panel-description"),B(49," Yes "),k()(),y(50,"p"),B(51," Blockcore Notes is a very early work in progress and is only at prototype feature and quality level. If you want to contribute, please help out on "),y(52,"a",4),B(53,"github.com/block-core/blockcore-notes"),k()()(),y(54,"mat-expansion-panel")(55,"mat-expansion-panel-header")(56,"mat-panel-title"),B(57,"Photos and film display"),k(),y(58,"mat-panel-description"),B(59,"Following only"),k()(),y(60,"p"),B(61," Photos and films are only displayed for accounts you are following. This is for your protection and ensures you're not downloading images you don't want to see, but also don't want to download as anyone can link to very large images. "),k(),y(62,"p"),B(63,"Not loading photos is also a measure to improve your privacy. When photos are displayed, your IP-address is available to the server hosting the photo."),k()(),y(64,"mat-expansion-panel")(65,"mat-expansion-panel-header")(66,"mat-panel-title"),B(67,"How can I be safe?"),k(),y(68,"mat-panel-description"),B(69,"Unwanted content"),k()(),y(70,"p"),B(71,"It is easy to be exposed to unwanted content on Nostr, as there are a public feed available that contains everything that everyone is posting."),k(),y(72,"p"),B(73,"The best way to ensure you don't get wanted content, is to follow users you know and trust. Only use the Home Feed and People/Circle sections."),k()()(),y(74,"p",11),De(75,"img",12),k()())},dependencies:[tc,Vc,Yc,Od,Ld],styles:[".mascot[_ngcontent-%COMP%]{width:100%;max-width:1024px}.logo[_ngcontent-%COMP%]{float:left;margin-bottom:1em;margin-right:1em;max-width:128px;margin-left:-8em}.help[_ngcontent-%COMP%]{padding-left:10em}@media only screen and (max-width: 599px){.help[_ngcontent-%COMP%]{font-size:.8em;padding-left:8em}.logo[_ngcontent-%COMP%]{max-width:64px;margin-left:-6em}}"]});const Rie=g(i=>function(e=null){i(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function lv(i,t){const{first:e,each:n,with:r=Pie,scheduler:a=t??_f,meta:o=null}=ZT(i)?{first:i}:"number"==typeof i?{each:i}:i;if(null==e&&null==n)throw new TypeError("No timeout provided.");return ei((c,h)=>{let f,F,R=null,W=0;const te=fe=>{F=Xn(h,a,()=>{try{f.unsubscribe(),dn(r({meta:o,lastValue:R,seen:W})).subscribe(h)}catch(we){h.error(we)}},fe)};f=c.subscribe(zt(h,fe=>{F?.unsubscribe(),W++,h.next(R=fe),n>0&&te(n)},void 0,void 0,()=>{F?.closed||F?.unsubscribe(),R=null})),!W&&te(null!=e?"number"==typeof e?e:+e-a.now():n)})}function Pie(i){throw new Rie(i)}class So{constructor(t,e){this.db=t,this.utilities=e,this.circles=[]}initialize(){var t=this;return Se(function*(){if(!(yield t.db.storage.getCircle(0)))for(let n=0;n0)return this.circles.find(e=>e.id==t)}get(t){var e=this;return Se(function*(){if(null!=t)return e.circles.length>0?e.circles.find(n=>n.id==t):yield e.db.storage.getCircle(t)})()}put(t){var e=this;return Se(function*(){const n=e.utilities.now();t.created||(t.created=n),t.modified=n;const r=e.circles.findIndex(o=>o.id==t.id);r>-1?e.circles[r]=t:e.circles.push(t);const a=yield e.db.storage.putCircle(t);t.id=a})()}delete(t){var e=this;return Se(function*(){const n=e.circles.findIndex(r=>r.id==t);n>-1&&e.circles.splice(n,1),yield e.db.storage.deleteCircle(t)})()}}So.DEFAULT=[{id:0,name:"Following",color:"#e91e63",style:1,public:!0},{id:1,name:"Text",color:"#7cb342",style:2,public:!0},{id:2,name:"Photo",color:"#ffb300",style:3,public:!0},{id:3,name:"Film",color:"#26c6da",style:4,public:!0},{id:4,name:"Music",color:"#ba9eea",style:5,public:!0},{id:5,name:"Podcast",color:"#ff8a65",style:6,public:!0},{id:6,name:"Private",color:"#607d8b",style:1,public:!1}],So.\u0275fac=function(t){return new(t||So)(Ee(Ea),Ee(Nn))},So.\u0275prov=it({token:So,factory:So.\u0275fac,providedIn:"root"});class Ka{constructor(t,e,n,r,a,o,c,h,f,F,R){this.nostr=t,this.ui=e,this.circleService=n,this.storage=r,this.queueService=a,this.profileService=o,this.appState=c,this.utilities=h,this.validator=f,this.eventService=F,this.relayService=R,this.daysToKeepProfiles=14,this.cleanProfileInterval=36e5,this.profileBatchSize=20,this.refreshUserProfile=72e5,this.connected=!1,this.connected$=this.appState.connected$.pipe(bt(W=>!0===W)),this.isFetching=!1,this.profileQueue=[],this.queue=[],this.appState.connected$.subscribe(W=>{console.log("Connection state changed: ",W),this.connected=W,this.connected&&this.initialDataLoad()})}publishRelays(){var t=this;return Se(function*(){const e=t.getArrayFomattedRelayList();let n={kind:10002,created_at:Math.floor(Date.now()/1e3),content:"",pubkey:t.appState.getPublicKey(),tags:e};const r=yield t.createAndSignEvent(n);r&&(console.log("PUBLISH EVENT:",r),t.relayService.publish(r))})()}getArrayFomattedRelayList(){return this.relayService.items.filter(t=>!0===t.public).map(t=>{let e=["r",t.url];return 2==t.type?e.push("read"):3==t.type&&e.push("write"),e})}getJsonFormattedRelayList(){let t={};return this.relayService.items.filter(e=>e.public).map(e=>{t[e.url]={read:1===e.type||2===e.type,write:1===e.type||3===e.type}}),t}createAndSignEvent(t){var e=this;return Se(function*(){let n=t;n.id=Au(t),n=yield e.nostr.sign(t);const r=e.eventService.processEvent(n);if(!r)throw new Error("The event is not valid. Cannot publish.");if(!Tu(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield r_(r)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");return r})()}getContactsAndRelays(){var t=this;return Se(function*(){return yield t.storage.storage.getContacts(t.appState.getPublicKey())})()}publishContactsAndRelays(){var t=this;return Se(function*(){const e=t.circleService.circles.filter(h=>!h.public).map(h=>h.id),r=t.profileService.following.filter(h=>-1==e.indexOf(h.circle)).map(h=>h.pubkey).map(h=>["p",h]),a=t.getJsonFormattedRelayList();let o={kind:Qn.Contacts,created_at:Math.floor(Date.now()/1e3),content:JSON.stringify(a),pubkey:t.appState.getPublicKey(),tags:r};const c=yield t.createAndSignEvent(o);c&&(console.log("PUBLISH EVENT:",c),t.relayService.publish(c))})()}initialDataLoad(){var t=this;return Se(function*(){t.relayService.subscribe([{authors:[t.appState.getPublicKey()],kinds:[Qn.Metadata,Qn.Contacts]}],"self"),t.profileService.following.map(r=>r.pubkey).unshift(t.appState.getPublicKey()),t.relayService.subscribe([{"#p":[t.appState.getPublicKey()],limit:100,kinds:[Qn.Text,Qn.Reaction,6]}],"notifications");const n=yield t.storage.storage.getNotifications(10);t.ui.putNotifications(n)})()}initialize(){var t=this;return Se(function*(){setTimeout(Se(function*(){yield t.cleanProfiles()}),t.cleanProfileInterval)})()}enque(t){this.relayService.action("enque",t)}processQueues(){}processEventQueue(){}processProfileQueue(){}processContactsQueue(){}downloadNewestProfiles(t,e=1e4,n=-1){return this.downloadNewestProfileEvents(t,e,n).pipe(bt(r=>r?this.utilities.mapProfileEvent(r):void 0))}downloadNewestProfileEvents(t,e=1e4,n=-1){return this.downloadNewestProfileEventByQuery([{kinds:[0],authors:t}],e,n)}downloadNewestEvents(t,e,n=1e4,r=-1){return this.downloadNewestEventsByQuery([{kinds:e,authors:t}],n,r)}downloadEventsByTags(t,e=1e4){return this.downloadEventsByQuery(t)}downloadEvent(t,e=5e3){return this.downloadEventByQuery([{ids:[t]}],e)}downloadEventByQuery(t,e=1e4){let n;return this.connected$.pipe(_i(()=>this.relayService.connectedRelays())).pipe(_i(r=>this.downloadFromRelay(t,r,e))).pipe(Ki(r=>!n&&(n=r,!0))).pipe(lv(e),vs(r=>(console.warn("The observable was timed out."),qt(void 0))))}downloadNewestEventsByQuery(t,e=1e4,n=-1){const r=[];return Rn(...this.relayService.connectedRelays().map(o=>this.downloadFromRelay(t,o))).pipe(Ki((o,c)=>{let h=!1;return r.findIndex(F=>F.id===o.id)>-1?h=!1:(r.push(o),h=!0),n>-1&&0!=n&&n--,h})).pipe(lv(e),vs(o=>(console.warn("The observable was timed out."),qt(void 0))))}downloadNewestProfileEventByQuery(t,e=1e4,n=-1){return Rn(...this.relayService.connectedRelays().map(a=>this.downloadFromRelay(t,a))).pipe(lv(e),vs(a=>(console.warn("The observable was timed out."),qt(void 0))))}downloadEventsByQuery(t,e=1e4){return this.connected$.pipe(_i(()=>this.relayService.connectedRelays())).pipe(_i(n=>this.downloadFromRelay(t,n)))}updateMetadata(t){var e=this;return Se(function*(){const n=e.utilities.reduceProfile(t);let r=e.createEvent(Qn.Metadata,JSON.stringify(n));const a=yield e.signEvent(r);t.created_at=r.created_at,yield e.profileService.updateProfile(t.pubkey,t),yield e.publishEvent(a)})()}downloadFromRelay(t,e,n=1e4){return new mt(r=>{const a=e.sub([...t],{});return a.on("event",o=>{const c=this.eventService.processEvent(o);c&&r.next(c)}),a.on("eose",()=>{r.complete()}),()=>{a.unsub()}}).pipe(lv(n),vs(r=>(console.warn("The observable was timed out."),qt())))}fetchProfiles(t,e){var n=this;if(!e||0===e.length)return;setTimeout(()=>{this.isFetching=!1;try{r.unsub()}catch(a){console.warn("Error during automatic failover for profile fetch.",a)}},3e4),this.isFetching=!0;let r=t.sub([{kinds:[0],authors:e}],{});r.on("event",function(){var a=Se(function*(o){const c=n.eventService.processEvent(o);if(c)try{const h=JSON.parse(c.content);n.validator.sanitizeProfile(h).created_at=c.created_at}catch{console.warn("This profile event was not parsed due to errors:",c)}});return function(o){return a.apply(this,arguments)}}()),r.on("eose",()=>{r.unsub(),this.isFetching=!1})}cleanProfiles(){return Se(function*(){})()}createEvent(t,e){return this.createEventWithPubkey(t,e,this.appState.getPublicKey())}createEventWithPubkey(t,e,n){return{kind:t,created_at:Math.floor(Date.now()/1e3),content:e,pubkey:n,tags:[]}}signArticle(t){var e=this;return Se(function*(){let n=t;if(n=yield e.nostr.sign(t),!e.eventService.processEvent(n))throw new Error("The event is not valid. Cannot publish.");if(!Tu(n))throw new Error("The event is not valid. Cannot publish.");if(!(yield r_(n)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");return n})()}signEvent(t){var e=this;return Se(function*(){let n=t;return n.id||(n.id=Au(t)),e.signArticle(n)})()}publishEvent(t){var e=this;return Se(function*(){e.relayService.publish(t)})()}publishContacts(t){var e=this;return Se(function*(){const n=t.map(f=>["p",f]);let r={kind:3,created_at:Math.floor(Date.now()/1e3),content:"",pubkey:e.appState.getPublicKey(),tags:n},a=r;a.id=Au(r),a=yield e.nostr.sign(r);const o=e.eventService.processEvent(a);if(!Tu(a))throw new Error("The event is not valid. Cannot publish.");if(!(yield r_(a)))throw new Error("The event signature not valid. Maybe you choose a different account than the one specified?");if(o){console.log("PUBLISH EVENT:",a);for(let f=0;f{console.log(`${F.url} has accepted our event`)}),R.on("failed",W=>{console.log(`failed to publish to ${F.url}: ${W}`)})}}})()}}Ka.\u0275fac=function(t){return new(t||Ka)(Ee(Jl),Ee(qr),Ee(So),Ee(Ea),Ee(ws),Ee(Vn),Ee(ln),Ee(Nn),Ee(Uo),Ee(zs),Ee(as))},Ka.\u0275prov=it({token:Ka,factory:Ka.\u0275fac,providedIn:"root"});var cv=new WeakMap;class Ao{constructor(t,e,n,r){bn(this,cv,{writable:!0,value:void 0}),this.router=t,this.dialog=e,this.appState=n,this.dataService=r,fi(this,cv,new Oi(void 0)),this.showMore$=Pe(this,cv).asObservable(),this.currentThread=[]}showMore(){Pe(this,cv).next()}openFeed(t,e){const n=t.composedPath();!n||0==n.length||-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/feed",e.id])}openEvent(t,e){this.currentEvent=e;const n=t.composedPath();n&&0!=n.length&&-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/e",e.id])}openProfile(t,e){this.currentProfile=e;const n=t.composedPath();!n||0==n.length||-1!=n[0].className.indexOf("clickable")&&this.router.navigate(["/p",e.pubkey])}saveNote(t){var e=this;return Se(function*(){console.log("save note data:",t);let n=t;"string"!=typeof n&&(n=JSON.stringify(n));let r=e.dataService.createEvent(Qn.Text,n);const a=yield e.dataService.signEvent(r);yield e.dataService.publishEvent(a),e.router.navigate(["/e",a.id])})()}saveArticle(t){var e=this;return Se(function*(){console.log("save article data:",t);let n=t.content;"string"!=typeof n&&(n=JSON.stringify(n));let r=e.dataService.createEvent(Qn.Article,n);t.slug&&r.tags.push(["d",t.slug]),t.summary&&r.tags.push(["summary",t.summary]),t.title&&r.tags.push(["title",t.title]),t.image&&r.tags.push(["image",t.image]),r.tags.push(t.published_at?["published_at",t.published_at.toString()]:["published_at",r.created_at.toString()]);const a=t.tags.split(",").filter(c=>c);for(let c=0;ci.scrollStrategies.reposition({scrollThrottle:20})}},zie=new Ke("mat-tooltip-default-options",{providedIn:"root",factory:function jie(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),cL="tooltip-panel",dL=md({passive:!0});let Kie=(()=>{class i{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=xt(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=xt(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=vr(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=vr(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,n,r,a,o,c,h,f,F,R,W,te){this._overlay=e,this._elementRef=n,this._scrollDispatcher=r,this._viewContainerRef=a,this._ngZone=o,this._platform=c,this._ariaDescriber=h,this._focusMonitor=f,this._dir=R,this._defaultOptions=W,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new He,this._scrollStrategy=F,this._document=te,W&&(W.position&&(this.position=W.position),W.positionAtOrigin&&(this.positionAtOrigin=W.positionAtOrigin),W.touchGestures&&(this.touchGestures=W.touchGestures)),R.change.pipe(ti(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(ti(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([n,r])=>{e.removeEventListener(n,r,dL)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,n){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const r=this._createOverlay(n);this._detach(),this._portal=this._portal||new Mh(this._tooltipComponent,this._viewContainerRef);const a=this._tooltipInstance=r.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(ti(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(e)}hide(e=this.hideDelay){const n=this._tooltipInstance;n&&(n.isVisible()?n.hide(e):(n._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){const a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof _t)return this._overlayRef;this._detach()}const n=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(n);return r.positionChanges.pipe(ti(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${cL}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(ti(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(ti(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(ti(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&27===a.keyCode&&!ga(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const n=e.getConfig().positionStrategy,r=this._getOrigin(),a=this._getOverlayPosition();n.withPositions([this._addOffset({...r.main,...a.main}),this._addOffset({...r.fallback,...a.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,n=this.position;let r;"above"==n||"below"==n?r={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&e||"right"==n&&!e?r={originX:"start",originY:"center"}:("after"==n||"right"==n&&e||"left"==n&&!e)&&(r={originX:"end",originY:"center"});const{x:a,y:o}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:a,originY:o}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,n=this.position;let r;"above"==n?r={overlayX:"center",overlayY:"bottom"}:"below"==n?r={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&e||"right"==n&&!e?r={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&e||"left"==n&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:a,y:o}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:a,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(gn(1),ti(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,n){return"above"===this.position||"below"===this.position?"top"===n?n="bottom":"bottom"===n&&(n="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:n}}_updateCurrentPositionClass(e){const{overlayY:n,originX:r,originY:a}=e;let o;if(o="center"===n?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===n&&"top"===a?"above":"below",o!==this._currentPosition){const c=this._overlayRef;if(c){const h=`${this._cssClassPrefix}-${cL}-`;c.removePanelClass(h+this._currentPosition),c.addPanelClass(h+o)}this._currentPosition=o}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let n;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(n=e),this.show(void 0,n)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{const n=e.targetTouches?.[0],r=n?{x:n.clientX,y:n.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,r),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",n=>{const r=n.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",n=>this._wheelListener(n)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const n=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",n],["touchcancel",n])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([n,r])=>{this._elementRef.nativeElement.addEventListener(n,r,dL)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const n=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;n!==r&&!r.contains(n)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const n=this._elementRef.nativeElement,r=n.style;("on"===e||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!n.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return i.\u0275fac=function(e){Vl()},i.\u0275dir=Oe({type:i,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),i})(),Fl=(()=>{class i extends Kie{constructor(e,n,r,a,o,c,h,f,F,R,W,te){super(e,n,r,a,o,c,h,f,F,R,W,te),this._tooltipComponent=Zie,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const r=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=r?-8:8:"end"===e.originX&&(e.offsetX=r?8:-8),e}}return i.\u0275fac=function(e){return new(e||i)(D(_a),D(_t),D(du),D(kr),D(Rt),D(Pn),D(Mx),D(Ha),D(lL),D(jr,8),D(zie,8),D(Ci))},i.\u0275dir=Oe({type:i,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[ot]}),i})(),Qie=(()=>{class i{constructor(e,n){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new He,this._animationsDisabled="NoopAnimations"===n}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const n=this._tooltip.nativeElement,r=this._showAnimation,a=this._hideAnimation;if(n.classList.remove(e?a:r),n.classList.add(e?r:a),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const o=getComputedStyle(n);("0s"===o.getPropertyValue("animation-duration")||"none"===o.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(n.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return i.\u0275fac=function(e){return new(e||i)(D(li),D(Tn,8))},i.\u0275dir=Oe({type:i}),i})(),Zie=(()=>{class i extends Qie{constructor(e,n,r){super(e,r),this._elementRef=n,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}}return i.\u0275fac=function(e){return new(e||i)(D(li),D(_t),D(Tn,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-tooltip-component"]],viewQuery:function(e,n){if(1&e&&Tt(Bie,7),2&e){let r;Qe(r=Ze())&&(n._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,n){1&e&&pe("mouseleave",function(a){return n._handleMouseLeave(a)}),2&e&&tr("zoom",n.isVisible()?1:null)},features:[ot],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(e,n){1&e&&(y(0,"div",0,1),pe("animationend",function(a){return n._handleAnimationEnd(a)}),y(2,"div",2),B(3),k()()),2&e&&(Mt("mdc-tooltip--multiline",n._isMultiline),N("ngClass",n.tooltipClass),A(3),Ct(n.message))},dependencies:[Pa],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),i})(),uL=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[Yie],imports:[Ff,Mr,Dc,Kt,Kt,Cc]}),i})();function Xie(i,t){1&i&&(y(0,"mat-icon",1),B(1,"public"),k()),2&i&&N("matTooltip",t.$implicit)}class xl{constructor(t){this.profiles=t,this.pubkey=""}ngOnInit(){var t=this;return Se(function*(){t.profile||(t.profile=yield t.profiles.getLocalProfile(t.pubkey)),t.profile&&(t.verifications=t.profile.verifications)})()}}function Jie(i,t){1&i&&(y(0,"span"),B(1,", "),k())}function ene(i,t){if(1&i&&(y(0,"span"),B(1),oe(2,Jie,2,0,"span",1),k()),2&i){const e=t.$implicit,n=t.last;A(1),ri(" ",e,""),A(1),N("ngIf",!n)}}xl.\u0275fac=function(t){return new(t||xl)(D(Vn))},xl.\u0275cmp=$e({type:xl,selectors:[["app-directory-icon"]],inputs:{pubkey:"pubkey",profile:"profile"},decls:1,vars:1,consts:[["class","directory-icon",3,"matTooltip",4,"ngFor","ngForOf"],[1,"directory-icon",3,"matTooltip"]],template:function(t,e){1&t&&oe(0,Xie,2,1,"mat-icon",0),2&t&&N("ngForOf",e.verifications)},dependencies:[Gn,pr,Fl],encapsulation:2});class A_{constructor(t){this.utilities=t,this.relayNames=[]}ngOnInit(){var t=this;return Se(function*(){if(t.relayNames=[],null==t.relays)return;const e=JSON.parse(t.relays);t.relayNames=t.utilities.getRelayUrls(e)})()}}A_.\u0275fac=function(t){return new(t||A_)(D(Nn))},A_.\u0275cmp=$e({type:A_,selectors:[["app-relay-list"]],inputs:{relays:"relays"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(t,e){1&t&&oe(0,ene,3,2,"span",0),2&t&&N("ngForOf",e.relayNames)},dependencies:[Gn,mi],encapsulation:2});class T_{constructor(t){this.utilities=t}transform(t){return t&&(t.startsWith("npub")?t:this.utilities.getNostrIdentifier(t))}}function tne(i,t){if(1&i&&De(0,"img",8),2&i){const e=X();tr("border-color",null==e.circle?null:e.circle.color),N("matTooltip",e.tooltip)("src",e.imagePath,An)}}function ine(i,t){if(1&i&&De(0,"img",9),2&i){const e=X();N("matTooltip",e.tooltip)("src",e.imagePath,An)}}T_.\u0275fac=function(t){return new(t||T_)(D(Nn,16))},T_.\u0275pipe=Lr({name:"bech32",type:T_,pure:!0});const hL=function(i){return["/p",i]};function nne(i,t){if(1&i&&(y(0,"div",10)(1,"a",2)(2,"span",11),B(3),k()()()),2&i){const e=X();A(1),N("routerLink",Cn(5,hL,e.pubkey)),A(1),Mt("muted",2==(null==e.profile?null:e.profile.status)),N("matTooltip",e.tooltipName),A(1),Ct(e.profileName)}}function rne(i,t){if(1&i&&(y(0,"div"),B(1),k(),y(2,"div"),B(3),k(),y(4,"div"),B(5),k(),y(6,"div"),B(7),k(),y(8,"div"),B(9),k(),y(10,"div"),B(11),k(),y(12,"div"),B(13),k()),2&i){const e=X();A(1),Ct(null==e.profile?null:e.profile.display_name),A(2),Ct(null==e.profile?null:e.profile.name),A(2),Ct(null==e.profile?null:e.profile.nip05),A(2),Ct(null==e.profile?null:e.profile.website),A(2),Ct(null==e.profile?null:e.profile.lud06),A(2),Ct(null==e.profile?null:e.profile.lud16),A(2),Ct(null==e.profile||null==e.profile.following?null:e.profile.following.length)}}function ane(i,t){if(1&i&&(y(0,"div")(1,"span",16),B(2,"Display Name:"),k(),B(3),k()),2&i){const e=X(3);A(3),ri(" ",e.profile.display_name,"")}}function one(i,t){if(1&i&&(y(0,"div")(1,"span",16),B(2,"Name:"),k(),B(3),k()),2&i){const e=X(3);A(3),ri(" ",e.profile.name,"")}}function sne(i,t){if(1&i&&(y(0,"div")(1,"span",16),B(2,"NIP05:"),k(),B(3),k()),2&i){const e=X(3);A(3),ri(" ",e.profile.nip05,"")}}function lne(i,t){if(1&i&&(y(0,"div")(1,"span",16),B(2,"Public Key (npub):"),k(),B(3),zi(4,"bech32"),k()),2&i){const e=X(3);A(3),ri(" ",Ui(4,1,e.profile.pubkey),"")}}function cne(i,t){if(1&i&&(y(0,"div")(1,"span",16),B(2,"Public Key (hex):"),k(),B(3),k()),2&i){const e=X(3);A(3),ri(" ",e.profile.pubkey,"")}}function dne(i,t){if(1&i&&(y(0,"div")(1,"span",16),B(2,"Website:"),k(),B(3),k()),2&i){const e=X(3);A(3),ri(" ",e.profile.website,"")}}function une(i,t){if(1&i&&(y(0,"div")(1,"span",16),B(2,"lud06:"),k(),B(3),k()),2&i){const e=X(3);A(3),ri(" ",e.profile.lud06,"")}}function hne(i,t){if(1&i&&(y(0,"div")(1,"span",16),B(2,"lud16:"),k(),B(3),k()),2&i){const e=X(3);A(3),ri(" ",e.profile.lud16,"")}}function mne(i,t){if(1&i&&(y(0,"div")(1,"span",16),B(2,"Following:"),k(),B(3),k()),2&i){const e=X(3);A(3),ri(" ",e.profile.following.length,"")}}function fne(i,t){if(1&i&&(y(0,"div")(1,"span",16),B(2,"About:"),k(),B(3),k()),2&i){const e=X(3);A(3),ri(" ",e.profile.about,"")}}function pne(i,t){if(1&i&&(y(0,"div")(1,"span",16),B(2,"Relays:"),k(),De(3,"app-relay-list",17),k()),2&i){const e=X(3);A(3),N("relays",e.profile.relays)}}function gne(i,t){if(1&i&&(y(0,"div",14),oe(1,ane,4,1,"div",15),oe(2,one,4,1,"div",15),oe(3,sne,4,1,"div",15),oe(4,lne,5,3,"div",15),oe(5,cne,4,1,"div",15),oe(6,dne,4,1,"div",15),oe(7,une,4,1,"div",15),oe(8,hne,4,1,"div",15),oe(9,mne,4,1,"div",15),oe(10,fne,4,1,"div",15),oe(11,pne,4,1,"div",15),k()),2&i){const e=X(2);A(1),N("ngIf",e.profile.display_name),A(1),N("ngIf",e.profile.name),A(1),N("ngIf",e.profile.nip05),A(1),N("ngIf",e.profile.pubkey),A(1),N("ngIf",e.profile.pubkey),A(1),N("ngIf",e.profile.website),A(1),N("ngIf",e.profile.lud06),A(1),N("ngIf",e.profile.lud16),A(1),N("ngIf",e.profile.following),A(1),N("ngIf",e.profile.about),A(1),N("ngIf",e.profile.relays)}}function _ne(i,t){if(1&i&&(y(0,"div",12),wt(1),oe(2,gne,12,11,"div",13),k()),2&i){const e=X();A(2),N("ngIf",e.profile&&"content"==e.listType)}}const mL=function(i){return[i]};class Fs{constructor(t,e,n,r,a){this.ui=t,this.queueService=e,this.profiles=n,this.circleService=r,this.utilities=a,this.pubkey="",this.displayName=!0,this.displayContent=!0,this.iconSize="small",this.listType="list",this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName="",this.subscriptions=[]}ngAfterViewInit(){}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}ngOnInit(){var t=this;return Se(function*(){t.profile?(t.pubkey=t.profile.pubkey,yield t.updateProfileDetails()):(t.profileName=t.utilities.getNostrIdentifier(t.pubkey),t.profile=yield t.profiles.getProfile(t.pubkey),yield t.updateProfileDetails())})()}updateProfileDetails(){var t=this;return Se(function*(){t.profile&&(t.profile.picture&&(t.imagePath=t.profile.picture),t.tooltip=t.profile.about,t.tooltipName=t.profileName,t.profileName=t.profile.display_name||t.profile.name||t.profileName,t.circle=yield t.circleService.get(t.profile.circle))})()}}Fs.\u0275fac=function(t){return new(t||Fs)(D(qr),D(ws),D(Vn),D(So),D(Nn))},Fs.\u0275cmp=$e({type:Fs,selectors:[["app-event-header"]],inputs:{pubkey:"pubkey",profile:"profile",displayName:"displayName",displayContent:"displayContent",iconSize:"iconSize",listType:"listType"},ngContentSelectors:["*"],decls:8,vars:14,consts:[[1,"event-header",3,"ngClass"],[1,"icon",3,"ngClass"],[3,"routerLink"],["onerror","this.src='/assets/profile.png'","class","profile-image profile-image-follow","matTooltipPosition","above",3,"matTooltip","borderColor","src",4,"ngIf"],["loading","lazy","onerror","this.src='/assets/profile.png'","class","profile-image","matTooltipPosition","above",3,"matTooltip","src",4,"ngIf"],["class","name clickable",4,"ngIf"],[3,"ngIf"],["class","date clickable",4,"ngIf"],["onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image","profile-image-follow",3,"matTooltip","src"],["loading","lazy","onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image",3,"matTooltip","src"],[1,"name","clickable"],["matTooltipPosition","above",3,"matTooltip"],[1,"date","clickable"],["class","content-items",4,"ngIf"],[1,"content-items"],[4,"ngIf"],[1,"content-item-label"],[3,"relays"]],template:function(t,e){1&t&&(Hi(),y(0,"div",0)(1,"div",1)(2,"a",2),oe(3,tne,1,4,"img",3),oe(4,ine,1,2,"img",4),k()(),oe(5,nne,4,7,"div",5),oe(6,rne,14,7,"ng-template",6),oe(7,_ne,3,1,"div",7),k()),2&t&&(N("ngClass",Cn(8,mL,"event-header-"+e.listType)),A(1),N("ngClass",Cn(10,mL,"icon-"+e.iconSize)),A(1),N("routerLink",Cn(12,hL,e.pubkey)),A(1),N("ngIf",1==(null==e.profile?null:e.profile.status)||2==(null==e.profile?null:e.profile.status)),A(1),N("ngIf",1!=(null==e.profile?null:e.profile.status)&&2!=(null==e.profile?null:e.profile.status)),A(1),N("ngIf",e.displayName),A(1),N("ngIf","details"==e.listType),A(1),N("ngIf",e.displayContent))},dependencies:[Pa,mi,Ya,Fl,A_,T_],styles:[".icon-large[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{width:256px;height:256px}.icon-medium[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{object-fit:cover;width:128px;height:128px;border-radius:50%}.icon-thumbnail[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{object-fit:cover;width:64px;height:64px;border-radius:50%;border-width:2px;margin-left:2px;margin-right:2px;margin-bottom:2px}.icon-small[_ngcontent-%COMP%] .profile-image[_ngcontent-%COMP%]{object-fit:cover;width:48px;height:48px;border-radius:50%;border-width:2px;margin-left:4px;margin-right:4px;margin-bottom:2px}.content-items[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-wrap:break-word;line-break:anywhere}"]});class Rd{constructor(t,e){this.dialogRef=t,this.data=e}onNoClick(){this.data.picture="",this.dialogRef.close()}}Rd.\u0275fac=function(t){return new(t||Rd)(D(Hs),D(Ac))},Rd.\u0275cmp=$e({type:Rd,selectors:[["profile-image-dialog"]],decls:1,vars:1,consts:[["loading","lazy",1,"profile-image-original",3,"src","click"]],template:function(t,e){1&t&&(y(0,"img",0),pe("click",function(){return e.onNoClick()}),k()),2&t&&N("src",e.data.picture,An)},styles:[".profile-image-original[_ngcontent-%COMP%]{max-width:100%;cursor:pointer}"]});class rm{constructor(){this.regexpVideo=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:mp4|webm))/gi,this.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/gi,this.regexpYouTube=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,this.regexpThisIsTheWay=/(?:thisistheway.gif)/g,this.regexpAlwaysHasBeen=/(?:alwayshasbeen.jpg)/g,this.regexpSpotify=/((http|https?)?(.+?\.?)(open.spotify.com)(.+?\.?)?)/gi,this.regexpTidal=/((http|https?)?(.+?\.?)(tidal.com)(.+?\.?)?)/gi,this.regexpUrl=/([\w+]+\:\/\/)?([\w\d-]+\.)*[\w-]+[\.\:]\w+([\/\?\=\&\#.]?[\w-]+)*\/?/gi,this.keywords={"
":{token:"linebreak"},"thisistheway.gif":{token:"meme",tooltip:"This is the way (thisistheway.gif)",word:"https://i.ytimg.com/vi/LaiN63o_BxA/maxresdefault.jpg"},"thisistheway.jpg":{token:"meme",tooltip:"This is the way (thisistheway.gif)",word:"https://i.ytimg.com/vi/LaiN63o_BxA/maxresdefault.jpg"},"alwayshasbeen.gif":{token:"meme",tooltip:"Always has been (alwayshasbeen.gif)",word:"https://imgflip.com/s/meme/Always-Has-Been.png"},"alwayshasbeen.jpg":{token:"meme",tooltip:"Always has been (alwayshasbeen.jpg)",word:"https://imgflip.com/s/meme/Always-Has-Been.png"},"onehourlater.gif":{token:"meme",tooltip:"One hour later (onehourlater.gif)",word:"https://i.giphy.com/media/3ogwG36LKIkM937ZG8/giphy.webp"},"onehourlater.jpg":{token:"meme",tooltip:"One hour later (onehourlater.gif)",word:"https://i.giphy.com/media/3ogwG36LKIkM937ZG8/giphy.webp"}};for(let t=0;t<100;t++)this.keywords["#["+t+"]"]={token:"username"}}}rm.\u0275fac=function(t){return new(t||rm)},rm.\u0275prov=it({token:rm,factory:rm.\u0275fac,providedIn:"root"});class Pd{get canPrevious(){return this.index>0}get canNext(){return this.index{this.audio&&this.audio.pause()}),navigator.mediaSession.setActionHandler("seekbackward",()=>{this.rewind(10)}),navigator.mediaSession.setActionHandler("seekforward",()=>{this.forward(10)}),navigator.mediaSession.setActionHandler("previoustrack",()=>{this.canPrevious&&this.previous()}),navigator.mediaSession.setActionHandler("nexttrack",()=>{this.canNext&&this.next()})}exit(){this.audio&&(this.audio.pause(),this.audio.currentTime=0,this.audio=void 0),this.index=-1,this.current=void 0,this.options.values.showMediaPlayer=!1,this.media=[]}play(t){this.options.values.showMediaPlayer=!0,this.media=[],this.media.push(t),this.start()}enque(t){this.options.values.showMediaPlayer=!0,this.media.push(t)}dequeue(t){const e=this.media.findIndex(n=>n===t);-1!==e&&this.media.splice(e,1)}start(){var t=this;return Se(function*(){-1===t.index&&(t.index=0);const e=t.media[t.index];e&&(t.current=e,t.options.values.showMediaPlayer=!0,"YouTube"===e.type?(t.videoMode=!0,t.youtubeUrl=t.utilities.sanitizeUrlAndBypassFrame(e.source+"?autoplay=1")):"Video"===e.type?(t.videoMode=!0,t.videoUrl=t.utilities.sanitizeUrlAndBypassFrame(e.source)):(t.videoMode=!1,t.audio?t.audio.src=e.source:t.audio=new Audio(e.source),yield t.audio.play()),navigator.mediaSession.metadata=new MediaMetadata({title:e.title,artist:e.artist,album:"Blockcore Notes",artwork:[{src:e.artwork}]}),navigator.mediaSession.playbackState="playing")})()}resume(){var t=this;return Se(function*(){if(t.videoMode)t.youtubeUrl=t.pausedYouTubeUrl,t.pausedYouTubeUrl=void 0;else{if(!t.audio)return void t.start();console.log("RESUME!");try{yield t.audio.play()}catch(e){console.error(e)}}navigator.mediaSession.playbackState="playing"})()}pause(){if(this.videoMode)this.pausedYouTubeUrl=this.youtubeUrl,this.youtubeUrl=void 0;else{if(!this.audio)return;this.audio.pause()}navigator.mediaSession.playbackState="paused"}next(){this.index++,this.start()}previous(){this.index--,this.start()}get error(){return this.audio?.error}get paused(){return this.videoMode?null==this.youtubeUrl:!this.audio||this.audio.paused}get muted(){return!!this.audio&&this.audio.muted}get time(){return this.audio?Math.floor(this.audio.currentTime):10}set time(t){this.audio&&(this.audio.currentTime=t)}get duration(){return this.audio?Math.floor(this.audio.duration):100}mute(){this.audio&&(this.audio.muted=!this.audio.muted)}forward(t){this.audio&&(this.audio.currentTime+=t)}rewind(t){this.audio&&(this.audio.currentTime-=t)}rate(){this.audio&&(console.log(this.audio.playbackRate),this.audio.playbackRate=2==this.audio.playbackRate?1:2)}}function yne(i,t){1&i&&(y(0,"span",8),wt(1,1),k())}function vne(i,t){1&i&&(y(0,"span",9),wt(1,2),k())}Pd.\u0275fac=function(t){return new(t||Pd)(Ee(Er),Ee(js),Ee(Nn))},Pd.\u0275prov=it({token:Pd,factory:Pd.\u0275fac,providedIn:"root"});const fL=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],pL=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function wne(i,t){1&i&&(y(0,"span",9),wt(1,1),y(2,"span",10),_o(),y(3,"svg",11),De(4,"path",12),k()()())}function Fne(i,t){1&i&&(y(0,"span",13),wt(1,2),k())}const nD=["*"],dv=new Ke("mat-chips-default-options"),bL=new Ke("MatChipAvatar"),yL=new Ke("MatChipTrailingIcon"),vL=new Ke("MatChipRemove"),uv=new Ke("MatChip");class Ine{}const Nne=Mc(Ine,-1);let op=(()=>{class i extends Nne{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=xt(e)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,n){super(),this._elementRef=e,this._parentChip=n,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(uv))},i.\u0275dir=Oe({type:i,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(e,n){1&e&&pe("click",function(a){return n._handleClick(a)})("keydown",function(a){return n._handleKeydown(a)}),2&e&&(Nt("tabindex",n._getTabindex())("disabled",n._getDisabledAttribute())("aria-disabled",n.disabled),Mt("mdc-evolution-chip__action--primary",n._isPrimary)("mdc-evolution-chip__action--presentational",!n.isInteractive)("mdc-evolution-chip__action--trailing",!n._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[ot]}),i})(),Pne=0;const Bne=Mc(Kl(_l($l(class{constructor(i){this._elementRef=i}})),"primary"),-1);let am=(()=>{class i extends Bne{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get removable(){return this._removable}set removable(e){this._removable=xt(e)}get highlighted(){return this._highlighted}set highlighted(e){this._highlighted=xt(e)}constructor(e,n,r,a,o,c,h,f){super(n),this._changeDetectorRef=e,this._ngZone=r,this._focusMonitor=a,this._globalRippleOptions=h,this._isRippleCentered=!1,this._onFocus=new He,this._onBlur=new He,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+Pne++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new ht,this.destroyed=new ht,this.basicChipAttrName="mat-basic-chip";const F=n.nativeElement;this._document=o,this._animationsDisabled="NoopAnimations"===c,this._isBasicChip=F.hasAttribute(this.basicChipAttrName)||F.tagName.toLowerCase()===this.basicChipAttrName,null!=f&&(this.tabIndex=parseInt(f)??this.defaultTabIndex),this._monitorFocus()}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(e){(8===e.keyCode||46===e.keyCode)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(n=>{const r=n._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){const e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const n=null!==e;n!==this._hasFocusInternal&&(this._hasFocusInternal=n,n?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(gn(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return i.\u0275fac=function(e){return new(e||i)(D(li),D(_t),D(Rt),D(Ha),D(Ci),D(Tn,8),D(yd,8),bo("tabindex"))},i.\u0275cmp=$e({type:i,selectors:[["mat-basic-chip"],["mat-chip"]],contentQueries:function(e,n,r){if(1&e&&(di(r,bL,5),di(r,yL,5),di(r,vL,5)),2&e){let a;Qe(a=Ze())&&(n.leadingIcon=a.first),Qe(a=Ze())&&(n.trailingIcon=a.first),Qe(a=Ze())&&(n.removeIcon=a.first)}},viewQuery:function(e,n){if(1&e&&(Tt(la,5),Tt(op,5)),2&e){let r;Qe(r=Ze())&&(n.ripple=r.first),Qe(r=Ze())&&(n.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(e,n){1&e&&pe("keydown",function(a){return n._handleKeydown(a)}),2&e&&(lo("id",n.id),Nt("role",n.role)("tabindex",n.role?n.tabIndex:null)("aria-label",n.ariaLabel),Mt("mdc-evolution-chip",!n._isBasicChip)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",n.leadingIcon)("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-basic-chip",n._isBasicChip)("mat-mdc-standard-chip",!n._isBasicChip)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon())("_mat-animation-noopable",n._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Ot([{provide:uv,useExisting:i}]),ot],ngContentSelectors:pL,decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,n){1&e&&(Hi(fL),De(0,"span",0)(1,"span",1),y(2,"span",2)(3,"span",3),oe(4,yne,2,0,"span",4),y(5,"span",5),wt(6),De(7,"span",6),k()()(),oe(8,vne,2,0,"span",7)),2&e&&(N("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n._isRippleCentered)("matRippleTrigger",n._elementRef.nativeElement),A(3),N("isInteractive",!1),A(1),N("ngIf",n.leadingIcon),A(4),N("ngIf",n._hasTrailingIcon()))},dependencies:[mi,la,op],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),i})(),rD=(()=>{class i extends am{constructor(){super(...arguments),this._defaultOptions=Xt(dv,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new ht}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=xt(e),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(e){this._setSelectedState(xt(e),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(e=!1){return this._setSelectedState(!this.selected,e,!0),this.selected}_handlePrimaryActionInteraction(){this.selectable&&!this.disabled&&this.toggleSelected(!0)}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(e,n,r){e!==this.selected&&(this._selected=e,r&&this.selectionChange.emit({source:this,isUserInput:n,selected:this.selected}),this._changeDetectorRef.markForCheck())}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275cmp=$e({type:i,selectors:[["mat-basic-chip-option"],["mat-chip-option"]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option","mdc-evolution-chip","mdc-evolution-chip--filter","mdc-evolution-chip--selectable"],hostVars:31,hostBindings:function(e,n){2&e&&(lo("id",n.id),Nt("tabindex",null)("aria-label",null)("aria-description",null)("role",n.role),Mt("mat-mdc-chip-selected",n.selected)("mat-mdc-chip-multiple",n._chipListMultiple)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-chip-with-avatar",n.leadingIcon)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--selected",n.selected)("mdc-evolution-chip--selecting",!n._animationsDisabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-primary-graphic",n._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[Ot([{provide:am,useExisting:i},{provide:uv,useExisting:i}]),ot],ngContentSelectors:pL,decls:11,vars:12,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,n){1&e&&(Hi(fL),De(0,"span",0)(1,"span",1),y(2,"span",2)(3,"button",3),oe(4,wne,5,0,"span",4),y(5,"span",5),wt(6),De(7,"span",6),k()()(),oe(8,Fne,2,0,"span",7),y(9,"span",8),B(10),k()),2&e&&(N("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n._isRippleCentered)("matRippleTrigger",n._elementRef.nativeElement),A(3),N("tabIndex",n.tabIndex)("_allowFocusWhenDisabled",!0),Nt("aria-selected",n.ariaSelected)("aria-label",n.ariaLabel)("aria-describedby",n._ariaDescriptionId),A(1),N("ngIf",n._hasLeadingGraphic()),A(4),N("ngIf",n._hasTrailingIcon()),A(1),N("id",n._ariaDescriptionId),A(1),Ct(n.ariaDescription))},dependencies:[mi,la,op],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),i})();class Hne{constructor(t){}}const Vne=Mc(Hne);let mv=(()=>{class i extends Vne{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get disabled(){return this._disabled}set disabled(e){this._disabled=xt(e),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,n,r){super(e),this._elementRef=e,this._changeDetectorRef=n,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new He,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new wc}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(e=>{e.disabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&e{this.tabIndex=e,this._changeDetectorRef.markForCheck()}))}_getChipStream(e){return this._chips.changes.pipe(Yr(null),ca(()=>Rn(...this._chips.map(e))))}_originatesFromChip(e){let n=e.target;for(;n&&n!==this._elementRef.nativeElement;){if(n.classList&&n.classList.contains("mdc-evolution-chip"))return!0;n=n.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Yr(this._chips)).subscribe(e=>{const n=[];e.forEach(r=>r._getActions().forEach(a=>n.push(a))),this._chipActions.reset(n),this._chipActions.notifyOnChanges()}),this._keyManager=new Fg(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(ti(this._destroyed)).subscribe(({chip:e})=>{const n=e._getSourceAction(document.activeElement);n&&this._keyManager.updateActiveItem(n)}),this._dir?.change.pipe(ti(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Yr(null),ti(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(ti(this._destroyed)).subscribe(e=>{const r=this._chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),n=this._chips.toArray()[e];n.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():n.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(li),D(jr,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-chip-set"]],contentQueries:function(e,n,r){if(1&e&&di(r,am,5),2&e){let a;Qe(a=Ze())&&(n._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,n){1&e&&pe("keydown",function(a){return n._handleKeydown(a)}),2&e&&Nt("role",n.role)},inputs:{disabled:"disabled",role:"role"},features:[ot],ngContentSelectors:nD,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,n){1&e&&(Hi(),y(0,"span",0),wt(1),k())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),i})();class Yne{constructor(t,e){this.source=t,this.value=e}}const jne={provide:ba,useExisting:ci(()=>aD),multi:!0};let aD=(()=>{class i extends mv{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=Xt(dv,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(e,n)=>e===n,this._required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new ht}get multiple(){return this._multiple}set multiple(e){this._multiple=xt(e),this._syncListboxProperties()}get selected(){const e=this._chips.toArray().filter(n=>n.selected);return this.multiple?e:e[0]}get selectable(){return this._selectable}set selectable(e){this._selectable=xt(e),this._syncListboxProperties()}get required(){return this._required}set required(e){this._required=xt(e)}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=xt(e),this._syncListboxProperties()}get chipSelectionChanges(){return this._getChipStream(e=>e.selectionChange)}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe(Yr(null),ti(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe(ti(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(ti(this._destroyed)).subscribe(e=>{this.multiple||this._chips.forEach(n=>{n!==e.source&&n._setSelectedState(!1,!1,!1)}),e.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const e=this._getFirstSelectedChip();e&&!e.disabled?e.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(e){this._chips?this._setSelectionByValue(e,!1):null!=e&&(this._pendingInitialValue=e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_setSelectionByValue(e,n=!0){this._clearSelection(),Array.isArray(e)?e.forEach(r=>this._selectValue(r,n)):this._selectValue(e,n)}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_keydown(e){9===e.keyCode&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let e=null;e=Array.isArray(this.selected)?this.selected.map(n=>n.value):this.selected?this.selected.value:void 0,this._value=e,this.change.emit(new Yne(this,e)),this._onChange(e),this._changeDetectorRef.markForCheck()}_clearSelection(e){this._chips.forEach(n=>{n!==e&&n.deselect()})}_selectValue(e,n){const r=this._chips.find(a=>null!=a.value&&this.compareWith(a.value,e));return r&&(n?r.selectViaInteraction():r.select()),r}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(e=>{e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable,e._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,e._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(e){return!e.isInteractive}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275cmp=$e({type:i,selectors:[["mat-chip-listbox"]],contentQueries:function(e,n,r){if(1&e&&di(r,rD,5),2&e){let a;Qe(a=Ze())&&(n._chips=a)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(e,n){1&e&&pe("focus",function(){return n.focus()})("blur",function(){return n._blur()})("keydown",function(a){return n._keydown(a)}),2&e&&(lo("tabIndex",n.empty?-1:n.tabIndex),Nt("role",n.role)("aria-describedby",n._ariaDescribedby||null)("aria-required",n.role?n.required:null)("aria-disabled",n.disabled.toString())("aria-multiselectable",n.multiple)("aria-orientation",n.ariaOrientation),Mt("mat-mdc-chip-list-disabled",n.disabled)("mat-mdc-chip-list-required",n.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",value:"value"},outputs:{change:"change"},features:[Ot([jne]),ot],ngContentSelectors:nD,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,n){1&e&&(Hi(),y(0,"span",0),wt(1),k())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),i})(),Kne=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[Cf,{provide:dv,useValue:{separatorKeyCodes:[13]}}],imports:[Kt,Mr,Rs,Kt]}),i})();function Qne(i,t){1&i&&(y(0,"span"),B(1,", "),k())}const Zne=function(i){return["/p",i]};function Xne(i,t){if(1&i&&(y(0,"span")(1,"a",1),B(2),k(),oe(3,Qne,2,0,"span",2),k()),2&i){const e=t.$implicit,n=t.last;A(1),N("routerLink",Cn(3,Zne,e.pubkey)),A(1),Ct(e.name),A(1),N("ngIf",!n)}}class I_{constructor(t,e){this.profileService=t,this.utilities=e,this.keys=[],this.profiles=[]}ngOnInit(){var t=this;return Se(function*(){t.profiles=[];for(let e=0;e0),A(1),N("keys",e)}}function Dre(i,t){if(1&i&&oe(0,Cre,3,2,"div",18),2&i){const e=X(2);N("ngIf",e.repliesTo(e.event))}}function Mre(i,t){if(1&i&&(y(0,"mat-chip"),B(1),k()),2&i){const e=t.$implicit;A(1),ri("#",e,"")}}const Ere=function(i){return{"event-content-big":i}};function Sre(i,t){if(1&i&&(y(0,"div",1)(1,"span",2),oe(2,Fre,4,5,"ng-container",3),oe(3,xre,2,0,"span",4),k(),oe(4,Dre,1,1,"ng-template",5),y(5,"mat-chip-set",6),oe(6,Mre,2,1,"mat-chip",3),k()()),2&i){const e=X();A(1),N("ngClass",Cn(5,Ere,e.bigSize)),A(1),N("ngForOf",e.dynamicText),A(1),N("ngIf",e.event.contentCut),A(1),N("ngIf",e.displayRepliesTo),A(2),N("ngForOf",e.hashtags(e.event.tags))}}class kl{constructor(t,e,n,r,a,o,c){this.eventService=t,this.contentService=e,this.mediaService=n,this.optionsService=r,this.profileService=a,this.utilities=o,this.dialog=c,this.displayRepliesTo=!0,this.profileName="",this.tooltip="",this.profiles=[],this.isFollowing=!1,this.dynamicText=[],this.imageExtensions=[".jpg",".jpeg",".gif",".png",".webp",".apng",".jfif",".svg"],this.videoExtensions=[".mp4",".m4v",".m4p",".mpg",".mpeg",".webm",".avif",".mov",".ogv"],this.audioExtensions=[".mp3",".m4a",".flac",".ogg",".wav"],this.bigSize=!1}enque(t,e){this.mediaService.enque({artist:"",artwork:"/assets/logos/youtube.png",title:t,source:t,type:e})}isString(t){return"string"==typeof t}isNewline(t){return"newline"==t.token}getTooltip(t){return t.tooltip||""}getWord(t){return t.word}ngOnInit(){var t=this;return Se(function*(){t.event&&(t.dynamicText=t.toDynamicText(t.event),t.isFollowing=t.profileService.isFollowing(t.event.pubkey))})()}expandImage(t){this.dialog.open(Rd,{data:{picture:t}})}expandImageUrl(t){this.dialog.open(Rd,{data:{picture:t}})}hashtags(t){const e=t.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==e.length?null:e}repliesTo(t){if(!t)return null;let e=t.tags.filter(r=>"p"===r[0]).map(r=>r[1]);return e=e.filter(r=>r!==t.pubkey),0==e.length?null:e.filter((r,a)=>e.indexOf(r)===a)}getDisplayName(t){const e=this.profileService.getCachedProfile(t);return e?this.utilities.getProfileDisplayName(e):this.utilities.getShortenedIdentifier(t)}replyTo(t,e){return t?t.tags[e][1]:void 0}isImage(t){for(let e=0;e-1||t.indexOf("https://www.youtube.com")>-1||t.indexOf("https://youtube.com")>-1}isTidal(t){return!!this.optionsService.values.enableTidal&&t.indexOf("https://tidal.com")>-1}isSpotify(t){return!!this.optionsService.values.enableSpotify&&t.indexOf("https://open.spotify.com")>-1}toDynamicText(t){let e=t.content;e.length<9&&(this.bigSize=!0);const n=[],r=e.split(/\r?\n/),a=[];for(let c=0;c""!=F),f.push("
"),a.push(...f)}let o=0;for(const c of a){let h=this.contentService.keywords[c.toLowerCase()];if(h){if("username"==h.token){let f=Number(c.replace("#[","").replace("]","")),F=t.tags;h.word=F.length>f?F[f][1]:c}o=n.push(h)}else if(c.startsWith("http://")||c.startsWith("https://"))if(this.isImage(c))o=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(c),word:c,token:"image"});else if(this.isVideo(c))o=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(c),word:c,token:"video"});else if(this.isAudio(c))o=n.push({safeWord:this.utilities.sanitizeUrlAndBypass(c),word:c,token:"audio"});else if(this.isYouTube(c)){const f=[...c.matchAll(this.contentService.regexpYouTube)];o=n.push(f.length>0?{safeWord:this.utilities.bypassFrameUrl(`https://www.youtube.com/embed/${f[0][1]}`),word:`https://www.youtube.com/embed/${f[0][1]}`,token:"youtube"}:{word:c,token:"link"})}else if(this.isSpotify(c))o=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(c.replace("open.spotify.com/","open.spotify.com/embed/")),word:c,token:"spotify"});else if(this.isTidal(c))if(c.startsWith("https://tidal.com/browse/track/")){const f=c.replace("tidal.com/browse/track/","embed.tidal.com/tracks/");o=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(f),word:c,token:"tidal"})}else if(c.startsWith("https://tidal.com/track/")){const f=c.replace("tidal.com/track/","embed.tidal.com/tracks/");o=n.push({safeWord:this.utilities.sanitizeUrlAndBypassFrame(f),word:c,token:"tidal"})}else o=n.push({word:c,token:"link"});else o=n.push({word:c,token:"link"});else n[o]?n[o]+=c:n[o]=c}return n}}kl.\u0275fac=function(t){return new(t||kl)(D(zs),D(rm),D(Pd),D(Er),D(Vn),D(Nn),D(ja))},kl.\u0275cmp=$e({type:kl,selectors:[["app-content"]],inputs:{event:"event",displayRepliesTo:"displayRepliesTo"},decls:1,vars:1,consts:[["class","content clickable",4,"ngIf"],[1,"content","clickable"],[1,"event-content","clickable",3,"ngClass"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngIf"],[1,"hashtags"],[3,"ngIf","ngSwitch"],[4,"ngSwitchCase"],[1,"reply-link",3,"routerLink"],["target","_blank",3,"href"],["mat-card-image","","loading","lazy","decoding","async",1,"event-image",3,"matTooltip","alt","src","click"],["width","100%","height","152","frameborder","0","allowfullscreen","","allow","autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture","loading","lazy",2,"border-radius","12px",3,"src"],["controls","","preload","none",1,"event-video"],[3,"src"],["mat-icon-button","","matTooltip","Add to media player",3,"click"],["id","ytplayer","type","text/html","frameborder","0","allowfullscreen","",1,"event-video",3,"src"],["loading","lazy",1,"meme",3,"matTooltip","src","click"],["class","reply-to dimmed clickable",4,"ngIf"],[1,"reply-to","dimmed","clickable"],["class","clickable",4,"ngIf"],[3,"keys"],[1,"clickable"]],template:function(t,e){1&t&&oe(0,Sre,7,7,"div",0),2&t&&N("ngIf",e.event)},dependencies:[Pa,Gn,mi,ou,mf,Ya,Do,JC,pr,Fl,am,mv,I_],styles:[".event-image[_ngcontent-%COMP%]{width:100%;max-width:480px;display:inline-block;margin-top:.2em}.event-images[_ngcontent-%COMP%]{text-align:left}.event-video[_ngcontent-%COMP%]{width:100%;display:inline-block;margin-top:.2em;aspect-ratio:16 / 9}.embed-iframe[_ngcontent-%COMP%]{min-width:300px;min-height:300px}.events-videos[_ngcontent-%COMP%]{text-align:left}.reply-to[_ngcontent-%COMP%]{margin-top:.2em}.event-content[_ngcontent-%COMP%]{overflow-wrap:break-word}.event-content-big[_ngcontent-%COMP%]{font-size:2.2em}@media only screen and (max-width: 599px){.event-video[_ngcontent-%COMP%]{width:100vw!important;height:50vh!important;margin-left:-1.6em}.event-image[_ngcontent-%COMP%]{width:100vw!important;margin-left:-1.6em;max-width:max-content}}.meme[_ngcontent-%COMP%]{max-width:128px}"]});class xs{constructor(t){this.storage=t,this.labels=[]}getName(t){const e=this.labels.find(n=>n.id==t);return e?e.name:""}saveLabel(t){var e=this;return Se(function*(){if(!t)return;let n={name:t,id:dC()};yield e.storage.storage.putLabel(n),e.labels.push(n),e.sort()})()}sort(){this.labels=this.labels.sort((t,e)=>t.name?.toLowerCase()null!=e.labels&&e.labels.some(n=>t.includes(n)))}wipe(){var t=this;return Se(function*(){yield t.db.storage.deleteNotes()})()}}function xL(i,t){return t?e=>kh(t.pipe(gn(1),function Are(){return ei((i,t)=>{i.subscribe(zt(t,j))})}()),e.pipe(xL(i))):_i((e,n)=>dn(i(e,n)).pipe(gn(1),Db(e)))}function fv(i,t=_f){const e=yb(i,t);return xL(()=>e)}Bd.\u0275fac=function(t){return new(t||Bd)(Ee(Ea))},Bd.\u0275prov=it({token:Bd,factory:Bd.\u0275fac,providedIn:"root"});const Tre=["mat-menu-item",""];function Ire(i,t){1&i&&(_o(),y(0,"svg",3),De(1,"polygon",4),k())}const Nre=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Lre=["mat-icon, [matMenuItemIcon]","*"];function Ore(i,t){if(1&i){const e=tt();y(0,"div",0),pe("keydown",function(r){return Te(e),Ie(X()._handleKeydown(r))})("click",function(){return Te(e),Ie(X().closed.emit("click"))})("@transformMenu.start",function(r){return Te(e),Ie(X()._onAnimationStart(r))})("@transformMenu.done",function(r){return Te(e),Ie(X()._onAnimationDone(r))}),y(1,"div",1),wt(2),k()()}if(2&i){const e=X();N("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Nt("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const Rre=["*"],oD=new Ke("MAT_MENU_PANEL"),Pre=_l($l(class{}));let jc=(()=>{class i extends Pre{constructor(e,n,r,a,o){super(),this._elementRef=e,this._document=n,this._focusMonitor=r,this._parentMenu=a,this._changeDetectorRef=o,this.role="menuitem",this._hovered=new He,this._focused=new He,this._highlighted=!1,this._triggersSubmenu=!1,a?.addItem?.(this)}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,n):this._getHostElement().focus(n),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),n=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r enter",ir("120ms cubic-bezier(0, 0, 0.2, 1)",hi({opacity:1,transform:"scale(1)"}))),nr("* => void",ir("100ms 25ms linear",hi({opacity:0})))]),fadeInItems:Va("fadeInItems",[fr("showing",hi({opacity:1})),nr("void => *",[hi({opacity:0}),ir("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Hre=0;const kL=new Ke("mat-menu-default-options",{providedIn:"root",factory:function Vre(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let N_=(()=>{class i{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=xt(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=xt(e)}set panelClass(e){const n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,n,r,a){this._elementRef=e,this._ngZone=n,this._defaultOptions=r,this._changeDetectorRef=a,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new wc,this._classList={},this._panelAnimationState="void",this._animationDone=new He,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new ht,this.close=this.closed,this.panelId="mat-menu-panel-"+Hre++}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Fg(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Yr(this._directDescendantItems),ca(e=>Rn(...e.map(n=>n._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const n=this._keyManager;if("enter"===this._panelAnimationState&&n.activeItem?._hasFocus()){const r=e.toArray(),a=Math.max(0,Math.min(r.length-1,n.activeItemIndex||0));r[a]&&!r[a].disabled?n.setActiveItem(a):n.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Yr(this._directDescendantItems),ca(n=>Rn(...n.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const n=e.keyCode,r=this._keyManager;switch(n){case 27:ga(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===n||40===n)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(gn(1)).subscribe(()=>{let n=null;if(this._directDescendantItems.length&&(n=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!n||!n.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&n&&n.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const n=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${n}`,a=Object.keys(this._classList).find(o=>o.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,n=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===n,r["mat-menu-below"]="below"===n,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Yr(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Rt),D(kL),D(li))},i.\u0275dir=Oe({type:i,contentQueries:function(e,n,r){if(1&e&&(di(r,Bre,5),di(r,jc,5),di(r,jc,4)),2&e){let a;Qe(a=Ze())&&(n.lazyContent=a.first),Qe(a=Ze())&&(n._allItems=a),Qe(a=Ze())&&(n.items=a)}},viewQuery:function(e,n){if(1&e&&Tt(yr,5),2&e){let r;Qe(r=Ze())&&(n.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),i})(),om=(()=>{class i extends N_{constructor(e,n,r,a){super(e,n,r,a),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Rt),D(kL),D(li))},i.\u0275cmp=$e({type:i,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,n){2&e&&Nt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Ot([{provide:oD,useExisting:i}]),ot],ngContentSelectors:Rre,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(e,n){1&e&&(Hi(),oe(0,Ore,3,6,"ng-template"))},dependencies:[Pa],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[pv.transformMenu,pv.fadeInItems]},changeDetection:0}),i})();const CL=new Ke("mat-menu-scroll-strategy"),jre={provide:CL,deps:[_a],useFactory:function Yre(i){return()=>i.scrollStrategies.reposition()}},DL=md({passive:!0});let zre=(()=>{class i{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(n=>{this._destroyMenu(n),("click"===n||"tab"===n)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,n,r,a,o,c,h,f,F){this._overlay=e,this._element=n,this._viewContainerRef=r,this._menuItemInstance=c,this._dir=h,this._focusMonitor=f,this._ngZone=F,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=x.EMPTY,this._hoverSubscription=x.EMPTY,this._menuCloseSubscription=x.EMPTY,this._changeDetectorRef=Xt(li),this._handleTouchStart=R=>{Ax(R)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new ht,this.onMenuOpen=this.menuOpened,this.menuClosed=new ht,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=o instanceof N_?o:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,DL)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,DL),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const n=this._createOverlay(e),r=n.getConfig(),a=r.positionStrategy;this._setPosition(e,a),r.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,n.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof N_&&(e._startAnimation(),e._directDescendantItems.changes.pipe(ti(e.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,n){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,n):this._element.nativeElement.focus(n)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,n instanceof N_?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe(Ki(r=>"void"===r.toState),gn(1),ti(n.lazyContent._attached)).subscribe({next:()=>n.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let n=0,r=e.parentMenu;for(;r;)n++,r=r.parentMenu;e.setElevation(n)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){const n=this._getOverlayConfig(e);this._subscribeToPositions(e,n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new kf({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,n){e.setPositionClasses&&n.positionChanges.subscribe(r=>{const a="start"===r.connectionPair.overlayX?"after":"before",o="top"===r.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(a,o)):e.setPositionClasses(a,o)})}_setPosition(e,n){let[r,a]="before"===e.xPosition?["end","start"]:["start","end"],[o,c]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[h,f]=[o,c],[F,R]=[r,a],W=0;if(this.triggersSubmenu()){if(R=r="before"===e.xPosition?"start":"end",a=F="end"===r?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const te=this._parentMaterialMenu.items.first;this._parentInnerPadding=te?te._getHostElement().offsetTop:0}W="bottom"===o?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(h="top"===o?"bottom":"top",f="top"===c?"bottom":"top");n.withPositions([{originX:r,originY:h,overlayX:F,overlayY:o,offsetY:W},{originX:a,originY:h,overlayX:R,overlayY:o,offsetY:W},{originX:r,originY:f,overlayX:F,overlayY:c,offsetY:-W},{originX:a,originY:f,overlayX:R,overlayY:c,offsetY:-W}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return Rn(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:qt(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ki(o=>o!==this._menuItemInstance),Ki(()=>this._menuOpen)):qt(),n)}_handleMousedown(e){Sx(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const n=e.keyCode;(13===n||32===n)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===n&&"ltr"===this.dir||37===n&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ki(e=>e===this._menuItemInstance&&!e.disabled),fv(0,Lx)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof N_&&this.menu._isAnimating?this.menu._animationDone.pipe(gn(1),fv(0,Lx),ti(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new _d(e.templateRef,this._viewContainerRef)),this._portal}}return i.\u0275fac=function(e){return new(e||i)(D(_a),D(_t),D(kr),D(CL),D(oD,8),D(jc,10),D(jr,8),D(Ha),D(Rt))},i.\u0275dir=Oe({type:i,hostVars:3,hostBindings:function(e,n){1&e&&pe("click",function(a){return n._handleClick(a)})("mousedown",function(a){return n._handleMousedown(a)})("keydown",function(a){return n._handleKeydown(a)}),2&e&&Nt("aria-haspopup",n.menu?"menu":null)("aria-expanded",n.menuOpen)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),i})(),L_=(()=>{class i extends zre{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[ot]}),i})(),Ure=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[jre],imports:[Mr,Rs,Kt,Dc,Cc,Kt]}),i})();function Wre(i,t){1&i&&(y(0,"button",13)(1,"mat-icon",14),B(2,"more_vert"),k()()),2&i&&(X(),N("matMenuTriggerFor",en(3)))}function Gre(i,t){1&i&&(y(0,"button",15)(1,"mat-icon"),B(2,"more_vert"),k()()),2&i&&(X(),N("matMenuTriggerFor",en(3)))}function qre(i,t){if(1&i){const e=tt();y(0,"button",6),pe("click",function(){return Te(e),Ie(X().saveNote())}),y(1,"mat-icon"),B(2,"bookmark_add"),k(),y(3,"span"),B(4,"Save Note"),k()()}2&i&&(X(),N("matMenuTriggerFor",en(32)))}function $re(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){return Te(e),Ie(X().removeNote())}),y(1,"mat-icon"),B(2,"bookmark_remove"),k(),y(3,"span"),B(4,"Remove from Notes"),k()()}}function Kre(i,t){1&i&&(y(0,"button",7)(1,"mat-icon"),B(2,"new_label"),k(),y(3,"span"),B(4,"Set Label"),k()()),2&i&&(X(),N("matMenuTriggerFor",en(32)))}function Qre(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){Te(e);const r=X();return Ie(r.copyNoteId(r.event.id))}),y(1,"mat-icon"),B(2,"content_copy"),k(),y(3,"span"),B(4,"Note ID (note)"),k()()}}function Zre(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){Te(e);const r=X();return Ie(r.copyNoteEventId(r.event.id))}),y(1,"mat-icon"),B(2,"content_copy"),k(),y(3,"span"),B(4,"Note ID (nevent)"),k()()}}function Xre(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){Te(e);const r=X();return Ie(r.copy(r.event.id))}),y(1,"mat-icon"),B(2,"content_copy"),k(),y(3,"span"),B(4,"Note ID (hex)"),k()()}}function Jre(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){Te(e);const r=X();return Ie(r.copyNoteUrl(r.event.id))}),y(1,"mat-icon"),B(2,"content_copy"),k(),y(3,"span"),B(4,"Note URL (nevent)"),k()()}}function eae(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){return Te(e),Ie(X().copyEvent())}),y(1,"mat-icon"),B(2,"content_copy"),k(),y(3,"span"),B(4,"Note Data"),k()()}}function tae(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){const a=Te(e).$implicit;return Ie(X().setLabel(a.id))}),y(1,"mat-icon"),B(2,"label"),k(),y(3,"span"),B(4),k()()}if(2&i){const e=t.$implicit;A(4),Ct(e.name)}}class Ws{constructor(t,e,n,r,a){this.labelService=t,this.snackBar=e,this.profileService=n,this.notesService=r,this.utilities=a,this.fab=!1,this.pubkey=""}saveNote(){var t=this;return Se(function*(){if(!t.event)return;const e=t.event;e.saved=Math.floor(Date.now()/1e3),yield t.notesService.putNote(e)})()}removeNote(){var t=this;return Se(function*(){t.event&&(console.log("DELETE EVENT:",t.event),yield t.notesService.deleteNote(t.event.id))})()}follow(t){var e=this;return Se(function*(){console.log("FOLLOW:",e.profile),e.profile&&(1!=e.profile.status?yield e.profileService.follow(e.profile.pubkey,t):yield e.profileService.setCircle(e.profile.pubkey,t))})()}getNpub(t){return this.utilities.getNostrIdentifier(t)}copyEvent(){this.copy(JSON.stringify(this.event))}copyProfileUrl(t){this.copy(`web+nostr:npub:${za.npubEncode(t)}`)}copyNoteId(t){this.copy(za.noteEncode(t))}setLabel(t){var e=this;return Se(function*(){if(!e.event)return;let n=e.event;n.labels=[],n.labels.push(t),yield e.notesService.putNote(e.event)})()}copyNoteEventId(t){this.copy(za.neventEncode({id:t}))}copyNoteUrl(t){this.copy(`web+nostr:nevent:${za.neventEncode({id:t})}`)}copyProfile(){this.profile&&this.copy(JSON.stringify({name:this.profile.name,about:this.profile.about,nip05:this.profile.nip05,picture:this.profile.picture,banner:this.profile.banner,website:this.profile.website,lud06:this.profile.lud06,lud16:this.profile.lud16,display_name:this.profile.display_name}))}copy(t){cy(t),this.snackBar.open("Copied to clipboard","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})}unfollow(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.unfollow(t.profile.pubkey))})()}mute(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.mute(t.profile.pubkey))})()}unmute(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.unmute(t.profile.pubkey))})()}block(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.block(t.profile.pubkey))})()}unblock(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.unblock(t.profile.pubkey))})()}ngOnDestroy(){}ngOnInit(){var t=this;return Se(function*(){t.event?t.pubkey=t.event.pubkey:t.profile&&(t.pubkey=t.profile.pubkey)})()}}function iae(i,t){if(1&i&&(y(0,"span",3),B(1),k()),2&i){const e=X();N("matTooltip",e.tooltip),A(1),Ct(e.profileName)}}function nae(i,t){if(1&i&&(y(0,"span"),B(1),k()),2&i){const e=X();A(1),Ct(e.profileName)}}Ws.\u0275fac=function(t){return new(t||Ws)(D(xs),D(js),D(Vn),D(Bd),D(Nn))},Ws.\u0275cmp=$e({type:Ws,selectors:[["app-event-actions"]],inputs:{fab:"fab",pubkey:"pubkey",profile:"profile",event:"event"},decls:34,vars:13,consts:[["class","action-button","mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor","click",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor","click"],["mat-menu-item","",3,"matMenuTriggerFor"],["copyMenu","matMenu"],["shareMenu","matMenu"],["mat-menu-item","",3,"click"],["labelMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-icon-button","",1,"action-button",3,"matMenuTriggerFor"],[1,"action-button-icon"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor"]],template:function(t,e){if(1&t&&(oe(0,Wre,3,1,"button",0),oe(1,Gre,3,1,"button",1),y(2,"mat-menu",null,2),oe(4,qre,5,1,"button",3),oe(5,$re,5,0,"button",4),oe(6,Kre,5,1,"button",5),y(7,"button",6),pe("click",function(){return e.copyNoteId(e.event.id)}),y(8,"mat-icon"),B(9,"copy_all"),k(),y(10,"span"),B(11,"Copy"),k()(),y(12,"button",7)(13,"mat-icon"),B(14,"ios_share"),k(),y(15,"span"),B(16,"Share"),k()()(),y(17,"mat-menu",null,8),oe(19,Qre,5,0,"button",4),oe(20,Zre,5,0,"button",4),oe(21,Xre,5,0,"button",4),oe(22,Jre,5,0,"button",4),oe(23,eae,5,0,"button",4),k(),y(24,"mat-menu",null,9)(26,"button",10),pe("click",function(){return e.copy("https://notes.blockcore.net/e/"+e.event.id)}),y(27,"mat-icon"),B(28,"content_copy"),k(),y(29,"span"),B(30,"Note URL"),k()()(),y(31,"mat-menu",null,11),oe(33,tae,5,1,"button",12),k()),2&t){const n=en(18),r=en(25);N("ngIf",!e.fab),A(1),N("ngIf",e.fab),A(3),N("ngIf",e.event&&!e.event.saved),A(1),N("ngIf",e.event&&e.event.saved),A(1),N("ngIf",e.event&&e.event.saved),A(1),N("matMenuTriggerFor",n),A(5),N("matMenuTriggerFor",r),A(7),N("ngIf",e.event),A(1),N("ngIf",e.event),A(1),N("ngIf",e.event),A(1),N("ngIf",e.event),A(1),N("ngIf",e.event),A(10),N("ngForOf",e.labelService.labels)}},dependencies:[Gn,mi,Do,a5,pr,om,jc,L_],encapsulation:2});const rae=function(i){return["/p",i]};class O_{constructor(t,e,n){this.db=t,this.profiles=e,this.utilities=n,this.pubkey="",this.profileName="",this.tooltip=""}ngOnInit(){var t=this;return Se(function*(){const e=yield t.db.storage.getProfile(t.pubkey);t.profileName=e?e.display_name?e.display_name:e.name:t.utilities.getShortenedIdentifier(t.pubkey)})()}}function aae(i,t){if(1&i&&(y(0,"span"),B(1),k()),2&i){const e=X();A(1),ri(" ",e.notification.message,"")}}O_.\u0275fac=function(t){return new(t||O_)(D(Ea),D(Vn),D(Nn))},O_.\u0275cmp=$e({type:O_,selectors:[["app-profile-name"]],inputs:{pubkey:"pubkey"},decls:3,vars:5,consts:[[3,"routerLink"],["matTooltipPosition","above",3,"matTooltip",4,"ngIf"],[4,"ngIf"],["matTooltipPosition","above",3,"matTooltip"]],template:function(t,e){1&t&&(y(0,"a",0),oe(1,iae,2,2,"span",1),oe(2,nae,2,1,"span",2),k()),2&t&&(N("routerLink",Cn(3,rae,e.pubkey)),A(1),N("ngIf",e.tooltip),A(1),N("ngIf",!e.tooltip))},dependencies:[mi,Ya,Fl],encapsulation:2});const sD=function(i){return["/e",i]};function oae(i,t){if(1&i&&(y(0,"span"),B(1," replied to your "),y(2,"a",2),B(3,"note"),k(),B(4,"."),k()),2&i){const e=X();A(2),N("routerLink",Cn(1,sD,e.notification.id))}}function sae(i,t){1&i&&(y(0,"span"),B(1," started following you."),k())}function lae(i,t){if(1&i&&(y(0,"span"),B(1," boosted your "),y(2,"a",2),B(3,"note"),k()()),2&i){const e=X();A(2),N("routerLink",Cn(1,sD,e.notification.relatedId))}}function cae(i,t){if(1&i&&(y(0,"span"),B(1),y(2,"a",2),B(3,"note"),k(),B(4,"."),k()),2&i){const e=X();A(1),ri(" reacted with ",e.notification.message," to your "),A(1),N("routerLink",Cn(2,sD,e.notification.relatedId))}}class sp{}sp.\u0275fac=function(t){return new(t||sp)},sp.\u0275cmp=$e({type:sp,selectors:[["app-notification-label"]],inputs:{notification:"notification"},decls:6,vars:6,consts:[[3,"pubkey"],[4,"ngIf"],[3,"routerLink"]],template:function(t,e){1&t&&(De(0,"app-profile-name",0),oe(1,aae,2,1,"span",1),oe(2,oae,5,3,"span",1),oe(3,sae,2,0,"span",1),oe(4,lae,4,3,"span",1),oe(5,cae,5,4,"span",1)),2&t&&(N("pubkey",e.notification.pubkey),A(1),N("ngIf",e.notification.kind>7),A(1),N("ngIf",1==e.notification.kind),A(1),N("ngIf",3==e.notification.kind),A(1),N("ngIf",6==e.notification.kind),A(1),N("ngIf",7==e.notification.kind))},dependencies:[mi,Ya,O_],encapsulation:2});class Gs{transform(t){return t?iv.unix(t).fromNow():""}}Gs.\u0275fac=function(t){return new(t||Gs)},Gs.\u0275pipe=Lr({name:"ago",type:Gs,pure:!0});const dae=["picker"];function uae(i,t){if(1&i&&De(0,"app-event-header",16),2&i){const e=t.$implicit;N("listType","icon")("iconSize","thumbnail")("displayName",!1)("displayContent",!1)("profile",e)}}function hae(i,t){if(1&i&&(y(0,"p"),De(1,"app-notification-label",21),k()),2&i){const e=t.$implicit;A(1),N("notification",e)}}function mae(i,t){1&i&&(y(0,"p",22),B(1,"No activities"),k())}function fae(i,t){if(1&i&&(y(0,"mat-card-content",17),oe(1,hae,2,1,"p",18),oe(2,mae,2,0,"p",19),y(3,"div",11)(4,"button",20),B(5,"View more"),k()()()),2&i){const e=t.ngIf;A(1),N("ngForOf",e),A(1),N("ngIf",0==e.length)}}const pae=function(i){return["/following",i]};function gae(i,t){if(1&i&&(y(0,"div",23),B(1),De(2,"br"),y(3,"small"),B(4),k(),De(5,"br"),y(6,"button",24),B(7,"View profiles"),k()()),2&i){const e=t.$implicit;A(1),ri(" ",e.name,""),A(3),Ct(e.about),A(2),N("routerLink",Cn(3,pae,e.pubkeyhex))}}function _ae(i,t){if(1&i){const e=tt();y(0,"mat-card",25),pe("click",function(r){const o=Te(e).$implicit;return Ie(X().navigation.openEvent(r,o))}),y(1,"div",26)(2,"app-event-header",27)(3,"span",28),B(4),zi(5,"ago"),k(),De(6,"app-directory-icon",27),k(),De(7,"app-event-actions",29),k(),De(8,"app-content",29),k()}if(2&i){const e=t.$implicit;A(2),N("pubkey",e.pubkey),A(2),Ct(Ui(5,5,e.created_at)),A(2),N("pubkey",e.pubkey),A(1),N("event",e),A(1),N("event",e)}}class R_{constructor(t,e,n,r,a,o,c,h,f,F,R,W,te,fe,we,Ae,Ne){this.ui=t,this.db=e,this.appState=n,this.cd=r,this.options=a,this.dialog=o,this.navigation=c,this.profileService=h,this.validator=f,this.authService=F,this.utilities=R,this.snackBar=W,this.dataService=te,this.router=fe,this.breakpointObserver=we,this.ngZone=Ae,this.formBuilder=Ne,this.subscriptions=[],this.lists=[{name:"Nostr",about:"Influencial nostr developers and community people",pubkey:"npub15xrwvftyzynahpl5fmpuv9wtkg9q52j8q73saw59u8tmx63ktx8sfclgss",pubkeyhex:"a186e625641127db87f44ec3c615cbb20a0a2a4707a30eba85e1d7b36a36598f"},{name:"Bitcoin",about:"Influencial Bitcoin people",pubkey:"npub175ag9cus82a0zzpkheaglnudpvsc8q046z82cyz9gmauzlve6r2s4k9fpm",pubkeyhex:"f53a82e3903abaf10836be7a8fcf8d0b218381f5d08eac104546fbc17d99d0d5"},{name:"Blockcore",about:"Follow the Blockcore developers",pubkey:"npub1zfy0r7x8s3xukajewkmmzxjj3wpfan7apj5y7szz7y740wtf6p5q3tdyy9",pubkeyhex:"1248f1f8c7844dcb765975b7b11a528b829ecfdd0ca84f4042f13d57b969d068"}],this.defaults=[{pubkeynpub:"npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6",pubkey:"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",name:"fiatjaf",picture:"https://pbs.twimg.com/profile_images/539211568035004416/sBMjPR9q_normal.jpeg",about:"buy my merch at fiatjaf store",checked:!1},{pubkeynpub:"npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m",pubkey:"82341f882b6eabcd2ba7f1ef90aad961cf074af15b9ef44a09f9d2a8fbfbe6a2",name:"jack",picture:"https://pbs.twimg.com/profile_images/1115644092329758721/AFjOr-K8_normal.jpg",about:"bitcoin...twttr/@jack",checked:!1},{pubkeynpub:"npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s",pubkey:"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",name:"jb55",picture:"https://pbs.twimg.com/profile_images/1362882895669436423/Jzsp1Ikr_normal.jpg",about:"damus.io author. bitcoin and nostr dev",checked:!1},{pubkeynpub:"npub1v4v57fu60zvc9d2uq23cey4fnwvxlzga9q2vta2n6xalu03rs57s0mxwu8",pubkey:"65594f279a789982b55c02a38c92a99b986f891d2814c5f553d1bbfe3e23853d",name:"hampus",picture:"https://pbs.twimg.com/profile_images/1517505111991504896/9qixSAMn_normal.jpg",about:"",checked:!1},{pubkeynpub:"npub1zl3g38a6qypp6py2z07shggg45cu8qex992xpss7d8zrl28mu52s4cjajh",pubkey:"17e2889fba01021d048a13fd0ba108ad31c38326295460c21e69c43fa8fbe515",name:"sondreb",picture:"https://sondreb.com/favicon.png",about:"Developer \u{1f9b8}\u200d\u2642\ufe0f of Blockcore Notes and Blockcore Wallet",checked:!1}],this.latestItems=[],this.initialLoad=!0,this.details=!1,this.images=["https://picsum.photos/seed/1/800/600","https://picsum.photos/seed/2/600/800","https://picsum.photos/seed/3/800/800","https://picsum.photos/seed/4/800/600","https://picsum.photos/seed/5/600/800","https://picsum.photos/seed/6/800/800","https://picsum.photos/seed/7/800/600","https://picsum.photos/seed/8/600/800","https://picsum.photos/seed/9/800/800","https://picsum.photos/seed/10/800/600","https://picsum.photos/seed/11/600/800","https://picsum.photos/seed/12/800/800","https://picsum.photos/seed/1/800/600","https://picsum.photos/seed/2/600/800","https://picsum.photos/seed/3/800/800"],this.profileThumbnailWidth=72,this.profileCount=1,this.profiles=[],console.log("HOME constructor!!")}addEmoji(t){this.note=`${this.note}${t.emoji.native}`,this.isEmojiPickerVisible=!1}onCancel(){this.note=""}postNote(){this.navigation.saveNote(this.note)}follow(t){var e=this;return Se(function*(){t.checked&&(yield e.profileService.follow(t.pubkey,0,t))})()}trackByFn(t,e){return e.id}trackByProfile(t,e){return`${e.pubkey}${e.checked}`}trackByNoteId(t,e){return e.id}toggleDetails(){this.details=!this.details}import(t){this.dataService.enque({identifier:t,type:"Contacts"})}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}feedChanged(t,e){"public"===e?this.options.values.privateFeed=!this.options.values.publicFeed:this.options.values.publicFeed=!this.options.values.privateFeed}ngOnInit(){var t=this;return Se(function*(){t.options.values.privateFeed=!0,t.formGroup=t.formBuilder.group({note:["",Ed.required],expiration:[""],dateControl:[]}),t.appState.updateTitle("Blockcore Notes"),t.appState.showBackButton=!1,t.appState.showLogo=!0,t.appState.actions=[{icon:"note_add",tooltip:"Create Note",click:()=>{t.navigation.createNote()}}],t.latestItems=yield t.db.storage.getEventsByCreatedAndKind(7,1),t.subscriptions.push(t.profileService.following$.subscribe(e=>{t.profileCount=Math.floor(window.innerWidth/t.profileThumbnailWidth),t.profiles=e.slice(0,t.profileCount)})),t.resizeObservable$=is(window,"resize"),t.resizeSubscription$=t.resizeObservable$.pipe(yg(100)).subscribe(e=>{t.profileCount=Math.floor(window.innerWidth/t.profileThumbnailWidth),t.profiles=t.profileService.following.slice(0,t.profileCount)})})()}}R_.\u0275fac=function(t){return new(t||R_)(D(qr),D(Ea),D(ln),D(li),D(Er),D(ja),D(Ao),D(Vn),D(Uo),D(Da),D(Nn),D(js),D(Ka),D(rr),D(gd),D(Rt),D(pee))},R_.\u0275cmp=$e({type:R_,selectors:[["app-home"]],viewQuery:function(t,e){if(1&t&&Tt(dae,5),2&t){let n;Qe(n=Ze())&&(e.picker=n.first)}},decls:59,vars:7,consts:[[1,"page"],[1,"profile-line"],[3,"listType","iconSize","displayName","displayContent","profile",4,"ngFor","ngForOf"],[1,"home"],[1,"home-left"],[1,"home-card"],["class","activity-feed",4,"ngIf"],["routerLink","/e/63f78a0588f88c5e6931efcf032c8f600656eb5425785aea99b15ce0967be4a7"],["class","list-selection",4,"ngFor","ngForOf"],["href","https://geyser.fund/project/blockcore","target","_blank"],[1,"home-right"],[1,"centered"],["routerLink","/editor","mat-fab","","extended","","color","primary"],["class","events clickable",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"view-more-container"],["mat-button","","routerLink","/feed"],[3,"listType","iconSize","displayName","displayContent","profile"],[1,"activity-feed"],[4,"ngFor","ngForOf"],["class","dimmed",4,"ngIf"],["mat-button","","routerLink","/notifications"],[3,"notification"],[1,"dimmed"],[1,"list-selection"],["mat-flat-button","","color","primary",1,"full-width",3,"routerLink"],[1,"events","clickable",3,"click"],[1,"events-header"],[3,"pubkey"],["matTooltipPosition","below",1,"event-date"],[3,"event"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"div",1),oe(2,uae,1,5,"app-event-header",2),k(),y(3,"div",3)(4,"div",4)(5,"mat-card",5)(6,"mat-card-header")(7,"mat-card-title"),B(8,"Activity Feed"),k()(),oe(9,fae,6,2,"mat-card-content",6),zi(10,"async"),k(),y(11,"mat-card",5)(12,"mat-card-header")(13,"mat-card-title"),B(14,"News"),k()(),y(15,"mat-card-content")(16,"p"),B(17,"02-11: Activity feed and notifications has been added."),k(),y(18,"p"),B(19,"01-19: "),y(20,"a",7),B(21,"Nostr conference is in the planning"),k(),B(22,"."),k(),y(23,"p"),B(24,'01-20: Blockcore Notes "Home" launched as UI-mockup.'),k()()(),y(25,"mat-card",5)(26,"mat-card-header")(27,"mat-card-title"),B(28,"Following Lists"),k(),y(29,"mat-card-subtitle"),B(30,"Lists of users based upon topics you can add to your following list."),k()(),y(31,"mat-card-content"),oe(32,gae,8,5,"div",8),k()(),y(33,"mat-card",5)(34,"mat-card-header")(35,"mat-card-title"),B(36,"Prototype"),k()(),y(37,"mat-card-content")(38,"p"),B(39,"Blockcore Notes is currently in prototype quality stage. Reset the database often."),k(),y(40,"p"),B(41,"Please consider donating some Bitcoin using Geyser:"),k(),y(42,"p")(43,"a",9),B(44,"geyser.fund/blockcore"),k()()()()(),y(45,"div",10),De(46,"br")(47,"br"),y(48,"div",11)(49,"button",12)(50,"mat-icon"),B(51,"note_add"),k(),B(52," Write a Note "),k()(),De(53,"br")(54,"br"),oe(55,_ae,9,7,"mat-card",13),y(56,"p",14)(57,"button",15),B(58,"View following notes..."),k()()()()()),2&t&&(A(2),N("ngForOf",e.profiles),A(7),N("ngIf",Ui(10,5,e.ui.activityFeed$)),A(23),N("ngForOf",e.lists),A(23),N("ngForOf",e.latestItems)("ngForTrackBy",e.trackByFn))},dependencies:[Gn,mi,Ya,Cr,r5,Sa,ec,D_,C_,k_,pr,xl,Fs,kl,Ws,sp,Os,Gs],styles:[".dashboard-header[_ngcontent-%COMP%]{display:flex;gap:2em;flex-direction:row}.dashboard-header[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{border-radius:20px}.card-container[_ngcontent-%COMP%]{box-sizing:border-box}.default-card[_ngcontent-%COMP%]{display:inline-block;width:300px;height:160px;margin-right:1em;margin-bottom:1em}.follow-button[_ngcontent-%COMP%]{margin-top:1em;width:100%;font-size:1.2em;height:72px;text-align:center}.follow-card-content[_ngcontent-%COMP%]{text-align:center}.follow-toggle[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.dashboard[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1em}.dashboard-left[_ngcontent-%COMP%]{flex-grow:4;flex-shrink:1;flex-basis:10%}.dashboard-right[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;flex-basis:10%}.list-selection[_ngcontent-%COMP%]{margin-top:1.4em}.list-selection[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:.8em}@media only screen and (max-width: 920px){.dashboard[_ngcontent-%COMP%]{flex-direction:column}}@media only screen and (max-width: 820px){.dashboard-header[_ngcontent-%COMP%]{flex-direction:column;gap:1em}}@media only screen and (max-width: 599px){.default-card[_ngcontent-%COMP%]{display:block;width:100%}}.home[_ngcontent-%COMP%]{display:flex;gap:1.5em;max-width:1360px;align-self:center}.home-left[_ngcontent-%COMP%]{flex:1 1 0;min-width:240px}.home-right[_ngcontent-%COMP%]{flex:3 1 0}.home-card[_ngcontent-%COMP%]{border-radius:15px;margin-bottom:1.8em;width:100%}.home-card-thumbnail[_ngcontent-%COMP%]{width:56px;height:56px;margin-left:.1em;margin-right:.1em;border-radius:5px}.home-card-image[_ngcontent-%COMP%]{width:100%}.page[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;width:100%;flex-direction:column}@media only screen and (max-width: 599px){.home[_ngcontent-%COMP%]{flex-direction:column-reverse;gap:1em}}.view-more-container[_ngcontent-%COMP%]{text-align:center}.activity-feed[_ngcontent-%COMP%]{font-size:.85em}.wipe-button[_ngcontent-%COMP%]{margin-bottom:1em}.profile-line[_ngcontent-%COMP%]{width:100%;overflow:hidden;display:flex;flex-direction:row;margin-bottom:.2em}.profile-line[_ngcontent-%COMP%] .event-header[_ngcontent-%COMP%]{flex-flow:nowrap}.profile-line[_ngcontent-%COMP%] .icon-medium[_ngcontent-%COMP%]{width:64px!important;height:64px!important}"]});class P_{constructor(t,e,n,r,a,o){this.relayService=t,this.ui=e,this.appState=n,this.db=r,this.authService=a,this.router=o}ngOnInit(){this.relayService.terminateAll(),this.ui.clearAll(),this.db.close(),this.authService.logout()}}function bae(i,t){if(1&i&&(y(0,"mat-chip-option",4),B(1),k()),2&i){const e=t.$implicit;N("value",e.id),A(1),Ct(e.name)}}function yae(i,t){if(1&i){const e=tt();y(0,"div")(1,"mat-form-field",5)(2,"input",6),pe("ngModelChange",function(r){return Te(e),Ie(X().label=r)}),k()(),y(3,"button",7),pe("click",function(){return Te(e),Ie(X().saveLabel())}),y(4,"mat-icon"),B(5,"done"),k()(),y(6,"button",8),pe("click",function(){return Te(e),Ie(X().hideNewLabel())}),y(7,"mat-icon"),B(8,"close"),k()()()}if(2&i){const e=X();A(2),N("ngModel",e.label),A(1),N("disabled",!e.label)}}function vae(i,t){if(1&i){const e=tt();y(0,"button",8),pe("click",function(){return Te(e),Ie(X().addNewLabel())}),y(1,"mat-icon"),B(2,"add"),k()()}}P_.\u0275fac=function(t){return new(t||P_)(D(as),D(qr),D(ln),D(Ea),D(Da),D(rr))},P_.\u0275cmp=$e({type:P_,selectors:[["app-logout"]],decls:1,vars:0,template:function(t,e){1&t&&B(0,"Loading...")},encapsulation:2});class B_{constructor(t){this.labelService=t,this.selectionChanged=new ht}addNewLabel(){this.showNewLabel=!0}hideNewLabel(){this.showNewLabel=!1,this.label=""}onChange(t){console.log(t),this.selectionChanged.emit(t.value)}saveLabel(){var t=this;return Se(function*(){t.label&&(t.labelService.saveLabel(t.label),t.label="",t.showNewLabel=!1)})()}}B_.\u0275fac=function(t){return new(t||B_)(D(xs))},B_.\u0275cmp=$e({type:B_,selectors:[["app-labels"]],outputs:{selectionChanged:"selectionChanged"},decls:4,vars:5,consts:[["aria-label","Fish selection",3,"selectable","multiple","change"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],[3,"value"],[1,"example-form-field"],["matInput","","type","text",3,"ngModel","ngModelChange"],["mat-icon-button","",3,"disabled","click"],["mat-icon-button","",3,"click"]],template:function(t,e){1&t&&(y(0,"mat-chip-listbox",0),pe("change",function(r){return e.onChange(r)}),oe(1,bae,2,2,"mat-chip-option",1),oe(2,yae,9,2,"div",2),oe(3,vae,3,0,"button",3),k()),2&t&&(N("selectable",!0)("multiple",!0),A(1),N("ngForOf",e.labelService.labels),A(1),N("ngIf",e.showNewLabel),A(1),N("ngIf",!e.showNewLabel))},dependencies:[Gn,mi,rs,Eo,Do,pr,aD,rD,uo,Wa,Ga]});class H_{constructor(t){this.labelService=t}transform(t){return t?this.labelService.getName(t):""}}function wae(i,t){1&i&&(y(0,"span"),B(1,", "),k())}function Fae(i,t){if(1&i&&(y(0,"span")(1,"strong"),B(2),zi(3,"label"),k(),oe(4,wae,2,0,"span",1),k()),2&i){const e=t.$implicit,n=t.last;A(2),Ct(Ui(3,2,e)),A(2),N("ngIf",!n)}}H_.\u0275fac=function(t){return new(t||H_)(D(xs,16))},H_.\u0275pipe=Lr({name:"label",type:H_,pure:!0});class V_{constructor(t){this.labelService=t,this.labels=[]}}function xae(i,t){1&i&&(y(0,"div"),B(1,"Notes are all your saved posts. These can be your own, or they can be copies of public posts made by others. You can add tags to organize your saved notes."),De(2,"br"),k())}function kae(i,t){if(1&i&&(y(0,"mat-card",5)(1,"div",6)(2,"app-event-header",7),B(3,"Posted: "),y(4,"span",8),B(5),zi(6,"ago"),k(),B(7,", Saved: "),y(8,"span",8),B(9),zi(10,"ago"),k()(),De(11,"app-event-actions",9),k(),De(12,"app-content",9)(13,"app-label",10),k()),2&i){const e=t.$implicit;A(2),N("pubkey",e.pubkey),A(3),Ct(Ui(6,6,e.created_at)),A(4),Ct(Ui(10,8,e.saved)),A(2),N("event",e),A(1),N("event",e),A(1),N("labels",e.labels)}}V_.\u0275fac=function(t){return new(t||V_)(D(xs))},V_.\u0275cmp=$e({type:V_,selectors:[["app-label"]],inputs:{labels:"labels"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(t,e){1&t&&(B(0,"Labels: "),oe(1,Fae,5,4,"span",0)),2&t&&(A(1),N("ngForOf",e.labels))},dependencies:[Gn,mi,H_],encapsulation:2});class Y_{constructor(t,e){this.notesService=t,this.appState=e,this.details=!1}toggleDetails(){this.details=!this.details}filterNotes(t){this.notesService.filterByLabels(t)}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("Saved Notes"),t.appState.goBack=!0,t.appState.actions=[],yield t.notesService.load()})()}}Y_.\u0275fac=function(t){return new(t||Y_)(D(Bd),D(ln))},Y_.\u0275cmp=$e({type:Y_,selectors:[["app-notes"]],decls:5,vars:2,consts:[[1,"feed-page"],[3,"selectionChanged"],[4,"ngIf"],[1,"notes"],["class","events",4,"ngFor","ngForOf"],[1,"events"],[1,"events-header"],[3,"pubkey"],[1,"event-date"],[3,"event"],[3,"labels"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"app-labels",1),pe("selectionChanged",function(r){return e.filterNotes(r)}),k(),oe(2,xae,3,0,"div",2),y(3,"div",3),oe(4,kae,14,10,"mat-card",4),k()()),2&t&&(A(2),N("ngIf",0===e.notesService.items.length),A(2),N("ngForOf",e.notesService.filtered))},dependencies:[Gn,mi,Sa,Fs,kl,Ws,B_,V_,Gs],styles:[".events[_ngcontent-%COMP%]{width:480px;max-width:480px}.notes[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;gap:1em;margin-top:1em;align-items:flex-start}"]});class sm{onElementScroll(){"self"===this.infiniteScrollContext&&this.elementEndReachedInSelfScrollbarContext()&&this.canTriggerAction&&this.triggerAction()}constructor(t){this.element=t,this.canTriggerAction=!0,this.infiniteScrollContext="self",this.scrollAction=new ht,this.el=t.nativeElement,this.viewport=this.getViewport(window)}ngOnInit(){"document"===this.infiniteScrollContext&&document.addEventListener("scroll",()=>{this.elementEndReachedInDocumentScrollbarContext(window,this.el)&&this.canTriggerAction&&this.triggerAction()})}triggerAction(){this.canTriggerAction=!1,this.scrollAction.emit(null)}elementEndReachedInSelfScrollbarContext(){return this.el.scrollTop+this.el.offsetHeight>=this.el.scrollHeight-1&&(this.canTriggerAction=!0,!0)}elementEndReachedInDocumentScrollbarContext(t,e){const a=e.getBoundingClientRect().top+t.pageYOffset;return t.pageYOffset+this.viewport.h>e.offsetHeight+a&&(this.canTriggerAction=!0,!0)}getViewport(t){if(null!=t.innerWidth)return{w:t.innerWidth,h:t.innerHeight};let e=t.document;return"CSS1Compat"==document.compatMode?{w:e.documentElement.clientWidth,h:e.documentElement.clientHeight}:{w:e.body.clientWidth,h:e.body.clientHeight}}}sm.\u0275fac=function(t){return new(t||sm)(D(_t))},sm.\u0275dir=Oe({type:sm,selectors:[["","infiniteScroll",""]],hostBindings:function(t,e){1&t&&pe("scroll",function(r){return e.onElementScroll(r)})},inputs:{infiniteScrollContext:"infiniteScrollContext"},outputs:{scrollAction:"scrollAction"}});var lD=T(3259);function ML(i,t){const e=Array(i);for(let n=0;nString(i)),ML(60,i=>String(i));let Cae=(()=>{class i{transform(e){return e instanceof yr}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275pipe=Lr({name:"isTemplateRef",type:i,pure:!0}),i})(),Dae=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Mr]}),i})();function Mae(i,t){}function Eae(i,t){1&i&&oe(0,Mae,0,0,"ng-template",3),2&i&&N("ngTemplateOutlet",X().message)}function Sae(i,t){1&i&&B(0),2&i&&Ct(X().message)}const Aae={tooltipState:Va("state",[fr("initial, void, hidden",hi({opacity:0,transform:"scale(0)"})),fr("visible",hi({transform:"scale(1)"})),nr("* => visible",ir("200ms cubic-bezier(0, 0, 0.2, 1)",Eg([hi({opacity:0,transform:"scale(0)",offset:0}),hi({opacity:.5,transform:"scale(0.99)",offset:.5}),hi({opacity:1,transform:"scale(1)",offset:1})]))),nr("* => hidden",ir("100ms cubic-bezier(0, 0, 0.2, 1)",hi({opacity:0})))])},EL=md({passive:!0});function SL(i){return Error(`Tooltip position "${i}" is invalid.`)}const AL=new Ke("mtx-tooltip-scroll-strategy"),Oae={provide:AL,deps:[_a],useFactory:function Lae(i){return()=>i.scrollStrategies.reposition({scrollThrottle:20})}},Rae=new Ke("mtx-tooltip-default-options",{providedIn:"root",factory:function Pae(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Bae=(()=>{class i{constructor(e,n,r,a,o,c,h,f,F,R,W){this._overlay=e,this._elementRef=n,this._scrollDispatcher=r,this._viewContainerRef=a,this._ngZone=o,this._platform=c,this._ariaDescriber=h,this._focusMonitor=f,this._dir=R,this._defaultOptions=W,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new He,this._handleKeydown=te=>{this._isTooltipVisible()&&27===te.keyCode&&!ga(te)&&(te.preventDefault(),te.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=F,W&&(W.position&&(this.position=W.position),W.touchGestures&&(this.touchGestures=W.touchGestures)),o.runOutsideAngular(()=>{n.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=xt(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=e instanceof yr?e:null!=e?`${e}`.trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(ti(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([n,r])=>{e.removeEventListener(n,r,EL)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const n=this._createOverlay();this._detach(),this._portal=this._portal||new Mh(Hae,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(ti(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mtx-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return n.positionChanges.pipe(ti(this._destroyed)).subscribe(r=>{this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mtx-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(ti(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const e=this._overlayRef.getConfig().positionStrategy,n=this._getOrigin(),r=this._getOverlayPosition();e.withPositions([{...n.main,...r.main},{...n.fallback,...r.fallback}])}_getOrigin(){const e=!this._dir||"ltr"===this._dir.value,n=this.position;let r;if("above"===n||"below"===n)r={originX:"center",originY:"above"===n?"top":"bottom"};else if("before"===n||"left"===n&&e||"right"===n&&!e)r={originX:"start",originY:"center"};else{if(!("after"===n||"right"===n&&e||"left"===n&&!e))throw SL(n);r={originX:"end",originY:"center"}}const{x:a,y:o}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:a,originY:o}}}_getOverlayPosition(){const e=!this._dir||"ltr"===this._dir.value,n=this.position;let r;if("above"===n)r={overlayX:"center",overlayY:"bottom"};else if("below"===n)r={overlayX:"center",overlayY:"top"};else if("before"===n||"left"===n&&e||"right"===n&&!e)r={overlayX:"end",overlayY:"center"};else{if(!("after"===n||"right"===n&&e||"left"===n&&!e))throw SL(n);r={overlayX:"start",overlayY:"center"}}const{x:a,y:o}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:a,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(gn(1),ti(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,n){return"above"===this.position||"below"===this.position?"top"===n?n="bottom":"bottom"===n&&(n="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:n}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const n=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",n],["touchcancel",n])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([n,r])=>{this._elementRef.nativeElement.addEventListener(n,r,EL)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const n=this._elementRef.nativeElement,r=n.style;("on"===e||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!n.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return i.\u0275fac=function(e){return new(e||i)(D(_a),D(_t),D(du),D(kr),D(Rt),D(Pn),D(Mx),D(Ha),D(AL),D(jr,8),D(Rae,8))},i.\u0275dir=Oe({type:i,selectors:[["","mtxTooltip",""]],hostAttrs:[1,"mtx-tooltip-trigger"],inputs:{position:["mtxTooltipPosition","position"],disabled:["mtxTooltipDisabled","disabled"],showDelay:["mtxTooltipShowDelay","showDelay"],hideDelay:["mtxTooltipHideDelay","hideDelay"],touchGestures:["mtxTooltipTouchGestures","touchGestures"],message:["mtxTooltip","message"],tooltipClass:["mtxTooltipClass","tooltipClass"]},exportAs:["mtxTooltip"]}),i})(),Hae=(()=>{class i{constructor(e,n){this._changeDetectorRef=e,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new He,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}show(e){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},e)}hide(e){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},e)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const n=e.toState;"hidden"===n&&!this.isVisible()&&this._onHide.next(),("visible"===n||"hidden"===n)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return i.\u0275fac=function(e){return new(e||i)(D(li),D(gd))},i.\u0275cmp=$e({type:i,selectors:[["mtx-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,n){1&e&&pe("click",function(){return n._handleBodyInteraction()},0,iE),2&e&&tr("zoom","visible"===n._visibility?1:null)},decls:6,vars:10,consts:[[1,"mtx-tooltip",3,"ngClass"],[3,"ngIf","ngIfElse"],["msgStrTpl",""],[3,"ngTemplateOutlet"]],template:function(e,n){if(1&e&&(y(0,"div",0),pe("@state.start",function(){return n._animationStart()})("@state.done",function(a){return n._animationDone(a)}),zi(1,"async"),oe(2,Eae,1,1,"ng-template",1),zi(3,"isTemplateRef"),oe(4,Sae,1,1,"ng-template",null,2,dl),k()),2&e){const r=en(5);let a;Mt("mtx-tooltip-handset",null==(a=Ui(1,6,n._isHandset))?null:a.matches),N("ngClass",n.tooltipClass)("@state",n._visibility),A(2),N("ngIf",Ui(3,8,n.message))("ngIfElse",r)}},dependencies:[Pa,mi,ug,Os,Cae],styles:[".mtx-tooltip-panel{pointer-events:none!important}.mtx-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mtx-tooltip{outline:solid 1px}.mtx-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[Aae.tooltipState]},changeDetection:0}),i})(),Vae=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[Oae],imports:[Ff,Mr,Dc,Kt,Dae,Kt,Cc]}),i})();function Yae(i,t){1&i&&(y(0,"button",13)(1,"mat-icon",14),B(2,"more_vert"),k()()),2&i&&(X(),N("matMenuTriggerFor",en(3)))}function jae(i,t){1&i&&(y(0,"button",15)(1,"mat-icon"),B(2,"more_vert"),k()()),2&i&&(X(),N("matMenuTriggerFor",en(3)))}function zae(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){return Te(e),Ie(X().saveNote())}),y(1,"mat-icon"),B(2,"bookmark_add"),k(),y(3,"span"),B(4,"Save Note"),k()()}}function Uae(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){return Te(e),Ie(X().removeNote())}),y(1,"mat-icon"),B(2,"bookmark_remove"),k(),y(3,"span"),B(4,"Remove from Notes"),k()()}}function Wae(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){return Te(e),Ie(X().follow())}),y(1,"mat-icon"),B(2,"person_add"),k(),y(3,"span"),B(4,"Follow"),k()()}}function Gae(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){return Te(e),Ie(X().unfollow())}),y(1,"mat-icon"),B(2,"person_remove"),k(),y(3,"span"),B(4,"Unfollow"),k()()}}function qae(i,t){1&i&&(y(0,"button",6)(1,"mat-icon"),B(2,"supervised_user_circle"),k(),y(3,"span"),B(4,"Move to Circle"),k()()),2&i&&(X(),N("matMenuTriggerFor",en(24)))}function $ae(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){return Te(e),Ie(X().unmute())}),y(1,"mat-icon"),B(2,"notifications"),k(),y(3,"span"),B(4,"Unmute"),k()()}}function Kae(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){return Te(e),Ie(X().mute())}),y(1,"mat-icon"),B(2,"notifications_off"),k(),y(3,"span"),B(4,"Mute"),k()()}}function Qae(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){return Te(e),Ie(X().unblock())}),y(1,"mat-icon"),B(2,"cancel"),k(),y(3,"span"),B(4,"Unblock"),k()()}}function Zae(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){return Te(e),Ie(X().block())}),y(1,"mat-icon"),B(2,"block"),k(),y(3,"span"),B(4,"Block"),k()()}}function Xae(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){const a=Te(e).$implicit;return Ie(X().follow(a.id))}),y(1,"mat-icon"),B(2,"trip_origin"),k(),y(3,"span"),B(4),k()()}if(2&i){const e=t.$implicit;A(1),tr("color",e.color),A(3),Ct(e.name)}}function Jae(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){return Te(e),Ie(X().copyFollowing())}),y(1,"mat-icon"),B(2,"content_copy"),k(),y(3,"span"),B(4,"Following List"),k()()}}function eoe(i,t){if(1&i){const e=tt();y(0,"button",10),pe("click",function(){return Te(e),Ie(X().copyRelays())}),y(1,"mat-icon"),B(2,"content_copy"),k(),y(3,"span"),B(4,"Relay List"),k()()}}class lm{constructor(t,e,n,r,a,o,c){this.appState=t,this.ui=e,this.circleService=n,this.snackBar=r,this.profileService=a,this.notesService=o,this.utilities=c,this.fab=!1,this.pubkey=""}saveNote(){var t=this;return Se(function*(){if(!t.event)return;const e=t.event;e.saved=Math.floor(Date.now()/1e3),yield t.notesService.putNote(e)})()}removeNote(){var t=this;return Se(function*(){t.event&&(console.log("DELETE EVENT:",t.event),yield t.notesService.deleteNote(t.event.id))})()}follow(t){var e=this;return Se(function*(){null==t&&(t=0),e.profile?e.profile.status!==$a.Follow?(e.profile.circle=t,e.profile.status=1,e.profile=yield e.profileService.follow(e.profile.pubkey,t)):(e.profile.circle=t,e.profile=yield e.profileService.setCircle(e.profile.pubkey,t)):e.profile=yield e.profileService.follow(e.pubkey,t)})()}getNpub(t){return this.utilities.getNostrIdentifier(t)}copyEvent(){this.copy(JSON.stringify(this.event))}copyProfileUrl(t){this.copy(`web+nostr:npub:${za.npubEncode(t)}`)}copyNoteUrl(t){this.copy(`web+nostr:nevent:${za.neventEncode({id:t})}`)}copyProfile(){this.profile&&this.copy(JSON.stringify({name:this.profile.name,about:this.profile.about,nip05:this.profile.nip05,picture:this.profile.picture,website:this.profile.website,banner:this.profile.banner,lud06:this.profile.lud06,lud16:this.profile.lud16,display_name:this.profile.display_name}))}copyFollowing(){this.copy(JSON.stringify(this.profile.following))}copyRelays(){this.copy(this.profile.relays)}copy(t){cy(t),this.snackBar.open("Copied to clipboard","Hide",{duration:2500,horizontalPosition:"center",verticalPosition:"bottom"})}unfollow(){var t=this;return Se(function*(){t.profile&&(t.profile.status=$a.Public,t.profile.followed=void 0,t.profile.circle=void 0,t.profile=yield t.profileService.unfollow(t.profile.pubkey))})()}mute(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.mute(t.profile.pubkey))})()}unmute(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.unmute(t.profile.pubkey))})()}block(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.block(t.profile.pubkey))})()}unblock(){var t=this;return Se(function*(){t.profile&&(yield t.profileService.unblock(t.profile.pubkey))})()}shareProfile(t){t&&navigator.share&&navigator.share({title:t.name,text:t.about,url:"https://notes.blockcore.net/p/"+t.pubkey}).then(()=>console.log("Successful share")).catch(e=>console.log("Error sharing",e))}ngOnDestroy(){}ngOnInit(){var t=this;return Se(function*(){t.event?t.pubkey=t.event.pubkey:t.profile&&(t.pubkey=t.profile.pubkey)})()}}function toe(i,t){if(1&i){const e=tt();y(0,"img",28),pe("click",function(){return Te(e),Ie(X(2).showProfileImage())}),k()}if(2&i){const e=X().ngIf,n=X();let r;tr("border-color",null==(r=n.circleService.getSync(e.circle))?null:r.color),N("src",n.imagePath,An)}}function ioe(i,t){if(1&i){const e=tt();y(0,"img",29),pe("click",function(){return Te(e),Ie(X(2).showProfileImage())}),k()}2&i&&N("src",X(2).imagePath,An)}function noe(i,t){if(1&i){const e=tt();y(0,"button",31),pe("click",function(){Te(e);const r=X(2).ngIf;return Ie(X().follow(r))}),B(1,"Follow Back"),k()}}function roe(i,t){if(1&i&&oe(0,noe,2,0,"button",30),2&i){const e=X().ngIf;N("ngIf",0==(null==e?null:e.status))}}function aoe(i,t){if(1&i){const e=tt();y(0,"button",33),pe("click",function(){Te(e);const r=X(2).ngIf;return Ie(X().follow(r))}),B(1,"Follow"),k()}}function ooe(i,t){if(1&i&&oe(0,aoe,2,0,"button",32),2&i){const e=X().ngIf;N("ngIf",0==(null==e?null:e.status))}}function soe(i,t){if(1&i&&(y(0,"span"),B(1),k()),2&i){const e=X().ngIf;A(1),ri(" ",e.display_name," ")}}function loe(i,t){if(1&i&&(y(0,"span"),B(1),k()),2&i){const e=X(2).ngIf;A(1),ri(" ",e.name," ")}}function coe(i,t){if(1&i&&(y(0,"span"),B(1),k()),2&i){const e=X(2).ngIf;A(1),ri(" ",e.npub," ")}}function doe(i,t){if(1&i&&(y(0,"span"),oe(1,loe,2,1,"span",13),oe(2,coe,2,1,"span",13),k()),2&i){const e=X().ngIf;A(1),N("ngIf",e.name),A(1),N("ngIf",!e.display_name&&!e.name)}}function uoe(i,t){1&i&&(y(0,"span",34),B(1,"Follows you"),k())}function hoe(i,t){if(1&i){const e=tt();y(0,"div",14)(1,"div",15)(2,"mat-icon",16),B(3,"verified"),k()(),y(4,"div",17)(5,"span",18),pe("click",function(){Te(e);const r=X().ngIf,a=X();return Ie(a.copy(a.getWellKnownLink(r.nip05)))}),B(6),k()()()}if(2&i){const e=X().ngIf,n=X();A(6),Ct(n.displayNIP05(e.nip05))}}function moe(i,t){if(1&i&&(y(0,"a",36),B(1),k()),2&i){const e=X(2).ngIf;N("href",X().utilities.sanitizeUrl(e.website,!0),An),A(1),Ct(e.website)}}function foe(i,t){if(1&i&&(y(0,"div",14)(1,"div",15)(2,"mat-icon",16),B(3,"link"),k()(),y(4,"div",17),oe(5,moe,2,2,"a",35),k()()),2&i){const e=X().ngIf;A(5),N("ngIf",e.website)}}function poe(i,t){if(1&i&&(y(0,"a",40),B(1),k()),2&i){const e=X(2).ngIf;N("href",X().utilities.sanitizeLUD06("lightning:"+e.lud06),An),A(1),Ct(e.lud06)}}function goe(i,t){if(1&i&&(y(0,"div",37)(1,"div",15)(2,"mat-icon",38),B(3,"\u26a1\ufe0f"),k()(),y(4,"div",17),oe(5,poe,2,2,"a",39),k()()),2&i){const e=X().ngIf;N("mtxTooltip",en(28))("mtxTooltipPosition","left"),A(5),N("ngIf",e.lud06)}}function _oe(i,t){if(1&i&&(y(0,"a",40),B(1),k()),2&i){const e=X(2).ngIf;N("href",X().utilities.sanitizeLUD06("lightning:"+e.lud16),An),A(1),Ct(e.lud16)}}function boe(i,t){if(1&i&&(y(0,"div",37)(1,"div",15)(2,"mat-icon",38),B(3,"\u26a1\ufe0f"),k()(),y(4,"div",17),oe(5,_oe,2,2,"a",39),k()()),2&i){const e=X().ngIf;N("mtxTooltip",en(30))("mtxTooltipPosition","left"),A(5),N("ngIf",e.lud16)}}function yoe(i,t){1&i&&De(0,"img",43),2&i&&N("src",X(3).qr06,An)}function voe(i,t){if(1&i&&(y(0,"div",41),oe(1,yoe,1,1,"img",42),k()),2&i){const e=X(2);A(1),N("ngIf",e.qr06)}}function woe(i,t){1&i&&De(0,"img",43),2&i&&N("src",X(3).qr16,An)}function Foe(i,t){if(1&i&&(y(0,"div",41),oe(1,woe,1,1,"img",42),k()),2&i){const e=X(2);A(1),N("ngIf",e.qr16)}}function xoe(i,t){if(1&i&&(y(0,"p",44),B(1),k()),2&i){const e=X().ngIf;A(1),Ct(e.about)}}lm.\u0275fac=function(t){return new(t||lm)(D(ln),D(qr),D(So),D(js),D(Vn),D(Bd),D(Nn))},lm.\u0275cmp=$e({type:lm,selectors:[["app-profile-actions"]],inputs:{fab:"fab",pubkey:"pubkey",profile:"profile",event:"event"},decls:67,vars:16,consts:[["class","action-button","mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor","click"],["mat-menu-item","",3,"matMenuTriggerFor"],["categories","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["copyMenu","matMenu"],["mat-menu-item","",3,"click"],["disabled","true","mat-menu-item","",3,"click"],["shareMenu","matMenu"],["mat-icon-button","",1,"action-button",3,"matMenuTriggerFor"],[1,"action-button-icon"],["mat-mini-fab","","color","primary",3,"matMenuTriggerFor"]],template:function(t,e){if(1&t&&(oe(0,Yae,3,1,"button",0),oe(1,jae,3,1,"button",1),y(2,"mat-menu",null,2),oe(4,zae,5,0,"button",3),oe(5,Uae,5,0,"button",3),oe(6,Wae,5,0,"button",3),oe(7,Gae,5,0,"button",3),oe(8,qae,5,1,"button",4),y(9,"button",5),pe("click",function(){return e.copy(e.getNpub(e.profile.pubkey))}),y(10,"mat-icon"),B(11,"copy_all"),k(),y(12,"span"),B(13,"Copy"),k()(),y(14,"button",6)(15,"mat-icon"),B(16,"ios_share"),k(),y(17,"span"),B(18,"Share"),k()(),oe(19,$ae,5,0,"button",3),oe(20,Kae,5,0,"button",3),oe(21,Qae,5,0,"button",3),oe(22,Zae,5,0,"button",3),k(),y(23,"mat-menu",null,7),oe(25,Xae,5,3,"button",8),k(),y(26,"mat-menu",null,9)(28,"button",10),pe("click",function(){return e.copy(e.getNpub(e.profile.pubkey))}),y(29,"mat-icon"),B(30,"content_copy"),k(),y(31,"span"),B(32,"Identifier (npub)"),k()(),y(33,"button",10),pe("click",function(){return e.copy(e.profile.pubkey)}),y(34,"mat-icon"),B(35,"content_copy"),k(),y(36,"span"),B(37,"Identifier (hex)"),k()(),y(38,"button",10),pe("click",function(){return e.copyProfileUrl(e.profile.pubkey)}),y(39,"mat-icon"),B(40,"content_copy"),k(),y(41,"span"),B(42,"Identifier URL (npub)"),k()(),y(43,"button",11),pe("click",function(){return e.copyProfileUrl(e.profile.pubkey)}),y(44,"mat-icon"),B(45,"content_copy"),k(),y(46,"span"),B(47,"Profile URL (nprofile)"),k()(),y(48,"button",10),pe("click",function(){return e.copyProfile()}),y(49,"mat-icon"),B(50,"content_copy"),k(),y(51,"span"),B(52,"Profile Data"),k()(),oe(53,Jae,5,0,"button",3),oe(54,eoe,5,0,"button",3),k(),y(55,"mat-menu",null,12)(57,"button",10),pe("click",function(){return e.shareProfile(e.profile)}),y(58,"mat-icon"),B(59,"content_copy"),k(),y(60,"span"),B(61,"Profile"),k()(),y(62,"button",10),pe("click",function(){return e.copy("https://notes.blockcore.net/p/"+e.profile.pubkey)}),y(63,"mat-icon"),B(64,"content_copy"),k(),y(65,"span"),B(66,"Profile URL"),k()()()),2&t){const n=en(27),r=en(56);N("ngIf",!e.fab),A(1),N("ngIf",e.fab),A(3),N("ngIf",e.event&&!e.event.saved),A(1),N("ngIf",e.event&&e.event.saved),A(1),N("ngIf",0==(null==e.profile?null:e.profile.status)),A(1),N("ngIf",1==(null==e.profile?null:e.profile.status)),A(1),N("ngIf",3!=(null==e.profile?null:e.profile.status)),A(1),N("matMenuTriggerFor",n),A(5),N("matMenuTriggerFor",r),A(5),N("ngIf",2==(null==e.profile?null:e.profile.status)),A(1),N("ngIf",1==(null==e.profile?null:e.profile.status)),A(1),N("ngIf",3==(null==e.profile?null:e.profile.status)),A(1),N("ngIf",(null==e.profile?null:e.profile.status)<3),A(3),N("ngForOf",e.circleService.circles),A(28),N("ngIf",null==e.profile?null:e.profile.following),A(1),N("ngIf",null==e.profile?null:e.profile.relays)}},dependencies:[Gn,mi,Do,a5,pr,om,jc,L_]});const koe=function(i){return["/following",i]};function Coe(i,t){if(1&i&&(y(0,"div",45)(1,"a",46),B(2),y(3,"span",47),B(4,"Following"),k()()()),2&i){const e=X().ngIf;A(1),N("routerLink",Cn(2,koe,e.pubkey)),A(1),ri("",e.following.length," ")}}function Doe(i,t){if(1&i){const e=tt();y(0,"div",1),De(1,"div",2),y(2,"div",3)(3,"div",4)(4,"div",5),oe(5,toe,1,3,"img",6),oe(6,ioe,1,1,"img",7),k()(),y(7,"div",8)(8,"div",9),oe(9,roe,1,1,"ng-template",10),oe(10,ooe,1,1,"ng-template",10),De(11,"app-profile-actions",11),k(),y(12,"h2",12),oe(13,soe,2,1,"span",13),oe(14,doe,3,2,"span",13),k(),y(15,"div",14)(16,"div",15)(17,"mat-icon",16),B(18,"key"),k()(),y(19,"div",17)(20,"span",18),pe("click",function(){const a=Te(e).ngIf;return Ie(X().copy(a.npub))}),B(21),k(),oe(22,uoe,2,0,"span",19),k()(),oe(23,hoe,7,1,"div",20),oe(24,foe,6,1,"div",20),oe(25,goe,6,3,"div",21),oe(26,boe,6,3,"div",21),oe(27,voe,2,1,"ng-template",null,22,dl),oe(29,Foe,2,1,"ng-template",null,23,dl),y(31,"span"),oe(32,xoe,2,1,"p",24),k(),oe(33,Coe,5,4,"div",25),y(34,"div")(35,"mat-menu",null,26)(37,"button",27)(38,"mat-icon"),B(39,"notifications_off"),k(),y(40,"span"),B(41,"Mute"),k()(),y(42,"button",27)(43,"mat-icon"),B(44,"notifications_paused"),k(),y(45,"span"),B(46,"Remove from Notes"),k()(),y(47,"button",27)(48,"mat-icon"),B(49,"notifications"),k(),y(50,"span"),B(51,"Remove from Notes"),k()()()()()()()}if(2&i){const e=t.ngIf,n=X();A(1),tr("background-image",n.utilities.getBannerBackgroundStyle(e.banner)),A(4),N("ngIf",1==(null==e?null:e.status)),A(1),N("ngIf",1!=(null==e?null:e.status)),A(3),N("ngIf",n.isFollowing(e)),A(1),N("ngIf",!n.isFollowing(e)),A(1),N("fab",!1)("profile",e),A(1),N("matTooltip",e.npub),A(1),N("ngIf",e.display_name),A(1),N("ngIf",!e.display_name),A(7),ri("@",e.name,""),A(1),N("ngIf",n.isFollowing(e)),A(1),N("ngIf",n.isValidNip05),A(1),N("ngIf",e.website),A(1),N("ngIf",e.lud06),A(1),N("ngIf",e.lud16),A(6),N("ngIf",e.about),A(1),N("ngIf",e.following)}}class Hd{constructor(t,e,n,r,a,o){this.appState=t,this.ui=e,this.profileService=n,this.dialog=r,this.circleService=a,this.utilities=o,this.pubkey="",this.tooltip="",this.tooltipName="",this.isValidNip05=!1,this.subscriptions=[],this.userPubKey=this.appState.getPublicKey()}follow(t){var e=this;return Se(function*(){t&&(t.status!==$a.Follow?(t.circle=0,t.status=1,t=yield e.profileService.follow(t.pubkey,0)):(t.circle=0,t=yield e.profileService.setCircle(t.pubkey,0)))})()}isFollowing(t){return!(!t||!t.following)&&t.following.includes(this.userPubKey)}get imagePath(){return this.ui.profile.picture?this.ui.profile.picture:Hd.defaultProfileImage}showProfileImage(){this.dialog.open(Rd,{data:{picture:this.imagePath}})}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}ngOnInit(){var t=this;return Se(function*(){t.subscriptions.push(t.ui.profile$.subscribe(function(){var e=Se(function*(n){if(n&&(n.lud06&&(t.qr06=yield lD.hz("lightning:"+n.lud06,{errorCorrectionLevel:"L",margin:2,scale:5})),n.lud16&&(t.qr16=yield lD.hz("lightning:"+n.lud16,{errorCorrectionLevel:"L",margin:2,scale:5})),n.nip05)){let r=null;try{r=yield iC.queryProfile(n?.nip05),t.isValidNip05=r?.pubkey==n?.pubkey}catch{console.log("failed to fetch NIP05 identifier")}}});return function(n){return e.apply(this,arguments)}}()))})()}displayNIP05(t){return t&&t.startsWith("_@")?t.substring(2):t}copy(t){this.utilities.copy(t)}getWellKnownLink(t){if(-1===t.indexOf("@"))return"";const e=t.split("@");return`https://${e[1]}/.well-known/nostr.json?name=${e[0]}`}}function Moe(i,t){if(1&i){const e=tt();y(0,"mat-card-content")(1,"p")(2,"mat-form-field",6)(3,"mat-icon",7),B(4,"badge"),k(),y(5,"mat-label"),B(6,"Display Name"),k(),y(7,"input",8),pe("ngModelChange",function(r){return Te(e),Ie(X().profile.display_name=r)}),k()()(),y(8,"p")(9,"mat-form-field",6)(10,"mat-icon",7),B(11,"alternate_email"),k(),y(12,"mat-label"),B(13,"Nickname"),k(),y(14,"input",8),pe("ngModelChange",function(r){return Te(e),Ie(X().profile.name=r)}),k()()(),y(15,"p")(16,"mat-form-field",6)(17,"mat-icon",7),B(18,"help_outline"),k(),y(19,"mat-label"),B(20,"About"),k(),y(21,"textarea",9),pe("ngModelChange",function(r){return Te(e),Ie(X().profile.about=r)}),k()()(),y(22,"p")(23,"mat-form-field",6)(24,"mat-icon",7),B(25,"image"),k(),y(26,"mat-label"),B(27,"Profile Image"),k(),y(28,"input",8),pe("ngModelChange",function(r){return Te(e),Ie(X().profile.picture=r)}),k()()(),y(29,"p")(30,"mat-form-field",6)(31,"mat-icon",7),B(32,"image"),k(),y(33,"mat-label"),B(34,"Profile Banner"),k(),y(35,"input",8),pe("ngModelChange",function(r){return Te(e),Ie(X().profile.banner=r)}),k()()(),y(36,"p")(37,"mat-form-field",6)(38,"mat-icon",7),B(39,"how_to_reg"),k(),y(40,"mat-label"),B(41,"E-mail/Domain Identifier (NIP05)"),k(),y(42,"input",8),pe("ngModelChange",function(r){return Te(e),Ie(X().profile.nip05=r)}),k()()(),y(43,"p")(44,"mat-form-field",6)(45,"mat-icon",7),B(46,"public"),k(),y(47,"mat-label"),B(48,"Website"),k(),y(49,"input",8),pe("ngModelChange",function(r){return Te(e),Ie(X().profile.website=r)}),k()()(),y(50,"p")(51,"mat-form-field",6)(52,"mat-icon",7),B(53,"currency_bitcoin"),k(),y(54,"mat-label"),B(55,"Bitcoin Payment Link (LUD06)"),k(),y(56,"input",10),pe("ngModelChange",function(r){return Te(e),Ie(X().profile.lud06=r)}),k()()(),y(57,"p")(58,"mat-form-field",6)(59,"mat-icon",7),B(60,"currency_bitcoin"),k(),y(61,"mat-label"),B(62,"Bitcoin Payment Alias (LUD16)"),k(),y(63,"input",11),pe("ngModelChange",function(r){return Te(e),Ie(X().profile.lud16=r)}),k()()(),y(64,"p"),B(65),zi(66,"ago"),k()()}if(2&i){const e=X();A(7),N("ngModel",e.profile.display_name),A(7),N("ngModel",e.profile.name),A(7),N("ngModel",e.profile.about),A(7),N("ngModel",e.profile.picture),A(7),N("ngModel",e.profile.banner),A(7),N("ngModel",e.profile.nip05),A(7),N("ngModel",e.profile.website),A(7),N("ngModel",e.profile.lud06),A(7),N("ngModel",e.profile.lud16),A(2),ri("Last updated: ",Ui(66,10,e.profile.created_at),"")}}Hd.defaultProfileImage="/assets/profile.png",Hd.\u0275fac=function(t){return new(t||Hd)(D(ln),D(qr),D(Vn),D(ja),D(So),D(Nn))},Hd.\u0275cmp=$e({type:Hd,selectors:[["app-profile-header"]],inputs:{pubkey:"pubkey"},decls:2,vars:3,consts:[["class","profile-page",4,"ngIf"],[1,"profile-page"],[1,"profile-banner"],[1,"profile-page-header"],[1,"profile-page-header-left"],["id","profile-image-anchor",1,"profile-image-anchor"],["id","profile-image","width","150","height","150","onerror","this.src='/assets/profile.png'","class","profile-image-large profile-image-follow",3,"borderColor","src","click",4,"ngIf"],["loading","lazy","id","profile-image","onerror","this.src='/assets/profile.png'","class","profile-image-large profile-image-follow","matTooltipPosition","above",3,"src","click",4,"ngIf"],[1,"profile-page-header-middle"],[1,"profile-button-container"],[3,"ngIf"],[3,"fab","profile"],["matTooltipPosition","above",1,"profile-name",3,"matTooltip"],[4,"ngIf"],[1,"profile-labels"],[1,"profile-labels-left"],[1,"profile-icon"],[1,"profile-labels-middle","dimmed"],[1,"hoverable",3,"click"],["class","follows-you",4,"ngIf"],["class","profile-labels",4,"ngIf"],["class","profile-labels",3,"mtxTooltip","mtxTooltipPosition",4,"ngIf"],["tooltipTpl",""],["tooltipTpl2",""],["class","wrap linebreaks",4,"ngIf"],["class","following-counts",4,"ngIf"],["menu","matMenu"],["mat-menu-item",""],["id","profile-image","width","150","height","150","onerror","this.src='/assets/profile.png'",1,"profile-image-large","profile-image-follow",3,"src","click"],["loading","lazy","id","profile-image","onerror","this.src='/assets/profile.png'","matTooltipPosition","above",1,"profile-image-large","profile-image-follow",3,"src","click"],["class","follow-button","mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",1,"follow-button",3,"click"],["class","follow-button","mat-flat-button","","color","primary",3,"click",4,"ngIf"],["mat-flat-button","","color","primary",1,"follow-button",3,"click"],[1,"follows-you"],["class","dimmed lightning-link hoverable","target","_blank",3,"href",4,"ngIf"],["target","_blank",1,"dimmed","lightning-link","hoverable",3,"href"],[1,"profile-labels",3,"mtxTooltip","mtxTooltipPosition"],[1,"profile-icon-custom"],["class","dimmed lightning-link hoverable",3,"href",4,"ngIf"],[1,"dimmed","lightning-link","hoverable",3,"href"],[1,"qr-code-container"],["class","qr-code",3,"src",4,"ngIf"],[1,"qr-code",3,"src"],[1,"wrap","linebreaks"],[1,"following-counts"],[1,"following-link",3,"routerLink"],[1,"dimmed"]],template:function(t,e){1&t&&(oe(0,Doe,52,19,"div",0),zi(1,"async")),2&t&&N("ngIf",Ui(1,1,e.ui.profile$))},dependencies:[mi,Ya,Cr,pr,om,jc,Fl,Bae,lm,Os],styles:[".profile-icon[_ngcontent-%COMP%], .profile-icon-custom[_ngcontent-%COMP%]{text-align:center}.profile-icon-custom[_ngcontent-%COMP%]{font-size:16px}.lightning-link[_ngcontent-%COMP%], .lightning-link[_ngcontent-%COMP%]:hover{text-decoration:none}.profile-name[_ngcontent-%COMP%]{margin-top:0;margin-bottom:.2em}.profile-labels[_ngcontent-%COMP%]{display:flex;width:auto;gap:.4em;justify-content:center}.profile-labels-left[_ngcontent-%COMP%]{flex:0 1 auto;width:24px}.profile-labels-middle[_ngcontent-%COMP%]{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis}.hoverable[_ngcontent-%COMP%]:hover{cursor:pointer;opacity:.6}.following-counts[_ngcontent-%COMP%]{margin-bottom:.4em}.following-link[_ngcontent-%COMP%]{text-decoration:none}.following-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.action-button[_ngcontent-%COMP%]{margin-top:0!important;margin-right:0!important}.qr-code[_ngcontent-%COMP%]{width:100%;height:100%}.profile-banner[_ngcontent-%COMP%]{min-height:240px;background-repeat:no-repeat;background-position:center;background-size:cover}@media only screen and (max-width: 599px){.current-event[_ngcontent-%COMP%]{margin-bottom:0}}.follows-you[_ngcontent-%COMP%]{margin-left:1em;padding:.1em .4em;background-color:#0003;border-radius:10px;display:inline-block}.dark[_ngcontent-%COMP%] .follows-you[_ngcontent-%COMP%]{margin-left:1em;padding:.1em .4em;background-color:#fff6;border-radius:10px;display:inline-block}.follow-button[_ngcontent-%COMP%]{border-radius:16px;margin-top:.24em;margin-right:.5em}"]});var gv=new WeakMap;class j_{get profile$(){return Pe(this,gv).asObservable()}constructor(t,e,n,r,a,o,c,h,f,F,R){bn(this,gv,{writable:!0,value:void 0}),this.navigation=t,this.ui=e,this.appState=n,this.validator=r,this.utilities=a,this.router=o,this.profiles=c,this.sanitizer=h,this.profileService=f,this.dataService=F,this.activatedRoute=R,this.imagePath="",this.profileName="",this.subscriptions=[],fi(this,gv,new Oi(this.profile))}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("Edit Profile"),t.originalProfile={name:"",pubkey:t.appState.getPublicKey()},t.subscriptions.push(t.profileService.profile$.subscribe(e=>{e||(e=t.profileService.emptyProfile(t.appState.getPublicKey())),console.log("PROFILE SERVICE:",e),t.originalProfile=e,t.originalProfile&&t.cloneProfile()}))})()}cloneProfile(){const t=structuredClone(this.originalProfile);this.profile=t,Pe(this,gv).next(this.profile),this.ui.setProfile(this.profile)}cancelEdit(){this.cloneProfile()}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}sanitize(t){return this.sanitizer.bypassSecurityTrustUrl(t)}updateMetadata(){var t=this;return Se(function*(){yield t.dataService.updateMetadata(t.profile),t.appState.navigateBack()})()}}j_.\u0275fac=function(t){return new(t||j_)(D(Ao),D(qr),D(ln),D(Uo),D(Nn),D(rr),D(Vn),D(pg),D(Vn),D(Ka),D(Ps))},j_.\u0275cmp=$e({type:j_,selectors:[["app-profile"]],decls:11,vars:1,consts:[["infiniteScroll","",1,"scrolling-content",3,"scrollAction"],[1,"page"],[4,"ngIf"],["align","end"],["mat-raised-button","",3,"click"],["mat-raised-button","","color","primary",3,"click"],["appearance","outline",1,"input-full-width"],["matPrefix",""],["matInput","","type","text",3,"ngModel","ngModelChange"],["matInput","","type","text","rows","3",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","LNURL...",3,"ngModel","ngModelChange"],["matInput","","type","text","placeholder","user@domain",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(y(0,"div",0),pe("scrollAction",function(){return e.navigation.showMore()}),De(1,"app-profile-header"),y(2,"div",1)(3,"mat-card"),oe(4,Moe,67,12,"mat-card-content",2),y(5,"mat-card-footer",3)(6,"button",4),pe("click",function(){return e.cancelEdit()}),B(7,"Cancel"),k(),B(8,"\xa0 "),y(9,"button",5),pe("click",function(){return e.updateMetadata()}),B(10,"Save"),k()()()()()),2&t&&(A(4),N("ngIf",e.profile))},dependencies:[mi,rs,Eo,Wo,Pc,Cr,Sa,ec,JN,pr,uo,Wa,Ga,sm,Hd,Gs],encapsulation:2});class or{constructor(t,e,n){this.appState=t,this.authService=e,this.router=n}canActivate(){return!!this.authService.authInfo$.getValue().authenticated()||this.authService.getAuthInfo().then(t=>!!t.authenticated()||(this.router.navigateByUrl("/connect"),!1))}}or.\u0275fac=function(t){return new(t||or)(Ee(ln),Ee(Da),Ee(rr))},or.\u0275prov=it({token:or,factory:or.\u0275fac});const Eoe=["switch"],Soe=["*"],Aoe=new Ke("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),Toe={provide:ba,useExisting:ci(()=>z_),multi:!0};class TL{constructor(t,e){this.source=t,this.checked=e}}let Ioe=0;const Noe=Mc(Kl(_l($l(class{constructor(i){this._elementRef=i}}))));let Loe=(()=>{class i extends Noe{get required(){return this._required}set required(e){this._required=xt(e)}get checked(){return this._checked}set checked(e){this._checked=xt(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,n,r,a,o,c,h){super(e),this._focusMonitor=n,this._changeDetectorRef=r,this.defaults=o,this._onChange=f=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new ht,this.toggleChange=new ht,this.tabIndex=parseInt(a)||0,this.color=this.defaultColor=o.color||"accent",this._noopAnimations="NoopAnimations"===c,this.id=this._uniqueId=`${h}${++Ioe}`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{"keyboard"===e||"program"===e?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return i.\u0275fac=function(e){Vl()},i.\u0275dir=Oe({type:i,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[ot]}),i})(),z_=(()=>{class i extends Loe{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(e,n,r,a,o,c){super(e,n,r,a,o,c,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new TL(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(e){return new TL(this,e)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Ha),D(li),bo("tabindex"),D(Aoe),D(Tn,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-slide-toggle"]],viewQuery:function(e,n){if(1&e&&Tt(Eoe,5),2&e){let r;Qe(r=Ze())&&(n._switchElement=r.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(e,n){2&e&&(lo("id",n.id),Nt("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Mt("mat-mdc-slide-toggle-focused",n._focused)("mat-mdc-slide-toggle-checked",n.checked)("_mat-animation-noopable",n._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[Ot([Toe]),ot],ngContentSelectors:Soe,decls:17,vars:24,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"],[3,"for","click"]],template:function(e,n){if(1&e&&(Hi(),y(0,"div",0)(1,"button",1,2),pe("click",function(){return n._handleClick()}),De(3,"div",3),y(4,"div",4)(5,"div",5)(6,"div",6),De(7,"div",7),k(),y(8,"div",8),De(9,"div",9),k(),y(10,"div",10),_o(),y(11,"svg",11),De(12,"path",12),k(),y(13,"svg",13),De(14,"path",14),k()()()()(),Ol(),y(15,"label",15),pe("click",function(a){return a.stopPropagation()}),wt(16),k()()),2&e){const r=en(2);Mt("mdc-form-field--align-end","before"==n.labelPosition),A(1),Mt("mdc-switch--selected",n.checked)("mdc-switch--unselected",!n.checked)("mdc-switch--checked",n.checked)("mdc-switch--disabled",n.disabled),N("tabIndex",n.tabIndex)("disabled",n.disabled),Nt("id",n.buttonId)("name",n.name)("aria-label",n.ariaLabel)("aria-labelledby",n._getAriaLabelledBy())("aria-describedby",n.ariaDescribedby)("aria-required",n.required||null)("aria-checked",n.checked),A(8),N("matRippleTrigger",r)("matRippleDisabled",n.disableRipple||n.disabled)("matRippleCentered",!0),A(6),N("for",n.buttonId),Nt("id",n._labelId)}},dependencies:[la],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}'],encapsulation:2,changeDetection:0}),i})(),IL=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})(),Poe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[IL,Kt,Rs,Mr,IL,Kt]}),i})();class lp{constructor(t,e){this.dialogRef=t,this.data=e}onNoClick(){this.data.url="",this.dialogRef.close()}}lp.\u0275fac=function(t){return new(t||lp)(D(Hs),D(Ac))},lp.\u0275cmp=$e({type:lp,selectors:[["add-relay-dialog"]],decls:20,vars:4,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["color","primary",3,"ngModel","ngModelChange"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"h1",1),B(2,"Add a relay"),k(),y(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),B(6,"dns"),k(),y(7,"mat-label"),B(8,"URL"),k(),y(9,"input",5),pe("ngModelChange",function(r){return e.data.url=r}),k()(),y(10,"mat-slide-toggle",6),pe("ngModelChange",function(r){return e.data.read=r}),B(11,"Read"),k(),B(12,"\xa0 "),y(13,"mat-slide-toggle",6),pe("ngModelChange",function(r){return e.data.write=r}),B(14,"Write"),k()(),y(15,"div",7)(16,"button",8),pe("click",function(){return e.onNoClick()}),B(17,"Cancel"),k(),y(18,"button",9),B(19,"Add"),k()()()),2&t&&(A(9),N("ngModel",e.data.url),A(1),N("ngModel",e.data.read),A(3),N("ngModel",e.data.write),A(5),N("mat-dialog-close",e.data))},dependencies:[rs,Eo,Wo,Pc,Cr,pr,z_,uo,Wa,Ga,Rf,Oh,gu,_u],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});const Boe=["trigger"],Hoe=["panel"];function Voe(i,t){if(1&i&&(y(0,"span",10),B(1),k()),2&i){const e=X();A(1),Ct(e.placeholder)}}function Yoe(i,t){if(1&i&&(y(0,"span",14),B(1),k()),2&i){const e=X(2);A(1),Ct(e.triggerValue)}}function joe(i,t){1&i&&wt(0,0,["*ngSwitchCase","true"])}function zoe(i,t){1&i&&(y(0,"span",11),oe(1,Yoe,2,1,"span",12),oe(2,joe,1,0,"ng-content",13),k()),2&i&&(N("ngSwitch",!!X().customTrigger),A(2),N("ngSwitchCase",!0))}function Uoe(i,t){if(1&i){const e=tt();_o(),Ol(),y(0,"div",15,16),pe("@transformPanel.done",function(r){return Te(e),Ie(X()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return Te(e),Ie(X()._handleKeydown(r))}),wt(2,1),k()}if(2&i){const e=X();I1("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),N("ngClass",e.panelClass)("@transformPanel","showing"),Nt("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const Woe=[[["mat-select-trigger"]],"*"],Goe=["mat-select-trigger","*"],qoe={transformPanelWrap:Va("transformPanelWrap",[nr("* => void",wd("@transformPanel",[Sg()],{optional:!0}))]),transformPanel:Va("transformPanel",[fr("void",hi({opacity:0,transform:"scale(1, 0.8)"})),nr("void => showing",ir("120ms cubic-bezier(0, 0, 0.2, 1)",hi({opacity:1,transform:"scale(1, 1)"}))),nr("* => void",ir("100ms linear",hi({opacity:0})))])};let NL=0;const LL=new Ke("mat-select-scroll-strategy"),Koe=new Ke("MAT_SELECT_CONFIG"),Qoe={provide:LL,deps:[_a],useFactory:function $oe(i){return()=>i.scrollStrategies.reposition()}},Zoe=new Ke("MatSelectTrigger");class Xoe{constructor(t,e){this.source=t,this.value=e}}const Joe=_l(Mc($l(Wx(class{constructor(i,t,e,n,r){this._elementRef=i,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=r,this.stateChanges=new He}}))));let ese=(()=>{class i extends Joe{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Ed.required)??!1}set required(e){this._required=xt(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=xt(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=xt(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=vr(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,n,r,a,o,c,h,f,F,R,W,te,fe,we){super(o,a,h,f,R),this._viewportRuler=e,this._changeDetectorRef=n,this._ngZone=r,this._dir=c,this._parentFormField=F,this._liveAnnouncer=fe,this._defaultOptions=we,this._panelOpen=!1,this._compareWith=(Ae,Ne)=>Ae===Ne,this._uid="mat-select-"+NL++,this._triggerAriaLabelledBy=null,this._destroy=new He,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+NL++,this._panelDoneAnimatingStream=new He,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=uu(()=>{const Ae=this.options;return Ae?Ae.changes.pipe(Yr(Ae),ca(()=>Rn(...Ae.map(Ne=>Ne.onSelectionChange)))):this._ngZone.onStable.pipe(gn(1),ca(()=>this.optionSelectionChanges))}),this.openedChange=new ht,this._openedStream=this.openedChange.pipe(Ki(Ae=>Ae),bt(()=>{})),this._closedStream=this.openedChange.pipe(Ki(Ae=>!Ae),bt(()=>{})),this.selectionChange=new ht,this.valueChange=new ht,this.ngControl&&(this.ngControl.valueAccessor=this),null!=we?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=we.typeaheadDebounceInterval),this._scrollStrategyFactory=te,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(W)||0,this.id=this.id}ngOnInit(){this._selectionModel=new sv(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(vg(),ti(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(ti(this._destroy)).subscribe(e=>{e.added.forEach(n=>n.select()),e.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(Yr(null),ti(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),n=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(void 0!==this._previousControl&&null!==n.disabled&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const n=e.keyCode,r=40===n||38===n||37===n||39===n,a=13===n||32===n,o=this._keyManager;if(!o.isTyping()&&a&&!ga(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const c=this.selected;o.onKeydown(e);const h=this.selected;h&&c!==h&&this._liveAnnouncer.announce(h.viewValue,1e4)}}_handleOpenKeydown(e){const n=this._keyManager,r=e.keyCode,a=40===r||38===r,o=n.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(o||13!==r&&32!==r||!n.activeItem||ga(e))if(!o&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const c=this.options.some(h=>!h.disabled&&!h.selected);this.options.forEach(h=>{h.disabled||(c?h.select():h.deselect())})}else{const c=n.activeItemIndex;n.onKeydown(e),this._multiple&&a&&e.shiftKey&&n.activeItem&&n.activeItemIndex!==c&&n.activeItem._selectViaInteraction()}else e.preventDefault(),n.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(gn(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{const n=this._selectOptionByValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const n=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new jT(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=Rn(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ti(e)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Rn(...this.options.map(n=>n._stateChanges)).pipe(ti(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,n){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),n&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),n&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((n,r)=>this.sortComparator?this.sortComparator(n,r,e):e.indexOf(n)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let n=null;n=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let n=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return i.\u0275fac=function(e){return new(e||i)(D(pl),D(li),D(Rt),D(Cf),D(_t),D(jr,8),D(Rc,8),D(Kh,8),D(Zh,8),D(Xl,10),bo("tabindex"),D(LL),D(Tx),D(Koe,8))},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&(Tt(Boe,5),Tt(Hoe,5),Tt(d6,5)),2&e){let r;Qe(r=Ze())&&(n.trigger=r.first),Qe(r=Ze())&&(n.panel=r.first),Qe(r=Ze())&&(n._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[ot,mr]}),i})(),_v=(()=>{class i extends ese{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(ti(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const n=this.options.toArray()[e];if(n){const r=this.panel.nativeElement,a=C6(e,this.options,this.optionGroups),o=n._getHostElement();r.scrollTop=0===e&&1===a?0:D6(o.offsetTop,o.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Xoe(this,e)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof Hx?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=xt(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275cmp=$e({type:i,selectors:[["mat-select"]],contentQueries:function(e,n,r){if(1&e&&(di(r,Zoe,5),di(r,Ah,5),di(r,$x,5)),2&e){let a;Qe(a=Ze())&&(n.customTrigger=a.first),Qe(a=Ze())&&(n.options=a),Qe(a=Ze())&&(n.optionGroups=a)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(e,n){1&e&&pe("keydown",function(a){return n._handleKeydown(a)})("focus",function(){return n._onFocus()})("blur",function(){return n._onBlur()}),2&e&&(Nt("id",n.id)("tabindex",n.tabIndex)("aria-controls",n.panelOpen?n.id+"-panel":null)("aria-expanded",n.panelOpen)("aria-label",n.ariaLabel||null)("aria-required",n.required.toString())("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState)("aria-activedescendant",n._getAriaActiveDescendant()),Mt("mat-mdc-select-disabled",n.disabled)("mat-mdc-select-invalid",n.errorState)("mat-mdc-select-required",n.required)("mat-mdc-select-empty",n.empty)("mat-mdc-select-multiple",n.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[Ot([{provide:$f,useExisting:i},{provide:qx,useExisting:i}]),ot],ngContentSelectors:Goe,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,n){if(1&e&&(Hi(Woe),y(0,"div",0,1),pe("click",function(){return n.toggle()}),y(3,"div",2),oe(4,Voe,2,1,"span",3),oe(5,zoe,3,2,"span",4),k(),y(6,"div",5)(7,"div",6),_o(),y(8,"svg",7),De(9,"path",8),k()()()(),oe(10,Uoe,3,9,"ng-template",9),pe("backdropClick",function(){return n.close()})("attach",function(){return n._onAttached()})("detach",function(){return n.close()})),2&e){const r=en(1);Nt("aria-owns",n.panelOpen?n.id+"-panel":null),A(3),N("ngSwitch",n.empty),Nt("id",n._valueId),A(1),N("ngSwitchCase",!0),A(1),N("ngSwitchCase",!1),A(5),N("cdkConnectedOverlayPanelClass",n._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",n._scrollStrategy)("cdkConnectedOverlayOrigin",n._preferredOverlayOrigin||r)("cdkConnectedOverlayOpen",n.panelOpen)("cdkConnectedOverlayPositions",n._positions)("cdkConnectedOverlayWidth",n._overlayWidth)}},dependencies:[Pa,ou,mf,KA,d6,Hx],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[qoe.transformPanel]},changeDetection:0}),i})(),OL=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[Qoe],imports:[Mr,Dc,Fb,Kt,Cc,OC,Fb,Kt]}),i})();function tse(i,t){}const ise=function(i){return{animationDuration:i}},nse=function(i,t){return{value:i,params:t}};function rse(i,t){1&i&&wt(0)}const U_=["*"],RL=["tabListContainer"],PL=["tabList"],BL=["tabListInner"],HL=["nextPaginator"],VL=["previousPaginator"],ase=["tabBodyWrapper"],ose=["tabHeader"];function sse(i,t){}function lse(i,t){1&i&&oe(0,sse,0,0,"ng-template",14),2&i&&N("cdkPortalOutlet",X().$implicit.templateLabel)}function cse(i,t){1&i&&B(0),2&i&&Ct(X().$implicit.textLabel)}function dse(i,t){if(1&i){const e=tt();y(0,"div",6,7),pe("click",function(){const r=Te(e),a=r.$implicit,o=r.index,c=X(),h=en(1);return Ie(c._handleClick(a,h,o))})("cdkFocusChange",function(r){const o=Te(e).index;return Ie(X()._tabFocusChanged(r,o))}),De(2,"span",8)(3,"div",9),y(4,"span",10)(5,"span",11),oe(6,lse,1,1,"ng-template",12),oe(7,cse,1,1,"ng-template",null,13,dl),k()()()}if(2&i){const e=t.$implicit,n=t.index,r=en(1),a=en(8),o=X();Mt("mdc-tab--active",o.selectedIndex===n),N("id",o._getTabLabelId(n))("ngClass",e.labelClass)("disabled",e.disabled)("fitInkBarToContent",o.fitInkBarToContent),Nt("tabIndex",o._getTabIndex(n))("aria-posinset",n+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(n))("aria-selected",o.selectedIndex===n)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),A(3),N("matRippleTrigger",r)("matRippleDisabled",e.disabled||o.disableRipple),A(3),N("ngIf",e.templateLabel)("ngIfElse",a)}}function use(i,t){if(1&i){const e=tt();y(0,"mat-tab-body",15),pe("_onCentered",function(){return Te(e),Ie(X()._removeTabBodyWrapperHeight())})("_onCentering",function(r){return Te(e),Ie(X()._setTabBodyWrapperHeight(r))}),k()}if(2&i){const e=t.$implicit,n=t.index,r=X();Mt("mat-mdc-tab-body-active",r.selectedIndex===n),N("id",r._getTabContentId(n))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),Nt("tabindex",null!=r.contentTabIndex&&r.selectedIndex===n?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(n))}}const hse=["mat-tab-nav-bar",""],mse=["mat-tab-link",""],fse={translateTab:Va("translateTab",[fr("center, void, left-origin-center, right-origin-center",hi({transform:"none"})),fr("left",hi({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),fr("right",hi({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),nr("* => left, * => right, left => center, right => center",ir("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),nr("void => left-origin-center",[hi({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),ir("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),nr("void => right-origin-center",[hi({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),ir("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let pse=(()=>{class i extends ql{constructor(e,n,r,a){super(e,n,a),this._host=r,this._centeringSub=x.EMPTY,this._leavingSub=x.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Yr(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(D(nd),D(kr),D(ci(()=>YL)),D(Ci))},i.\u0275dir=Oe({type:i,selectors:[["","matTabBodyHost",""]],features:[ot]}),i})(),gse=(()=>{class i{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,n,r){this._elementRef=e,this._dir=n,this._dirChangeSubscription=x.EMPTY,this._translateTabComplete=new He,this._onCentering=new ht,this._beforeCentering=new ht,this._afterLeavingCenter=new ht,this._onCentered=new ht(!0),this.animationDuration="500ms",this.preserveContent=!1,n&&(this._dirChangeSubscription=n.change.subscribe(a=>{this._computePositionAnimationState(a),r.markForCheck()})),this._translateTabComplete.pipe(vg((a,o)=>a.fromState===o.fromState&&a.toState===o.toState)).subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const n=this._isCenterPosition(e.toState);this._beforeCentering.emit(n),n&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const n=this._getLayoutDirection();return"ltr"==n&&e<=0||"rtl"==n&&e>0?"left-origin-center":"right-origin-center"}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(jr,8),D(li))},i.\u0275dir=Oe({type:i,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),i})(),YL=(()=>{class i extends gse{constructor(e,n,r){super(e,n,r)}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(jr,8),D(li))},i.\u0275cmp=$e({type:i,selectors:[["mat-tab-body"]],viewQuery:function(e,n){if(1&e&&Tt(ql,5),2&e){let r;Qe(r=Ze())&&(n._portalHost=r.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[ot],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,n){1&e&&(y(0,"div",0,1),pe("@translateTab.start",function(a){return n._onTranslateTabStarted(a)})("@translateTab.done",function(a){return n._translateTabComplete.next(a)}),oe(2,tse,0,0,"ng-template",2),k()),2&e&&N("@translateTab",cl(3,nse,n._position,Cn(1,ise,n.animationDuration)))},dependencies:[pse],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[fse.translateTab]}}),i})();const _se=new Ke("MatTabContent");let jL=(()=>{class i{constructor(e){this.template=e}}return i.\u0275fac=function(e){return new(e||i)(D(yr))},i.\u0275dir=Oe({type:i,selectors:[["","matTabContent",""]],features:[Ot([{provide:_se,useExisting:i}])]}),i})();const bse=new Ke("MatTabLabel"),zL=new Ke("MAT_TAB");let UL=(()=>{class i extends nq{constructor(e,n,r){super(e,n),this._closestTab=r}}return i.\u0275fac=function(e){return new(e||i)(D(yr),D(kr),D(zL,8))},i.\u0275dir=Oe({type:i,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Ot([{provide:bse,useExisting:i}]),ot]}),i})();const cD="mdc-tab-indicator--active",WL="mdc-tab-indicator--no-transition";class GL{constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){const e=this._items.find(r=>r.elementRef.nativeElement===t),n=this._currentItem;if(n?.deactivateInkBar(),e){const r=n?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}}function qL(i){return class extends i{constructor(...t){super(...t),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){const e=xt(t);this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){const e=this.elementRef.nativeElement;if(!t||!e.getBoundingClientRect||!this._inkBarContentElement)return void e.classList.add(cD);const n=e.getBoundingClientRect(),r=t.width/n.width,a=t.left-n.left;e.classList.add(WL),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${r})`),e.getBoundingClientRect(),e.classList.remove(WL),e.classList.add(cD),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(cD)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const t=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=t.createElement("span"),this._inkBarContentElement=t.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const vse=$l(class{}),wse=qL((()=>{class i extends vse{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return i.\u0275fac=function(e){return new(e||i)(D(_t))},i.\u0275dir=Oe({type:i,features:[ot]}),i})());let $L=(()=>{class i extends wse{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,n){2&e&&(Nt("aria-disabled",!!n.disabled),Mt("mat-mdc-tab-disabled",n.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[ot]}),i})();const Fse=$l(class{}),KL=new Ke("MAT_TAB_GROUP");let xse=(()=>{class i extends Fse{get content(){return this._contentPortal}constructor(e,n){super(),this._viewContainerRef=e,this._closestTabGroup=n,this.textLabel="",this._contentPortal=null,this._stateChanges=new He,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new _d(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return i.\u0275fac=function(e){return new(e||i)(D(kr),D(KL,8))},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&Tt(yr,7),2&e){let r;Qe(r=Ze())&&(n._implicitContent=r.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[ot,mr]}),i})(),bv=(()=>{class i extends xse{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275cmp=$e({type:i,selectors:[["mat-tab"]],contentQueries:function(e,n,r){if(1&e&&(di(r,jL,7,yr),di(r,UL,5)),2&e){let a;Qe(a=Ze())&&(n._explicitContent=a.first),Qe(a=Ze())&&(n.templateLabel=a.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Ot([{provide:zL,useExisting:i}]),ot],ngContentSelectors:U_,decls:1,vars:0,template:function(e,n){1&e&&(Hi(),oe(0,rse,1,0,"ng-template"))},encapsulation:2}),i})();const QL=md({passive:!0});let XL=(()=>{class i{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=xt(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=vr(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,n,r,a,o,c,h){this._elementRef=e,this._changeDetectorRef=n,this._viewportRuler=r,this._dir=a,this._ngZone=o,this._platform=c,this._animationMode=h,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new He,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new He,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new ht,this.indexFocused=new ht,o.runOutsideAngular(()=>{is(e.nativeElement,"mouseleave").pipe(ti(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){is(this._previousPaginator.nativeElement,"touchstart",QL).pipe(ti(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),is(this._nextPaginator.nativeElement,"touchstart",QL).pipe(ti(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:qt("ltr"),n=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Fg(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(gn(1)).subscribe(r),Rn(e,n,this._items.changes,this._itemsResized()).pipe(ti(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return"function"!=typeof ResizeObserver?an:this._items.changes.pipe(Yr(this._items),ca(e=>new mt(n=>this._ngZone.runOutsideAngular(()=>{const r=new ResizeObserver(a=>n.next(a));return e.forEach(a=>r.observe(a.elementRef.nativeElement)),()=>{r.disconnect()}}))),xx(1),Ki(e=>e.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!ga(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return!this._items||!!this._items.toArray()[e]}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const n=this._tabListContainer.nativeElement;n.scrollLeft="ltr"==this._getLayoutDirection()?0:n.scrollWidth-n.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,n="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const n=this._items?this._items.toArray()[e]:null;if(!n)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:o}=n.elementRef.nativeElement;let c,h;"ltr"==this._getLayoutDirection()?(c=a,h=c+o):(h=this._tabListInner.nativeElement.offsetWidth-a,c=h-o);const f=this.scrollDistance,F=this.scrollDistance+r;cF&&(this.scrollDistance+=h-F+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=e?e.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,n){n&&null!=n.button&&0!==n.button||(this._stopInterval(),yb(650,100).pipe(ti(Rn(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:a}=this._scrollHeader(e);(0===a||a>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(li),D(pl),D(jr,8),D(Rt),D(Pn),D(Tn,8))},i.\u0275dir=Oe({type:i,inputs:{disablePagination:"disablePagination"}}),i})(),Dse=(()=>{class i extends XL{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=xt(e)}constructor(e,n,r,a,o,c,h){super(e,n,r,a,o,c,h),this._disableRipple=!1}_itemSelected(e){e.preventDefault()}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(li),D(pl),D(jr,8),D(Rt),D(Pn),D(Tn,8))},i.\u0275dir=Oe({type:i,inputs:{disableRipple:"disableRipple"},features:[ot]}),i})(),Mse=(()=>{class i extends Dse{constructor(e,n,r,a,o,c,h){super(e,n,r,a,o,c,h)}ngAfterContentInit(){this._inkBar=new GL(this._items),super.ngAfterContentInit()}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(li),D(pl),D(jr,8),D(Rt),D(Pn),D(Tn,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-tab-header"]],contentQueries:function(e,n,r){if(1&e&&di(r,$L,4),2&e){let a;Qe(a=Ze())&&(n._items=a)}},viewQuery:function(e,n){if(1&e&&(Tt(RL,7),Tt(PL,7),Tt(BL,7),Tt(HL,5),Tt(VL,5)),2&e){let r;Qe(r=Ze())&&(n._tabListContainer=r.first),Qe(r=Ze())&&(n._tabList=r.first),Qe(r=Ze())&&(n._tabListInner=r.first),Qe(r=Ze())&&(n._nextPaginator=r.first),Qe(r=Ze())&&(n._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("mat-mdc-tab-header-pagination-controls-enabled",n._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==n._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ot],ngContentSelectors:U_,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,n){1&e&&(Hi(),y(0,"button",0,1),pe("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(a){return n._handlePaginatorPress("before",a)})("touchend",function(){return n._stopInterval()}),De(2,"div",2),k(),y(3,"div",3,4),pe("keydown",function(a){return n._handleKeydown(a)}),y(5,"div",5,6),pe("cdkObserveContent",function(){return n._onContentChanges()}),y(7,"div",7,8),wt(9),k()()(),y(10,"button",9,10),pe("mousedown",function(a){return n._handlePaginatorPress("after",a)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),De(12,"div",2),k()),2&e&&(Mt("mat-mdc-tab-header-pagination-disabled",n._disableScrollBefore),N("matRippleDisabled",n._disableScrollBefore||n.disableRipple)("disabled",n._disableScrollBefore||null),A(3),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode),A(7),Mt("mat-mdc-tab-header-pagination-disabled",n._disableScrollAfter),N("matRippleDisabled",n._disableScrollAfter||n.disableRipple)("disabled",n._disableScrollAfter||null))},dependencies:[la,bf],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),i})();const dD=new Ke("MAT_TABS_CONFIG");let Ese=0;const Sse=Kl(_l(class{constructor(i){this._elementRef=i}}),"primary");let Ase=(()=>{class i extends Sse{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=xt(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=vr(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=vr(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=xt(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=xt(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&n.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,n,r,a){super(e),this._changeDetectorRef=n,this._animationMode=a,this._tabs=new wc,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=x.EMPTY,this._tabLabelSubscription=x.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new ht,this.focusChange=new ht,this.animationDone=new ht,this.selectedTabChange=new ht(!0),this._groupId=Ese++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=r?.contentTabIndex??null,this.preserveContent=!!r?.preserveContent}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const n=null==this._selectedIndex;if(!n){this.selectedTabChange.emit(this._createChangeEvent(e));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,a)=>r.isActive=a===e),n||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((n,r)=>{n.position=r-e,null!=this._selectedIndex&&0==n.position&&!n.origin&&(n.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const n=this._tabs.toArray();let r;for(let a=0;a{n[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Yr(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(n=>n._closestTabGroup===this||!n._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const n=this._tabHeader;n&&(n.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const n=new Tse;return n.index=e,this._tabs&&this._tabs.length&&(n.tab=this._tabs.toArray()[e]),n}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Rn(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const n=this._tabBodyWrapper.nativeElement;n.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(n.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,n,r){n.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){return e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,n){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=n)}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(li),D(dD,8),D(Tn,8))},i.\u0275dir=Oe({type:i,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[ot]}),i})(),uD=(()=>{class i extends Ase{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=xt(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=xt(e)}constructor(e,n,r,a){super(e,n,r,a),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!r||null==r.fitInkBarToContent)&&r.fitInkBarToContent}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(li),D(dD,8),D(Tn,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-tab-group"]],contentQueries:function(e,n,r){if(1&e&&di(r,bv,5),2&e){let a;Qe(a=Ze())&&(n._allTabs=a)}},viewQuery:function(e,n){if(1&e&&(Tt(ase,5),Tt(ose,5)),2&e){let r;Qe(r=Ze())&&(n._tabBodyWrapper=r.first),Qe(r=Ze())&&(n._tabHeader=r.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(e,n){2&e&&Mt("mat-mdc-tab-group-dynamic-height",n.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===n.headerPosition)("mat-mdc-tab-group-stretch-tabs",n.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[Ot([{provide:KL,useExisting:i}]),ot],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,n){1&e&&(y(0,"mat-tab-header",0,1),pe("indexFocused",function(a){return n._focusChanged(a)})("selectFocusedIndex",function(a){return n.selectedIndex=a}),oe(2,dse,9,17,"div",2),k(),y(3,"div",3,4),oe(5,use,1,11,"mat-tab-body",5),k()),2&e&&(N("selectedIndex",n.selectedIndex||0)("disableRipple",n.disableRipple)("disablePagination",n.disablePagination),A(2),N("ngForOf",n._tabs),A(1),Mt("_mat-animation-noopable","NoopAnimations"===n._animationMode),A(2),N("ngForOf",n._tabs))},dependencies:[Pa,Gn,mi,ql,la,CG,YL,$L,Mse],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),i})();class Tse{}let JL=0,eO=(()=>{class i extends XL{get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&n.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=xt(e)}constructor(e,n,r,a,o,c,h){super(e,a,o,n,r,c,h),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe(Yr(null),ti(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const e=this._items.toArray();for(let n=0;n{class i extends Ise{get active(){return this._isActive}set active(e){const n=xt(e);n!==this._isActive&&(this._isActive=n,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(e,n,r,a,o,c){super(),this._tabNavBar=e,this.elementRef=n,this._focusMonitor=o,this._isActive=!1,this.id="mat-tab-link-"+JL++,this.rippleConfig=r||{},this.tabIndex=parseInt(a)||0,"NoopAnimations"===c&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){this._tabNavBar.tabPanel&&32===e.keyCode&&this.elementRef.nativeElement.click()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}return i.\u0275fac=function(e){return new(e||i)(D(eO),D(_t),D(yd,8),bo("tabindex"),D(Ha),D(Tn,8))},i.\u0275dir=Oe({type:i,inputs:{active:"active",id:"id"},features:[ot]}),i})());let hD=(()=>{class i extends eO{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(xt(e)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=xt(e)}constructor(e,n,r,a,o,c,h,f){super(e,n,r,a,o,c,h),this._fitInkBarToContent=new Oi(!1),this._stretchTabs=!0,this.disablePagination=!(!f||null==f.disablePagination)&&f.disablePagination,this.fitInkBarToContent=!(!f||null==f.fitInkBarToContent)&&f.fitInkBarToContent}ngAfterContentInit(){this._inkBar=new GL(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(jr,8),D(Rt),D(li),D(pl),D(Pn),D(Tn,8),D(dD,8))},i.\u0275cmp=$e({type:i,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(e,n,r){if(1&e&&di(r,mD,5),2&e){let a;Qe(a=Ze())&&(n._items=a)}},viewQuery:function(e,n){if(1&e&&(Tt(RL,7),Tt(PL,7),Tt(BL,7),Tt(HL,5),Tt(VL,5)),2&e){let r;Qe(r=Ze())&&(n._tabListContainer=r.first),Qe(r=Ze())&&(n._tabList=r.first),Qe(r=Ze())&&(n._tabListInner=r.first),Qe(r=Ze())&&(n._nextPaginator=r.first),Qe(r=Ze())&&(n._previousPaginator=r.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(e,n){2&e&&(Nt("role",n._getRole()),Mt("mat-mdc-tab-header-pagination-controls-enabled",n._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==n._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",n.stretchTabs)("mat-primary","warn"!==n.color&&"accent"!==n.color)("mat-accent","accent"===n.color)("mat-warn","warn"===n.color)("_mat-animation-noopable","NoopAnimations"===n._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabNavBar","matTabNav"],features:[ot],attrs:hse,ngContentSelectors:U_,decls:13,vars:8,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,n){1&e&&(Hi(),y(0,"button",0,1),pe("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(a){return n._handlePaginatorPress("before",a)})("touchend",function(){return n._stopInterval()}),De(2,"div",2),k(),y(3,"div",3,4),pe("keydown",function(a){return n._handleKeydown(a)}),y(5,"div",5,6),pe("cdkObserveContent",function(){return n._onContentChanges()}),y(7,"div",7,8),wt(9),k()()(),y(10,"button",9,10),pe("mousedown",function(a){return n._handlePaginatorPress("after",a)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),De(12,"div",2),k()),2&e&&(Mt("mat-mdc-tab-header-pagination-disabled",n._disableScrollBefore),N("matRippleDisabled",n._disableScrollBefore||n.disableRipple)("disabled",n._disableScrollBefore||null),A(10),Mt("mat-mdc-tab-header-pagination-disabled",n._disableScrollAfter),N("matRippleDisabled",n._disableScrollAfter||n.disableRipple)("disabled",n._disableScrollAfter||null))},dependencies:[la,bf],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}"],encapsulation:2}),i})(),mD=(()=>{class i extends Nse{constructor(e,n,r,a,o,c){super(e,n,r,a,o,c),this._destroyed=new He,e._fitInkBarToContent.pipe(ti(this._destroyed)).subscribe(h=>{this.fitInkBarToContent=h})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}return i.\u0275fac=function(e){return new(e||i)(D(hD),D(_t),D(yd,8),bo("tabindex"),D(Ha),D(Tn,8))},i.\u0275cmp=$e({type:i,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(e,n){1&e&&pe("focus",function(){return n._handleFocus()})("keydown",function(a){return n._handleKeydown(a)}),2&e&&(Nt("aria-controls",n._getAriaControls())("aria-current",n._getAriaCurrent())("aria-disabled",n.disabled)("aria-selected",n._getAriaSelected())("id",n.id)("tabIndex",n._getTabIndex())("role",n._getRole()),Mt("mat-mdc-tab-disabled",n.disabled)("mdc-tab--active",n.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[ot],attrs:mse,ngContentSelectors:U_,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(e,n){1&e&&(Hi(),De(0,"span",0)(1,"div",1),y(2,"span",2)(3,"span",3),wt(4),k()()),2&e&&(A(1),N("matRippleTrigger",n.elementRef.nativeElement)("matRippleDisabled",n.rippleDisabled))},dependencies:[la],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab-link.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab-link .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12}.mat-mdc-tab-link.mat-mdc-tab-disabled{pointer-events:none;opacity:.4}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0}),i})(),tO=(()=>{class i{constructor(){this.id="mat-tab-nav-panel-"+JL++}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=$e({type:i,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(e,n){2&e&&Nt("aria-labelledby",n._activeTabId)("id",n.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:U_,decls:1,vars:0,template:function(e,n){1&e&&(Hi(),wt(0))},encapsulation:2,changeDetection:0}),i})(),Lse=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Mr,Kt,gl,Rs,wg,Ff,Kt]}),i})();class Ose{constructor(t,e){this._document=e;const n=this._textarea=this._document.createElement("textarea"),r=n.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",n.setAttribute("aria-hidden","true"),n.value=t,n.readOnly=!0,this._document.body.appendChild(n)}copy(){const t=this._textarea;let e=!1;try{if(t){const n=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),n&&n.focus()}}catch{}return e}destroy(){const t=this._textarea;t&&(t.remove(),this._textarea=void 0)}}let Rse=(()=>{class i{constructor(e){this._document=e}copy(e){const n=this.beginCopy(e),r=n.copy();return n.destroy(),r}beginCopy(e){return new Ose(e,this._document)}}return i.\u0275fac=function(e){return new(e||i)(Ee(Ci))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Pse=new Ke("CDK_COPY_TO_CLIPBOARD_CONFIG");let iO=(()=>{class i{constructor(e,n,r){this._clipboard=e,this._ngZone=n,this.text="",this.attempts=1,this.copied=new ht,this._pending=new Set,r&&null!=r.attempts&&(this.attempts=r.attempts)}copy(e=this.attempts){if(e>1){let n=e;const r=this._clipboard.beginCopy(this.text);this._pending.add(r);const a=()=>{const o=r.copy();o||!--n||this._destroyed?(this._currentTimeout=null,this._pending.delete(r),r.destroy(),this.copied.emit(o)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(a,1))};a()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}}return i.\u0275fac=function(e){return new(e||i)(D(Rse),D(Rt),D(Pse,8))},i.\u0275dir=Oe({type:i,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,n){1&e&&pe("click",function(){return n.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),i})(),Bse=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})();function Hse(i,t){1&i&&(y(0,"span"),B(1,"\xa0Options"),k())}function Vse(i,t){if(1&i&&(y(0,"mat-icon",3),B(1,"settings_applications"),k(),oe(2,Hse,2,0,"span",4),zi(3,"async")),2&i){const e=X();A(2),N("ngIf",!1===Ui(3,1,e.appState.displayLabels$))}}function Yse(i,t){if(1&i){const e=tt();y(0,"div",5)(1,"mat-card")(2,"mat-card-content")(3,"mat-form-field",6)(4,"mat-label"),B(5,"Choose mode"),k(),y(6,"mat-select",7),pe("selectionChange",function(){Te(e);const r=X();return Ie(r.theme.darkMode=!r.theme.darkMode)}),y(7,"mat-option",8),B(8,"Dark"),k(),y(9,"mat-option",8),B(10,"Light"),k()()()()(),De(11,"br"),y(12,"mat-card")(13,"mat-card-header")(14,"mat-card-title"),B(15,"Media Upload Service"),k(),y(16,"mat-card-subtitle"),B(17,"Choose which service to use for uploading photos and films"),k()(),y(18,"mat-card-content")(19,"mat-form-field",6)(20,"mat-select",9),pe("valueChange",function(r){return Te(e),Ie(X().optionsService.values.mediaService=r)}),y(21,"mat-option",8),B(22,"void.cat"),k(),y(23,"mat-option",8),B(24,"nostr.build"),k()()()()(),De(25,"br"),y(26,"mat-card")(27,"mat-card-header")(28,"mat-card-title"),B(29,"Reactions"),k(),y(30,"mat-card-subtitle"),B(31,"Control if likes should be loaded and displayed"),k()(),y(32,"mat-card-content")(33,"p"),B(34,"Reactions is not for everyone and it might consider clutter by some. It also takes up additional bandwidth to download."),k(),y(35,"mat-slide-toggle",10),pe("change",function(){return Te(e),Ie(X().optionsService.save())})("ngModelChange",function(r){return Te(e),Ie(X().optionsService.values.enableReactions=r)}),B(36,"Enable Reactions"),k()()(),De(37,"br"),y(38,"mat-card")(39,"mat-card-header")(40,"mat-card-title"),B(41,"Media widgets"),k(),y(42,"mat-card-subtitle"),B(43,"Control how content are rendered"),k()(),y(44,"mat-card-content")(45,"p"),B(46,"Enable this to allow the app to render music widgets when URLs linked to the services is seen in notes."),k(),y(47,"mat-slide-toggle",10),pe("change",function(){return Te(e),Ie(X().optionsService.save())})("ngModelChange",function(r){return Te(e),Ie(X().optionsService.values.enableSpotify=r)}),B(48,"Enable Spotify"),k(),y(49,"mat-slide-toggle",10),pe("change",function(){return Te(e),Ie(X().optionsService.save())})("ngModelChange",function(r){return Te(e),Ie(X().optionsService.values.enableTidal=r)}),B(50,"Enable Tidal"),k(),y(51,"p")(52,"button",11),pe("click",function(){return Te(e),Ie(X().openMediaPlayer())}),B(53,"Open Media Player"),k()()()(),De(54,"br"),y(55,"mat-card")(56,"mat-card-content")(57,"button",12),pe("click",function(){return Te(e),Ie(X().registerHandler("web+nostr","nostr"))}),B(58,"Register Protocol Handler"),k(),De(59,"br")(60,"br"),y(61,"div",13),B(62,"Click the button to make Blockcore Notes handle links on websites for npub, nevent and nprofile."),k()()()()}if(2&i){const e=X();A(6),N("value",e.theme.darkMode),A(1),N("value",!0),A(2),N("value",!1),A(11),N("value",e.optionsService.values.mediaService),A(1),N("value","void.cat"),A(2),N("value","nostr.build"),A(12),N("ngModel",e.optionsService.values.enableReactions),A(12),N("ngModel",e.optionsService.values.enableSpotify),A(2),N("ngModel",e.optionsService.values.enableTidal)}}function jse(i,t){1&i&&(y(0,"span"),B(1,"\xa0Data"),k())}function zse(i,t){if(1&i&&(y(0,"mat-icon",3),B(1,"inventory_2"),k(),oe(2,jse,2,0,"span",4),zi(3,"async")),2&i){const e=X();A(2),N("ngIf",!1===Ui(3,1,e.appState.displayLabels$))}}function Use(i,t){if(1&i&&(y(0,"div",18),De(1,"br"),B(2,"Private key: "),y(3,"p"),B(4),y(5,"button",19)(6,"mat-icon"),B(7,"content_copy"),k()()(),y(8,"p"),De(9,"img",20),k()()),2&i){const e=X(3);A(4),ri(" ",e.privateKey,""),A(1),N("cdkCopyToClipboard",e.privateKey),A(4),N("src",e.qrCodePrivateKey,An)}}function Wse(i,t){1&i&&(y(0,"div"),B(1,"Invalid Password"),k())}function Gse(i,t){if(1&i){const e=tt();y(0,"button",21),pe("click",function(){return Te(e),Ie(X(3).resetPrivateKey())}),B(1,"Hide"),k()}}function qse(i,t){if(1&i){const e=tt();y(0,"mat-card")(1,"mat-card-header")(2,"mat-card-title"),B(3,"Export Private Key"),k(),y(4,"mat-card-subtitle"),B(5,"Keep this private key safe, if you loose it or share it with websites, it can be stolen and misused."),k()(),y(6,"mat-card-content")(7,"button",15),pe("click",function(){return Te(e),Ie(X(2).exportPrivateKey())}),B(8,"Export Private Key"),k(),oe(9,Use,10,3,"div",16),oe(10,Wse,2,0,"div",4),oe(11,Gse,2,0,"button",17),k()()}if(2&i){const e=X(2);A(9),N("ngIf",!0===e.verifiedWalletPassword),A(1),N("ngIf",!1===e.verifiedWalletPassword),A(1),N("ngIf",!0===e.verifiedWalletPassword)}}function $se(i,t){1&i&&(y(0,"p"),B(1,"All local data cache was cleared."),k())}function Kse(i,t){if(1&i){const e=tt();y(0,"div",5),oe(1,qse,12,3,"mat-card",4),De(2,"br"),y(3,"p")(4,"button",14),pe("click",function(){return Te(e),Ie(X().db.clearAndReload())}),B(5,"Wipe Local Database"),k()(),oe(6,$se,2,0,"p",4),k()}if(2&i){const e=X();A(1),N("ngIf",e.hasPrivateKey),A(5),N("ngIf",e.wiped)}}class W_{constructor(t,e,n,r,a,o,c,h,f,F,R,W){this.uploadService=t,this.nostr=e,this.optionsService=n,this.relayService=r,this.dialog=a,this.appState=o,this.profileService=c,this.theme=h,this.db=f,this.snackBar=F,this.dataService=R,this.security=W,this.wiped=!1,this.wipedNonFollow=!1,this.wipedNotes=!1,this.open=!1,this.hasPrivateKey=!1}toggle(){this.open?(this.open=!1,this.accordion.closeAll()):(this.open=!0,this.accordion.openAll())}openMediaPlayer(){this.optionsService.values.showMediaPlayer=!0}primaryRelay(t){var e=this;return Se(function*(){e.optionsService.values.primaryRelay=t.url,e.optionsService.save()})()}deleteRelays(){var t=this;return Se(function*(){yield t.relayService.deleteRelays([])})()}clearProfileCache(){var t=this;return Se(function*(){t.wipedNonFollow=!0})()}clearNotesCache(){var t=this;return Se(function*(){t.wipedNotes=!0})()}getDefaultRelays(){var t=this;return Se(function*(){yield t.relayService.appendRelays(t.nostr.defaultRelays)})()}getRelays(){var t=this;return Se(function*(){const e=yield t.nostr.relays();yield t.relayService.appendRelays(e)})()}ngOnInit(){this.appState.updateTitle("Settings"),this.appState.showBackButton=!1,this.appState.actions=[{icon:"add_circle",tooltip:"Add Relay",click:()=>{this.addRelay()}}],this.hasPrivateKey=null!=localStorage.getItem("blockcore:notes:nostr:prvkey")}registerHandler(t,e){navigator.registerProtocolHandler(t,`/?${e}=%s`)}addRelay(){var t=this;this.dialog.open(lp,{data:{read:!0,write:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){r&&(-1===r.url.indexOf("://")&&(r.url="wss://"+r.url),yield t.relayService.appendRelay(r.url,r.read,r.write))});return function(r){return n.apply(this,arguments)}}())}resetPrivateKey(){this.privateKey=void 0,this.qrCodePrivateKey=void 0,this.verifiedWalletPassword=void 0}ngOnDestroy(){this.resetPrivateKey()}exportPrivateKey(){var t=this;return Se(function*(){t.dialog.open(Qf,{data:{action:"Unlock Private Key",password:""},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){if(!r)return;let a=localStorage.getItem("blockcore:notes:nostr:prvkey");const o=yield t.security.decryptData(a,r.password);if(!o)return t.verifiedWalletPassword=!1,void t.snackBar.open("Unable to decrypt data. Probably wrong password. Try again.","Hide",{duration:3e3,horizontalPosition:"center",verticalPosition:"bottom"});t.verifiedWalletPassword=!0;const c=za.nsecEncode(o);t.privateKey=c,t.qrCodePrivateKey=yield lD.hz("nostr:"+t.privateKey,{errorCorrectionLevel:"L",margin:2,scale:5})});return function(r){return n.apply(this,arguments)}}())})()}}W_.\u0275fac=function(t){return new(t||W_)(D(Dd),D(Jl),D(Er),D(as),D(ja),D(ln),D(Vn),D(yl),D(Ea),D(js),D(Ka),D(Bc))},W_.\u0275cmp=$e({type:W_,selectors:[["app-settings"]],viewQuery:function(t,e){if(1&t&&Tt(tc,5),2&t){let n;Qe(n=Ze())&&(e.accordion=n.first)}},decls:8,vars:0,consts:[[1,"full-page"],["mat-tab-label",""],["matTabContent",""],[1,"example-tab-icon"],[4,"ngIf"],[1,"page"],["appearance","outline",1,"input-full-width"],[3,"value","selectionChange"],[3,"value"],[3,"value","valueChange"],[1,"options-slider",3,"ngModel","change","ngModelChange"],["mat-button","",3,"click"],["mat-stroked-button","",3,"click"],[1,"dimmed"],["mat-flat-button","","color","warn",3,"click"],["mat-stroked-button","",1,"signup-button",3,"click"],["class","selectable wrap",4,"ngIf"],["class","signup-button","mat-flat-button","","color","warn",3,"click",4,"ngIf"],[1,"selectable","wrap"],["mat-icon-button","",1,"copy-button",3,"cdkCopyToClipboard"],[1,"qr-code",3,"src"],["mat-flat-button","","color","warn",1,"signup-button",3,"click"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"mat-tab-group")(2,"mat-tab"),oe(3,Vse,4,3,"ng-template",1),oe(4,Yse,63,9,"ng-template",2),k(),y(5,"mat-tab"),oe(6,zse,4,3,"ng-template",1),oe(7,Kse,7,2,"ng-template",2),k()()())},dependencies:[mi,Eo,Wo,Cr,Do,_v,Ah,Sa,ec,D_,C_,k_,pr,jL,UL,bv,uD,z_,Wa,Ga,iO,Os],styles:[".example-action-buttons[_ngcontent-%COMP%]{padding-bottom:20px}.example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.example-headers-align[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%] + .mat-mdc-form-field[_ngcontent-%COMP%]{margin-left:8px}.online[_ngcontent-%COMP%]{margin-left:.2em;margin-bottom:-.2em}.relay-status-0[_ngcontent-%COMP%]{color:silver}.relay-status-1[_ngcontent-%COMP%]{color:green}.relay-status-2[_ngcontent-%COMP%]{color:orange}.relay-status-3[_ngcontent-%COMP%]{color:red}.relay-status-4[_ngcontent-%COMP%]{color:#3131d2}.relay-read-disabled[_ngcontent-%COMP%]{color:#3131d2!important}.relay-disabled[_ngcontent-%COMP%]{color:#ea8809!important}.primary-relay[_ngcontent-%COMP%]{color:#c603b5}.relay-options[_ngcontent-%COMP%]{margin-top:.4em;margin-bottom:.2em}.settings-action-buttons[_ngcontent-%COMP%]{padding-top:.8em;padding-bottom:1em}.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:1em;margin-right:1em}@media only screen and (max-width: 599px){.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;margin-right:0}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-grow:2!important}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-grow:1!important}}.relay-button[_ngcontent-%COMP%]{margin-top:.8em}.options-slider[_ngcontent-%COMP%]{margin-left:1em}"]});var Qse=T(6660),Zse=T(9921);const Xse=["Lightbox"];let Jse=(()=>{class i{constructor(){}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=$e({type:i,selectors:[["photo-gallery-lightbox"]],viewQuery:function(e,n){if(1&e&&Tt(Xse,7),2&e){let r;Qe(r=Ze())&&(n.element=r.first)}},decls:26,vars:0,consts:[[1,"lightbox-wrapper"],["tabindex","-1","role","dialog","aria-hidden","true",1,"pswp"],["Lightbox",""],[1,"pswp__bg"],[1,"pswp__scroll-wrap"],[1,"pswp__container"],[1,"pswp__item"],[1,"pswp__ui","pswp__ui--hidden"],[1,"pswp__top-bar"],[1,"pswp__counter"],["title","Close (Esc)",1,"pswp__button","pswp__button--close"],["title","Share",1,"pswp__button","pswp__button--share"],["title","Toggle fullscreen",1,"pswp__button","pswp__button--fs"],["title","Zoom in/out",1,"pswp__button","pswp__button--zoom"],[1,"pswp__preloader"],[1,"pswp__preloader__icn"],[1,"pswp__preloader__cut"],[1,"pswp__preloader__donut"],[1,"pswp__share-modal","pswp__share-modal--hidden","pswp__single-tap"],[1,"pswp__share-tooltip"],["title","Previous (arrow left)",1,"pswp__button","pswp__button--arrow--left"],["title","Next (arrow right)",1,"pswp__button","pswp__button--arrow--right"],[1,"pswp__caption"],[1,"pswp__caption__center"]],template:function(e,n){1&e&&(y(0,"div",0)(1,"div",1,2),De(3,"div",3),y(4,"div",4)(5,"div",5),De(6,"div",6)(7,"div",6)(8,"div",6),k(),y(9,"div",7)(10,"div",8),De(11,"div",9)(12,"button",10)(13,"button",11)(14,"button",12)(15,"button",13),y(16,"div",14)(17,"div",15)(18,"div",16),De(19,"div",17),k()()()(),y(20,"div",18),De(21,"div",19),k(),De(22,"button",20)(23,"button",21),y(24,"div",22),De(25,"div",23),k()()()()())},styles:['@charset "UTF-8";.lightbox-wrapper[_ngcontent-%COMP%] {position:relative;z-index:20000}.lightbox-wrapper[_ngcontent-%COMP%] .pswp{display:none;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;touch-action:none;z-index:20000;-webkit-text-size-adjust:100%;-webkit-backface-visibility:hidden;outline:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp *{box-sizing:border-box}.lightbox-wrapper[_ngcontent-%COMP%] .pswp img{max-width:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--animate_opacity{opacity:.001;will-change:opacity;transition:opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--open{display:block}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoomed-in .pswp__img{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--dragging .pswp__img{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__bg{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.8);opacity:0;transform:translateZ(0);-webkit-backface-visibility:hidden;will-change:opacity}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__scroll-wrap{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__container, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__zoom-wrap{touch-action:none;position:absolute;inset:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__container, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__img{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__zoom-wrap{position:absolute;width:100%;transform-origin:left top;transition:transform .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__bg{will-change:opacity;transition:opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--animated-in .pswp__bg, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--animated-in .pswp__zoom-wrap{transition:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__container, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__zoom-wrap{-webkit-backface-visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__item{position:absolute;inset:0;overflow:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img{position:absolute;width:auto;height:auto;top:0;left:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder{-webkit-backface-visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder--blank{background:#333333}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--ie .pswp__img{width:100%!important;height:auto!important;left:0;top:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__error-msg{position:absolute;left:0;top:50%;width:100%;text-align:center;font-size:14px;line-height:16px;margin-top:-8px;color:#ccc}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__error-msg a{color:#ccc;text-decoration:underline}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button{width:44px;height:44px;position:relative;background:none;cursor:pointer;overflow:visible;-webkit-appearance:none;display:block;border:0;padding:0;margin:0;float:right;opacity:.75;transition:opacity .2s;box-shadow:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:focus, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:hover{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:active{outline:none;opacity:.9}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button::-moz-focus-inner{padding:0;border:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--over-close .pswp__button--close{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{background:url(default-skin.png) 0 0 no-repeat;background-size:264px 88px;width:44px;height:44px}@media (-webkit-min-device-pixel-ratio: 1.1),(-webkit-min-device-pixel-ratio: 1.09375),(min-resolution: 105dpi),(min-resolution: 1.1dppx){.lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--right:before{background-image:url(default-skin.svg)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--right{background:none}}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--close{background-position:0 -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--share{background-position:-44px -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--fs{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--supports-fs .pswp__button--fs{display:block}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--fs .pswp__button--fs{background-position:-44px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--zoom{display:none;background-position:-88px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoom-allowed .pswp__button--zoom{display:block}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoomed-in .pswp__button--zoom{background-position:-132px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--touch .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--touch .pswp__button--arrow--right{visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right{background:none;top:50%;margin-top:-50px;width:70px;height:100px;position:absolute}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left{left:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right{right:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{content:"";top:35px;background-color:#0000004d;height:30px;width:32px;position:absolute}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before{left:6px;background-position:-138px -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{right:6px;background-position:-94px -44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__counter, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal{-webkit-user-select:none;user-select:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal{display:block;background:rgba(0,0,0,.5);width:100%;height:100%;top:0;left:0;padding:10px;position:absolute;z-index:20100;opacity:0;transition:opacity .25s ease-out;-webkit-backface-visibility:hidden;will-change:opacity}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal--hidden{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip{z-index:20120;position:absolute;background:#FFF;top:56px;border-radius:2px;display:block;width:auto;right:44px;box-shadow:0 2px 5px #00000040;transform:translateY(6px);transition:transform .25s;-webkit-backface-visibility:hidden;will-change:transform}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a{display:block;padding:8px 12px;color:#000;text-decoration:none;font-size:14px;line-height:18px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a:hover{text-decoration:none;color:#000}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a:first-child{border-radius:2px 2px 0 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-tooltip a:last-child{border-radius:0 0 2px 2px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal--fade-in{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__share-modal--fade-in .pswp__share-tooltip{transform:translateY(0)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--touch .pswp__share-tooltip a{padding:16px 12px}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--facebook:before{content:"";display:block;width:0;height:0;position:absolute;top:-12px;right:15px;border:6px solid rgba(0,0,0,0);border-bottom-color:#fff;-webkit-pointer-events:none;-moz-pointer-events:none;pointer-events:none}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--facebook:hover{background:#3E5C9A;color:#fff}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--facebook:hover:before{border-bottom-color:#3e5c9a}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--twitter:hover{background:#55ACEE;color:#fff}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--pinterest:hover{background:#CCC;color:#ce272d}.lightbox-wrapper[_ngcontent-%COMP%] a.pswp__share--download:hover{background:#DDD}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__counter{position:absolute;left:0;top:0;height:44px;font-size:13px;line-height:44px;color:#fff;opacity:.75;padding:0 10px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption{position:absolute;left:0;bottom:0;width:100%;min-height:44px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption small{font-size:11px;color:#bbb}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption__center{text-align:left;max-width:420px;margin:0 auto;font-size:13px;padding:10px;line-height:20px;color:#ccc}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption--empty{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption--fake{visibility:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader{width:44px;height:44px;position:absolute;top:0;left:50%;margin-left:-22px;opacity:0;transition:opacity .25s ease-out;will-change:opacity;direction:ltr}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader__icn{width:20px;height:20px;margin:12px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader--active{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader--active .pswp__preloader__icn{background:url(preloader.gif) 0 0 no-repeat}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader--active{opacity:1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn{animation:_ngcontent-%COMP%_clockwise .5s linear infinite}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut{animation:_ngcontent-%COMP%_donut-rotate 1s cubic-bezier(.4,0,.22,1) infinite}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader__icn{background:none;opacity:.75;width:14px;height:14px;position:absolute;left:15px;top:15px;margin:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader__cut{position:relative;width:7px;height:14px;overflow:hidden}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--css_animation .pswp__preloader__donut{box-sizing:border-box;width:14px;height:14px;border:2px solid #FFF;border-radius:50%;border-left-color:transparent;border-bottom-color:transparent;position:absolute;top:0;left:0;background:none;margin:0}@media screen and (max-width: 1024px){.lightbox-wrapper[_ngcontent-%COMP%] .pswp__preloader{position:relative;left:auto;top:auto;margin:0;float:right}}@keyframes _ngcontent-%COMP%_clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_donut-rotate{0%{transform:rotate(0)}50%{transform:rotate(-140deg)}to{transform:rotate(0)}}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui{-webkit-font-smoothing:auto;visibility:visible;opacity:1;z-index:20050}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar{position:absolute;left:0;top:0;height:44px;width:100%}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--right{-webkit-backface-visibility:hidden;will-change:opacity;transition:opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--has_mouse .pswp__button--arrow--right{visibility:visible}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption{background-color:#00000080}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--fit .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--fit .pswp__caption{background-color:#0000004d}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--idle .pswp__top-bar{opacity:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--idle .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--idle .pswp__button--arrow--right{opacity:0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__top-bar, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__caption, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__button--arrow--right{opacity:.001}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--one-slide .pswp__button--arrow--left, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--one-slide .pswp__button--arrow--right, .lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--one-slide .pswp__counter{display:none}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__element--disabled{display:none!important}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--minimal--dark .pswp__top-bar{background:none}@media (-webkit-min-device-pixel-ratio: 1.1),(-webkit-min-device-pixel-ratio: 1.09375),(min-resolution: 105dpi),(min-resolution: 1.1dppx){.lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--left:before, .lightbox-wrapper[_ngcontent-%COMP%] .pswp--svg .pswp__button--arrow--right:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjY0IiBoZWlnaHQ9Ijg4IiB2aWV3Qm94PSIwIDAgMjY0IDg4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjx0aXRsZT5kZWZhdWx0LXNraW4gMjwvdGl0bGU+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Zz48cGF0aCBkPSJNNjcuMDAyIDU5LjV2My43NjhjLTYuMzA3Ljg0LTkuMTg0IDUuNzUtMTAuMDAyIDkuNzMyIDIuMjItMi44MyA1LjU2NC01LjA5OCAxMC4wMDItNS4wOThWNzEuNUw3MyA2NS41ODUgNjcuMDAyIDU5LjV6IiBpZD0iU2hhcGUiIGZpbGw9IiNmZmYiLz48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTMgMjl2LTVoMnYzaDN2MmgtNXpNMTMgMTVoNXYyaC0zdjNoLTJ2LTV6TTMxIDE1djVoLTJ2LTNoLTN2LTJoNXpNMzEgMjloLTV2LTJoM3YtM2gydjV6IiBpZD0iU2hhcGUiLz48L2c+PGcgZmlsbD0iI2ZmZiI+PHBhdGggZD0iTTYyIDI0djVoLTJ2LTNoLTN2LTJoNXpNNjIgMjBoLTV2LTJoM3YtM2gydjV6TTcwIDIwdi01aDJ2M2gzdjJoLTV6TTcwIDI0aDV2MmgtM3YzaC0ydi01eiIvPjwvZz48cGF0aCBkPSJNMjAuNTg2IDY2bC01LjY1Ni01LjY1NiAxLjQxNC0xLjQxNEwyMiA2NC41ODZsNS42NTYtNS42NTYgMS40MTQgMS40MTRMMjMuNDE0IDY2bDUuNjU2IDUuNjU2LTEuNDE0IDEuNDE0TDIyIDY3LjQxNGwtNS42NTYgNS42NTYtMS40MTQtMS40MTRMMjAuNTg2IDY2eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMTEuNzg1IDY1LjAzTDExMCA2My41bDMtMy41aC0xMHYtMmgxMGwtMy0zLjUgMS43ODUtMS40NjhMMTE3IDU5bC01LjIxNSA2LjAzeiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xNTIuMjE1IDY1LjAzTDE1NCA2My41bC0zLTMuNWgxMHYtMmgtMTBsMy0zLjUtMS43ODUtMS40NjhMMTQ3IDU5bDUuMjE1IDYuMDN6IiBmaWxsPSIjZmZmIi8+PGc+PHBhdGggaWQ9IlJlY3RhbmdsZS0xMSIgZmlsbD0iI2ZmZiIgZD0iTTE2MC45NTcgMjguNTQzbC0zLjI1LTMuMjUtMS40MTMgMS40MTQgMy4yNSAzLjI1eiIvPjxwYXRoIGQ9Ik0xNTIuNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIGlkPSJPdmFsLTEiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTUwIDIxaDV2MWgtNXoiLz48L2c+PGc+PHBhdGggZD0iTTExNi45NTcgMjguNTQzbC0xLjQxNCAxLjQxNC0zLjI1LTMuMjUgMS40MTQtMS40MTQgMy4yNSAzLjI1eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMDguNSAyN2MzLjAzOCAwIDUuNS0yLjQ2MiA1LjUtNS41cy0yLjQ2Mi01LjUtNS41LTUuNS01LjUgMi40NjItNS41IDUuNSAyLjQ2MiA1LjUgNS41IDUuNXoiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA2IDIxaDV2MWgtNXoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTA5LjA0MyAxOS4wMDhsLS4wODUgNS0xLS4wMTcuMDg1LTV6Ii8+PC9nPjwvZz48L2c+PC9zdmc+)}}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder{align-items:center;display:flex;justify-content:center}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__img--placeholder:after{background:url(data:image/gif;base64,R0lGODlhQABAAPcbADc3N5CQkJOTk5GRkVxcXIODgz8/P5eXl2xsbHx8fENDQ5aWlnp6epSUlIeHhzo6OldXV3FxcURERIWFhZKSkkFBQWpqamNjY2BgYISEhGVlZTQ0NIaGhkhISJubm35+fpycnImJiX9/f5qamnJyclVVVZ+fn52dnYKCgkJCQp6enkVFRWlpaT4+PkZGRl1dXW1tbYCAgF9fX4+Pj1ZWVo6OjkdHR3Z2dkBAQElJSTg4OGRkZIiIiGFhYXt7e1RUVGZmZoqKiltbW1NTU3h4eFJSUjY2NouLi25ubpWVlZmZmUtLS2dnZ29vb2trazU1NV5eXnNzc3BwcGhoaKOjo6GhoaSkpHR0dKCgoFpaWoGBgaenpzk5OU9PTzs7O0pKSpiYmI2NjXl5eUxMTHd3d1lZWXV1dT09PVBQUFFRUX19fVhYWE1NTU5OTjw8PGJiYoyMjKKioqurq6ioqKysrLKysq+vr7GxsbCwsK2tra6urqmpqaqqqrW1tbS0tLOzs6Wlpaampre3t7m5uba2tru7u7i4uL29vb+/v8HBwcPDw7y8vLq6us7OzsfHx8zMzMjIyM3NzcvLy8TExMXFxdHR0c/Pz8bGxsDAwNPT09TU1NLS0sLCwtfX18rKyt7e3tzc3Nra2tnZ2djY2Nvb2+Hh4dbW1uPj4+Li4t3d3efn5+vr6+zs7L6+vsnJyeTk5N/f39XV1eDg4Orq6ubm5u/v7+3t7dDQ0Ojo6PDw8Pn5+fb29vX19e7u7vLy8v39/fT09Pf39/j4+OXl5QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hlPcHRpbWl6ZWQgdXNpbmcgZXpnaWYuY29tACH5BAkFABsALAAAAABAAEAAAAf/gBuCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKjpKWmp6ipqpZcFTmvD6uLrTcNSre4DTcQXLKEXhZJC2K8BkYAxhC1urGyGrYyOoo6MgICF6oADAdIvY1cSNxGp14O15Jd1l6lTxNHOJQKRwXro2QDBqznohAHOZhj/IXS5kSTkxoAQDHBp0nHvk7tsG2q9indE04RPUVgoLGJpwEEOkIE88XTEpIYUY7Mt0mCypT/Wr6UGbPhTJsscZoE8xGDyE4IEvzkZBHmTihEk1zUOGNcpowVH17aQcFbVBsAF4QUlSBAzknyOI7S9i7egAxOx2aQ6igdPXK1QZrUYwRMnCoaYa5JS0TNGg1fRp4No2HDGLLCYhYw8zWIlq1ct3ZZZVyoFazJlDNr3sy5s+fPoEOLHk26tOnTmgMBACH5BAkFAAIALA4ADgAkACQAAAj/AAUIHEhQoAIoRGI4qMFQCxkoCgpKnEgQQoYBDpgQ+MGmDUcmCwtAoEhSQAeHGku6mDJDRIeSBS+0dANzYAsYLWsCIANnSU2JS+CYAUByp4MUPycqWEh0Is8zSSm2CEHG6dGoRWswKXgyDVaVA7wO/EDiK8woH2yGNQsWjUAxMNieJWJyRg65bYfAwZs3Ct+SN4BE2fFTwZ9Vq/5ErCnYx4ufd1gdOcJKz0+EE2j8pLVAoJJTlwtwGFlTVWcBC16FVoMB8iqqlVdPKXx4Fp7Fc534+EvS8Rq7vIEGQPNgeHCuwOEeJ0jW4NrlNp4LUL48YUXpf39gnw48+/a3PFrwNZ1aVelTuS6CxGhqvqdZ7WTY956ZFAfarfVRdpTKhiWKL+9d1BIMEKWBWQAYrTHegQ3pV1NAACH5BAkFAAEALA0ADQAmACYAAAj/AAMIHEiQIIAcXUoIWZgQQMGHECF6KUPCQYgCashoxIhxjZeIIAcagcIhg5MuRh4etJCBw4uUIVWiQFHmScwATyjSvClww5sQL3mKfMHjzU0uNyZ8ESrTjA6QPpUylRjDDEgnHHBMjeilKsQsQLdCDWuwqNiQTHicIThF6lmuE5iINPv2Koq1AUhuqDsWikCNfNHewEn26BqPQrvczeEAZswbuXRJjsDTSOMiDHhKWSXChQsRnDWnEWL1ZuiBE2aJ/nlUVxe2rm+SOCyl9euBRWI/fkOaZ6gJBFOv1qKZswQboDUMf1Bccq7BR4N8Qbq08mGHPIdo4ZKXRWC7Ail+YI9osifd8bjd5lWL3jyBsi/ar7fJtjF65NULyihg4DuOuHa5wFcKXvW1xFttlPRUSFGx8BFTEwG1V3YXEUAfg0SdlxgLFaKkUkItOYigThd9sBFHLCDmH0IKMdQBdjcFBAAh+QQJBQABACwMAAwAKAAoAAAI/wADCBxIsGCAJ1wMrFiY0KDDhw8TSilAsWLFH1wgaixogIWWKARs4PCCkKQNAlE+GtgI0csOlSzPvIHJkmDHJjhqDsTRREQHnQFoaIEAlOPQmj3U2Chq0MYHDBshHGXa9GnLqVSr/tSa9SqAql01wpBhdGXYiFiD7jgr1snOAgrYehX4Q03RLl2KJhhC90JNHQtO7Rq8QAdSFgIZ8N3oRRQqGBUUwHhl6kFMIom/sNzySoJNWlQuH4TLmFcUg2Z4fdWYAq5kw2J3mf1MlLVr0rFn75TN+LZuhwBMo1bdmyRujZw97wYkOoDimKReQZZM2QtLqZn/Gho82NDvhzJg9GwF2hHCd4g+fvSNKxe4z4FO/LZH7fZtzvn2C3rED38KV/wloHCeUEu159RiDjHxQQtyHRiVUmc5eFkaXdVFoU4HnncVhHe91MMZE15gWVY3NRHSSCWNhFIMHzbYQXgJWBSjDB08wd9OKURGVUAAIfkECQUAAQAsDAAMACgAKAAACP8AAwgcSJCgAgJOmlwRw1ChEAUFI0qUyKVMFIY00iyxwVEjEwZRynCZSHIgAIs7cjwpaSTHDiIiS1IkAwOiTIMOb5pkUETnzJ4318D0OdHG0JIQzBggSrKC0qY8mbIUk+OnVJlJbUSMUOZqUCkFuzDwqpNEl500yH5dGqCNGbVl2wgEUsLnSS0iIBjxmbFt1KCffJEaTEqGTqdP2Ly9GaSXiiVzVdRyEFcIWKy1DIfNvFZzU1IeJkoeibSHhTWYIVP0xQIrC64y1dAqOUuMa9glo8yiHeE2hNRFfakmieE0lJuUQks8cakz4BdbbZ11LbZsbYIiVlFm3EWHjxTWaVl1Gv/pwuHvARCgPiw0797zc2+8h1v0r5Gj9CVmRZs/IgD8AWwQUn9hRbFBgUAR+ANVVvUnwV/6PUVfCgyWNpxXY0BoIVlZACjTfxWyZ4aBUrUUQUguHEiRC5ZxtRKHpsGUkUpDvPARTVo5yEaLNMGQ0hcq3hQQACH5BAkFAAEALAsACwAqACoAAAj/AAMIHEiwoEAdODqkQaNQh8GHECNyWSIESRSLQDJiFLKES8SPBR8QuNKkTAqIKco0IekRJMohJFjYcHmQRYQhG2gSdOMEwRKdO2FY8AJ0xU0jQEO+keKCZhGSSVFeSQPyy9SoEq9KpYH1Iw0SOB6KLNO1KlODGJoAKPsRwNmgVNl61SowrVyXPQdyoevyyRCcRbV2uaKzySVVrBJPQlK4TV0IfQmx2qLWBostk0+aDWAkSlOQhkzJQNtJUF/PKfg+VLOK7EMIq8SYrWDZZaQTH088wmuDDYyqrb2uegASyRiYwIlLZAVlNpDkbYPP9Q09Io3hxY+zsL0l9ybeFVQbk4zBHGXs2U882xZNutDpJwEuQK4qmbICy5gJaZ5bs/DhxKos1lhNKxT1F3w6GUXUY3dtppd4DRJYkF0RoiWEQW7NV+Fja2EIIVuDhbVVhW2oN12DEHyo1AVIddUZWIGZmNQYFhkQVYZD5VSVZaiV5QUUJPXQRUI7JdRDTC8sKNePGgXJhBROArYhZyvkwMaBByYVEAAh+QQJBQABACwKAAoALAAsAAAI/wADCBxIsGBBAAZaADDIsKHDg0uyXHACo6JFiW4eajRoZAgTBDKWuPGiY4NJkhErDnmyUWPKNjo26mgzZcqSlgy9TISJU+ATmhce9PRpgYCRoQQ7ssDRswNIpAwhOOnQ0gaMLlAbdrnqcmpWh2m8amUh5OtDAjbHCjXb8GeWnAgysnX4JK7BHRDmdj24tGmaNAtxAhArEG/VGo9eqVr8qMaGqhcGPujrclGqIxoqKNhxJBWjFDK5BogY86GBWH9WcBSkyUBXqqPfauwz6KEgPRuFlA3ApI1GM6AkmP5kZm/s2Vg2YsG014jotqeK/0b1WqeX4WNyq8pO9yqX51G3a6znrpY3F43EtRvvjVz5ovU3z8ZyTTeWE/jube/JvYaozEyCqHYQa/SdZQNR57lkBSiYJaRBZ1a0ENpRhR3YkgZ7dMLYHpFBllRafg3lVkET6WUgR4SZ+CFsJGLwmIqS9SBDeTBWeB2NKoZVwWs5ptidECyZVZePptW0FlSTgejXVEdCxmRWJhUVUpBtWWVkaV+5pdIYK5xhxJddSrQljCOJeZGUItWYU0KBQRUQACH5BAkFAAEALAoACgAsACwAAAj/AAMIHEiwoMAzEpaggcBQ4RmDECNK9KJwB5MLBGh02ZjxYkOJIAvqGAKkxxAXACKOJFkyZUiVHFe8JOjijcUnM2lCuZlTp4YeOnoawOilJ0SKF1rMXNHSKEwNMkG2gOo05MKoRzFWffnRININW61mxCkSaFiuGctiPSuV6kCSbHPufItBgdwCeypZ2lOgRE4FQLgc1LAU0KgtQRDACDLnsISZNgW+KPKSRChGNrwaCkUCbQAATFJYBUUB7FEKoLqINcI0pJFEhl4uSmT6qcLRmUf3EJsGQkg4gHICOsJ7SEhCWnLiLS71ExS5pIy0TTuxlAzoLm0fF6F8EnOQw4XHpfkucYKo3M25g3yTYyhZlZ9iH7dkoG39HXbXfyqtErXftoNVBoohHWgGyhWefUYZV5gclthiW5CCSRuQ5WZEUksd8UkpHHIYhHRoKRVgXAkOJiKJ/Z1oIopZfQGREDK8x6KCQjw1I13ZeaXVjFeRd9YGGj0WYo5VgYbhX0RtBWSSRi0ZWpMYMFkkSxtN11RcSFnUEBtt9EZlEUXdCEB7MW1ZX08BAQAh+QQJBQABACwJAAkALgAuAAAI/wADCBxIsKBBI24SGlzIsOFCHS6GlIEio6JFiQAcamSIEMJFA142PAkZ0qNHIxs3dsSoMgXGJyk5CvEYk6CBNTNr2oSyQudBiTpX+nyYZQjKlkaHysyS0eEGmkodpoGwQSrVqE6hEm2BVSOAnD8rdFUp44HBIjTGpiyRpuBNLymNMHHAR5IkPg52VCULd2CXLmsFjWK0oEmTBYxE+bGxFrBfNxujZNLT4azgKGQfR7YEwyGSW5g1EjAg8K/oTEw2M7ZamrRDPypibqnjVUiAr2YbpvEEOfCQrA+8lPW8QGdh4C1kaFShxTgI5C80UkKiMwIn0ThwRH99o/ol7G6GN7bcUrwmYui5GdLVKWgC8ADiGU4J1XYt/aytnR4yJBtRU5n5SeVJaJ7FsgR2ARbYg4K1uQafgw19NsB/fgkAWmZ+lRGYIiAUwAQLBYAwCWWN7dSXSlGo4MolHR7YGA5uaagWgjGmN2NYW92Io0x76XibVvLV5yNafA15FV89YoUbhRtNdaJSwqEB5UlDCRVVlDYwqZsNLyQ1VpRlVUBSayWZ9KRaEKGFwZpstrkChD6SSRIAMA0VEAAh+QQJBQACACwJAAkALgAuAAAI/wAFCBxIsKBALyu+tBkCoeHChAYjSpwowMASGmvSXFTQoqMNjhkvUhxZEAfDjxsoPvHYkKTKky5LYjQQU6aLmgY3uMiIUycENzglummYkqSRIiW4BJ3IJakRkkgBLH1ZZCQbGlKnUmXKU6vVljnLVPDqUkFXgmPakI250CZbIjOsxAlghg3bpGi/lCWkqVIfCg36bNJESEjZIQM9Wk1CWGxevhSycgVaUa3KP40YMGXQ6I9koXorj/RgaQxUSx6+Vn5CUYMmMzGJvKYKkWkiOTjtLGI9eUnr2TV7aFpDm2KITF56Agf90bigpYNMFJ9oh8LSwNMlVr+eJ3tEE92D6qdR4d3gceiae/+2oZy4etvWazLmLZHoz98a2C6POHTsfeOlnZbaSwexd1kkV/zmmWqrLdZYTnIQltxWBRrF2WCBwBEXIpkgQsRTDBao1F50lFiiYYfRlNdah4U1FouT8XcWjHkZGBFRNNb41WcsAiBEGkZpRFmPOKZIpGk9iTXiUg8oOVWTISU5E1kWhcSjTWldqVV/SDnFEkhddDBkjquF6dBDDwQVEAAh+QQJBQABACwIAAgAMAAwAAAI/wADCBxIsCDBDQAenKnAUKHBhxAjGtTRcIjFMRgvLmEosWNEBV3SbPQCYCLJkBY9qgyAA+VKgSdxvHxoJOPMgy5vssypE+aXkDdbFFHQkybQlSANFIXoRqTKljqWfnQqkSJRqVOvGpWJtSoarhPHdPVoY4nRl09+Elk75MnLowThVvUAqdGjP4Qe2fXg4mmbgi1V3qgbpQQXn1Hy3vAbFyzTOZImlKQ54W6Fji7YDEzr9mOdQUXIFqoTNavPjnS7II2MWfNOiTQaqZkZoxENr6cjbrGzYeaTz7jTVo2EQCeCSG5gIwwd8bjYoLaVN5XoAFJv6BOk/9W9pSifGdqpd7/vOedI+OaOikLKnnU7xDfRsWdN2JmmpB3GJT2Y31Z8UDkH4PbaR7LRhpyAIKEGiWpPNRKgcj5N9hhoopHmlYRfYfaZZEwVYFlrOJFF1x+uxYXXAYeB2FiDklAyCIAvRjYEY4Bl+JQZMeSYo2MXnjWWgGEp9eNWpg2Jk1ZMDWVkhH55YaQXSiLVhpNjQSnkWzZKVdZ+Ogk1ZVEGhCRhT1C14BtPWIXJRg4pkBQkm18uyUWbQ2mEkkZLblXRGUUFBAAh+QQJBQACACwIAAgAMAAwAAAI/wAFCBxIsODABwYUrOiwpOHChAYjSpwo8EmLhw4VJtyY8QnFjwU34Mj4UaTGkSBLakwZ8ktDlgYtuoQZ8SJDmgJ0uNyAs6aLlyy9AO0pcSVIoQaIqvSyVOnRoTFnOn2a1OfUoDZ8AoA5BMiNK0yGcIWak2xRDowcMZrDJy0jDlmpEqxgNuSCSTVkMD0oIwDeFk0r1p1bx0rcolbuVAgMkaICQgu2lrx7RqVgx4FOcFVBhefEi2VxUPxg5wFNHXfUOOaIuURPCJxSrEY5MYYHpSA+zBY9kZAFpTDs7P7sqOrr4p8f1j40FRGT5IMFNOnTHAb0vREtGKp+fSKBS9yL2qIYT3yM0jbIxQulaOcGcD3DlxPdUIdD/KKXLhz/spu3xCCKnZbaapd9xsdtQWXGBYFllQSZZJj94Z94gmGHWGcRVsZggY7dgEheFp7Rl3Oebchhh26x5RZcKa3XEk1dfRXWWBq+eNVT6t04G3Q6ahVYjxW2uBCQodHo0VVGMAQhVtEJ+dN5yuGEEZIj7bTURkDq1JGWCJ1x0kglEhkaRh31FBAAIfkECQUAAQAsBwAHADIAMgAACP8AAwgcSLBgwQ1PdHBxw1ChwYcQI0IEcEaBjYsSUlh0gbGixI8SE3LcqMOgSJJPQKoMgHDkhpUtOa4MucLizIMbbxKMqfPhg4w9Rfak+RIm0KFEjSIFmVClzaVMU3w0oACq0ok1Z57UqPUpTi9OkYw4hKhs2RFIzjjlipNpBEEmGJTJsbADAQYmCEUwEvXrVCp2ekjsUYdKi6kyB1L96wEsYxuIdzqeaIdHUbd23NBU7CIk4MthTfCNyBbh4MxB60TZzFIzZQtInfgBQLpz64hMDI1OzaR26wcRB8CBWmNG7ZYSA0MlTNS1T0QSoLpA1Jw0dOnXsXqp+hp7dO0rrLe58X68Q3Inyw81TwlRhfGlwo/fhoiEENRBCHzPfw57qOzJJoW330NRzMYbaxR5NgNoTCkhGmsDmoSIZTAFkYdzPnEh2WMNogahQImRBlgUtPlUoGGRtTXVW3ARQNdPUMBhiCAW7KafiiuikJdZcWmgVl8Z2hiVeTcZEWKAVg2ZYpJYKclkgAxq96Rk7BlVpVVCBZUVlgwtdRJSdZUoXU1XDlkmlx39SCWZGE75W5ooZSSVm+VR1CVSAQEAIfkECQUAAQAsBwAHADIAMgAACP8AAwgcSLAgQQAPvJwxgKPhwoQGI0qceDBhBYcWM17ESLFjxCcPIXY0otGjSYULTRYE2VClRJYAXH5kaETmQIQ6bE5EaZNLS507f55kCHQkUY8+NxRFejQol6VDY74UCtXo05lDfYwI1OdPICU+hjwZinUkEDqDTJABUoYAEDIm0gJRatQgwpFU6oR9qTWQgroV8YZ5gDSMHBeABVK1aweFzAl2JFBUeNPA5Dk8dDoARDioYssTN4/tCYLD5DOfdxL6C1SBoDGe74YWATUGiNM+VbMuKmFQF6eoJZqJUzUAFRLAZxffnFziCTPLTTSPqGdH8bPTDVa/nid7wThNuHusJ5iEgfiplIUfiD7+5mqoKXy3H6i2dpXTAVJKLPO+9WvP+YHmHAijyfTECSfgF+BlDmimh2QALqiaYy5BBuFUgTHY2WSG7YZhZTiMBNleH/UllVMrncigWlO09VZccCDGVFlMJZCEHXQ0EJaKCtq1WHEz1YQekCjiRqSPV1l1JIgu4bSkDiI1+SNv+vVEE3wWYdkCj1ElWVVJVuW2ZIAhabQBSg+NGWSZVdoUEAAh+QQJBQAGACwGAAYANAA0AAAH/4AGgoOEhYaDG0+Kh4yNjo1GOg9elG6WlZKPmpoAk5hPhIqdmJuliKSbopSmj5GrrKevsKGys7G2BoleuIyVsKK8kLWtlsGOkqCcw8aGo8rMz8e7qS9EWjVhKGYv09GHnZtdAnd6AxnWBRR6dwJdqQC9Rq0FdQ5r8oUAZUH1Z8Tf3XpRAdOG0wgqBaU1w8fojR0HDOfZwaCQ1jE8RGYRwYOmoqBliOTwwHVkTgVhoRwJWBCRFYCDx041GnKnQ7AOddzF+wiPkYMjzLChzNUyJAFmL/IU5cn0UBaOzB7U3Em04QloBkyQ2JmokZoZWM0JW+RTS1gOYwMW+nk2rVeg0K/gMEDp5m1bgE0NPV36K89RvFW/0fl7UylVkIKCCAjqYGgxqzpxlck5NJfKKmpNSc1QObBgMCQRdu4686HGiR7zOn3Itxk/ip1Vf054UQ+NfwtbUal3r9k+3rgXbtBEoAE5c2bQrWunrCdgTtWuZduWmWpsrPla38Iu/J1z7kSTeQcf/lck7r5seYqKWHP6Wa6+3/T0oJSq6sboc3EWa/8l8v2dIeCABKICYDztmRIIACH5BAkFAAQALAYABgA0ADQAAAf/gASCg4SFhhuIRoqLG4aOj5CQTwA6lJaTl5SRm5yYmpuejZyjgomipKWWqJGqq4WJrq+fsYezq5O0oE+utrmPvawAvqPAjorDpMWEuMkQGE4WzzioygSwoDthfFsnARQec3xhF1ydwr9G2FQDTjmHTt9SXrrG55Bo60OcJUlUbfSyImHYI2YVmTkYggW8RzAWAjlQFA6qxqYhLSn+JNmzJsmEg2EOVKT7NXFjIYzlfHGJ00Rjql9bdiAjoGGLAXSlIEVRckrlgQiSrJkk9HOmIBYLNDI7BNGoNTk36y09yafnsCdNpY40dMGEU0FV3qA75giGgK8EGjgZu5UqWgFrsLU+enPibUK5ZbfYZQvzi9MvUPk+Uuu0yVmcVglF8JA4lpETLUkKhXl32I45UWu9nMv4qkeXOWGKAGklpbFluzjHdbhHH86SArNSuyK73kLOR9wk01bZ9m3cPfZ1+yfxt7EE4tq9i3cGoG9WDE7I4eYN3HQG7joV3+cMmgwI05I1Ro32tfPym4kN/bs+mA60mGgtYp9afqtcl2Z6chz/ayZz95UXyoCZkIVeLQS2N0ogACH5BAkFAAsALAYABgA0ADQAAAf/gAuCg4SFhoIbiYobh42Oj4aLjZKQlY6KloOYmZaJnIeen5Oik4ykmqanoKmfoaqloq6vsJmss4+2tJ0pY0u8nLKrlRttZkpWyMlKZm25kc6I0IQ/Ah4JMr5GADhLMh8gAT/D0E+QKTwnQNILT0AqHDjmwo5FJyhutQUgXbi56xdUrpAy1gNXoX8BVVmgIu4SoXKTTBCZ5cPECoeaHM2AN2tDiBkY2dGrYuAWuzhlMEKMdCCKSUHGyCFqRIPhy5MNI7GDZuymIAoCQYls1NLnAiQCLpGz6bOmEV0Hmd5cIvXgUgVGDVR9eDXrVlQRsTb9Gk1jzpdfqCg1a3RhyEMInI4YPYJg1FBDbcie8qLX1EpDA+q+RKpyZAuTOFCGlHaEx19STz6+fTztHUUVYoWCpYmFiUK9Ow8+AmhmIOi7mzkXqJBvXz/NI6uIyTFaTJwDLuTZvQSQyrI3Xby46XKhou8LAHRDnVTsmDJkzNaVNQiM15dftaTPNAp7HPfU2b8/0T5vKvnlr4LtPY++o/p+7CFvejb+u9JFlE4FAgAh+QQJBQAUACwPAA8AIgAiAAAH/4AUgoOEFF5CPjwBSmCLPkIPhZKTgh0iHgdmPWVoaZxmB5gdlJQKCSAiJUalNJePpIRsmTawsR8HXbVlHk21k0i8pBCovpRMIGuTXyNOxcIjo7YJzrCJBoRqSVzUpA9J05XI3LAy4hQkR+OwG0ckhg0E6uQN717y3chSE/fVTQUR/J4FYRLQWIgBMgr+mlEjocJC5SZMeQjxH0CKg6IwOIYxY5Nl9jB6EYero5AFghA46Oig17sfFFuFPHdkg0J2zQYBCBNFoUYAhRSU5DcFzMxY5tSpTGZQDVBqO5MwFQjB2TB4xQ6JOsNK0UduEi6hIgHkRwkgN46AEHXv0KlFjQUUQaoVCAAh+QQJBQAIACwOAA4AJAAkAAAI/wARCBxIkGCOImUwKERYsKFDhwhrNJjhQIRFiWGkpHnIcaANFAJ8CPHS0IsQHyFddCzZJOVKBBWuuHwZs4CNlwYLOFDZscxMnB7JCFjDkU1IoA+ZDIVIESnHKDMqNAS5wenDJxYLQqBgwGrRpQIBHLHgtWcQIwJLRC37tYTAK03YmoUZYIjcr09WCNBx9+rQNDyQHkQaAg2BGEAP/Pq1IPFJIjjb/NLA5NcSnAyATGEQefIOy5iZyCiQeHEDx1sF30TdgGTfkq0fgH2dkwsCIlFoF4SbdoBr3V4aEKXrRHfvJx73Ap/9dufrDR9QwCbxmsTa6Xc1MNf6U/X1r84Fayn53jF4jSlnaCoNH/lFiPMjWaLk8QKt1Q1DImCseHFihI3PIbQQQzgFBAAh+QQJBQABACwNAA0AJgAmAAAI/wADCBxIsOAGLjhsuKjwYEPBhxAjBqhA4AacMBgzXsxSQaLHgRXIYGTBRoGbJ0ZOtmHBAWPHjw91MLn4BeYSMUeY6IAJEoWaMTx7okjBs0sQEk+CEjQSJUiXj2jCaFAKEYhUiQqOUo04UwJELxmubJVo8cHDJjEAjI0IQEQTg1fXsg2jgKBIuR4t9kSDFytdgRCc9p0LQWCUt4O5RjBcJGgRBw4aFy0wEc7Lj0eEvaIl7MjkynWh7rJgONgPm3Rt/MUciWAjAahNrvZ4QJJrJbFDhs4rTAbg3rln8/bkCdiMyQ55lHHMI4Nk1IYXJ66KOLDD6UsFg8ae/TJa7gO/704F/+VIi4JdsT8oACRmDDHTNzBI+1V5Yif2CeOVL5w6GbVbydTfXOxRNURYXjk2EwNLoObTTgGKJFVJKqnE0oR9UWSRRhpxRF5CC5mlVEAAIfkECQUAAQAsDQANACYAJgAACP8AAwgcSHBgCyEkyKgpwJAICSFnCkqcWHDDkCgTzEChgebLko5QzGQcsoGiyQAA1nxIwPGkFwgJ1EAwcrLiwhdPahp8wRCHTpQoyET8SfCMQhs10WRwQpOozQxdTK4o0MOpyTcFXEw0CsPqSSdQJWIc6nWrwoJtwpaVOqGNQZlrk/rIGQChjrguUWQRKGIHXrlA3f5lawAm0RQgChUCkeLnBr07fPz8gQoUIECPUA35+RAGE51cPuUBMFBKKi46mSDQqDPIqQcFGwVJfQVuTUFyJO7pQ5ulTty6ecv1XdM1bIKVZg//nDSVHdJ8P6FePtmU5UCVMqHhvKOEZMdR7Nh0iVKSu5e2gwnXlZGeIlaBaURAb/92O18M9An2EFM0a/7ABYFFV3pPYCTRY07QJ6BZVQ2GlQFsMRWXEUcNR5ZTblQIGgMxrFEeaCoRcWFNFgU1k1QKhEhAU1a9FFRPJYzBRhmRNcTEdBPaIENCC9kI0YcmBQQAIfkECQUAAQAsDAAMACgAKAAACP8AAwgcSLAgABtj0tBYmBBAwYcQIwYw0oaJmotRkGgkgpGNEYkgB1JkkNFFRBcESn4MCXEIxxUsBdogQSRNTJFTat4kiEbMlJUhvZTcaZCml6A1NxB9+ASIzpMZl0rUEAVoQQtNlEqFuKEJi5Y3dGyVaORGkaIdxoLMIcbhQCFN1IbUiFOC3LUJjgbIEuXu3DIC6cZka8dOgbSDYUz8AJNlgVWJVGBJNEtE4pFuQfJ4dYHnKw4sAYhQsMRHaFsaHiJYhVizBJeOKUW81MDxELgsW3mIqGKRbdwhdfNu9TtC7Nlgip9mohq1csenOr/9HHO0DsbVIUumXODyXiE3ZxZpPhy+73e/rmWORg/WzVvj7K864ammS/z3Vve2vS8UfFEWWvnVVFZcmSGdXxaJBdUOAW7VFRl6kXUDgQ56FeFaOdm0VBpJEcXGhI2FZpSDJUQwVIEqybXBhxhltFFH+amIkEIMpZEZSwEBACH5BAkFAAIALAsACwAqACoAAAj/AAUIHEiwoMAnXM4oSNEiocGHECMKMFACCZGLGDGWaCGxY8ExCMggobEwIcKGNJqIHONR4hKLQlJ4TEHgBowSLT9qiAJBR86DEHg++anDgpMHP3Va8DlTpZGkBo0AaeKlIwCVUCPKQAJAIhMgWSNu+KqValixIx+uIFPhrEu2Bp3IcNsRgxOdXOi+zUEQyA+9dcEehDszAKNPnxjN6NqUMciWNiLVykRlS6bJNloeFfhmzUxZmIb0VQTLRVPOLDtiIgSxD6LTAqSY9irLAEQDqDy/nUg44gw9EvHAscrWQO/Ww31jIk7x+ENXMyTOcMWci3ODgO4Ep8I8dlvpuDKrnMUlgjhqq6YYtdZ0xrz3z39sD6xAqDTsLlIg16+jxEMdWPFp1sVg8nnEhAqmaKKCBjlV0JtcgO0233UR8sZGQTdVGNddSmk44YUbVqWhFzyVtUGFYwl2W1oRbsUYWkC8GNZVMIhInFkzOpVUFlf8MBRRFZWR41JPWQXSUnS9ZIYGRZS0wUkLTYVkhE9udYVIWMq1BFMezocDRWEFBAAh+QQJBQACACwLAAsAKgAqAAAI/wAFCBxIsKCAMza60JABZWFCgxAjQjTyRYgTBAwhDNloEcbFL0YkiiRYEeMXiRtcdDw5MmIKIEiGhGx5cEgTIClokpQCAYBOkhB46qQY8+fEmD5FAphi4YxRlx9F7mCh4ylKCxckWvRiVWlRgyoVdB2pQChQCGNbBi2IBknStFeHDFzaBa5atwLbDm1SI0+eGXhbbqCaNw3NMpWGUTJhghKtSmUOZ6XbUosqQjhIClKl5S5RtbiCRAyC64dnGWRvCRLZ59HbiBfSWBwJI1VOlLCc0N46MgCglnNm7G44sk8A4H/IxqzL2gNy5Qx7H3rulbhUVC1PwRiOITUckTNucYrZ3WE7bc6jVaElbxb85Qqa0SsPGftw4sVxHEOWXHhvXzk1BHZXYSvYNd9cUxgY11kKQtTWE2whYECDDBp0gRNcUegFRlBNUZWCOiAVl1N2hXjBa0cJ2JUEIkrWk1UbXvSUSjfNJNgPNY41BkY4kQhWGwxhWGJJESznkAZMLWejgTqUxFFDP4D0U0AAIfkECQUAAgAsCgAKACwALAAACP8ABQgcSLDgQB0tVoxZolCHwYcQIwo8wxAIkx09XmjEaJGhxI8FFWTE0MYLRC9tMFggCVJiQhY0TLZ0QwPmmZYGx9jESRAlTJ4CNkBgkgJozos4AcjQ0MLow5cAPgq9wMXpyQtQPg6VafUp0qs4urr8eTSs2LFmCZZ5cRYkgTUhLTRti1Yt3Jk/GACykuDHBpxZsk6U27JHI1GFRowoFOoRBrxz2bAA2WJOKR5xUQG6qbWogLcg6VSCADFLJkBuhQQlG1HKKdWtXznROuVJC8IRvYRaELqTZ7ApLHxk8KoDZdlobTAZbgqnqBqddX7ci/NOlehvptOpPgI7c+dEvEuqLFP8OOncVL2wqCqREvTvdYlqLZVlPH2pFwSCnp6p/kPT3dE2GGV+XJbZHZyN55lSczGHGBiLNZYAZAPtl1oAdMgRgBlfAFZGT6zR5RVX+pUgYmsmxrXEiWWNyOJBuP0nH4vq0ZDciTVSBgVVdIkERVSFhejUEkKmRkCCPFFUJF47MRnTWUSuFJMbT/REU01S4pgGVip1qYGUSxnw4kEKuJADGwuZSWJLAQEAIfkECQUAAQAsCgAKACwALAAACP8AAwgcSLBggDM5upTIgkEGQ4VnDEqcKHFDBxo9LggZwsZGhY8dN4qkSLKgghcNJQAgCeBkypIU3ax5g2YlzIEtX97ESdPLToMuV/xcovFnzKIwIRpl2bCkDRkPljqFetSA1KQ9rAKlehVrVJMQuu6E8AasT7FeCW4cioYMGY5seRq52YWQqLuJ8NKgy3Vm0gakJix5IhDhhFADuGA9SNMpJUtCJr5oxOls1ZMwPUBmaemA1xIlL3y6kHT01IUl8XjYqQLPaRuch4w1tYEpUsmhbJaWfZnkh1ZGE/mwrXViDETBPxAniQGUbscylsc0TfdTxN4kJalgDel1aOrMwUuNDlmbZKDN0wOdDpDVcaUmuCdZnpgCQ+Eufz/lgaGgMAw8+s03nn9fffeJfpYc+AgUfKUwEGo3PXHSBz5oRBhfarWH1noZbjjVVmh4OJ6DIIpoVlUmEsihhwZouKJYTwkonVQPkHUdWzqNBZGMO9XYU1IKQcDjUi1aeJECBiTpwkUODZbifRg9JOWNNwUEACH5BAkFAAEALAkACQAuAC4AAAj/AAMIHEiw4EA3FVws6cJQoRuDECNKFPgkYRYCGMsM+aExY5uEE0MWBLBQiEkDXEZyQcnxpMiJRr60NPIyQMyONGsS9IJT58EOLn3e9OLTIEmNOleYLCqx4UulNpjCXDp1idSQTiPquHhV5EcAETl2ffoDYgohZ8Z6pfozR1IIZMhASFlT5ki0L5Ew6sS37yEYZBUQ5IoVRKc+R4AokADkiKBOB+hO/en1ECULYR0dsoq1BcUuhT1INgtic2eBSCeGMR369M2JPzKhqaupRFWEIU3Q8UnHRGeQExWh8Jkh0e8sMDsJ8fmi08OmUGFnyknbNnSF0qk/lX07O3Pn3YMjm/l+PDce3nuOg22qvCaS9tc3sI1IwRNRrJ4o/LYJOrlomKXpcBp/lbFmlGWcXfeZYFgVl4F2RjionVZzUbZdX36lUVeC/LnwFgNyebjhem2ptZ9BFZoIHYUcqngQXiy6uBOMCspoA0aBqSjffOV1dRSDb2m0AVMrBVVUkRhNeJ2QY+14EkoqsdSTjhZ59FFHHj0hY5QlOaRlUQEBACH5BAkFAAEALAgACAAwADAAAAj/AAMIHEiwoMEATx5wMXKwocOHBReySVOChsWLE7lA3NhQR4chFVfgcONxg8mSIXVw5Ajgyw8XbliSfAlgZUcbNG0ObBlS506QD3xG7DLEi88zFYXedGHTQFKlS1k+hRr1IU+qEJcUdbgBTResG4luqAqW61aDV5sC1dmihNGhLKVUcVSpbl0TUp7EHfr2YZZFlvBiSKEAQ4w4lgplCUsj6M+NMBJDaAgBUyMnjAmedQik0oG+BwEcqAQk65CfoNE+OrBy9Fezb2FC5JMoNVdMfEwLHCPBL2mdfxeb3W3g4YE+QvuwHo6weEdIAoQ2gKT3JnHOv32SqGRj+JPG2LsfxeUOO21o8uPFh3bb1fF5FkK3q0f7mvdDRTykK7J6OgBF44Ak1wB/14UH3GUE+lfEbIW4l9UigejWnErYRcdREo+0wV9fm1Hm2RlWgZEdcwX6ppiHCEpInIMoFiIAAoXBIEAhdQm3IVyMmUCXXZfgVZ2KqLG1lloM0WdbWQSZRx+SZK23BJNGmjYfkzCx2GRZWjknVRdFYmWEWEd5lYKXQ4aZk5lMkZlSWCJZVBOSXoTkJkknzUSRm1DuxJNLGE20Zp7lYRUQACH5BAkFAAIALAgACAAwADAAAAj/AAUIHEiwIMEHZ3AosMFQ4QODECNKPGig4ZgcLlIs7HCxy0UAE0NCRJgR40QvEth4NCBSJACLLQdygRnTIEmWNSl6zClzJ0+bPmM+wTjmZ8SbLTcsWWpUItKQRJueZDoVpNSqToNezdphpNatXIEKtQDijqKzICx4Eeqi4EwdLnlQuhMkioweJOD8mcQDh0utJqEqCtTl6B5Fb/72tCqRiKsPImM8hupTYcgpnm7EJJOZskCOJx0FyNnAEZupApQ+lFiWcVJBI6oiDD3lJxBPFWRPvMGo6aErulnDaTojUPCIiJtGUHQcYmejFzw1N5gcuqPpBQ3BUC4IO0EVw43qp/U+kLdv4Fy/HnyeU0Z1rygDR9xjnGceKlhBOxVN2jTq1Etcxp6Atf33kmsQRTEZgZQxpt9ugyGx2kFN2PFeVjq5ZIInEd4VBQWTeGKCBH8hmFFMa3ywIVomfLDGWEDhBBZWMc4Y1lEq2VgjjToCGGCDCG51YJDwEWlUfBvkVJGMUjl05EpNOVRUlDSxxZGRSlq0VnoPznjgSkRt1JFGWHqZkJgNGRUQACH5BAkFAAEALAcABwAyADIAAAj/AAMIHEiwoEGBT3QAeHKwocOHB7kYkGAjx5eLGClygcjxoRcFFjVKRKiwhUgvHVMGkBhyA8cNH0OqdLiw4saZK0uixDnwjEyePUsCTWERaMSiMzUabSg0JUgjS2lW7FihA4CoHq1CdIMUq1Q3X72+7FoQpMo2YkIcWEukzdkUR69uJVMnESABMVAMAGSXzM6sOgyahWjhUJ03gcu+6XPIwtiyZA/6UDThJlMHlLeSdQH3IV0hTgfd0Bz070Ehg4YkRUQAMEmPonnCGGT56GuHMfK4xLlBjoistyMWemN0R6HdtnM6RJ2Ypw7WUoMb5HEgqgcU0WGaLoglRtTcX2s6z7z73Ur4i+PVlD8vV7L3peCZoo9M0IH5peTlSy/IRBHYoYpoEJ1yTA1XHCLNCWbDfgVNUAdyZ/WB3YAj0RQbTrNBqGBQD70AXYStDchgg4aoRtWFIubEkGcfssiAZv9xSJhhL2i4koeNPQZZezTZl4gDPgQZpCCHbRdXclQREQRbbb0lH49iHflklFO6RiVBPq0I45UkKeAURlc+oFVSY3plUgVD/WRUTQ8slZBNzhFFkZk2cTVWS2Fa1VKFLJ2pZp44rJDRoHty+SSbUM4UEAAh+QQJBQABACwHAAcAMgAyAAAI/wADCBxIsGBBAFy8nDHAUCEAgxAjSjSIsIIEBSkaummhEeOZiSAlPvB4ceLIhRhDqgygI6PClQJbooQZkaMbmgc3tsA58InFhzxzZsRZMWhNHClXnjRq8mXIpUybAhWZNKrUplZVjqQKs+WOKBF2lNDR1QDEoiHfNDBUSA+WKnraNnijtWrPmyCLxCk04w0XglzUti3y1CzgjSBhMJogwaQDRizy2k2YuE+WlUL8fJB818hEKZZpdghN1TNLBZ8LCeGZuQzW0yLvoDCaQY/ps6hlSnTyx4tRN6Rxw5aoQkRULSqk+q65iDDTEoWW43YKMcuiDVGfqC5tuPqfrHoscL/f7QE8g/ER1YAxj947+6Nb0zOaGhQA5PYUm0ctox9+d4hU+HBcHFiVJN8Dv90xBVfDnbWHGrTtgd1RMX1EXgms3cegEQYeKFofs5V2V2WuqfQGiJx1Vhljjmko4mFp7dXEfzE1cQcWzr122BMmrvXWCED+SFdht8GoFARfhTVWWfBlReSLTk4nGY9RClUXfVHaVBaWViHF5ZQ01vfTbx6RyVGXDk14ZJlOeumQckNVWSFKLnVkk0VyTvdTR0YFBAAh+QQJBQADACwHAAYAMgA0AAAH/4ADgoOEhYaCG0+Kh4yNjocAD25nLQaWl5MAj5uOOpmVkpFGol6gk5yoA6Sem4qfqY2rsIillLOEtU+3uJm7tbuQlrO9wMFuqZQbxbG2rWfLzo+/0J2VzLqoom0p2JyuxpxdZCd95eYnZF3e1oWlm10C5ekunhI/430UbNG8yrFi+YY4KoElnz9Gonh1OvDHgjcEfxZ4qTboVCyG+5BtOXDQ0LRIjjjYcXGrAx4UFFVNZAShITAhfiAwUxkywzKR11ix/CNhmQuXCJM14kCBmgA1ORvtcQjNwpykkPqkoZZGalB2Hq1CU6DVo9BDMKmpinm1I6EsdcQOIGvMyM5jW6W7trv0lqrcfm4ZLbUL9RCKAEZF9DWElmSxnzLLXoRz84RZhSB3ynh5VyHNoZXf3SGTMjLmjNlOSst7GeECOgLD2eGYktZjXD4iggYbpOHrilhpaZbXhd6keyYC8uvXqgmYP+fONSF9Ddy6IdCjZ2sWTG3z1tYtj9aR3TWy3NRGrfyuSWzCknQPp/flqht56uqTuS9rUa14U/Jz4e+OF/9+/qNREwgAIfkECQUAAgAsBgAGADQANAAACP8ABQgcSLCgQQEbnig0svCgw4cQDS58QJGLjosWKz6JyBHiRAAbHSYEWbGjSYEYN5xESHKlR4ouC7aMOXAkTYkYaTa8eZBhyJM+eT7c2ZGhUI4WiyY9+lJlxKVMXz4FUPRFjAYm+MzJKuLFA6VDdSBlQIfPESRvSkBIe0QOHQZfp4p0+vBCIBUyqPaUoQKQDLk4PWaQw+LnUAuE9c6VyUUwlTYru1g5IDYsQZAQ21aIWYHKEak1M/NZcnMMYY81G4vUg0QoEj02LLN8yMGEEaFGqkyQDVVmnjJMCeSJGxhhXSpRBfgdOtshBy3JC+wW2fygCQvRVYRV+PB0VL7bK0vYhJ08DfmeGVfH/m7F8OWgDudkKb8lfHcg9O07FxG9AHPjDvFFF0+5QfFfQuoFRwdxjKGkmEFa2IYbFvwtVt14f/H02hmyXVjQDlusUNoWF3ToYUETVLGZS535ZyJ3Qx3wWGST3WbiiZcFkBhSfNUgHno4DSjRB3ng9eBlfOXhg5ANAvlUAWWddYFabLkFF1JHvlcUWXp06eUBFhgAFmjJWdhUmegxmSaa79molHtREWWSTWXOxNlFTMmpU293unmUnUDxGWdOU8HIZmoZpaQoZoeG55OaJwUEACH5BAkFADIALAYABgA0ADQAAAf/gDKCg4SFhhtPiUaLioaOj5CPiIyUk5UbkZmZiomalk+aoYONooWMpZGLqJJGq6aqro6TsZ2xqaCosLa3pbq7vJ64v8GbraEPGFEMHBPLGA+ivq+hWRlWJ8zKyypWBSXHkNKGLwtVTh2SCFUNBMWyxulbIi2eIvIAwITwsgLmqBDr6IWbJmnAAgWuJBwIgI+VvkgFTFSwlcJEgVQPH0GxsuTXEo4DBdU6hG2YjAgjGh7Cta8QEokmH2BxErIloZImT54YiEjSlo45PwJd2dMRDA85B3mg+W6kyxhJBWmB2hSToyNRoupkJU4qE60sBHC1akjA16hMKIx95IAEWAdroa8meBt3nNioZuua+pm0At93Mmwq1ZA0bU1IFpQI22VEyZSai/UtNekEhEqCRY1SGUoLpKSMbE8YoGgR4yjBIvshXKWQYbiWkff6K1UioGl9qFPfq7f7tSxNBDzMRMdvXbt8h3hvweZs2/Imlz/7PnZBWzNlK6KRdagVMLHuuHvF7jseOXlaudF7LJ8rvXj2xeAnJBWsK/lLnCiBv5V/u6tAACH5BAUFAEYALA8ADwAiACIAAAf8gEaCg4SDLj8EQBoviIWOj4UrCBQmHpQ8lzMIEpCdRhVEIAyMjgaJojiehRYnIhWqnyKtsDoxHkOwhD+Wr5C1DSu5kQ01Oo8bGQItwqXEG443t8zHHhHDuNOPQybYgiEM2Z0+PIbc4b7SRh8O5+IJ3jvtkEAjn+byzRIv9fiPIKf9/F2AkSEgNAusDBbigHCGQkKaIBx4OGgEDQX3FOIwJwADxQsD4FEsYM2eAo0qbAxKIEJhjHfluskTklEQqw74csyCBqxdiwUx0PXMtsJZp180ppWo9EAVMqawtpmI8CxXkRqVLJyMxArqtA0ybFXKZIlXVZ+IFCVykSsQADs=) center/64px no-repeat;color:#fff;content:"";font-size:128px;height:128px;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate3d(-50%,-50%,0);width:128px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__ui--hidden .pswp__top-bar{transform:translateY(-15px)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__top-bar{background:none;height:30px;margin-top:env(safe-area-inset-top);padding:16px;transition:transform .3s ease-out,opacity .3s cubic-bezier(.4,0,.22,1)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__counter{background-color:#00000080;border-radius:15px;font-family:Hiragino Kaku Gothic ProN,\\30e1\\30a4\\30ea\\30aa,sans-serif;font-size:12px;font-weight:700;height:30px;left:16px;line-height:30px;padding:0 16px;top:16px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button{background-size:180px 60px;height:30px;margin-left:8px;opacity:1;width:30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button:before{background-color:#00000080;border-radius:50%;content:"";inset:0;position:absolute;z-index:-1}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--close{background-position:0 -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--share{background-position:-30px -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--zoom{background-position:-60px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--zoomed-in .pswp__button--zoom{background-position:-90px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp--fs .pswp__button--fs{background-position:-30px 0}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--left:before{background-position:-94px -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__button--arrow--right:before{background-position:-64px -30px}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption{padding-bottom:env(safe-area-inset-top)}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption--empty{display:block;opacity:0;pointer-events:none;transition:opacity .2s ease-out}.lightbox-wrapper[_ngcontent-%COMP%] .pswp__caption__center{min-height:40px}'],changeDetection:0}),i})();class nO{}let ele=(()=>{class i{constructor(){}initialize(e){this.lightbox=e.createComponent(Jse),this.lightboxElement=this.lightbox.instance.element,document.body.appendChild(this.lightbox.location.nativeElement)}getLightboxElement(){return this.lightboxElement.nativeElement}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const tle={history:!1,closeEl:!0,captionEl:!1,fullscreenEl:!1,zoomEl:!0,shareEl:!1,counterEl:!0,arrowEl:!1,preloaderEl:!0};let rO=(()=>{class i{constructor(e,n,r){this.photoGalleryConfig=e,this.viewContainerRef=n,this.lightboxService=r,this.onPhotoGalleryInit=new ht,this.onPhotoGalleryDestroy=new ht,this.galleryItems={},this.galleryItemIds=new Set,this.galleryImages=[],this.defaultOptions={...tle,...this.photoGalleryConfig?.defaultOptions},this.lightboxService.initialize(this.viewContainerRef)}registerGalleryItem(e){const n={id:e.id,src:e.imageUrl,...e.caption?{title:e.caption}:{},w:0,h:0,doGetSlideDimensions:!0};this.galleryItems[e.id]={id:e.id,element:e.element,image:n},this.galleryItemIds.add(e.id)}unregisterGalleryItem(e){this.galleryItemIds.delete(e)}openPhotoSwipe(e){var n=this;return Se(function*(){if(n.galleryItems[e].image.doGetSlideDimensions){const c=yield aO(n.galleryItems[e].image.src);n.galleryItems[e].image.w=c.naturalWidth,n.galleryItems[e].image.h=c.naturalHeight,delete n.galleryItems[e].image.doGetSlideDimensions}n.galleryImages=[...n.galleryItemIds].map(c=>n.galleryItems[c].image);const r=n.galleryImages.findIndex(c=>c.id===e),a={...n.defaultOptions,...n.options};a.index=r,a.getThumbBoundsFn=c=>{const h=n.galleryImages[c].id,F=n.galleryItems[h].image,R=window.pageYOffset||document.documentElement.scrollTop,W=n.galleryItems[h].element.getBoundingClientRect();let we,Ae,Ne;return W.height/W.width>F.h/F.w?(Ae=W.top+R,Ne=F.w*W.height/F.h,we=W.left-(Ne-W.width)/2):(we=W.left,Ne=W.width,Ae=W.top+R-(F.h*W.width/F.w-W.height)/2),{x:we,y:Ae,w:Ne}};const o=n.lightboxService.getLightboxElement();n.gallery=new Qse(o,Zse,n.galleryImages,a),n.gallery.listen("gettingData",(c,h)=>{h.doGetSlideDimensions&&setTimeout(Se(function*(){yield n.getSlideDimensions(h)}),300)}),n.gallery.listen("imageLoadComplete",function(){var c=Se(function*(h,f){f.doGetSlideDimensions&&(yield n.getSlideDimensions(f))});return function(h,f){return c.apply(this,arguments)}}()),n.gallery.listen("destroy",()=>{n.onPhotoGalleryDestroy.emit()}),n.onPhotoGalleryInit.emit(),n.gallery.init()})()}getSlideDimensions(e){var n=this;return Se(function*(){if(!e.doGetSlideDimensions)return;const r=yield aO(e.src).catch(()=>null);e.doGetSlideDimensions=!1,e.w=r.naturalWidth,e.h=r.naturalHeight,n.gallery.invalidateCurrItems(),n.gallery.updateSize(!0)})()}}return i.\u0275fac=function(e){return new(e||i)(D(nO,8),D(kr),D(ele))},i.\u0275dir=Oe({type:i,selectors:[["","photoGalleryGroup",""]],inputs:{options:["photoGalleryGroup","options"]},outputs:{onPhotoGalleryInit:"onPhotoGalleryInit",onPhotoGalleryDestroy:"onPhotoGalleryDestroy"}}),i})();function aO(i){return new Promise((t,e)=>{const n=new Image;n.onload=()=>t(n),n.onerror=r=>e(r),n.src=i})}let ile=(()=>{class i{constructor(e,n){this.el=e,this.photoGalleryGroup=n}openPhotoSwipe(){var e=this;return Se(function*(){yield e.photoGalleryGroup.openPhotoSwipe(e.id)})()}ngAfterContentInit(){this.id=this.photoGalleryTrackBy||this.imageUrl,this.photoGalleryGroup.registerGalleryItem({id:this.id,element:this.el.nativeElement,imageUrl:this.imageUrl,caption:this.photoGalleryCaption})}ngOnDestroy(){this.photoGalleryGroup.unregisterGalleryItem(this.id)}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(rO))},i.\u0275dir=Oe({type:i,selectors:[["","photoGallery",""]],hostBindings:function(e,n){1&e&&pe("click",function(){return n.openPhotoSwipe()})},inputs:{imageUrl:["photoGallery","imageUrl"],photoGalleryTrackBy:"photoGalleryTrackBy",photoGalleryCaption:"photoGalleryCaption"}}),i})(),nle=(()=>{class i{static forRoot(e){return{ngModule:i,providers:[{provide:nO,useValue:e}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})();class Bu{constructor(t,e,n,r){this.options=t,this.profileService=e,this.utilities=n,this.dialog=r,this.displayRepliesTo=!0,this.profileName="",this.tooltip="",this.profiles=[],this.images=[],this.images2=[],this.videos=[]}toggleMediaPlayer(){this.options.values.showMediaPlayer=!this.options.values.showMediaPlayer}mediaConnect(){const t=document.querySelector("audio");t?(navigator.mediaSession.metadata=new MediaMetadata({title:"LifeLike",artist:"AlexiAction",album:"Blockcore Notes",artwork:[{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"96x96",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"128x128",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"192x192",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"256x256",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"384x384",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"512x512",type:"image/jpg"}]}),navigator.mediaSession.setActionHandler("play",Se(function*(){try{yield t.play()}catch(e){console.error(e.name,e.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{t.pause()}),t.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),t.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}ngOnInit(){var t=this;return Se(function*(){t.images=[]})()}expandImage(t){this.dialog.open(Rd,{data:{picture:t}})}hashtags(t){const e=t.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==e.length?null:e}repliesTo(t){if(!t)return null;let e=t.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return e=e.filter(n=>n!==t.pubkey),0==e.length?null:e}replyTo(t,e){return t?t.tags[e][1]:void 0}}Bu.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,Bu.regexpVideo=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,Bu.regexpThisIsTheWay=/(?:thisistheway.gif)/g,Bu.\u0275fac=function(t){return new(t||Bu)(D(Er),D(Vn),D(Nn),D(ja))},Bu.\u0275cmp=$e({type:Bu,selectors:[["app-content-music"]],inputs:{events:"events",displayRepliesTo:"displayRepliesTo"},decls:40,vars:0,consts:[[1,"music-list","feed-page"],[1,"events","clickable"],[1,"events-header"],[1,"music-item"],["src","https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",1,"music-album"],[1,"music-details"],[1,"music-title"],[1,"music-artist"],["controls","","src","https://cdn.pixabay.com/download/audio/2022/11/22/audio_febc508520.mp3?filename=lifelike-126735.mp3"],["href","https://cdn.pixabay.com/download/audio/2022/11/22/audio_febc508520.mp3?filename=lifelike-126735.mp3"],["controls","","src","https://cdn.pixabay.com/download/audio/2022/12/15/audio_dd5b9f6f3a.mp3?filename=easy-to-love-129414.mp3"],["href","https://cdn.pixabay.com/download/audio/2022/12/15/audio_dd5b9f6f3a.mp3?filename=easy-to-love-129414.mp3"],["src","https://cdn.pixabay.com/audio/2022/10/14/13-08-36-813_200x200.png",1,"music-album"],["controls","","src","https://cdn.pixabay.com/download/audio/2022/10/12/audio_061cead49a.mp3?filename=weeknds-122592.mp3"],["href","https://cdn.pixabay.com/download/audio/2022/10/12/audio_061cead49a.mp3?filename=weeknds-122592.mp3"],["mat-flat-button","",3,"click"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"mat-card",1)(2,"div",2),De(3,"app-event-actions"),k()(),y(4,"div",3),De(5,"img",4),y(6,"div",5)(7,"div",6),B(8,"LifeLike"),k(),y(9,"div",7),B(10,"AlexiAction"),k(),y(11,"audio",8)(12,"a",9),B(13," Download audio "),k()()()(),y(14,"div",3),De(15,"img",4),y(16,"div",5)(17,"div",6),B(18,"EasyToLove"),k(),y(19,"div",7),B(20,"AlexiAction"),k(),y(21,"audio",10)(22,"a",11),B(23," Download audio "),k()()()(),y(24,"div",3),De(25,"img",12),y(26,"div",5)(27,"div",6),B(28,"CINIM - Brainfluid"),k(),y(29,"div",7),B(30,"CINIM"),k(),y(31,"audio",13)(32,"a",14),B(33," Download audio "),k()()()(),y(34,"button",15),pe("click",function(){return e.mediaConnect()}),B(35,"Connect Media Events"),k(),De(36,"br")(37,"br"),y(38,"button",15),pe("click",function(){return e.toggleMediaPlayer()}),B(39,"Toggle Media Player"),k()())},dependencies:[Cr,Sa,Ws],styles:[".music-item[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1em;margin-bottom:1em}.music-album[_ngcontent-%COMP%]{max-height:128px}.music-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.2em;margin-bottom:.4em}.music-artist[_ngcontent-%COMP%]{color:#ffffff80;margin-bottom:.4em}.music-controls[_ngcontent-%COMP%]{width:100%}.music-details[_ngcontent-%COMP%]{flex:1 2 auto}audio[_ngcontent-%COMP%]{width:100%}"]});class Hu{constructor(t,e,n,r,a){this.media=t,this.options=e,this.profileService=n,this.utilities=r,this.dialog=a,this.displayRepliesTo=!0,this.profileName="",this.tooltip="",this.profiles=[],this.images=[],this.images2=[],this.videos=[]}toggleMediaPlayer(){this.options.values.showMediaPlayer=!this.options.values.showMediaPlayer}play(t,e,n,r){this.media.play({title:t,artist:e,source:n,artwork:r,type:"Podcast"})}queue(t,e,n,r){this.media.enque({title:t,artist:e,source:n,artwork:r,type:"Podcast"})}mediaConnect(){const t=document.querySelector("audio");t?(navigator.mediaSession.metadata=new MediaMetadata({title:"LifeLike",artist:"AlexiAction",album:"Blockcore Notes",artwork:[{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"96x96",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"128x128",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"192x192",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"256x256",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"384x384",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"512x512",type:"image/jpg"}]}),navigator.mediaSession.setActionHandler("play",Se(function*(){try{yield t.play()}catch(e){console.error(e.name,e.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{t.pause()}),t.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),t.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}ngOnInit(){var t=this;return Se(function*(){t.images=[]})()}expandImage(t){this.dialog.open(Rd,{data:{picture:t}})}hashtags(t){const e=t.filter(n=>"t"===n[0]).map(n=>n[1]);return 0==e.length?null:e}repliesTo(t){if(!t)return null;let e=t.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return e=e.filter(n=>n!==t.pubkey),0==e.length?null:e}replyTo(t,e){return t?t.tags[e][1]:void 0}}Hu.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,Hu.regexpVideo=/(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w-_]+)/gim,Hu.regexpThisIsTheWay=/(?:thisistheway.gif)/g,Hu.\u0275fac=function(t){return new(t||Hu)(D(Pd),D(Er),D(Vn),D(Nn),D(ja))},Hu.\u0275cmp=$e({type:Hu,selectors:[["app-content-podcast"]],inputs:{events:"events",displayRepliesTo:"displayRepliesTo"},decls:83,vars:3,consts:[[1,"music-list","feed-page"],[1,"events"],[1,"events-header"],[1,"music-item"],["src","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673891743030-8e480bcd5cf47.jpg?w=400",1,"music-album"],[1,"music-details"],[1,"music-title"],[1,"music-artist"],[1,"podcast-abstract"],["mat-icon-button","",1,"action-button",3,"click"],[1,"action-button-icon"],["mat-icon-button","",1,"action-button",3,"matMenuTriggerFor"],["src","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673395914791-e4b9606d5df43.jpg?w=400",1,"music-album"],["src","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673318163134-74d83f9a9216b.jpg?w=400",1,"music-album"],["menu","matMenu"],["disabled","disabled","mat-menu-item",""]],template:function(t,e){if(1&t&&(y(0,"div",0)(1,"mat-card",1)(2,"div",2)(3,"div",3),De(4,"img",4),y(5,"div",5)(6,"div",6),B(7,"Resolving 'Attachment Trauma', and Delivering Orange-Pills, w/ 'Honest Sharing'"),k(),y(8,"div",7),B(9,"@bennibtc"),k(),y(10,"div",8),B(11," I've recently been trying a new method of booking guests for the show, by posting a Calendly link, and allowing anyone who wishes to come on to book themselves in. I ask them to give a brief summary of what they'd like to discuss, and if it sounds interesting (and has nothing to do with shitcoins),... "),k()()(),y(12,"div")(13,"button",9),pe("click",function(){return e.play("Resolving 'Attachment Trauma', and Delivering Orange-Pills, w/ 'Honest Sharing'","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63537906/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-15%2F7f1c6f7b-5933-491b-0c4c-9a75e99a804c.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673891743030-8e480bcd5cf47.jpg?w=400")}),y(14,"mat-icon",10),B(15,"play_arrow"),k()(),y(16,"button",9),pe("click",function(){return e.queue("Resolving 'Attachment Trauma', and Delivering Orange-Pills, w/ 'Honest Sharing'","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63537906/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-15%2F7f1c6f7b-5933-491b-0c4c-9a75e99a804c.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673891743030-8e480bcd5cf47.jpg?w=400")}),y(17,"mat-icon",10),B(18,"playlist_add"),k()(),y(19,"button",11)(20,"mat-icon",10),B(21,"more_vert"),k()()()()(),y(22,"mat-card",1)(23,"div",2)(24,"div",3),De(25,"img",12),y(26,"div",5)(27,"div",6),B(28,"MADEIRA UPDATE w/ Andre, Niko, & Rob"),k(),y(29,"div",7),B(30,"Madeira Update"),k(),y(31,"div",8),B(32," At the bitcoin 2022 conference, the President of Madeira got on stage, and announced that Madeira was 'adopting' bitcoin. While this led to much excitement about another potential 'bitcoin citadel' emerging, it also left many questions. Since that time, a number of bitcoiners who are either from ... "),k()()(),y(33,"div")(34,"button",9),pe("click",function(){return e.play("MADEIRA UPDATE w/ Andre, Niko, & Rob","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63313937/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F598e4f78-8910-92a3-72c4-969e47a5f868.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673395914791-e4b9606d5df43.jpg?w=400")}),y(35,"mat-icon",10),B(36,"play_arrow"),k()(),y(37,"button",9),pe("click",function(){return e.queue("MADEIRA UPDATE w/ Andre, Niko, & Rob","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63313937/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F598e4f78-8910-92a3-72c4-969e47a5f868.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673395914791-e4b9606d5df43.jpg?w=400")}),y(38,"mat-icon",10),B(39,"playlist_add"),k()(),y(40,"button",11)(41,"mat-icon",10),B(42,"more_vert"),k()()()()(),y(43,"mat-card",1)(44,"div",2)(45,"div",3),De(46,"img",13),y(47,"div",5)(48,"div",6),B(49,"Bitcoin is a Source of Creative Inspiration w/ @ReelRichard"),k(),y(50,"div",7),B(51,"@reelrichard"),k(),y(52,"div",8),B(53," Richard is the creator of some of the most awesome bitcoin-inspired music videos, which are always a big hit with the \u2018bitcoin maximalists\u2019 on twitter. I really enjoy his work, and feel its another beautiful example of how bitcoin is inspiring people, and granting them the freedom, to express the... "),k()()(),y(54,"div")(55,"button",9),pe("click",function(){return e.play("Bitcoin is a Source of Creative Inspiration w/ @ReelRichard","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63277939/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F8d033a85-6f04-cfa6-10e5-52ddf6a9ab91.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673318163134-74d83f9a9216b.jpg?w=400")}),y(56,"mat-icon",10),B(57,"play_arrow"),k()(),y(58,"button",9),pe("click",function(){return e.queue("Bitcoin is a Source of Creative Inspiration w/ @ReelRichard","Bitcoin Rapid-Fire","https://anchor.fm/s/d6b3354/podcast/play/63277939/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-0-10%2F8d033a85-6f04-cfa6-10e5-52ddf6a9ab91.mp3","https://images.podcastpage.io/fetch/https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fproduction%2Fpodcast_uploaded_episode400%2F2151293%2F2151293-1673318163134-74d83f9a9216b.jpg?w=400")}),y(59,"mat-icon",10),B(60,"playlist_add"),k()(),y(61,"button",11)(62,"mat-icon",10),B(63,"more_vert"),k()()(),y(64,"mat-menu",null,14)(66,"button",15)(67,"mat-icon"),B(68,"bookmark_add"),k(),y(69,"span"),B(70,"Add to queue"),k()(),y(71,"button",15)(72,"mat-icon"),B(73,"bookmark_remove"),k(),y(74,"span"),B(75,"Play now"),k()(),y(76,"button",15)(77,"mat-icon"),B(78,"ios_share"),k(),y(79,"span"),B(80,"Share"),k()()()()(),De(81,"br")(82,"br"),k()),2&t){const n=en(65);A(19),N("matMenuTriggerFor",n),A(21),N("matMenuTriggerFor",n),A(21),N("matMenuTriggerFor",n)}},dependencies:[Do,Sa,pr,om,jc,L_],styles:[".music-item[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1em;margin-bottom:1em}.music-album[_ngcontent-%COMP%]{max-height:128px}.music-title[_ngcontent-%COMP%]{font-weight:700;margin-bottom:.4em}.music-artist[_ngcontent-%COMP%]{color:#ffffff80;margin-bottom:.4em}.music-controls[_ngcontent-%COMP%]{width:100%}.music-details[_ngcontent-%COMP%]{flex:1 2 auto}audio[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 599px){.music-album[_ngcontent-%COMP%]{max-height:32px}}"]});const oO="Whopsidaisy, something unexpected happened.";class G_{transform(t){return t.pipe(bt(e=>({loading:"start"===e.type,error:"error"===e.type?oO:"",value:e.type?e.value:e})),Yr({loading:!0}),vs(e=>qt({loading:!1,error:"string"==typeof e?e:oO})))}}function rle(i,t){1&i&&De(0,"app-content-music")}function ale(i,t){1&i&&De(0,"app-content-podcast")}function ole(i,t){}function sle(i,t){1&i&&(y(0,"div",12),B(1,"You must follow the user to automatically render photos."),k())}function lle(i,t){if(1&i&&(y(0,"div",15),De(1,"img",16),k()),2&i){const e=t.$implicit;N("photoGallery",e),A(1),N("src",e,An)}}function cle(i,t){1&i&&oe(0,lle,2,2,"div",14),2&i&&N("ngForOf",X().ngIf)}function dle(i,t){if(1&i&&(y(0,"div",18),B(1),k()),2&i){const e=t.$implicit;A(1),Ct(e)}}function ule(i,t){1&i&&oe(0,dle,2,1,"div",17),2&i&&N("ngForOf",X().ngIf)}function hle(i,t){if(1&i&&(y(0,"span"),oe(1,cle,1,1,"ng-template",0),oe(2,ule,1,1,"ng-template",0),k()),2&i){const e=X(5);A(1),N("ngIf",e.isFollowing),A(1),N("ngIf",!e.isFollowing)}}function mle(i,t){if(1&i&&(y(0,"span"),oe(1,hle,3,2,"span",13),k()),2&i){const e=t.$implicit,n=X(4);A(1),N("ngIf",n.parseToImage(e))}}G_.\u0275fac=function(t){return new(t||G_)},G_.\u0275pipe=Lr({name:"withStatus",type:G_,pure:!0});const fle=function(){return{arrowEl:!0,indexIndicatorSep:" - "}};function ple(i,t){if(1&i&&(oe(0,sle,2,0,"div",9),De(1,"br"),y(2,"div",10),oe(3,mle,2,1,"span",11),k()),2&i){const e=X().ngIf,n=X(2);N("ngIf",!n.isFollowing),A(2),N("photoGalleryGroup",Vr(4,fle)),A(1),N("ngForOf",e.value)("ngForTrackBy",n.trackByFn)}}function gle(i,t){1&i&&De(0,"mat-spinner",19)}function _le(i,t){1&i&&B(0),2&i&&ri("Error ",X().ngIf.error,"")}function ble(i,t){if(1&i&&(y(0,"div",8),oe(1,ple,4,5,"ng-template",0),oe(2,gle,1,0,"ng-template",0),oe(3,_le,1,1,"ng-template",0),k()),2&i){const e=t.ngIf;A(1),N("ngIf",e.value),A(1),N("ngIf",e.loading),A(1),N("ngIf",e.error)}}function yle(i,t){if(1&i){const e=tt();y(0,"button",20),pe("click",function(){return Te(e),Ie(X(2).showMore())}),B(1,"Show more..."),k()}}function vle(i,t){if(1&i){const e=tt();y(0,"button",20),pe("click",function(){return Te(e),Ie(X(2).showMore())}),B(1,"Loading more events... or there are nothing more to show..."),k()}}function wle(i,t){if(1&i){const e=tt();y(0,"mat-card",22),pe("click",function(r){const o=Te(e).$implicit;return Ie(X(4).navigation.openEvent(r,o))}),y(1,"div",23)(2,"app-event-header",24)(3,"span",25),B(4),zi(5,"ago"),k(),De(6,"app-directory-icon",24),k(),De(7,"app-event-actions",26),k(),De(8,"app-content",27),k()}if(2&i){const e=t.$implicit;A(2),N("pubkey",e.pubkey),A(2),Ct(Ui(5,6,e.created_at)),A(2),N("pubkey",e.pubkey),A(1),N("event",e)("pubkey",e.pubkey),A(1),N("event",e)}}function Fle(i,t){if(1&i&&oe(0,wle,9,8,"mat-card",21),2&i){const e=X().ngIf,n=X(2);N("ngForOf",e.value)("ngForTrackBy",n.trackByFn)}}function xle(i,t){1&i&&De(0,"mat-spinner",19)}function kle(i,t){1&i&&B(0),2&i&&ri("Error ",X().ngIf.error,"")}function Cle(i,t){if(1&i&&(y(0,"div",8),oe(1,Fle,1,2,"ng-template",0),oe(2,xle,1,0,"ng-template",0),oe(3,kle,1,1,"ng-template",0),k()),2&i){const e=t.ngIf;A(1),N("ngIf",e.value),A(1),N("ngIf",e.loading),A(1),N("ngIf",e.error)}}function Dle(i,t){if(1&i){const e=tt();y(0,"button",20),pe("click",function(){return Te(e),Ie(X(2).showMore())}),B(1,"Show more..."),k()}}function Mle(i,t){if(1&i){const e=tt();y(0,"button",20),pe("click",function(){return Te(e),Ie(X(2).showMore())}),B(1,"Loading more events... or there are nothing more to show..."),k()}}function Ele(i,t){if(1&i){const e=tt();y(0,"mat-tab-group",2),pe("selectedTabChange",function(r){return Te(e),Ie(X().onTabChanged(r))}),y(1,"mat-tab",3),oe(2,ble,4,3,"div",4),zi(3,"async"),zi(4,"withStatus"),y(5,"div",5),oe(6,yle,2,0,"button",6),oe(7,vle,2,0,"button",6),k()(),y(8,"mat-tab",7),oe(9,Cle,4,3,"div",4),zi(10,"async"),zi(11,"withStatus"),y(12,"div",5),oe(13,Dle,2,0,"button",6),oe(14,Mle,2,0,"button",6),k()()()}if(2&i){const e=X();N("selectedIndex",e.tabIndex),A(2),N("ngIf",Ui(3,7,Ui(4,9,e.ui.rootEventsView$))),A(4),N("ngIf",!e.ui.viewCounts.rootEventsViewCountExhausted),A(1),N("ngIf",e.ui.viewCounts.replyEventsViewCountExhausted),A(2),N("ngIf",Ui(10,11,Ui(11,13,e.ui.replyEventsView$))),A(4),N("ngIf",!e.ui.viewCounts.replyEventsViewCountExhausted),A(1),N("ngIf",e.ui.viewCounts.replyEventsViewCountExhausted)}}function Sle(i,t){if(1&i){const e=tt();y(0,"mat-card",22),pe("click",function(r){const o=Te(e).$implicit;return Ie(X(4).navigation.openEvent(r,o))}),y(1,"div",23)(2,"app-event-header",24)(3,"span",25),B(4),zi(5,"ago"),k(),De(6,"app-directory-icon",24),k(),De(7,"app-event-actions",26),k(),De(8,"app-content",27),k()}if(2&i){const e=t.$implicit;A(2),N("pubkey",e.pubkey),A(2),Ct(Ui(5,6,e.created_at)),A(2),N("pubkey",e.pubkey),A(1),N("event",e)("pubkey",e.pubkey),A(1),N("event",e)}}function Ale(i,t){if(1&i&&oe(0,Sle,9,8,"mat-card",21),2&i){const e=X().ngIf,n=X(2);N("ngForOf",e.value)("ngForTrackBy",n.trackByFn)}}function Tle(i,t){1&i&&De(0,"mat-spinner",19)}function Ile(i,t){1&i&&B(0),2&i&&ri("Error ",X().ngIf.error,"")}function Nle(i,t){if(1&i&&(y(0,"div",8),oe(1,Ale,1,2,"ng-template",0),oe(2,Tle,1,0,"ng-template",0),oe(3,Ile,1,1,"ng-template",0),k()),2&i){const e=t.ngIf;A(1),N("ngIf",e.value),A(1),N("ngIf",e.loading),A(1),N("ngIf",e.error)}}function Lle(i,t){if(1&i){const e=tt();y(0,"button",20),pe("click",function(){return Te(e),Ie(X(2).showMore())}),B(1,"Show more..."),k()}}function Ole(i,t){if(1&i){const e=tt();y(0,"button",20),pe("click",function(){return Te(e),Ie(X(2).showMore())}),B(1,"Loading more events... or there are nothing more to show..."),k()}}function Rle(i,t){if(1&i){const e=tt();y(0,"mat-card",22),pe("click",function(r){const o=Te(e).$implicit;return Ie(X(4).navigation.openEvent(r,o))}),y(1,"div",23)(2,"app-event-header",24)(3,"span",25),B(4),zi(5,"ago"),k(),De(6,"app-directory-icon",24),k(),De(7,"app-event-actions",26),k(),De(8,"app-content",27),k()}if(2&i){const e=t.$implicit;A(2),N("pubkey",e.pubkey),A(2),Ct(Ui(5,6,e.created_at)),A(2),N("pubkey",e.pubkey),A(1),N("event",e)("pubkey",e.pubkey),A(1),N("event",e)}}function Ple(i,t){if(1&i&&oe(0,Rle,9,8,"mat-card",21),2&i){const e=X().ngIf,n=X(2);N("ngForOf",e.value)("ngForTrackBy",n.trackByFn)}}function Ble(i,t){1&i&&De(0,"mat-spinner",19)}function Hle(i,t){1&i&&B(0),2&i&&ri("Error ",X().ngIf.error,"")}function Vle(i,t){if(1&i&&(y(0,"div",8),oe(1,Ple,1,2,"ng-template",0),oe(2,Ble,1,0,"ng-template",0),oe(3,Hle,1,1,"ng-template",0),k()),2&i){const e=t.ngIf;A(1),N("ngIf",e.value),A(1),N("ngIf",e.loading),A(1),N("ngIf",e.error)}}function Yle(i,t){if(1&i){const e=tt();y(0,"button",20),pe("click",function(){return Te(e),Ie(X(2).showMore())}),B(1,"Show more..."),k()}}function jle(i,t){if(1&i){const e=tt();y(0,"button",20),pe("click",function(){return Te(e),Ie(X(2).showMore())}),B(1,"Loading more events... or there are nothing more to show..."),k()}}function zle(i,t){if(1&i){const e=tt();y(0,"mat-tab-group",2),pe("selectedTabChange",function(r){return Te(e),Ie(X().onTabChanged(r))}),y(1,"mat-tab",3),oe(2,Nle,4,3,"div",4),zi(3,"async"),zi(4,"withStatus"),y(5,"div",5),oe(6,Lle,2,0,"button",6),oe(7,Ole,2,0,"button",6),k()(),y(8,"mat-tab",7),oe(9,Vle,4,3,"div",4),zi(10,"async"),zi(11,"withStatus"),y(12,"div",5),oe(13,Yle,2,0,"button",6),oe(14,jle,2,0,"button",6),k()()()}if(2&i){const e=X();N("selectedIndex",e.tabIndex),A(2),N("ngIf",Ui(3,7,Ui(4,9,e.ui.rootEventsView$))),A(4),N("ngIf",!e.ui.viewCounts.rootEventsViewCountExhausted),A(1),N("ngIf",e.ui.viewCounts.replyEventsViewCountExhausted),A(2),N("ngIf",Ui(10,11,Ui(11,13,e.ui.replyEventsView$))),A(4),N("ngIf",!e.ui.viewCounts.replyEventsViewCountExhausted),A(1),N("ngIf",e.ui.viewCounts.replyEventsViewCountExhausted)}}var sO=new WeakSet;class Vd{constructor(t,e,n,r,a,o,c,h,f,F,R,W,te,fe,we,Ae){var Ne=this;np(this,sO),this.navigation=t,this.appState=e,this.activatedRoute=n,this.cd=r,this.queueService=a,this.options=o,this.profiles=c,this.dataService=h,this.ui=f,this.validator=F,this.circleService=R,this.storage=W,this.utilities=te,this.notesService=fe,this.router=we,this.ngZone=Ae,this.imagePath="/assets/profile.png",this.profileName="",this.initialLoad=!0,this.notes=[],this.userEvents$=qt(this.notes),this.subscriptions=[],this.pageSize=5,this.layout=1,this.subscriptions.push(this.ui.profile$.subscribe(function(){var et=Se(function*(Be){if(!Be)return;Ne.appState.updateTitle(Ne.utilities.getProfileTitle(Ne.ui.profile)),Ne.imagePath=Ne.ui.profile.picture||"/assets/profile.png",Ne.circle=yield Ne.circleService.get(Ne.ui.profile.circle),Ne.layout=Ne.style?Number(Ne.style):Ne.circle?Ne.circle.style:1,Ne.isFollowing=Ne.profiles.isFollowing(Be.pubkey);const dt=iv().subtract(5,"minutes").unix();(!Ne.ui.profile.following||Ne.ui.profile.retrieved&&Ne.ui.profile.retrieved{document.getElementById("profile-image-anchor").scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),Ne.previousPubKey=Be.pubkey},50),Ne.subscriptions.push(Ne.navigation.showMore$.subscribe(()=>{Ne.showMore()}))});return function(Be){return et.apply(this,arguments)}}()))}follow(){var t=this;return Se(function*(){t.ui.profile.status=$a.Follow,yield t.profiles.follow(t.ui.pubkey)})()}onTabChanged(t){this.router.navigate([],{queryParams:{t:t.index},replaceUrl:!0}),Go(this,sO,Ule).call(this)}parseToImage(t){return[...t.content.matchAll(Vd.regexpImage)].map(n=>n[0])}showMore(){null==this.tabIndex||0==Number(this.tabIndex)?this.ui.updateRootEventsView(0,this.ui.viewCounts.rootEventsViewCount+this.pageSize):this.ui.updateReplyEventsView(0,this.ui.viewCounts.replyEventsViewCount+this.pageSize)}ngOnInit(){var t=this;this.appState.showBackButton=!0,this.appState.actions=[],this.appState.updateTitle(""),this.subscriptions.push(this.activatedRoute.queryParams.subscribe(function(){var e=Se(function*(n){t.tabIndex=n.t,t.style=n.s});return function(n){return e.apply(this,arguments)}}())),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var e=Se(function*(n){const r=n.get("id");if(t.ui.setPubKey(r),r.startsWith("npub")){const a=t.utilities.convertFromBech32ToHex(r);t.router.navigate(["/p",a])}else t.appState.updateTitle(t.utilities.getShortenedIdentifier(r))});return function(n){return e.apply(this,arguments)}}()))}optionsUpdated(){}activeOptions(){let t="";return t+=this.options.values.hideSpam?" Spam: Filtered":" Spam: Allowed",t+=this.options.values.hideInvoice?" Invoices: Hidden":" Invoices: Displayed",t}trackByFn(t,e){return e.id}ngOnDestroy(){this.ui.setPubKey(void 0),this.utilities.unsubscribe(this.subscriptions),this.profileSubscription&&this.profileSubscription.unsubscribe(),this.feedSubscription&&this.feedSubscription.unsubscribe()}}function Ule(){}Vd.regexpImage=/(?:(?:https?)+\:\/\/+[a-zA-Z0-9\/\._-]{1,})+(?:(?:jpe?g|png|gif|webp))/g,Vd.\u0275fac=function(t){return new(t||Vd)(D(Ao),D(ln),D(Ps),D(li),D(ws),D(Er),D(Vn),D(Ka),D(qr),D(Uo),D(So),D(Ea),D(Nn),D(Bd),D(rr),D(Rt))},Vd.\u0275cmp=$e({type:Vd,selectors:[["app-user"]],decls:6,vars:5,consts:[[3,"ngIf"],[3,"selectedIndex","selectedTabChange",4,"ngIf"],[3,"selectedIndex","selectedTabChange"],["label","Notes"],["class","feed-page",4,"ngIf"],[1,"show-more","centered"],["mat-button","",3,"click",4,"ngIf"],["label","Replies"],[1,"feed-page"],["class","dimmed",4,"ngIf"],[1,"image-grid",3,"photoGalleryGroup"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"dimmed"],[4,"ngIf"],["class","image-grid-item",3,"photoGallery",4,"ngFor","ngForOf"],[1,"image-grid-item",3,"photoGallery"],["loading","lazy",3,"src"],["class","image-grid-item",4,"ngFor","ngForOf"],[1,"image-grid-item"],[1,"loading"],["mat-button","",3,"click"],["class","events clickable",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"events","clickable",3,"click"],[1,"events-header"],[3,"pubkey"],[1,"event-date","clickable"],[3,"event","pubkey"],[3,"event"]],template:function(t,e){1&t&&(De(0,"app-profile-header"),oe(1,rle,1,0,"ng-template",0),oe(2,ale,1,0,"ng-template",0),oe(3,ole,0,0,"ng-template",0),oe(4,Ele,15,15,"mat-tab-group",1),oe(5,zle,15,15,"mat-tab-group",1)),2&t&&(A(1),N("ngIf",5==e.layout),A(1),N("ngIf",6==e.layout),A(1),N("ngIf",2==e.layout),A(1),N("ngIf",3==e.layout),A(1),N("ngIf",1==e.layout))},dependencies:[Gn,mi,Cr,Sa,bv,uD,av,ile,rO,xl,Fs,kl,Hd,Ws,Bu,Hu,Os,Gs,G_],styles:[".profile-name[_ngcontent-%COMP%]{display:inline-block}.feed-page[_ngcontent-%COMP%]{min-height:1200px}"]});const lO=[{id:1,name:"Pipe"},{id:2,name:"Text"},{id:3,name:"Photo"},{id:4,name:"Film"},{id:5,name:"Music"},{id:6,name:"Podcast"}],Wle=["hueSlider"],Gle=["alphaSlider"];function qle(i,t){if(1&i){const e=tt();y(0,"div",8),pe("newValue",function(r){return Te(e),Ie(X().onSliderChange("saturation-lightness",r))}),y(1,"div",9),De(2,"div"),k()()}if(2&i){const e=X();tr("background-color",e.hueSliderColor),N("rgX",1)("rgY",1),A(1),tr("top",null==e.slider?null:e.slider.v,"px")("left",null==e.slider?null:e.slider.s,"px")}}function $le(i,t){if(1&i&&(y(0,"div",10),De(1,"div",11)(2,"div",12),k()),2&i){const e=X();A(2),tr("background-color",e.selectedColor)}}function Kle(i,t){if(1&i){const e=tt();y(0,"div",13,14),pe("newValue",function(r){return Te(e),Ie(X().onSliderChange("hue",r))}),y(2,"div",15)(3,"div"),De(4,"div"),k()()()}if(2&i){const e=X();N("rgX",1),A(2),tr("left",null==e.slider?null:e.slider.h,"px")}}function Qle(i,t){if(1&i){const e=tt();y(0,"div",16,17),pe("newValue",function(r){return Te(e),Ie(X().onSliderChange("alpha",r))}),De(2,"div",18),y(3,"div",15)(4,"div"),De(5,"div"),k()()()}if(2&i){const e=X();N("rgX",1),A(2),N("ngStyle",e.getBackgroundColor(e.alphaSliderColor)),A(1),tr("left",null==e.slider?null:e.slider.a,"px")}}const Zle=["dialog"];function Xle(i,t){1&i&&De(0,"div",11)}function Jle(i,t){if(1&i){const e=tt();Fn(0),y(1,"div",8)(2,"div",9),pe("click",function(){const a=Te(e).$implicit;return Ie(X(2).onColorClick(a))}),oe(3,Xle,1,0,"div",10),k()(),xn()}if(2&i){const e=t.$implicit,n=t.index,r=X(2);A(2),Mt("colornull",!e),N("ngStyle",r.getBackgroundColor(e)),A(1),N("ngIf",n==r.indexSeleccionado)}}function ece(i,t){if(1&i&&De(0,"div",17),2&i){const e=X(3);N("ngStyle",e.getBackgroundColor(e.color))}}function tce(i,t){if(1&i){const e=tt();y(0,"div",12),pe("click",function(){return Te(e),Ie(X(2).addColor())}),oe(1,ece,1,1,"div",13),_o(),y(2,"svg",14),De(3,"path",15)(4,"path",16),k()()}if(2&i){const e=X(2);A(1),N("ngIf",!e.indexSeleccionado)}}function ice(i,t){if(1&i){const e=tt();y(0,"color-picker",18),pe("colorChange",function(r){return Te(e),Ie(X(2).onChangeColorPicker(r))})("onAlphaChange",function(r){return Te(e),Ie(X(2).onAlphaChange(r))}),k()}if(2&i){const e=X(2);N("controls",e.colorPickerControls)("color",e.hsva)}}function nce(i,t){if(1&i&&(Fn(0),y(1,"div",4),oe(2,Jle,4,4,"ng-container",5),oe(3,tce,5,1,"div",6),oe(4,ice,1,2,"color-picker",7),k(),xn()),2&i){const e=X();A(1),N("@colorsAnimation",e.colorsAnimationEffect),A(1),N("ngForOf",e.palette),A(1),N("ngIf",!e.hideColorPicker&&"only-alpha"!=e.colorPickerControls),A(1),N("ngIf",!e.hideColorPicker&&"only-alpha"==e.colorPickerControls)}}function rce(i,t){1&i&&De(0,"div",11)}const ace=function(i){return{background:i}};function oce(i,t){if(1&i){const e=tt();_o(),Ol(),Fn(0),y(1,"div",8)(2,"div",24),pe("click",function(){const a=Te(e).$implicit;return Ie(X(2).changeColor(a))}),oe(3,rce,1,0,"div",10),k()(),xn()}if(2&i){const e=t.$implicit,n=X(2);A(2),Mt("colornull",!e),N("ngStyle",Cn(4,ace,e)),A(1),N("ngIf",n.isSelected(e))}}function sce(i,t){if(1&i){const e=tt();Fn(0),y(1,"div",4)(2,"div",19)(3,"div",20),pe("click",function(){return Te(e),Ie(X().onClickBack())}),_o(),y(4,"svg",21),De(5,"path",22)(6,"path",23),k()()(),oe(7,oce,4,6,"ng-container",5),k(),xn()}if(2&i){const e=X();A(1),N("@colorsAnimation",e.colorsAnimationEffect),A(6),N("ngForOf",e.variants)}}function lce(i,t){if(1&i){const e=tt();Fn(0),y(1,"div",25)(2,"div",26),pe("click",function(){return Te(e),Ie(X().onClickBack())}),_o(),y(3,"svg",21),De(4,"path",22)(5,"path",23),k()(),Ol(),y(6,"button",27),pe("click",function(){return Te(e),Ie(X().emitClose("cancel"))}),B(7),k(),y(8,"button",27),pe("click",function(){return Te(e),Ie(X().emitClose("accept"))}),B(9),k()(),y(10,"div",28)(11,"color-picker",29),pe("sliderChange",function(r){return Te(e),Ie(X().onChangeColorPicker(r))}),k()(),xn()}if(2&i){const e=X();A(7),ri(" ",e.cancelLabel," "),A(2),ri(" ",e.acceptLabel," "),A(2),N("controls",e.colorPickerControls)("color",e.hsva)}}function cce(i,t){if(1&i){const e=tt();y(0,"div",30)(1,"p",31),pe("click",function(){return Te(e),Ie(X().nextFormat())}),B(2),k(),y(3,"div",32)(4,"input",33,34),pe("keyup",function(){Te(e);const r=en(5);return Ie(X().changeColorManual(r.value))})("keydown.enter",function(){return Te(e),Ie(X().emitClose("accept"))}),k()()()}if(2&i){const e=X();A(2),Ct(e.colorFormats[e.format]),A(2),tr("font-size",e.color&&e.color.length>23?9:10,"px")("letter-spacing",e.color&&e.color.length>16?0:1.5,"px"),N("value",e.color)}}var ic=(()=>(function(i){i[i.HEX=0]="HEX",i[i.RGBA=1]="RGBA",i[i.HSLA=2]="HSLA",i[i.CMYK=3]="CMYK"}(ic||(ic={})),ic))();const cO=[{color:"rojo",preview:"#E57373",variants:["#FFEBEE","#FFCDD2","#EF9A9A","#E57373","#EF5350","#F44336","#E53935","#D32F2F","#C62828"]},{color:"rosa",preview:"#F06292",variants:["#FCE4EC","#F8BBD0","#F48FB1","#F06292","#EC407A","#E91E63","#D81B60","#C2185B","#AD1457"]},{color:"purpura",preview:"#BA68C8",variants:["#F3E5F5","#E1BEE7","#CE93D8","#BA68C8","#AB47BC","#9C27B0","#8E24AA","#7B1FA2","#6A1B9A"]},{color:"purpura oscuro",preview:"#9575CD",variants:["#EDE7F6","#D1C4E9","#B39DDB","#9575CD","#7E57C2","#673AB7","#5E35B1","#512DA8","#4527A0"]},{color:"indigo",preview:"#7986CB",variants:["#E8EAF6","#C5CAE9","#9FA8DA","#7986CB","#5C6BC0","#3F51B5","#3949AB","#303F9F","#283593"]},{color:"azul",preview:"#64B5F6",variants:["#E3F2FD","#BBDEFB","#90CAF9","#64B5F6","#42A5F5","#2196F3","#1E88E5","#1976D2","#1565C0"]},{color:"celeste",preview:"#4FC3F7",variants:["#E1F5FE","#B3E5FC","#81D4FA","#4FC3F7","#29B6F6","#03A9F4","#039BE5","#0288D1","#0277BD"]},{color:"cyan",preview:"#4DD0E1",variants:["#E0F7FA","#B2EBF2","#80DEEA","#4DD0E1","#26C6DA","#00BCD4","#00ACC1","#0097A7","#00838F"]},{color:"color",preview:"#4DB6AC",variants:["#E0F2F1","#B2DFDB","#80CBC4","#4DB6AC","#26A69A","#009688","#00897B","#00796B","#00695C"]},{color:"verde",preview:"#81C784",variants:["#E8F5E9","#C8E6C9","#A5D6A7","#81C784","#66BB6A","#4CAF50","#43A047","#388E3C","#2E7D32"]},{color:"verde claro",preview:"#AED581",variants:["#F1F8E9","#DCEDC8","#C5E1A5","#AED581","#9CCC65","#8BC34A","#7CB342","#689F38","#558B2F"]},{color:"lima",preview:"#DCE775",variants:["#F9FBE7","#F0F4C3","#E6EE9C","#DCE775","#D4E157","#CDDC39","#C0CA33","#AFB42B","#9E9D24"]},{color:"amarillo",preview:"#FFF176",variants:["#FFFDE7","#FFF9C4","#FFF59D","#FFF176","#FFEE58","#FFEB3B","#FDD835","#FBC02D","#F9A825"]},{color:"ambar",preview:"#FFD54F",variants:["#FFF8E1","#FFECB3","#FFE082","#FFD54F","#FFCA28","#FFC107","#FFB300","#FFA000","#FF8F00"]},{color:"naranja",preview:"#FFB74D",variants:["#FFF3E0","#FFE0B2","#FFCC80","#FFB74D","#FFA726","#FF9800","#FB8C00","#F57C00","#EF6C00"]},{color:"naranja oscuro",preview:"#FF8A65",variants:["#FBE9E7","#FFCCBC","#FFAB91","#FF8A65","#FF7043","#FF5722","#F4511E","#E64A19","#D84315"]},{color:"marron",preview:"#A1887F",variants:["#EFEBE9","#D7CCC8","#BCAAA4","#A1887F","#8D6E63","#795548","#6D4C41","#5D4037","#4E342E"]},{color:"escala de grises",preview:"#E0E0E0",variants:["#FFFFFF","#FAFAFA","#F5F5F5","#EEEEEE","#E0E0E0","#BDBDBD","#9E9E9E","#757575","#616161","#424242","#000000"]},{color:"azul gris",preview:"#90A4AE",variants:["#ECEFF1","#CFD8DC","#B0BEC5","#90A4AE","#78909C","#607D8B","#546E7A","#455A64","#37474F"]}],yv=["hex","rgba","hsla"];class Vu{constructor(t,e,n,r){this.r=t,this.g=e,this.b=n,this.a=r}denormalize(){return this.r=Math.round(255*this.r),this.g=Math.round(255*this.g),this.b=Math.round(255*this.b),this}toString(){return this.denormalize(),"rgb"+(1!=this.a?"a(":"(")+this.r+", "+this.g+", "+this.b+(1!=this.a?", "+this.a.toPrecision(2)+")":")")}}class Yu{constructor(t,e,n,r){this.h=t,this.s=e,this.v=n,this.a=r,this.onChange=new ht(!0)}onColorChange(t){this.s=t.s/t.rgX,this.v=t.v/t.rgY}onHueChange(t){this.h=t.v/t.rgX}onValueChange(t){this.v=t.v/t.rgX}onAlphaChange(t){this.a=t.v/t.rgX}}class q_{constructor(t,e,n,r){this.h=t,this.s=e,this.l=n,this.a=r}denormalize(){return this.h=Math.round(360*this.h),this.s=Math.round(100*this.s),this.l=Math.round(100*this.l),this}toString(){return"hsl"+(1!=this.a?"a(":"(")+this.h+", "+this.s+"%, "+this.l+"%"+(1!=this.a?", "+this.a.toPrecision(2)+")":")")}}class vv{constructor(t,e,n,r,a=1){this.c=t,this.m=e,this.y=n,this.k=r,this.a=a}}class dce{constructor(t){t&&(this.preview=t.preview,this.variants=t.variants)}}let fD=(()=>{class i{constructor(){}toFormat(e,n){var r="";if(e)switch(n){case ic.HEX:(o=this.hsvaToRgba(e)).denormalize(),r=this.rgbaToHex(o,!0);break;case ic.HSLA:var a=this.hsva2hsla(e);a.denormalize(),r=a.toString();break;case ic.RGBA:r=(o=this.hsvaToRgba(e)).toString();break;case ic.CMYK:var o=this.hsvaToRgba(e);this.rgbaToCmyk(o)}return r}stringToFormat(e,n){var r=this.stringToHsva(e,!0);return this.toFormat(r,n)}hsva2hsla(e){const n=e.h,r=e.s,a=e.v,o=e.a;if(0===a)return new q_(n,0,0,o);if(0===r&&1===a)return new q_(n,1,1,o);{const c=a*(2-r)/2;return new q_(n,a*r/(1-Math.abs(2*c-1)),c,o)}}hsla2hsva(e){const n=Math.min(e.h,1),r=Math.min(e.s,1),a=Math.min(e.l,1),o=Math.min(e.a,1);if(0===a)return new Yu(n,0,0,o);{const c=a+r*(1-Math.abs(2*a-1))/2;return new Yu(n,2*(c-a)/c,c,o)}}hsvaToRgba(e){let n,r,a;const o=e.h,c=e.s,h=e.v,f=e.a,F=Math.floor(6*o),R=6*o-F,W=h*(1-c),te=h*(1-R*c),fe=h*(1-(1-R)*c);switch(F%6){case 0:n=h,r=fe,a=W;break;case 1:n=te,r=h,a=W;break;case 2:n=W,r=h,a=fe;break;case 3:n=W,r=te,a=h;break;case 4:n=fe,r=W,a=h;break;case 5:n=h,r=W,a=te;break;default:n=0,r=0,a=0}return new Vu(n,r,a,f)}cmykToRgb(e){return new Vu((1-e.c)*(1-e.k),(1-e.m)*(1-e.k),(1-e.y)*(1-e.k),e.a)}rgbaToCmyk(e){const n=1-Math.max(e.r,e.g,e.b);return 1===n?new vv(0,0,0,1,e.a):new vv((1-e.r-n)/(1-n),(1-e.g-n)/(1-n),(1-e.b-n)/(1-n),n,e.a)}rgbaToHsva(e){let n,r;const a=Math.min(e.r,1),o=Math.min(e.g,1),c=Math.min(e.b,1),h=Math.min(e.a,1),f=Math.max(a,o,c),F=Math.min(a,o,c),R=f,W=f-F;if(r=0===f?0:W/f,f===F)n=0;else{switch(f){case a:n=(o-c)/W+(o{class i{mouseDown(e){this.start(e)}touchStart(e){this.start(e)}constructor(e){this.elRef=e,this.dragEnd=new ht,this.dragStart=new ht,this.newValue=new ht,this.listenerMove=n=>this.move(n),this.listenerStop=()=>this.stop()}move(e){e.preventDefault(),this.setCursor(e)}start(e){this.setCursor(e),e.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()}stop(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()}getX(e){const n=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==e.pageX?e.pageX:e.touches[0].pageX)-n.left-window.pageXOffset}getY(e){const n=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==e.pageY?e.pageY:e.touches[0].pageY)-n.top-window.pageYOffset}setCursor(e){const n=this.elRef.nativeElement.offsetWidth,r=this.elRef.nativeElement.offsetHeight,a=Math.max(0,Math.min(this.getX(e),n)),o=Math.max(0,Math.min(this.getY(e),r));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:a/n,v:1-o/r,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:o/r,rgY:this.rgY}):void 0!==this.rgX&&void 0===this.rgY&&this.newValue.emit({v:a/n,rgX:this.rgX})}}return i.\u0275fac=function(e){return new(e||i)(D(_t))},i.\u0275dir=Oe({type:i,selectors:[["","slider",""]],hostBindings:function(e,n){1&e&&pe("mousedown",function(a){return n.mouseDown(a)})("touchstart",function(a){return n.touchStart(a)})},inputs:{rgX:"rgX",rgY:"rgY",slider:"slider"},outputs:{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}}),i})(),mce=(()=>{class i{constructor(e,n){this.service=e,this.cdr=n,this.color=new Yu(0,1,1,1),this.controls="default",this.sliderChange=new ht(!1),this.onAlphaChange=new ht(!1),this.hsva=new Yu(0,1,1,1),this.selectedColor="#000000",this.fallbackColor="#000000"}ngOnInit(){this.color||(this.color=new Yu(0,1,1,1)),this.slider=new dO(0,0,0,0),this.update()}ngOnDestroy(){}ngOnChanges(e){e.color&&this.color&&this.update()}ngAfterViewInit(){this.sliderDimMax=new uce(this.hueSlider?.nativeElement.offsetWidth||140,220,130,this.alphaSlider?.nativeElement.offsetWidth||140),this.update()}onSliderChange(e,n){switch(e){case"saturation-lightness":this.hsva.onColorChange(n);break;case"hue":this.hsva.onHueChange(n);break;case"alpha":this.hsva.onAlphaChange(n),this.onAlphaChange.emit(n);break;case"value":this.hsva.onValueChange(n)}this.update(),this.setColor(this.outputColor)}setColor(e){this.color=e,this.sliderChange.emit(this.color)}getBackgroundColor(e){return{background:"linear-gradient(90deg, rgba(36,0,0,0) 0%, "+e+" 100%)"}}update(){if(this.hsva=this.color,this.sliderDimMax){let e=this.service.hsvaToRgba(this.hsva).denormalize(),n=this.service.hsvaToRgba(new Yu(this.hsva.h,1,1,1)).denormalize();this.hueSliderColor="rgb("+n.r+","+n.g+","+n.b+")",this.alphaSliderColor="rgb("+e.r+","+e.g+","+e.b+")",this.outputColor=this.hsva,this.selectedColor=this.service.hsvaToRgba(this.hsva).toString(),this.slider=new dO(this.hsva.h*this.sliderDimMax.h-5,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-5),this.cdr.detectChanges()}}}return i.\u0275fac=function(e){return new(e||i)(D(fD),D(li))},i.\u0275cmp=$e({type:i,selectors:[["color-picker"]],viewQuery:function(e,n){if(1&e&&(Tt(Wle,5),Tt(Gle,5)),2&e){let r;Qe(r=Ze())&&(n.hueSlider=r.first),Qe(r=Ze())&&(n.alphaSlider=r.first)}},inputs:{color:"color",controls:"controls"},outputs:{sliderChange:"sliderChange",onAlphaChange:"onAlphaChange"},features:[mr],decls:8,vars:4,consts:[[1,"color-picker",3,"click"],["dialogPopup",""],["class","saturation-lightness",3,"slider","rgX","rgY","background-color","newValue",4,"ngIf"],[1,"hue-alpha","box"],["class","left",4,"ngIf"],[1,"right"],["class","hue",3,"slider","rgX","newValue",4,"ngIf"],["class","alpha",3,"slider","rgX","newValue",4,"ngIf"],[1,"saturation-lightness",3,"slider","rgX","rgY","newValue"],[1,"cursor"],[1,"left"],[1,"selected-color-background"],[1,"selected-color"],[1,"hue",3,"slider","rgX","newValue"],["hueSlider",""],[1,"sliderCursor"],[1,"alpha",3,"slider","rgX","newValue"],["alphaSlider",""],[1,"alpha-gradient",3,"ngStyle"]],template:function(e,n){1&e&&(y(0,"div",0,1),pe("click",function(a){return a.stopPropagation()}),oe(2,qle,3,8,"div",2),y(3,"div",3),oe(4,$le,3,2,"div",4),y(5,"div",5),oe(6,Kle,5,3,"div",6),oe(7,Qle,6,4,"div",7),k()()()),2&e&&(A(2),N("ngIf","only-alpha"!=n.controls),A(2),N("ngIf","only-alpha"!=n.controls),A(2),N("ngIf","only-alpha"!=n.controls),A(1),N("ngIf","no-alpha"!=n.controls))},dependencies:[mi,ff,hce],styles:[".color-picker{position:relative;z-index:1000;width:220px;height:auto;cursor:default;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none}.color-picker *{box-sizing:border-box;margin:0;font-size:11px}.color-picker input{width:0;height:26px;min-width:0;font-size:13px;text-align:center;color:#000}.color-picker input:invalid,.color-picker input:-moz-ui-invalid,.color-picker input:-moz-submit-invalid{box-shadow:none}.color-picker input::-webkit-inner-spin-button,.color-picker input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.color-picker .sliderCursor{width:10px;border-radius:5px;position:absolute;margin-top:-3px;border:1px solid black}.color-picker .sliderCursor>div{border:2px solid white;border-radius:5px}.color-picker .sliderCursor>div>div{border-radius:5px;border:1px solid black;height:24px}.color-picker .cursor{position:absolute;width:21px;border:3px solid black;border-radius:100%;margin:-2px 0 0 -2px}.color-picker .cursor>div{height:15px;border:3px solid white;border-radius:100%}.color-picker .box{display:flex;padding:4px 8px}.color-picker .left{position:relative;padding:16px 8px}.color-picker .right{flex:1 1 auto;display:flex;flex-direction:column;gap:10px;padding:12px 8px}.color-picker .hue-alpha{display:flex;align-items:center;margin-bottom:3px}.color-picker .hue{direction:ltr;width:100%;height:24px;border:none;border-radius:5px;position:relative;cursor:pointer;background-size:100% 100%;background:linear-gradient(to right,red 0%,#ff0 17%,lime 33%,cyan 50%,blue 66%,#f0f 83%,red 100%)}.color-picker .alpha{direction:ltr;position:relative;width:100%;height:24px;border:none;border-radius:5px;cursor:pointer;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .alpha-gradient{width:100%;height:100%;border-radius:5px;position:absolute}.color-picker .selected-color{position:absolute;top:16px;left:8px;width:40px;height:40px;box-shadow:0 1px 1px 1px #00000026;border-radius:50%}.color-picker .selected-color-background{width:40px;height:40px;border-radius:50%;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .saturation-lightness{direction:ltr;cursor:crosshair;width:100%;position:relative;height:130px;border:none;touch-action:manipulation;background-image:linear-gradient(to top,#000 0%,transparent 100%),linear-gradient(to right,#fff 0%,transparent 100%)}\n"],encapsulation:2}),i})(),fce=(()=>{class i{click(e){this.isOutside(e)&&this.emitClose("cancel")}onScroll(){this.onScreenMovement()}onResize(){this.onScreenMovement()}constructor(e,n){this.service=e,this.cdr=n,this.color="#000000",this.previewColor="#000000",this.hsva=new Yu(0,1,1,1),this.colorsAnimationEffect="slide-in",this.palette=cO,this.variants=[],this.colorFormats=yv,this.format=ic.HEX,this.canChangeFormat=!0,this.menu=1,this.hideColorPicker=!1,this.hideTextInput=!1,this.colorPickerControls="default"}ngOnInit(){this.setPosition(),this.hsva=this.service.stringToHsva(this.color),this.indexSeleccionado=this.findIndexSelectedColor(this.palette)}ngAfterViewInit(){this.setPositionY()}onScreenMovement(){this.setPosition(),this.setPositionY(),this.panelRef.nativeElement.style.transition||(this.panelRef.nativeElement.style.transition="transform 0.5s ease-out")}findIndexSelectedColor(e){let n;if(this.color)for(let r=0;rwindow.innerWidth?n.right<250?window.innerWidth/2-125:n.right-250:n.left}}setPositionY(){const e=this.TriggerBBox.nativeElement.getBoundingClientRect(),n=this.panelRef.nativeElement.getBoundingClientRect();this.positionString=e.bottom+n.height>window.innerHeight?e.topn.toUpperCase()==this.previewColor.toUpperCase())}isSelected(e){return!!this.previewColor&&"string"==typeof e&&e.toUpperCase()==this.previewColor.toUpperCase()}getBackgroundColor(e){return"string"==typeof e?{background:e}:{background:e?.preview}}onAlphaChange(e){this.palette=this.ChangeAlphaOnPalette(e,this.palette)}ChangeAlphaOnPalette(e,n){var r=[];for(let a=0;a slide-in",[wd(":enter",hi({opacity:0}),{optional:!0}),wd(":enter",S6("10ms",[ir(".3s ease-in",Eg([hi({opacity:0,transform:"translatex(-50%)",offset:0}),hi({opacity:.5,transform:"translatex(-10px) scale(1.1)",offset:.3}),hi({opacity:1,transform:"translatex(0)",offset:1})]))]),{optional:!0})]),nr("void => popup",[wd(":enter",hi({opacity:0,transform:"scale(0)"}),{optional:!0}),wd(":enter",S6("10ms",[ir("500ms ease-out",Eg([hi({opacity:.5,transform:"scale(.5)",offset:.3}),hi({opacity:1,transform:"scale(1.1)",offset:.8}),hi({opacity:1,transform:"scale(1)",offset:1})]))]),{optional:!0})])])]}}),i})();const uO={position:"fixed",height:"100%",width:"100%","z-index":2e3,top:0,left:0};let hO=(()=>{class i{constructor(e,n,r){this.resolver=e,this.applicationRef=n,this.injector=r}createPanel(e,n){null!=this.componentRef&&this.removePanel();const r=this.resolver.resolveComponentFactory(fce);this.componentRef=r.create(this.injector),this.applicationRef.attachView(this.componentRef.hostView);const a=this.componentRef.hostView.rootNodes[0];return this.overlay=document.createElement("div"),this.overlay.id="ngx-colors-overlay",this.overlay.classList.add("ngx-colors-overlay"),this.overlay.classList.add(n),Object.keys(uO).forEach(o=>{this.overlay.style[o]=uO[o]}),e?document.getElementById(e).appendChild(this.overlay):document.body.appendChild(this.overlay),this.overlay.appendChild(a),this.componentRef}removePanel(){this.applicationRef.detachView(this.componentRef.hostView),this.componentRef.destroy(),this.overlay.remove()}}return i.\u0275fac=function(e){return new(e||i)(Ee(nd),Ee(ld),Ee(Wr))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})(),pce=(()=>{class i{onClick(){this.openPanel()}constructor(e,n){this.triggerRef=e,this.panelFactory=n,this.color="",this.colorsAnimation="slide-in",this.position="bottom",this.attachTo=void 0,this.overlayClassName=void 0,this.colorPickerControls="default",this.acceptLabel="ACCEPT",this.cancelLabel="CANCEL",this.change=new ht,this.input=new ht,this.slider=new ht,this.close=new ht,this.open=new ht,this.isDisabled=!1,this.onTouchedCallback=()=>{},this.onChangeCallback=()=>{}}openPanel(){this.isDisabled||(this.panelRef=this.panelFactory.createPanel(this.attachTo,this.overlayClassName),this.panelRef.instance.iniciate(this,this.triggerRef,this.color,this.palette,this.colorsAnimation,this.format,this.hideTextInput,this.hideColorPicker,this.acceptLabel,this.cancelLabel,this.colorPickerControls,this.position)),this.open.emit(this.color)}closePanel(){this.panelFactory.removePanel(),this.onTouchedCallback(),this.close.emit(this.color)}onChange(){this.onChangeCallback(this.color)}setDisabledState(e){this.isDisabled=e,this.triggerRef.nativeElement.style.opacity=e?.5:1}setColor(e){this.writeValue(e),this.input.emit(e)}sliderChange(e){this.slider.emit(e)}get value(){return this.color}set value(e){this.setColor(e),this.onChangeCallback(e)}writeValue(e){e!==this.color&&(this.color=e,this.onChange(),this.change.emit(e))}registerOnChange(e){this.onChangeCallback=e}registerOnTouched(e){this.onTouchedCallback=e}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(hO))},i.\u0275dir=Oe({type:i,selectors:[["","ngx-colors-trigger",""]],hostBindings:function(e,n){1&e&&pe("click",function(){return n.onClick()})},inputs:{colorsAnimation:"colorsAnimation",palette:"palette",format:"format",position:"position",hideTextInput:"hideTextInput",hideColorPicker:"hideColorPicker",attachTo:"attachTo",overlayClassName:"overlayClassName",colorPickerControls:"colorPickerControls",acceptLabel:"acceptLabel",cancelLabel:"cancelLabel"},outputs:{change:"change",input:"input",slider:"slider",close:"close",open:"open"},features:[Ot([{provide:ba,useExisting:ci(()=>i),multi:!0}])]}),i})(),gce=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[fD,hO],imports:[Mr]}),i})();function _ce(i,t){if(1&i&&(y(0,"mat-option",11),B(1),k()),2&i){const e=t.$implicit;N("value",e.id),A(1),ri(" ",e.name," ")}}class $_{constructor(t,e,n){this.appState=t,this.dialogRef=e,this.data=n,this.styles=lO,this.data.name="",this.data.color="#673ab7"}onNoClick(){this.data.name="",this.data.color="#673ab7",this.dialogRef.close()}}$_.\u0275fac=function(t){return new(t||$_)(D(ln),D(Hs),D(Ac))},$_.\u0275cmp=$e({type:$_,selectors:[["create-circle-dialog"]],decls:33,vars:11,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content",""],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["appearance","fill",1,"circle-input"],["matPrefix","","ngx-colors-trigger","",1,"color",3,"ngModel","ngModelChange"],["matInput","",3,"ngModel","ngModelChange"],[3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-dialog-actions","","align","end"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"h1",1),B(2,"Create Circle"),k(),y(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),B(6,"supervised_user_circle"),k(),y(7,"mat-label"),B(8,"Circle Name"),k(),y(9,"input",5),pe("ngModelChange",function(r){return e.data.name=r}),k()(),y(10,"mat-form-field",6)(11,"div",7),pe("ngModelChange",function(r){return e.data.color=r}),k(),y(12,"mat-label"),B(13,"Color"),k(),y(14,"input",8),pe("ngModelChange",function(r){return e.data.color=r}),k()(),y(15,"mat-form-field",6)(16,"mat-label"),B(17,"Type"),k(),y(18,"mat-select",9),pe("valueChange",function(r){return e.data.style=r}),oe(19,_ce,2,2,"mat-option",10),k()(),y(20,"mat-form-field",6)(21,"mat-label"),B(22,"Visibility"),k(),y(23,"mat-select",9),pe("valueChange",function(r){return e.data.public=r}),y(24,"mat-option",11),B(25," Public "),k(),y(26,"mat-option",11),B(27," Private "),k()()()(),y(28,"div",12)(29,"button",13),pe("click",function(){return e.onNoClick()}),B(30,"Cancel"),k(),y(31,"button",14),B(32,"Save"),k()()()),2&t&&(A(9),N("ngModel",e.data.name),A(2),tr("background",e.data.color),N("ngModel",e.data.color),A(3),N("ngModel",e.data.color),A(4),N("value",e.data.style),A(1),N("ngForOf",e.styles),A(4),N("value",e.data.public),A(1),N("value",!0),A(2),N("value",!1),A(5),N("mat-dialog-close",e.data))},dependencies:[Gn,rs,Eo,Wo,Pc,Cr,_v,Ah,pr,uo,Wa,Ga,Rf,Oh,gu,_u,pce],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}.circle[_ngcontent-%COMP%]{cursor:pointer}.circle[_ngcontent-%COMP%]:hover{color:#fff}.color[_ngcontent-%COMP%]{width:24px;height:24px;border:2px solid #fff;margin:12px;border-radius:50%}.circle-input[_ngcontent-%COMP%]{margin-right:1em}@media only screen and (max-width: 540px){.circle-input[_ngcontent-%COMP%]{margin-right:0;width:100%}}"]});let K_=(()=>{class i{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=xt(e)}get inset(){return this._inset}set inset(e){this._inset=xt(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=$e({type:i,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,n){2&e&&(Nt("aria-orientation",n.vertical?"vertical":"horizontal"),Mt("mat-divider-vertical",n.vertical)("mat-divider-horizontal",!n.vertical)("mat-divider-inset",n.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,n){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),i})(),bce=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt,Kt]}),i})();const pD=["*"],gD='@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}',mO=["unscopedContent"],yce=["text"],vce=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],wce=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];function Fce(i,t){1&i&&wt(0,4)}function xce(i,t){if(1&i&&(y(0,"div",11),De(1,"input",12),y(2,"div",13),_o(),y(3,"svg",14),De(4,"path",15),k(),Ol(),De(5,"div",16),k()()),2&i){const e=X();Mt("mdc-checkbox--disabled",e.disabled),A(1),N("checked",e.selected)("disabled",e.disabled)}}function kce(i,t){if(1&i&&(y(0,"div",17),De(1,"input",18),y(2,"div",19),De(3,"div",20)(4,"div",21),k()()),2&i){const e=X();Mt("mdc-radio--disabled",e.disabled),A(1),N("checked",e.selected)("disabled",e.disabled)}}function Cce(i,t){}function Dce(i,t){if(1&i&&(y(0,"span",22),oe(1,Cce,0,0,"ng-template",23),k()),2&i){X();const e=en(3);A(1),N("ngTemplateOutlet",e)}}function Mce(i,t){}function Ece(i,t){if(1&i&&(y(0,"span",24),oe(1,Mce,0,0,"ng-template",23),k()),2&i){X();const e=en(5);A(1),N("ngTemplateOutlet",e)}}function Sce(i,t){}function Ace(i,t){1&i&&oe(0,Sce,0,0,"ng-template",23),2&i&&(X(),N("ngTemplateOutlet",en(1)))}function Tce(i,t){}function Ice(i,t){if(1&i&&(y(0,"span",25),oe(1,Tce,0,0,"ng-template",23),k()),2&i){X();const e=en(3);A(1),N("ngTemplateOutlet",e)}}function Nce(i,t){}function Lce(i,t){if(1&i&&(y(0,"span",25),oe(1,Nce,0,0,"ng-template",23),k()),2&i){X();const e=en(5);A(1),N("ngTemplateOutlet",e)}}function Oce(i,t){}function Rce(i,t){1&i&&oe(0,Oce,0,0,"ng-template",23),2&i&&(X(),N("ngTemplateOutlet",en(1)))}const Pce=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],Bce=["[matListItemTitle]","[matListItemLine]","*","mat-divider","[matListItemAvatar],[matListItemIcon]"],fO=new Ke("ListOption");let wv=(()=>{class i{constructor(e){this._elementRef=e}}return i.\u0275fac=function(e){return new(e||i)(D(_t))},i.\u0275dir=Oe({type:i,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),i})(),Fv=(()=>{class i{constructor(e){this._elementRef=e}}return i.\u0275fac=function(e){return new(e||i)(D(_t))},i.\u0275dir=Oe({type:i,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),i})(),pO=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),i})(),gO=(()=>{class i{constructor(e){this._listOption=e}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}}return i.\u0275fac=function(e){return new(e||i)(D(fO,8))},i.\u0275dir=Oe({type:i,hostVars:4,hostBindings:function(e,n){2&e&&Mt("mdc-list-item__start",n._isAlignedAtStart())("mdc-list-item__end",!n._isAlignedAtStart())}}),i})(),xv=(()=>{class i extends gO{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[ot]}),i})(),_D=(()=>{class i extends gO{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[ot]}),i})();const Hce=new Ke("MAT_LIST_CONFIG");let ju=(()=>{class i{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=Xt(Hce,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=xt(e)}get disabled(){return this._disabled}set disabled(e){this._disabled=xt(e)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,hostVars:1,hostBindings:function(e,n){2&e&&Nt("aria-disabled",n.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),i})(),bD=(()=>{class i{set lines(e){this._explicitLines=vr(e,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=xt(e)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(e){this._disabled=xt(e)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(e,n,r,a,o,c){this._elementRef=e,this._ngZone=n,this._listBase=r,this._platform=a,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new x,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=o||{},this._hostElement=this._elementRef.nativeElement,this._noopAnimations="NoopAnimations"===c,r&&!r._isNonInteractive&&this._initInteractiveListItem(),"button"===this._hostElement.nodeName.toLowerCase()&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new Df(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(Rn(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();const n=this._explicitLines??this._inferLinesFromContent(),r=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",n<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===n),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===n),this._hasUnscopedTextContent){const a=0===this._titles.length&&1===n;r.classList.toggle("mdc-list-item__primary-text",a),r.classList.toggle("mdc-list-item__secondary-text",!a)}else r.classList.remove("mdc-list-item__primary-text"),r.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!(!e.textContent||!e.textContent.trim()))}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Rt),D(ju,8),D(Pn),D(yd,8),D(Tn,8))},i.\u0275dir=Oe({type:i,contentQueries:function(e,n,r){if(1&e&&(di(r,xv,4),di(r,_D,4)),2&e){let a;Qe(a=Ze())&&(n._avatars=a),Qe(a=Ze())&&(n._icons=a)}},hostVars:3,hostBindings:function(e,n){2&e&&(Nt("aria-disabled",n.disabled),Mt("mdc-list-item--disabled",n.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),i})(),Vce=(()=>{class i extends ju{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275cmp=$e({type:i,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[Ot([{provide:ju,useExisting:i}]),ot],ngContentSelectors:pD,decls:1,vars:0,template:function(e,n){1&e&&(Hi(),wt(0))},styles:[gD],encapsulation:2,changeDetection:0}),i})(),yD=(()=>{class i extends bD{get activated(){return this._activated}set activated(e){this._activated=xt(e)}constructor(e,n,r,a,o,c){super(e,n,r,a,o,c),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Rt),D(ju,8),D(Pn),D(yd,8),D(Tn,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,n,r){if(1&e&&(di(r,Fv,5),di(r,wv,5),di(r,pO,5)),2&e){let a;Qe(a=Ze())&&(n._lines=a),Qe(a=Ze())&&(n._titles=a),Qe(a=Ze())&&(n._meta=a)}},viewQuery:function(e,n){if(1&e&&(Tt(mO,5),Tt(yce,5)),2&e){let r;Qe(r=Ze())&&(n._unscopedContent=r.first),Qe(r=Ze())&&(n._itemText=r.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(e,n){2&e&&(Nt("aria-current",n._getAriaCurrent()),Mt("mdc-list-item--activated",n.activated)("mdc-list-item--with-leading-avatar",0!==n._avatars.length)("mdc-list-item--with-leading-icon",0!==n._icons.length)("mdc-list-item--with-trailing-meta",0!==n._meta.length)("_mat-animation-noopable",n._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[ot],ngContentSelectors:wce,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(e,n){1&e&&(Hi(vce),wt(0),y(1,"span",0),wt(2,1),wt(3,2),y(4,"span",1,2),pe("cdkObserveContent",function(){return n._updateItemLines(!0)}),wt(6,3),k()(),wt(7,4),wt(8,5),De(9,"div",3))},dependencies:[bf],encapsulation:2,changeDetection:0}),i})();const _O=new Ke("SelectionList");let bO=(()=>{class i extends bD{get checkboxPosition(){return this.togglePosition}set checkboxPosition(e){this.togglePosition=e}get color(){return this._color||this._selectionList.color}set color(e){this._color=e}get value(){return this._value}set value(e){this.selected&&e!==this.value&&this._inputsInitialized&&(this.selected=!1),this._value=e}get selected(){return this._selectionList.selectedOptions.isSelected(this)}set selected(e){const n=xt(e);n!==this._selected&&(this._setSelected(n),(n||this._selectionList.multiple)&&this._selectionList._reportValueChange())}constructor(e,n,r,a,o,c,h){super(e,n,r,a,c,h),this._selectionList=r,this._changeDetectorRef=o,this.selectedChange=new ht,this.togglePosition="after",this._selected=!1,this._inputsInitialized=!1}ngOnInit(){const e=this._selectionList;e._value&&e._value.some(r=>e.compareWith(this._value,r))&&this._setSelected(!0);const n=this._selected;Promise.resolve().then(()=>{(this._selected||n)&&(this.selected=!0,this._changeDetectorRef.markForCheck())}),this._inputsInitialized=!0}ngOnDestroy(){super.ngOnDestroy(),this.selected&&Promise.resolve().then(()=>{this.selected=!1})}toggle(){this.selected=!this.selected}focus(){this._hostElement.focus()}getLabel(){return(this._titles?.get(0)?._elementRef.nativeElement||this._unscopedContent?.nativeElement)?.textContent||""}_hasCheckboxAt(e){return this._selectionList.multiple&&this._getTogglePosition()===e}_hasRadioAt(e){return!this._selectionList.multiple&&this._getTogglePosition()===e&&!this._selectionList.hideSingleSelectionIndicator}_hasIconsOrAvatarsAt(e){return this._hasProjected("icons",e)||this._hasProjected("avatars",e)}_hasProjected(e,n){return this._getTogglePosition()!==n&&("avatars"===e?0!==this._avatars.length:0!==this._icons.length)}_handleBlur(){this._selectionList._onTouched()}_getTogglePosition(){return this.togglePosition||"after"}_setSelected(e){return e!==this._selected&&(this._selected=e,e?this._selectionList.selectedOptions.select(this):this._selectionList.selectedOptions.deselect(this),this.selectedChange.emit(e),this._changeDetectorRef.markForCheck(),!0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_toggleOnInteraction(){this.disabled||(this._selectionList.multiple?(this.selected=!this.selected,this._selectionList._emitChangeEvent([this])):this.selected||(this.selected=!0,this._selectionList._emitChangeEvent([this])))}_setTabindex(e){this._hostElement.setAttribute("tabindex",e+"")}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Rt),D(_O),D(Pn),D(li),D(yd,8),D(Tn,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-list-option"]],contentQueries:function(e,n,r){if(1&e&&(di(r,Fv,5),di(r,wv,5)),2&e){let a;Qe(a=Ze())&&(n._lines=a),Qe(a=Ze())&&(n._titles=a)}},viewQuery:function(e,n){if(1&e&&Tt(mO,5),2&e){let r;Qe(r=Ze())&&(n._unscopedContent=r.first)}},hostAttrs:["role","option",1,"mat-mdc-list-item","mat-mdc-list-option","mdc-list-item"],hostVars:25,hostBindings:function(e,n){1&e&&pe("blur",function(){return n._handleBlur()})("click",function(){return n._toggleOnInteraction()}),2&e&&(Nt("aria-selected",n.selected),Mt("mdc-list-item--selected",n.selected&&!n._selectionList.multiple&&n._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar",n._hasProjected("avatars","before"))("mdc-list-item--with-leading-icon",n._hasProjected("icons","before"))("mdc-list-item--with-trailing-icon",n._hasProjected("icons","after"))("mat-mdc-list-option-with-trailing-avatar",n._hasProjected("avatars","after"))("mdc-list-item--with-leading-checkbox",n._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox",n._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio",n._hasRadioAt("before"))("mdc-list-item--with-trailing-radio",n._hasRadioAt("after"))("mat-accent","primary"!==n.color&&"warn"!==n.color)("mat-warn","warn"===n.color)("_mat-animation-noopable",n._noopAnimations))},inputs:{togglePosition:"togglePosition",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[Ot([{provide:bD,useExisting:i},{provide:fO,useExisting:i}]),ot],ngContentSelectors:Bce,decls:20,vars:6,consts:[["icons",""],["checkbox",""],["radio",""],["class","mdc-list-item__start mat-mdc-list-option-checkbox-before",4,"ngIf"],["class","mdc-list-item__start mat-mdc-list-option-radio-before",4,"ngIf"],[3,"ngIf"],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],["class","mdc-list-item__end",4,"ngIf"],[1,"mat-mdc-focus-indicator"],[1,"mdc-checkbox"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled"],[1,"mdc-checkbox__background"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],[1,"mdc-radio"],["type","radio",1,"mdc-radio__native-control",3,"checked","disabled"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],[1,"mdc-list-item__start","mat-mdc-list-option-checkbox-before"],[3,"ngTemplateOutlet"],[1,"mdc-list-item__start","mat-mdc-list-option-radio-before"],[1,"mdc-list-item__end"]],template:function(e,n){1&e&&(Hi(Pce),oe(0,Fce,1,0,"ng-template",null,0,dl),oe(2,xce,6,4,"ng-template",null,1,dl),oe(4,kce,5,4,"ng-template",null,2,dl),oe(6,Dce,2,1,"span",3),oe(7,Ece,2,1,"span",4),oe(8,Ace,1,1,"ng-template",5),y(9,"span",6),wt(10),wt(11,1),y(12,"span",7,8),pe("cdkObserveContent",function(){return n._updateItemLines(!0)}),wt(14,2),k()(),oe(15,Ice,2,1,"span",9),oe(16,Lce,2,1,"span",9),oe(17,Rce,1,1,"ng-template",5),wt(18,3),De(19,"div",10)),2&e&&(A(6),N("ngIf",n._hasCheckboxAt("before")),A(1),N("ngIf",n._hasRadioAt("before")),A(1),N("ngIf",n._hasIconsOrAvatarsAt("before")),A(7),N("ngIf",n._hasCheckboxAt("after")),A(1),N("ngIf",n._hasRadioAt("after")),A(1),N("ngIf",n._hasIconsOrAvatarsAt("after")))},dependencies:[bf,mi,ug],styles:['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item,.mat-mdc-list-option-with-trailing-avatar.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end,.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-touch-target-wrapper{display:inline}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mat-mdc-list-option .mdc-checkbox[hidden]{display:none}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mat-mdc-list-option .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0}.mdc-checkbox--upgraded .mat-mdc-list-option .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__checkmark-path{stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mat-mdc-list-option .mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mat-mdc-list-option .mdc-radio[hidden]{display:none}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:""}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mat-mdc-list-option .mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mat-mdc-list-option .mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mat-mdc-list-option .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mat-mdc-list-option .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mat-mdc-list-option .mdc-radio--disabled{cursor:default;pointer-events:none}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background,.mat-mdc-list-option [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}@media all and (-ms-high-contrast: none){.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__background{transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__mixedmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option:not(._mat-animation-noopable) .mdc-radio__native-control:focus+.mdc-radio__background::before{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:#018786;border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-state-layer-size, 40px);height:40px;height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio{padding:calc((40px - 20px) / 2);padding:calc((var(--mdc-radio-state-layer-size, 40px) - 20px) / 2)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#000;border-color:var(--mdc-radio-disabled-selected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-disabled-unselected-icon-color, #000)}.mat-mdc-list-option .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:0.38;opacity:var(--mdc-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:#6200ee;border-color:var(--mdc-radio-selected-icon-color, #6200ee)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:#6200ee;border-color:var(--mdc-radio-selected-icon-color, #6200ee)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:#000;border-color:var(--mdc-radio-unselected-icon-color, #000)}.mat-mdc-list-option .mdc-radio .mdc-radio__background::before{top:calc(-1 * (40px - 20px) / 2);top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (40px - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-radio .mdc-radio__native-control{top:calc((40px - 40px) / 2);top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:40px;width:var(--mdc-radio-state-layer-size, 40px);height:40px;height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}'],encapsulation:2,changeDetection:0}),i})(),vD=(()=>{class i extends ju{constructor(){super(...arguments),this._isNonInteractive=!1}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275cmp=$e({type:i,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[Ot([{provide:ju,useExisting:i}]),ot],ngContentSelectors:pD,decls:1,vars:0,template:function(e,n){1&e&&(Hi(),wt(0))},styles:[gD],encapsulation:2,changeDetection:0}),i})();const Yce={provide:ba,useExisting:ci(()=>yO),multi:!0};class jce{constructor(t,e){this.source=t,this.options=e}}let yO=(()=>{class i extends ju{get multiple(){return this._multiple}set multiple(e){const n=xt(e);n!==this._multiple&&(this._multiple=n,this.selectedOptions=new sv(this._multiple,this.selectedOptions.selected))}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=xt(e)}constructor(e,n){super(),this._element=e,this._ngZone=n,this._initialized=!1,this._destroyed=new He,this._onChange=r=>{},this.selectionChange=new ht,this.color="accent",this.compareWith=(r,a)=>r===a,this._multiple=!0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.selectedOptions=new sv(this._multiple),this._onTouched=()=>{},this._selectionListDisabled=!1,this._handleFocusout=()=>{setTimeout(()=>{this._containsFocus()||this._resetActiveOption()})},this._handleFocusin=r=>{if(this.disabled)return;const a=this._items.toArray().findIndex(o=>o._elementRef.nativeElement.contains(r.target));a>-1?this._setActiveOption(a):this._resetActiveOption()},this._isNonInteractive=!1}ngAfterViewInit(){this._initialized=!0,this._setupRovingTabindex(),this._ngZone.runOutsideAngular(()=>{this._element.nativeElement.addEventListener("focusin",this._handleFocusin),this._element.nativeElement.addEventListener("focusout",this._handleFocusout)}),this._value&&this._setOptionsFromValues(this._value),this._watchForSelectionChange()}ngOnChanges(e){const n=e.disabled,r=e.disableRipple,a=e.hideSingleSelectionIndicator;(r&&!r.firstChange||n&&!n.firstChange||a&&!a.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._element.nativeElement.removeEventListener("focusin",this._handleFocusin),this._element.nativeElement.removeEventListener("focusout",this._handleFocusout),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(e){this._element.nativeElement.focus(e)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_reportValueChange(){if(this.options&&!this._isDestroyed){const e=this._getSelectedOptionValues();this._onChange(e),this._value=e}}_emitChangeEvent(e){this.selectionChange.emit(new jce(this,e))}writeValue(e){this._value=e,this.options&&this._setOptionsFromValues(e||[])}setDisabledState(e){this.disabled=e}get disabled(){return this._selectionListDisabled}set disabled(e){this._selectionListDisabled=xt(e),this._selectionListDisabled&&this._keyManager?.setActiveItem(-1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}_watchForSelectionChange(){this.selectedOptions.changed.pipe(ti(this._destroyed)).subscribe(e=>{for(let n of e.added)n.selected=!0;for(let n of e.removed)n.selected=!1;this._containsFocus()||this._resetActiveOption()})}_setOptionsFromValues(e){this.options.forEach(n=>n._setSelected(!1)),e.forEach(n=>{const r=this.options.find(a=>!a.selected&&this.compareWith(a.value,n));r&&r._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(e=>e.selected).map(e=>e.value)}_markOptionsForCheck(){this.options&&this.options.forEach(e=>e._markForCheck())}_setAllOptionsSelected(e,n){const r=[];return this.options.forEach(a=>{(!n||!a.disabled)&&a._setSelected(e)&&r.push(a)}),r.length&&this._reportValueChange(),r}get options(){return this._items}_handleKeydown(e){const n=this._keyManager.activeItem;if(13!==e.keyCode&&32!==e.keyCode||this._keyManager.isTyping()||!n||n.disabled)if(65===e.keyCode&&this.multiple&&!this._keyManager.isTyping()&&ga(e,"ctrlKey")){const r=this.options.some(a=>!a.disabled&&!a.selected);e.preventDefault(),this._emitChangeEvent(this._setAllOptionsSelected(r,!0))}else this._keyManager.onKeydown(e);else e.preventDefault(),n._toggleOnInteraction()}_setupRovingTabindex(){this._keyManager=new Fg(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(()=>this.disabled),this._resetActiveOption(),this._keyManager.change.subscribe(e=>this._setActiveOption(e)),this._items.changes.pipe(ti(this._destroyed)).subscribe(()=>{const e=this._keyManager.activeItem;(!e||!this._items.toArray().indexOf(e))&&this._resetActiveOption()})}_setActiveOption(e){this._items.forEach((n,r)=>n._setTabindex(r===e?0:-1)),this._keyManager.updateActiveItem(e)}_resetActiveOption(){if(this.disabled)return void this._setActiveOption(-1);const e=this._items.find(n=>n.selected&&!n.disabled)||this._items.first;this._setActiveOption(e?this._items.toArray().indexOf(e):-1)}_containsFocus(){const e=lb();return e&&this._element.nativeElement.contains(e)}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Rt))},i.\u0275cmp=$e({type:i,selectors:[["mat-selection-list"]],contentQueries:function(e,n,r){if(1&e&&di(r,bO,5),2&e){let a;Qe(a=Ze())&&(n._items=a)}},hostAttrs:["role","listbox",1,"mat-mdc-selection-list","mat-mdc-list-base","mdc-list"],hostVars:1,hostBindings:function(e,n){1&e&&pe("keydown",function(a){return n._handleKeydown(a)}),2&e&&Nt("aria-multiselectable",n.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[Ot([Yce,{provide:ju,useExisting:i},{provide:_O,useExisting:i}]),ot,mr],ngContentSelectors:pD,decls:1,vars:0,template:function(e,n){1&e&&(Hi(),wt(0))},styles:[gD],encapsulation:2,changeDetection:0}),i})(),zce=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[wg,Mr,Kt,Rs,x6,bce]}),i})();class Q_{constructor(){}transform(t){return t?lO.find(e=>e.id==t)?.name:"Pipes"}}function Uce(i,t){1&i&&(y(0,"span"),B(1,"Public"),k())}function Wce(i,t){1&i&&(y(0,"span"),B(1,"Private"),k())}function Gce(i,t){if(1&i){const e=tt();y(0,"button",14),pe("click",function(){Te(e);const r=X().$implicit;return Ie(X().deleteCircle(r.id))}),y(1,"mat-icon"),B(2,"delete"),k(),y(3,"span"),B(4,"Delete Circle"),k()()}}function qce(i,t){if(1&i){const e=tt();y(0,"mat-card",2),pe("click",function(r){const o=Te(e).$implicit;return Ie(X().navigation.openFeed(r,o))}),y(1,"div",3)(2,"mat-icon",4),B(3,"trip_origin"),k()(),y(4,"div",5),B(5),De(6,"br"),y(7,"span",6)(8,"span"),B(9),k()(),De(10,"br"),y(11,"span",6),oe(12,Uce,2,0,"span",7),oe(13,Wce,2,0,"span",7),B(14),zi(15,"circlestyle"),zi(16,"ago"),k()(),y(17,"div",5)(18,"button",8)(19,"mat-icon",9),B(20,"more_vert"),k()(),y(21,"mat-menu",null,10)(23,"button",11)(24,"mat-icon"),B(25,"copy_all"),k(),y(26,"span"),B(27,"Copy"),k()(),oe(28,Gce,5,0,"button",12),k(),y(29,"mat-menu",null,13)(31,"button",14),pe("click",function(){const a=Te(e).$implicit;return Ie(X().copyPubKeys(a))}),y(32,"mat-icon"),B(33,"content_copy"),k(),y(34,"span"),B(35,"Public Keys (npub)"),k()(),y(36,"button",14),pe("click",function(){const a=Te(e).$implicit;return Ie(X().copyPubKeysHex(a))}),y(37,"mat-icon"),B(38,"content_copy"),k(),y(39,"span"),B(40,"Public Keys (hex)"),k()()()()()}if(2&i){const e=t.$implicit,n=en(22),r=en(30),a=X();A(2),tr("color",e.color),A(3),ri(" ",e.name,""),A(4),ri("Count: ",a.countMembers(e),""),A(3),N("ngIf",e.public),A(1),N("ngIf",!e.public),A(1),bh(" - ",Ui(15,11,e.style)," - Created: ",Ui(16,13,e.created),""),A(4),N("matMenuTriggerFor",n),A(5),N("matMenuTriggerFor",r),A(5),N("ngIf",e.id)}}Q_.\u0275fac=function(t){return new(t||Q_)},Q_.\u0275pipe=Lr({name:"circlestyle",type:Q_,pure:!0});class Z_{constructor(t,e,n,r,a,o,c,h,f,F,R,W,te){this.navigation=t,this.appState=e,this.circleService=n,this.profileService=r,this.dialog=a,this.validator=o,this.utilities=c,this.authService=h,this.router=f,this.dataService=F,this.snackBar=R,this.cd=W,this.ngZone=te,this.loading=!1,this.subscriptions=[]}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}deleteCircle(t){var e=this;return Se(function*(){const n=e.getFollowingInCircle(t).map(a=>a.pubkey);yield e.circleService.delete(t);for(var r=0;rnull==e.circle||0==e.circle:e=>e.circle==t)}copyPubKeys(t){let e=this.getPublicKeys(t);e=e.map(n=>this.utilities.getNostrIdentifier(n)),this.copy(JSON.stringify(e))}copyPubKeysHex(t){const e=this.getPublicKeys(t);this.copy(JSON.stringify(e))}getPublicKeys(t){return this.getFollowingInCircle(t.id).map(r=>r.pubkey)}getPublicPublicKeys(){console.log(this.profileService.following);const t=[];for(let e=0;eo.pubkey);t.push(...a)}}return t}getNpub(t){return this.utilities.getNostrIdentifier(t)}createCircle(){var t=this;this.dialog.open($_,{data:{name:"",style:1,public:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){r&&t.circleService.put(r)});return function(r){return n.apply(this,arguments)}}())}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("Circles"),t.appState.showBackButton=!1,t.appState.actions=[{icon:"add_circle",tooltip:"Create Circle",click:()=>{t.createCircle()}}]})()}}Z_.\u0275fac=function(t){return new(t||Z_)(D(Ao),D(ln),D(So),D(Vn),D(ja),D(Uo),D(Nn),D(Da),D(rr),D(Ka),D(js),D(li),D(Rt))},Z_.\u0275cmp=$e({type:Z_,selectors:[["app-circles"]],decls:4,vars:1,consts:[[1,"feed-page"],["class","circle circle-container clickable",3,"click",4,"ngFor","ngForOf"],[1,"circle","circle-container","clickable",3,"click"],[1,"circle-item"],["matListItemIcon",""],[1,"circle-item","clickable"],[1,"dimmed","clickable"],[4,"ngIf"],["mat-icon-button","",1,"circle-button",3,"matMenuTriggerFor"],[1,"circle-button-icon"],["menu","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click",4,"ngIf"],["copyMenu","matMenu"],["mat-menu-item","",3,"click"]],template:function(t,e){1&t&&(y(0,"div",0),oe(1,qce,41,15,"mat-card",1),y(2,"small"),B(3,"Circles is how you organize people you follow. Different circles can have different rules applied and circles is an important way to make the experience more enjoyable."),k()()),2&t&&(A(1),N("ngForOf",e.circleService.circles))},dependencies:[Gn,mi,Do,Sa,pr,_D,om,jc,L_,Gs,Q_],styles:[".loading[_ngcontent-%COMP%]{margin:auto}.input-full-width[_ngcontent-%COMP%]{width:100%!important}.search[_ngcontent-%COMP%]{margin-top:1em;padding:1em 1em 0;margin-bottom:1em;border-radius:10px}.circle-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-content:center;align-items:center;column-gap:1em;margin-top:1em;padding:1em;margin-bottom:1em;border-radius:10px}.circle-item[_ngcontent-%COMP%]:nth-child(1){order:0;flex:0 1 auto;align-self:auto}.circle-item[_ngcontent-%COMP%]:nth-child(2){order:0;flex:1 1 auto;align-self:auto}.circle-item[_ngcontent-%COMP%]:nth-child(3){order:0;flex:0 1 auto;align-self:auto}.circle-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:.4em;margin-bottom:.4em}"]});class X_{constructor(t,e){this.dialogRef=t,this.data=e}onNoClick(){this.data.pubkey="",this.dialogRef.close()}}X_.\u0275fac=function(t){return new(t||X_)(D(Hs),D(Ac))},X_.\u0275cmp=$e({type:X_,selectors:[["create-follow-dialog"]],decls:15,vars:2,consts:[[1,"dialog"],["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"h1",1),B(2,"Enter Public Key or Alias (NIP-05) to Follow"),k(),y(3,"div",2)(4,"mat-form-field",3)(5,"mat-icon",4),B(6,"person_add"),k(),y(7,"mat-label"),B(8,"Public Key / Alias"),k(),y(9,"input",5),pe("ngModelChange",function(r){return e.data.pubkey=r}),k()()(),y(10,"div",6)(11,"button",7),pe("click",function(){return e.onNoClick()}),B(12,"Cancel"),k(),y(13,"button",8),B(14,"Follow"),k()()()),2&t&&(A(9),N("ngModel",e.data.pubkey),A(4),N("mat-dialog-close",e.data))},dependencies:[rs,Eo,Wo,Pc,Cr,pr,uo,Wa,Ga,Rf,Oh,gu,_u],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});class J_{constructor(t,e,n){this.eventService=t,this.dialogRef=e,this.data=n}onNoClick(){this.data.pubkey="",this.dialogRef.close()}import(){this.data.import=!0,this.dialogRef.close(this.data)}onFileSelected(t){var e=t.target.files[0],n=new FileReader;n.onload=()=>{const r=JSON.parse(n.result),a=this.eventService.pTags(r).map(o=>o[1]);this.data.pubkeys=a,this.dialogRef.close(this.data)},n.readAsText(e)}}function $ce(i,t){if(1&i&&(y(0,"span",23),B(1),zi(2,"ago"),k()),2&i){const e=X().$implicit;A(1),ri("Followed ",Ui(2,1,e.created),"")}}function Kce(i,t){if(1&i){const e=tt();y(0,"mat-card",17),pe("click",function(r){const o=Te(e).$implicit;return Ie(X(3).navigation.openProfile(r,o))}),y(1,"div",18)(2,"app-event-header",19)(3,"small"),oe(4,$ce,3,3,"span",20),De(5,"app-directory-icon",21),k()(),De(6,"app-profile-actions",19),k(),y(7,"div",22),B(8),k()()}if(2&i){const e=t.$implicit;A(2),N("profile",e),A(2),N("ngIf",e.created),A(1),N("pubkey",e.pubkey),A(1),N("profile",e),A(2),Ct(e.about)}}function Qce(i,t){if(1&i&&oe(0,Kce,9,5,"mat-card",16),2&i){const e=X(2);N("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Zce(i,t){if(1&i&&De(0,"app-event-header",25),2&i){const e=t.$implicit;N("listType","content")("iconSize","small")("displayName",!0)("displayContent",!0)("profile",e)}}function Xce(i,t){if(1&i&&oe(0,Zce,1,5,"app-event-header",24),2&i){const e=X(2);N("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function Jce(i,t){if(1&i&&De(0,"app-event-header",25),2&i){const e=t.$implicit;N("listType","details")("iconSize","small")("displayName",!0)("displayContent",!0)("profile",e)}}function ede(i,t){if(1&i&&oe(0,Jce,1,5,"app-event-header",24),2&i){const e=X(2);N("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function tde(i,t){if(1&i&&De(0,"app-event-header",27),2&i){const e=t.$implicit;N("iconSize","small")("displayName",!1)("displayContent",!1)("profile",e)}}function ide(i,t){if(1&i&&oe(0,tde,1,4,"app-event-header",26),2&i){const e=X(2);N("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function nde(i,t){if(1&i&&De(0,"app-event-header",25),2&i){const e=t.$implicit;N("listType","icon")("iconSize","small")("displayName",!1)("displayContent",!1)("profile",e)}}function rde(i,t){if(1&i&&oe(0,nde,1,5,"app-event-header",24),2&i){const e=X(2);N("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function ade(i,t){if(1&i&&De(0,"app-event-header",25),2&i){const e=t.$implicit;N("listType","icon")("iconSize","medium")("displayName",!1)("displayContent",!1)("profile",e)}}function ode(i,t){if(1&i&&oe(0,ade,1,5,"app-event-header",24),2&i){const e=X(2);N("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function sde(i,t){if(1&i&&De(0,"app-event-header",25),2&i){const e=t.$implicit;N("listType","icon")("iconSize","large")("displayName",!1)("displayContent",!1)("profile",e)}}function lde(i,t){if(1&i&&oe(0,sde,1,5,"app-event-header",24),2&i){const e=X(2);N("ngForOf",e.sortedItems)("ngForTrackBy",e.trackByFn)}}function cde(i,t){if(1&i&&(oe(0,Qce,1,2,"ng-template",14),oe(1,Xce,1,2,"ng-template",14),oe(2,ede,1,2,"ng-template",14),oe(3,ide,1,2,"ng-template",14),oe(4,rde,1,2,"ng-template",14),oe(5,ode,1,2,"ng-template",14),oe(6,lde,1,2,"ng-template",14)),2&i){const e=X();N("ngIf",0==e.optionsService.values.peopleDisplayView||null==e.optionsService.values.peopleDisplayView),A(1),N("ngIf",1==e.optionsService.values.peopleDisplayView),A(1),N("ngIf",2==e.optionsService.values.peopleDisplayView),A(1),N("ngIf",3==e.optionsService.values.peopleDisplayView),A(1),N("ngIf",4==e.optionsService.values.peopleDisplayView),A(1),N("ngIf",5==e.optionsService.values.peopleDisplayView),A(1),N("ngIf",6==e.optionsService.values.peopleDisplayView)}}function dde(i,t){1&i&&De(0,"mat-spinner",28)}J_.\u0275fac=function(t){return new(t||J_)(D(zs),D(Hs),D(Ac))},J_.\u0275cmp=$e({type:J_,selectors:[["import-follow-dialog"]],decls:14,vars:0,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"mat-dialog-content"],["mat-stroked-button","",3,"click"],["type","file","accept",".json",3,"change"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"]],template:function(t,e){1&t&&(y(0,"h1",0),B(1,"Import complete following list"),k(),y(2,"div",1)(3,"p"),B(4,"Choose if you want to import from your latest contacts event or from file (backup) on your device."),k(),y(5,"p")(6,"button",2),pe("click",function(){return e.import()}),B(7,"Import my latest contacts"),k()(),y(8,"p"),B(9," Import from file: "),y(10,"input",3),pe("change",function(r){return e.onFileSelected(r)}),k()()(),y(11,"div",4)(12,"button",2),pe("click",function(){return e.onNoClick()}),B(13,"Cancel"),k()())},dependencies:[Cr,Oh,gu,_u],styles:[".input-full-width[_ngcontent-%COMP%]{width:100%!important}"]});const ude=function(i){return[i]};class e0{constructor(t,e,n,r,a,o,c,h,f,F,R,W){this.circleService=t,this.navigation=e,this.appState=n,this.cd=r,this.dialog=a,this.profileService=o,this.validator=c,this.dataService=h,this.utilities=f,this.router=F,this.snackBar=R,this.optionsService=W,this.loading=!1,this.showBlocked=!1,this.showCached=!1,this.showMuted=!1,this.showAbout=!0,this.showFollowingDate=!0,this.following=[],this.items=[],this.sortedItems=[],this.selected="name-asc",this.subscriptions=[]}updateSorting(){this.optionsService.save();const t=this.optionsService.values.peopleDisplaySort;"name-asc"===t?this.sortedItems=this.items.sort((e,n)=>e.name?.toLowerCase()e.name?.toLowerCase()e.followede.followede.created_ate.created_at{t.createFollow()}}],yield t.load(),t.subscriptions.push(t.profileService.following$.subscribe(Se(function*(){console.log("FOLLOWING CHANGED!!!"),yield t.load()}))),t.subscriptions.push(t.profileService.profilesChanged$.subscribe(Se(function*(){console.log("profileService.profilesChanged$!!"),yield t.load()})))})()}getFollowingInCircle(t){return this.following.filter(null==t?e=>null==e.circle||0==e.circle:e=>e.circle==t)}getPublicPublicKeys(){console.log(this.following);const t=[];for(let e=0;eo.pubkey);t.push(...a)}}return t}addFollow(t){var e=this;return Se(function*(){t.startsWith("nsec")?e.snackBar.open("This is a private key, not a public key.","Hide",{horizontalPosition:"center",verticalPosition:"bottom"}):(t=e.utilities.ensureHexIdentifier(t),yield e.profileService.follow(t))})()}createFollow(){var t=this;this.dialog.open(X_,{data:{},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){if(!r)return;let a=r.pubkey;a=a.replaceAll("[","").replaceAll("]","").replaceAll('"',"");const o=a.split(",");for(let c=0;c-1){o[c].startsWith("@")&&(o[c]=o[c].substring(1));const h=yield iC.queryProfile(o[c]);if(!h)return void t.snackBar.open("Unable to find the user.","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"});o[c]=h.pubkey}yield t.addFollow(o[c])}setTimeout(()=>{t.router.navigate(["/p",o[0]])},100)});return function(r){return n.apply(this,arguments)}}())}publishFollowList(){var t=this;return Se(function*(){const e=t.getPublicPublicKeys();yield t.dataService.publishContacts(e),t.snackBar.open(`A total of ${e.length} was added to your public following list`,"Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"})})()}downloadFollowing(){var t=this;return Se(function*(){const e=yield t.dataService.getContactsAndRelays(),n=JSON.stringify(e),r=new Blob([n],{type:"application/json"}),a=document.createElement("a");a.href=URL.createObjectURL(r),a.download=`metadata-${t.appState.getPublicKey()}.json`,a.click()})()}importFollowList(){var t=this;return Se(function*(){t.dialog.open(J_,{data:{pubkey:t.appState.getPublicKey()},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){if(r)if(t.snackBar.open("Importing followers process has started","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"}),r.import){const a=yield t.profileService.getProfile(t.appState.getPublicKey());if(!a||!a.following)return;for(let o=0;o{h&&this.buildTree(h)}),this.ui.event$.subscribe(h=>{if(null==h)return;let f=this.eventService.rootEventId(h);f||(f=h.id),this.eventService.parentEventId(h)})}getEvent(t){return this.ui.events.find(e=>e.id==t)}getTreeEntry(t){return this.ui.getThreadEntry(t)}buildTree(t){t.length>1e3&&console.log("There are more than 1000 events... likely spam!")}replyEventId(t,e){for(let n=0;n3&&"reply"==r[3])return r[1]}return null==t[1]?t[0][1]:t[1][1]}rootEventId(t){for(let e=0;e3&&"root"==n[3])return n[1]}return t[0][1]}loadEventThread(t){this.navigationService.currentThread=[]}}function hde(i,t){if(1&i&&(y(0,"span",4),B(1),k()),2&i){const e=X(2);A(1),ri("\u{1f501} ",null==e.threadEntry?null:e.threadEntry.boosts,"")}}function mde(i,t){if(1&i&&(y(0,"span",4),B(1),k()),2&i){const e=t.$implicit;A(1),bh(" ",e.key," ",e.value," ")}}zc.\u0275fac=function(t){return new(t||zc)(Ee(qr),Ee(Ea),Ee(ws),Ee(zs),Ee(Vn),Ee(Ka),Ee(Ao))},zc.\u0275prov=it({token:zc,factory:zc.\u0275fac,providedIn:"root"});const fde=function(i,t){return{"no-lines":i,lines:t}};function pde(i,t){if(1&i&&(y(0,"div",1),oe(1,hde,2,1,"span",2),oe(2,mde,2,2,"span",3),zi(3,"keyvalue"),k()),2&i){const e=X();N("ngClass",cl(5,fde,!e.optionsService.values.showLines,e.optionsService.values.showLines)),A(1),N("ngIf",null==e.threadEntry?null:e.threadEntry.boosts),A(1),N("ngForOf",Ui(3,3,e.threadEntry.reactions))}}class zu{constructor(t,e,n){this.thread=t,this.ui=e,this.optionsService=n,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngAfterViewInit(){}ngOnInit(){var t=this;return Se(function*(){if(!t.optionsService.values.enableReactions)return t.event=void 0,void(t.threadEntry=void 0);t.sub=t.ui.reactions$.subscribe(e=>{t.event&&e==t.event.id&&(t.threadEntry=t.thread.getTreeEntry(t.event.id))}),t.threadEntry=t.thread.getTreeEntry(t.event?.id)})()}ngOnDestroy(){this.sub?.unsubscribe()}}function gde(i,t){1&i&&B(0),2&i&&Ct(X(2).unified)}function _de(i,t){if(1&i){const e=tt();y(0,"button",2),pe("click",function(r){return Te(e),Ie(X().handleClick(r))})("mouseenter",function(r){return Te(e),Ie(X().handleOver(r))})("mouseleave",function(r){return Te(e),Ie(X().handleLeave(r))}),y(1,"span",3),oe(2,gde,1,1,"ng-template",4),wt(3),k()()}if(2&i){const e=X();Mt("emoji-mart-emoji-native",e.isNative)("emoji-mart-emoji-custom",e.custom),Nt("title",e.title)("aria-label",e.label),A(1),N("ngStyle",e.style),A(1),N("ngIf",e.isNative)}}function bde(i,t){1&i&&B(0),2&i&&Ct(X(2).unified)}function yde(i,t){if(1&i){const e=tt();y(0,"span",5),pe("click",function(r){return Te(e),Ie(X().handleClick(r))})("mouseenter",function(r){return Te(e),Ie(X().handleOver(r))})("mouseleave",function(r){return Te(e),Ie(X().handleLeave(r))}),y(1,"span",3),oe(2,bde,1,1,"ng-template",4),wt(3,1),k()()}if(2&i){const e=X();Mt("emoji-mart-emoji-native",e.isNative)("emoji-mart-emoji-custom",e.custom),Nt("title",e.title)("aria-label",e.label),A(1),N("ngStyle",e.style),A(1),N("ngIf",e.isNative)}}zu.\u0275fac=function(t){return new(t||zu)(D(zc),D(qr),D(Er))},zu.\u0275cmp=$e({type:zu,selectors:[["app-event-reactions"]],inputs:{event:"event"},decls:1,vars:1,consts:[["class","thread-reactions",3,"ngClass",4,"ngIf"],[1,"thread-reactions",3,"ngClass"],["class","thread-reaction",4,"ngIf"],["class","thread-reaction",4,"ngFor","ngForOf"],[1,"thread-reaction"]],template:function(t,e){1&t&&oe(0,pde,4,8,"div",0),2&t&&N("ngIf",(null==e.threadEntry?null:e.threadEntry.boosts)||(null==e.threadEntry?null:e.threadEntry.reactions))},dependencies:[Pa,Gn,mi,JA],styles:[".thread-reactions[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;padding-bottom:.4em}.thread-reaction[_ngcontent-%COMP%]{margin-right:.75em}"]});const vO=["*","*"],wO=[{id:"people",name:"Smileys & People",emojis:["1F600","1F603","1F604","1F601","1F606","1F605","1F923","1F602","1F642","1F643","1F609","1F60A","1F607","1F970","1F60D","1F929","1F618","1F617","263A-FE0F","1F61A","1F619","1F972","1F60B","1F61B","1F61C","1F92A","1F61D","1F911","1F917","1F92D","1F92B","1F914","1F910","1F928","1F610","1F611","1F636","1F60F","1F612","1F644","1F62C","1F925","1F60C","1F614","1F62A","1F924","1F634","1F637","1F912","1F915","1F922","1F92E","1F927","1F975","1F976","1F974","1F635","1F92F","1F920","1F973","1F978","1F60E","1F913","1F9D0","1F615","1F61F","1F641","2639-FE0F","1F62E","1F62F","1F632","1F633","1F97A","1F626","1F627","1F628","1F630","1F625","1F622","1F62D","1F631","1F616","1F623","1F61E","1F613","1F629","1F62B","1F971","1F624","1F621","1F620","1F92C","1F608","1F47F","1F480","2620-FE0F","1F4A9","1F921","1F479","1F47A","1F47B","1F47D","1F47E","1F916","1F63A","1F638","1F639","1F63B","1F63C","1F63D","1F640","1F63F","1F63E","1F648","1F44B","1F91A","1F590-FE0F","270B","1F596","1F44C","1F90C","1F90F","270C-FE0F","1F91E","1F91F","1F918","1F919","1F448","1F449","1F446","1F595","1F447","261D-FE0F","1F44D","1F44E","270A","1F44A","1F91B","1F91C","1F44F","1F64C","1F450","1F932","1F91D","1F64F","270D-FE0F","1F485","1F933","1F4AA","1F9BE","1F9BF","1F9B5","1F9B6","1F442","1F9BB","1F443","1F9E0","1FAC0","1FAC1","1F9B7","1F9B4","1F440","1F441-FE0F","1F445","1F444","1F476","1F9D2","1F466","1F467","1F9D1","1F471","1F468","1F9D4","1F468-200D-1F9B0","1F468-200D-1F9B1","1F468-200D-1F9B3","1F468-200D-1F9B2","1F469","1F469-200D-1F9B0","1F9D1-200D-1F9B0","1F469-200D-1F9B1","1F9D1-200D-1F9B1","1F469-200D-1F9B3","1F9D1-200D-1F9B3","1F469-200D-1F9B2","1F9D1-200D-1F9B2","1F471-200D-2640-FE0F","1F471-200D-2642-FE0F","1F9D3","1F474","1F475","1F64D","1F64D-200D-2642-FE0F","1F64D-200D-2640-FE0F","1F64E","1F64E-200D-2642-FE0F","1F64E-200D-2640-FE0F","1F645","1F645-200D-2642-FE0F","1F645-200D-2640-FE0F","1F646","1F646-200D-2642-FE0F","1F646-200D-2640-FE0F","1F481","1F481-200D-2642-FE0F","1F481-200D-2640-FE0F","1F64B","1F64B-200D-2642-FE0F","1F64B-200D-2640-FE0F","1F9CF","1F9CF-200D-2642-FE0F","1F9CF-200D-2640-FE0F","1F647","1F647-200D-2642-FE0F","1F647-200D-2640-FE0F","1F926","1F926-200D-2642-FE0F","1F926-200D-2640-FE0F","1F937","1F937-200D-2642-FE0F","1F937-200D-2640-FE0F","1F9D1-200D-2695-FE0F","1F468-200D-2695-FE0F","1F469-200D-2695-FE0F","1F9D1-200D-1F393","1F468-200D-1F393","1F469-200D-1F393","1F9D1-200D-1F3EB","1F468-200D-1F3EB","1F469-200D-1F3EB","1F9D1-200D-2696-FE0F","1F468-200D-2696-FE0F","1F469-200D-2696-FE0F","1F9D1-200D-1F33E","1F468-200D-1F33E","1F469-200D-1F33E","1F9D1-200D-1F373","1F468-200D-1F373","1F469-200D-1F373","1F9D1-200D-1F527","1F468-200D-1F527","1F469-200D-1F527","1F9D1-200D-1F3ED","1F468-200D-1F3ED","1F469-200D-1F3ED","1F9D1-200D-1F4BC","1F468-200D-1F4BC","1F469-200D-1F4BC","1F9D1-200D-1F52C","1F468-200D-1F52C","1F469-200D-1F52C","1F9D1-200D-1F4BB","1F468-200D-1F4BB","1F469-200D-1F4BB","1F9D1-200D-1F3A4","1F468-200D-1F3A4","1F469-200D-1F3A4","1F9D1-200D-1F3A8","1F468-200D-1F3A8","1F469-200D-1F3A8","1F9D1-200D-2708-FE0F","1F468-200D-2708-FE0F","1F469-200D-2708-FE0F","1F9D1-200D-1F680","1F468-200D-1F680","1F469-200D-1F680","1F9D1-200D-1F692","1F468-200D-1F692","1F469-200D-1F692","1F46E","1F46E-200D-2642-FE0F","1F46E-200D-2640-FE0F","1F575-FE0F","1F575-FE0F-200D-2642-FE0F","1F575-FE0F-200D-2640-FE0F","1F482","1F482-200D-2642-FE0F","1F482-200D-2640-FE0F","1F977","1F477","1F477-200D-2642-FE0F","1F477-200D-2640-FE0F","1F934","1F478","1F473","1F473-200D-2642-FE0F","1F473-200D-2640-FE0F","1F472","1F9D5","1F935","1F935-200D-2642-FE0F","1F935-200D-2640-FE0F","1F470","1F470-200D-2642-FE0F","1F470-200D-2640-FE0F","1F930","1F931","1F469-200D-1F37C","1F468-200D-1F37C","1F9D1-200D-1F37C","1F47C","1F385","1F936","1F9D1-200D-1F384","1F9B8","1F9B8-200D-2642-FE0F","1F9B8-200D-2640-FE0F","1F9B9","1F9B9-200D-2642-FE0F","1F9B9-200D-2640-FE0F","1F9D9","1F9D9-200D-2642-FE0F","1F9D9-200D-2640-FE0F","1F9DA","1F9DA-200D-2642-FE0F","1F9DA-200D-2640-FE0F","1F9DB","1F9DB-200D-2642-FE0F","1F9DB-200D-2640-FE0F","1F9DC","1F9DC-200D-2642-FE0F","1F9DC-200D-2640-FE0F","1F9DD","1F9DD-200D-2642-FE0F","1F9DD-200D-2640-FE0F","1F9DE","1F9DE-200D-2642-FE0F","1F9DE-200D-2640-FE0F","1F9DF","1F9DF-200D-2642-FE0F","1F9DF-200D-2640-FE0F","1F486","1F486-200D-2642-FE0F","1F486-200D-2640-FE0F","1F487","1F487-200D-2642-FE0F","1F487-200D-2640-FE0F","1F6B6","1F6B6-200D-2642-FE0F","1F6B6-200D-2640-FE0F","1F9CD","1F9CD-200D-2642-FE0F","1F9CD-200D-2640-FE0F","1F9CE","1F9CE-200D-2642-FE0F","1F9CE-200D-2640-FE0F","1F9D1-200D-1F9AF","1F468-200D-1F9AF","1F469-200D-1F9AF","1F9D1-200D-1F9BC","1F468-200D-1F9BC","1F469-200D-1F9BC","1F9D1-200D-1F9BD","1F468-200D-1F9BD","1F469-200D-1F9BD","1F3C3","1F3C3-200D-2642-FE0F","1F3C3-200D-2640-FE0F","1F483","1F57A","1F574-FE0F","1F46F","1F46F-200D-2642-FE0F","1F46F-200D-2640-FE0F","1F9D6","1F9D6-200D-2642-FE0F","1F9D6-200D-2640-FE0F","1F9D7","1F9D7-200D-2642-FE0F","1F9D7-200D-2640-FE0F","1F93A","1F3C7","26F7-FE0F","1F3C2","1F3CC-FE0F","1F3CC-FE0F-200D-2642-FE0F","1F3CC-FE0F-200D-2640-FE0F","1F3C4","1F3C4-200D-2642-FE0F","1F3C4-200D-2640-FE0F","1F6A3","1F6A3-200D-2642-FE0F","1F6A3-200D-2640-FE0F","1F3CA","1F3CA-200D-2642-FE0F","1F3CA-200D-2640-FE0F","26F9-FE0F","26F9-FE0F-200D-2642-FE0F","26F9-FE0F-200D-2640-FE0F","1F3CB-FE0F","1F3CB-FE0F-200D-2642-FE0F","1F3CB-FE0F-200D-2640-FE0F","1F6B4","1F6B4-200D-2642-FE0F","1F6B4-200D-2640-FE0F","1F6B5","1F6B5-200D-2642-FE0F","1F6B5-200D-2640-FE0F","1F938","1F938-200D-2642-FE0F","1F938-200D-2640-FE0F","1F93C","1F93C-200D-2642-FE0F","1F93C-200D-2640-FE0F","1F93D","1F93D-200D-2642-FE0F","1F93D-200D-2640-FE0F","1F93E","1F93E-200D-2642-FE0F","1F93E-200D-2640-FE0F","1F939","1F939-200D-2642-FE0F","1F939-200D-2640-FE0F","1F9D8","1F9D8-200D-2642-FE0F","1F9D8-200D-2640-FE0F","1F6C0","1F6CC","1F9D1-200D-1F91D-200D-1F9D1","1F46D","1F46B","1F46C","1F48F","1F469-200D-2764-FE0F-200D-1F48B-200D-1F468","1F468-200D-2764-FE0F-200D-1F48B-200D-1F468","1F469-200D-2764-FE0F-200D-1F48B-200D-1F469","1F491","1F469-200D-2764-FE0F-200D-1F468","1F468-200D-2764-FE0F-200D-1F468","1F469-200D-2764-FE0F-200D-1F469","1F46A","1F468-200D-1F469-200D-1F466","1F468-200D-1F469-200D-1F467","1F468-200D-1F469-200D-1F467-200D-1F466","1F468-200D-1F469-200D-1F466-200D-1F466","1F468-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F468-200D-1F466","1F468-200D-1F468-200D-1F467","1F468-200D-1F468-200D-1F467-200D-1F466","1F468-200D-1F468-200D-1F466-200D-1F466","1F468-200D-1F468-200D-1F467-200D-1F467","1F469-200D-1F469-200D-1F466","1F469-200D-1F469-200D-1F467","1F469-200D-1F469-200D-1F467-200D-1F466","1F469-200D-1F469-200D-1F466-200D-1F466","1F469-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F466","1F468-200D-1F466-200D-1F466","1F468-200D-1F467","1F468-200D-1F467-200D-1F466","1F468-200D-1F467-200D-1F467","1F469-200D-1F466","1F469-200D-1F466-200D-1F466","1F469-200D-1F467","1F469-200D-1F467-200D-1F466","1F469-200D-1F467-200D-1F467","1F5E3-FE0F","1F464","1F465","1FAC2","1F463","1F649","1F64A","1F48B","1F48C","1F498","1F49D","1F496","1F497","1F493","1F49E","1F495","1F49F","2763-FE0F","1F494","2764-FE0F","1F9E1","1F49B","1F49A","1F499","1F49C","1F90E","1F5A4","1F90D","1F4AF","1F4A2","1F4A5","1F4AB","1F4A6","1F4A8","1F573-FE0F","1F4A3","1F4AC","1F441-FE0F-200D-1F5E8-FE0F","1F5E8-FE0F","1F5EF-FE0F","1F4AD","1F4A4"]},{id:"nature",name:"Animals & Nature",emojis:["1F435","1F412","1F98D","1F9A7","1F436","1F415","1F9AE","1F415-200D-1F9BA","1F429","1F43A","1F98A","1F99D","1F431","1F408","1F408-200D-2B1B","1F981","1F42F","1F405","1F406","1F434","1F40E","1F984","1F993","1F98C","1F9AC","1F42E","1F402","1F403","1F404","1F437","1F416","1F417","1F43D","1F40F","1F411","1F410","1F42A","1F42B","1F999","1F992","1F418","1F9A3","1F98F","1F99B","1F42D","1F401","1F400","1F439","1F430","1F407","1F43F-FE0F","1F9AB","1F994","1F987","1F43B","1F43B-200D-2744-FE0F","1F428","1F43C","1F9A5","1F9A6","1F9A8","1F998","1F9A1","1F43E","1F983","1F414","1F413","1F423","1F424","1F425","1F426","1F427","1F54A-FE0F","1F985","1F986","1F9A2","1F989","1F9A4","1FAB6","1F9A9","1F99A","1F99C","1F438","1F40A","1F422","1F98E","1F40D","1F432","1F409","1F995","1F996","1F433","1F40B","1F42C","1F9AD","1F41F","1F420","1F421","1F988","1F419","1F41A","1F40C","1F98B","1F41B","1F41C","1F41D","1FAB2","1F41E","1F997","1FAB3","1F577-FE0F","1F578-FE0F","1F982","1F99F","1FAB0","1FAB1","1F9A0","1F490","1F338","1F4AE","1F3F5-FE0F","1F339","1F940","1F33A","1F33B","1F33C","1F337","1F331","1FAB4","1F332","1F333","1F334","1F335","1F33E","1F33F","2618-FE0F","1F340","1F341","1F342","1F343"]},{id:"foods",name:"Food & Drink",emojis:["1F347","1F348","1F349","1F34A","1F34B","1F34C","1F34D","1F96D","1F34E","1F34F","1F350","1F351","1F352","1F353","1FAD0","1F95D","1F345","1FAD2","1F965","1F951","1F346","1F954","1F955","1F33D","1F336-FE0F","1FAD1","1F952","1F96C","1F966","1F9C4","1F9C5","1F344","1F95C","1F330","1F35E","1F950","1F956","1FAD3","1F968","1F96F","1F95E","1F9C7","1F9C0","1F356","1F357","1F969","1F953","1F354","1F35F","1F355","1F32D","1F96A","1F32E","1F32F","1FAD4","1F959","1F9C6","1F95A","1F373","1F958","1F372","1FAD5","1F963","1F957","1F37F","1F9C8","1F9C2","1F96B","1F371","1F358","1F359","1F35A","1F35B","1F35C","1F35D","1F360","1F362","1F363","1F364","1F365","1F96E","1F361","1F95F","1F960","1F961","1F980","1F99E","1F990","1F991","1F9AA","1F366","1F367","1F368","1F369","1F36A","1F382","1F370","1F9C1","1F967","1F36B","1F36C","1F36D","1F36E","1F36F","1F37C","1F95B","2615","1FAD6","1F375","1F376","1F37E","1F377","1F378","1F379","1F37A","1F37B","1F942","1F943","1F964","1F9CB","1F9C3","1F9C9","1F9CA","1F962","1F37D-FE0F","1F374","1F944","1F52A","1F3FA"]},{id:"activity",name:"Activities",emojis:["1F383","1F384","1F386","1F387","1F9E8","2728","1F388","1F389","1F38A","1F38B","1F38D","1F38E","1F38F","1F390","1F391","1F9E7","1F380","1F381","1F397-FE0F","1F39F-FE0F","1F3AB","1F396-FE0F","1F3C6","1F3C5","1F947","1F948","1F949","26BD","26BE","1F94E","1F3C0","1F3D0","1F3C8","1F3C9","1F3BE","1F94F","1F3B3","1F3CF","1F3D1","1F3D2","1F94D","1F3D3","1F3F8","1F94A","1F94B","1F945","26F3","26F8-FE0F","1F3A3","1F93F","1F3BD","1F3BF","1F6F7","1F94C","1F3AF","1FA80","1FA81","1F3B1","1F52E","1FA84","1F9FF","1F3AE","1F579-FE0F","1F3B0","1F3B2","1F9E9","1F9F8","1FA85","1FA86","2660-FE0F","2665-FE0F","2666-FE0F","2663-FE0F","265F-FE0F","1F0CF","1F004","1F3B4","1F3AD","1F5BC-FE0F","1F3A8","1F9F5","1FAA1","1F9F6","1FAA2"]},{id:"places",name:"Travel & Places",emojis:["1F30D","1F30E","1F30F","1F310","1F5FA-FE0F","1F5FE","1F9ED","1F3D4-FE0F","26F0-FE0F","1F30B","1F5FB","1F3D5-FE0F","1F3D6-FE0F","1F3DC-FE0F","1F3DD-FE0F","1F3DE-FE0F","1F3DF-FE0F","1F3DB-FE0F","1F3D7-FE0F","1F9F1","1FAA8","1FAB5","1F6D6","1F3D8-FE0F","1F3DA-FE0F","1F3E0","1F3E1","1F3E2","1F3E3","1F3E4","1F3E5","1F3E6","1F3E8","1F3E9","1F3EA","1F3EB","1F3EC","1F3ED","1F3EF","1F3F0","1F492","1F5FC","1F5FD","26EA","1F54C","1F6D5","1F54D","26E9-FE0F","1F54B","26F2","26FA","1F301","1F303","1F3D9-FE0F","1F304","1F305","1F306","1F307","1F309","2668-FE0F","1F3A0","1F3A1","1F3A2","1F488","1F3AA","1F682","1F683","1F684","1F685","1F686","1F687","1F688","1F689","1F68A","1F69D","1F69E","1F68B","1F68C","1F68D","1F68E","1F690","1F691","1F692","1F693","1F694","1F695","1F696","1F697","1F698","1F699","1F6FB","1F69A","1F69B","1F69C","1F3CE-FE0F","1F3CD-FE0F","1F6F5","1F9BD","1F9BC","1F6FA","1F6B2","1F6F4","1F6F9","1F6FC","1F68F","1F6E3-FE0F","1F6E4-FE0F","1F6E2-FE0F","26FD","1F6A8","1F6A5","1F6A6","1F6D1","1F6A7","2693","26F5","1F6F6","1F6A4","1F6F3-FE0F","26F4-FE0F","1F6E5-FE0F","1F6A2","2708-FE0F","1F6E9-FE0F","1F6EB","1F6EC","1FA82","1F4BA","1F681","1F69F","1F6A0","1F6A1","1F6F0-FE0F","1F680","1F6F8","1F6CE-FE0F","1F9F3","231B","23F3","231A","23F0","23F1-FE0F","23F2-FE0F","1F570-FE0F","1F55B","1F567","1F550","1F55C","1F551","1F55D","1F552","1F55E","1F553","1F55F","1F554","1F560","1F555","1F561","1F556","1F562","1F557","1F563","1F558","1F564","1F559","1F565","1F55A","1F566","1F311","1F312","1F313","1F314","1F315","1F316","1F317","1F318","1F319","1F31A","1F31B","1F31C","1F321-FE0F","2600-FE0F","1F31D","1F31E","1FA90","2B50","1F31F","1F320","1F30C","2601-FE0F","26C5","26C8-FE0F","1F324-FE0F","1F325-FE0F","1F326-FE0F","1F327-FE0F","1F328-FE0F","1F329-FE0F","1F32A-FE0F","1F32B-FE0F","1F32C-FE0F","1F300","1F308","1F302","2602-FE0F","2614","26F1-FE0F","26A1","2744-FE0F","2603-FE0F","26C4","2604-FE0F","1F525","1F4A7","1F30A"]},{id:"objects",name:"Objects",emojis:["1F453","1F576-FE0F","1F97D","1F97C","1F9BA","1F454","1F455","1F456","1F9E3","1F9E4","1F9E5","1F9E6","1F457","1F458","1F97B","1FA71","1FA72","1FA73","1F459","1F45A","1F45B","1F45C","1F45D","1F6CD-FE0F","1F392","1FA74","1F45E","1F45F","1F97E","1F97F","1F460","1F461","1FA70","1F462","1F451","1F452","1F3A9","1F393","1F9E2","1FA96","26D1-FE0F","1F4FF","1F484","1F48D","1F48E","1F507","1F508","1F509","1F50A","1F4E2","1F4E3","1F4EF","1F514","1F515","1F3BC","1F3B5","1F3B6","1F399-FE0F","1F39A-FE0F","1F39B-FE0F","1F3A4","1F3A7","1F4FB","1F3B7","1FA97","1F3B8","1F3B9","1F3BA","1F3BB","1FA95","1F941","1FA98","1F4F1","1F4F2","260E-FE0F","1F4DE","1F4DF","1F4E0","1F50B","1F50C","1F4BB","1F5A5-FE0F","1F5A8-FE0F","2328-FE0F","1F5B1-FE0F","1F5B2-FE0F","1F4BD","1F4BE","1F4BF","1F4C0","1F9EE","1F3A5","1F39E-FE0F","1F4FD-FE0F","1F3AC","1F4FA","1F4F7","1F4F8","1F4F9","1F4FC","1F50D","1F50E","1F56F-FE0F","1F4A1","1F526","1F3EE","1FA94","1F4D4","1F4D5","1F4D6","1F4D7","1F4D8","1F4D9","1F4DA","1F4D3","1F4D2","1F4C3","1F4DC","1F4C4","1F4F0","1F5DE-FE0F","1F4D1","1F516","1F3F7-FE0F","1F4B0","1FA99","1F4B4","1F4B5","1F4B6","1F4B7","1F4B8","1F4B3","1F9FE","1F4B9","2709-FE0F","1F4E7","1F4E8","1F4E9","1F4E4","1F4E5","1F4E6","1F4EB","1F4EA","1F4EC","1F4ED","1F4EE","1F5F3-FE0F","270F-FE0F","2712-FE0F","1F58B-FE0F","1F58A-FE0F","1F58C-FE0F","1F58D-FE0F","1F4DD","1F4BC","1F4C1","1F4C2","1F5C2-FE0F","1F4C5","1F4C6","1F5D2-FE0F","1F5D3-FE0F","1F4C7","1F4C8","1F4C9","1F4CA","1F4CB","1F4CC","1F4CD","1F4CE","1F587-FE0F","1F4CF","1F4D0","2702-FE0F","1F5C3-FE0F","1F5C4-FE0F","1F5D1-FE0F","1F512","1F513","1F50F","1F510","1F511","1F5DD-FE0F","1F528","1FA93","26CF-FE0F","2692-FE0F","1F6E0-FE0F","1F5E1-FE0F","2694-FE0F","1F52B","1FA83","1F3F9","1F6E1-FE0F","1FA9A","1F527","1FA9B","1F529","2699-FE0F","1F5DC-FE0F","2696-FE0F","1F9AF","1F517","26D3-FE0F","1FA9D","1F9F0","1F9F2","1FA9C","2697-FE0F","1F9EA","1F9EB","1F9EC","1F52C","1F52D","1F4E1","1F489","1FA78","1F48A","1FA79","1FA7A","1F6AA","1F6D7","1FA9E","1FA9F","1F6CF-FE0F","1F6CB-FE0F","1FA91","1F6BD","1FAA0","1F6BF","1F6C1","1FAA4","1FA92","1F9F4","1F9F7","1F9F9","1F9FA","1F9FB","1FAA3","1F9FC","1FAA5","1F9FD","1F9EF","1F6D2","1F6AC","26B0-FE0F","1FAA6","26B1-FE0F","1F5FF","1FAA7"]},{id:"symbols",name:"Symbols",emojis:["1F3E7","1F6AE","1F6B0","267F","1F6B9","1F6BA","1F6BB","1F6BC","1F6BE","1F6C2","1F6C3","1F6C4","1F6C5","26A0-FE0F","1F6B8","26D4","1F6AB","1F6B3","1F6AD","1F6AF","1F6B1","1F6B7","1F4F5","1F51E","2622-FE0F","2623-FE0F","2B06-FE0F","2197-FE0F","27A1-FE0F","2198-FE0F","2B07-FE0F","2199-FE0F","2B05-FE0F","2196-FE0F","2195-FE0F","2194-FE0F","21A9-FE0F","21AA-FE0F","2934-FE0F","2935-FE0F","1F503","1F504","1F519","1F51A","1F51B","1F51C","1F51D","1F6D0","269B-FE0F","1F549-FE0F","2721-FE0F","2638-FE0F","262F-FE0F","271D-FE0F","2626-FE0F","262A-FE0F","262E-FE0F","1F54E","1F52F","2648","2649","264A","264B","264C","264D","264E","264F","2650","2651","2652","2653","26CE","1F500","1F501","1F502","25B6-FE0F","23E9","23ED-FE0F","23EF-FE0F","25C0-FE0F","23EA","23EE-FE0F","1F53C","23EB","1F53D","23EC","23F8-FE0F","23F9-FE0F","23FA-FE0F","23CF-FE0F","1F3A6","1F505","1F506","1F4F6","1F4F3","1F4F4","2640-FE0F","2642-FE0F","26A7-FE0F","2716-FE0F","2795","2796","2797","267E-FE0F","203C-FE0F","2049-FE0F","2753","2754","2755","2757","3030-FE0F","1F4B1","1F4B2","2695-FE0F","267B-FE0F","269C-FE0F","1F531","1F4DB","1F530","2B55","2705","2611-FE0F","2714-FE0F","274C","274E","27B0","27BF","303D-FE0F","2733-FE0F","2734-FE0F","2747-FE0F","00A9-FE0F","00AE-FE0F","2122-FE0F","0023-FE0F-20E3","002A-FE0F-20E3","0030-FE0F-20E3","0031-FE0F-20E3","0032-FE0F-20E3","0033-FE0F-20E3","0034-FE0F-20E3","0035-FE0F-20E3","0036-FE0F-20E3","0037-FE0F-20E3","0038-FE0F-20E3","0039-FE0F-20E3","1F51F","1F520","1F521","1F522","1F523","1F524","1F170-FE0F","1F18E","1F171-FE0F","1F191","1F192","1F193","2139-FE0F","1F194","24C2-FE0F","1F195","1F196","1F17E-FE0F","1F197","1F17F-FE0F","1F198","1F199","1F19A","1F201","1F202-FE0F","1F237-FE0F","1F236","1F22F","1F250","1F239","1F21A","1F232","1F251","1F238","1F234","1F233","3297-FE0F","3299-FE0F","1F23A","1F235","1F534","1F7E0","1F7E1","1F7E2","1F535","1F7E3","1F7E4","26AB","26AA","1F7E5","1F7E7","1F7E8","1F7E9","1F7E6","1F7EA","1F7EB","2B1B","2B1C","25FC-FE0F","25FB-FE0F","25FE","25FD","25AA-FE0F","25AB-FE0F","1F536","1F537","1F538","1F539","1F53A","1F53B","1F4A0","1F518","1F533","1F532"]},{id:"flags",name:"Flags",emojis:["1F1E6-1F1E8","1F1E6-1F1E9","1F1E6-1F1EA","1F1E6-1F1EB","1F1E6-1F1EC","1F1E6-1F1EE","1F1E6-1F1F1","1F1E6-1F1F2","1F1E6-1F1F4","1F1E6-1F1F6","1F1E6-1F1F7","1F1E6-1F1F8","1F1E6-1F1F9","1F1E6-1F1FA","1F1E6-1F1FC","1F1E6-1F1FD","1F1E6-1F1FF","1F1E7-1F1E6","1F1E7-1F1E7","1F1E7-1F1E9","1F1E7-1F1EA","1F1E7-1F1EB","1F1E7-1F1EC","1F1E7-1F1ED","1F1E7-1F1EE","1F1E7-1F1EF","1F1E7-1F1F1","1F1E7-1F1F2","1F1E7-1F1F3","1F1E7-1F1F4","1F1E7-1F1F6","1F1E7-1F1F7","1F1E7-1F1F8","1F1E7-1F1F9","1F1E7-1F1FB","1F1E7-1F1FC","1F1E7-1F1FE","1F1E7-1F1FF","1F1E8-1F1E6","1F1E8-1F1E8","1F1E8-1F1E9","1F1E8-1F1EB","1F1E8-1F1EC","1F1E8-1F1ED","1F1E8-1F1EE","1F1E8-1F1F0","1F1E8-1F1F1","1F1E8-1F1F2","1F1E8-1F1F3","1F1E8-1F1F4","1F1E8-1F1F5","1F1E8-1F1F7","1F1E8-1F1FA","1F1E8-1F1FB","1F1E8-1F1FC","1F1E8-1F1FD","1F1E8-1F1FE","1F1E8-1F1FF","1F1E9-1F1EA","1F1E9-1F1EC","1F1E9-1F1EF","1F1E9-1F1F0","1F1E9-1F1F2","1F1E9-1F1F4","1F1E9-1F1FF","1F1EA-1F1E6","1F1EA-1F1E8","1F1EA-1F1EA","1F1EA-1F1EC","1F1EA-1F1ED","1F1EA-1F1F7","1F1EA-1F1F8","1F1EA-1F1F9","1F1EA-1F1FA","1F1EB-1F1EE","1F1EB-1F1EF","1F1EB-1F1F0","1F1EB-1F1F2","1F1EB-1F1F4","1F1EB-1F1F7","1F1EC-1F1E6","1F1EC-1F1E7","1F1EC-1F1E9","1F1EC-1F1EA","1F1EC-1F1EB","1F1EC-1F1EC","1F1EC-1F1ED","1F1EC-1F1EE","1F1EC-1F1F1","1F1EC-1F1F2","1F1EC-1F1F3","1F1EC-1F1F5","1F1EC-1F1F6","1F1EC-1F1F7","1F1EC-1F1F8","1F1EC-1F1F9","1F1EC-1F1FA","1F1EC-1F1FC","1F1EC-1F1FE","1F1ED-1F1F0","1F1ED-1F1F2","1F1ED-1F1F3","1F1ED-1F1F7","1F1ED-1F1F9","1F1ED-1F1FA","1F1EE-1F1E8","1F1EE-1F1E9","1F1EE-1F1EA","1F1EE-1F1F1","1F1EE-1F1F2","1F1EE-1F1F3","1F1EE-1F1F4","1F1EE-1F1F6","1F1EE-1F1F7","1F1EE-1F1F8","1F1EE-1F1F9","1F1EF-1F1EA","1F1EF-1F1F2","1F1EF-1F1F4","1F1EF-1F1F5","1F1F0-1F1EA","1F1F0-1F1EC","1F1F0-1F1ED","1F1F0-1F1EE","1F1F0-1F1F2","1F1F0-1F1F3","1F1F0-1F1F5","1F1F0-1F1F7","1F1F0-1F1FC","1F1F0-1F1FE","1F1F0-1F1FF","1F1F1-1F1E6","1F1F1-1F1E7","1F1F1-1F1E8","1F1F1-1F1EE","1F1F1-1F1F0","1F1F1-1F1F7","1F1F1-1F1F8","1F1F1-1F1F9","1F1F1-1F1FA","1F1F1-1F1FB","1F1F1-1F1FE","1F1F2-1F1E6","1F1F2-1F1E8","1F1F2-1F1E9","1F1F2-1F1EA","1F1F2-1F1EB","1F1F2-1F1EC","1F1F2-1F1ED","1F1F2-1F1F0","1F1F2-1F1F1","1F1F2-1F1F2","1F1F2-1F1F3","1F1F2-1F1F4","1F1F2-1F1F5","1F1F2-1F1F6","1F1F2-1F1F7","1F1F2-1F1F8","1F1F2-1F1F9","1F1F2-1F1FA","1F1F2-1F1FB","1F1F2-1F1FC","1F1F2-1F1FD","1F1F2-1F1FE","1F1F2-1F1FF","1F1F3-1F1E6","1F1F3-1F1E8","1F1F3-1F1EA","1F1F3-1F1EB","1F1F3-1F1EC","1F1F3-1F1EE","1F1F3-1F1F1","1F1F3-1F1F4","1F1F3-1F1F5","1F1F3-1F1F7","1F1F3-1F1FA","1F1F3-1F1FF","1F1F4-1F1F2","1F1F5-1F1E6","1F1F5-1F1EA","1F1F5-1F1EB","1F1F5-1F1EC","1F1F5-1F1ED","1F1F5-1F1F0","1F1F5-1F1F1","1F1F5-1F1F2","1F1F5-1F1F3","1F1F5-1F1F7","1F1F5-1F1F8","1F1F5-1F1F9","1F1F5-1F1FC","1F1F5-1F1FE","1F1F6-1F1E6","1F1F7-1F1EA","1F1F7-1F1F4","1F1F7-1F1F8","1F1F7-1F1FA","1F1F7-1F1FC","1F1F8-1F1E6","1F1F8-1F1E7","1F1F8-1F1E8","1F1F8-1F1E9","1F1F8-1F1EA","1F1F8-1F1EC","1F1F8-1F1ED","1F1F8-1F1EE","1F1F8-1F1EF","1F1F8-1F1F0","1F1F8-1F1F1","1F1F8-1F1F2","1F1F8-1F1F3","1F1F8-1F1F4","1F1F8-1F1F7","1F1F8-1F1F8","1F1F8-1F1F9","1F1F8-1F1FB","1F1F8-1F1FD","1F1F8-1F1FE","1F1F8-1F1FF","1F1F9-1F1E6","1F1F9-1F1E8","1F1F9-1F1E9","1F1F9-1F1EB","1F1F9-1F1EC","1F1F9-1F1ED","1F1F9-1F1EF","1F1F9-1F1F0","1F1F9-1F1F1","1F1F9-1F1F2","1F1F9-1F1F3","1F1F9-1F1F4","1F1F9-1F1F7","1F1F9-1F1F9","1F1F9-1F1FB","1F1F9-1F1FC","1F1F9-1F1FF","1F1FA-1F1E6","1F1FA-1F1EC","1F1FA-1F1F2","1F1FA-1F1F3","1F1FA-1F1F8","1F1FA-1F1FE","1F1FA-1F1FF","1F1FB-1F1E6","1F1FB-1F1E8","1F1FB-1F1EA","1F1FB-1F1EC","1F1FB-1F1EE","1F1FB-1F1F3","1F1FB-1F1FA","1F1FC-1F1EB","1F1FC-1F1F8","1F1FD-1F1F0","1F1FE-1F1EA","1F1FE-1F1F9","1F1FF-1F1E6","1F1FF-1F1F2","1F1FF-1F1FC","1F38C","1F3C1","1F3F3-FE0F","1F3F3-FE0F-200D-1F308","1F3F3-FE0F-200D-26A7-FE0F","1F3F4","1F3F4-200D-2620-FE0F","1F3F4-E0067-E0062-E0065-E006E-E0067-E007F","1F3F4-E0067-E0062-E0073-E0063-E0074-E007F","1F3F4-E0067-E0062-E0077-E006C-E0073-E007F","1F6A9"]}],vde=[{name:"Grinning Face",unified:"1F600",text:":D",keywords:["grinning_face","face","smile","happy","joy",":D","grin"],sheet:[30,32],shortName:"grinning"},{name:"Smiling Face with Open Mouth",unified:"1F603",text:":)",emoticons:["=)","=-)"],keywords:["grinning_face_with_big_eyes","face","happy","joy","haha",":D",":)","smile","funny"],sheet:[30,35],shortName:"smiley"},{name:"Smiling Face with Open Mouth and Smiling Eyes",unified:"1F604",text:":)",emoticons:["C:","c:",":D",":-D"],keywords:["grinning_face_with_smiling_eyes","face","happy","joy","funny","haha","laugh","like",":D",":)","smile"],sheet:[30,36],shortName:"smile"},{name:"Grinning Face with Smiling Eyes",unified:"1F601",keywords:["beaming_face_with_smiling_eyes","face","happy","smile","joy","kawaii"],sheet:[30,33],shortName:"grin"},{name:"Smiling Face with Open Mouth and Tightly-Closed Eyes",unified:"1F606",emoticons:[":>",":->"],keywords:["grinning_squinting_face","happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],sheet:[30,38],shortNames:["satisfied"],shortName:"laughing"},{name:"Smiling Face with Open Mouth and Cold Sweat",unified:"1F605",keywords:["grinning_face_with_sweat","face","hot","happy","laugh","sweat","smile","relief"],sheet:[30,37],shortName:"sweat_smile"},{name:"Rolling on the Floor Laughing",unified:"1F923",keywords:["rolling_on_the_floor_laughing","face","rolling","floor","laughing","lol","haha","rofl"],sheet:[38,19],shortName:"rolling_on_the_floor_laughing"},{name:"Face with Tears of Joy",unified:"1F602",keywords:["face_with_tears_of_joy","face","cry","tears","weep","happy","happytears","haha"],sheet:[30,34],shortName:"joy"},{name:"Slightly Smiling Face",unified:"1F642",emoticons:[":)","(:",":-)"],keywords:["slightly_smiling_face","face","smile"],sheet:[31,40],shortName:"slightly_smiling_face"},{name:"Upside-Down Face",unified:"1F643",keywords:["upside_down_face","face","flipped","silly","smile"],sheet:[31,41],shortName:"upside_down_face"},{name:"Winking Face",unified:"1F609",text:";)",emoticons:[";)",";-)"],keywords:["winking_face","face","happy","mischievous","secret",";)","smile","eye"],sheet:[30,41],shortName:"wink"},{name:"Smiling Face with Smiling Eyes",unified:"1F60A",text:":)",keywords:["smiling_face_with_smiling_eyes","face","smile","happy","flushed","crush","embarrassed","shy","joy"],sheet:[30,42],shortName:"blush"},{name:"Smiling Face with Halo",unified:"1F607",keywords:["smiling_face_with_halo","face","angel","heaven","halo"],sheet:[30,39],shortName:"innocent"},{name:"Smiling Face with Smiling Eyes and Three Hearts",unified:"1F970",keywords:["smiling_face_with_hearts","face","love","like","affection","valentines","infatuation","crush","hearts","adore"],sheet:[42,13],shortName:"smiling_face_with_3_hearts"},{name:"Smiling Face with Heart-Shaped Eyes",unified:"1F60D",keywords:["smiling_face_with_heart_eyes","face","love","like","affection","valentines","infatuation","crush","heart"],sheet:[30,45],shortName:"heart_eyes"},{name:"Grinning Face with Star Eyes",unified:"1F929",keywords:["star_struck","face","smile","starry","eyes","grinning"],sheet:[38,42],shortNames:["grinning_face_with_star_eyes"],shortName:"star-struck"},{name:"Face Throwing a Kiss",unified:"1F618",emoticons:[":*",":-*"],keywords:["face_blowing_a_kiss","face","love","like","affection","valentines","infatuation","kiss"],sheet:[30,56],shortName:"kissing_heart"},{name:"Kissing Face",unified:"1F617",keywords:["kissing_face","love","like","face","3","valentines","infatuation","kiss"],sheet:[30,55],shortName:"kissing"},{name:"White Smiling Face",unified:"263A-FE0F",keywords:["smiling_face","face","blush","massage","happiness"],sheet:[54,22],shortName:"relaxed"},{name:"Kissing Face with Closed Eyes",unified:"1F61A",keywords:["kissing_face_with_closed_eyes","face","love","like","affection","valentines","infatuation","kiss"],sheet:[31,0],shortName:"kissing_closed_eyes"},{name:"Kissing Face with Smiling Eyes",unified:"1F619",keywords:["kissing_face_with_smiling_eyes","face","affection","valentines","infatuation","kiss"],sheet:[30,57],shortName:"kissing_smiling_eyes"},{name:"Smiling Face with Tear",unified:"1F972",keywords:["smiling face with tear","sad","cry","pretend"],sheet:[42,15],shortName:"smiling_face_with_tear"},{name:"Face Savouring Delicious Food",unified:"1F60B",keywords:["face_savoring_food","happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],sheet:[30,43],shortName:"yum"},{name:"Face with Stuck-out Tongue",unified:"1F61B",text:":p",emoticons:[":p",":-p",":P",":-P",":b",":-b"],keywords:["face_with_tongue","face","prank","childish","playful","mischievous","smile","tongue"],sheet:[31,1],shortName:"stuck_out_tongue"},{name:"Face with Stuck-out Tongue and Winking Eye",unified:"1F61C",text:";p",emoticons:[";p",";-p",";b",";-b",";P",";-P"],keywords:["winking_face_with_tongue","face","prank","childish","playful","mischievous","smile","wink","tongue"],sheet:[31,2],shortName:"stuck_out_tongue_winking_eye"},{name:"Grinning Face with One Large and One Small Eye",unified:"1F92A",keywords:["zany_face","face","goofy","crazy"],sheet:[38,43],shortNames:["grinning_face_with_one_large_and_one_small_eye"],shortName:"zany_face"},{name:"Face with Stuck-out Tongue and Tightly-Closed Eyes",unified:"1F61D",keywords:["squinting_face_with_tongue","face","prank","playful","mischievous","smile","tongue"],sheet:[31,3],shortName:"stuck_out_tongue_closed_eyes"},{name:"Money-Mouth Face",unified:"1F911",keywords:["money_mouth_face","face","rich","dollar","money"],sheet:[37,24],shortName:"money_mouth_face"},{name:"Hugging Face",unified:"1F917",keywords:["hugging_face","face","smile","hug"],sheet:[37,30],shortName:"hugging_face"},{name:"Smiling Face with Smiling Eyes and Hand Covering Mouth",unified:"1F92D",keywords:["face_with_hand_over_mouth","face","whoops","shock","surprise"],sheet:[38,46],shortNames:["smiling_face_with_smiling_eyes_and_hand_covering_mouth"],shortName:"face_with_hand_over_mouth"},{name:"Face with Finger Covering Closed Lips",unified:"1F92B",keywords:["shushing_face","face","quiet","shhh"],sheet:[38,44],shortNames:["face_with_finger_covering_closed_lips"],shortName:"shushing_face"},{name:"Thinking Face",unified:"1F914",keywords:["thinking_face","face","hmmm","think","consider"],sheet:[37,27],shortName:"thinking_face"},{name:"Zipper-Mouth Face",unified:"1F910",keywords:["zipper_mouth_face","face","sealed","zipper","secret"],sheet:[37,23],shortName:"zipper_mouth_face"},{name:"Face with One Eyebrow Raised",unified:"1F928",keywords:["face_with_raised_eyebrow","face","distrust","scepticism","disapproval","disbelief","surprise"],sheet:[38,41],shortNames:["face_with_one_eyebrow_raised"],shortName:"face_with_raised_eyebrow"},{name:"Neutral Face",unified:"1F610",emoticons:[":|",":-|"],keywords:["neutral_face","indifference","meh",":|","neutral"],sheet:[30,48],shortName:"neutral_face"},{name:"Expressionless Face",unified:"1F611",keywords:["expressionless_face","face","indifferent","-_-","meh","deadpan"],sheet:[30,49],shortName:"expressionless"},{name:"Face Without Mouth",unified:"1F636",keywords:["face_without_mouth","face","hellokitty"],sheet:[31,28],shortName:"no_mouth"},{name:"Smirking Face",unified:"1F60F",keywords:["smirking_face","face","smile","mean","prank","smug","sarcasm"],sheet:[30,47],shortName:"smirk"},{name:"Unamused Face",unified:"1F612",text:":(",keywords:["unamused_face","indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],sheet:[30,50],shortName:"unamused"},{name:"Face with Rolling Eyes",unified:"1F644",keywords:["face_with_rolling_eyes","face","eyeroll","frustrated"],sheet:[31,42],shortName:"face_with_rolling_eyes"},{name:"Grimacing Face",unified:"1F62C",keywords:["grimacing_face","face","grimace","teeth"],sheet:[31,18],shortName:"grimacing"},{name:"Lying Face",unified:"1F925",keywords:["lying_face","face","lie","pinocchio"],sheet:[38,21],shortName:"lying_face"},{name:"Relieved Face",unified:"1F60C",keywords:["relieved_face","face","relaxed","phew","massage","happiness"],sheet:[30,44],shortName:"relieved"},{name:"Pensive Face",unified:"1F614",keywords:["pensive_face","face","sad","depressed","upset"],sheet:[30,52],shortName:"pensive"},{name:"Sleepy Face",unified:"1F62A",keywords:["sleepy_face","face","tired","rest","nap"],sheet:[31,16],shortName:"sleepy"},{name:"Drooling Face",unified:"1F924",keywords:["drooling_face","face"],sheet:[38,20],shortName:"drooling_face"},{name:"Sleeping Face",unified:"1F634",keywords:["sleeping_face","face","tired","sleepy","night","zzz"],sheet:[31,26],shortName:"sleeping"},{name:"Face with Medical Mask",unified:"1F637",keywords:["face_with_medical_mask","face","sick","ill","disease"],sheet:[31,29],shortName:"mask"},{name:"Face with Thermometer",unified:"1F912",keywords:["face_with_thermometer","sick","temperature","thermometer","cold","fever"],sheet:[37,25],shortName:"face_with_thermometer"},{name:"Face with Head-Bandage",unified:"1F915",keywords:["face_with_head_bandage","injured","clumsy","bandage","hurt"],sheet:[37,28],shortName:"face_with_head_bandage"},{name:"Nauseated Face",unified:"1F922",keywords:["nauseated_face","face","vomit","gross","green","sick","throw up","ill"],sheet:[38,18],shortName:"nauseated_face"},{name:"Face with Open Mouth Vomiting",unified:"1F92E",keywords:["face_vomiting","face","sick"],sheet:[38,47],shortNames:["face_with_open_mouth_vomiting"],shortName:"face_vomiting"},{name:"Sneezing Face",unified:"1F927",keywords:["sneezing_face","face","gesundheit","sneeze","sick","allergy"],sheet:[38,40],shortName:"sneezing_face"},{name:"Overheated Face",unified:"1F975",keywords:["hot_face","face","feverish","heat","red","sweating"],sheet:[42,18],shortName:"hot_face"},{name:"Freezing Face",unified:"1F976",keywords:["cold_face","face","blue","freezing","frozen","frostbite","icicles"],sheet:[42,19],shortName:"cold_face"},{name:"Face with Uneven Eyes and Wavy Mouth",unified:"1F974",keywords:["woozy_face","face","dizzy","intoxicated","tipsy","wavy"],sheet:[42,17],shortName:"woozy_face"},{name:"Dizzy Face",unified:"1F635",keywords:["dizzy_face","spent","unconscious","xox","dizzy"],sheet:[31,27],shortName:"dizzy_face"},{name:"Shocked Face with Exploding Head",unified:"1F92F",keywords:["exploding_head","face","shocked","mind","blown"],sheet:[38,48],shortNames:["shocked_face_with_exploding_head"],shortName:"exploding_head"},{name:"Face with Cowboy Hat",unified:"1F920",keywords:["cowboy_hat_face","face","cowgirl","hat"],sheet:[38,16],shortName:"face_with_cowboy_hat"},{name:"Face with Party Horn and Party Hat",unified:"1F973",keywords:["partying_face","face","celebration","woohoo"],sheet:[42,16],shortName:"partying_face"},{name:"Disguised Face",unified:"1F978",keywords:["disguised face","pretent","brows","glasses","moustache"],sheet:[42,26],shortName:"disguised_face"},{name:"Smiling Face with Sunglasses",unified:"1F60E",emoticons:["8)"],keywords:["smiling_face_with_sunglasses","face","cool","smile","summer","beach","sunglass"],sheet:[30,46],shortName:"sunglasses"},{name:"Nerd Face",unified:"1F913",keywords:["nerd_face","face","nerdy","geek","dork"],sheet:[37,26],shortName:"nerd_face"},{name:"Face with Monocle",unified:"1F9D0",keywords:["face_with_monocle","face","stuffy","wealthy"],sheet:[45,34],shortName:"face_with_monocle"},{name:"Confused Face",unified:"1F615",emoticons:[":\\",":-\\",":/",":-/"],keywords:["confused_face","face","indifference","huh","weird","hmmm",":/"],sheet:[30,53],shortName:"confused"},{name:"Worried Face",unified:"1F61F",keywords:["worried_face","face","concern","nervous",":("],sheet:[31,5],shortName:"worried"},{name:"Slightly Frowning Face",unified:"1F641",keywords:["slightly_frowning_face","face","frowning","disappointed","sad","upset"],sheet:[31,39],shortName:"slightly_frowning_face"},{name:"Frowning Face",unified:"2639-FE0F",keywords:["frowning_face","face","sad","upset","frown"],sheet:[54,21],shortName:"white_frowning_face"},{name:"Face with Open Mouth",unified:"1F62E",emoticons:[":o",":-o",":O",":-O"],keywords:["face_with_open_mouth","face","surprise","impressed","wow","whoa",":O"],sheet:[31,20],shortName:"open_mouth"},{name:"Hushed Face",unified:"1F62F",keywords:["hushed_face","face","woo","shh"],sheet:[31,21],shortName:"hushed"},{name:"Astonished Face",unified:"1F632",keywords:["astonished_face","face","xox","surprised","poisoned"],sheet:[31,24],shortName:"astonished"},{name:"Flushed Face",unified:"1F633",keywords:["flushed_face","face","blush","shy","flattered"],sheet:[31,25],shortName:"flushed"},{name:"Face with Pleading Eyes",unified:"1F97A",keywords:["pleading_face","face","begging","mercy"],sheet:[42,27],shortName:"pleading_face"},{name:"Frowning Face with Open Mouth",unified:"1F626",keywords:["frowning_face_with_open_mouth","face","aw","what"],sheet:[31,12],shortName:"frowning"},{name:"Anguished Face",unified:"1F627",emoticons:["D:"],keywords:["anguished_face","face","stunned","nervous"],sheet:[31,13],shortName:"anguished"},{name:"Fearful Face",unified:"1F628",keywords:["fearful_face","face","scared","terrified","nervous","oops","huh"],sheet:[31,14],shortName:"fearful"},{name:"Face with Open Mouth and Cold Sweat",unified:"1F630",keywords:["anxious_face_with_sweat","face","nervous","sweat"],sheet:[31,22],shortName:"cold_sweat"},{name:"Disappointed but Relieved Face",unified:"1F625",keywords:["sad_but_relieved_face","face","phew","sweat","nervous"],sheet:[31,11],shortName:"disappointed_relieved"},{name:"Crying Face",unified:"1F622",text:":'(",emoticons:[":'("],keywords:["crying_face","face","tears","sad","depressed","upset",":'("],sheet:[31,8],shortName:"cry"},{name:"Loudly Crying Face",unified:"1F62D",text:":'(",keywords:["loudly_crying_face","face","cry","tears","sad","upset","depressed"],sheet:[31,19],shortName:"sob"},{name:"Face Screaming in Fear",unified:"1F631",keywords:["face_screaming_in_fear","face","munch","scared","omg"],sheet:[31,23],shortName:"scream"},{name:"Confounded Face",unified:"1F616",keywords:["confounded_face","face","confused","sick","unwell","oops",":S"],sheet:[30,54],shortName:"confounded"},{name:"Persevering Face",unified:"1F623",keywords:["persevering_face","face","sick","no","upset","oops"],sheet:[31,9],shortName:"persevere"},{name:"Disappointed Face",unified:"1F61E",text:":(",emoticons:["):",":(",":-("],keywords:["disappointed_face","face","sad","upset","depressed",":("],sheet:[31,4],shortName:"disappointed"},{name:"Face with Cold Sweat",unified:"1F613",keywords:["downcast_face_with_sweat","face","hot","sad","tired","exercise"],sheet:[30,51],shortName:"sweat"},{name:"Weary Face",unified:"1F629",keywords:["weary_face","face","tired","sleepy","sad","frustrated","upset"],sheet:[31,15],shortName:"weary"},{name:"Tired Face",unified:"1F62B",keywords:["tired_face","sick","whine","upset","frustrated"],sheet:[31,17],shortName:"tired_face"},{name:"Yawning Face",unified:"1F971",keywords:["yawning_face","tired","sleepy"],sheet:[42,14],shortName:"yawning_face"},{name:"Face with Look of Triumph",unified:"1F624",keywords:["face_with_steam_from_nose","face","gas","phew","proud","pride"],sheet:[31,10],shortName:"triumph"},{name:"Pouting Face",unified:"1F621",keywords:["pouting_face","angry","mad","hate","despise"],sheet:[31,7],shortName:"rage"},{name:"Angry Face",unified:"1F620",emoticons:[">:(",">:-("],keywords:["angry_face","mad","face","annoyed","frustrated"],sheet:[31,6],shortName:"angry"},{name:"Serious Face with Symbols Covering Mouth",unified:"1F92C",keywords:["face_with_symbols_on_mouth","face","swearing","cursing","cussing","profanity","expletive"],sheet:[38,45],shortNames:["serious_face_with_symbols_covering_mouth"],shortName:"face_with_symbols_on_mouth"},{name:"Smiling Face with Horns",unified:"1F608",keywords:["smiling_face_with_horns","devil","horns"],sheet:[30,40],shortName:"smiling_imp"},{name:"Imp",unified:"1F47F",keywords:["angry_face_with_horns","devil","angry","horns"],sheet:[23,49],shortName:"imp"},{name:"Skull",unified:"1F480",keywords:["skull","dead","skeleton","creepy","death"],sheet:[23,50],shortName:"skull"},{name:"Skull and Crossbones",unified:"2620-FE0F",keywords:["skull_and_crossbones","poison","danger","deadly","scary","death","pirate","evil"],sheet:[54,13],shortName:"skull_and_crossbones"},{name:"Pile of Poo",unified:"1F4A9",keywords:["pile_of_poo","hankey","shitface","fail","turd","shit"],sheet:[25,53],shortNames:["poop","shit"],shortName:"hankey"},{name:"Clown Face",unified:"1F921",keywords:["clown_face","face"],sheet:[38,17],shortName:"clown_face"},{name:"Japanese Ogre",unified:"1F479",keywords:["ogre","monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],sheet:[23,38],shortName:"japanese_ogre"},{name:"Japanese Goblin",unified:"1F47A",keywords:["goblin","red","evil","mask","monster","scary","creepy","japanese","goblin"],sheet:[23,39],shortName:"japanese_goblin"},{name:"Ghost",unified:"1F47B",keywords:["ghost","halloween","spooky","scary"],sheet:[23,40],shortName:"ghost"},{name:"Extraterrestrial Alien",unified:"1F47D",keywords:["alien","UFO","paul","weird","outer_space"],sheet:[23,47],shortName:"alien"},{name:"Alien Monster",unified:"1F47E",keywords:["alien_monster","game","arcade","play"],sheet:[23,48],shortName:"space_invader"},{name:"Robot Face",unified:"1F916",keywords:["robot","computer","machine","bot"],sheet:[37,29],shortName:"robot_face"},{name:"Smiling Cat Face with Open Mouth",unified:"1F63A",keywords:["grinning_cat","animal","cats","happy","smile"],sheet:[31,32],shortName:"smiley_cat"},{name:"Grinning Cat Face with Smiling Eyes",unified:"1F638",keywords:["grinning_cat_with_smiling_eyes","animal","cats","smile"],sheet:[31,30],shortName:"smile_cat"},{name:"Cat Face with Tears of Joy",unified:"1F639",keywords:["cat_with_tears_of_joy","animal","cats","haha","happy","tears"],sheet:[31,31],shortName:"joy_cat"},{name:"Smiling Cat Face with Heart-Shaped Eyes",unified:"1F63B",keywords:["smiling_cat_with_heart_eyes","animal","love","like","affection","cats","valentines","heart"],sheet:[31,33],shortName:"heart_eyes_cat"},{name:"Cat Face with Wry Smile",unified:"1F63C",keywords:["cat_with_wry_smile","animal","cats","smirk"],sheet:[31,34],shortName:"smirk_cat"},{name:"Kissing Cat Face with Closed Eyes",unified:"1F63D",keywords:["kissing_cat","animal","cats","kiss"],sheet:[31,35],shortName:"kissing_cat"},{name:"Weary Cat Face",unified:"1F640",keywords:["weary_cat","animal","cats","munch","scared","scream"],sheet:[31,38],shortName:"scream_cat"},{name:"Crying Cat Face",unified:"1F63F",keywords:["crying_cat","animal","tears","weep","sad","cats","upset","cry"],sheet:[31,37],shortName:"crying_cat_face"},{name:"Pouting Cat Face",unified:"1F63E",keywords:["pouting_cat","animal","cats"],sheet:[31,36],shortName:"pouting_cat"},{name:"See-No-Evil Monkey",unified:"1F648",keywords:["see_no_evil_monkey","monkey","animal","nature","haha"],sheet:[32,39],shortName:"see_no_evil"},{name:"Hear-No-Evil Monkey",unified:"1F649",keywords:["hear_no_evil_monkey","animal","monkey","nature"],sheet:[32,40],shortName:"hear_no_evil"},{name:"Speak-No-Evil Monkey",unified:"1F64A",keywords:["speak_no_evil_monkey","monkey","animal","nature","omg"],sheet:[32,41],shortName:"speak_no_evil"},{name:"Kiss Mark",unified:"1F48B",keywords:["kiss_mark","face","lips","love","like","affection","valentines"],sheet:[25,23],shortName:"kiss"},{name:"Love Letter",unified:"1F48C",keywords:["love_letter","email","like","affection","envelope","valentines"],sheet:[25,24],shortName:"love_letter"},{name:"Heart with Arrow",unified:"1F498",keywords:["heart_with_arrow","love","like","heart","affection","valentines"],sheet:[25,36],shortName:"cupid"},{name:"Heart with Ribbon",unified:"1F49D",keywords:["heart_with_ribbon","love","valentines"],sheet:[25,41],shortName:"gift_heart"},{name:"Sparkling Heart",unified:"1F496",keywords:["sparkling_heart","love","like","affection","valentines"],sheet:[25,34],shortName:"sparkling_heart"},{name:"Growing Heart",unified:"1F497",keywords:["growing_heart","like","love","affection","valentines","pink"],sheet:[25,35],shortName:"heartpulse"},{name:"Beating Heart",unified:"1F493",keywords:["beating_heart","love","like","affection","valentines","pink","heart"],sheet:[25,31],shortName:"heartbeat"},{name:"Revolving Hearts",unified:"1F49E",keywords:["revolving_hearts","love","like","affection","valentines"],sheet:[25,42],shortName:"revolving_hearts"},{name:"Two Hearts",unified:"1F495",keywords:["two_hearts","love","like","affection","valentines","heart"],sheet:[25,33],shortName:"two_hearts"},{name:"Heart Decoration",unified:"1F49F",keywords:["heart_decoration","purple-square","love","like"],sheet:[25,43],shortName:"heart_decoration"},{name:"Heart Exclamation",unified:"2763-FE0F",keywords:["heart_exclamation","decoration","love"],sheet:[56,31],shortName:"heavy_heart_exclamation_mark_ornament"},{name:"Broken Heart",unified:"1F494",text:"`https://unpkg.com/emoji-datasource-${i}@6.0.1/img/${i}/sheets-256/${t}.png`;let kv=(()=>{class i{constructor(){this.uncompressed=!1,this.names={},this.emojis=[],this.uncompressed||(this.uncompress(vde),this.uncompressed=!0)}uncompress(e){this.emojis=e.map(n=>{const r={...n};if(r.shortNames||(r.shortNames=[]),r.shortNames.unshift(r.shortName),r.id=r.shortName,r.native=this.unifiedToNative(r.unified),r.skinVariations||(r.skinVariations=[]),r.keywords||(r.keywords=[]),r.emoticons||(r.emoticons=[]),r.hidden||(r.hidden=[]),r.text||(r.text=""),r.obsoletes){const a=e.find(o=>o.unified===r.obsoletes);a&&(r.keywords=a.keywords?[...r.keywords,...a.keywords,a.shortName]:[...r.keywords,a.shortName])}this.names[r.unified]=r;for(const a of r.shortNames)this.names[a]=r;return r})}getData(e,n,r){let a;if("string"==typeof e){const c=e.match(wde);if(c&&(e=c[1],c[2]&&(n=parseInt(c[2],10))),!this.names.hasOwnProperty(e))return null;a=this.names[e]}else e.id?a=this.names[e.id]:e.unified&&(a=this.names[e.unified.toUpperCase()]);if(a||(a=e,a.custom=!0),a.skinVariations&&a.skinVariations.length&&n&&n>1&&r){a={...a};const c=Fde[n-1],h=a.skinVariations.find(f=>f.unified.includes(c));(!h.hidden||!h.hidden.includes(r))&&(a.skinTone=n,a={...a,...h}),a.native=this.unifiedToNative(a.unified)}return a.set=r||"",a}unifiedToNative(e){const n=e.split("-").map(r=>parseInt(`0x${r}`,16));return String.fromCodePoint(...n)}emojiSpriteStyles(e,n="apple",r=24,a=64,o=57,c=FO,h=58,f){const F=!!f;return{width:`${r}px`,height:`${r}px`,display:"inline-block","background-image":`url(${f=f||c(n,a)})`,"background-size":F?"100% 100%":`${100*h}% ${100*o}%`,"background-position":F?void 0:this.getSpritePosition(e,h)}}getSpritePosition(e,n){const[r,a]=e,o=100/(n-1);return`${o*r}% ${o*a}%`}sanitize(e){if(null===e)return null;let r=`:${e.id||e.shortNames[0]}:`;return e.skinTone&&(r+=`:skin-tone-${e.skinTone}:`),e.colons=r,{...e}}getSanitizedData(e,n,r){return this.sanitize(this.getData(e,n,r))}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),xO=(()=>{class i{constructor(e){this.emojiService=e,this.skin=1,this.set="apple",this.sheetSize=64,this.isNative=!1,this.forceSize=!1,this.tooltip=!1,this.size=24,this.emoji="",this.hideObsolete=!1,this.emojiOver=new ht,this.emojiLeave=new ht,this.emojiClick=new ht,this.title=void 0,this.label="",this.custom=!1,this.isVisible=!0,this.backgroundImageFn=FO}ngOnChanges(){if(!this.emoji)return this.isVisible=!1;const e=this.getData();if(!e)return this.isVisible=!1;if(this.unified=e.native||null,e.custom&&(this.custom=e.custom),!e.unified&&!e.custom)return this.isVisible=!1;if(this.tooltip&&(this.title=e.shortNames[0]),e.obsoletedBy&&this.hideObsolete)return this.isVisible=!1;if(this.label=[e.native].concat(e.shortNames).filter(Boolean).join(", "),this.isNative&&e.unified&&e.native)this.style={fontSize:`${this.size}px`},this.forceSize&&(this.style.display="inline-block",this.style.width=`${this.size}px`,this.style.height=`${this.size}px`,this.style["word-break"]="keep-all");else if(e.custom)this.style={width:`${this.size}px`,height:`${this.size}px`,display:"inline-block"},this.style=e.spriteUrl&&this.sheetRows&&this.sheetColumns?{...this.style,backgroundImage:`url(${e.spriteUrl})`,backgroundSize:`${100*this.sheetColumns}% ${100*this.sheetRows}%`,backgroundPosition:this.emojiService.getSpritePosition(e.sheet,this.sheetColumns)}:{...this.style,backgroundImage:`url(${e.imageUrl})`,backgroundSize:"contain"};else if(e.hidden.length&&e.hidden.includes(this.set)){if(!this.fallback)return this.isVisible=!1;this.style={fontSize:`${this.size}px`},this.unified=this.fallback(e,this)}else this.style=this.emojiService.emojiSpriteStyles(e.sheet,this.set,this.size,this.sheetSize,this.sheetRows,this.backgroundImageFn,this.sheetColumns,this.imageUrlFn?.(this.getData()));return this.isVisible=!0}getData(){return this.emojiService.getData(this.emoji,this.skin,this.set)}getSanitizedData(){return this.emojiService.getSanitizedData(this.emoji,this.skin,this.set)}handleClick(e){const n=this.getSanitizedData();this.emojiClick.emit({emoji:n,$event:e})}handleOver(e){const n=this.getSanitizedData();this.emojiOver.emit({emoji:n,$event:e})}handleLeave(e){const n=this.getSanitizedData();this.emojiLeave.emit({emoji:n,$event:e})}}return i.\u0275fac=function(e){return new(e||i)(D(kv))},i.\u0275cmp=$e({type:i,selectors:[["ngx-emoji"]],inputs:{skin:"skin",set:"set",sheetSize:"sheetSize",isNative:"isNative",forceSize:"forceSize",tooltip:"tooltip",size:"size",emoji:"emoji",fallback:"fallback",hideObsolete:"hideObsolete",sheetRows:"sheetRows",sheetColumns:"sheetColumns",useButton:"useButton",backgroundImageFn:"backgroundImageFn",imageUrlFn:"imageUrlFn"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},features:[mr],ngContentSelectors:vO,decls:2,vars:2,consts:[["type","button","class","emoji-mart-emoji",3,"emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["class","emoji-mart-emoji",3,"emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["type","button",1,"emoji-mart-emoji",3,"click","mouseenter","mouseleave"],[3,"ngStyle"],[3,"ngIf"],[1,"emoji-mart-emoji",3,"click","mouseenter","mouseleave"]],template:function(e,n){1&e&&(Hi(vO),oe(0,_de,4,8,"button",0),oe(1,yde,4,8,"span",1)),2&e&&(N("ngIf",n.useButton&&n.isVisible),A(1),N("ngIf",!n.useButton&&n.isVisible))},dependencies:[mi,ff],encapsulation:2,changeDetection:0}),i})(),xde=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Mr]}),i})();function kde(i,t){if(1&i){const e=tt();y(0,"span",3),pe("click",function(r){Te(e);const a=X().index;return Ie(X().handleClick(r,a))}),y(1,"div"),_o(),y(2,"svg",4),De(3,"path"),k()(),Ol(),De(4,"span",5),k()}if(2&i){const e=X().$implicit,n=X();tr("color",e.name===n.selected?n.color:null),Mt("emoji-mart-anchor-selected",e.name===n.selected),Nt("title",n.i18n.categories[e.id]),A(3),Nt("d",n.icons[e.id]),A(1),tr("background-color",n.color)}}function Cde(i,t){1&i&&oe(0,kde,5,8,"span",2),2&i&&N("ngIf",!1!==t.$implicit.anchor)}const Dde=["container"],Mde=["label"];function Ede(i,t){if(1&i){const e=tt();y(0,"ngx-emoji",9),pe("emojiOver",function(r){return Te(e),Ie(X(3).emojiOver.emit(r))})("emojiLeave",function(r){return Te(e),Ie(X(3).emojiLeave.emit(r))})("emojiClick",function(r){return Te(e),Ie(X(3).emojiClick.emit(r))}),k()}if(2&i){const e=t.$implicit,n=X(3);N("emoji",e)("size",n.emojiSize)("skin",n.emojiSkin)("isNative",n.emojiIsNative)("set",n.emojiSet)("sheetSize",n.emojiSheetSize)("forceSize",n.emojiForceSize)("tooltip",n.emojiTooltip)("backgroundImageFn",n.emojiBackgroundImageFn)("imageUrlFn",n.emojiImageUrlFn)("hideObsolete",n.hideObsolete)("useButton",n.emojiUseButton)}}function Sde(i,t){if(1&i&&(y(0,"div"),oe(1,Ede,1,12,"ngx-emoji",8),k()),2&i){const e=t.ngIf,n=X(2);A(1),N("ngForOf",e)("ngForTrackBy",n.trackById)}}function Ade(i,t){if(1&i&&(y(0,"div"),oe(1,Sde,2,2,"div",6),zi(2,"async"),k()),2&i){const e=X();A(1),N("ngIf",Ui(2,1,e.filteredEmojis$))}}function Tde(i,t){if(1&i&&(y(0,"div")(1,"div"),De(2,"ngx-emoji",10),k(),y(3,"div",11),B(4),k()()),2&i){const e=X();A(2),N("emoji",e.notFoundEmoji)("size",38)("skin",e.emojiSkin)("isNative",e.emojiIsNative)("set",e.emojiSet)("sheetSize",e.emojiSheetSize)("forceSize",e.emojiForceSize)("tooltip",e.emojiTooltip)("backgroundImageFn",e.emojiBackgroundImageFn)("useButton",e.emojiUseButton),A(2),ri(" ",e.i18n.notfound," ")}}function Ide(i,t){if(1&i){const e=tt();y(0,"ngx-emoji",9),pe("emojiOver",function(r){return Te(e),Ie(X(2).emojiOver.emit(r))})("emojiLeave",function(r){return Te(e),Ie(X(2).emojiLeave.emit(r))})("emojiClick",function(r){return Te(e),Ie(X(2).emojiClick.emit(r))}),k()}if(2&i){const e=t.$implicit,n=X(2);N("emoji",e)("size",n.emojiSize)("skin",n.emojiSkin)("isNative",n.emojiIsNative)("set",n.emojiSet)("sheetSize",n.emojiSheetSize)("forceSize",n.emojiForceSize)("tooltip",n.emojiTooltip)("backgroundImageFn",n.emojiBackgroundImageFn)("imageUrlFn",n.emojiImageUrlFn)("hideObsolete",n.hideObsolete)("useButton",n.emojiUseButton)}}function Nde(i,t){if(1&i&&oe(0,Ide,1,12,"ngx-emoji",8),2&i){const e=X();N("ngForOf",e.emojisToDisplay)("ngForTrackBy",e.trackById)}}function Lde(i,t){if(1&i){const e=tt();y(0,"span",2)(1,"span",3),pe("click",function(){const a=Te(e).$implicit;return Ie(X().handleClick(a))})("keyup.enter",function(){const a=Te(e).$implicit;return Ie(X().handleClick(a))})("keyup.space",function(){const a=Te(e).$implicit;return Ie(X().handleClick(a))}),k()()}if(2&i){const e=t.$implicit,n=X();Mt("selected",e===n.skin),A(1),I1("emoji-mart-skin emoji-mart-skin-tone-",e,""),N("tabIndex",n.tabIndex(e)),Nt("aria-hidden",!n.isVisible(e))("aria-pressed",n.pressed(e))("aria-haspopup",!!n.isSelected(e))("aria-expanded",n.expanded(e))("aria-label",n.i18n.skintones[e])("title",n.i18n.skintones[e])}}function Ode(i,t){if(1&i&&(y(0,"span",11),B(1),k()),2&i){const e=t.$implicit;A(1),ri(" :",e,": ")}}function Rde(i,t){if(1&i&&(y(0,"span",15),B(1),k()),2&i){const e=t.$implicit;A(1),ri(" ",e," ")}}function Pde(i,t){if(1&i&&(y(0,"div",8)(1,"div",2),De(2,"ngx-emoji",9),k(),y(3,"div",4)(4,"div",10),B(5),k(),y(6,"div",11),oe(7,Ode,2,1,"span",12),k(),y(8,"div",13),oe(9,Rde,2,1,"span",14),k()()()),2&i){const e=X();A(2),N("emoji",e.emoji)("size",38)("isNative",e.emojiIsNative)("skin",e.emojiSkin)("size",e.emojiSize)("set",e.emojiSet)("sheetSize",e.emojiSheetSize)("backgroundImageFn",e.emojiBackgroundImageFn)("imageUrlFn",e.emojiImageUrlFn),A(3),Ct(e.emojiData.name),A(2),N("ngForOf",e.emojiData.shortNames),A(2),N("ngForOf",e.listedEmoticons)}}function Bde(i,t){if(1&i&&De(0,"ngx-emoji",16),2&i){const e=X();N("isNative",e.emojiIsNative)("skin",e.emojiSkin)("set",e.emojiSet)("emoji",e.idleEmoji)("backgroundImageFn",e.emojiBackgroundImageFn)("size",38)("imageUrlFn",e.emojiImageUrlFn)}}const Hde=["inputRef"],Vde=["scrollRef"];function Yde(i,t){if(1&i){const e=tt();y(0,"emoji-search",8),pe("searchResults",function(r){return Te(e),Ie(X().handleSearch(r))})("enterKey",function(r){return Te(e),Ie(X().handleEnterKey(r))}),k()}if(2&i){const e=X();N("i18n",e.i18n)("include",e.include)("exclude",e.exclude)("custom",e.custom)("autoFocus",e.autoFocus)("icons",e.searchIcons)("emojisToShowFilter",e.emojisToShowFilter)}}function jde(i,t){if(1&i){const e=tt();y(0,"emoji-category",9),pe("emojiOver",function(r){return Te(e),Ie(X().handleEmojiOver(r))})("emojiLeave",function(){return Te(e),Ie(X().handleEmojiLeave())})("emojiClick",function(r){return Te(e),Ie(X().handleEmojiClick(r))}),k()}if(2&i){const e=t.$implicit,n=X();N("id",e.id)("name",e.name)("emojis",e.emojis)("perLine",n.perLine)("totalFrequentLines",n.totalFrequentLines)("hasStickyPosition",n.isNative)("i18n",n.i18n)("hideObsolete",n.hideObsolete)("notFoundEmoji",n.notFoundEmoji)("custom",e.id===n.RECENT_CATEGORY.id?n.CUSTOM_CATEGORY.emojis:void 0)("recent",e.id===n.RECENT_CATEGORY.id?n.recent:void 0)("virtualize",n.virtualize)("virtualizeOffset",n.virtualizeOffset)("emojiIsNative",n.isNative)("emojiSkin",n.skin)("emojiSize",n.emojiSize)("emojiSet",n.set)("emojiSheetSize",n.sheetSize)("emojiForceSize",n.isNative)("emojiTooltip",n.emojiTooltip)("emojiBackgroundImageFn",n.backgroundImageFn)("emojiImageUrlFn",n.imageUrlFn)("emojiUseButton",n.useButton)}}function zde(i,t){if(1&i){const e=tt();y(0,"div",1)(1,"emoji-preview",10),pe("skinChange",function(r){return Te(e),Ie(X().handleSkinChange(r))}),k()()}if(2&i){const e=X();A(1),N("emoji",e.previewEmoji)("idleEmoji",e.emoji)("emojiIsNative",e.isNative)("emojiSize",38)("emojiSkin",e.skin)("emojiSet",e.set)("i18n",e.i18n)("emojiSheetSize",e.sheetSize)("emojiBackgroundImageFn",e.backgroundImageFn)("emojiImageUrlFn",e.imageUrlFn),Nt("title",e.title)}}let Ude=(()=>{class i{constructor(){this.categories=[],this.icons={},this.anchorClick=new ht}trackByFn(e,n){return n.id}handleClick(e,n){this.anchorClick.emit({category:this.categories[n],index:n})}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=$e({type:i,selectors:[["emoji-mart-anchors"]],inputs:{categories:"categories",color:"color",selected:"selected",i18n:"i18n",icons:"icons"},outputs:{anchorClick:"anchorClick"},decls:2,vars:2,consts:[[1,"emoji-mart-anchors"],["ngFor","",3,"ngForOf","ngForTrackBy"],["class","emoji-mart-anchor",3,"emoji-mart-anchor-selected","color","click",4,"ngIf"],[1,"emoji-mart-anchor",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24","height","24"],[1,"emoji-mart-anchor-bar"]],template:function(e,n){1&e&&(y(0,"div",0),oe(1,Cde,1,1,"ng-template",1),k()),2&e&&(A(1),N("ngForOf",n.categories)("ngForTrackBy",n.trackByFn))},dependencies:[Gn,mi],encapsulation:2,changeDetection:0}),i})(),kO=(()=>{class i{constructor(e){this.platformId=e,this.NAMESPACE="emoji-mart",this.frequently=null,this.defaults={},this.initialized=!1,this.DEFAULTS=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","poop"]}init(){this.frequently=JSON.parse(su(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.frequently`)||"null"),this.initialized=!0}add(e){this.initialized||this.init(),this.frequently||(this.frequently=this.defaults),this.frequently[e.id]||(this.frequently[e.id]=0),this.frequently[e.id]+=1,su(this.platformId)&&(localStorage.setItem(`${this.NAMESPACE}.last`,e.id),localStorage.setItem(`${this.NAMESPACE}.frequently`,JSON.stringify(this.frequently)))}get(e,n){if(this.initialized||this.init(),null===this.frequently){this.defaults={};const f=[];for(let F=0;Fthis.frequently[f]-this.frequently[F]).reverse().slice(0,r),h=su(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.last`);return h&&!c.includes(h)&&(c.pop(),c.push(h)),c}}return i.\u0275fac=function(e){return new(e||i)(Ee(ru))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),CO=(()=>{class i{constructor(e,n,r){this.ref=e,this.emojiService=n,this.frequently=r,this.emojis=null,this.hasStickyPosition=!0,this.name="",this.perLine=9,this.totalFrequentLines=4,this.recent=[],this.custom=[],this.hideObsolete=!0,this.virtualize=!1,this.virtualizeOffset=0,this.emojiOver=new ht,this.emojiLeave=new ht,this.emojiClick=new ht,this.containerStyles={},this.emojisToDisplay=[],this.filteredEmojisSubject=new He,this.filteredEmojis$=this.filteredEmojisSubject.asObservable(),this.labelStyles={},this.labelSpanStyles={},this.margin=0,this.minMargin=0,this.maxMargin=0,this.top=0,this.rows=0}ngOnInit(){this.updateRecentEmojis(),this.emojisToDisplay=this.filterEmojis(),this.noEmojiToDisplay&&(this.containerStyles={display:"none"}),this.hasStickyPosition||(this.labelStyles={height:28})}ngOnChanges(e){e.emojis?.currentValue?.length!==e.emojis?.previousValue?.length&&(this.emojisToDisplay=this.filterEmojis(),this.ngAfterViewInit())}ngAfterViewInit(){if(!this.virtualize)return;const{width:e}=this.container.nativeElement.getBoundingClientRect(),n=Math.floor(e/(this.emojiSize+12));this.rows=Math.ceil(this.emojisToDisplay.length/n),this.containerStyles={...this.containerStyles,minHeight:this.rows*(this.emojiSize+12)+28+"px"},this.ref?.detectChanges(),this.handleScroll(this.container.nativeElement.parentNode.parentNode.scrollTop)}get noEmojiToDisplay(){return 0===this.emojisToDisplay.length}memoizeSize(){const e=this.container.nativeElement.parentNode.parentNode,{top:n,height:r}=this.container.nativeElement.getBoundingClientRect(),a=e.getBoundingClientRect().top,o=this.label.nativeElement.getBoundingClientRect().height;this.top=n-a+e.scrollTop,this.maxMargin=0===r?0:r-o}handleScroll(e){let n=e-this.top;if(n=nthis.maxMargin?this.maxMargin:n,this.virtualize){const{top:r,height:a}=this.container.nativeElement.getBoundingClientRect(),o=this.container.nativeElement.parentNode.parentNode.clientHeight;this.filteredEmojisSubject.next(o+(o+this.virtualizeOffset)>=r&&-a-(o+this.virtualizeOffset)<=r?this.emojisToDisplay:[])}return n===this.margin?(this.ref.detectChanges(),!1):(this.hasStickyPosition||(this.label.nativeElement.style.top=`${n}px`),this.margin=n,this.ref.detectChanges(),!0)}updateRecentEmojis(){if("Recent"!==this.name)return;let e=this.recent||this.frequently.get(this.perLine,this.totalFrequentLines);(!e||!e.length)&&(e=this.frequently.get(this.perLine,this.totalFrequentLines)),e.length&&(this.emojis=e.map(n=>this.custom.filter(a=>a.id===n)[0]||n).filter(n=>!!this.emojiService.getData(n)))}updateDisplay(e){this.containerStyles.display=e,this.updateRecentEmojis(),this.ref.detectChanges()}trackById(e,n){return n}filterEmojis(){const e=[];for(const n of this.emojis||[]){if(!n)continue;const r=this.emojiService.getData(n);!r||r.obsoletedBy&&this.hideObsolete||!r.unified&&!r.custom||e.push(n)}return e}}return i.\u0275fac=function(e){return new(e||i)(D(li),D(kv),D(kO))},i.\u0275cmp=$e({type:i,selectors:[["emoji-category"]],viewQuery:function(e,n){if(1&e&&(Tt(Dde,7),Tt(Mde,7)),2&e){let r;Qe(r=Ze())&&(n.container=r.first),Qe(r=Ze())&&(n.label=r.first)}},inputs:{emojis:"emojis",hasStickyPosition:"hasStickyPosition",name:"name",perLine:"perLine",totalFrequentLines:"totalFrequentLines",recent:"recent",custom:"custom",i18n:"i18n",id:"id",hideObsolete:"hideObsolete",notFoundEmoji:"notFoundEmoji",virtualize:"virtualize",virtualizeOffset:"virtualizeOffset",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiForceSize:"emojiForceSize",emojiTooltip:"emojiTooltip",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn",emojiUseButton:"emojiUseButton"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},features:[mr],decls:10,vars:11,consts:[[1,"emoji-mart-category",3,"ngStyle"],["container",""],[1,"emoji-mart-category-label",3,"ngStyle"],["aria-hidden","true",3,"ngStyle"],["label",""],[4,"ngIf","ngIfElse"],[4,"ngIf"],["normalRenderTemplate",""],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","imageUrlFn","hideObsolete","useButton","emojiOver","emojiLeave","emojiClick"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","useButton"],[1,"emoji-mart-no-results-label"]],template:function(e,n){if(1&e&&(y(0,"section",0,1)(2,"div",2)(3,"span",3,4),B(5),k()(),oe(6,Ade,3,3,"div",5),oe(7,Tde,5,11,"div",6),k(),oe(8,Nde,1,2,"ng-template",null,7,dl)),2&e){const r=en(9);Mt("emoji-mart-no-results",n.noEmojiToDisplay),N("ngStyle",n.containerStyles),Nt("aria-label",n.i18n.categories[n.id]),A(2),N("ngStyle",n.labelStyles),Nt("data-name",n.name),A(1),N("ngStyle",n.labelSpanStyles),A(2),ri(" ",n.i18n.categories[n.id]," "),A(1),N("ngIf",n.virtualize)("ngIfElse",r),A(1),N("ngIf",n.noEmojiToDisplay)}},dependencies:[Gn,mi,ff,xO,Os],encapsulation:2,changeDetection:0}),i})();function DO(i){return i.reduce((t,e)=>(t.includes(e)||t.push(e),t),[])}function Wde(i,t){const e=DO(i),n=DO(t);return e.filter(r=>n.indexOf(r)>=0)}let qde=(()=>{class i{constructor(e){this.emojiService=e,this.originalPool={},this.index={},this.emojisList={},this.emoticonsList={},this.emojiSearch={};for(const n of this.emojiService.emojis){const{shortNames:r,emoticons:a}=n,o=r[0];for(const c of a)this.emoticonsList[c]||(this.emoticonsList[c]=o);this.emojisList[o]=this.emojiService.getSanitizedData(o),this.originalPool[o]=n}}addCustomToPool(e,n){for(const r of e){const a=r.id||r.shortNames[0];a&&!n[a]&&(n[a]=this.emojiService.getData(r),this.emojisList[a]=this.emojiService.getSanitizedData(r))}}search(e,n,r=75,a=[],o=[],c=[]){this.addCustomToPool(c,this.originalPool);let h,f=this.originalPool;if(e.length){if("-"===e||"-1"===e)return[this.emojisList[-1]];if("+"===e||"+1"===e)return[this.emojisList["+1"]];let F=e.toLowerCase().split(/[\s|,|\-|_]+/),R=[];if(F.length>2&&(F=[F[0],F[1]]),a.length||o.length){f={};for(const W of wO||[]){const te=!a||!a.length||a.indexOf(W.id)>-1,fe=!(!o||!o.length)&&o.indexOf(W.id)>-1;if(te&&!fe)for(const we of W.emojis||[]){const Ae=this.emojiService.getData(we);f[Ae?.id??""]=Ae}}if(c.length){const W=!a||!a.length||a.indexOf("custom")>-1,te=!(!o||!o.length)&&o.indexOf("custom")>-1;W&&!te&&this.addCustomToPool(c,f)}}R=F.map(W=>{let te=f,fe=this.index,we=0;for(let Ae=0;Aeet[Be.id]-et[dt.id])}te=fe.pool}return fe.results}).filter(W=>W),h=R.length>1?Wde.apply(null,R):R.length?R[0]:[]}return h&&(n&&(h=h.filter(F=>!(!F||!F.id)&&n(this.emojiService.names[F.id]))),h&&h.length>r&&(h=h.slice(0,r))),h||null}buildSearch(e,n,r,a,o){const c=[],h=(f,F)=>{if(!f)return;const R=Array.isArray(f)?f:[f];for(const W of R){const te=F?W.split(/[-|_|\s]+/):[W];for(let fe of te)fe=fe.toLowerCase(),c.includes(fe)||c.push(fe)}};return h(e,!0),h(n,!0),h(r,!0),h(a,!0),h(o,!1),c.join(",")}}return i.\u0275fac=function(e){return new(e||i)(Ee(kv))},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),$de=(()=>{class i{constructor(){this.changeSkin=new ht,this.opened=!1,this.skinTones=[1,2,3,4,5,6]}toggleOpen(){this.opened=!this.opened}isSelected(e){return e===this.skin}isVisible(e){return this.opened||this.isSelected(e)}pressed(e){return this.opened?!!this.isSelected(e):""}tabIndex(e){return this.isVisible(e)?"0":""}expanded(e){return this.isSelected(e)?this.opened:""}handleClick(e){this.opened?(this.opened=!1,e!==this.skin&&this.changeSkin.emit(e)):this.opened=!0}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=$e({type:i,selectors:[["emoji-skins"]],inputs:{skin:"skin",i18n:"i18n"},outputs:{changeSkin:"changeSkin"},decls:2,vars:3,consts:[[1,"emoji-mart-skin-swatches"],["class","emoji-mart-skin-swatch",3,"selected",4,"ngFor","ngForOf"],[1,"emoji-mart-skin-swatch"],["role","button",3,"tabIndex","click","keyup.enter","keyup.space"]],template:function(e,n){1&e&&(y(0,"section",0),oe(1,Lde,2,12,"span",1),k()),2&e&&(Mt("opened",n.opened),A(1),N("ngForOf",n.skinTones))},dependencies:[Gn],encapsulation:2,changeDetection:0}),i})(),MO=(()=>{class i{constructor(e,n){this.ref=e,this.emojiService=n,this.skinChange=new ht,this.emojiData={}}ngOnChanges(){if(!this.emoji)return;this.emojiData=this.emojiService.getData(this.emoji,this.emojiSkin,this.emojiSet);const e=[],n=[];(this.emojiData.emoticons||[]).forEach(a=>{e.indexOf(a.toLowerCase())>=0||(e.push(a.toLowerCase()),n.push(a))}),this.listedEmoticons=n,this.ref?.detectChanges()}}return i.\u0275fac=function(e){return new(e||i)(D(li),D(kv))},i.\u0275cmp=$e({type:i,selectors:[["emoji-preview"]],inputs:{title:"title",emoji:"emoji",idleEmoji:"idleEmoji",i18n:"i18n",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiImageUrlFn:"emojiImageUrlFn"},outputs:{skinChange:"skinChange"},features:[mr],decls:9,vars:6,consts:[["class","emoji-mart-preview",4,"ngIf"],[1,"emoji-mart-preview",3,"hidden"],[1,"emoji-mart-preview-emoji"],[3,"isNative","skin","set","emoji","backgroundImageFn","size","imageUrlFn",4,"ngIf"],[1,"emoji-mart-preview-data"],[1,"emoji-mart-title-label"],[1,"emoji-mart-preview-skins"],[3,"skin","i18n","changeSkin"],[1,"emoji-mart-preview"],[3,"emoji","size","isNative","skin","set","sheetSize","backgroundImageFn","imageUrlFn"],[1,"emoji-mart-preview-name"],[1,"emoji-mart-preview-shortname"],["class","emoji-mart-preview-shortname",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticons"],["class","emoji-mart-preview-emoticon",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticon"],[3,"isNative","skin","set","emoji","backgroundImageFn","size","imageUrlFn"]],template:function(e,n){1&e&&(oe(0,Pde,10,12,"div",0),y(1,"div",1)(2,"div",2),oe(3,Bde,1,7,"ngx-emoji",3),k(),y(4,"div",4)(5,"span",5),B(6),k()(),y(7,"div",6)(8,"emoji-skins",7),pe("changeSkin",function(a){return n.skinChange.emit(a)}),k()()()),2&e&&(N("ngIf",n.emoji&&n.emojiData),A(1),N("hidden",n.emoji),A(2),N("ngIf",n.idleEmoji&&n.idleEmoji.length),A(3),Ct(n.title),A(2),N("skin",n.emojiSkin)("i18n",n.i18n))},dependencies:[Gn,mi,xO,$de],encapsulation:2,changeDetection:0}),i})(),Kde=0,EO=(()=>{class i{constructor(e){this.emojiSearch=e,this.maxResults=75,this.autoFocus=!1,this.include=[],this.exclude=[],this.custom=[],this.searchResults=new ht,this.enterKey=new ht,this.isSearching=!1,this.query="",this.inputId="emoji-mart-search-"+ ++Kde}ngOnInit(){this.icon=this.icons.search}ngAfterViewInit(){this.autoFocus&&this.inputRef.nativeElement.focus()}clear(){this.query="",this.handleSearch(""),this.inputRef.nativeElement.focus()}handleEnterKey(e){this.query&&(this.enterKey.emit(e),e.preventDefault())}handleSearch(e){""===e?(this.icon=this.icons.search,this.isSearching=!1):(this.icon=this.icons.delete,this.isSearching=!0);const n=this.emojiSearch.search(this.query,this.emojisToShowFilter,this.maxResults,this.include,this.exclude,this.custom);this.searchResults.emit(n)}handleChange(){this.handleSearch(this.query)}}return i.\u0275fac=function(e){return new(e||i)(D(qde))},i.\u0275cmp=$e({type:i,selectors:[["emoji-search"]],viewQuery:function(e,n){if(1&e&&Tt(Hde,7),2&e){let r;Qe(r=Ze())&&(n.inputRef=r.first)}},inputs:{maxResults:"maxResults",autoFocus:"autoFocus",i18n:"i18n",include:"include",exclude:"exclude",custom:"custom",icons:"icons",emojisToShowFilter:"emojisToShowFilter"},outputs:{searchResults:"searchResults",enterKey:"enterKey"},decls:8,vars:9,consts:[[1,"emoji-mart-search"],["type","search",3,"id","placeholder","autofocus","ngModel","keyup.enter","ngModelChange"],["inputRef",""],[1,"emoji-mart-sr-only",3,"htmlFor"],["type","button",1,"emoji-mart-search-icon",3,"disabled","click","keyup.enter"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","width","13","height","13","opacity","0.5"]],template:function(e,n){1&e&&(y(0,"div",0)(1,"input",1,2),pe("keyup.enter",function(a){return n.handleEnterKey(a)})("ngModelChange",function(a){return n.query=a})("ngModelChange",function(){return n.handleChange()}),k(),y(3,"label",3),B(4),k(),y(5,"button",4),pe("click",function(){return n.clear()})("keyup.enter",function(){return n.clear()}),_o(),y(6,"svg",5),De(7,"path"),k()()()),2&e&&(A(1),N("id",n.inputId)("placeholder",n.i18n.search)("autofocus",n.autoFocus)("ngModel",n.query),A(2),N("htmlFor",n.inputId),A(1),ri(" ",n.i18n.search," "),A(1),N("disabled",!n.isSearching),Nt("aria-label",n.i18n.clear),A(2),Nt("d",n.icon))},dependencies:[uo,Wa,Ga],encapsulation:2}),i})();const SO={activity:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m10 11h-5c.3-2.5 1.3-4.8 2-6.1a10 10 0 0 1 3 6.1m-9 0V2a10 10 0 0 1 4.4 1.6A18 18 0 0 0 15 11h-2zm-2 0H9a18 18 0 0 0-2.4-7.4A10 10 0 0 1 11 2.1V11zm0 2v9a10 10 0 0 1-4.4-1.6A18 18 0 0 0 9 13h2zm4 0a18 18 0 0 0 2.4 7.4 10 10 0 0 1-4.4 1.5V13h2zM5 4.9c.7 1.3 1.7 3.6 2 6.1H2a10 10 0 0 1 3-6.1M2 13h5c-.3 2.5-1.3 4.8-2 6.1A10 10 0 0 1 2 13m17 6.1c-.7-1.3-1.7-3.6-2-6.1h5a10 10 0 0 1-3 6.1",custom:"M10 1h3v21h-3zm10.186 4l1.5 2.598L3.5 18.098 2 15.5zM2 7.598L3.5 5l18.186 10.5-1.5 2.598z",flags:"M0 0l6 24h2L2 0zm21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.6 3h7.8l2 8H8.6l-2-8zm8.8 10l-2.9 1.9-.4-1.9h3.3zm3.6 0l-1.5-6h2l2 8H16l3-2z",foods:"M17 5c-1.8 0-2.9.4-3.7 1 .5-1.3 1.8-3 4.7-3a1 1 0 0 0 0-2c-3 0-4.6 1.3-5.5 2.5l-.2.2c-.6-1.9-1.5-3.7-3-3.7C8.5 0 7.7.3 7 1c-2 1.5-1.7 2.9-.5 4C3.6 5.2 0 7.4 0 13c0 4.6 5 11 9 11 2 0 2.4-.5 3-1 .6.5 1 1 3 1 4 0 9-6.4 9-11 0-6-4-8-7-8M8.2 2.5c.7-.5 1-.5 1-.5.4.2 1 1.4 1.4 3-1.6-.6-2.8-1.3-3-1.8l.6-.7M15 22c-1 0-1.2-.1-1.6-.4l-.1-.2a2 2 0 0 0-2.6 0l-.1.2c-.4.3-.5.4-1.6.4-2.8 0-7-5.4-7-9 0-6 4.5-6 5-6 2 0 2.5.4 3.4 1.2l.3.3a2 2 0 0 0 2.6 0l.3-.3c1-.8 1.5-1.2 3.4-1.2.5 0 5 .1 5 6 0 3.6-4.2 9-7 9",nature:"M15.5 8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-7 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m10.43-8h-.02c-.97 0-2.14.79-3.02 1.5A13.88 13.88 0 0 0 12 .99c-1.28 0-2.62.13-3.87.51C7.24.8 6.07 0 5.09 0h-.02C3.35 0 .07 2.67 0 7.03c-.04 2.47.28 4.23 1.04 5 .26.27.88.69 1.3.9.19 3.17.92 5.23 2.53 6.37.9.64 2.19.95 3.2 1.1-.03.2-.07.4-.07.6 0 1.77 2.35 3 4 3s4-1.23 4-3c0-.2-.04-.4-.07-.59 2.57-.38 5.43-1.87 5.92-7.58.4-.22.89-.57 1.1-.8.77-.76 1.09-2.52 1.05-5C23.93 2.67 20.65 0 18.93 0M3.23 9.13c-.24.29-.84 1.16-.9 1.24A9.67 9.67 0 0 1 2 7.08c.05-3.28 2.48-4.97 3.1-5.03.25.02.72.27 1.26.65A7.95 7.95 0 0 0 4 7.82c-.14.55-.4.86-.79 1.31M12 22c-.9 0-1.95-.7-2-1 0-.65.47-1.24 1-1.6v.6a1 1 0 1 0 2 0v-.6c.52.36 1 .95 1 1.6-.05.3-1.1 1-2 1m3-3.48v.02a4.75 4.75 0 0 0-1.26-1.02c1.09-.52 2.24-1.33 2.24-2.22 0-1.84-1.78-2.2-3.98-2.2s-3.98.36-3.98 2.2c0 .89 1.15 1.7 2.24 2.22A4.8 4.8 0 0 0 9 18.54v-.03a6.1 6.1 0 0 1-2.97-.84c-1.3-.92-1.84-3.04-1.86-6.48l.03-.04c.5-.82 1.49-1.45 1.8-3.1C6 6 7.36 4.42 8.36 3.53c1.01-.35 2.2-.53 3.59-.53 1.45 0 2.68.2 3.73.57 1 .9 2.32 2.46 2.32 4.48.31 1.65 1.3 2.27 1.8 3.1l.1.18c-.06 5.97-1.95 7.01-4.9 7.19m6.63-8.2l-.11-.2a7.59 7.59 0 0 0-.74-.98 3.02 3.02 0 0 1-.79-1.32 7.93 7.93 0 0 0-2.35-5.12c.53-.38 1-.63 1.26-.65.64.07 3.05 1.77 3.1 5.03.02 1.81-.35 3.22-.37 3.24",objects:"M12 0a9 9 0 0 0-5 16.5V21s2 3 5 3 5-3 5-3v-4.5A9 9 0 0 0 12 0zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zM9 17.5a9 9 0 0 0 6 0v.8a7 7 0 0 1-3 .7 7 7 0 0 1-3-.7v-.8zm.2 3a8.9 8.9 0 0 0 2.8.5c1 0 1.9-.2 2.8-.5-.6.7-1.6 1.5-2.8 1.5-1.1 0-2.1-.8-2.8-1.5zm5.5-8.1c-.8 0-1.1-.8-1.5-1.8-.5-1-.7-1.5-1.2-1.5s-.8.5-1.3 1.5c-.4 1-.8 1.8-1.6 1.8h-.3c-.5-.2-.8-.7-1.3-1.8l-.2-1A3 3 0 0 0 7 9a1 1 0 0 1 0-2c1.7 0 2 1.4 2.2 2.1.5-1 1.3-2 2.8-2 1.5 0 2.3 1.1 2.7 2.1.2-.8.6-2.2 2.3-2.2a1 1 0 1 1 0 2c-.2 0-.3.5-.3.7a6.5 6.5 0 0 1-.3 1c-.5 1-.8 1.7-1.7 1.7",people:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20M8 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-.8 8c-.7 1.2-1.8 2-3.3 2-1.5 0-2.7-.8-3.4-2H15m3-2H6a6 6 0 1 0 12 0",places:"M6.5 12a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m11-3a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m5-5.5l-1-.4-.1-.1h.6c.6 0 1-.4 1-1 0-1-.9-2-2-2h-.6l-.8-1.7A3 3 0 0 0 16.8 2H7.2a3 3 0 0 0-2.8 2.3L3.6 6H3a2 2 0 0 0-2 2c0 .6.4 1 1 1h.6v.1l-1 .4a2 2 0 0 0-1.4 2l.7 7.6a1 1 0 0 0 1 .9H3v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h6v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h1.1a1 1 0 0 0 1-.9l.7-7.5a2 2 0 0 0-1.3-2.1M6.3 4.9c.1-.5.5-.9 1-.9h9.5c.4 0 .8.4 1 .9L19.2 9H4.7l1.6-4.1zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.2-3H2.8l-.7-6.6.9-.4h18l.9.4-.7 6.6z",recent:"M13 4h-2v7H9v2h2v2h2v-2h4v-2h-4zm-1-4a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20",symbols:"M0 0h11v2H0zm4 11h3V6h4V4H0v2h4zm11.5 6a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5m0-2.99a.5.5 0 0 1 0 .99c-.28 0-.5-.22-.5-.5s.22-.49.5-.49m6 5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 2.99a.5.5 0 0 1-.5-.5.5.5 0 0 1 1 .01.5.5 0 0 1-.5.49m.5-9l-9 9 1.51 1.5 9-9zm-5-2c2.2 0 4-1.12 4-2.5V2s.98-.16 1.5.95C23 4.05 23 6 23 6s1-1.12 1-3.13C24-.02 21 0 21 0h-2v6.35A5.85 5.85 0 0 0 17 6c-2.2 0-4 1.12-4 2.5s1.8 2.5 4 2.5m-6.7 9.48L8.82 18.9a47.54 47.54 0 0 1-1.44 1.13c-.3-.3-.99-1.02-2.04-2.19.9-.83 1.47-1.46 1.72-1.89s.38-.87.38-1.33c0-.6-.27-1.18-.82-1.76-.54-.58-1.33-.87-2.35-.87-1 0-1.79.29-2.34.87-.56.6-.83 1.18-.83 1.79 0 .81.42 1.75 1.25 2.8a6.57 6.57 0 0 0-1.8 1.79 3.46 3.46 0 0 0-.51 1.83c0 .86.3 1.56.92 2.1a3.5 3.5 0 0 0 2.42.83c1.17 0 2.44-.38 3.81-1.14L8.23 24h2.82l-2.09-2.38 1.34-1.14zM3.56 14.1a1.02 1.02 0 0 1 .73-.28c.31 0 .56.08.75.25a.85.85 0 0 1 .28.66c0 .52-.42 1.11-1.26 1.78-.53-.65-.8-1.23-.8-1.74a.9.9 0 0 1 .3-.67m.18 7.9c-.43 0-.78-.12-1.06-.35-.28-.23-.41-.49-.41-.76 0-.6.5-1.3 1.52-2.09a31.23 31.23 0 0 0 2.25 2.44c-.92.5-1.69.76-2.3.76"},AO={search:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z",delete:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"},TO={search:"Search",emojilist:"List of emoji",notfound:"No Emoji Found",clear:"Clear",categories:{search:"Search Results",recent:"Frequently Used",people:"Smileys & People",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},skintones:{1:"Default Skin Tone",2:"Light Skin Tone",3:"Medium-Light Skin Tone",4:"Medium Skin Tone",5:"Medium-Dark Skin Tone",6:"Dark Skin Tone"}};let wD=(()=>{class i{constructor(e,n,r,a,o){this.ngZone=e,this.renderer=n,this.ref=r,this.frequently=a,this.platformId=o,this.perLine=9,this.totalFrequentLines=4,this.i18n={},this.style={},this.title="Emoji Mart\u2122",this.emoji="department_store",this.darkMode=!("function"!=typeof matchMedia||!matchMedia("(prefers-color-scheme: dark)").matches),this.color="#ae65c5",this.hideObsolete=!0,this.categories=[],this.activeCategories=[],this.set="apple",this.skin=1,this.isNative=!1,this.emojiSize=24,this.sheetSize=64,this.showPreview=!0,this.emojiTooltip=!1,this.autoFocus=!1,this.custom=[],this.hideRecent=!0,this.notFoundEmoji="sleuth_or_spy",this.categoriesIcons=SO,this.searchIcons=AO,this.useButton=!1,this.enableFrequentEmojiSort=!1,this.enableSearch=!0,this.showSingleCategory=!1,this.virtualize=!1,this.virtualizeOffset=0,this.emojiClick=new ht,this.emojiSelect=new ht,this.skinChange=new ht,this.scrollHeight=0,this.clientHeight=0,this.clientWidth=0,this.firstRender=!0,this.animationFrameRequestId=null,this.NAMESPACE="emoji-mart",this.measureScrollbar=0,this.RECENT_CATEGORY={id:"recent",name:"Recent",emojis:null},this.SEARCH_CATEGORY={id:"search",name:"Search",emojis:null,anchor:!1},this.CUSTOM_CATEGORY={id:"custom",name:"Custom",emojis:[]},this.backgroundImageFn=(c,h)=>`https://unpkg.com/emoji-datasource-${this.set}@6.0.1/img/${this.set}/sheets-256/${this.sheetSize}.png`}ngOnInit(){this.measureScrollbar=function Gde(){if(typeof document>"u")return 0;const i=document.createElement("div");i.style.width="100px",i.style.height="100px",i.style.overflow="scroll",i.style.position="absolute",i.style.top="-9999px",document.body.appendChild(i);const t=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),t}(),this.i18n={...TO,...this.i18n},this.i18n.categories={...TO.categories,...this.i18n.categories},this.skin=JSON.parse(su(this.platformId)&&localStorage.getItem(`${this.NAMESPACE}.skin`)||"null")||this.skin;const e=[...wO];this.custom.length>0&&(this.CUSTOM_CATEGORY.emojis=this.custom.map(c=>({...c,id:c.shortNames[0],custom:!0})),e.push(this.CUSTOM_CATEGORY)),void 0!==this.include&&e.sort((c,h)=>this.include.indexOf(c.id)>this.include.indexOf(h.id)?1:-1);for(const c of e){const h=!this.include||!this.include.length||this.include.indexOf(c.id)>-1,f=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(c.id)>-1;if(h&&!f){if(this.emojisToShowFilter){const F=[],{emojis:R}=c;for(let W=0;W-1,r=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(this.RECENT_CATEGORY.id)>-1;n&&!r&&(this.hideRecent=!1,this.categories.unshift(this.RECENT_CATEGORY)),this.categories[0]&&(this.categories[0].first=!0),this.categories.unshift(this.SEARCH_CATEGORY),this.selected=this.categories.filter(c=>c.first)[0].name;const a=Math.min(this.categories.length,3);this.setActiveCategories(this.activeCategories=this.categories.slice(0,a));const o=this.categories[a-1].emojis.slice();this.categories[a-1].emojis=o.slice(0,60),setTimeout(()=>{this.categories[a-1].emojis=o,this.setActiveCategories(this.categories),this.ref.detectChanges(),su(this.platformId)&&this.ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this.updateCategoriesSize()})})}),this.ngZone.runOutsideAngular(()=>{this.scrollListener=this.renderer.listen(this.scrollRef.nativeElement,"scroll",()=>{this.handleScroll()})})}ngOnDestroy(){this.scrollListener?.(),this.cancelAnimationFrame()}setActiveCategories(e){this.activeCategories=this.showSingleCategory?e.filter(n=>n.name===this.selected||n===this.SEARCH_CATEGORY):e}updateCategoriesSize(){if(this.categoryRefs.forEach(e=>e.memoizeSize()),this.scrollRef){const e=this.scrollRef.nativeElement;this.scrollHeight=e.scrollHeight,this.clientHeight=e.clientHeight,this.clientWidth=e.clientWidth}}handleAnchorClick(e){if(this.updateCategoriesSize(),this.selected=e.category.name,this.setActiveCategories(this.categories),this.SEARCH_CATEGORY.emojis)return this.handleSearch(null),this.searchRef?.clear(),void this.handleAnchorClick(e);const n=this.categoryRefs.find(r=>r.id===e.category.id);if(n){let{top:r}=n;e.category.first?r=0:r+=1,this.scrollRef.nativeElement.scrollTop=r}this.nextScroll=e.category.name;for(const r of this.categories)this.categoryRefs.find(({id:o})=>o===r.id)?.handleScroll(this.scrollRef.nativeElement.scrollTop)}categoryTrack(e,n){return n.id}handleScroll(e=!1){if(this.nextScroll)return this.selected=this.nextScroll,this.nextScroll=void 0,void this.ref.detectChanges();if(!this.scrollRef||this.showSingleCategory)return;let n;if(this.SEARCH_CATEGORY.emojis)n=this.SEARCH_CATEGORY;else{const r=this.scrollRef.nativeElement;if(0===r.scrollTop)n=this.categories.find(a=>!0===a.first);else if(r.scrollHeight-r.scrollTop===this.clientHeight)n=this.categories[this.categories.length-1];else for(const a of this.categories)this.categoryRefs.find(({id:h})=>h===a.id)?.handleScroll(r.scrollTop)&&(n=a);this.scrollTop=r.scrollTop}!e&&n&&n.name!==this.selected?(this.selected=n.name,this.ref.detectChanges()):e&&this.ref.detectChanges()}handleSearch(e){this.SEARCH_CATEGORY.emojis=e;for(const n of this.categoryRefs.toArray())"Search"===n.name?(n.emojis=e,n.updateDisplay(e?"block":"none")):n.updateDisplay(e?"none":"block");this.scrollRef.nativeElement.scrollTop=0,this.handleScroll()}handleEnterKey(e,n){if(!n&&null!==this.SEARCH_CATEGORY.emojis&&this.SEARCH_CATEGORY.emojis.length){if(!(n=this.SEARCH_CATEGORY.emojis[0]))return;this.emojiSelect.emit({$event:e,emoji:n})}!this.hideRecent&&!this.recent&&n&&this.frequently.add(n);const r=this.categoryRefs.toArray()[1];r&&this.enableFrequentEmojiSort&&(r.updateRecentEmojis(),r.ref.markForCheck())}handleEmojiOver(e){if(!this.showPreview||!this.previewRef)return;const n=this.CUSTOM_CATEGORY.emojis.find(r=>r.id===e.emoji.id);n&&(e.emoji={...n}),this.previewEmoji=e.emoji,this.cancelAnimationFrame(),this.ref?.detectChanges()}handleEmojiLeave(){!this.showPreview||!this.previewRef||this.ngZone.runOutsideAngular(()=>{this.animationFrameRequestId=requestAnimationFrame(()=>{this.previewEmoji=null,this.ref.detectChanges()})})}handleEmojiClick(e){this.emojiClick.emit(e),this.emojiSelect.emit(e),this.handleEnterKey(e.$event,e.emoji)}handleSkinChange(e){this.skin=e,localStorage.setItem(`${this.NAMESPACE}.skin`,String(e)),this.skinChange.emit(e)}getWidth(){return this.style&&this.style.width?this.style.width:this.perLine*(this.emojiSize+12)+12+2+this.measureScrollbar+"px"}cancelAnimationFrame(){null!==this.animationFrameRequestId&&(cancelAnimationFrame(this.animationFrameRequestId),this.animationFrameRequestId=null)}}return i.\u0275fac=function(e){return new(e||i)(D(Rt),D(Bl),D(li),D(kO),D(ru))},i.\u0275cmp=$e({type:i,selectors:[["emoji-mart"]],viewQuery:function(e,n){if(1&e&&(Tt(Vde,7),Tt(MO,5),Tt(EO,5),Tt(CO,5)),2&e){let r;Qe(r=Ze())&&(n.scrollRef=r.first),Qe(r=Ze())&&(n.previewRef=r.first),Qe(r=Ze())&&(n.searchRef=r.first),Qe(r=Ze())&&(n.categoryRefs=r)}},inputs:{perLine:"perLine",totalFrequentLines:"totalFrequentLines",i18n:"i18n",style:"style",title:"title",emoji:"emoji",darkMode:"darkMode",color:"color",hideObsolete:"hideObsolete",categories:"categories",activeCategories:"activeCategories",set:"set",skin:"skin",isNative:"isNative",emojiSize:"emojiSize",sheetSize:"sheetSize",emojisToShowFilter:"emojisToShowFilter",showPreview:"showPreview",emojiTooltip:"emojiTooltip",autoFocus:"autoFocus",custom:"custom",hideRecent:"hideRecent",imageUrlFn:"imageUrlFn",include:"include",exclude:"exclude",notFoundEmoji:"notFoundEmoji",categoriesIcons:"categoriesIcons",searchIcons:"searchIcons",useButton:"useButton",enableFrequentEmojiSort:"enableFrequentEmojiSort",enableSearch:"enableSearch",showSingleCategory:"showSingleCategory",virtualize:"virtualize",virtualizeOffset:"virtualizeOffset",recent:"recent",backgroundImageFn:"backgroundImageFn"},outputs:{emojiClick:"emojiClick",emojiSelect:"emojiSelect",skinChange:"skinChange"},decls:8,vars:16,consts:[[3,"ngStyle"],[1,"emoji-mart-bar"],[3,"categories","color","selected","i18n","icons","anchorClick"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKey",4,"ngIf"],[1,"emoji-mart-scroll"],["scrollRef",""],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],["class","emoji-mart-bar",4,"ngIf"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKey"],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","virtualize","virtualizeOffset","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiImageUrlFn","emojiUseButton","emojiOver","emojiLeave","emojiClick"],[3,"emoji","idleEmoji","emojiIsNative","emojiSize","emojiSkin","emojiSet","i18n","emojiSheetSize","emojiBackgroundImageFn","emojiImageUrlFn","skinChange"]],template:function(e,n){1&e&&(y(0,"section",0)(1,"div",1)(2,"emoji-mart-anchors",2),pe("anchorClick",function(a){return n.handleAnchorClick(a)}),k()(),oe(3,Yde,1,7,"emoji-search",3),y(4,"section",4,5),oe(6,jde,1,23,"emoji-category",6),k(),oe(7,zde,2,11,"div",7),k()),2&e&&(I1("emoji-mart ",n.darkMode?"emoji-mart-dark":"",""),tr("width",n.getWidth()),N("ngStyle",n.style),A(2),N("categories",n.categories)("color",n.color)("selected",n.selected)("i18n",n.i18n)("icons",n.categoriesIcons),A(1),N("ngIf",n.enableSearch),A(1),Nt("aria-label",n.i18n.emojilist),A(2),N("ngForOf",n.activeCategories)("ngForTrackBy",n.categoryTrack),A(1),N("ngIf",n.showPreview))},dependencies:[Gn,mi,ff,Ude,CO,EO,MO],encapsulation:2,changeDetection:0}),i})(),Qde=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Mr,Py,xde]}),i})(),IO=(()=>{class i{constructor(){this.hideText=!1,this.loading=!1,this.textHidden=!1}set mtBasicSpinner(e){this.loading=e,this.hideText&&(this.textHidden=e)}get disabled(){return this.mtBasicSpinner}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["","mtBasicSpinner",""]],hostVars:5,hostBindings:function(e,n){2&e&&(lo("disabled",n.disabled),Mt("mat-spinner",n.loading)("hide-btn-text",n.textHidden))},inputs:{hideText:"hideText",mtBasicSpinner:"mtBasicSpinner"}}),i})(),Zde=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})();const Xde=["replyInput"];function Jde(i,t){if(1&i){const e=tt();y(0,"emoji-mart",6),pe("emojiSelect",function(r){return Te(e),Ie(X(2).addEmoji(r))}),k()}2&i&&N("isNative",!0)("showPreview",!0)}function eue(i,t){if(1&i){const e=tt();y(0,"mat-icon",3),pe("click",function(){Te(e);const r=X();return Ie(r.isEmojiPickerVisible=!r.isEmojiPickerVisible)}),B(1,"sentiment_satisfied"),k(),oe(2,Jde,1,2,"emoji-mart",4),y(3,"button",5),pe("click",function(){return Te(e),Ie(X().openReply())}),B(4,"Reply"),k()}if(2&i){const e=X();A(2),N("ngIf",e.isEmojiPickerVisible)}}function tue(i,t){if(1&i){const e=tt();y(0,"emoji-mart",19),pe("emojiSelect",function(r){return Te(e),Ie(X(2).addEmojiInText(r))}),k()}2&i&&N("isNative",!0)("showPreview",!1)}function iue(i,t){if(1&i&&(y(0,"small",20),B(1),k()),2&i){const e=X(2);A(1),Ct(e.error)}}function nue(i,t){1&i&&De(0,"button",21),2&i&&N("mtBasicSpinner",!0)}function rue(i,t){if(1&i){const e=tt();y(0,"button",22),pe("click",function(){return Te(e),Ie(X(2).addReply())}),B(1,"Reply"),k()}if(2&i){const e=X(2);N("disabled",0==(null==e.note?null:e.note.length))}}function aue(i,t){if(1&i){const e=tt();y(0,"div",7)(1,"mat-form-field",8)(2,"mat-label"),B(3,"Note"),k(),y(4,"textarea",9,10),pe("ngModelChange",function(r){return Te(e),Ie(X().note=r)}),k()(),y(6,"div",11)(7,"mat-icon",12),pe("click",function(){Te(e);const r=X();return Ie(r.isEmojiPickerTextVisible=!r.isEmojiPickerTextVisible)}),B(8,"sentiment_satisfied"),k(),oe(9,tue,1,2,"emoji-mart",13),De(10,"div",14),oe(11,iue,2,1,"small",15),y(12,"button",16),pe("click",function(){return Te(e),Ie(X().hideReply())}),B(13,"Cancel"),k(),oe(14,nue,1,1,"button",17),oe(15,rue,2,1,"button",18),k()()}if(2&i){const e=X();A(4),N("tabIndex",0)("ngModel",e.note),A(5),N("ngIf",e.isEmojiPickerTextVisible),A(2),N("ngIf",e.error),A(3),N("ngIf",e.publishing),A(1),N("ngIf",!e.publishing)}}const oue=function(i,t){return{"no-lines":i,lines:t}};class Uu{onKeydownHandler(t){this.hideReply()}constructor(t,e,n,r,a,o){this.eventService=t,this.dataService=e,this.optionsService=n,this.profileService=r,this.utilities=a,this.dialog=o,this.replyOpen=!1,this.publishing=!1,this.error=""}openReply(){this.replyOpen=!0,this.publishing=!1,this.note="",this.error="",setTimeout(()=>{console.log(this.replyInput),this.replyInput?.nativeElement.focus()})}hideReply(){this.replyOpen=!1,this.publishing=!1,this.note="",this.error=""}addEmojiInText(t){var e=this;return Se(function*(){e.isEmojiPickerTextVisible=!1,e.note=`${e.note}${t.emoji.native}`})()}addEmoji(t){var e=this;return Se(function*(){e.isEmojiPickerVisible=!1;let n=e.dataService.createEvent(Qn.Reaction,t.emoji.native);if(!e.event)return void console.warn("Event is empty on reaction.");n.tags=Object.assign([],e.event.tags),n.tags.push(["p",e.event.pubkey]),n.tags.push(["e",e.event.id]);const r=yield e.dataService.signEvent(n);console.log(r),yield e.dataService.publishEvent(r),e.event.tags=n.tags})()}addReply(){var t=this;return Se(function*(){t.publishing=!0;let e=t.dataService.createEvent(Qn.Text,t.note);if(t.event){e.tags=Object.assign([],t.eventService.getPublicKeyAndEventTags(t.event.tags)),e.tags.push(["p",t.event.pubkey]),e.tags.push(["e",t.event.id]);try{const n=yield t.dataService.signEvent(e);console.log(n),yield t.dataService.publishEvent(n),t.hideReply()}catch(n){t.error=n.toString(),console.log(n),t.publishing=!1}}else console.warn("Event is empty on reply.")})()}}function sue(i,t){if(1&i){const e=tt();y(0,"span",1),pe("click",function(){return Te(e),Ie(X().toggle())}),B(1),zi(2,"ago"),k()}if(2&i){const e=X();A(1),Ct(Ui(2,1,e.date))}}function lue(i,t){if(1&i){const e=tt();y(0,"span",1),pe("click",function(){return Te(e),Ie(X().toggle())}),B(1),zi(2,"date"),k()}if(2&i){const e=X();A(1),Ct(function DS(i,t,e,n){const r=i+sn,a=Ft(),o=Jd(a,r);return ag(a,r)?FS(a,go(),t,o.transform,e,n,o):o.transform(e,n)}(2,1,1e3*e.date,"yyyy-MM-dd HH:mm:ss"))}}Uu.\u0275fac=function(t){return new(t||Uu)(D(zs),D(Ka),D(Er),D(Vn),D(Nn),D(ja))},Uu.\u0275cmp=$e({type:Uu,selectors:[["app-event-buttons"]],viewQuery:function(t,e){if(1&t&&Tt(Xde,5),2&t){let n;Qe(n=Ze())&&(e.replyInput=n.first)}},hostBindings:function(t,e){1&t&&pe("keydown.escape",function(r){return e.onKeydownHandler(r)},0,y1)},inputs:{event:"event"},decls:3,vars:6,consts:[[1,"thread-actions",3,"ngClass"],[3,"ngIf"],["class","reply-widget",4,"ngIf"],["matTooltip","Reaction to post",1,"reaction-icon","toolbar-icon",3,"click"],["class","picker","emoji","point_up","title","Choose your reaction",3,"isNative","showPreview","emojiSelect",4,"ngIf"],["mat-button","",3,"click"],["emoji","point_up","title","Choose your reaction",1,"picker",3,"isNative","showPreview","emojiSelect"],[1,"reply-widget"],["appearance","outline",1,"input-full-width"],["matInput","","type","text","rows","6",1,"note-input",3,"tabIndex","ngModel","ngModelChange"],["replyInput",""],[1,"reply-widget-buttons"],["matTooltip","Insert emoji in text",1,"toolbar-icon","margin-right",3,"click"],["class","picker","emoji","point_up","title","Choose your emoji",3,"isNative","showPreview","emojiSelect",4,"ngIf"],[1,"reply-widget-middle"],["class","error",4,"ngIf"],["mat-stroked-button","","color","primary",3,"click"],["mat-icon-button","",3,"mtBasicSpinner",4,"ngIf"],["mat-flat-button","","color","primary",3,"disabled","click",4,"ngIf"],["emoji","point_up","title","Choose your emoji",1,"picker",3,"isNative","showPreview","emojiSelect"],[1,"error"],["mat-icon-button","",3,"mtBasicSpinner"],["mat-flat-button","","color","primary",3,"disabled","click"]],template:function(t,e){1&t&&(y(0,"div",0),oe(1,eue,5,1,"ng-template",1),oe(2,aue,16,6,"div",2),k()),2&t&&(N("ngClass",cl(3,oue,!e.optionsService.values.showLines,e.optionsService.values.showLines)),A(1),N("ngIf",!e.replyOpen),A(1),N("ngIf",e.replyOpen))},dependencies:[Pa,mi,rs,Eo,Wo,Cr,Do,pr,Fl,wD,uo,Wa,Ga,IO],styles:[".picker[_ngcontent-%COMP%]{display:block;z-index:3}.thread-actions[_ngcontent-%COMP%]{padding-left:1em;margin-left:27px;padding-bottom:.3em}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.reaction-icon[_ngcontent-%COMP%]{font-size:1.4em}.reply-widget[_ngcontent-%COMP%]{padding-top:1em;padding-bottom:1em}.reply-widget-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row}.reply-widget-middle[_ngcontent-%COMP%]{flex:1 2 auto}.thread-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:.4em}"]});class Wu{toggle(){this.isoDate=!this.isoDate}}Wu.\u0275fac=function(t){return new(t||Wu)},Wu.\u0275cmp=$e({type:Wu,selectors:[["app-date"]],inputs:{date:"date"},decls:2,vars:2,consts:[["class","event-date",3,"click",4,"ngIf"],[1,"event-date",3,"click"]],template:function(t,e){1&t&&(oe(0,sue,3,3,"span",0),oe(1,lue,3,4,"span",0)),2&t&&(N("ngIf",!e.isoDate),A(1),N("ngIf",e.isoDate))},dependencies:[mi,ZA,Gs],styles:[".event-date[_ngcontent-%COMP%]{margin-right:.1em;cursor:pointer}"]});const NO=function(i,t){return{"no-lines":i,lines:t}};function cue(i,t){if(1&i&&(y(0,"div",1)(1,"span")(2,"div",2)(3,"app-event-header",3),De(4,"app-date",4)(5,"app-directory-icon",3),k(),De(6,"app-event-actions",5),k(),De(7,"app-content",6)(8,"app-event-reactions",7)(9,"app-event-buttons",7)(10,"app-event-thread",7),k()()),2&i){const e=t.$implicit,n=X();N("ngClass",cl(12,NO,!n.optionsService.values.showLines,n.optionsService.values.showLines)),A(3),N("pubkey",e.pubkey),A(1),N("date",e.created_at),A(1),N("pubkey",e.pubkey),A(1),N("event",e)("pubkey",e.pubkey),A(1),N("ngClass",cl(15,NO,!n.optionsService.values.showLines,n.optionsService.values.showLines))("displayRepliesTo",!0)("event",e),A(1),N("event",e),A(1),N("event",e),A(1),N("event",e)}}class cm{constructor(t,e,n){this.ui=t,this.thread=e,this.optionsService=n,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngAfterViewInit(){}ngOnInit(){return Se(function*(){})()}}cm.\u0275fac=function(t){return new(t||cm)(D(qr),D(zc),D(Er))},cm.\u0275cmp=$e({type:cm,selectors:[["app-event-thread"]],inputs:{event:"event"},decls:1,vars:1,consts:[["class","thread-event",3,"ngClass",4,"ngFor","ngForOf"],[1,"thread-event",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[3,"date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","displayRepliesTo","event"],[3,"event"]],template:function(t,e){1&t&&oe(0,cue,11,18,"div",0),2&t&&N("ngForOf",e.ui.children(e.event.id))},dependencies:[Pa,Gn,xl,Fs,kl,Ws,cm,zu,Uu,Wu],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}"]});const due=function(i,t){return{"no-lines2":i,lines2:t}},uue=function(i,t){return{"no-lines":i,lines:t}};function hue(i,t){if(1&i&&(y(0,"div",1)(1,"span")(2,"div",2)(3,"app-event-header",3)(4,"span",4),B(5),zi(6,"ago"),k(),De(7,"app-directory-icon",3),k(),De(8,"app-event-actions",5),k(),De(9,"app-content",6)(10,"app-event-reactions",7)(11,"app-event-buttons",7),k()()),2&i){const e=X();N("ngClass",cl(13,due,!e.optionsService.values.showLines,e.optionsService.values.showLines)),A(3),N("pubkey",e.event.pubkey),A(2),Ct(Ui(6,11,e.event.created_at)),A(2),N("pubkey",e.event.pubkey),A(1),N("event",e.event)("pubkey",e.event.pubkey),A(1),N("ngClass",cl(16,uue,!e.optionsService.values.showLines,e.optionsService.values.showLines))("displayRepliesTo",!1)("event",e.event),A(1),N("event",e.event),A(1),N("event",e.event)}}class cp{constructor(t,e,n){this.ui=t,this.thread=e,this.optionsService=n,this.imagePath="/assets/profile.png",this.tooltip="",this.tooltipName="",this.profileName=""}ngAfterViewInit(){}ngOnInit(){return Se(function*(){})()}}function mue(i,t){if(1&i){const e=tt();y(0,"mat-card",14)(1,"button",15),pe("click",function(){Te(e);const r=X().ngIf;return Ie(X().open(r.rootEventId))}),y(2,"mat-icon"),B(3,"keyboard_double_arrow_up"),k(),B(4,"View Thread"),k()()}}function fue(i,t){if(1&i&&(y(0,"div",16),De(1,"app-event",13),k()),2&i){const e=t.ngIf;A(1),N("event",e)}}function pue(i,t){if(1&i){const e=tt();y(0,"mat-card",14)(1,"button",15),pe("click",function(){Te(e);const r=X().ngIf;return Ie(X().open(r.parentEventId))}),y(2,"mat-icon"),B(3,"keyboard_arrow_up"),k(),B(4,"View Parent"),k()()}}cp.\u0275fac=function(t){return new(t||cp)(D(qr),D(zc),D(Er))},cp.\u0275cmp=$e({type:cp,selectors:[["app-event"]],inputs:{threadEntry:"threadEntry",event:"event"},decls:1,vars:1,consts:[["class","thread-event2",3,"ngClass",4,"ngIf"],[1,"thread-event2",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[1,"event-date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","displayRepliesTo","event"],[3,"event"]],template:function(t,e){1&t&&oe(0,hue,12,19,"div",0),2&t&&N("ngIf",e.event)},dependencies:[Pa,mi,xl,Fs,kl,Ws,zu,Uu,Gs],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}"]});const gue=function(i,t,e,n){return{"is-root":i,"has-root":t,"no-lines":e,lines:n}},_ue=function(i,t){return{"no-lines":i,lines:t}};function bue(i,t){if(1&i){const e=tt();y(0,"div",1)(1,"div",2)(2,"mat-accordion",3)(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),B(6,"Options"),k(),De(7,"mat-panel-description"),k(),y(8,"p")(9,"mat-slide-toggle",4),pe("change",function(){return Te(e),Ie(X().optionsService.save())})("ngModelChange",function(r){return Te(e),Ie(X().optionsService.values.showLines=r)}),B(10,"Show lines"),k()()()()(),oe(11,mue,5,0,"mat-card",5),oe(12,fue,2,1,"div",6),zi(13,"async"),y(14,"div",7),oe(15,pue,5,0,"mat-card",5),y(16,"div",8)(17,"app-event-header",9),De(18,"app-date",10)(19,"app-directory-icon",9),k(),De(20,"app-event-actions",11),k(),De(21,"app-content",12)(22,"app-event-reactions",13)(23,"app-event-buttons",13)(24,"app-event-thread",13),k()()}if(2&i){const e=t.ngIf,n=X();A(9),N("ngModel",n.optionsService.values.showLines),A(2),N("ngIf",e.rootEventId),A(1),N("ngIf",Ui(13,15,n.ui.parentEvent$)),A(2),N("ngClass",bF(17,gue,!e.parentEventId,e.parentEventId,!n.optionsService.values.showLines,n.optionsService.values.showLines)),A(1),N("ngIf",e.parentEventId),A(2),N("pubkey",e.pubkey),A(1),N("date",e.created_at),A(1),N("pubkey",e.pubkey),A(1),N("event",e)("pubkey",e.pubkey),A(1),N("ngClass",cl(22,_ue,!n.optionsService.values.showLines,n.optionsService.values.showLines))("event",e),A(1),N("event",e),A(1),N("event",e),A(1),N("event",e)}}class dp{constructor(t,e,n,r,a,o,c,h,f,F,R){this.appState=t,this.activatedRoute=e,this.cd=n,this.optionsService=r,this.navigation=a,this.profiles=o,this.thread=c,this.validator=h,this.utilities=f,this.router=F,this.ui=R,this.initialLoad=!0}open(t){this.router.navigate(["/e",t])}likes(t){}dislikes(t){}replies(t){}filteredThread(){}repliesTo(t){if(!t)return;let e=t.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return e=e.filter(n=>n!==t.pubkey),e}ngOnInit(){var t=this;console.log("CURRENT EVENT:",this.navigation.currentEvent),this.ui.setPubKey(void 0,!1),this.ui.clearViewPositions(),this.navigation.currentEvent&&this.ui.setEvent(this.navigation.currentEvent),this.appState.updateTitle("Thread"),this.appState.showBackButton=!0,this.activatedRoute.paramMap.subscribe(function(){var e=Se(function*(n){const r=n.get("id");if(r)if(r.startsWith("note")){const a=t.utilities.convertFromBech32ToHex(r);t.router.navigate(["/e",a])}else t.navigation.currentEvent?.id!=r&&t.ui.setEventId(r);else t.router.navigateByUrl("/")});return function(n){return e.apply(this,arguments)}}())}trackByFn(t,e){return e.id}ngOnDestroy(){this.sub&&this.sub.unsub(),this.ui.clear()}}dp.\u0275fac=function(t){return new(t||dp)(D(ln),D(Ps),D(li),D(Er),D(Ao),D(Vn),D(zc),D(Uo),D(Nn),D(rr),D(qr))},dp.\u0275cmp=$e({type:dp,selectors:[["app-note"]],decls:3,vars:3,consts:[["class","feed-page",4,"ngIf"],[1,"feed-page"],[1,"options-container"],[1,"options"],[1,"options-slider",3,"ngModel","change","ngModelChange"],["class","button-card",4,"ngIf"],["class","parent-event",4,"ngIf"],[1,"current-event","events2","noclick",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[3,"date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","event"],[3,"event"],[1,"button-card"],["mat-flat-button","",3,"click"],[1,"parent-event"]],template:function(t,e){1&t&&(oe(0,bue,25,25,"div",0),zi(1,"async"),De(2,"mat-divider")),2&t&&N("ngIf",Ui(1,1,e.ui.event$))},dependencies:[Pa,mi,Cr,Sa,pr,K_,tc,Vc,Yc,Od,Ld,z_,Wa,Ga,xl,Fs,kl,Ws,cm,zu,Uu,Wu,cp,Os],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}.events[_ngcontent-%COMP%]{padding:0!important}.thread-actions[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;padding-bottom:.3em}.button-card[_ngcontent-%COMP%]{margin-bottom:.4em}.has-root[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em}.is-root[_ngcontent-%COMP%]{margin-left:0;padding-left:0;border-left:2px solid transparent!important}.options-container[_ngcontent-%COMP%]{margin-bottom:1em}"]});class t0{constructor(t,e,n){this.cd=t,this.appState=e,this.http=n}ngOnInit(){this.appState.showBackButton=!0,this.appState.updateTitle("Licenses"),this.appState.actions=[],this.showContent("3rdpartylicenses.txt",e=>`
${e.replace(//g,">")}
`)}showContent(t,e=(n=>n)){this.http.get(t,{responseType:"text"}).pipe(Jr(n=>{this.licenses=n,this.cd.markForCheck()},n=>{this.licenses=`Unable to get content (${n.statusText})`,this.cd.markForCheck()})).subscribe()}}t0.\u0275fac=function(t){return new(t||t0)(D(li),D(ln),D(jy))},t0.\u0275cmp=$e({type:t0,selectors:[["app-licenses"]],decls:9,vars:1,consts:[[1,"page"],["href","https://github.com/block-core/blockcore-notes","target","_blank"],[1,"marginless","heading"],[1,"linebreaks"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"p"),B(2,"Blockcore Note is an open source project published under the MIT license. You can view the source code on "),y(3,"a",1),B(4,"GitHub"),k()(),y(5,"h1",2),B(6,"Third Party Licenses"),k(),y(7,"div",3),B(8),k()()),2&t&&(A(8),Ct(e.licenses))},styles:[".mascot[_ngcontent-%COMP%]{width:100%;max-width:1024px}.logo[_ngcontent-%COMP%]{float:left;margin-bottom:1em;margin-right:1em;max-width:128px;margin-left:-8em}.help[_ngcontent-%COMP%]{padding-left:10em}@media only screen and (max-width: 599px){.help[_ngcontent-%COMP%]{font-size:.8em;padding-left:8em}.logo[_ngcontent-%COMP%]{max-width:64px;margin-left:-6em}}"]});const yue=["*",[["mat-toolbar-row"]]],vue=["*","mat-toolbar-row"],wue=Kl(class{constructor(i){this._elementRef=i}});let LO=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),i})(),OO=(()=>{class i extends wue{constructor(e,n,r){super(e),this._platform=n,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(Pn),D(Ci))},i.\u0275cmp=$e({type:i,selectors:[["mat-toolbar"]],contentQueries:function(e,n,r){if(1&e&&di(r,LO,5),2&e){let a;Qe(a=Ze())&&(n._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,n){2&e&&Mt("mat-toolbar-multiple-rows",n._toolbarRows.length>0)("mat-toolbar-single-row",0===n._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[ot],ngContentSelectors:vue,decls:2,vars:0,template:function(e,n){1&e&&(Hi(yue),wt(0),wt(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),i})(),Fue=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt,Kt]}),i})();const Cv=["*"],xue=["content"];function kue(i,t){if(1&i){const e=tt();y(0,"div",2),pe("click",function(){return Te(e),Ie(X()._onBackdropClicked())}),k()}2&i&&Mt("mat-drawer-shown",X()._isShowingBackdrop())}function Cue(i,t){1&i&&(y(0,"mat-drawer-content"),wt(1,2),k())}const Due=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Mue=["mat-drawer","mat-drawer-content","*"];function Eue(i,t){if(1&i){const e=tt();y(0,"div",2),pe("click",function(){return Te(e),Ie(X()._onBackdropClicked())}),k()}2&i&&Mt("mat-drawer-shown",X()._isShowingBackdrop())}function Sue(i,t){1&i&&(y(0,"mat-sidenav-content"),wt(1,2),k())}const Aue=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Tue=["mat-sidenav","mat-sidenav-content","*"],RO={transformDrawer:Va("transform",[fr("open, open-instant",hi({transform:"none",visibility:"visible"})),fr("void",hi({"box-shadow":"none",visibility:"hidden"})),nr("void => open-instant",ir("0ms")),nr("void <=> open, open-instant => void",ir("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Nue=new Ke("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Lue(){return!1}}),FD=new Ke("MAT_DRAWER_CONTAINER");let Dv=(()=>{class i extends Dh{constructor(e,n,r,a,o){super(r,a,o),this._changeDetectorRef=e,this._container=n}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return i.\u0275fac=function(e){return new(e||i)(D(li),D(ci(()=>kD)),D(_t),D(du),D(Rt))},i.\u0275cmp=$e({type:i,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,n){2&e&&tr("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px")},features:[Ot([{provide:Dh,useExisting:i}]),ot],ngContentSelectors:Cv,decls:1,vars:0,template:function(e,n){1&e&&(Hi(),wt(0))},encapsulation:2,changeDetection:0}),i})(),xD=(()=>{class i{get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=xt(e)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=xt(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(xt(e))}constructor(e,n,r,a,o,c,h,f){this._elementRef=e,this._focusTrapFactory=n,this._focusMonitor=r,this._platform=a,this._ngZone=o,this._interactivityChecker=c,this._doc=h,this._container=f,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new He,this._animationEnd=new He,this._animationState="void",this.openedChange=new ht(!0),this._openedStream=this.openedChange.pipe(Ki(F=>F),bt(()=>{})),this.openedStart=this._animationStarted.pipe(Ki(F=>F.fromState!==F.toState&&0===F.toState.indexOf("open")),Db(void 0)),this._closedStream=this.openedChange.pipe(Ki(F=>!F),bt(()=>{})),this.closedStart=this._animationStarted.pipe(Ki(F=>F.fromState!==F.toState&&"void"===F.toState),Db(void 0)),this._destroyed=new He,this.onPositionChanged=new ht,this._modeChanged=new He,this.openedChange.subscribe(F=>{F?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{is(this._elementRef.nativeElement,"keydown").pipe(Ki(F=>27===F.keyCode&&!this.disableClose&&!ga(F)),ti(this._destroyed)).subscribe(F=>this._ngZone.run(()=>{this.close(),F.stopPropagation(),F.preventDefault()}))}),this._animationEnd.pipe(vg((F,R)=>F.fromState===R.fromState&&F.toState===R.toState)).subscribe(F=>{const{fromState:R,toState:W}=F;(0===W.indexOf("open")&&"void"===R||"void"===W&&0===R.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(e,n){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(n)}_focusByCssSelector(e,n){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,n)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(n=>{!n&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,n){e&&n&&(this._openedVia=n);const r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,n,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",n&&this._restoreFocus(r)),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe(gn(1)).subscribe(o=>a(o?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const n=this._elementRef.nativeElement,r=n.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,n)),r.appendChild(n)):this._anchor&&this._anchor.parentNode.insertBefore(n,this._anchor)}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(vf),D(Ha),D(Pn),D(Rt),D(Ch),D(Ci,8),D(FD,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-drawer"]],viewQuery:function(e,n){if(1&e&&Tt(xue,5),2&e){let r;Qe(r=Ze())&&(n._content=r.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,n){1&e&&tf("@transform.start",function(a){return n._animationStarted.next(a)})("@transform.done",function(a){return n._animationEnd.next(a)}),2&e&&(Nt("align",null),rf("@transform",n._animationState),Mt("mat-drawer-end","end"===n.position)("mat-drawer-over","over"===n.mode)("mat-drawer-push","push"===n.mode)("mat-drawer-side","side"===n.mode)("mat-drawer-opened",n.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Cv,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,n){1&e&&(Hi(),y(0,"div",0,1),wt(2),k())},dependencies:[Dh],encapsulation:2,data:{animation:[RO.transformDrawer]},changeDetection:0}),i})(),kD=(()=>{class i{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=xt(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:xt(e)}get scrollable(){return this._userContent||this._content}constructor(e,n,r,a,o,c=!1,h){this._dir=e,this._element=n,this._ngZone=r,this._changeDetectorRef=a,this._animationMode=h,this._drawers=new wc,this.backdropClick=new ht,this._destroyed=new He,this._doCheckSubject=new He,this._contentMargins={left:null,right:null},this._contentMarginChanges=new He,e&&e.change.pipe(ti(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),o.change().pipe(ti(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=c}ngAfterContentInit(){this._allDrawers.changes.pipe(Yr(this._allDrawers),ti(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(n=>!n._container||n._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Yr(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(yg(10),ti(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const r=this._left._getWidth();e+=r,n-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._getWidth();else if("push"==this._right.mode){const r=this._right._getWidth();n+=r,e-=r}e=e||null,n=n||null,(e!==this._contentMargins.left||n!==this._contentMargins.right)&&(this._contentMargins={left:e,right:n},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(Ki(n=>n.fromState!==n.toState),ti(this._drawers.changes)).subscribe(n=>{"open-instant"!==n.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(ti(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(ti(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(gn(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(ti(Rn(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const n=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?n.add(r):n.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return i.\u0275fac=function(e){return new(e||i)(D(jr,8),D(_t),D(Rt),D(li),D(pl),D(Nue),D(Tn,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-drawer-container"]],contentQueries:function(e,n,r){if(1&e&&(di(r,Dv,5),di(r,xD,5)),2&e){let a;Qe(a=Ze())&&(n._content=a.first),Qe(a=Ze())&&(n._allDrawers=a)}},viewQuery:function(e,n){if(1&e&&Tt(Dv,5),2&e){let r;Qe(r=Ze())&&(n._userContent=r.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mat-drawer-container-explicit-backdrop",n._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Ot([{provide:FD,useExisting:i}])],ngContentSelectors:Mue,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,n){1&e&&(Hi(Due),oe(0,kue,1,2,"div",0),wt(1),wt(2,1),oe(3,Cue,2,0,"mat-drawer-content",1)),2&e&&(N("ngIf",n.hasBackdrop),A(3),N("ngIf",!n._content))},dependencies:[mi,Dv],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),i})(),CD=(()=>{class i extends Dv{constructor(e,n,r,a,o){super(e,n,r,a,o)}}return i.\u0275fac=function(e){return new(e||i)(D(li),D(ci(()=>MD)),D(_t),D(du),D(Rt))},i.\u0275cmp=$e({type:i,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,n){2&e&&tr("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px")},features:[Ot([{provide:Dh,useExisting:i}]),ot],ngContentSelectors:Cv,decls:1,vars:0,template:function(e,n){1&e&&(Hi(),wt(0))},encapsulation:2,changeDetection:0}),i})(),DD=(()=>{class i extends xD{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=xt(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=vr(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=vr(e)}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275cmp=$e({type:i,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,n){2&e&&(Nt("align",null),tr("top",n.fixedInViewport?n.fixedTopGap:null,"px")("bottom",n.fixedInViewport?n.fixedBottomGap:null,"px"),Mt("mat-drawer-end","end"===n.position)("mat-drawer-over","over"===n.mode)("mat-drawer-push","push"===n.mode)("mat-drawer-side","side"===n.mode)("mat-drawer-opened",n.opened)("mat-sidenav-fixed",n.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[ot],ngContentSelectors:Cv,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,n){1&e&&(Hi(),y(0,"div",0,1),wt(2),k())},dependencies:[Dh],encapsulation:2,data:{animation:[RO.transformDrawer]},changeDetection:0}),i})(),MD=(()=>{class i extends kD{}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275cmp=$e({type:i,selectors:[["mat-sidenav-container"]],contentQueries:function(e,n,r){if(1&e&&(di(r,CD,5),di(r,DD,5)),2&e){let a;Qe(a=Ze())&&(n._content=a.first),Qe(a=Ze())&&(n._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,n){2&e&&Mt("mat-drawer-container-explicit-backdrop",n._backdropOverride)},exportAs:["matSidenavContainer"],features:[Ot([{provide:FD,useExisting:i}]),ot],ngContentSelectors:Tue,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,n){1&e&&(Hi(Aue),oe(0,Eue,1,2,"div",0),wt(1),wt(2,1),oe(3,Sue,2,0,"mat-sidenav-content",1)),2&e&&(N("ngIf",n.hasBackdrop),A(3),N("ngIf",!n._content))},dependencies:[mi,CD],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),i})(),Oue=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Mr,Kt,Cc,Cc,Kt]}),i})();var Mv=new WeakMap,Gu=new WeakMap;class nc{get chats$(){return Pe(this,Mv).asObservable().pipe()}get chats2$(){return qt(Pe(this,Gu))}get uniqueChats$(){return this.chats2$.pipe(bt(t=>{const e=t.sort((r,a)=>r.created_ate.findIndex(o=>o.pubkey==r.pubkey)===a)}))}constructor(t,e,n,r){bn(this,Mv,{writable:!0,value:void 0}),bn(this,Gu,{writable:!0,value:void 0}),this.nostr=t,this.queueService=e,this.dataService=n,this.appState=r,this.chats=[],fi(this,Mv,new Oi(this.chats)),fi(this,Gu,[]),this.chats3=[],this.subscriptions=[],this.data={users:[{id:0,username:"Milad",name:"Milad Raeisi",cover:"https://avatars.githubusercontent.com/u/6504337",status:"Online",bio:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. "},{id:1,username:"SondreB",name:"Sondre",cover:"https://avatars.githubusercontent.com/u/309938",status:"Online",bio:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, "}],chats:[{id:0,targetUserId:0,username:"Blockcore Channel",cover:"https://avatars.githubusercontent.com/u/53176002",lastMessage:"The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested.",lastMessageLength:0,chat:[{id:"1",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Hi"},{id:"1",cover:"https://avatars.githubusercontent.com/u/6504337",message:"How are you?"},{id:"0",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Hi, I am good, you?"},{id:"1",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Thank you."}]},{id:1,targetUserId:0,username:"Milad",cover:"https://avatars.githubusercontent.com/u/6504337",lastMessage:"All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary,",lastMessageLength:2,chat:[{id:"4",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Lorem Ipsum is simply dummy text of the printing and typesetting industry."},{id:"4",cover:"https://avatars.githubusercontent.com/u/6504337",message:"Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy."}]},{id:2,targetUserId:1,username:"SondreB",cover:"https://avatars.githubusercontent.com/u/309938",lastMessage:" Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.",lastMessageLength:0,chat:[{id:"0",cover:"https://avatars.githubusercontent.com/u/309938",message:"Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc."},{id:"0",cover:"https://avatars.githubusercontent.com/u/309938",message:"Lorem ipsum dolor sit amet."},{id:"0",cover:"https://avatars.githubusercontent.com/u/309938",message:"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."}]}],saveMessage:{id:0,chatId:2,cover:"https://avatars.githubusercontent.com/u/53176002",message:"Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc."},createChat:{id:0,targetUserId:1,username:"Milad",cover:"https://avatars.githubusercontent.com/u/6504337",lastMessage:"",lastMessageLength:0,chat:[]}},this.chats=this.data.chats,Pe(this,Mv).next(this.chats),console.log(this.data.chats)}download(){var t=this;fi(this,Gu,[]),this.dataService.downloadEventsByQuery([{kinds:[4],"#p":[this.appState.getPublicKey()]}],3e3).pipe(Tg(Se(function*(){for(let e=0;er.id===n.id)>-1||Pe(t,Gu).unshift(n)});return function(n){return e.apply(this,arguments)}}())}saveMessage(t,e){}createChat(t){}getChats(){return this.data.chats}}nc.\u0275fac=function(t){return new(t||nc)(Ee(Jl),Ee(ws),Ee(Ka),Ee(ln))},nc.\u0275prov=it({token:nc,factory:nc.\u0275fac,providedIn:"root"});class Yd{constructor(t){this.chatService=t,this.users=new Oi(null),this.active=new Oi(null)}getUsers(){return this.chatService.data.users}}Yd.\u0275fac=function(t){return new(t||Yd)(Ee(nc))},Yd.\u0275prov=it({token:Yd,factory:Yd.\u0275fac,providedIn:"root"});class up{constructor(){this.type="online"}}function Rue(i,t){if(1&i){const e=tt();y(0,"div",1)(1,"div",2),De(2,"img",3),k(),y(3,"div",4)(4,"button",5),pe("click",function(){return Te(e),Ie(X().openNewChat())}),B(5,"Write Message"),k()(),y(6,"h1",6),B(7),k(),y(8,"div",7),De(9,"app-status",8),k(),y(10,"h2",9),B(11,"Biography"),k(),y(12,"p",10),B(13),k()()}if(2&i){const e=X();A(2),N("src",e.user.cover,An),A(5),Ct(e.user.username),A(2),N("text",e.user.status),A(4),Ct(e.user.bio)}}up.\u0275fac=function(t){return new(t||up)},up.\u0275cmp=$e({type:up,selectors:[["app-status"]],inputs:{type:"type",text:"text"},decls:2,vars:3,template:function(t,e){1&t&&(y(0,"span"),B(1),k()),2&t&&(sF("mat-caption status status--"+e.type),A(1),ri(" ",e.text,"\n"))},styles:['.status[_ngcontent-%COMP%]:before{content:"";display:inline-block;width:4px;height:4px;border-radius:4px;position:relative;top:-4px;margin-right:3px}.status--online[_ngcontent-%COMP%]{color:#27f32f}.status--online[_ngcontent-%COMP%]:before{background-color:#27f32f}.status--offline[_ngcontent-%COMP%]{color:#acacac}.status--offline[_ngcontent-%COMP%]:before{background-color:#acacac}.status--busy[_ngcontent-%COMP%]{color:#ff451e}.status--busy[_ngcontent-%COMP%]:before{background-color:#ff451e}']});class n0{constructor(t,e){this.service=t,this.messageService=e,this.openChatWindow=new ht}openNewChat(){this.messageService.createChat(this.user),this.openChatWindow.emit(this.user.username)}ngOnInit(){this.subscription=this.service.active.subscribe(t=>this.user=t)}ngOnDestroy(){this.subscription.unsubscribe()}}n0.\u0275fac=function(t){return new(t||n0)(D(Yd),D(nc))},n0.\u0275cmp=$e({type:n0,selectors:[["app-user-profile"]],outputs:{openChatWindow:"openChatWindow"},decls:1,vars:1,consts:[["class","profile",4,"ngIf"],[1,"profile"],[1,"profile__picture-container"],["alt","",1,"profile__picture",3,"src"],[1,"profile__button"],["mat-flat-button","","color","primary",3,"click"],[1,"mat-h1","profile__username"],["mat-line","",1,"profile__status"],[1,"mat-line",3,"text"],[1,"mat-h2"],[1,"mat-body"]],template:function(t,e){1&t&&oe(0,Rue,14,4,"div",0),2&t&&N("ngIf",e.user)},dependencies:[mi,Cr,Gx,up],styles:[".profile[_ngcontent-%COMP%]{padding:16px}.profile__picture-container[_ngcontent-%COMP%]{width:180px;height:180px;border-radius:120px;overflow:hidden;margin:0 auto 12px}.profile__picture[_ngcontent-%COMP%]{width:100%;height:auto}.profile__username[_ngcontent-%COMP%]{margin:0}.profile__status[_ngcontent-%COMP%]{margin-bottom:16px}.profile__button[_ngcontent-%COMP%]{margin:8px auto 16px;display:flex;justify-content:center}"]});class r0{constructor(t){this.service=t,this.openSidebar=new ht}showProfile(){this.service.active.next(this.user),this.openSidebar.emit(this.user.name)}}function Pue(i,t){1&i&&De(0,"mat-divider")}function Bue(i,t){if(1&i){const e=tt();Fn(0),y(1,"app-user-item",1),pe("openSidebar",function(r){return Te(e),Ie(X().openSidebar.emit(r))}),k(),oe(2,Pue,1,0,"mat-divider",2),xn()}if(2&i){const e=t.$implicit,n=t.last;A(1),N("user",e),A(1),N("ngIf",!n)}}r0.\u0275fac=function(t){return new(t||r0)(D(Yd))},r0.\u0275cmp=$e({type:r0,selectors:[["app-user-item"]],inputs:{user:"user"},outputs:{openSidebar:"openSidebar"},decls:6,vars:3,consts:[[3,"click"],["loading","lazy","matListItemAvatar","",3,"src"],["mat-line",""],[1,"mat-line",3,"text"]],template:function(t,e){1&t&&(y(0,"mat-list-item",0),pe("click",function(){return e.showProfile()}),De(1,"img",1),y(2,"h4",2),B(3),k(),y(4,"p",2),De(5,"app-status",3),k()()),2&t&&(A(1),N("src",e.user.cover,An),A(2),Ct(e.user.name),A(2),N("text",e.user.status))},dependencies:[yD,xv,Gx,up],styles:["mat-list-item[_ngcontent-%COMP%]{height:90px!important}"]});class a0{constructor(t){this.service=t,this.openSidebar=new ht,this.data=[],this.service.getUsers()}ngOnInit(){this.service.users.subscribe(t=>this.data=t)}}a0.\u0275fac=function(t){return new(t||a0)(D(Yd))},a0.\u0275cmp=$e({type:a0,selectors:[["app-user-list"]],outputs:{openSidebar:"openUserSidebar"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"user","openSidebar"],[4,"ngIf"]],template:function(t,e){1&t&&(y(0,"mat-nav-list"),oe(1,Bue,3,2,"ng-container",0),k()),2&t&&(A(1),N("ngForOf",e.data))},dependencies:[Gn,mi,vD,K_,r0]});class hp{isSendable(t){return""!==t&&""!==t.trim()}}hp.\u0275fac=function(t){return new(t||hp)},hp.\u0275prov=it({token:hp,factory:hp.\u0275fac,providedIn:"root"});let Hue=0;const Vue=$l(class{}),PO="mat-badge-content";let BO=(()=>{class i extends Vue{get color(){return this._color}set color(e){this._setColor(e),this._color=e}get overlap(){return this._overlap}set overlap(e){this._overlap=xt(e)}get content(){return this._content}set content(e){this._updateRenderedContent(e)}get description(){return this._description}set description(e){this._updateHostAriaDescription(e)}get hidden(){return this._hidden}set hidden(e){this._hidden=xt(e)}constructor(e,n,r,a,o){super(),this._ngZone=e,this._elementRef=n,this._ariaDescriber=r,this._renderer=a,this._animationMode=o,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=Hue++,this._isInitialized=!1}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const e=this._renderer.createElement("span"),n="mat-badge-active";return e.setAttribute("id",`mat-badge-content-${this._id}`),e.setAttribute("aria-hidden","true"),e.classList.add(PO),"NoopAnimations"===this._animationMode&&e.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(e),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{e.classList.add(n)})}):e.classList.add(n),e}_updateRenderedContent(e){const n=`${e??""}`.trim();this._isInitialized&&n&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=n),this._content=n}_updateHostAriaDescription(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),e&&this._ariaDescriber.describe(this._elementRef.nativeElement,e),this._description=e}_setColor(e){const n=this._elementRef.nativeElement.classList;n.remove(`mat-badge-${this._color}`),e&&n.add(`mat-badge-${e}`)}_clearExistingBadges(){const e=this._elementRef.nativeElement.querySelectorAll(`:scope > .${PO}`);for(const n of Array.from(e))n!==this._badgeElement&&n.remove()}}return i.\u0275fac=function(e){return new(e||i)(D(Rt),D(_t),D(Mx),D(Bl),D(Tn,8))},i.\u0275dir=Oe({type:i,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(e,n){2&e&&Mt("mat-badge-overlap",n.overlap)("mat-badge-above",n.isAbove())("mat-badge-below",!n.isAbove())("mat-badge-before",!n.isAfter())("mat-badge-after",n.isAfter())("mat-badge-small","small"===n.size)("mat-badge-medium","medium"===n.size)("mat-badge-large","large"===n.size)("mat-badge-hidden",n.hidden||!n.content)("mat-badge-disabled",n.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[ot]}),i})(),Yue=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Ff,Kt,Kt]}),i})();function jue(i,t){1&i&&De(0,"span",5),2&i&&N("matBadge",X().chat.lastMessageLength)}class o0{constructor(t){this.service=t,this.openChatSidebar=new ht}showMessageDetail(){this.openChatSidebar.emit(this.chat.username)}}function zue(i,t){1&i&&De(0,"mat-divider")}o0.\u0275fac=function(t){return new(t||o0)(D(nc))},o0.\u0275cmp=$e({type:o0,selectors:[["app-chat-item"]],inputs:{chat:"chat",event:"event"},outputs:{openChatSidebar:"openChatSidebar"},decls:7,vars:4,consts:[[3,"click"],["alt","","matListItemAvatar","",3,"src"],["mat-line",""],["mat-line","",1,"last-message"],["matBadgeOverlap","false","matBadgePosition","above before","matBadgeColor","warn",3,"matBadge",4,"ngIf"],["matBadgeOverlap","false","matBadgePosition","above before","matBadgeColor","warn",3,"matBadge"]],template:function(t,e){1&t&&(y(0,"mat-list-item",0),pe("click",function(){return e.showMessageDetail()}),De(1,"img",1),y(2,"h4",2),B(3),k(),y(4,"p",3),B(5),k(),oe(6,jue,1,1,"span",4),k()),2&t&&(A(1),N("src",e.chat.cover,An),A(2),Ct(e.chat.username),A(2),Ct(e.chat.lastMessage),A(1),N("ngIf",e.chat.lastMessageLength))},dependencies:[mi,yD,xv,Gx,BO],styles:[".last-message[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;width:90%;white-space:nowrap}.user-avatar[_ngcontent-%COMP%]{height:50px;width:50px}mat-list-item[_ngcontent-%COMP%]{height:90px!important}"]});const Uue=function(i){return["/m",i]};function Wue(i,t){if(1&i&&(Fn(0),De(1,"app-chat-item",6),oe(2,zue,1,0,"mat-divider",7),xn()),2&i){const e=t.$implicit,n=t.last;A(1),N("routerLink",Cn(3,Uue,e.id))("chat",e),A(1),N("ngIf",!n)}}function Gue(i,t){if(1&i&&(y(0,"div"),B(1),k()),2&i){const e=t.$implicit;A(1),bh("",e.pubkey," : ",e.content,"")}}class dm{constructor(t){this.chatService=t,this.openChatSidebar=new ht}ngOnInit(){this.chatService.download()}add(){}reset(){}}dm.\u0275fac=function(t){return new(t||dm)(D(nc))},dm.\u0275cmp=$e({type:dm,selectors:[["app-chat-list"]],outputs:{openChatSidebar:"openChatSidebar"},decls:15,vars:4,consts:[[1,"search"],["appearance","fill",1,"input-full-width"],["matInput","","type","text","placeholder","Search..."],["matSuffix",""],[4,"ngFor","ngForOf"],[3,"click"],[3,"routerLink","chat"],[4,"ngIf"]],template:function(t,e){1&t&&(y(0,"mat-nav-list")(1,"div",0)(2,"mat-form-field",1),De(3,"input",2),y(4,"mat-icon",3),B(5,"search"),k()()(),oe(6,Wue,3,5,"ng-container",4),zi(7,"async"),k(),oe(8,Gue,2,2,"div",4),y(9,"button",5),pe("click",function(){return e.add()}),B(10,"Add"),k(),y(11,"button",5),pe("click",function(){return e.reset()}),B(12,"Reset"),k(),y(13,"button",5),pe("click",function(){return e.chatService.download()}),B(14,"Download"),k()),2&t&&(A(6),N("ngForOf",Ui(7,2,e.chatService.chats$)),A(2),N("ngForOf",e.chatService.chats3))},dependencies:[Gn,mi,Ya,rs,Eo,_N,pr,vD,K_,o0,Os],styles:[".form[_ngcontent-%COMP%]{padding:16px 16px 0}.input-full-width[_ngcontent-%COMP%]{position:relative;margin:auto}.search[_ngcontent-%COMP%]{position:sticky;top:0;padding:10px;z-index:999}"]});class s0{}s0.\u0275fac=function(t){return new(t||s0)},s0.\u0275cmp=$e({type:s0,selectors:[["app-message-bubble"]],inputs:{message:"message",cover:"cover"},decls:6,vars:4,consts:[[1,"bubble"],[1,"bubble","cover"],["alt","",1,"bubble","picture",3,"src"],[1,"bubble","container"],[1,"bubble","card"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"div",1),De(2,"img",2),k(),y(3,"div",3)(4,"mat-card",4),B(5),k()()()),2&t&&(Mt("me",0==e.message.id),A(2),N("src",e.message.cover,An),A(3),ri(" ",e.message.message," "))},dependencies:[Sa],styles:[".bubble[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:12px}.bubble.cover[_ngcontent-%COMP%]{width:36px;height:36px;margin-right:16px;border-radius:18px;overflow:hidden}.bubble.picture[_ngcontent-%COMP%]{display:block;max-width:100%;margin-bottom:0}.bubble.container[_ngcontent-%COMP%]{flex:1}.bubble.card[_ngcontent-%COMP%]{display:inline-block!important;padding:12px}.bubble.me[_ngcontent-%COMP%]{flex-direction:row-reverse}.bubble.me[_ngcontent-%COMP%] .bubble.picture[_ngcontent-%COMP%]{display:block;max-width:100%}.bubble.me[_ngcontent-%COMP%] .bubble.container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.bubble.me[_ngcontent-%COMP%] .bubble.container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{background-color:#ffffff8c}.bubble.me[_ngcontent-%COMP%] .bubble.cover[_ngcontent-%COMP%]{margin-right:0;margin-left:16px}"]});const que=["scrollable"],$ue=["picker"],Kue=["drawer"];function Que(i,t){if(1&i&&(Fn(0),De(1,"app-message-bubble",23),xn()),2&i){const e=t.$implicit;A(1),N("message",e)}}function Zue(i,t){if(1&i&&(Fn(0),oe(1,Que,2,1,"ng-container",22),xn()),2&i){const e=X();A(1),N("ngForOf",e.chat.chat)}}function Xue(i,t){1&i&&De(0,"mat-spinner",24)}function Jue(i,t){if(1&i){const e=tt();y(0,"emoji-mart",25),pe("emojiSelect",function(r){return Te(e),Ie(X().addEmoji(r))}),k()}2&i&&N("isNative",!0)("showPreview",!1)}function ehe(i,t){1&i&&(y(0,"mat-icon"),B(1,"chevron_left"),k())}function the(i,t){1&i&&(y(0,"mat-icon"),B(1,"chevron_right"),k())}class mp{constructor(t,e,n){this.service=t,this.control=e,this.appState=n,this.sending=!1,this.displayList=!0}ngOnInit(){}scrollToBottom(){setTimeout(()=>{this.scrollable.nativeElement.scrollTop=this.scrollable.nativeElement.scrollHeight},100)}saveMessage(t){this.message=t.target.value,"Enter"==t.key&&this.control.isSendable(this.message)&&(this.scrollToBottom(),this.service.saveMessage(this.chat.id,this.message),this.sending=!0,t.target.value="")}send(t){this.message=t,this.control.isSendable(this.message)&&(this.scrollToBottom(),this.service.saveMessage(this.chat.id,this.message),this.sending=!0,this.message="")}addEmoji(t){this.message=`${this.message}${t.emoji.native}`,this.isEmojiPickerVisible=!1}toggle(){this.displayList=!this.displayList,this.drawer.toggle()}ngOnDestroy(){this.subscription?.unsubscribe()}}mp.\u0275fac=function(t){return new(t||mp)(D(nc),D(hp),D(ln))},mp.\u0275cmp=$e({type:mp,selectors:[["app-chat-detail"]],viewQuery:function(t,e){if(1&t&&(Tt(que,5),Tt($ue,5),Tt(Kue,5)),2&t){let n;Qe(n=Ze())&&(e.scrollable=n.first),Qe(n=Ze())&&(e.picker=n.first),Qe(n=Ze())&&(e.drawer=n.first)}},decls:44,vars:8,consts:[["autosize","",1,"chat-detail-container"],["opened","","mode","side",1,"chat-detail-sidenav","list-hide-small"],["drawer",""],[1,"chat-detail-sidenav-content"],[1,"messages-list-container"],[1,"scrollable"],["scrollable",""],[4,"ngIf"],["diameter","24","color","warn",4,"ngIf"],[1,"message-send"],["class","emoji-picker","emoji","point_up","title","Choose your emoji",3,"isNative","showPreview","emojiSelect",4,"ngIf"],["type","button","mat-icon-button","",1,"list-hide-small",2,"margin","5px",3,"click"],[1,"input-full-width"],["matPrefix","",1,"toolbar-icon",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item",""],["mat-menu-item","","disabled",""],["type","text","matInput","","placeholder","Write a message",3,"ngModel","ngModelChange","keypress"],["align","end",1,"hint"],["matSuffix","","matTooltip","Insert emoji",1,"toolbar-icon",3,"click"],["matSuffix","",1,"toolbar-icon"],["matSuffix","",1,"toolbar-icon",3,"click"],[4,"ngFor","ngForOf"],[3,"message"],["diameter","24","color","warn"],["emoji","point_up","title","Choose your emoji",1,"emoji-picker",3,"isNative","showPreview","emojiSelect"]],template:function(t,e){if(1&t&&(y(0,"mat-drawer-container",0)(1,"mat-drawer",1,2),De(3,"app-chat-list"),k(),y(4,"div",3)(5,"div",4)(6,"div",5,6),oe(8,Zue,2,1,"ng-container",7),oe(9,Xue,1,0,"mat-spinner",8),k(),y(10,"div",9),oe(11,Jue,1,2,"emoji-mart",10),y(12,"button",11),pe("click",function(){return e.toggle()}),oe(13,ehe,2,0,"mat-icon",7),oe(14,the,2,0,"mat-icon",7),k(),y(15,"mat-form-field",12)(16,"mat-icon",13),B(17,"attach_file_add"),k(),y(18,"mat-menu",null,14)(20,"button",15)(21,"mat-icon"),B(22,"imagesmode"),k(),y(23,"span"),B(24,"Image"),k()(),y(25,"button",15)(26,"mat-icon"),B(27,"videocam"),k(),y(28,"span"),B(29,"Video"),k()(),y(30,"button",16)(31,"mat-icon"),B(32,"file_present"),k(),y(33,"span"),B(34,"Document"),k()()(),y(35,"input",17),pe("ngModelChange",function(r){return e.message=r})("keypress",function(r){return e.saveMessage(r)}),k(),y(36,"mat-hint",18),B(37),k(),y(38,"mat-icon",19),pe("click",function(){return e.isEmojiPickerVisible=!e.isEmojiPickerVisible}),B(39,"sentiment_satisfied"),k(),y(40,"mat-icon",20),B(41,"mic"),k(),y(42,"mat-icon",21),pe("click",function(){return e.send(e.message)}),B(43,"send"),k()()()()()()),2&t){const n=en(19);A(8),N("ngIf",e.chat),A(1),N("ngIf",e.sending),A(2),N("ngIf",e.isEmojiPickerVisible),A(2),N("ngIf",e.displayList),A(1),N("ngIf",!e.displayList),A(2),N("matMenuTriggerFor",n),A(19),N("ngModel",e.message),A(2),ri("Length : ",null==e.message?null:e.message.length,"")}},dependencies:[Gn,mi,rs,Eo,IC,Pc,_N,Do,xD,kD,pr,om,jc,L_,Fl,av,wD,uo,Wa,Ga,dm,s0],styles:[".chat-detail-container[_ngcontent-%COMP%]{height:100%;width:100%}.chat-detail-sidenav-content[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center}.chat-detail-sidenav[_ngcontent-%COMP%]{width:275px}[_nghost-%COMP%]{display:flex;height:100%}.messages-list-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;justify-content:space-between;width:100%;height:100%}.scrollable[_ngcontent-%COMP%]{flex:1;overflow-y:auto;padding:16px;background-color:#ffffff8c;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23dddddd' fill-opacity='0.4'%3E%3Cpath d='M24.37 16c.2.65.39 1.32.54 2H21.17l1.17 2.34.45.9-.24.11V28a5 5 0 0 1-2.23 8.94l-.02.06a8 8 0 0 1-7.75 6h-20a8 8 0 0 1-7.74-6l-.02-.06A5 5 0 0 1-17.45 28v-6.76l-.79-1.58-.44-.9.9-.44.63-.32H-20a23.01 23.01 0 0 1 44.37-2zm-36.82 2a1 1 0 0 0-.44.1l-3.1 1.56.89 1.79 1.31-.66a3 3 0 0 1 2.69 0l2.2 1.1a1 1 0 0 0 .9 0l2.21-1.1a3 3 0 0 1 2.69 0l2.2 1.1a1 1 0 0 0 .9 0l2.21-1.1a3 3 0 0 1 2.69 0l2.2 1.1a1 1 0 0 0 .86.02l2.88-1.27a3 3 0 0 1 2.43 0l2.88 1.27a1 1 0 0 0 .85-.02l3.1-1.55-.89-1.79-1.42.71a3 3 0 0 1-2.56.06l-2.77-1.23a1 1 0 0 0-.4-.09h-.01a1 1 0 0 0-.4.09l-2.78 1.23a3 3 0 0 1-2.56-.06l-2.3-1.15a1 1 0 0 0-.45-.11h-.01a1 1 0 0 0-.44.1L.9 19.22a3 3 0 0 1-2.69 0l-2.2-1.1a1 1 0 0 0-.45-.11h-.01a1 1 0 0 0-.44.1l-2.21 1.11a3 3 0 0 1-2.69 0l-2.2-1.1a1 1 0 0 0-.45-.11h-.01zm0-2h-4.9a21.01 21.01 0 0 1 39.61 0h-2.09l-.06-.13-.26.13h-32.31zm30.35 7.68l1.36-.68h1.3v2h-36v-1.15l.34-.17 1.36-.68h2.59l1.36.68a3 3 0 0 0 2.69 0l1.36-.68h2.59l1.36.68a3 3 0 0 0 2.69 0L2.26 23h2.59l1.36.68a3 3 0 0 0 2.56.06l1.67-.74h3.23l1.67.74a3 3 0 0 0 2.56-.06zM-13.82 27l16.37 4.91L18.93 27h-32.75zm-.63 2h.34l16.66 5 16.67-5h.33a3 3 0 1 1 0 6h-34a3 3 0 1 1 0-6zm1.35 8a6 6 0 0 0 5.65 4h20a6 6 0 0 0 5.66-4H-13.1z'/%3E%3Cpath id='path6_fill-copy' d='M284.37 16c.2.65.39 1.32.54 2H281.17l1.17 2.34.45.9-.24.11V28a5 5 0 0 1-2.23 8.94l-.02.06a8 8 0 0 1-7.75 6h-20a8 8 0 0 1-7.74-6l-.02-.06a5 5 0 0 1-2.24-8.94v-6.76l-.79-1.58-.44-.9.9-.44.63-.32H240a23.01 23.01 0 0 1 44.37-2zm-36.82 2a1 1 0 0 0-.44.1l-3.1 1.56.89 1.79 1.31-.66a3 3 0 0 1 2.69 0l2.2 1.1a1 1 0 0 0 .9 0l2.21-1.1a3 3 0 0 1 2.69 0l2.2 1.1a1 1 0 0 0 .9 0l2.21-1.1a3 3 0 0 1 2.69 0l2.2 1.1a1 1 0 0 0 .86.02l2.88-1.27a3 3 0 0 1 2.43 0l2.88 1.27a1 1 0 0 0 .85-.02l3.1-1.55-.89-1.79-1.42.71a3 3 0 0 1-2.56.06l-2.77-1.23a1 1 0 0 0-.4-.09h-.01a1 1 0 0 0-.4.09l-2.78 1.23a3 3 0 0 1-2.56-.06l-2.3-1.15a1 1 0 0 0-.45-.11h-.01a1 1 0 0 0-.44.1l-2.21 1.11a3 3 0 0 1-2.69 0l-2.2-1.1a1 1 0 0 0-.45-.11h-.01a1 1 0 0 0-.44.1l-2.21 1.11a3 3 0 0 1-2.69 0l-2.2-1.1a1 1 0 0 0-.45-.11h-.01zm0-2h-4.9a21.01 21.01 0 0 1 39.61 0h-2.09l-.06-.13-.26.13h-32.31zm30.35 7.68l1.36-.68h1.3v2h-36v-1.15l.34-.17 1.36-.68h2.59l1.36.68a3 3 0 0 0 2.69 0l1.36-.68h2.59l1.36.68a3 3 0 0 0 2.69 0l1.36-.68h2.59l1.36.68a3 3 0 0 0 2.56.06l1.67-.74h3.23l1.67.74a3 3 0 0 0 2.56-.06zM246.18 27l16.37 4.91L278.93 27h-32.75zm-.63 2h.34l16.66 5 16.67-5h.33a3 3 0 1 1 0 6h-34a3 3 0 1 1 0-6zm1.35 8a6 6 0 0 0 5.65 4h20a6 6 0 0 0 5.66-4H246.9z'/%3E%3Cpath d='M159.5 21.02A9 9 0 0 0 151 15h-42a9 9 0 0 0-8.5 6.02 6 6 0 0 0 .02 11.96A8.99 8.99 0 0 0 109 45h42a9 9 0 0 0 8.48-12.02 6 6 0 0 0 .02-11.96zM151 17h-42a7 7 0 0 0-6.33 4h54.66a7 7 0 0 0-6.33-4zm-9.34 26a8.98 8.98 0 0 0 3.34-7h-2a7 7 0 0 1-7 7h-4.34a8.98 8.98 0 0 0 3.34-7h-2a7 7 0 0 1-7 7h-4.34a8.98 8.98 0 0 0 3.34-7h-2a7 7 0 0 1-7 7h-7a7 7 0 1 1 0-14h42a7 7 0 1 1 0 14h-9.34zM109 27a9 9 0 0 0-7.48 4H101a4 4 0 1 1 0-8h58a4 4 0 0 1 0 8h-.52a9 9 0 0 0-7.48-4h-42z'/%3E%3Cpath d='M39 115a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm6-8a6 6 0 1 1-12 0 6 6 0 0 1 12 0zm-3-29v-2h8v-6H40a4 4 0 0 0-4 4v10H22l-1.33 4-.67 2h2.19L26 130h26l3.81-40H58l-.67-2L56 84H42v-6zm-4-4v10h2V74h8v-2h-8a2 2 0 0 0-2 2zm2 12h14.56l.67 2H22.77l.67-2H40zm13.8 4H24.2l3.62 38h22.36l3.62-38z'/%3E%3Cpath d='M129 92h-6v4h-6v4h-6v14h-3l.24 2 3.76 32h36l3.76-32 .24-2h-3v-14h-6v-4h-6v-4h-8zm18 22v-12h-4v4h3v8h1zm-3 0v-6h-4v6h4zm-6 6v-16h-4v19.17c1.6-.7 2.97-1.8 4-3.17zm-6 3.8V100h-4v23.8a10.04 10.04 0 0 0 4 0zm-6-.63V104h-4v16a10.04 10.04 0 0 0 4 3.17zm-6-9.17v-6h-4v6h4zm-6 0v-8h3v-4h-4v12h1zm27-12v-4h-4v4h3v4h1v-4zm-6 0v-8h-4v4h3v4h1zm-6-4v-4h-4v8h1v-4h3zm-6 4v-4h-4v8h1v-4h3zm7 24a12 12 0 0 0 11.83-10h7.92l-3.53 30h-32.44l-3.53-30h7.92A12 12 0 0 0 130 126z'/%3E%3Cpath d='M212 86v2h-4v-2h4zm4 0h-2v2h2v-2zm-20 0v.1a5 5 0 0 0-.56 9.65l.06.25 1.12 4.48a2 2 0 0 0 1.94 1.52h.01l7.02 24.55a2 2 0 0 0 1.92 1.45h4.98a2 2 0 0 0 1.92-1.45l7.02-24.55a2 2 0 0 0 1.95-1.52L224.5 96l.06-.25a5 5 0 0 0-.56-9.65V86a14 14 0 0 0-28 0zm4 0h6v2h-9a3 3 0 1 0 0 6H223a3 3 0 1 0 0-6H220v-2h2a12 12 0 1 0-24 0h2zm-1.44 14l-1-4h24.88l-1 4h-22.88zm8.95 26l-6.86-24h18.7l-6.86 24h-4.98zM150 242a22 22 0 1 0 0-44 22 22 0 0 0 0 44zm24-22a24 24 0 1 1-48 0 24 24 0 0 1 48 0zm-28.38 17.73l2.04-.87a6 6 0 0 1 4.68 0l2.04.87a2 2 0 0 0 2.5-.82l1.14-1.9a6 6 0 0 1 3.79-2.75l2.15-.5a2 2 0 0 0 1.54-2.12l-.19-2.2a6 6 0 0 1 1.45-4.46l1.45-1.67a2 2 0 0 0 0-2.62l-1.45-1.67a6 6 0 0 1-1.45-4.46l.2-2.2a2 2 0 0 0-1.55-2.13l-2.15-.5a6 6 0 0 1-3.8-2.75l-1.13-1.9a2 2 0 0 0-2.5-.8l-2.04.86a6 6 0 0 1-4.68 0l-2.04-.87a2 2 0 0 0-2.5.82l-1.14 1.9a6 6 0 0 1-3.79 2.75l-2.15.5a2 2 0 0 0-1.54 2.12l.19 2.2a6 6 0 0 1-1.45 4.46l-1.45 1.67a2 2 0 0 0 0 2.62l1.45 1.67a6 6 0 0 1 1.45 4.46l-.2 2.2a2 2 0 0 0 1.55 2.13l2.15.5a6 6 0 0 1 3.8 2.75l1.13 1.9a2 2 0 0 0 2.5.8zm2.82.97a4 4 0 0 1 3.12 0l2.04.87a4 4 0 0 0 4.99-1.62l1.14-1.9a4 4 0 0 1 2.53-1.84l2.15-.5a4 4 0 0 0 3.09-4.24l-.2-2.2a4 4 0 0 1 .97-2.98l1.45-1.67a4 4 0 0 0 0-5.24l-1.45-1.67a4 4 0 0 1-.97-2.97l.2-2.2a4 4 0 0 0-3.09-4.25l-2.15-.5a4 4 0 0 1-2.53-1.84l-1.14-1.9a4 4 0 0 0-5-1.62l-2.03.87a4 4 0 0 1-3.12 0l-2.04-.87a4 4 0 0 0-4.99 1.62l-1.14 1.9a4 4 0 0 1-2.53 1.84l-2.15.5a4 4 0 0 0-3.09 4.24l.2 2.2a4 4 0 0 1-.97 2.98l-1.45 1.67a4 4 0 0 0 0 5.24l1.45 1.67a4 4 0 0 1 .97 2.97l-.2 2.2a4 4 0 0 0 3.09 4.25l2.15.5a4 4 0 0 1 2.53 1.84l1.14 1.9a4 4 0 0 0 5 1.62l2.03-.87zM152 207a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm6 2a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-11 1a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-6 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm3-5a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-8 8a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm3 6a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm0 6a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm4 7a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm5-2a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm5 4a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm4-6a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm6-4a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-4-3a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm4-3a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-5-4a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-24 6a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm16 5a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm7-5a7 7 0 1 1-14 0 7 7 0 0 1 14 0zm86-29a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm19 9a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm-14 5a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm-25 1a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm5 4a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm9 0a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm15 1a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm12-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm-11-14a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm-19 0a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm6 5a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm-25 15c0-.47.01-.94.03-1.4a5 5 0 0 1-1.7-8 3.99 3.99 0 0 1 1.88-5.18 5 5 0 0 1 3.4-6.22 3 3 0 0 1 1.46-1.05 5 5 0 0 1 7.76-3.27A30.86 30.86 0 0 1 246 184c6.79 0 13.06 2.18 18.17 5.88a5 5 0 0 1 7.76 3.27 3 3 0 0 1 1.47 1.05 5 5 0 0 1 3.4 6.22 4 4 0 0 1 1.87 5.18 4.98 4.98 0 0 1-1.7 8c.02.46.03.93.03 1.4v1h-62v-1zm.83-7.17a30.9 30.9 0 0 0-.62 3.57 3 3 0 0 1-.61-4.2c.37.28.78.49 1.23.63zm1.49-4.61c-.36.87-.68 1.76-.96 2.68a2 2 0 0 1-.21-3.71c.33.4.73.75 1.17 1.03zm2.32-4.54c-.54.86-1.03 1.76-1.49 2.68a3 3 0 0 1-.07-4.67 3 3 0 0 0 1.56 1.99zm1.14-1.7c.35-.5.72-.98 1.1-1.46a1 1 0 1 0-1.1 1.45zm5.34-5.77c-1.03.86-2 1.79-2.9 2.77a3 3 0 0 0-1.11-.77 3 3 0 0 1 4-2zm42.66 2.77c-.9-.98-1.87-1.9-2.9-2.77a3 3 0 0 1 4.01 2 3 3 0 0 0-1.1.77zm1.34 1.54c.38.48.75.96 1.1 1.45a1 1 0 1 0-1.1-1.45zm3.73 5.84c-.46-.92-.95-1.82-1.5-2.68a3 3 0 0 0 1.57-1.99 3 3 0 0 1-.07 4.67zm1.8 4.53c-.29-.9-.6-1.8-.97-2.67.44-.28.84-.63 1.17-1.03a2 2 0 0 1-.2 3.7zm1.14 5.51c-.14-1.21-.35-2.4-.62-3.57.45-.14.86-.35 1.23-.63a2.99 2.99 0 0 1-.6 4.2zM275 214a29 29 0 0 0-57.97 0h57.96zM72.33 198.12c-.21-.32-.34-.7-.34-1.12v-12h-2v12a4.01 4.01 0 0 0 7.09 2.54c.57-.69.91-1.57.91-2.54v-12h-2v12a1.99 1.99 0 0 1-2 2 2 2 0 0 1-1.66-.88zM75 176c.38 0 .74-.04 1.1-.12a4 4 0 0 0 6.19 2.4A13.94 13.94 0 0 1 84 185v24a6 6 0 0 1-6 6h-3v9a5 5 0 1 1-10 0v-9h-3a6 6 0 0 1-6-6v-24a14 14 0 0 1 14-14 5 5 0 0 0 5 5zm-17 15v12a1.99 1.99 0 0 0 1.22 1.84 2 2 0 0 0 2.44-.72c.21-.32.34-.7.34-1.12v-12h2v12a3.98 3.98 0 0 1-5.35 3.77 3.98 3.98 0 0 1-.65-.3V209a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4v-24c.01-1.53-.23-2.88-.72-4.17-.43.1-.87.16-1.28.17a6 6 0 0 1-5.2-3 7 7 0 0 1-6.47-4.88A12 12 0 0 0 58 185v6zm9 24v9a3 3 0 1 0 6 0v-9h-6z'/%3E%3Cpath d='M-17 191a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm19 9a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1zm-14 5a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm-25 1a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm5 4a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm9 0a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm15 1a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm12-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2H4zm-11-14a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm-19 0a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2h-2zm6 5a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2h-2a1 1 0 0 1-1-1zm-25 15c0-.47.01-.94.03-1.4a5 5 0 0 1-1.7-8 3.99 3.99 0 0 1 1.88-5.18 5 5 0 0 1 3.4-6.22 3 3 0 0 1 1.46-1.05 5 5 0 0 1 7.76-3.27A30.86 30.86 0 0 1-14 184c6.79 0 13.06 2.18 18.17 5.88a5 5 0 0 1 7.76 3.27 3 3 0 0 1 1.47 1.05 5 5 0 0 1 3.4 6.22 4 4 0 0 1 1.87 5.18 4.98 4.98 0 0 1-1.7 8c.02.46.03.93.03 1.4v1h-62v-1zm.83-7.17a30.9 30.9 0 0 0-.62 3.57 3 3 0 0 1-.61-4.2c.37.28.78.49 1.23.63zm1.49-4.61c-.36.87-.68 1.76-.96 2.68a2 2 0 0 1-.21-3.71c.33.4.73.75 1.17 1.03zm2.32-4.54c-.54.86-1.03 1.76-1.49 2.68a3 3 0 0 1-.07-4.67 3 3 0 0 0 1.56 1.99zm1.14-1.7c.35-.5.72-.98 1.1-1.46a1 1 0 1 0-1.1 1.45zm5.34-5.77c-1.03.86-2 1.79-2.9 2.77a3 3 0 0 0-1.11-.77 3 3 0 0 1 4-2zm42.66 2.77c-.9-.98-1.87-1.9-2.9-2.77a3 3 0 0 1 4.01 2 3 3 0 0 0-1.1.77zm1.34 1.54c.38.48.75.96 1.1 1.45a1 1 0 1 0-1.1-1.45zm3.73 5.84c-.46-.92-.95-1.82-1.5-2.68a3 3 0 0 0 1.57-1.99 3 3 0 0 1-.07 4.67zm1.8 4.53c-.29-.9-.6-1.8-.97-2.67.44-.28.84-.63 1.17-1.03a2 2 0 0 1-.2 3.7zm1.14 5.51c-.14-1.21-.35-2.4-.62-3.57.45-.14.86-.35 1.23-.63a2.99 2.99 0 0 1-.6 4.2zM15 214a29 29 0 0 0-57.97 0h57.96z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}.scrollable[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.scrollable[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#ddd}.scrollable[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#bdbdbd}.message-send[_ngcontent-%COMP%]{display:flex;padding:10px}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.bubble[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:12px}.bubble[_ngcontent-%COMP%] .cover[_ngcontent-%COMP%]{width:36px;height:36px;margin-right:16px;border-radius:18px;overflow:hidden}.bubble[_ngcontent-%COMP%] .picture[_ngcontent-%COMP%]{display:block;max-width:100%}.bubble[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{flex:1}.bubble[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{display:inline-block!important}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%]{flex-direction:row-reverse}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{background-color:#ffffff8c}.bubble[_ngcontent-%COMP%] .me[_ngcontent-%COMP%] .cover[_ngcontent-%COMP%]{margin-right:0;margin-left:16px}.emoji-picker[_ngcontent-%COMP%]{display:block;position:absolute;z-index:3;bottom:90px;right:10px}@media only screen and (max-width: 960px){.list-hide-small[_ngcontent-%COMP%]{display:none!important}}"]});const ihe=["chatSidebar"],nhe=["userSidebar"];class l0{constructor(t){this.appState=t,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(e=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=e},chatSideBar:function(e=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=e}}}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("Chat"),t.appState.goBack=!0,t.appState.actions=[]})()}}l0.\u0275fac=function(t){return new(t||l0)(D(ln))},l0.\u0275cmp=$e({type:l0,selectors:[["app-chat"]],viewQuery:function(t,e){if(1&t&&(Tt(ihe,5),Tt(nhe,5)),2&t){let n;Qe(n=Ze())&&(e.chatSidebar=n.first),Qe(n=Ze())&&(e.userSidebar=n.first)}},decls:24,vars:2,consts:[["autosize","",1,"drawer-container"],["mat-align-tabs","center"],["label","Messages"],[3,"openChatSidebar"],["label","Users"],[3,"openUserSidebar"],["mode","side","position","start",1,"sidebar","sidebar--message"],["chatSidebar",""],["color","primary",1,"zIndexTop"],["aria-hidden","false",1,"button",3,"click"],[1,"spacer"],["mode","over","position","end",1,"sidebar","sidebar--user"],["userSidebar",""],[3,"openChatWindow"]],template:function(t,e){if(1&t){const n=tt();y(0,"mat-sidenav-container",0)(1,"mat-tab-group",1)(2,"mat-tab",2)(3,"app-chat-list",3),pe("openChatSidebar",function(a){return e.open.chatSideBar(a)}),k()(),y(4,"mat-tab",4)(5,"app-user-list",5),pe("openUserSidebar",function(a){return e.open.userSideBar(a)}),k()()(),y(6,"mat-sidenav",6,7)(8,"mat-toolbar",8)(9,"mat-toolbar-row")(10,"mat-icon",9),pe("click",function(){return Te(n),Ie(en(7).close())}),B(11,"arrow_back_ios"),k(),y(12,"span",10),B(13),k()()(),De(14,"app-chat-detail"),k(),y(15,"mat-sidenav",11,12)(17,"mat-toolbar",8)(18,"mat-toolbar-row")(19,"span",10),B(20),k(),y(21,"mat-icon",9),pe("click",function(){return Te(n),Ie(en(16).close())}),B(22,"close"),k()()(),y(23,"app-user-profile",13),pe("openChatWindow",function(a){return e.open.chatSideBar(a)}),k()()()}2&t&&(A(13),ri(" ",e.sidebarTitles.chat," "),A(7),ri(" ",e.sidebarTitles.user," "))},dependencies:[OO,LO,DD,MD,pr,bv,uD,n0,a0,mp,dm],styles:[".drawer-container{height:100%;z-index:9999;overflow:visible!important}.sidebar--message{width:100%}.sidebar--user{max-width:360px;width:100%}.sidebar .mat-drawer-inner-container{display:flex;flex-direction:column;flex:1;z-index:9999}.zIndexTop{z-index:10}.spacer{flex:1}\n"],encapsulation:2});class c0{constructor(t,e){this.profiles=t,this.utilities=e,this.pubkey="",this.profileName="",this.tooltip=""}ngOnInit(){}}function rhe(i,t){if(1&i&&(y(0,"div",8),De(1,"app-profile-widget",9),k()),2&i){const e=t.$implicit;A(1),N("pubkey",e)}}function ahe(i,t){if(1&i&&(Fn(0),y(1,"div",6),oe(2,rhe,2,1,"div",7),k(),xn()),2&i){const e=t.ngIf;A(2),N("ngForOf",e.following)}}c0.\u0275fac=function(t){return new(t||c0)(D(Vn),D(Nn))},c0.\u0275cmp=$e({type:c0,selectors:[["app-profile-widget"]],inputs:{pubkey:"pubkey"},decls:3,vars:2,consts:[[1,"profile-widget"],[3,"pubkey"]],template:function(t,e){1&t&&(y(0,"div",0),De(1,"app-event-header",1)(2,"app-profile-actions",1),k()),2&t&&(A(1),N("pubkey",e.pubkey),A(1),N("pubkey",e.pubkey))},dependencies:[Fs,lm],styles:[".profile-widget[_ngcontent-%COMP%]{gap:.4em;display:flex;flex-direction:row;height:200px}.profile-widget[_ngcontent-%COMP%] app-event-header[_ngcontent-%COMP%]{flex-grow:2}.profile-widget[_ngcontent-%COMP%] app-profile-actions[_ngcontent-%COMP%]{width:48px}"]});const ohe=function(i){return["/followers",i]},she=function(i){return["/following",i]};class d0{constructor(t,e,n,r,a,o){this.ui=t,this.appState=e,this.dataService=n,this.profileService=r,this.activatedRoute=a,this.router=o,this.subscriptions=[]}ngOnInit(){var t=this;this.appState.showBackButton=!0,this.appState.backUrl=void 0,this.subscriptions.push(this.ui.profile$.subscribe(e=>{e&&(this.appState.updateTitle(e.name),this.dataService.enque({type:"Contacts",identifier:e.pubkey}))})),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var e=Se(function*(n){const r=n.get("id");t.ui.setPubKey(r)});return function(n){return e.apply(this,arguments)}}()))}ngOnDestroy(){for(let t=0;t{this.appState.updateTitle(`@${e?.name}`)})),this.subscriptions.push(this.activatedRoute.paramMap.subscribe(function(){var e=Se(function*(n){const r=n.get("id");t.ui.setPubKey(r)});return function(n){return e.apply(this,arguments)}}()))}ngOnDestroy(){for(let t=0;t{this.addQueue()}}]}addQueue(){var t=this;this.dialog.open(h0,{data:{},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){if(r&&r.url)if(r.url.indexOf("youtu.be")>-1||r.url.indexOf("youtube.com")>-1){let o=[...r.url.matchAll(t.contentService.regexpYouTube)].map(c=>({url:`https://www.youtube.com/embed/${c[1]}`}));for(let c=0;c-1||r.url.indexOf(".webm")>-1?t.media.enque({artist:"",artwork:"/assets/logos/youtube.png",title:r.url,source:r.url,type:"Video"}):t.media.enque({artist:"",artwork:"",title:r.url,source:r.url,type:"Music"})});return function(r){return n.apply(this,arguments)}}())}remove(t){this.media.dequeue(t)}}m0.\u0275fac=function(t){return new(t||m0)(D(rm),D(ja),D(ln),D(Er),D(Pd),D(Nn))},m0.\u0275cmp=$e({type:m0,selectors:[["app-queue"]],decls:4,vars:1,consts:[[1,"page"],[1,"media-list"],[4,"ngFor","ngForOf"],["matListItemAvatar","",1,"queue-artwork",3,"src"],["matListItemTitle",""],["matListItemLine",""],["matListItemMeta","",1,"delete-button"],["mat-icon-button","","matTooltip","Remove from queue","color","grey",3,"click"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"div",1)(2,"mat-list"),oe(3,dhe,10,4,"mat-list-item",2),k()()()),2&t&&(A(3),N("ngForOf",e.media.media))},dependencies:[Gn,Do,pr,Vce,yD,xv,Fv,wv,pO,Fl],styles:[".queue-artwork[_ngcontent-%COMP%]{border-radius:0!important}"]});const uhe=["chatSidebar"],hhe=["userSidebar"];function mhe(i,t){if(1&i&&(y(0,"div"),B(1),zi(2,"json"),k()),2&i){const e=t.$implicit;A(1),Ct(Ui(2,1,e))}}class f0{constructor(t,e,n){this.appState=t,this.queueService=e,this.relayService=n,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(r=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=r},chatSideBar:function(r=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=r}}}ngOnDestroy(){this.relayService.unsubscribe(this.sub.id)}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("Messages"),t.appState.goBack=!0,t.appState.showBackButton=!1,t.appState.actions=[],t.sub=t.relayService.subscribe([{"#p":[t.appState.getPublicKey()],kinds:[Qn.EncryptedDirectMessage]}],"messages")})()}}f0.\u0275fac=function(t){return new(t||f0)(D(ln),D(ws),D(as))},f0.\u0275cmp=$e({type:f0,selectors:[["app-messages"]],viewQuery:function(t,e){if(1&t&&(Tt(uhe,5),Tt(hhe,5)),2&t){let n;Qe(n=Ze())&&(e.chatSidebar=n.first),Qe(n=Ze())&&(e.userSidebar=n.first)}},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"]],template:function(t,e){1&t&&(De(0,"app-chat-list"),oe(1,mhe,3,3,"div",0)),2&t&&(A(1),N("ngForOf",e.sub.events))},dependencies:[Gn,dm,XA],styles:[".drawer-container{height:100%;z-index:9999;overflow:visible!important}.sidebar--message{width:100%}.sidebar--user{max-width:360px;width:100%}.zIndexTop{z-index:10}.spacer{flex:1}\n"],encapsulation:2});const fhe=["chatSidebar"],phe=["userSidebar"];class p0{constructor(t){this.appState=t,this.sidebarTitles={user:"",chat:""},this.open={me:this,userSideBar:function(e=""){this.me.userSidebar.open(),this.me.sidebarTitles.user=e},chatSideBar:function(e=""){this.me.chatSidebar.open(),this.me.userSidebar.close(),this.me.sidebarTitles.chat=e}}}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("@Milad"),t.appState.goBack=!0,t.appState.showBackButton=!0,t.appState.actions=[]})()}}function ghe(i,t){if(1&i&&(y(0,"span"),B(1),k()),2&i){const e=X();A(1),Ct(e.relay.nip11.name)}}function _he(i,t){if(1&i&&(y(0,"span"),B(1),k()),2&i){const e=X();A(1),Ct(e.relay.url.substring(6))}}function bhe(i,t){1&i&&(y(0,"mat-icon",15),B(1,"edit_note"),k())}function yhe(i,t){1&i&&(y(0,"mat-icon",15),B(1,"edit_off"),k())}function vhe(i,t){1&i&&(y(0,"mat-icon",15),B(1,"edit"),k())}function whe(i,t){1&i&&(y(0,"mat-icon",16),B(1,"cloud_off"),k())}p0.\u0275fac=function(t){return new(t||p0)(D(ln))},p0.\u0275cmp=$e({type:p0,selectors:[["app-message"]],viewQuery:function(t,e){if(1&t&&(Tt(fhe,5),Tt(phe,5)),2&t){let n;Qe(n=Ze())&&(e.chatSidebar=n.first),Qe(n=Ze())&&(e.userSidebar=n.first)}},decls:1,vars:0,template:function(t,e){1&t&&De(0,"app-chat-detail")},dependencies:[mp],styles:[".drawer-container{height:100%;z-index:9999;overflow:visible!important}.sidebar--message{width:100%}.sidebar--user{max-width:360px;width:100%}.zIndexTop{z-index:10}.spacer{flex:1}\n"],encapsulation:2});const HO=function(i){return[i]};function Fhe(i,t){if(1&i&&(y(0,"mat-icon",17),B(1,"cloud_done"),k()),2&i){const e=X();N("ngClass",Cn(1,HO,"relay-status-"+e.relay.status))}}function xhe(i,t){if(1&i&&(y(0,"mat-icon",17),B(1,"cloud"),k()),2&i){const e=X();N("ngClass",Cn(1,HO,"relay-status-"+e.relay.status))}}function khe(i,t){1&i&&(y(0,"mat-icon",15),B(1,"public"),k())}function Che(i,t){1&i&&(y(0,"mat-icon",15),B(1,"public_off"),k())}function Dhe(i,t){if(1&i&&(y(0,"div",18),B(1),k()),2&i){const e=X();A(1),Ct(e.relay.error)}}function Mhe(i,t){if(1&i&&(y(0,"h2"),B(1),k()),2&i){const e=X(2);A(1),Ct(null==e.relay.nip11?null:e.relay.nip11.name)}}const Ehe=function(i){return["/p",i]};function She(i,t){if(1&i&&(y(0,"span")(1,"a",20),B(2,"Administrator"),k(),De(3,"br"),k()),2&i){const e=X(2);A(1),N("routerLink",Cn(1,Ehe,e.relay.nip11.pubkey))}}function Ahe(i,t){if(1&i&&(y(0,"span"),B(1),De(2,"br"),k()),2&i){const e=X(2);A(1),ri("Contact: ",e.relay.nip11.contact,"")}}function The(i,t){if(1&i&&(y(0,"div"),oe(1,Mhe,2,1,"h2",2),B(2),De(3,"br")(4,"br"),y(5,"span",9),oe(6,She,4,3,"span",2),oe(7,Ahe,3,1,"span",2),B(8),De(9,"br"),B(10),De(11,"br"),y(12,"span",19),B(13),k()()()),2&i){const e=X();A(1),N("ngIf",null==e.relay.nip11?null:e.relay.nip11.name),A(1),ri(" ",e.relay.nip11.description,""),A(4),N("ngIf",e.relay.nip11.pubkey),A(1),N("ngIf",e.relay.nip11.contact),A(1),ri(" NIPs: ",e.relay.nip11.supported_nips,""),A(2),bh(" Software: ",e.relay.nip11.software," (",e.relay.nip11.version,")"),A(3),ri(" ID: ",e.relay.nip11.pubkey,"")}}function Ihe(i,t){if(1&i&&(y(0,"div",9),B(1),k()),2&i){const e=X();A(1),ri("Timeouts: ",e.relay.timeouts,"")}}function Nhe(i,t){if(1&i&&(y(0,"div",9),B(1),k()),2&i){const e=X();A(1),ri("Events: ",e.relay.eventcount,"")}}function Lhe(i,t){if(1&i&&(y(0,"mat-list-option",21)(1,"mat-icon",22),B(2),k(),y(3,"span",23),B(4),k(),y(5,"span",24),B(6),k()()),2&i){const e=t.$implicit;N("selected",X().relay.type==e.type)("value",e.type),A(2),Ct(e.icon),A(2),Ct(e.title),A(2),Ct(e.description)}}function Ohe(i,t){if(1&i&&(y(0,"mat-list-option",21)(1,"mat-icon",22),B(2),k(),y(3,"span",23),B(4),k(),y(5,"span",24),B(6),k()()),2&i){const e=t.$implicit;N("selected",X().relay.enabled==e.type)("value",e.type),A(2),Ct(e.icon),A(2),Ct(e.title),A(2),Ct(e.description)}}function Rhe(i,t){if(1&i&&(y(0,"mat-list-option",21)(1,"mat-icon",22),B(2),k(),y(3,"span",23),B(4),k(),y(5,"span",24),B(6),k()()),2&i){const e=t.$implicit;N("selected",X().relay.public==e.type)("value",e.type),A(2),Ct(e.icon),A(2),Ct(e.title),A(2),Ct(e.description)}}const VO=function(i){return{"primary-relay":i}};class g0{constructor(t,e){this.optionsService=t,this.relayService=e,this.typesOfRelays=[{type:1,title:"Read and Write",description:"Reads and writes events, profiles and other metadata. Always connected.",icon:"edit_note"},{type:2,title:"Read",description:"Reads only, does not write, unless explicit specified on publish action.",icon:"edit_off"},{type:3,title:"Write",description:"Writes your events, profile and other metadata updates. Connects on-demand.",icon:"edit"}],this.typesOfPrivacy=[{type:!0,title:"Public",description:"This relay is included in your public relay list.",icon:"public"},{type:!1,title:"Private",description:"This relay is not published as part of your public relay list.",icon:"public_off"}],this.typesOfStatus=[{type:!0,title:"Enabled",description:"This relay is enabled and Notes will connect to it.",icon:"cloud_done"},{type:!1,title:"Disabled",description:"Disables this relay (locally) until activated again.",icon:"cloud_off"}]}ngOnInit(){}onRelayTypeChange(t){var e=this;return Se(function*(){console.log("onRelayTypeChange",t.options[0].value),e.relay.type=t.options[0].value,console.log("SAVING:",e.relay),yield e.relayService.setRelayType(e.relay.url,e.relay.type),!e.relay.enabled||e.relay.type>2?e.relayService.terminate(e.relay.url):e.relayService.createRelayWorker(e.relay.url)})()}onRelayPublicChange(t){var e=this;return Se(function*(){console.log("onRelayPublicChange",t.options[0].value),e.relay.public=t.options[0].value,console.log("SAVING:",e.relay),yield e.relayService.setRelayPublic(e.relay.url,e.relay.public)})()}onRelayStatusChange(t){var e=this;return Se(function*(){console.log("onRelayStatusChange",t.options[0].value),e.relay.enabled=t.options[0].value,console.log("SAVING:",e.relay),yield e.relayService.setRelayEnabled(e.relay.url,e.relay.enabled),e.relay.enabled||e.relay.type>2?e.relayService.createRelayWorker(e.relay.url):e.relayService.terminate(e.relay.url)})()}onRelayChanged(t){return Se(function*(){})()}primaryRelay(t){var e=this;return Se(function*(){e.optionsService.values.primaryRelay=t.url,e.optionsService.save()})()}deleteRelay(t){var e=this;return Se(function*(){yield e.relayService.deleteRelay(t.url)})()}relayFavIcon(t){return t.replace("wss://","https://")+"/favicon.ico"}}function Phe(i,t){1&i&&De(0,"app-relay",2),2&i&&N("relay",t.$implicit)}g0.\u0275fac=function(t){return new(t||g0)(D(Er),D(as))},g0.\u0275cmp=$e({type:g0,selectors:[["app-relay"]],inputs:{relay:"relay"},decls:53,vars:30,consts:[[3,"ngClass"],["onerror","this.src='/assets/blank.png'","width","32","height","32",1,"relay-favicon",3,"src"],[4,"ngIf"],[1,"hide-small",3,"ngClass"],["class","relay-status-icon hide-small",4,"ngIf"],["class","relay-status-icon",4,"ngIf"],["class","relay-status-icon",3,"ngClass",4,"ngIf"],["class","error",4,"ngIf"],["class","dimmed",4,"ngIf"],[1,"dimmed"],[1,"relay-options","mat-elevation-z8"],[3,"multiple","selectionChange"],[3,"selected","value",4,"ngFor","ngForOf"],["mat-raised-button","","color","primary",1,"relay-button",3,"disabled","click"],["mat-raised-button","","color","warn",1,"relay-button",3,"click"],[1,"relay-status-icon","hide-small"],[1,"relay-status-icon"],[1,"relay-status-icon",3,"ngClass"],[1,"error"],[1,"wrap"],[3,"routerLink"],[3,"selected","value"],["matListItemIcon",""],["matListItemTitle",""],["matListItemLine",""]],template:function(t,e){1&t&&(y(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title",0),De(3,"img",1),oe(4,ghe,2,1,"span",2),oe(5,_he,2,1,"span",2),k(),y(6,"mat-panel-description")(7,"span",3),B(8),k(),y(9,"div"),oe(10,bhe,2,0,"mat-icon",4),oe(11,yhe,2,0,"mat-icon",4),oe(12,vhe,2,0,"mat-icon",4),oe(13,whe,2,0,"mat-icon",5),oe(14,Fhe,2,3,"mat-icon",6),oe(15,xhe,2,3,"mat-icon",6),oe(16,khe,2,0,"mat-icon",4),oe(17,Che,2,0,"mat-icon",4),k()()(),oe(18,Dhe,2,1,"div",7),oe(19,The,14,8,"div",2),De(20,"br"),oe(21,Ihe,2,1,"div",8),oe(22,Nhe,2,1,"div",8),y(23,"div",9),B(24),k(),y(25,"mat-card",10)(26,"mat-card-header")(27,"mat-card-title"),B(28,"Relay Options"),k()(),y(29,"mat-card-content")(30,"mat-selection-list",11),pe("selectionChange",function(r){return e.onRelayTypeChange(r)}),oe(31,Lhe,7,5,"mat-list-option",12),k()()(),y(32,"mat-card",10)(33,"mat-card-header")(34,"mat-card-title"),B(35,"Relay Status"),k(),y(36,"mat-card-subtitle"),B(37,"Allows you to disable a relay locally."),k()(),y(38,"mat-card-content")(39,"mat-selection-list",11),pe("selectionChange",function(r){return e.onRelayStatusChange(r)}),oe(40,Ohe,7,5,"mat-list-option",12),k()()(),y(41,"mat-card",10)(42,"mat-card-header")(43,"mat-card-title"),B(44,"Relay Privacy"),k()(),y(45,"mat-card-content")(46,"mat-selection-list",11),pe("selectionChange",function(r){return e.onRelayPublicChange(r)}),oe(47,Rhe,7,5,"mat-list-option",12),k()()(),y(48,"button",13),pe("click",function(){return e.primaryRelay(e.relay)}),B(49,"Primary Relay"),k(),B(50,"\xa0 "),y(51,"button",14),pe("click",function(){return e.deleteRelay(e.relay)}),B(52,"Delete"),k()()),2&t&&(A(2),N("ngClass",Cn(26,VO,e.optionsService.values.primaryRelay==e.relay.url)),A(1),N("src",e.relayFavIcon(e.relay.url),An),A(1),N("ngIf",e.relay.nip11),A(1),N("ngIf",!e.relay.nip11),A(2),N("ngClass",Cn(28,VO,e.optionsService.values.primaryRelay==e.relay.url)),A(1),Ct(e.relay.url),A(2),N("ngIf",1===e.relay.type),A(1),N("ngIf",2===e.relay.type),A(1),N("ngIf",3===e.relay.type),A(1),N("ngIf",!e.relay.enabled),A(1),N("ngIf",e.relay.enabled&&1==e.relay.status),A(1),N("ngIf",e.relay.enabled&&1!==e.relay.status),A(1),N("ngIf",!0===e.relay.public),A(1),N("ngIf",!1===e.relay.public),A(1),N("ngIf",e.relay.error),A(1),N("ngIf",e.relay.nip11),A(2),N("ngIf",e.relay.timeouts),A(1),N("ngIf",e.relay.eventcount),A(2),ri("Status: ",e.relay.status,""),A(6),N("multiple",!1),A(1),N("ngForOf",e.typesOfRelays),A(8),N("multiple",!1),A(1),N("ngForOf",e.typesOfStatus),A(6),N("multiple",!1),A(1),N("ngForOf",e.typesOfPrivacy),A(1),N("disabled",!e.relay.public||e.optionsService.values.primaryRelay==e.relay.url))},dependencies:[Pa,Gn,mi,Ya,Cr,Sa,ec,D_,C_,k_,pr,yO,bO,_D,Fv,wv,Vc,Yc,Od,Ld],styles:[".mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.mat-expansion-panel[_ngcontent-%COMP%]{margin-bottom:.4em}.relay-status--1[_ngcontent-%COMP%]{color:#3131d2}.relay-status-0[_ngcontent-%COMP%]{color:gray}.relay-status-1[_ngcontent-%COMP%]{color:#22b322}.relay-status-2[_ngcontent-%COMP%]{color:orange}.relay-status-3[_ngcontent-%COMP%]{color:red}.relay-status-4[_ngcontent-%COMP%]{color:#3131d2}.relay-status-icon[_ngcontent-%COMP%]{margin-left:.2em}.primary-relay[_ngcontent-%COMP%]{color:#c603b5}.relay-options[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:.6em;background-color:#ffffff1a}.settings-action-buttons[_ngcontent-%COMP%]{padding-top:.8em;padding-bottom:1em}.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:1em;margin-right:1em}@media only screen and (max-width: 599px){.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;margin-right:0}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-grow:3!important}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-grow:1!important}}.relay-button[_ngcontent-%COMP%]{margin-top:.8em}.options-slider[_ngcontent-%COMP%]{margin-left:1em}.relay-favicon[_ngcontent-%COMP%]{margin-right:1em}"]});class fp{constructor(){}ngOnInit(){}trackByFn(t,e){return`${e.url}${e.modified}`}}fp.\u0275fac=function(t){return new(t||fp)},fp.\u0275cmp=$e({type:fp,selectors:[["app-relays"]],inputs:{relays:"relays"},decls:2,vars:2,consts:[["multi",""],["ngFor","",3,"ngForOf","ngForTrackBy"],[3,"relay"]],template:function(t,e){1&t&&(y(0,"mat-accordion",0),oe(1,Phe,1,1,"ng-template",1),k()),2&t&&(A(1),N("ngForOf",e.relays)("ngForTrackBy",e.trackByFn))},dependencies:[Gn,tc,g0]});class _0{constructor(t,e,n,r){this.nostr=t,this.dataService=e,this.appState=n,this.relayService=r}ngOnInit(){this.appState.updateTitle("Development & Debug")}database(){return Se(function*(){})()}databaseWorker(){console.log("Creating Worker...")}addRelays(){var t=this;return Se(function*(){t.relayService.appendRelays(t.nostr.defaultRelays)})()}downloadProfile(){this.relayService.enque({identifier:this.appState.getPublicKey(),type:"Profile"})}subscription(){this.sub=this.relayService.subscribe([{authors:[this.appState.getPublicKey()],kinds:[1]}]).id}unsubscribe(){this.relayService.unsubscribe(this.sub)}terminate(){this.relayService.workers[0].terminate()}ngOnDestroy(){this.worker?.terminate()}}_0.\u0275fac=function(t){return new(t||_0)(D(Jl),D(Ka),D(ln),D(as))},_0.\u0275cmp=$e({type:_0,selectors:[["app-development"]],decls:20,vars:1,consts:[[1,"page"],["mat-stroked-button","",3,"click"],[3,"relays"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"p"),B(2,"This page act as examples for more specialized implementation details of the app."),k(),y(3,"button",1),pe("click",function(){return e.downloadProfile()}),B(4,"Enque Profile Download"),k(),y(5,"button",1),pe("click",function(){return e.database()}),B(6,"Create Database"),k(),y(7,"button",1),pe("click",function(){return e.databaseWorker()}),B(8,"Create Database in Worker"),k(),y(9,"button",1),pe("click",function(){return e.addRelays()}),B(10,"Add Relays"),k(),y(11,"button",1),pe("click",function(){return e.subscription()}),B(12,"Create Subscription"),k(),y(13,"button",1),pe("click",function(){return e.unsubscribe()}),B(14,"Remove Subscription"),k(),y(15,"button",1),pe("click",function(){return e.terminate()}),B(16,"Terminate a single Web Worker"),k(),De(17,"br")(18,"br")(19,"app-relays",2),k()),2&t&&(A(19),N("relays",e.relayService.items))},dependencies:[Cr,fp],styles:["button[_ngcontent-%COMP%]{margin-right:.2em;margin-top:.2em}"]});class gr{constructor(t,e){this.appState=t,this.router=e}resolve(t,e){return this.appState.initialized$.pipe(Ki(n=>n))}}gr.\u0275fac=function(t){return new(t||gr)(Ee(ln),Ee(rr))},gr.\u0275prov=it({token:gr,factory:gr.\u0275fac,providedIn:"root"});const Bhe=function(i){return{"notification-message-seen":i}};function Hhe(i,t){if(1&i&&(y(0,"mat-card",7)(1,"mat-card-content")(2,"div",8)(3,"div",9),De(4,"app-notification-label",10),k(),y(5,"div",11),De(6,"app-date",12),k()()()()),2&i){const e=t.$implicit;A(3),N("ngClass",Cn(3,Bhe,e.seen)),A(1),N("notification",e),A(2),N("date",e.created)}}class b0{constructor(t,e,n,r,a,o){this.navigation=t,this.utilities=e,this.db=n,this.relayService=r,this.ui=a,this.appState=o,this.subscriptions=[],this.offset=0,this.pageSize=12}ngOnInit(){var t=this;return Se(function*(){t.appState.updateTitle("Notifications"),t.appState.showBackButton=!1,t.appState.actions=[];const e=yield t.db.storage.getNotifications(100);t.ui.putNotifications(e),t.subscriptions.push(t.navigation.showMore$.subscribe(()=>{t.showMore()}))})()}showMore(){var t=this;return Se(function*(){let e=yield t.db.storage.db.transaction("notifications").store.index("created").openCursor(void 0,"prev");t.offset>0&&(e=yield e?.advance(t.offset));for(let n=0;n{t.showMore()}))});return function(n){return e.apply(this,arguments)}}()))})()}}pp.\u0275fac=function(t){return new(t||pp)(D(qr),D(Ps),D(Ea),D(Ao),D(ln),D(li),D(Er),D(Vn),D(Uo),D(Nn),D(rr),D(gd),D(js),D(Rt))},pp.\u0275cmp=$e({type:pp,selectors:[["app-feed-private"]],decls:2,vars:3,consts:[["class","scrolling-content","infiniteScroll","",3,"scrollAction",4,"ngIf"],["infiniteScroll","",1,"scrolling-content",3,"scrollAction"],[1,"feed-page"],[1,"options"],["class","events clickable",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"show-more","centered"],["mat-button","",3,"click"],[1,"events","clickable",3,"click"],[1,"events-header"],[3,"pubkey"],["matTooltipPosition","below",1,"event-date"],[3,"event"]],template:function(t,e){1&t&&(oe(0,Yhe,13,3,"div",0),zi(1,"async")),2&t&&N("ngIf",Ui(1,1,e.ui.feedEventsView$))},dependencies:[Gn,mi,Cr,Sa,tc,Vc,Yc,Od,Ld,xl,Fs,kl,sm,Ws,Os,Gs],styles:[".loading-container[_ngcontent-%COMP%]{text-align:center}.loading[_ngcontent-%COMP%]{margin:auto}"]});var ai=(()=>(function(i){i[i.QR_CODE=0]="QR_CODE",i[i.AZTEC=1]="AZTEC",i[i.CODABAR=2]="CODABAR",i[i.CODE_39=3]="CODE_39",i[i.CODE_93=4]="CODE_93",i[i.CODE_128=5]="CODE_128",i[i.DATA_MATRIX=6]="DATA_MATRIX",i[i.MAXICODE=7]="MAXICODE",i[i.ITF=8]="ITF",i[i.EAN_13=9]="EAN_13",i[i.EAN_8=10]="EAN_8",i[i.PDF_417=11]="PDF_417",i[i.RSS_14=12]="RSS_14",i[i.RSS_EXPANDED=13]="RSS_EXPANDED",i[i.UPC_A=14]="UPC_A",i[i.UPC_E=15]="UPC_E",i[i.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"}(ai||(ai={})),ai))(),YO=new Map([[ai.QR_CODE,"QR_CODE"],[ai.AZTEC,"AZTEC"],[ai.CODABAR,"CODABAR"],[ai.CODE_39,"CODE_39"],[ai.CODE_93,"CODE_93"],[ai.CODE_128,"CODE_128"],[ai.DATA_MATRIX,"DATA_MATRIX"],[ai.MAXICODE,"MAXICODE"],[ai.ITF,"ITF"],[ai.EAN_13,"EAN_13"],[ai.EAN_8,"EAN_8"],[ai.PDF_417,"PDF_417"],[ai.RSS_14,"RSS_14"],[ai.RSS_EXPANDED,"RSS_EXPANDED"],[ai.UPC_A,"UPC_A"],[ai.UPC_E,"UPC_E"],[ai.UPC_EAN_EXTENSION,"UPC_EAN_EXTENSION"]]);function jhe(i){return Object.values(ai).includes(i)}var jd=(()=>(function(i){i[i.SCAN_TYPE_CAMERA=0]="SCAN_TYPE_CAMERA",i[i.SCAN_TYPE_FILE=1]="SCAN_TYPE_FILE"}(jd||(jd={})),jd))(),rc=function(){function i(){}return i.GITHUB_PROJECT_URL="https://github.com/mebjas/html5-qrcode",i.SCAN_DEFAULT_FPS=2,i.DEFAULT_DISABLE_FLIP=!1,i.DEFAULT_REMEMBER_LAST_CAMERA_USED=!0,i.DEFAULT_SUPPORTED_SCAN_TYPE=[jd.SCAN_TYPE_CAMERA,jd.SCAN_TYPE_FILE],i}(),jO=function(){function i(t,e){this.format=t,this.formatName=e}return i.prototype.toString=function(){return this.formatName},i.create=function(t){if(!YO.has(t))throw t+" not in html5QrcodeSupportedFormatsTextMap";return new i(t,YO.get(t))},i}(),zO=function(){function i(){}return i.createFromText=function(t){return{decodedText:t,result:{text:t}}},i.createFromQrcodeResult=function(t){return{decodedText:t.text,result:t}},i}(),Ev=(()=>(function(i){i[i.UNKWOWN_ERROR=0]="UNKWOWN_ERROR",i[i.IMPLEMENTATION_ERROR=1]="IMPLEMENTATION_ERROR",i[i.NO_CODE_FOUND_ERROR=2]="NO_CODE_FOUND_ERROR"}(Ev||(Ev={})),Ev))(),UO=function(){function i(){}return i.createFrom=function(t){return{errorMessage:t,type:Ev.UNKWOWN_ERROR}},i}(),WO=function(){function i(t){this.verbose=t}return i.prototype.log=function(t){this.verbose&&console.log(t)},i.prototype.warn=function(t){this.verbose&&console.warn(t)},i.prototype.logError=function(t,e){(this.verbose||!0===e)&&console.error(t)},i.prototype.logErrors=function(t){if(0===t.length)throw"Logger#logError called without arguments";this.verbose&&console.error(t)},i}();function Uc(i){return typeof i>"u"||null===i}var y0=function(){function i(){}return i.codeParseError=function(t){return"QR code parse error, error = "+t},i.errorGettingUserMedia=function(t){return"Error getting userMedia, error = "+t},i.onlyDeviceSupportedError=function(){return"The device doesn't support navigator.mediaDevices , only supported cameraIdOrConfig in this case is deviceId parameter (string)."},i.cameraStreamingNotSupported=function(){return"Camera streaming not supported by the browser."},i.unableToQuerySupportedDevices=function(){return"Unable to query supported devices, unknown error."},i.insecureContextCameraQueryError=function(){return"Camera access is only supported in secure context like https or localhost."},i}(),Sr=function(){function i(){}return i.scanningStatus=function(){return"Scanning"},i.idleStatus=function(){return"Idle"},i.errorStatus=function(){return"Error"},i.permissionStatus=function(){return"Permission"},i.noCameraFoundErrorStatus=function(){return"No Cameras"},i.lastMatch=function(t){return"Last Match: "+t},i.codeScannerTitle=function(){return"Code Scanner"},i.cameraPermissionTitle=function(){return"Request Camera Permissions"},i.cameraPermissionRequesting=function(){return"Requesting camera permissions..."},i.noCameraFound=function(){return"No camera found"},i.scanButtonStopScanningText=function(){return"Stop Scanning"},i.scanButtonStartScanningText=function(){return"Start Scanning"},i.torchOnButton=function(){return"Switch On Torch"},i.torchOffButton=function(){return"Switch Off Torch"},i.torchOnFailedMessage=function(){return"Failed to turn on torch"},i.torchOffFailedMessage=function(){return"Failed to turn off torch"},i.scanButtonScanningStarting=function(){return"Launching Camera..."},i.textIfCameraScanSelected=function(){return"Scan an Image File"},i.textIfFileScanSelected=function(){return"Scan using camera directly"},i.selectCamera=function(){return"Select Camera"},i.fileSelectionChooseImage=function(){return"Choose Image"},i.fileSelectionChooseAnother=function(){return"Choose Another"},i.fileSelectionNoImageSelected=function(){return"No image choosen"},i.anonymousCameraPrefix=function(){return"Anonymous Camera"},i.dragAndDropMessage=function(){return"Or drop an image to scan"},i.dragAndDropMessageOnlyImages=function(){return"Or drop an image to scan (other files not supported)"},i.zoom=function(){return"zoom"},i.loadingImage=function(){return"Loading image..."},i.cameraScanAltText=function(){return"Camera based scan"},i.fileScanAltText=function(){return"Fule based scan"},i}(),GO=function(){function i(){}return i.poweredBy=function(){return"Powered by "},i.reportIssues=function(){return"Report issues"},i}(),qO=function(){function i(){}return i.isMediaStreamConstraintsValid=function(t,e){if("object"!=typeof t)return e.logError("videoConstraints should be of type object, the object passed is of type "+typeof t+".",!0),!1;for(var a=new Set(["autoGainControl","channelCount","echoCancellation","latency","noiseSuppression","sampleRate","sampleSize","volume"]),c=0,h=Object.keys(t);c0&&a[a.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!a||f[1]>a[0]&&f[1]n&&(n=c,e=o)}if(!e)throw"No largest barcode found";return e},i.prototype.createBarcodeDetectorFormats=function(t){for(var e=[],n=0,r=t;n0&&a[a.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!a||f[1]>a[0]&&f[1]0&&a[a.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!a||f[1]>a[0]&&f[1]=a&&(t.isClosed=!0,t.parentElement.removeChild(t.surface),e())})})},i.prototype.getCapabilities=function(){return new Qhe(this.getFirstTrackOrFail())},i}(),Xhe=function(){function i(t){this.mediaStream=t}return i.prototype.render=function(t,e,n){return Sv(this,void 0,void 0,function(){return Av(this,function(r){return[2,Zhe.create(t,this.mediaStream,e,n)]})})},i.create=function(t){return Sv(this,void 0,void 0,function(){return Av(this,function(r){switch(r.label){case 0:if(!navigator.mediaDevices)throw"navigator.mediaDevices not supported";return[4,navigator.mediaDevices.getUserMedia({audio:!1,video:t})];case 1:return[2,new i(r.sent())]}})})},i}(),JO=function(i,t,e,n){return new(e||(e=Promise))(function(a,o){function c(F){try{f(n.next(F))}catch(R){o(R)}}function h(F){try{f(n.throw(F))}catch(R){o(R)}}function f(F){F.done?a(F.value):function r(a){return a instanceof e?a:new e(function(o){o(a)})}(F.value).then(c,h)}f((n=n.apply(i,t||[])).next())})},eR=function(i,t){var n,r,a,o,e={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(f){return function(F){return function h(f){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,r&&(a=2&f[0]?r.return:f[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,f[1])).done)return a;switch(r=0,a&&(f=[2&f[0],a.value]),f[0]){case 0:case 1:a=f;break;case 4:return e.label++,{value:f[1],done:!1};case 5:e.label++,r=f[1],f=[0];continue;case 7:f=e.ops.pop(),e.trys.pop();continue;default:if(!(a=(a=e.trys).length>0&&a[a.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!a||f[1]>a[0]&&f[1]0&&a[a.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!a||f[1]>a[0]&&f[1](function(i){i[i.UNKNOWN=0]="UNKNOWN",i[i.NOT_STARTED=1]="NOT_STARTED",i[i.SCANNING=2]="SCANNING",i[i.PAUSED=3]="PAUSED"}(da||(da={})),da))(),nme=function(){function i(){this.state=da.NOT_STARTED,this.onGoingTransactionNewState=da.UNKNOWN}return i.prototype.directTransition=function(t){this.failIfTransitionOngoing(),this.validateTransition(t),this.state=t},i.prototype.startTransition=function(t){return this.failIfTransitionOngoing(),this.validateTransition(t),this.onGoingTransactionNewState=t,this},i.prototype.execute=function(){if(this.onGoingTransactionNewState===da.UNKNOWN)throw"Transaction is already cancelled, cannot execute().";var t=this.onGoingTransactionNewState;this.onGoingTransactionNewState=da.UNKNOWN,this.directTransition(t)},i.prototype.cancel=function(){if(this.onGoingTransactionNewState===da.UNKNOWN)throw"Transaction is already cancelled, cannot cancel().";this.onGoingTransactionNewState=da.UNKNOWN},i.prototype.getState=function(){return this.state},i.prototype.failIfTransitionOngoing=function(){if(this.onGoingTransactionNewState!==da.UNKNOWN)throw"Cannot transition to a new state, already under transition"},i.prototype.validateTransition=function(t){switch(this.state){case da.UNKNOWN:throw"Transition from unknown is not allowed";case da.NOT_STARTED:this.failIfNewStateIs(t,[da.PAUSED])}},i.prototype.failIfNewStateIs=function(t,e){for(var n=0,r=e;nt&&(this.logger.warn("`qrbox.width` or `qrbox` is larger than the width of the root element. The width will be truncated to the width of root element."),f=t),f)},i.prototype.validateQrboxConfig=function(t){if("number"!=typeof t&&"function"!=typeof t&&(void 0===t.width||void 0===t.height))throw"Invalid instance of QrDimensions passed for 'config.qrbox'. Both 'width' and 'height' should be set."},i.prototype.toQrdimensions=function(t,e,n){if("number"==typeof n)return{width:n,height:n};if("function"==typeof n)try{return n(t,e)}catch(r){throw new Error("qrbox config was passed as a function but it failed with unknown error"+r)}return n},i.prototype.setupUi=function(t,e,n){n.isShadedBoxEnabled()&&this.validateQrboxSize(t,e,n);var r=Uc(n.qrbox)?{width:t,height:e}:n.qrbox;this.validateQrboxConfig(r);var a=this.toQrdimensions(t,e,r);a.height>e&&this.logger.warn("[Html5Qrcode] config.qrbox has height that isgreater than the height of the video stream. Shading will be ignored");var o=n.isShadedBoxEnabled()&&a.height<=e,c={x:0,y:0,width:t,height:e},h=o?this.getShadedRegionBounds(t,e,a):c,f=this.createCanvasElement(h.width,h.height),R=f.getContext("2d",{willReadFrequently:!0});R.canvas.width=h.width,R.canvas.height=h.height,this.element.append(f),o&&this.possiblyInsertShadingElement(this.element,t,e,a),this.createScannerPausedUiElement(this.element),this.qrRegion=h,this.context=R,this.canvasElement=f},i.prototype.createScannerPausedUiElement=function(t){var e=document.createElement("div");e.innerText="Scanner paused",e.style.display="none",e.style.position="absolute",e.style.top="0px",e.style.zIndex="1",e.style.background="yellow",e.style.textAlign="center",e.style.width="100%",t.appendChild(e),this.scannerPausedUiElement=e},i.prototype.scanContext=function(t,e){var n=this;return this.stateManagerProxy.isPaused()?Promise.resolve(!1):this.qrcode.decodeAsync(this.canvasElement).then(function(r){return t(r.text,zO.createFromQrcodeResult(r)),n.possiblyUpdateShaders(!0),!0}).catch(function(r){n.possiblyUpdateShaders(!1);var a=y0.codeParseError(r);return e(a,UO.createFrom(a)),!1})},i.prototype.foreverScan=function(t,e,n){var r=this;if(this.shouldScan&&this.renderedCamera){var a=this.renderedCamera.getSurface(),o=a.videoWidth/a.clientWidth,c=a.videoHeight/a.clientHeight;if(!this.qrRegion)throw"qrRegion undefined when localMediaStream is ready.";this.context.drawImage(a,this.qrRegion.x*o,this.qrRegion.y*c,this.qrRegion.width*o,this.qrRegion.height*c,0,0,this.qrRegion.width,this.qrRegion.height);var W=function(){r.foreverScanTimeout=setTimeout(function(){r.foreverScan(t,e,n)},r.getTimeoutFps(t.fps))};this.scanContext(e,n).then(function(te){te||!0===t.disableFlip?W():(r.context.translate(r.context.canvas.width,0),r.context.scale(-1,1),r.scanContext(e,n).finally(function(){W()}))}).catch(function(te){r.logger.logError("Error happend while scanning context",te),W()})}},i.prototype.createVideoConstraints=function(t){if("string"==typeof t)return{deviceId:{exact:t}};if("object"==typeof t){var e="facingMode",n="deviceId",r={user:!0,environment:!0},a="exact",o=function(fe){if(fe in r)return!0;throw"config has invalid 'facingMode' value = '"+fe+"'"},c=Object.keys(t);if(1!==c.length)throw"'cameraIdOrConfig' object should have exactly 1 key, if passed as an object, found "+c.length+" keys";var h=Object.keys(t)[0];if(h!==e&&h!==n)throw"Only '"+e+"' and '"+n+"' are supported for 'cameraIdOrConfig'";if(h!==e){var R=t.deviceId;if("string"==typeof R)return{deviceId:R};if("object"==typeof R){if(a in R)return{deviceId:{exact:R[""+a]}};throw"'deviceId' should be string or object with exact as key."}throw"Invalid type of 'deviceId' = "+typeof R}var f=t.facingMode;if("string"==typeof f){if(o(f))return{facingMode:f}}else{if("object"!=typeof f)throw"Invalid type of 'facingMode' = "+typeof f;if(!(a in f))throw"'facingMode' should be string or object with exact as key.";if(o(f[""+a]))return{facingMode:{exact:f[""+a]}}}}throw"Invalid type of 'cameraIdOrConfig' = "+typeof t},i.prototype.computeCanvasDrawConfig=function(t,e,n,r){if(t<=n&&e<=r)return{x:(n-t)/2,y:(r-e)/2,width:t,height:e};var c=t,h=e;return t>n&&(e*=n/t,t=n),e>r&&(t*=r/e,e=r),this.logger.log("Image downsampled from "+c+"X"+h+" to "+t+"X"+e+"."),this.computeCanvasDrawConfig(t,e,n,r)},i.prototype.clearElement=function(){if(this.stateManagerProxy.isScanning())throw"Cannot clear while scan is ongoing, close it first.";var t=document.getElementById(this.elementId);t&&(t.innerHTML="")},i.prototype.possiblyUpdateShaders=function(t){this.qrMatch!==t&&(this.hasBorderShaders&&this.borderShaders&&this.borderShaders.length&&this.borderShaders.forEach(function(e){e.style.backgroundColor=t?qs.BORDER_SHADER_MATCH_COLOR:qs.BORDER_SHADER_DEFAULT_COLOR}),this.qrMatch=t)},i.prototype.possiblyCloseLastScanImageFile=function(){this.lastScanImageFile&&(URL.revokeObjectURL(this.lastScanImageFile),this.lastScanImageFile=null)},i.prototype.createCanvasElement=function(t,e,n){var r=t,a=e,o=document.createElement("canvas");return o.style.width=r+"px",o.style.height=a+"px",o.style.display="none",o.id=Uc(n)?"qr-canvas":n,o},i.prototype.getShadedRegionBounds=function(t,e,n){if(n.width>t||n.height>e)throw"'config.qrbox' dimensions should not be greater than the dimensions of the root HTML element.";return{x:(t-n.width)/2,y:(e-n.height)/2,width:n.width,height:n.height}},i.prototype.possiblyInsertShadingElement=function(t,e,n,r){if(!(e-r.width<1||n-r.height<1)){var a=document.createElement("div");a.style.position="absolute";var o=(e-r.width)/2,c=(n-r.height)/2;if(a.style.borderLeft=o+"px solid rgba(0, 0, 0, 0.48)",a.style.borderRight=o+"px solid rgba(0, 0, 0, 0.48)",a.style.borderTop=c+"px solid rgba(0, 0, 0, 0.48)",a.style.borderBottom=c+"px solid rgba(0, 0, 0, 0.48)",a.style.boxSizing="border-box",a.style.top="0px",a.style.bottom="0px",a.style.left="0px",a.style.right="0px",a.id=""+qs.SHADED_REGION_ELEMENT_ID,e-r.width<11||n-r.height<11)this.hasBorderShaders=!1;else{this.insertShaderBorders(a,40,5,-5,null,0,!0),this.insertShaderBorders(a,40,5,-5,null,0,!1),this.insertShaderBorders(a,40,5,null,-5,0,!0),this.insertShaderBorders(a,40,5,null,-5,0,!1),this.insertShaderBorders(a,5,45,-5,null,-5,!0),this.insertShaderBorders(a,5,45,null,-5,-5,!0),this.insertShaderBorders(a,5,45,-5,null,-5,!1),this.insertShaderBorders(a,5,45,null,-5,-5,!1),this.hasBorderShaders=!0}t.append(a)}},i.prototype.insertShaderBorders=function(t,e,n,r,a,o,c){var h=document.createElement("div");h.style.position="absolute",h.style.backgroundColor=qs.BORDER_SHADER_DEFAULT_COLOR,h.style.width=e+"px",h.style.height=n+"px",null!==r&&(h.style.top=r+"px"),null!==a&&(h.style.bottom=a+"px"),c?h.style.left=o+"px":h.style.right=o+"px",this.borderShaders||(this.borderShaders=[]),this.borderShaders.push(h),t.appendChild(h)},i.prototype.showPausedState=function(){if(!this.scannerPausedUiElement)throw"[internal error] scanner paused UI element not found";this.scannerPausedUiElement.style.display="block"},i.prototype.hidePausedState=function(){if(!this.scannerPausedUiElement)throw"[internal error] scanner paused UI element not found";this.scannerPausedUiElement.style.display="none"},i.prototype.getTimeoutFps=function(t){return 1e3/t},i}(),SD="data:image/svg+xml;base64,",lme=SD+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNzEuNjQzIDM3MS42NDMiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDM3MS42NDMgMzcxLjY0MyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTEwNS4wODQgMzguMjcxaDE2My43Njh2MjBIMTA1LjA4NHoiLz48cGF0aCBkPSJNMzExLjU5NiAxOTAuMTg5Yy03LjQ0MS05LjM0Ny0xOC40MDMtMTYuMjA2LTMyLjc0My0yMC41MjJWMzBjMC0xNi41NDItMTMuNDU4LTMwLTMwLTMwSDEyNS4wODRjLTE2LjU0MiAwLTMwIDEzLjQ1OC0zMCAzMHYxMjAuMTQzaC04LjI5NmMtMTYuNTQyIDAtMzAgMTMuNDU4LTMwIDMwdjEuMzMzYTI5LjgwNCAyOS44MDQgMCAwIDAgNC42MDMgMTUuOTM5Yy03LjM0IDUuNDc0LTEyLjEwMyAxNC4yMjEtMTIuMTAzIDI0LjA2MXYxLjMzM2MwIDkuODQgNC43NjMgMTguNTg3IDEyLjEwMyAyNC4wNjJhMjkuODEgMjkuODEgMCAwIDAtNC42MDMgMTUuOTM4djEuMzMzYzAgMTYuNTQyIDEzLjQ1OCAzMCAzMCAzMGg4LjMyNGMuNDI3IDExLjYzMSA3LjUwMyAyMS41ODcgMTcuNTM0IDI2LjE3Ny45MzEgMTAuNTAzIDQuMDg0IDMwLjE4NyAxNC43NjggNDUuNTM3YTkuOTg4IDkuOTg4IDAgMCAwIDguMjE2IDQuMjg4IDkuOTU4IDkuOTU4IDAgMCAwIDUuNzA0LTEuNzkzYzQuNTMzLTMuMTU1IDUuNjUtOS4zODggMi40OTUtMTMuOTIxLTYuNzk4LTkuNzY3LTkuNjAyLTIyLjYwOC0xMC43Ni0zMS40aDgyLjY4NWMuMjcyLjQxNC41NDUuODE4LjgxNSAxLjIxIDMuMTQyIDQuNTQxIDkuMzcyIDUuNjc5IDEzLjkxMyAyLjUzNCA0LjU0Mi0zLjE0MiA1LjY3Ny05LjM3MSAyLjUzNS0xMy45MTMtMTEuOTE5LTE3LjIyOS04Ljc4Ny0zNS44ODQgOS41ODEtNTcuMDEyIDMuMDY3LTIuNjUyIDEyLjMwNy0xMS43MzIgMTEuMjE3LTI0LjAzMy0uODI4LTkuMzQzLTcuMTA5LTE3LjE5NC0xOC42NjktMjMuMzM3YTkuODU3IDkuODU3IDAgMCAwLTEuMDYxLS40ODZjLS40NjYtLjE4Mi0xMS40MDMtNC41NzktOS43NDEtMTUuNzA2IDEuMDA3LTYuNzM3IDE0Ljc2OC04LjI3MyAyMy43NjYtNy42NjYgMjMuMTU2IDEuNTY5IDM5LjY5OCA3LjgwMyA0Ny44MzYgMTguMDI2IDUuNzUyIDcuMjI1IDcuNjA3IDE2LjYyMyA1LjY3MyAyOC43MzMtLjQxMyAyLjU4NS0uODI0IDUuMjQxLTEuMjQ1IDcuOTU5LTUuNzU2IDM3LjE5NC0xMi45MTkgODMuNDgzLTQ5Ljg3IDExNC42NjEtNC4yMjEgMy41NjEtNC43NTYgOS44Ny0xLjE5NCAxNC4wOTJhOS45OCA5Ljk4IDAgMCAwIDcuNjQ4IDMuNTUxIDkuOTU1IDkuOTU1IDAgMCAwIDYuNDQ0LTIuMzU4YzQyLjY3Mi0zNi4wMDUgNTAuODAyLTg4LjUzMyA1Ni43MzctMTI2Ljg4OC40MTUtMi42ODQuODIxLTUuMzA5IDEuMjI5LTcuODYzIDIuODM0LTE3LjcyMS0uNDU1LTMyLjY0MS05Ljc3Mi00NC4zNDV6bS0yMzIuMzA4IDQyLjYyYy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi0xLjMzM2MwLTUuNTE0IDQuNDg2LTEwIDEwLTEwaDE1djIxLjMzM2gtMTV6bS0yLjUtNTIuNjY2YzAtNS41MTQgNC40ODYtMTAgMTAtMTBoNy41djIxLjMzM2gtNy41Yy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi0xLjMzM3ptMTcuNSA5My45OTloLTcuNWMtNS41MTQgMC0xMC00LjQ4Ni0xMC0xMHYtMS4zMzNjMC01LjUxNCA0LjQ4Ni0xMCAxMC0xMGg3LjV2MjEuMzMzem0zMC43OTYgMjguODg3Yy01LjUxNCAwLTEwLTQuNDg2LTEwLTEwdi04LjI3MWg5MS40NTdjLS44NTEgNi42NjgtLjQzNyAxMi43ODcuNzMxIDE4LjI3MWgtODIuMTg4em03OS40ODItMTEzLjY5OGMtMy4xMjQgMjAuOTA2IDEyLjQyNyAzMy4xODQgMjEuNjI1IDM3LjA0IDUuNDQxIDIuOTY4IDcuNTUxIDUuNjQ3IDcuNzAxIDcuMTg4LjIxIDIuMTUtMi41NTMgNS42ODQtNC40NzcgNy4yNTEtLjQ4Mi4zNzgtLjkyOS44LTEuMzM1IDEuMjYxLTYuOTg3IDcuOTM2LTExLjk4MiAxNS41Mi0xNS40MzIgMjIuNjg4aC05Ny41NjRWMzBjMC01LjUxNCA0LjQ4Ni0xMCAxMC0xMGgxMjMuNzY5YzUuNTE0IDAgMTAgNC40ODYgMTAgMTB2MTM1LjU3OWMtMy4wMzItLjM4MS02LjE1LS42OTQtOS4zODktLjkxNC0yNS4xNTktMS42OTQtNDIuMzcgNy43NDgtNDQuODk4IDI0LjY2NnoiLz48cGF0aCBkPSJNMTc5LjEyOSA4My4xNjdoLTI0LjA2YTUgNSAwIDAgMC01IDV2MjQuMDYxYTUgNSAwIDAgMCA1IDVoMjQuMDZhNSA1IDAgMCAwIDUtNVY4OC4xNjdhNSA1IDAgMCAwLTUtNXpNMTcyLjYyOSAxNDIuODZoLTEyLjU2VjEzMC44YTUgNSAwIDEgMC0xMCAwdjE3LjA2MWE1IDUgMCAwIDAgNSA1aDE3LjU2YTUgNSAwIDEgMCAwLTEwLjAwMXpNMjE2LjU2OCA4My4xNjdoLTI0LjA2YTUgNSAwIDAgMC01IDV2MjQuMDYxYTUgNSAwIDAgMCA1IDVoMjQuMDZhNSA1IDAgMCAwIDUtNVY4OC4xNjdhNSA1IDAgMCAwLTUtNXptLTUgMjQuMDYxaC0xNC4wNlY5My4xNjdoMTQuMDZ2MTQuMDYxek0yMTEuNjY5IDEyNS45MzZIMTk3LjQxYTUgNSAwIDAgMC01IDV2MTQuMjU3YTUgNSAwIDAgMCA1IDVoMTQuMjU5YTUgNSAwIDAgMCA1LTV2LTE0LjI1N2E1IDUgMCAwIDAtNS01eiIvPjwvc3ZnPg==",cme=SD+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1OS4wMTggNTkuMDE4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1OS4wMTggNTkuMDE4IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJtNTguNzQxIDU0LjgwOS01Ljk2OS02LjI0NGExMC43NCAxMC43NCAwIDAgMCAyLjgyLTcuMjVjMC01Ljk1My00Ljg0My0xMC43OTYtMTAuNzk2LTEwLjc5NlMzNCAzNS4zNjEgMzQgNDEuMzE0IDM4Ljg0MyA1Mi4xMSA0NC43OTYgNTIuMTFjMi40NDEgMCA0LjY4OC0uODI0IDYuNDk5LTIuMTk2bDYuMDAxIDYuMjc3YS45OTguOTk4IDAgMCAwIDEuNDE0LjAzMiAxIDEgMCAwIDAgLjAzMS0xLjQxNHpNMzYgNDEuMzE0YzAtNC44NSAzLjk0Ni04Ljc5NiA4Ljc5Ni04Ljc5NnM4Ljc5NiAzLjk0NiA4Ljc5NiA4Ljc5Ni0zLjk0NiA4Ljc5Ni04Ljc5NiA4Ljc5NlMzNiA0Ni4xNjQgMzYgNDEuMzE0ek0xMC40MzEgMTYuMDg4YzAgMy4wNyAyLjQ5OCA1LjU2OCA1LjU2OSA1LjU2OHM1LjU2OS0yLjQ5OCA1LjU2OS01LjU2OGMwLTMuMDcxLTIuNDk4LTUuNTY5LTUuNTY5LTUuNTY5cy01LjU2OSAyLjQ5OC01LjU2OSA1LjU2OXptOS4xMzggMGMwIDEuOTY4LTEuNjAyIDMuNTY4LTMuNTY5IDMuNTY4cy0zLjU2OS0xLjYwMS0zLjU2OS0zLjU2OCAxLjYwMi0zLjU2OSAzLjU2OS0zLjU2OSAzLjU2OSAxLjYwMSAzLjU2OSAzLjU2OXoiLz48cGF0aCBkPSJtMzAuODgyIDI4Ljk4NyA5LjE4LTEwLjA1NCAxMS4yNjIgMTAuMzIzYTEgMSAwIDAgMCAxLjM1MS0xLjQ3NWwtMTItMTFhMSAxIDAgMCAwLTEuNDE0LjA2M2wtOS43OTQgMTAuNzI3LTQuNzQzLTQuNzQzYTEuMDAzIDEuMDAzIDAgMCAwLTEuMzY4LS4wNDRMNi4zMzkgMzcuNzY4YTEgMSAwIDEgMCAxLjMyMiAxLjUwMWwxNi4zMTMtMTQuMzYyIDcuMzE5IDcuMzE4YS45OTkuOTk5IDAgMSAwIDEuNDE0LTEuNDE0bC0xLjgyNS0xLjgyNHoiLz48cGF0aCBkPSJNMzAgNDYuNTE4SDJ2LTQyaDU0djI4YTEgMSAwIDEgMCAyIDB2LTI5YTEgMSAwIDAgMC0xLTFIMWExIDEgMCAwIDAtMSAxdjQ0YTEgMSAwIDAgMCAxIDFoMjlhMSAxIDAgMSAwIDAtMnoiLz48L3N2Zz4=",tR=SD+"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NjAgNDYwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NjAgNDYwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNMjMwIDBDMTAyLjk3NSAwIDAgMTAyLjk3NSAwIDIzMHMxMDIuOTc1IDIzMCAyMzAgMjMwIDIzMC0xMDIuOTc0IDIzMC0yMzBTMzU3LjAyNSAwIDIzMCAwem0zOC4zMzMgMzc3LjM2YzAgOC42NzYtNy4wMzQgMTUuNzEtMTUuNzEgMTUuNzFoLTQzLjEwMWMtOC42NzYgMC0xNS43MS03LjAzNC0xNS43MS0xNS43MVYyMDIuNDc3YzAtOC42NzYgNy4wMzMtMTUuNzEgMTUuNzEtMTUuNzFoNDMuMTAxYzguNjc2IDAgMTUuNzEgNy4wMzMgMTUuNzEgMTUuNzFWMzc3LjM2ek0yMzAgMTU3Yy0yMS41MzkgMC0zOS0xNy40NjEtMzktMzlzMTcuNDYxLTM5IDM5LTM5IDM5IDE3LjQ2MSAzOSAzOS0xNy40NjEgMzktMzkgMzl6Ii8+PC9zdmc+",iR=function(){function i(){}return i.createDefault=function(){return{hasPermission:!1,lastUsedCameraId:null}},i}(),ume=function(){function i(){this.data=iR.createDefault();var t=localStorage.getItem(i.LOCAL_STORAGE_KEY);t?this.data=JSON.parse(t):this.reset()}return i.prototype.hasCameraPermissions=function(){return this.data.hasPermission},i.prototype.getLastUsedCameraId=function(){return this.data.lastUsedCameraId},i.prototype.setHasPermission=function(t){this.data.hasPermission=t,this.flush()},i.prototype.setLastUsedCameraId=function(t){this.data.lastUsedCameraId=t,this.flush()},i.prototype.resetLastUsedCameraId=function(){this.data.lastUsedCameraId=null,this.flush()},i.prototype.reset=function(){this.data=iR.createDefault(),this.flush()},i.prototype.flush=function(){localStorage.setItem(i.LOCAL_STORAGE_KEY,JSON.stringify(this.data))},i.LOCAL_STORAGE_KEY="HTML5_QRCODE_DATA",i}(),hme=function(){function i(){this.infoDiv=document.createElement("div")}return i.prototype.renderInto=function(t){this.infoDiv.style.position="absolute",this.infoDiv.style.top="10px",this.infoDiv.style.right="10px",this.infoDiv.style.zIndex="2",this.infoDiv.style.display="none",this.infoDiv.style.padding="5pt",this.infoDiv.style.border="1px solid #171717",this.infoDiv.style.fontSize="10pt",this.infoDiv.style.background="rgb(0 0 0 / 69%)",this.infoDiv.style.borderRadius="5px",this.infoDiv.style.textAlign="center",this.infoDiv.style.fontWeight="400",this.infoDiv.style.color="white",this.infoDiv.innerText=GO.poweredBy();var e=document.createElement("a");e.innerText="ScanApp",e.href="https://scanapp.org",e.target="new",e.style.color="white",this.infoDiv.appendChild(e);var n=document.createElement("br"),r=document.createElement("br");this.infoDiv.appendChild(n),this.infoDiv.appendChild(r);var a=document.createElement("a");a.innerText=GO.reportIssues(),a.href="https://github.com/mebjas/html5-qrcode/issues",a.target="new",a.style.color="white",this.infoDiv.appendChild(a),t.appendChild(this.infoDiv)},i.prototype.show=function(){this.infoDiv.style.display="block"},i.prototype.hide=function(){this.infoDiv.style.display="none"},i}(),mme=function(){function i(t,e){this.isShowingInfoIcon=!0,this.onTapIn=t,this.onTapOut=e,this.infoIcon=document.createElement("img")}return i.prototype.renderInto=function(t){var e=this;this.infoIcon.alt="Info icon",this.infoIcon.src=tR,this.infoIcon.style.position="absolute",this.infoIcon.style.top="4px",this.infoIcon.style.right="4px",this.infoIcon.style.opacity="0.6",this.infoIcon.style.cursor="pointer",this.infoIcon.style.zIndex="2",this.infoIcon.style.width="16px",this.infoIcon.style.height="16px",this.infoIcon.onmouseover=function(n){return e.onHoverIn()},this.infoIcon.onmouseout=function(n){return e.onHoverOut()},this.infoIcon.onclick=function(n){return e.onClick()},t.appendChild(this.infoIcon)},i.prototype.onHoverIn=function(){this.isShowingInfoIcon&&(this.infoIcon.style.opacity="1")},i.prototype.onHoverOut=function(){this.isShowingInfoIcon&&(this.infoIcon.style.opacity="0.6")},i.prototype.onClick=function(){this.isShowingInfoIcon?(this.isShowingInfoIcon=!1,this.onTapIn(),this.infoIcon.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAQgAAAEIBarqQRAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAE1SURBVDiNfdI7S0NBEAXgLya1otFgpbYSbISAgpXYi6CmiH9KCAiChaVga6OiWPgfRDQ+0itaGVNosXtluWwcuMzePfM4M3sq8lbHBubwg1dc4m1E/J/N4ghDPOIsfk/4xiEao5KX0McFljN4C9d4QTPXuY99jP3DsIoDPGM6BY5i5yI5R7O4q+ImFkJY2DCh3cAH2klyB+9J1xUMMAG7eCh1a+Mr+k48b5diXrFVwwLuS+BJ9MfR7+G0FHOHhTHhnXNWS87VDF4pcnfQK4Ep7XScNLmPTZgURNKKYENYWDpzW1BhscS1WHS8CDgURFJQrWcoF3c13KKbgg1BYQfy8xZWEzTTw1QZbAoKu8FqJnktdu5hcVSHmchiILzzuaDQvjBzV2m8yohCE1jHfPx/xhU+y4G/D75ELlRJsSYAAAAASUVORK5CYII=",this.infoIcon.style.opacity="1"):(this.isShowingInfoIcon=!0,this.onTapOut(),this.infoIcon.src=tR,this.infoIcon.style.opacity="0.6")},i}(),fme=function(){function i(){var t=this;this.infoDiv=new hme,this.infoIcon=new mme(function(){t.infoDiv.show()},function(){t.infoDiv.hide()})}return i.prototype.renderInto=function(t){this.infoDiv.renderInto(t),this.infoIcon.renderInto(t)},i}(),nR=function(){function i(){}return i.hasPermissions=function(){return function(i,t,e,n){return new(e||(e=Promise))(function(a,o){function c(F){try{f(n.next(F))}catch(R){o(R)}}function h(F){try{f(n.throw(F))}catch(R){o(R)}}function f(F){F.done?a(F.value):function r(a){return a instanceof e?a:new e(function(o){o(a)})}(F.value).then(c,h)}f((n=n.apply(i,t||[])).next())})}(this,void 0,void 0,function(){var t,e,n,r;return function(i,t){var n,r,a,o,e={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(f){return function(F){return function h(f){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,r&&(a=2&f[0]?r.return:f[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,f[1])).done)return a;switch(r=0,a&&(f=[2&f[0],a.value]),f[0]){case 0:case 1:a=f;break;case 4:return e.label++,{value:f[1],done:!1};case 5:e.label++,r=f[1],f=[0];continue;case 7:f=e.ops.pop(),e.trys.pop();continue;default:if(!(a=(a=e.trys).length>0&&a[a.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!a||f[1]>a[0]&&f[1]1},i.prototype.isCameraScanRequired=function(){for(var t=0,e=this.supportedScanTypes;te)throw"Max "+e+" values expected for supportedScanTypes";for(var n=0,r=t;n0&&a[a.length-1])&&(6===f[0]||2===f[0])){e=0;continue}if(3===f[0]&&(!a||f[1]>a[0]&&f[1]20){var n=t.substring(0,8),r=t.length,a=t.substring(r-8,r);t=n+"...."+a}var o=Sr.fileSelectionChooseAnother()+" - "+t;this.fileSelectionButton.innerText=o},i.prototype.setInitialValueToButton=function(){var t=Sr.fileSelectionChooseImage()+" - "+Sr.fileSelectionNoImageSelected();this.fileSelectionButton.innerText=t},i.prototype.getFileScanInputId=function(){return"html5-qrcode-private-filescan-input"},i.create=function(t,e,n){return new i(t,e,n)},i}(),yme=function(){function i(t){this.selectElement=zd.createElement("select",$s.CAMERA_SELECTION_SELECT_ID),this.cameras=t,this.options=[]}return i.prototype.render=function(t){var e=document.createElement("span");e.style.marginRight="10px";var n=this.cameras.length;if(0===n)throw new Error("No cameras found");if(1===n)e.style.display="none";else{var r=Sr.selectCamera();e.innerText=r+" ("+this.cameras.length+") "}for(var a=1,o=0,c=this.cameras;o(function(i){i[i.STATUS_DEFAULT=0]="STATUS_DEFAULT",i[i.STATUS_SUCCESS=1]="STATUS_SUCCESS",i[i.STATUS_WARNING=2]="STATUS_WARNING",i[i.STATUS_REQUESTING_PERMISSION=3]="STATUS_REQUESTING_PERMISSION"}(ks||(ks={})),ks))();function xme(i,t){if(1&i&&(y(0,"div",4),B(1),k()),2&i){const e=X();A(1),Ct(e.error)}}!function(){function i(t,e,n){if(this.lastMatchFound=null,this.cameraScanImage=null,this.fileScanImage=null,this.fileSelectionUi=null,this.elementId=t,this.config=this.createConfig(e),this.verbose=!0===n,!document.getElementById(t))throw"HTML Element with id="+t+" not found";this.scanTypeSelector=new qu(this.config.supportedScanTypes),this.currentScanType=this.scanTypeSelector.getDefaultScanType(),this.sectionSwapAllowed=!0,this.logger=new WO(this.verbose),this.persistedDataManager=new ume,!0!==e.rememberLastUsedCamera&&this.persistedDataManager.reset()}i.prototype.render=function(t,e){var n=this;this.lastMatchFound=null,this.qrCodeSuccessCallback=function(a,o){if(t)t(a,o);else{if(n.lastMatchFound===a)return;n.lastMatchFound=a,n.setHeaderMessage(Sr.lastMatch(a),ks.STATUS_SUCCESS)}},this.qrCodeErrorCallback=function(a,o){e&&e(a,o)};var r=document.getElementById(this.elementId);if(!r)throw"HTML Element with id="+this.elementId+" not found";r.innerHTML="",this.createBasicLayout(r),this.html5Qrcode=new Tv(this.getScanRegionId(),function Fme(i,t){return{formatsToSupport:i.formatsToSupport,useBarCodeDetectorIfSupported:i.useBarCodeDetectorIfSupported,experimentalFeatures:i.experimentalFeatures,verbose:t}}(this.config,this.verbose))},i.prototype.pause=function(t){(Uc(t)||!0!==t)&&(t=!1),this.getHtml5QrcodeOrFail().pause(t)},i.prototype.resume=function(){this.getHtml5QrcodeOrFail().resume()},i.prototype.getState=function(){return this.getHtml5QrcodeOrFail().getState()},i.prototype.clear=function(){var t=this,e=function(){var n=document.getElementById(t.elementId);n&&(n.innerHTML="",t.resetBasicLayout(n))};return this.html5Qrcode?new Promise(function(n,r){t.html5Qrcode?t.html5Qrcode.isScanning?t.html5Qrcode.stop().then(function(a){t.html5Qrcode?(t.html5Qrcode.clear(),e(),n()):n()}).catch(function(a){t.verbose&&t.logger.logError("Unable to stop qrcode scanner",a),r(a)}):(t.html5Qrcode.clear(),e(),n()):n()}):Promise.resolve()},i.prototype.getRunningTrackCapabilities=function(){return this.getHtml5QrcodeOrFail().getRunningTrackCapabilities()},i.prototype.getRunningTrackSettings=function(){return this.getHtml5QrcodeOrFail().getRunningTrackSettings()},i.prototype.applyVideoConstraints=function(t){return this.getHtml5QrcodeOrFail().applyVideoConstraints(t)},i.prototype.getHtml5QrcodeOrFail=function(){if(!this.html5Qrcode)throw"Code scanner not initialized.";return this.html5Qrcode},i.prototype.createConfig=function(t){return t?(t.fps||(t.fps=rc.SCAN_DEFAULT_FPS),t.rememberLastUsedCamera!==!rc.DEFAULT_REMEMBER_LAST_CAMERA_USED&&(t.rememberLastUsedCamera=rc.DEFAULT_REMEMBER_LAST_CAMERA_USED),t.supportedScanTypes||(t.supportedScanTypes=rc.DEFAULT_SUPPORTED_SCAN_TYPE),t):{fps:rc.SCAN_DEFAULT_FPS,rememberLastUsedCamera:rc.DEFAULT_REMEMBER_LAST_CAMERA_USED,supportedScanTypes:rc.DEFAULT_SUPPORTED_SCAN_TYPE}},i.prototype.createBasicLayout=function(t){t.style.position="relative",t.style.padding="0px",t.style.border="1px solid silver",this.createHeader(t);var e=document.createElement("div"),n=this.getScanRegionId();e.id=n,e.style.width="100%",e.style.minHeight="100px",e.style.textAlign="center",t.appendChild(e),qu.isCameraScanType(this.currentScanType)?this.insertCameraScanImageToScanRegion():this.insertFileScanImageToScanRegion();var r=document.createElement("div"),a=this.getDashboardId();r.id=a,r.style.width="100%",t.appendChild(r),this.setupInitialDashboard(r)},i.prototype.resetBasicLayout=function(t){t.style.border="none"},i.prototype.setupInitialDashboard=function(t){this.createSection(t),this.createSectionControlPanel(),this.scanTypeSelector.hasMoreThanOneScanType()&&this.createSectionSwap()},i.prototype.createHeader=function(t){var e=document.createElement("div");e.style.textAlign="left",e.style.margin="0px",t.appendChild(e),(new fme).renderInto(e);var r=document.createElement("div");r.id=this.getHeaderMessageContainerId(),r.style.display="none",r.style.textAlign="center",r.style.fontSize="14px",r.style.padding="2px 10px",r.style.margin="4px",r.style.borderTop="1px solid #f6f6f6",e.appendChild(r)},i.prototype.createSection=function(t){var e=document.createElement("div");e.id=this.getDashboardSectionId(),e.style.width="100%",e.style.padding="10px 0px 10px 0px",e.style.textAlign="left",t.appendChild(e)},i.prototype.createCameraListUi=function(t,e,n){var r=this;r.showHideScanTypeSwapLink(!1),r.setHeaderMessage(Sr.cameraPermissionRequesting());var a=function(){n||r.createPermissionButton(t,e)};Tv.getCameras().then(function(o){r.persistedDataManager.setHasPermission(!0),r.showHideScanTypeSwapLink(!0),r.resetHeaderMessage(),o&&o.length>0?(t.removeChild(e),r.renderCameraSelection(o)):(r.setHeaderMessage(Sr.noCameraFound(),ks.STATUS_WARNING),a())}).catch(function(o){r.persistedDataManager.setHasPermission(!1),n?n.disabled=!1:a(),r.setHeaderMessage(o,ks.STATUS_WARNING),r.showHideScanTypeSwapLink(!0)})},i.prototype.createPermissionButton=function(t,e){var n=this,r=zd.createElement("button",this.getCameraPermissionButtonId());r.innerText=Sr.cameraPermissionTitle(),r.addEventListener("click",function(){r.disabled=!0,n.createCameraListUi(t,e,r)}),e.appendChild(r)},i.prototype.createPermissionsUi=function(t,e){var n=this;qu.isCameraScanType(this.currentScanType)&&this.persistedDataManager.hasCameraPermissions()?nR.hasPermissions().then(function(r){r?n.createCameraListUi(t,e):(n.persistedDataManager.setHasPermission(!1),n.createPermissionButton(t,e))}).catch(function(r){n.persistedDataManager.setHasPermission(!1),n.createPermissionButton(t,e)}):this.createPermissionButton(t,e)},i.prototype.createSectionControlPanel=function(){var e=document.getElementById(this.getDashboardSectionId()),n=document.createElement("div");e.appendChild(n);var r=document.createElement("div");r.id=this.getDashboardSectionCameraScanRegionId(),r.style.display=qu.isCameraScanType(this.currentScanType)?"block":"none",n.appendChild(r);var a=document.createElement("div");a.style.textAlign="center",r.appendChild(a),this.scanTypeSelector.isCameraScanRequired()&&this.createPermissionsUi(r,a),this.renderFileScanUi(n)},i.prototype.renderFileScanUi=function(t){var e=qu.isFileScanType(this.currentScanType),n=this;this.fileSelectionUi=bme.create(t,e,function(a){if(!n.html5Qrcode)throw"html5Qrcode not defined";qu.isFileScanType(n.currentScanType)&&(n.setHeaderMessage(Sr.loadingImage()),n.html5Qrcode.scanFileV2(a,!0).then(function(o){n.resetHeaderMessage(),n.qrCodeSuccessCallback(o.decodedText,o)}).catch(function(o){n.setHeaderMessage(o,ks.STATUS_WARNING),n.qrCodeErrorCallback(o,UO.createFrom(o))}))})},i.prototype.renderCameraSelection=function(t){var e=this,n=this,r=document.getElementById(this.getDashboardSectionCameraScanRegionId());r.style.textAlign="center";var a=vme.create(r,!1),c=yme.create(r,t),h=document.createElement("span"),f=zd.createElement("button",$s.CAMERA_START_BUTTON_ID);f.innerText=Sr.scanButtonStartScanningText(),h.appendChild(f);var R,F=zd.createElement("button",$s.CAMERA_STOP_BUTTON_ID);F.innerText=Sr.scanButtonStopScanningText(),F.style.display="none",F.disabled=!0,h.appendChild(F),r.appendChild(h);var te=function(we){we||(f.style.display="none"),f.innerText=Sr.scanButtonStartScanningText(),f.style.opacity="1",f.disabled=!1,we&&(f.style.display="inline-block")};if(f.addEventListener("click",function(we){f.innerText=Sr.scanButtonScanningStarting(),c.disable(),f.disabled=!0,f.style.opacity="0.5",e.scanTypeSelector.hasMoreThanOneScanType()&&n.showHideScanTypeSwapLink(!1),n.resetHeaderMessage();var Ae=c.getValue();n.persistedDataManager.setLastUsedCameraId(Ae),n.html5Qrcode.start(Ae,function wme(i){return{fps:i.fps,qrbox:i.qrbox,aspectRatio:i.aspectRatio,disableFlip:i.disableFlip,videoConstraints:i.videoConstraints}}(n.config),n.qrCodeSuccessCallback,n.qrCodeErrorCallback).then(function(Ne){F.disabled=!1,F.style.display="inline-block",te(!1);var et=n.html5Qrcode.getRunningTrackCameraCapabilities();!0===e.config.showTorchButtonIfSupported&&function(we){we.torchFeature().isSupported()?(R?R.updateTorchCapability(we.torchFeature()):R=_me.create(h,we.torchFeature(),{display:"none",marginLeft:"5px"},function(Ae){n.setHeaderMessage(Ae,ks.STATUS_WARNING)}),R.show()):R&&R.hide()}(et),!0===e.config.showZoomSliderIfSupported&&function(we){var Ae=we.zoomFeature();if(Ae.isSupported()){a.setOnCameraZoomValueChangeCallback(function(et){Ae.apply(et)});var Ne=1;e.config.defaultZoomValueIfSupported&&(Ne=e.config.defaultZoomValueIfSupported),Ne=function zhe(i,t,e){return i>e?e:i",e.appendChild(t.cameraScanImage)},this.cameraScanImage.width=64,this.cameraScanImage.style.opacity="0.8",this.cameraScanImage.src=lme,this.cameraScanImage.alt=Sr.cameraScanAltText()},i.prototype.insertFileScanImageToScanRegion=function(){var t=this,e=document.getElementById(this.getScanRegionId());if(this.fileScanImage)return e.innerHTML="
",void e.appendChild(this.fileScanImage);this.fileScanImage=new Image,this.fileScanImage.onload=function(n){e.innerHTML="
",e.appendChild(t.fileScanImage)},this.fileScanImage.width=64,this.fileScanImage.style.opacity="0.8",this.fileScanImage.src=cme,this.fileScanImage.alt=Sr.fileScanAltText()},i.prototype.clearScanRegion=function(){document.getElementById(this.getScanRegionId()).innerHTML=""},i.prototype.getDashboardSectionId=function(){return this.elementId+"__dashboard_section"},i.prototype.getDashboardSectionCameraScanRegionId=function(){return this.elementId+"__dashboard_section_csr"},i.prototype.getDashboardSectionSwapLinkId=function(){return $s.SCAN_TYPE_CHANGE_ANCHOR_ID},i.prototype.getScanRegionId=function(){return this.elementId+"__scan_region"},i.prototype.getDashboardId=function(){return this.elementId+"__dashboard"},i.prototype.getHeaderMessageContainerId=function(){return this.elementId+"__header_message"},i.prototype.getCameraPermissionButtonId=function(){return $s.CAMERA_PERMISSION_BUTTON_ID},i.prototype.getCameraScanRegion=function(){return document.getElementById(this.getDashboardSectionCameraScanRegionId())},i.prototype.getDashboardSectionSwapLink=function(){return document.getElementById(this.getDashboardSectionSwapLinkId())},i.prototype.getHeaderMessageDiv=function(){return document.getElementById(this.getHeaderMessageContainerId())}}();class v0{constructor(t,e,n){this.options=t,this.dialogRef=e,this.data=n,this.cameras=[],this.cameraIndex=-1,this.dialogRef.afterClosed().subscribe(()=>{this.html5QrCode&&this.html5QrCode.stop()})}ngOnInit(){var t=this;return Se(function*(){t.config={fps:10,formatsToSupport:[ai.QR_CODE]},t.html5QrCode=new Tv("reader",t.config),yield t.requestCameras(),t.cameras.length>0&&(t.cameraIndex=t.options.values.cameraId?t.cameras.findIndex(e=>e.id==t.options.values.cameraId):t.cameras.length-1,yield t.startCamera(t.cameras[t.cameraIndex].id))})()}toggleFlash(){}openFile(){}requestCameras(){var t=this;return Se(function*(){try{t.cameras=yield Tv.getCameras()}catch{t.error="Unable To Get Cameras"}})()}startCamera(t){var e=this;return Se(function*(){try{try{yield e.html5QrCode.stop()}catch(n){console.error("Failed to stop:",n)}yield e.html5QrCode.start(t,e.config,(n,r)=>{e.onScanSuccess(n,r)},n=>{}),e.options.values.cameraId=t,e.options.save()}catch(n){e.onScanFailure(n)}})()}changeCamera(){var t=this;return Se(function*(){(!t.cameras||0==t.cameras.length)&&(yield t.requestCameras()),t.cameras&&0!=t.cameras.length&&(t.cameraIndex+=1,t.cameraIndex>=t.cameras.length&&(t.cameraIndex=0),t.startCamera(t.cameras[t.cameraIndex].id))})()}onScanSuccess(t,e){console.log(`Code matched = ${t}`,e),this.data.address=t,this.dialogRef.close(this.data.address)}onScanFailure(t){console.warn(`Code scan error = ${t}`),this.error=t}onNoClick(){this.dialogRef.close()}}function kme(i,t){if(1&i){const e=tt();y(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),B(3,"Private Key Import"),k(),y(4,"p"),B(5,"If you already have an existing private for your Nostr account, you can import it here and protect it with a password."),k(),y(6,"p"),B(7,"First choose if your backup is a secret recovery phrase or a private key."),k(),De(8,"br"),y(9,"button",12),pe("click",function(){return Te(e),Ie(X().step=2)}),B(10,"Secret Recovery Phrase"),k(),De(11,"br")(12,"br"),y(13,"button",12),pe("click",function(){return Te(e),Ie(X().step=3)}),B(14,"Private Key"),k(),De(15,"br")(16,"br"),y(17,"button",12),pe("click",function(){return Te(e),Ie(X().scanQrCode())}),y(18,"mat-icon"),B(19,"qr_code_scanner"),k(),B(20," Scan QR Code"),k()()()}}function Cme(i,t){if(1&i){const e=tt();y(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),B(3,"Secret Recovery Phrase Import"),k(),De(4,"br"),y(5,"mat-form-field",13)(6,"mat-label"),B(7,"Secret Recovery Phrase"),k(),y(8,"textarea",14),pe("ngModelChange",function(r){return Te(e),Ie(X().mnemonic=r)}),k()(),De(9,"br"),y(10,"button",15),pe("click",function(){Te(e);const r=X();return r.setPrivateKey(),Ie(r.step=3)}),B(11,"Continue"),k(),De(12,"br")(13,"br"),k()()}if(2&i){const e=X();A(8),N("ngModel",e.mnemonic),A(2),N("disabled",!e.mnemonic)}}function Dme(i,t){1&i&&(y(0,"h1"),B(1,"Protect Private Key with password"),k())}function Mme(i,t){1&i&&(y(0,"h1"),B(1,"Private Key Import"),k())}function Eme(i,t){1&i&&(y(0,"p"),B(1,"If you already have an existing private for your Nostr account, you can import it here and protect it with a password."),k())}function Sme(i,t){if(1&i&&(y(0,"p",25),B(1,"Your personal private key:"),De(2,"br"),B(3),k()),2&i){const e=X(2);A(3),Ct(e.privateKey)}}function Ame(i,t){if(1&i){const e=tt();y(0,"div")(1,"mat-form-field",18)(2,"mat-icon",19),B(3,"person_add"),k(),y(4,"mat-label"),B(5,"Private Key"),k(),y(6,"input",26),pe("keyup",function(){return Te(e),Ie(X(2).updatePublicKey())})("ngModelChange",function(r){return Te(e),Ie(X(2).privateKey=r)}),k()()()}if(2&i){const e=X(2);A(6),N("ngModel",e.privateKey)}}function Tme(i,t){if(1&i&&(y(0,"p",27)(1,"strong"),B(2,"Public Key (hex)"),k(),B(3),k()),2&i){const e=X(2);A(3),ri(": ",e.publicKeyHex,"")}}function Ime(i,t){if(1&i&&(y(0,"p",28),B(1),k()),2&i){const e=X(2);A(1),ri("Error: ",e.error,"")}}function Nme(i,t){if(1&i){const e=tt();y(0,"mat-card",11)(1,"mat-card-content"),oe(2,Dme,2,0,"h1",16),oe(3,Mme,2,0,"h1",16),oe(4,Eme,2,0,"p",16),y(5,"p"),B(6,"Having a strong password (we allow empty) is adviced, as this will be used to protect your private key using encryption when you are not using Blockcore Notes."),k(),De(7,"br"),oe(8,Sme,4,1,"p",17),oe(9,Ame,7,1,"div",16),y(10,"form")(11,"mat-form-field",18)(12,"mat-icon",19),B(13,"person_add"),k(),y(14,"mat-label"),B(15,"Public Key"),k(),y(16,"input",20),pe("ngModelChange",function(r){return Te(e),Ie(X().publicKey=r)}),k()(),y(17,"mat-form-field",18)(18,"mat-icon",19),B(19,"password"),k(),y(20,"mat-label"),B(21,"Password (optional)"),k(),y(22,"input",21),pe("ngModelChange",function(r){return Te(e),Ie(X().password=r)}),k()(),De(23,"br"),y(24,"button",15),pe("click",function(){return Te(e),Ie(X().persistKey())}),B(25,"Connect"),k(),De(26,"br")(27,"br"),k(),oe(28,Tme,4,1,"p",22),oe(29,Ime,2,1,"p",23),y(30,"p",24),B(31,"Remember that Blockcore cannot change or reset your password. Make sure you have a separate backup of your "),y(32,"strong"),B(33,"private key"),k(),B(34," in case you loose your password."),k(),y(35,"p",24),B(36,"You will be asked to enter password (if supplied) when Notes need to sign events on your behalf."),k()()()}if(2&i){const e=X();A(2),N("ngIf",e.mnemonic),A(1),N("ngIf",!e.mnemonic),A(1),N("ngIf",!e.mnemonic),A(4),N("ngIf",e.mnemonic),A(1),N("ngIf",!e.mnemonic),A(7),N("readonly",!0)("ngModel",e.publicKey),A(6),N("ngModel",e.password),A(2),N("disabled",!e.publicKey),A(4),N("ngIf",!e.error),A(1),N("ngIf",e.error)}}v0.\u0275fac=function(t){return new(t||v0)(D(Er),D(Hs),D(Ac))},v0.\u0275cmp=$e({type:v0,selectors:[["qr-scan-dialog"]],decls:9,vars:1,consts:[["id","reader",1,"qr-scan"],["mat-icon-button","","matTooltip","Change Camera",1,"camera-button",3,"click"],["mat-icon-button","","matTooltip","Close",1,"camera-close-button",3,"click"],["class","camera-error",4,"ngIf"],[1,"camera-error"]],template:function(t,e){1&t&&(y(0,"div"),De(1,"div",0),y(2,"button",1),pe("click",function(){return e.changeCamera()}),y(3,"mat-icon"),B(4,"cameraswitch"),k()(),y(5,"button",2),pe("click",function(){return e.onNoClick()}),y(6,"mat-icon"),B(7,"close"),k()(),oe(8,xme,2,1,"div",3),k()),2&t&&(A(8),N("ngIf",e.error))},dependencies:[mi,Do,pr,Fl],styles:[".qr-scan[_ngcontent-%COMP%]{position:absolute!important;inset:0;width:100%;height:100%}.camera-button[_ngcontent-%COMP%]{margin:2em;left:2em;position:absolute}[dir=rtl][_ngcontent-%COMP%] .camera-button[_ngcontent-%COMP%]{margin:2em;right:2em;position:absolute;left:auto}.camera-close-button[_ngcontent-%COMP%]{margin:2em;position:absolute;right:2em;top:2em}[dir=rtl][_ngcontent-%COMP%] .camera-close-button[_ngcontent-%COMP%]{margin:2em;position:absolute;left:2em;right:auto;top:2em}.camera-label[_ngcontent-%COMP%]{font-size:2em;color:#01010180;margin-left:auto;margin-right:auto}.camera-error[_ngcontent-%COMP%]{color:#a83222}"]});class w0{constructor(t,e,n,r){this.dialog=t,this.theme=e,this.router=n,this.security=r,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.step=1,this.mnemonic=""}setPrivateKey(){this.privateKeyHex=ky.privateKeyFromSeedWords(this.mnemonic),this.privateKey=za.nsecEncode(this.privateKeyHex),this.updatePublicKey()}ngOnDestroy(){this.reset()}reset(){this.privateKey="",this.privateKeyHex="",this.mnemonic="",this.password=""}persistKey(){var t=this;return Se(function*(){setTimeout(Se(function*(){if(!t.privateKeyHex||!t.publicKeyHex)return;const e=yield t.security.encryptData(t.privateKeyHex,t.password),n=yield t.security.decryptData(e,t.password);t.privateKeyHex==n?(localStorage.setItem("blockcore:notes:nostr:prvkey",e),localStorage.setItem("blockcore:notes:nostr:pubkey",t.publicKeyHex),t.reset(),t.router.navigateByUrl("/")):(t.error="Unable to encrypt and decrypt. Cannot continue.",console.error(t.error))}),10)})()}updatePublicKey(){if(this.error="",this.publicKey="",this.privateKeyHex="",this.privateKey)if(this.privateKey.startsWith("npub"))this.error='The key value must be a "nsec" value. You entered "npub", which is your public key.';else{this.privateKeyHex=this.privateKey.startsWith("nsec")?za.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=Uf(this.privateKeyHex),this.publicKey=za.npubEncode(this.publicKeyHex)}catch(t){this.error=t.message}}else this.publicKey=""}scanQrCode(){this.dialog.open(v0,{maxWidth:"100vw",maxHeight:"100vh",height:"100%",width:"100%",panelClass:"full-screen-modal",data:{}}).afterClosed().subscribe(e=>{this.step=3;try{if(e.startsWith("nostr:")&&(e=e.replace("nostr:","")),e.startsWith("nsec")){const n=za.decode(e);this.privateKeyHex=n.data,this.privateKey=e}else this.privateKeyHex=e,this.privateKey=za.nsecEncode(e);this.updatePublicKey()}catch(n){this.error="Failed to scan."+n.toString()}})}}w0.\u0275fac=function(t){return new(t||w0)(D(ja),D(yl),D(rr),D(Bc))},w0.\u0275cmp=$e({type:w0,selectors:[["app-key"]],decls:16,vars:4,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["routerLink","/connect"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"connect-content"],["class","card",4,"ngIf"],[1,"card"],["mat-flat-button","","color","accent",1,"start-button","full-button",3,"click"],["appearance","outline",1,"input-full-width"],["matInput","","type","text","rows","2",1,"note-input",3,"ngModel","ngModelChange"],["mat-raised-button","",1,"start-button",3,"disabled","click"],[4,"ngIf"],["class","wrap",4,"ngIf"],["appearance","fill",1,"input-full-width","connect-input"],["matPrefix","",1,"circle"],["autocomplete","username","name","email","placeholder","npub...","matInput","","type","email",3,"readonly","ngModel","ngModelChange"],["matInput","","type","password","autocomplete","current-password","name","password",3,"ngModel","ngModelChange"],["class","public-key dimmed",4,"ngIf"],["class","error",4,"ngIf"],[1,"dimmed"],[1,"wrap"],["placeholder","nsec...","matInput","","type","password",3,"ngModel","keyup","ngModelChange"],[1,"public-key","dimmed"],[1,"error"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"div",1)(2,"a",2),De(3,"img",3),k(),y(4,"div",4)(5,"span",5),B(6,"Blockcore"),k(),B(7," Notes"),k(),De(8,"div",6),y(9,"button",7),pe("click",function(){return e.theme.darkMode=!e.theme.darkMode}),y(10,"mat-icon",8),B(11),k()()(),y(12,"div",9),oe(13,kme,21,0,"mat-card",10),oe(14,Cme,14,2,"mat-card",10),oe(15,Nme,37,11,"mat-card",10),k()()),2&t&&(A(11),Ct(e.theme.darkMode?"dark_mode":"light_mode"),A(2),N("ngIf",1==e.step),A(1),N("ngIf",2==e.step),A(1),N("ngIf",3==e.step))},dependencies:[mi,Ya,rs,Eo,Wo,Pc,Cr,Do,Sa,ec,pr,qf,uo,Wa,Wf,Ga,Rc],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}",".public-key[_ngcontent-%COMP%]{margin-bottom:1em;word-wrap:break-word}.error[_ngcontent-%COMP%]{margin-bottom:1em;color:red}"]});const Lme=["button"],Ome=["*"],sR=new Ke("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),lR=new Ke("MatButtonToggleGroup"),Rme={provide:ba,useExisting:ci(()=>uR),multi:!0};let cR=0;class dR{constructor(t,e){this.source=t,this.value=e}}let uR=(()=>{class i{get name(){return this._name}set name(e){this._name=e,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(e){this._vertical=xt(e)}get value(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(n=>n.value):e[0]?e[0].value:void 0}set value(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}get selected(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=xt(e),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(e){this._disabled=xt(e),this._markButtonsForCheck()}constructor(e,n){this._changeDetector=e,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+cR++,this.valueChange=new ht,this.change=new ht,this.appearance=n&&n.appearance?n.appearance:"standard"}ngOnInit(){this._selectionModel=new sv(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked))}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_emitChangeEvent(e){const n=new dR(e,this.value);this._controlValueAccessorChangeFn(n.value),this.change.emit(n)}_syncButtonToggle(e,n,r=!1,a=!1){!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?n?this._selectionModel.select(e):this._selectionModel.deselect(e):a=!0,a?Promise.resolve().then(()=>this._updateModelValue(e,r)):this._updateModelValue(e,r)}_isSelected(e){return this._selectionModel&&this._selectionModel.isSelected(e)}_isPrechecked(e){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(n=>null!=e.value&&n===e.value):e.value===this._rawValue)}_setSelectionByValue(e){this._rawValue=e,this._buttonToggles&&(this.multiple&&e?(Array.isArray(e),this._clearSelection(),e.forEach(n=>this._selectValue(n))):(this._clearSelection(),this._selectValue(e)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(e=>e.checked=!1)}_selectValue(e){const n=this._buttonToggles.find(r=>null!=r.value&&r.value===e);n&&(n.checked=!0,this._selectionModel.select(n))}_updateModelValue(e,n){n&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(e=>e._markForCheck())}}return i.\u0275fac=function(e){return new(e||i)(D(li),D(sR,8))},i.\u0275dir=Oe({type:i,selectors:[["mat-button-toggle-group"]],contentQueries:function(e,n,r){if(1&e&&di(r,hR,5),2&e){let a;Qe(a=Ze())&&(n._buttonToggles=a)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(e,n){2&e&&(Nt("aria-disabled",n.disabled),Mt("mat-button-toggle-vertical",n.vertical)("mat-button-toggle-group-appearance-standard","standard"===n.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[Ot([Rme,{provide:lR,useExisting:i}])]}),i})();const Pme=_l(class{});let hR=(()=>{class i extends Pme{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){const n=xt(e);n!==this._checked&&(this._checked=n,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=xt(e)}constructor(e,n,r,a,o,c){super(),this._changeDetectorRef=n,this._elementRef=r,this._focusMonitor=a,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new ht;const h=Number(o);this.tabIndex=h||0===h?h:null,this.buttonToggleGroup=e,this.appearance=c&&c.appearance?c.appearance:"standard"}ngOnInit(){const e=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+cR++,e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){const e=!!this._isSingleSelector()||!this._checked;e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new dR(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return i.\u0275fac=function(e){return new(e||i)(D(lR,8),D(li),D(_t),D(Ha),bo("tabindex"),D(sR,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-button-toggle"]],viewQuery:function(e,n){if(1&e&&Tt(Lme,5),2&e){let r;Qe(r=Ze())&&(n._buttonElement=r.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(e,n){1&e&&pe("focus",function(){return n.focus()}),2&e&&(Nt("aria-label",null)("aria-labelledby",null)("id",n.id)("name",null),Mt("mat-button-toggle-standalone",!n.buttonToggleGroup)("mat-button-toggle-checked",n.checked)("mat-button-toggle-disabled",n.disabled)("mat-button-toggle-appearance-standard","standard"===n.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[ot],ngContentSelectors:Ome,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,n){if(1&e&&(Hi(),y(0,"button",0,1),pe("click",function(){return n._onButtonClick()}),y(2,"span",2),wt(3),k()(),De(4,"span",3)(5,"span",4)),2&e){const r=en(1);N("id",n.buttonId)("disabled",n.disabled||null),Nt("tabindex",n.disabled?-1:n.tabIndex)("aria-pressed",n.checked)("name",n._getButtonName())("aria-label",n.ariaLabel)("aria-labelledby",n.ariaLabelledby),A(5),N("matRippleTrigger",r)("matRippleDisabled",n.disableRipple||n.disabled)}},dependencies:[la],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),i})(),Bme=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt,Rs,Kt]}),i})();class F0{onInput(){const t=this.element.nativeElement;if(t instanceof HTMLDivElement)return void console.warn("Unsupported HTML element type (HTMLDivElement) for content editor.");if(!(t instanceof HTMLTextAreaElement))return void console.warn("Unsupported HTML element type for content editor.");const e=this.element.nativeElement,n=e.selectionStart,r=e.selectionEnd,a=e.value;let o;o=a.length==r?a.at(-1):a.substring(n-1,r)}constructor(t){this.element=t}}F0.\u0275fac=function(t){return new(t||F0)(D(_t))},F0.\u0275dir=Oe({type:F0,selectors:[["","appContentEditor",""]],hostBindings:function(t,e){1&t&&pe("input",function(){return e.onInput()})}});class x0{onInput(){if(this.element.nativeElement instanceof HTMLTextAreaElement){const e=this.element.nativeElement;e.scrollHeight>e.clientHeight&&(e.style.height=`${e.scrollHeight}px`)}}constructor(t){this.element=t}}x0.\u0275fac=function(t){return new(t||x0)(D(_t))},x0.\u0275dir=Oe({type:x0,selectors:[["","appAutoInputHeight",""]],hostBindings:function(t,e){1&t&&pe("input",function(){return e.onInput()})}});const Hme=["picker"],Vme=["noteContent"],Yme=["articleContent"];function jme(i,t){if(1&i&&(y(0,"mat-option",11),B(1),k()),2&i){const e=t.$implicit;N("value",e.slug),A(1),Ct(e.title)}}function zme(i,t){if(1&i){const e=tt();y(0,"mat-form-field",8)(1,"mat-label"),B(2,"Existing articles"),k(),y(3,"mat-select",9),pe("valueChange",function(r){return Te(e),Ie(X().selectedArticle=r)})("selectionChange",function(){return Te(e),Ie(X().changedArticle())}),De(4,"mat-option"),oe(5,jme,2,2,"mat-option",10),k()()}if(2&i){const e=X();A(3),N("value",e.selectedArticle),A(2),N("ngForOf",e.articleService.articles)}}function Ume(i,t){if(1&i){const e=tt();y(0,"emoji-mart",29),pe("emojiSelect",function(r){return Te(e),Ie(X(2).addEmojiArticle(r))}),k()}2&i&&N("isNative",!0)("showPreview",!1)}function Wme(i,t){if(1&i){const e=tt();y(0,"form",12),pe("ngSubmit",function(){return Te(e),Ie(X().onSubmitArticle())}),y(1,"div",13)(2,"mat-form-field",14)(3,"mat-label"),B(4,"Title"),k(),De(5,"input",15,16),k(),y(7,"mat-form-field",14)(8,"mat-label"),B(9,"URL (slug)"),k(),y(10,"input",17,16),pe("blur",function(){return Te(e),Ie(X().formatSlug())}),k()(),y(12,"mat-form-field",14)(13,"mat-label"),B(14,"Long form text that supports markdown formatting"),k(),y(15,"textarea",18,19),pe("ngModelChange",function(r){return Te(e),Ie(X().note=r)}),k()(),y(17,"mat-form-field",14)(18,"mat-label"),B(19,"Summary (optional)"),k(),y(20,"textarea",20),pe("ngModelChange",function(r){return Te(e),Ie(X().summary=r)}),k()(),y(21,"mat-form-field",14)(22,"mat-label"),B(23,"Banner image (optional)"),k(),De(24,"input",21,16),k(),y(26,"mat-form-field",14)(27,"mat-label"),B(28,"Tags (optional, comma separated)"),k(),De(29,"input",22,16),k(),De(31,"input",23),oe(32,Ume,1,2,"emoji-mart",24),y(33,"mat-icon",25),pe("click",function(){Te(e);const r=X();return Ie(r.isEmojiPickerVisible=!r.isEmojiPickerVisible)}),B(34,"sentiment_satisfied"),k()(),y(35,"div",26)(36,"button",27),pe("click",function(){return Te(e),Ie(X().onCancel())}),B(37,"Cancel"),k(),B(38,"\xa0 "),y(39,"button",28),B(40,"Publish Article"),k()()()}if(2&i){const e=X();N("formGroup",e.articleForm),A(15),N("ngModel",e.note),A(5),N("ngModel",e.summary),A(12),N("ngIf",e.isEmojiPickerVisible),A(7),N("disabled",!e.articleForm.valid)}}function Gme(i,t){if(1&i){const e=tt();y(0,"emoji-mart",29),pe("emojiSelect",function(r){return Te(e),Ie(X(2).addEmojiNote(r))}),k()}2&i&&N("isNative",!0)("showPreview",!1)}function qme(i,t){if(1&i){const e=tt();y(0,"form",12),pe("ngSubmit",function(){return Te(e),Ie(X().onSubmitNote())}),y(1,"div",13)(2,"mat-form-field",14)(3,"mat-label"),B(4,"What's on your mind?"),k(),De(5,"textarea",30,31),k(),oe(7,Gme,1,2,"emoji-mart",24),y(8,"mat-icon",25),pe("click",function(){Te(e);const r=X();return Ie(r.isEmojiPickerVisible=!r.isEmojiPickerVisible)}),B(9,"sentiment_satisfied"),k()(),y(10,"div",26)(11,"button",27),pe("click",function(){return Te(e),Ie(X().onCancel())}),B(12,"Cancel"),k(),B(13,"\xa0 "),y(14,"button",28),B(15,"Publish Note"),k()()()}if(2&i){const e=X();N("formGroup",e.noteForm),A(7),N("ngIf",e.isEmojiPickerVisible),A(7),N("disabled",!e.noteForm.valid)}}class k0{constructor(t,e,n,r,a,o,c,h,f){this.snackBar=t,this.articleService=e,this.queueService=n,this.utilities=r,this.appState=a,this.location=o,this.fb=c,this.navigation=h,this.profileService=f,this.noteForm=this.fb.group({content:["",Ed.required],expiration:[""],dateControl:[]}),this.articleForm=this.fb.group({content:["",Ed.required],title:["",Ed.required],summary:[""],image:[""],slug:[""],tags:[""],published_at:[""]}),this.note="",this.blog={title:"",content:"",tags:""},this.title="",this.summary="",this.eventType="text",this.dateControl=new $h(null),this.subscriptions=[],this.selectedArticle="",this.items=["Noah","Liam","Mason","Jacob"]}ngOnInit(){this.appState.updateTitle("Write a note"),this.appState.showBackButton=!0,this.appState.showLogo=!0,this.appState.actions=[],this.minDate=Date.now(),this.subscriptions.push(this.articleForm.controls.title.valueChanges.subscribe(t=>{t&&this.articleForm.controls.slug.setValue(this.createSlug(t))}))}changedArticle(){const t=this.articleService.get(this.selectedArticle);t?(null==t.summary&&(t.summary=""),null==t.image&&(t.image=""),null==t.title&&(t.title=""),this.articleForm.setValue({content:t.content,title:t.title,summary:t.summary,image:t.image,slug:t.slug?t.slug:"",tags:t.metatags?t.metatags.toString():"",published_at:t.published_at?t.published_at.toString():""})):this.articleForm.reset()}ngOnDestroy(){this.utilities.unsubscribe(this.subscriptions)}noteTypeChanged(){"article"==this.eventType&&this.queueService.enque(this.appState.getPublicKey(),"Article")}createSlug(t){return(t=(t=t.toLowerCase()).replace(/[\s\W]+/g,"-")).replace(/^-+|-+$/g,"")}addEmojiNote(t){let e=this.noteContent.nativeElement.selectionStart,n=this.noteForm.controls.content.value,r=n?.substring(0,e)+t.emoji.native+n?.substring(e,n.length);this.noteForm.controls.content.setValue(r),this.isEmojiPickerVisible=!1,this.noteContent.nativeElement.focus()}addEmojiArticle(t){let e=this.articleContent.nativeElement.selectionStart,n=this.articleForm.controls.content.value,r=n?.substring(0,e)+t.emoji.native+n?.substring(e,n.length);this.articleForm.controls.content.setValue(r),this.isEmojiPickerVisible=!1,this.articleContent.nativeElement.focus()}formatSlug(){this.articleForm.controls.slug.setValue(this.createSlug(this.articleForm.controls.slug.value))}onSubmitArticle(){var t=this;return Se(function*(){const e=t.articleForm.controls,n={content:e.content.value,title:e.title.value,summary:e.summary.value,image:e.image.value,slug:e.slug.value,tags:e.tags.value};e.published_at.value&&(n.published_at=Number(e.published_at.value)),yield t.navigation.saveArticle(n),t.snackBar.open("Article was published. Notes does not support viewing articles yet.","Hide",{duration:2e3,horizontalPosition:"center",verticalPosition:"bottom"})})()}onSubmitNote(){this.navigation.saveNote(this.noteForm.controls.content.value)}postNote(){this.navigation.saveNote(this.note)}onCancel(){this.note="",this.location.back()}}function $me(i,t){if(1&i){const e=tt();y(0,"mat-card",14)(1,"button",15),pe("click",function(){Te(e);const r=X().ngIf;return Ie(X().open(r.rootEventId))}),y(2,"mat-icon"),B(3,"keyboard_double_arrow_up"),k(),B(4,"View Thread"),k()()}}function Kme(i,t){if(1&i&&(y(0,"div",16),De(1,"app-event",13),k()),2&i){const e=t.ngIf;A(1),N("event",e)}}function Qme(i,t){if(1&i){const e=tt();y(0,"mat-card",14)(1,"button",15),pe("click",function(){Te(e);const r=X().ngIf;return Ie(X().open(r.parentEventId))}),y(2,"mat-icon"),B(3,"keyboard_arrow_up"),k(),B(4,"View Parent"),k()()}}k0.\u0275fac=function(t){return new(t||k0)(D(js),D(Wh),D(ws),D(Nn),D(ln),D(ud),D(fN),D(Ao),D(Vn))},k0.\u0275cmp=$e({type:k0,selectors:[["app-editor"]],viewQuery:function(t,e){if(1&t&&(Tt(Hme,5),Tt(Vme,5),Tt(Yme,5)),2&t){let n;Qe(n=Ze())&&(e.picker=n.first),Qe(n=Ze())&&(e.noteContent=n.first),Qe(n=Ze())&&(e.articleContent=n.first)}},decls:11,vars:4,consts:[[1,"page"],[1,"note-type"],["name","fontStyle","aria-label","Font Style",3,"ngModel","change","ngModelChange"],["group","matButtonToggleGroup"],["value","text"],["value","article"],["appearance","fill",4,"ngIf"],[3,"formGroup","ngSubmit",4,"ngIf"],["appearance","fill"],[3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[3,"formGroup","ngSubmit"],["mat-dialog-content","",1,"mat-dialog-content"],["appearance","outline",1,"input-full-width"],["matInput","","formControlName","title","placeholder","Ex. My favorite food..."],["message",""],["matInput","","placeholder","Can only contain - and lower case text","formControlName","slug",3,"blur"],["appAutoInputHeight","","matInput","","type","text","formControlName","content","rows","2",1,"note-input",3,"ngModel","ngModelChange"],["articleContent",""],["appAutoInputHeight","","matInput","","type","text","formControlName","summary","rows","2",1,"note-input",3,"ngModel","ngModelChange"],["matInput","","placeholder","Article banner image","formControlName","image"],["matInput","","placeholder","Tech, News, Social","formControlName","tags"],["type","hidden","formControlName","published_at"],["class","picker","emoji","point_up","title","Choose your emoji",3,"isNative","showPreview","emojiSelect",4,"ngIf"],["matTooltip","Insert emoji",1,"toolbar-icon","margin-right",3,"click"],["mat-dialog-actions","","align","end",1,"mat-dialog-actions"],["mat-stroked-button","","type","button",3,"click"],["mat-flat-button","","type","submit","color","primary",3,"disabled"],["emoji","point_up","title","Choose your emoji",1,"picker",3,"isNative","showPreview","emojiSelect"],["appContentEditor","","appAutoInputHeight","","matInput","","type","text","formControlName","content","rows","2",1,"note-input","noscrollbars"],["noteContent",""]],template:function(t,e){if(1&t&&(y(0,"div",0)(1,"div",1)(2,"mat-button-toggle-group",2,3),pe("change",function(){return e.noteTypeChanged()})("ngModelChange",function(r){return e.eventType=r}),y(4,"mat-button-toggle",4),B(5,"Note"),k(),y(6,"mat-button-toggle",5),B(7,"Article"),k()()(),oe(8,zme,6,2,"mat-form-field",6),oe(9,Wme,41,5,"form",7),oe(10,qme,16,3,"form",7),k()),2&t){const n=en(3);A(2),N("ngModel",e.eventType),A(6),N("ngIf","article"==n.value),A(1),N("ngIf","article"==n.value),A(1),N("ngIf","text"==n.value)}},dependencies:[Gn,mi,rs,Eo,Wo,Cr,_v,Ah,pr,Fl,wD,qf,uo,Wa,Wf,Ga,Kh,EC,gu,_u,uR,hR,F0,x0],styles:["h1[_ngcontent-%COMP%]{margin-top:0}.input-full-width[_ngcontent-%COMP%]{width:100%!important}.toolbar[_ngcontent-%COMP%]{display:flex;margin-bottom:5px;margin-top:3px}.toolbar-icon[_ngcontent-%COMP%]{cursor:pointer}.toolbar-icon[_ngcontent-%COMP%]:hover{color:#9c27b0}.margin-right[_ngcontent-%COMP%]{margin-right:5px}.picker[_ngcontent-%COMP%]{display:block;position:fixed;z-index:3}.note-type[_ngcontent-%COMP%]{text-align:right;margin-bottom:1em}@media only screen and (max-width: 599px){h1[_ngcontent-%COMP%]{font-size:1.8em}}.text-editor[_ngcontent-%COMP%]{border:1px lightgrey solid;min-height:88px;padding:1em}"]});const Zme=function(i,t,e,n){return{"is-root":i,"has-root":t,"no-lines":e,lines:n}},Xme=function(i,t){return{"no-lines":i,lines:t}};function Jme(i,t){if(1&i){const e=tt();y(0,"div",1)(1,"div",2)(2,"mat-accordion",3)(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),B(6,"Options"),k(),De(7,"mat-panel-description"),k(),y(8,"p")(9,"mat-slide-toggle",4),pe("change",function(){return Te(e),Ie(X().optionsService.save())})("ngModelChange",function(r){return Te(e),Ie(X().optionsService.values.showLines=r)}),B(10,"Show lines"),k()()()()(),oe(11,$me,5,0,"mat-card",5),oe(12,Kme,2,1,"div",6),zi(13,"async"),y(14,"div",7),oe(15,Qme,5,0,"mat-card",5),y(16,"div",8)(17,"app-event-header",9),De(18,"app-date",10)(19,"app-directory-icon",9),k(),De(20,"app-event-actions",11),k(),De(21,"app-content",12)(22,"app-event-reactions",13)(23,"app-event-buttons",13)(24,"app-event-thread",13),k()()}if(2&i){const e=t.ngIf,n=X();A(9),N("ngModel",n.optionsService.values.showLines),A(2),N("ngIf",e.rootEventId),A(1),N("ngIf",Ui(13,15,n.ui.parentEvent$)),A(2),N("ngClass",bF(17,Zme,!e.parentEventId,e.parentEventId,!n.optionsService.values.showLines,n.optionsService.values.showLines)),A(1),N("ngIf",e.parentEventId),A(2),N("pubkey",e.pubkey),A(1),N("date",e.created_at),A(1),N("pubkey",e.pubkey),A(1),N("event",e)("pubkey",e.pubkey),A(1),N("ngClass",cl(22,Xme,!n.optionsService.values.showLines,n.optionsService.values.showLines))("event",e),A(1),N("event",e),A(1),N("event",e),A(1),N("event",e)}}class gp{constructor(t,e,n,r,a,o,c,h,f,F,R){this.appState=t,this.activatedRoute=e,this.cd=n,this.optionsService=r,this.navigation=a,this.profiles=o,this.thread=c,this.validator=h,this.utilities=f,this.router=F,this.ui=R,this.initialLoad=!0}open(t){this.router.navigate(["/e",t])}likes(t){}dislikes(t){}replies(t){}filteredThread(){}repliesTo(t){if(!t)return;let e=t.tags.filter(n=>"p"===n[0]).map(n=>n[1]);return e=e.filter(n=>n!==t.pubkey),e}ngOnInit(){var t=this;console.log("CURRENT EVENT:",this.navigation.currentEvent),this.ui.setPubKey(void 0,!1),this.ui.clearViewPositions(),this.appState.updateTitle("Article"),this.appState.showBackButton=!0,this.activatedRoute.paramMap.subscribe(function(){var e=Se(function*(n){const r=n.get("id");if(r)if(r.startsWith("naddr")){const a=t.utilities.convertFromBech32ToHex(r);t.router.navigate(["/a",a])}else t.navigation.currentEvent?.id!=r&&t.ui.setEventId(r);else t.router.navigateByUrl("/")});return function(n){return e.apply(this,arguments)}}())}trackByFn(t,e){return e.id}ngOnDestroy(){this.sub&&this.sub.unsub(),this.ui.clear()}}gp.\u0275fac=function(t){return new(t||gp)(D(ln),D(Ps),D(li),D(Er),D(Ao),D(Vn),D(zc),D(Uo),D(Nn),D(rr),D(qr))},gp.\u0275cmp=$e({type:gp,selectors:[["app-article"]],decls:3,vars:3,consts:[["class","feed-page",4,"ngIf"],[1,"feed-page"],[1,"options-container"],[1,"options"],[1,"options-slider",3,"ngModel","change","ngModelChange"],["class","button-card",4,"ngIf"],["class","parent-event",4,"ngIf"],[1,"current-event","events2","noclick",3,"ngClass"],[1,"events-header"],[3,"pubkey"],[3,"date"],[3,"event","pubkey"],[1,"thread-content",3,"ngClass","event"],[3,"event"],[1,"button-card"],["mat-flat-button","",3,"click"],[1,"parent-event"]],template:function(t,e){1&t&&(oe(0,Jme,25,25,"div",0),zi(1,"async"),De(2,"mat-divider")),2&t&&N("ngIf",Ui(1,1,e.ui.event$))},dependencies:[Pa,mi,Cr,Sa,pr,K_,tc,Vc,Yc,Od,Ld,z_,Wa,Ga,xl,Fs,kl,Ws,cm,zu,Uu,Wu,cp,Os],styles:[".thread-event[_ngcontent-%COMP%]{margin-left:27px;padding-top:0;padding-left:1em}.thread-content[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;display:block}.events[_ngcontent-%COMP%]{padding:0!important}.thread-actions[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em;padding-bottom:.3em}.button-card[_ngcontent-%COMP%]{margin-bottom:.4em}.has-root[_ngcontent-%COMP%]{margin-left:27px;padding-left:1em}.is-root[_ngcontent-%COMP%]{margin-left:0;padding-left:0;border-left:2px solid transparent!important}.options-container[_ngcontent-%COMP%]{margin-bottom:1em}"]});class C0{constructor(t,e,n,r,a,o,c,h,f,F,R){this.uploadService=t,this.nostr=e,this.optionsService=n,this.relayService=r,this.dialog=a,this.appState=o,this.profileService=c,this.theme=h,this.db=f,this.snackBar=F,this.dataService=R,this.wiped=!1,this.wipedNonFollow=!1,this.wipedNotes=!1,this.open=!1}toggle(){this.open?(this.open=!1,this.accordion.closeAll()):(this.open=!0,this.accordion.openAll())}openMediaPlayer(){this.optionsService.values.showMediaPlayer=!0}primaryRelay(t){var e=this;return Se(function*(){e.optionsService.values.primaryRelay=t.url,e.optionsService.save()})()}deleteRelays(){var t=this;return Se(function*(){yield t.relayService.deleteRelays([])})()}clearProfileCache(){var t=this;return Se(function*(){t.wipedNonFollow=!0})()}clearNotesCache(){var t=this;return Se(function*(){t.wipedNotes=!0})()}getDefaultRelays(){var t=this;return Se(function*(){yield t.relayService.appendRelays(t.nostr.defaultRelays)})()}getRelays(){var t=this;return Se(function*(){const e=yield t.nostr.relays();yield t.relayService.appendRelays(e)})()}ngOnInit(){this.appState.updateTitle("Relays"),this.appState.showBackButton=!1,this.appState.actions=[{icon:"add_circle",tooltip:"Add Relay",click:()=>{this.addRelay()}}]}registerHandler(t,e){navigator.registerProtocolHandler(t,`/?${e}=%s`)}addRelay(){var t=this;this.dialog.open(lp,{data:{read:!0,write:!0},maxWidth:"100vw",panelClass:"full-width-dialog"}).afterClosed().subscribe(function(){var n=Se(function*(r){r&&(-1===r.url.indexOf("://")&&(r.url="wss://"+r.url),yield t.relayService.appendRelay(r.url,r.read,r.write))});return function(r){return n.apply(this,arguments)}}())}}C0.\u0275fac=function(t){return new(t||C0)(D(Dd),D(Jl),D(Er),D(as),D(ja),D(ln),D(Vn),D(yl),D(Ea),D(js),D(Ka))},C0.\u0275cmp=$e({type:C0,selectors:[["app-relays-management"]],viewQuery:function(t,e){if(1&t&&Tt(tc,5),2&t){let n;Qe(n=Ze())&&(e.accordion=n.first)}},decls:23,vars:1,consts:[[1,"feed-page"],[1,"options"],[1,"settings-action-buttons"],["mat-flat-button","","color","primary",3,"click"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","warn",3,"click"],[3,"relays"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"div",1)(2,"mat-accordion")(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),B(6,"Options"),k(),De(7,"mat-panel-description"),k(),y(8,"div",2)(9,"button",3),pe("click",function(){return e.getRelays()}),B(10,"Append from extension"),k(),y(11,"button",3),pe("click",function(){return e.getDefaultRelays()}),B(12,"Append from app"),k(),De(13,"br"),y(14,"button",4),pe("click",function(){return e.dataService.publishContactsAndRelays()}),B(15,"Publish relay (and following) list"),k(),y(16,"button",4),pe("click",function(){return e.dataService.publishRelays()}),B(17,"Publish relay (NIP-65) list"),k(),De(18,"br")(19,"br"),y(20,"button",5),pe("click",function(){return e.deleteRelays()}),B(21,"Delete all relays"),k()()()()(),De(22,"app-relays",6),k()),2&t&&(A(22),N("relays",e.relayService.items))},dependencies:[Cr,tc,Vc,Yc,Od,Ld,fp],styles:[".example-action-buttons[_ngcontent-%COMP%]{padding-bottom:20px}.example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.example-headers-align[_ngcontent-%COMP%] .mat-mdc-form-field[_ngcontent-%COMP%] + .mat-mdc-form-field[_ngcontent-%COMP%]{margin-left:8px}.online[_ngcontent-%COMP%]{margin-left:.2em;margin-bottom:-.2em}.relay-status-0[_ngcontent-%COMP%]{color:silver}.relay-status-1[_ngcontent-%COMP%]{color:green}.relay-status-2[_ngcontent-%COMP%]{color:orange}.relay-status-3[_ngcontent-%COMP%]{color:red}.relay-status-4[_ngcontent-%COMP%]{color:#3131d2}.relay-read-disabled[_ngcontent-%COMP%]{color:#3131d2!important}.relay-disabled[_ngcontent-%COMP%]{color:#ea8809!important}.primary-relay[_ngcontent-%COMP%]{color:#c603b5}.relay-options[_ngcontent-%COMP%]{margin-top:.4em;margin-bottom:.2em}.settings-action-buttons[_ngcontent-%COMP%]{padding-top:.8em;padding-bottom:1em}.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-bottom:1em;margin-right:1em}@media only screen and (max-width: 599px){.settings-action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;margin-right:0}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-grow:2!important}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{flex-grow:1!important}}.relay-button[_ngcontent-%COMP%]{margin-top:.8em}.options-slider[_ngcontent-%COMP%]{margin-left:1em}"]});class D0{constructor(t){this.appState=t}ngOnInit(){this.appState.updateTitle("Badges"),this.appState.showBackButton=!0,this.appState.actions=[{icon:"note_add",tooltip:"Create new badge type",click:()=>{this.createBadgeType()}},{icon:"assignment_ind",tooltip:"Assign badge to user",click:()=>{this.assignBadge()}}]}createBadgeType(){}assignBadge(){}}function efe(i,t){if(1&i){const e=tt();y(0,"div")(1,"div")(2,"div")(3,"p"),B(4,"Just paste your (or someone else's) Nostr public key (npub) here:"),k(),y(5,"mat-form-field",18)(6,"mat-icon",19),B(7,"person_add"),k(),y(8,"mat-label"),B(9,"Public Key"),k(),y(10,"input",20),pe("ngModelChange",function(r){return Te(e),Ie(X().readOnlyKey=r)}),k()(),y(11,"div")(12,"button",21),pe("click",function(){Te(e);const r=X();return Ie(r.anonymous(r.readOnlyKey))}),B(13,"Connect (read-only)"),k()()()()()}if(2&i){const e=X();A(10),N("ngModel",e.readOnlyKey)}}D0.\u0275fac=function(t){return new(t||D0)(D(ln))},D0.\u0275cmp=$e({type:D0,selectors:[["app-badges"]],decls:40,vars:0,consts:[[1,"feed-page"],[1,"options"],[1,"settings-action-buttons"],[1,"badges"],[1,"badge-card"],[1,"badge-header"],["mat-card-image","","src","/assets/badge-512x512.png"],["mat-stroked-button",""]],template:function(t,e){1&t&&(y(0,"div",0)(1,"div",1)(2,"mat-accordion")(3,"mat-expansion-panel")(4,"mat-expansion-panel-header")(5,"mat-panel-title"),B(6,"Options"),k(),De(7,"mat-panel-description"),k(),De(8,"div",2),k()()(),y(9,"div",3)(10,"mat-card",4)(11,"mat-card-header",5)(12,"mat-card-title"),B(13,"Verified Human Badge"),k(),y(14,"mat-card-subtitle"),B(15,"Human"),k()(),De(16,"img",6),y(17,"mat-card-content")(18,"p"),B(19,"Badge earned by Fully Verified Humans."),k()(),y(20,"mat-card-actions")(21,"button",7),B(22,"PUT ON PROFILE"),k(),y(23,"button",7),B(24,"HIDE"),k()()(),y(25,"mat-card",4)(26,"mat-card-header",5)(27,"mat-card-title"),B(28,"Liberstad Membership Organization"),k(),y(29,"mat-card-subtitle"),B(30,"liberstad-member"),k()(),De(31,"img",6),y(32,"mat-card-content")(33,"p"),B(34,"Verified One Year Membership."),k()(),y(35,"mat-card-actions")(36,"button",7),B(37,"PUT ON PROFILE"),k(),y(38,"button",7),B(39,"HIDE"),k()()()()())},dependencies:[Cr,Sa,XN,ec,D_,JC,C_,k_,tc,Vc,Yc,Od,Ld],styles:[".badge-card[_ngcontent-%COMP%]{max-width:512px}.badge-header[_ngcontent-%COMP%]{margin-bottom:1em}.badges[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:center;gap:1em}.badge-card[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:1em;margin-bottom:1em}"]});class M0{constructor(t,e,n,r){this.authService=t,this.theme=e,this.router=n,this.security=r,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.readOnlyLogin=!1,this.readOnlyKey="npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m"}connect(){var t=this;return Se(function*(){(yield t.authService.login()).authenticated()&&t.router.navigateByUrl("/")})()}anonymous(t){var e=this;return Se(function*(){(yield e.authService.anonymous(t)).authenticated()&&e.router.navigateByUrl("/")})()}persistKey(){var t=this;return Se(function*(){setTimeout(Se(function*(){if(!t.privateKeyHex||!t.publicKeyHex)return;const e=yield t.security.encryptData(t.privateKeyHex,t.password),n=yield t.security.decryptData(e,t.password);t.privateKeyHex==n?(localStorage.setItem("blockcore:notes:nostr:prvkey",e),localStorage.setItem("blockcore:notes:nostr:pubkey",t.publicKeyHex),t.router.navigateByUrl("/")):(t.error="Unable to encrypt and decrypt. Cannot continue.",console.error(t.error))}),10)})()}updatePublicKey(){if(this.error="",this.publicKey="",this.privateKeyHex="",this.privateKey)if(this.privateKey.startsWith("npub"))this.error='The key value must be a "nsec" value. You entered "npub", which is your public key.';else{this.privateKeyHex=this.privateKey.startsWith("nsec")?za.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=Uf(this.privateKeyHex),this.publicKey=za.npubEncode(this.publicKeyHex)}catch(t){this.error=t.message}}else this.publicKey=""}}function tfe(i,t){if(1&i){const e=tt();y(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),B(3,"Who are you?"),k(),y(4,"p"),B(5,"Add some (optional) basics about yourself. This information will be public."),k(),y(6,"p")(7,"mat-form-field",12)(8,"mat-icon",13),B(9,"badge"),k(),y(10,"mat-label"),B(11,"Display Name"),k(),y(12,"input",14),pe("ngModelChange",function(r){return Te(e),Ie(X().profile.display_name=r)}),k()()(),y(13,"p")(14,"mat-form-field",12)(15,"mat-icon",13),B(16,"alternate_email"),k(),y(17,"mat-label"),B(18,"Nickname"),k(),y(19,"input",14),pe("ngModelChange",function(r){return Te(e),Ie(X().profile.name=r)}),k()()(),y(20,"p")(21,"mat-form-field",12)(22,"mat-icon",13),B(23,"help_outline"),k(),y(24,"mat-label"),B(25,"About"),k(),y(26,"textarea",15),pe("ngModelChange",function(r){return Te(e),Ie(X().profile.about=r)}),k()()(),y(27,"p")(28,"mat-form-field",12)(29,"mat-icon",13),B(30,"image"),k(),y(31,"mat-label"),B(32,"Profile Image"),k(),y(33,"input",14),pe("ngModelChange",function(r){return Te(e),Ie(X().profile.picture=r)}),k()()(),y(34,"p")(35,"mat-form-field",12)(36,"mat-icon",13),B(37,"how_to_reg"),k(),y(38,"mat-label"),B(39,"E-mail/Domain Identifier (NIP05)"),k(),y(40,"input",14),pe("ngModelChange",function(r){return Te(e),Ie(X().profile.nip05=r)}),k()()(),y(41,"div",16)(42,"button",17),pe("click",function(){return Te(e),Ie(X().step=2)}),B(43,"Continue"),k()()()()}if(2&i){const e=X();A(12),N("ngModel",e.profile.display_name),A(7),N("ngModel",e.profile.name),A(7),N("ngModel",e.profile.about),A(7),N("ngModel",e.profile.picture),A(7),N("ngModel",e.profile.nip05)}}function ife(i,t){if(1&i){const e=tt();y(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),B(3,"Your secret recovery phrase"),k(),y(4,"p",18),B(5),k(),De(6,"br"),y(7,"button",19)(8,"mat-icon"),B(9,"content_copy"),k(),B(10," Copy "),k(),De(11,"br")(12,"br"),y(13,"p",20),B(14,"This is your private and secret sentence. You must store it safely, if you lose it, you will lose access to your account. Nobody can recover it for you."),k(),y(15,"p"),B(16,"Keep it safe, keep it hidden."),k(),y(17,"div",16)(18,"button",17),pe("click",function(){return Te(e),Ie(X().step=1)}),B(19,"Back"),k(),y(20,"button",17),pe("click",function(){return Te(e),Ie(X().step=3)}),B(21,"Continue"),k()()()()}if(2&i){const e=X();A(5),Ct(e.mnemonic),A(2),N("cdkCopyToClipboard",e.mnemonic)}}function nfe(i,t){if(1&i){const e=tt();y(0,"mat-card",11)(1,"mat-card-content")(2,"h1"),B(3,"Private and Public Keys"),k(),B(4," Your personal private key:"),De(5,"br"),y(6,"p",21),B(7),k(),y(8,"form")(9,"mat-form-field",22)(10,"mat-icon",23),B(11,"person_add"),k(),y(12,"mat-label"),B(13,"Public Key"),k(),y(14,"input",24),pe("ngModelChange",function(r){return Te(e),Ie(X().publicKey=r)}),k()(),y(15,"mat-form-field",22)(16,"mat-icon",23),B(17,"password"),k(),y(18,"mat-label"),B(19,"Password (optional)"),k(),y(20,"input",25),pe("ngModelChange",function(r){return Te(e),Ie(X().password=r)}),k()(),De(21,"br"),k(),y(22,"p",20),B(23,"From your secret recovery phrase, your public key and private key are derived. Some Nostr clients require the private key to be imported."),k(),y(24,"div",16)(25,"button",17),pe("click",function(){return Te(e),Ie(X().step=2)}),B(26,"Back"),k(),y(27,"button",17),pe("click",function(){return Te(e),Ie(X().persistKey())}),B(28,"Save and Log In"),k()()()()}if(2&i){const e=X();A(7),Ct(e.privateKey),A(7),N("readonly",!0)("ngModel",e.publicKey),A(6),N("ngModel",e.password)}}M0.\u0275fac=function(t){return new(t||M0)(D(Da),D(yl),D(rr),D(Bc))},M0.\u0275cmp=$e({type:M0,selectors:[["app-login"]],decls:40,vars:2,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["routerLink","/connect"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"connect-content"],[1,"card","first-card"],["mat-flat-button","","color","accent",1,"start-button","full-button",3,"click"],[1,"description"],["href","https://chrome.google.com/webstore/detail/blockcore-wallet/peigonhbenoefaeplkpalmafieegnapj","target","_blank"],["disabled","disabled","mat-flat-button","","color","accent",1,"start-button","full-button"],["href","https://github.com/nostr-connect/nostrum","target","_blank"],["routerLink","/connect/key","mat-flat-button","","color","accent",1,"start-button","full-button"],[4,"ngIf"],["appearance","fill",1,"input-full-width"],["matPrefix","",1,"circle"],["matInput","","type","text",3,"ngModel","ngModelChange"],["color","primary","mat-raised-button","",1,"skip-button",3,"click"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"div",1)(2,"a",2),De(3,"img",3),k(),y(4,"div",4)(5,"span",5),B(6,"Blockcore"),k(),B(7," Notes"),k(),De(8,"div",6),y(9,"button",7),pe("click",function(){return e.theme.darkMode=!e.theme.darkMode}),y(10,"mat-icon",8),B(11),k()()(),y(12,"div",9)(13,"mat-card",10)(14,"mat-card-content")(15,"h1"),B(16,"Log in"),k(),y(17,"p"),B(18,"If you already have an existing Nostr profile, you can restore it on Notes with these options."),k(),y(19,"button",11),pe("click",function(){return e.connect()}),B(20,"Connect using extension"),k(),y(21,"div",12),B(22," Good security. Requires the Nostr extension to be installed, like "),y(23,"a",13),B(24,"Blockcore Wallet"),k()(),y(25,"button",14),B(26,"Nostr connect (Coming soon)"),k(),y(27,"div",12),B(28,"Great security. Use an app like "),y(29,"a",15),B(30,"Nostrum"),k()(),y(31,"button",16),B(32,"Private Key"),k(),y(33,"div",12),B(34,"Enter a private key or recovery phrase. Stored encrypted with password. Less secure option."),k(),y(35,"button",11),pe("click",function(){return e.readOnlyLogin=!e.readOnlyLogin}),B(36,"Public Key"),k(),y(37,"div",12),B(38,"Very secure. Enter a public key for read-only login."),k(),oe(39,efe,14,1,"div",17),k()()()()),2&t&&(A(11),Ct(e.theme.darkMode?"dark_mode":"light_mode"),A(28),N("ngIf",e.readOnlyLogin))},dependencies:[mi,Ya,rs,Eo,Wo,Pc,Cr,Do,Sa,ec,pr,uo,Wa,Ga],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}",".public-key[_ngcontent-%COMP%]{margin-bottom:1em;word-wrap:break-word}.error[_ngcontent-%COMP%]{margin-bottom:1em;color:red}"]});class E0{constructor(t,e,n,r,a,o,c){this.utilities=t,this.dataService=e,this.profileService=n,this.authService=r,this.theme=a,this.router=o,this.security=c,this.privateKey="",this.privateKeyHex="",this.publicKey="",this.publicKeyHex="",this.password="",this.error="",this.profile={},this.step=1,this.mnemonic=""}ngOnInit(){this.mnemonic=ky.generateSeedWords(),this.privateKeyHex=ky.privateKeyFromSeedWords(this.mnemonic),this.privateKey=za.nsecEncode(this.privateKeyHex),this.updatePublicKey()}connect(){var t=this;return Se(function*(){(yield t.authService.login()).authenticated()&&t.router.navigateByUrl("/")})()}anonymous(t){var e=this;return Se(function*(){(yield e.authService.anonymous(t)).authenticated()&&e.router.navigateByUrl("/")})()}persistKey(){var t=this;return Se(function*(){setTimeout(Se(function*(){if(!t.privateKeyHex||!t.publicKeyHex)return;const e=yield t.security.encryptData(t.privateKeyHex,t.password),n=yield t.security.decryptData(e,t.password);if(t.privateKeyHex==n){localStorage.setItem("blockcore:notes:nostr:prvkey",e),localStorage.setItem("blockcore:notes:nostr:pubkey",t.publicKeyHex),t.profile.npub=t.publicKey,t.profile.pubkey=t.publicKeyHex;const r=t.utilities.reduceProfile(t.profile);let a=t.dataService.createEventWithPubkey(Qn.Metadata,JSON.stringify(r),t.publicKeyHex),o=a;o.id=yield Au(a),Tu(o)||(t.error="Unable to validate the event. Cannot continue.");const c=Jk(o,t.privateKeyHex);o.sig=c,t.mnemonic="",t.privateKey="",t.privateKeyHex="",t.publicKey="",t.publicKeyHex="",t.password="",t.profile=null,t.profileService.newProfileEvent=o,t.router.navigateByUrl("/")}else t.error="Unable to encrypt and decrypt. Cannot continue.",console.error(t.error)}),10)})()}updatePublicKey(){if(this.error="",this.publicKey="",this.privateKeyHex="",this.privateKey)if(this.privateKey.startsWith("npub"))this.error='The key value must be a "nsec" value. You entered "npub", which is your public key.';else{this.privateKeyHex=this.privateKey.startsWith("nsec")?za.decode(this.privateKey).data:this.privateKey;try{this.publicKeyHex=Uf(this.privateKeyHex),this.publicKey=za.npubEncode(this.publicKeyHex)}catch(t){this.error=t.message}}else this.publicKey=""}}E0.\u0275fac=function(t){return new(t||E0)(D(Nn),D(Ka),D(Vn),D(Da),D(yl),D(rr),D(Bc))},E0.\u0275cmp=$e({type:E0,selectors:[["app-create"]],decls:16,vars:4,consts:[[1,"connect-container"],[1,"connect-menu","mat-app-background"],["routerLink","/connect"],["width","128","height","128","src","assets/icons/icon-256x256.webp",1,"connect-logo"],[1,"logo-text"],[1,"hide-tiny"],[1,"connect-spacer"],["mat-icon-button","",1,"theme-toggle",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"connect-content"],["class","card",4,"ngIf"],[1,"card"],["appearance","outline",1,"input-full-width"],["matPrefix",""],["matInput","","type","text",3,"ngModel","ngModelChange"],["matInput","","type","text","rows","3",3,"ngModel","ngModelChange"],[1,"connect-action"],["mat-raised-button","","color","primary",1,"start-button",3,"click"],[1,"recovery-phrase"],["color","primary","mat-fab","","extended","",3,"cdkCopyToClipboard"],[1,"dimmed"],[1,"wrap"],["appearance","fill",1,"input-full-width","connect-input"],["matPrefix","",1,"circle"],["autocomplete","username","name","email","placeholder","npub...","matInput","","type","email",3,"readonly","ngModel","ngModelChange"],["matInput","","type","password","autocomplete","current-password","name","password",3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(y(0,"div",0)(1,"div",1)(2,"a",2),De(3,"img",3),k(),y(4,"div",4)(5,"span",5),B(6,"Blockcore"),k(),B(7," Notes"),k(),De(8,"div",6),y(9,"button",7),pe("click",function(){return e.theme.darkMode=!e.theme.darkMode}),y(10,"mat-icon",8),B(11),k()()(),y(12,"div",9),oe(13,tfe,44,5,"mat-card",10),oe(14,ife,22,2,"mat-card",10),oe(15,nfe,29,4,"mat-card",10),k()()),2&t&&(A(11),Ct(e.theme.darkMode?"dark_mode":"light_mode"),A(2),N("ngIf",1==e.step),A(1),N("ngIf",2==e.step),A(1),N("ngIf",3==e.step))},dependencies:[mi,Ya,rs,Eo,Wo,Pc,Cr,Do,r5,Sa,ec,pr,qf,uo,Wa,Wf,Ga,Rc,iO],styles:[".connect-container[_ngcontent-%COMP%]{width:100%;height:100vh;display:flex;flex-direction:column}.connect-menu[_ngcontent-%COMP%]{position:fixed;height:80px;width:100%;padding:1em;display:flex;z-index:1000;box-sizing:border-box}.connect-logo[_ngcontent-%COMP%]{flex-grow:1}.logo-text[_ngcontent-%COMP%]{font-size:1.6em;margin-left:140px;font-weight:700}.connect-spacer[_ngcontent-%COMP%]{flex-grow:3}.connect-button[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;align-self:flex-end}.start-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em;margin-bottom:.2em;background-color:#9f0771!important}.start-button-consent[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.start-button-consent[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{color:#fff!important}.start-button-login[_ngcontent-%COMP%]:hover{background-color:#e6e6e6!important}.start-button-login[_ngcontent-%COMP%]{min-width:300px}.theme-toggle[_ngcontent-%COMP%]{margin-right:.2em}.skip-button[_ngcontent-%COMP%]{border-radius:40px;min-width:140px;font-size:.9em;padding-top:1.4em;padding-bottom:1.4em}.connect-content[_ngcontent-%COMP%]{flex-grow:2;margin-top:80px;background:transparent url(/assets/bg.jpg) no-repeat right center;background-size:cover;background-attachment:fixed}.card[_ngcontent-%COMP%]{border-radius:10px;margin:2em 2em 2em 11em;padding:4em}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1em;margin-bottom:1em}.card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1.4em}.consent-card[_ngcontent-%COMP%]{margin-bottom:2em}.warn[_ngcontent-%COMP%]{background-color:#9f0771}@keyframes _ngcontent-%COMP%_float{0%{transform:perspective(400px) rotateY(0)}50%{transform:perspective(400px) rotateY(30deg)}to{transform:perspective(400px) rotateY(0)}}.consent-required[_ngcontent-%COMP%]{padding:2em}.connect-logo[_ngcontent-%COMP%]{position:fixed;width:128px;height:128px;margin-top:0;margin-left:0;transform:translate3d(-50%,-50%,0);animation:_ngcontent-%COMP%_float 6s ease-in-out infinite;z-index:10000}.card-image[_ngcontent-%COMP%]{padding:0!important}.card-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:auto}@media only screen and (min-width: 1360px){.card[_ngcontent-%COMP%]{max-width:944px;margin-right:auto!important;margin-left:auto!important}}@media only screen and (min-width: 1024px){.card[_ngcontent-%COMP%]{margin-right:11em}}@media only screen and (max-width: 760px){.connect-logo[_ngcontent-%COMP%]{width:96px;height:96px;margin-top:1em;margin-left:1em}.card[_ngcontent-%COMP%]{font-size:.8em;margin-left:2em;margin-right:2em;padding:2em}}@media only screen and (max-width: 700px){.hide-tiny[_ngcontent-%COMP%]{display:none}.connect-logo[_ngcontent-%COMP%]{width:64px;height:64px;margin-top:-.47em;margin-left:0}.logo-text[_ngcontent-%COMP%]{margin-left:84px;margin-top:.6em;font-size:1.2em}}@media only screen and (max-width: 600px){.card[_ngcontent-%COMP%]{margin-left:.2em;margin-right:.2em;padding:0}}@media only screen and (max-width: 400px){.connect-button[_ngcontent-%COMP%]{display:none}}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}",".public-key[_ngcontent-%COMP%]{margin-bottom:1em;word-wrap:break-word}.error[_ngcontent-%COMP%]{margin-bottom:1em;color:red}.full-button[_ngcontent-%COMP%]{width:100%;border-radius:10px;padding:2em}.description[_ngcontent-%COMP%]{margin-top:.4em;text-align:center;font-size:.85em;margin-bottom:1.4em}.start-button[_ngcontent-%COMP%]{margin-right:.62em}.connect-action[_ngcontent-%COMP%]{text-align:right}.recovery-phrase[_ngcontent-%COMP%]{font-size:1.4em;word-spacing:.8em}"]});const rfe=[{path:"",component:R_,canActivate:[or],resolve:{data:gr}},{path:"connect",component:M_},{path:"connect/key",component:w0},{path:"connect/login",component:M0},{path:"connect/create",component:E0},{path:"feed",component:pp,canActivate:[or],resolve:{data:gr}},{path:"feed/:circle",component:pp,canActivate:[or],resolve:{data:gr}},{path:"notes",component:Y_,canActivate:[or],resolve:{data:gr}},{path:"circles",component:Z_,canActivate:[or],resolve:{data:gr}},{path:"notifications",component:b0,canActivate:[or],resolve:{data:gr}},{path:"people",component:e0,canActivate:[or],resolve:{data:gr}},{path:"chat",component:l0,canActivate:[or],resolve:{data:gr}},{path:"m",component:f0,canActivate:[or],resolve:{data:gr}},{path:"m/:id",component:p0,canActivate:[or],resolve:{data:gr}},{path:"profile",component:j_,canActivate:[or],resolve:{data:gr}},{path:"badges/:id",component:D0,canActivate:[or],resolve:{data:gr}},{path:"user/:id",component:Vd,canActivate:[or],resolve:{data:gr}},{path:"editor",component:k0,canActivate:[or],resolve:{data:gr}},{path:"note/:id",component:dp,canActivate:[or],resolve:{data:gr}},{path:"p/:id",component:Vd,canActivate:[or],resolve:{data:gr}},{path:"e/:id",component:dp,canActivate:[or],resolve:{data:gr}},{path:"a/:id",component:gp,canActivate:[or],resolve:{data:gr}},{path:"a/:id/:slug",component:gp,canActivate:[or],resolve:{data:gr}},{path:"followers/:id",component:u0,canActivate:[or],resolve:{data:gr}},{path:"following/:id",component:d0,canActivate:[or],resolve:{data:gr}},{path:"about",component:S_,canActivate:[or],resolve:{data:gr}},{path:"about/licenses",component:t0,canActivate:[or],resolve:{data:gr}},{path:"settings",component:W_,canActivate:[or],resolve:{data:gr}},{path:"relays",component:C0,canActivate:[or],resolve:{data:gr}},{path:"development",component:_0,canActivate:[or],resolve:{data:gr}},{path:"queue",component:m0,canActivate:[or],resolve:{data:gr}},{path:"logout",component:P_}];class _p{}_p.\u0275fac=function(t){return new(t||_p)},_p.\u0275mod=Dt({type:_p}),_p.\u0275inj=It({imports:[YI.forRoot(rfe,{scrollOffset:[0,0],scrollPositionRestoration:"enabled",anchorScrolling:"enabled"}),YI]});var mR=T(1781);class afe{constructor(){this.prefix="web+nostr:"}removeHandler(t){return t.indexOf("://")>-1?t.substring(t.indexOf("://")+3):t}decode(t){if(!t.startsWith(this.prefix))throw new Error("Invalid Nostr URI: "+t);var e=t.slice(this.prefix.length,t.indexOf(":",this.prefix.length)).toLowerCase(),r=t.slice(this.prefix.length+e.length+1).split("?"),a=r[0];let o;return a.indexOf("/")>-1&&(a=a.substring(0,a.length-1)),r.length>1&&(o=mR.parse(r[1])),{address:a,scheme:e,options:o}}transform(t){const e=t.address,n=t.scheme,r=t;return delete r.address,delete r.scheme,{address:e,scheme:n,options:r}}encode(t){var e=mR.stringify(t.options);return t.scheme+":"+t.address+(e?"?":"")+e}}const $u=new mt(j),sfe={connector:()=>new He};function fR(i,t=sfe){const{connector:e}=t;return ei((n,r)=>{const a=e();dn(i(function ofe(i){return new mt(t=>i.subscribe(t))}(a))).subscribe(r),r.add(n.subscribe(a))})}const S0="Service workers are disabled or not supported by this browser";class Iv{constructor(t){if(this.serviceWorker=t,t){const n=is(t,"controllerchange").pipe(bt(()=>t.controller)),a=kh(uu(()=>qt(t.controller)),n);this.worker=a.pipe(Ki(F=>!!F)),this.registration=this.worker.pipe(ca(()=>t.getRegistration()));const f=is(t,"message").pipe(bt(F=>F.data)).pipe(Ki(F=>F&&F.type)).pipe(function cfe(i){return i?t=>fR(i)(t):t=>function lfe(i,t){const e=E(i)?i:()=>i;return E(t)?fR(t,{connector:e}):n=>new kb(n,e)}(new He)(t)}());f.connect(),this.events=f}else this.worker=this.events=this.registration=function dfe(i){return uu(()=>Th(new Error(i)))}(S0)}postMessage(t,e){return this.worker.pipe(gn(1),Jr(n=>{n.postMessage({action:t,...e})})).toPromise().then(()=>{})}postMessageWithOperation(t,e,n){const r=this.waitForOperationCompleted(n),a=this.postMessage(t,e);return Promise.all([a,r]).then(([,o])=>o)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(t){let e;return e="string"==typeof t?n=>n.type===t:n=>t.includes(n.type),this.events.pipe(Ki(e))}nextEventOfType(t){return this.eventsOfType(t).pipe(gn(1))}waitForOperationCompleted(t){return this.eventsOfType("OPERATION_COMPLETED").pipe(Ki(e=>e.nonce===t),gn(1),bt(e=>{if(void 0!==e.result)return e.result;throw new Error(e.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let ufe=(()=>{class i{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,this.pushManager=null,this.subscriptionChanges=new He,!e.isEnabled)return this.messages=$u,this.notificationClicks=$u,void(this.subscription=$u);this.messages=this.sw.eventsOfType("PUSH").pipe(bt(r=>r.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(bt(r=>r.data)),this.pushManager=this.sw.registration.pipe(bt(r=>r.pushManager));const n=this.pushManager.pipe(ca(r=>r.getSubscription()));this.subscription=Rn(n,this.subscriptionChanges)}requestSubscription(e){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(S0));const n={userVisibleOnly:!0};let r=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),a=new Uint8Array(new ArrayBuffer(r.length));for(let o=0;oo.subscribe(n)),gn(1)).toPromise().then(o=>(this.subscriptionChanges.next(o),o))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(gn(1),ca(n=>{if(null===n)throw new Error("Not subscribed to push notifications.");return n.unsubscribe().then(r=>{if(!r)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(S0))}decodeBase64(e){return atob(e)}}return i.\u0275fac=function(e){return new(e||i)(Ee(Iv))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})(),AD=(()=>{class i{get isEnabled(){return this.sw.isEnabled}constructor(e){if(this.sw=e,!e.isEnabled)return this.versionUpdates=$u,this.available=$u,this.activated=$u,void(this.unrecoverable=$u);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe(Ki(n=>"VERSION_READY"===n.type),bt(n=>({type:"UPDATE_AVAILABLE",current:n.currentVersion,available:n.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(S0));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:e},e)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(S0));const e=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:e},e)}}return i.\u0275fac=function(e){return new(e||i)(Ee(Iv))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();class TD{}const pR=new Ke("NGSW_REGISTER_SCRIPT");function hfe(i,t,e,n){return()=>{if(!su(n)||!("serviceWorker"in navigator)||!1===e.enabled)return;let r;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof e.registrationStrategy)r=e.registrationStrategy();else{const[o,...c]=(e.registrationStrategy||"registerWhenStable:30000").split(":");switch(o){case"registerImmediately":r=qt(null);break;case"registerWithDelay":r=gR(+c[0]||0);break;case"registerWhenStable":r=c[0]?Rn(_R(i),gR(+c[0])):_R(i);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${e.registrationStrategy}`)}}i.get(Rt).runOutsideAngular(()=>r.pipe(gn(1)).subscribe(()=>navigator.serviceWorker.register(t,{scope:e.scope}).catch(o=>console.error("Service worker registration failed with:",o))))}}function gR(i){return qt(null).pipe(fv(i))}function _R(i){return i.get(ld).isStable.pipe(Ki(e=>e))}function mfe(i,t){return new Iv(su(t)&&!1!==i.enabled?navigator.serviceWorker:void 0)}let ffe=(()=>{class i{static register(e,n={}){return{ngModule:i,providers:[{provide:pR,useValue:e},{provide:TD,useValue:n},{provide:Iv,useFactory:mfe,deps:[TD,ru]},{provide:sg,useFactory:hfe,deps:[Wr,pR,TD,ru],multi:!0}]}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[ufe,AD]}),i})();class um{constructor(t,e){this.updates=t,this.snackBar=e,this.updateClient()}updateClient(){this.updates.versionUpdates.subscribe(t=>{switch(t.type){case"VERSION_DETECTED":console.log(`Downloading new app version: ${t.version.hash}`);break;case"VERSION_READY":console.log(`Current app version: ${t.currentVersion.hash}`),console.log(`New app version ready for use: ${t.latestVersion.hash}`),this.doAppUpdate();break;case"VERSION_INSTALLATION_FAILED":console.log(`Failed to install app version '${t.version.hash}': ${t.error}`)}})}showAppUpdateAlert(){this.snackBar.open("App Update available!","Update",{horizontalPosition:"center",verticalPosition:"bottom"}).onAction().subscribe(()=>{this.doAppUpdate()})}doAppUpdate(){this.updates.activateUpdate().then(()=>document.location.reload())}}um.\u0275fac=function(t){return new(t||um)(Ee(AD),Ee(js))},um.\u0275prov=it({token:um,factory:um.\u0275fac,providedIn:"root"});class hm{constructor(t,e){{const n=t.isStable.pipe(Fd(o=>!0===o)),r=function pfe(i=0,t=_f){return i<0&&(i=0),yb(i,i,t)}(216e5);kh(n,r).subscribe(Se(function*(){try{const o=yield e.checkForUpdate();console.log(o?"A new version is available.":"Already on the latest version.")}catch(o){console.error("Failed to check for updates:",o)}}))}}}hm.\u0275fac=function(t){return new(t||hm)(Ee(ld),Ee(AD))},hm.\u0275prov=it({token:hm,factory:hm.\u0275fac});class bp{constructor(t,e,n){this.router=t,this.appState=e,this.profileService=n,this.resultsChanged=new Oi(null),this.results$=this.resultsChanged.asObservable()}search(t){var e=this;return Se(function*(){if(t)if(console.log("Searching for: ",t),t.startsWith("npub")){const n=za.decode(t);e.resetSearch(),e.router.navigate(["/p",n.data])}else if(t.startsWith("nevent")){const n=za.decode(t);e.resetSearch(),e.router.navigate(["/p",n.data])}else{const n=yield e.profileService.search(t.toLowerCase());e.updateResults(n),n||(e.resetSearch(),e.router.navigate(["/p",t]))}})()}updateResults(t){this.resultsChanged.next(t)}open(t){console.log("SELECTED:",t),t&&(this.resetSearch(),this.router.navigate(["/p",t.pubkey]))}resetSearch(){this.appState.searchText="",this.appState.showSearch=!1}}bp.\u0275fac=function(t){return new(t||bp)(Ee(rr),Ee(ln),Ee(Vn))},bp.\u0275prov=it({token:bp,factory:bp.\u0275fac,providedIn:"root"});const gfe=["panel"];function _fe(i,t){if(1&i&&(y(0,"div",0,1),wt(2),k()),2&i){const e=t.id,n=X();N("id",n.id)("ngClass",n._classList)("@panelAnimation",n.isOpen?"visible":"hidden"),Nt("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(e))}}const bfe=["*"],yfe=Va("panelAnimation",[fr("void, hidden",hi({opacity:0,transform:"scaleY(0.8)"})),nr(":enter, hidden => visible",[Mg([ir("0.03s linear",hi({opacity:1})),ir("0.12s cubic-bezier(0, 0, 0.2, 1)",hi({transform:"scaleY(1)"}))])]),nr(":leave, visible => hidden",[ir("0.075s linear",hi({opacity:0}))])]);let vfe=0;class wfe{constructor(t,e){this.source=t,this.option=e}}const Ffe=_l(class{}),bR=new Ke("mat-autocomplete-default-options",{providedIn:"root",factory:function xfe(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}});let kfe=(()=>{class i extends Ffe{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=xt(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=xt(e)}set classList(e){this._classList=e&&e.length?function zW(i,t=/\s+/){const e=[];if(null!=i){const n=Array.isArray(i)?i:`${i}`.split(t);for(const r of n){const a=`${r}`.trim();a&&e.push(a)}}return e}(e).reduce((n,r)=>(n[r]=!0,n),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(e,n,r,a){super(),this._changeDetectorRef=e,this._elementRef=n,this._defaults=r,this._activeOptionChanges=x.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this._autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this._autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.optionSelected=new ht,this.opened=new ht,this.closed=new ht,this.optionActivated=new ht,this._classList={},this.id="mat-autocomplete-"+vfe++,this.inertGroups=a?.SAFARI||!1}ngAfterContentInit(){this._keyManager=new jT(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const n=new wfe(this,e);this.optionSelected.emit(n)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}_setThemeClasses(e){e["mat-primary"]="primary"===this._color,e["mat-warn"]="warn"===this._color,e["mat-accent"]="accent"===this._color}}return i.\u0275fac=function(e){return new(e||i)(D(li),D(_t),D(bR),D(Pn))},i.\u0275dir=Oe({type:i,viewQuery:function(e,n){if(1&e&&(Tt(yr,7),Tt(gfe,5)),2&e){let r;Qe(r=Ze())&&(n.template=r.first),Qe(r=Ze())&&(n.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[ot]}),i})(),Cfe=(()=>{class i extends kfe{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=xt(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275cmp=$e({type:i,selectors:[["mat-autocomplete"]],contentQueries:function(e,n,r){if(1&e&&(di(r,$x,5),di(r,Ah,5)),2&e){let a;Qe(a=Ze())&&(n.optionGroups=a),Qe(a=Ze())&&(n.options=a)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[Ot([{provide:qx,useExisting:i}]),ot],ngContentSelectors:bfe,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(e,n){1&e&&(Hi(),oe(0,_fe,3,5,"ng-template"))},dependencies:[Pa],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[yfe]},changeDetection:0}),i})();const Dfe={provide:ba,useExisting:ci(()=>vR),multi:!0},yR=new Ke("mat-autocomplete-scroll-strategy"),Efe={provide:yR,deps:[_a],useFactory:function Mfe(i){return()=>i.scrollStrategies.reposition()}};let Sfe=(()=>{class i{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=xt(e)}constructor(e,n,r,a,o,c,h,f,F,R,W){this._element=e,this._overlay=n,this._viewContainerRef=r,this._zone=a,this._changeDetectorRef=o,this._dir=h,this._formField=f,this._document=F,this._viewportRuler=R,this._defaults=W,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=x.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new He,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=uu(()=>{const te=this.autocomplete?this.autocomplete.options:null;return te?te.changes.pipe(Yr(te),ca(()=>Rn(...te.map(fe=>fe.onSelectionChange)))):this._zone.onStable.pipe(gn(1),ca(()=>this.optionSelections))}),this._scrollStrategy=c}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Rn(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Ki(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Ki(()=>this._overlayAttached)):qt()).pipe(bt(e=>e instanceof k6?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Rn(is(this._document,"click"),is(this._document,"auxclick"),is(this._document,"touchend")).pipe(Ki(e=>{const n=fd(e),r=this._formField?this._formField._elementRef.nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&n!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(n))&&(!a||!a.contains(n))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(n)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const n=e.keyCode,r=ga(e);if(27===n&&!r&&e.preventDefault(),this.activeOption&&13===n&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const a=this.autocomplete._keyManager.activeItem,o=38===n||40===n;9===n||o&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):o&&this._canOpen()&&this.openPanel(),(o||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let n=e.target,r=n.value;"number"===n.type&&(r=""==r?null:parseFloat(r)),this._previousValue!==r&&(this._previousValue=r,this._pendingAutoselectedOption=null,this._onChange(r),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return Rn(this._zone.onStable.pipe(gn(1)),this.autocomplete.options.changes.pipe(Jr(()=>this._positionStrategy.reapplyLastPosition()),fv(0))).pipe(ca(()=>(this._zone.run(()=>{const r=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),gn(1)).subscribe(r=>this._setValueAndClose(r))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const n=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(n??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const n=e?e.source:this._pendingAutoselectedOption;n&&(this._clearPreviousSelectedOption(n),this._assignOptionValue(n.value),this._onChange(n.value),this.autocomplete._emitSelectEvent(n),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(n=>{n!==e&&n.selected&&n.deselect()})}_attachOverlay(){let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new _d(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new kf({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}];let o;o="above"===this.position?a:"below"===this.position?n:[...n,...a],e.withPositions(o)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(e){const n=this.autocomplete,r=C6(e,n.options,n.optionGroups);if(0===e&&1===r)n._setScrollTop(0);else if(n.panel){const a=n.options.toArray()[e];if(a){const o=a._getHostElement(),c=D6(o.offsetTop,o.offsetHeight,n._getScrollTop(),n.panel.nativeElement.offsetHeight);n._setScrollTop(c)}}}_handleOverlayEvents(e){e.keydownEvents().subscribe(n=>{(27===n.keyCode&&!ga(n)||38===n.keyCode&&ga(n,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),n.stopPropagation(),n.preventDefault())}),e.outsidePointerEvents().subscribe()}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(_a),D(kr),D(Rt),D(li),D(yR),D(jr,8),D(Zh,9),D(Ci,8),D(pl),D(bR,8))},i.\u0275dir=Oe({type:i,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[mr]}),i})(),vR=(()=>{class i extends Sfe{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return i.\u0275fac=function(){let t;return function(n){return(t||(t=ki(i)))(n||i)}}(),i.\u0275dir=Oe({type:i,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(e,n){1&e&&pe("focusin",function(){return n._handleFocus()})("blur",function(){return n._onTouched()})("input",function(a){return n._handleInput(a)})("keydown",function(a){return n._handleKeydown(a)})("click",function(){return n._handleClick()}),2&e&&Nt("autocomplete",n.autocompleteAttribute)("role",n.autocompleteDisabled?null:"combobox")("aria-autocomplete",n.autocompleteDisabled?null:"list")("aria-activedescendant",n.panelOpen&&n.activeOption?n.activeOption.id:null)("aria-expanded",n.autocompleteDisabled?null:n.panelOpen.toString())("aria-owns",n.autocompleteDisabled||!n.panelOpen||null==n.autocomplete?null:n.autocomplete.id)("aria-haspopup",n.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Ot([Dfe]),ot]}),i})(),Afe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[Efe],imports:[Dc,Fb,Kt,Mr,Cc,Fb,Kt]}),i})();class Ku{constructor(t){this.utilities=t}transform(t){return t?Ku.time(t):"00:00:00"}static time(t){var e=Math.floor(t/60/60),n=Math.floor(t/60)-60*e,r=t%60;return e.toString().padStart(2,"0")+":"+n.toString().padStart(2,"0")+":"+r.toString().padStart(2,"0")}}Ku.\u0275fac=function(t){return new(t||Ku)(D(Nn,16))},Ku.\u0275pipe=Lr({name:"time",type:Ku,pure:!0});const Tfe=["knob"],Ife=["valueIndicatorContainer"];function Nfe(i,t){if(1&i&&(y(0,"div",4,5)(2,"div",6)(3,"span",7),B(4),k()()()),2&i){const e=X();A(4),Ct(e.valueIndicatorText)}}const Lfe=["trackActive"];function Ofe(i,t){if(1&i&&De(0,"div"),2&i){const e=t.$implicit,n=t.index,r=X(3);sF(0===e?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),tr("transform",r._calcTickMarkTransform(n))}}function Rfe(i,t){if(1&i&&(Fn(0),oe(1,Ofe,1,4,"div",11),xn()),2&i){const e=X(2);A(1),N("ngForOf",e._tickMarks)}}function Pfe(i,t){if(1&i&&(y(0,"div",8,9),oe(2,Rfe,2,1,"ng-container",10),k()),2&i){const e=X();A(2),N("ngIf",e._cachedWidth)}}function Bfe(i,t){if(1&i&&De(0,"mat-slider-visual-thumb",7),2&i){const e=X();N("discrete",e.discrete)("thumbPosition",1)("valueIndicatorText",e.startValueIndicatorText)}}const Hfe=["*"],Nv=new Ke("_MatSlider"),wR=new Ke("_MatSliderThumb"),FR=new Ke("_MatSliderRangeThumb"),xR=new Ke("_MatSliderVisualThumb");let Vfe=(()=>{class i{constructor(e,n,r,a){this._cdr=e,this._ngZone=n,this._slider=a,this._isHovered=!1,this._isActive=!1,this._isValueIndicatorVisible=!1,this._onPointerMove=o=>{if(this._sliderInput._isFocused)return;const c=this._hostElement.getBoundingClientRect(),h=this._isSliderThumbHovered(o,c);this._isHovered=h,h?this._showHoverRipple():this._hideRipple(this._hoverRippleRef)},this._onMouseLeave=()=>{this._isHovered=!1,this._hideRipple(this._hoverRippleRef)},this._onFocus=()=>{this._hideRipple(this._hoverRippleRef),this._showFocusRipple(),this._hostElement.classList.add("mdc-slider__thumb--focused")},this._onBlur=()=>{this._isActive||this._hideRipple(this._focusRippleRef),this._isHovered&&this._showHoverRipple(),this._hostElement.classList.remove("mdc-slider__thumb--focused")},this._onDragStart=()=>{this._isActive=!0,this._showActiveRipple()},this._onDragEnd=()=>{this._isActive=!1,this._hideRipple(this._activeRippleRef),this._sliderInput._isFocused||this._hideRipple(this._focusRippleRef)},this._hostElement=r.nativeElement}ngAfterViewInit(){this._ripple.radius=24,this._sliderInput=this._slider._getInput(this.thumbPosition),this._sliderInputEl=this._sliderInput._hostElement;const e=this._sliderInputEl;this._ngZone.runOutsideAngular(()=>{e.addEventListener("pointermove",this._onPointerMove),e.addEventListener("pointerdown",this._onDragStart),e.addEventListener("pointerup",this._onDragEnd),e.addEventListener("pointerleave",this._onMouseLeave),e.addEventListener("focus",this._onFocus),e.addEventListener("blur",this._onBlur)})}ngOnDestroy(){const e=this._sliderInputEl;e.removeEventListener("pointermove",this._onPointerMove),e.removeEventListener("pointerdown",this._onDragStart),e.removeEventListener("pointerup",this._onDragEnd),e.removeEventListener("pointerleave",this._onMouseLeave),e.removeEventListener("focus",this._onFocus),e.removeEventListener("blur",this._onBlur)}_showHoverRipple(){this._isShowingRipple(this._hoverRippleRef)||(this._hoverRippleRef=this._showRipple({enterDuration:0,exitDuration:0}),this._hoverRippleRef?.element.classList.add("mat-mdc-slider-hover-ripple"))}_showFocusRipple(){this._isShowingRipple(this._focusRippleRef)||(this._focusRippleRef=this._showRipple({enterDuration:0,exitDuration:0},!0),this._focusRippleRef?.element.classList.add("mat-mdc-slider-focus-ripple"))}_showActiveRipple(){this._isShowingRipple(this._activeRippleRef)||(this._activeRippleRef=this._showRipple({enterDuration:225,exitDuration:400}),this._activeRippleRef?.element.classList.add("mat-mdc-slider-active-ripple"))}_isShowingRipple(e){return 0===e?.state||1===e?.state}_showRipple(e,n){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(1===this.thumbPosition?2:1)._showValueIndicator(),!this._slider._globalRippleOptions?.disabled||n))return this._ripple.launch({animation:this._slider._noopAnimations?{enterDuration:0,exitDuration:0}:e,centered:!0,persistent:!0})}_hideRipple(e){if(e?.fadeOut(),this._isShowingAnyRipple())return;this._slider._isRange||this._hideValueIndicator();const n=this._getSibling();n._isShowingAnyRipple()||(this._hideValueIndicator(),n._hideValueIndicator())}_showValueIndicator(){this._hostElement.classList.add("mdc-slider__thumb--with-indicator")}_hideValueIndicator(){this._hostElement.classList.remove("mdc-slider__thumb--with-indicator")}_getSibling(){return this._slider._getThumb(1===this.thumbPosition?2:1)}_getValueIndicatorContainer(){return this._valueIndicatorContainer?.nativeElement}_getKnob(){return this._knob.nativeElement}_isShowingAnyRipple(){return this._isShowingRipple(this._hoverRippleRef)||this._isShowingRipple(this._focusRippleRef)||this._isShowingRipple(this._activeRippleRef)}_isSliderThumbHovered(e,n){const r=n.width/2,h=e.clientY-(n.y+r);return Math.pow(e.clientX-(n.x+r),2)+Math.pow(h,2){class i extends Yfe{get disabled(){return this._disabled}set disabled(e){this._disabled=xt(e);const n=this._getInput(2),r=this._getInput(1);n&&(n.disabled=this._disabled),r&&(r.disabled=this._disabled)}get discrete(){return this._discrete}set discrete(e){this._discrete=xt(e),this._updateValueIndicatorUIs()}get showTickMarks(){return this._showTickMarks}set showTickMarks(e){this._showTickMarks=xt(e)}get min(){return this._min}set min(e){const n=vr(e,this._min);this._min!==n&&this._updateMin(n)}_updateMin(e){const n=this._min;this._min=e,this._isRange?this._updateMinRange({old:n,new:e}):this._updateMinNonRange(e),this._onMinMaxOrStepChange()}_updateMinRange(e){const n=this._getInput(2),r=this._getInput(1),a=n.value,o=r.value;r.min=e.new,n.min=Math.max(e.new,r.value),r.max=Math.min(n.max,n.value),r._updateWidthInactive(),n._updateWidthInactive(),e.newe.old?this._onTranslateXChangeBySideEffect(r,n):this._onTranslateXChangeBySideEffect(n,r),a!==n.value&&this._onValueChange(n),o!==r.value&&this._onValueChange(r)}_updateMaxNonRange(e){const n=this._getInput(2);if(n){const r=n.value;n.max=e,n._updateThumbUIByValue(),this._updateTrackUI(n),r!==n.value&&this._onValueChange(n)}}get step(){return this._step}set step(e){const n=vr(e,this._step);this._step!==n&&this._updateStep(n)}_updateStep(e){this._step=e,this._isRange?this._updateStepRange():this._updateStepNonRange(),this._onMinMaxOrStepChange()}_updateStepRange(){const e=this._getInput(2),n=this._getInput(1),r=e.value,a=n.value,o=n.value;e.min=this._min,n.max=this._max,e.step=this._step,n.step=this._step,this._platform.SAFARI&&(e.value=e.value,n.value=n.value),e.min=Math.max(this._min,n.value),n.max=Math.min(this._max,e.value),n._updateWidthInactive(),e._updateWidthInactive(),e.value`${f}`,this._rippleRadius=24,this.startValueIndicatorText="",this.endValueIndicatorText="",this._isRange=!1,this._isRtl=!1,this._hasViewInitialized=!1,this._tickMarkTrackWidth=0,this._hasAnimation=!1,this._resizeTimer=null,this._knobRadius=8,this._thumbsOverlap=!1,this._noopAnimations="NoopAnimations"===h,this._dirChangeSubscription=this._dir.change.subscribe(()=>this._onDirChange()),this._isRtl="rtl"===this._dir.value}ngAfterViewInit(){this._platform.isBrowser&&this._updateDimensions();const e=this._getInput(2),n=this._getInput(1);this._isRange=!!e&&!!n,this._cdr.detectChanges();const r=this._getThumb(2);this._rippleRadius=r._ripple.radius,this._inputPadding=this._rippleRadius-this._knobRadius,this._inputOffset=this._knobRadius,this._isRange?this._initUIRange(e,n):this._initUINonRange(e),this._updateTrackUI(e),this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._observeHostResize(),this._cdr.detectChanges()}_initUINonRange(e){e.initProps(),e.initUI(),this._updateValueIndicatorUI(e),this._hasViewInitialized=!0,e._updateThumbUIByValue()}_initUIRange(e,n){e.initProps(),e.initUI(),n.initProps(),n.initUI(),e._updateMinMax(),n._updateMinMax(),e._updateStaticStyles(),n._updateStaticStyles(),this._updateValueIndicatorUIs(),this._hasViewInitialized=!0,e._updateThumbUIByValue(),n._updateThumbUIByValue()}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._resizeObserver?.disconnect(),this._resizeObserver=null}_onDirChange(){this._isRtl="rtl"===this._dir.value,this._isRange?this._onDirChangeRange():this._onDirChangeNonRange(),this._updateTickMarkUI()}_onDirChangeRange(){const e=this._getInput(2),n=this._getInput(1);e._setIsLeftThumb(),n._setIsLeftThumb(),e.translateX=e._calcTranslateXByValue(),n.translateX=n._calcTranslateXByValue(),e._updateStaticStyles(),n._updateStaticStyles(),e._updateWidthInactive(),n._updateWidthInactive(),e._updateThumbUIByValue(),n._updateThumbUIByValue()}_onDirChangeNonRange(){this._getInput(2)._updateThumbUIByValue()}_observeHostResize(){typeof ResizeObserver>"u"||!ResizeObserver||this._ngZone.runOutsideAngular(()=>{this._resizeObserver=new ResizeObserver(()=>{this._isActive()||(this._resizeTimer&&clearTimeout(this._resizeTimer),this._onResize())}),this._resizeObserver.observe(this._elementRef.nativeElement)})}_isActive(){return this._getThumb(1)._isActive||this._getThumb(2)._isActive}_getValue(e=2){const n=this._getInput(e);return n?n.value:this.min}_skipUpdate(){return!(!this._getInput(1)?._skipUIUpdate&&!this._getInput(2)?._skipUIUpdate)}_updateDimensions(){this._cachedWidth=this._elementRef.nativeElement.offsetWidth,this._cachedLeft=this._elementRef.nativeElement.getBoundingClientRect().left}_setTrackActiveStyles(e){const n=this._trackActive.nativeElement.style,r=e.left!==n.left&&e.right!==n.right;n.left=e.left,n.right=e.right,n.transformOrigin=e.transformOrigin,r?(this._elementRef.nativeElement.classList.add("mat-mdc-slider-disable-track-animation"),this._ngZone.onStable.pipe(gn(1)).subscribe(()=>{this._elementRef.nativeElement.classList.remove("mat-mdc-slider-disable-track-animation"),n.transform=e.transform})):n.transform=e.transform}_calcTickMarkTransform(e){return`translateX(${e*(this._tickMarkTrackWidth/(this._tickMarks.length-1))}px`}_onTranslateXChange(e){this._hasViewInitialized&&(this._updateThumbUI(e),this._updateTrackUI(e),this._updateOverlappingThumbUI(e))}_onTranslateXChangeBySideEffect(e,n){this._hasViewInitialized&&(e._updateThumbUIByValue(),n._updateThumbUIByValue())}_onValueChange(e){this._hasViewInitialized&&(this._updateValueIndicatorUI(e),this._updateTickMarkUI(),this._cdr.detectChanges())}_onMinMaxOrStepChange(){this._hasViewInitialized&&(this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.markForCheck())}_onResize(){if(this._hasViewInitialized){if(this._updateDimensions(),this._isRange){const e=this._getInput(2),n=this._getInput(1);e._updateThumbUIByValue(),n._updateThumbUIByValue(),e._updateStaticStyles(),n._updateStaticStyles(),e._updateMinMax(),n._updateMinMax(),e._updateWidthInactive(),n._updateWidthInactive()}else{const e=this._getInput(2);e&&e._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_areThumbsOverlapping(){const e=this._getInput(1),n=this._getInput(2);return!(!e||!n)&&n.translateX-e.translateX<20}_updateOverlappingThumbClassNames(e){const n=e.getSibling(),r=this._getThumb(e.thumbPosition);this._getThumb(n.thumbPosition)._hostElement.classList.remove("mdc-slider__thumb--top"),r._hostElement.classList.toggle("mdc-slider__thumb--top",this._thumbsOverlap)}_updateOverlappingThumbUI(e){!this._isRange||this._skipUpdate()||this._thumbsOverlap!==this._areThumbsOverlapping()&&(this._thumbsOverlap=!this._thumbsOverlap,this._updateOverlappingThumbClassNames(e))}_updateThumbUI(e){this._skipUpdate()||(this._getThumb(2===e.thumbPosition?2:1)._hostElement.style.transform=`translateX(${e.translateX}px)`)}_updateValueIndicatorUI(e){if(this._skipUpdate())return;const n=this.displayWith(e.value);if(this._hasViewInitialized?e._valuetext=n:e._hostElement.setAttribute("aria-valuetext",n),this.discrete){1===e.thumbPosition?this.startValueIndicatorText=n:this.endValueIndicatorText=n;const r=this._getThumb(e.thumbPosition);n.length<3?r._hostElement.classList.add("mdc-slider__thumb--short-value"):r._hostElement.classList.remove("mdc-slider__thumb--short-value")}}_updateValueIndicatorUIs(){const e=this._getInput(2),n=this._getInput(1);e&&this._updateValueIndicatorUI(e),n&&this._updateValueIndicatorUI(n)}_updateTickMarkTrackUI(){if(!this.showTickMarks||this._skipUpdate())return;const e=this._step&&this._step>0?this._step:1,r=(Math.floor(this.max/e)*e-this.min)/(this.max-this.min);this._tickMarkTrackWidth=this._cachedWidth*r-6}_updateTrackUI(e){this._skipUpdate()||(this._isRange?this._updateTrackUIRange(e):this._updateTrackUINonRange(e))}_updateTrackUIRange(e){const n=e.getSibling();if(!n||!this._cachedWidth)return;const r=Math.abs(n.translateX-e.translateX)/this._cachedWidth;this._setTrackActiveStyles(e._isLeftThumb&&this._cachedWidth?{left:"auto",right:this._cachedWidth-n.translateX+"px",transformOrigin:"right",transform:`scaleX(${r})`}:{left:`${n.translateX}px`,right:"auto",transformOrigin:"left",transform:`scaleX(${r})`})}_updateTrackUINonRange(e){this._setTrackActiveStyles(this._isRtl?{left:"auto",right:"0px",transformOrigin:"right",transform:`scaleX(${1-e.fillPercentage})`}:{left:"0px",right:"auto",transformOrigin:"left",transform:`scaleX(${e.fillPercentage})`})}_updateTickMarkUI(){if(!this.showTickMarks||void 0===this.step||void 0===this.min||void 0===this.max)return;const e=this.step>0?this.step:1;this._isRange?this._updateTickMarkUIRange(e):this._updateTickMarkUINonRange(e),this._isRtl&&this._tickMarks.reverse()}_updateTickMarkUINonRange(e){const n=this._getValue();let r=Math.max(Math.round((n-this.min)/e),0),a=Math.max(Math.round((this.max-n)/e),0);this._isRtl?r++:a++,this._tickMarks=Array(r).fill(0).concat(Array(a).fill(1))}_updateTickMarkUIRange(e){const n=this._getValue(),r=this._getValue(1),a=Math.max(Math.floor((r-this.min)/e),0),o=Math.max(Math.floor((n-r)/e)+1,0),c=Math.max(Math.floor((this.max-n)/e),0);this._tickMarks=Array(a).fill(1).concat(Array(o).fill(0),Array(c).fill(1))}_getInput(e){return 2===e&&this._input?this._input:this._inputs?.length?1===e?this._inputs.first:this._inputs.last:void 0}_getThumb(e){return 2===e?this._thumbs?.last:this._thumbs?.first}_setTransition(e){this._hasAnimation=e&&!this._noopAnimations,this._elementRef.nativeElement.classList.toggle("mat-mdc-slider-with-animation",this._hasAnimation)}}return i.\u0275fac=function(e){return new(e||i)(D(Rt),D(li),D(Pn),D(_t),D(jr,8),D(yd,8),D(Tn,8))},i.\u0275cmp=$e({type:i,selectors:[["mat-slider"]],contentQueries:function(e,n,r){if(1&e&&(di(r,wR,5),di(r,FR,4)),2&e){let a;Qe(a=Ze())&&(n._input=a.first),Qe(a=Ze())&&(n._inputs=a)}},viewQuery:function(e,n){if(1&e&&(Tt(Lfe,5),Tt(xR,5)),2&e){let r;Qe(r=Ze())&&(n._trackActive=r.first),Qe(r=Ze())&&(n._thumbs=r)}},hostAttrs:[1,"mat-mdc-slider","mdc-slider"],hostVars:10,hostBindings:function(e,n){2&e&&Mt("mdc-slider--range",n._isRange)("mdc-slider--disabled",n.disabled)("mdc-slider--discrete",n.discrete)("mdc-slider--tick-marks",n.showTickMarks)("_mat-animation-noopable",n._noopAnimations)},inputs:{color:"color",disableRipple:"disableRipple",disabled:"disabled",discrete:"discrete",showTickMarks:"showTickMarks",min:"min",max:"max",step:"step",displayWith:"displayWith"},exportAs:["matSlider"],features:[Ot([{provide:Nv,useExisting:i}]),ot],ngContentSelectors:Hfe,decls:9,vars:5,consts:[[1,"mdc-slider__track"],[1,"mdc-slider__track--inactive"],[1,"mdc-slider__track--active"],[1,"mdc-slider__track--active_fill"],["trackActive",""],["class","mdc-slider__tick-marks",4,"ngIf"],[3,"discrete","thumbPosition","valueIndicatorText",4,"ngIf"],[3,"discrete","thumbPosition","valueIndicatorText"],[1,"mdc-slider__tick-marks"],["tickMarkContainer",""],[4,"ngIf"],[3,"class","transform",4,"ngFor","ngForOf"]],template:function(e,n){1&e&&(Hi(),wt(0),y(1,"div",0),De(2,"div",1),y(3,"div",2),De(4,"div",3,4),k(),oe(6,Pfe,3,1,"div",5),k(),oe(7,Bfe,1,3,"mat-slider-visual-thumb",6),De(8,"mat-slider-visual-thumb",7)),2&e&&(A(6),N("ngIf",n.showTickMarks),A(1),N("ngIf",n._isRange),A(1),N("discrete",n.discrete)("thumbPosition",2)("valueIndicatorText",n.endValueIndicatorText))},dependencies:[Gn,mi,Vfe],styles:['.mdc-slider{cursor:pointer;height:48px;margin:0 24px;position:relative;touch-action:pan-y}.mdc-slider .mdc-slider__track{position:absolute;top:50%;transform:translateY(-50%);width:100%}.mdc-slider .mdc-slider__track--active,.mdc-slider .mdc-slider__track--inactive{display:flex;height:100%;position:absolute;width:100%}.mdc-slider .mdc-slider__track--active{overflow:hidden}.mdc-slider .mdc-slider__track--active_fill{border-top-style:solid;box-sizing:border-box;height:100%;width:100%;position:relative;-webkit-transform-origin:left;transform-origin:left}[dir=rtl] .mdc-slider .mdc-slider__track--active_fill,.mdc-slider .mdc-slider__track--active_fill[dir=rtl]{-webkit-transform-origin:right;transform-origin:right}.mdc-slider .mdc-slider__track--inactive{left:0;top:0}.mdc-slider .mdc-slider__track--inactive::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__track--inactive::before{border-color:CanvasText}}.mdc-slider .mdc-slider__value-indicator-container{bottom:44px;left:var(--slider-value-indicator-container-left, 50%);pointer-events:none;position:absolute;right:var(--slider-value-indicator-container-right);transform:var(--slider-value-indicator-container-transform, translateX(-50%))}.mdc-slider .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1);align-items:center;border-radius:4px;display:flex;height:32px;padding:0 12px;transform:scale(0);transform-origin:bottom}.mdc-slider .mdc-slider__value-indicator::before{border-left:6px solid rgba(0,0,0,0);border-right:6px solid rgba(0,0,0,0);border-top:6px solid;bottom:-5px;content:"";height:0;left:var(--slider-value-indicator-caret-left, 50%);position:absolute;right:var(--slider-value-indicator-caret-right);transform:var(--slider-value-indicator-caret-transform, translateX(-50%));width:0}.mdc-slider .mdc-slider__value-indicator::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__value-indicator::after{border-color:CanvasText}}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container{pointer-events:auto}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale(1)}@media(prefers-reduced-motion){.mdc-slider .mdc-slider__value-indicator,.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:none}}.mdc-slider .mdc-slider__thumb{display:flex;left:-24px;outline:none;position:absolute;user-select:none;height:48px;width:48px}.mdc-slider .mdc-slider__thumb--top{z-index:1}.mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-style:solid;border-width:1px;box-sizing:content-box}.mdc-slider .mdc-slider__thumb-knob{box-sizing:border-box;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%)}.mdc-slider .mdc-slider__tick-marks{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:space-between;padding:0 1px;position:absolute;width:100%}.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:transform 80ms ease}@media(prefers-reduced-motion){.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:none}}.mdc-slider--disabled{cursor:auto}.mdc-slider--disabled .mdc-slider__thumb{pointer-events:none}.mdc-slider__input{cursor:pointer;left:0;margin:0;height:100%;opacity:0;pointer-events:none;position:absolute;top:0;width:100%}.mat-mdc-slider{display:inline-block;box-sizing:border-box;outline:none;vertical-align:middle;margin-left:8px;margin-right:8px;width:auto;min-width:112px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-slider .mdc-slider__thumb-knob{background-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb-knob{background-color:var(--mdc-slider-disabled-handle-color, var(--mdc-theme-on-surface, #000));border-color:var(--mdc-slider-disabled-handle-color, var(--mdc-theme-on-surface, #000))}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb::before,.mat-mdc-slider .mdc-slider__thumb::after{background-color:var(--mdc-slider-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb:hover::before,.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-surface--hover::before{opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded--background-focused::before,.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mat-mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mat-mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mat-mdc-slider .mdc-slider__track--active_fill{border-color:var(--mdc-slider-active-track-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__track--active_fill{border-color:var(--mdc-slider-disabled-active-track-color, var(--mdc-theme-on-surface, #000))}.mat-mdc-slider .mdc-slider__track--inactive{background-color:var(--mdc-slider-inactive-track-color, var(--mdc-theme-primary, #6200ee));opacity:.24}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__track--inactive{background-color:var(--mdc-slider-disabled-inactive-track-color, var(--mdc-theme-on-surface, #000));opacity:.24}.mat-mdc-slider .mdc-slider__tick-mark--active{background-color:var(--mdc-slider-with-tick-marks-active-container-color, var(--mdc-theme-on-primary, #fff));opacity:var(--mdc-slider-with-tick-marks-active-container-opacity, 0.6)}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--active{background-color:var(--mdc-slider-with-tick-marks-active-container-color, var(--mdc-theme-on-primary, #fff));opacity:var(--mdc-slider-with-tick-marks-active-container-opacity, 0.6)}.mat-mdc-slider .mdc-slider__tick-mark--inactive{background-color:var(--mdc-slider-with-tick-marks-inactive-container-color, var(--mdc-theme-primary, #6200ee));opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity, 0.6)}.mat-mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--inactive{background-color:var(--mdc-slider-with-tick-marks-disabled-container-color, var(--mdc-theme-on-surface, #000));opacity:var(--mdc-slider-with-tick-marks-inactive-container-opacity, 0.6)}.mat-mdc-slider .mdc-slider__value-indicator{background-color:var(--mdc-slider-label-container-color, #666666);opacity:1}.mat-mdc-slider .mdc-slider__value-indicator::before{border-top-color:var(--mdc-slider-label-container-color, #666666)}.mat-mdc-slider .mdc-slider__value-indicator{color:var(--mdc-slider-label-label-text-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slider .mdc-slider__track{height:var(--mdc-slider-inactive-track-height, 4px)}.mat-mdc-slider .mdc-slider__track--active{height:var(--mdc-slider-active-track-height, 6px);top:calc((var(--mdc-slider-inactive-track-height, 4px) - var(--mdc-slider-active-track-height, 6px)) / 2)}.mat-mdc-slider .mdc-slider__track--active_fill{border-top-width:var(--mdc-slider-active-track-height, 6px)}.mat-mdc-slider .mdc-slider__track--inactive{height:var(--mdc-slider-inactive-track-height, 4px)}.mat-mdc-slider .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-mark--inactive{height:var(--mdc-slider-with-tick-marks-container-size, 2px);width:var(--mdc-slider-with-tick-marks-container-size, 2px)}.mat-mdc-slider.mdc-slider--disabled{opacity:0.38}.mat-mdc-slider .mdc-slider__value-indicator-text{letter-spacing:var(--mdc-slider-label-label-text-tracking, 0.0071428571em);font-size:var(--mdc-slider-label-label-text-size, 0.875rem);font-family:var(--mdc-slider-label-label-text-font, Roboto, sans-serif);font-weight:var(--mdc-slider-label-label-text-weight, 500);line-height:var(--mdc-slider-label-label-text-line-height, 1.375rem)}.mat-mdc-slider .mdc-slider__track--active{border-radius:var(--mdc-slider-active-track-shape, 9999px)}.mat-mdc-slider .mdc-slider__track--inactive{border-radius:var(--mdc-slider-inactive-track-shape, 9999px)}.mat-mdc-slider .mdc-slider__thumb-knob{border-radius:var(--mdc-slider-handle-shape, 50%);width:var(--mdc-slider-handle-width, 20px);height:var(--mdc-slider-handle-height, 20px);border-style:solid;border-width:calc(var(--mdc-slider-handle-height, 20px) / 2) calc(var(--mdc-slider-handle-width, 20px) / 2)}.mat-mdc-slider .mdc-slider__tick-mark--active,.mat-mdc-slider .mdc-slider__tick-mark--inactive{border-radius:var(--mdc-slider-with-tick-marks-container-shape, 50%)}.mat-mdc-slider .mdc-slider__thumb-knob{box-shadow:var(--mdc-slider-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb-knob{background-color:var(--mdc-slider-hover-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-hover-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:hover .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb-knob{background-color:var(--mdc-slider-focus-handle-color, var(--mdc-theme-primary, #6200ee));border-color:var(--mdc-slider-focus-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--focused .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb:not(:disabled):active .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mat-mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mat-mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:var(--mdc-slider-with-overlap-handle-outline-color, #fff);border-width:var(--mdc-slider-with-overlap-handle-outline-width, 1px)}.mat-mdc-slider .mdc-slider__input{box-sizing:content-box;pointer-events:auto}.mat-mdc-slider .mdc-slider__input.mat-mdc-slider-input-no-pointer-events{pointer-events:none}.mat-mdc-slider .mdc-slider__input.mat-slider__right-input{left:auto;right:0}.mat-mdc-slider .mdc-slider__thumb,.mat-mdc-slider .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mat-mdc-slider-with-animation.mat-mdc-slider-disable-track-animation .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider.mdc-slider--discrete .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__thumb,.mat-mdc-slider.mat-mdc-slider-with-animation .mdc-slider__track--active_fill{transition-duration:80ms}.mat-mdc-slider.mat-mdc-slider-with-animation.mat-mdc-slider-disable-track-animation .mdc-slider__track--active_fill{transition-duration:0ms}.mat-mdc-slider .mdc-slider__track,.mat-mdc-slider .mdc-slider__thumb{pointer-events:none}.mat-mdc-slider .mdc-slider__value-indicator{opacity:var(--mat-mdc-slider-value-indicator-opacity, 1)}.mat-mdc-slider .mat-ripple .mat-ripple-element{background-color:var(--mat-mdc-slider-ripple-color, transparent)}.mat-mdc-slider .mat-ripple .mat-mdc-slider-hover-ripple{background-color:var(--mat-mdc-slider-hover-ripple-color, transparent)}.mat-mdc-slider .mat-ripple .mat-mdc-slider-focus-ripple,.mat-mdc-slider .mat-ripple .mat-mdc-slider-active-ripple{background-color:var(--mat-mdc-slider-focus-ripple-color, transparent)}.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__thumb,.mat-mdc-slider._mat-animation-noopable.mdc-slider--discrete .mdc-slider__track--active_fill,.mat-mdc-slider._mat-animation-noopable .mdc-slider__value-indicator{transition:none}.mat-mdc-slider .mat-mdc-focus-indicator::before{border-radius:50%}.mdc-slider__thumb--focused .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),i})();const Ufe={provide:ba,useExisting:ci(()=>ID),multi:!0};let ID=(()=>{class i{get value(){return vr(this._hostElement.value)}set value(e){const n=vr(e).toString();this._hasSetInitialValue?this._isActive||(this._hostElement.value=n,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges()):this._initialValue=n}get translateX(){return this._slider.min>=this._slider.max?(this._translateX=0,this._translateX):(void 0===this._translateX&&(this._translateX=this._calcTranslateXByValue()),this._translateX)}set translateX(e){this._translateX=e}get min(){return vr(this._hostElement.min)}set min(e){this._hostElement.min=vr(e).toString(),this._cdr.detectChanges()}get max(){return vr(this._hostElement.max)}set max(e){this._hostElement.max=vr(e).toString(),this._cdr.detectChanges()}get step(){return vr(this._hostElement.step)}set step(e){this._hostElement.step=vr(e).toString(),this._cdr.detectChanges()}get disabled(){return xt(this._hostElement.disabled)}set disabled(e){this._hostElement.disabled=xt(e),this._cdr.detectChanges(),this._slider.disabled!==this.disabled&&(this._slider.disabled=this.disabled)}get percentage(){return this._slider.min>=this._slider.max?this._slider._isRtl?1:0:(this.value-this._slider.min)/(this._slider.max-this._slider.min)}get fillPercentage(){return this._slider._cachedWidth?0===this._translateX?0:this.translateX/this._slider._cachedWidth:this._slider._isRtl?1:0}_setIsFocused(e){this._isFocused=e}constructor(e,n,r,a){this._ngZone=e,this._elementRef=n,this._cdr=r,this._slider=a,this.valueChange=new ht,this.dragStart=new ht,this.dragEnd=new ht,this.thumbPosition=2,this._knobRadius=8,this._isActive=!1,this._isFocused=!1,this._hasSetInitialValue=!1,this._destroyed=new He,this._skipUIUpdate=!1,this._onChangeFn=()=>{},this._onTouchedFn=()=>{},this._hostElement=n.nativeElement,this._ngZone.runOutsideAngular(()=>{this._hostElement.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._hostElement.addEventListener("pointermove",this._onPointerMove.bind(this)),this._hostElement.addEventListener("pointerup",this._onPointerUp.bind(this))})}ngOnDestroy(){this._hostElement.removeEventListener("pointerdown",this._onPointerDown),this._hostElement.removeEventListener("pointermove",this._onPointerMove),this._hostElement.removeEventListener("pointerup",this._onPointerUp),this._destroyed.next(),this._destroyed.complete(),this.dragStart.complete(),this.dragEnd.complete()}initProps(){this._updateWidthInactive(),this.disabled!==this._slider.disabled&&(this._slider.disabled=!0),this.step=this._slider.step,this.min=this._slider.min,this.max=this._slider.max,this._initValue()}initUI(){this._updateThumbUIByValue()}_initValue(){this._hasSetInitialValue=!0,void 0===this._initialValue?this.value=this._getDefaultValue():(this._hostElement.value=this._initialValue,this._updateThumbUIByValue(),this._slider._onValueChange(this),this._cdr.detectChanges())}_getDefaultValue(){return this.min}_onBlur(){this._setIsFocused(!1),this._onTouchedFn()}_onFocus(){this._setIsFocused(!0)}_onChange(){this.valueChange.emit(this.value),this._isActive&&this._updateThumbUIByValue({withAnimation:!0})}_onInput(){this._onChangeFn(this.value),(this._slider.step||!this._isActive)&&this._updateThumbUIByValue({withAnimation:!0}),this._slider._onValueChange(this)}_onNgControlValueChange(){(!this._isActive||!this._isFocused)&&(this._slider._onValueChange(this),this._updateThumbUIByValue()),this._slider.disabled=this._formControl.disabled}_onPointerDown(e){this.disabled||0!==e.button||(this._isActive=!0,this._setIsFocused(!0),this._updateWidthActive(),this._slider._updateDimensions(),this._slider.step||this._updateThumbUIByPointerEvent(e,{withAnimation:!0}),this.disabled||(this._handleValueCorrection(e),this.dragStart.emit({source:this,parent:this._slider,value:this.value})))}_handleValueCorrection(e){this._skipUIUpdate=!0,setTimeout(()=>{this._skipUIUpdate=!1,this._fixValue(e)},0)}_fixValue(e){const n=e.clientX-this._slider._cachedLeft,r=this._slider._cachedWidth,a=0===this._slider.step?1:this._slider.step,o=Math.floor((this._slider.max-this._slider.min)/a),f=Math.round((this._slider._isRtl?1-n/r:n/r)*o)/o*(this._slider.max-this._slider.min)+this._slider.min,F=Math.round(f/a)*a;if(F===this.value)return this._slider._onValueChange(this),void(this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(e,{withAnimation:this._slider._hasAnimation}));this.value=F,this.valueChange.emit(this.value),this._onChangeFn(this.value),this._slider._onValueChange(this),this._slider.step>0?this._updateThumbUIByValue():this._updateThumbUIByPointerEvent(e,{withAnimation:this._slider._hasAnimation})}_onPointerMove(e){!this._slider.step&&this._isActive&&this._updateThumbUIByPointerEvent(e)}_onPointerUp(){this._isActive&&(this._isActive=!1,this.dragEnd.emit({source:this,parent:this._slider,value:this.value}),setTimeout(()=>this._updateWidthInactive()))}_clamp(e){return Math.max(Math.min(e,this._slider._cachedWidth),0)}_calcTranslateXByValue(){return this._slider._isRtl?(1-this.percentage)*this._slider._cachedWidth:this.percentage*this._slider._cachedWidth}_calcTranslateXByPointerEvent(e){return e.clientX-this._slider._cachedLeft}_updateWidthActive(){this._hostElement.style.padding=`0 ${this._slider._inputPadding}px`,this._hostElement.style.width=`calc(100% + ${this._slider._inputPadding}px)`}_updateWidthInactive(){this._hostElement.style.padding="0px",this._hostElement.style.width="calc(100% + 48px)",this._hostElement.style.left="-24px"}_updateThumbUIByValue(e){this.translateX=this._clamp(this._calcTranslateXByValue()),this._updateThumbUI(e)}_updateThumbUIByPointerEvent(e,n){this.translateX=this._clamp(this._calcTranslateXByPointerEvent(e)),this._updateThumbUI(n)}_updateThumbUI(e){this._slider._setTransition(!!e?.withAnimation),this._slider._onTranslateXChange(this)}writeValue(e){this.value=e}registerOnChange(e){this._onChangeFn=e}registerOnTouched(e){this._onTouchedFn=e}setDisabledState(e){this.disabled=e}focus(){this._hostElement.focus()}blur(){this._hostElement.blur()}}return i.\u0275fac=function(e){return new(e||i)(D(Rt),D(_t),D(li),D(Nv))},i.\u0275dir=Oe({type:i,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(e,n){1&e&&pe("change",function(){return n._onChange()})("input",function(){return n._onInput()})("blur",function(){return n._onBlur()})("focus",function(){return n._onFocus()}),2&e&&Nt("aria-valuetext",n._valuetext)},inputs:{value:"value"},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[Ot([Ufe,{provide:wR,useExisting:i}])]}),i})(),qfe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt,Mr,Rs]}),i})();function $fe(i,t){if(1&i){const e=tt();y(0,"button",8),pe("click",function(){return Te(e),Ie(X(2).media.rate())}),y(1,"mat-icon"),B(2,"speed"),k()()}}function Kfe(i,t){if(1&i){const e=tt();y(0,"button",8),pe("click",function(){return Te(e),Ie(X(2).media.rewind(10))}),y(1,"mat-icon"),B(2,"replay_10"),k()()}}function Qfe(i,t){if(1&i){const e=tt();y(0,"button",8),pe("click",function(){return Te(e),Ie(X(2).media.resume())}),y(1,"mat-icon"),B(2,"play_arrow"),k()()}}function Zfe(i,t){if(1&i){const e=tt();y(0,"button",8),pe("click",function(){return Te(e),Ie(X(2).media.pause())}),y(1,"mat-icon"),B(2,"pause"),k()()}}function Xfe(i,t){if(1&i){const e=tt();y(0,"button",8),pe("click",function(){return Te(e),Ie(X(2).media.forward(10))}),y(1,"mat-icon"),B(2,"forward_10"),k()()}}function Jfe(i,t){if(1&i){const e=tt();y(0,"button",8),pe("click",function(){return Te(e),Ie(X(2).media.mute())}),y(1,"mat-icon"),B(2,"volume_off"),k()()}}function epe(i,t){if(1&i){const e=tt();y(0,"button",8),pe("click",function(){return Te(e),Ie(X(2).media.mute())}),y(1,"mat-icon"),B(2,"volume_up"),k()()}}function tpe(i,t){if(1&i){const e=tt();y(0,"div",2)(1,"div",3)(2,"div",4),oe(3,$fe,3,0,"button",5),oe(4,Kfe,3,0,"button",5),y(5,"button",6),pe("click",function(){return Te(e),Ie(X().media.previous())}),y(6,"mat-icon"),B(7,"skip_previous"),k()(),oe(8,Qfe,3,0,"button",5),oe(9,Zfe,3,0,"button",5),y(10,"button",6),pe("click",function(){return Te(e),Ie(X().media.next())}),y(11,"mat-icon"),B(12,"skip_next"),k()(),oe(13,Xfe,3,0,"button",5),oe(14,Jfe,3,0,"button",5),oe(15,epe,3,0,"button",5),k()(),De(16,"div",7),k()}if(2&i){const e=X();A(3),N("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),A(1),N("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),A(1),N("disabled",!e.media.canPrevious),A(3),N("ngIf",e.media.paused),A(1),N("ngIf",!e.media.paused),A(1),N("disabled",!e.media.canNext),A(3),N("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),A(1),N("ngIf",!e.media.videoMode&&e.media.muted),A(1),N("ngIf",!e.media.videoMode&&!e.media.muted)}}function ipe(i,t){if(1&i&&(y(0,"div",13),De(1,"img",14),y(2,"div",15)(3,"div",16),B(4),k(),y(5,"div",17),B(6),k()()()),2&i){const e=X(2);A(1),N("src",null==e.media.current?null:e.media.current.artwork,An),A(3),Ct(null==e.media.current?null:e.media.current.title),A(2),Ct(null==e.media.current?null:e.media.current.artist)}}function npe(i,t){1&i&&De(0,"iframe",19),2&i&&N("src",X(3).media.youtubeUrl,Hm)}function rpe(i,t){if(1&i&&(y(0,"div",13),oe(1,npe,1,1,"iframe",18),k()),2&i){const e=X(2);A(1),N("ngIf",e.media.youtubeUrl)}}function ape(i,t){if(1&i&&(y(0,"div",13)(1,"video",20),De(2,"source",21),k()()),2&i){const e=X(2);A(2),N("src",e.media.videoUrl,An)}}function ope(i,t){if(1&i){const e=tt();y(0,"button",30),pe("click",function(){return Te(e),Ie(X(3).media.rate())}),y(1,"mat-icon"),B(2,"speed"),k()()}}function spe(i,t){if(1&i){const e=tt();y(0,"button",31),pe("click",function(){return Te(e),Ie(X(3).media.rewind(10))}),y(1,"mat-icon"),B(2,"replay_10"),k()()}}function lpe(i,t){if(1&i){const e=tt();y(0,"button",32),pe("click",function(){return Te(e),Ie(X(3).media.resume())}),y(1,"mat-icon"),B(2,"play_arrow"),k()()}}function cpe(i,t){if(1&i){const e=tt();y(0,"button",33),pe("click",function(){return Te(e),Ie(X(3).media.pause())}),y(1,"mat-icon"),B(2,"pause"),k()()}}function dpe(i,t){if(1&i){const e=tt();y(0,"button",34),pe("click",function(){return Te(e),Ie(X(3).media.forward(10))}),y(1,"mat-icon"),B(2,"forward_10"),k()()}}function upe(i,t){if(1&i){const e=tt();y(0,"div",35)(1,"div",36),B(2),zi(3,"time"),k(),y(4,"div",37)(5,"mat-slider",38)(6,"input",39),pe("ngModelChange",function(r){return Te(e),Ie(X(3).media.time=r)}),k()()(),y(7,"div",40),B(8),zi(9,"time"),k()()}if(2&i){const e=X(3);A(2),Ct(Ui(3,7,e.media.time)),A(3),N("displayWith",e.formatLabel)("max",e.media.duration)("min",0)("step",1),A(1),N("ngModel",e.media.time),A(2),Ct(Ui(9,9,e.media.duration))}}function hpe(i,t){if(1&i){const e=tt();y(0,"div",3)(1,"div",4),oe(2,ope,3,0,"button",22),oe(3,spe,3,0,"button",23),y(4,"button",24),pe("click",function(){return Te(e),Ie(X(2).media.previous())}),y(5,"mat-icon"),B(6,"skip_previous"),k()(),oe(7,lpe,3,0,"button",25),oe(8,cpe,3,0,"button",26),y(9,"button",27),pe("click",function(){return Te(e),Ie(X(2).media.next())}),y(10,"mat-icon"),B(11,"skip_next"),k()(),oe(12,dpe,3,0,"button",28),k(),oe(13,upe,10,11,"div",29),k()}if(2&i){const e=X(2);A(2),N("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),A(1),N("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),A(1),N("disabled",!e.media.canPrevious),A(3),N("ngIf",e.media.paused),A(1),N("ngIf",!e.media.paused),A(1),N("disabled",!e.media.canNext),A(3),N("ngIf","Podcast"===(null==e.media.current?null:e.media.current.type)),A(1),N("ngIf",!e.media.videoMode&&!e.miniplayer)}}function mpe(i,t){if(1&i){const e=tt();y(0,"button",46),pe("click",function(){return Te(e),Ie(X(3).expanded=!0)}),y(1,"mat-icon"),B(2,"expand_less"),k()()}}function fpe(i,t){if(1&i){const e=tt();y(0,"button",46),pe("click",function(){return Te(e),Ie(X(3).expanded=!1)}),y(1,"mat-icon"),B(2,"expand_more"),k()()}}function ppe(i,t){if(1&i){const e=tt();y(0,"div",41)(1,"div",42),oe(2,mpe,3,0,"button",43),oe(3,fpe,3,0,"button",43),y(4,"button",44)(5,"mat-icon"),B(6,"queue_music"),k()(),y(7,"button",45),pe("click",function(){return Te(e),Ie(X(2).media.exit())}),y(8,"mat-icon"),B(9,"close"),k()()()()}if(2&i){const e=X(2);A(2),N("ngIf",!e.expanded),A(1),N("ngIf",e.expanded)}}function gpe(i,t){if(1&i){const e=tt();y(0,"button",51),pe("click",function(){return Te(e),Ie(X(3).media.mute())}),y(1,"mat-icon"),B(2,"volume_off"),k()()}}function _pe(i,t){if(1&i){const e=tt();y(0,"button",52),pe("click",function(){return Te(e),Ie(X(3).media.mute())}),y(1,"mat-icon"),B(2,"volume_up"),k()()}}function bpe(i,t){1&i&&(y(0,"button",44)(1,"mat-icon"),B(2,"queue_music"),k()())}function ype(i,t){if(1&i){const e=tt();y(0,"button",45),pe("click",function(){return Te(e),Ie(X(3).media.exit())}),y(1,"mat-icon"),B(2,"close"),k()()}}function vpe(i,t){if(1&i&&(y(0,"div",41)(1,"div",42),oe(2,gpe,3,0,"button",47),oe(3,_pe,3,0,"button",48),oe(4,bpe,3,0,"button",49),oe(5,ype,3,0,"button",50),k()()),2&i){const e=X(2);A(2),N("ngIf",e.media.muted),A(1),N("ngIf",!e.media.muted),A(1),N("ngIf",!e.miniplayer),A(1),N("ngIf",!e.miniplayer)}}const wpe=function(i,t){return{"media-player-large":i,"media-player-maximized":t}};function Fpe(i,t){if(1&i&&(y(0,"div",9),oe(1,ipe,7,3,"div",10),oe(2,rpe,2,1,"div",10),oe(3,ape,3,1,"div",10),oe(4,hpe,14,8,"div",11),oe(5,ppe,10,2,"div",12),oe(6,vpe,6,4,"div",12),k()),2&i){const e=X();N("ngClass",cl(7,wpe,e.expanded,e.maximized)),A(1),N("ngIf",!e.media.videoMode&&!e.miniplayer),A(1),N("ngIf","YouTube"===(null==e.media.current?null:e.media.current.type)&&!e.miniplayer),A(1),N("ngIf","Video"===(null==e.media.current?null:e.media.current.type)&&!e.miniplayer),A(1),N("ngIf",!e.maximized),A(1),N("ngIf",!e.maximized&&e.media.videoMode),A(1),N("ngIf",!e.maximized&&!e.media.videoMode)}}class A0{constructor(t,e,n,r,a){this.options=t,this.media=e,this.profileService=n,this.utilities=r,this.dialog=a,this.miniplayer=!1,this.expanded=!1,this.maximized=!1}ngOnInit(){console.log("miniplayer:",this.miniplayer)}formatLabel(t){return Ku.time(t)}minimize(){window.resizeTo(200,5)}mediaConnect(){const t=document.querySelector("audio");t?(navigator.mediaSession.metadata=new MediaMetadata({title:"LifeLike",artist:"AlexiAction",album:"Blockcore Notes",artwork:[{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"96x96",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"128x128",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"192x192",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"256x256",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"384x384",type:"image/jpg"},{src:"https://cdn.pixabay.com/user/2022/04/24/14-49-29-962_250x250.jpg",sizes:"512x512",type:"image/jpg"}]}),navigator.mediaSession.setActionHandler("play",Se(function*(){try{yield t.play()}catch(e){console.error(e.name,e.message)}})),navigator.mediaSession.setActionHandler("pause",()=>{t.pause()}),t.addEventListener("play",()=>{navigator.mediaSession.playbackState="playing"}),t.addEventListener("pause",()=>{navigator.mediaSession.playbackState="paused"})):console.log("Unable to find audio element")}}A0.\u0275fac=function(t){return new(t||A0)(D(Er),D(Pd),D(Vn),D(Nn),D(ja))},A0.\u0275cmp=$e({type:A0,selectors:[["app-media-player"]],inputs:{miniplayer:"miniplayer"},decls:2,vars:2,consts:[["class","media-player media-player-small",4,"ngIf"],["class","media-player",3,"ngClass",4,"ngIf"],[1,"media-player","media-player-small"],[1,"media-controls"],[1,"media-controls-container"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"disabled","click"],[1,"draggable"],["mat-icon-button","",3,"click"],[1,"media-player",3,"ngClass"],["class","media-info",4,"ngIf"],["class","media-controls",4,"ngIf"],["class","media-audio",4,"ngIf"],[1,"media-info"],[1,"music-album",3,"src"],[1,"media-info-text","hide-small"],[1,"music-title"],[1,"music-artist"],["id","ytplayer","class","youtube-video","type","text/html","frameborder","0","allowfullscreen","","allow","autoplay",3,"src",4,"ngIf"],["id","ytplayer","type","text/html","frameborder","0","allowfullscreen","","allow","autoplay",1,"youtube-video",3,"src"],["controls","","autoplay","true","preload","none",1,"event-video"],["type","video/mp4",3,"src"],["matTooltip","Change speed","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Skip back 10 seconds","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Previous","mat-icon-button","",3,"disabled","click"],["matTooltip","Play","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Pause","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Next","mat-icon-button","",3,"disabled","click"],["matTooltip","Skip forward 10 seconds","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["class","media-timeline",4,"ngIf"],["matTooltip","Change speed","mat-icon-button","",3,"click"],["matTooltip","Skip back 10 seconds","mat-icon-button","",1,"hide-small",3,"click"],["matTooltip","Play","mat-icon-button","",3,"click"],["matTooltip","Pause","mat-icon-button","",3,"click"],["matTooltip","Skip forward 10 seconds","mat-icon-button","",1,"hide-small",3,"click"],[1,"media-timeline"],[1,"media-timeline-1","hide-small"],[1,"media-timeline-2"],["discrete","",1,"media-slider",3,"displayWith","max","min","step"],["matSliderThumb","",3,"ngModel","ngModelChange"],[1,"media-timeline-3","hide-small"],[1,"media-audio"],[1,"media-audio-container"],["class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["routerLink","/queue","mat-icon-button","",1,"hide-small"],["matTooltip","Exit Media Player","mat-icon-button","",3,"click"],["mat-icon-button","",1,"hide-small",3,"click"],["matTooltip","Mute","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Unmute","class","hide-small","mat-icon-button","",3,"click",4,"ngIf"],["routerLink","/queue","class","hide-small","mat-icon-button","",4,"ngIf"],["matTooltip","Exit Media Player","mat-icon-button","",3,"click",4,"ngIf"],["matTooltip","Mute","mat-icon-button","",1,"hide-small",3,"click"],["matTooltip","Unmute","mat-icon-button","",1,"hide-small",3,"click"]],template:function(t,e){1&t&&(oe(0,tpe,17,9,"div",0),oe(1,Fpe,7,10,"div",1)),2&t&&(N("ngIf",e.miniplayer),A(1),N("ngIf",!e.miniplayer))},dependencies:[Pa,mi,Ya,Do,pr,Fl,uo,Wa,Ga,jfe,ID,Ku],styles:[".media-player[_ngcontent-%COMP%]{display:flex;flex-direction:row;background-color:#212121;height:96px}.media-player-small[_ngcontent-%COMP%]{height:env(titlebar-area-height,33px)!important}.media-controls-container[_ngcontent-%COMP%]{align-self:center;flex:2 2 auto;-webkit-app-region:no-drag}.media-audio-container[_ngcontent-%COMP%]{align-self:center;flex:2 2 auto}.media-player-small[_ngcontent-%COMP%] .media-controls-container[_ngcontent-%COMP%]{align-self:flex-start}.media-player-small[_ngcontent-%COMP%] .media-controls[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;text-align:left}.media-info[_ngcontent-%COMP%]{flex:1 1 33%;display:flex;flex-direction:row}.media-controls[_ngcontent-%COMP%]{flex:2 2 auto;width:360px;text-align:center;justify-content:center;display:flex;flex-direction:column}.media-player-small[_ngcontent-%COMP%] .media-controls[_ngcontent-%COMP%]{width:auto}.media-audio[_ngcontent-%COMP%]{padding-right:1.4em;flex:1 1 33%;display:flex;text-align:right}.music-album[_ngcontent-%COMP%]{height:100%}.music-title[_ngcontent-%COMP%]{font-size:.8em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-weight:700;margin-bottom:.4em}.music-artist[_ngcontent-%COMP%]{color:#ffffff80;font-size:.65em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical}.media-info-text[_ngcontent-%COMP%]{padding:.8em;align-self:center}.media-timeline[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;font-size:.8em;justify-content:center}.media-timeline-1[_ngcontent-%COMP%]{flex:1 1 auto;width:100px;align-self:center}.media-timeline-2[_ngcontent-%COMP%]{flex:2 2 auto;align-self:center}.media-timeline-3[_ngcontent-%COMP%]{flex:1 1 auto;width:100px;align-self:center}.youtube-video[_ngcontent-%COMP%]{width:100%;display:inline-block;margin-top:.2em;aspect-ratio:16 / 9}.media-player-large[_ngcontent-%COMP%]{height:256px}.media-player-maximized[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;right:0;z-index:1000;height:100%}.floating-maximize[_ngcontent-%COMP%]{position:absolute;right:10px;top:80px;z-index:1001}.media-player-logo[_ngcontent-%COMP%]{margin-left:6px}@media only screen and (min-height: 201px){.media-player-logo[_ngcontent-%COMP%]{display:none}}"]});const xpe=["drawer"],kpe=["draweraccount"],Cpe=["searchInput"];function Dpe(i,t){1&i&&(y(0,"div"),De(1,"router-outlet"),k())}function Mpe(i,t){1&i&&De(0,"app-media-player",42),2&i&&N("miniplayer",!0)}function Epe(i,t){if(1&i){const e=tt();y(0,"button",43),pe("click",function(){return Te(e),X(),Ie(en(20).toggle())}),y(1,"mat-icon"),B(2,"menu"),k()()}}function Spe(i,t){1&i&&De(0,"img",44)}function Ape(i,t){if(1&i){const e=tt();y(0,"button",45),pe("click",function(){return Te(e),Ie(X(2).goBack())}),y(1,"mat-icon",46),B(2,"arrow_back"),k()()}}function Tpe(i,t){if(1&i&&(y(0,"div",47),B(1),zi(2,"async"),k()),2&i){const e=X(2);A(1),Ct(Ui(2,1,e.appState.title$))}}function Ipe(i,t){if(1&i){const e=tt();y(0,"button",49),pe("click",function(){return Ie(Te(e).$implicit.click())}),y(1,"mat-icon"),B(2),k()()}if(2&i){const e=t.$implicit;N("matTooltip",e.tooltip),A(2),Ct(e.icon)}}function Npe(i,t){if(1&i&&(y(0,"span"),oe(1,Ipe,3,2,"button",48),k()),2&i){const e=X(2);A(1),N("ngForOf",e.appState.actions)}}function Lpe(i,t){if(1&i&&(y(0,"span"),B(1),k()),2&i){const e=X().$implicit;A(1),Ct(e.display_name)}}function Ope(i,t){if(1&i&&(y(0,"span"),B(1),k()),2&i){const e=X().$implicit;A(1),Ct(e.name)}}function Rpe(i,t){if(1&i&&(y(0,"span"),B(1),k()),2&i){const e=X().$implicit;A(1),ri("(",e.nip05,")")}}function Ppe(i,t){if(1&i){const e=tt();y(0,"mat-option",56),pe("onSelectionChange",function(){const a=Te(e).$implicit;return Ie(X(3).searchService.open(a))}),y(1,"span"),De(2,"img",57),k(),oe(3,Lpe,2,1,"span",0),oe(4,Ope,2,1,"span",0),oe(5,Rpe,2,1,"span",0),k()}if(2&i){const e=t.$implicit;N("value",e.id),A(2),N("src",e.picture,An),A(1),N("ngIf",e.display_name),A(1),N("ngIf",!e.display_name),A(1),N("ngIf",e.nip05)}}function Bpe(i,t){if(1&i&&(y(0,"form",50)(1,"mat-form-field",51)(2,"mat-label"),B(3,"Search"),k(),De(4,"input",52,53),y(6,"mat-autocomplete",null,54),oe(8,Ppe,6,5,"mat-option",55),zi(9,"async"),k()()()),2&i){const e=en(7),n=X(2);A(4),N("formControl",n.searchControl)("matAutocomplete",e),A(4),N("ngForOf",Ui(9,3,n.searchService.results$))}}function Hpe(i,t){if(1&i){const e=tt();y(0,"button",45),pe("click",function(){return Te(e),Ie(X(2).searchVisibility(!1))}),y(1,"mat-icon"),B(2,"close"),k()()}}function Vpe(i,t){if(1&i){const e=tt();y(0,"button",45),pe("click",function(){return Te(e),Ie(X(2).searchVisibility(!0))}),y(1,"mat-icon"),B(2,"search"),k()()}}function Ype(i,t){1&i&&De(0,"button",58),2&i&&N("mtBasicSpinner",!0)}function jpe(i,t){if(1&i){const e=tt();y(0,"img",59),pe("click",function(){return Te(e),X(),Ie(en(61).toggle())}),k()}if(2&i){const e=X(2);N("src",null==e.profile?null:e.profile.picture,An)}}function zpe(i,t){1&i&&(y(0,"span"),B(1,"Home"),k())}function Upe(i,t){1&i&&(y(0,"span"),B(1,"Feed"),k())}function Wpe(i,t){1&i&&(y(0,"span"),B(1,"Notifications"),k())}function Gpe(i,t){1&i&&(y(0,"span"),B(1,"People"),k())}function qpe(i,t){1&i&&(y(0,"span"),B(1,"Circles"),k())}function $pe(i,t){1&i&&(y(0,"span"),B(1,"Notes"),k())}function Kpe(i,t){1&i&&(y(0,"span"),B(1,"Relays"),k())}function Qpe(i,t){1&i&&(y(0,"mat-icon"),B(1,"chevron_left"),k())}function Zpe(i,t){1&i&&(y(0,"mat-icon"),B(1,"chevron_right"),k())}function Xpe(i,t){if(1&i&&De(0,"img",60),2&i){const e=X(2);N("src",null==e.profile?null:e.profile.banner,An)}}function Jpe(i,t){1&i&&De(0,"img",60),2&i&&N("src",X(2).bgimagePath,An)}function ege(i,t){1&i&&(y(0,"span"),B(1,"@"),k())}function tge(i,t){1&i&&De(0,"app-media-player",61)}const ige=function(i,t){return{"sidenav-labels":i,"sidenav-small":t}},nge=function(){return["/"]},Ks=function(){return{exact:!0}},rge=function(){return["/feed"]},age=function(){return["/notifications"]},oge=function(){return["/people"]},sge=function(){return["/circles"]},lge=function(){return["/notes"]},cge=function(){return["/relays"]},dge=function(i){return{"new-post-small":i}},kR=function(){return["/profile"]},uge=function(i){return["/following",i]},hge=function(i){return["/p",i]},mge=function(i){return["/badges",i]},fge=function(){return["/settings"]},pge=function(){return["/about"]},gge=function(){return["/logout"]};function _ge(i,t){if(1&i){const e=tt();y(0,"div",2)(1,"div",3),De(2,"img",4),oe(3,Mpe,1,1,"app-media-player",5),k(),y(4,"mat-toolbar",6),oe(5,Epe,3,0,"button",7),zi(6,"async"),De(7,"span"),oe(8,Spe,1,0,"img",8),zi(9,"async"),oe(10,Ape,3,0,"button",9),oe(11,Tpe,3,3,"div",10),oe(12,Npe,2,1,"span",0),oe(13,Bpe,10,5,"form",11),oe(14,Hpe,3,0,"button",9),oe(15,Vpe,3,0,"button",9),oe(16,Ype,1,1,"button",12),oe(17,jpe,1,1,"img",13),k(),y(18,"mat-sidenav-container",14)(19,"mat-sidenav",15,16),zi(21,"async"),zi(22,"async"),zi(23,"async"),y(24,"mat-nav-list")(25,"a",17),pe("click",function(){return Te(e),Ie(X().toggleMenu())}),y(26,"mat-icon"),B(27,"home"),k(),oe(28,zpe,2,0,"span",0),k(),y(29,"a",17),pe("click",function(){return Te(e),Ie(X().toggleMenu())}),y(30,"mat-icon"),B(31,"notes"),k(),oe(32,Upe,2,0,"span",0),k(),y(33,"a",17),pe("click",function(){return Te(e),Ie(X().toggleMenu())}),y(34,"mat-icon",18),zi(35,"async"),zi(36,"async"),B(37,"notifications"),k(),oe(38,Wpe,2,0,"span",0),k(),y(39,"a",17),pe("click",function(){return Te(e),Ie(X().toggleMenu())}),y(40,"mat-icon"),B(41,"people"),k(),oe(42,Gpe,2,0,"span",0),k(),y(43,"a",17),pe("click",function(){return Te(e),Ie(X().toggleMenu())}),y(44,"mat-icon"),B(45,"animation"),k(),oe(46,qpe,2,0,"span",0),k(),y(47,"a",17),pe("click",function(){return Te(e),Ie(X().toggleMenu())}),y(48,"mat-icon"),B(49,"bookmarks"),k(),oe(50,$pe,2,0,"span",0),k(),y(51,"a",17),pe("click",function(){return Te(e),Ie(X().toggleMenu())}),y(52,"mat-icon"),B(53,"dns"),k(),oe(54,Kpe,2,0,"span",0),k(),y(55,"a",19),pe("click",function(){return Te(e),Ie(X().toggleMenuSize())}),oe(56,Qpe,2,0,"mat-icon",0),oe(57,Zpe,2,0,"mat-icon",0),k()(),y(58,"div",20)(59,"img",21),pe("click",function(){return Te(e),Ie(X().navigationService.createNote())}),k()()(),y(60,"mat-sidenav",22,23)(62,"div",24)(63,"button",25),pe("click",function(){return Te(e),Ie(en(61).toggle())}),y(64,"mat-icon"),B(65,"close"),k()(),y(66,"button",26),pe("click",function(){Te(e);const r=X();return Ie(r.theme.darkMode=!r.theme.darkMode)}),y(67,"mat-icon",27),B(68),k()(),y(69,"header")(70,"div",28),pe("click",function(){return Te(e),Ie(X().openProfile())}),oe(71,Xpe,1,1,"img",29),oe(72,Jpe,1,1,"img",29),y(73,"div",30)(74,"h3"),oe(75,ege,2,0,"span",0),B(76),k(),y(77,"p"),B(78),k()()(),y(79,"a",31),pe("click",function(){return Te(e),Ie(X().toggleProfileMenu())}),y(80,"div",32),De(81,"img",33),k()()(),y(82,"div",34)(83,"div",35)(84,"ul")(85,"li"),B(86,"0 "),y(87,"span"),B(88,"Followers"),k()(),y(89,"li")(90,"a",36),pe("click",function(){return Te(e),Ie(X().toggleProfileMenu())}),B(91),y(92,"span"),B(93,"Following"),k()()()()()()(),De(94,"mat-divider"),y(95,"mat-nav-list")(96,"a",17),pe("click",function(){return Te(e),Ie(X().toggleProfileMenu())}),y(97,"mat-icon"),B(98,"person"),k(),y(99,"span"),B(100,"View profile"),k()(),y(101,"a",17),pe("click",function(){return Te(e),Ie(X().toggleProfileMenu())}),y(102,"mat-icon"),B(103,"edit"),k(),y(104,"span"),B(105,"Edit profile"),k()(),y(106,"a",17),pe("click",function(){return Te(e),Ie(X().toggleProfileMenu())}),y(107,"mat-icon"),B(108,"badge"),k(),y(109,"span"),B(110,"Badges"),k()(),y(111,"a",17),pe("click",function(){return Te(e),Ie(X().toggleProfileMenu())}),y(112,"mat-icon"),B(113,"settings"),k(),y(114,"span"),B(115,"Settings"),k()(),y(116,"a",17),pe("click",function(){return Te(e),Ie(X().toggleProfileMenu())}),y(117,"mat-icon"),B(118,"help_outline"),k(),y(119,"span"),B(120,"About"),k()(),y(121,"a",17),pe("click",function(){return Te(e),Ie(X().toggleProfileMenu())}),y(122,"mat-icon"),B(123,"logout"),k(),y(124,"span"),B(125,"Logout"),k()()(),De(126,"mat-menu",37,38),k(),y(128,"mat-sidenav-content")(129,"div",39)(130,"div",40),De(131,"router-outlet"),k(),oe(132,tge,1,0,"app-media-player",41),k()()()()}if(2&i){const e=X();A(3),N("ngIf",e.options.values.showMediaPlayer),A(2),N("ngIf",!e.appState.showSearch&&!0===Ui(6,66,e.isHandset$)),A(3),N("ngIf",e.appState.showLogo&&!e.appState.showSearch&&!1===Ui(9,68,e.isHandset$)),A(2),N("ngIf",!e.appState.showSearch&&e.appState.showBackButton),A(1),N("ngIf",!e.appState.showSearch),A(1),N("ngIf",!e.appState.showSearch),A(1),N("ngIf",e.appState.showSearch),A(1),N("ngIf",e.appState.showSearch),A(1),N("ngIf",!e.appState.showSearch),A(1),N("ngIf",!e.appState.connected),A(1),N("ngIf",!e.appState.showSearch),A(2),N("ngClass",cl(80,ige,e.displayLabels,!e.displayLabels))("mode",Ui(22,72,e.isHandset$)?"over":"side")("opened",!1===Ui(23,74,e.isHandset$)),Nt("role",Ui(21,70,e.isHandset$)?"dialog":"navigation"),A(6),N("routerLink",Vr(83,nge))("routerLinkActiveOptions",Vr(84,Ks)),A(3),N("ngIf",e.displayLabels),A(1),N("routerLink",Vr(85,rge))("routerLinkActiveOptions",Vr(86,Ks)),A(3),N("ngIf",e.displayLabels),A(1),N("routerLink",Vr(87,age))("routerLinkActiveOptions",Vr(88,Ks)),A(1),N("matBadgeHidden",0==Ui(35,76,e.ui.unreadNotifications$))("matBadge",Ui(36,78,e.ui.unreadNotifications$)),A(4),N("ngIf",e.displayLabels),A(1),N("routerLink",Vr(89,oge))("routerLinkActiveOptions",Vr(90,Ks)),A(3),N("ngIf",e.displayLabels),A(1),N("routerLink",Vr(91,sge))("routerLinkActiveOptions",Vr(92,Ks)),A(3),N("ngIf",e.displayLabels),A(1),N("routerLink",Vr(93,lge))("routerLinkActiveOptions",Vr(94,Ks)),A(3),N("ngIf",e.displayLabels),A(1),N("routerLink",Vr(95,cge))("routerLinkActiveOptions",Vr(96,Ks)),A(3),N("ngIf",e.displayLabels),A(2),N("ngIf",e.displayLabels),A(1),N("ngIf",!e.displayLabels),A(1),N("ngClass",Cn(97,dge,!e.displayLabels)),A(2),N("mode","over"),Nt("role","navigation"),A(8),Ct(e.theme.darkMode?"dark_mode":"light_mode"),A(3),N("ngIf",null==e.profile?null:e.profile.banner),A(1),N("ngIf",!(null!=e.profile&&e.profile.banner)),A(3),N("ngIf",null==e.profile?null:e.profile.name),A(1),Ct(null==e.profile?null:e.profile.name),A(2),Ct(null==e.profile?null:e.profile.about),A(1),N("routerLink",Vr(99,kR)),A(2),N("src",null==e.profile?null:e.profile.picture,An),A(9),N("routerLink",Cn(100,uge,e.appState.getPublicKey())),A(1),ri(" ",e.profileService.following.length," "),A(5),N("routerLink",Cn(102,hge,e.appState.getPublicKey()))("routerLinkActiveOptions",Vr(104,Ks)),A(5),N("routerLink",Vr(105,kR))("routerLinkActiveOptions",Vr(106,Ks)),A(5),N("routerLink",Cn(107,mge,e.appState.getPublicKey()))("routerLinkActiveOptions",Vr(109,Ks)),A(5),N("routerLink",Vr(110,fge))("routerLinkActiveOptions",Vr(111,Ks)),A(5),N("routerLink",Vr(112,pge))("routerLinkActiveOptions",Vr(113,Ks)),A(5),N("routerLink",Vr(114,gge))("routerLinkActiveOptions",Vr(115,Ks)),A(11),N("ngIf",e.options.values.showMediaPlayer)}}class T0{constructor(t,e,n,r,a,o,c,h,f,F,R,W,te,fe,we,Ae,Ne,et,Be,dt,St){var Wt=this;this.cd=t,this.options=e,this.db=n,this.appState=r,this.authService=a,this.router=o,this.appUpdateService=c,this.appUpdateCheckService=h,this.dialog=f,this.location=F,this.labelService=R,this.breakpointObserver=W,this.relayService=te,this.dataService=fe,this.circleService=we,this.profileService=Ae,this.navigationService=Ne,this.ui=et,this.bottomSheet=Be,this.searchService=dt,this.theme=St,this.authenticated=!1,this.bgimagePath="/assets/profile-bg.png",this.searchControl=new $h,this.displayLabels=!0,this.isHandset$=this.breakpointObserver.observe("(max-width: 599px)").pipe(bt(tn=>tn.matches),Dk()),this.discoveredProfileDate=0,this.visibilityHandler||(this.visibilityHandler=addEventListener("visibilitychange",tn=>{this.appState.visibility("visible"===document.visibilityState)})),this.displayLabels=!this.options.values.hideSideLabels;const Yn=globalThis.location.search;if(Yn){const tn=Object.fromEntries(new URLSearchParams(Yn));if(this.appState.params=tn,this.appState.params.nostr){const ta=(new afe).decode(this.appState.params.nostr);ta&&ta.scheme&&ta.address&&this.router.navigate(["nevent"===ta.scheme?"/e":"/p",ta.address])}}this.authService.authInfo$.subscribe(function(){var tn=Se(function*(sr){Wt.authenticated=sr.authenticated(),Wt.authenticated&&(yield Wt.initialize())});return function(sr){return tn.apply(this,arguments)}}()),this.profileService.profile$.subscribe(tn=>{this.profile=tn})}toggleMenuSize(){this.displayLabels=!this.displayLabels,this.cd.detectChanges(),setTimeout(()=>{this.options.values.hideSideLabels=!this.displayLabels,this.options.save()},250)}searchInputChanged(){this.appState.searchText&&this.searchService.search(this.appState.searchText)}searchVisibility(t){this.appState.showSearch=t,this.appState.searchText="",t&&setTimeout(()=>{this.searchInput.nativeElement.focus()})}goBack(){this.appState.backUrl?(this.router.navigateByUrl(this.appState.backUrl),this.appState.backUrl=void 0):this.appState.navigateBack()}toggleMenu(){this.breakpointObserver.isMatched("(max-width: 599px)")&&this.drawer.toggle()}openProfile(){this.router.navigateByUrl("/profile"),this.toggleProfileMenu()}toggleProfileMenu(){this.draweraccount.toggle()}initialize(){var t=this;return Se(function*(){console.log("INITIALIZE IS RUNNING...."),yield t.db.initialize("blockcore-"+t.appState.getPublicKey()),yield t.circleService.initialize(),yield t.profileService.initialize(t.appState.getPublicKey()),yield t.relayService.initialize(),yield t.dataService.initialize(),yield t.labelService.initialize(),t.appState.connected$.subscribe(()=>{console.log("Connected to relay.. this can sometimes be triggered multiple times."),t.profileService.newProfileEvent&&setTimeout(Se(function*(){const e=JSON.parse(t.profileService.newProfileEvent.content);e.id=t.profileService.newProfileEvent?.id,e.pubkey=t.profileService.newProfileEvent?.pubkey,yield t.profileService.updateProfile(e.pubkey,e),yield t.dataService.publishEvent(t.profileService.newProfileEvent),t.profileService.newProfileEvent=void 0}),1e3)}),t.appState.setInitialized()})()}ngOnInit(){var t=this;return Se(function*(){t.theme.init(),t.sharedWorker=new SharedWorker("/assets/shared.worker.js"),t.sharedWorker.port.onmessage=e=>{console.log(e.data)},t.sharedWorker.port.start(),t.searchControl.valueChanges.subscribe(function(){var e=Se(function*(n){t.appState.searchText=n,n&&(n.length<=1||(yield t.searchService.search(n)))});return function(n){return e.apply(this,arguments)}}())})()}}function CR(i){return new Je(3e3,!1)}function Xge(){return typeof window<"u"&&typeof window.document<"u"}function ND(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Qu(i){switch(i.length){case 0:return new Ag;case 1:return i[0];default:return new T6(i)}}function DR(i,t,e,n,r=new Map,a=new Map){const o=[],c=[];let h=-1,f=null;if(n.forEach(F=>{const R=F.get("offset"),W=R==h,te=W&&f||new Map;F.forEach((fe,we)=>{let Ae=we,Ne=fe;if("offset"!==we)switch(Ae=t.normalizePropertyName(Ae,o),Ne){case Kx:Ne=r.get(we);break;case vd:Ne=a.get(we);break;default:Ne=t.normalizeStyleValue(we,Ae,Ne,o)}te.set(Ae,Ne)}),W||c.push(te),f=te,h=R}),o.length)throw function Vge(i){return new Je(3502,!1)}();return c}function LD(i,t,e,n){switch(t){case"start":i.onStart(()=>n(e&&OD(e,"start",i)));break;case"done":i.onDone(()=>n(e&&OD(e,"done",i)));break;case"destroy":i.onDestroy(()=>n(e&&OD(e,"destroy",i)))}}function OD(i,t,e){const a=RD(i.element,i.triggerName,i.fromState,i.toState,t||i.phaseName,e.totalTime??i.totalTime,!!e.disabled),o=i._data;return null!=o&&(a._data=o),a}function RD(i,t,e,n,r="",a=0,o){return{element:i,triggerName:t,fromState:e,toState:n,phaseName:r,totalTime:a,disabled:!!o}}function Qs(i,t,e){let n=i.get(t);return n||i.set(t,n=e),n}function MR(i){const t=i.indexOf(":");return[i.substring(1,t),i.slice(t+1)]}T0.\u0275fac=function(t){return new(t||T0)(D(li),D(Er),D(Ea),D(ln),D(Da),D(rr),D(um),D(hm),D(ja),D(ud),D(xs),D(gd),D(as),D(Ka),D(So),D(Vn),D(Ao),D(qr),D(Kq),D(bp),D(yl))},T0.\u0275cmp=$e({type:T0,selectors:[["app-root"]],viewQuery:function(t,e){if(1&t&&(Tt(xpe,5),Tt(kpe,5),Tt(Cpe,5)),2&t){let n;Qe(n=Ze())&&(e.drawer=n.first),Qe(n=Ze())&&(e.draweraccount=n.first),Qe(n=Ze())&&(e.searchInput=n.first)}},decls:2,vars:2,consts:[[4,"ngIf"],["class","app-container",4,"ngIf"],[1,"app-container"],["id","title-bar",1,"title-bar"],["height","24","width","24","src","assets/icons/icon-128x128.webp",1,"logo-icon-title-bar"],[3,"miniplayer",4,"ngIf"],[1,"app-toolbar"],["type","button","aria-label","Toggle sidenav","mat-icon-button","",3,"click",4,"ngIf"],["class","logo-icon","height","38","width","38","src","assets/icons/icon-128x128.webp",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],["class","top-spacer",4,"ngIf"],["class","search-box",4,"ngIf"],["mat-icon-button","",3,"mtBasicSpinner",4,"ngIf"],["width","38","height","38","mat-icon-button","","onerror","this.src='/assets/profile.png'","alt","avatar","class","topavatar",3,"src","click",4,"ngIf"],["autosize","true"],[1,"sidenav","print-hidden",3,"ngClass","mode","opened"],["drawer",""],["mat-menu-item","","routerLinkActive","active",3,"routerLink","routerLinkActiveOptions","click"],[3,"matBadgeHidden","matBadge"],["mat-menu-item","",3,"click"],[1,"new-post",3,"ngClass"],["tabindex","10","width","92","height","92","src","/assets/post.svg",1,"new-post-button",3,"click"],["fixedInViewport","","position","end",1,"sidenav-right","print-hidden",3,"mode"],["draweraccount",""],[1,"container"],["mat-icon-button","",1,"close-sidenav-icon",3,"click"],["mat-icon-button","",1,"mat-icon-button","theme-sidenav-icon",3,"click"],["aria-label","Menu",1,"material-icons"],[1,"bio",3,"click"],["loading","lazy","alt","background","class","bg",3,"src",4,"ngIf"],[1,"desc"],[3,"routerLink","click"],[1,"avatarcontainer"],["width","96","height","96","onerror","this.src='/assets/profile.png'","alt","avatar",1,"avatar",3,"src"],[1,"content"],[1,"data"],[1,"opposite-link",3,"routerLink","click"],["hasBackdrop","true","backdropClass","menu-mode-backdrop","overlapTrigger","false"],["accounts","matMenu"],[1,"app-content"],[1,"app-outlet"],["class","app-mediaplayer",4,"ngIf"],[3,"miniplayer"],["type","button","aria-label","Toggle sidenav","mat-icon-button","",3,"click"],["height","38","width","38","src","assets/icons/icon-128x128.webp",1,"logo-icon"],["mat-icon-button","",3,"click"],[1,"arrow-back"],[1,"top-spacer"],["mat-icon-button","",3,"matTooltip","click",4,"ngFor","ngForOf"],["mat-icon-button","",3,"matTooltip","click"],[1,"search-box"],["appearance","outline",1,"search-box-input"],["matInput","","aria-label","Search",3,"formControl","matAutocomplete"],["searchInput",""],["auto","matAutocomplete"],["class","search-result-option",3,"value","onSelectionChange",4,"ngFor","ngForOf"],[1,"search-result-option",3,"value","onSelectionChange"],["height","32",1,"search-result-image",3,"src"],["mat-icon-button","",3,"mtBasicSpinner"],["width","38","height","38","mat-icon-button","","onerror","this.src='/assets/profile.png'","alt","avatar",1,"topavatar",3,"src","click"],["loading","lazy","alt","background",1,"bg",3,"src"],[1,"app-mediaplayer"]],template:function(t,e){1&t&&(oe(0,Dpe,2,0,"div",0),oe(1,_ge,133,116,"div",1)),2&t&&(N("ngIf",!e.authenticated),A(1),N("ngIf",e.authenticated))},dependencies:[Pa,Gn,mi,hk,Ya,NI,rs,Eo,Wo,Do,Ah,OO,DD,MD,CD,pr,vD,K_,om,jc,BO,Fl,Cfe,vR,qf,uo,Wa,Wf,Rc,CC,IO,A0,Os],styles:[".logo-icon[_ngcontent-%COMP%]{cursor:pointer;-webkit-app-region:drag;margin-right:.4em}.logo-icon-title-bar[_ngcontent-%COMP%]{cursor:pointer;-webkit-app-region:drag;margin:4px;display:none;flex:0 0 24px}@media screen and (max-height: 200px){.logo-icon-title-bar[_ngcontent-%COMP%]{display:inline}.logo-icon[_ngcontent-%COMP%]{display:none}}@media screen and (max-width: 599px){.logo-icon-title-bar[_ngcontent-%COMP%]{display:inline}}.sidenav-small[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:0!important}.sidenav-small[_ngcontent-%COMP%] .logo-icon[_ngcontent-%COMP%]{width:56px!important}.sidenav-labels[_ngcontent-%COMP%]{width:200px}.top-spacer[_ngcontent-%COMP%]{flex:1 1 auto;margin-left:.4em;overflow:hidden;text-overflow:ellipsis}.mdc-list-item.active[_ngcontent-%COMP%]{background:rgba(156,39,176,.15)}header[_ngcontent-%COMP%]{display:block;overflow:hidden;position:relative;padding-bottom:2em}.container[_ngcontent-%COMP%]{width:320px;padding-bottom:1em}.bg[_ngcontent-%COMP%]{border-bottom:3px solid #9c27b0;height:220px}.bio[_ngcontent-%COMP%]:hover > .desc[_ngcontent-%COMP%]{cursor:pointer;opacity:1}.avatarcontainer[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0;left:0;margin:auto;width:102px;display:block}.avatarcontainer[_ngcontent-%COMP%]:hover > .hover[_ngcontent-%COMP%]{opacity:1}.avatar[_ngcontent-%COMP%]{width:100%;border:3px solid #9c27b0;border-radius:50%;overflow:hidden;position:relative;width:96px;height:96px}.avatar[_ngcontent-%COMP%]:hover{opacity:1;cursor:pointer}.topavatar[_ngcontent-%COMP%]{border-radius:50%;overflow:hidden;position:relative;width:38px;height:38px;margin-left:.2em}.topavatar[_ngcontent-%COMP%]:hover{opacity:.6;cursor:pointer}.data[_ngcontent-%COMP%]{margin-top:.6em;color:#81878b}.data[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:50%;text-align:center;display:inline-block}.data[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-inline-start:0!important}.data[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border:none}.data[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;text-transform:uppercase;font-size:.5em;margin-top:.6em;font-weight:700}.desc[_ngcontent-%COMP%]{position:absolute;top:0;background-color:#0009;width:100%;height:100%;max-height:220px;color:#fff;text-align:center;opacity:.8;transition-property:all;transition-duration:.3s;transition-timing-function:ease-in}.desc[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:.5em}.desc[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.9em;line-height:1.5em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.close-sidenav-icon[_ngcontent-%COMP%]{float:left;position:fixed;z-index:100000;margin:5px}.theme-sidenav-icon[_ngcontent-%COMP%]{float:right;position:fixed;z-index:100000;margin:5px;right:5px}.new-post[_ngcontent-%COMP%]{text-align:center}.new-post-button[_ngcontent-%COMP%]{width:92px;height:92px;position:fixed;bottom:2em;left:2.9em;cursor:pointer;transition:opacity .25s ease}.new-post-button[_ngcontent-%COMP%]:hover{opacity:.6}.search-box[_ngcontent-%COMP%]{padding-top:1em;top:20px;flex:1 1 auto;width:100%}.search-box-input[_ngcontent-%COMP%]{width:100%}.search-result-option[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:row!important;align-items:center!important}.search-result-image[_ngcontent-%COMP%]{margin-right:.2em;border-radius:50%}.search-result-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-right:.4em}.mat-drawer-content[_ngcontent-%COMP%]{overflow:hidden}.app-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;box-sizing:border-box;overflow:hidden}.app-outlet[_ngcontent-%COMP%]{flex:2 2 auto;box-sizing:border-box;overflow:auto}.app-mediaplayer[_ngcontent-%COMP%]{flex-basis:96px;flex-grow:0;flex-shrink:1;box-sizing:border-box}"]});let PD=(i,t)=>!1,ER=(i,t,e)=>[],SR=null;function BD(i){const t=i.parentNode||i.host;return t===SR?null:t}(ND()||typeof Element<"u")&&(Xge()?(SR=(()=>document.documentElement)(),PD=(i,t)=>{for(;t;){if(t===i)return!0;t=BD(t)}return!1}):PD=(i,t)=>i.contains(t),ER=(i,t,e)=>{if(e)return Array.from(i.querySelectorAll(t));const n=i.querySelector(t);return n?[n]:[]});let mm=null,AR=!1;const TR=PD,IR=ER;let NR=(()=>{class i{validateStyleProperty(e){return function e_e(i){mm||(mm=function t_e(){return typeof document<"u"?document.body:null}()||{},AR=!!mm.style&&"WebkitAppearance"in mm.style);let t=!0;return mm.style&&!function Jge(i){return"ebkit"==i.substring(1,6)}(i)&&(t=i in mm.style,!t&&AR&&(t="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in mm.style)),t}(e)}matchesElement(e,n){return!1}containsElement(e,n){return TR(e,n)}getParentElement(e){return BD(e)}query(e,n,r){return IR(e,n,r)}computeStyle(e,n,r){return r||""}animate(e,n,r,a,o,c=[],h){return new Ag(r,a)}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})(),HD=(()=>{class i{}return i.NOOP=new NR,i})();const i_e=1e3,VD="ng-enter",Lv="ng-leave",Ov="ng-trigger",Rv=".ng-trigger",OR="ng-animating",YD=".ng-animating";function Ud(i){if("number"==typeof i)return i;const t=i.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:jD(parseFloat(t[1]),t[2])}function jD(i,t){return"s"===t?i*i_e:i}function Pv(i,t,e){return i.hasOwnProperty("duration")?i:function r_e(i,t,e){let r,a=0,o="";if("string"==typeof i){const c=i.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return t.push(CR()),{duration:0,delay:0,easing:""};r=jD(parseFloat(c[1]),c[2]);const h=c[3];null!=h&&(a=jD(parseFloat(h),c[4]));const f=c[5];f&&(o=f)}else r=i;if(!e){let c=!1,h=t.length;r<0&&(t.push(function bge(){return new Je(3100,!1)}()),c=!0),a<0&&(t.push(function yge(){return new Je(3101,!1)}()),c=!0),c&&t.splice(h,0,CR())}return{duration:r,delay:a,easing:o}}(i,t,e)}function I0(i,t={}){return Object.keys(i).forEach(e=>{t[e]=i[e]}),t}function RR(i){const t=new Map;return Object.keys(i).forEach(e=>{t.set(e,i[e])}),t}function Zu(i,t=new Map,e){if(e)for(let[n,r]of e)t.set(n,r);for(let[n,r]of i)t.set(n,r);return t}function BR(i,t,e){return e?t+":"+e+";":""}function HR(i){let t="";for(let e=0;e{const a=UD(r);e&&!e.has(r)&&e.set(r,i.style[a]),i.style[a]=n}),ND()&&HR(i))}function fm(i,t){i.style&&(t.forEach((e,n)=>{const r=UD(n);i.style[r]=""}),ND()&&HR(i))}function N0(i){return Array.isArray(i)?1==i.length?i[0]:E6(i):i}const zD=new RegExp("{{\\s*(.+?)\\s*}}","g");function VR(i){let t=[];if("string"==typeof i){let e;for(;e=zD.exec(i);)t.push(e[1]);zD.lastIndex=0}return t}function L0(i,t,e){const n=i.toString(),r=n.replace(zD,(a,o)=>{let c=t[o];return null==c&&(e.push(function wge(i){return new Je(3003,!1)}()),c=""),c.toString()});return r==n?i:r}function Bv(i){const t=[];let e=i.next();for(;!e.done;)t.push(e.value),e=i.next();return t}const s_e=/-+([a-z0-9])/g;function UD(i){return i.replace(s_e,(...t)=>t[1].toUpperCase())}function l_e(i){return i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Zs(i,t,e){switch(t.type){case 7:return i.visitTrigger(t,e);case 0:return i.visitState(t,e);case 1:return i.visitTransition(t,e);case 2:return i.visitSequence(t,e);case 3:return i.visitGroup(t,e);case 4:return i.visitAnimate(t,e);case 5:return i.visitKeyframes(t,e);case 6:return i.visitStyle(t,e);case 8:return i.visitReference(t,e);case 9:return i.visitAnimateChild(t,e);case 10:return i.visitAnimateRef(t,e);case 11:return i.visitQuery(t,e);case 12:return i.visitStagger(t,e);default:throw function Fge(i){return new Je(3004,!1)}()}}function YR(i,t){return window.getComputedStyle(i)[t]}const Yv="*";function f_e(i,t){const e=[];return"string"==typeof i?i.split(/\s*,\s*/).forEach(n=>function p_e(i,t,e){if(":"==i[0]){const h=function g_e(i,t){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,n)=>parseFloat(n)>parseFloat(e);case":decrement":return(e,n)=>parseFloat(n) *"}}(i,e);if("function"==typeof h)return void t.push(h);i=h}const n=i.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return e.push(function Oge(i){return new Je(3015,!1)}()),t;const r=n[1],a=n[2],o=n[3];t.push(jR(r,o));"<"==a[0]&&!(r==Yv&&o==Yv)&&t.push(jR(o,r))}(n,e,t)):e.push(i),e}const jv=new Set(["true","1"]),zv=new Set(["false","0"]);function jR(i,t){const e=jv.has(i)||zv.has(i),n=jv.has(t)||zv.has(t);return(r,a)=>{let o=i==Yv||i==r,c=t==Yv||t==a;return!o&&e&&"boolean"==typeof r&&(o=r?jv.has(i):zv.has(i)),!c&&n&&"boolean"==typeof a&&(c=a?jv.has(t):zv.has(t)),o&&c}}const __e=new RegExp("s*:selfs*,?","g");function WD(i,t,e,n){return new b_e(i).build(t,e,n)}class b_e{constructor(t){this._driver=t}build(t,e,n){const r=new w_e(e);return this._resetContextStyleTimingState(r),Zs(this,N0(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const a=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push(function kge(){return new Je(3006,!1)}()),t.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const h=c,f=h.name;f.toString().split(/\s*,\s*/).forEach(F=>{h.name=F,a.push(this.visitState(h,e))}),h.name=f}else if(1==c.type){const h=this.visitTransition(c,e);n+=h.queryCount,r+=h.depCount,o.push(h)}else e.errors.push(function Cge(){return new Je(3007,!1)}())}),{type:7,name:t.name,states:a,transitions:o,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const a=new Set,o=r||{};n.styles.forEach(c=>{c instanceof Map&&c.forEach(h=>{VR(h).forEach(f=>{o.hasOwnProperty(f)||a.add(f)})})}),a.size&&(Bv(a.values()),e.errors.push(function Dge(i,t){return new Je(3008,!1)}()))}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Zs(this,N0(t.animation),e);return{type:1,matchers:f_e(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:pm(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(n=>Zs(this,n,e)),options:pm(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const a=t.steps.map(o=>{e.currentTime=n;const c=Zs(this,o,e);return r=Math.max(r,e.currentTime),c});return e.currentTime=r,{type:3,steps:a,options:pm(t.options)}}visitAnimate(t,e){const n=function x_e(i,t){if(i.hasOwnProperty("duration"))return i;if("number"==typeof i)return GD(Pv(i,t).duration,0,"");const e=i;if(e.split(/\s+/).some(a=>"{"==a.charAt(0)&&"{"==a.charAt(1))){const a=GD(0,0,"");return a.dynamic=!0,a.strValue=e,a}const r=Pv(e,t);return GD(r.duration,r.delay,r.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;let r,a=t.styles?t.styles:hi({});if(5==a.type)r=this.visitKeyframes(a,e);else{let o=t.styles,c=!1;if(!o){c=!0;const f={};n.easing&&(f.easing=n.easing),o=hi(f)}e.currentTime+=n.duration+n.delay;const h=this.visitStyle(o,e);h.isEmptyStep=c,r=h}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let c of r)"string"==typeof c?c===vd?n.push(c):e.errors.push(new Je(3002,!1)):n.push(RR(c));let a=!1,o=null;return n.forEach(c=>{if(c instanceof Map&&(c.has("easing")&&(o=c.get("easing"),c.delete("easing")),!a))for(let h of c.values())if(h.toString().indexOf("{{")>=0){a=!0;break}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,a=e.currentTime;n&&a>0&&(a-=n.duration+n.delay),t.styles.forEach(o=>{"string"!=typeof o&&o.forEach((c,h)=>{const f=e.collectedStyles.get(e.currentQuerySelector),F=f.get(h);let R=!0;F&&(a!=r&&a>=F.startTime&&r<=F.endTime&&(e.errors.push(function Ege(i,t,e,n,r){return new Je(3010,!1)}()),R=!1),a=F.startTime),R&&f.set(h,{startTime:a,endTime:r}),e.options&&function o_e(i,t,e){const n=t.params||{},r=VR(i);r.length&&r.forEach(a=>{n.hasOwnProperty(a)||e.push(function vge(i){return new Je(3001,!1)}())})}(c,e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function Sge(){return new Je(3011,!1)}()),n;let a=0;const o=[];let c=!1,h=!1,f=0;const F=t.steps.map(Ne=>{const et=this._makeStyleAst(Ne,e);let Be=null!=et.offset?et.offset:function F_e(i){if("string"==typeof i)return null;let t=null;if(Array.isArray(i))i.forEach(e=>{if(e instanceof Map&&e.has("offset")){const n=e;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(i instanceof Map&&i.has("offset")){const e=i;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(et.styles),dt=0;return null!=Be&&(a++,dt=et.offset=Be),h=h||dt<0||dt>1,c=c||dt0&&a{const Be=W>0?et==te?1:W*et:o[et],dt=Be*Ae;e.currentTime=fe+we.delay+dt,we.duration=dt,this._validateStyleAst(Ne,e),Ne.offset=Be,n.styles.push(Ne)}),n}visitReference(t,e){return{type:8,animation:Zs(this,N0(t.animation),e),options:pm(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:pm(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:pm(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[a,o]=function y_e(i){const t=!!i.split(/\s*,\s*/).find(e=>":self"==e);return t&&(i=i.replace(__e,"")),i=i.replace(/@\*/g,Rv).replace(/@\w+/g,e=>Rv+"-"+e.slice(1)).replace(/:animating/g,YD),[i,t]}(t.selector);e.currentQuerySelector=n.length?n+" "+a:a,Qs(e.collectedStyles,e.currentQuerySelector,new Map);const c=Zs(this,N0(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:a,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:c,originalSelector:t.selector,options:pm(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function Nge(){return new Je(3013,!1)}());const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:Pv(t.timings,e.errors,!0);return{type:12,animation:Zs(this,N0(t.animation),e),timings:n,options:null}}}class w_e{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function pm(i){return i?(i=I0(i)).params&&(i.params=function v_e(i){return i?I0(i):null}(i.params)):i={},i}function GD(i,t,e){return{duration:i,delay:t,easing:e}}function qD(i,t,e,n,r,a,o=null,c=!1){return{type:1,element:i,keyframes:t,preStyleProps:e,postStyleProps:n,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:c}}class Uv{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const D_e=new RegExp(":enter","g"),E_e=new RegExp(":leave","g");function $D(i,t,e,n,r,a=new Map,o=new Map,c,h,f=[]){return(new S_e).buildKeyframes(i,t,e,n,r,a,o,c,h,f)}class S_e{buildKeyframes(t,e,n,r,a,o,c,h,f,F=[]){f=f||new Uv;const R=new KD(t,e,f,r,a,F,[]);R.options=h;const W=h.delay?Ud(h.delay):0;R.currentTimeline.delayNextStep(W),R.currentTimeline.setStyles([o],null,R.errors,h),Zs(this,n,R);const te=R.timelines.filter(fe=>fe.containsAnimation());if(te.length&&c.size){let fe;for(let we=te.length-1;we>=0;we--){const Ae=te[we];if(Ae.element===e){fe=Ae;break}}fe&&!fe.allowOnlyTimelineStyles()&&fe.setStyles([c],null,R.errors,h)}return te.length?te.map(fe=>fe.buildKeyframes()):[qD(e,[],[],[],0,W,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.get(e.element);if(n){const r=e.createSubContext(t.options),a=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);a!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,n),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,n){for(const r of t){const a=r?.delay;if(a){const o="number"==typeof a?a:Ud(L0(a,r?.params??{},e.errors));n.delayNextStep(o)}}}_visitSubInstructions(t,e,n){let a=e.currentTimeline.currentTime;const o=null!=n.duration?Ud(n.duration):null,c=null!=n.delay?Ud(n.delay):null;return 0!==o&&t.forEach(h=>{const f=e.appendInstructionToTimeline(h,o,c);a=Math.max(a,f.duration+f.delay)}),a}visitReference(t,e){e.updateOptions(t.options,!0),Zs(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const a=t.options;if(a&&(a.params||a.delay)&&(r=e.createSubContext(a),r.transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Wv);const o=Ud(a.delay);r.delayNextStep(o)}t.steps.length&&(t.steps.forEach(o=>Zs(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const a=t.options&&t.options.delay?Ud(t.options.delay):0;t.steps.forEach(o=>{const c=e.createSubContext(t.options);a&&c.delayNextStep(a),Zs(this,o,c),r=Math.max(r,c.currentTimeline.currentTime),n.push(c.currentTimeline)}),n.forEach(o=>e.currentTimeline.mergeTimelineCollectedStyles(o)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return Pv(e.params?L0(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const a=t.style;5==a.type?this.visitKeyframes(a,e):(e.incrementTime(n.duration),this.visitStyle(a,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();const a=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(a):n.setStyles(t.styles,a,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,a=n.duration,c=e.createSubContext().currentTimeline;c.easing=n.easing,t.styles.forEach(h=>{c.forwardTime((h.offset||0)*a),c.setStyles(h.styles,h.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(r+a),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},a=r.delay?Ud(r.delay):0;a&&(6===e.previousNode.type||0==n&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Wv);let o=n;const c=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=c.length;let h=null;c.forEach((f,F)=>{e.currentQueryIndex=F;const R=e.createSubContext(t.options,f);a&&R.delayNextStep(a),f===e.element&&(h=R.currentTimeline),Zs(this,t.animation,R),R.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,R.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),h&&(e.currentTimeline.mergeTimelineCollectedStyles(h),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,a=t.timings,o=Math.abs(a.duration),c=o*(e.currentQueryTotal-1);let h=o*e.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":h=c-h;break;case"full":h=n.currentStaggerTime}const F=e.currentTimeline;h&&F.delayNextStep(h);const R=F.currentTime;Zs(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-R+(r.startTime-n.currentTimeline.startTime)}}const Wv={};class KD{constructor(t,e,n,r,a,o,c,h){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=a,this.errors=o,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Wv,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=h||new Gv(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=Ud(n.duration)),null!=n.delay&&(r.delay=Ud(n.delay));const a=n.params;if(a){let o=r.params;o||(o=this.options.params={}),Object.keys(a).forEach(c=>{(!e||!o.hasOwnProperty(c))&&(o[c]=L0(a[c],o,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(r=>{n[r]=e[r]})}}return t}createSubContext(t=null,e,n){const r=e||this.element,a=new KD(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(t){return this.previousNode=Wv,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},a=new A_e(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(a),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,a,o){let c=[];if(r&&c.push(this.element),t.length>0){t=(t=t.replace(D_e,"."+this._enterClassName)).replace(E_e,"."+this._leaveClassName);let f=this._driver.query(this.element,t,1!=n);0!==n&&(f=n<0?f.slice(f.length+n,f.length):f.slice(0,n)),c.push(...f)}return!a&&0==c.length&&o.push(function Lge(i){return new Je(3014,!1)}()),c}}class Gv{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Gv(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,n]of this._globalTimelineStyles)this._backFill.set(e,n||vd),this._currentKeyframe.set(e,vd);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&this._previousKeyframe.set("easing",e);const a=r&&r.params||{},o=function T_e(i,t){const e=new Map;let n;return i.forEach(r=>{if("*"===r){n=n||t.keys();for(let a of n)e.set(a,vd)}else Zu(r,e)}),e}(t,this._globalTimelineStyles);for(let[c,h]of o){const f=L0(h,a,n);this._pendingStyles.set(c,f),this._localTimelineStyles.has(c)||this._backFill.set(c,this._globalTimelineStyles.get(c)??vd),this._updateStyle(c,f)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,n)=>{const r=this._styleSummary.get(n);(!r||e.time>r.time)&&this._updateStyle(n,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((c,h)=>{const f=Zu(c,new Map,this._backFill);f.forEach((F,R)=>{F===Kx?t.add(R):F===vd&&e.add(R)}),n||f.set("offset",h/this.duration),r.push(f)});const a=t.size?Bv(t.values()):[],o=e.size?Bv(e.values()):[];if(n){const c=r[0],h=new Map(c);c.set("offset",0),h.set("offset",1),r=[c,h]}return qD(this.element,r,a,o,this.duration,this.startTime,this.easing,!1)}}class A_e extends Gv{constructor(t,e,n,r,a,o,c=!1){super(t,e,o.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=a,this._stretchStartingKeyframe=c,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const a=[],o=n+e,c=e/o,h=Zu(t[0]);h.set("offset",0),a.push(h);const f=Zu(t[0]);f.set("offset",WR(c)),a.push(f);const F=t.length-1;for(let R=1;R<=F;R++){let W=Zu(t[R]);const te=W.get("offset");W.set("offset",WR((e+te*n)/o)),a.push(W)}n=o,e=0,r="",t=a}return qD(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function WR(i,t=3){const e=Math.pow(10,t-1);return Math.round(i*e)/e}class QD{}const I_e=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class N_e extends QD{normalizePropertyName(t,e){return UD(t)}normalizeStyleValue(t,e,n,r){let a="";const o=n.toString().trim();if(I_e.has(e)&&0!==n&&"0"!==n)if("number"==typeof n)a="px";else{const c=n.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&r.push(function xge(i,t){return new Je(3005,!1)}())}return o+a}}function GR(i,t,e,n,r,a,o,c,h,f,F,R,W){return{type:0,element:i,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:a,toState:n,toStyles:o,timelines:c,queriedElements:h,preStyleProps:f,postStyleProps:F,totalTime:R,errors:W}}const ZD={};class qR{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function L_e(i,t,e,n,r){return i.some(a=>a(t,e,n,r))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){let r=this._stateStyles.get("*");return void 0!==t&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,n):new Map}build(t,e,n,r,a,o,c,h,f,F){const R=[],W=this.ast.options&&this.ast.options.params||ZD,fe=this.buildStyles(n,c&&c.params||ZD,R),we=h&&h.params||ZD,Ae=this.buildStyles(r,we,R),Ne=new Set,et=new Map,Be=new Map,dt="void"===r,St={params:O_e(we,W),delay:this.ast.options?.delay},Wt=F?[]:$D(t,e,this.ast.animation,a,o,fe,Ae,St,f,R);let Yn=0;if(Wt.forEach(sr=>{Yn=Math.max(sr.duration+sr.delay,Yn)}),R.length)return GR(e,this._triggerName,n,r,dt,fe,Ae,[],[],et,Be,Yn,R);Wt.forEach(sr=>{const ta=sr.element,qc=Qs(et,ta,new Set);sr.preStyleProps.forEach(os=>qc.add(os));const aa=Qs(Be,ta,new Set);sr.postStyleProps.forEach(os=>aa.add(os)),ta!==e&&Ne.add(ta)});const tn=Bv(Ne.values());return GR(e,this._triggerName,n,r,dt,fe,Ae,Wt,tn,et,Be,Yn)}}function O_e(i,t){const e=I0(t);for(const n in i)i.hasOwnProperty(n)&&null!=i[n]&&(e[n]=i[n]);return e}class R_e{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n=new Map,r=I0(this.defaultParams);return Object.keys(t).forEach(a=>{const o=t[a];null!==o&&(r[a]=o)}),this.styles.styles.forEach(a=>{"string"!=typeof a&&a.forEach((o,c)=>{o&&(o=L0(o,r,e));const h=this.normalizer.normalizePropertyName(c,e);o=this.normalizer.normalizeStyleValue(c,h,o,e),n.set(c,o)})}),n}}class B_e{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new R_e(r.style,r.options&&r.options.params||{},n))}),$R(this.states,"true","1"),$R(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new qR(t,r,this.states))}),this.fallbackTransition=function H_e(i,t,e){return new qR(i,{type:1,animation:{type:2,steps:[],options:null},matchers:[(o,c)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find(o=>o.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function $R(i,t,e){i.has(t)?i.has(e)||i.set(e,i.get(t)):i.has(e)&&i.set(t,i.get(e))}const V_e=new Uv;class Y_e{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const n=[],r=[],a=WD(this._driver,e,n,r);if(n.length)throw function Yge(i){return new Je(3503,!1)}();this._animations.set(t,a)}_buildPlayer(t,e,n){const r=t.element,a=DR(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,a,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],a=this._animations.get(t);let o;const c=new Map;if(a?(o=$D(this._driver,e,a,VD,Lv,new Map,new Map,n,V_e,r),o.forEach(F=>{const R=Qs(c,F.element,new Map);F.postStyleProps.forEach(W=>R.set(W,null))})):(r.push(function jge(){return new Je(3300,!1)}()),o=[]),r.length)throw function zge(i){return new Je(3504,!1)}();c.forEach((F,R)=>{F.forEach((W,te)=>{F.set(te,this._driver.computeStyle(R,te,vd))})});const f=Qu(o.map(F=>{const R=c.get(F.element);return this._buildPlayer(F,new Map,R)}));return this._playersById.set(t,f),f.onDestroy(()=>this.destroy(t)),this.players.push(f),f}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function Uge(i){return new Je(3301,!1)}();return e}listen(t,e,n,r){const a=RD(e,"","","");return LD(this._getPlayer(t),n,a,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const a=this._getPlayer(t);switch(n){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const KR="ng-animate-queued",XD="ng-animate-disabled",G_e=[],QR={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},q_e={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Cl="__ng_removed";class JD{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=function Z_e(i){return i??null}(n?t.value:t),n){const a=I0(t);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const e=t.params;if(e){const n=this.options.params;Object.keys(e).forEach(r=>{null==n[r]&&(n[r]=e[r])})}}}const O0="void",eM=new JD(O0);class $_e{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Dl(e,this._hostClassName)}listen(t,e,n,r){if(!this._triggers.has(e))throw function Wge(i,t){return new Je(3302,!1)}();if(null==n||0==n.length)throw function Gge(i){return new Je(3303,!1)}();if(!function X_e(i){return"start"==i||"done"==i}(n))throw function qge(i,t){return new Je(3400,!1)}();const a=Qs(this._elementListeners,t,[]),o={name:e,phase:n,callback:r};a.push(o);const c=Qs(this._engine.statesByElement,t,new Map);return c.has(e)||(Dl(t,Ov),Dl(t,Ov+"-"+e),c.set(e,eM)),()=>{this._engine.afterFlush(()=>{const h=a.indexOf(o);h>=0&&a.splice(h,1),this._triggers.has(e)||c.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function $ge(i){return new Je(3401,!1)}();return e}trigger(t,e,n,r=!0){const a=this._getTrigger(e),o=new tM(this.id,e,t);let c=this._engine.statesByElement.get(t);c||(Dl(t,Ov),Dl(t,Ov+"-"+e),this._engine.statesByElement.set(t,c=new Map));let h=c.get(e);const f=new JD(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&h&&f.absorbOptions(h.options),c.set(e,f),h||(h=eM),f.value!==O0&&h.value===f.value){if(!function t0e(i,t){const e=Object.keys(i),n=Object.keys(t);if(e.length!=n.length)return!1;for(let r=0;r{fm(t,Ae),Wc(t,Ne)})}return}const W=Qs(this._engine.playersByElement,t,[]);W.forEach(we=>{we.namespaceId==this.id&&we.triggerName==e&&we.queued&&we.destroy()});let te=a.matchTransition(h.value,f.value,t,f.params),fe=!1;if(!te){if(!r)return;te=a.fallbackTransition,fe=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:te,fromState:h,toState:f,player:o,isFallbackTransition:fe}),fe||(Dl(t,KR),o.onStart(()=>{yp(t,KR)})),o.onDone(()=>{let we=this.players.indexOf(o);we>=0&&this.players.splice(we,1);const Ae=this._engine.playersByElement.get(t);if(Ae){let Ne=Ae.indexOf(o);Ne>=0&&Ae.splice(Ne,1)}}),this.players.push(o),W.push(o),o}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(n=>n.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,Rv,!0);n.forEach(r=>{if(r[Cl])return;const a=this._engine.fetchNamespacesByElement(r);a.size?a.forEach(o=>o.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,n,r){const a=this._engine.statesByElement.get(t),o=new Map;if(a){const c=[];if(a.forEach((h,f)=>{if(o.set(f,h.value),this._triggers.has(f)){const F=this.trigger(t,f,O0,r);F&&c.push(F)}}),c.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),n&&Qu(c).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const r=new Set;e.forEach(a=>{const o=a.name;if(r.has(o))return;r.add(o);const h=this._triggers.get(o).fallbackTransition,f=n.get(o)||eM,F=new JD(O0),R=new tM(this.id,o,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:o,transition:h,fromState:f,toState:F,player:R,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const a=n.players.length?n.playersByQueriedElement.get(t):[];if(a&&a.length)r=!0;else{let o=t;for(;o=o.parentNode;)if(n.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const a=t[Cl];(!a||a===QR)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Dl(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const a=n.element,o=this._elementListeners.get(a);o&&o.forEach(c=>{if(c.name==n.triggerName){const h=RD(a,n.triggerName,n.fromState.value,n.toState.value);h._data=t,LD(n.player,c.phase,h,c.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((n,r)=>{const a=n.transition.ast.depCount,o=r.transition.ast.depCount;return 0==a||0==o?a-o:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(n=>n.element===t)||e,e}}class K_e{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,a)=>{}}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(n=>{n.queued&&t.push(n)})}),t}createNamespace(t,e){const n=new $_e(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let o=!1,c=this.driver.getParentElement(e);for(;c;){const h=r.get(c);if(h){const f=n.indexOf(h);n.splice(f+1,0,t),o=!0;break}c=this.driver.getParentElement(c)}o||n.unshift(t)}else n.push(t);return r.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n)for(let r of n.values())if(r.namespaceId){const a=this._fetchNamespace(r.namespaceId);a&&e.add(a)}return e}trigger(t,e,n,r){if(qv(e)){const a=this._fetchNamespace(t);if(a)return a.trigger(e,n,r),!0}return!1}insertNode(t,e,n,r){if(!qv(e))return;const a=e[Cl];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;const o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){const o=this._fetchNamespace(t);o&&o.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Dl(t,XD)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),yp(t,XD))}removeNode(t,e,n,r){if(qv(e)){const a=t?this._fetchNamespace(t):null;if(a?a.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r,a){this.collectedLeaveElements.push(e),e[Cl]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:a}}listen(t,e,n,r,a){return qv(e)?this._fetchNamespace(t).listen(e,n,r,a):()=>{}}_buildInstruction(t,e,n,r,a){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,a)}destroyInnerAnimations(t){let e=this.driver.query(t,Rv,!0);e.forEach(n=>this.destroyActiveAnimationsForElement(n)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,YD,!0),e.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Qu(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Cl];if(e&&e.setForRemoval){if(t[Cl]=QR,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(XD)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){const n=this._whenQuietFns;this._whenQuietFns=[],e.length?Qu(e).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(t){throw function Kge(i){return new Je(3402,!1)}()}_flushAnimations(t,e){const n=new Uv,r=[],a=new Map,o=[],c=new Map,h=new Map,f=new Map,F=new Set;this.disabledNodes.forEach(pi=>{F.add(pi);const Vi=this.driver.query(pi,".ng-animate-queued",!0);for(let Qi=0;Qi{const Qi=VD+we++;fe.set(Vi,Qi),pi.forEach(lr=>Dl(lr,Qi))});const Ae=[],Ne=new Set,et=new Set;for(let pi=0;piNe.add(lr)):et.add(Vi))}const Be=new Map,dt=JR(W,Array.from(Ne));dt.forEach((pi,Vi)=>{const Qi=Lv+we++;Be.set(Vi,Qi),pi.forEach(lr=>Dl(lr,Qi))}),t.push(()=>{te.forEach((pi,Vi)=>{const Qi=fe.get(Vi);pi.forEach(lr=>yp(lr,Qi))}),dt.forEach((pi,Vi)=>{const Qi=Be.get(Vi);pi.forEach(lr=>yp(lr,Qi))}),Ae.forEach(pi=>{this.processLeaveNode(pi)})});const St=[],Wt=[];for(let pi=this._namespaceList.length-1;pi>=0;pi--)this._namespaceList[pi].drainQueuedTransitions(e).forEach(Qi=>{const lr=Qi.player,vo=Qi.element;if(St.push(lr),this.collectedEnterElements.length){const qo=vo[Cl];if(qo&&qo.setForMove){if(qo.previousTriggersValues&&qo.previousTriggersValues.has(Qi.triggerName)){const ym=qo.previousTriggersValues.get(Qi.triggerName),Ml=this.statesByElement.get(Qi.element);if(Ml&&Ml.has(Qi.triggerName)){const mw=Ml.get(Qi.triggerName);mw.value=ym,Ml.set(Qi.triggerName,mw)}}return void lr.destroy()}}const $c=!R||!this.driver.containsElement(R,vo),Xs=Be.get(vo),Xu=fe.get(vo),ua=this._buildInstruction(Qi,n,Xu,Xs,$c);if(ua.errors&&ua.errors.length)return void Wt.push(ua);if($c)return lr.onStart(()=>fm(vo,ua.fromStyles)),lr.onDestroy(()=>Wc(vo,ua.toStyles)),void r.push(lr);if(Qi.isFallbackTransition)return lr.onStart(()=>fm(vo,ua.fromStyles)),lr.onDestroy(()=>Wc(vo,ua.toStyles)),void r.push(lr);const Z9=[];ua.timelines.forEach(qo=>{qo.stretchStartingKeyframe=!0,this.disabledNodes.has(qo.element)||Z9.push(qo)}),ua.timelines=Z9,n.append(vo,ua.timelines),o.push({instruction:ua,player:lr,element:vo}),ua.queriedElements.forEach(qo=>Qs(c,qo,[]).push(lr)),ua.preStyleProps.forEach((qo,ym)=>{if(qo.size){let Ml=h.get(ym);Ml||h.set(ym,Ml=new Set),qo.forEach((mw,xM)=>Ml.add(xM))}}),ua.postStyleProps.forEach((qo,ym)=>{let Ml=f.get(ym);Ml||f.set(ym,Ml=new Set),qo.forEach((mw,xM)=>Ml.add(xM))})});if(Wt.length){const pi=[];Wt.forEach(Vi=>{pi.push(function Qge(i,t){return new Je(3505,!1)}())}),St.forEach(Vi=>Vi.destroy()),this.reportError(pi)}const Yn=new Map,tn=new Map;o.forEach(pi=>{const Vi=pi.element;n.has(Vi)&&(tn.set(Vi,Vi),this._beforeAnimationBuild(pi.player.namespaceId,pi.instruction,Yn))}),r.forEach(pi=>{const Vi=pi.element;this._getPreviousPlayers(Vi,!1,pi.namespaceId,pi.triggerName,null).forEach(lr=>{Qs(Yn,Vi,[]).push(lr),lr.destroy()})});const sr=Ae.filter(pi=>t9(pi,h,f)),ta=new Map;XR(ta,this.driver,et,f,vd).forEach(pi=>{t9(pi,h,f)&&sr.push(pi)});const aa=new Map;te.forEach((pi,Vi)=>{XR(aa,this.driver,new Set(pi),h,Kx)}),sr.forEach(pi=>{const Vi=ta.get(pi),Qi=aa.get(pi);ta.set(pi,new Map([...Array.from(Vi?.entries()??[]),...Array.from(Qi?.entries()??[])]))});const os=[],Dp=[],$d={};o.forEach(pi=>{const{element:Vi,player:Qi,instruction:lr}=pi;if(n.has(Vi)){if(F.has(Vi))return Qi.onDestroy(()=>Wc(Vi,lr.toStyles)),Qi.disabled=!0,Qi.overrideTotalTime(lr.totalTime),void r.push(Qi);let vo=$d;if(tn.size>1){let Xs=Vi;const Xu=[];for(;Xs=Xs.parentNode;){const ua=tn.get(Xs);if(ua){vo=ua;break}Xu.push(Xs)}Xu.forEach(ua=>tn.set(ua,vo))}const $c=this._buildAnimation(Qi.namespaceId,lr,Yn,a,aa,ta);if(Qi.setRealPlayer($c),vo===$d)os.push(Qi);else{const Xs=this.playersByElement.get(vo);Xs&&Xs.length&&(Qi.parentPlayer=Qu(Xs)),r.push(Qi)}}else fm(Vi,lr.fromStyles),Qi.onDestroy(()=>Wc(Vi,lr.toStyles)),Dp.push(Qi),F.has(Vi)&&r.push(Qi)}),Dp.forEach(pi=>{const Vi=a.get(pi.element);if(Vi&&Vi.length){const Qi=Qu(Vi);pi.setRealPlayer(Qi)}}),r.forEach(pi=>{pi.parentPlayer?pi.syncPlayerEvents(pi.parentPlayer):pi.destroy()});for(let pi=0;pi!$c.destroyed);vo.length?J_e(this,Vi,vo):this.processLeaveNode(Vi)}return Ae.length=0,os.forEach(pi=>{this.players.push(pi),pi.onDone(()=>{pi.destroy();const Vi=this.players.indexOf(pi);this.players.splice(Vi,1)}),pi.play()}),os}elementContainsData(t,e){let n=!1;const r=e[Cl];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,r,a){let o=[];if(e){const c=this.playersByQueriedElement.get(t);c&&(o=c)}else{const c=this.playersByElement.get(t);if(c){const h=!a||a==O0;c.forEach(f=>{f.queued||!h&&f.triggerName!=r||o.push(f)})}}return(n||r)&&(o=o.filter(c=>!(n&&n!=c.namespaceId||r&&r!=c.triggerName))),o}_beforeAnimationBuild(t,e,n){const a=e.element,o=e.isRemovalTransition?void 0:t,c=e.isRemovalTransition?void 0:e.triggerName;for(const h of e.timelines){const f=h.element,F=f!==a,R=Qs(n,f,[]);this._getPreviousPlayers(f,F,o,c,e.toState).forEach(te=>{const fe=te.getRealPlayer();fe.beforeDestroy&&fe.beforeDestroy(),te.destroy(),R.push(te)})}fm(a,e.fromStyles)}_buildAnimation(t,e,n,r,a,o){const c=e.triggerName,h=e.element,f=[],F=new Set,R=new Set,W=e.timelines.map(fe=>{const we=fe.element;F.add(we);const Ae=we[Cl];if(Ae&&Ae.removedBeforeQueried)return new Ag(fe.duration,fe.delay);const Ne=we!==h,et=function e0e(i){const t=[];return e9(i,t),t}((n.get(we)||G_e).map(Yn=>Yn.getRealPlayer())).filter(Yn=>!!Yn.element&&Yn.element===we),Be=a.get(we),dt=o.get(we),St=DR(0,this._normalizer,0,fe.keyframes,Be,dt),Wt=this._buildPlayer(fe,St,et);if(fe.subTimeline&&r&&R.add(we),Ne){const Yn=new tM(t,c,we);Yn.setRealPlayer(Wt),f.push(Yn)}return Wt});f.forEach(fe=>{Qs(this.playersByQueriedElement,fe.element,[]).push(fe),fe.onDone(()=>function Q_e(i,t,e){let n=i.get(t);if(n){if(n.length){const r=n.indexOf(e);n.splice(r,1)}0==n.length&&i.delete(t)}return n}(this.playersByQueriedElement,fe.element,fe))}),F.forEach(fe=>Dl(fe,OR));const te=Qu(W);return te.onDestroy(()=>{F.forEach(fe=>yp(fe,OR)),Wc(h,e.toStyles)}),R.forEach(fe=>{Qs(r,fe,[]).push(te)}),te}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Ag(t.duration,t.delay)}}class tM{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Ag,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,n)=>{e.forEach(r=>LD(t,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Qs(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function qv(i){return i&&1===i.nodeType}function ZR(i,t){const e=i.style.display;return i.style.display=t??"none",e}function XR(i,t,e,n,r){const a=[];e.forEach(h=>a.push(ZR(h)));const o=[];n.forEach((h,f)=>{const F=new Map;h.forEach(R=>{const W=t.computeStyle(f,R,r);F.set(R,W),(!W||0==W.length)&&(f[Cl]=q_e,o.push(f))}),i.set(f,F)});let c=0;return e.forEach(h=>ZR(h,a[c++])),o}function JR(i,t){const e=new Map;if(i.forEach(c=>e.set(c,[])),0==t.length)return e;const n=1,r=new Set(t),a=new Map;function o(c){if(!c)return n;let h=a.get(c);if(h)return h;const f=c.parentNode;return h=e.has(f)?f:r.has(f)?n:o(f),a.set(c,h),h}return t.forEach(c=>{const h=o(c);h!==n&&e.get(h).push(c)}),e}function Dl(i,t){i.classList?.add(t)}function yp(i,t){i.classList?.remove(t)}function J_e(i,t,e){Qu(e).onDone(()=>i.processLeaveNode(t))}function e9(i,t){for(let e=0;er.add(a)):t.set(i,n),e.delete(i),!0}class $v{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(r,a)=>{},this._transitionEngine=new K_e(t,e,n),this._timelineEngine=new Y_e(t,e,n),this._transitionEngine.onRemovalComplete=(r,a)=>this.onRemovalComplete(r,a)}registerTrigger(t,e,n,r,a){const o=t+"-"+r;let c=this._triggerCache[o];if(!c){const h=[],f=[],F=WD(this._driver,a,h,f);if(h.length)throw function Hge(i,t){return new Je(3404,!1)}();c=function P_e(i,t,e){return new B_e(i,t,e)}(r,F,this._normalizer),this._triggerCache[o]=c}this._transitionEngine.registerTrigger(e,r,c)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[a,o]=MR(n);this._timelineEngine.command(a,e,o,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,a){if("@"==n.charAt(0)){const[o,c]=MR(n);return this._timelineEngine.listen(o,e,c,a)}return this._transitionEngine.listen(t,e,n,r,a)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let n0e=(()=>{class i{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let a=i.initialStylesByElement.get(e);a||i.initialStylesByElement.set(e,a=new Map),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&Wc(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Wc(this._element,this._initialStyles),this._endStyles&&(Wc(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(fm(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fm(this._element,this._endStyles),this._endStyles=null),Wc(this._element,this._initialStyles),this._state=3)}}return i.initialStylesByElement=new WeakMap,i})();function iM(i){let t=null;return i.forEach((e,n)=>{(function r0e(i){return"display"===i||"position"===i})(n)&&(t=t||new Map,t.set(n,e))}),t}class n9{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(n=>{e.push(Object.fromEntries(n))}),e}_triggerWebAnimation(t,e,n){return t.animate(this._convertKeyframesToObject(e),n)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{"offset"!==r&&t.set(r,this._finished?n:YR(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}}class a0e{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return TR(t,e)}getParentElement(t){return BD(t)}query(t,e,n){return IR(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}animate(t,e,n,r,a,o=[]){const h={duration:n,delay:r,fill:0==r?"both":"forwards"};a&&(h.easing=a);const f=new Map,F=o.filter(te=>te instanceof n9);(function c_e(i,t){return 0===i||0===t})(n,r)&&F.forEach(te=>{te.currentSnapshot.forEach((fe,we)=>f.set(we,fe))});let R=function a_e(i){return i.length?i[0]instanceof Map?i:i.map(t=>RR(t)):[]}(e).map(te=>Zu(te));R=function d_e(i,t,e){if(e.size&&t.length){let n=t[0],r=[];if(e.forEach((a,o)=>{n.has(o)||r.push(o),n.set(o,a)}),r.length)for(let a=1;ao.set(c,YR(i,c)))}}return t}(t,R,f);const W=function i0e(i,t){let e=null,n=null;return Array.isArray(t)&&t.length?(e=iM(t[0]),t.length>1&&(n=iM(t[t.length-1]))):t instanceof Map&&(e=iM(t)),e||n?new n0e(i,e,n):null}(t,R);return new n9(t,R,h,W)}}let o0e=(()=>{class i extends M6{constructor(e,n){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(n.body,{id:"0",encapsulation:Fe.None,styles:[],data:{animation:[]}})}build(e){const n=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?E6(e):e;return r9(this._renderer,null,n,"register",[r]),new s0e(n,this._renderer)}}return i.\u0275fac=function(e){return new(e||i)(Ee(jm),Ee(Ci))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();class s0e extends jq{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new l0e(this._id,t,e||{},this._renderer)}}class l0e{constructor(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return r9(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function r9(i,t,e,n,r){return i.setProperty(t,`@@${e}:${n}`,r)}const a9="@.disabled";let c0e=(()=>{class i{constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=(a,o)=>{const c=o?.parentNode(a);c&&o.removeChild(c,a)}}createRenderer(e,n){const a=this.delegate.createRenderer(e,n);if(!(e&&n&&n.data&&n.data.animation)){let F=this._rendererCache.get(a);return F||(F=new o9("",a,this.engine,()=>this._rendererCache.delete(a)),this._rendererCache.set(a,F)),F}const o=n.id,c=n.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const h=F=>{Array.isArray(F)?F.forEach(h):this.engine.registerTrigger(o,c,e,F.name,F)};return n.data.animation.forEach(h),new d0e(this,c,a,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){e>=0&&en(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(a=>{const[o,c]=a;o(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([n,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return i.\u0275fac=function(e){return new(e||i)(Ee(jm),Ee($v),Ee(Rt))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();class o9{constructor(t,e,n,r){this.namespaceId=t,this.delegate=e,this.engine=n,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?a=>e.destroyNode(a):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,r=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&e==a9?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class d0e extends o9{constructor(t,e,n,r,a){super(e,n,r,a),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==a9?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.slice(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const r=function u0e(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}(t);let a=e.slice(1),o="";return"@"!=a.charAt(0)&&([a,o]=function h0e(i){const t=i.indexOf(".");return[i.substring(0,t),i.slice(t+1)]}(a)),this.engine.listen(this.namespaceId,r,a,o,c=>{this.factory.scheduleListenerCallback(c._data||-1,n,c)})}return this.delegate.listen(t,e,n)}}let m0e=(()=>{class i extends $v{constructor(e,n,r,a){super(e.body,n,r)}ngOnDestroy(){this.flush()}}return i.\u0275fac=function(e){return new(e||i)(Ee(Ci),Ee(HD),Ee(QD),Ee(ld))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();const s9=[{provide:M6,useClass:o0e},{provide:QD,useFactory:function f0e(){return new N_e}},{provide:$v,useClass:m0e},{provide:jm,useFactory:function p0e(i,t,e){return new c0e(i,t,e)},deps:[ob,$v,Rt]}],nM=[{provide:HD,useFactory:()=>new a0e},{provide:Tn,useValue:"BrowserAnimations"},...s9],l9=[{provide:HD,useClass:NR},{provide:Tn,useValue:"NoopAnimations"},...s9];let c9=(()=>{class i{static withConfig(e){return{ngModule:i,providers:e.disableAnimations?l9:nM}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:nM,imports:[CT]}),i})(),M0e=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt,Mr,Rs,Kt]}),i})(),A0e=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[_6,Kt,_6,Kt]}),i})(),O0e=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})(),z0e=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[O0e,Kt,Kt]}),i})(),n1e=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[vb]}),i})(),v1e=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt,n1e,Kt]}),i})(),D9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({}),i})(),L1e=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt,Rs,D9,Kt,D9]}),i})(),O1e=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[xf]}),i})(),yM=(()=>{class i{constructor(){this.changes=new He,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const G1e={provide:yM,deps:[[new gs,new Pl,yM]],useFactory:function W1e(i){return i||new yM}};let q1e=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[G1e,Cf],imports:[Kt,Mr,gl,O1e,Gy,Rs,Kt]}),i})(),vM=(()=>{class i{constructor(){this.changes=new He,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,n,r)=>{if(0==r||0==n)return`0 of ${r}`;const a=e*n;return`${a+1} \u2013 ${a<(r=Math.max(r,0))?Math.min(a+n,r):a+n} of ${r}`}}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const X1e={provide:vM,deps:[[new gs,new Pl,vM]],useFactory:function Z1e(i){return i||new vM}};let J1e=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[X1e],imports:[Mr,Zb,OL,uL]}),i})(),tbe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Kt]}),i})(),rbe=(()=>{class i{constructor(){this.changes=new He,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(e,n){return`${e} \u2013 ${n}`}formatYearRangeLabel(e,n){return`${e} to ${n}`}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();class _m{constructor(t,e){this.start=t,this.end=e}}const I9={provide:new Ke("mat-datepicker-scroll-strategy"),deps:[_a],useFactory:function mbe(i){return()=>i.scrollStrategies.reposition()}};let O9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[rbe,I9],imports:[Mr,Zb,Dc,Ff,gl,Kt,Cc]}),i})(),R9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Rs,Kt,Kt]}),i})();const vbe=["connectionContainer"],wbe=["inputContainer"],Fbe=["label"];function xbe(i,t){1&i&&(Fn(0),y(1,"div",14),De(2,"div",15)(3,"div",16)(4,"div",17),k(),y(5,"div",18),De(6,"div",15)(7,"div",16)(8,"div",17),k(),xn())}function kbe(i,t){if(1&i){const e=tt();y(0,"div",19),pe("cdkObserveContent",function(){return Te(e),Ie(X().updateOutlineGap())}),wt(1,1),k()}2&i&&N("cdkObserveContentDisabled","outline"!=X().appearance)}function Cbe(i,t){if(1&i&&(Fn(0),wt(1,2),y(2,"span"),B(3),k(),xn()),2&i){const e=X(2);A(3),Ct(e._control.placeholder)}}function Dbe(i,t){1&i&&wt(0,3,["*ngSwitchCase","true"])}function Mbe(i,t){1&i&&(y(0,"span",23),B(1," *"),k())}function Ebe(i,t){if(1&i){const e=tt();y(0,"label",20,21),pe("cdkObserveContent",function(){return Te(e),Ie(X().updateOutlineGap())}),oe(2,Cbe,4,1,"ng-container",12),oe(3,Dbe,1,0,"ng-content",12),oe(4,Mbe,2,0,"span",22),k()}if(2&i){const e=X();Mt("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),N("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Nt("for",e._control.id)("aria-owns",e._control.id),A(2),N("ngSwitchCase",!1),A(1),N("ngSwitchCase",!0),A(1),N("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function Sbe(i,t){1&i&&(y(0,"div",24),wt(1,4),k())}function Abe(i,t){if(1&i&&(y(0,"div",25),De(1,"span",26),k()),2&i){const e=X();A(1),Mt("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function Tbe(i,t){1&i&&(y(0,"div"),wt(1,5),k()),2&i&&N("@transitionMessages",X()._subscriptAnimationState)}function Ibe(i,t){if(1&i&&(y(0,"div",30),B(1),k()),2&i){const e=X(2);N("id",e._hintLabelId),A(1),Ct(e.hintLabel)}}function Nbe(i,t){if(1&i&&(y(0,"div",27),oe(1,Ibe,2,2,"div",28),wt(2,6),De(3,"div",29),wt(4,7),k()),2&i){const e=X();N("@transitionMessages",e._subscriptAnimationState),A(1),N("ngIf",e.hintLabel)}}const Lbe=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Obe=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],Rbe=new Ke("MatHint");let P9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-label"]]}),i})(),Pbe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=Oe({type:i,selectors:[["mat-placeholder"]]}),i})(),B9=0;const Hbe=Kl(class{constructor(i){this._elementRef=i}},"primary"),Vbe=new Ke("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ybe=(()=>{class i extends Hbe{get appearance(){return this._appearance}set appearance(e){const n=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy","outline"===this._appearance&&n!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=xt(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}constructor(e,n,r,a,o,c,h){super(e),this._changeDetectorRef=n,this._dir=r,this._defaults=a,this._platform=o,this._ngZone=c,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new He,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+B9++,this._labelId="mat-form-field-label-"+B9++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==h,this.appearance=a?.appearance||"legacy",a&&(this._hideRequiredMarker=Boolean(a.hideRequiredMarker),a.color&&(this.color=this.defaultColor=a.color))}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Yr(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(ti(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ti(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Rn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Yr(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Yr(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(ti(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const n=this._control?this._control.ngControl:null;return n&&n[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,is(this._label.nativeElement,"transitionend").pipe(gn(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const n=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,r=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,n=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",a=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const F=n.querySelectorAll(`${r}, ${a}`);for(let R=0;R0?.75*fe+10:0}for(let F=0;F{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Mr,Kt,wg,Kt]}),i})(),Y9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[Cf],imports:[uC,V9,Kt,uC,V9]}),i})();function jbe(i,t){}const j9_params_enterAnimationDuration="150ms",j9_params_exitAnimationDuration="75ms";class z9 extends qg{constructor(){super(...arguments),this.enterAnimationDuration=qb.params.enterAnimationDuration,this.exitAnimationDuration=qb.params.exitAnimationDuration}}let zbe=(()=>{class i extends GI{_onAnimationDone({toState:e,totalTime:n}){"enter"===e?this._openAnimationDone(n):"exit"===e&&this._animationStateChanged.next({state:"closed",totalTime:n})}_onAnimationStart({toState:e,totalTime:n}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:n}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:n})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}constructor(e,n,r,a,o,c,h,f,F){super(e,n,r,a,o,c,h,F),this._changeDetectorRef=f,this._state="enter"}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||j9_params_enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||j9_params_exitAnimationDuration}}}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(vf),D(Ci,8),D(z9),D(Ch),D(Rt),D(Eh),D(li),D(Ha))},i.\u0275cmp=$e({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,n){1&e&&tf("@dialogContainer.start",function(a){return n._onAnimationStart(a)})("@dialogContainer.done",function(a){return n._onAnimationDone(a)}),2&e&&(lo("id",n._config.id),Nt("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),rf("@dialogContainer",n._getAnimationState()))},features:[ot],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){1&e&&oe(0,jbe,0,0,"ng-template",0)},dependencies:[ql],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[EQ.dialogContainer]}}),i})();class Ube extends Hs{}const Wbe=new Ke("MatDialogData"),Gbe=new Ke("mat-dialog-default-options"),U9=new Ke("mat-dialog-scroll-strategy"),$be={provide:U9,deps:[_a],useFactory:function qbe(i){return()=>i.scrollStrategies.block()}};let Kbe=(()=>{class i extends ZI{constructor(e,n,r,a,o,c,h,f){super(e,n,a,c,h,o,Ube,zbe,Wbe,f),this.dialogConfigClass=z9}}return i.\u0275fac=function(e){return new(e||i)(Ee(_a),Ee(Wr),Ee(ud,8),Ee(Gbe,8),Ee(U9),Ee(i,12),Ee(kg),Ee(Tn,8))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})(),Qbe=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[Kbe,$be],imports:[Ux,Dc,gl,Kt,Kt]}),i})();const W9=new Ke("ngx-mat-date-formats");class cw extends bd{isSameTime(t,e){return null==t||null==e||this.getHour(t)===this.getHour(e)&&this.getMinute(t)===this.getMinute(e)&&this.getSecond(t)===this.getSecond(e)}copyTime(t,e){this.setHour(t,this.getHour(e)),this.setMinute(t,this.getMinute(e)),this.setSecond(t,this.getSecond(e))}compareDateWithTime(t,e,n){let r=super.compareDate(t,e)||this.getHour(t)-this.getHour(e)||this.getMinute(t)-this.getMinute(e);return n&&(r=r||this.getSecond(t)-this.getSecond(e)),r}setTimeByDefaultValues(t,e){if(!Array.isArray(e))throw Error("@Input DefaultTime should be an array");this.setHour(t,e[0]||0),this.setMinute(t,e[1]||0),this.setSecond(t,e[2]||0)}}const cye=new Ke("NGX_MAT_DATE_RANGE_SELECTION_STRATEGY");let dye=(()=>{class i{constructor(e){this._dateAdapter=e}selectionFinished(e,n){let{start:r,end:a}=n;return null==r?r=e:null==a&&e&&this._dateAdapter.compareDate(e,r)>=0?a=e:(r=e,a=null),new _m(r,a)}createPreview(e,n){let r=null,a=null;return n.start&&!n.end&&e&&(r=n.start,a=e),new _m(r,a)}}return i.\u0275fac=function(e){return new(e||i)(Ee(cw))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();function G9(i){return Error(`NgxMatDatepicker: No provider found for ${i}. You must import one of the following modules at your application root: NgxMatNativeDateModule, NgxMatMomentModule, or provide a custom implementation.`)}Kl(class{constructor(i){this._elementRef=i}});const hye={provide:ba,useExisting:ci(()=>$9),multi:!0},mye={provide:Ua,useExisting:ci(()=>$9),multi:!0};class uw{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let bm,$9=(()=>{class i{constructor(e,n,r,a){if(this._elementRef=e,this._dateAdapter=n,this._dateFormats=r,this._formField=a,this.dateChange=new ht,this.dateInput=new ht,this._valueChange=new ht,this.stateChanges=new ht,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=x.EMPTY,this._localeSubscription=x.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatetimePickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=o=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(o.value));return!this.min||!c||this._dateAdapter.compareDateWithTime(this.min,c,this._datepicker.showSeconds)<=0?null:{matDatetimePickerMin:{min:this.min,actual:c}}},this._maxValidator=o=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(o.value));return!this.max||!c||this._dateAdapter.compareDateWithTime(this.max,c,this._datepicker.showSeconds)>=0?null:{matDatetimePickerMax:{max:this.max,actual:c}}},this._filterValidator=o=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(o.value));return this._dateFilter&&c&&!this._dateFilter(c)?{matDatetimePickerFilter:!0}:null},this._validator=Ed.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw G9("NgxMatDateAdapter");if(!this._dateFormats)throw G9("NGX_MAT_DATE_FORMATS");this._localeSubscription=n.localeChanges.subscribe(()=>{this.value=this.value})}set ngxMatDatetimePicker(e){e&&(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(n=>{this.value=n,this._cvaOnChange(n),this._onTouched(),this.dateInput.emit(new uw(this,this._elementRef.nativeElement)),this.dateChange.emit(new uw(this,this._elementRef.nativeElement))}))}set ngxMatDatetimePickerFilter(e){this._dateFilter=e,this._validatorOnChange()}get value(){return this._value}set value(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);const n=this.value;this._value=e,this._formatValue(e),this._dateAdapter.sameDate(n,e)||this._valueChange.emit(e)}get min(){return this._min}set min(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get max(){return this._max}set max(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(e){const n=null!=e&&"false"!=`${e}`,r=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.emit(void 0)),n&&r.blur&&r.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(e){this.value=e}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){this._datepicker&&e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}_onInput(e){const n=this._lastValueValid;let r=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=!r||this._dateAdapter.isValid(r),r=this._getValidDateOrNull(r);const a=this._dateAdapter.isSameTime(r,this._value);null!=r&&(!a||!this._dateAdapter.sameDate(r,this._value))||null==r&&null!=this._value?(this._value=r,this._cvaOnChange(r),this._valueChange.emit(r),this.dateInput.emit(new uw(this,this._elementRef.nativeElement))):n!==this._lastValueValid&&this._validatorOnChange()}_onChange(){this.dateChange.emit(new uw(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_onFocus(){this._datepicker&&this._datepicker.opened&&this._datepicker.cancel()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}return i.\u0275fac=function(e){return new(e||i)(D(_t),D(cw,8),D(W9,8),D(Ybe,8))},i.\u0275dir=Oe({type:i,selectors:[["input","ngxMatDatetimePicker",""]],hostVars:5,hostBindings:function(e,n){1&e&&pe("input",function(a){return n._onInput(a.target.value)})("change",function(){return n._onChange()})("blur",function(){return n._onBlur()})("focus",function(){return n._onFocus()})("keydown",function(a){return n._onKeydown(a)}),2&e&&(lo("disabled",n.disabled),Nt("aria-haspopup",n._datepicker?"dialog":null)("aria-owns",(null==n._datepicker?null:n._datepicker.opened)&&n._datepicker.id||null)("min",n.min?n._dateAdapter.toIso8601(n.min):null)("max",n.max?n._dateAdapter.toIso8601(n.max):null))},inputs:{ngxMatDatetimePicker:"ngxMatDatetimePicker",ngxMatDatetimePickerFilter:"ngxMatDatetimePickerFilter",value:"value",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["ngxMatDatetimePickerInput"],features:[Ot([hye,mye,{provide:RC,useExisting:i}])]}),i})(),K9=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({imports:[Mr,Y9,pN,Py,Gy,R9]}),i})(),fye=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[I9,{provide:cye,useClass:dye}],imports:[Mr,O9,Qbe,gl,Py,Gy,R9,Y9,K9]}),i})();try{bm=typeof Intl<"u"}catch{bm=!1}const pye={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},gye=hw(31,i=>String(i+1)),_ye={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},bye=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function hw(i,t){const e=Array(i);for(let n=0;n{class i extends cw{constructor(e,n){super(),this.useUtcForDisplay=!0,super.setLocale(e),this.useUtcForDisplay=!n.TRIDENT,this._clampDate=n.TRIDENT||n.EDGE}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){if(bm){const n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return hw(12,r=>this._stripDirectionalityCharacters(this._format(n,new Date(2017,r,1))))}return pye[e]}getDateNames(){if(bm){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return hw(31,n=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,n+1))))}return gye}getDayOfWeekNames(e){if(bm){const n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return hw(7,r=>this._stripDirectionalityCharacters(this._format(n,new Date(2017,0,r+1))))}return _ye[e]}getYearName(e){if(bm){const n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(n,e))}return String(this.getYear(e))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,n,r){if(n<0||n>11)throw Error(`Invalid month index "${n}". Month index has to be between 0 and 11.`);if(r<1)throw Error(`Invalid date "${r}". Date has to be greater than 0.`);let a=this._createDateWithOverflow(e,n,r);if(a.getMonth()!=n)throw Error(`Invalid date "${r}" for month with index "${n}".`);return a}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,n){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(bm){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),n={...n,timeZone:"utc"};const r=new Intl.DateTimeFormat(this.locale,n);return this._stripDirectionalityCharacters(this._format(r,e))}return this._stripDirectionalityCharacters(e.toDateString())}addCalendarYears(e,n){return this.addCalendarMonths(e,12*n)}addCalendarMonths(e,n){let r=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+n,this.getDate(e));return this.getMonth(r)!=((this.getMonth(e)+n)%12+12)%12&&(r=this._createDateWithOverflow(this.getYear(r),this.getMonth(r),0)),r}addCalendarDays(e,n){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+n)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(bye.test(e)){let n=new Date(e);if(this.isValid(n))return n}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}getHour(e){return e.getHours()}getMinute(e){return e.getMinutes()}getSecond(e){return e.getSeconds()}setHour(e,n){e.setHours(n)}setMinute(e,n){e.setMinutes(n)}setSecond(e,n){e.setSeconds(n)}_createDateWithOverflow(e,n,r){const a=new Date(e,n,r);return e>=0&&e<100&&a.setFullYear(this.getYear(a)-1900),a}_2digit(e){return("00"+e).slice(-2)}_stripDirectionalityCharacters(e){return e.replace(/[\u200e\u200f]/g,"")}_format(e,n){const r=new Date;return r.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),r.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e.format(r)}}return i.\u0275fac=function(e){return new(e||i)(Ee(Nq,8),Ee(Pn))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})();const Q9={year:"numeric",month:"numeric",day:"numeric",hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"},vye={parse:{dateInput:Q9},display:{dateInput:Q9,monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let wye=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[{provide:cw,useClass:yye}],imports:[FW]}),i})(),Fye=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=Dt({type:i}),i.\u0275inj=It({providers:[{provide:W9,useValue:vye}],imports:[wye]}),i})();class kp{}kp.\u0275fac=function(t){return new(t||kp)},kp.\u0275mod=Dt({type:kp}),kp.\u0275inj=It({imports:[HN,c9,sL,Bk]});class Cp{}Cp.\u0275fac=function(t){return new(t||Cp)},Cp.\u0275mod=Dt({type:Cp,bootstrap:[T0]}),Cp.\u0275inj=It({providers:[or,um,hm,nc,Yd],imports:[kp,HN,CT,_p,c9,L1e,$ee,Zb,OL,M0e,rie,Fue,Oue,Gy,zce,A0e,Ure,z0e,Yue,Lse,uL,Vae,sL,v1e,q1e,uie,Kne,J1e,Poe,Afe,Qde,Py,pN,eG,I6,Zde,qfe,Bk,tbe,MQ,O9,Bme,vb,nle,Bse,fye,Fye,K9,gce,ffe.register("ngsw-worker.js",{enabled:!0,registrationStrategy:"registerWhenStable:30000"})]}),hW().bootstrapModule(Cp).catch(i=>console.error(i))},5521:(ye,S)=>{"use strict";function T(de){if(!Number.isSafeInteger(de))throw new Error(`Wrong integer: ${de}`)}function E(...de){const me=(ze,Re)=>st=>ze(Re(st));return{encode:Array.from(de).reverse().reduce((ze,Re)=>ze?me(ze,Re.encode):Re.encode,void 0),decode:de.reduce((ze,Re)=>ze?me(ze,Re.decode):Re.decode,void 0)}}function g(de){return{encode:me=>{if(!Array.isArray(me)||me.length&&"number"!=typeof me[0])throw new Error("alphabet.encode input should be an array of numbers");return me.map(ge=>{if(T(ge),ge<0||ge>=de.length)throw new Error(`Digit index outside alphabet: ${ge} (alphabet: ${de.length})`);return de[ge]})},decode:me=>{if(!Array.isArray(me)||me.length&&"string"!=typeof me[0])throw new Error("alphabet.decode input should be array of strings");return me.map(ge=>{if("string"!=typeof ge)throw new Error(`alphabet.decode: not string element=${ge}`);const ve=de.indexOf(ge);if(-1===ve)throw new Error(`Unknown letter: "${ge}". Allowed: ${de}`);return ve})}}}function b(de=""){if("string"!=typeof de)throw new Error("join separator should be string");return{encode:me=>{if(!Array.isArray(me)||me.length&&"string"!=typeof me[0])throw new Error("join.encode input should be array of strings");for(let ge of me)if("string"!=typeof ge)throw new Error(`join.encode: non-string input=${ge}`);return me.join(de)},decode:me=>{if("string"!=typeof me)throw new Error("join.decode input should be string");return me.split(de)}}}function _(de,me="="){if(T(de),"string"!=typeof me)throw new Error("padding chr should be string");return{encode(ge){if(!Array.isArray(ge)||ge.length&&"string"!=typeof ge[0])throw new Error("padding.encode input should be array of strings");for(let ve of ge)if("string"!=typeof ve)throw new Error(`padding.encode: non-string input=${ve}`);for(;ge.length*de%8;)ge.push(me);return ge},decode(ge){if(!Array.isArray(ge)||ge.length&&"string"!=typeof ge[0])throw new Error("padding.encode input should be array of strings");for(let ze of ge)if("string"!=typeof ze)throw new Error(`padding.decode: non-string input=${ze}`);let ve=ge.length;if(ve*de%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;ve>0&&ge[ve-1]===me;ve--)if(!((ve-1)*de%8))throw new Error("Invalid padding: string has too much padding");return ge.slice(0,ve)}}}function x(de){if("function"!=typeof de)throw new Error("normalize fn should be function");return{encode:me=>me,decode:me=>de(me)}}function C(de,me,ge){if(me<2)throw new Error(`convertRadix: wrong from=${me}, base cannot be less than 2`);if(ge<2)throw new Error(`convertRadix: wrong to=${ge}, base cannot be less than 2`);if(!Array.isArray(de))throw new Error("convertRadix: data should be array");if(!de.length)return[];let ve=0;const ze=[],Re=Array.from(de);for(Re.forEach(st=>{if(T(st),st<0||st>=me)throw new Error(`Wrong integer: ${st}`)});;){let st=0,mt=!0;for(let At=ve;Atme?I(me,de%me):de,P=(de,me)=>de+(me-I(de,me));function O(de,me,ge,ve){if(!Array.isArray(de))throw new Error("convertRadix2: data should be array");if(me<=0||me>32)throw new Error(`convertRadix2: wrong from=${me}`);if(ge<=0||ge>32)throw new Error(`convertRadix2: wrong to=${ge}`);if(P(me,ge)>32)throw new Error(`convertRadix2: carry overflow from=${me} to=${ge} carryBits=${P(me,ge)}`);let ze=0,Re=0;const st=2**ge-1,mt=[];for(const At of de){if(T(At),At>=2**me)throw new Error(`convertRadix2: invalid data word=${At} from=${me}`);if(ze=ze<32)throw new Error(`convertRadix2: carry overflow pos=${Re} from=${me}`);for(Re+=me;Re>=ge;Re-=ge)mt.push((ze>>Re-ge&st)>>>0);ze&=2**Re-1}if(ze=ze<=me)throw new Error("Excess padding");if(!ve&&ze)throw new Error(`Non-zero padding: ${ze}`);return ve&&Re>0&&mt.push(ze>>>0),mt}function U(de){return T(de),{encode:me=>{if(!(me instanceof Uint8Array))throw new Error("radix.encode input should be Uint8Array");return C(Array.from(me),256,de)},decode:me=>{if(!Array.isArray(me)||me.length&&"number"!=typeof me[0])throw new Error("radix.decode input should be array of strings");return Uint8Array.from(C(me,de,256))}}}function Q(de,me=!1){if(T(de),de<=0||de>32)throw new Error("radix2: bits should be in (0..32]");if(P(8,de)>32||P(de,8)>32)throw new Error("radix2: carry overflow");return{encode:ge=>{if(!(ge instanceof Uint8Array))throw new Error("radix2.encode input should be Uint8Array");return O(Array.from(ge),8,de,!me)},decode:ge=>{if(!Array.isArray(ge)||ge.length&&"number"!=typeof ge[0])throw new Error("radix2.decode input should be array of strings");return Uint8Array.from(O(ge,de,8,me))}}}function j(de){if("function"!=typeof de)throw new Error("unsafeWrapper fn should be function");return function(...me){try{return de.apply(null,me)}catch{}}}function V(de,me){if(T(de),"function"!=typeof me)throw new Error("checksum fn should be function");return{encode(ge){if(!(ge instanceof Uint8Array))throw new Error("checksum.encode: input should be Uint8Array");const ve=me(ge).slice(0,de),ze=new Uint8Array(ge.length+de);return ze.set(ge),ze.set(ve,ge.length),ze},decode(ge){if(!(ge instanceof Uint8Array))throw new Error("checksum.decode: input should be Uint8Array");const ve=ge.slice(0,-de),ze=me(ve).slice(0,de),Re=ge.slice(-de);for(let st=0;stde.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),S.base64=E(Q(6),g("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),_(6),b("")),S.base64url=E(Q(6),g("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),_(6),b(""));const ne=de=>E(U(58),g(de),b(""));S.base58=ne("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),S.base58flickr=ne("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),S.base58xrp=ne("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");const G=[0,2,3,5,6,7,9,10,11];S.base58xmr={encode(de){let me="";for(let ge=0;geE(V(4,me=>de(de(me))),S.base58);const q=E(g("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),b("")),z=[996825010,642813549,513874426,1027748829,705979059];function ce(de){const me=de>>25;let ge=(33554431&de)<<5;for(let ve=0;ve>ve&1)&&(ge^=z[ve]);return ge}function le(de,me,ge=1){const ve=de.length;let ze=1;for(let Re=0;Re126)throw new Error(`Invalid prefix (${de})`);ze=ce(ze)^st>>5}ze=ce(ze);for(let Re=0;Reii)throw new TypeError(`Wrong string length: ${ft.length} (${ft}). Expected (8..${ii})`);const He=ft.toLowerCase();if(ft!==He&&ft!==ft.toUpperCase())throw new Error("String must be lowercase or uppercase");const gi=(ft=He).lastIndexOf("1");if(0===gi||-1===gi)throw new Error('Letter "1" must be present between prefix and data only');const nt=ft.slice(0,gi),ei=ft.slice(gi+1);if(ei.length<6)throw new Error("Data must be at least 6 characters long");const zt=q.decode(ei).slice(0,-6),yn=le(nt,zt,me);if(!ei.endsWith(yn))throw new Error(`Invalid checksum in ${ft}: expected "${yn}"`);return{prefix:nt,words:zt}}return{encode:function st(ft,ii,He=90){if("string"!=typeof ft)throw new Error("bech32.encode prefix should be string, not "+typeof ft);if(!Array.isArray(ii)||ii.length&&"number"!=typeof ii[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof ii);const gi=ft.length+7+ii.length;if(!1!==He&&gi>He)throw new TypeError(`Length ${gi} exceeds limit ${He}`);return`${ft=ft.toLowerCase()}1${q.encode(ii)}${le(ft,ii,me)}`},decode:mt,decodeToBytes:function Zt(ft){const{prefix:ii,words:He}=mt(ft,!1);return{prefix:ii,words:He,bytes:ve(He)}},decodeUnsafe:j(mt),fromWords:ve,fromWordsUnsafe:Re,toWords:ze}}S.bech32=ee("bech32"),S.bech32m=ee("bech32m"),S.utf8={encode:de=>(new TextDecoder).decode(de),decode:de=>(new TextEncoder).encode(de)},S.hex=E(Q(4),g("0123456789abcdef"),b(""),x(de=>{if("string"!=typeof de||de.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof de} with length ${de.length}`);return de.toLowerCase()}));const K={utf8:S.utf8,hex:S.hex,base16:S.base16,base32:S.base32,base64:S.base64,base64url:S.base64url,base58:S.base58,base58xmr:S.base58xmr},ae=`Invalid encoding type. Available types: ${Object.keys(K).join(", ")}`;S.bytesToString=(de,me)=>{if("string"!=typeof de||!K.hasOwnProperty(de))throw new TypeError(ae);if(!(me instanceof Uint8Array))throw new TypeError("bytesToString() expects Uint8Array");return K[de].encode(me)},S.str=S.bytesToString,S.stringToBytes=(de,me)=>{if(!K.hasOwnProperty(de))throw new TypeError(ae);if("string"!=typeof me)throw new TypeError("stringToBytes() expects string");return K[de].decode(me)},S.bytes=S.stringToBytes},6837:(ye,S,T)=>{"use strict";S.Z1=S._I=S.OF=void 0;const g=T(5729),b=T(9522),_=T(8519),x=T(27),C=T(7507),I=T(5521),P=ee=>"\u3042\u3044\u3053\u304f\u3057\u3093"===ee[0];function O(ee){if("string"!=typeof ee)throw new TypeError("Invalid mnemonic type: "+typeof ee);return ee.normalize("NFKD")}function U(ee){const K=O(ee),ae=K.split(" ");if(![12,15,18,21,24].includes(ae.length))throw new Error("Invalid mnemonic");return{nfkd:K,words:ae}}function Q(ee){g.default.bytes(ee,16,20,24,28,32)}S.OF=function j(ee,K=128){if(g.default.number(K),K%32!=0||K>256)throw new TypeError("Invalid entropy");return function ie(ee,K){return Q(ee),ne(K).encode(ee).join(P(K)?"\u3000":" ")}((0,C.randomBytes)(K/8),ee)};const V=ee=>{const K=8-ee.length/4;return new Uint8Array([(0,_.sha256)(ee)[0]>>K<{if("string"!=typeof K)throw new Error(`Wordlist: non-string element: ${K}`)}),I.utils.chain(I.utils.checksum(1,V),I.utils.radix2(11,!0),I.utils.alphabet(ee))}S._I=function q(ee,K){try{!function G(ee,K){const{words:ae}=U(ee),he=ne(K).decode(ae);return Q(he),he}(ee,K)}catch{return!1}return!0};S.Z1=function le(ee,K=""){return(0,b.pbkdf2)(x.sha512,U(ee).nfkd,(ee=>O(`mnemonic${ee}`))(K),{c:2048,dkLen:64})}},5729:(ye,S)=>{"use strict";function T(I){if(!Number.isSafeInteger(I)||I<0)throw new Error(`Wrong positive integer: ${I}`)}function E(I){if("boolean"!=typeof I)throw new Error(`Expected boolean, not ${I}`)}function g(I,...P){if(!(I instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(P.length>0&&!P.includes(I.length))throw new TypeError(`Expected Uint8Array of length ${P}, not of length=${I.length}`)}function b(I){if("function"!=typeof I||"function"!=typeof I.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");T(I.outputLen),T(I.blockLen)}function _(I,P=!0){if(I.destroyed)throw new Error("Hash instance has been destroyed");if(P&&I.finished)throw new Error("Hash#digest() has already been called")}function x(I,P){g(I);const O=P.outputLen;if(I.length{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.SHA2=void 0;const E=T(5729),g=T(7507);S.SHA2=class _ extends g.Hash{constructor(C,I,P,O){super(),this.blockLen=C,this.outputLen=I,this.padOffset=P,this.isLE=O,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(C),this.view=(0,g.createView)(this.buffer)}update(C){E.default.exists(this);const{view:I,buffer:P,blockLen:O}=this,U=(C=(0,g.toBytes)(C)).length;for(let Q=0;QO-Q&&(this.process(P,0),Q=0);for(let ie=Q;ie>O&U),j=Number(I&U),ne=P?0:4;x.setUint32(C+(P?4:0),Q,P),x.setUint32(C+ne,j,P)})(P,O-8,BigInt(8*this.length),U),this.process(P,0);const j=(0,g.createView)(C),V=this.outputLen;if(V%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const ne=V/4,G=this.get();if(ne>G.length)throw new Error("_sha2: outputLen bigger than state");for(let ie=0;ie{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.add=S.toBig=S.split=S.fromBig=void 0;const T=BigInt(2**32-1),E=BigInt(32);function g(re,de=!1){return de?{h:Number(re&T),l:Number(re>>E&T)}:{h:0|Number(re>>E&T),l:0|Number(re&T)}}function b(re,de=!1){let me=new Uint32Array(re.length),ge=new Uint32Array(re.length);for(let ve=0;ve>>0)+(ge>>>0);return{h:re+me+(ve/2**32|0)|0,l:0|ve}}S.fromBig=g,S.split=b,S.toBig=(re,de)=>BigInt(re>>>0)<>>0),S.add=q,S.default={fromBig:g,split:b,toBig:S.toBig,shrSH:(re,de,me)=>re>>>me,shrSL:(re,de,me)=>re<<32-me|de>>>me,rotrSH:(re,de,me)=>re>>>me|de<<32-me,rotrSL:(re,de,me)=>re<<32-me|de>>>me,rotrBH:(re,de,me)=>re<<64-me|de>>>me-32,rotrBL:(re,de,me)=>re>>>me-32|de<<64-me,rotr32H:(re,de)=>de,rotr32L:(re,de)=>re,rotlSH:(re,de,me)=>re<>>32-me,rotlSL:(re,de,me)=>de<>>32-me,rotlBH:(re,de,me)=>de<>>64-me,rotlBL:(re,de,me)=>re<>>64-me,add:q,add3L:(re,de,me)=>(re>>>0)+(de>>>0)+(me>>>0),add3H:(re,de,me,ge)=>de+me+ge+(re/2**32|0)|0,add4L:(re,de,me,ge)=>(re>>>0)+(de>>>0)+(me>>>0)+(ge>>>0),add4H:(re,de,me,ge,ve)=>de+me+ge+ve+(re/2**32|0)|0,add5H:(re,de,me,ge,ve,ze)=>de+me+ge+ve+ze+(re/2**32|0)|0,add5L:(re,de,me,ge,ve)=>(re>>>0)+(de>>>0)+(me>>>0)+(ge>>>0)+(ve>>>0)}},7882:(ye,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.crypto=void 0,S.crypto={node:void 0,web:"object"==typeof self&&"crypto"in self?self.crypto:void 0}},602:(ye,S,T)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.hmac=void 0;const E=T(5729),g=T(7507);class b extends g.Hash{constructor(C,I){super(),this.finished=!1,this.destroyed=!1,E.default.hash(C);const P=(0,g.toBytes)(I);if(this.iHash=C.create(),"function"!=typeof this.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const O=this.blockLen,U=new Uint8Array(O);U.set(P.length>O?C.create().update(P).digest():P);for(let Q=0;Qnew b(x,C).update(I).digest(),S.hmac.create=(x,C)=>new b(x,C)},9522:(ye,S,T)=>{"use strict";var E=T(9598).default;Object.defineProperty(S,"__esModule",{value:!0}),S.pbkdf2Async=S.pbkdf2=void 0;const g=T(5729),b=T(602),_=T(7507);function x(U,Q,j,V){g.default.hash(U);const ne=(0,_.checkOpts)({dkLen:32,asyncTick:10},V),{c:G,dkLen:ie,asyncTick:q}=ne;if(g.default.number(G),g.default.number(ie),g.default.number(q),G<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const z=(0,_.toBytes)(Q),ce=(0,_.toBytes)(j),le=new Uint8Array(ie),ee=b.hmac.create(U,z),K=ee._cloneInto().update(ce);return{c:G,dkLen:ie,asyncTick:q,DK:le,PRF:ee,PRFSalt:K}}function C(U,Q,j,V,ne){return U.destroy(),Q.destroy(),V&&V.destroy(),ne.fill(0),j}function O(){return(O=E(function*(U,Q,j,V){const{c:ne,dkLen:G,asyncTick:ie,DK:q,PRF:z,PRFSalt:ce}=x(U,Q,j,V);let le;const ee=new Uint8Array(4),K=(0,_.createView)(ee),ae=new Uint8Array(z.outputLen);for(let he=1,re=0;re{z._cloneInto(le).update(ae).digestInto(ae);for(let ge=0;ge{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.sha224=S.sha256=void 0;const E=T(4206),g=T(7507),b=(U,Q,j)=>U&Q^~U&j,_=(U,Q,j)=>U&Q^U&j^Q&j,x=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),C=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),I=new Uint32Array(64);class P extends E.SHA2{constructor(){super(64,32,8,!1),this.A=0|C[0],this.B=0|C[1],this.C=0|C[2],this.D=0|C[3],this.E=0|C[4],this.F=0|C[5],this.G=0|C[6],this.H=0|C[7]}get(){const{A:Q,B:j,C:V,D:ne,E:G,F:ie,G:q,H:z}=this;return[Q,j,V,ne,G,ie,q,z]}set(Q,j,V,ne,G,ie,q,z){this.A=0|Q,this.B=0|j,this.C=0|V,this.D=0|ne,this.E=0|G,this.F=0|ie,this.G=0|q,this.H=0|z}process(Q,j){for(let ee=0;ee<16;ee++,j+=4)I[ee]=Q.getUint32(j,!1);for(let ee=16;ee<64;ee++){const K=I[ee-15],ae=I[ee-2],he=(0,g.rotr)(K,7)^(0,g.rotr)(K,18)^K>>>3,re=(0,g.rotr)(ae,17)^(0,g.rotr)(ae,19)^ae>>>10;I[ee]=re+I[ee-7]+he+I[ee-16]|0}let{A:V,B:ne,C:G,D:ie,E:q,F:z,G:ce,H:le}=this;for(let ee=0;ee<64;ee++){const ae=le+((0,g.rotr)(q,6)^(0,g.rotr)(q,11)^(0,g.rotr)(q,25))+b(q,z,ce)+x[ee]+I[ee]|0,re=((0,g.rotr)(V,2)^(0,g.rotr)(V,13)^(0,g.rotr)(V,22))+_(V,ne,G)|0;le=ce,ce=z,z=q,q=ie+ae|0,ie=G,G=ne,ne=V,V=ae+re|0}V=V+this.A|0,ne=ne+this.B|0,G=G+this.C|0,ie=ie+this.D|0,q=q+this.E|0,z=z+this.F|0,ce=ce+this.G|0,le=le+this.H|0,this.set(V,ne,G,ie,q,z,ce,le)}roundClean(){I.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class O extends P{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}S.sha256=(0,g.wrapConstructor)(()=>new P),S.sha224=(0,g.wrapConstructor)(()=>new O)},27:(ye,S,T)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.sha384=S.sha512_256=S.sha512_224=S.sha512=S.SHA512=void 0;const E=T(4206),g=T(9027),b=T(7507),[_,x]=g.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(j=>BigInt(j))),C=new Uint32Array(80),I=new Uint32Array(80);class P extends E.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:V,Al:ne,Bh:G,Bl:ie,Ch:q,Cl:z,Dh:ce,Dl:le,Eh:ee,El:K,Fh:ae,Fl:he,Gh:re,Gl:de,Hh:me,Hl:ge}=this;return[V,ne,G,ie,q,z,ce,le,ee,K,ae,he,re,de,me,ge]}set(V,ne,G,ie,q,z,ce,le,ee,K,ae,he,re,de,me,ge){this.Ah=0|V,this.Al=0|ne,this.Bh=0|G,this.Bl=0|ie,this.Ch=0|q,this.Cl=0|z,this.Dh=0|ce,this.Dl=0|le,this.Eh=0|ee,this.El=0|K,this.Fh=0|ae,this.Fl=0|he,this.Gh=0|re,this.Gl=0|de,this.Hh=0|me,this.Hl=0|ge}process(V,ne){for(let Re=0;Re<16;Re++,ne+=4)C[Re]=V.getUint32(ne),I[Re]=V.getUint32(ne+=4);for(let Re=16;Re<80;Re++){const st=0|C[Re-15],mt=0|I[Re-15],At=g.default.rotrSH(st,mt,1)^g.default.rotrSH(st,mt,8)^g.default.shrSH(st,mt,7),Zt=g.default.rotrSL(st,mt,1)^g.default.rotrSL(st,mt,8)^g.default.shrSL(st,mt,7),ft=0|C[Re-2],ii=0|I[Re-2],He=g.default.rotrSH(ft,ii,19)^g.default.rotrBH(ft,ii,61)^g.default.shrSH(ft,ii,6),gi=g.default.rotrSL(ft,ii,19)^g.default.rotrBL(ft,ii,61)^g.default.shrSL(ft,ii,6),nt=g.default.add4L(Zt,gi,I[Re-7],I[Re-16]),ei=g.default.add4H(nt,At,He,C[Re-7],C[Re-16]);C[Re]=0|ei,I[Re]=0|nt}let{Ah:G,Al:ie,Bh:q,Bl:z,Ch:ce,Cl:le,Dh:ee,Dl:K,Eh:ae,El:he,Fh:re,Fl:de,Gh:me,Gl:ge,Hh:ve,Hl:ze}=this;for(let Re=0;Re<80;Re++){const st=g.default.rotrSH(ae,he,14)^g.default.rotrSH(ae,he,18)^g.default.rotrBH(ae,he,41),mt=g.default.rotrSL(ae,he,14)^g.default.rotrSL(ae,he,18)^g.default.rotrBL(ae,he,41),At=ae&re^~ae&me,ft=g.default.add5L(ze,mt,he&de^~he&ge,x[Re],I[Re]),ii=g.default.add5H(ft,ve,st,At,_[Re],C[Re]),He=0|ft,gi=g.default.rotrSH(G,ie,28)^g.default.rotrBH(G,ie,34)^g.default.rotrBH(G,ie,39),nt=g.default.rotrSL(G,ie,28)^g.default.rotrBL(G,ie,34)^g.default.rotrBL(G,ie,39),ei=G&q^G&ce^q&ce,zt=ie&z^ie&le^z≤ve=0|me,ze=0|ge,me=0|re,ge=0|de,re=0|ae,de=0|he,({h:ae,l:he}=g.default.add(0|ee,0|K,0|ii,0|He)),ee=0|ce,K=0|le,ce=0|q,le=0|z,q=0|G,z=0|ie;const yn=g.default.add3L(He,nt,zt);G=g.default.add3H(yn,ii,gi,ei),ie=0|yn}({h:G,l:ie}=g.default.add(0|this.Ah,0|this.Al,0|G,0|ie)),({h:q,l:z}=g.default.add(0|this.Bh,0|this.Bl,0|q,0|z)),({h:ce,l:le}=g.default.add(0|this.Ch,0|this.Cl,0|ce,0|le)),({h:ee,l:K}=g.default.add(0|this.Dh,0|this.Dl,0|ee,0|K)),({h:ae,l:he}=g.default.add(0|this.Eh,0|this.El,0|ae,0|he)),({h:re,l:de}=g.default.add(0|this.Fh,0|this.Fl,0|re,0|de)),({h:me,l:ge}=g.default.add(0|this.Gh,0|this.Gl,0|me,0|ge)),({h:ve,l:ze}=g.default.add(0|this.Hh,0|this.Hl,0|ve,0|ze)),this.set(G,ie,q,z,ce,le,ee,K,ae,he,re,de,me,ge,ve,ze)}roundClean(){C.fill(0),I.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}S.SHA512=P;class O extends P{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class U extends P{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class Q extends P{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}S.sha512=(0,b.wrapConstructor)(()=>new P),S.sha512_224=(0,b.wrapConstructor)(()=>new O),S.sha512_256=(0,b.wrapConstructor)(()=>new U),S.sha384=(0,b.wrapConstructor)(()=>new Q)},7507:(ye,S,T)=>{"use strict";var E=T(9598).default;Object.defineProperty(S,"__esModule",{value:!0}),S.randomBytes=S.wrapConstructorWithOpts=S.wrapConstructor=S.checkOpts=S.Hash=S.concatBytes=S.toBytes=S.utf8ToBytes=S.asyncLoop=S.nextTick=S.hexToBytes=S.bytesToHex=S.isLE=S.rotr=S.createView=S.u32=S.u8=void 0;const g=T(7882);if(S.u8=K=>new Uint8Array(K.buffer,K.byteOffset,K.byteLength),S.u32=K=>new Uint32Array(K.buffer,K.byteOffset,Math.floor(K.byteLength/4)),S.createView=K=>new DataView(K.buffer,K.byteOffset,K.byteLength),S.rotr=(K,ae)=>K<<32-ae|K>>>ae,S.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!S.isLE)throw new Error("Non little-endian hardware is not supported");const I=Array.from({length:256},(K,ae)=>ae.toString(16).padStart(2,"0"));function j(){return(j=E(function*(K,ae,he){let re=Date.now();for(let de=0;de=0&&mere instanceof Uint8Array))throw new Error("Uint8Array list expected");if(1===K.length)return K[0];const ae=K.reduce((re,de)=>re+de.length,0),he=new Uint8Array(ae);for(let re=0,de=0;re"[object Object]"===Object.prototype.toString.call(K)&&K.constructor===Object)(ae)))throw new TypeError("Options should be object or undefined");return Object.assign(K,ae)},S.wrapConstructor=function ce(K){const ae=re=>K().update(ne(re)).digest(),he=K();return ae.outputLen=he.outputLen,ae.blockLen=he.blockLen,ae.create=()=>K(),ae},S.wrapConstructorWithOpts=function le(K){const ae=(re,de)=>K(de).update(ne(re)).digest(),he=K({});return ae.outputLen=he.outputLen,ae.blockLen=he.blockLen,ae.create=re=>K(re),ae},S.randomBytes=function ee(K=32){if(g.crypto.web)return g.crypto.web.getRandomValues(new Uint8Array(K));if(g.crypto.node)return new Uint8Array(g.crypto.node.randomBytes(K).buffer);throw new Error("The environment doesn't have randomBytes function")}},3439:(ye,S)=>{"use strict";S.U=void 0,S.U="abandon\nability\nable\nabout\nabove\nabsent\nabsorb\nabstract\nabsurd\nabuse\naccess\naccident\naccount\naccuse\nachieve\nacid\nacoustic\nacquire\nacross\nact\naction\nactor\nactress\nactual\nadapt\nadd\naddict\naddress\nadjust\nadmit\nadult\nadvance\nadvice\naerobic\naffair\nafford\nafraid\nagain\nage\nagent\nagree\nahead\naim\nair\nairport\naisle\nalarm\nalbum\nalcohol\nalert\nalien\nall\nalley\nallow\nalmost\nalone\nalpha\nalready\nalso\nalter\nalways\namateur\namazing\namong\namount\namused\nanalyst\nanchor\nancient\nanger\nangle\nangry\nanimal\nankle\nannounce\nannual\nanother\nanswer\nantenna\nantique\nanxiety\nany\napart\napology\nappear\napple\napprove\napril\narch\narctic\narea\narena\nargue\narm\narmed\narmor\narmy\naround\narrange\narrest\narrive\narrow\nart\nartefact\nartist\nartwork\nask\naspect\nassault\nasset\nassist\nassume\nasthma\nathlete\natom\nattack\nattend\nattitude\nattract\nauction\naudit\naugust\naunt\nauthor\nauto\nautumn\naverage\navocado\navoid\nawake\naware\naway\nawesome\nawful\nawkward\naxis\nbaby\nbachelor\nbacon\nbadge\nbag\nbalance\nbalcony\nball\nbamboo\nbanana\nbanner\nbar\nbarely\nbargain\nbarrel\nbase\nbasic\nbasket\nbattle\nbeach\nbean\nbeauty\nbecause\nbecome\nbeef\nbefore\nbegin\nbehave\nbehind\nbelieve\nbelow\nbelt\nbench\nbenefit\nbest\nbetray\nbetter\nbetween\nbeyond\nbicycle\nbid\nbike\nbind\nbiology\nbird\nbirth\nbitter\nblack\nblade\nblame\nblanket\nblast\nbleak\nbless\nblind\nblood\nblossom\nblouse\nblue\nblur\nblush\nboard\nboat\nbody\nboil\nbomb\nbone\nbonus\nbook\nboost\nborder\nboring\nborrow\nboss\nbottom\nbounce\nbox\nboy\nbracket\nbrain\nbrand\nbrass\nbrave\nbread\nbreeze\nbrick\nbridge\nbrief\nbright\nbring\nbrisk\nbroccoli\nbroken\nbronze\nbroom\nbrother\nbrown\nbrush\nbubble\nbuddy\nbudget\nbuffalo\nbuild\nbulb\nbulk\nbullet\nbundle\nbunker\nburden\nburger\nburst\nbus\nbusiness\nbusy\nbutter\nbuyer\nbuzz\ncabbage\ncabin\ncable\ncactus\ncage\ncake\ncall\ncalm\ncamera\ncamp\ncan\ncanal\ncancel\ncandy\ncannon\ncanoe\ncanvas\ncanyon\ncapable\ncapital\ncaptain\ncar\ncarbon\ncard\ncargo\ncarpet\ncarry\ncart\ncase\ncash\ncasino\ncastle\ncasual\ncat\ncatalog\ncatch\ncategory\ncattle\ncaught\ncause\ncaution\ncave\nceiling\ncelery\ncement\ncensus\ncentury\ncereal\ncertain\nchair\nchalk\nchampion\nchange\nchaos\nchapter\ncharge\nchase\nchat\ncheap\ncheck\ncheese\nchef\ncherry\nchest\nchicken\nchief\nchild\nchimney\nchoice\nchoose\nchronic\nchuckle\nchunk\nchurn\ncigar\ncinnamon\ncircle\ncitizen\ncity\ncivil\nclaim\nclap\nclarify\nclaw\nclay\nclean\nclerk\nclever\nclick\nclient\ncliff\nclimb\nclinic\nclip\nclock\nclog\nclose\ncloth\ncloud\nclown\nclub\nclump\ncluster\nclutch\ncoach\ncoast\ncoconut\ncode\ncoffee\ncoil\ncoin\ncollect\ncolor\ncolumn\ncombine\ncome\ncomfort\ncomic\ncommon\ncompany\nconcert\nconduct\nconfirm\ncongress\nconnect\nconsider\ncontrol\nconvince\ncook\ncool\ncopper\ncopy\ncoral\ncore\ncorn\ncorrect\ncost\ncotton\ncouch\ncountry\ncouple\ncourse\ncousin\ncover\ncoyote\ncrack\ncradle\ncraft\ncram\ncrane\ncrash\ncrater\ncrawl\ncrazy\ncream\ncredit\ncreek\ncrew\ncricket\ncrime\ncrisp\ncritic\ncrop\ncross\ncrouch\ncrowd\ncrucial\ncruel\ncruise\ncrumble\ncrunch\ncrush\ncry\ncrystal\ncube\nculture\ncup\ncupboard\ncurious\ncurrent\ncurtain\ncurve\ncushion\ncustom\ncute\ncycle\ndad\ndamage\ndamp\ndance\ndanger\ndaring\ndash\ndaughter\ndawn\nday\ndeal\ndebate\ndebris\ndecade\ndecember\ndecide\ndecline\ndecorate\ndecrease\ndeer\ndefense\ndefine\ndefy\ndegree\ndelay\ndeliver\ndemand\ndemise\ndenial\ndentist\ndeny\ndepart\ndepend\ndeposit\ndepth\ndeputy\nderive\ndescribe\ndesert\ndesign\ndesk\ndespair\ndestroy\ndetail\ndetect\ndevelop\ndevice\ndevote\ndiagram\ndial\ndiamond\ndiary\ndice\ndiesel\ndiet\ndiffer\ndigital\ndignity\ndilemma\ndinner\ndinosaur\ndirect\ndirt\ndisagree\ndiscover\ndisease\ndish\ndismiss\ndisorder\ndisplay\ndistance\ndivert\ndivide\ndivorce\ndizzy\ndoctor\ndocument\ndog\ndoll\ndolphin\ndomain\ndonate\ndonkey\ndonor\ndoor\ndose\ndouble\ndove\ndraft\ndragon\ndrama\ndrastic\ndraw\ndream\ndress\ndrift\ndrill\ndrink\ndrip\ndrive\ndrop\ndrum\ndry\nduck\ndumb\ndune\nduring\ndust\ndutch\nduty\ndwarf\ndynamic\neager\neagle\nearly\nearn\nearth\neasily\neast\neasy\necho\necology\neconomy\nedge\nedit\neducate\neffort\negg\neight\neither\nelbow\nelder\nelectric\nelegant\nelement\nelephant\nelevator\nelite\nelse\nembark\nembody\nembrace\nemerge\nemotion\nemploy\nempower\nempty\nenable\nenact\nend\nendless\nendorse\nenemy\nenergy\nenforce\nengage\nengine\nenhance\nenjoy\nenlist\nenough\nenrich\nenroll\nensure\nenter\nentire\nentry\nenvelope\nepisode\nequal\nequip\nera\nerase\nerode\nerosion\nerror\nerupt\nescape\nessay\nessence\nestate\neternal\nethics\nevidence\nevil\nevoke\nevolve\nexact\nexample\nexcess\nexchange\nexcite\nexclude\nexcuse\nexecute\nexercise\nexhaust\nexhibit\nexile\nexist\nexit\nexotic\nexpand\nexpect\nexpire\nexplain\nexpose\nexpress\nextend\nextra\neye\neyebrow\nfabric\nface\nfaculty\nfade\nfaint\nfaith\nfall\nfalse\nfame\nfamily\nfamous\nfan\nfancy\nfantasy\nfarm\nfashion\nfat\nfatal\nfather\nfatigue\nfault\nfavorite\nfeature\nfebruary\nfederal\nfee\nfeed\nfeel\nfemale\nfence\nfestival\nfetch\nfever\nfew\nfiber\nfiction\nfield\nfigure\nfile\nfilm\nfilter\nfinal\nfind\nfine\nfinger\nfinish\nfire\nfirm\nfirst\nfiscal\nfish\nfit\nfitness\nfix\nflag\nflame\nflash\nflat\nflavor\nflee\nflight\nflip\nfloat\nflock\nfloor\nflower\nfluid\nflush\nfly\nfoam\nfocus\nfog\nfoil\nfold\nfollow\nfood\nfoot\nforce\nforest\nforget\nfork\nfortune\nforum\nforward\nfossil\nfoster\nfound\nfox\nfragile\nframe\nfrequent\nfresh\nfriend\nfringe\nfrog\nfront\nfrost\nfrown\nfrozen\nfruit\nfuel\nfun\nfunny\nfurnace\nfury\nfuture\ngadget\ngain\ngalaxy\ngallery\ngame\ngap\ngarage\ngarbage\ngarden\ngarlic\ngarment\ngas\ngasp\ngate\ngather\ngauge\ngaze\ngeneral\ngenius\ngenre\ngentle\ngenuine\ngesture\nghost\ngiant\ngift\ngiggle\nginger\ngiraffe\ngirl\ngive\nglad\nglance\nglare\nglass\nglide\nglimpse\nglobe\ngloom\nglory\nglove\nglow\nglue\ngoat\ngoddess\ngold\ngood\ngoose\ngorilla\ngospel\ngossip\ngovern\ngown\ngrab\ngrace\ngrain\ngrant\ngrape\ngrass\ngravity\ngreat\ngreen\ngrid\ngrief\ngrit\ngrocery\ngroup\ngrow\ngrunt\nguard\nguess\nguide\nguilt\nguitar\ngun\ngym\nhabit\nhair\nhalf\nhammer\nhamster\nhand\nhappy\nharbor\nhard\nharsh\nharvest\nhat\nhave\nhawk\nhazard\nhead\nhealth\nheart\nheavy\nhedgehog\nheight\nhello\nhelmet\nhelp\nhen\nhero\nhidden\nhigh\nhill\nhint\nhip\nhire\nhistory\nhobby\nhockey\nhold\nhole\nholiday\nhollow\nhome\nhoney\nhood\nhope\nhorn\nhorror\nhorse\nhospital\nhost\nhotel\nhour\nhover\nhub\nhuge\nhuman\nhumble\nhumor\nhundred\nhungry\nhunt\nhurdle\nhurry\nhurt\nhusband\nhybrid\nice\nicon\nidea\nidentify\nidle\nignore\nill\nillegal\nillness\nimage\nimitate\nimmense\nimmune\nimpact\nimpose\nimprove\nimpulse\ninch\ninclude\nincome\nincrease\nindex\nindicate\nindoor\nindustry\ninfant\ninflict\ninform\ninhale\ninherit\ninitial\ninject\ninjury\ninmate\ninner\ninnocent\ninput\ninquiry\ninsane\ninsect\ninside\ninspire\ninstall\nintact\ninterest\ninto\ninvest\ninvite\ninvolve\niron\nisland\nisolate\nissue\nitem\nivory\njacket\njaguar\njar\njazz\njealous\njeans\njelly\njewel\njob\njoin\njoke\njourney\njoy\njudge\njuice\njump\njungle\njunior\njunk\njust\nkangaroo\nkeen\nkeep\nketchup\nkey\nkick\nkid\nkidney\nkind\nkingdom\nkiss\nkit\nkitchen\nkite\nkitten\nkiwi\nknee\nknife\nknock\nknow\nlab\nlabel\nlabor\nladder\nlady\nlake\nlamp\nlanguage\nlaptop\nlarge\nlater\nlatin\nlaugh\nlaundry\nlava\nlaw\nlawn\nlawsuit\nlayer\nlazy\nleader\nleaf\nlearn\nleave\nlecture\nleft\nleg\nlegal\nlegend\nleisure\nlemon\nlend\nlength\nlens\nleopard\nlesson\nletter\nlevel\nliar\nliberty\nlibrary\nlicense\nlife\nlift\nlight\nlike\nlimb\nlimit\nlink\nlion\nliquid\nlist\nlittle\nlive\nlizard\nload\nloan\nlobster\nlocal\nlock\nlogic\nlonely\nlong\nloop\nlottery\nloud\nlounge\nlove\nloyal\nlucky\nluggage\nlumber\nlunar\nlunch\nluxury\nlyrics\nmachine\nmad\nmagic\nmagnet\nmaid\nmail\nmain\nmajor\nmake\nmammal\nman\nmanage\nmandate\nmango\nmansion\nmanual\nmaple\nmarble\nmarch\nmargin\nmarine\nmarket\nmarriage\nmask\nmass\nmaster\nmatch\nmaterial\nmath\nmatrix\nmatter\nmaximum\nmaze\nmeadow\nmean\nmeasure\nmeat\nmechanic\nmedal\nmedia\nmelody\nmelt\nmember\nmemory\nmention\nmenu\nmercy\nmerge\nmerit\nmerry\nmesh\nmessage\nmetal\nmethod\nmiddle\nmidnight\nmilk\nmillion\nmimic\nmind\nminimum\nminor\nminute\nmiracle\nmirror\nmisery\nmiss\nmistake\nmix\nmixed\nmixture\nmobile\nmodel\nmodify\nmom\nmoment\nmonitor\nmonkey\nmonster\nmonth\nmoon\nmoral\nmore\nmorning\nmosquito\nmother\nmotion\nmotor\nmountain\nmouse\nmove\nmovie\nmuch\nmuffin\nmule\nmultiply\nmuscle\nmuseum\nmushroom\nmusic\nmust\nmutual\nmyself\nmystery\nmyth\nnaive\nname\nnapkin\nnarrow\nnasty\nnation\nnature\nnear\nneck\nneed\nnegative\nneglect\nneither\nnephew\nnerve\nnest\nnet\nnetwork\nneutral\nnever\nnews\nnext\nnice\nnight\nnoble\nnoise\nnominee\nnoodle\nnormal\nnorth\nnose\nnotable\nnote\nnothing\nnotice\nnovel\nnow\nnuclear\nnumber\nnurse\nnut\noak\nobey\nobject\noblige\nobscure\nobserve\nobtain\nobvious\noccur\nocean\noctober\nodor\noff\noffer\noffice\noften\noil\nokay\nold\nolive\nolympic\nomit\nonce\none\nonion\nonline\nonly\nopen\nopera\nopinion\noppose\noption\norange\norbit\norchard\norder\nordinary\norgan\norient\noriginal\norphan\nostrich\nother\noutdoor\nouter\noutput\noutside\noval\noven\nover\nown\nowner\noxygen\noyster\nozone\npact\npaddle\npage\npair\npalace\npalm\npanda\npanel\npanic\npanther\npaper\nparade\nparent\npark\nparrot\nparty\npass\npatch\npath\npatient\npatrol\npattern\npause\npave\npayment\npeace\npeanut\npear\npeasant\npelican\npen\npenalty\npencil\npeople\npepper\nperfect\npermit\nperson\npet\nphone\nphoto\nphrase\nphysical\npiano\npicnic\npicture\npiece\npig\npigeon\npill\npilot\npink\npioneer\npipe\npistol\npitch\npizza\nplace\nplanet\nplastic\nplate\nplay\nplease\npledge\npluck\nplug\nplunge\npoem\npoet\npoint\npolar\npole\npolice\npond\npony\npool\npopular\nportion\nposition\npossible\npost\npotato\npottery\npoverty\npowder\npower\npractice\npraise\npredict\nprefer\nprepare\npresent\npretty\nprevent\nprice\npride\nprimary\nprint\npriority\nprison\nprivate\nprize\nproblem\nprocess\nproduce\nprofit\nprogram\nproject\npromote\nproof\nproperty\nprosper\nprotect\nproud\nprovide\npublic\npudding\npull\npulp\npulse\npumpkin\npunch\npupil\npuppy\npurchase\npurity\npurpose\npurse\npush\nput\npuzzle\npyramid\nquality\nquantum\nquarter\nquestion\nquick\nquit\nquiz\nquote\nrabbit\nraccoon\nrace\nrack\nradar\nradio\nrail\nrain\nraise\nrally\nramp\nranch\nrandom\nrange\nrapid\nrare\nrate\nrather\nraven\nraw\nrazor\nready\nreal\nreason\nrebel\nrebuild\nrecall\nreceive\nrecipe\nrecord\nrecycle\nreduce\nreflect\nreform\nrefuse\nregion\nregret\nregular\nreject\nrelax\nrelease\nrelief\nrely\nremain\nremember\nremind\nremove\nrender\nrenew\nrent\nreopen\nrepair\nrepeat\nreplace\nreport\nrequire\nrescue\nresemble\nresist\nresource\nresponse\nresult\nretire\nretreat\nreturn\nreunion\nreveal\nreview\nreward\nrhythm\nrib\nribbon\nrice\nrich\nride\nridge\nrifle\nright\nrigid\nring\nriot\nripple\nrisk\nritual\nrival\nriver\nroad\nroast\nrobot\nrobust\nrocket\nromance\nroof\nrookie\nroom\nrose\nrotate\nrough\nround\nroute\nroyal\nrubber\nrude\nrug\nrule\nrun\nrunway\nrural\nsad\nsaddle\nsadness\nsafe\nsail\nsalad\nsalmon\nsalon\nsalt\nsalute\nsame\nsample\nsand\nsatisfy\nsatoshi\nsauce\nsausage\nsave\nsay\nscale\nscan\nscare\nscatter\nscene\nscheme\nschool\nscience\nscissors\nscorpion\nscout\nscrap\nscreen\nscript\nscrub\nsea\nsearch\nseason\nseat\nsecond\nsecret\nsection\nsecurity\nseed\nseek\nsegment\nselect\nsell\nseminar\nsenior\nsense\nsentence\nseries\nservice\nsession\nsettle\nsetup\nseven\nshadow\nshaft\nshallow\nshare\nshed\nshell\nsheriff\nshield\nshift\nshine\nship\nshiver\nshock\nshoe\nshoot\nshop\nshort\nshoulder\nshove\nshrimp\nshrug\nshuffle\nshy\nsibling\nsick\nside\nsiege\nsight\nsign\nsilent\nsilk\nsilly\nsilver\nsimilar\nsimple\nsince\nsing\nsiren\nsister\nsituate\nsix\nsize\nskate\nsketch\nski\nskill\nskin\nskirt\nskull\nslab\nslam\nsleep\nslender\nslice\nslide\nslight\nslim\nslogan\nslot\nslow\nslush\nsmall\nsmart\nsmile\nsmoke\nsmooth\nsnack\nsnake\nsnap\nsniff\nsnow\nsoap\nsoccer\nsocial\nsock\nsoda\nsoft\nsolar\nsoldier\nsolid\nsolution\nsolve\nsomeone\nsong\nsoon\nsorry\nsort\nsoul\nsound\nsoup\nsource\nsouth\nspace\nspare\nspatial\nspawn\nspeak\nspecial\nspeed\nspell\nspend\nsphere\nspice\nspider\nspike\nspin\nspirit\nsplit\nspoil\nsponsor\nspoon\nsport\nspot\nspray\nspread\nspring\nspy\nsquare\nsqueeze\nsquirrel\nstable\nstadium\nstaff\nstage\nstairs\nstamp\nstand\nstart\nstate\nstay\nsteak\nsteel\nstem\nstep\nstereo\nstick\nstill\nsting\nstock\nstomach\nstone\nstool\nstory\nstove\nstrategy\nstreet\nstrike\nstrong\nstruggle\nstudent\nstuff\nstumble\nstyle\nsubject\nsubmit\nsubway\nsuccess\nsuch\nsudden\nsuffer\nsugar\nsuggest\nsuit\nsummer\nsun\nsunny\nsunset\nsuper\nsupply\nsupreme\nsure\nsurface\nsurge\nsurprise\nsurround\nsurvey\nsuspect\nsustain\nswallow\nswamp\nswap\nswarm\nswear\nsweet\nswift\nswim\nswing\nswitch\nsword\nsymbol\nsymptom\nsyrup\nsystem\ntable\ntackle\ntag\ntail\ntalent\ntalk\ntank\ntape\ntarget\ntask\ntaste\ntattoo\ntaxi\nteach\nteam\ntell\nten\ntenant\ntennis\ntent\nterm\ntest\ntext\nthank\nthat\ntheme\nthen\ntheory\nthere\nthey\nthing\nthis\nthought\nthree\nthrive\nthrow\nthumb\nthunder\nticket\ntide\ntiger\ntilt\ntimber\ntime\ntiny\ntip\ntired\ntissue\ntitle\ntoast\ntobacco\ntoday\ntoddler\ntoe\ntogether\ntoilet\ntoken\ntomato\ntomorrow\ntone\ntongue\ntonight\ntool\ntooth\ntop\ntopic\ntopple\ntorch\ntornado\ntortoise\ntoss\ntotal\ntourist\ntoward\ntower\ntown\ntoy\ntrack\ntrade\ntraffic\ntragic\ntrain\ntransfer\ntrap\ntrash\ntravel\ntray\ntreat\ntree\ntrend\ntrial\ntribe\ntrick\ntrigger\ntrim\ntrip\ntrophy\ntrouble\ntruck\ntrue\ntruly\ntrumpet\ntrust\ntruth\ntry\ntube\ntuition\ntumble\ntuna\ntunnel\nturkey\nturn\nturtle\ntwelve\ntwenty\ntwice\ntwin\ntwist\ntwo\ntype\ntypical\nugly\numbrella\nunable\nunaware\nuncle\nuncover\nunder\nundo\nunfair\nunfold\nunhappy\nuniform\nunique\nunit\nuniverse\nunknown\nunlock\nuntil\nunusual\nunveil\nupdate\nupgrade\nuphold\nupon\nupper\nupset\nurban\nurge\nusage\nuse\nused\nuseful\nuseless\nusual\nutility\nvacant\nvacuum\nvague\nvalid\nvalley\nvalve\nvan\nvanish\nvapor\nvarious\nvast\nvault\nvehicle\nvelvet\nvendor\nventure\nvenue\nverb\nverify\nversion\nvery\nvessel\nveteran\nviable\nvibrant\nvicious\nvictory\nvideo\nview\nvillage\nvintage\nviolin\nvirtual\nvirus\nvisa\nvisit\nvisual\nvital\nvivid\nvocal\nvoice\nvoid\nvolcano\nvolume\nvote\nvoyage\nwage\nwagon\nwait\nwalk\nwall\nwalnut\nwant\nwarfare\nwarm\nwarrior\nwash\nwasp\nwaste\nwater\nwave\nway\nwealth\nweapon\nwear\nweasel\nweather\nweb\nwedding\nweekend\nweird\nwelcome\nwest\nwet\nwhale\nwhat\nwheat\nwheel\nwhen\nwhere\nwhip\nwhisper\nwide\nwidth\nwife\nwild\nwill\nwin\nwindow\nwine\nwing\nwink\nwinner\nwinter\nwire\nwisdom\nwise\nwish\nwitness\nwolf\nwoman\nwonder\nwood\nwool\nword\nwork\nworld\nworry\nworth\nwrap\nwreck\nwrestle\nwrist\nwrite\nwrong\nyard\nyear\nyellow\nyou\nyoung\nyouth\nzebra\nzero\nzone\nzoo".split("\n")},5834:(ye,S,T)=>{"use strict";var E=T(5203),g=T(5685),b=g(E("String.prototype.indexOf"));ye.exports=function(x,C){var I=E(x,!!C);return"function"==typeof I&&b(x,".prototype.")>-1?g(I):I}},5685:(ye,S,T)=>{"use strict";var E=T(4444),g=T(5203),b=g("%Function.prototype.apply%"),_=g("%Function.prototype.call%"),x=g("%Reflect.apply%",!0)||E.call(_,b),C=g("%Object.getOwnPropertyDescriptor%",!0),I=g("%Object.defineProperty%",!0),P=g("%Math.max%");if(I)try{I({},"a",{value:1})}catch{I=null}ye.exports=function(Q){var j=x(E,_,arguments);return C&&I&&C(j,"length").configurable&&I(j,"length",{value:1+P(0,Q.length-(arguments.length-1))}),j};var O=function(){return x(E,b,arguments)};I?I(ye.exports,"apply",{value:O}):ye.exports.apply=O},4999:ye=>{"use strict";var S=function(q){return function T(ie){return!!ie&&"object"==typeof ie}(q)&&!function E(ie){var q=Object.prototype.toString.call(ie);return"[object RegExp]"===q||"[object Date]"===q||function _(ie){return ie.$$typeof===b}(ie)}(q)},b="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function C(ie,q){return!1!==q.clone&&q.isMergeableObject(ie)?ne(function x(ie){return Array.isArray(ie)?[]:{}}(ie),ie,q):ie}function I(ie,q,z){return ie.concat(q).map(function(ce){return C(ce,z)})}function U(ie){return Object.keys(ie).concat(function O(ie){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(ie).filter(function(q){return ie.propertyIsEnumerable(q)}):[]}(ie))}function Q(ie,q){try{return q in ie}catch{return!1}}function ne(ie,q,z){(z=z||{}).arrayMerge=z.arrayMerge||I,z.isMergeableObject=z.isMergeableObject||S,z.cloneUnlessOtherwiseSpecified=C;var ce=Array.isArray(q);return ce===Array.isArray(ie)?ce?z.arrayMerge(ie,q,z):function V(ie,q,z){var ce={};return z.isMergeableObject(ie)&&U(ie).forEach(function(le){ce[le]=C(ie[le],z)}),U(q).forEach(function(le){(function j(ie,q){return Q(ie,q)&&!(Object.hasOwnProperty.call(ie,q)&&Object.propertyIsEnumerable.call(ie,q))})(ie,le)||(ce[le]=Q(ie,le)&&z.isMergeableObject(q[le])?function P(ie,q){if(!q.customMerge)return ne;var z=q.customMerge(ie);return"function"==typeof z?z:ne}(le,z)(ie[le],q[le],z):C(q[le],z))}),ce}(ie,q,z):C(q,z)}ne.all=function(q,z){if(!Array.isArray(q))throw new Error("first argument should be an array");return q.reduce(function(ce,le){return ne(ce,le,z)},{})},ye.exports=ne},4901:ye=>{"use strict";var S={single_source_shortest_paths:function(T,E,g){var b={},_={};_[E]=0;var C,I,P,O,U,j,x=S.PriorityQueue.make();for(x.push(E,0);!x.empty();)for(P in O=(C=x.pop()).cost,U=T[I=C.value]||{})U.hasOwnProperty(P)&&(j=O+U[P],(typeof _[P]>"u"||_[P]>j)&&(_[P]=j,x.push(P,j),b[P]=I));if(typeof g<"u"&&typeof _[g]>"u"){var G=["Could not find a path from ",E," to ",g,"."].join("");throw new Error(G)}return b},extract_shortest_path_from_predecessor_list:function(T,E){for(var g=[],b=E;b;)g.push(b),b=T[b];return g.reverse(),g},find_path:function(T,E,g){var b=S.single_source_shortest_paths(T,E,g);return S.extract_shortest_path_from_predecessor_list(b,g)},PriorityQueue:{make:function(T){var b,E=S.PriorityQueue,g={};for(b in T=T||{},E)E.hasOwnProperty(b)&&(g[b]=E[b]);return g.queue=[],g.sorter=T.sorter||E.default_sorter,g},default_sorter:function(T,E){return T.cost-E.cost},push:function(T,E){this.queue.push({value:T,cost:E}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};ye.exports=S},6316:(ye,S)=>{"use strict";var T,g;Object.defineProperty(S,"__esModule",{value:!0}),S.Doctype=S.CDATA=S.Tag=S.Style=S.Script=S.Comment=S.Directive=S.Text=S.Root=S.isTag=S.ElementType=void 0,(g=T=S.ElementType||(S.ElementType={})).Root="root",g.Text="text",g.Directive="directive",g.Comment="comment",g.Script="script",g.Style="style",g.Tag="tag",g.CDATA="cdata",g.Doctype="doctype",S.isTag=function E(g){return g.type===T.Tag||g.type===T.Script||g.type===T.Style},S.Root=T.Root,S.Text=T.Text,S.Directive=T.Directive,S.Comment=T.Comment,S.Script=T.Script,S.Style=T.Style,S.Tag=T.Tag,S.CDATA=T.CDATA,S.Doctype=T.Doctype},8419:ye=>{"use strict";ye.exports=function(T){for(var E=[],g=T.length,b=0;b=55296&&_<=56319&&g>b+1){var x=T.charCodeAt(b+1);x>=56320&&x<=57343&&(_=1024*(_-55296)+x-56320+65536,b+=1)}_<128?E.push(_):_<2048?(E.push(_>>6|192),E.push(63&_|128)):_<55296||_>=57344&&_<65536?(E.push(_>>12|224),E.push(_>>6&63|128),E.push(63&_|128)):_>=65536&&_<=1114111?(E.push(_>>18|240),E.push(_>>12&63|128),E.push(_>>6&63|128),E.push(63&_|128)):E.push(239,191,189)}return new Uint8Array(E).buffer}},3457:ye=>{"use strict";var S="Function.prototype.bind called on incompatible ",T=Array.prototype.slice,E=Object.prototype.toString,g="[object Function]";ye.exports=function(_){var x=this;if("function"!=typeof x||E.call(x)!==g)throw new TypeError(S+x);for(var I,C=T.call(arguments,1),O=Math.max(0,x.length-C.length),U=[],Q=0;Q{"use strict";var E=T(3457);ye.exports=Function.prototype.bind||E},5203:(ye,S,T)=>{"use strict";var E,g=SyntaxError,b=Function,_=TypeError,x=function(me){try{return b('"use strict"; return ('+me+").constructor;")()}catch{}},C=Object.getOwnPropertyDescriptor;if(C)try{C({},"")}catch{C=null}var I=function(){throw new _},P=C?function(){try{return I}catch{try{return C(arguments,"callee").get}catch{return I}}}():I,O=T(2969)(),U=Object.getPrototypeOf||function(me){return me.__proto__},Q={},j=typeof Uint8Array>"u"?E:U(Uint8Array),V={"%AggregateError%":typeof AggregateError>"u"?E:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?E:ArrayBuffer,"%ArrayIteratorPrototype%":O?U([][Symbol.iterator]()):E,"%AsyncFromSyncIteratorPrototype%":E,"%AsyncFunction%":Q,"%AsyncGenerator%":Q,"%AsyncGeneratorFunction%":Q,"%AsyncIteratorPrototype%":Q,"%Atomics%":typeof Atomics>"u"?E:Atomics,"%BigInt%":typeof BigInt>"u"?E:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?E:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?E:Float32Array,"%Float64Array%":typeof Float64Array>"u"?E:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?E:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":Q,"%Int8Array%":typeof Int8Array>"u"?E:Int8Array,"%Int16Array%":typeof Int16Array>"u"?E:Int16Array,"%Int32Array%":typeof Int32Array>"u"?E:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":O?U(U([][Symbol.iterator]())):E,"%JSON%":"object"==typeof JSON?JSON:E,"%Map%":typeof Map>"u"?E:Map,"%MapIteratorPrototype%":typeof Map>"u"||!O?E:U((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?E:Promise,"%Proxy%":typeof Proxy>"u"?E:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?E:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?E:Set,"%SetIteratorPrototype%":typeof Set>"u"||!O?E:U((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?E:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":O?U(""[Symbol.iterator]()):E,"%Symbol%":O?Symbol:E,"%SyntaxError%":g,"%ThrowTypeError%":P,"%TypedArray%":j,"%TypeError%":_,"%Uint8Array%":typeof Uint8Array>"u"?E:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?E:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?E:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?E:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?E:WeakMap,"%WeakRef%":typeof WeakRef>"u"?E:WeakRef,"%WeakSet%":typeof WeakSet>"u"?E:WeakSet},ne=function me(ge){var ve;if("%AsyncFunction%"===ge)ve=x("async function () {}");else if("%GeneratorFunction%"===ge)ve=x("function* () {}");else if("%AsyncGeneratorFunction%"===ge)ve=x("async function* () {}");else if("%AsyncGenerator%"===ge){var ze=me("%AsyncGeneratorFunction%");ze&&(ve=ze.prototype)}else if("%AsyncIteratorPrototype%"===ge){var Re=me("%AsyncGenerator%");Re&&(ve=U(Re.prototype))}return V[ge]=ve,ve},G={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ie=T(4444),q=T(3164),z=ie.call(Function.call,Array.prototype.concat),ce=ie.call(Function.apply,Array.prototype.splice),le=ie.call(Function.call,String.prototype.replace),ee=ie.call(Function.call,String.prototype.slice),K=ie.call(Function.call,RegExp.prototype.exec),ae=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,he=/\\(\\)?/g,re=function(ge){var ve=ee(ge,0,1),ze=ee(ge,-1);if("%"===ve&&"%"!==ze)throw new g("invalid intrinsic syntax, expected closing `%`");if("%"===ze&&"%"!==ve)throw new g("invalid intrinsic syntax, expected opening `%`");var Re=[];return le(ge,ae,function(st,mt,At,Zt){Re[Re.length]=At?le(Zt,he,"$1"):mt||st}),Re},de=function(ge,ve){var Re,ze=ge;if(q(G,ze)&&(ze="%"+(Re=G[ze])[0]+"%"),q(V,ze)){var st=V[ze];if(st===Q&&(st=ne(ze)),typeof st>"u"&&!ve)throw new _("intrinsic "+ge+" exists, but is not available. Please file an issue!");return{alias:Re,name:ze,value:st}}throw new g("intrinsic "+ge+" does not exist!")};ye.exports=function(ge,ve){if("string"!=typeof ge||0===ge.length)throw new _("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof ve)throw new _('"allowMissing" argument must be a boolean');if(null===K(/^%?[^%]*%?$/,ge))throw new g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ze=re(ge),Re=ze.length>0?ze[0]:"",st=de("%"+Re+"%",ve),mt=st.name,At=st.value,Zt=!1,ft=st.alias;ft&&(Re=ft[0],ce(ze,z([0,1],ft)));for(var ii=1,He=!0;ii=ze.length){var zt=C(At,gi);At=(He=!!zt)&&"get"in zt&&!("originalValue"in zt.get)?zt.get:At[gi]}else He=q(At,gi),At=At[gi];He&&!Zt&&(V[mt]=At)}}return At}},2969:(ye,S,T)=>{"use strict";var E=typeof Symbol<"u"&&Symbol,g=T(1983);ye.exports=function(){return"function"==typeof E&&"function"==typeof Symbol&&"symbol"==typeof E("foo")&&"symbol"==typeof Symbol("bar")&&g()}},1983:ye=>{"use strict";ye.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var T={},E=Symbol("test"),g=Object(E);if("string"==typeof E||"[object Symbol]"!==Object.prototype.toString.call(E)||"[object Symbol]"!==Object.prototype.toString.call(g))return!1;for(E in T[E]=42,T)return!1;if("function"==typeof Object.keys&&0!==Object.keys(T).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(T).length)return!1;var _=Object.getOwnPropertySymbols(T);if(1!==_.length||_[0]!==E||!Object.prototype.propertyIsEnumerable.call(T,E))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var x=Object.getOwnPropertyDescriptor(T,E);if(42!==x.value||!0!==x.enumerable)return!1}return!0}},3164:(ye,S,T)=>{"use strict";var E=T(4444);ye.exports=E.call(Function.call,Object.prototype.hasOwnProperty)},9140:function(ye,S){!function(T){"use strict";function E(Y){return null==Y}var g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Y,s){Y.__proto__=s}||function(Y,s){for(var l in s)s.hasOwnProperty(l)&&(Y[l]=s[l])};var C=function(Y){function s(l){var d=this.constructor,u=Y.call(this,l)||this;return Object.defineProperty(u,"name",{value:d.name,enumerable:!1}),function _(Y,s){var l=Object.setPrototypeOf;l?l(Y,s):Y.__proto__=s}(u,d.prototype),function x(Y,s){void 0===s&&(s=Y.constructor);var l=Error.captureStackTrace;l&&l(Y,s)}(u),u}return function b(Y,s){function l(){this.constructor=Y}g(Y,s),Y.prototype=null===s?Object.create(s):(l.prototype=s.prototype,new l)}(s,Y),s}(Error);let I=(()=>{class Y extends C{constructor(l){super(l),this.message=l}getKind(){return this.constructor.kind}}return Y.kind="Exception",Y})(),P=(()=>{class Y extends I{}return Y.kind="ArgumentException",Y})(),O=(()=>{class Y extends I{}return Y.kind="IllegalArgumentException",Y})();class U{constructor(s){if(this.binarizer=s,null===s)throw new O("Binarizer must be non-null.")}getWidth(){return this.binarizer.getWidth()}getHeight(){return this.binarizer.getHeight()}getBlackRow(s,l){return this.binarizer.getBlackRow(s,l)}getBlackMatrix(){return null==this.matrix&&(this.matrix=this.binarizer.getBlackMatrix()),this.matrix}isCropSupported(){return this.binarizer.getLuminanceSource().isCropSupported()}crop(s,l,d,u){const m=this.binarizer.getLuminanceSource().crop(s,l,d,u);return new U(this.binarizer.createBinarizer(m))}isRotateSupported(){return this.binarizer.getLuminanceSource().isRotateSupported()}rotateCounterClockwise(){const s=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new U(this.binarizer.createBinarizer(s))}rotateCounterClockwise45(){const s=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new U(this.binarizer.createBinarizer(s))}toString(){try{return this.getBlackMatrix().toString()}catch{return""}}}let Q=(()=>{class Y extends I{static getChecksumInstance(){return new Y}}return Y.kind="ChecksumException",Y})();class j{constructor(s){this.source=s}getLuminanceSource(){return this.source}getWidth(){return this.source.getWidth()}getHeight(){return this.source.getHeight()}}class V{static arraycopy(s,l,d,u,m){for(;m--;)d[u++]=s[l++]}static currentTimeMillis(){return Date.now()}}let ne=(()=>{class Y extends I{}return Y.kind="IndexOutOfBoundsException",Y})(),G=(()=>{class Y extends ne{constructor(l,d){super(d),this.index=l,this.message=d}}return Y.kind="ArrayIndexOutOfBoundsException",Y})();class ie{static fill(s,l){for(let d=0,u=s.length;dd)throw new O("fromIndex("+l+") > toIndex("+d+")");if(l<0)throw new G(l);if(d>s)throw new G(d)}static asList(...s){return s}static create(s,l,d){return Array.from({length:s}).map(m=>Array.from({length:l}).fill(d))}static createInt32Array(s,l,d){return Array.from({length:s}).map(m=>Int32Array.from({length:l}).fill(d))}static equals(s,l){if(!(s&&l&&s.length&&l.length&&s.length===l.length))return!1;for(let d=0,u=s.length;d>1,v=d(l,s[p]);if(v>0)u=p+1;else{if(!(v<0))return p;m=p-1}}return-u-1}static numberComparator(s,l){return s-l}}class q{static numberOfTrailingZeros(s){let l;if(0===s)return 32;let d=31;return l=s<<16,0!==l&&(d-=16,s=l),l=s<<8,0!==l&&(d-=8,s=l),l=s<<4,0!==l&&(d-=4,s=l),l=s<<2,0!==l&&(d-=2,s=l),d-(s<<1>>>31)}static numberOfLeadingZeros(s){if(0===s)return 32;let l=1;return s>>>16||(l+=16,s<<=16),s>>>24||(l+=8,s<<=8),s>>>28||(l+=4,s<<=4),s>>>30||(l+=2,s<<=2),l-=s>>>31,l}static toHexString(s){return s.toString(16)}static toBinaryString(s){return String(parseInt(String(s),2))}static bitCount(s){return s=(s=(858993459&(s-=s>>>1&1431655765))+(s>>>2&858993459))+(s>>>4)&252645135,63&(s+=s>>>8)+(s>>>16)}static truncDivision(s,l){return Math.trunc(s/l)}static parseInt(s,l){return parseInt(s,l)}}q.MIN_VALUE_32_BITS=-2147483648,q.MAX_VALUE=Number.MAX_SAFE_INTEGER;class z{constructor(s,l){void 0===s?(this.size=0,this.bits=new Int32Array(1)):(this.size=s,this.bits=null==l?z.makeArray(s):l)}getSize(){return this.size}getSizeInBytes(){return Math.floor((this.size+7)/8)}ensureCapacity(s){if(s>32*this.bits.length){const l=z.makeArray(s);V.arraycopy(this.bits,0,l,0,this.bits.length),this.bits=l}}get(s){return 0!=(this.bits[Math.floor(s/32)]&1<<(31&s))}set(s){this.bits[Math.floor(s/32)]|=1<<(31&s)}flip(s){this.bits[Math.floor(s/32)]^=1<<(31&s)}getNextSet(s){const l=this.size;if(s>=l)return l;const d=this.bits;let u=Math.floor(s/32),m=d[u];m&=~((1<<(31&s))-1);const p=d.length;for(;0===m;){if(++u===p)return l;m=d[u]}const v=32*u+q.numberOfTrailingZeros(m);return v>l?l:v}getNextUnset(s){const l=this.size;if(s>=l)return l;const d=this.bits;let u=Math.floor(s/32),m=~d[u];m&=~((1<<(31&s))-1);const p=d.length;for(;0===m;){if(++u===p)return l;m=~d[u]}const v=32*u+q.numberOfTrailingZeros(m);return v>l?l:v}setBulk(s,l){this.bits[Math.floor(s/32)]=l}setRange(s,l){if(lthis.size)throw new O;if(l===s)return;l--;const d=Math.floor(s/32),u=Math.floor(l/32),m=this.bits;for(let p=d;p<=u;p++)m[p]|=(2<<(pd?0:31&s))}clear(){const s=this.bits.length,l=this.bits;for(let d=0;dthis.size)throw new O;if(l===s)return!0;l--;const u=Math.floor(s/32),m=Math.floor(l/32),p=this.bits;for(let v=u;v<=m;v++){const $=(2<<(vu?0:31&s))&4294967295;if((p[v]&$)!==(d?$:0))return!1}return!0}appendBit(s){this.ensureCapacity(this.size+1),s&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++}appendBits(s,l){if(l<0||l>32)throw new O("Num bits must be between 0 and 32");this.ensureCapacity(this.size+l);for(let d=l;d>0;d--)this.appendBit(1==(s>>d-1&1))}appendBitArray(s){const l=s.size;this.ensureCapacity(this.size+l);for(let d=0;d>1&1431655765|(1431655765&p)<<1,p=p>>2&858993459|(858993459&p)<<2,p=p>>4&252645135|(252645135&p)<<4,p=p>>8&16711935|(16711935&p)<<8,p=p>>16&65535|(65535&p)<<16,s[l-m]=p}if(this.size!==32*d){const m=32*d-this.size;let p=s[0]>>>m;for(let v=1;v>>m}s[d-1]=p}this.bits=s}static makeArray(s){return new Int32Array(Math.floor((s+31)/32))}equals(s){return s instanceof z&&this.size===s.size&&ie.equals(this.bits,s.bits)}hashCode(){return 31*this.size+ie.hashCode(this.bits)}toString(){let s="";for(let l=0,d=this.size;l{return(Y=ce||(ce={}))[Y.OTHER=0]="OTHER",Y[Y.PURE_BARCODE=1]="PURE_BARCODE",Y[Y.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",Y[Y.TRY_HARDER=3]="TRY_HARDER",Y[Y.CHARACTER_SET=4]="CHARACTER_SET",Y[Y.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",Y[Y.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",Y[Y.ASSUME_GS1=7]="ASSUME_GS1",Y[Y.RETURN_CODABAR_START_END=8]="RETURN_CODABAR_START_END",Y[Y.NEED_RESULT_POINT_CALLBACK=9]="NEED_RESULT_POINT_CALLBACK",Y[Y.ALLOWED_EAN_EXTENSIONS=10]="ALLOWED_EAN_EXTENSIONS",ce;var Y})(),le=ce;let ee=(()=>{class Y extends I{static getFormatInstance(){return new Y}}return Y.kind="FormatException",Y})();var K=(()=>{return(Y=K||(K={}))[Y.Cp437=0]="Cp437",Y[Y.ISO8859_1=1]="ISO8859_1",Y[Y.ISO8859_2=2]="ISO8859_2",Y[Y.ISO8859_3=3]="ISO8859_3",Y[Y.ISO8859_4=4]="ISO8859_4",Y[Y.ISO8859_5=5]="ISO8859_5",Y[Y.ISO8859_6=6]="ISO8859_6",Y[Y.ISO8859_7=7]="ISO8859_7",Y[Y.ISO8859_8=8]="ISO8859_8",Y[Y.ISO8859_9=9]="ISO8859_9",Y[Y.ISO8859_10=10]="ISO8859_10",Y[Y.ISO8859_11=11]="ISO8859_11",Y[Y.ISO8859_13=12]="ISO8859_13",Y[Y.ISO8859_14=13]="ISO8859_14",Y[Y.ISO8859_15=14]="ISO8859_15",Y[Y.ISO8859_16=15]="ISO8859_16",Y[Y.SJIS=16]="SJIS",Y[Y.Cp1250=17]="Cp1250",Y[Y.Cp1251=18]="Cp1251",Y[Y.Cp1252=19]="Cp1252",Y[Y.Cp1256=20]="Cp1256",Y[Y.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",Y[Y.UTF8=22]="UTF8",Y[Y.ASCII=23]="ASCII",Y[Y.Big5=24]="Big5",Y[Y.GB18030=25]="GB18030",Y[Y.EUC_KR=26]="EUC_KR",K;var Y})();class ae{constructor(s,l,d,...u){this.valueIdentifier=s,this.name=d,this.values="number"==typeof l?Int32Array.from([l]):l,this.otherEncodingNames=u,ae.VALUE_IDENTIFIER_TO_ECI.set(s,this),ae.NAME_TO_ECI.set(d,this);const m=this.values;for(let p=0,v=m.length;p!==v;p++)ae.VALUES_TO_ECI.set(m[p],this);for(const p of u)ae.NAME_TO_ECI.set(p,this)}getValueIdentifier(){return this.valueIdentifier}getName(){return this.name}getValue(){return this.values[0]}static getCharacterSetECIByValue(s){if(s<0||s>=900)throw new ee("incorect value");const l=ae.VALUES_TO_ECI.get(s);if(void 0===l)throw new ee("incorect value");return l}static getCharacterSetECIByName(s){const l=ae.NAME_TO_ECI.get(s);if(void 0===l)throw new ee("incorect value");return l}equals(s){if(!(s instanceof ae))return!1;const l=s;return this.getName()===l.getName()}}ae.VALUE_IDENTIFIER_TO_ECI=new Map,ae.VALUES_TO_ECI=new Map,ae.NAME_TO_ECI=new Map,ae.Cp437=new ae(K.Cp437,Int32Array.from([0,2]),"Cp437"),ae.ISO8859_1=new ae(K.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),ae.ISO8859_2=new ae(K.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),ae.ISO8859_3=new ae(K.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),ae.ISO8859_4=new ae(K.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),ae.ISO8859_5=new ae(K.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),ae.ISO8859_6=new ae(K.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),ae.ISO8859_7=new ae(K.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),ae.ISO8859_8=new ae(K.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),ae.ISO8859_9=new ae(K.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),ae.ISO8859_10=new ae(K.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),ae.ISO8859_11=new ae(K.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),ae.ISO8859_13=new ae(K.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),ae.ISO8859_14=new ae(K.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),ae.ISO8859_15=new ae(K.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),ae.ISO8859_16=new ae(K.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),ae.SJIS=new ae(K.SJIS,20,"SJIS","Shift_JIS"),ae.Cp1250=new ae(K.Cp1250,21,"Cp1250","windows-1250"),ae.Cp1251=new ae(K.Cp1251,22,"Cp1251","windows-1251"),ae.Cp1252=new ae(K.Cp1252,23,"Cp1252","windows-1252"),ae.Cp1256=new ae(K.Cp1256,24,"Cp1256","windows-1256"),ae.UnicodeBigUnmarked=new ae(K.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),ae.UTF8=new ae(K.UTF8,26,"UTF8","UTF-8"),ae.ASCII=new ae(K.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),ae.Big5=new ae(K.Big5,28,"Big5"),ae.GB18030=new ae(K.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),ae.EUC_KR=new ae(K.EUC_KR,30,"EUC_KR","EUC-KR");let he=(()=>{class Y extends I{}return Y.kind="UnsupportedOperationException",Y})();class re{static decode(s,l){const d=this.encodingName(l);return this.customDecoder?this.customDecoder(s,d):typeof TextDecoder>"u"||this.shouldDecodeOnFallback(d)?this.decodeFallback(s,d):new TextDecoder(d).decode(s)}static shouldDecodeOnFallback(s){return!re.isBrowser()&&"ISO-8859-1"===s}static encode(s,l){const d=this.encodingName(l);return this.customEncoder?this.customEncoder(s,d):typeof TextEncoder>"u"?this.encodeFallback(s):(new TextEncoder).encode(s)}static isBrowser(){return typeof window<"u"&&"[object Window]"==={}.toString.call(window)}static encodingName(s){return"string"==typeof s?s:s.getName()}static encodingCharacterSet(s){return s instanceof ae?s:ae.getCharacterSetECIByName(s)}static decodeFallback(s,l){const d=this.encodingCharacterSet(l);if(re.isDecodeFallbackSupported(d)){let u="";for(let m=0,p=s.length;m3&&239===s[0]&&187===s[1]&&191===s[2];for(let Ut=0;Ut0?128<?v--:p=!1:128<&&(64<?(v++,32<?(v++,16<?(v++,8<?p=!1:$++):H++):M++):p=!1)),u&&(lt>127&<<160?u=!1:lt>159&&(lt<192||215===lt||247===lt)&&Xe++),m&&(ue>0?lt<64||127===lt||lt>252?m=!1:ue--:128===lt||160===lt||lt>239?m=!1:lt>160&<<224?(_e++,Le=0,xe++,xe>je&&(je=xe)):lt>127?(ue++,xe=0,Le++,Le>Ye&&(Ye=Le)):(xe=0,Le=0))}return p&&v>0&&(p=!1),m&&ue>0&&(m=!1),p&&(kt||M+H+$>0)?de.UTF8:m&&(de.ASSUME_SHIFT_JIS||je>=3||Ye>=3)?de.SHIFT_JIS:u&&m?2===je&&2===_e||10*Xe>=d?de.SHIFT_JIS:de.ISO88591:u?de.ISO88591:m?de.SHIFT_JIS:p?de.UTF8:de.PLATFORM_DEFAULT_ENCODING}static format(s,...l){let d=-1;return s.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,function u(p,v,M,H,$,ue){if("%%"===p)return"%";if(void 0===l[++d])return;p=H?parseInt(H.substr(1)):void 0;let xe,_e=$?parseInt($.substr(1)):void 0;switch(ue){case"s":xe=l[d];break;case"c":xe=l[d][0];break;case"f":xe=parseFloat(l[d]).toFixed(p);break;case"p":xe=parseFloat(l[d]).toPrecision(p);break;case"e":xe=parseFloat(l[d]).toExponential(p);break;case"x":xe=parseInt(l[d]).toString(_e||16);break;case"d":xe=parseFloat(parseInt(l[d],_e||10).toPrecision(p)).toFixed(0)}xe="object"==typeof xe?JSON.stringify(xe):(+xe).toString(_e);let Le=parseInt(M),je=M&&M[0]+""=="0"?"0":" ";for(;xe.lengthp){if(-1===v)v=m-p;else if(m-p!==v)throw new O("row lengths do not match");p=m,M++}H++}else if(s.substring(H,H+l.length)===l)H+=l.length,u[m]=!0,m++;else{if(s.substring(H,H+d.length)!==d)throw new O("illegal character encountered: "+s.substring(H));H+=d.length,u[m]=!1,m++}if(m>p){if(-1===v)v=m-p;else if(m-p!==v)throw new O("row lengths do not match");M++}const $=new ge(v,M);for(let ue=0;ue>>(31&s)&1)}set(s,l){const d=l*this.rowSize+Math.floor(s/32);this.bits[d]|=1<<(31&s)&4294967295}unset(s,l){const d=l*this.rowSize+Math.floor(s/32);this.bits[d]&=~(1<<(31&s)&4294967295)}flip(s,l){const d=l*this.rowSize+Math.floor(s/32);this.bits[d]^=1<<(31&s)&4294967295}xor(s){if(this.width!==s.getWidth()||this.height!==s.getHeight()||this.rowSize!==s.getRowSize())throw new O("input matrix dimensions do not match");const l=new z(Math.floor(this.width/32)+1),d=this.rowSize,u=this.bits;for(let m=0,p=this.height;mthis.height||m>this.width)throw new O("The region must fit inside the matrix");const v=this.rowSize,M=this.bits;for(let H=l;HM&&(M=H),32*$v){let _e=31;for(;!(ue>>>_e);)_e--;32*$+_e>v&&(v=32*$+_e)}}}return v=0&&0===l[d];)d--;if(d<0)return null;const u=Math.floor(d/s);let m=32*Math.floor(d%s);const p=l[d];let v=31;for(;!(p>>>v);)v--;return m+=v,Int32Array.from([m,u])}getWidth(){return this.width}getHeight(){return this.height}getRowSize(){return this.rowSize}equals(s){return s instanceof ge&&this.width===s.width&&this.height===s.height&&this.rowSize===s.rowSize&&ie.equals(this.bits,s.bits)}hashCode(){let s=this.width;return s=31*s+this.width,s=31*s+this.height,s=31*s+this.rowSize,s=31*s+ie.hashCode(this.bits),s}toString(s="X ",l=" ",d="\n"){return this.buildToString(s,l,d)}buildToString(s,l,d){let u=new me;for(let m=0,p=this.height;m{class Y extends I{static getNotFoundInstance(){return new Y}}return Y.kind="NotFoundException",Y})();class ze extends j{constructor(s){super(s),this.luminances=ze.EMPTY,this.buckets=new Int32Array(ze.LUMINANCE_BUCKETS)}getBlackRow(s,l){const d=this.getLuminanceSource(),u=d.getWidth();null==l||l.getSize()>ze.LUMINANCE_SHIFT]++;const v=ze.estimateBlackPoint(p);if(u<3)for(let M=0;M>ze.LUMINANCE_SHIFT]++}const p=ze.estimateBlackPoint(m),v=s.getMatrix();for(let M=0;Mm&&(u=$,m=s[$]),s[$]>d&&(d=s[$]);let p=0,v=0;for(let $=0;$v&&(p=$,v=_e)}if(u>p){const $=u;u=p,p=$}if(p-u<=l/16)throw new ve;let M=p-1,H=-1;for(let $=p-1;$>u;$--){const ue=$-u,_e=ue*ue*(p-$)*(d-s[$]);_e>H&&(M=$,H=_e)}return M<=Re.MINIMUM_DIMENSION&&d>=Re.MINIMUM_DIMENSION){const u=s.getMatrix();let m=l>>Re.BLOCK_SIZE_POWER;l&Re.BLOCK_SIZE_MASK&&m++;let p=d>>Re.BLOCK_SIZE_POWER;d&Re.BLOCK_SIZE_MASK&&p++;const v=Re.calculateBlackPoints(u,m,p,l,d),M=new ge(l,d);Re.calculateThresholdForBlock(u,m,p,l,d,v,M),this.matrix=M}else this.matrix=super.getBlackMatrix();return this.matrix}createBinarizer(s){return new Re(s)}static calculateThresholdForBlock(s,l,d,u,m,p,v){const M=m-Re.BLOCK_SIZE,H=u-Re.BLOCK_SIZE;for(let $=0;$M&&(ue=M);const _e=Re.cap($,2,d-3);for(let xe=0;xeH&&(Le=H);const je=Re.cap(xe,2,l-3);let Ye=0;for(let kt=-2;kt<=2;kt++){const Ut=p[_e+kt];Ye+=Ut[je-2]+Ut[je-1]+Ut[je]+Ut[je+1]+Ut[je+2]}Re.thresholdBlock(s,Le,ue,Ye/25,u,v)}}}static cap(s,l,d){return sd?d:s}static thresholdBlock(s,l,d,u,m,p){for(let v=0,M=d*m+l;vp&&($=p);for(let ue=0;uev&&(_e=v);let xe=0,Le=255,je=0;for(let Xe=0,kt=$*u+_e;Xeje&&(je=lt)}if(je-Le>Re.MIN_DYNAMIC_RANGE)for(Xe++,kt+=u;Xe>2*Re.BLOCK_SIZE_POWER;if(je-Le<=Re.MIN_DYNAMIC_RANGE&&(Ye=Le/2,H>0&&ue>0)){const Xe=(M[H-1][ue]+2*M[H][ue-1]+M[H-1][ue-1])/4;Le>10,u[p]=M}return u}getRow(s,l){if(s<0||s>=this.getHeight())throw new O("Requested row is outside the image: "+s);const d=this.getWidth(),u=s*d;return null===l?l=this.buffer.slice(u,u+d):(l.lengthnew Zt(l.deviceId,l.label))})}findDeviceById(s){return ft(this,void 0,void 0,function*(){const l=yield this.listVideoInputDevices();return l?l.find(d=>d.deviceId===s):null})}decodeFromInputVideoDevice(s,l){return ft(this,void 0,void 0,function*(){return yield this.decodeOnceFromVideoDevice(s,l)})}decodeOnceFromVideoDevice(s,l){return ft(this,void 0,void 0,function*(){let d;this.reset(),d=s?{deviceId:{exact:s}}:{facingMode:"environment"};const u={video:d};return yield this.decodeOnceFromConstraints(u,l)})}decodeOnceFromConstraints(s,l){return ft(this,void 0,void 0,function*(){const d=yield navigator.mediaDevices.getUserMedia(s);return yield this.decodeOnceFromStream(d,l)})}decodeOnceFromStream(s,l){return ft(this,void 0,void 0,function*(){this.reset();const d=yield this.attachStreamToVideo(s,l);return yield this.decodeOnce(d)})}decodeFromInputVideoDeviceContinuously(s,l,d){return ft(this,void 0,void 0,function*(){return yield this.decodeFromVideoDevice(s,l,d)})}decodeFromVideoDevice(s,l,d){return ft(this,void 0,void 0,function*(){let u;u=s?{deviceId:{exact:s}}:{facingMode:"environment"};const m={video:u};return yield this.decodeFromConstraints(m,l,d)})}decodeFromConstraints(s,l,d){return ft(this,void 0,void 0,function*(){const u=yield navigator.mediaDevices.getUserMedia(s);return yield this.decodeFromStream(u,l,d)})}decodeFromStream(s,l,d){return ft(this,void 0,void 0,function*(){this.reset();const u=yield this.attachStreamToVideo(s,l);return yield this.decodeContinuously(u,d)})}stopAsyncDecode(){this._stopAsyncDecode=!0}stopContinuousDecode(){this._stopContinuousDecode=!0}attachStreamToVideo(s,l){return ft(this,void 0,void 0,function*(){const d=this.prepareVideoElement(l);return this.addVideoSource(d,s),this.videoElement=d,this.stream=s,yield this.playVideoOnLoadAsync(d),d})}playVideoOnLoadAsync(s){return new Promise((l,d)=>this.playVideoOnLoad(s,()=>l()))}playVideoOnLoad(s,l){this.videoEndedListener=()=>this.stopStreams(),this.videoCanPlayListener=()=>this.tryPlayVideo(s),s.addEventListener("ended",this.videoEndedListener),s.addEventListener("canplay",this.videoCanPlayListener),s.addEventListener("playing",l),this.tryPlayVideo(s)}isVideoPlaying(s){return s.currentTime>0&&!s.paused&&!s.ended&&s.readyState>2}tryPlayVideo(s){return ft(this,void 0,void 0,function*(){if(this.isVideoPlaying(s))console.warn("Trying to play video that is already playing.");else try{yield s.play()}catch{console.warn("It was not possible to play the video.")}})}getMediaElement(s,l){const d=document.getElementById(s);if(!d)throw new P(`element with id '${s}' not found`);if(d.nodeName.toLowerCase()!==l.toLowerCase())throw new P(`element with id '${s}' must be an ${l} element`);return d}decodeFromImage(s,l){if(!s&&!l)throw new P("either imageElement with a src set or an url must be provided");return l&&!s?this.decodeFromImageUrl(l):this.decodeFromImageElement(s)}decodeFromVideo(s,l){if(!s&&!l)throw new P("Either an element with a src set or an URL must be provided");return l&&!s?this.decodeFromVideoUrl(l):this.decodeFromVideoElement(s)}decodeFromVideoContinuously(s,l,d){if(void 0===s&&void 0===l)throw new P("Either an element with a src set or an URL must be provided");return l&&!s?this.decodeFromVideoUrlContinuously(l,d):this.decodeFromVideoElementContinuously(s,d)}decodeFromImageElement(s){if(!s)throw new P("An image element must be provided.");this.reset();const l=this.prepareImageElement(s);let d;return this.imageElement=l,d=this.isImageLoaded(l)?this.decodeOnce(l,!1,!0):this._decodeOnLoadImage(l),d}decodeFromVideoElement(s){const l=this._decodeFromVideoElementSetup(s);return this._decodeOnLoadVideo(l)}decodeFromVideoElementContinuously(s,l){const d=this._decodeFromVideoElementSetup(s);return this._decodeOnLoadVideoContinuously(d,l)}_decodeFromVideoElementSetup(s){if(!s)throw new P("A video element must be provided.");this.reset();const l=this.prepareVideoElement(s);return this.videoElement=l,l}decodeFromImageUrl(s){if(!s)throw new P("An URL must be provided.");this.reset();const l=this.prepareImageElement();this.imageElement=l;const d=this._decodeOnLoadImage(l);return l.src=s,d}decodeFromVideoUrl(s){if(!s)throw new P("An URL must be provided.");this.reset();const l=this.prepareVideoElement(),d=this.decodeFromVideoElement(l);return l.src=s,d}decodeFromVideoUrlContinuously(s,l){if(!s)throw new P("An URL must be provided.");this.reset();const d=this.prepareVideoElement(),u=this.decodeFromVideoElementContinuously(d,l);return d.src=s,u}_decodeOnLoadImage(s){return new Promise((l,d)=>{this.imageLoadedListener=()=>this.decodeOnce(s,!1,!0).then(l,d),s.addEventListener("load",this.imageLoadedListener)})}_decodeOnLoadVideo(s){return ft(this,void 0,void 0,function*(){return yield this.playVideoOnLoadAsync(s),yield this.decodeOnce(s)})}_decodeOnLoadVideoContinuously(s,l){return ft(this,void 0,void 0,function*(){yield this.playVideoOnLoadAsync(s),this.decodeContinuously(s,l)})}isImageLoaded(s){return!(!s.complete||0===s.naturalWidth)}prepareImageElement(s){let l;return typeof s>"u"&&(l=document.createElement("img"),l.width=200,l.height=200),"string"==typeof s&&(l=this.getMediaElement(s,"img")),s instanceof HTMLImageElement&&(l=s),l}prepareVideoElement(s){let l;return!s&&typeof document<"u"&&(l=document.createElement("video"),l.width=200,l.height=200),"string"==typeof s&&(l=this.getMediaElement(s,"video")),s instanceof HTMLVideoElement&&(l=s),l.setAttribute("autoplay","true"),l.setAttribute("muted","true"),l.setAttribute("playsinline","true"),l}decodeOnce(s,l=!0,d=!0){this._stopAsyncDecode=!1;const u=(m,p)=>{if(this._stopAsyncDecode)return p(new ve("Video stream has ended before any code could be detected.")),void(this._stopAsyncDecode=void 0);try{m(this.decode(s))}catch(v){if(l&&v instanceof ve||(v instanceof Q||v instanceof ee)&&d)return setTimeout(u,this._timeBetweenDecodingAttempts,m,p);p(v)}};return new Promise((m,p)=>u(m,p))}decodeContinuously(s,l){this._stopContinuousDecode=!1;const d=()=>{if(this._stopContinuousDecode)this._stopContinuousDecode=void 0;else try{const u=this.decode(s);l(u,null),setTimeout(d,this.timeBetweenScansMillis)}catch(u){l(null,u),(u instanceof Q||u instanceof ee||u instanceof ve)&&setTimeout(d,this._timeBetweenDecodingAttempts)}};d()}decode(s){const l=this.createBinaryBitmap(s);return this.decodeBitmap(l)}_isHTMLVideoElement(s){return 0!==s.videoWidth}drawFrameOnCanvas(s,l,d){l||(l={sx:0,sy:0,sWidth:s.videoWidth,sHeight:s.videoHeight,dx:0,dy:0,dWidth:s.videoWidth,dHeight:s.videoHeight}),d||(d=this.captureCanvasContext),d.drawImage(s,l.sx,l.sy,l.sWidth,l.sHeight,l.dx,l.dy,l.dWidth,l.dHeight)}drawImageOnCanvas(s,l,d=this.captureCanvasContext){l||(l={sx:0,sy:0,sWidth:s.naturalWidth,sHeight:s.naturalHeight,dx:0,dy:0,dWidth:s.naturalWidth,dHeight:s.naturalHeight}),d||(d=this.captureCanvasContext),d.drawImage(s,l.sx,l.sy,l.sWidth,l.sHeight,l.dx,l.dy,l.dWidth,l.dHeight)}createBinaryBitmap(s){this.getCaptureCanvasContext(s),this._isHTMLVideoElement(s)?this.drawFrameOnCanvas(s):this.drawImageOnCanvas(s);const d=this.getCaptureCanvas(s),u=new At(d),m=new Re(u);return new U(m)}getCaptureCanvasContext(s){if(!this.captureCanvasContext){const d=this.getCaptureCanvas(s).getContext("2d");this.captureCanvasContext=d}return this.captureCanvasContext}getCaptureCanvas(s){if(!this.captureCanvas){const l=this.createCaptureCanvas(s);this.captureCanvas=l}return this.captureCanvas}decodeBitmap(s){return this.reader.decode(s,this._hints)}createCaptureCanvas(s){if(typeof document>"u")return this._destroyCaptureCanvas(),null;const l=document.createElement("canvas");let d,u;return typeof s<"u"&&(s instanceof HTMLVideoElement?(d=s.videoWidth,u=s.videoHeight):s instanceof HTMLImageElement&&(d=s.naturalWidth||s.width,u=s.naturalHeight||s.height)),l.style.width=d+"px",l.style.height=u+"px",l.width=d,l.height=u,l}stopStreams(){this.stream&&(this.stream.getVideoTracks().forEach(s=>s.stop()),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()}reset(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()}_destroyVideoElement(){this.videoElement&&(typeof this.videoEndedListener<"u"&&this.videoElement.removeEventListener("ended",this.videoEndedListener),typeof this.videoPlayingEventListener<"u"&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),typeof this.videoCanPlayListener<"u"&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)}_destroyImageElement(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)}_destroyCaptureCanvas(){this.captureCanvasContext=void 0,this.captureCanvas=void 0}addVideoSource(s,l){try{s.srcObject=l}catch{s.src=URL.createObjectURL(l)}}cleanVideoSource(s){try{s.srcObject=null}catch{s.src=""}this.videoElement.removeAttribute("src")}}class He{constructor(s,l,d=(null==l?0:8*l.length),u,m,p=V.currentTimeMillis()){this.text=s,this.rawBytes=l,this.numBits=d,this.resultPoints=u,this.format=m,this.timestamp=p,this.text=s,this.rawBytes=l,this.numBits=null==d?null==l?0:8*l.length:d,this.resultPoints=u,this.format=m,this.resultMetadata=null,this.timestamp=null==p?V.currentTimeMillis():p}getText(){return this.text}getRawBytes(){return this.rawBytes}getNumBits(){return this.numBits}getResultPoints(){return this.resultPoints}getBarcodeFormat(){return this.format}getResultMetadata(){return this.resultMetadata}putMetadata(s,l){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(s,l)}putAllMetadata(s){null!==s&&(this.resultMetadata=null===this.resultMetadata?s:new Map(s))}addResultPoints(s){const l=this.resultPoints;if(null===l)this.resultPoints=s;else if(null!==s&&s.length>0){const d=new Array(l.length+s.length);V.arraycopy(l,0,d,0,l.length),V.arraycopy(s,0,d,l.length,s.length),this.resultPoints=d}}getTimestamp(){return this.timestamp}toString(){return this.text}}var gi=(()=>{return(Y=gi||(gi={}))[Y.AZTEC=0]="AZTEC",Y[Y.CODABAR=1]="CODABAR",Y[Y.CODE_39=2]="CODE_39",Y[Y.CODE_93=3]="CODE_93",Y[Y.CODE_128=4]="CODE_128",Y[Y.DATA_MATRIX=5]="DATA_MATRIX",Y[Y.EAN_8=6]="EAN_8",Y[Y.EAN_13=7]="EAN_13",Y[Y.ITF=8]="ITF",Y[Y.MAXICODE=9]="MAXICODE",Y[Y.PDF_417=10]="PDF_417",Y[Y.QR_CODE=11]="QR_CODE",Y[Y.RSS_14=12]="RSS_14",Y[Y.RSS_EXPANDED=13]="RSS_EXPANDED",Y[Y.UPC_A=14]="UPC_A",Y[Y.UPC_E=15]="UPC_E",Y[Y.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION",gi;var Y})(),nt=gi,ei=(()=>{return(Y=ei||(ei={}))[Y.OTHER=0]="OTHER",Y[Y.ORIENTATION=1]="ORIENTATION",Y[Y.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",Y[Y.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",Y[Y.ISSUE_NUMBER=4]="ISSUE_NUMBER",Y[Y.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",Y[Y.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",Y[Y.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",Y[Y.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",Y[Y.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",Y[Y.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY",ei;var Y})(),zt=ei;class yn{constructor(s,l,d,u,m=-1,p=-1){this.rawBytes=s,this.text=l,this.byteSegments=d,this.ecLevel=u,this.structuredAppendSequenceNumber=m,this.structuredAppendParity=p,this.numBits=null==s?0:8*s.length}getRawBytes(){return this.rawBytes}getNumBits(){return this.numBits}setNumBits(s){this.numBits=s}getText(){return this.text}getByteSegments(){return this.byteSegments}getECLevel(){return this.ecLevel}getErrorsCorrected(){return this.errorsCorrected}setErrorsCorrected(s){this.errorsCorrected=s}getErasures(){return this.erasures}setErasures(s){this.erasures=s}getOther(){return this.other}setOther(s){this.other=s}hasStructuredAppend(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0}getStructuredAppendParity(){return this.structuredAppendParity}getStructuredAppendSequenceNumber(){return this.structuredAppendSequenceNumber}}class bt{exp(s){return this.expTable[s]}log(s){if(0===s)throw new O;return this.logTable[s]}static addOrSubtract(s,l){return s^l}}class rn{constructor(s,l){if(0===l.length)throw new O;this.field=s;const d=l.length;if(d>1&&0===l[0]){let u=1;for(;ud.length){const p=l;l=d,d=p}let u=new Int32Array(d.length);const m=d.length-l.length;V.arraycopy(d,0,u,0,m);for(let p=m;p=s.getDegree()&&!u.isZero();){const v=u.getDegree()-s.getDegree(),M=l.multiply(u.getCoefficient(u.getDegree()),p),H=s.multiplyByMonomial(v,M),$=l.buildMonomial(v,M);d=d.addOrSubtract($),u=u.addOrSubtract(H)}return[d,u]}toString(){let s="";for(let l=this.getDegree();l>=0;l--){let d=this.getCoefficient(l);if(0!==d){if(d<0?(s+=" - ",d=-d):s.length>0&&(s+=" + "),0===l||1!==d){const u=this.field.log(d);0===u?s+="1":1===u?s+="a":(s+="a^",s+=u)}0!==l&&(1===l?s+="x":(s+="x^",s+=l))}}return s}}let Mn=(()=>{class Y extends I{}return Y.kind="ArithmeticException",Y})();class vi extends bt{constructor(s,l,d){super(),this.primitive=s,this.size=l,this.generatorBase=d;const u=new Int32Array(l);let m=1;for(let v=0;v=l&&(m^=s,m&=l-1);this.expTable=u;const p=new Int32Array(l);for(let v=0;v{class Y extends I{}return Y.kind="ReedSolomonException",Y})(),jt=(()=>{class Y extends I{}return Y.kind="IllegalStateException",Y})();class Ge{constructor(s){this.field=s}decode(s,l){const d=this.field,u=new rn(d,s),m=new Int32Array(l);let p=!0;for(let xe=0;xe=(d/2|0);){let xe=m,Le=v;if(m=p,v=M,m.isZero())throw new ut("r_{i-1} was zero");p=xe;let je=u.getZero();const Ye=m.getCoefficient(m.getDegree()),Xe=u.inverse(Ye);for(;p.getDegree()>=m.getDegree()&&!p.isZero();){const kt=p.getDegree()-m.getDegree(),Ut=u.multiply(p.getCoefficient(p.getDegree()),Xe);je=je.addOrSubtract(u.buildMonomial(kt,Ut)),p=p.addOrSubtract(m.multiplyByMonomial(kt,Ut))}if(M=je.multiply(v).addOrSubtract(Le),p.getDegree()>=m.getDegree())throw new jt("Division algorithm failed to reduce polynomial?")}const H=M.getCoefficient(0);if(0===H)throw new ut("sigmaTilde(0) was zero");const $=u.inverse(H);return[M.multiplyScalar($),p.multiplyScalar($)]}findErrorLocations(s){const l=s.getDegree();if(1===l)return Int32Array.from([s.getCoefficient(1)]);const d=new Int32Array(l);let u=0;const m=this.field;for(let p=1;p{return(Y=at||(at={}))[Y.UPPER=0]="UPPER",Y[Y.LOWER=1]="LOWER",Y[Y.MIXED=2]="MIXED",Y[Y.DIGIT=3]="DIGIT",Y[Y.PUNCT=4]="PUNCT",Y[Y.BINARY=5]="BINARY",at;var Y})();let ui=(()=>{class Y{decode(l){this.ddata=l;let d=l.getBits(),u=this.extractBits(d),m=this.correctBits(u),p=Y.convertBoolArrayToByteArray(m),v=Y.getEncodedData(m),M=new yn(p,v,null,null);return M.setNumBits(m.length),M}static highLevelDecode(l){return this.getEncodedData(l)}static getEncodedData(l){let d=l.length,u=at.UPPER,m=at.UPPER,p="",v=0;for(;v1,_e,_e+u-1),_e+=u-1;else for(let je=u-1;je>=0;--je)ue[_e++]=0!=(Le&1<=8?Y.readCode(l,d,8):Y.readCode(l,d,u)<<8-u}static convertBoolArrayToByteArray(l){let d=new Uint8Array((l.length+7)/8);for(let u=0;u","?","[","]","{","}","CTRL_UL"],Y.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],Y})();class Gt{constructor(){}static round(s){return NaN===s?0:s<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:s>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:s+(s<0?-.5:.5)|0}static distance(s,l,d,u){const m=s-d,p=l-u;return Math.sqrt(m*m+p*p)}static sum(s){let l=0;for(let d=0,u=s.length;d!==u;d++)l+=s[d];return l}}class ni{static floatToIntBits(s){return s}}ni.MAX_VALUE=Number.MAX_SAFE_INTEGER;class yt{constructor(s,l){this.x=s,this.y=l}getX(){return this.x}getY(){return this.y}equals(s){return s instanceof yt&&this.x===s.x&&this.y===s.y}hashCode(){return 31*ni.floatToIntBits(this.x)+ni.floatToIntBits(this.y)}toString(){return"("+this.x+","+this.y+")"}static orderBestPatterns(s){const l=this.distance(s[0],s[1]),d=this.distance(s[1],s[2]),u=this.distance(s[0],s[2]);let m,p,v;if(d>=l&&d>=u?(p=s[0],m=s[1],v=s[2]):u>=d&&u>=l?(p=s[1],m=s[0],v=s[2]):(p=s[2],m=s[0],v=s[1]),this.crossProductZ(m,p,v)<0){const M=m;m=v,v=M}s[0]=m,s[1]=p,s[2]=v}static distance(s,l){return Gt.distance(s.x,s.y,l.x,l.y)}static crossProductZ(s,l,d){const u=l.x,m=l.y;return(d.x-u)*(s.y-m)-(d.y-m)*(s.x-u)}}class cn{constructor(s,l){this.bits=s,this.points=l}getBits(){return this.bits}getPoints(){return this.points}}class Ti extends cn{constructor(s,l,d,u,m){super(s,l),this.compact=d,this.nbDatablocks=u,this.nbLayers=m}getNbLayers(){return this.nbLayers}getNbDatablocks(){return this.nbDatablocks}isCompact(){return this.compact}}let Ri=(()=>{class Y{constructor(l,d,u,m){this.image=l,this.height=l.getHeight(),this.width=l.getWidth(),null==d&&(d=Y.INIT_SIZE),null==u&&(u=l.getWidth()/2|0),null==m&&(m=l.getHeight()/2|0);const p=d/2|0;if(this.leftInit=u-p,this.rightInit=u+p,this.upInit=m-p,this.downInit=m+p,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new ve}detect(){let l=this.leftInit,d=this.rightInit,u=this.upInit,m=this.downInit,p=!1,v=!0,M=!1,H=!1,$=!1,ue=!1,_e=!1;const xe=this.width,Le=this.height;for(;v;){v=!1;let je=!0;for(;(je||!H)&&d=xe){p=!0;break}let Ye=!0;for(;(Ye||!$)&&m=Le){p=!0;break}let Xe=!0;for(;(Xe||!ue)&&l>=0;)Xe=this.containsBlackPoint(u,m,l,!1),Xe?(l--,v=!0,ue=!0):ue||l--;if(l<0){p=!0;break}let kt=!0;for(;(kt||!_e)&&u>=0;)kt=this.containsBlackPoint(l,d,u,!0),kt?(u--,v=!0,_e=!0):_e||u--;if(u<0){p=!0;break}v&&(M=!0)}if(!p&&M){const je=d-l;let Ye=null;for(let lt=1;null===Ye&<d||M<-1||M>u)throw new ve;m=!1,-1===v?(l[p]=0,m=!0):v===d&&(l[p]=d-1,m=!0),-1===M?(l[p+1]=0,m=!0):M===u&&(l[p+1]=u-1,m=!0)}m=!0;for(let p=l.length-2;p>=0&&m;p-=2){const v=Math.floor(l[p]),M=Math.floor(l[p+1]);if(v<-1||v>d||M<-1||M>u)throw new ve;m=!1,-1===v?(l[p]=0,m=!0):v===d&&(l[p]=d-1,m=!0),-1===M?(l[p+1]=0,m=!0):M===u&&(l[p+1]=u-1,m=!0)}}}class Gi{constructor(s,l,d,u,m,p,v,M,H){this.a11=s,this.a21=l,this.a31=d,this.a12=u,this.a22=m,this.a32=p,this.a13=v,this.a23=M,this.a33=H}static quadrilateralToQuadrilateral(s,l,d,u,m,p,v,M,H,$,ue,_e,xe,Le,je,Ye){const Xe=Gi.quadrilateralToSquare(s,l,d,u,m,p,v,M);return Gi.squareToQuadrilateral(H,$,ue,_e,xe,Le,je,Ye).times(Xe)}transformPoints(s){const l=s.length,d=this.a11,u=this.a12,m=this.a13,p=this.a21,v=this.a22,M=this.a23,H=this.a31,$=this.a32,ue=this.a33;for(let _e=0;_e>1&127):(u<<=10,u+=(v>>2&992)+(v>>1&31))}let m=this.getCorrectedParameterData(u,this.compact);this.compact?(this.nbLayers=1+(m>>6),this.nbDataBlocks=1+(63&m)):(this.nbLayers=1+(m>>11),this.nbDataBlocks=1+(2047&m))}getRotation(s,l){let d=0;s.forEach((u,m,p)=>{d=(u>>l-2<<1)+(1&u)+(d<<3)}),d=((1&d)<<11)+(d>>1);for(let u=0;u<4;u++)if(q.bitCount(d^this.EXPECTED_CORNER_BITS[u])<=2)return u;throw new ve}getCorrectedParameterData(s,l){let d,u;l?(d=7,u=2):(d=10,u=4);let m=d-u,p=new Int32Array(d);for(let M=d-1;M>=0;--M)p[M]=15&s,s>>=4;try{new Ge(vi.AZTEC_PARAM).decode(p,m)}catch{throw new ve}let v=0;for(let M=0;M2){let je=this.distancePoint(Le,ue)*this.nbCenterLayers/(this.distancePoint(m,l)*(this.nbCenterLayers+2));if(je<.75||je>1.25||!this.isWhiteOrBlackRectangle(ue,_e,xe,Le))break}l=ue,d=_e,u=xe,m=Le,p=!p}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new ve;this.compact=5===this.nbCenterLayers;let v=new yt(l.getX()+.5,l.getY()-.5),M=new yt(d.getX()+.5,d.getY()+.5),H=new yt(u.getX()-.5,u.getY()+.5),$=new yt(m.getX()-.5,m.getY()-.5);return this.expandSquare([v,M,H,$],2*this.nbCenterLayers-3,2*this.nbCenterLayers)}getMatrixCenter(){let s,l,d,u;try{let v=new Ri(this.image).detect();s=v[0],l=v[1],d=v[2],u=v[3]}catch{let M=this.image.getWidth()/2,H=this.image.getHeight()/2;s=this.getFirstDifferent(new Zi(M+7,H-7),!1,1,-1).toResultPoint(),l=this.getFirstDifferent(new Zi(M+7,H+7),!1,1,1).toResultPoint(),d=this.getFirstDifferent(new Zi(M-7,H+7),!1,-1,1).toResultPoint(),u=this.getFirstDifferent(new Zi(M-7,H-7),!1,-1,-1).toResultPoint()}let m=Gt.round((s.getX()+u.getX()+l.getX()+d.getX())/4),p=Gt.round((s.getY()+u.getY()+l.getY()+d.getY())/4);try{let v=new Ri(this.image,15,m,p).detect();s=v[0],l=v[1],d=v[2],u=v[3]}catch{s=this.getFirstDifferent(new Zi(m+7,p-7),!1,1,-1).toResultPoint(),l=this.getFirstDifferent(new Zi(m+7,p+7),!1,1,1).toResultPoint(),d=this.getFirstDifferent(new Zi(m-7,p+7),!1,-1,1).toResultPoint(),u=this.getFirstDifferent(new Zi(m-7,p-7),!1,-1,-1).toResultPoint()}return m=Gt.round((s.getX()+u.getX()+l.getX()+d.getX())/4),p=Gt.round((s.getY()+u.getY()+l.getY()+d.getY())/4),new Zi(m,p)}getMatrixCornerPoints(s){return this.expandSquare(s,2*this.nbCenterLayers,this.getDimension())}sampleGrid(s,l,d,u,m){let p=Ii.getInstance(),v=this.getDimension(),M=v/2-this.nbCenterLayers,H=v/2+this.nbCenterLayers;return p.sampleGrid(s,v,v,M,M,H,M,H,H,M,H,l.getX(),l.getY(),d.getX(),d.getY(),u.getX(),u.getY(),m.getX(),m.getY())}sampleLine(s,l,d){let u=0,m=this.distanceResultPoint(s,l),p=m/d,v=s.getX(),M=s.getY(),H=p*(l.getX()-s.getX())/m,$=p*(l.getY()-s.getY())/m;for(let ue=0;ue.1&&ue<.9?0:ue<=.1===H?1:-1}getFirstDifferent(s,l,d,u){let m=s.getX()+d,p=s.getY()+u;for(;this.isValid(m,p)&&this.image.get(m,p)===l;)m+=d,p+=u;for(m-=d,p-=u;this.isValid(m,p)&&this.image.get(m,p)===l;)m+=d;for(m-=d;this.isValid(m,p)&&this.image.get(m,p)===l;)p+=u;return p-=u,new Zi(m,p)}expandSquare(s,l,d){let u=d/(2*l),m=s[0].getX()-s[2].getX(),p=s[0].getY()-s[2].getY(),v=(s[0].getX()+s[2].getX())/2,M=(s[0].getY()+s[2].getY())/2,H=new yt(v+u*m,M+u*p),$=new yt(v-u*m,M-u*p);return m=s[1].getX()-s[3].getX(),p=s[1].getY()-s[3].getY(),v=(s[1].getX()+s[3].getX())/2,M=(s[1].getY()+s[3].getY())/2,[H,new yt(v+u*m,M+u*p),$,new yt(v-u*m,M-u*p)]}isValid(s,l){return s>=0&&s0&&l{d.foundPossibleResultPoint(u)})}}reset(){}}class cr{decode(s,l){try{return this.doDecode(s,l)}catch{if(l&&!0===l.get(le.TRY_HARDER)&&s.isRotateSupported()){const m=s.rotateCounterClockwise(),p=this.doDecode(m,l),v=p.getResultMetadata();let M=270;null!==v&&!0===v.get(zt.ORIENTATION)&&(M+=v.get(zt.ORIENTATION)%360),p.putMetadata(zt.ORIENTATION,M);const H=p.getResultPoints();if(null!==H){const $=m.getHeight();for(let ue=0;ue>(p?8:5));let M;M=p?u:15;const H=Math.trunc(u/2);for(let $=0;$=u)break;try{m=s.getBlackRow(xe,m)}catch{continue}for(let Le=0;Le<2;Le++){if(1===Le&&(m.reverse(),l&&!0===l.get(le.NEED_RESULT_POINT_CALLBACK))){const je=new Map;l.forEach((Ye,Xe)=>je.set(Xe,Ye)),je.delete(le.NEED_RESULT_POINT_CALLBACK),l=je}try{const je=this.decodeRow(xe,m,l);if(1===Le){je.putMetadata(zt.ORIENTATION,180);const Ye=je.getResultPoints();null!==Ye&&(Ye[0]=new yt(d-Ye[0].getX()-1,Ye[0].getY()),Ye[1]=new yt(d-Ye[1].getX()-1,Ye[1].getY()))}return je}catch{}}}throw new ve}static recordPattern(s,l,d){const u=d.length;for(let H=0;H=m)throw new ve;let p=!s.get(l),v=0,M=l;for(;M0&&u>=0;)s.get(--l)!==m&&(u--,m=!m);if(u>=0)throw new ve;cr.recordPattern(s,l+1,d)}static patternMatchVariance(s,l,d){const u=s.length;let m=0,p=0;for(let H=0;Hue?$-ue:ue-$;if(_e>d)return Number.POSITIVE_INFINITY;M+=_e}return M/m}}class Lt extends cr{static findStartPattern(s){const l=s.getSize(),d=s.getNextSet(0);let u=0,m=Int32Array.from([0,0,0,0,0,0]),p=d,v=!1;for(let H=d;H=0&&s.isRange(Math.max(0,p-(H-p)/2),p,!1))return Int32Array.from([p,H,ue]);p+=m[0]+m[1],m=m.slice(2,m.length-1),m[u-1]=0,m[u]=0,u--}else u++;m[u]=1,v=!v}throw new ve}static decodeCode(s,l,d){cr.recordPattern(s,d,l);let u=Lt.MAX_AVG_VARIANCE,m=-1;for(let p=0;p=0)return m;throw new ve}decodeRow(s,l,d){const u=d&&!0===d.get(le.ASSUME_GS1),m=Lt.findStartPattern(l),p=m[2];let v=0;const M=new Uint8Array(20);let H;switch(M[v++]=p,p){case Lt.CODE_START_A:H=Lt.CODE_CODE_A;break;case Lt.CODE_START_B:H=Lt.CODE_CODE_B;break;case Lt.CODE_START_C:H=Lt.CODE_CODE_C;break;default:throw new ee}let $=!1,ue=!1,_e="",xe=m[0],Le=m[1];const je=Int32Array.from([0,0,0,0,0,0]);let Ye=0,Xe=0,kt=p,Ut=0,lt=!0,Ai=!1,yi=!1;for(;!$;){const rl=ue;switch(ue=!1,Ye=Xe,Xe=Lt.decodeCode(l,je,Le),M[v++]=Xe,Xe!==Lt.CODE_STOP&&(lt=!0),Xe!==Lt.CODE_STOP&&(Ut++,kt+=Ut*Xe),xe=Le,Le+=je.reduce((Qd,Zd)=>Qd+Zd,0),Xe){case Lt.CODE_START_A:case Lt.CODE_START_B:case Lt.CODE_START_C:throw new ee}switch(H){case Lt.CODE_CODE_A:if(Xe<64)_e+=String.fromCharCode(yi===Ai?" ".charCodeAt(0)+Xe:" ".charCodeAt(0)+Xe+128),yi=!1;else if(Xe<96)_e+=String.fromCharCode(yi===Ai?Xe-64:Xe+64),yi=!1;else switch(Xe!==Lt.CODE_STOP&&(lt=!1),Xe){case Lt.CODE_FNC_1:u&&(_e+=0===_e.length?"]C1":String.fromCharCode(29));break;case Lt.CODE_FNC_2:case Lt.CODE_FNC_3:break;case Lt.CODE_FNC_4_A:!Ai&&yi?(Ai=!0,yi=!1):Ai&&yi?(Ai=!1,yi=!1):yi=!0;break;case Lt.CODE_SHIFT:ue=!0,H=Lt.CODE_CODE_B;break;case Lt.CODE_CODE_B:H=Lt.CODE_CODE_B;break;case Lt.CODE_CODE_C:H=Lt.CODE_CODE_C;break;case Lt.CODE_STOP:$=!0}break;case Lt.CODE_CODE_B:if(Xe<96)_e+=String.fromCharCode(yi===Ai?" ".charCodeAt(0)+Xe:" ".charCodeAt(0)+Xe+128),yi=!1;else switch(Xe!==Lt.CODE_STOP&&(lt=!1),Xe){case Lt.CODE_FNC_1:u&&(_e+=0===_e.length?"]C1":String.fromCharCode(29));break;case Lt.CODE_FNC_2:case Lt.CODE_FNC_3:break;case Lt.CODE_FNC_4_B:!Ai&&yi?(Ai=!0,yi=!1):Ai&&yi?(Ai=!1,yi=!1):yi=!0;break;case Lt.CODE_SHIFT:ue=!0,H=Lt.CODE_CODE_A;break;case Lt.CODE_CODE_A:H=Lt.CODE_CODE_A;break;case Lt.CODE_CODE_C:H=Lt.CODE_CODE_C;break;case Lt.CODE_STOP:$=!0}break;case Lt.CODE_CODE_C:if(Xe<100)Xe<10&&(_e+="0"),_e+=Xe;else switch(Xe!==Lt.CODE_STOP&&(lt=!1),Xe){case Lt.CODE_FNC_1:u&&(_e+=0===_e.length?"]C1":String.fromCharCode(29));break;case Lt.CODE_CODE_A:H=Lt.CODE_CODE_A;break;case Lt.CODE_CODE_B:H=Lt.CODE_CODE_B;break;case Lt.CODE_STOP:$=!0}}rl&&(H=H===Lt.CODE_CODE_A?Lt.CODE_CODE_B:Lt.CODE_CODE_A)}const Dr=Le-xe;if(Le=l.getNextUnset(Le),!l.isRange(Le,Math.min(l.getSize(),Le+(Le-xe)/2),!1))throw new ve;if(kt-=Ut*Ye,kt%103!==Ye)throw new Q;const Zr=_e.length;if(0===Zr)throw new ve;Zr>0&<&&(_e=_e.substring(0,H===Lt.CODE_CODE_C?Zr-2:Zr-1));const fa=(m[1]+m[0])/2,ar=xe+Dr/2,sn=M.length,Yo=new Uint8Array(sn);for(let rl=0;rl{class Y extends cr{constructor(l=!1,d=!1){super(),this.usingCheckDigit=l,this.extendedMode=d,this.decodeRowResult="",this.counters=new Int32Array(9)}decodeRow(l,d,u){let m=this.counters;m.fill(0),this.decodeRowResult="";let H,$,p=Y.findAsteriskPattern(d,m),v=d.getNextSet(p[1]),M=d.getSize();do{Y.recordPattern(d,v,m);let Ye=Y.toNarrowWidePattern(m);if(Ye<0)throw new ve;H=Y.patternToChar(Ye),this.decodeRowResult+=H,$=v;for(let Xe of m)v+=Xe;v=d.getNextSet(v)}while("*"!==H);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);let xe,ue=0;for(let Ye of m)ue+=Ye;if(v!==M&&2*(v-$-ue)u&&(p=H);u=p,m=0;let v=0,M=0;for(let H=0;Hu&&(M|=1<0;H++){let $=l[H];if($>u&&(m--,2*$>=v))return-1}return M}}while(m>3);return-1}static patternToChar(l){for(let d=0;d="A"&&v<="Z"))throw new ee;M=String.fromCharCode(v.charCodeAt(0)+32);break;case"$":if(!(v>="A"&&v<="Z"))throw new ee;M=String.fromCharCode(v.charCodeAt(0)-64);break;case"%":if(v>="A"&&v<="E")M=String.fromCharCode(v.charCodeAt(0)-38);else if(v>="F"&&v<="J")M=String.fromCharCode(v.charCodeAt(0)-11);else if(v>="K"&&v<="O")M=String.fromCharCode(v.charCodeAt(0)+16);else if(v>="P"&&v<="T")M=String.fromCharCode(v.charCodeAt(0)+43);else if("U"===v)M="\0";else if("V"===v)M="@";else if("W"===v)M="`";else{if("X"!==v&&"Y"!==v&&"Z"!==v)throw new ee;M="\x7f"}break;case"/":if(v>="A"&&v<="O")M=String.fromCharCode(v.charCodeAt(0)-32);else{if("Z"!==v)throw new ee;M=":"}}u+=M,m++}else u+=p}return u}}return Y.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",Y.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],Y.ASTERISK_ENCODING=148,Y})();class Ue extends cr{constructor(){super(...arguments),this.narrowLineWidth=-1}decodeRow(s,l,d){let u=this.decodeStart(l),m=this.decodeEnd(l),p=new me;Ue.decodeMiddle(l,u[1],m[0],p);let v=p.toString(),M=null;null!=d&&(M=d.get(le.ALLOWED_LENGTHS)),null==M&&(M=Ue.DEFAULT_ALLOWED_LENGTHS);let H=v.length,$=!1,ue=0;for(let Le of M){if(H===Le){$=!0;break}Le>ue&&(ue=Le)}if(!$&&H>ue&&($=!0),!$)throw new ee;const _e=[new yt(u[1],s),new yt(m[0],s)];return new He(v,null,0,_e,nt.ITF,(new Date).getTime())}static decodeMiddle(s,l,d,u){let m=new Int32Array(10),p=new Int32Array(5),v=new Int32Array(5);for(m.fill(0),p.fill(0),v.fill(0);l0&&u>=0&&!s.get(u);u--)d--;if(0!==d)throw new ve}static skipWhiteSpace(s){const l=s.getSize(),d=s.getNextSet(0);if(d===l)throw new ve;return d}decodeEnd(s){s.reverse();try{let d,l=Ue.skipWhiteSpace(s);try{d=Ue.findGuardPattern(s,l,Ue.END_PATTERN_REVERSED[0])}catch(m){m instanceof ve&&(d=Ue.findGuardPattern(s,l,Ue.END_PATTERN_REVERSED[1]))}this.validateQuietZone(s,d[0]);let u=d[0];return d[0]=s.getSize()-d[1],d[1]=s.getSize()-u,d}finally{s.reverse()}}static findGuardPattern(s,l,d){let u=d.length,m=new Int32Array(u),p=s.getSize(),v=!1,M=0,H=l;m.fill(0);for(let $=l;$=0)return d%10;throw new ve}}Ue.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],Ue.MAX_AVG_VARIANCE=.38,Ue.MAX_INDIVIDUAL_VARIANCE=.5,Ue.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],Ue.START_PATTERN=Int32Array.from([1,1,1,1]),Ue.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])];class We extends cr{constructor(){super(...arguments),this.decodeRowStringBuffer=""}static findStartGuardPattern(s){let d,l=!1,u=0,m=Int32Array.from([0,0,0]);for(;!l;){m=Int32Array.from([0,0,0]),d=We.findGuardPattern(s,u,!1,this.START_END_PATTERN,m);let p=d[0];u=d[1];let v=p-(u-p);v>=0&&(l=s.isRange(v,p,!1))}return d}static checkChecksum(s){return We.checkStandardUPCEANChecksum(s)}static checkStandardUPCEANChecksum(s){let l=s.length;if(0===l)return!1;let d=parseInt(s.charAt(l-1),10);return We.getStandardUPCEANChecksum(s.substring(0,l-1))===d}static getStandardUPCEANChecksum(s){let l=s.length,d=0;for(let u=l-1;u>=0;u-=2){let m=s.charAt(u).charCodeAt(0)-"0".charCodeAt(0);if(m<0||m>9)throw new ee;d+=m}d*=3;for(let u=l-2;u>=0;u-=2){let m=s.charAt(u).charCodeAt(0)-"0".charCodeAt(0);if(m<0||m>9)throw new ee;d+=m}return(1e3-d)%10}static decodeEnd(s,l){return We.findGuardPattern(s,l,!1,We.START_END_PATTERN,new Int32Array(We.START_END_PATTERN.length).fill(0))}static findGuardPatternWithoutCounters(s,l,d,u){return this.findGuardPattern(s,l,d,u,new Int32Array(u.length))}static findGuardPattern(s,l,d,u,m){let p=s.getSize(),v=0,M=l=d?s.getNextUnset(l):s.getNextSet(l),H=u.length,$=d;for(let ue=l;ue=0)return p;throw new ve}}We.MAX_AVG_VARIANCE=.48,We.MAX_INDIVIDUAL_VARIANCE=.7,We.START_END_PATTERN=Int32Array.from([1,1,1]),We.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),We.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),We.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])];class hn{constructor(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}decodeRow(s,l,d){let u=this.decodeRowStringBuffer,m=this.decodeMiddle(l,d,u),p=u.toString(),v=hn.parseExtensionString(p),M=[new yt((d[0]+d[1])/2,s),new yt(m,s)],H=new He(p,null,0,M,nt.UPC_EAN_EXTENSION,(new Date).getTime());return null!=v&&H.putAllMetadata(v),H}decodeMiddle(s,l,d){let u=this.decodeMiddleCounters;u[0]=0,u[1]=0,u[2]=0,u[3]=0;let m=s.getSize(),p=l[1],v=0;for(let H=0;H<5&&p=10&&(v|=1<<4-H),4!==H&&(p=s.getNextSet(p),p=s.getNextUnset(p))}if(5!==d.length)throw new ve;let M=this.determineCheckDigit(v);if(hn.extensionChecksum(d.toString())!==M)throw new ve;return p}static extensionChecksum(s){let l=s.length,d=0;for(let u=l-2;u>=0;u-=2)d+=s.charAt(u).charCodeAt(0)-"0".charCodeAt(0);d*=3;for(let u=l-1;u>=0;u-=2)d+=s.charAt(u).charCodeAt(0)-"0".charCodeAt(0);return d*=3,d%10}determineCheckDigit(s){for(let l=0;l<10;l++)if(s===this.CHECK_DIGIT_ENCODINGS[l])return l;throw new ve}static parseExtensionString(s){if(5!==s.length)return null;let l=hn.parseExtension5String(s);return null==l?null:new Map([[zt.SUGGESTED_PRICE,l]])}static parseExtension5String(s){let l;switch(s.charAt(0)){case"0":l="\xa3";break;case"5":l="$";break;case"9":switch(s){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}l="";break;default:l=""}let d=parseInt(s.substring(1)),m=d%100;return l+(d/100).toString()+"."+(m<10?"0"+m:m.toString())}}class En{constructor(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}decodeRow(s,l,d){let u=this.decodeRowStringBuffer,m=this.decodeMiddle(l,d,u),p=u.toString(),v=En.parseExtensionString(p),M=[new yt((d[0]+d[1])/2,s),new yt(m,s)],H=new He(p,null,0,M,nt.UPC_EAN_EXTENSION,(new Date).getTime());return null!=v&&H.putAllMetadata(v),H}decodeMiddle(s,l,d){let u=this.decodeMiddleCounters;u[0]=0,u[1]=0,u[2]=0,u[3]=0;let m=s.getSize(),p=l[1],v=0;for(let M=0;M<2&&p=10&&(v|=1<<1-M),1!==M&&(p=s.getNextSet(p),p=s.getNextUnset(p))}if(2!==d.length)throw new ve;if(parseInt(d.toString())%4!==v)throw new ve;return p}static parseExtensionString(s){return 2!==s.length?null:new Map([[zt.ISSUE_NUMBER,parseInt(s)]])}}class Zn{static decodeRow(s,l,d){let u=We.findGuardPattern(l,d,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new hn).decodeRow(s,l,u)}catch{return(new En).decodeRow(s,l,u)}}}Zn.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]);class Et extends We{constructor(){super(),this.decodeRowStringBuffer="",Et.L_AND_G_PATTERNS=Et.L_PATTERNS.map(s=>Int32Array.from(s));for(let s=10;s<20;s++){let l=Et.L_PATTERNS[s-10],d=new Int32Array(l.length);for(let u=0;u=l.getSize()||!l.isRange($,ue,!1))throw new ve;let _e=M.toString();if(_e.length<8)throw new ee;if(!Et.checkChecksum(_e))throw new Q;let xe=(u[1]+u[0])/2,Le=(H[1]+H[0])/2,je=this.getBarcodeFormat(),Ye=[new yt(xe,s),new yt(Le,s)],Xe=new He(_e,null,0,Ye,je,(new Date).getTime()),kt=0;try{let lt=Zn.decodeRow(s,l,H[1]);Xe.putMetadata(zt.UPC_EAN_EXTENSION,lt.getText()),Xe.putAllMetadata(lt.getResultMetadata()),Xe.addResultPoints(lt.getResultPoints()),kt=lt.getText().length}catch{}let Ut=null==d?null:d.get(le.ALLOWED_EAN_EXTENSIONS);if(null!=Ut){let lt=!1;for(let Ai in Ut)if(kt.toString()===Ai){lt=!0;break}if(!lt)throw new ve}return Xe}decodeEnd(s,l){return Et.findGuardPattern(s,l,!1,Et.START_END_PATTERN,new Int32Array(Et.START_END_PATTERN.length).fill(0))}static checkChecksum(s){return Et.checkStandardUPCEANChecksum(s)}static checkStandardUPCEANChecksum(s){let l=s.length;if(0===l)return!1;let d=parseInt(s.charAt(l-1),10);return Et.getStandardUPCEANChecksum(s.substring(0,l-1))===d}static getStandardUPCEANChecksum(s){let l=s.length,d=0;for(let u=l-1;u>=0;u-=2){let m=s.charAt(u).charCodeAt(0)-"0".charCodeAt(0);if(m<0||m>9)throw new ee;d+=m}d*=3;for(let u=l-2;u>=0;u-=2){let m=s.charAt(u).charCodeAt(0)-"0".charCodeAt(0);if(m<0||m>9)throw new ee;d+=m}return(1e3-d)%10}}let ma=(()=>{class Y extends Et{constructor(){super(),this.decodeMiddleCounters=Int32Array.from([0,0,0,0])}decodeMiddle(l,d,u){let m=this.decodeMiddleCounters;m[0]=0,m[1]=0,m[2]=0,m[3]=0;let p=l.getSize(),v=d[1],M=0;for(let $=0;$<6&&v=10&&(M|=1<<5-$)}u=Y.determineFirstDigit(u,M),v=Et.findGuardPattern(l,v,!0,Et.MIDDLE_PATTERN,new Int32Array(Et.MIDDLE_PATTERN.length).fill(0))[1];for(let $=0;$<6&&vH);u[0]=0,u[1]=0,u[2]=0,u[3]=0;const m=s.getSize();let p=l[1],v=0;for(let H=0;H<6&&p=10&&(v|=1<<5-H)}return{rowOffset:p,resultString:Fr.determineNumSysAndCheckDigit(d,v)}}decodeEnd(s,l){return Fr.findGuardPatternWithoutCounters(s,l,!0,Fr.MIDDLE_END_PATTERN)}checkChecksum(s){return Et.checkChecksum(Fr.convertUPCEtoUPCA(s))}static determineNumSysAndCheckDigit(s,l){for(let d=0;d<=1;d++)for(let u=0;u<10;u++)if(l===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[d][u])return String.fromCharCode("0".charCodeAt(0)+d)+s+String.fromCharCode("0".charCodeAt(0)+u);throw ve.getNotFoundInstance()}getBarcodeFormat(){return nt.UPC_E}static convertUPCEtoUPCA(s){const l=s.slice(1,7).split("").map(m=>m.charCodeAt(0)),d=new me;d.append(s.charAt(0));let u=l[5];switch(u){case 0:case 1:case 2:d.appendChars(l,0,2),d.append(u),d.append("0000"),d.appendChars(l,2,3);break;case 3:d.appendChars(l,0,3),d.append("00000"),d.appendChars(l,3,2);break;case 4:d.appendChars(l,0,4),d.append("00000"),d.append(l[4]);break;default:d.appendChars(l,0,5),d.append("0000"),d.append(u)}return s.length>=8&&d.append(s.charAt(7)),d.toString()}}Fr.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),Fr.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,26])];class ho extends cr{constructor(s){super();let l=null==s?null:s.get(le.POSSIBLE_FORMATS),d=[];E(l)?(d.push(new ma),d.push(new Pr),d.push(new Aa),d.push(new Fr)):(l.indexOf(nt.EAN_13)>-1&&d.push(new ma),l.indexOf(nt.UPC_A)>-1&&d.push(new Pr),l.indexOf(nt.EAN_8)>-1&&d.push(new Aa),l.indexOf(nt.UPC_E)>-1&&d.push(new Fr)),this.readers=d}decodeRow(s,l,d){for(let u of this.readers)try{const m=u.decodeRow(s,l,d),p=m.getBarcodeFormat()===nt.EAN_13&&"0"===m.getText().charAt(0),v=null==d?null:d.get(le.POSSIBLE_FORMATS),M=null==v||v.includes(nt.UPC_A);if(p&&M){const H=m.getRawBytes(),$=new He(m.getText().substring(1),H,H?H.length:null,m.getResultPoints(),nt.UPC_A);return $.putAllMetadata(m.getResultMetadata()),$}return m}catch{}throw new ve}reset(){for(let s of this.readers)s.reset()}}let Kr=(()=>{class Y extends cr{constructor(){super(),this.decodeFinderCounters=new Int32Array(4),this.dataCharacterCounters=new Int32Array(8),this.oddRoundingErrors=new Array(4),this.evenRoundingErrors=new Array(4),this.oddCounts=new Array(this.dataCharacterCounters.length/2),this.evenCounts=new Array(this.dataCharacterCounters.length/2)}getDecodeFinderCounters(){return this.decodeFinderCounters}getDataCharacterCounters(){return this.dataCharacterCounters}getOddRoundingErrors(){return this.oddRoundingErrors}getEvenRoundingErrors(){return this.evenRoundingErrors}getOddCounts(){return this.oddCounts}getEvenCounts(){return this.evenCounts}parseFinderValue(l,d){for(let u=0;um&&(m=d[p],u=p);l[u]++}static decrement(l,d){let u=0,m=d[0];for(let p=1;p=Y.MIN_FINDER_PATTERN_RATIO&&m<=Y.MAX_FINDER_PATTERN_RATIO){let p=Number.MAX_SAFE_INTEGER,v=Number.MIN_SAFE_INTEGER;for(let M of l)M>v&&(v=M),M=v-M-1&&($-=ia.combins(u-H-(v-M),v-M-2)),v-M-1>1){let ue=0;for(let _e=u-H-(v-M-2);_e>l;_e--)ue+=ia.combins(u-H-_e-1,v-M-3);$-=ue*(v-1-M)}else u-H>l&&$--;m+=$}u-=H}return m}static combins(s,l){let d,u;s-l>l?(u=l,d=s-l):(u=s-l,d=l);let m=1,p=1;for(let v=s;v>d;v--)m*=v,p<=u&&(m/=p,p++);for(;p<=u;)m/=p,p++;return m}}class oa{static buildBitArray(s){let l=2*s.length-1;null==s[s.length-1].getRightChar()&&(l-=1);let u=new z(12*l),m=0,v=s[0].getRightChar().getValue();for(let M=11;M>=0;--M)v&1<=0;--ue)$&1<=0;--_e)ue&1<<_e&&u.set(m),m++}}return u}}class dn{constructor(s,l){l?this.decodedInformation=null:(this.finished=s,this.decodedInformation=l)}getDecodedInformation(){return this.decodedInformation}isFinished(){return this.finished}}class Ta{constructor(s){this.newPosition=s}getNewPosition(){return this.newPosition}}let Vt=(()=>{class Y extends Ta{constructor(l,d){super(l),this.value=d}getValue(){return this.value}isFNC1(){return this.value===Y.FNC1}}return Y.FNC1="$",Y})();class ya extends Ta{constructor(s,l,d){super(s),d?(this.remaining=!0,this.remainingValue=this.remainingValue):(this.remaining=!1,this.remainingValue=0),this.newString=l}getNewString(){return this.newString}isRemaining(){return this.remaining}getRemainingValue(){return this.remainingValue}}let Ia=(()=>{class Y extends Ta{constructor(l,d,u){if(super(l),d<0||d>10||u<0||u>10)throw new ee;this.firstDigit=d,this.secondDigit=u}getFirstDigit(){return this.firstDigit}getSecondDigit(){return this.secondDigit}getValue(){return 10*this.firstDigit+this.secondDigit}isFirstDigitFNC1(){return this.firstDigit===Y.FNC1}isSecondDigitFNC1(){return this.secondDigit===Y.FNC1}isAnyFNC1(){return this.firstDigit===Y.FNC1||this.secondDigit===Y.FNC1}}return Y.FNC1=10,Y})();class Yt{constructor(){}static parseFieldsInGeneralPurpose(s){if(!s)return null;if(s.length<2)throw new ve;let l=s.substring(0,2);for(let m of Yt.TWO_DIGIT_DATA_LENGTH)if(m[0]===l)return m[1]===Yt.VARIABLE_LENGTH?Yt.processVariableAI(2,m[2],s):Yt.processFixedAI(2,m[1],s);if(s.length<3)throw new ve;let d=s.substring(0,3);for(let m of Yt.THREE_DIGIT_DATA_LENGTH)if(m[0]===d)return m[1]===Yt.VARIABLE_LENGTH?Yt.processVariableAI(3,m[2],s):Yt.processFixedAI(3,m[1],s);for(let m of Yt.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH)if(m[0]===d)return m[1]===Yt.VARIABLE_LENGTH?Yt.processVariableAI(4,m[2],s):Yt.processFixedAI(4,m[1],s);if(s.length<4)throw new ve;let u=s.substring(0,4);for(let m of Yt.FOUR_DIGIT_DATA_LENGTH)if(m[0]===u)return m[1]===Yt.VARIABLE_LENGTH?Yt.processVariableAI(4,m[2],s):Yt.processFixedAI(4,m[1],s);throw new ve}static processFixedAI(s,l,d){if(d.lengththis.information.getSize())return s+4<=this.information.getSize();for(let l=s;lthis.information.getSize()){let m=this.extractNumericValueFromBitArray(s,4);return new Ia(this.information.getSize(),0===m?Ia.FNC1:m-1,Ia.FNC1)}let l=this.extractNumericValueFromBitArray(s,7);return new Ia(s+7,(l-8)/11,(l-8)%11)}extractNumericValueFromBitArray(s,l){return mo.extractNumericValueFromBitArray(this.information,s,l)}static extractNumericValueFromBitArray(s,l,d){let u=0;for(let m=0;mthis.information.getSize())return!1;let l=this.extractNumericValueFromBitArray(s,5);if(l>=5&&l<16)return!0;if(s+7>this.information.getSize())return!1;let d=this.extractNumericValueFromBitArray(s,7);if(d>=64&&d<116)return!0;if(s+8>this.information.getSize())return!1;let u=this.extractNumericValueFromBitArray(s,8);return u>=232&&u<253}decodeIsoIec646(s){let l=this.extractNumericValueFromBitArray(s,5);if(15===l)return new Vt(s+5,Vt.FNC1);if(l>=5&&l<15)return new Vt(s+5,"0"+(l-5));let m,d=this.extractNumericValueFromBitArray(s,7);if(d>=64&&d<90)return new Vt(s+7,""+(d+1));if(d>=90&&d<116)return new Vt(s+7,""+(d+7));switch(this.extractNumericValueFromBitArray(s,8)){case 232:m="!";break;case 233:m='"';break;case 234:m="%";break;case 235:m="&";break;case 236:m="'";break;case 237:m="(";break;case 238:m=")";break;case 239:m="*";break;case 240:m="+";break;case 241:m=",";break;case 242:m="-";break;case 243:m=".";break;case 244:m="/";break;case 245:m=":";break;case 246:m=";";break;case 247:m="<";break;case 248:m="=";break;case 249:m=">";break;case 250:m="?";break;case 251:m="_";break;case 252:m=" ";break;default:throw new ee}return new Vt(s+8,m)}isStillAlpha(s){if(s+5>this.information.getSize())return!1;let l=this.extractNumericValueFromBitArray(s,5);if(l>=5&&l<16)return!0;if(s+6>this.information.getSize())return!1;let d=this.extractNumericValueFromBitArray(s,6);return d>=16&&d<63}decodeAlphanumeric(s){let l=this.extractNumericValueFromBitArray(s,5);if(15===l)return new Vt(s+5,Vt.FNC1);if(l>=5&&l<15)return new Vt(s+5,"0"+(l-5));let u,d=this.extractNumericValueFromBitArray(s,6);if(d>=32&&d<58)return new Vt(s+6,""+(d+33));switch(d){case 58:u="*";break;case 59:u=",";break;case 60:u="-";break;case 61:u=".";break;case 62:u="/";break;default:throw new jt("Decoding invalid alphanumeric value: "+d)}return new Vt(s+6,u)}isAlphaTo646ToAlphaLatch(s){if(s+1>this.information.getSize())return!1;for(let l=0;l<5&&l+sthis.information.getSize())return!1;for(let l=s;lthis.information.getSize())return!1;for(let l=0;l<4&&l+s{class Y extends vn{constructor(l){super(l)}encodeCompressedGtin(l,d){l.append("(01)");let u=l.length();l.append("9"),this.encodeCompressedGtinWithoutAI(l,d,u)}encodeCompressedGtinWithoutAI(l,d,u){for(let m=0;m<4;++m){let p=this.getGeneralDecoder().extractNumericValueFromBitArray(d+10*m,10);p/100==0&&l.append("0"),p/10==0&&l.append("0"),l.append(p)}Y.appendCheckDigit(l,u)}static appendCheckDigit(l,d){let u=0;for(let m=0;m<13;m++){let p=l.charAt(m+d).charCodeAt(0)-"0".charCodeAt(0);u+=1&m?p:3*p}u=10-u%10,10===u&&(u=0),l.append(u)}}return Y.GTIN_SIZE=40,Y})(),ls=(()=>{class Y extends Xn{constructor(l){super(l)}parseInformation(){let l=new me;l.append("(01)");let d=l.length(),u=this.getGeneralDecoder().extractNumericValueFromBitArray(Y.HEADER_SIZE,4);return l.append(u),this.encodeCompressedGtinWithoutAI(l,Y.HEADER_SIZE+4,d),this.getGeneralDecoder().decodeAllCodes(l,Y.HEADER_SIZE+44)}}return Y.HEADER_SIZE=4,Y})(),_i=(()=>{class Y extends vn{constructor(l){super(l)}parseInformation(){let l=new me;return this.getGeneralDecoder().decodeAllCodes(l,Y.HEADER_SIZE)}}return Y.HEADER_SIZE=5,Y})();class _r extends Xn{constructor(s){super(s)}encodeCompressedWeight(s,l,d){let u=this.getGeneralDecoder().extractNumericValueFromBitArray(l,d);this.addWeightCode(s,u);let m=this.checkWeight(u),p=1e5;for(let v=0;v<5;++v)m/p==0&&s.append("0"),p/=10;s.append(m)}}let an=(()=>{class Y extends _r{constructor(l){super(l)}parseInformation(){if(this.getInformation().getSize()!=Y.HEADER_SIZE+_r.GTIN_SIZE+Y.WEIGHT_SIZE)throw new ve;let l=new me;return this.encodeCompressedGtin(l,Y.HEADER_SIZE),this.encodeCompressedWeight(l,Y.HEADER_SIZE+_r.GTIN_SIZE,Y.WEIGHT_SIZE),l.toString()}}return Y.HEADER_SIZE=5,Y.WEIGHT_SIZE=15,Y})();class mn extends an{constructor(s){super(s)}addWeightCode(s,l){s.append("(3103)")}checkWeight(s){return s}}class Br extends an{constructor(s){super(s)}addWeightCode(s,l){s.append(l<1e4?"(3202)":"(3203)")}checkWeight(s){return s<1e4?s:s-1e4}}let Qr=(()=>{class Y extends Xn{constructor(l){super(l)}parseInformation(){if(this.getInformation().getSize(){class Y extends Xn{constructor(l){super(l)}parseInformation(){if(this.getInformation().getSize(){class Y extends _r{constructor(l,d,u){super(l),this.dateCode=u,this.firstAIdigits=d}parseInformation(){if(this.getInformation().getSize()!=Y.HEADER_SIZE+Y.GTIN_SIZE+Y.WEIGHT_SIZE+Y.DATE_SIZE)throw new ve;let l=new me;return this.encodeCompressedGtin(l,Y.HEADER_SIZE),this.encodeCompressedWeight(l,Y.HEADER_SIZE+Y.GTIN_SIZE,Y.WEIGHT_SIZE),this.encodeCompressedDate(l,Y.HEADER_SIZE+Y.GTIN_SIZE+Y.WEIGHT_SIZE),l.toString()}encodeCompressedDate(l,d){let u=this.getGeneralDecoder().extractNumericValueFromBitArray(d,Y.DATE_SIZE);if(38400==u)return;l.append("("),l.append(this.dateCode),l.append(")");let m=u%32;u/=32;let p=u%12+1;u/=12;let v=u;v/10==0&&l.append("0"),l.append(v),p/10==0&&l.append("0"),l.append(p),m/10==0&&l.append("0"),l.append(m)}addWeightCode(l,d){l.append("("),l.append(this.firstAIdigits),l.append(d/1e5),l.append(")")}checkWeight(l){return l%1e5}}return Y.HEADER_SIZE=8,Y.WEIGHT_SIZE=20,Y.DATE_SIZE=16,Y})();function fo(Y){try{if(Y.get(1))return new ls(Y);if(!Y.get(2))return new _i(Y);switch(mo.extractNumericValueFromBitArray(Y,1,4)){case 4:return new mn(Y);case 5:return new Br(Y)}switch(mo.extractNumericValueFromBitArray(Y,1,5)){case 12:return new Qr(Y);case 13:return new na(Y)}switch(mo.extractNumericValueFromBitArray(Y,1,7)){case 56:return new Qa(Y,"310","11");case 57:return new Qa(Y,"320","11");case 58:return new Qa(Y,"310","13");case 59:return new Qa(Y,"320","13");case 60:return new Qa(Y,"310","15");case 61:return new Qa(Y,"320","15");case 62:return new Qa(Y,"310","17");case 63:return new Qa(Y,"320","17")}}catch(s){throw console.log(s),new jt("unknown decoder: "+Y)}}class Za{constructor(s,l,d,u){this.leftchar=s,this.rightchar=l,this.finderpattern=d,this.maybeLast=u}mayBeLast(){return this.maybeLast}getLeftChar(){return this.leftchar}getRightChar(){return this.rightchar}getFinderPattern(){return this.finderpattern}mustBeLast(){return null==this.rightchar}toString(){return"[ "+this.leftchar+", "+this.rightchar+" : "+(null==this.finderpattern?"null":this.finderpattern.getValue())+" ]"}static equals(s,l){return s instanceof Za&&Za.equalsOrNull(s.leftchar,l.leftchar)&&Za.equalsOrNull(s.rightchar,l.rightchar)&&Za.equalsOrNull(s.finderpattern,l.finderpattern)}static equalsOrNull(s,l){return null===s?null===l:Za.equals(s,l)}hashCode(){return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()}}class dr{constructor(s,l,d){this.pairs=s,this.rowNumber=l,this.wasReversed=d}getPairs(){return this.pairs}getRowNumber(){return this.rowNumber}isReversed(){return this.wasReversed}isEquivalent(s){return this.checkEqualitity(this,s)}toString(){return"{ "+this.pairs+" }"}equals(s,l){return s instanceof dr&&this.checkEqualitity(s,l)&&s.wasReversed===l.wasReversed}checkEqualitity(s,l){if(!s||!l)return;let d;return s.forEach((u,m)=>{l.forEach(p=>{u.getLeftChar().getValue()===p.getLeftChar().getValue()&&u.getRightChar().getValue()===p.getRightChar().getValue()&&u.getFinderPatter().getValue()===p.getFinderPatter().getValue()&&(d=!0)})}),d}}class pt extends Kr{constructor(s){super(...arguments),this.pairs=new Array(pt.MAX_PAIRS),this.rows=new Array,this.startEnd=[2],this.verbose=!0===s}decodeRow(s,l,d){this.pairs.length=0,this.startFromEven=!1;try{return pt.constructResult(this.decodeRow2pairs(s,l))}catch(u){this.verbose&&console.log(u)}return this.pairs.length=0,this.startFromEven=!0,pt.constructResult(this.decodeRow2pairs(s,l))}reset(){this.pairs.length=0,this.rows.length=0}decodeRow2pairs(s,l){let u,d=!1;for(;!d;)try{this.pairs.push(this.retrieveNextPair(l,this.pairs,s))}catch(m){if(m instanceof ve){if(!this.pairs.length)throw new ve;d=!0}}if(this.checkChecksum())return this.pairs;if(u=!!this.rows.length,this.storeRow(s,!1),u){let m=this.checkRowsBoolean(!1);if(null!=m||(m=this.checkRowsBoolean(!0),null!=m))return m}throw new ve}checkRowsBoolean(s){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,s&&(this.rows=this.rows.reverse());let l=null;try{l=this.checkRows(new Array,0)}catch(d){this.verbose&&console.log(d)}return s&&(this.rows=this.rows.reverse()),l}checkRows(s,l){for(let d=l;dl.length)continue;let d=!0;for(let u=0;us){m=p.isEquivalent(this.pairs);break}u=p.isEquivalent(this.pairs),d++}m||u||pt.isPartialRow(this.pairs,this.rows)||(this.rows.push(d,new dr(this.pairs,s,l)),this.removePartialRows(this.pairs,this.rows))}removePartialRows(s,l){for(let d of l)if(d.getPairs().length!==s.length)for(let u of d.getPairs())for(let m of s)if(Za.equals(u,m))break}static isPartialRow(s,l){for(let d of l){let u=!0;for(let m of s){let p=!1;for(let v of d.getPairs())if(m.equals(v)){p=!0;break}if(!p){u=!1;break}}if(u)return!0}return!1}getRows(){return this.rows}static constructResult(s){let u=fo(oa.buildBitArray(s)).parseInformation(),m=s[0].getFinderPattern().getResultPoints(),p=s[s.length-1].getFinderPattern().getResultPoints();return new He(u,null,null,[m[0],m[1],p[0],p[1]],nt.RSS_EXPANDED,null)}checkChecksum(){let s=this.pairs.get(0),l=s.getLeftChar(),d=s.getRightChar();if(null==d)return!1;let u=d.getChecksumPortion(),m=2;for(let v=1;v=0?d:this.isEmptyPair(l)?0:l[l.length-1].getFinderPattern().getStartEnd()[1];let v=l.length%2!=0;this.startFromEven&&(v=!v);let M=!1;for(;p=0&&!s.get(H);)H--;H++,u=this.startEnd[0]-H,m=H,p=this.startEnd[1]}else m=this.startEnd[0],p=s.getNextUnset(this.startEnd[1]+1),u=p-this.startEnd[1];let M,v=this.getDecodeFinderCounters();V.arraycopy(v,0,v,1,v.length-1),v[0]=u;try{M=this.parseFinderValue(v,pt.FINDER_PATTERNS)}catch{return null}return new ss(M,[m,p],m,p,l)}decodeDataCharacter(s,l,d,u){let m=this.getDataCharacterCounters();for(let ar=0;ar.3)throw new ve;let H=this.getOddCounts(),$=this.getEvenCounts(),ue=this.getOddRoundingErrors(),_e=this.getEvenRoundingErrors();for(let ar=0;ar8){if(sn>8.7)throw new ve;Yo=8}let nl=ar/2;1&ar?($[nl]=Yo,_e[nl]=sn-Yo):(H[nl]=Yo,ue[nl]=sn-Yo)}this.adjustOddEvenCounts(17);let xe=4*l.getValue()+(d?0:2)+(u?0:1)-1,Le=0,je=0;for(let ar=H.length-1;ar>=0;ar--)pt.isNotA1left(l,d,u)&&(je+=H[ar]*pt.WEIGHTS[xe][2*ar]),Le+=H[ar];let Ye=0;for(let ar=$.length-1;ar>=0;ar--)pt.isNotA1left(l,d,u)&&(Ye+=$[ar]*pt.WEIGHTS[xe][2*ar+1]);let Xe=je+Ye;if(1&Le||Le>13||Le<4)throw new ve;let kt=(13-Le)/2,Ut=pt.SYMBOL_WIDEST[kt],lt=9-Ut,Ai=ia.getRSSvalue(H,Ut,!0),yi=ia.getRSSvalue($,lt,!1);return new Ar(Ai*pt.EVEN_TOTAL_SUBSET[kt]+yi+pt.GSUM[kt],Xe)}static isNotA1left(s,l,d){return!(0==s.getValue()&&l&&d)}adjustOddEvenCounts(s){let l=Gt.sum(new Int32Array(this.getOddCounts())),d=Gt.sum(new Int32Array(this.getEvenCounts())),u=!1,m=!1;l>13?m=!0:l<4&&(u=!0);let p=!1,v=!1;d>13?v=!0:d<4&&(p=!0);let M=l+d-s,H=1==(1&l),$=0==(1&d);if(1==M)if(H){if($)throw new ve;m=!0}else{if(!$)throw new ve;v=!0}else if(-1==M)if(H){if($)throw new ve;u=!0}else{if(!$)throw new ve;p=!0}else{if(0!=M)throw new ve;if(H){if(!$)throw new ve;l1)for(let v of this.possibleRightPairs)if(v.getCount()>1&&ur.checkChecksum(p,v))return ur.constructResult(p,v);throw new ve}static addOrTally(s,l){if(null==l)return;let d=!1;for(let u of s)if(u.getValue()===l.getValue()){u.incrementCount(),d=!0;break}d||s.push(l)}reset(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0}static constructResult(s,l){let d=4537077*s.getValue()+l.getValue(),u=new String(d).toString(),m=new me;for(let H=13-u.length;H>0;H--)m.append("0");m.append(u);let p=0;for(let H=0;H<13;H++){let $=m.charAt(H).charCodeAt(0)-"0".charCodeAt(0);p+=1&H?$:3*$}p=10-p%10,10===p&&(p=0),m.append(p.toString());let v=s.getFinderPattern().getResultPoints(),M=l.getFinderPattern().getResultPoints();return new He(m.toString(),null,0,[v[0],v[1],M[0],M[1]],nt.RSS_14,(new Date).getTime())}static checkChecksum(s,l){let d=(s.getChecksumPortion()+16*l.getChecksumPortion())%79,u=9*s.getFinderPattern().getValue()+l.getFinderPattern().getValue();return u>72&&u--,u>8&&u--,d===u}decodePair(s,l,d,u){try{let m=this.findFinderPattern(s,l),p=this.parseFoundFinderPattern(s,d,l,m),v=null==u?null:u.get(le.NEED_RESULT_POINT_CALLBACK);if(null!=v){let $=(m[0]+m[1])/2;l&&($=s.getSize()-1-$),v.foundPossibleResultPoint(new yt($,d))}let M=this.decodeDataCharacter(s,p,!0),H=this.decodeDataCharacter(s,p,!1);return new El(1597*M.getValue()+H.getValue(),M.getChecksumPortion()+4*H.getChecksumPortion(),p)}catch{return null}}decodeDataCharacter(s,l,d){let u=this.getDataCharacterCounters();for(let Ye=0;Ye8&&(kt=8);let Ut=Math.floor(Ye/2);1&Ye?(M[Ut]=kt,$[Ut]=Xe-kt):(v[Ut]=kt,H[Ut]=Xe-kt)}this.adjustOddEvenCounts(d,m);let ue=0,_e=0;for(let Ye=v.length-1;Ye>=0;Ye--)_e*=9,_e+=v[Ye],ue+=v[Ye];let xe=0,Le=0;for(let Ye=M.length-1;Ye>=0;Ye--)xe*=9,xe+=M[Ye],Le+=M[Ye];let je=_e+3*xe;if(d){if(1&ue||ue>12||ue<4)throw new ve;let Ye=(12-ue)/2,Xe=ur.OUTSIDE_ODD_WIDEST[Ye],kt=9-Xe,Ut=ia.getRSSvalue(v,Xe,!1),lt=ia.getRSSvalue(M,kt,!0);return new Ar(Ut*ur.OUTSIDE_EVEN_TOTAL_SUBSET[Ye]+lt+ur.OUTSIDE_GSUM[Ye],je)}{if(1&Le||Le>10||Le<4)throw new ve;let Ye=(10-Le)/2,Xe=ur.INSIDE_ODD_WIDEST[Ye],kt=9-Xe,Ut=ia.getRSSvalue(v,Xe,!0),lt=ia.getRSSvalue(M,kt,!1);return new Ar(lt*ur.INSIDE_ODD_TOTAL_SUBSET[Ye]+Ut+ur.INSIDE_GSUM[Ye],je)}}findFinderPattern(s,l){let d=this.getDecodeFinderCounters();d[0]=0,d[1]=0,d[2]=0,d[3]=0;let u=s.getSize(),m=!1,p=0;for(;p=0&&m!==s.get(p);)p--;p++;const v=u[0]-p,M=this.getDecodeFinderCounters(),H=new Int32Array(M.length);V.arraycopy(M,0,H,1,M.length-1),H[0]=v;const $=this.parseFinderValue(H,ur.FINDER_PATTERNS);let ue=p,_e=u[1];return d&&(ue=s.getSize()-1-ue,_e=s.getSize()-1-_e),new ss($,[p,u[1]],ue,_e,l)}adjustOddEvenCounts(s,l){let d=Gt.sum(new Int32Array(this.getOddCounts())),u=Gt.sum(new Int32Array(this.getEvenCounts())),m=!1,p=!1,v=!1,M=!1;s?(d>12?p=!0:d<4&&(m=!0),u>12?M=!0:u<4&&(v=!0)):(d>11?p=!0:d<5&&(m=!0),u>10?M=!0:u<4&&(v=!0));let H=d+u-l,$=(1&d)==(s?1:0),ue=1==(1&u);if(1===H)if($){if(ue)throw new ve;p=!0}else{if(!ue)throw new ve;M=!0}else if(-1===H)if($){if(ue)throw new ve;m=!0}else{if(!ue)throw new ve;v=!0}else{if(0!==H)throw new ve;if($){if(!ue)throw new ve;ds.reset())}}class on{constructor(s,l,d){this.ecCodewords=s,this.ecBlocks=[l],d&&this.ecBlocks.push(d)}getECCodewords(){return this.ecCodewords}getECBlocks(){return this.ecBlocks}}class On{constructor(s,l){this.count=s,this.dataCodewords=l}getCount(){return this.count}getDataCodewords(){return this.dataCodewords}}class nn{constructor(s,l,d,u,m,p){this.versionNumber=s,this.symbolSizeRows=l,this.symbolSizeColumns=d,this.dataRegionSizeRows=u,this.dataRegionSizeColumns=m,this.ecBlocks=p;let v=0;const M=p.getECCodewords(),H=p.getECBlocks();for(let $ of H)v+=$.getCount()*($.getDataCodewords()+M);this.totalCodewords=v}getVersionNumber(){return this.versionNumber}getSymbolSizeRows(){return this.symbolSizeRows}getSymbolSizeColumns(){return this.symbolSizeColumns}getDataRegionSizeRows(){return this.dataRegionSizeRows}getDataRegionSizeColumns(){return this.dataRegionSizeColumns}getTotalCodewords(){return this.totalCodewords}getECBlocks(){return this.ecBlocks}static getVersionForDimensions(s,l){if(1&s||1&l)throw new ee;for(let d of nn.VERSIONS)if(d.symbolSizeRows===s&&d.symbolSizeColumns===l)return d;throw new ee}toString(){return""+this.versionNumber}static buildVersions(){return[new nn(1,10,10,8,8,new on(5,new On(1,3))),new nn(2,12,12,10,10,new on(7,new On(1,5))),new nn(3,14,14,12,12,new on(10,new On(1,8))),new nn(4,16,16,14,14,new on(12,new On(1,12))),new nn(5,18,18,16,16,new on(14,new On(1,18))),new nn(6,20,20,18,18,new on(18,new On(1,22))),new nn(7,22,22,20,20,new on(20,new On(1,30))),new nn(8,24,24,22,22,new on(24,new On(1,36))),new nn(9,26,26,24,24,new on(28,new On(1,44))),new nn(10,32,32,14,14,new on(36,new On(1,62))),new nn(11,36,36,16,16,new on(42,new On(1,86))),new nn(12,40,40,18,18,new on(48,new On(1,114))),new nn(13,44,44,20,20,new on(56,new On(1,144))),new nn(14,48,48,22,22,new on(68,new On(1,174))),new nn(15,52,52,24,24,new on(42,new On(2,102))),new nn(16,64,64,14,14,new on(56,new On(2,140))),new nn(17,72,72,16,16,new on(36,new On(4,92))),new nn(18,80,80,18,18,new on(48,new On(4,114))),new nn(19,88,88,20,20,new on(56,new On(4,144))),new nn(20,96,96,22,22,new on(68,new On(4,174))),new nn(21,104,104,24,24,new on(56,new On(6,136))),new nn(22,120,120,18,18,new on(68,new On(6,175))),new nn(23,132,132,20,20,new on(62,new On(8,163))),new nn(24,144,144,22,22,new on(62,new On(8,156),new On(2,155))),new nn(25,8,18,6,16,new on(7,new On(1,5))),new nn(26,8,32,6,14,new on(11,new On(1,10))),new nn(27,12,26,10,24,new on(14,new On(1,16))),new nn(28,12,36,10,16,new on(18,new On(1,22))),new nn(29,16,36,14,16,new on(24,new On(1,32))),new nn(30,16,48,14,22,new on(28,new On(1,49)))]}}nn.VERSIONS=nn.buildVersions();class Jn{constructor(s){const l=s.getHeight();if(l<8||l>144||1&l)throw new ee;this.version=Jn.readVersion(s),this.mappingBitMatrix=this.extractDataRegion(s),this.readMappingMatrix=new ge(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}getVersion(){return this.version}static readVersion(s){const l=s.getHeight(),d=s.getWidth();return nn.getVersionForDimensions(l,d)}readCodewords(){const s=new Int8Array(this.version.getTotalCodewords());let l=0,d=4,u=0;const m=this.mappingBitMatrix.getHeight(),p=this.mappingBitMatrix.getWidth();let v=!1,M=!1,H=!1,$=!1;do{if(d!==m||0!==u||v)if(d===m-2&&0===u&&3&p&&!M)s[l++]=255&this.readCorner2(m,p),d-=2,u+=2,M=!0;else if(d!==m+4||2!==u||7&p||H)if(d!==m-2||0!==u||4!=(7&p)||$){do{d=0&&!this.readMappingMatrix.get(u,d)&&(s[l++]=255&this.readUtah(d,u,m,p)),d-=2,u+=2}while(d>=0&&u=0&&u=0);d+=3,u+=1}else s[l++]=255&this.readCorner4(m,p),d-=2,u+=2,$=!0;else s[l++]=255&this.readCorner3(m,p),d-=2,u+=2,H=!0;else s[l++]=255&this.readCorner1(m,p),d-=2,u+=2,v=!0}while(d7?je-1:je]=s[ue++]}if(ue!==s.length)throw new O;return p}getNumDataCodewords(){return this.numDataCodewords}getCodewords(){return this.codewords}}class Xa{constructor(s){this.bytes=s,this.byteOffset=0,this.bitOffset=0}getBitOffset(){return this.bitOffset}getByteOffset(){return this.byteOffset}readBits(s){if(s<1||s>32||s>this.available())throw new O(""+s);let l=0,d=this.bitOffset,u=this.byteOffset;const m=this.bytes;if(d>0){const p=8-d,v=s>8-v<>M,s-=v,d+=v,8===d&&(d=0,u++)}if(s>0){for(;s>=8;)l=l<<8|255&m[u],u++,s-=8;if(s>0){const p=8-s;l=l<>p<>p,d+=s}}return this.bitOffset=d,this.byteOffset=u,l}available(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset}}var Sn=(()=>{return(Y=Sn||(Sn={}))[Y.PAD_ENCODE=0]="PAD_ENCODE",Y[Y.ASCII_ENCODE=1]="ASCII_ENCODE",Y[Y.C40_ENCODE=2]="C40_ENCODE",Y[Y.TEXT_ENCODE=3]="TEXT_ENCODE",Y[Y.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",Y[Y.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",Y[Y.BASE256_ENCODE=6]="BASE256_ENCODE",Sn;var Y})();class Xi{static decode(s){const l=new Xa(s),d=new me,u=new me,m=new Array;let p=Sn.ASCII_ENCODE;do{if(p===Sn.ASCII_ENCODE)p=this.decodeAsciiSegment(l,d,u);else{switch(p){case Sn.C40_ENCODE:this.decodeC40Segment(l,d);break;case Sn.TEXT_ENCODE:this.decodeTextSegment(l,d);break;case Sn.ANSIX12_ENCODE:this.decodeAnsiX12Segment(l,d);break;case Sn.EDIFACT_ENCODE:this.decodeEdifactSegment(l,d);break;case Sn.BASE256_ENCODE:this.decodeBase256Segment(l,d,m);break;default:throw new ee}p=Sn.ASCII_ENCODE}}while(p!==Sn.PAD_ENCODE&&l.available()>0);return u.length()>0&&d.append(u.toString()),new yn(s,d.toString(),0===m.length?null:m,null)}static decodeAsciiSegment(s,l,d){let u=!1;do{let m=s.readBits(8);if(0===m)throw new ee;if(m<=128)return u&&(m+=128),l.append(String.fromCharCode(m-1)),Sn.ASCII_ENCODE;if(129===m)return Sn.PAD_ENCODE;if(m<=229){const p=m-130;p<10&&l.append("0"),l.append(""+p)}else switch(m){case 230:return Sn.C40_ENCODE;case 231:return Sn.BASE256_ENCODE;case 232:l.append(String.fromCharCode(29));break;case 233:case 234:case 241:break;case 235:u=!0;break;case 236:l.append("[)>\x1e05\x1d"),d.insert(0,"\x1e\x04");break;case 237:l.append("[)>\x1e06\x1d"),d.insert(0,"\x1e\x04");break;case 238:return Sn.ANSIX12_ENCODE;case 239:return Sn.TEXT_ENCODE;case 240:return Sn.EDIFACT_ENCODE;default:if(254!==m||0!==s.available())throw new ee}}while(s.available()>0);return Sn.ASCII_ENCODE}static decodeC40Segment(s,l){let d=!1;const u=[];let m=0;do{if(8===s.available())return;const p=s.readBits(8);if(254===p)return;this.parseTwoBytes(p,s.readBits(8),u);for(let v=0;v<3;v++){const M=u[v];switch(m){case 0:if(M<3)m=M+1;else{if(!(M0)}static decodeTextSegment(s,l){let d=!1,u=[],m=0;do{if(8===s.available())return;const p=s.readBits(8);if(254===p)return;this.parseTwoBytes(p,s.readBits(8),u);for(let v=0;v<3;v++){const M=u[v];switch(m){case 0:if(M<3)m=M+1;else{if(!(M0)}static decodeAnsiX12Segment(s,l){const d=[];do{if(8===s.available())return;const u=s.readBits(8);if(254===u)return;this.parseTwoBytes(u,s.readBits(8),d);for(let m=0;m<3;m++){const p=d[m];switch(p){case 0:l.append("\r");break;case 1:l.append("*");break;case 2:l.append(">");break;case 3:l.append(" ");break;default:if(p<14)l.append(String.fromCharCode(p+44));else{if(!(p<40))throw new ee;l.append(String.fromCharCode(p+51))}}}}while(s.available()>0)}static parseTwoBytes(s,l,d){let u=(s<<8)+l-1,m=Math.floor(u/1600);d[0]=m,u-=1600*m,m=Math.floor(u/40),d[1]=m,d[2]=u-40*m}static decodeEdifactSegment(s,l){do{if(s.available()<=16)return;for(let d=0;d<4;d++){let u=s.readBits(6);if(31===u){const m=8-s.getBitOffset();return void(8!==m&&s.readBits(m))}32&u||(u|=64),l.append(String.fromCharCode(u))}}while(s.available()>0)}static decodeBase256Segment(s,l,d){let u=1+s.getByteOffset();const m=this.unrandomize255State(s.readBits(8),u++);let p;if(p=0===m?s.available()/8|0:m<250?m:250*(m-249)+this.unrandomize255State(s.readBits(8),u++),p<0)throw new ee;const v=new Uint8Array(p);for(let M=0;M=0?u:u+256}}Xi.C40_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Xi.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],Xi.TEXT_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],Xi.TEXT_SHIFT2_SET_CHARS=Xi.C40_SHIFT2_SET_CHARS,Xi.TEXT_SHIFT3_SET_CHARS=["`","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","{","|","}","~",String.fromCharCode(127)];class ac{constructor(){this.rsDecoder=new Ge(vi.DATA_MATRIX_FIELD_256)}decode(s){const l=new Jn(s),d=l.getVersion(),u=l.readCodewords(),m=Rn.getDataBlocks(u,d);let p=0;for(let H of m)p+=H.getNumDataCodewords();const v=new Uint8Array(p),M=m.length;for(let H=0;Hv&&($=v,ue[0]=l,ue[1]=d,ue[2]=u,ue[3]=m),$>M&&($=M,ue[0]=d,ue[1]=u,ue[2]=m,ue[3]=l),$>H&&(ue[0]=u,ue[1]=m,ue[2]=l,ue[3]=d),ue}detectSolid2(s){let l=s[0],d=s[1],u=s[2],m=s[3],p=this.transitionsBetween(l,m),v=Pi.shiftPoint(d,u,4*(p+1)),M=Pi.shiftPoint(u,d,4*(p+1));return this.transitionsBetween(v,l)this.transitionsBetween(M,ue)+this.transitionsBetween(H,ue)?$:ue:$:this.isValid(ue)?ue:null}shiftToModuleCenter(s){let l=s[0],d=s[1],u=s[2],m=s[3],p=this.transitionsBetween(l,m)+1,v=this.transitionsBetween(u,m)+1,M=Pi.shiftPoint(l,d,4*v),H=Pi.shiftPoint(u,d,4*p);p=this.transitionsBetween(M,m)+1,v=this.transitionsBetween(H,m)+1,1==(1&p)&&(p+=1),1==(1&v)&&(v+=1);let _e,xe,$=(l.getX()+d.getX()+u.getX()+m.getX())/4,ue=(l.getY()+d.getY()+u.getY()+m.getY())/4;return l=Pi.moveAway(l,$,ue),d=Pi.moveAway(d,$,ue),u=Pi.moveAway(u,$,ue),m=Pi.moveAway(m,$,ue),M=Pi.shiftPoint(l,d,4*v),M=Pi.shiftPoint(M,m,4*p),_e=Pi.shiftPoint(d,l,4*v),_e=Pi.shiftPoint(_e,u,4*p),H=Pi.shiftPoint(u,m,4*v),H=Pi.shiftPoint(H,d,4*p),xe=Pi.shiftPoint(m,u,4*v),xe=Pi.shiftPoint(xe,l,4*p),[M,_e,H,xe]}isValid(s){return s.getX()>=0&&s.getX()0&&s.getY()Math.abs(m-d);if(v){let je=d;d=u,u=je,je=m,m=p,p=je}let M=Math.abs(m-d),H=Math.abs(p-u),$=-M/2,ue=u0){if(Ye===p)break;Ye+=ue,$-=M}}return xe}}let Yi=(()=>{class Y{constructor(){this.decoder=new ac}decode(l,d=null){let u,m;if(null!=d&&d.has(le.PURE_BARCODE)){const $=Y.extractPureBits(l.getBlackMatrix());u=this.decoder.decode($),m=Y.NO_POINTS}else{const $=new Pi(l.getBlackMatrix()).detect();u=this.decoder.decode($.getBits()),m=$.getPoints()}const p=u.getRawBytes(),v=new He(u.getText(),p,8*p.length,m,nt.DATA_MATRIX,V.currentTimeMillis()),M=u.getByteSegments();null!=M&&v.putMetadata(zt.BYTE_SEGMENTS,M);const H=u.getECLevel();return null!=H&&v.putMetadata(zt.ERROR_CORRECTION_LEVEL,H),v}reset(){}static extractPureBits(l){const d=l.getTopLeftOnBit(),u=l.getBottomRightOnBit();if(null==d||null==u)throw new ve;const m=this.moduleSize(d,l);let p=d[1],M=d[0];const $=(u[0]-M+1)/m,ue=(u[1]-p+1)/m;if($<=0||ue<=0)throw new ve;const _e=m/2;p+=_e,M+=_e;const xe=new ge($,ue);for(let Le=0;Le{return(Y=ci||(ci={}))[Y.L=0]="L",Y[Y.M=1]="M",Y[Y.Q=2]="Q",Y[Y.H=3]="H",ci;var Y})();class Pt{constructor(s,l,d){this.value=s,this.stringValue=l,this.bits=d,Pt.FOR_BITS.set(d,this),Pt.FOR_VALUE.set(s,this)}getValue(){return this.value}getBits(){return this.bits}static fromString(s){switch(s){case"L":return Pt.L;case"M":return Pt.M;case"Q":return Pt.Q;case"H":return Pt.H;default:throw new P(s+"not available")}}toString(){return this.stringValue}equals(s){return s instanceof Pt&&this.value===s.value}static forBits(s){if(s<0||s>=Pt.FOR_BITS.size)throw new O;return Pt.FOR_BITS.get(s)}}Pt.FOR_BITS=new Map,Pt.FOR_VALUE=new Map,Pt.L=new Pt(ci.L,"L",1),Pt.M=new Pt(ci.M,"M",0),Pt.Q=new Pt(ci.Q,"Q",3),Pt.H=new Pt(ci.H,"H",2);class Tr{constructor(s){this.errorCorrectionLevel=Pt.forBits(s>>3&3),this.dataMask=7&s}static numBitsDiffering(s,l){return q.bitCount(s^l)}static decodeFormatInformation(s,l){const d=Tr.doDecodeFormatInformation(s,l);return null!==d?d:Tr.doDecodeFormatInformation(s^Tr.FORMAT_INFO_MASK_QR,l^Tr.FORMAT_INFO_MASK_QR)}static doDecodeFormatInformation(s,l){let d=Number.MAX_SAFE_INTEGER,u=0;for(const m of Tr.FORMAT_INFO_DECODE_LOOKUP){const p=m[0];if(p===s||p===l)return new Tr(m[1]);let v=Tr.numBitsDiffering(s,p);v40)throw new O;return oi.VERSIONS[s-1]}static decodeVersionInformation(s){let l=Number.MAX_SAFE_INTEGER,d=0;for(let u=0;u6&&(l.setRegion(s-11,0,3,6),l.setRegion(0,s-11,6,3)),l}toString(){return""+this.versionNumber}}oi.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),oi.VERSIONS=[new oi(1,new Int32Array(0),new qe(7,new ke(1,19)),new qe(10,new ke(1,16)),new qe(13,new ke(1,13)),new qe(17,new ke(1,9))),new oi(2,Int32Array.from([6,18]),new qe(10,new ke(1,34)),new qe(16,new ke(1,28)),new qe(22,new ke(1,22)),new qe(28,new ke(1,16))),new oi(3,Int32Array.from([6,22]),new qe(15,new ke(1,55)),new qe(26,new ke(1,44)),new qe(18,new ke(2,17)),new qe(22,new ke(2,13))),new oi(4,Int32Array.from([6,26]),new qe(20,new ke(1,80)),new qe(18,new ke(2,32)),new qe(26,new ke(2,24)),new qe(16,new ke(4,9))),new oi(5,Int32Array.from([6,30]),new qe(26,new ke(1,108)),new qe(24,new ke(2,43)),new qe(18,new ke(2,15),new ke(2,16)),new qe(22,new ke(2,11),new ke(2,12))),new oi(6,Int32Array.from([6,34]),new qe(18,new ke(2,68)),new qe(16,new ke(4,27)),new qe(24,new ke(4,19)),new qe(28,new ke(4,15))),new oi(7,Int32Array.from([6,22,38]),new qe(20,new ke(2,78)),new qe(18,new ke(4,31)),new qe(18,new ke(2,14),new ke(4,15)),new qe(26,new ke(4,13),new ke(1,14))),new oi(8,Int32Array.from([6,24,42]),new qe(24,new ke(2,97)),new qe(22,new ke(2,38),new ke(2,39)),new qe(22,new ke(4,18),new ke(2,19)),new qe(26,new ke(4,14),new ke(2,15))),new oi(9,Int32Array.from([6,26,46]),new qe(30,new ke(2,116)),new qe(22,new ke(3,36),new ke(2,37)),new qe(20,new ke(4,16),new ke(4,17)),new qe(24,new ke(4,12),new ke(4,13))),new oi(10,Int32Array.from([6,28,50]),new qe(18,new ke(2,68),new ke(2,69)),new qe(26,new ke(4,43),new ke(1,44)),new qe(24,new ke(6,19),new ke(2,20)),new qe(28,new ke(6,15),new ke(2,16))),new oi(11,Int32Array.from([6,30,54]),new qe(20,new ke(4,81)),new qe(30,new ke(1,50),new ke(4,51)),new qe(28,new ke(4,22),new ke(4,23)),new qe(24,new ke(3,12),new ke(8,13))),new oi(12,Int32Array.from([6,32,58]),new qe(24,new ke(2,92),new ke(2,93)),new qe(22,new ke(6,36),new ke(2,37)),new qe(26,new ke(4,20),new ke(6,21)),new qe(28,new ke(7,14),new ke(4,15))),new oi(13,Int32Array.from([6,34,62]),new qe(26,new ke(4,107)),new qe(22,new ke(8,37),new ke(1,38)),new qe(24,new ke(8,20),new ke(4,21)),new qe(22,new ke(12,11),new ke(4,12))),new oi(14,Int32Array.from([6,26,46,66]),new qe(30,new ke(3,115),new ke(1,116)),new qe(24,new ke(4,40),new ke(5,41)),new qe(20,new ke(11,16),new ke(5,17)),new qe(24,new ke(11,12),new ke(5,13))),new oi(15,Int32Array.from([6,26,48,70]),new qe(22,new ke(5,87),new ke(1,88)),new qe(24,new ke(5,41),new ke(5,42)),new qe(30,new ke(5,24),new ke(7,25)),new qe(24,new ke(11,12),new ke(7,13))),new oi(16,Int32Array.from([6,26,50,74]),new qe(24,new ke(5,98),new ke(1,99)),new qe(28,new ke(7,45),new ke(3,46)),new qe(24,new ke(15,19),new ke(2,20)),new qe(30,new ke(3,15),new ke(13,16))),new oi(17,Int32Array.from([6,30,54,78]),new qe(28,new ke(1,107),new ke(5,108)),new qe(28,new ke(10,46),new ke(1,47)),new qe(28,new ke(1,22),new ke(15,23)),new qe(28,new ke(2,14),new ke(17,15))),new oi(18,Int32Array.from([6,30,56,82]),new qe(30,new ke(5,120),new ke(1,121)),new qe(26,new ke(9,43),new ke(4,44)),new qe(28,new ke(17,22),new ke(1,23)),new qe(28,new ke(2,14),new ke(19,15))),new oi(19,Int32Array.from([6,30,58,86]),new qe(28,new ke(3,113),new ke(4,114)),new qe(26,new ke(3,44),new ke(11,45)),new qe(26,new ke(17,21),new ke(4,22)),new qe(26,new ke(9,13),new ke(16,14))),new oi(20,Int32Array.from([6,34,62,90]),new qe(28,new ke(3,107),new ke(5,108)),new qe(26,new ke(3,41),new ke(13,42)),new qe(30,new ke(15,24),new ke(5,25)),new qe(28,new ke(15,15),new ke(10,16))),new oi(21,Int32Array.from([6,28,50,72,94]),new qe(28,new ke(4,116),new ke(4,117)),new qe(26,new ke(17,42)),new qe(28,new ke(17,22),new ke(6,23)),new qe(30,new ke(19,16),new ke(6,17))),new oi(22,Int32Array.from([6,26,50,74,98]),new qe(28,new ke(2,111),new ke(7,112)),new qe(28,new ke(17,46)),new qe(30,new ke(7,24),new ke(16,25)),new qe(24,new ke(34,13))),new oi(23,Int32Array.from([6,30,54,78,102]),new qe(30,new ke(4,121),new ke(5,122)),new qe(28,new ke(4,47),new ke(14,48)),new qe(30,new ke(11,24),new ke(14,25)),new qe(30,new ke(16,15),new ke(14,16))),new oi(24,Int32Array.from([6,28,54,80,106]),new qe(30,new ke(6,117),new ke(4,118)),new qe(28,new ke(6,45),new ke(14,46)),new qe(30,new ke(11,24),new ke(16,25)),new qe(30,new ke(30,16),new ke(2,17))),new oi(25,Int32Array.from([6,32,58,84,110]),new qe(26,new ke(8,106),new ke(4,107)),new qe(28,new ke(8,47),new ke(13,48)),new qe(30,new ke(7,24),new ke(22,25)),new qe(30,new ke(22,15),new ke(13,16))),new oi(26,Int32Array.from([6,30,58,86,114]),new qe(28,new ke(10,114),new ke(2,115)),new qe(28,new ke(19,46),new ke(4,47)),new qe(28,new ke(28,22),new ke(6,23)),new qe(30,new ke(33,16),new ke(4,17))),new oi(27,Int32Array.from([6,34,62,90,118]),new qe(30,new ke(8,122),new ke(4,123)),new qe(28,new ke(22,45),new ke(3,46)),new qe(30,new ke(8,23),new ke(26,24)),new qe(30,new ke(12,15),new ke(28,16))),new oi(28,Int32Array.from([6,26,50,74,98,122]),new qe(30,new ke(3,117),new ke(10,118)),new qe(28,new ke(3,45),new ke(23,46)),new qe(30,new ke(4,24),new ke(31,25)),new qe(30,new ke(11,15),new ke(31,16))),new oi(29,Int32Array.from([6,30,54,78,102,126]),new qe(30,new ke(7,116),new ke(7,117)),new qe(28,new ke(21,45),new ke(7,46)),new qe(30,new ke(1,23),new ke(37,24)),new qe(30,new ke(19,15),new ke(26,16))),new oi(30,Int32Array.from([6,26,52,78,104,130]),new qe(30,new ke(5,115),new ke(10,116)),new qe(28,new ke(19,47),new ke(10,48)),new qe(30,new ke(15,24),new ke(25,25)),new qe(30,new ke(23,15),new ke(25,16))),new oi(31,Int32Array.from([6,30,56,82,108,134]),new qe(30,new ke(13,115),new ke(3,116)),new qe(28,new ke(2,46),new ke(29,47)),new qe(30,new ke(42,24),new ke(1,25)),new qe(30,new ke(23,15),new ke(28,16))),new oi(32,Int32Array.from([6,34,60,86,112,138]),new qe(30,new ke(17,115)),new qe(28,new ke(10,46),new ke(23,47)),new qe(30,new ke(10,24),new ke(35,25)),new qe(30,new ke(19,15),new ke(35,16))),new oi(33,Int32Array.from([6,30,58,86,114,142]),new qe(30,new ke(17,115),new ke(1,116)),new qe(28,new ke(14,46),new ke(21,47)),new qe(30,new ke(29,24),new ke(19,25)),new qe(30,new ke(11,15),new ke(46,16))),new oi(34,Int32Array.from([6,34,62,90,118,146]),new qe(30,new ke(13,115),new ke(6,116)),new qe(28,new ke(14,46),new ke(23,47)),new qe(30,new ke(44,24),new ke(7,25)),new qe(30,new ke(59,16),new ke(1,17))),new oi(35,Int32Array.from([6,30,54,78,102,126,150]),new qe(30,new ke(12,121),new ke(7,122)),new qe(28,new ke(12,47),new ke(26,48)),new qe(30,new ke(39,24),new ke(14,25)),new qe(30,new ke(22,15),new ke(41,16))),new oi(36,Int32Array.from([6,24,50,76,102,128,154]),new qe(30,new ke(6,121),new ke(14,122)),new qe(28,new ke(6,47),new ke(34,48)),new qe(30,new ke(46,24),new ke(10,25)),new qe(30,new ke(2,15),new ke(64,16))),new oi(37,Int32Array.from([6,28,54,80,106,132,158]),new qe(30,new ke(17,122),new ke(4,123)),new qe(28,new ke(29,46),new ke(14,47)),new qe(30,new ke(49,24),new ke(10,25)),new qe(30,new ke(24,15),new ke(46,16))),new oi(38,Int32Array.from([6,32,58,84,110,136,162]),new qe(30,new ke(4,122),new ke(18,123)),new qe(28,new ke(13,46),new ke(32,47)),new qe(30,new ke(48,24),new ke(14,25)),new qe(30,new ke(42,15),new ke(32,16))),new oi(39,Int32Array.from([6,26,54,82,110,138,166]),new qe(30,new ke(20,117),new ke(4,118)),new qe(28,new ke(40,47),new ke(7,48)),new qe(30,new ke(43,24),new ke(22,25)),new qe(30,new ke(10,15),new ke(67,16))),new oi(40,Int32Array.from([6,30,58,86,114,142,170]),new qe(30,new ke(19,118),new ke(6,119)),new qe(28,new ke(18,47),new ke(31,48)),new qe(30,new ke(34,24),new ke(34,25)),new qe(30,new ke(20,15),new ke(61,16)))];var Je=(()=>{return(Y=Je||(Je={}))[Y.DATA_MASK_000=0]="DATA_MASK_000",Y[Y.DATA_MASK_001=1]="DATA_MASK_001",Y[Y.DATA_MASK_010=2]="DATA_MASK_010",Y[Y.DATA_MASK_011=3]="DATA_MASK_011",Y[Y.DATA_MASK_100=4]="DATA_MASK_100",Y[Y.DATA_MASK_101=5]="DATA_MASK_101",Y[Y.DATA_MASK_110=6]="DATA_MASK_110",Y[Y.DATA_MASK_111=7]="DATA_MASK_111",Je;var Y})();class hr{constructor(s,l){this.value=s,this.isMasked=l}unmaskBitMatrix(s,l){for(let d=0;d0==(Y+s&1))],[Je.DATA_MASK_001,new hr(Je.DATA_MASK_001,(Y,s)=>0==(1&Y))],[Je.DATA_MASK_010,new hr(Je.DATA_MASK_010,(Y,s)=>s%3==0)],[Je.DATA_MASK_011,new hr(Je.DATA_MASK_011,(Y,s)=>(Y+s)%3==0)],[Je.DATA_MASK_100,new hr(Je.DATA_MASK_100,(Y,s)=>0==(Math.floor(Y/2)+Math.floor(s/3)&1))],[Je.DATA_MASK_101,new hr(Je.DATA_MASK_101,(Y,s)=>Y*s%6==0)],[Je.DATA_MASK_110,new hr(Je.DATA_MASK_110,(Y,s)=>Y*s%6<3)],[Je.DATA_MASK_111,new hr(Je.DATA_MASK_111,(Y,s)=>0==(Y+s+Y*s%3&1))]]);class Bi{constructor(s){const l=s.getHeight();if(l<21||1!=(3&l))throw new ee;this.bitMatrix=s}readFormatInformation(){if(null!=this.parsedFormatInfo)return this.parsedFormatInfo;let s=0;for(let m=0;m<6;m++)s=this.copyBit(m,8,s);s=this.copyBit(7,8,s),s=this.copyBit(8,8,s),s=this.copyBit(8,7,s);for(let m=5;m>=0;m--)s=this.copyBit(8,m,s);const l=this.bitMatrix.getHeight();let d=0;const u=l-7;for(let m=l-1;m>=u;m--)d=this.copyBit(8,m,d);for(let m=l-8;m=0;p--)for(let v=s-9;v>=u;v--)d=this.copyBit(v,p,d);let m=oi.decodeVersionInformation(d);if(null!==m&&m.getDimensionForVersion()===s)return this.parsedVersion=m,m;d=0;for(let p=5;p>=0;p--)for(let v=s-9;v>=u;v--)d=this.copyBit(p,v,d);if(m=oi.decodeVersionInformation(d),null!==m&&m.getDimensionForVersion()===s)return this.parsedVersion=m,m;throw new ee}copyBit(s,l,d){return(this.isMirror?this.bitMatrix.get(l,s):this.bitMatrix.get(s,l))?d<<1|1:d<<1}readCodewords(){const s=this.readFormatInformation(),l=this.readVersion(),d=hr.values.get(s.getDataMask()),u=this.bitMatrix.getHeight();d.unmaskBitMatrix(this.bitMatrix,u);const m=l.buildFunctionPattern();let p=!0;const v=new Uint8Array(l.getTotalCodewords());let M=0,H=0,$=0;for(let ue=u-1;ue>0;ue-=2){6===ue&&ue--;for(let _e=0;_e=0&&v[$].codewords.length!==H;)$--;$++;const ue=H-u.getECCodewordsPerBlock();let _e=0;for(let Le=0;Le{return(Y=eo||(eo={}))[Y.TERMINATOR=0]="TERMINATOR",Y[Y.NUMERIC=1]="NUMERIC",Y[Y.ALPHANUMERIC=2]="ALPHANUMERIC",Y[Y.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",Y[Y.BYTE=4]="BYTE",Y[Y.ECI=5]="ECI",Y[Y.KANJI=6]="KANJI",Y[Y.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",Y[Y.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",Y[Y.HANZI=9]="HANZI",eo;var Y})();class wi{constructor(s,l,d,u){this.value=s,this.stringValue=l,this.characterCountBitsForVersions=d,this.bits=u,wi.FOR_BITS.set(u,this),wi.FOR_VALUE.set(s,this)}static forBits(s){const l=wi.FOR_BITS.get(s);if(void 0===l)throw new O;return l}getCharacterCountBits(s){const l=s.getVersionNumber();let d;return d=l<=9?0:l<=26?1:2,this.characterCountBitsForVersions[d]}getValue(){return this.value}getBits(){return this.bits}equals(s){return s instanceof wi&&this.value===s.value}toString(){return this.stringValue}}wi.FOR_BITS=new Map,wi.FOR_VALUE=new Map,wi.TERMINATOR=new wi(eo.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),wi.NUMERIC=new wi(eo.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),wi.ALPHANUMERIC=new wi(eo.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),wi.STRUCTURED_APPEND=new wi(eo.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),wi.BYTE=new wi(eo.BYTE,"BYTE",Int32Array.from([8,16,16]),4),wi.ECI=new wi(eo.ECI,"ECI",Int32Array.from([0,0,0]),7),wi.KANJI=new wi(eo.KANJI,"KANJI",Int32Array.from([8,10,12]),8),wi.FNC1_FIRST_POSITION=new wi(eo.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),wi.FNC1_SECOND_POSITION=new wi(eo.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),wi.HANZI=new wi(eo.HANZI,"HANZI",Int32Array.from([8,10,12]),13);let oc=(()=>{class Y{static decode(l,d,u,m){const p=new Xa(l);let v=new me;const M=new Array;let H=-1,$=-1;try{let xe,ue=null,_e=!1;do{if(p.available()<4)xe=wi.TERMINATOR;else{const Le=p.readBits(4);xe=wi.forBits(Le)}switch(xe){case wi.TERMINATOR:break;case wi.FNC1_FIRST_POSITION:case wi.FNC1_SECOND_POSITION:_e=!0;break;case wi.STRUCTURED_APPEND:if(p.available()<16)throw new ee;H=p.readBits(8),$=p.readBits(8);break;case wi.ECI:const Le=Y.parseECIValue(p);if(ue=ae.getCharacterSetECIByValue(Le),null===ue)throw new ee;break;case wi.HANZI:const je=p.readBits(4),Ye=p.readBits(xe.getCharacterCountBits(d));je===Y.GB2312_SUBSET&&Y.decodeHanziSegment(p,v,Ye);break;default:const Xe=p.readBits(xe.getCharacterCountBits(d));switch(xe){case wi.NUMERIC:Y.decodeNumericSegment(p,v,Xe);break;case wi.ALPHANUMERIC:Y.decodeAlphanumericSegment(p,v,Xe,_e);break;case wi.BYTE:Y.decodeByteSegment(p,v,Xe,ue,M,m);break;case wi.KANJI:Y.decodeKanjiSegment(p,v,Xe);break;default:throw new ee}}}while(xe!==wi.TERMINATOR)}catch{throw new ee}return new yn(l,v.toString(),0===M.length?null:M,null===u?null:u.toString(),H,$)}static decodeHanziSegment(l,d,u){if(13*u>l.available())throw new ee;const m=new Uint8Array(2*u);let p=0;for(;u>0;){const v=l.readBits(13);let M=v/96<<8&4294967295|v%96;M+=M<959?41377:42657,m[p]=M>>8&255,m[p+1]=255&M,p+=2,u--}try{d.append(re.decode(m,de.GB2312))}catch(v){throw new ee(v)}}static decodeKanjiSegment(l,d,u){if(13*u>l.available())throw new ee;const m=new Uint8Array(2*u);let p=0;for(;u>0;){const v=l.readBits(13);let M=v/192<<8&4294967295|v%192;M+=M<7936?33088:49472,m[p]=M>>8,m[p+1]=M,p+=2,u--}try{d.append(re.decode(m,de.SHIFT_JIS))}catch(v){throw new ee(v)}}static decodeByteSegment(l,d,u,m,p,v){if(8*u>l.available())throw new ee;const M=new Uint8Array(u);for(let $=0;$=Y.ALPHANUMERIC_CHARS.length)throw new ee;return Y.ALPHANUMERIC_CHARS[l]}static decodeAlphanumericSegment(l,d,u,m){const p=d.length();for(;u>1;){if(l.available()<11)throw new ee;const v=l.readBits(11);d.append(Y.toAlphaNumericChar(Math.floor(v/45))),d.append(Y.toAlphaNumericChar(v%45)),u-=2}if(1===u){if(l.available()<6)throw new ee;d.append(Y.toAlphaNumericChar(l.readBits(6)))}if(m)for(let v=p;v=3;){if(l.available()<10)throw new ee;const m=l.readBits(10);if(m>=1e3)throw new ee;d.append(Y.toAlphaNumericChar(Math.floor(m/100))),d.append(Y.toAlphaNumericChar(Math.floor(m/10)%10)),d.append(Y.toAlphaNumericChar(m%10)),u-=3}if(2===u){if(l.available()<7)throw new ee;const m=l.readBits(7);if(m>=100)throw new ee;d.append(Y.toAlphaNumericChar(Math.floor(m/10))),d.append(Y.toAlphaNumericChar(m%10))}else if(1===u){if(l.available()<4)throw new ee;const m=l.readBits(4);if(m>=10)throw new ee;d.append(Y.toAlphaNumericChar(m))}}static parseECIValue(l){const d=l.readBits(8);if(!(128&d))return 127&d;if(128==(192&d))return(63&d)<<8&4294967295|l.readBits(8);if(192==(224&d))return(31&d)<<16&4294967295|l.readBits(16);throw new ee}}return Y.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",Y.GB2312_SUBSET=1,Y})();class Js{constructor(s){this.mirrored=s}isMirrored(){return this.mirrored}applyMirroredCorrection(s){if(!this.mirrored||null===s||s.length<3)return;const l=s[0];s[0]=s[2],s[2]=l}}class to{constructor(){this.rsDecoder=new Ge(vi.QR_CODE_FIELD_256)}decodeBooleanArray(s,l){return this.decodeBitMatrix(ge.parseFromBooleanArray(s),l)}decodeBitMatrix(s,l){const d=new Bi(s);let u=null;try{return this.decodeBitMatrixParser(d,l)}catch(m){u=m}try{d.remask(),d.setMirror(!0),d.readVersion(),d.readFormatInformation(),d.mirror();const m=this.decodeBitMatrixParser(d,l);return m.setOther(new Js(!0)),m}catch(m){throw null!==u?u:m}}decodeBitMatrixParser(s,l){const d=s.readVersion(),u=s.readFormatInformation().getErrorCorrectionLevel(),m=s.readCodewords(),p=Bn.getDataBlocks(m,d,u);let v=0;for(const $ of p)v+=$.getNumDataCodewords();const M=new Uint8Array(v);let H=0;for(const $ of p){const ue=$.getCodewords(),_e=$.getNumDataCodewords();this.correctErrors(ue,_e);for(let xe=0;xe<_e;xe++)M[H++]=ue[xe]}return oc.decode(M,d,u,l)}correctErrors(s,l){const d=new Int32Array(s);try{this.rsDecoder.decode(d,s.length-l)}catch{throw new Q}for(let u=0;u=d)return!1;return!0}crossCheckVertical(s,l,d,u){const m=this.image,p=m.getHeight(),v=this.crossCheckStateCount;v[0]=0,v[1]=0,v[2]=0;let M=s;for(;M>=0&&m.get(l,M)&&v[1]<=d;)v[1]++,M--;if(M<0||v[1]>d)return NaN;for(;M>=0&&!m.get(l,M)&&v[0]<=d;)v[0]++,M--;if(v[0]>d)return NaN;for(M=s+1;Md)return NaN;for(;Md||5*Math.abs(v[0]+v[1]+v[2]-u)>=2*u?NaN:this.foundPatternCross(v)?cs.centerFromEnd(v,M):NaN}handlePossibleCenter(s,l,d){const u=s[0]+s[1]+s[2],m=cs.centerFromEnd(s,d),p=this.crossCheckVertical(l,m,2*s[1],u);if(!isNaN(p)){const v=(s[0]+s[1]+s[2])/3;for(const H of this.possibleCenters)if(H.aboutEquals(v,p,m))return H.combineEstimate(p,m,v);const M=new Qc(m,p,v);this.possibleCenters.push(M),null!=this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(M)}return null}}class Zc extends yt{constructor(s,l,d,u){super(s,l),this.estimatedModuleSize=d,this.count=u,void 0===u&&(this.count=1)}getEstimatedModuleSize(){return this.estimatedModuleSize}getCount(){return this.count}aboutEquals(s,l,d){if(Math.abs(l-this.getY())<=s&&Math.abs(d-this.getX())<=s){const u=Math.abs(s-this.estimatedModuleSize);return u<=1||u<=this.estimatedModuleSize}return!1}combineEstimate(s,l,d){const u=this.count+1,m=(this.count*this.getX()+l)/u,p=(this.count*this.getY()+s)/u;return new Zc(m,p,(this.count*this.estimatedModuleSize+d)/u,u)}}class No{constructor(s){this.bottomLeft=s[0],this.topLeft=s[1],this.topRight=s[2]}getBottomLeft(){return this.bottomLeft}getTopLeft(){return this.topLeft}getTopRight(){return this.topRight}}let Ju=(()=>{class Y{constructor(l,d){this.image=l,this.resultPointCallback=d,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=d}getImage(){return this.image}getPossibleCenters(){return this.possibleCenters}find(l){const d=null!=l&&void 0!==l.get(le.TRY_HARDER),u=null!=l&&void 0!==l.get(le.PURE_BARCODE),m=this.image,p=m.getHeight(),v=m.getWidth();let M=Math.floor(3*p/(4*Y.MAX_MODULES));(M$[2]&&(_e+=Ye-$[2]-M,Le=v-1)}xe=0,$[0]=0,$[1]=0,$[2]=0,$[3]=0,$[4]=0}else $[0]=$[2],$[1]=$[3],$[2]=$[4],$[3]=1,$[4]=0,xe=3;else $[++xe]++;Y.foundPatternCross($)&&!0===this.handlePossibleCenter($,_e,v,u)&&(M=$[0],this.hasSkipped&&(H=this.haveMultiplyConfirmedCenters()))}const ue=this.selectBestPatterns();return yt.orderBestPatterns(ue),new No(ue)}static centerFromEnd(l,d){return d-l[4]-l[3]-l[2]/2}static foundPatternCross(l){let d=0;for(let p=0;p<5;p++){const v=l[p];if(0===v)return!1;d+=v}if(d<7)return!1;const u=d/7,m=u/2;return Math.abs(u-l[0])=v&&d>=v&&M.get(d-v,l-v);)p[2]++,v++;if(l=v&&d>=v&&!M.get(d-v,l-v)&&p[1]<=u;)p[1]++,v++;if(lu)return!1;for(;l>=v&&d>=v&&M.get(d-v,l-v)&&p[0]<=u;)p[0]++,v++;if(p[0]>u)return!1;const H=M.getHeight(),$=M.getWidth();for(v=1;l+v=H||d+v>=$)return!1;for(;l+v=H||d+v>=$||p[3]>=u)return!1;for(;l+v=u)&&Math.abs(p[0]+p[1]+p[2]+p[3]+p[4]-m)<2*m&&Y.foundPatternCross(p)}crossCheckVertical(l,d,u,m){const p=this.image,v=p.getHeight(),M=this.getCrossCheckStateCount();let H=l;for(;H>=0&&p.get(d,H);)M[2]++,H--;if(H<0)return NaN;for(;H>=0&&!p.get(d,H)&&M[1]<=u;)M[1]++,H--;if(H<0||M[1]>u)return NaN;for(;H>=0&&p.get(d,H)&&M[0]<=u;)M[0]++,H--;if(M[0]>u)return NaN;for(H=l+1;H=u)return NaN;for(;H=u||5*Math.abs(M[0]+M[1]+M[2]+M[3]+M[4]-m)>=2*m?NaN:Y.foundPatternCross(M)?Y.centerFromEnd(M,H):NaN}crossCheckHorizontal(l,d,u,m){const p=this.image,v=p.getWidth(),M=this.getCrossCheckStateCount();let H=l;for(;H>=0&&p.get(H,d);)M[2]++,H--;if(H<0)return NaN;for(;H>=0&&!p.get(H,d)&&M[1]<=u;)M[1]++,H--;if(H<0||M[1]>u)return NaN;for(;H>=0&&p.get(H,d)&&M[0]<=u;)M[0]++,H--;if(M[0]>u)return NaN;for(H=l+1;H=u)return NaN;for(;H=u||5*Math.abs(M[0]+M[1]+M[2]+M[3]+M[4]-m)>=m?NaN:Y.foundPatternCross(M)?Y.centerFromEnd(M,H):NaN}handlePossibleCenter(l,d,u,m){const p=l[0]+l[1]+l[2]+l[3]+l[4];let v=Y.centerFromEnd(l,u),M=this.crossCheckVertical(d,Math.floor(v),l[2],p);if(!isNaN(M)&&(v=this.crossCheckHorizontal(Math.floor(v),Math.floor(M),l[2],p),!isNaN(v)&&(!m||this.crossCheckDiagonal(Math.floor(M),Math.floor(v),l[2],p)))){const H=p/7;let $=!1;const ue=this.possibleCenters;for(let _e=0,xe=ue.length;_e=Y.CENTER_QUORUM){if(null!=d)return this.hasSkipped=!0,Math.floor((Math.abs(d.getX()-u.getX())-Math.abs(d.getY()-u.getY()))/2);d=u}return 0}haveMultiplyConfirmedCenters(){let l=0,d=0;const u=this.possibleCenters.length;for(const v of this.possibleCenters)v.getCount()>=Y.CENTER_QUORUM&&(l++,d+=v.getEstimatedModuleSize());if(l<3)return!1;const m=d/u;let p=0;for(const v of this.possibleCenters)p+=Math.abs(v.getEstimatedModuleSize()-m);return p<=.05*d}selectBestPatterns(){const l=this.possibleCenters.length;if(l<3)throw new ve;const d=this.possibleCenters;let u;if(l>3){let m=0,p=0;for(const H of this.possibleCenters){const $=H.getEstimatedModuleSize();m+=$,p+=$*$}u=m/l;let v=Math.sqrt(p/l-u*u);d.sort((H,$)=>{const ue=Math.abs($.getEstimatedModuleSize()-u),_e=Math.abs(H.getEstimatedModuleSize()-u);return ue<_e?-1:ue>_e?1:0});const M=Math.max(.2*u,v);for(let H=0;H3;H++)Math.abs(d[H].getEstimatedModuleSize()-u)>M&&(d.splice(H,1),H--)}if(d.length>3){let m=0;for(const p of d)m+=p.getEstimatedModuleSize();u=m/d.length,d.sort((p,v)=>{if(v.getCount()===p.getCount()){const M=Math.abs(v.getEstimatedModuleSize()-u),H=Math.abs(p.getEstimatedModuleSize()-u);return MH?-1:0}return v.getCount()-p.getCount()}),d.splice(3)}return[d[0],d[1],d[2]]}}return Y.CENTER_QUORUM=2,Y.MIN_SKIP=3,Y.MAX_MODULES=57,Y})();class sc{constructor(s){this.image=s}getImage(){return this.image}getResultPointCallback(){return this.resultPointCallback}detect(s){this.resultPointCallback=null==s?null:s.get(le.NEED_RESULT_POINT_CALLBACK);const d=new Ju(this.image,this.resultPointCallback).find(s);return this.processFinderPatternInfo(d)}processFinderPatternInfo(s){const l=s.getTopLeft(),d=s.getTopRight(),u=s.getBottomLeft(),m=this.calculateModuleSize(l,d,u);if(m<1)throw new ve("No pattern found in proccess finder.");const p=sc.computeDimension(l,d,u,m),v=oi.getProvisionalVersionForDimension(p),M=v.getDimensionForVersion()-7;let H=null;if(v.getAlignmentPatternCenters().length>0){const xe=d.getX()-l.getX()+u.getX(),Le=d.getY()-l.getY()+u.getY(),je=1-3/M,Ye=Math.floor(l.getX()+je*(xe-l.getX())),Xe=Math.floor(l.getY()+je*(Le-l.getY()));for(let kt=4;kt<=16;kt<<=1)try{H=this.findAlignmentInRegion(m,Ye,Xe,kt);break}catch(Ut){if(!(Ut instanceof ve))throw Ut}}const $=sc.createTransform(l,d,u,H,p),ue=sc.sampleGrid(this.image,$,p);let _e;return _e=null===H?[u,l,d]:[u,l,d,H],new cn(ue,_e)}static createTransform(s,l,d,u,m){const p=m-3.5;let v,M,H,$;return null!==u?(v=u.getX(),M=u.getY(),H=p-3,$=H):(v=l.getX()-s.getX()+d.getX(),M=l.getY()-s.getY()+d.getY(),H=p,$=p),Gi.quadrilateralToQuadrilateral(3.5,3.5,p,3.5,H,$,3.5,p,s.getX(),s.getY(),l.getX(),l.getY(),v,M,d.getX(),d.getY())}static sampleGrid(s,l,d){return Ii.getInstance().sampleGridWithTransform(s,d,d,l)}static computeDimension(s,l,d,u){const m=Gt.round(yt.distance(s,l)/u),p=Gt.round(yt.distance(s,d)/u);let v=Math.floor((m+p)/2)+7;switch(3&v){case 0:v++;break;case 2:v--;break;case 3:throw new ve("Dimensions could be not found.")}return v}calculateModuleSize(s,l,d){return(this.calculateModuleSizeOneWay(s,l)+this.calculateModuleSizeOneWay(s,d))/2}calculateModuleSizeOneWay(s,l){const d=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(s.getX()),Math.floor(s.getY()),Math.floor(l.getX()),Math.floor(l.getY())),u=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(l.getX()),Math.floor(l.getY()),Math.floor(s.getX()),Math.floor(s.getY()));return isNaN(d)?u/7:isNaN(u)?d/7:(d+u)/14}sizeOfBlackWhiteBlackRunBothWays(s,l,d,u){let m=this.sizeOfBlackWhiteBlackRun(s,l,d,u),p=1,v=s-(d-s);v<0?(p=s/(s-v),v=0):v>=this.image.getWidth()&&(p=(this.image.getWidth()-1-s)/(v-s),v=this.image.getWidth()-1);let M=Math.floor(l-(u-l)*p);return p=1,M<0?(p=l/(l-M),M=0):M>=this.image.getHeight()&&(p=(this.image.getHeight()-1-l)/(M-l),M=this.image.getHeight()-1),v=Math.floor(s+(v-s)*p),m+=this.sizeOfBlackWhiteBlackRun(s,l,v,M),m-1}sizeOfBlackWhiteBlackRun(s,l,d,u){const m=Math.abs(u-l)>Math.abs(d-s);if(m){let xe=s;s=l,l=xe,xe=d,d=u,u=xe}const p=Math.abs(d-s),v=Math.abs(u-l);let M=-p/2;const H=s0){if(Le===u)break;Le+=$,M-=p}}return 2===ue?Gt.distance(d+H,u,s,l):NaN}findAlignmentInRegion(s,l,d,u){const m=Math.floor(u*s),p=Math.max(0,l-m),v=Math.min(this.image.getWidth()-1,l+m);if(v-p<3*s)throw new ve("Alignment top exceeds estimated module size.");const M=Math.max(0,d-m),H=Math.min(this.image.getHeight()-1,d+m);if(H-M<3*s)throw new ve("Alignment bottom exceeds estimated module size.");return new cs(this.image,p,M,v-p,H-M,s,this.resultPointCallback).find()}}class ds{constructor(){this.decoder=new to}getDecoder(){return this.decoder}decode(s,l){let d,u;if(null!=l&&void 0!==l.get(le.PURE_BARCODE)){const M=ds.extractPureBits(s.getBlackMatrix());d=this.decoder.decodeBitMatrix(M,l),u=ds.NO_POINTS}else{const M=new sc(s.getBlackMatrix()).detect(l);d=this.decoder.decodeBitMatrix(M.getBits(),l),u=M.getPoints()}d.getOther()instanceof Js&&d.getOther().applyMirroredCorrection(u);const m=new He(d.getText(),d.getRawBytes(),void 0,u,nt.QR_CODE,void 0),p=d.getByteSegments();null!==p&&m.putMetadata(zt.BYTE_SEGMENTS,p);const v=d.getECLevel();return null!==v&&m.putMetadata(zt.ERROR_CORRECTION_LEVEL,v),d.hasStructuredAppend()&&(m.putMetadata(zt.STRUCTURED_APPEND_SEQUENCE,d.getStructuredAppendSequenceNumber()),m.putMetadata(zt.STRUCTURED_APPEND_PARITY,d.getStructuredAppendParity())),m}reset(){}static extractPureBits(s){const l=s.getTopLeftOnBit(),d=s.getBottomRightOnBit();if(null===l||null===d)throw new ve;const u=this.moduleSize(l,s);let m=l[1],p=d[1],v=l[0],M=d[0];if(v>=M||m>=p)throw new ve;if(p-m!=M-v&&(M=v+(p-m),M>=s.getWidth()))throw new ve;const H=Math.round((M-v+1)/u),$=Math.round((p-m+1)/u);if(H<=0||$<=0)throw new ve;if($!==H)throw new ve;const ue=Math.floor(u/2);m+=ue,v+=ue;const _e=v+Math.floor((H-1)*u)-M;if(_e>0){if(_e>ue)throw new ve;v-=_e}const xe=m+Math.floor(($-1)*u)-p;if(xe>0){if(xe>ue)throw new ve;m-=xe}const Le=new ge(H,$);for(let je=0;je<$;je++){const Ye=m+Math.floor(je*u);for(let Xe=0;Xe0;){const _e=ji.findGuardPattern(s,m,--u,d,!1,p,H);if(null==_e){u++;break}ue=_e}v[0]=new yt(ue[0],u),v[1]=new yt(ue[1],u),M=!0;break}}let $=u+1;if(M){let ue=0,_e=Int32Array.from([Math.trunc(v[0].getX()),Math.trunc(v[1].getX())]);for(;$ji.SKIPPED_ROW_COUNT_MAX)break;ue++}}$-=ue+1,v[2]=new yt(_e[0],$),v[3]=new yt(_e[1],$)}return $-u0&&H++ue?$-ue:ue-$;if(_e>d)return 1/0;M+=_e}return M/m}}ji.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),ji.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),ji.MAX_AVG_VARIANCE=.42,ji.MAX_INDIVIDUAL_VARIANCE=.8,ji.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),ji.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),ji.MAX_PIXEL_DRIFT=3,ji.MAX_PATTERN_DRIFT=5,ji.SKIPPED_ROW_COUNT_MAX=25,ji.ROW_STEP=5,ji.BARCODE_MIN_HEIGHT=10;class zr{constructor(s,l){if(0===l.length)throw new O;this.field=s;let d=l.length;if(d>1&&0===l[0]){let u=1;for(;ud.length){let p=l;l=d,d=p}let u=new Int32Array(d.length),m=d.length-l.length;V.arraycopy(d,0,u,0,m);for(let p=m;p=0;l--){let d=this.getCoefficient(l);0!==d&&(d<0?(s.append(" - "),d=-d):s.length()>0&&s.append(" + "),(0===l||1!==d)&&s.append(d),0!==l&&(1===l?s.append("x"):(s.append("x^"),s.append(l))))}return s.toString()}}class Kd{add(s,l){return(s+l)%this.modulus}subtract(s,l){return(this.modulus+s-l)%this.modulus}exp(s){return this.expTable[s]}log(s){if(0===s)throw new O;return this.logTable[s]}inverse(s){if(0===s)throw new Mn;return this.expTable[this.modulus-this.logTable[s]-1]}multiply(s,l){return 0===s||0===l?0:this.expTable[(this.logTable[s]+this.logTable[l])%(this.modulus-1)]}getSize(){return this.modulus}equals(s){return s===this}}class va extends Kd{constructor(s,l){super(),this.modulus=s,this.expTable=new Int32Array(s),this.logTable=new Int32Array(s);let d=1;for(let u=0;u0;Le--){let je=u.evaluateAt(this.field.exp(Le));m[l-Le]=je,0!==je&&(p=!0)}if(!p)return 0;let v=this.field.getOne();if(null!=d)for(const Le of d){let je=this.field.exp(s.length-1-Le),Ye=new zr(this.field,new Int32Array([this.field.subtract(0,je),1]));v=v.multiply(Ye)}let M=new zr(this.field,m),H=this.runEuclideanAlgorithm(this.field.buildMonomial(l,1),M,l),$=H[0],ue=H[1],_e=this.findErrorLocations($),xe=this.findErrorMagnitudes(ue,$,_e);for(let Le=0;Le<_e.length;Le++){let je=s.length-1-this.field.log(_e[Le]);if(je<0)throw Q.getChecksumInstance();s[je]=this.field.subtract(s[je],xe[Le])}return _e.length}runEuclideanAlgorithm(s,l,d){if(s.getDegree()=Math.round(d/2);){let _e=u,xe=p;if(u=m,p=v,u.isZero())throw Q.getChecksumInstance();m=_e;let Le=this.field.getZero(),je=u.getCoefficient(u.getDegree()),Ye=this.field.inverse(je);for(;m.getDegree()>=u.getDegree()&&!m.isZero();){let Xe=m.getDegree()-u.getDegree(),kt=this.field.multiply(m.getCoefficient(m.getDegree()),Ye);Le=Le.add(this.field.buildMonomial(Xe,kt)),m=m.subtract(u.multiplyByMonomial(Xe,kt))}v=Le.multiply(p).subtract(xe).negative()}let M=v.getCoefficient(0);if(0===M)throw Q.getChecksumInstance();let H=this.field.inverse(M);return[v.multiply(H),m.multiply(H)]}findErrorLocations(s){let l=s.getDegree(),d=new Int32Array(l),u=0;for(let m=1;m0){let M=d?this.topLeft:this.topRight,H=Math.trunc(M.getY()-s);H<0&&(H=0);let $=new yt(M.getX(),H);d?u=$:p=$}if(l>0){let M=d?this.bottomLeft:this.bottomRight,H=Math.trunc(M.getY()+l);H>=this.image.getHeight()&&(H=this.image.getHeight()-1);let $=new yt(M.getX(),H);d?m=$:v=$}return new el(this.image,u,m,p,v)}getMinX(){return this.minX}getMaxX(){return this.maxX}getMinY(){return this.minY}getMaxY(){return this.maxY}getTopLeft(){return this.topLeft}getTopRight(){return this.topRight}getBottomLeft(){return this.bottomLeft}getBottomRight(){return this.bottomRight}}class vm{constructor(s,l,d,u){this.columnCount=s,this.errorCorrectionLevel=u,this.rowCountUpperPart=l,this.rowCountLowerPart=d,this.rowCount=l+d}getColumnCount(){return this.columnCount}getErrorCorrectionLevel(){return this.errorCorrectionLevel}getRowCount(){return this.rowCount}getRowCountUpperPart(){return this.rowCountUpperPart}getRowCountLowerPart(){return this.rowCountLowerPart}}class lc{constructor(){this.buffer=""}static form(s,l){let d=-1;return s.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,function u(p,v,M,H,$,ue){if("%%"===p)return"%";if(void 0===l[++d])return;p=H?parseInt(H.substr(1)):void 0;let xe,_e=$?parseInt($.substr(1)):void 0;switch(ue){case"s":xe=l[d];break;case"c":xe=l[d][0];break;case"f":xe=parseFloat(l[d]).toFixed(p);break;case"p":xe=parseFloat(l[d]).toPrecision(p);break;case"e":xe=parseFloat(l[d]).toExponential(p);break;case"x":xe=parseInt(l[d]).toString(_e||16);break;case"d":xe=parseFloat(parseInt(l[d],_e||10).toPrecision(p)).toFixed(0)}xe="object"==typeof xe?JSON.stringify(xe):(+xe).toString(_e);let Le=parseInt(M),je=M&&M[0]+""=="0"?"0":" ";for(;xe.length{class Y{constructor(l){this.boundingBox=new el(l),this.codewords=new Array(l.getMaxY()-l.getMinY()+1)}getCodewordNearby(l){let d=this.getCodeword(l);if(null!=d)return d;for(let u=1;u=0&&(d=this.codewords[m],null!=d)||(m=this.imageRowToCodewordIndex(l)+u,md,getValue:()=>u};m.getValue()>s?(s=m.getValue(),l=[],l.push(m.getKey())):m.getValue()===s&&l.push(m.getKey())}return Di.toIntArray(l)}getConfidence(s){return this.values.get(s)}}class It extends it{constructor(s,l){super(s),this._isLeft=l}setRowNumbers(){for(let s of this.getCodewords())s?.setRowNumberAsRowIndicatorColumn()}adjustCompleteIndicatorColumnRowNumbers(s){let l=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(l,s);let d=this.getBoundingBox(),u=this._isLeft?d.getTopLeft():d.getTopRight(),m=this._isLeft?d.getBottomLeft():d.getBottomRight(),p=this.imageRowToCodewordIndex(Math.trunc(u.getY())),v=this.imageRowToCodewordIndex(Math.trunc(m.getY())),M=-1,H=1,$=0;for(let ue=p;ue=s.getRowCount()||xe>ue)l[ue]=null;else{let Le;Le=H>2?(H-2)*xe:xe;let je=Le>=ue;for(let Ye=1;Ye<=Le&&!je;Ye++)je=null!=l[ue-Ye];je?l[ue]=null:(M=_e.getRowNumber(),$=1)}}}getRowHeights(){let s=this.getBarcodeMetadata();if(null==s)return null;this.adjustIncompleteIndicatorColumnRowNumbers(s);let l=new Int32Array(s.getRowCount());for(let d of this.getCodewords())if(null!=d){let u=d.getRowNumber();if(u>=l.length)continue;l[u]++}return l}adjustIncompleteIndicatorColumnRowNumbers(s){let l=this.getBoundingBox(),d=this._isLeft?l.getTopLeft():l.getTopRight(),u=this._isLeft?l.getBottomLeft():l.getBottomRight(),m=this.imageRowToCodewordIndex(Math.trunc(d.getY())),p=this.imageRowToCodewordIndex(Math.trunc(u.getY())),v=this.getCodewords(),M=-1;for(let H=m;H=s.getRowCount()?v[H]=null:M=$.getRowNumber())}}getBarcodeMetadata(){let s=this.getCodewords(),l=new cc,d=new cc,u=new cc,m=new cc;for(let v of s){if(null==v)continue;v.setRowNumberAsRowIndicatorColumn();let M=v.getValue()%30,H=v.getRowNumber();switch(this._isLeft||(H+=2),H%3){case 0:d.setValue(3*M+1);break;case 1:m.setValue(M/3),u.setValue(M%3);break;case 2:l.setValue(M+1)}}if(0===l.getValue().length||0===d.getValue().length||0===u.getValue().length||0===m.getValue().length||l.getValue()[0]<1||d.getValue()[0]+u.getValue()[0]Di.MAX_ROWS_IN_BARCODE)return null;let p=new vm(l.getValue()[0],d.getValue()[0],u.getValue()[0],m.getValue()[0]);return this.removeIncorrectCodewords(s,p),p}removeIncorrectCodewords(s,l){for(let d=0;dl.getRowCount())s[d]=null;else switch(this._isLeft||(p+=2),p%3){case 0:3*m+1!==l.getRowCountUpperPart()&&(s[d]=null);break;case 1:(Math.trunc(m/3)!==l.getErrorCorrectionLevel()||m%3!==l.getRowCountLowerPart())&&(s[d]=null);break;case 2:m+1!==l.getColumnCount()&&(s[d]=null)}}}isLeft(){return this._isLeft}toString(){return"IsLeft: "+this._isLeft+"\n"+super.toString()}}class Lo{constructor(s,l){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=s,this.barcodeColumnCount=s.getColumnCount(),this.boundingBox=l,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}getDetectionResultColumns(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);let l,s=Di.MAX_CODEWORDS_IN_BARCODE;do{l=s,s=this.adjustRowNumbersAndGetCount()}while(s>0&&s0&&m0&&(v[0]=d[l-1],v[4]=m[l-1],v[5]=p[l-1]),l>1&&(v[8]=d[l-2],v[10]=m[l-2],v[11]=p[l-2]),l{class Y{constructor(l,d,u,m){this.rowNumber=Y.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(l),this.endX=Math.trunc(d),this.bucket=Math.trunc(u),this.value=Math.trunc(m)}hasValidRowNumber(){return this.isValidRowNumber(this.rowNumber)}isValidRowNumber(l){return l!==Y.BARCODE_ROW_UNKNOWN&&this.bucket===l%3*3}setRowNumberAsRowIndicatorColumn(){this.rowNumber=Math.trunc(3*Math.trunc(this.value/30)+Math.trunc(this.bucket/3))}getWidth(){return this.endX-this.startX}getStartX(){return this.startX}getEndX(){return this.endX}getBucket(){return this.bucket}getValue(){return this.value}getRowNumber(){return this.rowNumber}setRowNumber(l){this.rowNumber=l}toString(){return this.rowNumber+"|"+this.value}}return Y.BARCODE_ROW_UNKNOWN=-1,Y})();class Ir{static initialize(){for(let s=0;s>=1;d=1&l,Ir.RATIOS_TABLE[s]||(Ir.RATIOS_TABLE[s]=new Array(Di.BARS_IN_MODULE)),Ir.RATIOS_TABLE[s][Di.BARS_IN_MODULE-u-1]=Math.fround(m/Di.MODULES_IN_CODEWORD)}}this.bSymbolTableReady=!0}static getDecodedValue(s){let l=Ir.getDecodedCodewordValue(Ir.sampleBitCounts(s));return-1!==l?l:Ir.getClosestDecodedValue(s)}static sampleBitCounts(s){let l=Gt.sum(s),d=new Int32Array(Di.BARS_IN_MODULE),u=0,m=0;for(let p=0;p1)for(let p=0;p=u)break}vnew Array(Di.BARS_IN_MODULE));class dc{constructor(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}getSegmentIndex(){return this.segmentIndex}setSegmentIndex(s){this.segmentIndex=s}getFileId(){return this.fileId}setFileId(s){this.fileId=s}getOptionalData(){return this.optionalData}setOptionalData(s){this.optionalData=s}isLastSegment(){return this.lastSegment}setLastSegment(s){this.lastSegment=s}getSegmentCount(){return this.segmentCount}setSegmentCount(s){this.segmentCount=s}getSender(){return this.sender||null}setSender(s){this.sender=s}getAddressee(){return this.addressee||null}setAddressee(s){this.addressee=s}getFileName(){return this.fileName}setFileName(s){this.fileName=s}getFileSize(){return this.fileSize}setFileSize(s){this.fileSize=s}getChecksum(){return this.checksum}setChecksum(s){this.checksum=s}getTimestamp(){return this.timestamp}setTimestamp(s){this.timestamp=s}}class $o{static parseLong(s,l){return parseInt(s,l)}}let io=(()=>{class Y extends I{}return Y.kind="NullPointerException",Y})();class Oo{writeBytes(s){this.writeBytesOffset(s,0,s.length)}writeBytesOffset(s,l,d){if(null==s)throw new io;if(l<0||l>s.length||d<0||l+d>s.length||l+d<0)throw new ne;if(0!==d)for(let u=0;u0&&this.grow(s)}grow(s){let d=this.buf.length<<1;if(d-s<0&&(d=s),d<0){if(s<0)throw new Sl;d=q.MAX_VALUE}this.buf=ie.copyOfUint8Array(this.buf,d)}write(s){this.ensureCapacity(this.count+1),this.buf[this.count]=s,this.count+=1}writeBytesOffset(s,l,d){if(l<0||l>s.length||d<0||l+d-s.length>0)throw new ne;this.ensureCapacity(this.count+d),V.arraycopy(s,l,this.buf,this.count,d),this.count+=d}writeTo(s){s.writeBytesOffset(this.buf,0,this.count)}reset(){this.count=0}toByteArray(){return ie.copyOfUint8Array(this.buf,this.count)}size(){return this.count}toString(s){return s?"string"==typeof s?this.toString_string(s):this.toString_number(s):this.toString_void()}toString_void(){return new String(this.buf).toString()}toString_string(s){return new String(this.buf).toString()}toString_number(s){return new String(this.buf).toString()}close(){}}var Mi=(()=>{return(Y=Mi||(Mi={}))[Y.ALPHA=0]="ALPHA",Y[Y.LOWER=1]="LOWER",Y[Y.MIXED=2]="MIXED",Y[Y.PUNCT=3]="PUNCT",Y[Y.ALPHA_SHIFT=4]="ALPHA_SHIFT",Y[Y.PUNCT_SHIFT=5]="PUNCT_SHIFT",Mi;var Y})();function si(){if(typeof window<"u")return window.BigInt||null;if(typeof global<"u")return global.BigInt||null;if(typeof self<"u")return self.BigInt||null;throw new Error("Can't search globals for BigInt!")}let Nr;function hs(Y){if(typeof Nr>"u"&&(Nr=si()),null===Nr)throw new Error("BigInt is not supported!");return Nr(Y)}class rt{static decode(s,l){let d=new me(""),u=ae.ISO8859_1;d.enableDecoding(u);let m=1,p=s[m++],v=new dc;for(;ms[0])throw ee.getFormatInstance();let u=new Int32Array(rt.NUMBER_OF_SEQUENCE_CODEWORDS);for(let v=0;v0){for(let _e=0;_e<6;++_e)p.write(Number(hs(M)>>hs(8*(5-_e))));M=0,v=0}}u===l[0]&&ue0){for(let xe=0;xe<6;++xe)p.write(Number(hs(M)>>hs(8*(5-xe))));M=0,v=0}}}return m.append(re.decode(p.toByteArray(),d)),u}static numericCompaction(s,l,d){let u=0,m=!1,p=new Int32Array(rt.MAX_NUMERIC_CODEWORDS);for(;l0&&(d.append(rt.decodeBase900toBase10(p,u)),u=0)}return l}static decodeBase900toBase10(s,l){let d=hs(0);for(let m=0;m@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",rt.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",rt.EXP900=si()?function Na(){let Y=[];Y[0]=hs(1);let s=hs(900);Y[1]=s;for(let l=2;l<16;l++)Y[l]=Y[l-1]*s;return Y}():[],rt.NUMBER_OF_SEQUENCE_CODEWORDS=2;class Ji{constructor(){}static decode(s,l,d,u,m,p,v){let ue,M=new el(s,l,d,u,m),H=null,$=null;for(let Le=!0;;Le=!1){if(null!=l&&(H=Ji.getRowIndicatorColumn(s,M,l,!0,p,v)),null!=u&&($=Ji.getRowIndicatorColumn(s,M,u,!1,p,v)),ue=Ji.merge(H,$),null==ue)throw ve.getNotFoundInstance();let je=ue.getBoundingBox();if(!Le||null==je||!(je.getMinY()M.getMaxY()))break;M=je}ue.setBoundingBox(M);let _e=ue.getBarcodeColumnCount()+1;ue.setDetectionResultColumn(0,H),ue.setDetectionResultColumn(_e,$);let xe=null!=H;for(let Le=1;Le<=_e;Le++){let Ye,je=xe?Le:_e-Le;if(void 0!==ue.getDetectionResultColumn(je))continue;Ye=0===je||je===_e?new It(M,0===je):new it(M),ue.setDetectionResultColumn(je,Ye);let Xe=-1,kt=Xe;for(let Ut=M.getMinY();Ut<=M.getMaxY();Ut++){if(Xe=Ji.getStartColumn(ue,je,Ut,xe),Xe<0||Xe>M.getMaxX()){if(-1===kt)continue;Xe=kt}let lt=Ji.detectCodeword(s,M.getMinX(),M.getMaxX(),xe,Xe,Ut,p,v);null!=lt&&(Ye.setCodeword(Ut,lt),kt=Xe,p=Math.min(p,lt.getWidth()),v=Math.max(v,lt.getWidth()))}}return Ji.createDecoderResult(ue)}static merge(s,l){if(null==s&&null==l)return null;let d=Ji.getBarcodeMetadata(s,l);if(null==d)return null;let u=el.merge(Ji.adjustBoundingBox(s),Ji.adjustBoundingBox(l));return new Lo(d,u)}static adjustBoundingBox(s){if(null==s)return null;let l=s.getRowHeights();if(null==l)return null;let d=Ji.getMax(l),u=0;for(let v of l)if(u+=d-v,v>0)break;let m=s.getCodewords();for(let v=0;u>0&&null==m[v];v++)u--;let p=0;for(let v=l.length-1;v>=0&&(p+=d-l[v],!(l[v]>0));v--);for(let v=m.length-1;p>0&&null==m[v];v--)p--;return s.getBoundingBox().addMissingRows(u,p,s.isLeft())}static getMax(s){let l=-1;for(let d of s)l=Math.max(l,d);return l}static getBarcodeMetadata(s,l){let d,u;return null==s||null==(d=s.getBarcodeMetadata())?null==l?null:l.getBarcodeMetadata():null==l||null==(u=l.getBarcodeMetadata())?d:d.getColumnCount()!==u.getColumnCount()&&d.getErrorCorrectionLevel()!==u.getErrorCorrectionLevel()&&d.getRowCount()!==u.getRowCount()?null:d}static getRowIndicatorColumn(s,l,d,u,m,p){let v=new It(l,u);for(let M=0;M<2;M++){let H=0===M?1:-1,$=Math.trunc(Math.trunc(d.getX()));for(let ue=Math.trunc(Math.trunc(d.getY()));ue<=l.getMaxY()&&ue>=l.getMinY();ue+=H){let _e=Ji.detectCodeword(s,0,s.getWidth(),u,$,ue,m,p);null!=_e&&(v.setCodeword(ue,_e),$=u?_e.getStartX():_e.getEndX())}}return v}static adjustCodewordCount(s,l){let d=l[0][1],u=d.getValue(),m=s.getBarcodeColumnCount()*s.getBarcodeRowCount()-Ji.getNumberOfECCodeWords(s.getBarcodeECLevel());if(0===u.length){if(m<1||m>Di.MAX_CODEWORDS_IN_BARCODE)throw ve.getNotFoundInstance();d.setValue(m)}else u[0]!==m&&d.setValue(m)}static createDecoderResult(s){let l=Ji.createBarcodeMatrix(s);Ji.adjustCodewordCount(s,l);let d=new Array,u=new Int32Array(s.getBarcodeRowCount()*s.getBarcodeColumnCount()),m=[],p=new Array;for(let M=0;M0;){for(let M=0;Mnew Array(s.getBarcodeColumnCount()+2));for(let u=0;u=0){if(p>=l.length)continue;l[p][d].setValue(m.getValue())}}d++}return l}static isValidBarcodeColumn(s,l){return l>=0&&l<=s.getBarcodeColumnCount()+1}static getStartColumn(s,l,d,u){let m=u?1:-1,p=null;if(Ji.isValidBarcodeColumn(s,l-m)&&(p=s.getDetectionResultColumn(l-m).getCodeword(d)),null!=p)return u?p.getEndX():p.getStartX();if(p=s.getDetectionResultColumn(l).getCodewordNearby(d),null!=p)return u?p.getStartX():p.getEndX();if(Ji.isValidBarcodeColumn(s,l-m)&&(p=s.getDetectionResultColumn(l-m).getCodewordNearby(d)),null!=p)return u?p.getEndX():p.getStartX();let v=0;for(;Ji.isValidBarcodeColumn(s,l-m);){l-=m;for(let M of s.getDetectionResultColumn(l).getCodewords())if(null!=M)return(u?M.getEndX():M.getStartX())+m*v*(M.getEndX()-M.getStartX());v++}return u?s.getBoundingBox().getMinX():s.getBoundingBox().getMaxX()}static detectCodeword(s,l,d,u,m,p,v,M){m=Ji.adjustCodewordStartColumn(s,l,d,u,m,p);let H=Ji.getModuleBitCount(s,l,d,u,m,p);if(null==H)return null;let $,ue=Gt.sum(H);if(u)$=m+ue;else{for(let Le=0;Le=l)&&H=l:vJi.CODEWORD_SKEW_SIZE)return m;v+=M}M=-M,u=!u}return v}static checkCodewordSkew(s,l,d){return l-Ji.CODEWORD_SKEW_SIZE<=s&&s<=d+Ji.CODEWORD_SKEW_SIZE}static decodeCodewords(s,l,d){if(0===s.length)throw ee.getFormatInstance();let u=1<d/2+Ji.MAX_ERRORS||d<0||d>Ji.MAX_EC_CODEWORDS)throw Q.getChecksumInstance();return Ji.errorCorrection.decode(s,d,l)}static verifyCodewordCount(s,l){if(s.length<4)throw ee.getFormatInstance();let d=s[0];if(d>s.length)throw ee.getFormatInstance();if(0===d){if(!(l>=1;return l}static getCodewordBucketNumber(s){return s instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(s):this.getCodewordBucketNumber_number(s)}static getCodewordBucketNumber_number(s){return Ji.getCodewordBucketNumber(Ji.getBitCountForCodeword(s))}static getCodewordBucketNumber_Int32Array(s){return(s[0]-s[2]+s[4]-s[6]+9)%9}static toString(s){let l=new lc;for(let d=0;dp)}static getMaxWidth(s,l){return null==s||null==l?0:Math.trunc(Math.abs(s.getX()-l.getX()))}static getMinWidth(s,l){return null==s||null==l?q.MAX_VALUE:Math.trunc(Math.abs(s.getX()-l.getX()))}static getMaxCodewordWidth(s){return Math.floor(Math.max(Math.max(Li.getMaxWidth(s[0],s[4]),Li.getMaxWidth(s[6],s[2])*Di.MODULES_IN_CODEWORD/Di.MODULES_IN_STOP_PATTERN),Math.max(Li.getMaxWidth(s[1],s[5]),Li.getMaxWidth(s[7],s[3])*Di.MODULES_IN_CODEWORD/Di.MODULES_IN_STOP_PATTERN)))}static getMinCodewordWidth(s){return Math.floor(Math.min(Math.min(Li.getMinWidth(s[0],s[4]),Li.getMinWidth(s[6],s[2])*Di.MODULES_IN_CODEWORD/Di.MODULES_IN_STOP_PATTERN),Math.min(Li.getMinWidth(s[1],s[5]),Li.getMinWidth(s[7],s[3])*Di.MODULES_IN_CODEWORD/Di.MODULES_IN_STOP_PATTERN)))}reset(){}}let Ro=(()=>{class Y extends I{}return Y.kind="ReaderException",Y})();class uc{constructor(s,l){this.verbose=!0===s,l&&this.setHints(l)}decode(s,l){return l&&this.setHints(l),this.decodeInternal(s)}decodeWithState(s){return null==this.readers&&this.setHints(null),this.decodeInternal(s)}setHints(s){this.hints=s;const l=!E(s)&&!0===s.get(le.TRY_HARDER),d=E(s)?null:s.get(le.POSSIBLE_FORMATS),u=new Array;if(!E(d)){const m=d.some(p=>p===nt.UPC_A||p===nt.UPC_E||p===nt.EAN_13||p===nt.EAN_8||p===nt.CODABAR||p===nt.CODE_39||p===nt.CODE_93||p===nt.CODE_128||p===nt.ITF||p===nt.RSS_14||p===nt.RSS_EXPANDED);m&&!l&&u.push(new Io(s,this.verbose)),d.includes(nt.QR_CODE)&&u.push(new ds),d.includes(nt.DATA_MATRIX)&&u.push(new Yi),d.includes(nt.AZTEC)&&u.push(new $r),d.includes(nt.PDF_417)&&u.push(new Li),m&&l&&u.push(new Io(s,this.verbose))}0===u.length&&(l||u.push(new Io(s,this.verbose)),u.push(new ds),u.push(new Yi),u.push(new $r),u.push(new Li),l&&u.push(new Io(s,this.verbose))),this.readers=u}reset(){if(null!==this.readers)for(const s of this.readers)s.reset()}decodeInternal(s){if(null===this.readers)throw new Ro("No readers where selected, nothing can be read.");for(const l of this.readers)try{return l.decode(s,this.hints)}catch(d){if(d instanceof Ro)continue}throw new ve("No MultiFormat Readers were able to detect the code.")}}var wo=(()=>{return(Y=wo||(wo={}))[Y.ERROR_CORRECTION=0]="ERROR_CORRECTION",Y[Y.CHARACTER_SET=1]="CHARACTER_SET",Y[Y.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",Y[Y.MIN_SIZE=3]="MIN_SIZE",Y[Y.MAX_SIZE=4]="MAX_SIZE",Y[Y.MARGIN=5]="MARGIN",Y[Y.PDF417_COMPACT=6]="PDF417_COMPACT",Y[Y.PDF417_COMPACTION=7]="PDF417_COMPACTION",Y[Y.PDF417_DIMENSIONS=8]="PDF417_DIMENSIONS",Y[Y.AZTEC_LAYERS=9]="AZTEC_LAYERS",Y[Y.QR_VERSION=10]="QR_VERSION",wo;var Y})(),Hr=wo;class wa{constructor(s){this.field=s,this.cachedGenerators=[],this.cachedGenerators.push(new rn(s,Int32Array.from([1])))}buildGenerator(s){const l=this.cachedGenerators;if(s>=l.length){let d=l[l.length-1];const u=this.field;for(let m=l.length;m<=s;m++){const p=d.multiply(new rn(u,Int32Array.from([1,u.exp(m-1+u.getGeneratorBase())])));l.push(p),d=p}}return l[s]}encode(s,l){if(0===l)throw new O("No error correction bytes");const d=s.length-l;if(d<=0)throw new O("No data bytes provided");const u=this.buildGenerator(l),m=new Int32Array(d);V.arraycopy(s,0,m,0,d);let p=new rn(this.field,m);p=p.multiplyByMonomial(l,1);const M=p.divide(u)[1].getCoefficients(),H=l-M.length;for(let $=0;${class Y{constructor(){}static applyMaskPenaltyRule1(l){return Y.applyMaskPenaltyRule1Internal(l,!0)+Y.applyMaskPenaltyRule1Internal(l,!1)}static applyMaskPenaltyRule2(l){let d=0;const u=l.getArray(),m=l.getWidth(),p=l.getHeight();for(let v=0;v=5&&(u+=Y.N1+(H-5)),H=1,$=_e)}H>=5&&(u+=Y.N1+(H-5))}return u}}return Y.N1=3,Y.N2=3,Y.N3=40,Y.N4=10,Y})();class Bo{constructor(s,l){this.width=s,this.height=l;const d=new Array(l);for(let u=0;u!==l;u++)d[u]=new Uint8Array(s);this.bytes=d}getHeight(){return this.height}getWidth(){return this.width}get(s,l){return this.bytes[l][s]}getArray(){return this.bytes}setNumber(s,l,d){this.bytes[l][s]=d}setBoolean(s,l,d){this.bytes[l][s]=d?1:0}clear(s){for(const l of this.bytes)ie.fill(l,s)}equals(s){if(!(s instanceof Bo))return!1;const l=s;if(this.width!==l.width||this.height!==l.height)return!1;for(let d=0,u=this.height;d{class Y{constructor(){this.maskPattern=-1}getMode(){return this.mode}getECLevel(){return this.ecLevel}getVersion(){return this.version}getMaskPattern(){return this.maskPattern}getMatrix(){return this.matrix}toString(){const l=new me;return l.append("<<\n"),l.append(" mode: "),l.append(this.mode?this.mode.toString():"null"),l.append("\n ecLevel: "),l.append(this.ecLevel?this.ecLevel.toString():"null"),l.append("\n version: "),l.append(this.version?this.version.toString():"null"),l.append("\n maskPattern: "),l.append(this.maskPattern.toString()),this.matrix?(l.append("\n matrix:\n"),l.append(this.matrix.toString())):l.append("\n matrix: null\n"),l.append(">>\n"),l.toString()}setMode(l){this.mode=l}setECLevel(l){this.ecLevel=l}setVersion(l){this.version=l}setMaskPattern(l){this.maskPattern=l}setMatrix(l){this.matrix=l}static isValidMaskPattern(l){return l>=0&&l{class Y extends I{}return Y.kind="WriterException",Y})();class bi{constructor(){}static clearMatrix(s){s.clear(255)}static buildMatrix(s,l,d,u,m){bi.clearMatrix(m),bi.embedBasicPatterns(d,m),bi.embedTypeInfo(l,u,m),bi.maybeEmbedVersionInfo(d,m),bi.embedDataBits(s,u,m)}static embedBasicPatterns(s,l){bi.embedPositionDetectionPatternsAndSeparators(l),bi.embedDarkDotAtLeftBottomCorner(l),bi.maybeEmbedPositionAdjustmentPatterns(s,l),bi.embedTimingPatterns(l)}static embedTypeInfo(s,l,d){const u=new z;bi.makeTypeInfoBits(s,l,u);for(let m=0,p=u.getSize();m0;){for(6===p&&(p-=1);v>=0&&v=d;)s^=l<=0)for(let M=0;M!==p;M++){const H=u[M];H>=0&&bi.isEmpty(l.get(H,v))&&bi.embedPositionAdjustmentPattern(H-2,v-2,l)}}}}bi.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),bi.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),bi.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),bi.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),bi.VERSION_INFO_POLY=7973,bi.TYPE_INFO_POLY=1335,bi.TYPE_INFO_MASK_PATTERN=21522;class Ee{constructor(s,l){this.dataBytes=s,this.errorCorrectionBytes=l}getDataBytes(){return this.dataBytes}getErrorCorrectionBytes(){return this.errorCorrectionBytes}}class er{constructor(){}static calculateMaskPenalty(s){return il.applyMaskPenaltyRule1(s)+il.applyMaskPenaltyRule2(s)+il.applyMaskPenaltyRule3(s)+il.applyMaskPenaltyRule4(s)}static encode(s,l,d=null){let u=er.DEFAULT_BYTE_MODE_ENCODING;const m=null!==d&&void 0!==d.get(Hr.CHARACTER_SET);m&&(u=d.get(Hr.CHARACTER_SET).toString());const p=this.chooseMode(s,u),v=new z;if(p===wi.BYTE&&(m||er.DEFAULT_BYTE_MODE_ENCODING!==u)){const Ut=ae.getCharacterSetECIByName(u);void 0!==Ut&&this.appendECI(Ut,v)}this.appendModeInfo(p,v);const M=new z;let H;if(this.appendBytes(s,p,M,u),null!==d&&void 0!==d.get(Hr.QR_VERSION)){const Ut=Number.parseInt(d.get(Hr.QR_VERSION).toString(),10);H=oi.getVersionForNumber(Ut);const lt=this.calculateBitsNeeded(p,v,M,H);if(!this.willFit(lt,H,l))throw new kn("Data too big for requested version")}else H=this.recommendVersion(l,p,v,M);const $=new z;$.appendBitArray(v);const ue=p===wi.BYTE?M.getSizeInBytes():s.length;this.appendLengthInfo(ue,H,p,$),$.appendBitArray(M);const _e=H.getECBlocksForLevel(l),xe=H.getTotalCodewords()-_e.getTotalECCodewords();this.terminateBits(xe,$);const Le=this.interleaveWithECBytes($,H.getTotalCodewords(),xe,_e.getNumBlocks()),je=new Fo;je.setECLevel(l),je.setMode(p),je.setVersion(H);const Ye=H.getDimensionForVersion(),Xe=new Bo(Ye,Ye),kt=this.chooseMaskPattern(Le,l,H,Xe);return je.setMaskPattern(kt),bi.buildMatrix(Le,l,H,kt,Xe),je.setMatrix(Xe),je}static recommendVersion(s,l,d,u){const m=this.calculateBitsNeeded(l,d,u,oi.getVersionForNumber(1)),p=this.chooseVersion(m,s),v=this.calculateBitsNeeded(l,d,u,p);return this.chooseVersion(v,s)}static calculateBitsNeeded(s,l,d,u){return l.getSize()+s.getCharacterCountBits(u)+d.getSize()}static getAlphanumericCode(s){return s159)&&(m<224||m>235))return!1}return!0}static chooseMaskPattern(s,l,d,u){let m=Number.MAX_SAFE_INTEGER,p=-1;for(let v=0;v=(s+7)/8}static terminateBits(s,l){const d=8*s;if(l.getSize()>d)throw new kn("data bits cannot fit in the QR Code"+l.getSize()+" > "+d);for(let p=0;p<4&&l.getSize()0)for(let p=u;p<8;p++)l.appendBit(!1);const m=s-l.getSizeInBytes();for(let p=0;p=d)throw new kn("Block ID too large");const v=s%d,M=d-v,H=Math.floor(s/d),$=H+1,ue=Math.floor(l/d),_e=ue+1,xe=H-ue,Le=$-_e;if(xe!==Le)throw new kn("EC bytes mismatch");if(d!==M+v)throw new kn("RS blocks mismatch");if(s!==(ue+xe)*M+(_e+Le)*v)throw new kn("Total bytes mismatch");u=1<=0&&l<=9}static appendNumericBytes(s,l){const d=s.length;let u=0;for(;u=33088&&M<=40956?H=M-33088:M>=57408&&M<=60351&&(H=M-49472),-1===H)throw new kn("Invalid byte sequence");l.appendBits(192*(H>>8)+(255&H),13)}}static appendECI(s,l){l.appendBits(wi.ECI.getBits(),4),l.appendBits(s.getValue(),8)}}er.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),er.DEFAULT_BYTE_MODE_ENCODING=ae.UTF8.getName();let Xt=(()=>{class Y{write(l,d,u,m=null){if(0===l.length)throw new O("Found empty contents");if(d<0||u<0)throw new O("Requested dimensions are too small: "+d+"x"+u);let p=Pt.L,v=Y.QUIET_ZONE_SIZE;null!==m&&(void 0!==m.get(Hr.ERROR_CORRECTION)&&(p=Pt.fromString(m.get(Hr.ERROR_CORRECTION).toString())),void 0!==m.get(Hr.MARGIN)&&(v=Number.parseInt(m.get(Hr.MARGIN).toString(),10)));const M=er.encode(l,p,m);return this.renderResult(M,d,u,v)}writeToDom(l,d,u,m,p=null){"string"==typeof l&&(l=document.querySelector(l));const v=this.write(d,u,m,p);l&&l.appendChild(v)}renderResult(l,d,u,m){const p=l.getMatrix();if(null===p)throw new jt;const v=p.getWidth(),M=p.getHeight(),H=v+2*m,$=M+2*m,ue=Math.max(d,H),_e=Math.max(u,$),xe=Math.min(Math.floor(ue/H),Math.floor(_e/$)),Le=Math.floor((ue-v*xe)/2),je=Math.floor((_e-M*xe)/2),Ye=this.createSVGElement(ue,_e);for(let Xe=0,kt=je;Xe{class Y{encode(l,d,u,m,p){if(0===l.length)throw new O("Found empty contents");if(d!==nt.QR_CODE)throw new O("Can only encode QR_CODE, but got "+d);if(u<0||m<0)throw new O(`Requested dimensions are too small: ${u}x${m}`);let v=Pt.L,M=Y.QUIET_ZONE_SIZE;null!==p&&(void 0!==p.get(Hr.ERROR_CORRECTION)&&(v=Pt.fromString(p.get(Hr.ERROR_CORRECTION).toString())),void 0!==p.get(Hr.MARGIN)&&(M=Number.parseInt(p.get(Hr.MARGIN).toString(),10)));const H=er.encode(l,v,p);return Y.renderResult(H,u,m,M)}static renderResult(l,d,u,m){const p=l.getMatrix();if(null===p)throw new jt;const v=p.getWidth(),M=p.getHeight(),H=v+2*m,$=M+2*m,ue=Math.max(d,H),_e=Math.max(u,$),xe=Math.min(Math.floor(ue/H),Math.floor(_e/$)),Le=Math.floor((ue-v*xe)/2),je=Math.floor((_e-M*xe)/2),Ye=new ge(ue,_e);for(let Xe=0,kt=je;Xe{class Y extends st{constructor(l,d,u,m,p,v,M,H){if(super(v,M),this.yuvData=l,this.dataWidth=d,this.dataHeight=u,this.left=m,this.top=p,m+v>d||p+M>u)throw new O("Crop rectangle does not fit within image data.");H&&this.reverseHorizontal(v,M)}getRow(l,d){if(l<0||l>=this.getHeight())throw new O("Requested row is outside the image: "+l);const u=this.getWidth();return(null==d||d.length>16&255)+(ue>>7&510)+(255&ue))/4&255}this.luminances=H}else this.luminances=s;if(void 0===u&&(this.dataWidth=l),void 0===m&&(this.dataHeight=d),void 0===p&&(this.left=0),void 0===v&&(this.top=0),this.left+l>this.dataWidth||this.top+d>this.dataHeight)throw new O("Crop rectangle does not fit within image data.")}getRow(s,l){if(s<0||s>=this.getHeight())throw new O("Requested row is outside the image: "+s);const d=this.getWidth();return(null==l||l.length"}}class Fe extends J{constructor(s,l,d){super(s,0,0),this.binaryShiftStart=l,this.binaryShiftByteCount=d}appendTo(s,l){for(let d=0;d62?s.appendBits(this.binaryShiftByteCount-31,16):s.appendBits(0===d?Math.min(this.binaryShiftByteCount,31):this.binaryShiftByteCount-31,5)),s.appendBits(l[this.binaryShiftStart+d],8)}addBinaryShift(s,l){return new Fe(this,s,l)}toString(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"}}function Ce(Y,s,l){return new J(Y,s,l)}const gt=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],vt=0,Fi=1,Si=2,xi=3,$t=4,qn=new J(null,0,0),$e=[Int32Array.from([0,327708,327710,327709,656318]),Int32Array.from([590318,0,327710,327709,656318]),Int32Array.from([262158,590300,0,590301,932798]),Int32Array.from([327709,327708,656318,0,327710]),Int32Array.from([327711,656380,656382,656381,0])];const ms=function Vo(Y){for(let s of Y)ie.fill(s,-1);return Y[vt][$t]=0,Y[Fi][$t]=0,Y[Fi][vt]=28,Y[xi][$t]=0,Y[Si][$t]=0,Y[Si][vt]=15,Y}(ie.createInt32Array(6,6));class xa{constructor(s,l,d,u){this.token=s,this.mode=l,this.binaryShiftByteCount=d,this.bitCount=u}getMode(){return this.mode}getToken(){return this.token}getBinaryShiftByteCount(){return this.binaryShiftByteCount}getBitCount(){return this.bitCount}latchAndAppend(s,l){let d=this.bitCount,u=this.token;if(s!==this.mode){let p=$e[this.mode][s];u=Ce(u,65535&p,p>>16),d+=p>>16}let m=s===Si?4:5;return u=Ce(u,l,m),new xa(u,s,0,d+m)}shiftAndAppend(s,l){let d=this.token,u=this.mode===Si?4:5;return d=Ce(d,ms[this.mode][s],u),d=Ce(d,l,5),new xa(d,this.mode,0,this.bitCount+u+5)}addBinaryShiftChar(s){let l=this.token,d=this.mode,u=this.bitCount;if(this.mode===$t||this.mode===Si){let v=$e[d][vt];l=Ce(l,65535&v,v>>16),u+=v>>16,d=vt}let p=new xa(l,d,this.binaryShiftByteCount+1,u+(0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8));return 2078===p.binaryShiftByteCount&&(p=p.endBinaryShift(s+1)),p}endBinaryShift(s){if(0===this.binaryShiftByteCount)return this;let l=this.token;return l=function Me(Y,s,l){return new Fe(Y,s,l)}(l,s-this.binaryShiftByteCount,this.binaryShiftByteCount),new xa(l,this.mode,0,this.bitCount)}isBetterThanOrEqualTo(s){let l=this.bitCount+($e[this.mode][s.mode]>>16);return this.binaryShiftByteCounts.binaryShiftByteCount&&s.binaryShiftByteCount>0&&(l+=10),l<=s.bitCount}toBitArray(s){let l=[];for(let u=this.endBinaryShift(s.length).token;null!==u;u=u.getPrevious())l.unshift(u);let d=new z;for(const u of l)u.appendTo(d,s);return d}toString(){return de.format("%s bits=%d bytes=%d",gt[this.mode],this.bitCount,this.binaryShiftByteCount)}static calculateBinaryShiftCost(s){return s.binaryShiftByteCount>62?21:s.binaryShiftByteCount>31?20:s.binaryShiftByteCount>0?10:0}}xa.INITIAL_STATE=new xa(qn,vt,0,0);const Ko=function Dt(Y){const s=de.getCharCode(" "),l=de.getCharCode("."),d=de.getCharCode(",");Y[vt][s]=1;const u=de.getCharCode("Z"),m=de.getCharCode("A");for(let _e=m;_e<=u;_e++)Y[vt][_e]=_e-m+2;Y[Fi][s]=1;const p=de.getCharCode("z"),v=de.getCharCode("a");for(let _e=v;_e<=p;_e++)Y[Fi][_e]=_e-v+2;Y[Si][s]=1;const M=de.getCharCode("9"),H=de.getCharCode("0");for(let _e=H;_e<=M;_e++)Y[Si][_e]=_e-H+2;Y[Si][d]=12,Y[Si][l]=13;const $=["\0"," ","\x01","\x02","\x03","\x04","\x05","\x06","\x07","\b","\t","\n","\v","\f","\r","\x1b","\x1c","\x1d","\x1e","\x1f","@","\\","^","_","`","|","~","\x7f"];for(let _e=0;_e<$.length;_e++)Y[xi][de.getCharCode($[_e])]=_e;const ue=["\0","\r","\0","\0","\0","\0","!","'","#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}"];for(let _e=0;_e0&&(Y[$t][de.getCharCode(ue[_e])]=_e);return Y}(ie.createInt32Array(5,256));class fs{constructor(s){this.text=s}encode(){const s=de.getCharCode(" "),l=de.getCharCode("\n");let d=no.singletonList(xa.INITIAL_STATE);for(let m=0;m0?(d=fs.updateStateListForPair(d,m,p),m++):d=this.updateStateListForChar(d,m)}return no.min(d,(m,p)=>m.getBitCount()-p.getBitCount()).toBitArray(this.text)}updateStateListForChar(s,l){const d=[];for(let u of s)this.updateStateForChar(u,l,d);return fs.simplifyStates(d)}updateStateForChar(s,l,d){let u=255&this.text[l],m=Ko[s.getMode()][u]>0,p=null;for(let v=0;v<=$t;v++){let M=Ko[v][u];if(M>0){if(null==p&&(p=s.endBinaryShift(l)),!m||v===s.getMode()||v===Si){const H=p.latchAndAppend(v,M);d.push(H)}if(!m&&ms[s.getMode()][v]>=0){const H=p.shiftAndAppend(v,M);d.push(H)}}}if(s.getBinaryShiftByteCount()>0||0===Ko[s.getMode()][u]){let v=s.addBinaryShiftChar(l);d.push(v)}}static updateStateListForPair(s,l,d){const u=[];for(let m of s)this.updateStateForPair(m,l,d,u);return this.simplifyStates(u)}static updateStateForPair(s,l,d,u){let m=s.endBinaryShift(l);if(u.push(m.latchAndAppend($t,d)),s.getMode()!==$t&&u.push(m.shiftAndAppend($t,d)),3===d||4===d){let p=m.latchAndAppend(Si,16-d).latchAndAppend(Si,1);u.push(p)}if(s.getBinaryShiftByteCount()>0){let p=s.addBinaryShiftChar(l).addBinaryShiftChar(l+1);u.push(p)}}static simplifyStates(s){let l=[];for(const d of s){let u=!0;for(const m of l){if(m.isBetterThanOrEqualTo(d)){u=!1;break}d.isBetterThanOrEqualTo(m)&&(l=l.filter(p=>p!==m))}u&&l.push(d)}return l}}class Oe{constructor(){}static encodeBytes(s){return Oe.encode(s,Oe.DEFAULT_EC_PERCENT,Oe.DEFAULT_AZTEC_LAYERS)}static encode(s,l,d){let v,M,H,$,ue,u=new fs(s).encode(),m=q.truncDivision(u.getSize()*l,100)+11,p=u.getSize()+m;if(d!==Oe.DEFAULT_AZTEC_LAYERS){if(v=d<0,M=Math.abs(d),M>(v?Oe.MAX_NB_BITS_COMPACT:Oe.MAX_NB_BITS))throw new O(de.format("Illegal value %s for layers",d));H=Oe.totalBitsInLayer(M,v),$=Oe.WORD_SIZE[M];let lt=H-H%$;if(ue=Oe.stuffBits(u,$),ue.getSize()+m>lt)throw new O("Data to large for user specified layer");if(v&&ue.getSize()>64*$)throw new O("Data to large for user specified layer")}else{$=0,ue=null;for(let lt=0;;lt++){if(lt>Oe.MAX_NB_BITS)throw new O("Data too large for an Aztec code");if(v=lt<=3,M=v?lt+1:lt,H=Oe.totalBitsInLayer(M,v),p>H)continue;(null==ue||$!==Oe.WORD_SIZE[M])&&($=Oe.WORD_SIZE[M],ue=Oe.stuffBits(u,$));let Ai=H-H%$;if(!(v&&ue.getSize()>64*$)&&ue.getSize()+m<=Ai)break}}let Xe,_e=Oe.generateCheckWords(ue,H,$),xe=ue.getSize()/$,Le=Oe.generateModeMessage(v,M,xe),je=(v?11:14)+4*M,Ye=new Int32Array(je);if(v){Xe=je;for(let lt=0;lt=u||s.get(p+M))&&(v|=1<0&&ae.has(this.stack[this.stack.length-1]);){var he=this.stack.pop();null===(le=(ce=this.cbs).onclosetag)||void 0===le||le.call(ce,he,!0)}this.isVoidElement(z)||(this.stack.push(z),V.has(z)?this.foreignContext.push(!0):ne.has(z)&&this.foreignContext.push(!1)),null===(K=(ee=this.cbs).onopentagname)||void 0===K||K.call(ee,z),this.cbs.onopentag&&(this.attribs={})},q.prototype.endOpenTag=function(z){var ce,le;this.startIndex=this.openTagStart,this.attribs&&(null===(le=(ce=this.cbs).onopentag)||void 0===le||le.call(ce,this.tagname,this.attribs,z),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},q.prototype.onopentagend=function(z){this.endIndex=z,this.endOpenTag(!1),this.startIndex=z+1},q.prototype.onclosetag=function(z,ce){var le,ee,K,ae,he,re;this.endIndex=ce;var de=this.getSlice(z,ce);if(this.lowerCaseTagNames&&(de=de.toLowerCase()),(V.has(de)||ne.has(de))&&this.foreignContext.pop(),this.isVoidElement(de))!this.options.xmlMode&&"br"===de&&(null===(ee=(le=this.cbs).onopentagname)||void 0===ee||ee.call(le,"br"),null===(ae=(K=this.cbs).onopentag)||void 0===ae||ae.call(K,"br",{},!0),null===(re=(he=this.cbs).onclosetag)||void 0===re||re.call(he,"br",!1));else{var me=this.stack.lastIndexOf(de);if(-1!==me)if(this.cbs.onclosetag)for(var ge=this.stack.length-me;ge--;)this.cbs.onclosetag(this.stack.pop(),0!==ge);else this.stack.length=me;else!this.options.xmlMode&&"p"===de&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=ce+1},q.prototype.onselfclosingtag=function(z){this.endIndex=z,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=z+1):this.onopentagend(z)},q.prototype.closeCurrentTag=function(z){var ce,le,ee=this.tagname;this.endOpenTag(z),this.stack[this.stack.length-1]===ee&&(null===(le=(ce=this.cbs).onclosetag)||void 0===le||le.call(ce,ee,!z),this.stack.pop())},q.prototype.onattribname=function(z,ce){this.startIndex=z;var le=this.getSlice(z,ce);this.attribname=this.lowerCaseAttributeNames?le.toLowerCase():le},q.prototype.onattribdata=function(z,ce){this.attribvalue+=this.getSlice(z,ce)},q.prototype.onattribentity=function(z){this.attribvalue+=(0,x.fromCodePoint)(z)},q.prototype.onattribend=function(z,ce){var le,ee;this.endIndex=ce,null===(ee=(le=this.cbs).onattribute)||void 0===ee||ee.call(le,this.attribname,this.attribvalue,z===_.QuoteType.Double?'"':z===_.QuoteType.Single?"'":z===_.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},q.prototype.getInstructionName=function(z){var ce=z.search(G),le=ce<0?z:z.substr(0,ce);return this.lowerCaseTagNames&&(le=le.toLowerCase()),le},q.prototype.ondeclaration=function(z,ce){this.endIndex=ce;var le=this.getSlice(z,ce);if(this.cbs.onprocessinginstruction){var ee=this.getInstructionName(le);this.cbs.onprocessinginstruction("!".concat(ee),"!".concat(le))}this.startIndex=ce+1},q.prototype.onprocessinginstruction=function(z,ce){this.endIndex=ce;var le=this.getSlice(z,ce);if(this.cbs.onprocessinginstruction){var ee=this.getInstructionName(le);this.cbs.onprocessinginstruction("?".concat(ee),"?".concat(le))}this.startIndex=ce+1},q.prototype.oncomment=function(z,ce,le){var ee,K,ae,he;this.endIndex=ce,null===(K=(ee=this.cbs).oncomment)||void 0===K||K.call(ee,this.getSlice(z,ce-le)),null===(he=(ae=this.cbs).oncommentend)||void 0===he||he.call(ae),this.startIndex=ce+1},q.prototype.oncdata=function(z,ce,le){var ee,K,ae,he,re,de,me,ge,ve,ze;this.endIndex=ce;var Re=this.getSlice(z,ce-le);this.options.xmlMode||this.options.recognizeCDATA?(null===(K=(ee=this.cbs).oncdatastart)||void 0===K||K.call(ee),null===(he=(ae=this.cbs).ontext)||void 0===he||he.call(ae,Re),null===(de=(re=this.cbs).oncdataend)||void 0===de||de.call(re)):(null===(ge=(me=this.cbs).oncomment)||void 0===ge||ge.call(me,"[CDATA[".concat(Re,"]]")),null===(ze=(ve=this.cbs).oncommentend)||void 0===ze||ze.call(ve)),this.startIndex=ce+1},q.prototype.onend=function(){var z,ce;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var le=this.stack.length;le>0;this.cbs.onclosetag(this.stack[--le],!0));}null===(ce=(z=this.cbs).onend)||void 0===ce||ce.call(z)},q.prototype.reset=function(){var z,ce,le,ee;null===(ce=(z=this.cbs).onreset)||void 0===ce||ce.call(z),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(ee=(le=this.cbs).onparserinit)||void 0===ee||ee.call(le,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},q.prototype.parseComplete=function(z){this.reset(),this.end(z)},q.prototype.getSlice=function(z,ce){for(;z-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var le=this.buffers[0].slice(z-this.bufferOffset,ce-this.bufferOffset);ce-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),le+=this.buffers[0].slice(0,ce-this.bufferOffset);return le},q.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},q.prototype.write=function(z){var ce,le;this.ended?null===(le=(ce=this.cbs).onerror)||void 0===le||le.call(ce,new Error(".write() after done!")):(this.buffers.push(z),this.tokenizer.running&&(this.tokenizer.write(z),this.writeIndex++))},q.prototype.end=function(z){var ce,le;this.ended?null===(le=(ce=this.cbs).onerror)||void 0===le||le.call(ce,Error(".end() after done!")):(z&&this.write(z),this.ended=!0,this.tokenizer.end())},q.prototype.pause=function(){this.tokenizer.pause()},q.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.QuoteType=void 0;var O,j,E=T(6569),g=(()=>{return(j=g||(g={}))[j.Tab=9]="Tab",j[j.NewLine=10]="NewLine",j[j.FormFeed=12]="FormFeed",j[j.CarriageReturn=13]="CarriageReturn",j[j.Space=32]="Space",j[j.ExclamationMark=33]="ExclamationMark",j[j.Num=35]="Num",j[j.Amp=38]="Amp",j[j.SingleQuote=39]="SingleQuote",j[j.DoubleQuote=34]="DoubleQuote",j[j.Dash=45]="Dash",j[j.Slash=47]="Slash",j[j.Zero=48]="Zero",j[j.Nine=57]="Nine",j[j.Semi=59]="Semi",j[j.Lt=60]="Lt",j[j.Eq=61]="Eq",j[j.Gt=62]="Gt",j[j.Questionmark=63]="Questionmark",j[j.UpperA=65]="UpperA",j[j.LowerA=97]="LowerA",j[j.UpperF=70]="UpperF",j[j.LowerF=102]="LowerF",j[j.UpperZ=90]="UpperZ",j[j.LowerZ=122]="LowerZ",j[j.LowerX=120]="LowerX",j[j.OpeningSquareBracket=91]="OpeningSquareBracket",g;var j})(),b=(()=>{return(j=b||(b={}))[j.Text=1]="Text",j[j.BeforeTagName=2]="BeforeTagName",j[j.InTagName=3]="InTagName",j[j.InSelfClosingTag=4]="InSelfClosingTag",j[j.BeforeClosingTagName=5]="BeforeClosingTagName",j[j.InClosingTagName=6]="InClosingTagName",j[j.AfterClosingTagName=7]="AfterClosingTagName",j[j.BeforeAttributeName=8]="BeforeAttributeName",j[j.InAttributeName=9]="InAttributeName",j[j.AfterAttributeName=10]="AfterAttributeName",j[j.BeforeAttributeValue=11]="BeforeAttributeValue",j[j.InAttributeValueDq=12]="InAttributeValueDq",j[j.InAttributeValueSq=13]="InAttributeValueSq",j[j.InAttributeValueNq=14]="InAttributeValueNq",j[j.BeforeDeclaration=15]="BeforeDeclaration",j[j.InDeclaration=16]="InDeclaration",j[j.InProcessingInstruction=17]="InProcessingInstruction",j[j.BeforeComment=18]="BeforeComment",j[j.CDATASequence=19]="CDATASequence",j[j.InSpecialComment=20]="InSpecialComment",j[j.InCommentLike=21]="InCommentLike",j[j.BeforeSpecialS=22]="BeforeSpecialS",j[j.SpecialStartSequence=23]="SpecialStartSequence",j[j.InSpecialTag=24]="InSpecialTag",j[j.BeforeEntity=25]="BeforeEntity",j[j.BeforeNumericEntity=26]="BeforeNumericEntity",j[j.InNamedEntity=27]="InNamedEntity",j[j.InNumericEntity=28]="InNumericEntity",j[j.InHexEntity=29]="InHexEntity",b;var j})();function _(j){return j===g.Space||j===g.NewLine||j===g.Tab||j===g.FormFeed||j===g.CarriageReturn}function x(j){return j===g.Slash||j===g.Gt||_(j)}function C(j){return j>=g.Zero&&j<=g.Nine}(j=O=S.QuoteType||(S.QuoteType={}))[j.NoValue=0]="NoValue",j[j.Unquoted=1]="Unquoted",j[j.Single=2]="Single",j[j.Double=3]="Double";var U={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},Q=function(){function j(V,ne){var G=V.xmlMode,ie=void 0!==G&&G,q=V.decodeEntities,z=void 0===q||q;this.cbs=ne,this.state=b.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=b.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=ie,this.decodeEntities=z,this.entityTrie=ie?E.xmlDecodeTree:E.htmlDecodeTree}return j.prototype.reset=function(){this.state=b.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=b.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},j.prototype.write=function(V){this.offset+=this.buffer.length,this.buffer=V,this.parse()},j.prototype.end=function(){this.running&&this.finish()},j.prototype.pause=function(){this.running=!1},j.prototype.resume=function(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=b.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&V===g.Amp&&(this.state=b.BeforeEntity)},j.prototype.stateSpecialStartSequence=function(V){var ne=this.sequenceIndex===this.currentSequence.length;if(ne?x(V):(32|V)===this.currentSequence[this.sequenceIndex]){if(!ne)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=b.InTagName,this.stateInTagName(V)},j.prototype.stateInSpecialTag=function(V){if(this.sequenceIndex===this.currentSequence.length){if(V===g.Gt||_(V)){var ne=this.index-this.currentSequence.length;if(this.sectionStart=g.LowerA&&j<=g.LowerZ||j>=g.UpperA&&j<=g.UpperZ}(V)},j.prototype.startSpecial=function(V,ne){this.isSpecial=!0,this.currentSequence=V,this.sequenceIndex=ne,this.state=b.SpecialStartSequence},j.prototype.stateBeforeTagName=function(V){if(V===g.ExclamationMark)this.state=b.BeforeDeclaration,this.sectionStart=this.index+1;else if(V===g.Questionmark)this.state=b.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(V)){var ne=32|V;this.sectionStart=this.index,this.xmlMode||ne!==U.TitleEnd[2]?this.state=this.xmlMode||ne!==U.ScriptEnd[2]?b.InTagName:b.BeforeSpecialS:this.startSpecial(U.TitleEnd,3)}else V===g.Slash?this.state=b.BeforeClosingTagName:(this.state=b.Text,this.stateText(V))},j.prototype.stateInTagName=function(V){x(V)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=b.BeforeAttributeName,this.stateBeforeAttributeName(V))},j.prototype.stateBeforeClosingTagName=function(V){_(V)||(V===g.Gt?this.state=b.Text:(this.state=this.isTagStartChar(V)?b.InClosingTagName:b.InSpecialComment,this.sectionStart=this.index))},j.prototype.stateInClosingTagName=function(V){(V===g.Gt||_(V))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=b.AfterClosingTagName,this.stateAfterClosingTagName(V))},j.prototype.stateAfterClosingTagName=function(V){(V===g.Gt||this.fastForwardTo(g.Gt))&&(this.state=b.Text,this.sectionStart=this.index+1)},j.prototype.stateBeforeAttributeName=function(V){V===g.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=b.InSpecialTag,this.sequenceIndex=0):this.state=b.Text,this.baseState=this.state,this.sectionStart=this.index+1):V===g.Slash?this.state=b.InSelfClosingTag:_(V)||(this.state=b.InAttributeName,this.sectionStart=this.index)},j.prototype.stateInSelfClosingTag=function(V){V===g.Gt?(this.cbs.onselfclosingtag(this.index),this.state=b.Text,this.baseState=b.Text,this.sectionStart=this.index+1,this.isSpecial=!1):_(V)||(this.state=b.BeforeAttributeName,this.stateBeforeAttributeName(V))},j.prototype.stateInAttributeName=function(V){(V===g.Eq||x(V))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=b.AfterAttributeName,this.stateAfterAttributeName(V))},j.prototype.stateAfterAttributeName=function(V){V===g.Eq?this.state=b.BeforeAttributeValue:V===g.Slash||V===g.Gt?(this.cbs.onattribend(O.NoValue,this.index),this.state=b.BeforeAttributeName,this.stateBeforeAttributeName(V)):_(V)||(this.cbs.onattribend(O.NoValue,this.index),this.state=b.InAttributeName,this.sectionStart=this.index)},j.prototype.stateBeforeAttributeValue=function(V){V===g.DoubleQuote?(this.state=b.InAttributeValueDq,this.sectionStart=this.index+1):V===g.SingleQuote?(this.state=b.InAttributeValueSq,this.sectionStart=this.index+1):_(V)||(this.sectionStart=this.index,this.state=b.InAttributeValueNq,this.stateInAttributeValueNoQuotes(V))},j.prototype.handleInAttributeValue=function(V,ne){V===ne||!this.decodeEntities&&this.fastForwardTo(ne)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(ne===g.DoubleQuote?O.Double:O.Single,this.index),this.state=b.BeforeAttributeName):this.decodeEntities&&V===g.Amp&&(this.baseState=this.state,this.state=b.BeforeEntity)},j.prototype.stateInAttributeValueDoubleQuotes=function(V){this.handleInAttributeValue(V,g.DoubleQuote)},j.prototype.stateInAttributeValueSingleQuotes=function(V){this.handleInAttributeValue(V,g.SingleQuote)},j.prototype.stateInAttributeValueNoQuotes=function(V){_(V)||V===g.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(O.Unquoted,this.index),this.state=b.BeforeAttributeName,this.stateBeforeAttributeName(V)):this.decodeEntities&&V===g.Amp&&(this.baseState=this.state,this.state=b.BeforeEntity)},j.prototype.stateBeforeDeclaration=function(V){V===g.OpeningSquareBracket?(this.state=b.CDATASequence,this.sequenceIndex=0):this.state=V===g.Dash?b.BeforeComment:b.InDeclaration},j.prototype.stateInDeclaration=function(V){(V===g.Gt||this.fastForwardTo(g.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=b.Text,this.sectionStart=this.index+1)},j.prototype.stateInProcessingInstruction=function(V){(V===g.Gt||this.fastForwardTo(g.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=b.Text,this.sectionStart=this.index+1)},j.prototype.stateBeforeComment=function(V){V===g.Dash?(this.state=b.InCommentLike,this.currentSequence=U.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=b.InDeclaration},j.prototype.stateInSpecialComment=function(V){(V===g.Gt||this.fastForwardTo(g.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=b.Text,this.sectionStart=this.index+1)},j.prototype.stateBeforeSpecialS=function(V){var ne=32|V;ne===U.ScriptEnd[3]?this.startSpecial(U.ScriptEnd,4):ne===U.StyleEnd[3]?this.startSpecial(U.StyleEnd,4):(this.state=b.InTagName,this.stateInTagName(V))},j.prototype.stateBeforeEntity=function(V){this.entityExcess=1,this.entityResult=0,V===g.Num?this.state=b.BeforeNumericEntity:V===g.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=b.InNamedEntity,this.stateInNamedEntity(V))},j.prototype.stateInNamedEntity=function(V){if(this.entityExcess+=1,this.trieIndex=(0,E.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,V),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var ne=this.trieCurrent&E.BinTrieFlags.VALUE_LENGTH;if(ne){var G=(ne>>14)-1;if(this.allowLegacyEntity()||V===g.Semi){var ie=this.index-this.entityExcess+1;ie>this.sectionStart&&this.emitPartial(this.sectionStart,ie),this.entityResult=this.trieIndex,this.trieIndex+=G,this.entityExcess=0,this.sectionStart=this.index+1,0===G&&this.emitNamedEntity()}else this.trieIndex+=G}},j.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&E.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~E.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},j.prototype.stateBeforeNumericEntity=function(V){(32|V)===g.LowerX?(this.entityExcess++,this.state=b.InHexEntity):(this.state=b.InNumericEntity,this.stateInNumericEntity(V))},j.prototype.emitNumericEntity=function(V){var ne=this.index-this.entityExcess-1;ne+2+Number(this.state===b.InHexEntity)!==this.index&&(ne>this.sectionStart&&this.emitPartial(this.sectionStart,ne),this.sectionStart=this.index+Number(V),this.emitCodePoint((0,E.replaceCodePoint)(this.entityResult))),this.state=this.baseState},j.prototype.stateInNumericEntity=function(V){V===g.Semi?this.emitNumericEntity(!0):C(V)?(this.entityResult=10*this.entityResult+(V-g.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},j.prototype.stateInHexEntity=function(V){V===g.Semi?this.emitNumericEntity(!0):C(V)?(this.entityResult=16*this.entityResult+(V-g.Zero),this.entityExcess++):function P(j){return j>=g.UpperA&&j<=g.UpperF||j>=g.LowerA&&j<=g.LowerF}(V)?(this.entityResult=16*this.entityResult+((32|V)-g.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},j.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===b.Text||this.baseState===b.InSpecialTag)},j.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===b.Text||this.state===b.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===b.InAttributeValueDq||this.state===b.InAttributeValueSq||this.state===b.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},j.prototype.shouldContinue=function(){return this.index{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.attributeNames=S.elementNames=void 0,S.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","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","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(T){return[T.toLowerCase(),T]})),S.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(T){return[T.toLowerCase(),T]}))},1175:function(ye,S,T){"use strict";var E=this&&this.__assign||function(){return E=Object.assign||function(ee){for(var K,ae=1,he=arguments.length;ae")}(ee);case x.Comment:return function le(ee){return"\x3c!--".concat(ee.data,"--\x3e")}(ee);case x.CDATA:return function ce(ee){return"")}(ee);case x.Script:case x.Style:case x.Tag:return function ie(ee,K){var ae;"foreign"===K.xmlMode&&(ee.name=null!==(ae=I.elementNames.get(ee.name))&&void 0!==ae?ae:ee.name,ee.parent&&ne.has(ee.parent.name)&&(K=E(E({},K),{xmlMode:!1}))),!K.xmlMode&&G.has(ee.name)&&(K=E(E({},K),{xmlMode:"foreign"}));var he="<".concat(ee.name),re=function U(ee,K){var ae;if(ee){var he=!1===(null!==(ae=K.encodeEntities)&&void 0!==ae?ae:K.decodeEntities)?O:K.xmlMode||"utf8"!==K.encodeEntities?C.encodeXML:C.escapeAttribute;return Object.keys(ee).map(function(re){var de,me,ge=null!==(de=ee[re])&&void 0!==de?de:"";return"foreign"===K.xmlMode&&(re=null!==(me=I.attributeNames.get(re))&&void 0!==me?me:re),K.emptyAttrs||K.xmlMode||""!==ge?"".concat(re,'="').concat(he(ge),'"'):re}).join(" ")}}(ee.attribs,K);return re&&(he+=" ".concat(re)),0===ee.children.length&&(K.xmlMode?!1!==K.selfClosingTags:K.selfClosingTags&&Q.has(ee.name))?(K.xmlMode||(he+=" "),he+="/>"):(he+=">",ee.children.length>0&&(he+=j(ee.children,K)),(K.xmlMode||!Q.has(ee.name))&&(he+=""))),he}(ee,K);case x.Text:return function z(ee,K){var ae,he=ee.data||"";return!1!==(null!==(ae=K.encodeEntities)&&void 0!==ae?ae:K.decodeEntities)&&!(!K.xmlMode&&ee.parent&&P.has(ee.parent.name))&&(he=K.xmlMode||"utf8"!==K.encodeEntities?(0,C.encodeXML)(he):(0,C.escapeText)(he)),he}(ee,K)}}S.render=j,S.default=j;var ne=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),G=new Set(["svg","math"])},3437:function(ye,S,T){"use strict";var E=this&&this.__createBinding||(Object.create?function(I,P,O,U){void 0===U&&(U=O);var Q=Object.getOwnPropertyDescriptor(P,O);(!Q||("get"in Q?!P.__esModule:Q.writable||Q.configurable))&&(Q={enumerable:!0,get:function(){return P[O]}}),Object.defineProperty(I,U,Q)}:function(I,P,O,U){void 0===U&&(U=O),I[U]=P[O]}),g=this&&this.__exportStar||function(I,P){for(var O in I)"default"!==O&&!Object.prototype.hasOwnProperty.call(P,O)&&E(P,I,O)};Object.defineProperty(S,"__esModule",{value:!0}),S.DomHandler=void 0;var b=T(6316),_=T(2105);g(T(2105),S);var x={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},C=function(){function I(P,O,U){this.dom=[],this.root=new _.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof O&&(U=O,O=x),"object"==typeof P&&(O=P,P=void 0),this.callback=P??null,this.options=O??x,this.elementCB=U??null}return I.prototype.onparserinit=function(P){this.parser=P},I.prototype.onreset=function(){this.dom=[],this.root=new _.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},I.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},I.prototype.onerror=function(P){this.handleCallback(P)},I.prototype.onclosetag=function(){this.lastNode=null;var P=this.tagStack.pop();this.options.withEndIndices&&(P.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(P)},I.prototype.onopentag=function(P,O){var Q=new _.Element(P,O,void 0,this.options.xmlMode?b.ElementType.Tag:void 0);this.addNode(Q),this.tagStack.push(Q)},I.prototype.ontext=function(P){var O=this.lastNode;if(O&&O.type===b.ElementType.Text)O.data+=P,this.options.withEndIndices&&(O.endIndex=this.parser.endIndex);else{var U=new _.Text(P);this.addNode(U),this.lastNode=U}},I.prototype.oncomment=function(P){if(this.lastNode&&this.lastNode.type===b.ElementType.Comment)this.lastNode.data+=P;else{var O=new _.Comment(P);this.addNode(O),this.lastNode=O}},I.prototype.oncommentend=function(){this.lastNode=null},I.prototype.oncdatastart=function(){var P=new _.Text(""),O=new _.CDATA([P]);this.addNode(O),P.parent=O,this.lastNode=P},I.prototype.oncdataend=function(){this.lastNode=null},I.prototype.onprocessinginstruction=function(P,O){var U=new _.ProcessingInstruction(P,O);this.addNode(U)},I.prototype.handleCallback=function(P){if("function"==typeof this.callback)this.callback(P,this.dom);else if(P)throw P},I.prototype.addNode=function(P){var O=this.tagStack[this.tagStack.length-1],U=O.children[O.children.length-1];this.options.withStartIndices&&(P.startIndex=this.parser.startIndex),this.options.withEndIndices&&(P.endIndex=this.parser.endIndex),O.children.push(P),U&&(P.prev=U,U.next=P),P.parent=O,this.lastNode=null},I}();S.DomHandler=C,S.default=C},2105:function(ye,S,T){"use strict";var K,E=this&&this.__extends||(K=function(ae,he){return(K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,de){re.__proto__=de}||function(re,de){for(var me in de)Object.prototype.hasOwnProperty.call(de,me)&&(re[me]=de[me])})(ae,he)},function(ae,he){if("function"!=typeof he&&null!==he)throw new TypeError("Class extends value "+String(he)+" is not a constructor or null");function re(){this.constructor=ae}K(ae,he),ae.prototype=null===he?Object.create(he):(re.prototype=he.prototype,new re)}),g=this&&this.__assign||function(){return g=Object.assign||function(K){for(var ae,he=1,re=arguments.length;he0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"childNodes",{get:function(){return this.children},set:function(he){this.children=he},enumerable:!1,configurable:!0}),ae}(_);S.NodeWithChildren=O;var U=function(K){function ae(){var he=null!==K&&K.apply(this,arguments)||this;return he.type=b.ElementType.CDATA,he}return E(ae,K),Object.defineProperty(ae.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),ae}(O);S.CDATA=U;var Q=function(K){function ae(){var he=null!==K&&K.apply(this,arguments)||this;return he.type=b.ElementType.Root,he}return E(ae,K),Object.defineProperty(ae.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),ae}(O);S.Document=Q;var j=function(K){function ae(he,re,de,me){void 0===de&&(de=[]),void 0===me&&(me="script"===he?b.ElementType.Script:"style"===he?b.ElementType.Style:b.ElementType.Tag);var ge=K.call(this,de)||this;return ge.name=he,ge.attribs=re,ge.type=me,ge}return E(ae,K),Object.defineProperty(ae.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"tagName",{get:function(){return this.name},set:function(he){this.name=he},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"attributes",{get:function(){var he=this;return Object.keys(this.attribs).map(function(re){var de,me;return{name:re,value:he.attribs[re],namespace:null===(de=he["x-attribsNamespace"])||void 0===de?void 0:de[re],prefix:null===(me=he["x-attribsPrefix"])||void 0===me?void 0:me[re]}})},enumerable:!1,configurable:!0}),ae}(O);function V(K){return(0,b.isTag)(K)}function ne(K){return K.type===b.ElementType.CDATA}function G(K){return K.type===b.ElementType.Text}function ie(K){return K.type===b.ElementType.Comment}function q(K){return K.type===b.ElementType.Directive}function z(K){return K.type===b.ElementType.Root}function le(K,ae){var he;if(void 0===ae&&(ae=!1),G(K))he=new C(K.data);else if(ie(K))he=new I(K.data);else if(V(K)){var re=ae?ee(K.children):[],de=new j(K.name,g({},K.attribs),re);re.forEach(function(ze){return ze.parent=de}),null!=K.namespace&&(de.namespace=K.namespace),K["x-attribsNamespace"]&&(de["x-attribsNamespace"]=g({},K["x-attribsNamespace"])),K["x-attribsPrefix"]&&(de["x-attribsPrefix"]=g({},K["x-attribsPrefix"])),he=de}else if(ne(K)){re=ae?ee(K.children):[];var me=new U(re);re.forEach(function(Re){return Re.parent=me}),he=me}else if(z(K)){re=ae?ee(K.children):[];var ge=new Q(re);re.forEach(function(Re){return Re.parent=ge}),K["x-mode"]&&(ge["x-mode"]=K["x-mode"]),he=ge}else{if(!q(K))throw new Error("Not implemented yet: ".concat(K.type));var ve=new P(K.name,K.data);null!=K["x-name"]&&(ve["x-name"]=K["x-name"],ve["x-publicId"]=K["x-publicId"],ve["x-systemId"]=K["x-systemId"]),he=ve}return he.startIndex=K.startIndex,he.endIndex=K.endIndex,null!=K.sourceCodeLocation&&(he.sourceCodeLocation=K.sourceCodeLocation),he}function ee(K){for(var ae=K.map(function(re){return le(re,!0)}),he=1;he{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.getFeed=void 0;var E=T(8149),g=T(4279);S.getFeed=function b(V){var ne=O(j,V);return ne?"feed"===ne.name?function _(V){var ne,G=V.children,ie={type:"atom",items:(0,g.getElementsByTagName)("entry",G).map(function(ce){var le,ee=ce.children,K={media:P(ee)};Q(K,"id","id",ee),Q(K,"title","title",ee);var ae=null===(le=O("link",ee))||void 0===le?void 0:le.attribs.href;ae&&(K.link=ae);var he=U("summary",ee)||U("content",ee);he&&(K.description=he);var re=U("updated",ee);return re&&(K.pubDate=new Date(re)),K})};Q(ie,"id","id",G),Q(ie,"title","title",G);var q=null===(ne=O("link",G))||void 0===ne?void 0:ne.attribs.href;q&&(ie.link=q),Q(ie,"description","subtitle",G);var z=U("updated",G);return z&&(ie.updated=new Date(z)),Q(ie,"author","email",G,!0),ie}(ne):function x(V){var ne,G,ie=null!==(G=null===(ne=O("channel",V.children))||void 0===ne?void 0:ne.children)&&void 0!==G?G:[],q={type:V.name.substr(0,3),id:"",items:(0,g.getElementsByTagName)("item",V.children).map(function(ce){var le=ce.children,ee={media:P(le)};Q(ee,"id","guid",le),Q(ee,"title","title",le),Q(ee,"link","link",le),Q(ee,"description","description",le);var K=U("pubDate",le);return K&&(ee.pubDate=new Date(K)),ee})};Q(q,"title","title",ie),Q(q,"link","link",ie),Q(q,"description","description",ie);var z=U("lastBuildDate",ie);return z&&(q.updated=new Date(z)),Q(q,"author","managingEditor",ie,!0),q}(ne):null};var C=["url","type","lang"],I=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function P(V){return(0,g.getElementsByTagName)("media:content",V).map(function(ne){for(var G=ne.attribs,ie={medium:G.medium,isDefault:!!G.isDefault},q=0,z=C;q{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.uniqueSort=S.compareDocumentPosition=S.DocumentPosition=S.removeSubsets=void 0;var b,C,E=T(3437);function _(C,I){var P=[],O=[];if(C===I)return 0;for(var U=(0,E.hasChildren)(C)?C:C.parent;U;)P.unshift(U),U=U.parent;for(U=(0,E.hasChildren)(I)?I:I.parent;U;)O.unshift(U),U=U.parent;for(var Q=Math.min(P.length,O.length),j=0;jne.indexOf(ie)?V===I?b.FOLLOWING|b.CONTAINED_BY:b.FOLLOWING:V===C?b.PRECEDING|b.CONTAINS:b.PRECEDING}S.removeSubsets=function g(C){for(var I=C.length;--I>=0;){var P=C[I];if(I>0&&C.lastIndexOf(P,I-1)>=0)C.splice(I,1);else for(var O=P.parent;O;O=O.parent)if(C.includes(O)){C.splice(I,1);break}}return C},(C=b=S.DocumentPosition||(S.DocumentPosition={}))[C.DISCONNECTED=1]="DISCONNECTED",C[C.PRECEDING=2]="PRECEDING",C[C.FOLLOWING=4]="FOLLOWING",C[C.CONTAINS=8]="CONTAINS",C[C.CONTAINED_BY=16]="CONTAINED_BY",S.compareDocumentPosition=_,S.uniqueSort=function x(C){return(C=C.filter(function(I,P,O){return!O.includes(I,P+1)})).sort(function(I,P){var O=_(I,P);return O&b.PRECEDING?-1:O&b.FOLLOWING?1:0}),C}},5722:function(ye,S,T){"use strict";var E=this&&this.__createBinding||(Object.create?function(_,x,C,I){void 0===I&&(I=C);var P=Object.getOwnPropertyDescriptor(x,C);(!P||("get"in P?!x.__esModule:P.writable||P.configurable))&&(P={enumerable:!0,get:function(){return x[C]}}),Object.defineProperty(_,I,P)}:function(_,x,C,I){void 0===I&&(I=C),_[I]=x[C]}),g=this&&this.__exportStar||function(_,x){for(var C in _)"default"!==C&&!Object.prototype.hasOwnProperty.call(x,C)&&E(x,_,C)};Object.defineProperty(S,"__esModule",{value:!0}),S.hasChildren=S.isDocument=S.isComment=S.isText=S.isCDATA=S.isTag=void 0,g(T(8149),S),g(T(74),S),g(T(6180),S),g(T(2206),S),g(T(4279),S),g(T(863),S),g(T(4477),S);var b=T(3437);Object.defineProperty(S,"isTag",{enumerable:!0,get:function(){return b.isTag}}),Object.defineProperty(S,"isCDATA",{enumerable:!0,get:function(){return b.isCDATA}}),Object.defineProperty(S,"isText",{enumerable:!0,get:function(){return b.isText}}),Object.defineProperty(S,"isComment",{enumerable:!0,get:function(){return b.isComment}}),Object.defineProperty(S,"isDocument",{enumerable:!0,get:function(){return b.isDocument}}),Object.defineProperty(S,"hasChildren",{enumerable:!0,get:function(){return b.hasChildren}})},4279:(ye,S,T)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.getElementsByTagType=S.getElementsByTagName=S.getElementById=S.getElements=S.testElement=void 0;var E=T(3437),g=T(2206),b={tag_name:function(j){return"function"==typeof j?function(V){return(0,E.isTag)(V)&&j(V.name)}:"*"===j?E.isTag:function(V){return(0,E.isTag)(V)&&V.name===j}},tag_type:function(j){return"function"==typeof j?function(V){return j(V.type)}:function(V){return V.type===j}},tag_contains:function(j){return"function"==typeof j?function(V){return(0,E.isText)(V)&&j(V.data)}:function(V){return(0,E.isText)(V)&&V.data===j}}};function _(j,V){return"function"==typeof V?function(ne){return(0,E.isTag)(ne)&&V(ne.attribs[j])}:function(ne){return(0,E.isTag)(ne)&&ne.attribs[j]===V}}function x(j,V){return function(ne){return j(ne)||V(ne)}}function C(j){var V=Object.keys(j).map(function(ne){var G=j[ne];return Object.prototype.hasOwnProperty.call(b,ne)?b[ne](G):_(ne,G)});return 0===V.length?null:V.reduce(x)}S.testElement=function I(j,V){var ne=C(j);return!ne||ne(V)},S.getElements=function P(j,V,ne,G){void 0===G&&(G=1/0);var ie=C(j);return ie?(0,g.filter)(ie,V,ne,G):[]},S.getElementById=function O(j,V,ne){return void 0===ne&&(ne=!0),Array.isArray(V)||(V=[V]),(0,g.findOne)(_("id",j),V,ne)},S.getElementsByTagName=function U(j,V,ne,G){return void 0===ne&&(ne=!0),void 0===G&&(G=1/0),(0,g.filter)(b.tag_name(j),V,ne,G)},S.getElementsByTagType=function Q(j,V,ne,G){return void 0===ne&&(ne=!0),void 0===G&&(G=1/0),(0,g.filter)(b.tag_type(j),V,ne,G)}},6180:(ye,S)=>{"use strict";function T(C){if(C.prev&&(C.prev.next=C.next),C.next&&(C.next.prev=C.prev),C.parent){var I=C.parent.children;I.splice(I.lastIndexOf(C),1)}}Object.defineProperty(S,"__esModule",{value:!0}),S.prepend=S.prependChild=S.append=S.appendChild=S.replaceElement=S.removeElement=void 0,S.removeElement=T,S.replaceElement=function E(C,I){var P=I.prev=C.prev;P&&(P.next=I);var O=I.next=C.next;O&&(O.prev=I);var U=I.parent=C.parent;if(U){var Q=U.children;Q[Q.lastIndexOf(C)]=I,C.parent=null}},S.appendChild=function g(C,I){if(T(I),I.next=null,I.parent=C,C.children.push(I)>1){var P=C.children[C.children.length-2];P.next=I,I.prev=P}else I.prev=null},S.append=function b(C,I){T(I);var P=C.parent,O=C.next;if(I.next=O,I.prev=C,C.next=I,I.parent=P,O){if(O.prev=I,P){var U=P.children;U.splice(U.lastIndexOf(O),0,I)}}else P&&P.children.push(I)},S.prependChild=function _(C,I){if(T(I),I.parent=C,I.prev=null,1!==C.children.unshift(I)){var P=C.children[1];P.prev=I,I.next=P}else I.next=null},S.prepend=function x(C,I){T(I);var P=C.parent;if(P){var O=P.children;O.splice(O.indexOf(C),0,I)}C.prev&&(C.prev.next=I),I.parent=P,I.prev=C.prev,I.next=C,C.prev=I}},2206:(ye,S,T)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.findAll=S.existsOne=S.findOne=S.findOneChild=S.find=S.filter=void 0;var E=T(3437);function b(P,O,U,Q){for(var j=[],V=0,ne=O;V0){var ie=b(P,G.children,U,Q);if(j.push.apply(j,ie),(Q-=ie.length)<=0)break}}return j}S.filter=function g(P,O,U,Q){return void 0===U&&(U=!0),void 0===Q&&(Q=1/0),Array.isArray(O)||(O=[O]),b(P,O,U,Q)},S.find=b,S.findOneChild=function _(P,O){return O.find(P)},S.findOne=function x(P,O,U){void 0===U&&(U=!0);for(var Q=null,j=0;j0&&(Q=x(P,V.children,!0)))}return Q},S.existsOne=function C(P,O){return O.some(function(U){return(0,E.isTag)(U)&&(P(U)||U.children.length>0&&C(P,U.children))})},S.findAll=function I(P,O){for(var U,V,Q=[],j=O.filter(E.isTag);V=j.shift();){var ne=null===(U=V.children)||void 0===U?void 0:U.filter(E.isTag);ne&&ne.length>0&&j.unshift.apply(j,ne),P(V)&&Q.push(V)}return Q}},8149:function(ye,S,T){"use strict";var E=this&&this.__importDefault||function(U){return U&&U.__esModule?U:{default:U}};Object.defineProperty(S,"__esModule",{value:!0}),S.innerText=S.textContent=S.getText=S.getInnerHTML=S.getOuterHTML=void 0;var g=T(3437),b=E(T(1175)),_=T(6316);function x(U,Q){return(0,b.default)(U,Q)}S.getOuterHTML=x,S.getInnerHTML=function C(U,Q){return(0,g.hasChildren)(U)?U.children.map(function(j){return x(j,Q)}).join(""):""},S.getText=function I(U){return Array.isArray(U)?U.map(I).join(""):(0,g.isTag)(U)?"br"===U.name?"\n":I(U.children):(0,g.isCDATA)(U)?I(U.children):(0,g.isText)(U)?U.data:""},S.textContent=function P(U){return Array.isArray(U)?U.map(P).join(""):(0,g.hasChildren)(U)&&!(0,g.isComment)(U)?P(U.children):(0,g.isText)(U)?U.data:""},S.innerText=function O(U){return Array.isArray(U)?U.map(O).join(""):(0,g.hasChildren)(U)&&(U.type===_.ElementType.Tag||(0,g.isCDATA)(U))?O(U.children):(0,g.isText)(U)?U.data:""}},74:(ye,S,T)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.prevElementSibling=S.nextElementSibling=S.getName=S.hasAttrib=S.getAttributeValue=S.getSiblings=S.getParent=S.getChildren=void 0;var E=T(3437);function g(U){return(0,E.hasChildren)(U)?U.children:[]}function b(U){return U.parent||null}S.getChildren=g,S.getParent=b,S.getSiblings=function _(U){var V=b(U);if(null!=V)return g(V);for(var ne=[U],G=U.prev,ie=U.next;null!=G;)ne.unshift(G),G=G.prev;for(;null!=ie;)ne.push(ie),ie=ie.next;return ne},S.getAttributeValue=function x(U,Q){var j;return null===(j=U.attribs)||void 0===j?void 0:j[Q]},S.hasAttrib=function C(U,Q){return null!=U.attribs&&Object.prototype.hasOwnProperty.call(U.attribs,Q)&&null!=U.attribs[Q]},S.getName=function I(U){return U.name},S.nextElementSibling=function P(U){for(var j=U.next;null!==j&&!(0,E.isTag)(j);)j=j.next;return j},S.prevElementSibling=function O(U){for(var j=U.prev;null!==j&&!(0,E.isTag)(j);)j=j.prev;return j}},6569:function(ye,S,T){"use strict";var E=this&&this.__importDefault||function(G){return G&&G.__esModule?G:{default:G}};Object.defineProperty(S,"__esModule",{value:!0}),S.decodeXML=S.decodeHTMLStrict=S.decodeHTML=S.determineBranch=S.BinTrieFlags=S.fromCodePoint=S.replaceCodePoint=S.decodeCodePoint=S.xmlDecodeTree=S.htmlDecodeTree=void 0;var g=E(T(1575));S.htmlDecodeTree=g.default;var b=E(T(9704));S.xmlDecodeTree=b.default;var _=E(T(3906));S.decodeCodePoint=_.default;var x=T(3906);Object.defineProperty(S,"replaceCodePoint",{enumerable:!0,get:function(){return x.replaceCodePoint}}),Object.defineProperty(S,"fromCodePoint",{enumerable:!0,get:function(){return x.fromCodePoint}});var I,G,C=(()=>{return(G=C||(C={}))[G.NUM=35]="NUM",G[G.SEMI=59]="SEMI",G[G.ZERO=48]="ZERO",G[G.NINE=57]="NINE",G[G.LOWER_A=97]="LOWER_A",G[G.LOWER_F=102]="LOWER_F",G[G.LOWER_X=120]="LOWER_X",G[G.To_LOWER_BIT=32]="To_LOWER_BIT",C;var G})();function P(G){return function(q,z){for(var ce="",le=0,ee=0;(ee=q.indexOf("&",ee))>=0;)if(ce+=q.slice(le,ee),le=ee,q.charCodeAt(ee+=1)!==C.NUM){for(var me=0,ge=1,ve=0,ze=G[ve];ee>14)-1))break;ve+=st}}var st;0!==me&&(ce+=1==(st=(G[me]&I.VALUE_LENGTH)>>14)?String.fromCharCode(G[me]&~I.VALUE_LENGTH):2===st?String.fromCharCode(G[me+1]):String.fromCharCode(G[me+1],G[me+2]),le=ee-ge+1)}else{var K=ee+1,ae=10,he=q.charCodeAt(K);(he|C.To_LOWER_BIT)===C.LOWER_X&&(ae=16,ee+=1,K+=1);do{he=q.charCodeAt(++ee)}while(he>=C.ZERO&&he<=C.NINE||16===ae&&(he|C.To_LOWER_BIT)>=C.LOWER_A&&(he|C.To_LOWER_BIT)<=C.LOWER_F);if(K!==ee){var re=q.substring(K,ee),de=parseInt(re,ae);if(q.charCodeAt(ee)===C.SEMI)ee+=1;else if(z)continue;ce+=(0,_.default)(de),le=ee}}return ce+q.slice(le)}}function O(G,ie,q,z){var ce=(ie&I.BRANCH_LENGTH)>>7,le=ie&I.JUMP_TABLE;if(0===ce)return 0!==le&&z===le?q:-1;if(le){var ee=z-le;return ee<0||ee>=ce?-1:G[q+ee]-1}for(var K=q,ae=K+ce-1;K<=ae;){var he=K+ae>>>1,re=G[he];if(rez))return G[he+ce];ae=he-1}}return-1}(G=I=S.BinTrieFlags||(S.BinTrieFlags={}))[G.VALUE_LENGTH=49152]="VALUE_LENGTH",G[G.BRANCH_LENGTH=16256]="BRANCH_LENGTH",G[G.JUMP_TABLE=127]="JUMP_TABLE",S.determineBranch=O;var U=P(g.default),Q=P(b.default);S.decodeHTML=function j(G){return U(G,!1)},S.decodeHTMLStrict=function V(G){return U(G,!0)},S.decodeXML=function ne(G){return Q(G,!0)}},3906:(ye,S)=>{"use strict";var T;Object.defineProperty(S,"__esModule",{value:!0}),S.replaceCodePoint=S.fromCodePoint=void 0;var E=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function g(_){var x;return _>=55296&&_<=57343||_>1114111?65533:null!==(x=E.get(_))&&void 0!==x?x:_}S.fromCodePoint=null!==(T=String.fromCodePoint)&&void 0!==T?T:function(_){var x="";return _>65535&&(_-=65536,x+=String.fromCharCode(_>>>10&1023|55296),_=56320|1023&_),x+String.fromCharCode(_)},S.replaceCodePoint=g,S.default=function b(_){return(0,S.fromCodePoint)(g(_))}},6836:function(ye,S,T){"use strict";var E=this&&this.__importDefault||function(P){return P&&P.__esModule?P:{default:P}};Object.defineProperty(S,"__esModule",{value:!0}),S.encodeNonAsciiHTML=S.encodeHTML=void 0;var g=E(T(5754)),b=T(681),_=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function I(P,O){for(var j,U="",Q=0;null!==(j=P.exec(O));){var V=j.index;U+=O.substring(Q,V);var ne=O.charCodeAt(V),G=g.default.get(ne);if("object"==typeof G){if(V+1{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.escapeText=S.escapeAttribute=S.escapeUTF8=S.escape=S.encodeXML=S.getCodePoint=S.xmlReplacer=void 0,S.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var T=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function E(b){for(var C,_="",x=0;null!==(C=S.xmlReplacer.exec(b));){var I=C.index,P=b.charCodeAt(I),O=T.get(P);void 0!==O?(_+=b.substring(x,I)+O,x=I+1):(_+="".concat(b.substring(x,I),"&#x").concat((0,S.getCodePoint)(b,I).toString(16),";"),x=S.xmlReplacer.lastIndex+=Number(55296==(64512&P)))}return _+b.substr(x)}function g(b,_){return function(C){for(var I,P=0,O="";I=b.exec(C);)P!==I.index&&(O+=C.substring(P,I.index)),O+=_.get(I[0].charCodeAt(0)),P=I.index+1;return O+C.substring(P)}}S.getCodePoint=null!=String.prototype.codePointAt?function(b,_){return b.codePointAt(_)}:function(b,_){return 55296==(64512&b.charCodeAt(_))?1024*(b.charCodeAt(_)-55296)+b.charCodeAt(_+1)-56320+65536:b.charCodeAt(_)},S.encodeXML=E,S.escape=E,S.escapeUTF8=g(/[&<>'"]/g,T),S.escapeAttribute=g(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),S.escapeText=g(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},1575:(ye,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.default=new Uint16Array('\u1d41<\xd5\u0131\u028a\u049d\u057b\u05d0\u0675\u06de\u07a2\u07d6\u080f\u0a4a\u0a91\u0da1\u0e6d\u0f09\u0f26\u10ca\u1228\u12e1\u1415\u149d\u14c3\u14df\u1525\0\0\0\0\0\0\u156b\u16cd\u198d\u1c12\u1ddd\u1f7e\u2060\u21b0\u228d\u23c0\u23fb\u2442\u2824\u2912\u2d08\u2e48\u2fce\u3016\u32ba\u3639\u37ac\u38fe\u3a28\u3a71\u3ae0\u3b2e\u0800EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig\u803b\xc6\u40c6P\u803b&\u4026cute\u803b\xc1\u40c1reve;\u4102\u0100iyx}rc\u803b\xc2\u40c2;\u4410r;\uc000\u{1d504}rave\u803b\xc0\u40c0pha;\u4391acr;\u4100d;\u6a53\u0100gp\x9d\xa1on;\u4104f;\uc000\u{1d538}plyFunction;\u6061ing\u803b\xc5\u40c5\u0100cs\xbe\xc3r;\uc000\u{1d49c}ign;\u6254ilde\u803b\xc3\u40c3ml\u803b\xc4\u40c4\u0400aceforsu\xe5\xfb\xfe\u0117\u011c\u0122\u0127\u012a\u0100cr\xea\xf2kslash;\u6216\u0176\xf6\xf8;\u6ae7ed;\u6306y;\u4411\u0180crt\u0105\u010b\u0114ause;\u6235noullis;\u612ca;\u4392r;\uc000\u{1d505}pf;\uc000\u{1d539}eve;\u42d8c\xf2\u0113mpeq;\u624e\u0700HOacdefhilorsu\u014d\u0151\u0156\u0180\u019e\u01a2\u01b5\u01b7\u01ba\u01dc\u0215\u0273\u0278\u027ecy;\u4427PY\u803b\xa9\u40a9\u0180cpy\u015d\u0162\u017aute;\u4106\u0100;i\u0167\u0168\u62d2talDifferentialD;\u6145leys;\u612d\u0200aeio\u0189\u018e\u0194\u0198ron;\u410cdil\u803b\xc7\u40c7rc;\u4108nint;\u6230ot;\u410a\u0100dn\u01a7\u01adilla;\u40b8terDot;\u40b7\xf2\u017fi;\u43a7rcle\u0200DMPT\u01c7\u01cb\u01d1\u01d6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01e2\u01f8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020foubleQuote;\u601duote;\u6019\u0200lnpu\u021e\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6a74\u0180git\u022f\u0236\u023aruent;\u6261nt;\u622fourIntegral;\u622e\u0100fr\u024c\u024e;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6a2fcr;\uc000\u{1d49e}p\u0100;C\u0284\u0285\u62d3ap;\u624d\u0580DJSZacefios\u02a0\u02ac\u02b0\u02b4\u02b8\u02cb\u02d7\u02e1\u02e6\u0333\u048d\u0100;o\u0179\u02a5trahd;\u6911cy;\u4402cy;\u4405cy;\u440f\u0180grs\u02bf\u02c4\u02c7ger;\u6021r;\u61a1hv;\u6ae4\u0100ay\u02d0\u02d5ron;\u410e;\u4414l\u0100;t\u02dd\u02de\u6207a;\u4394r;\uc000\u{1d507}\u0100af\u02eb\u0327\u0100cm\u02f0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031ccute;\u40b4o\u0174\u030b\u030d;\u42d9bleAcute;\u42ddrave;\u4060ilde;\u42dcond;\u62c4ferentialD;\u6146\u0470\u033d\0\0\0\u0342\u0354\0\u0405f;\uc000\u{1d53b}\u0180;DE\u0348\u0349\u034d\u40a8ot;\u60dcqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03cf\u03e2\u03f8ontourIntegra\xec\u0239o\u0274\u0379\0\0\u037b\xbb\u0349nArrow;\u61d3\u0100eo\u0387\u03a4ft\u0180ART\u0390\u0396\u03a1rrow;\u61d0ightArrow;\u61d4e\xe5\u02cang\u0100LR\u03ab\u03c4eft\u0100AR\u03b3\u03b9rrow;\u67f8ightArrow;\u67faightArrow;\u67f9ight\u0100AT\u03d8\u03derrow;\u61d2ee;\u62a8p\u0241\u03e9\0\0\u03efrrow;\u61d1ownArrow;\u61d5erticalBar;\u6225n\u0300ABLRTa\u0412\u042a\u0430\u045e\u047f\u037crrow\u0180;BU\u041d\u041e\u0422\u6193ar;\u6913pArrow;\u61f5reve;\u4311eft\u02d2\u043a\0\u0446\0\u0450ightVector;\u6950eeVector;\u695eector\u0100;B\u0459\u045a\u61bdar;\u6956ight\u01d4\u0467\0\u0471eeVector;\u695fector\u0100;B\u047a\u047b\u61c1ar;\u6957ee\u0100;A\u0486\u0487\u62a4rrow;\u61a7\u0100ct\u0492\u0497r;\uc000\u{1d49f}rok;\u4110\u0800NTacdfglmopqstux\u04bd\u04c0\u04c4\u04cb\u04de\u04e2\u04e7\u04ee\u04f5\u0521\u052f\u0536\u0552\u055d\u0560\u0565G;\u414aH\u803b\xd0\u40d0cute\u803b\xc9\u40c9\u0180aiy\u04d2\u04d7\u04dcron;\u411arc\u803b\xca\u40ca;\u442dot;\u4116r;\uc000\u{1d508}rave\u803b\xc8\u40c8ement;\u6208\u0100ap\u04fa\u04fecr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65fberySmallSquare;\u65ab\u0100gp\u0526\u052aon;\u4118f;\uc000\u{1d53c}silon;\u4395u\u0100ai\u053c\u0549l\u0100;T\u0542\u0543\u6a75ilde;\u6242librium;\u61cc\u0100ci\u0557\u055ar;\u6130m;\u6a73a;\u4397ml\u803b\xcb\u40cb\u0100ip\u056a\u056fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058d\u05b2\u05ccy;\u4424r;\uc000\u{1d509}lled\u0253\u0597\0\0\u05a3mallSquare;\u65fcerySmallSquare;\u65aa\u0370\u05ba\0\u05bf\0\0\u05c4f;\uc000\u{1d53d}All;\u6200riertrf;\u6131c\xf2\u05cb\u0600JTabcdfgorst\u05e8\u05ec\u05ef\u05fa\u0600\u0612\u0616\u061b\u061d\u0623\u066c\u0672cy;\u4403\u803b>\u403emma\u0100;d\u05f7\u05f8\u4393;\u43dcreve;\u411e\u0180eiy\u0607\u060c\u0610dil;\u4122rc;\u411c;\u4413ot;\u4120r;\uc000\u{1d50a};\u62d9pf;\uc000\u{1d53e}eater\u0300EFGLST\u0635\u0644\u064e\u0656\u065b\u0666qual\u0100;L\u063e\u063f\u6265ess;\u62dbullEqual;\u6267reater;\u6aa2ess;\u6277lantEqual;\u6a7eilde;\u6273cr;\uc000\u{1d4a2};\u626b\u0400Aacfiosu\u0685\u068b\u0696\u069b\u069e\u06aa\u06be\u06caRDcy;\u442a\u0100ct\u0690\u0694ek;\u42c7;\u405eirc;\u4124r;\u610clbertSpace;\u610b\u01f0\u06af\0\u06b2f;\u610dizontalLine;\u6500\u0100ct\u06c3\u06c5\xf2\u06a9rok;\u4126mp\u0144\u06d0\u06d8ownHum\xf0\u012fqual;\u624f\u0700EJOacdfgmnostu\u06fa\u06fe\u0703\u0707\u070e\u071a\u071e\u0721\u0728\u0744\u0778\u078b\u078f\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803b\xcd\u40cd\u0100iy\u0713\u0718rc\u803b\xce\u40ce;\u4418ot;\u4130r;\u6111rave\u803b\xcc\u40cc\u0180;ap\u0720\u072f\u073f\u0100cg\u0734\u0737r;\u412ainaryI;\u6148lie\xf3\u03dd\u01f4\u0749\0\u0762\u0100;e\u074d\u074e\u622c\u0100gr\u0753\u0758ral;\u622bsection;\u62c2isible\u0100CT\u076c\u0772omma;\u6063imes;\u6062\u0180gpt\u077f\u0783\u0788on;\u412ef;\uc000\u{1d540}a;\u4399cr;\u6110ilde;\u4128\u01eb\u079a\0\u079ecy;\u4406l\u803b\xcf\u40cf\u0280cfosu\u07ac\u07b7\u07bc\u07c2\u07d0\u0100iy\u07b1\u07b5rc;\u4134;\u4419r;\uc000\u{1d50d}pf;\uc000\u{1d541}\u01e3\u07c7\0\u07ccr;\uc000\u{1d4a5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07e4\u07e8\u07ec\u07f1\u07fd\u0802\u0808cy;\u4425cy;\u440cppa;\u439a\u0100ey\u07f6\u07fbdil;\u4136;\u441ar;\uc000\u{1d50e}pf;\uc000\u{1d542}cr;\uc000\u{1d4a6}\u0580JTaceflmost\u0825\u0829\u082c\u0850\u0863\u09b3\u09b8\u09c7\u09cd\u0a37\u0a47cy;\u4409\u803b<\u403c\u0280cmnpr\u0837\u083c\u0841\u0844\u084dute;\u4139bda;\u439bg;\u67ealacetrf;\u6112r;\u619e\u0180aey\u0857\u085c\u0861ron;\u413ddil;\u413b;\u441b\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087e\u08a9\u08b1\u08e0\u08e6\u08fc\u092f\u095b\u0390\u096a\u0100nr\u0883\u088fgleBracket;\u67e8row\u0180;BR\u0899\u089a\u089e\u6190ar;\u61e4ightArrow;\u61c6eiling;\u6308o\u01f5\u08b7\0\u08c3bleBracket;\u67e6n\u01d4\u08c8\0\u08d2eeVector;\u6961ector\u0100;B\u08db\u08dc\u61c3ar;\u6959loor;\u630aight\u0100AV\u08ef\u08f5rrow;\u6194ector;\u694e\u0100er\u0901\u0917e\u0180;AV\u0909\u090a\u0910\u62a3rrow;\u61a4ector;\u695aiangle\u0180;BE\u0924\u0925\u0929\u62b2ar;\u69cfqual;\u62b4p\u0180DTV\u0937\u0942\u094cownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61bfar;\u6958ector\u0100;B\u0965\u0966\u61bcar;\u6952ight\xe1\u039cs\u0300EFGLST\u097e\u098b\u0995\u099d\u09a2\u09adqualGreater;\u62daullEqual;\u6266reater;\u6276ess;\u6aa1lantEqual;\u6a7dilde;\u6272r;\uc000\u{1d50f}\u0100;e\u09bd\u09be\u62d8ftarrow;\u61daidot;\u413f\u0180npw\u09d4\u0a16\u0a1bg\u0200LRlr\u09de\u09f7\u0a02\u0a10eft\u0100AR\u09e6\u09ecrrow;\u67f5ightArrow;\u67f7ightArrow;\u67f6eft\u0100ar\u03b3\u0a0aight\xe1\u03bfight\xe1\u03caf;\uc000\u{1d543}er\u0100LR\u0a22\u0a2ceftArrow;\u6199ightArrow;\u6198\u0180cht\u0a3e\u0a40\u0a42\xf2\u084c;\u61b0rok;\u4141;\u626a\u0400acefiosu\u0a5a\u0a5d\u0a60\u0a77\u0a7c\u0a85\u0a8b\u0a8ep;\u6905y;\u441c\u0100dl\u0a65\u0a6fiumSpace;\u605flintrf;\u6133r;\uc000\u{1d510}nusPlus;\u6213pf;\uc000\u{1d544}c\xf2\u0a76;\u439c\u0480Jacefostu\u0aa3\u0aa7\u0aad\u0ac0\u0b14\u0b19\u0d91\u0d97\u0d9ecy;\u440acute;\u4143\u0180aey\u0ab4\u0ab9\u0aberon;\u4147dil;\u4145;\u441d\u0180gsw\u0ac7\u0af0\u0b0eative\u0180MTV\u0ad3\u0adf\u0ae8ediumSpace;\u600bhi\u0100cn\u0ae6\u0ad8\xeb\u0ad9eryThi\xee\u0ad9ted\u0100GL\u0af8\u0b06reaterGreate\xf2\u0673essLes\xf3\u0a48Line;\u400ar;\uc000\u{1d511}\u0200Bnpt\u0b22\u0b28\u0b37\u0b3areak;\u6060BreakingSpace;\u40a0f;\u6115\u0680;CDEGHLNPRSTV\u0b55\u0b56\u0b6a\u0b7c\u0ba1\u0beb\u0c04\u0c5e\u0c84\u0ca6\u0cd8\u0d61\u0d85\u6aec\u0100ou\u0b5b\u0b64ngruent;\u6262pCap;\u626doubleVerticalBar;\u6226\u0180lqx\u0b83\u0b8a\u0b9bement;\u6209ual\u0100;T\u0b92\u0b93\u6260ilde;\uc000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0bb6\u0bb7\u0bbd\u0bc9\u0bd3\u0bd8\u0be5\u626fqual;\u6271ullEqual;\uc000\u2267\u0338reater;\uc000\u226b\u0338ess;\u6279lantEqual;\uc000\u2a7e\u0338ilde;\u6275ump\u0144\u0bf2\u0bfdownHump;\uc000\u224e\u0338qual;\uc000\u224f\u0338e\u0100fs\u0c0a\u0c27tTriangle\u0180;BE\u0c1a\u0c1b\u0c21\u62eaar;\uc000\u29cf\u0338qual;\u62ecs\u0300;EGLST\u0c35\u0c36\u0c3c\u0c44\u0c4b\u0c58\u626equal;\u6270reater;\u6278ess;\uc000\u226a\u0338lantEqual;\uc000\u2a7d\u0338ilde;\u6274ested\u0100GL\u0c68\u0c79reaterGreater;\uc000\u2aa2\u0338essLess;\uc000\u2aa1\u0338recedes\u0180;ES\u0c92\u0c93\u0c9b\u6280qual;\uc000\u2aaf\u0338lantEqual;\u62e0\u0100ei\u0cab\u0cb9verseElement;\u620cghtTriangle\u0180;BE\u0ccb\u0ccc\u0cd2\u62ebar;\uc000\u29d0\u0338qual;\u62ed\u0100qu\u0cdd\u0d0cuareSu\u0100bp\u0ce8\u0cf9set\u0100;E\u0cf0\u0cf3\uc000\u228f\u0338qual;\u62e2erset\u0100;E\u0d03\u0d06\uc000\u2290\u0338qual;\u62e3\u0180bcp\u0d13\u0d24\u0d4eset\u0100;E\u0d1b\u0d1e\uc000\u2282\u20d2qual;\u6288ceeds\u0200;EST\u0d32\u0d33\u0d3b\u0d46\u6281qual;\uc000\u2ab0\u0338lantEqual;\u62e1ilde;\uc000\u227f\u0338erset\u0100;E\u0d58\u0d5b\uc000\u2283\u20d2qual;\u6289ilde\u0200;EFT\u0d6e\u0d6f\u0d75\u0d7f\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uc000\u{1d4a9}ilde\u803b\xd1\u40d1;\u439d\u0700Eacdfgmoprstuv\u0dbd\u0dc2\u0dc9\u0dd5\u0ddb\u0de0\u0de7\u0dfc\u0e02\u0e20\u0e22\u0e32\u0e3f\u0e44lig;\u4152cute\u803b\xd3\u40d3\u0100iy\u0dce\u0dd3rc\u803b\xd4\u40d4;\u441eblac;\u4150r;\uc000\u{1d512}rave\u803b\xd2\u40d2\u0180aei\u0dee\u0df2\u0df6cr;\u414cga;\u43a9cron;\u439fpf;\uc000\u{1d546}enCurly\u0100DQ\u0e0e\u0e1aoubleQuote;\u601cuote;\u6018;\u6a54\u0100cl\u0e27\u0e2cr;\uc000\u{1d4aa}ash\u803b\xd8\u40d8i\u016c\u0e37\u0e3cde\u803b\xd5\u40d5es;\u6a37ml\u803b\xd6\u40d6er\u0100BP\u0e4b\u0e60\u0100ar\u0e50\u0e53r;\u603eac\u0100ek\u0e5a\u0e5c;\u63deet;\u63b4arenthesis;\u63dc\u0480acfhilors\u0e7f\u0e87\u0e8a\u0e8f\u0e92\u0e94\u0e9d\u0eb0\u0efcrtialD;\u6202y;\u441fr;\uc000\u{1d513}i;\u43a6;\u43a0usMinus;\u40b1\u0100ip\u0ea2\u0eadncareplan\xe5\u069df;\u6119\u0200;eio\u0eb9\u0eba\u0ee0\u0ee4\u6abbcedes\u0200;EST\u0ec8\u0ec9\u0ecf\u0eda\u627aqual;\u6aaflantEqual;\u627cilde;\u627eme;\u6033\u0100dp\u0ee9\u0eeeuct;\u620fortion\u0100;a\u0225\u0ef9l;\u621d\u0100ci\u0f01\u0f06r;\uc000\u{1d4ab};\u43a8\u0200Ufos\u0f11\u0f16\u0f1b\u0f1fOT\u803b"\u4022r;\uc000\u{1d514}pf;\u611acr;\uc000\u{1d4ac}\u0600BEacefhiorsu\u0f3e\u0f43\u0f47\u0f60\u0f73\u0fa7\u0faa\u0fad\u1096\u10a9\u10b4\u10bearr;\u6910G\u803b\xae\u40ae\u0180cnr\u0f4e\u0f53\u0f56ute;\u4154g;\u67ebr\u0100;t\u0f5c\u0f5d\u61a0l;\u6916\u0180aey\u0f67\u0f6c\u0f71ron;\u4158dil;\u4156;\u4420\u0100;v\u0f78\u0f79\u611cerse\u0100EU\u0f82\u0f99\u0100lq\u0f87\u0f8eement;\u620builibrium;\u61cbpEquilibrium;\u696fr\xbb\u0f79o;\u43a1ght\u0400ACDFTUVa\u0fc1\u0feb\u0ff3\u1022\u1028\u105b\u1087\u03d8\u0100nr\u0fc6\u0fd2gleBracket;\u67e9row\u0180;BL\u0fdc\u0fdd\u0fe1\u6192ar;\u61e5eftArrow;\u61c4eiling;\u6309o\u01f5\u0ff9\0\u1005bleBracket;\u67e7n\u01d4\u100a\0\u1014eeVector;\u695dector\u0100;B\u101d\u101e\u61c2ar;\u6955loor;\u630b\u0100er\u102d\u1043e\u0180;AV\u1035\u1036\u103c\u62a2rrow;\u61a6ector;\u695biangle\u0180;BE\u1050\u1051\u1055\u62b3ar;\u69d0qual;\u62b5p\u0180DTV\u1063\u106e\u1078ownVector;\u694feeVector;\u695cector\u0100;B\u1082\u1083\u61bear;\u6954ector\u0100;B\u1091\u1092\u61c0ar;\u6953\u0100pu\u109b\u109ef;\u611dndImplies;\u6970ightarrow;\u61db\u0100ch\u10b9\u10bcr;\u611b;\u61b1leDelayed;\u69f4\u0680HOacfhimoqstu\u10e4\u10f1\u10f7\u10fd\u1119\u111e\u1151\u1156\u1161\u1167\u11b5\u11bb\u11bf\u0100Cc\u10e9\u10eeHcy;\u4429y;\u4428FTcy;\u442ccute;\u415a\u0280;aeiy\u1108\u1109\u110e\u1113\u1117\u6abcron;\u4160dil;\u415erc;\u415c;\u4421r;\uc000\u{1d516}ort\u0200DLRU\u112a\u1134\u113e\u1149ownArrow\xbb\u041eeftArrow\xbb\u089aightArrow\xbb\u0fddpArrow;\u6191gma;\u43a3allCircle;\u6218pf;\uc000\u{1d54a}\u0272\u116d\0\0\u1170t;\u621aare\u0200;ISU\u117b\u117c\u1189\u11af\u65a1ntersection;\u6293u\u0100bp\u118f\u119eset\u0100;E\u1197\u1198\u628fqual;\u6291erset\u0100;E\u11a8\u11a9\u6290qual;\u6292nion;\u6294cr;\uc000\u{1d4ae}ar;\u62c6\u0200bcmp\u11c8\u11db\u1209\u120b\u0100;s\u11cd\u11ce\u62d0et\u0100;E\u11cd\u11d5qual;\u6286\u0100ch\u11e0\u1205eeds\u0200;EST\u11ed\u11ee\u11f4\u11ff\u627bqual;\u6ab0lantEqual;\u627dilde;\u627fTh\xe1\u0f8c;\u6211\u0180;es\u1212\u1213\u1223\u62d1rset\u0100;E\u121c\u121d\u6283qual;\u6287et\xbb\u1213\u0580HRSacfhiors\u123e\u1244\u1249\u1255\u125e\u1271\u1276\u129f\u12c2\u12c8\u12d1ORN\u803b\xde\u40deADE;\u6122\u0100Hc\u124e\u1252cy;\u440by;\u4426\u0100bu\u125a\u125c;\u4009;\u43a4\u0180aey\u1265\u126a\u126fron;\u4164dil;\u4162;\u4422r;\uc000\u{1d517}\u0100ei\u127b\u1289\u01f2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128e\u1298kSpace;\uc000\u205f\u200aSpace;\u6009lde\u0200;EFT\u12ab\u12ac\u12b2\u12bc\u623cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uc000\u{1d54b}ipleDot;\u60db\u0100ct\u12d6\u12dbr;\uc000\u{1d4af}rok;\u4166\u0ae1\u12f7\u130e\u131a\u1326\0\u132c\u1331\0\0\0\0\0\u1338\u133d\u1377\u1385\0\u13ff\u1404\u140a\u1410\u0100cr\u12fb\u1301ute\u803b\xda\u40dar\u0100;o\u1307\u1308\u619fcir;\u6949r\u01e3\u1313\0\u1316y;\u440eve;\u416c\u0100iy\u131e\u1323rc\u803b\xdb\u40db;\u4423blac;\u4170r;\uc000\u{1d518}rave\u803b\xd9\u40d9acr;\u416a\u0100di\u1341\u1369er\u0100BP\u1348\u135d\u0100ar\u134d\u1350r;\u405fac\u0100ek\u1357\u1359;\u63dfet;\u63b5arenthesis;\u63ddon\u0100;P\u1370\u1371\u62c3lus;\u628e\u0100gp\u137b\u137fon;\u4172f;\uc000\u{1d54c}\u0400ADETadps\u1395\u13ae\u13b8\u13c4\u03e8\u13d2\u13d7\u13f3rrow\u0180;BD\u1150\u13a0\u13a4ar;\u6912ownArrow;\u61c5ownArrow;\u6195quilibrium;\u696eee\u0100;A\u13cb\u13cc\u62a5rrow;\u61a5own\xe1\u03f3er\u0100LR\u13de\u13e8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13f9\u13fa\u43d2on;\u43a5ing;\u416ecr;\uc000\u{1d4b0}ilde;\u4168ml\u803b\xdc\u40dc\u0480Dbcdefosv\u1427\u142c\u1430\u1433\u143e\u1485\u148a\u1490\u1496ash;\u62abar;\u6aeby;\u4412ash\u0100;l\u143b\u143c\u62a9;\u6ae6\u0100er\u1443\u1445;\u62c1\u0180bty\u144c\u1450\u147aar;\u6016\u0100;i\u144f\u1455cal\u0200BLST\u1461\u1465\u146a\u1474ar;\u6223ine;\u407ceparator;\u6758ilde;\u6240ThinSpace;\u600ar;\uc000\u{1d519}pf;\uc000\u{1d54d}cr;\uc000\u{1d4b1}dash;\u62aa\u0280cefos\u14a7\u14ac\u14b1\u14b6\u14bcirc;\u4174dge;\u62c0r;\uc000\u{1d51a}pf;\uc000\u{1d54e}cr;\uc000\u{1d4b2}\u0200fios\u14cb\u14d0\u14d2\u14d8r;\uc000\u{1d51b};\u439epf;\uc000\u{1d54f}cr;\uc000\u{1d4b3}\u0480AIUacfosu\u14f1\u14f5\u14f9\u14fd\u1504\u150f\u1514\u151a\u1520cy;\u442fcy;\u4407cy;\u442ecute\u803b\xdd\u40dd\u0100iy\u1509\u150drc;\u4176;\u442br;\uc000\u{1d51c}pf;\uc000\u{1d550}cr;\uc000\u{1d4b4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153f\u154b\u154f\u155d\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417d;\u4417ot;\u417b\u01f2\u1554\0\u155boWidt\xe8\u0ad9a;\u4396r;\u6128pf;\u6124cr;\uc000\u{1d4b5}\u0be1\u1583\u158a\u1590\0\u15b0\u15b6\u15bf\0\0\0\0\u15c6\u15db\u15eb\u165f\u166d\0\u1695\u169b\u16b2\u16b9\0\u16becute\u803b\xe1\u40e1reve;\u4103\u0300;Ediuy\u159c\u159d\u15a1\u15a3\u15a8\u15ad\u623e;\uc000\u223e\u0333;\u623frc\u803b\xe2\u40e2te\u80bb\xb4\u0306;\u4430lig\u803b\xe6\u40e6\u0100;r\xb2\u15ba;\uc000\u{1d51e}rave\u803b\xe0\u40e0\u0100ep\u15ca\u15d6\u0100fp\u15cf\u15d4sym;\u6135\xe8\u15d3ha;\u43b1\u0100ap\u15dfc\u0100cl\u15e4\u15e7r;\u4101g;\u6a3f\u0264\u15f0\0\0\u160a\u0280;adsv\u15fa\u15fb\u15ff\u1601\u1607\u6227nd;\u6a55;\u6a5clope;\u6a58;\u6a5a\u0380;elmrsz\u1618\u1619\u161b\u161e\u163f\u164f\u1659\u6220;\u69a4e\xbb\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163a\u163c\u163e;\u69a8;\u69a9;\u69aa;\u69ab;\u69ac;\u69ad;\u69ae;\u69aft\u0100;v\u1645\u1646\u621fb\u0100;d\u164c\u164d\u62be;\u699d\u0100pt\u1654\u1657h;\u6222\xbb\xb9arr;\u637c\u0100gp\u1663\u1667on;\u4105f;\uc000\u{1d552}\u0380;Eaeiop\u12c1\u167b\u167d\u1682\u1684\u1687\u168a;\u6a70cir;\u6a6f;\u624ad;\u624bs;\u4027rox\u0100;e\u12c1\u1692\xf1\u1683ing\u803b\xe5\u40e5\u0180cty\u16a1\u16a6\u16a8r;\uc000\u{1d4b6};\u402amp\u0100;e\u12c1\u16af\xf1\u0288ilde\u803b\xe3\u40e3ml\u803b\xe4\u40e4\u0100ci\u16c2\u16c8onin\xf4\u0272nt;\u6a11\u0800Nabcdefiklnoprsu\u16ed\u16f1\u1730\u173c\u1743\u1748\u1778\u177d\u17e0\u17e6\u1839\u1850\u170d\u193d\u1948\u1970ot;\u6aed\u0100cr\u16f6\u171ek\u0200ceps\u1700\u1705\u170d\u1713ong;\u624cpsilon;\u43f6rime;\u6035im\u0100;e\u171a\u171b\u623dq;\u62cd\u0176\u1722\u1726ee;\u62bded\u0100;g\u172c\u172d\u6305e\xbb\u172drk\u0100;t\u135c\u1737brk;\u63b6\u0100oy\u1701\u1741;\u4431quo;\u601e\u0280cmprt\u1753\u175b\u1761\u1764\u1768aus\u0100;e\u010a\u0109ptyv;\u69b0s\xe9\u170cno\xf5\u0113\u0180ahw\u176f\u1771\u1773;\u43b2;\u6136een;\u626cr;\uc000\u{1d51f}g\u0380costuvw\u178d\u179d\u17b3\u17c1\u17d5\u17db\u17de\u0180aiu\u1794\u1796\u179a\xf0\u0760rc;\u65efp\xbb\u1371\u0180dpt\u17a4\u17a8\u17adot;\u6a00lus;\u6a01imes;\u6a02\u0271\u17b9\0\0\u17becup;\u6a06ar;\u6605riangle\u0100du\u17cd\u17d2own;\u65bdp;\u65b3plus;\u6a04e\xe5\u1444\xe5\u14adarow;\u690d\u0180ako\u17ed\u1826\u1835\u0100cn\u17f2\u1823k\u0180lst\u17fa\u05ab\u1802ozenge;\u69ebriangle\u0200;dlr\u1812\u1813\u1818\u181d\u65b4own;\u65beeft;\u65c2ight;\u65b8k;\u6423\u01b1\u182b\0\u1833\u01b2\u182f\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183e\u184d\u0100;q\u1843\u1846\uc000=\u20e5uiv;\uc000\u2261\u20e5t;\u6310\u0200ptwx\u1859\u185e\u1867\u186cf;\uc000\u{1d553}\u0100;t\u13cb\u1863om\xbb\u13cctie;\u62c8\u0600DHUVbdhmptuv\u1885\u1896\u18aa\u18bb\u18d7\u18db\u18ec\u18ff\u1905\u190a\u1910\u1921\u0200LRlr\u188e\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18a1\u18a2\u18a4\u18a6\u18a8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18b3\u18b5\u18b7\u18b9;\u655d;\u655a;\u655c;\u6559\u0380;HLRhlr\u18ca\u18cb\u18cd\u18cf\u18d1\u18d3\u18d5\u6551;\u656c;\u6563;\u6560;\u656b;\u6562;\u655fox;\u69c9\u0200LRlr\u18e4\u18e6\u18e8\u18ea;\u6555;\u6552;\u6510;\u650c\u0280;DUdu\u06bd\u18f7\u18f9\u18fb\u18fd;\u6565;\u6568;\u652c;\u6534inus;\u629flus;\u629eimes;\u62a0\u0200LRlr\u1919\u191b\u191d\u191f;\u655b;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193b\u6502;\u656a;\u6561;\u655e;\u653c;\u6524;\u651c\u0100ev\u0123\u1942bar\u803b\xa6\u40a6\u0200ceio\u1951\u1956\u195a\u1960r;\uc000\u{1d4b7}mi;\u604fm\u0100;e\u171a\u171cl\u0180;bh\u1968\u1969\u196b\u405c;\u69c5sub;\u67c8\u016c\u1974\u197el\u0100;e\u1979\u197a\u6022t\xbb\u197ap\u0180;Ee\u012f\u1985\u1987;\u6aae\u0100;q\u06dc\u06db\u0ce1\u19a7\0\u19e8\u1a11\u1a15\u1a32\0\u1a37\u1a50\0\0\u1ab4\0\0\u1ac1\0\0\u1b21\u1b2e\u1b4d\u1b52\0\u1bfd\0\u1c0c\u0180cpr\u19ad\u19b2\u19ddute;\u4107\u0300;abcds\u19bf\u19c0\u19c4\u19ca\u19d5\u19d9\u6229nd;\u6a44rcup;\u6a49\u0100au\u19cf\u19d2p;\u6a4bp;\u6a47ot;\u6a40;\uc000\u2229\ufe00\u0100eo\u19e2\u19e5t;\u6041\xee\u0693\u0200aeiu\u19f0\u19fb\u1a01\u1a05\u01f0\u19f5\0\u19f8s;\u6a4don;\u410ddil\u803b\xe7\u40e7rc;\u4109ps\u0100;s\u1a0c\u1a0d\u6a4cm;\u6a50ot;\u410b\u0180dmn\u1a1b\u1a20\u1a26il\u80bb\xb8\u01adptyv;\u69b2t\u8100\xa2;e\u1a2d\u1a2e\u40a2r\xe4\u01b2r;\uc000\u{1d520}\u0180cei\u1a3d\u1a40\u1a4dy;\u4447ck\u0100;m\u1a47\u1a48\u6713ark\xbb\u1a48;\u43c7r\u0380;Ecefms\u1a5f\u1a60\u1a62\u1a6b\u1aa4\u1aaa\u1aae\u65cb;\u69c3\u0180;el\u1a69\u1a6a\u1a6d\u42c6q;\u6257e\u0261\u1a74\0\0\u1a88rrow\u0100lr\u1a7c\u1a81eft;\u61baight;\u61bb\u0280RSacd\u1a92\u1a94\u1a96\u1a9a\u1a9f\xbb\u0f47;\u64c8st;\u629birc;\u629aash;\u629dnint;\u6a10id;\u6aefcir;\u69c2ubs\u0100;u\u1abb\u1abc\u6663it\xbb\u1abc\u02ec\u1ac7\u1ad4\u1afa\0\u1b0aon\u0100;e\u1acd\u1ace\u403a\u0100;q\xc7\xc6\u026d\u1ad9\0\0\u1ae2a\u0100;t\u1ade\u1adf\u402c;\u4040\u0180;fl\u1ae8\u1ae9\u1aeb\u6201\xee\u1160e\u0100mx\u1af1\u1af6ent\xbb\u1ae9e\xf3\u024d\u01e7\u1afe\0\u1b07\u0100;d\u12bb\u1b02ot;\u6a6dn\xf4\u0246\u0180fry\u1b10\u1b14\u1b17;\uc000\u{1d554}o\xe4\u0254\u8100\xa9;s\u0155\u1b1dr;\u6117\u0100ao\u1b25\u1b29rr;\u61b5ss;\u6717\u0100cu\u1b32\u1b37r;\uc000\u{1d4b8}\u0100bp\u1b3c\u1b44\u0100;e\u1b41\u1b42\u6acf;\u6ad1\u0100;e\u1b49\u1b4a\u6ad0;\u6ad2dot;\u62ef\u0380delprvw\u1b60\u1b6c\u1b77\u1b82\u1bac\u1bd4\u1bf9arr\u0100lr\u1b68\u1b6a;\u6938;\u6935\u0270\u1b72\0\0\u1b75r;\u62dec;\u62dfarr\u0100;p\u1b7f\u1b80\u61b6;\u693d\u0300;bcdos\u1b8f\u1b90\u1b96\u1ba1\u1ba5\u1ba8\u622arcap;\u6a48\u0100au\u1b9b\u1b9ep;\u6a46p;\u6a4aot;\u628dr;\u6a45;\uc000\u222a\ufe00\u0200alrv\u1bb5\u1bbf\u1bde\u1be3rr\u0100;m\u1bbc\u1bbd\u61b7;\u693cy\u0180evw\u1bc7\u1bd4\u1bd8q\u0270\u1bce\0\0\u1bd2re\xe3\u1b73u\xe3\u1b75ee;\u62ceedge;\u62cfen\u803b\xa4\u40a4earrow\u0100lr\u1bee\u1bf3eft\xbb\u1b80ight\xbb\u1bbde\xe4\u1bdd\u0100ci\u1c01\u1c07onin\xf4\u01f7nt;\u6231lcty;\u632d\u0980AHabcdefhijlorstuwz\u1c38\u1c3b\u1c3f\u1c5d\u1c69\u1c75\u1c8a\u1c9e\u1cac\u1cb7\u1cfb\u1cff\u1d0d\u1d7b\u1d91\u1dab\u1dbb\u1dc6\u1dcdr\xf2\u0381ar;\u6965\u0200glrs\u1c48\u1c4d\u1c52\u1c54ger;\u6020eth;\u6138\xf2\u1133h\u0100;v\u1c5a\u1c5b\u6010\xbb\u090a\u016b\u1c61\u1c67arow;\u690fa\xe3\u0315\u0100ay\u1c6e\u1c73ron;\u410f;\u4434\u0180;ao\u0332\u1c7c\u1c84\u0100gr\u02bf\u1c81r;\u61catseq;\u6a77\u0180glm\u1c91\u1c94\u1c98\u803b\xb0\u40b0ta;\u43b4ptyv;\u69b1\u0100ir\u1ca3\u1ca8sht;\u697f;\uc000\u{1d521}ar\u0100lr\u1cb3\u1cb5\xbb\u08dc\xbb\u101e\u0280aegsv\u1cc2\u0378\u1cd6\u1cdc\u1ce0m\u0180;os\u0326\u1cca\u1cd4nd\u0100;s\u0326\u1cd1uit;\u6666amma;\u43ddin;\u62f2\u0180;io\u1ce7\u1ce8\u1cf8\u40f7de\u8100\xf7;o\u1ce7\u1cf0ntimes;\u62c7n\xf8\u1cf7cy;\u4452c\u026f\u1d06\0\0\u1d0arn;\u631eop;\u630d\u0280lptuw\u1d18\u1d1d\u1d22\u1d49\u1d55lar;\u4024f;\uc000\u{1d555}\u0280;emps\u030b\u1d2d\u1d37\u1d3d\u1d42q\u0100;d\u0352\u1d33ot;\u6251inus;\u6238lus;\u6214quare;\u62a1blebarwedg\xe5\xfan\u0180adh\u112e\u1d5d\u1d67ownarrow\xf3\u1c83arpoon\u0100lr\u1d72\u1d76ef\xf4\u1cb4igh\xf4\u1cb6\u0162\u1d7f\u1d85karo\xf7\u0f42\u026f\u1d8a\0\0\u1d8ern;\u631fop;\u630c\u0180cot\u1d98\u1da3\u1da6\u0100ry\u1d9d\u1da1;\uc000\u{1d4b9};\u4455l;\u69f6rok;\u4111\u0100dr\u1db0\u1db4ot;\u62f1i\u0100;f\u1dba\u1816\u65bf\u0100ah\u1dc0\u1dc3r\xf2\u0429a\xf2\u0fa6angle;\u69a6\u0100ci\u1dd2\u1dd5y;\u445fgrarr;\u67ff\u0900Dacdefglmnopqrstux\u1e01\u1e09\u1e19\u1e38\u0578\u1e3c\u1e49\u1e61\u1e7e\u1ea5\u1eaf\u1ebd\u1ee1\u1f2a\u1f37\u1f44\u1f4e\u1f5a\u0100Do\u1e06\u1d34o\xf4\u1c89\u0100cs\u1e0e\u1e14ute\u803b\xe9\u40e9ter;\u6a6e\u0200aioy\u1e22\u1e27\u1e31\u1e36ron;\u411br\u0100;c\u1e2d\u1e2e\u6256\u803b\xea\u40ealon;\u6255;\u444dot;\u4117\u0100Dr\u1e41\u1e45ot;\u6252;\uc000\u{1d522}\u0180;rs\u1e50\u1e51\u1e57\u6a9aave\u803b\xe8\u40e8\u0100;d\u1e5c\u1e5d\u6a96ot;\u6a98\u0200;ils\u1e6a\u1e6b\u1e72\u1e74\u6a99nters;\u63e7;\u6113\u0100;d\u1e79\u1e7a\u6a95ot;\u6a97\u0180aps\u1e85\u1e89\u1e97cr;\u4113ty\u0180;sv\u1e92\u1e93\u1e95\u6205et\xbb\u1e93p\u01001;\u1e9d\u1ea4\u0133\u1ea1\u1ea3;\u6004;\u6005\u6003\u0100gs\u1eaa\u1eac;\u414bp;\u6002\u0100gp\u1eb4\u1eb8on;\u4119f;\uc000\u{1d556}\u0180als\u1ec4\u1ece\u1ed2r\u0100;s\u1eca\u1ecb\u62d5l;\u69e3us;\u6a71i\u0180;lv\u1eda\u1edb\u1edf\u43b5on\xbb\u1edb;\u43f5\u0200csuv\u1eea\u1ef3\u1f0b\u1f23\u0100io\u1eef\u1e31rc\xbb\u1e2e\u0269\u1ef9\0\0\u1efb\xed\u0548ant\u0100gl\u1f02\u1f06tr\xbb\u1e5dess\xbb\u1e7a\u0180aei\u1f12\u1f16\u1f1als;\u403dst;\u625fv\u0100;D\u0235\u1f20D;\u6a78parsl;\u69e5\u0100Da\u1f2f\u1f33ot;\u6253rr;\u6971\u0180cdi\u1f3e\u1f41\u1ef8r;\u612fo\xf4\u0352\u0100ah\u1f49\u1f4b;\u43b7\u803b\xf0\u40f0\u0100mr\u1f53\u1f57l\u803b\xeb\u40ebo;\u60ac\u0180cip\u1f61\u1f64\u1f67l;\u4021s\xf4\u056e\u0100eo\u1f6c\u1f74ctatio\xee\u0559nential\xe5\u0579\u09e1\u1f92\0\u1f9e\0\u1fa1\u1fa7\0\0\u1fc6\u1fcc\0\u1fd3\0\u1fe6\u1fea\u2000\0\u2008\u205allingdotse\xf1\u1e44y;\u4444male;\u6640\u0180ilr\u1fad\u1fb3\u1fc1lig;\u8000\ufb03\u0269\u1fb9\0\0\u1fbdg;\u8000\ufb00ig;\u8000\ufb04;\uc000\u{1d523}lig;\u8000\ufb01lig;\uc000fj\u0180alt\u1fd9\u1fdc\u1fe1t;\u666dig;\u8000\ufb02ns;\u65b1of;\u4192\u01f0\u1fee\0\u1ff3f;\uc000\u{1d557}\u0100ak\u05bf\u1ff7\u0100;v\u1ffc\u1ffd\u62d4;\u6ad9artint;\u6a0d\u0100ao\u200c\u2055\u0100cs\u2011\u2052\u03b1\u201a\u2030\u2038\u2045\u2048\0\u2050\u03b2\u2022\u2025\u2027\u202a\u202c\0\u202e\u803b\xbd\u40bd;\u6153\u803b\xbc\u40bc;\u6155;\u6159;\u615b\u01b3\u2034\0\u2036;\u6154;\u6156\u02b4\u203e\u2041\0\0\u2043\u803b\xbe\u40be;\u6157;\u615c5;\u6158\u01b6\u204c\0\u204e;\u615a;\u615d8;\u615el;\u6044wn;\u6322cr;\uc000\u{1d4bb}\u0880Eabcdefgijlnorstv\u2082\u2089\u209f\u20a5\u20b0\u20b4\u20f0\u20f5\u20fa\u20ff\u2103\u2112\u2138\u0317\u213e\u2152\u219e\u0100;l\u064d\u2087;\u6a8c\u0180cmp\u2090\u2095\u209dute;\u41f5ma\u0100;d\u209c\u1cda\u43b3;\u6a86reve;\u411f\u0100iy\u20aa\u20aerc;\u411d;\u4433ot;\u4121\u0200;lqs\u063e\u0642\u20bd\u20c9\u0180;qs\u063e\u064c\u20c4lan\xf4\u0665\u0200;cdl\u0665\u20d2\u20d5\u20e5c;\u6aa9ot\u0100;o\u20dc\u20dd\u6a80\u0100;l\u20e2\u20e3\u6a82;\u6a84\u0100;e\u20ea\u20ed\uc000\u22db\ufe00s;\u6a94r;\uc000\u{1d524}\u0100;g\u0673\u061bmel;\u6137cy;\u4453\u0200;Eaj\u065a\u210c\u210e\u2110;\u6a92;\u6aa5;\u6aa4\u0200Eaes\u211b\u211d\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6a8arox\xbb\u2124\u0100;q\u212e\u212f\u6a88\u0100;q\u212e\u211bim;\u62e7pf;\uc000\u{1d558}\u0100ci\u2143\u2146r;\u610am\u0180;el\u066b\u214e\u2150;\u6a8e;\u6a90\u8300>;cdlqr\u05ee\u2160\u216a\u216e\u2173\u2179\u0100ci\u2165\u2167;\u6aa7r;\u6a7aot;\u62d7Par;\u6995uest;\u6a7c\u0280adels\u2184\u216a\u2190\u0656\u219b\u01f0\u2189\0\u218epro\xf8\u209er;\u6978q\u0100lq\u063f\u2196les\xf3\u2088i\xed\u066b\u0100en\u21a3\u21adrtneqq;\uc000\u2269\ufe00\xc5\u21aa\u0500Aabcefkosy\u21c4\u21c7\u21f1\u21f5\u21fa\u2218\u221d\u222f\u2268\u227dr\xf2\u03a0\u0200ilmr\u21d0\u21d4\u21d7\u21dbrs\xf0\u1484f\xbb\u2024il\xf4\u06a9\u0100dr\u21e0\u21e4cy;\u444a\u0180;cw\u08f4\u21eb\u21efir;\u6948;\u61adar;\u610firc;\u4125\u0180alr\u2201\u220e\u2213rts\u0100;u\u2209\u220a\u6665it\xbb\u220alip;\u6026con;\u62b9r;\uc000\u{1d525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223a\u223e\u2243\u225e\u2263rr;\u61fftht;\u623bk\u0100lr\u2249\u2253eftarrow;\u61a9ightarrow;\u61aaf;\uc000\u{1d559}bar;\u6015\u0180clt\u226f\u2274\u2278r;\uc000\u{1d4bd}as\xe8\u21f4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xbb\u1c5b\u0ae1\u22a3\0\u22aa\0\u22b8\u22c5\u22ce\0\u22d5\u22f3\0\0\u22f8\u2322\u2367\u2362\u237f\0\u2386\u23aa\u23b4cute\u803b\xed\u40ed\u0180;iy\u0771\u22b0\u22b5rc\u803b\xee\u40ee;\u4438\u0100cx\u22bc\u22bfy;\u4435cl\u803b\xa1\u40a1\u0100fr\u039f\u22c9;\uc000\u{1d526}rave\u803b\xec\u40ec\u0200;ino\u073e\u22dd\u22e9\u22ee\u0100in\u22e2\u22e6nt;\u6a0ct;\u622dfin;\u69dcta;\u6129lig;\u4133\u0180aop\u22fe\u231a\u231d\u0180cgt\u2305\u2308\u2317r;\u412b\u0180elp\u071f\u230f\u2313in\xe5\u078ear\xf4\u0720h;\u4131f;\u62b7ed;\u41b5\u0280;cfot\u04f4\u232c\u2331\u233d\u2341are;\u6105in\u0100;t\u2338\u2339\u621eie;\u69dddo\xf4\u2319\u0280;celp\u0757\u234c\u2350\u235b\u2361al;\u62ba\u0100gr\u2355\u2359er\xf3\u1563\xe3\u234darhk;\u6a17rod;\u6a3c\u0200cgpt\u236f\u2372\u2376\u237by;\u4451on;\u412ff;\uc000\u{1d55a}a;\u43b9uest\u803b\xbf\u40bf\u0100ci\u238a\u238fr;\uc000\u{1d4be}n\u0280;Edsv\u04f4\u239b\u239d\u23a1\u04f3;\u62f9ot;\u62f5\u0100;v\u23a6\u23a7\u62f4;\u62f3\u0100;i\u0777\u23aelde;\u4129\u01eb\u23b8\0\u23bccy;\u4456l\u803b\xef\u40ef\u0300cfmosu\u23cc\u23d7\u23dc\u23e1\u23e7\u23f5\u0100iy\u23d1\u23d5rc;\u4135;\u4439r;\uc000\u{1d527}ath;\u4237pf;\uc000\u{1d55b}\u01e3\u23ec\0\u23f1r;\uc000\u{1d4bf}rcy;\u4458kcy;\u4454\u0400acfghjos\u240b\u2416\u2422\u2427\u242d\u2431\u2435\u243bppa\u0100;v\u2413\u2414\u43ba;\u43f0\u0100ey\u241b\u2420dil;\u4137;\u443ar;\uc000\u{1d528}reen;\u4138cy;\u4445cy;\u445cpf;\uc000\u{1d55c}cr;\uc000\u{1d4c0}\u0b80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248d\u2491\u250e\u253d\u255a\u2580\u264e\u265e\u2665\u2679\u267d\u269a\u26b2\u26d8\u275d\u2768\u278b\u27c0\u2801\u2812\u0180art\u2477\u247a\u247cr\xf2\u09c6\xf2\u0395ail;\u691barr;\u690e\u0100;g\u0994\u248b;\u6a8bar;\u6962\u0963\u24a5\0\u24aa\0\u24b1\0\0\0\0\0\u24b5\u24ba\0\u24c6\u24c8\u24cd\0\u24f9ute;\u413amptyv;\u69b4ra\xee\u084cbda;\u43bbg\u0180;dl\u088e\u24c1\u24c3;\u6991\xe5\u088e;\u6a85uo\u803b\xab\u40abr\u0400;bfhlpst\u0899\u24de\u24e6\u24e9\u24eb\u24ee\u24f1\u24f5\u0100;f\u089d\u24e3s;\u691fs;\u691d\xeb\u2252p;\u61abl;\u6939im;\u6973l;\u61a2\u0180;ae\u24ff\u2500\u2504\u6aabil;\u6919\u0100;s\u2509\u250a\u6aad;\uc000\u2aad\ufe00\u0180abr\u2515\u2519\u251drr;\u690crk;\u6772\u0100ak\u2522\u252cc\u0100ek\u2528\u252a;\u407b;\u405b\u0100es\u2531\u2533;\u698bl\u0100du\u2539\u253b;\u698f;\u698d\u0200aeuy\u2546\u254b\u2556\u2558ron;\u413e\u0100di\u2550\u2554il;\u413c\xec\u08b0\xe2\u2529;\u443b\u0200cqrs\u2563\u2566\u256d\u257da;\u6936uo\u0100;r\u0e19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694bh;\u61b2\u0280;fgqs\u258b\u258c\u0989\u25f3\u25ff\u6264t\u0280ahlrt\u2598\u25a4\u25b7\u25c2\u25e8rrow\u0100;t\u0899\u25a1a\xe9\u24f6arpoon\u0100du\u25af\u25b4own\xbb\u045ap\xbb\u0966eftarrows;\u61c7ight\u0180ahs\u25cd\u25d6\u25derrow\u0100;s\u08f4\u08a7arpoon\xf3\u0f98quigarro\xf7\u21f0hreetimes;\u62cb\u0180;qs\u258b\u0993\u25falan\xf4\u09ac\u0280;cdgs\u09ac\u260a\u260d\u261d\u2628c;\u6aa8ot\u0100;o\u2614\u2615\u6a7f\u0100;r\u261a\u261b\u6a81;\u6a83\u0100;e\u2622\u2625\uc000\u22da\ufe00s;\u6a93\u0280adegs\u2633\u2639\u263d\u2649\u264bppro\xf8\u24c6ot;\u62d6q\u0100gq\u2643\u2645\xf4\u0989gt\xf2\u248c\xf4\u099bi\xed\u09b2\u0180ilr\u2655\u08e1\u265asht;\u697c;\uc000\u{1d529}\u0100;E\u099c\u2663;\u6a91\u0161\u2669\u2676r\u0100du\u25b2\u266e\u0100;l\u0965\u2673;\u696alk;\u6584cy;\u4459\u0280;acht\u0a48\u2688\u268b\u2691\u2696r\xf2\u25c1orne\xf2\u1d08ard;\u696bri;\u65fa\u0100io\u269f\u26a4dot;\u4140ust\u0100;a\u26ac\u26ad\u63b0che\xbb\u26ad\u0200Eaes\u26bb\u26bd\u26c9\u26d4;\u6268p\u0100;p\u26c3\u26c4\u6a89rox\xbb\u26c4\u0100;q\u26ce\u26cf\u6a87\u0100;q\u26ce\u26bbim;\u62e6\u0400abnoptwz\u26e9\u26f4\u26f7\u271a\u272f\u2741\u2747\u2750\u0100nr\u26ee\u26f1g;\u67ecr;\u61fdr\xeb\u08c1g\u0180lmr\u26ff\u270d\u2714eft\u0100ar\u09e6\u2707ight\xe1\u09f2apsto;\u67fcight\xe1\u09fdparrow\u0100lr\u2725\u2729ef\xf4\u24edight;\u61ac\u0180afl\u2736\u2739\u273dr;\u6985;\uc000\u{1d55d}us;\u6a2dimes;\u6a34\u0161\u274b\u274fst;\u6217\xe1\u134e\u0180;ef\u2757\u2758\u1800\u65cange\xbb\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277c\u2785\u2787r\xf2\u08a8orne\xf2\u1d8car\u0100;d\u0f98\u2783;\u696d;\u600eri;\u62bf\u0300achiqt\u2798\u279d\u0a40\u27a2\u27ae\u27bbquo;\u6039r;\uc000\u{1d4c1}m\u0180;eg\u09b2\u27aa\u27ac;\u6a8d;\u6a8f\u0100bu\u252a\u27b3o\u0100;r\u0e1f\u27b9;\u601arok;\u4142\u8400<;cdhilqr\u082b\u27d2\u2639\u27dc\u27e0\u27e5\u27ea\u27f0\u0100ci\u27d7\u27d9;\u6aa6r;\u6a79re\xe5\u25f2mes;\u62c9arr;\u6976uest;\u6a7b\u0100Pi\u27f5\u27f9ar;\u6996\u0180;ef\u2800\u092d\u181b\u65c3r\u0100du\u2807\u280dshar;\u694ahar;\u6966\u0100en\u2817\u2821rtneqq;\uc000\u2268\ufe00\xc5\u281e\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288e\u2893\u28a0\u28a5\u28a8\u28da\u28e2\u28e4\u0a83\u28f3\u2902Dot;\u623a\u0200clpr\u284e\u2852\u2863\u287dr\u803b\xaf\u40af\u0100et\u2857\u2859;\u6642\u0100;e\u285e\u285f\u6720se\xbb\u285f\u0100;s\u103b\u2868to\u0200;dlu\u103b\u2873\u2877\u287bow\xee\u048cef\xf4\u090f\xf0\u13d1ker;\u65ae\u0100oy\u2887\u288cmma;\u6a29;\u443cash;\u6014asuredangle\xbb\u1626r;\uc000\u{1d52a}o;\u6127\u0180cdn\u28af\u28b4\u28c9ro\u803b\xb5\u40b5\u0200;acd\u1464\u28bd\u28c0\u28c4s\xf4\u16a7ir;\u6af0ot\u80bb\xb7\u01b5us\u0180;bd\u28d2\u1903\u28d3\u6212\u0100;u\u1d3c\u28d8;\u6a2a\u0163\u28de\u28e1p;\u6adb\xf2\u2212\xf0\u0a81\u0100dp\u28e9\u28eeels;\u62a7f;\uc000\u{1d55e}\u0100ct\u28f8\u28fdr;\uc000\u{1d4c2}pos\xbb\u159d\u0180;lm\u2909\u290a\u290d\u43bctimap;\u62b8\u0c00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297e\u2989\u2998\u29da\u29e9\u2a15\u2a1a\u2a58\u2a5d\u2a83\u2a95\u2aa4\u2aa8\u2b04\u2b07\u2b44\u2b7f\u2bae\u2c34\u2c67\u2c7c\u2ce9\u0100gt\u2947\u294b;\uc000\u22d9\u0338\u0100;v\u2950\u0bcf\uc000\u226b\u20d2\u0180elt\u295a\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61cdightarrow;\u61ce;\uc000\u22d8\u0338\u0100;v\u297b\u0c47\uc000\u226a\u20d2ightarrow;\u61cf\u0100Dd\u298e\u2993ash;\u62afash;\u62ae\u0280bcnpt\u29a3\u29a7\u29ac\u29b1\u29ccla\xbb\u02deute;\u4144g;\uc000\u2220\u20d2\u0280;Eiop\u0d84\u29bc\u29c0\u29c5\u29c8;\uc000\u2a70\u0338d;\uc000\u224b\u0338s;\u4149ro\xf8\u0d84ur\u0100;a\u29d3\u29d4\u666el\u0100;s\u29d3\u0b38\u01f3\u29df\0\u29e3p\u80bb\xa0\u0b37mp\u0100;e\u0bf9\u0c00\u0280aeouy\u29f4\u29fe\u2a03\u2a10\u2a13\u01f0\u29f9\0\u29fb;\u6a43on;\u4148dil;\u4146ng\u0100;d\u0d7e\u2a0aot;\uc000\u2a6d\u0338p;\u6a42;\u443dash;\u6013\u0380;Aadqsx\u0b92\u2a29\u2a2d\u2a3b\u2a41\u2a45\u2a50rr;\u61d7r\u0100hr\u2a33\u2a36k;\u6924\u0100;o\u13f2\u13f0ot;\uc000\u2250\u0338ui\xf6\u0b63\u0100ei\u2a4a\u2a4ear;\u6928\xed\u0b98ist\u0100;s\u0ba0\u0b9fr;\uc000\u{1d52b}\u0200Eest\u0bc5\u2a66\u2a79\u2a7c\u0180;qs\u0bbc\u2a6d\u0be1\u0180;qs\u0bbc\u0bc5\u2a74lan\xf4\u0be2i\xed\u0bea\u0100;r\u0bb6\u2a81\xbb\u0bb7\u0180Aap\u2a8a\u2a8d\u2a91r\xf2\u2971rr;\u61aear;\u6af2\u0180;sv\u0f8d\u2a9c\u0f8c\u0100;d\u2aa1\u2aa2\u62fc;\u62facy;\u445a\u0380AEadest\u2ab7\u2aba\u2abe\u2ac2\u2ac5\u2af6\u2af9r\xf2\u2966;\uc000\u2266\u0338rr;\u619ar;\u6025\u0200;fqs\u0c3b\u2ace\u2ae3\u2aeft\u0100ar\u2ad4\u2ad9rro\xf7\u2ac1ightarro\xf7\u2a90\u0180;qs\u0c3b\u2aba\u2aealan\xf4\u0c55\u0100;s\u0c55\u2af4\xbb\u0c36i\xed\u0c5d\u0100;r\u0c35\u2afei\u0100;e\u0c1a\u0c25i\xe4\u0d90\u0100pt\u2b0c\u2b11f;\uc000\u{1d55f}\u8180\xac;in\u2b19\u2b1a\u2b36\u40acn\u0200;Edv\u0b89\u2b24\u2b28\u2b2e;\uc000\u22f9\u0338ot;\uc000\u22f5\u0338\u01e1\u0b89\u2b33\u2b35;\u62f7;\u62f6i\u0100;v\u0cb8\u2b3c\u01e1\u0cb8\u2b41\u2b43;\u62fe;\u62fd\u0180aor\u2b4b\u2b63\u2b69r\u0200;ast\u0b7b\u2b55\u2b5a\u2b5flle\xec\u0b7bl;\uc000\u2afd\u20e5;\uc000\u2202\u0338lint;\u6a14\u0180;ce\u0c92\u2b70\u2b73u\xe5\u0ca5\u0100;c\u0c98\u2b78\u0100;e\u0c92\u2b7d\xf1\u0c98\u0200Aait\u2b88\u2b8b\u2b9d\u2ba7r\xf2\u2988rr\u0180;cw\u2b94\u2b95\u2b99\u619b;\uc000\u2933\u0338;\uc000\u219d\u0338ghtarrow\xbb\u2b95ri\u0100;e\u0ccb\u0cd6\u0380chimpqu\u2bbd\u2bcd\u2bd9\u2b04\u0b78\u2be4\u2bef\u0200;cer\u0d32\u2bc6\u0d37\u2bc9u\xe5\u0d45;\uc000\u{1d4c3}ort\u026d\u2b05\0\0\u2bd6ar\xe1\u2b56m\u0100;e\u0d6e\u2bdf\u0100;q\u0d74\u0d73su\u0100bp\u2beb\u2bed\xe5\u0cf8\xe5\u0d0b\u0180bcp\u2bf6\u2c11\u2c19\u0200;Ees\u2bff\u2c00\u0d22\u2c04\u6284;\uc000\u2ac5\u0338et\u0100;e\u0d1b\u2c0bq\u0100;q\u0d23\u2c00c\u0100;e\u0d32\u2c17\xf1\u0d38\u0200;Ees\u2c22\u2c23\u0d5f\u2c27\u6285;\uc000\u2ac6\u0338et\u0100;e\u0d58\u2c2eq\u0100;q\u0d60\u2c23\u0200gilr\u2c3d\u2c3f\u2c45\u2c47\xec\u0bd7lde\u803b\xf1\u40f1\xe7\u0c43iangle\u0100lr\u2c52\u2c5ceft\u0100;e\u0c1a\u2c5a\xf1\u0c26ight\u0100;e\u0ccb\u2c65\xf1\u0cd7\u0100;m\u2c6c\u2c6d\u43bd\u0180;es\u2c74\u2c75\u2c79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2c8f\u2c94\u2c99\u2c9e\u2ca3\u2cb0\u2cb6\u2cd3\u2ce3ash;\u62adarr;\u6904p;\uc000\u224d\u20d2ash;\u62ac\u0100et\u2ca8\u2cac;\uc000\u2265\u20d2;\uc000>\u20d2nfin;\u69de\u0180Aet\u2cbd\u2cc1\u2cc5rr;\u6902;\uc000\u2264\u20d2\u0100;r\u2cca\u2ccd\uc000<\u20d2ie;\uc000\u22b4\u20d2\u0100At\u2cd8\u2cdcrr;\u6903rie;\uc000\u22b5\u20d2im;\uc000\u223c\u20d2\u0180Aan\u2cf0\u2cf4\u2d02rr;\u61d6r\u0100hr\u2cfa\u2cfdk;\u6923\u0100;o\u13e7\u13e5ear;\u6927\u1253\u1a95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2d2d\0\u2d38\u2d48\u2d60\u2d65\u2d72\u2d84\u1b07\0\0\u2d8d\u2dab\0\u2dc8\u2dce\0\u2ddc\u2e19\u2e2b\u2e3e\u2e43\u0100cs\u2d31\u1a97ute\u803b\xf3\u40f3\u0100iy\u2d3c\u2d45r\u0100;c\u1a9e\u2d42\u803b\xf4\u40f4;\u443e\u0280abios\u1aa0\u2d52\u2d57\u01c8\u2d5alac;\u4151v;\u6a38old;\u69bclig;\u4153\u0100cr\u2d69\u2d6dir;\u69bf;\uc000\u{1d52c}\u036f\u2d79\0\0\u2d7c\0\u2d82n;\u42dbave\u803b\xf2\u40f2;\u69c1\u0100bm\u2d88\u0df4ar;\u69b5\u0200acit\u2d95\u2d98\u2da5\u2da8r\xf2\u1a80\u0100ir\u2d9d\u2da0r;\u69beoss;\u69bbn\xe5\u0e52;\u69c0\u0180aei\u2db1\u2db5\u2db9cr;\u414dga;\u43c9\u0180cdn\u2dc0\u2dc5\u01cdron;\u43bf;\u69b6pf;\uc000\u{1d560}\u0180ael\u2dd4\u2dd7\u01d2r;\u69b7rp;\u69b9\u0380;adiosv\u2dea\u2deb\u2dee\u2e08\u2e0d\u2e10\u2e16\u6228r\xf2\u1a86\u0200;efm\u2df7\u2df8\u2e02\u2e05\u6a5dr\u0100;o\u2dfe\u2dff\u6134f\xbb\u2dff\u803b\xaa\u40aa\u803b\xba\u40bagof;\u62b6r;\u6a56lope;\u6a57;\u6a5b\u0180clo\u2e1f\u2e21\u2e27\xf2\u2e01ash\u803b\xf8\u40f8l;\u6298i\u016c\u2e2f\u2e34de\u803b\xf5\u40f5es\u0100;a\u01db\u2e3as;\u6a36ml\u803b\xf6\u40f6bar;\u633d\u0ae1\u2e5e\0\u2e7d\0\u2e80\u2e9d\0\u2ea2\u2eb9\0\0\u2ecb\u0e9c\0\u2f13\0\0\u2f2b\u2fbc\0\u2fc8r\u0200;ast\u0403\u2e67\u2e72\u0e85\u8100\xb6;l\u2e6d\u2e6e\u40b6le\xec\u0403\u0269\u2e78\0\0\u2e7bm;\u6af3;\u6afdy;\u443fr\u0280cimpt\u2e8b\u2e8f\u2e93\u1865\u2e97nt;\u4025od;\u402eil;\u6030enk;\u6031r;\uc000\u{1d52d}\u0180imo\u2ea8\u2eb0\u2eb4\u0100;v\u2ead\u2eae\u43c6;\u43d5ma\xf4\u0a76ne;\u660e\u0180;tv\u2ebf\u2ec0\u2ec8\u43c0chfork\xbb\u1ffd;\u43d6\u0100au\u2ecf\u2edfn\u0100ck\u2ed5\u2eddk\u0100;h\u21f4\u2edb;\u610e\xf6\u21f4s\u0480;abcdemst\u2ef3\u2ef4\u1908\u2ef9\u2efd\u2f04\u2f06\u2f0a\u2f0e\u402bcir;\u6a23ir;\u6a22\u0100ou\u1d40\u2f02;\u6a25;\u6a72n\u80bb\xb1\u0e9dim;\u6a26wo;\u6a27\u0180ipu\u2f19\u2f20\u2f25ntint;\u6a15f;\uc000\u{1d561}nd\u803b\xa3\u40a3\u0500;Eaceinosu\u0ec8\u2f3f\u2f41\u2f44\u2f47\u2f81\u2f89\u2f92\u2f7e\u2fb6;\u6ab3p;\u6ab7u\xe5\u0ed9\u0100;c\u0ece\u2f4c\u0300;acens\u0ec8\u2f59\u2f5f\u2f66\u2f68\u2f7eppro\xf8\u2f43urlye\xf1\u0ed9\xf1\u0ece\u0180aes\u2f6f\u2f76\u2f7approx;\u6ab9qq;\u6ab5im;\u62e8i\xed\u0edfme\u0100;s\u2f88\u0eae\u6032\u0180Eas\u2f78\u2f90\u2f7a\xf0\u2f75\u0180dfp\u0eec\u2f99\u2faf\u0180als\u2fa0\u2fa5\u2faalar;\u632eine;\u6312urf;\u6313\u0100;t\u0efb\u2fb4\xef\u0efbrel;\u62b0\u0100ci\u2fc0\u2fc5r;\uc000\u{1d4c5};\u43c8ncsp;\u6008\u0300fiopsu\u2fda\u22e2\u2fdf\u2fe5\u2feb\u2ff1r;\uc000\u{1d52e}pf;\uc000\u{1d562}rime;\u6057cr;\uc000\u{1d4c6}\u0180aeo\u2ff8\u3009\u3013t\u0100ei\u2ffe\u3005rnion\xf3\u06b0nt;\u6a16st\u0100;e\u3010\u3011\u403f\xf1\u1f19\xf4\u0f14\u0a80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30e0\u310e\u312b\u3147\u3162\u3172\u318e\u3206\u3215\u3224\u3229\u3258\u326e\u3272\u3290\u32b0\u32b7\u0180art\u3047\u304a\u304cr\xf2\u10b3\xf2\u03ddail;\u691car\xf2\u1c65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307f\u308f\u3094\u30cc\u0100eu\u306d\u3071;\uc000\u223d\u0331te;\u4155i\xe3\u116emptyv;\u69b3g\u0200;del\u0fd1\u3089\u308b\u308d;\u6992;\u69a5\xe5\u0fd1uo\u803b\xbb\u40bbr\u0580;abcfhlpstw\u0fdc\u30ac\u30af\u30b7\u30b9\u30bc\u30be\u30c0\u30c3\u30c7\u30cap;\u6975\u0100;f\u0fe0\u30b4s;\u6920;\u6933s;\u691e\xeb\u225d\xf0\u272el;\u6945im;\u6974l;\u61a3;\u619d\u0100ai\u30d1\u30d5il;\u691ao\u0100;n\u30db\u30dc\u6236al\xf3\u0f1e\u0180abr\u30e7\u30ea\u30eer\xf2\u17e5rk;\u6773\u0100ak\u30f3\u30fdc\u0100ek\u30f9\u30fb;\u407d;\u405d\u0100es\u3102\u3104;\u698cl\u0100du\u310a\u310c;\u698e;\u6990\u0200aeuy\u3117\u311c\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xec\u0ff2\xe2\u30fa;\u4440\u0200clqs\u3134\u3137\u313d\u3144a;\u6937dhar;\u6969uo\u0100;r\u020e\u020dh;\u61b3\u0180acg\u314e\u315f\u0f44l\u0200;ips\u0f78\u3158\u315b\u109cn\xe5\u10bbar\xf4\u0fa9t;\u65ad\u0180ilr\u3169\u1023\u316esht;\u697d;\uc000\u{1d52f}\u0100ao\u3177\u3186r\u0100du\u317d\u317f\xbb\u047b\u0100;l\u1091\u3184;\u696c\u0100;v\u318b\u318c\u43c1;\u43f1\u0180gns\u3195\u31f9\u31fcht\u0300ahlrst\u31a4\u31b0\u31c2\u31d8\u31e4\u31eerrow\u0100;t\u0fdc\u31ada\xe9\u30c8arpoon\u0100du\u31bb\u31bfow\xee\u317ep\xbb\u1092eft\u0100ah\u31ca\u31d0rrow\xf3\u0feaarpoon\xf3\u0551ightarrows;\u61c9quigarro\xf7\u30cbhreetimes;\u62ccg;\u42daingdotse\xf1\u1f32\u0180ahm\u320d\u3210\u3213r\xf2\u0feaa\xf2\u0551;\u600foust\u0100;a\u321e\u321f\u63b1che\xbb\u321fmid;\u6aee\u0200abpt\u3232\u323d\u3240\u3252\u0100nr\u3237\u323ag;\u67edr;\u61fer\xeb\u1003\u0180afl\u3247\u324a\u324er;\u6986;\uc000\u{1d563}us;\u6a2eimes;\u6a35\u0100ap\u325d\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6a12ar\xf2\u31e3\u0200achq\u327b\u3280\u10bc\u3285quo;\u603ar;\uc000\u{1d4c7}\u0100bu\u30fb\u328ao\u0100;r\u0214\u0213\u0180hir\u3297\u329b\u32a0re\xe5\u31f8mes;\u62cai\u0200;efl\u32aa\u1059\u1821\u32ab\u65b9tri;\u69celuhar;\u6968;\u611e\u0d61\u32d5\u32db\u32df\u332c\u3338\u3371\0\u337a\u33a4\0\0\u33ec\u33f0\0\u3428\u3448\u345a\u34ad\u34b1\u34ca\u34f1\0\u3616\0\0\u3633cute;\u415bqu\xef\u27ba\u0500;Eaceinpsy\u11ed\u32f3\u32f5\u32ff\u3302\u330b\u330f\u331f\u3326\u3329;\u6ab4\u01f0\u32fa\0\u32fc;\u6ab8on;\u4161u\xe5\u11fe\u0100;d\u11f3\u3307il;\u415frc;\u415d\u0180Eas\u3316\u3318\u331b;\u6ab6p;\u6abaim;\u62e9olint;\u6a13i\xed\u1204;\u4441ot\u0180;be\u3334\u1d47\u3335\u62c5;\u6a66\u0380Aacmstx\u3346\u334a\u3357\u335b\u335e\u3363\u336drr;\u61d8r\u0100hr\u3350\u3352\xeb\u2228\u0100;o\u0a36\u0a34t\u803b\xa7\u40a7i;\u403bwar;\u6929m\u0100in\u3369\xf0nu\xf3\xf1t;\u6736r\u0100;o\u3376\u2055\uc000\u{1d530}\u0200acoy\u3382\u3386\u3391\u33a0rp;\u666f\u0100hy\u338b\u338fcy;\u4449;\u4448rt\u026d\u3399\0\0\u339ci\xe4\u1464ara\xec\u2e6f\u803b\xad\u40ad\u0100gm\u33a8\u33b4ma\u0180;fv\u33b1\u33b2\u33b2\u43c3;\u43c2\u0400;deglnpr\u12ab\u33c5\u33c9\u33ce\u33d6\u33de\u33e1\u33e6ot;\u6a6a\u0100;q\u12b1\u12b0\u0100;E\u33d3\u33d4\u6a9e;\u6aa0\u0100;E\u33db\u33dc\u6a9d;\u6a9fe;\u6246lus;\u6a24arr;\u6972ar\xf2\u113d\u0200aeit\u33f8\u3408\u340f\u3417\u0100ls\u33fd\u3404lsetm\xe9\u336ahp;\u6a33parsl;\u69e4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341c\u341d\u6aaa\u0100;s\u3422\u3423\u6aac;\uc000\u2aac\ufe00\u0180flp\u342e\u3433\u3442tcy;\u444c\u0100;b\u3438\u3439\u402f\u0100;a\u343e\u343f\u69c4r;\u633ff;\uc000\u{1d564}a\u0100dr\u344d\u0402es\u0100;u\u3454\u3455\u6660it\xbb\u3455\u0180csu\u3460\u3479\u349f\u0100au\u3465\u346fp\u0100;s\u1188\u346b;\uc000\u2293\ufe00p\u0100;s\u11b4\u3475;\uc000\u2294\ufe00u\u0100bp\u347f\u348f\u0180;es\u1197\u119c\u3486et\u0100;e\u1197\u348d\xf1\u119d\u0180;es\u11a8\u11ad\u3496et\u0100;e\u11a8\u349d\xf1\u11ae\u0180;af\u117b\u34a6\u05b0r\u0165\u34ab\u05b1\xbb\u117car\xf2\u1148\u0200cemt\u34b9\u34be\u34c2\u34c5r;\uc000\u{1d4c8}tm\xee\xf1i\xec\u3415ar\xe6\u11be\u0100ar\u34ce\u34d5r\u0100;f\u34d4\u17bf\u6606\u0100an\u34da\u34edight\u0100ep\u34e3\u34eapsilo\xee\u1ee0h\xe9\u2eafs\xbb\u2852\u0280bcmnp\u34fb\u355e\u1209\u358b\u358e\u0480;Edemnprs\u350e\u350f\u3511\u3515\u351e\u3523\u352c\u3531\u3536\u6282;\u6ac5ot;\u6abd\u0100;d\u11da\u351aot;\u6ac3ult;\u6ac1\u0100Ee\u3528\u352a;\u6acb;\u628alus;\u6abfarr;\u6979\u0180eiu\u353d\u3552\u3555t\u0180;en\u350e\u3545\u354bq\u0100;q\u11da\u350feq\u0100;q\u352b\u3528m;\u6ac7\u0100bp\u355a\u355c;\u6ad5;\u6ad3c\u0300;acens\u11ed\u356c\u3572\u3579\u357b\u3326ppro\xf8\u32faurlye\xf1\u11fe\xf1\u11f3\u0180aes\u3582\u3588\u331bppro\xf8\u331aq\xf1\u3317g;\u666a\u0680123;Edehlmnps\u35a9\u35ac\u35af\u121c\u35b2\u35b4\u35c0\u35c9\u35d5\u35da\u35df\u35e8\u35ed\u803b\xb9\u40b9\u803b\xb2\u40b2\u803b\xb3\u40b3;\u6ac6\u0100os\u35b9\u35bct;\u6abeub;\u6ad8\u0100;d\u1222\u35c5ot;\u6ac4s\u0100ou\u35cf\u35d2l;\u67c9b;\u6ad7arr;\u697bult;\u6ac2\u0100Ee\u35e4\u35e6;\u6acc;\u628blus;\u6ac0\u0180eiu\u35f4\u3609\u360ct\u0180;en\u121c\u35fc\u3602q\u0100;q\u1222\u35b2eq\u0100;q\u35e7\u35e4m;\u6ac8\u0100bp\u3611\u3613;\u6ad4;\u6ad6\u0180Aan\u361c\u3620\u362drr;\u61d9r\u0100hr\u3626\u3628\xeb\u222e\u0100;o\u0a2b\u0a29war;\u692alig\u803b\xdf\u40df\u0be1\u3651\u365d\u3660\u12ce\u3673\u3679\0\u367e\u36c2\0\0\0\0\0\u36db\u3703\0\u3709\u376c\0\0\0\u3787\u0272\u3656\0\0\u365bget;\u6316;\u43c4r\xeb\u0e5f\u0180aey\u3666\u366b\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uc000\u{1d531}\u0200eiko\u3686\u369d\u36b5\u36bc\u01f2\u368b\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369b\u43b8ym;\u43d1\u0100cn\u36a2\u36b2k\u0100as\u36a8\u36aeppro\xf8\u12c1im\xbb\u12acs\xf0\u129e\u0100as\u36ba\u36ae\xf0\u12c1rn\u803b\xfe\u40fe\u01ec\u031f\u36c6\u22e7es\u8180\xd7;bd\u36cf\u36d0\u36d8\u40d7\u0100;a\u190f\u36d5r;\u6a31;\u6a30\u0180eps\u36e1\u36e3\u3700\xe1\u2a4d\u0200;bcf\u0486\u36ec\u36f0\u36f4ot;\u6336ir;\u6af1\u0100;o\u36f9\u36fc\uc000\u{1d565}rk;\u6ada\xe1\u3362rime;\u6034\u0180aip\u370f\u3712\u3764d\xe5\u1248\u0380adempst\u3721\u374d\u3740\u3751\u3757\u375c\u375fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65b5own\xbb\u1dbbeft\u0100;e\u2800\u373e\xf1\u092e;\u625cight\u0100;e\u32aa\u374b\xf1\u105aot;\u65ecinus;\u6a3alus;\u6a39b;\u69cdime;\u6a3bezium;\u63e2\u0180cht\u3772\u377d\u3781\u0100ry\u3777\u377b;\uc000\u{1d4c9};\u4446cy;\u445brok;\u4167\u0100io\u378b\u378ex\xf4\u1777head\u0100lr\u3797\u37a0eftarro\xf7\u084fightarrow\xbb\u0f5d\u0900AHabcdfghlmoprstuw\u37d0\u37d3\u37d7\u37e4\u37f0\u37fc\u380e\u381c\u3823\u3834\u3851\u385d\u386b\u38a9\u38cc\u38d2\u38ea\u38f6r\xf2\u03edar;\u6963\u0100cr\u37dc\u37e2ute\u803b\xfa\u40fa\xf2\u1150r\u01e3\u37ea\0\u37edy;\u445eve;\u416d\u0100iy\u37f5\u37farc\u803b\xfb\u40fb;\u4443\u0180abh\u3803\u3806\u380br\xf2\u13adlac;\u4171a\xf2\u13c3\u0100ir\u3813\u3818sht;\u697e;\uc000\u{1d532}rave\u803b\xf9\u40f9\u0161\u3827\u3831r\u0100lr\u382c\u382e\xbb\u0957\xbb\u1083lk;\u6580\u0100ct\u3839\u384d\u026f\u383f\0\0\u384arn\u0100;e\u3845\u3846\u631cr\xbb\u3846op;\u630fri;\u65f8\u0100al\u3856\u385acr;\u416b\u80bb\xa8\u0349\u0100gp\u3862\u3866on;\u4173f;\uc000\u{1d566}\u0300adhlsu\u114b\u3878\u387d\u1372\u3891\u38a0own\xe1\u13b3arpoon\u0100lr\u3888\u388cef\xf4\u382digh\xf4\u382fi\u0180;hl\u3899\u389a\u389c\u43c5\xbb\u13faon\xbb\u389aparrows;\u61c8\u0180cit\u38b0\u38c4\u38c8\u026f\u38b6\0\0\u38c1rn\u0100;e\u38bc\u38bd\u631dr\xbb\u38bdop;\u630eng;\u416fri;\u65f9cr;\uc000\u{1d4ca}\u0180dir\u38d9\u38dd\u38e2ot;\u62f0lde;\u4169i\u0100;f\u3730\u38e8\xbb\u1813\u0100am\u38ef\u38f2r\xf2\u38a8l\u803b\xfc\u40fcangle;\u69a7\u0780ABDacdeflnoprsz\u391c\u391f\u3929\u392d\u39b5\u39b8\u39bd\u39df\u39e4\u39e8\u39f3\u39f9\u39fd\u3a01\u3a20r\xf2\u03f7ar\u0100;v\u3926\u3927\u6ae8;\u6ae9as\xe8\u03e1\u0100nr\u3932\u3937grt;\u699c\u0380eknprst\u34e3\u3946\u394b\u3952\u395d\u3964\u3996app\xe1\u2415othin\xe7\u1e96\u0180hir\u34eb\u2ec8\u3959op\xf4\u2fb5\u0100;h\u13b7\u3962\xef\u318d\u0100iu\u3969\u396dgm\xe1\u33b3\u0100bp\u3972\u3984setneq\u0100;q\u397d\u3980\uc000\u228a\ufe00;\uc000\u2acb\ufe00setneq\u0100;q\u398f\u3992\uc000\u228b\ufe00;\uc000\u2acc\ufe00\u0100hr\u399b\u399fet\xe1\u369ciangle\u0100lr\u39aa\u39afeft\xbb\u0925ight\xbb\u1051y;\u4432ash\xbb\u1036\u0180elr\u39c4\u39d2\u39d7\u0180;be\u2dea\u39cb\u39cfar;\u62bbq;\u625alip;\u62ee\u0100bt\u39dc\u1468a\xf2\u1469r;\uc000\u{1d533}tr\xe9\u39aesu\u0100bp\u39ef\u39f1\xbb\u0d1c\xbb\u0d59pf;\uc000\u{1d567}ro\xf0\u0efbtr\xe9\u39b4\u0100cu\u3a06\u3a0br;\uc000\u{1d4cb}\u0100bp\u3a10\u3a18n\u0100Ee\u3980\u3a16\xbb\u397en\u0100Ee\u3992\u3a1e\xbb\u3990igzag;\u699a\u0380cefoprs\u3a36\u3a3b\u3a56\u3a5b\u3a54\u3a61\u3a6airc;\u4175\u0100di\u3a40\u3a51\u0100bg\u3a45\u3a49ar;\u6a5fe\u0100;q\u15fa\u3a4f;\u6259erp;\u6118r;\uc000\u{1d534}pf;\uc000\u{1d568}\u0100;e\u1479\u3a66at\xe8\u1479cr;\uc000\u{1d4cc}\u0ae3\u178e\u3a87\0\u3a8b\0\u3a90\u3a9b\0\0\u3a9d\u3aa8\u3aab\u3aaf\0\0\u3ac3\u3ace\0\u3ad8\u17dc\u17dftr\xe9\u17d1r;\uc000\u{1d535}\u0100Aa\u3a94\u3a97r\xf2\u03c3r\xf2\u09f6;\u43be\u0100Aa\u3aa1\u3aa4r\xf2\u03b8r\xf2\u09eba\xf0\u2713is;\u62fb\u0180dpt\u17a4\u3ab5\u3abe\u0100fl\u3aba\u17a9;\uc000\u{1d569}im\xe5\u17b2\u0100Aa\u3ac7\u3acar\xf2\u03cer\xf2\u0a01\u0100cq\u3ad2\u17b8r;\uc000\u{1d4cd}\u0100pt\u17d6\u3adcr\xe9\u17d4\u0400acefiosu\u3af0\u3afd\u3b08\u3b0c\u3b11\u3b15\u3b1b\u3b21c\u0100uy\u3af6\u3afbte\u803b\xfd\u40fd;\u444f\u0100iy\u3b02\u3b06rc;\u4177;\u444bn\u803b\xa5\u40a5r;\uc000\u{1d536}cy;\u4457pf;\uc000\u{1d56a}cr;\uc000\u{1d4ce}\u0100cm\u3b26\u3b29y;\u444el\u803b\xff\u40ff\u0500acdefhiosw\u3b42\u3b48\u3b54\u3b58\u3b64\u3b69\u3b6d\u3b74\u3b7a\u3b80cute;\u417a\u0100ay\u3b4d\u3b52ron;\u417e;\u4437ot;\u417c\u0100et\u3b5d\u3b61tr\xe6\u155fa;\u43b6r;\uc000\u{1d537}cy;\u4436grarr;\u61ddpf;\uc000\u{1d56b}cr;\uc000\u{1d4cf}\u0100jn\u3b85\u3b87;\u600dj;\u600c'.split("").map(function(T){return T.charCodeAt(0)}))},9704:(ye,S)=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.default=new Uint16Array("\u0200aglq\t\x15\x18\x1b\u026d\x0f\0\0\x12p;\u4026os;\u4027t;\u403et;\u403cuot;\u4022".split("").map(function(T){return T.charCodeAt(0)}))},5754:(ye,S)=>{"use strict";function T(E){for(var g=1;g{"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.decodeXMLStrict=S.decodeHTML5Strict=S.decodeHTML4Strict=S.decodeHTML5=S.decodeHTML4=S.decodeHTMLStrict=S.decodeHTML=S.decodeXML=S.encodeHTML5=S.encodeHTML4=S.encodeNonAsciiHTML=S.encodeHTML=S.escapeText=S.escapeAttribute=S.escapeUTF8=S.escape=S.encodeXML=S.encode=S.decodeStrict=S.decode=S.EncodingMode=S.DecodingMode=S.EntityLevel=void 0;var _,V,x,C,E=T(6569),g=T(6836),b=T(681);(V=_=S.EntityLevel||(S.EntityLevel={}))[V.XML=0]="XML",V[V.HTML=1]="HTML",function(V){V[V.Legacy=0]="Legacy",V[V.Strict=1]="Strict"}(x=S.DecodingMode||(S.DecodingMode={})),function(V){V[V.UTF8=0]="UTF8",V[V.ASCII=1]="ASCII",V[V.Extensive=2]="Extensive",V[V.Attribute=3]="Attribute",V[V.Text=4]="Text"}(C=S.EncodingMode||(S.EncodingMode={})),S.decode=function I(V,ne){void 0===ne&&(ne=_.XML);var G="number"==typeof ne?{level:ne}:ne;return G.level===_.HTML?G.mode===x.Strict?(0,E.decodeHTMLStrict)(V):(0,E.decodeHTML)(V):(0,E.decodeXML)(V)},S.decodeStrict=function P(V,ne){void 0===ne&&(ne=_.XML);var G="number"==typeof ne?{level:ne}:ne;return G.level===_.HTML?G.mode===x.Legacy?(0,E.decodeHTML)(V):(0,E.decodeHTMLStrict)(V):(0,E.decodeXML)(V)},S.encode=function O(V,ne){void 0===ne&&(ne=_.XML);var G="number"==typeof ne?{level:ne}:ne;return G.mode===C.UTF8?(0,b.escapeUTF8)(V):G.mode===C.Attribute?(0,b.escapeAttribute)(V):G.mode===C.Text?(0,b.escapeText)(V):G.level===_.HTML?G.mode===C.ASCII?(0,g.encodeNonAsciiHTML)(V):(0,g.encodeHTML)(V):(0,b.encodeXML)(V)};var U=T(681);Object.defineProperty(S,"encodeXML",{enumerable:!0,get:function(){return U.encodeXML}}),Object.defineProperty(S,"escape",{enumerable:!0,get:function(){return U.escape}}),Object.defineProperty(S,"escapeUTF8",{enumerable:!0,get:function(){return U.escapeUTF8}}),Object.defineProperty(S,"escapeAttribute",{enumerable:!0,get:function(){return U.escapeAttribute}}),Object.defineProperty(S,"escapeText",{enumerable:!0,get:function(){return U.escapeText}});var Q=T(6836);Object.defineProperty(S,"encodeHTML",{enumerable:!0,get:function(){return Q.encodeHTML}}),Object.defineProperty(S,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return Q.encodeNonAsciiHTML}}),Object.defineProperty(S,"encodeHTML4",{enumerable:!0,get:function(){return Q.encodeHTML}}),Object.defineProperty(S,"encodeHTML5",{enumerable:!0,get:function(){return Q.encodeHTML}});var j=T(6569);Object.defineProperty(S,"decodeXML",{enumerable:!0,get:function(){return j.decodeXML}}),Object.defineProperty(S,"decodeHTML",{enumerable:!0,get:function(){return j.decodeHTML}}),Object.defineProperty(S,"decodeHTMLStrict",{enumerable:!0,get:function(){return j.decodeHTMLStrict}}),Object.defineProperty(S,"decodeHTML4",{enumerable:!0,get:function(){return j.decodeHTML}}),Object.defineProperty(S,"decodeHTML5",{enumerable:!0,get:function(){return j.decodeHTML}}),Object.defineProperty(S,"decodeHTML4Strict",{enumerable:!0,get:function(){return j.decodeHTMLStrict}}),Object.defineProperty(S,"decodeHTML5Strict",{enumerable:!0,get:function(){return j.decodeHTMLStrict}}),Object.defineProperty(S,"decodeXMLStrict",{enumerable:!0,get:function(){return j.decodeXML}})},7088:function(ye,S,T){!function(E){"use strict";E.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(b){return/^nm$/i.test(b)},meridiem:function(b,_,x){return b<12?x?"vm":"VM":x?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(b){return b+(1===b||8===b||b>=20?"ste":"de")},week:{dow:1,doy:4}})}(T(5439))},2502:function(ye,S,T){!function(E){"use strict";var g=function(I){return 0===I?0:1===I?1:2===I?2:I%100>=3&&I%100<=10?3:I%100>=11?4:5},b={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},_=function(I){return function(P,O,U,Q){var j=g(P),V=b[I][g(P)];return 2===j&&(V=V[O?0:1]),V.replace(/%d/i,P)}},x=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];E.defineLocale("ar-dz",{months:x,monthsShort:x,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(I){return"\u0645"===I},meridiem:function(I,P,O){return I<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:_("s"),ss:_("s"),m:_("m"),mm:_("m"),h:_("h"),hh:_("h"),d:_("d"),dd:_("d"),M:_("M"),MM:_("M"),y:_("y"),yy:_("y")},postformat:function(I){return I.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(T(5439))},128:function(ye,S,T){!function(E){"use strict";E.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(T(5439))},4519:function(ye,S,T){!function(E){"use strict";var g={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},b=function(P){return 0===P?0:1===P?1:2===P?2:P%100>=3&&P%100<=10?3:P%100>=11?4:5},_={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},x=function(P){return function(O,U,Q,j){var V=b(O),ne=_[P][b(O)];return 2===V&&(ne=ne[U?0:1]),ne.replace(/%d/i,O)}},C=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];E.defineLocale("ar-ly",{months:C,monthsShort:C,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(P){return"\u0645"===P},meridiem:function(P,O,U){return P<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:x("s"),ss:x("s"),m:x("m"),mm:x("m"),h:x("h"),hh:x("h"),d:x("d"),dd:x("d"),M:x("M"),MM:x("M"),y:x("y"),yy:x("y")},preparse:function(P){return P.replace(/\u060c/g,",")},postformat:function(P){return P.replace(/\d/g,function(O){return g[O]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(T(5439))},5443:function(ye,S,T){!function(E){"use strict";E.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(T(5439))},7642:function(ye,S,T){!function(E){"use strict";var g={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},b={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};E.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(x){return"\u0645"===x},meridiem:function(x,C,I){return x<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(x){return x.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(C){return b[C]}).replace(/\u060c/g,",")},postformat:function(x){return x.replace(/\d/g,function(C){return g[C]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(T(5439))},8592:function(ye,S,T){!function(E){"use strict";E.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(T(5439))},7038:function(ye,S,T){!function(E){"use strict";var g={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},b={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},_=function(O){return 0===O?0:1===O?1:2===O?2:O%100>=3&&O%100<=10?3:O%100>=11?4:5},x={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},C=function(O){return function(U,Q,j,V){var ne=_(U),G=x[O][_(U)];return 2===ne&&(G=G[Q?0:1]),G.replace(/%d/i,U)}},I=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];E.defineLocale("ar",{months:I,monthsShort:I,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(O){return"\u0645"===O},meridiem:function(O,U,Q){return O<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:C("s"),ss:C("s"),m:C("m"),mm:C("m"),h:C("h"),hh:C("h"),d:C("d"),dd:C("d"),M:C("M"),MM:C("M"),y:C("y"),yy:C("y")},preparse:function(O){return O.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(U){return b[U]}).replace(/\u060c/g,",")},postformat:function(O){return O.replace(/\d/g,function(U){return g[U]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(T(5439))},1213:function(ye,S,T){!function(E){"use strict";var g={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};E.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(_){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(_)},meridiem:function(_,x,C){return _<4?"gec\u0259":_<12?"s\u0259h\u0259r":_<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(_){if(0===_)return _+"-\u0131nc\u0131";var x=_%10;return _+(g[x]||g[_%100-x]||g[_>=100?100:null])},week:{dow:1,doy:7}})}(T(5439))},9191:function(ye,S,T){!function(E){"use strict";function b(x,C,I){return"m"===I?C?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===I?C?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":x+" "+function g(x,C){var I=x.split("_");return C%10==1&&C%100!=11?I[0]:C%10>=2&&C%10<=4&&(C%100<10||C%100>=20)?I[1]:I[2]}({ss:C?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:C?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:C?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[I],+x)}E.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:b,mm:b,h:b,hh:b,d:"\u0434\u0437\u0435\u043d\u044c",dd:b,M:"\u043c\u0435\u0441\u044f\u0446",MM:b,y:"\u0433\u043e\u0434",yy:b},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(x){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(x)},meridiem:function(x,C,I){return x<4?"\u043d\u043e\u0447\u044b":x<12?"\u0440\u0430\u043d\u0456\u0446\u044b":x<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(x,C){switch(C){case"M":case"d":case"DDD":case"w":case"W":return x%10!=2&&x%10!=3||x%100==12||x%100==13?x+"-\u044b":x+"-\u0456";case"D":return x+"-\u0433\u0430";default:return x}},week:{dow:1,doy:7}})}(T(5439))},322:function(ye,S,T){!function(E){"use strict";E.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(b){var _=b%10,x=b%100;return 0===b?b+"-\u0435\u0432":0===x?b+"-\u0435\u043d":x>10&&x<20?b+"-\u0442\u0438":1===_?b+"-\u0432\u0438":2===_?b+"-\u0440\u0438":7===_||8===_?b+"-\u043c\u0438":b+"-\u0442\u0438"},week:{dow:1,doy:7}})}(T(5439))},8042:function(ye,S,T){!function(E){"use strict";E.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(T(5439))},5903:function(ye,S,T){!function(E){"use strict";var g={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},b={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};E.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(x){return x.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(C){return b[C]})},postformat:function(x){return x.replace(/\d/g,function(C){return g[C]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(x,C){return 12===x&&(x=0),"\u09b0\u09be\u09a4"===C?x<4?x:x+12:"\u09ad\u09cb\u09b0"===C||"\u09b8\u0995\u09be\u09b2"===C?x:"\u09a6\u09c1\u09aa\u09c1\u09b0"===C?x>=3?x:x+12:"\u09ac\u09bf\u0995\u09be\u09b2"===C||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===C?x+12:void 0},meridiem:function(x,C,I){return x<4?"\u09b0\u09be\u09a4":x<6?"\u09ad\u09cb\u09b0":x<12?"\u09b8\u0995\u09be\u09b2":x<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":x<18?"\u09ac\u09bf\u0995\u09be\u09b2":x<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(T(5439))},9620:function(ye,S,T){!function(E){"use strict";var g={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},b={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};E.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(x){return x.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(C){return b[C]})},postformat:function(x){return x.replace(/\d/g,function(C){return g[C]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(x,C){return 12===x&&(x=0),"\u09b0\u09be\u09a4"===C&&x>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===C&&x<5||"\u09ac\u09bf\u0995\u09be\u09b2"===C?x+12:x},meridiem:function(x,C,I){return x<4?"\u09b0\u09be\u09a4":x<10?"\u09b8\u0995\u09be\u09b2":x<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":x<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(T(5439))},9645:function(ye,S,T){!function(E){"use strict";var g={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},b={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};E.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(x){return x.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(C){return b[C]})},postformat:function(x){return x.replace(/\d/g,function(C){return g[C]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(x,C){return 12===x&&(x=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===C&&x>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===C&&x<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===C?x+12:x},meridiem:function(x,C,I){return x<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":x<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":x<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":x<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(T(5439))},5020:function(ye,S,T){!function(E){"use strict";function g(G,ie,q){return G+" "+function x(G,ie){return 2===ie?function C(G){var ie={m:"v",b:"v",d:"z"};return void 0===ie[G.charAt(0)]?G:ie[G.charAt(0)]+G.substring(1)}(G):G}({mm:"munutenn",MM:"miz",dd:"devezh"}[q],G)}function _(G){return G>9?_(G%10):G}var I=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],P=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,V=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];E.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:V,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:V,monthsRegex:P,monthsShortRegex:P,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:I,longMonthsParse:I,shortMonthsParse:I,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:g,h:"un eur",hh:"%d eur",d:"un devezh",dd:g,M:"ur miz",MM:g,y:"ur bloaz",yy:function b(G){switch(_(G)){case 1:case 3:case 4:case 5:case 9:return G+" bloaz";default:return G+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(G){return G+(1===G?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(G){return"g.m."===G},meridiem:function(G,ie,q){return G<12?"a.m.":"g.m."}})}(T(5439))},4792:function(ye,S,T){!function(E){"use strict";function g(_,x,C){var I=_+" ";switch(C){case"ss":return I+(1===_?"sekunda":2===_||3===_||4===_?"sekunde":"sekundi");case"m":return x?"jedna minuta":"jedne minute";case"mm":return I+(1===_?"minuta":2===_||3===_||4===_?"minute":"minuta");case"h":return x?"jedan sat":"jednog sata";case"hh":return I+(1===_?"sat":2===_||3===_||4===_?"sata":"sati");case"dd":return I+(1===_?"dan":"dana");case"MM":return I+(1===_?"mjesec":2===_||3===_||4===_?"mjeseca":"mjeseci");case"yy":return I+(1===_?"godina":2===_||3===_||4===_?"godine":"godina")}}E.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:g,m:g,mm:g,h:g,hh:g,d:"dan",dd:g,M:"mjesec",MM:g,y:"godinu",yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(T(5439))},7980:function(ye,S,T){!function(E){"use strict";E.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(b,_){var x=1===b?"r":2===b?"n":3===b?"r":4===b?"t":"\xe8";return("w"===_||"W"===_)&&(x="a"),b+x},week:{dow:1,doy:4}})}(T(5439))},7322:function(ye,S,T){!function(E){"use strict";var g={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},b="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),_=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],x=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function C(O){return O>1&&O<5&&1!=~~(O/10)}function I(O,U,Q,j){var V=O+" ";switch(Q){case"s":return U||j?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return U||j?V+(C(O)?"sekundy":"sekund"):V+"sekundami";case"m":return U?"minuta":j?"minutu":"minutou";case"mm":return U||j?V+(C(O)?"minuty":"minut"):V+"minutami";case"h":return U?"hodina":j?"hodinu":"hodinou";case"hh":return U||j?V+(C(O)?"hodiny":"hodin"):V+"hodinami";case"d":return U||j?"den":"dnem";case"dd":return U||j?V+(C(O)?"dny":"dn\xed"):V+"dny";case"M":return U||j?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return U||j?V+(C(O)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):V+"m\u011bs\xedci";case"y":return U||j?"rok":"rokem";case"yy":return U||j?V+(C(O)?"roky":"let"):V+"lety"}}E.defineLocale("cs",{months:g,monthsShort:b,monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:I,ss:I,m:I,mm:I,h:I,hh:I,d:I,dd:I,M:I,MM:I,y:I,yy:I},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},365:function(ye,S,T){!function(E){"use strict";E.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(b){return b+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(b)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(b)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(T(5439))},2092:function(ye,S,T){!function(E){"use strict";E.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(b){var x="";return b>20?x=40===b||50===b||60===b||80===b||100===b?"fed":"ain":b>0&&(x=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][b]),b+x},week:{dow:1,doy:4}})}(T(5439))},7387:function(ye,S,T){!function(E){"use strict";E.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},9459:function(ye,S,T){!function(E){"use strict";function g(_,x,C,I){var P={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return x?P[C][0]:P[C][1]}E.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:g,mm:"%d Minuten",h:g,hh:"%d Stunden",d:g,dd:g,w:g,ww:"%d Wochen",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},3694:function(ye,S,T){!function(E){"use strict";function g(_,x,C,I){var P={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return x?P[C][0]:P[C][1]}E.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:g,mm:"%d Minuten",h:g,hh:"%d Stunden",d:g,dd:g,w:g,ww:"%d Wochen",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},4307:function(ye,S,T){!function(E){"use strict";function g(_,x,C,I){var P={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return x?P[C][0]:P[C][1]}E.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:g,mm:"%d Minuten",h:g,hh:"%d Stunden",d:g,dd:g,w:g,ww:"%d Wochen",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},9659:function(ye,S,T){!function(E){"use strict";var g=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],b=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];E.defineLocale("dv",{months:g,monthsShort:g,weekdays:b,weekdaysShort:b,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(x){return"\u0789\u078a"===x},meridiem:function(x,C,I){return x<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(x){return x.replace(/\u060c/g,",")},postformat:function(x){return x.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(T(5439))},3460:function(ye,S,T){!function(E){"use strict";E.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(_,x){return _?"string"==typeof x&&/D/.test(x.substring(0,x.indexOf("MMMM")))?this._monthsGenitiveEl[_.month()]:this._monthsNominativeEl[_.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(_,x,C){return _>11?C?"\u03bc\u03bc":"\u039c\u039c":C?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(_){return"\u03bc"===(_+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(_,x){var C=this._calendarEl[_],I=x&&x.hours();return function g(_){return typeof Function<"u"&&_ instanceof Function||"[object Function]"===Object.prototype.toString.call(_)}(C)&&(C=C.apply(x)),C.replace("{}",I%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(T(5439))},4369:function(ye,S,T){!function(E){"use strict";E.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var _=b%10;return b+(1==~~(b%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:0,doy:4}})}(T(5439))},530:function(ye,S,T){!function(E){"use strict";E.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var _=b%10;return b+(1==~~(b%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")}})}(T(5439))},9998:function(ye,S,T){!function(E){"use strict";E.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var _=b%10;return b+(1==~~(b%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},3391:function(ye,S,T){!function(E){"use strict";E.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var _=b%10;return b+(1==~~(b%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},5414:function(ye,S,T){!function(E){"use strict";E.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var _=b%10;return b+(1==~~(b%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")}})}(T(5439))},9615:function(ye,S,T){!function(E){"use strict";E.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var _=b%10;return b+(1==~~(b%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:0,doy:6}})}(T(5439))},1248:function(ye,S,T){!function(E){"use strict";E.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var _=b%10;return b+(1==~~(b%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},3767:function(ye,S,T){!function(E){"use strict";E.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var _=b%10;return b+(1==~~(b%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},4530:function(ye,S,T){!function(E){"use strict";E.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(b){return"p"===b.charAt(0).toLowerCase()},meridiem:function(b,_,x){return b>11?x?"p.t.m.":"P.T.M.":x?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(T(5439))},8944:function(ye,S,T){!function(E){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),b="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],x=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;E.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(I,P){return I?/-MMM-/.test(P)?b[I.month()]:g[I.month()]:g},monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(T(5439))},9116:function(ye,S,T){!function(E){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),b="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],x=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;E.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(I,P){return I?/-MMM-/.test(P)?b[I.month()]:g[I.month()]:g},monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(T(5439))},3609:function(ye,S,T){!function(E){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),b="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],x=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;E.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(I,P){return I?/-MMM-/.test(P)?b[I.month()]:g[I.month()]:g},monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(T(5439))},6866:function(ye,S,T){!function(E){"use strict";var g="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),b="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],x=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;E.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(I,P){return I?/-MMM-/.test(P)?b[I.month()]:g[I.month()]:g},monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(T(5439))},6725:function(ye,S,T){!function(E){"use strict";function g(_,x,C,I){var P={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[_+"sekundi",_+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[_+" minuti",_+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[_+" tunni",_+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[_+" kuu",_+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[_+" aasta",_+" aastat"]};return x?P[C][2]?P[C][2]:P[C][1]:I?P[C][0]:P[C][1]}E.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:"%d p\xe4eva",M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},7931:function(ye,S,T){!function(E){"use strict";E.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(T(5439))},6417:function(ye,S,T){!function(E){"use strict";var g={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},b={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};E.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(x){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(x)},meridiem:function(x,C,I){return x<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(x){return x.replace(/[\u06f0-\u06f9]/g,function(C){return b[C]}).replace(/\u060c/g,",")},postformat:function(x){return x.replace(/\d/g,function(C){return g[C]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(T(5439))},944:function(ye,S,T){!function(E){"use strict";var g="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),b=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",g[7],g[8],g[9]];function _(I,P,O,U){var Q="";switch(O){case"s":return U?"muutaman sekunnin":"muutama sekunti";case"ss":Q=U?"sekunnin":"sekuntia";break;case"m":return U?"minuutin":"minuutti";case"mm":Q=U?"minuutin":"minuuttia";break;case"h":return U?"tunnin":"tunti";case"hh":Q=U?"tunnin":"tuntia";break;case"d":return U?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":Q=U?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return U?"kuukauden":"kuukausi";case"MM":Q=U?"kuukauden":"kuukautta";break;case"y":return U?"vuoden":"vuosi";case"yy":Q=U?"vuoden":"vuotta"}return function x(I,P){return I<10?P?b[I]:g[I]:I}(I,U)+" "+Q}E.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:_,ss:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},1766:function(ye,S,T){!function(E){"use strict";E.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(b){return b},week:{dow:1,doy:4}})}(T(5439))},5867:function(ye,S,T){!function(E){"use strict";E.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},6848:function(ye,S,T){!function(E){"use strict";E.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(b,_){switch(_){default:case"M":case"Q":case"D":case"DDD":case"d":return b+(1===b?"er":"e");case"w":case"W":return b+(1===b?"re":"e")}}})}(T(5439))},7773:function(ye,S,T){!function(E){"use strict";E.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(b,_){switch(_){default:case"M":case"Q":case"D":case"DDD":case"d":return b+(1===b?"er":"e");case"w":case"W":return b+(1===b?"re":"e")}},week:{dow:1,doy:4}})}(T(5439))},1636:function(ye,S,T){!function(E){"use strict";var _=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,x=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];E.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:_,monthsShortRegex:_,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:x,longMonthsParse:x,shortMonthsParse:x,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(I,P){switch(P){case"D":return I+(1===I?"er":"");default:case"M":case"Q":case"DDD":case"d":return I+(1===I?"er":"e");case"w":case"W":return I+(1===I?"re":"e")}},week:{dow:1,doy:4}})}(T(5439))},4940:function(ye,S,T){!function(E){"use strict";var g="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),b="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");E.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(x,C){return x?/-MMM-/.test(C)?b[x.month()]:g[x.month()]:g},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(x){return x+(1===x||8===x||x>=20?"ste":"de")},week:{dow:1,doy:4}})}(T(5439))},1402:function(ye,S,T){!function(E){"use strict";E.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(P){return P+(1===P?"d":P%10==2?"na":"mh")},week:{dow:1,doy:4}})}(T(5439))},6924:function(ye,S,T){!function(E){"use strict";E.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(P){return P+(1===P?"d":P%10==2?"na":"mh")},week:{dow:1,doy:4}})}(T(5439))},6398:function(ye,S,T){!function(E){"use strict";E.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(b){return 0===b.indexOf("un")?"n"+b:"en "+b},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(T(5439))},2457:function(ye,S,T){!function(E){"use strict";function g(_,x,C,I){var P={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[_+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",_+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[_+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",_+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[_+" \u0935\u0930\u093e\u0902\u0928\u0940",_+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[_+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",_+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[_+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",_+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[_+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",_+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return I?P[C][0]:P[C][1]}E.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(_,x){return"D"===x?_+"\u0935\u0947\u0930":_},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(_,x){return 12===_&&(_=0),"\u0930\u093e\u0924\u0940"===x?_<4?_:_+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===x?_:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===x?_>12?_:_+12:"\u0938\u093e\u0902\u091c\u0947"===x?_+12:void 0},meridiem:function(_,x,C){return _<4?"\u0930\u093e\u0924\u0940":_<12?"\u0938\u0915\u093e\u0933\u0940\u0902":_<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":_<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(T(5439))},2545:function(ye,S,T){!function(E){"use strict";function g(_,x,C,I){var P={s:["thoddea sekondamni","thodde sekond"],ss:[_+" sekondamni",_+" sekond"],m:["eka mintan","ek minut"],mm:[_+" mintamni",_+" mintam"],h:["eka voran","ek vor"],hh:[_+" voramni",_+" voram"],d:["eka disan","ek dis"],dd:[_+" disamni",_+" dis"],M:["eka mhoinean","ek mhoino"],MM:[_+" mhoineamni",_+" mhoine"],y:["eka vorsan","ek voros"],yy:[_+" vorsamni",_+" vorsam"]};return I?P[C][0]:P[C][1]}E.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(_,x){return"D"===x?_+"er":_},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(_,x){return 12===_&&(_=0),"rati"===x?_<4?_:_+12:"sokallim"===x?_:"donparam"===x?_>12?_:_+12:"sanje"===x?_+12:void 0},meridiem:function(_,x,C){return _<4?"rati":_<12?"sokallim":_<16?"donparam":_<20?"sanje":"rati"}})}(T(5439))},2641:function(ye,S,T){!function(E){"use strict";var g={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},b={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};E.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(x){return x.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(C){return b[C]})},postformat:function(x){return x.replace(/\d/g,function(C){return g[C]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(x,C){return 12===x&&(x=0),"\u0ab0\u0abe\u0aa4"===C?x<4?x:x+12:"\u0ab8\u0ab5\u0abe\u0ab0"===C?x:"\u0aac\u0aaa\u0acb\u0ab0"===C?x>=10?x:x+12:"\u0ab8\u0abe\u0a82\u0a9c"===C?x+12:void 0},meridiem:function(x,C,I){return x<4?"\u0ab0\u0abe\u0aa4":x<10?"\u0ab8\u0ab5\u0abe\u0ab0":x<17?"\u0aac\u0aaa\u0acb\u0ab0":x<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(T(5439))},7536:function(ye,S,T){!function(E){"use strict";E.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(b){return 2===b?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":b+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(b){return 2===b?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":b+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(b){return 2===b?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":b+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(b){return 2===b?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":b%10==0&&10!==b?b+" \u05e9\u05e0\u05d4":b+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(b){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(b)},meridiem:function(b,_,x){return b<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":b<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":b<12?x?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":b<18?x?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(T(5439))},6335:function(ye,S,T){!function(E){"use strict";var g={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},b={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},_=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];E.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:_,longMonthsParse:_,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(I){return I.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(P){return b[P]})},postformat:function(I){return I.replace(/\d/g,function(P){return g[P]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(I,P){return 12===I&&(I=0),"\u0930\u093e\u0924"===P?I<4?I:I+12:"\u0938\u0941\u092c\u0939"===P?I:"\u0926\u094b\u092a\u0939\u0930"===P?I>=10?I:I+12:"\u0936\u093e\u092e"===P?I+12:void 0},meridiem:function(I,P,O){return I<4?"\u0930\u093e\u0924":I<10?"\u0938\u0941\u092c\u0939":I<17?"\u0926\u094b\u092a\u0939\u0930":I<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(T(5439))},7458:function(ye,S,T){!function(E){"use strict";function g(_,x,C){var I=_+" ";switch(C){case"ss":return I+(1===_?"sekunda":2===_||3===_||4===_?"sekunde":"sekundi");case"m":return x?"jedna minuta":"jedne minute";case"mm":return I+(1===_?"minuta":2===_||3===_||4===_?"minute":"minuta");case"h":return x?"jedan sat":"jednog sata";case"hh":return I+(1===_?"sat":2===_||3===_||4===_?"sata":"sati");case"dd":return I+(1===_?"dan":"dana");case"MM":return I+(1===_?"mjesec":2===_||3===_||4===_?"mjeseca":"mjeseci");case"yy":return I+(1===_?"godina":2===_||3===_||4===_?"godine":"godina")}}E.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:g,m:g,mm:g,h:g,hh:g,d:"dan",dd:g,M:"mjesec",MM:g,y:"godinu",yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(T(5439))},6540:function(ye,S,T){!function(E){"use strict";var g="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function b(C,I,P,O){var U=C;switch(P){case"s":return O||I?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return U+(O||I)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(O||I?" perc":" perce");case"mm":return U+(O||I?" perc":" perce");case"h":return"egy"+(O||I?" \xf3ra":" \xf3r\xe1ja");case"hh":return U+(O||I?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(O||I?" nap":" napja");case"dd":return U+(O||I?" nap":" napja");case"M":return"egy"+(O||I?" h\xf3nap":" h\xf3napja");case"MM":return U+(O||I?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(O||I?" \xe9v":" \xe9ve");case"yy":return U+(O||I?" \xe9v":" \xe9ve")}return""}function _(C){return(C?"":"[m\xfalt] ")+"["+g[this.day()]+"] LT[-kor]"}E.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(C){return"u"===C.charAt(1).toLowerCase()},meridiem:function(C,I,P){return C<12?!0===P?"de":"DE":!0===P?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return _.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return _.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},5283:function(ye,S,T){!function(E){"use strict";E.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(b){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(b)},meridiem:function(b){return b<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":b<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":b<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(b,_){switch(_){case"DDD":case"w":case"W":case"DDDo":return 1===b?b+"-\u056b\u0576":b+"-\u0580\u0564";default:return b}},week:{dow:1,doy:7}})}(T(5439))},8780:function(ye,S,T){!function(E){"use strict";E.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(b,_){return 12===b&&(b=0),"pagi"===_?b:"siang"===_?b>=11?b:b+12:"sore"===_||"malam"===_?b+12:void 0},meridiem:function(b,_,x){return b<11?"pagi":b<15?"siang":b<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(T(5439))},4205:function(ye,S,T){!function(E){"use strict";function g(x){return x%100==11||x%10!=1}function b(x,C,I,P){var O=x+" ";switch(I){case"s":return C||P?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return g(x)?O+(C||P?"sek\xfandur":"sek\xfandum"):O+"sek\xfanda";case"m":return C?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return g(x)?O+(C||P?"m\xedn\xfatur":"m\xedn\xfatum"):C?O+"m\xedn\xfata":O+"m\xedn\xfatu";case"hh":return g(x)?O+(C||P?"klukkustundir":"klukkustundum"):O+"klukkustund";case"d":return C?"dagur":P?"dag":"degi";case"dd":return g(x)?C?O+"dagar":O+(P?"daga":"d\xf6gum"):C?O+"dagur":O+(P?"dag":"degi");case"M":return C?"m\xe1nu\xf0ur":P?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return g(x)?C?O+"m\xe1nu\xf0ir":O+(P?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):C?O+"m\xe1nu\xf0ur":O+(P?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return C||P?"\xe1r":"\xe1ri";case"yy":return g(x)?O+(C||P?"\xe1r":"\xe1rum"):O+(C||P?"\xe1r":"\xe1ri")}}E.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:b,ss:b,m:b,mm:b,h:"klukkustund",hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},9985:function(ye,S,T){!function(E){"use strict";E.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(b){return(/^[0-9].+$/.test(b)?"tra":"in")+" "+b},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(T(5439))},4211:function(ye,S,T){!function(E){"use strict";E.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(T(5439))},1003:function(ye,S,T){!function(E){"use strict";E.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(b,_){return"\u5143"===_[1]?1:parseInt(_[1]||b,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(b){return"\u5348\u5f8c"===b},meridiem:function(b,_,x){return b<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(b){return b.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(b){return this.week()!==b.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(b,_){switch(_){case"y":return 1===b?"\u5143\u5e74":b+"\u5e74";case"d":case"D":case"DDD":return b+"\u65e5";default:return b}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(T(5439))},420:function(ye,S,T){!function(E){"use strict";E.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(b,_){return 12===b&&(b=0),"enjing"===_?b:"siyang"===_?b>=11?b:b+12:"sonten"===_||"ndalu"===_?b+12:void 0},meridiem:function(b,_,x){return b<11?"enjing":b<15?"siyang":b<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(T(5439))},851:function(ye,S,T){!function(E){"use strict";E.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(b){return b.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(_,x,C){return"\u10d8"===C?x+"\u10e8\u10d8":x+C+"\u10e8\u10d8"})},past:function(b){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(b)?b.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(b)?b.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):b},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(b){return 0===b?b:1===b?b+"-\u10da\u10d8":b<20||b<=100&&b%20==0||b%100==0?"\u10db\u10d4-"+b:b+"-\u10d4"},week:{dow:1,doy:7}})}(T(5439))},6074:function(ye,S,T){!function(E){"use strict";var g={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};E.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(_){return _+(g[_]||g[_%10]||g[_>=100?100:null])},week:{dow:1,doy:7}})}(T(5439))},3343:function(ye,S,T){!function(E){"use strict";var g={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},b={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};E.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(x){return"\u179b\u17d2\u1784\u17b6\u1785"===x},meridiem:function(x,C,I){return x<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(x){return x.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(C){return b[C]})},postformat:function(x){return x.replace(/\d/g,function(C){return g[C]})},week:{dow:1,doy:4}})}(T(5439))},4799:function(ye,S,T){!function(E){"use strict";var g={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},b={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};E.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(x){return x.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(C){return b[C]})},postformat:function(x){return x.replace(/\d/g,function(C){return g[C]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(x,C){return 12===x&&(x=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===C?x<4?x:x+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===C?x:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===C?x>=10?x:x+12:"\u0cb8\u0c82\u0c9c\u0cc6"===C?x+12:void 0},meridiem:function(x,C,I){return x<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":x<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":x<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":x<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(x){return x+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(T(5439))},3549:function(ye,S,T){!function(E){"use strict";E.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(b,_){switch(_){case"d":case"D":case"DDD":return b+"\uc77c";case"M":return b+"\uc6d4";case"w":case"W":return b+"\uc8fc";default:return b}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(b){return"\uc624\ud6c4"===b},meridiem:function(b,_,x){return b<12?"\uc624\uc804":"\uc624\ud6c4"}})}(T(5439))},1037:function(ye,S,T){!function(E){"use strict";var g={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},b={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},_=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];E.defineLocale("ku",{months:_,monthsShort:_,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(C){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(C)},meridiem:function(C,I,P){return C<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(I){return b[I]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(I){return g[I]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(T(5439))},3125:function(ye,S,T){!function(E){"use strict";var g={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};E.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(_){return _+(g[_]||g[_%10]||g[_>=100?100:null])},week:{dow:1,doy:7}})}(T(5439))},9586:function(ye,S,T){!function(E){"use strict";function g(I,P,O,U){var Q={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return P?Q[O][0]:Q[O][1]}function x(I){if(I=parseInt(I,10),isNaN(I))return!1;if(I<0)return!0;if(I<10)return 4<=I&&I<=7;if(I<100){var P=I%10;return x(0===P?I/10:P)}if(I<1e4){for(;I>=10;)I/=10;return x(I)}return x(I/=1e3)}E.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function b(I){return x(I.substr(0,I.indexOf(" ")))?"a "+I:"an "+I},past:function _(I){return x(I.substr(0,I.indexOf(" ")))?"viru "+I:"virun "+I},s:"e puer Sekonnen",ss:"%d Sekonnen",m:g,mm:"%d Minutten",h:g,hh:"%d Stonnen",d:g,dd:"%d Deeg",M:g,MM:"%d M\xe9int",y:g,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},2349:function(ye,S,T){!function(E){"use strict";E.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(b){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===b},meridiem:function(b,_,x){return b<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(b){return"\u0e97\u0eb5\u0ec8"+b}})}(T(5439))},2400:function(ye,S,T){!function(E){"use strict";var g={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function _(O,U,Q,j){return U?C(Q)[0]:j?C(Q)[1]:C(Q)[2]}function x(O){return O%10==0||O>10&&O<20}function C(O){return g[O].split("_")}function I(O,U,Q,j){var V=O+" ";return 1===O?V+_(0,U,Q[0],j):U?V+(x(O)?C(Q)[1]:C(Q)[0]):j?V+C(Q)[1]:V+(x(O)?C(Q)[1]:C(Q)[2])}E.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function b(O,U,Q,j){return U?"kelios sekund\u0117s":j?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:I,m:_,mm:I,h:_,hh:I,d:_,dd:I,M:_,MM:I,y:_,yy:I},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(O){return O+"-oji"},week:{dow:1,doy:4}})}(T(5439))},9991:function(ye,S,T){!function(E){"use strict";var g={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function b(P,O,U){return U?O%10==1&&O%100!=11?P[2]:P[3]:O%10==1&&O%100!=11?P[0]:P[1]}function _(P,O,U){return P+" "+b(g[U],P,O)}function x(P,O,U){return b(g[U],P,O)}E.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function C(P,O){return O?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:_,m:x,mm:_,h:x,hh:_,d:x,dd:_,M:x,MM:_,y:x,yy:_},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},8477:function(ye,S,T){!function(E){"use strict";var g={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(_,x){return 1===_?x[0]:_>=2&&_<=4?x[1]:x[2]},translate:function(_,x,C){var I=g.words[C];return 1===C.length?x?I[0]:I[1]:_+" "+g.correctGrammaticalCase(_,I)}};E.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:g.translate,m:g.translate,mm:g.translate,h:g.translate,hh:g.translate,d:"dan",dd:g.translate,M:"mjesec",MM:g.translate,y:"godinu",yy:g.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(T(5439))},5118:function(ye,S,T){!function(E){"use strict";E.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(T(5439))},5943:function(ye,S,T){!function(E){"use strict";E.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(b){var _=b%10,x=b%100;return 0===b?b+"-\u0435\u0432":0===x?b+"-\u0435\u043d":x>10&&x<20?b+"-\u0442\u0438":1===_?b+"-\u0432\u0438":2===_?b+"-\u0440\u0438":7===_||8===_?b+"-\u043c\u0438":b+"-\u0442\u0438"},week:{dow:1,doy:7}})}(T(5439))},3849:function(ye,S,T){!function(E){"use strict";E.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(b,_){return 12===b&&(b=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===_&&b>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===_||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===_?b+12:b},meridiem:function(b,_,x){return b<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":b<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":b<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":b<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(T(5439))},1977:function(ye,S,T){!function(E){"use strict";function g(_,x,C,I){switch(C){case"s":return x?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return _+(x?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return _+(x?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return _+(x?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return _+(x?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return _+(x?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return _+(x?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return _}}E.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(_){return"\u04ae\u0425"===_},meridiem:function(_,x,C){return _<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(_,x){switch(x){case"d":case"D":case"DDD":return _+" \u04e9\u0434\u04e9\u0440";default:return _}}})}(T(5439))},6184:function(ye,S,T){!function(E){"use strict";var g={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},b={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function _(C,I,P,O){var U="";if(I)switch(P){case"s":U="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":U="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":U="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":U="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":U="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":U="%d \u0924\u093e\u0938";break;case"d":U="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":U="%d \u0926\u093f\u0935\u0938";break;case"M":U="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":U="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":U="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":U="%d \u0935\u0930\u094d\u0937\u0947"}else switch(P){case"s":U="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":U="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":U="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":U="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":U="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":U="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":U="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":U="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":U="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":U="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":U="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":U="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return U.replace(/%d/i,C)}E.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:_,ss:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_},preparse:function(C){return C.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(I){return b[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return g[I]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(C,I){return 12===C&&(C=0),"\u092a\u0939\u093e\u091f\u0947"===I||"\u0938\u0915\u093e\u0933\u0940"===I?C:"\u0926\u0941\u092a\u093e\u0930\u0940"===I||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===I||"\u0930\u093e\u0924\u094d\u0930\u0940"===I?C>=12?C:C+12:void 0},meridiem:function(C,I,P){return C>=0&&C<6?"\u092a\u0939\u093e\u091f\u0947":C<12?"\u0938\u0915\u093e\u0933\u0940":C<17?"\u0926\u0941\u092a\u093e\u0930\u0940":C<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(T(5439))},4524:function(ye,S,T){!function(E){"use strict";E.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(b,_){return 12===b&&(b=0),"pagi"===_?b:"tengahari"===_?b>=11?b:b+12:"petang"===_||"malam"===_?b+12:void 0},meridiem:function(b,_,x){return b<11?"pagi":b<15?"tengahari":b<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(T(5439))},485:function(ye,S,T){!function(E){"use strict";E.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(b,_){return 12===b&&(b=0),"pagi"===_?b:"tengahari"===_?b>=11?b:b+12:"petang"===_||"malam"===_?b+12:void 0},meridiem:function(b,_,x){return b<11?"pagi":b<15?"tengahari":b<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(T(5439))},6681:function(ye,S,T){!function(E){"use strict";E.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(T(5439))},2024:function(ye,S,T){!function(E){"use strict";var g={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},b={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};E.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(x){return x.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(C){return b[C]})},postformat:function(x){return x.replace(/\d/g,function(C){return g[C]})},week:{dow:1,doy:4}})}(T(5439))},2688:function(ye,S,T){!function(E){"use strict";E.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},8914:function(ye,S,T){!function(E){"use strict";var g={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},b={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};E.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(x){return x.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(C){return b[C]})},postformat:function(x){return x.replace(/\d/g,function(C){return g[C]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(x,C){return 12===x&&(x=0),"\u0930\u093e\u0924\u093f"===C?x<4?x:x+12:"\u092c\u093f\u0939\u093e\u0928"===C?x:"\u0926\u093f\u0909\u0901\u0938\u094b"===C?x>=10?x:x+12:"\u0938\u093e\u0901\u091d"===C?x+12:void 0},meridiem:function(x,C,I){return x<3?"\u0930\u093e\u0924\u093f":x<12?"\u092c\u093f\u0939\u093e\u0928":x<16?"\u0926\u093f\u0909\u0901\u0938\u094b":x<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(T(5439))},2272:function(ye,S,T){!function(E){"use strict";var g="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),b="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),_=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],x=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;E.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(I,P){return I?/-MMM-/.test(P)?b[I.month()]:g[I.month()]:g},monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(I){return I+(1===I||8===I||I>=20?"ste":"de")},week:{dow:1,doy:4}})}(T(5439))},1758:function(ye,S,T){!function(E){"use strict";var g="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),b="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),_=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],x=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;E.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(I,P){return I?/-MMM-/.test(P)?b[I.month()]:g[I.month()]:g},monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(I){return I+(1===I||8===I||I>=20?"ste":"de")},week:{dow:1,doy:4}})}(T(5439))},1510:function(ye,S,T){!function(E){"use strict";E.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},2797:function(ye,S,T){!function(E){"use strict";E.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(b,_){var x=1===b?"r":2===b?"n":3===b?"r":4===b?"t":"\xe8";return("w"===_||"W"===_)&&(x="a"),b+x},week:{dow:1,doy:4}})}(T(5439))},7944:function(ye,S,T){!function(E){"use strict";var g={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},b={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};E.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(x){return x.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(C){return b[C]})},postformat:function(x){return x.replace(/\d/g,function(C){return g[C]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(x,C){return 12===x&&(x=0),"\u0a30\u0a3e\u0a24"===C?x<4?x:x+12:"\u0a38\u0a35\u0a47\u0a30"===C?x:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===C?x>=10?x:x+12:"\u0a38\u0a3c\u0a3e\u0a2e"===C?x+12:void 0},meridiem:function(x,C,I){return x<4?"\u0a30\u0a3e\u0a24":x<10?"\u0a38\u0a35\u0a47\u0a30":x<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":x<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(T(5439))},1605:function(ye,S,T){!function(E){"use strict";var g="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),b="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),_=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function x(P){return P%10<5&&P%10>1&&~~(P/10)%10!=1}function C(P,O,U){var Q=P+" ";switch(U){case"ss":return Q+(x(P)?"sekundy":"sekund");case"m":return O?"minuta":"minut\u0119";case"mm":return Q+(x(P)?"minuty":"minut");case"h":return O?"godzina":"godzin\u0119";case"hh":return Q+(x(P)?"godziny":"godzin");case"ww":return Q+(x(P)?"tygodnie":"tygodni");case"MM":return Q+(x(P)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return Q+(x(P)?"lata":"lat")}}E.defineLocale("pl",{months:function(P,O){return P?/D MMMM/.test(O)?b[P.month()]:g[P.month()]:g},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:C,m:C,mm:C,h:C,hh:C,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:C,M:"miesi\u0105c",MM:C,y:"rok",yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},3840:function(ye,S,T){!function(E){"use strict";E.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(T(5439))},4225:function(ye,S,T){!function(E){"use strict";E.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(T(5439))},5128:function(ye,S,T){!function(E){"use strict";function g(_,x,C){var P=" ";return(_%100>=20||_>=100&&_%100==0)&&(P=" de "),_+P+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[C]}E.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:g,m:"un minut",mm:g,h:"o or\u0103",hh:g,d:"o zi",dd:g,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:g,M:"o lun\u0103",MM:g,y:"un an",yy:g},week:{dow:1,doy:7}})}(T(5439))},5127:function(ye,S,T){!function(E){"use strict";function b(C,I,P){return"m"===P?I?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":C+" "+function g(C,I){var P=C.split("_");return I%10==1&&I%100!=11?P[0]:I%10>=2&&I%10<=4&&(I%100<10||I%100>=20)?P[1]:P[2]}({ss:I?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:I?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[P],+C)}var _=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];E.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:_,longMonthsParse:_,shortMonthsParse:_,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(C){if(C.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(C){if(C.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:b,m:b,mm:b,h:"\u0447\u0430\u0441",hh:b,d:"\u0434\u0435\u043d\u044c",dd:b,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:b,M:"\u043c\u0435\u0441\u044f\u0446",MM:b,y:"\u0433\u043e\u0434",yy:b},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(C){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(C)},meridiem:function(C,I,P){return C<4?"\u043d\u043e\u0447\u0438":C<12?"\u0443\u0442\u0440\u0430":C<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(C,I){switch(I){case"M":case"d":case"DDD":return C+"-\u0439";case"D":return C+"-\u0433\u043e";case"w":case"W":return C+"-\u044f";default:return C}},week:{dow:1,doy:4}})}(T(5439))},2525:function(ye,S,T){!function(E){"use strict";var g=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],b=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];E.defineLocale("sd",{months:g,monthsShort:g,weekdays:b,weekdaysShort:b,weekdaysMin:b,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(x){return"\u0634\u0627\u0645"===x},meridiem:function(x,C,I){return x<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(x){return x.replace(/\u060c/g,",")},postformat:function(x){return x.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(T(5439))},9893:function(ye,S,T){!function(E){"use strict";E.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},3123:function(ye,S,T){!function(E){"use strict";E.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(b){return b+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(b){return"\u0db4.\u0dc0."===b||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===b},meridiem:function(b,_,x){return b>11?x?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":x?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(T(5439))},9635:function(ye,S,T){!function(E){"use strict";var g="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),b="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function _(I){return I>1&&I<5}function x(I,P,O,U){var Q=I+" ";switch(O){case"s":return P||U?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return P||U?Q+(_(I)?"sekundy":"sek\xfand"):Q+"sekundami";case"m":return P?"min\xfata":U?"min\xfatu":"min\xfatou";case"mm":return P||U?Q+(_(I)?"min\xfaty":"min\xfat"):Q+"min\xfatami";case"h":return P?"hodina":U?"hodinu":"hodinou";case"hh":return P||U?Q+(_(I)?"hodiny":"hod\xedn"):Q+"hodinami";case"d":return P||U?"de\u0148":"d\u0148om";case"dd":return P||U?Q+(_(I)?"dni":"dn\xed"):Q+"d\u0148ami";case"M":return P||U?"mesiac":"mesiacom";case"MM":return P||U?Q+(_(I)?"mesiace":"mesiacov"):Q+"mesiacmi";case"y":return P||U?"rok":"rokom";case"yy":return P||U?Q+(_(I)?"roky":"rokov"):Q+"rokmi"}}E.defineLocale("sk",{months:g,monthsShort:b,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:x,ss:x,m:x,mm:x,h:x,hh:x,d:x,dd:x,M:x,MM:x,y:x,yy:x},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},8106:function(ye,S,T){!function(E){"use strict";function g(_,x,C,I){var P=_+" ";switch(C){case"s":return x||I?"nekaj sekund":"nekaj sekundami";case"ss":return P+(1===_?x?"sekundo":"sekundi":2===_?x||I?"sekundi":"sekundah":_<5?x||I?"sekunde":"sekundah":"sekund");case"m":return x?"ena minuta":"eno minuto";case"mm":return P+(1===_?x?"minuta":"minuto":2===_?x||I?"minuti":"minutama":_<5?x||I?"minute":"minutami":x||I?"minut":"minutami");case"h":return x?"ena ura":"eno uro";case"hh":return P+(1===_?x?"ura":"uro":2===_?x||I?"uri":"urama":_<5?x||I?"ure":"urami":x||I?"ur":"urami");case"d":return x||I?"en dan":"enim dnem";case"dd":return P+(1===_?x||I?"dan":"dnem":2===_?x||I?"dni":"dnevoma":x||I?"dni":"dnevi");case"M":return x||I?"en mesec":"enim mesecem";case"MM":return P+(1===_?x||I?"mesec":"mesecem":2===_?x||I?"meseca":"mesecema":_<5?x||I?"mesece":"meseci":x||I?"mesecev":"meseci");case"y":return x||I?"eno leto":"enim letom";case"yy":return P+(1===_?x||I?"leto":"letom":2===_?x||I?"leti":"letoma":_<5?x||I?"leta":"leti":x||I?"let":"leti")}}E.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:g,ss:g,m:g,mm:g,h:g,hh:g,d:g,dd:g,M:g,MM:g,y:g,yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(T(5439))},8799:function(ye,S,T){!function(E){"use strict";E.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(b){return"M"===b.charAt(0)},meridiem:function(b,_,x){return b<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},2872:function(ye,S,T){!function(E){"use strict";var g={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(_,x){return _%10>=1&&_%10<=4&&(_%100<10||_%100>=20)?_%10==1?x[0]:x[1]:x[2]},translate:function(_,x,C,I){var O,P=g.words[C];return 1===C.length?"y"===C&&x?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":I||x?P[0]:P[1]:(O=g.correctGrammaticalCase(_,P),"yy"===C&&x&&"\u0433\u043e\u0434\u0438\u043d\u0443"===O?_+" \u0433\u043e\u0434\u0438\u043d\u0430":_+" "+O)}};E.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:g.translate,m:g.translate,mm:g.translate,h:g.translate,hh:g.translate,d:g.translate,dd:g.translate,M:g.translate,MM:g.translate,y:g.translate,yy:g.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(T(5439))},7949:function(ye,S,T){!function(E){"use strict";var g={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(_,x){return _%10>=1&&_%10<=4&&(_%100<10||_%100>=20)?_%10==1?x[0]:x[1]:x[2]},translate:function(_,x,C,I){var O,P=g.words[C];return 1===C.length?"y"===C&&x?"jedna godina":I||x?P[0]:P[1]:(O=g.correctGrammaticalCase(_,P),"yy"===C&&x&&"godinu"===O?_+" godina":_+" "+O)}};E.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:g.translate,m:g.translate,mm:g.translate,h:g.translate,hh:g.translate,d:g.translate,dd:g.translate,M:g.translate,MM:g.translate,y:g.translate,yy:g.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(T(5439))},6167:function(ye,S,T){!function(E){"use strict";E.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(b,_,x){return b<11?"ekuseni":b<15?"emini":b<19?"entsambama":"ebusuku"},meridiemHour:function(b,_){return 12===b&&(b=0),"ekuseni"===_?b:"emini"===_?b>=11?b:b+12:"entsambama"===_||"ebusuku"===_?0===b?0:b+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(T(5439))},9713:function(ye,S,T){!function(E){"use strict";E.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(b){var _=b%10;return b+(1==~~(b%100/10)?":e":1===_||2===_?":a":":e")},week:{dow:1,doy:4}})}(T(5439))},1982:function(ye,S,T){!function(E){"use strict";E.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(T(5439))},2732:function(ye,S,T){!function(E){"use strict";var g={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},b={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};E.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(x){return x+"\u0bb5\u0ba4\u0bc1"},preparse:function(x){return x.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(C){return b[C]})},postformat:function(x){return x.replace(/\d/g,function(C){return g[C]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(x,C,I){return x<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":x<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":x<10?" \u0b95\u0bbe\u0bb2\u0bc8":x<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":x<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":x<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(x,C){return 12===x&&(x=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===C?x<2?x:x+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===C||"\u0b95\u0bbe\u0bb2\u0bc8"===C||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===C&&x>=10?x:x+12},week:{dow:0,doy:6}})}(T(5439))},3636:function(ye,S,T){!function(E){"use strict";E.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(b,_){return 12===b&&(b=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===_?b<4?b:b+12:"\u0c09\u0c26\u0c2f\u0c02"===_?b:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===_?b>=10?b:b+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===_?b+12:void 0},meridiem:function(b,_,x){return b<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":b<10?"\u0c09\u0c26\u0c2f\u0c02":b<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":b<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(T(5439))},2115:function(ye,S,T){!function(E){"use strict";E.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var _=b%10;return b+(1==~~(b%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},9801:function(ye,S,T){!function(E){"use strict";var g={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};E.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(_,x){return 12===_&&(_=0),"\u0448\u0430\u0431"===x?_<4?_:_+12:"\u0441\u0443\u0431\u04b3"===x?_:"\u0440\u04ef\u0437"===x?_>=11?_:_+12:"\u0431\u0435\u0433\u043e\u04b3"===x?_+12:void 0},meridiem:function(_,x,C){return _<4?"\u0448\u0430\u0431":_<11?"\u0441\u0443\u0431\u04b3":_<16?"\u0440\u04ef\u0437":_<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(_){return _+(g[_]||g[_%10]||g[_>=100?100:null])},week:{dow:1,doy:7}})}(T(5439))},4486:function(ye,S,T){!function(E){"use strict";E.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(b){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===b},meridiem:function(b,_,x){return b<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(T(5439))},1310:function(ye,S,T){!function(E){"use strict";var g={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};E.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(_,x){switch(x){case"d":case"D":case"Do":case"DD":return _;default:if(0===_)return _+"'unjy";var C=_%10;return _+(g[C]||g[_%100-C]||g[_>=100?100:null])}},week:{dow:1,doy:7}})}(T(5439))},2360:function(ye,S,T){!function(E){"use strict";E.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(b){return b},week:{dow:1,doy:4}})}(T(5439))},6645:function(ye,S,T){!function(E){"use strict";var g="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function x(P,O,U,Q){var j=function C(P){var O=Math.floor(P%1e3/100),U=Math.floor(P%100/10),Q=P%10,j="";return O>0&&(j+=g[O]+"vatlh"),U>0&&(j+=(""!==j?" ":"")+g[U]+"maH"),Q>0&&(j+=(""!==j?" ":"")+g[Q]),""===j?"pagh":j}(P);switch(U){case"ss":return j+" lup";case"mm":return j+" tup";case"hh":return j+" rep";case"dd":return j+" jaj";case"MM":return j+" jar";case"yy":return j+" DIS"}}E.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function b(P){var O=P;return-1!==P.indexOf("jaj")?O.slice(0,-3)+"leS":-1!==P.indexOf("jar")?O.slice(0,-3)+"waQ":-1!==P.indexOf("DIS")?O.slice(0,-3)+"nem":O+" pIq"},past:function _(P){var O=P;return-1!==P.indexOf("jaj")?O.slice(0,-3)+"Hu\u2019":-1!==P.indexOf("jar")?O.slice(0,-3)+"wen":-1!==P.indexOf("DIS")?O.slice(0,-3)+"ben":O+" ret"},s:"puS lup",ss:x,m:"wa\u2019 tup",mm:x,h:"wa\u2019 rep",hh:x,d:"wa\u2019 jaj",dd:x,M:"wa\u2019 jar",MM:x,y:"wa\u2019 DIS",yy:x},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},8374:function(ye,S,T){!function(E){"use strict";var g={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};E.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(_,x,C){return _<12?C?"\xf6\xf6":"\xd6\xd6":C?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(_){return"\xf6s"===_||"\xd6S"===_},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(_,x){switch(x){case"d":case"D":case"Do":case"DD":return _;default:if(0===_)return _+"'\u0131nc\u0131";var C=_%10;return _+(g[C]||g[_%100-C]||g[_>=100?100:null])}},week:{dow:1,doy:7}})}(T(5439))},256:function(ye,S,T){!function(E){"use strict";function b(_,x,C,I){var P={s:["viensas secunds","'iensas secunds"],ss:[_+" secunds",_+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[_+" m\xeduts",_+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[_+" \xfeoras",_+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[_+" ziuas",_+" ziuas"],M:["'n mes","'iens mes"],MM:[_+" mesen",_+" mesen"],y:["'n ar","'iens ar"],yy:[_+" ars",_+" ars"]};return I||x?P[C][0]:P[C][1]}E.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(_){return"d'o"===_.toLowerCase()},meridiem:function(_,x,C){return _>11?C?"d'o":"D'O":C?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(T(5439))},1631:function(ye,S,T){!function(E){"use strict";E.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(T(5439))},1595:function(ye,S,T){!function(E){"use strict";E.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(T(5439))},6050:function(ye,S,T){!function(E){"use strict";E.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(b,_){return 12===b&&(b=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===_||"\u0633\u06d5\u06be\u06d5\u0631"===_||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===_?b:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===_||"\u0643\u06d5\u0686"===_?b+12:b>=11?b:b+12},meridiem:function(b,_,x){var C=100*b+_;return C<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":C<900?"\u0633\u06d5\u06be\u06d5\u0631":C<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":C<1230?"\u0686\u06c8\u0634":C<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(b,_){switch(_){case"d":case"D":case"DDD":return b+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return b+"-\u06be\u06d5\u067e\u062a\u06d5";default:return b}},preparse:function(b){return b.replace(/\u060c/g,",")},postformat:function(b){return b.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(T(5439))},5610:function(ye,S,T){!function(E){"use strict";function b(I,P,O){return"m"===O?P?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===O?P?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":I+" "+function g(I,P){var O=I.split("_");return P%10==1&&P%100!=11?O[0]:P%10>=2&&P%10<=4&&(P%100<10||P%100>=20)?O[1]:O[2]}({ss:P?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:P?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:P?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[O],+I)}function x(I){return function(){return I+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}E.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function _(I,P){var O={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===I?O.nominative.slice(1,7).concat(O.nominative.slice(0,1)):I?O[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(P)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(P)?"genitive":"nominative"][I.day()]:O.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:x("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:x("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:x("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:x("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return x("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return x("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:b,m:b,mm:b,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:b,d:"\u0434\u0435\u043d\u044c",dd:b,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:b,y:"\u0440\u0456\u043a",yy:b},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(I){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(I)},meridiem:function(I,P,O){return I<4?"\u043d\u043e\u0447\u0456":I<12?"\u0440\u0430\u043d\u043a\u0443":I<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(I,P){switch(P){case"M":case"d":case"DDD":case"w":case"W":return I+"-\u0439";case"D":return I+"-\u0433\u043e";default:return I}},week:{dow:1,doy:7}})}(T(5439))},6077:function(ye,S,T){!function(E){"use strict";var g=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],b=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];E.defineLocale("ur",{months:g,monthsShort:g,weekdays:b,weekdaysShort:b,weekdaysMin:b,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(x){return"\u0634\u0627\u0645"===x},meridiem:function(x,C,I){return x<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(x){return x.replace(/\u060c/g,",")},postformat:function(x){return x.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(T(5439))},2207:function(ye,S,T){!function(E){"use strict";E.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(T(5439))},2862:function(ye,S,T){!function(E){"use strict";E.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(T(5439))},8093:function(ye,S,T){!function(E){"use strict";E.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(b){return/^ch$/i.test(b)},meridiem:function(b,_,x){return b<12?x?"sa":"SA":x?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(b){return b},week:{dow:1,doy:4}})}(T(5439))},5590:function(ye,S,T){!function(E){"use strict";E.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(b){var _=b%10;return b+(1==~~(b%100/10)?"th":1===_?"st":2===_?"nd":3===_?"rd":"th")},week:{dow:1,doy:4}})}(T(5439))},9058:function(ye,S,T){!function(E){"use strict";E.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(T(5439))},7908:function(ye,S,T){!function(E){"use strict";E.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(b,_){return 12===b&&(b=0),"\u51cc\u6668"===_||"\u65e9\u4e0a"===_||"\u4e0a\u5348"===_?b:"\u4e0b\u5348"===_||"\u665a\u4e0a"===_?b+12:b>=11?b:b+12},meridiem:function(b,_,x){var C=100*b+_;return C<600?"\u51cc\u6668":C<900?"\u65e9\u4e0a":C<1130?"\u4e0a\u5348":C<1230?"\u4e2d\u5348":C<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(b){return b.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(b){return this.week()!==b.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(b,_){switch(_){case"d":case"D":case"DDD":return b+"\u65e5";case"M":return b+"\u6708";case"w":case"W":return b+"\u5468";default:return b}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(T(5439))},8867:function(ye,S,T){!function(E){"use strict";E.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(b,_){return 12===b&&(b=0),"\u51cc\u6668"===_||"\u65e9\u4e0a"===_||"\u4e0a\u5348"===_?b:"\u4e2d\u5348"===_?b>=11?b:b+12:"\u4e0b\u5348"===_||"\u665a\u4e0a"===_?b+12:void 0},meridiem:function(b,_,x){var C=100*b+_;return C<600?"\u51cc\u6668":C<900?"\u65e9\u4e0a":C<1200?"\u4e0a\u5348":1200===C?"\u4e2d\u5348":C<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(b,_){switch(_){case"d":case"D":case"DDD":return b+"\u65e5";case"M":return b+"\u6708";case"w":case"W":return b+"\u9031";default:return b}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(T(5439))},1133:function(ye,S,T){!function(E){"use strict";E.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(b,_){return 12===b&&(b=0),"\u51cc\u6668"===_||"\u65e9\u4e0a"===_||"\u4e0a\u5348"===_?b:"\u4e2d\u5348"===_?b>=11?b:b+12:"\u4e0b\u5348"===_||"\u665a\u4e0a"===_?b+12:void 0},meridiem:function(b,_,x){var C=100*b+_;return C<600?"\u51cc\u6668":C<900?"\u65e9\u4e0a":C<1130?"\u4e0a\u5348":C<1230?"\u4e2d\u5348":C<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(b,_){switch(_){case"d":case"D":case"DDD":return b+"\u65e5";case"M":return b+"\u6708";case"w":case"W":return b+"\u9031";default:return b}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(T(5439))},3291:function(ye,S,T){!function(E){"use strict";E.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(b,_){return 12===b&&(b=0),"\u51cc\u6668"===_||"\u65e9\u4e0a"===_||"\u4e0a\u5348"===_?b:"\u4e2d\u5348"===_?b>=11?b:b+12:"\u4e0b\u5348"===_||"\u665a\u4e0a"===_?b+12:void 0},meridiem:function(b,_,x){var C=100*b+_;return C<600?"\u51cc\u6668":C<900?"\u65e9\u4e0a":C<1130?"\u4e0a\u5348":C<1230?"\u4e2d\u5348":C<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(b,_){switch(_){case"d":case"D":case"DDD":return b+"\u65e5";case"M":return b+"\u6708";case"w":case"W":return b+"\u9031";default:return b}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(T(5439))},5439:function(ye,S,T){(ye=T.nmd(ye)).exports=function(){"use strict";var E,ie;function g(){return E.apply(null,arguments)}function _(w){return w instanceof Array||"[object Array]"===Object.prototype.toString.call(w)}function x(w){return null!=w&&"[object Object]"===Object.prototype.toString.call(w)}function C(w,L){return Object.prototype.hasOwnProperty.call(w,L)}function I(w){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(w).length;var L;for(L in w)if(C(w,L))return!1;return!0}function P(w){return void 0===w}function O(w){return"number"==typeof w||"[object Number]"===Object.prototype.toString.call(w)}function U(w){return w instanceof Date||"[object Date]"===Object.prototype.toString.call(w)}function Q(w,L){var se,Z=[],be=w.length;for(se=0;se>>0;for(se=0;se0)for(Z=0;Z=0?Z?"+":"":"-")+Math.pow(10,Math.max(0,L-se.length)).toString().substr(1)+se}var ft=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ii=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,He={},gi={};function nt(w,L,Z,se){var be=se;"string"==typeof se&&(be=function(){return this[se]()}),w&&(gi[w]=be),L&&(gi[L[0]]=function(){return Zt(be.apply(this,arguments),L[1],L[2])}),Z&&(gi[Z]=function(){return this.localeData().ordinal(be.apply(this,arguments),w)})}function ei(w){return w.match(/\[[\s\S]/)?w.replace(/^\[|\]$/g,""):w.replace(/\\/g,"")}function yn(w,L){return w.isValid()?(L=bt(L,w.localeData()),He[L]=He[L]||function zt(w){var Z,se,L=w.match(ft);for(Z=0,se=L.length;Z=0&&ii.test(w);)w=w.replace(ii,se),ii.lastIndex=0,Z-=1;return w}var yt={};function cn(w,L){var Z=w.toLowerCase();yt[Z]=yt[Z+"s"]=yt[L]=w}function Ti(w){return"string"==typeof w?yt[w]||yt[w.toLowerCase()]:void 0}function Ri(w){var Z,se,L={};for(se in w)C(w,se)&&(Z=Ti(se))&&(L[Z]=w[se]);return L}var ha={};function Gi(w,L){ha[w]=L}function Ii(w){return w%4==0&&w%100!=0||w%400==0}function Zi(w){return w<0?Math.ceil(w)||0:Math.floor(w)}function Ni(w){var L=+w,Z=0;return 0!==L&&isFinite(L)&&(Z=Zi(L)),Z}function $r(w,L){return function(Z){return null!=Z?(cr(this,w,Z),g.updateOffset(this,L),this):Rr(this,w)}}function Rr(w,L){return w.isValid()?w._d["get"+(w._isUTC?"UTC":"")+L]():NaN}function cr(w,L,Z){w.isValid()&&!isNaN(Z)&&("FullYear"===L&&Ii(w.year())&&1===w.month()&&29===w.date()?(Z=Ni(Z),w._d["set"+(w._isUTC?"UTC":"")+L](Z,w.month(),pt(Z,w.month()))):w._d["set"+(w._isUTC?"UTC":"")+L](Z))}var Ta,Ue=/\d/,We=/\d\d/,hn=/\d{3}/,En=/\d{4}/,Zn=/[+-]?\d{6}/,Et=/\d\d?/,ma=/\d\d\d\d?/,Aa=/\d\d\d\d\d\d?/,Pr=/\d{1,3}/,Fr=/\d{1,4}/,ho=/[+-]?\d{1,6}/,Kr=/\d+/,Ar=/[+-]?\d+/,ss=/Z|[+-]\d\d:?\d\d/gi,ia=/Z|[+-]\d\d(?::?\d\d)?/gi,dn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Vt(w,L,Z){Ta[w]=ge(L)?L:function(se,be){return se&&Z?Z:L}}function ya(w,L){return C(Ta,w)?Ta[w](L._strict,L._locale):new RegExp(function Ia(w){return Yt(w.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(L,Z,se,be,Ve){return Z||se||be||Ve}))}(w))}function Yt(w){return w.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Ta={};var mo={};function vn(w,L){var Z,be,se=L;for("string"==typeof w&&(w=[w]),O(L)&&(se=function(Ve,ct){ct[L]=Ni(Ve)}),be=w.length,Z=0;Z68?1900:2e3)};var ci=$r("FullYear",!0);function Tr(w,L,Z,se,be,Ve,ct){var Ei;return w<100&&w>=0?(Ei=new Date(w+400,L,Z,se,be,Ve,ct),isFinite(Ei.getFullYear())&&Ei.setFullYear(w)):Ei=new Date(w,L,Z,se,be,Ve,ct),Ei}function qe(w){var L,Z;return w<100&&w>=0?((Z=Array.prototype.slice.call(arguments))[0]=w+400,L=new Date(Date.UTC.apply(null,Z)),isFinite(L.getUTCFullYear())&&L.setUTCFullYear(w)):L=new Date(Date.UTC.apply(null,arguments)),L}function ke(w,L,Z){var se=7+L-Z;return-(7+qe(w,0,se).getUTCDay()-L)%7+se-1}function oi(w,L,Z,se,be){var pn,xr,Ei=1+7*(L-1)+(7+Z-se)%7+ke(w,se,be);return Ei<=0?xr=Ja(pn=w-1)+Ei:Ei>Ja(w)?(pn=w+1,xr=Ei-Ja(w)):(pn=w,xr=Ei),{year:pn,dayOfYear:xr}}function Je(w,L,Z){var Ve,ct,se=ke(w.year(),L,Z),be=Math.floor((w.dayOfYear()-se-1)/7)+1;return be<1?Ve=be+hr(ct=w.year()-1,L,Z):be>hr(w.year(),L,Z)?(Ve=be-hr(w.year(),L,Z),ct=w.year()+1):(ct=w.year(),Ve=be),{week:Ve,year:ct}}function hr(w,L,Z){var se=ke(w,L,Z),be=ke(w+1,L,Z);return(Ja(w)-se+be)/7}nt("w",["ww",2],"wo","week"),nt("W",["WW",2],"Wo","isoWeek"),cn("week","w"),cn("isoWeek","W"),Gi("week",5),Gi("isoWeek",5),Vt("w",Et),Vt("ww",Et,We),Vt("W",Et),Vt("WW",Et,We),Xn(["w","ww","W","WW"],function(w,L,Z,se){L[se.substr(0,1)]=Ni(w)});function cs(w,L){return w.slice(L,7).concat(w.slice(0,L))}nt("d",0,"do","day"),nt("dd",0,0,function(w){return this.localeData().weekdaysMin(this,w)}),nt("ddd",0,0,function(w){return this.localeData().weekdaysShort(this,w)}),nt("dddd",0,0,function(w){return this.localeData().weekdays(this,w)}),nt("e",0,0,"weekday"),nt("E",0,0,"isoWeekday"),cn("day","d"),cn("weekday","e"),cn("isoWeekday","E"),Gi("day",11),Gi("weekday",11),Gi("isoWeekday",11),Vt("d",Et),Vt("e",Et),Vt("E",Et),Vt("dd",function(w,L){return L.weekdaysMinRegex(w)}),Vt("ddd",function(w,L){return L.weekdaysShortRegex(w)}),Vt("dddd",function(w,L){return L.weekdaysRegex(w)}),Xn(["dd","ddd","dddd"],function(w,L,Z,se){var be=Z._locale.weekdaysParse(w,se,Z._strict);null!=be?L.d=be:G(Z).invalidWeekday=w}),Xn(["d","e","E"],function(w,L,Z,se){L[se]=Ni(w)});var Zc="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),No="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ju="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),sc=dn,ds=dn,Di=dn;function Kd(w,L,Z){var se,be,Ve,ct=w.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],se=0;se<7;++se)Ve=V([2e3,1]).day(se),this._minWeekdaysParse[se]=this.weekdaysMin(Ve,"").toLocaleLowerCase(),this._shortWeekdaysParse[se]=this.weekdaysShort(Ve,"").toLocaleLowerCase(),this._weekdaysParse[se]=this.weekdays(Ve,"").toLocaleLowerCase();return Z?"dddd"===L?-1!==(be=dr.call(this._weekdaysParse,ct))?be:null:"ddd"===L?-1!==(be=dr.call(this._shortWeekdaysParse,ct))?be:null:-1!==(be=dr.call(this._minWeekdaysParse,ct))?be:null:"dddd"===L?-1!==(be=dr.call(this._weekdaysParse,ct))||-1!==(be=dr.call(this._shortWeekdaysParse,ct))||-1!==(be=dr.call(this._minWeekdaysParse,ct))?be:null:"ddd"===L?-1!==(be=dr.call(this._shortWeekdaysParse,ct))||-1!==(be=dr.call(this._weekdaysParse,ct))||-1!==(be=dr.call(this._minWeekdaysParse,ct))?be:null:-1!==(be=dr.call(this._minWeekdaysParse,ct))||-1!==(be=dr.call(this._weekdaysParse,ct))||-1!==(be=dr.call(this._shortWeekdaysParse,ct))?be:null}function It(){function w(Ur,Rl){return Rl.length-Ur.length}var Ve,ct,Ei,pn,xr,L=[],Z=[],se=[],be=[];for(Ve=0;Ve<7;Ve++)ct=V([2e3,1]).day(Ve),Ei=Yt(this.weekdaysMin(ct,"")),pn=Yt(this.weekdaysShort(ct,"")),xr=Yt(this.weekdays(ct,"")),L.push(Ei),Z.push(pn),se.push(xr),be.push(Ei),be.push(pn),be.push(xr);L.sort(w),Z.sort(w),se.sort(w),be.sort(w),this._weekdaysRegex=new RegExp("^("+be.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+se.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Z.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+L.join("|")+")","i")}function Lo(){return this.hours()%12||12}function Ir(w,L){nt(w,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),L)})}function dc(w,L){return L._meridiemParse}nt("H",["HH",2],0,"hour"),nt("h",["hh",2],0,Lo),nt("k",["kk",2],0,function th(){return this.hours()||24}),nt("hmm",0,0,function(){return""+Lo.apply(this)+Zt(this.minutes(),2)}),nt("hmmss",0,0,function(){return""+Lo.apply(this)+Zt(this.minutes(),2)+Zt(this.seconds(),2)}),nt("Hmm",0,0,function(){return""+this.hours()+Zt(this.minutes(),2)}),nt("Hmmss",0,0,function(){return""+this.hours()+Zt(this.minutes(),2)+Zt(this.seconds(),2)}),Ir("a",!0),Ir("A",!1),cn("hour","h"),Gi("hour",13),Vt("a",dc),Vt("A",dc),Vt("H",Et),Vt("h",Et),Vt("k",Et),Vt("HH",Et,We),Vt("hh",Et,We),Vt("kk",Et,We),Vt("hmm",ma),Vt("hmmss",Aa),Vt("Hmm",ma),Vt("Hmmss",Aa),vn(["H","HH"],mn),vn(["k","kk"],function(w,L,Z){var se=Ni(w);L[mn]=24===se?0:se}),vn(["a","A"],function(w,L,Z){Z._isPm=Z._locale.isPM(w),Z._meridiem=w}),vn(["h","hh"],function(w,L,Z){L[mn]=Ni(w),G(Z).bigHour=!0}),vn("hmm",function(w,L,Z){var se=w.length-2;L[mn]=Ni(w.substr(0,se)),L[Br]=Ni(w.substr(se)),G(Z).bigHour=!0}),vn("hmmss",function(w,L,Z){var se=w.length-4,be=w.length-2;L[mn]=Ni(w.substr(0,se)),L[Br]=Ni(w.substr(se,2)),L[Qr]=Ni(w.substr(be)),G(Z).bigHour=!0}),vn("Hmm",function(w,L,Z){var se=w.length-2;L[mn]=Ni(w.substr(0,se)),L[Br]=Ni(w.substr(se))}),vn("Hmmss",function(w,L,Z){var se=w.length-4,be=w.length-2;L[mn]=Ni(w.substr(0,se)),L[Br]=Ni(w.substr(se,2)),L[Qr]=Ni(w.substr(be))});var Oo=$r("Hours",!0);var Nr,us={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:El,monthsShort:ur,week:{dow:0,doy:6},weekdays:Zc,weekdaysMin:Ju,weekdaysShort:No,meridiemParse:/[ap]\.?m?\.?/i},Mi={},si={};function hs(w,L){var Z,se=Math.min(w.length,L.length);for(Z=0;Z0;){if(be=Li(Ve.slice(0,Z).join("-")))return be;if(se&&se.length>=Z&&hs(Ve,se)>=Z-1)break;Z--}L++}return Nr}(w)}function wo(w){var L,Z=w._a;return Z&&-2===G(w).overflow&&(L=Z[_r]<0||Z[_r]>11?_r:Z[an]<1||Z[an]>pt(Z[_i],Z[_r])?an:Z[mn]<0||Z[mn]>24||24===Z[mn]&&(0!==Z[Br]||0!==Z[Qr]||0!==Z[na])?mn:Z[Br]<0||Z[Br]>59?Br:Z[Qr]<0||Z[Qr]>59?Qr:Z[na]<0||Z[na]>999?na:-1,G(w)._overflowDayOfYear&&(L<_i||L>an)&&(L=an),G(w)._overflowWeeks&&-1===L&&(L=Qa),G(w)._overflowWeekday&&-1===L&&(L=fo),G(w).overflow=L),w}var Hr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wa=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,il=/Z|[+-]\d\d(?::?\d\d)?/,Bo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Fo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],kn=/^\/?Date\((-?\d+)/i,bi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ee={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function er(w){var L,Z,Ve,ct,Ei,pn,se=w._i,be=Hr.exec(se)||wa.exec(se),xr=Bo.length,Ur=Fo.length;if(be){for(G(w).iso=!0,L=0,Z=xr;L7)&&(pn=!0)):(Ve=w._locale._week.dow,ct=w._locale._week.doy,xr=Je($t(),Ve,ct),Z=Fa(L.gg,w._a[_i],xr.year),se=Fa(L.w,xr.week),null!=L.d?((be=L.d)<0||be>6)&&(pn=!0):null!=L.e?(be=L.e+Ve,(L.e<0||L.e>6)&&(pn=!0)):be=Ve),se<1||se>hr(Z,Ve,ct)?G(w)._overflowWeeks=!0:null!=pn?G(w)._overflowWeekday=!0:(Ei=oi(Z,se,be,Ve,ct),w._a[_i]=Ei.year,w._dayOfYear=Ei.dayOfYear)}(w),null!=w._dayOfYear&&(ct=Fa(w._a[_i],be[_i]),(w._dayOfYear>Ja(ct)||0===w._dayOfYear)&&(G(w)._overflowDayOfYear=!0),Z=qe(ct,0,w._dayOfYear),w._a[_r]=Z.getUTCMonth(),w._a[an]=Z.getUTCDate()),L=0;L<3&&null==w._a[L];++L)w._a[L]=se[L]=be[L];for(;L<7;L++)w._a[L]=se[L]=null==w._a[L]?2===L?1:0:w._a[L];24===w._a[mn]&&0===w._a[Br]&&0===w._a[Qr]&&0===w._a[na]&&(w._nextDay=!0,w._a[mn]=0),w._d=(w._useUTC?qe:Tr).apply(null,se),Ve=w._useUTC?w._d.getUTCDay():w._d.getDay(),null!=w._tzm&&w._d.setUTCMinutes(w._d.getUTCMinutes()-w._tzm),w._nextDay&&(w._a[mn]=24),w._w&&typeof w._w.d<"u"&&w._w.d!==Ve&&(G(w).weekdayMismatch=!0)}}function Fe(w){if(w._f!==g.ISO_8601)if(w._f!==g.RFC_2822){w._a=[],G(w).empty=!0;var Z,se,be,Ve,ct,xr,Ur,L=""+w._i,Ei=L.length,pn=0;for(Ur=(be=bt(w._f,w._locale).match(ft)||[]).length,Z=0;Z0&&G(w).unusedInput.push(ct),L=L.slice(L.indexOf(se)+se.length),pn+=se.length),gi[Ve]?(se?G(w).empty=!1:G(w).unusedTokens.push(Ve),ls(Ve,se,w)):w._strict&&!se&&G(w).unusedTokens.push(Ve);G(w).charsLeftOver=Ei-pn,L.length>0&&G(w).unusedInput.push(L),w._a[mn]<=12&&!0===G(w).bigHour&&w._a[mn]>0&&(G(w).bigHour=void 0),G(w).parsedDateParts=w._a.slice(0),G(w).meridiem=w._meridiem,w._a[mn]=function Me(w,L,Z){var se;return null==Z?L:null!=w.meridiemHour?w.meridiemHour(L,Z):(null!=w.isPM&&((se=w.isPM(Z))&&L<12&&(L+=12),!se&&12===L&&(L=0)),L)}(w._locale,w._a[mn],w._meridiem),null!==(xr=G(w).era)&&(w._a[_i]=w._locale.erasConvertYear(xr,w._a[_i])),hc(w),wo(w)}else Tl(w);else er(w)}function Fi(w){var L=w._i,Z=w._f;return w._locale=w._locale||La(w._l),null===L||void 0===Z&&""===L?z({nullInput:!0}):("string"==typeof L&&(w._i=L=w._locale.preparse(L)),ae(L)?new K(wo(L)):(U(L)?w._d=L:_(Z)?function Ce(w){var L,Z,se,be,Ve,ct,Ei=!1,pn=w._f.length;if(0===pn)return G(w).invalidFormat=!0,void(w._d=new Date(NaN));for(be=0;bethis?this:w:z()});function Vo(w,L){var Z,se;if(1===L.length&&_(L[0])&&(L=L[0]),!L.length)return $t();for(Z=L[0],se=1;se=0?new Date(w+400,L,Z)-yw:new Date(w,L,Z).valueOf()}function mc(w,L,Z){return w<100&&w>=0?Date.UTC(w+400,L,Z)-yw:Date.UTC(w,L,Z)}function eu(w,L){return L.erasAbbrRegex(w)}function ah(){var be,Ve,w=[],L=[],Z=[],se=[],ct=this.eras();for(be=0,Ve=ct.length;be(Ve=hr(w,se,be))&&(L=Ve),Nw.call(this,w,L,Z,se,be))}function Nw(w,L,Z,se,be){var Ve=oi(w,L,Z,se,be),ct=qe(Ve.year,0,Ve.dayOfYear);return this.year(ct.getUTCFullYear()),this.month(ct.getUTCMonth()),this.date(ct.getUTCDate()),this}nt("N",0,0,"eraAbbr"),nt("NN",0,0,"eraAbbr"),nt("NNN",0,0,"eraAbbr"),nt("NNNN",0,0,"eraName"),nt("NNNNN",0,0,"eraNarrow"),nt("y",["y",1],"yo","eraYear"),nt("y",["yy",2],0,"eraYear"),nt("y",["yyy",3],0,"eraYear"),nt("y",["yyyy",4],0,"eraYear"),Vt("N",eu),Vt("NN",eu),Vt("NNN",eu),Vt("NNNN",function Sw(w,L){return L.erasNameRegex(w)}),Vt("NNNNN",function fc(w,L){return L.erasNarrowRegex(w)}),vn(["N","NN","NNN","NNNN","NNNNN"],function(w,L,Z,se){var be=Z._locale.erasParse(w,se,Z._strict);be?G(Z).era=be:G(Z).invalidEra=w}),Vt("y",Kr),Vt("yy",Kr),Vt("yyy",Kr),Vt("yyyy",Kr),Vt("yo",function W0(w,L){return L._eraYearOrdinalRegex||Kr}),vn(["y","yy","yyy","yyyy"],_i),vn(["yo"],function(w,L,Z,se){var be;Z._locale._eraYearOrdinalRegex&&(be=w.match(Z._locale._eraYearOrdinalRegex)),L[_i]=Z._locale.eraYearOrdinalParse?Z._locale.eraYearOrdinalParse(w,be):parseInt(w,10)}),nt(0,["gg",2],0,function(){return this.weekYear()%100}),nt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),qi("gggg","weekYear"),qi("ggggg","weekYear"),qi("GGGG","isoWeekYear"),qi("GGGGG","isoWeekYear"),cn("weekYear","gg"),cn("isoWeekYear","GG"),Gi("weekYear",1),Gi("isoWeekYear",1),Vt("G",Ar),Vt("g",Ar),Vt("GG",Et,We),Vt("gg",Et,We),Vt("GGGG",Fr,En),Vt("gggg",Fr,En),Vt("GGGGG",ho,Zn),Vt("ggggg",ho,Zn),Xn(["gggg","ggggg","GGGG","GGGGG"],function(w,L,Z,se){L[se.substr(0,2)]=Ni(w)}),Xn(["gg","GG"],function(w,L,Z,se){L[se]=g.parseTwoDigitYear(w)}),nt("Q",0,"Qo","quarter"),cn("quarter","Q"),Gi("quarter",7),Vt("Q",Ue),vn("Q",function(w,L){L[_r]=3*(Ni(w)-1)}),nt("D",["DD",2],"Do","date"),cn("date","D"),Gi("date",9),Vt("D",Et),Vt("DD",Et,We),Vt("Do",function(w,L){return w?L._dayOfMonthOrdinalParse||L._ordinalParse:L._dayOfMonthOrdinalParseLenient}),vn(["D","DD"],an),vn("Do",function(w,L){L[an]=Ni(w.match(Et)[0])});var zn=$r("Date",!0);nt("DDD",["DDDD",3],"DDDo","dayOfYear"),cn("dayOfYear","DDD"),Gi("dayOfYear",4),Vt("DDD",Pr),Vt("DDDD",hn),vn(["DDD","DDDD"],function(w,L,Z){Z._dayOfYear=Ni(w)}),nt("m",["mm",2],0,"minute"),cn("minute","m"),Gi("minute",14),Vt("m",Et),Vt("mm",Et,We),vn(["m","mm"],Br);var Ie=$r("Minutes",!1);nt("s",["ss",2],0,"second"),cn("second","s"),Gi("second",15),Vt("s",Et),Vt("ss",Et,We),vn(["s","ss"],Qr);var Nl,tu,ao=$r("Seconds",!1);for(nt("S",0,0,function(){return~~(this.millisecond()/100)}),nt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),nt(0,["SSS",3],0,"millisecond"),nt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),nt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),nt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),nt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),nt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),nt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),cn("millisecond","ms"),Gi("millisecond",16),Vt("S",Pr,Ue),Vt("SS",Pr,We),Vt("SSS",Pr,hn),Nl="SSSS";Nl.length<=9;Nl+="S")Vt(Nl,Kr);function al(w,L){L[na]=Ni(1e3*("0."+w))}for(Nl="S";Nl.length<=9;Nl+="S")vn(Nl,al);tu=$r("Milliseconds",!1),nt("z",0,0,"zoneAbbr"),nt("zz",0,0,"zoneName");var Bt=K.prototype;function go(w){return w}Bt.add=Yo,Bt.calendar=function Qo(w,L){1===arguments.length&&(arguments[0]?Qd(arguments[0])?(w=arguments[0],L=void 0):function xo(w){var be,L=x(w)&&!I(w),Z=!1,se=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(be=0;beZ.valueOf():Z.valueOf()9999?yn(Z,L?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ge(Date.prototype.toISOString)?L?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",yn(Z,"Z")):yn(Z,L?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Bt.inspect=function EM(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var Z,se,w="moment",L="";return this.isLocal()||(w=0===this.utcOffset()?"moment.utc":"moment.parseZone",L="Z"),Z="["+w+'("]',se=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(Z+se+"-MM-DD[T]HH:mm:ss.SSS"+L+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Bt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Bt.toJSON=function kw(){return this.isValid()?this.toISOString():null},Bt.toString=function DM(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Bt.unix=function Fw(){return Math.floor(this.valueOf()/1e3)},Bt.valueOf=function H0(){return this._d.valueOf()-6e4*(this._offset||0)},Bt.creationData=function j0(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Bt.eraName=function xm(){var w,L,Z,se=this.localeData().eras();for(w=0,L=se.length;wthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Bt.isLocal=function Xe(){return!!this.isValid()&&!this._isUTC},Bt.isUtcOffset=function kt(){return!!this.isValid()&&this._isUTC},Bt.isUtc=Ut,Bt.isUTC=Ut,Bt.zoneAbbr=function Ap(){return this._isUTC?"UTC":""},Bt.zoneName=function Tp(){return this._isUTC?"Coordinated Universal Time":""},Bt.dates=re("dates accessor is deprecated. Use date instead.",zn),Bt.months=re("months accessor is deprecated. Use month instead",Sn),Bt.years=re("years accessor is deprecated. Use year instead",ci),Bt.zone=re("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function $(w,L){return null!=w?("string"!=typeof w&&(w=-w),this.utcOffset(w,L),this):-this.utcOffset()}),Bt.isDSTShifted=re("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Ye(){if(!P(this._isDSTShifted))return this._isDSTShifted;var L,w={};return ee(w,this),(w=Fi(w))._a?(L=w._isUTC?V(w._a):$t(w._a),this._isDSTShifted=this.isValid()&&function d(w,L,Z){var ct,se=Math.min(w.length,L.length),be=Math.abs(w.length-L.length),Ve=0;for(ct=0;ct0):this._isDSTShifted=!1,this._isDSTShifted});var wn=Re.prototype;function oh(w,L,Z,se){var be=La(),Ve=V().set(se,L);return be[Z](Ve,w)}function Jc(w,L,Z){if(O(w)&&(L=w,w=void 0),w=w||"",null!=L)return oh(w,L,Z,"month");var se,be=[];for(se=0;se<12;se++)be[se]=oh(w,se,Z,"month");return be}function Es(w,L,Z,se){"boolean"==typeof w?(O(L)&&(Z=L,L=void 0),L=L||""):(Z=L=w,w=!1,O(L)&&(Z=L,L=void 0),L=L||"");var ct,be=La(),Ve=w?be._week.dow:0,Ei=[];if(null!=Z)return oh(L,(Z+Ve)%7,se,"day");for(ct=0;ct<7;ct++)Ei[ct]=oh(L,(ct+Ve)%7,se,"day");return Ei}wn.calendar=function At(w,L,Z){var se=this._calendar[w]||this._calendar.sameElse;return ge(se)?se.call(L,Z):se},wn.longDateFormat=function Mn(w){var L=this._longDateFormat[w],Z=this._longDateFormat[w.toUpperCase()];return L||!Z?L:(this._longDateFormat[w]=Z.match(ft).map(function(se){return"MMMM"===se||"MM"===se||"DD"===se||"dddd"===se?se.slice(1):se}).join(""),this._longDateFormat[w])},wn.invalidDate=function ut(){return this._invalidDate},wn.ordinal=function at(w){return this._ordinal.replace("%d",w)},wn.preparse=go,wn.postformat=go,wn.relativeTime=function Gt(w,L,Z,se){var be=this._relativeTime[Z];return ge(be)?be(w,L,Z,se):be.replace(/%d/i,w)},wn.pastFuture=function ni(w,L){var Z=this._relativeTime[w>0?"future":"past"];return ge(Z)?Z(L):Z.replace(/%s/i,L)},wn.set=function ve(w){var L,Z;for(Z in w)C(w,Z)&&(ge(L=w[Z])?this[Z]=L:this["_"+Z]=L);this._config=w,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},wn.eras=function z0(w,L){var Z,se,be,Ve=this._eras||La("en")._eras;for(Z=0,se=Ve.length;Z=0)return Ve[se]},wn.erasConvertYear=function Dw(w,L){var Z=w.since<=w.until?1:-1;return void 0===L?g(w.since).year():g(w.since).year()+(L-w.offset)*Z},wn.erasAbbrRegex=function Xo(w){return C(this,"_erasAbbrRegex")||ah.call(this),w?this._erasAbbrRegex:this._erasRegex},wn.erasNameRegex=function Jd(w){return C(this,"_erasNameRegex")||ah.call(this),w?this._erasNameRegex:this._erasRegex},wn.erasNarrowRegex=function Ew(w){return C(this,"_erasNarrowRegex")||ah.call(this),w?this._erasNarrowRegex:this._erasRegex},wn.months=function On(w,L){return w?_(this._months)?this._months[w.month()]:this._months[(this._months.isFormat||Io).test(L)?"format":"standalone"][w.month()]:_(this._months)?this._months:this._months.standalone},wn.monthsShort=function nn(w,L){return w?_(this._monthsShort)?this._monthsShort[w.month()]:this._monthsShort[Io.test(L)?"format":"standalone"][w.month()]:_(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},wn.monthsParse=function Rn(w,L,Z){var se,be,Ve;if(this._monthsParseExact)return Jn.call(this,w,L,Z);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),se=0;se<12;se++){if(be=V([2e3,se]),Z&&!this._longMonthsParse[se]&&(this._longMonthsParse[se]=new RegExp("^"+this.months(be,"").replace(".","")+"$","i"),this._shortMonthsParse[se]=new RegExp("^"+this.monthsShort(be,"").replace(".","")+"$","i")),!Z&&!this._monthsParse[se]&&(Ve="^"+this.months(be,"")+"|^"+this.monthsShort(be,""),this._monthsParse[se]=new RegExp(Ve.replace(".",""),"i")),Z&&"MMMM"===L&&this._longMonthsParse[se].test(w))return se;if(Z&&"MMM"===L&&this._shortMonthsParse[se].test(w))return se;if(!Z&&this._monthsParse[se].test(w))return se}},wn.monthsRegex=function Pi(w){return this._monthsParseExact?(C(this,"_monthsRegex")||Yi.call(this),w?this._monthsStrictRegex:this._monthsRegex):(C(this,"_monthsRegex")||(this._monthsRegex=on),this._monthsStrictRegex&&w?this._monthsStrictRegex:this._monthsRegex)},wn.monthsShortRegex=function ac(w){return this._monthsParseExact?(C(this,"_monthsRegex")||Yi.call(this),w?this._monthsShortStrictRegex:this._monthsShortRegex):(C(this,"_monthsShortRegex")||(this._monthsShortRegex=Kc),this._monthsShortStrictRegex&&w?this._monthsShortStrictRegex:this._monthsShortRegex)},wn.week=function Bi(w){return Je(w,this._week.dow,this._week.doy).week},wn.firstDayOfYear=function wi(){return this._week.doy},wn.firstDayOfWeek=function eo(){return this._week.dow},wn.weekdays=function eh(w,L){var Z=_(this._weekdays)?this._weekdays:this._weekdays[w&&!0!==w&&this._weekdays.isFormat.test(L)?"format":"standalone"];return!0===w?cs(Z,this._week.dow):w?Z[w.day()]:Z},wn.weekdaysMin=function zr(w){return!0===w?cs(this._weekdaysMin,this._week.dow):w?this._weekdaysMin[w.day()]:this._weekdaysMin},wn.weekdaysShort=function ji(w){return!0===w?cs(this._weekdaysShort,this._week.dow):w?this._weekdaysShort[w.day()]:this._weekdaysShort},wn.weekdaysParse=function va(w,L,Z){var se,be,Ve;if(this._weekdaysParseExact)return Kd.call(this,w,L,Z);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),se=0;se<7;se++){if(be=V([2e3,1]).day(se),Z&&!this._fullWeekdaysParse[se]&&(this._fullWeekdaysParse[se]=new RegExp("^"+this.weekdays(be,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[se]=new RegExp("^"+this.weekdaysShort(be,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[se]=new RegExp("^"+this.weekdaysMin(be,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[se]||(Ve="^"+this.weekdays(be,"")+"|^"+this.weekdaysShort(be,"")+"|^"+this.weekdaysMin(be,""),this._weekdaysParse[se]=new RegExp(Ve.replace(".",""),"i")),Z&&"dddd"===L&&this._fullWeekdaysParse[se].test(w))return se;if(Z&&"ddd"===L&&this._shortWeekdaysParse[se].test(w))return se;if(Z&&"dd"===L&&this._minWeekdaysParse[se].test(w))return se;if(!Z&&this._weekdaysParse[se].test(w))return se}},wn.weekdaysRegex=function lc(w){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||It.call(this),w?this._weekdaysStrictRegex:this._weekdaysRegex):(C(this,"_weekdaysRegex")||(this._weekdaysRegex=sc),this._weekdaysStrictRegex&&w?this._weekdaysStrictRegex:this._weekdaysRegex)},wn.weekdaysShortRegex=function it(w){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||It.call(this),w?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(C(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ds),this._weekdaysShortStrictRegex&&w?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},wn.weekdaysMinRegex=function cc(w){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||It.call(this),w?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(C(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Di),this._weekdaysMinStrictRegex&&w?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},wn.isPM=function $o(w){return"p"===(w+"").toLowerCase().charAt(0)},wn.meridiem=function Sl(w,L,Z){return w>11?Z?"pm":"PM":Z?"am":"AM"},Ro("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(w){var L=w%10;return w+(1===Ni(w%100/10)?"th":1===L?"st":2===L?"nd":3===L?"rd":"th")}}),g.lang=re("moment.lang is deprecated. Use moment.locale instead.",Ro),g.langData=re("moment.langData is deprecated. Use moment.localeData instead.",La);var Ss=Math.abs;function km(w,L,Z,se){var be=yi(L,Z);return w._milliseconds+=se*be._milliseconds,w._days+=se*be._days,w._months+=se*be._months,w._bubble()}function Cm(w){return w<0?Math.floor(w):Math.ceil(w)}function Np(w){return 4800*w/146097}function Dm(w){return 146097*w/4800}function Ll(w){return function(){return this.as(w)}}var Bw=Ll("ms"),ko=Ll("s"),ed=Ll("m"),Xr=Ll("h"),_o=Ll("d"),Hw=Ll("w"),Ol=Ll("M"),Vw=Ll("Q"),Yw=Ll("y");function ol(w){return function(){return this.isValid()?this._data[w]:NaN}}var Em=ol("milliseconds"),Op=ol("seconds"),t1=ol("minutes"),zw=ol("hours"),iu=ol("days"),sh=ol("months"),Uw=ol("years");var As=Math.round,lh={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ww(w,L,Z,se,be){return be.relativeTime(L||1,!!Z,w,se)}var Sm=Math.abs;function td(w){return(w>0)-(w<0)||+w}function pc(){if(!this.isValid())return this.localeData().invalidDate();var se,be,Ve,ct,pn,xr,Ur,Rl,w=Sm(this._milliseconds)/1e3,L=Sm(this._days),Z=Sm(this._months),Ei=this.asSeconds();return Ei?(se=Zi(w/60),be=Zi(se/60),w%=60,se%=60,Ve=Zi(Z/12),Z%=12,ct=w?w.toFixed(3).replace(/\.?0+$/,""):"",pn=Ei<0?"-":"",xr=td(this._months)!==td(Ei)?"-":"",Ur=td(this._days)!==td(Ei)?"-":"",Rl=td(this._milliseconds)!==td(Ei)?"-":"",pn+"P"+(Ve?xr+Ve+"Y":"")+(Z?xr+Z+"M":"")+(L?Ur+L+"D":"")+(be||se||w?"T":"")+(be?Rl+be+"H":"")+(se?Rl+se+"M":"")+(w?Rl+ct+"S":"")):"P0D"}var Un=Y.prototype;return Un.isValid=function Oe(){return this._isValid},Un.abs=function Z0(){var w=this._data;return this._milliseconds=Ss(this._milliseconds),this._days=Ss(this._days),this._months=Ss(this._months),w.milliseconds=Ss(w.milliseconds),w.seconds=Ss(w.seconds),w.minutes=Ss(w.minutes),w.hours=Ss(w.hours),w.months=Ss(w.months),w.years=Ss(w.years),this},Un.add=function Pw(w,L){return km(this,w,L,1)},Un.subtract=function X0(w,L){return km(this,w,L,-1)},Un.as=function e1(w){if(!this.isValid())return NaN;var L,Z,se=this._milliseconds;if("month"===(w=Ti(w))||"quarter"===w||"year"===w)switch(L=this._days+se/864e5,Z=this._months+Np(L),w){case"month":return Z;case"quarter":return Z/3;case"year":return Z/12}else switch(L=this._days+Math.round(Dm(this._months)),w){case"week":return L/7+se/6048e5;case"day":return L+se/864e5;case"hour":return 24*L+se/36e5;case"minute":return 1440*L+se/6e4;case"second":return 86400*L+se/1e3;case"millisecond":return Math.floor(864e5*L)+se;default:throw new Error("Unknown unit "+w)}},Un.asMilliseconds=Bw,Un.asSeconds=ko,Un.asMinutes=ed,Un.asHours=Xr,Un.asDays=_o,Un.asWeeks=Hw,Un.asMonths=Ol,Un.asQuarters=Vw,Un.asYears=Yw,Un.valueOf=function Lp(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Ni(this._months/12):NaN},Un._bubble=function J0(){var be,Ve,ct,Ei,pn,w=this._milliseconds,L=this._days,Z=this._months,se=this._data;return w>=0&&L>=0&&Z>=0||w<=0&&L<=0&&Z<=0||(w+=864e5*Cm(Dm(Z)+L),L=0,Z=0),se.milliseconds=w%1e3,be=Zi(w/1e3),se.seconds=be%60,Ve=Zi(be/60),se.minutes=Ve%60,ct=Zi(Ve/60),se.hours=ct%24,L+=Zi(ct/24),Z+=pn=Zi(Np(L)),L-=Cm(Dm(pn)),Ei=Zi(Z/12),Z%=12,se.days=L,se.months=Z,se.years=Ei,this},Un.clone=function jw(){return yi(this)},Un.get=function Mm(w){return w=Ti(w),this.isValid()?this[w+"s"]():NaN},Un.milliseconds=Em,Un.seconds=Op,Un.minutes=t1,Un.hours=zw,Un.days=iu,Un.weeks=function RM(){return Zi(this.days()/7)},Un.months=sh,Un.years=Uw,Un.humanize=function Rp(w,L){if(!this.isValid())return this.localeData().invalidDate();var be,Ve,Z=!1,se=lh;return"object"==typeof w&&(L=w,w=!1),"boolean"==typeof w&&(Z=w),"object"==typeof L&&(se=Object.assign({},lh,L),null!=L.s&&null==L.ss&&(se.ss=L.s-1)),Ve=function Gw(w,L,Z,se){var be=yi(w).abs(),Ve=As(be.as("s")),ct=As(be.as("m")),Ei=As(be.as("h")),pn=As(be.as("d")),xr=As(be.as("M")),Ur=As(be.as("w")),Rl=As(be.as("y")),Ts=Ve<=Z.ss&&["s",Ve]||Ve0,Ts[4]=se,Ww.apply(null,Ts)}(this,!Z,se,be=this.localeData()),Z&&(Ve=be.pastFuture(+this,Ve)),be.postformat(Ve)},Un.toISOString=pc,Un.toString=pc,Un.toJSON=pc,Un.locale=gw,Un.localeData=bw,Un.toIsoString=re("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pc),Un.lang=_w,nt("X",0,0,"unix"),nt("x",0,0,"valueOf"),Vt("x",Ar),Vt("X",/[+-]?\d+(\.\d{1,3})?/),vn("X",function(w,L,Z){Z._d=new Date(1e3*parseFloat(w))}),vn("x",function(w,L,Z){Z._d=new Date(Ni(w))}),g.version="2.29.4",function b(w){E=w}($t),g.fn=Bt,g.min=function ms(){return Vo("isBefore",[].slice.call(arguments,0))},g.max=function xa(){return Vo("isAfter",[].slice.call(arguments,0))},g.now=function(){return Date.now?Date.now():+new Date},g.utc=V,g.unix=function OM(w){return $t(1e3*w)},g.months=function Lw(w,L){return Jc(w,L,"months")},g.isDate=U,g.locale=Ro,g.invalid=z,g.duration=yi,g.isMoment=ae,g.weekdays=function Ow(w,L,Z){return Es(w,L,Z,"weekdays")},g.parseZone=function K0(){return $t.apply(null,arguments).parseZone()},g.localeData=La,g.isDuration=s,g.monthsShort=function Q0(w,L){return Jc(w,L,"monthsShort")},g.weekdaysMin=function Ip(w,L,Z){return Es(w,L,Z,"weekdaysMin")},g.defineLocale=uc,g.updateLocale=function tl(w,L){if(null!=L){var Z,se,be=us;null!=Mi[w]&&null!=Mi[w].parentLocale?Mi[w].set(ze(Mi[w]._config,L)):(null!=(se=Li(w))&&(be=se._config),L=ze(be,L),null==se&&(L.abbr=w),(Z=new Re(L)).parentLocale=Mi[w],Mi[w]=Z),Ro(w)}else null!=Mi[w]&&(null!=Mi[w].parentLocale?(Mi[w]=Mi[w].parentLocale,w===Ro()&&Ro(w)):null!=Mi[w]&&delete Mi[w]);return Mi[w]},g.locales=function Po(){return st(Mi)},g.weekdaysShort=function Rw(w,L,Z){return Es(w,L,Z,"weekdaysShort")},g.normalizeUnits=Ti,g.relativeTimeRounding=function PM(w){return void 0===w?As:"function"==typeof w&&(As=w,!0)},g.relativeTimeThreshold=function BM(w,L){return void 0!==lh[w]&&(void 0===L?lh[w]:(lh[w]=L,"s"===w&&(lh.ss=L-1),!0))},g.calendarFormat=function kM(w,L){var Z=w.diff(L,"days",!0);return Z<-6?"sameElse":Z<-1?"lastWeek":Z<0?"lastDay":Z<1?"sameDay":Z<2?"nextDay":Z<7?"nextWeek":"sameElse"},g.prototype=Bt,g.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},g}()},7024:(ye,S,T)=>{var E="function"==typeof Map&&Map.prototype,g=Object.getOwnPropertyDescriptor&&E?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,b=E&&g&&"function"==typeof g.get?g.get:null,_=E&&Map.prototype.forEach,x="function"==typeof Set&&Set.prototype,C=Object.getOwnPropertyDescriptor&&x?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,I=x&&C&&"function"==typeof C.get?C.get:null,P=x&&Set.prototype.forEach,U="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,j="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,ne="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,G=Boolean.prototype.valueOf,ie=Object.prototype.toString,q=Function.prototype.toString,z=String.prototype.match,ce=String.prototype.slice,le=String.prototype.replace,ee=String.prototype.toUpperCase,K=String.prototype.toLowerCase,ae=RegExp.prototype.test,he=Array.prototype.concat,re=Array.prototype.join,de=Array.prototype.slice,me=Math.floor,ge="function"==typeof BigInt?BigInt.prototype.valueOf:null,ve=Object.getOwnPropertySymbols,ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Re="function"==typeof Symbol&&"object"==typeof Symbol.iterator,st="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,mt=Object.prototype.propertyIsEnumerable,At=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Ue){return Ue.__proto__}:null);function Zt(Ue,We){if(Ue===1/0||Ue===-1/0||Ue!=Ue||Ue&&Ue>-1e3&&Ue<1e3||ae.call(/e/,We))return We;var hn=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof Ue){var En=Ue<0?-me(-Ue):me(Ue);if(En!==Ue){var Zn=String(En),Et=ce.call(We,Zn.length+1);return le.call(Zn,hn,"$&_")+"."+le.call(le.call(Et,/([0-9]{3})/g,"$&_"),/_$/,"")}}return le.call(We,hn,"$&_")}var ft=T(4654),ii=ft.custom,He=ut(ii)?ii:null;function gi(Ue,We,hn){var En="double"===(hn.quoteStyle||We)?'"':"'";return En+Ue+En}function nt(Ue){return le.call(String(Ue),/"/g,""")}function ei(Ue){return!("[object Array]"!==ui(Ue)||st&&"object"==typeof Ue&&st in Ue)}function yn(Ue){return!("[object RegExp]"!==ui(Ue)||st&&"object"==typeof Ue&&st in Ue)}function ut(Ue){if(Re)return Ue&&"object"==typeof Ue&&Ue instanceof Symbol;if("symbol"==typeof Ue)return!0;if(!Ue||"object"!=typeof Ue||!ze)return!1;try{return ze.call(Ue),!0}catch{}return!1}ye.exports=function Ue(We,hn,En,Zn){var Et=hn||{};if(at(Et,"quoteStyle")&&"single"!==Et.quoteStyle&&"double"!==Et.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(at(Et,"maxStringLength")&&("number"==typeof Et.maxStringLength?Et.maxStringLength<0&&Et.maxStringLength!==1/0:null!==Et.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var ma=!at(Et,"customInspect")||Et.customInspect;if("boolean"!=typeof ma&&"symbol"!==ma)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(at(Et,"indent")&&null!==Et.indent&&"\t"!==Et.indent&&!(parseInt(Et.indent,10)===Et.indent&&Et.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(at(Et,"numericSeparator")&&"boolean"!=typeof Et.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Aa=Et.numericSeparator;if(typeof We>"u")return"undefined";if(null===We)return"null";if("boolean"==typeof We)return We?"true":"false";if("string"==typeof We)return un(We,Et);if("number"==typeof We){if(0===We)return 1/0/We>0?"0":"-0";var Pr=String(We);return Aa?Zt(We,Pr):Pr}if("bigint"==typeof We){var Fr=String(We)+"n";return Aa?Zt(We,Fr):Fr}var ho=typeof Et.depth>"u"?5:Et.depth;if(typeof En>"u"&&(En=0),En>=ho&&ho>0&&"object"==typeof We)return ei(We)?"[Array]":"[Object]";var Kr=function cr(Ue,We){var hn;if("\t"===Ue.indent)hn="\t";else{if(!("number"==typeof Ue.indent&&Ue.indent>0))return null;hn=re.call(Array(Ue.indent+1)," ")}return{base:hn,prev:re.call(Array(We+1),hn)}}(Et,En);if(typeof Zn>"u")Zn=[];else if(ni(Zn,We)>=0)return"[Circular]";function Ar(mn,Br,Qr){if(Br&&(Zn=de.call(Zn)).push(Br),Qr){var na={depth:Et.depth};return at(Et,"quoteStyle")&&(na.quoteStyle=Et.quoteStyle),Ue(mn,na,En+1,Zn)}return Ue(mn,Et,En+1,Zn)}if("function"==typeof We&&!yn(We)){var ss=function Gt(Ue){if(Ue.name)return Ue.name;var We=z.call(q.call(Ue),/^function\s*([\w$]+)/);return We?We[1]:null}(We),ia=To(We,Ar);return"[Function"+(ss?": "+ss:" (anonymous)")+"]"+(ia.length>0?" { "+re.call(ia,", ")+" }":"")}if(ut(We)){var oa=Re?le.call(String(We),/^(Symbol\(.*\))_[^)]*$/,"$1"):ze.call(We);return"object"!=typeof We||Re?oa:Zi(oa)}if(function Gi(Ue){return!(!Ue||"object"!=typeof Ue)&&(typeof HTMLElement<"u"&&Ue instanceof HTMLElement||"string"==typeof Ue.nodeName&&"function"==typeof Ue.getAttribute)}(We)){for(var dn="<"+K.call(String(We.nodeName)),Ta=We.attributes||[],Vt=0;Vt"}if(ei(We)){if(0===We.length)return"[]";var ya=To(We,Ar);return Kr&&!function Rr(Ue){for(var We=0;We=0)return!1;return!0}(ya)?"["+Lt(ya,Kr)+"]":"[ "+re.call(ya,", ")+" ]"}if(function bt(Ue){return!("[object Error]"!==ui(Ue)||st&&"object"==typeof Ue&&st in Ue)}(We)){var Ia=To(We,Ar);return"cause"in Error.prototype||!("cause"in We)||mt.call(We,"cause")?0===Ia.length?"["+String(We)+"]":"{ ["+String(We)+"] "+re.call(Ia,", ")+" }":"{ ["+String(We)+"] "+re.call(he.call("[cause]: "+Ar(We.cause),Ia),", ")+" }"}if("object"==typeof We&&ma){if(He&&"function"==typeof We[He]&&ft)return ft(We,{depth:ho-En});if("symbol"!==ma&&"function"==typeof We.inspect)return We.inspect()}if(function yt(Ue){if(!b||!Ue||"object"!=typeof Ue)return!1;try{b.call(Ue);try{I.call(Ue)}catch{return!0}return Ue instanceof Map}catch{}return!1}(We)){var Yt=[];return _.call(We,function(mn,Br){Yt.push(Ar(Br,We,!0)+" => "+Ar(mn,We))}),$r("Map",b.call(We),Yt,Kr)}if(function Ri(Ue){if(!I||!Ue||"object"!=typeof Ue)return!1;try{I.call(Ue);try{b.call(Ue)}catch{return!0}return Ue instanceof Set}catch{}return!1}(We)){var mo=[];return P.call(We,function(mn){mo.push(Ar(mn,We))}),$r("Set",I.call(We),mo,Kr)}if(function cn(Ue){if(!U||!Ue||"object"!=typeof Ue)return!1;try{U.call(Ue,U);try{j.call(Ue,j)}catch{return!0}return Ue instanceof WeakMap}catch{}return!1}(We))return Ni("WeakMap");if(function ha(Ue){if(!j||!Ue||"object"!=typeof Ue)return!1;try{j.call(Ue,j);try{U.call(Ue,U)}catch{return!0}return Ue instanceof WeakSet}catch{}return!1}(We))return Ni("WeakSet");if(function Ti(Ue){if(!ne||!Ue||"object"!=typeof Ue)return!1;try{return ne.call(Ue),!0}catch{}return!1}(We))return Ni("WeakRef");if(function Mn(Ue){return!("[object Number]"!==ui(Ue)||st&&"object"==typeof Ue&&st in Ue)}(We))return Zi(Ar(Number(We)));if(function jt(Ue){if(!Ue||"object"!=typeof Ue||!ge)return!1;try{return ge.call(Ue),!0}catch{}return!1}(We))return Zi(Ar(ge.call(We)));if(function vi(Ue){return!("[object Boolean]"!==ui(Ue)||st&&"object"==typeof Ue&&st in Ue)}(We))return Zi(G.call(We));if(function rn(Ue){return!("[object String]"!==ui(Ue)||st&&"object"==typeof Ue&&st in Ue)}(We))return Zi(Ar(String(We)));if(!function zt(Ue){return!("[object Date]"!==ui(Ue)||st&&"object"==typeof Ue&&st in Ue)}(We)&&!yn(We)){var vn=To(We,Ar),Xn=At?At(We)===Object.prototype:We instanceof Object||We.constructor===Object,ls=We instanceof Object?"":"null prototype",_i=!Xn&&st&&Object(We)===We&&st in We?ce.call(ui(We),8,-1):ls?"Object":"",an=(Xn||"function"!=typeof We.constructor?"":We.constructor.name?We.constructor.name+" ":"")+(_i||ls?"["+re.call(he.call([],_i||[],ls||[]),": ")+"] ":"");return 0===vn.length?an+"{}":Kr?an+"{"+Lt(vn,Kr)+"}":an+"{ "+re.call(vn,", ")+" }"}return String(We)};var Ge=Object.prototype.hasOwnProperty||function(Ue){return Ue in this};function at(Ue,We){return Ge.call(Ue,We)}function ui(Ue){return ie.call(Ue)}function ni(Ue,We){if(Ue.indexOf)return Ue.indexOf(We);for(var hn=0,En=Ue.length;hnWe.maxStringLength){var hn=Ue.length-We.maxStringLength,En="... "+hn+" more character"+(hn>1?"s":"");return un(ce.call(Ue,0,We.maxStringLength),We)+En}return gi(le.call(le.call(Ue,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Ii),"single",We)}function Ii(Ue){var We=Ue.charCodeAt(0),hn={8:"b",9:"t",10:"n",12:"f",13:"r"}[We];return hn?"\\"+hn:"\\x"+(We<16?"0":"")+ee.call(We.toString(16))}function Zi(Ue){return"Object("+Ue+")"}function Ni(Ue){return Ue+" { ? }"}function $r(Ue,We,hn,En){return Ue+" ("+We+") {"+(En?Lt(hn,En):re.call(hn,", "))+"}"}function Lt(Ue,We){if(0===Ue.length)return"";var hn="\n"+We.prev+We.base;return hn+re.call(Ue,","+hn)+"\n"+We.prev}function To(Ue,We){var hn=ei(Ue),En=[];if(hn){En.length=Ue.length;for(var Zn=0;Zn=C)return ce;V=x(O),ne=[],","===V.slice(-1)?(V=V.replace(U,""),ee()):le()}function le(){for(x(I),G="",ie="in descriptor";;){if(q=b.charAt(z),"in descriptor"===ie)if(_(q))G&&(ne.push(G),G="",ie="after descriptor");else{if(","===q)return z+=1,G&&ne.push(G),void ee();if("("===q)G+=q,ie="in parens";else{if(""===q)return G&&ne.push(G),void ee();G+=q}}else if("in parens"===ie)if(")"===q)G+=q,ie="in descriptor";else{if(""===q)return ne.push(G),void ee();G+=q}else if("after descriptor"===ie&&!_(q)){if(""===q)return void ee();ie="in descriptor",z-=1}z+=1}}function ee(){var ae,he,re,de,ge,ve,ze,Re,st,K=!1,me={};for(de=0;de-1&&(ui.onTap(),ni=!0);ni&&(Ge.stopPropagation&&Ge.stopPropagation(),de=!0,setTimeout(function(){de=!1},x.features.isOldAndroid?600:30))},ze=function(Ge,at,ui){x[(ui?"add":"remove")+"Class"](Ge,"pswp__"+at)},Re=function(){var Ge=1===he.getNumItemsFn();Ge!==ae&&(ze(U,"ui--one-slide",Ge),ae=Ge)},st=function(){ze(G,"share-modal--hidden",ie)},mt=function(){return(ie=!ie)?(x.removeClass(G,"pswp__share-modal--fade-in"),setTimeout(function(){ie&&st()},300)):(st(),setTimeout(function(){ie||x.addClass(G,"pswp__share-modal--fade-in")},30)),ie||Zt(),!1},At=function(Ge){var at=(Ge=Ge||window.event).target||Ge.srcElement;return _.shout("shareLinkClick",Ge,at),!(!at.href||!at.hasAttribute("download")&&(window.open(at.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),ie||mt(),1))},Zt=function(){for(var at,Gt,ni,yt,Ge="",cn=0;cn