PageSourceSearch

https://situatiescolara.spiruharet.ro/main-ELBNOIQS.js

js spiruharet.ro collected 2026-10-02 04:20:03 UTC 490,512 bytes, 429 lines download raw bytes

1import{a as b0,b as Ji,c as y0}from"./chunk-RYJMV4VS.js";import{a as Oe}from"./chunk-ARVONMWR.js";import{a as vn}from"./chunk-G6UEPLWT.js";import{a as an}from"./chunk-MMOMLCZV.js";import{a as sn}from"./chunk-MZOTJM6A.js";import{a as k0,b as ot}from"./chunk-YNWVDFOI.js";import{a as _0,b as xn}from"./chunk-BJKUKNEZ.js";import{a as Yi}from"./chunk-F5N4BJWU.js";import{a as Bn}from"./chunk-RHABSHUT.js";import{a as hn,b as fn,c as gn}from"./chunk-QUE5FTLU.js";import{a as tn}from"./chunk-4SZFLHUC.js";import{a as Ri,b as Oi,c as zi,d as Gi,e as mt,f as Hi,g as en}from"./chunk-BQESOO4P.js";import{a as mn,b as En}from"./chunk-MQXNRIJ4.js";import{a as cn}from"./chunk-VZRODX75.js";import{a as pn}from"./chunk-SMPSHGV6.js";import{A as Cn,B as An,b as $e,c as bt,d as _t,e as F0,f as yt,g as Ze,i as rt,j as nn,k as rn,l as on,m as w0,n as kt,o as Et,p as Rt,q as ln,r as dn,t as un,v as D0,w as Ot,x as Ct,y as W0,z as wt}from"./chunk-E2Z3KVVR.js";import{B as fe,E as At,F as ke,G as Ki,H as Y,I as Zi,J as Ke,K as Xi,L as Ft,a as A0,b as Ui,e as Wi,g as Ne,h as Qi,l as qi,y as $i}from"./chunk-UZYHPVGO.js";import{A as Ei,Aa as ki,Ab as u0,Ac as Ii,B as Ci,Ba as F,Bb as p0,Bc as Mi,C as hi,Cb as m0,Cc as Vi,Da as H,Dc as f0,F as fi,Fc as g0,Gc as Le,Ha as De,Hc as v0,I as gi,Ib as Di,Ic as ne,Jc as nt,Ka as d0,Kc as Li,Lb as it,Lc as ji,M as c0,Ma as vt,Mb as Si,Na as v,Nc as Ni,O as l0,Oa as B,Oc as B0,P as vi,Pb as E0,Pc as J,Qa as ae,Qc as U0,Ra as re,Rc as Fe,S as Qe,Sa as oe,Sc as ft,Ta as g,Tc as he,U as Bi,Ua as r,Ub as C,Uc as et,V as qe,Va as x,Vb as h,W as se,Wa as l,Wb as Lt,Xa as _e,Y as Ai,Ya as Se,Z as bi,Za as Je,_ as _i,aa as S,ba as T,bb as N,ca as M,cb as Tt,da as te,db as w,eb as tt,fb as u,gb as wi,gc as jt,hb as G0,hc as Bt,ib as le,j as x0,jb as de,k as Ee,kb as ue,ma as Fi,n as ui,nb as pt,nc as C0,oa as Ve,p as pi,pa as ye,pb as xt,pc as Nt,rb as Be,sa as yi,sb as d,sc as Ti,ta as o,tb as pe,tc as H0,u as mi,ua as ze,ub as f,v as Yt,vb as Re,wb as Jt,x as s0,xc as h0,zc as Pi}from"./chunk-BMTSVM6S.js";import"./chunk-EUW6AK7I.js";import{a as li,e as ht,g as di,i as ut}from"./chunk-XONNYAOC.js";var er=ht((t0,ei)=>{(function(s,e){typeof t0=="object"&&typeof ei=="object"?ei.exports=e():typeof define=="function"&&define.amd?define([],e):typeof t0=="object"?t0.jsQR=e():s.jsQR=e()})(typeof self<"u"?self:t0,function(){return(function(t){var s={};function e(i){if(s[i])return s[i].exports;var n=s[i]={i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,e),n.l=!0,n.exports}return e.m=t,e.c=s,e.d=function(i,n,a){e.o(i,n)||Object.defineProperty(i,n,{configurable:!1,enumerable:!0,get:a})},e.n=function(i){var n=i&&i.__esModule?function(){return i.default}:function(){return i};return e.d(n,"a",n),n},e.o=function(i,n){return Object.prototype.hasOwnProperty.call(i,n)},e.p="",e(e.s=3)})([(function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=(function(){function n(a,c){this.width=c,this.height=a.length/c,this.data=a}return n.createEmpty=function(a,c){return new n(new Uint8ClampedArray(a*c),a)},n.prototype.get=function(a,c){return a<0||a>=this.width||c<0||c>=this.height?!1:!!this.data[c*this.width+a]},n.prototype.set=function(a,c,p){this.data[c*this.width+a]=p?1:0},n.prototype.setRegion=function(a,c,p,E,m){for(var b=c;b<c+E;b++)for(var y=a;y<a+p;y++)this.set(y,b,!!m)},n})();s.BitMatrix=i}),(function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e(2);function n(c,p){return c^p}s.addOrSubtractGF=n;var a=(function(){function c(p,E,m){this.primitive=p,this.size=E,this.generatorBase=m,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var b=1,y=0;y<this.size;y++)this.expTable[y]=b,b=b*2,b>=this.size&&(b=(b^this.primitive)&this.size-1);for(var y=0;y<this.size-1;y++)this.logTable[this.expTable[y]]=y;this.zero=new i.default(this,Uint8ClampedArray.from([0])),this.one=new i.default(this,Uint8ClampedArray.from([1]))}return c.prototype.multiply=function(p,E){return p===0||E===0?0:this.expTable[(this.logTable[p]+this.logTable[E])%(this.size-1)]},c.prototype.inverse=function(p){if(p===0)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[p]-1]},c.prototype.buildMonomial=function(p,E){if(p<0)throw new Error("Invalid monomial degree less than 0");if(E===0)return this.zero;var m=new Uint8ClampedArray(p+1);return m[0]=E,new i.default(this,m)},c.prototype.log=function(p){if(p===0)throw new Error("Can't take log(0)");return this.logTable[p]},c.prototype.exp=function(p){return this.expTable[p]},c})();s.default=a}),(function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e(1),n=(function(){function a(c,p){if(p.length===0)throw new Error("No coefficients.");this.field=c;var E=p.length;if(E>1&&p[0]===0){for(var m=1;m<E&&p[m]===0;)m++;if(m===E)this.coefficients=c.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(E-m);for(var b=0;b<this.coefficients.length;b++)this.coefficients[b]=p[m+b]}}else this.coefficients=p}return a.prototype.degree=function(){return this.coefficients.length-1},a.prototype.isZero=function(){return this.coefficients[0]===0},a.prototype.getCoefficient=function(c){return this.coefficients[this.coefficients.length-1-c]},a.prototype.addOrSubtract=function(c){var p;if(this.isZero())return c;if(c.isZero())return this;
1var E=this.coefficients,m=c.coefficients;E.length>m.length&&(p=[m,E],E=p[0],m=p[1]);for(var b=new Uint8ClampedArray(m.length),y=m.length-E.length,P=0;P<y;P++)b[P]=m[P];for(var P=y;P<m.length;P++)b[P]=i.addOrSubtractGF(E[P-y],m[P]);return new a(this.field,b)},a.prototype.multiply=function(c){if(c===0)return this.field.zero;if(c===1)return this;for(var p=this.coefficients.length,E=new Uint8ClampedArray(p),m=0;m<p;m++)E[m]=this.field.multiply(this.coefficients[m],c);return new a(this.field,E)},a.prototype.multiplyPoly=function(c){if(this.isZero()||c.isZero())return this.field.zero;for(var p=this.coefficients,E=p.length,m=c.coefficients,b=m.length,y=new Uint8ClampedArray(E+b-1),P=0;P<E;P++)for(var O=p[P],R=0;R<b;R++)y[P+R]=i.addOrSubtractGF(y[P+R],this.field.multiply(O,m[R]));return new a(this.field,y)},a.prototype.multiplyByMonomial=function(c,p){if(c<0)throw new Error("Invalid degree less than 0");if(p===0)return this.field.zero;for(var E=this.coefficients.length,m=new Uint8ClampedArray(E+c),b=0;b<E;b++)m[b]=this.field.multiply(this.coefficients[b],p);return new a(this.field,m)},a.prototype.evaluateAt=function(c){var p=0;if(c===0)return this.getCoefficient(0);var E=this.coefficients.length;if(c===1)return this.coefficients.forEach(function(b){p=i.addOrSubtractGF(p,b)}),p;p=this.coefficients[0];for(var m=1;m<E;m++)p=i.addOrSubtractGF(this.field.multiply(c,p),this.coefficients[m]);return p},a})();s.default=n}),(function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e(4),n=e(5),a=e(11),c=e(12);function p(b){var y=c.locate(b);if(!y)return null;for(var P=0,O=y;P<O.length;P++){var R=O[P],U=a.extract(b,R),W=n.decode(U.matrix);if(W)return{binaryData:W.bytes,data:W.text,chunks:W.chunks,version:W.version,location:{topRightCorner:U.mappingFunction(R.dimension,0),topLeftCorner:U.mappingFunction(0,0),bottomRightCorner:U.mappingFunction(R.dimension,R.dimension),bottomLeftCorner:U.mappingFunction(0,R.dimension),topRightFinderPattern:R.topRight,topLeftFinderPattern:R.topLeft,bottomLeftFinderPattern:R.bottomLeft,bottomRightAlignmentPattern:R.alignmentPattern}}}return null}var E={inversionAttempts:"attemptBoth"};function m(b,y,P,O){O===void 0&&(O={});var R=E;Object.keys(R||{}).forEach(function(k){R[k]=O[k]||R[k]});var U=R.inversionAttempts==="attemptBoth"||R.inversionAttempts==="invertFirst",W=R.inversionAttempts==="onlyInvert"||R.inversionAttempts==="invertFirst",L=i.binarize(b,y,P,U),A=L.binarized,_=L.inverted,D=p(W?_:A);return!D&&(R.inversionAttempts==="attemptBoth"||R.inversionAttempts==="invertFirst")&&(D=p(W?A:_)),D}m.default=m,s.default=m}),(function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e(0),n=8,a=24;function c(m,b,y){return m<b?b:m>y?y:m}var p=(function(){function m(b,y){this.width=b,this.data=new Uint8ClampedArray(b*y)}return m.prototype.get=function(b,y){return this.data[y*this.width+b]},m.prototype.set=function(b,y,P){this.data[y*this.width+b]=P},m})();function E(m,b,y,P){if(m.length!==b*y*4)throw new Error("Malformed data passed to binarizer.");for(var O=new p(b,y),R=0;R<b;R++)for(var U=0;U<y;U++){var W=m[(U*b+R)*4+0],L=m[(U*b+R)*4+1],A=m[(U*b+R)*4+2];O.set(R,U,.2126*W+.7152*L+.0722*A)}for(var _=Math.ceil(b/n),D=Math.ceil(y/n),k=new p(_,D),z=0;z<D;z++)for(var G=0;G<_;G++){for(var $=0,K=1/0,Z=0,U=0;U<n;U++)for(var R=0;R<n;R++){var ce=O.get(G*n+R,z*n+U);$+=ce,K=Math.min(K,ce),Z=Math.max(Z,ce)}var xe=$/Math.pow(n,2);if(Z-K<=a&&(xe=K/2,z>0&&G>0)){var ee=(k.get(G,z-1)+2*k.get(G-1,z)+k.get(G-1,z-1))/4;K<ee&&(xe=ee)}k.set(G,z,xe)}var Ce=i.BitMatrix.createEmpty(b,y),ie=null;P&&(ie=i.BitMatrix.createEmpty(b,y));for(var z=0;z<D;z++)for(var G=0;G<_;G++){for(var Ae=c(G,2,_-3),j=c(z,2,D-3),$=0,V=-2;V<=2;V++)for(var I=-2;I<=2;I++)$+=k.get(Ae+V,j+I);for(var X=$/25,V=0;V<n;V++)for(var I=0;I<n;I++){var R=G*n+V,U=z*n+I,Q=O.get(R,U);Ce.set(R,U,Q<=X),P&&ie.set(R,U,!(Q<=X))}}return P?{binarized:Ce,inverted:ie}:{binarized:Ce}}s.binarize=E}),(function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e(0),n=e(6),a=e(9),c=e(10);function p(A,_){for(var D=A^_,k=0;D;)k++,D&=D-1;return k}function E(A,_){return _<<1|A}var m=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],b=[function(A){return(A.y+A.x)%2===0},function(A){return A.y%2===0},function(A){return A.x%3===0},function(A){return(A.y+A.x)%3===0},function(A){return(Math.floor(A.y/2)+Math.floor(A.x/3))%2===0},function(A){return A.x*A.y%2+A.x*A.y%3===0},function(A){return(A.y*A.x%2+A.y*A.x%3)%2===0},function(A){return((A.y+A.x)%2+A.y*A.x%3)%2===0}];function y(A){var _=17+4*A.versionNumber,D=i.BitMatrix.createEmpty(_,_);D.setRegion(0,0,9,9,!0),D.setRegion(_-8,0,8,9,!0),D.setRegion(0,_-8,9,8,!0);for(var k=0,z=A.alignmentPatternCenters;k<z.length;k++)for(var G=z[k],$=0,K=A.alignmentPatternCenters;$<K.length;$++){var Z=K[$];G===6&&Z===6||G===6&&Z===_-7||G===_-7&&Z===6||D.setRegion(G-2,Z-2,5,5,!0)}return D.setRegion(6,9,1,_-17,!0),D.setRegion(9,6,_-17,1,!0),A.versionNumber>6&&(D.setRegion(_-11,0,3,6,!0),D.setRegion(0,_-11,6,3,!0)),D}function P(A,_,D){for(var k=b[D.dataMask],z=A.height,G=y(_),$=[],K=0,Z=0,ce=!0,xe=z-1;xe>0;xe-=2){xe===6&&xe--;for(var ee=0;ee<z;ee++)for(var Ce=ce?z-1-ee:ee,ie=0;ie<2;ie++){var Ae=xe-ie;if(!G.get(Ae,Ce)){Z++;var j=A.get(Ae,Ce);k({y:Ce,x:Ae})&&(j=!j),K=E(j,K),Z===8&&($.push(K),Z=0,K=0)}}ce=!ce}return $}function O(A){var _=A.height,D=Math.floor((_-17)/4);if(D<=6)return c.VERSIONS[D-1];for(var k=0,z=5;z>=0;
1z--)for(var G=_-9;G>=_-11;G--)k=E(A.get(G,z),k);for(var $=0,G=5;G>=0;G--)for(var z=_-9;z>=_-11;z--)$=E(A.get(G,z),$);for(var K=1/0,Z,ce=0,xe=c.VERSIONS;ce<xe.length;ce++){var ee=xe[ce];if(ee.infoBits===k||ee.infoBits===$)return ee;var Ce=p(k,ee.infoBits);Ce<K&&(Z=ee,K=Ce),Ce=p($,ee.infoBits),Ce<K&&(Z=ee,K=Ce)}if(K<=3)return Z}function R(A){for(var _=0,D=0;D<=8;D++)D!==6&&(_=E(A.get(D,8),_));for(var k=7;k>=0;k--)k!==6&&(_=E(A.get(8,k),_));for(var z=A.height,G=0,k=z-1;k>=z-7;k--)G=E(A.get(8,k),G);for(var D=z-8;D<z;D++)G=E(A.get(D,8),G);for(var $=1/0,K=null,Z=0,ce=m;Z<ce.length;Z++){var xe=ce[Z],ee=xe.bits,Ce=xe.formatInfo;if(ee===_||ee===G)return Ce;var ie=p(_,ee);ie<$&&(K=Ce,$=ie),_!==G&&(ie=p(G,ee),ie<$&&(K=Ce,$=ie))}return $<=3?K:null}function U(A,_,D){var k=_.errorCorrectionLevels[D],z=[],G=0;if(k.ecBlocks.forEach(function(j){for(var V=0;V<j.numBlocks;V++)z.push({numDataCodewords:j.dataCodewordsPerBlock,codewords:[]}),G+=j.dataCodewordsPerBlock+k.ecCodewordsPerBlock}),A.length<G)return null;A=A.slice(0,G);for(var $=k.ecBlocks[0].dataCodewordsPerBlock,K=0;K<$;K++)for(var Z=0,ce=z;Z<ce.length;Z++){var xe=ce[Z];xe.codewords.push(A.shift())}if(k.ecBlocks.length>1)for(var ee=k.ecBlocks[0].numBlocks,Ce=k.ecBlocks[1].numBlocks,K=0;K<Ce;K++)z[ee+K].codewords.push(A.shift());for(;A.length>0;)for(var ie=0,Ae=z;ie<Ae.length;ie++){var xe=Ae[ie];xe.codewords.push(A.shift())}return z}function W(A){var _=O(A);if(!_)return null;var D=R(A);if(!D)return null;var k=P(A,_,D),z=U(k,_,D.errorCorrectionLevel);if(!z)return null;for(var G=z.reduce(function(ie,Ae){return ie+Ae.numDataCodewords},0),$=new Uint8ClampedArray(G),K=0,Z=0,ce=z;Z<ce.length;Z++){var xe=ce[Z],ee=a.decode(xe.codewords,xe.codewords.length-xe.numDataCodewords);if(!ee)return null;for(var Ce=0;Ce<xe.numDataCodewords;Ce++)$[K++]=ee[Ce]}try{return n.decode($,_.versionNumber)}catch{return null}}function L(A){if(A==null)return null;var _=W(A);if(_)return _;for(var D=0;D<A.width;D++)for(var k=D+1;k<A.height;k++)A.get(D,k)!==A.get(k,D)&&(A.set(D,k,!A.get(D,k)),A.set(k,D,!A.get(k,D)));return W(A)}s.decode=L}),(function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e(7),n=e(8),a;(function(O){O.Numeric="numeric",O.Alphanumeric="alphanumeric",O.Byte="byte",O.Kanji="kanji",O.ECI="eci"})(a=s.Mode||(s.Mode={}));var c=(function(O){return O[O.Terminator=0]="Terminator",O[O.Numeric=1]="Numeric",O[O.Alphanumeric=2]="Alphanumeric",O[O.Byte=4]="Byte",O[O.Kanji=8]="Kanji",O[O.ECI=7]="ECI",O})(c||{});function p(O,R){for(var U=[],W="",L=[10,12,14][R],A=O.readBits(L);A>=3;){var _=O.readBits(10);if(_>=1e3)throw new Error("Invalid numeric value above 999");var D=Math.floor(_/100),k=Math.floor(_/10)%10,z=_%10;U.push(48+D,48+k,48+z),W+=D.toString()+k.toString()+z.toString(),A-=3}if(A===2){var _=O.readBits(7);if(_>=100)throw new Error("Invalid numeric value above 99");var D=Math.floor(_/10),k=_%10;U.push(48+D,48+k),W+=D.toString()+k.toString()}else if(A===1){var _=O.readBits(4);if(_>=10)throw new Error("Invalid numeric value above 9");U.push(48+_),W+=_.toString()}return{bytes:U,text:W}}var E=["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"," ","$","%","*","+","-",".","/",":"];function m(O,R){for(var U=[],W="",L=[9,11,13][R],A=O.readBits(L);A>=2;){var _=O.readBits(11),D=Math.floor(_/45),k=_%45;U.push(E[D].charCodeAt(0),E[k].charCodeAt(0)),W+=E[D]+E[k],A-=2}if(A===1){var D=O.readBits(6);U.push(E[D].charCodeAt(0)),W+=E[D]}return{bytes:U,text:W}}function b(O,R){for(var U=[],W="",L=[8,16,16][R],A=O.readBits(L),_=0;_<A;_++){var D=O.readBits(8);U.push(D)}try{W+=decodeURIComponent(U.map(function(k){return"%"+("0"+k.toString(16)).substr(-2)}).join(""))}catch{}return{bytes:U,text:W}}function y(O,R){for(var U=[],W="",L=[8,10,12][R],A=O.readBits(L),_=0;_<A;_++){var D=O.readBits(13),k=Math.floor(D/192)<<8|D%192;k<7936?k+=33088:k+=49472,U.push(k>>8,k&255),W+=String.fromCharCode(n.shiftJISTable[k])}return{bytes:U,text:W}}function P(O,R){for(var U,W,L,A,_=new i.BitStream(O),D=R<=9?0:R<=26?1:2,k={text:"",bytes:[],chunks:[],version:R};_.available()>=4;){var z=_.readBits(4);if(z===c.Terminator)return k;if(z===c.ECI)_.readBits(1)===0?k.chunks.push({type:a.ECI,assignmentNumber:_.readBits(7)}):_.readBits(1)===0?k.chunks.push({type:a.ECI,assignmentNumber:_.readBits(14)}):_.readBits(1)===0?k.chunks.push({type:a.ECI,assignmentNumber:_.readBits(21)}):k.chunks.push({type:a.ECI,assignmentNumber:-1});else if(z===c.Numeric){var G=p(_,D);k.text+=G.text,(U=k.bytes).push.apply(U,G.bytes),k.chunks.push({type:a.Numeric,text:G.text})}else if(z===c.Alphanumeric){var $=m(_,D);k.text+=$.text,(W=k.bytes).push.apply(W,$.bytes),k.chunks.push({type:a.Alphanumeric,text:$.text})}else if(z===c.Byte){var K=b(_,D);k.text+=K.text,(L=k.bytes).push.apply(L,K.bytes),k.chunks.push({type:a.Byte,bytes:K.bytes,text:K.text})}else if(z===c.Kanji){var Z=y(_,D);k.text+=Z.text,(A=k.bytes).push.apply(A,Z.bytes),k.chunks.push({type:a.Kanji,bytes:Z.b
1ytes,text:Z.text})}}if(_.available()===0||_.readBits(_.available())===0)return k}s.decode=P}),(function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=(function(){function n(a){this.byteOffset=0,this.bitOffset=0,this.bytes=a}return n.prototype.readBits=function(a){if(a<1||a>32||a>this.available())throw new Error("Cannot read "+a.toString()+" bits");var c=0;if(this.bitOffset>0){var p=8-this.bitOffset,E=a<p?a:p,m=p-E,b=255>>8-E<<m;c=(this.bytes[this.byteOffset]&b)>>m,a-=E,this.bitOffset+=E,this.bitOffset===8&&(this.bitOffset=0,this.byteOffset++)}if(a>0){for(;a>=8;)c=c<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,a-=8;if(a>0){var m=8-a,b=255>>m<<m;c=c<<a|(this.bytes[this.byteOffset]&b)>>m,this.bitOffset+=a}}return c},n.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},n})();s.BitStream=i}),(function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s
vendor: 83,506 bytes, line 1
1.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}}
1),(function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e(1),n=e(2);function a(m,b,y,P){var O;b.degree()<y.degree()&&(O=[y,b],b=O[0],y=O[1]);for(var R=b,U=y,W=m.zero,L=m.one;U.degree()>=P/2;){var A=R,_=W;if(R=U,W=L,R.isZero())return null;U=A;for(var D=m.zero,k=R.getCoefficient(R.degree()),z=m.inverse(k);U.degree()>=R.degree()&&!U.isZero();){var G=U.degree()-R.degree(),$=m.multiply(U.getCoefficient(U.degree()),z);D=D.addOrSubtract(m.buildMonomial(G,$)),U=U.addOrSubtract(R.multiplyByMonomial(G,$))}if(L=D.multiplyPoly(W).addOrSubtract(_),U.degree()>=R.degree())return null}var K=L.getCoefficient(0);if(K===0)return null;var Z=m.inverse(K);return[L.multiply(Z),U.multiply(Z)]}function c(m,b){var y=b.degree();if(y===1)return[b.getCoefficient(1)];for(var P=new Array(y),O=0,R=1;R<m.size&&O<y;R++)b.evaluateAt(R)===0&&(P[O]=m.inverse(R),O++);return O!==y?null:P}function p(m,b,y){for(var P=y.length,O=new Array(P),R=0;R<P;R++){for(var U=m.inverse(y[R]),W=1,L=0;L<P;L++)R!==L&&(W=m.multiply(W,i.addOrSubtractGF(1,m.multiply(y[L],U))));O[R]=m.multiply(b.evaluateAt(U),m.inverse(W)),m.generatorBase!==0&&(O[R]=m.multiply(O[R],U))}return O}function E(m,b){var y=new Uint8ClampedArray(m.length);y.set(m);for(var P=new i.default(285,256,0),O=new n.default(P,y),R=new Uint8ClampedArray(b),U=!1,W=0;W<b;W++){var L=O.evaluateAt(P.exp(W+P.generatorBase));R[R.length-1-W]=L,L!==0&&(U=!0)}if(!U)return y;var A=new n.default(P,R),_=a(P,P.buildMonomial(b,1),A,b);if(_===null)return null;var D=c(P,_[0]);if(D==null)return null;for(var k=p(P,_[1],D),z=0;z<D.length;z++){var G=y.length-1-P.log(D[z]);if(G<0)return null;y[G]=i.addOrSubtractGF(y[G],k[z])}return y}s.decode=E}),(function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s
vendor: 21,071 bytes, line 1
1.VERSIONS=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}]}
1),(function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=e(0);function n(E,m,b,y){var P=E.x-m.x+b.x-y.x,O=E.y-m.y+b.y-y.y;if(P===0&&O===0)return{a11:m.x-E.x,a12:m.y-E.y,a13:0,a21:b.x-m.x,a22:b.y-m.y,a23:0,a31:E.x,a32:E.y,a33:1};var R=m.x-b.x,U=y.x-b.x,W=m.y-b.y,L=y.y-b.y,A=R*L-U*W,_=(P*L-U*O)/A,D=(R*O-P*W)/A;return{a11:m.x-E.x+_*m.x,a12:m.y-E.y+_*m.y,a13:_,a21:y.x-E.x+D*y.x,a22:y.y-E.y+D*y.y,a23:D,a31:E.x,a32:E.y,a33:1}}function a(E,m,b,y){var P=n(E,m,b,y);return{a11:P.a22*P.a33-P.a23*P.a32,a12:P.a13*P.a32-P.a12*P.a33,a13:P.a12*P.a23-P.a13*P.a22,a21:P.a23*P.a31-P.a21*P.a33,a22:P.a11*P.a33-P.a13*P.a31,a23:P.a13*P.a21-P.a11*P.a23,a31:P.a21*P.a32-P.a22*P.a31,a32:P.a12*P.a31-P.a11*P.a32,a33:P.a11*P.a22-P.a12*P.a21}}function c(E,m){return{a11:E.a11*m.a11+E.a21*m.a12+E.a31*m.a13,a12:E.a12*m.a11+E.a22*m.a12+E.a32*m.a13,a13:E.a13*m.a11+E.a23*m.a12+E.a33*m.a13,a21:E.a11*m.a21+E.a21*m.a22+E.a31*m.a23,a22:E.a12*m.a21+E.a22*m.a22+E.a32*m.a23,a23:E.a13*m.a21+E.a23*m.a22+E.a33*m.a23,a31:E.a11*m.a31+E.a21*m.a32+E.a31*m.a33,a32:E.a12*m.a31+E.a22*m.a32+E.a32*m.a33,a33:E.a13*m.a31+E.a23*m.a32+E.a33*m.a33}}function p(E,m){for(var b=a({x:3.5,y:3.5},{x:m.dimension-3.5,y:3.5},{x:m.dimension-6.5,y:m.dimension-6.5},{x:3.5,y:m.dimension-3.5}),y=n(m.topLeft,m.topRight,m.alignmentPattern,m.bottomLeft),P=c(y,b),O=i.BitMatrix.createEmpty(m.dimension,m.dimension),R=function(D,k){var z=P.a13*D+P.a23*k+P.a33;return{x:(P.a11*D+P.a21*k+P.a31)/z,y:(P.a12*D+P.a22*k+P.a32)/z}},U=0;U<m.dimension;U++)for(var W=0;W<m.dimension;W++){var L=W+.5,A=U+.5,_=R(L,A);O.set(W,U,E.get(Math.floor(_.x),Math.floor(_.y)))}return{matrix:O,mappingFunction:R}}s.extract=p}),(function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i=4,n=.5,a=1.5,c=function(L,A){return Math.sqrt(Math.pow(A.x-L.x,2)+Math.pow(A.y-L.y,2))};function p(L){return L.reduce(function(A,_){return A+_})}function E(L,A,_){var D,k,z,G,$=c(L,A),K=c(A,_),Z=c(L,_),ce,xe,ee;return K>=$&&K>=Z?(D=[A,L,_],ce=D[0],xe=D[1],ee=D[2]):Z>=K&&Z>=$?(k=[L,A,_],ce=k[0],xe=k[1],ee=k[2]):(z=[L,_,A],ce=z[0],xe=z[1],ee=z[2]),(ee.x-xe.x)*(ce.y-xe.y)-(ee.y-xe.y)*(ce.x-xe.x)<0&&(G=[ee,ce],ce=G[0],ee=G[1]),{bottomLeft:ce,topLeft:xe,topRight:ee}}function m(L,A,_,D){var k=(p(y(L,_,D,5))/7+p(y(L,A,D,5))/7+p(y(_,L,D,5))/7+p(y(A,L,D,5))/7)/4;if(k<1)throw new Error("Invalid module size");var z=Math.round(c(L,A)/k),G=Math.round(c(L,_)/k),$=Math.floor((z+G)/2)+7;switch($%4){case 0:$++;break;case 2:$--;break}return{dimension:$,moduleSize:k}}function b(L,A,_,D){var k=[{x:Math.floor(L.x),y:Math.floor(L.y)}],z=Math.abs(A.y-L.y)>Math.abs(A.x-L.x),G,$,K,Z;z?(G=Math.floor(L.y),$=Math.floor(L.x),K=Math.floor(A.y),Z=Math.floor(A.x)):(G=Math.floor(L.x),$=Math.floor(L.y),K=Math.floor(A.x),Z=Math.floor(A.y));for(var ce=Math.abs(K-G),xe=Math.abs(Z-$),ee=Math.floor(-ce/2),Ce=G<K?1:-1,ie=$<Z?1:-1,Ae=!0,j=G,V=$;j!==K+Ce;j+=Ce){var I=z?V:j,X=z?j:V;if(_.get(I,X)!==Ae&&(Ae=!Ae,k.push({x:I,y:X}),k.length===D+1))break;if(ee+=xe,ee>0){if(V===Z)break;V+=ie,ee-=ce}}for(var Q=[],q=0;q<D;q++)k[q]&&k[q+1]?Q.push(c(k[q],k[q+1])):Q.push(0);return Q}function y(L,A,_,D){var k,z=A.y-L.y,G=A.x-L.x,$=b(L,A,_,Math.ceil(D/2)),K=b(L,{x:L.x-G,y:L.y-z},_,Math.ceil(D/2)),Z=$.shift()+K.shift()-1;return(k=K.concat(Z)).concat.apply(k,$)}function P(L,A){var _=p(L)/p(A),D=0;return A.forEach(function(k,z){D+=Math.pow(L[z]-k*_,2)}),{averageSize:_,error:D}}function O(L,A,_){try{var D=y(L,{x:-1,y:L.y},_,A.length),k=y(L,{x:L.x,y:-1},_,A.length),z={x:Math.max(0,L.x-L.y)-1,y:Math.max(0,L.y-L.x)-1},G=y(L,z,_,A.length),$={x:Math.min(_.width,L.x+L.y)+1,y:Math.min(_.height,L.y+L.x)+1}
1,K=y(L,$,_,A.length),Z=P(D,A),ce=P(k,A),xe=P(G,A),ee=P(K,A),Ce=Math.sqrt(Z.error*Z.error+ce.error*ce.error+xe.error*xe.error+ee.error*ee.error),ie=(Z.averageSize+ce.averageSize+xe.averageSize+ee.averageSize)/4,Ae=(Math.pow(Z.averageSize-ie,2)+Math.pow(ce.averageSize-ie,2)+Math.pow(xe.averageSize-ie,2)+Math.pow(ee.averageSize-ie,2))/ie;return Ce+Ae}catch{return 1/0}}function R(L,A){for(var _=Math.round(A.x);L.get(_,Math.round(A.y));)_--;for(var D=Math.round(A.x);L.get(D,Math.round(A.y));)D++;for(var k=(_+D)/2,z=Math.round(A.y);L.get(Math.round(k),z);)z--;for(var G=Math.round(A.y);L.get(Math.round(k),G);)G++;var $=(z+G)/2;return{x:k,y:$}}function U(L){for(var A=[],_=[],D=[],k=[],z=function(I){for(var X=0,Q=!1,q=[0,0,0,0,0],we=function(ve){var Ie=L.get(ve,I);if(Ie===Q)X++;else{q=[q[1],q[2],q[3],q[4],X],X=1,Q=Ie;var Ue=p(q)/7,Dt=Math.abs(q[0]-Ue)<Ue&&Math.abs(q[1]-Ue)<Ue&&Math.abs(q[2]-3*Ue)<3*Ue&&Math.abs(q[3]-Ue)<Ue&&Math.abs(q[4]-Ue)<Ue&&!Ie,We=p(q.slice(-3))/3,Xr=Math.abs(q[2]-We)<We&&Math.abs(q[3]-We)<We&&Math.abs(q[4]-We)<We&&Ie;if(Dt){var o0=ve-q[3]-q[4],Kt=o0-q[2],St={startX:Kt,endX:o0,y:I},Zt=_.filter(function(lt){return Kt>=lt.bottom.startX&&Kt<=lt.bottom.endX||o0>=lt.bottom.startX&&Kt<=lt.bottom.endX||Kt<=lt.bottom.startX&&o0>=lt.bottom.endX&&q[2]/(lt.bottom.endX-lt.bottom.startX)<a&&q[2]/(lt.bottom.endX-lt.bottom.startX)>n});Zt.length>0?Zt[0].bottom=St:_.push({top:St,bottom:St})}if(Xr){var a0=ve-q[4],Xt=a0-q[3],St={startX:Xt,y:I,endX:a0},Zt=k.filter(function(dt){return Xt>=dt.bottom.startX&&Xt<=dt.bottom.endX||a0>=dt.bottom.startX&&Xt<=dt.bottom.endX||Xt<=dt.bottom.startX&&a0>=dt.bottom.endX&&q[2]/(dt.bottom.endX-dt.bottom.startX)<a&&q[2]/(dt.bottom.endX-dt.bottom.startX)>n});Zt.length>0?Zt[0].bottom=St:k.push({top:St,bottom:St})}}},be=-1;be<=L.width;be++)we(be);A.push.apply(A,_.filter(function(ve){return ve.bottom.y!==I&&ve.bottom.y-ve.top.y>=2})),_=_.filter(function(ve){return ve.bottom.y===I}),D.push.apply(D,k.filter(function(ve){return ve.bottom.y!==I})),k=k.filter(function(ve){return ve.bottom.y===I})},G=0;G<=L.height;G++)z(G);A.push.apply(A,_.filter(function(I){return I.bottom.y-I.top.y>=2})),D.push.apply(D,k);var $=A.filter(function(I){return I.bottom.y-I.top.y>=2}).map(function(I){var X=(I.top.startX+I.top.endX+I.bottom.startX+I.bottom.endX)/4,Q=(I.top.y+I.bottom.y+1)/2;if(L.get(Math.round(X),Math.round(Q))){var q=[I.top.endX-I.top.startX,I.bottom.endX-I.bottom.startX,I.bottom.y-I.top.y+1],we=p(q)/q.length,be=O({x:Math.round(X),y:Math.round(Q)},[1,1,3,1,1],L);return{score:be,x:X,y:Q,size:we}}}).filter(function(I){return!!I}).sort(function(I,X){return I.score-X.score}).map(function(I,X,Q){if(X>i)return null;var q=Q.filter(function(be,ve){return X!==ve}).map(function(be){return{x:be.x,y:be.y,score:be.score+Math.pow(be.size-I.size,2)/I.size,size:be.size}}).sort(function(be,ve){return be.score-ve.score});if(q.length<2)return null;var we=I.score+q[0].score+q[1].score;return{points:[I].concat(q.slice(0,2)),score:we}}).filter(function(I){return!!I}).sort(function(I,X){return I.score-X.score});if($.length===0)return null;var K=E($[0].points[0],$[0].points[1],$[0].points[2]),Z=K.topRight,ce=K.topLeft,xe=K.bottomLeft,ee=W(L,D,Z,ce,xe),Ce=[];ee&&Ce.push({alignmentPattern:{x:ee.alignmentPattern.x,y:ee.alignmentPattern.y},bottomLeft:{x:xe.x,y:xe.y},dimension:ee.dimension,topLeft:{x:ce.x,y:ce.y},topRight:{x:Z.x,y:Z.y}});var ie=R(L,Z),Ae=R(L,ce),j=R(L,xe),V=W(L,D,ie,Ae,j);return V&&Ce.push({alignmentPattern:{x:V.alignmentPattern.x,y:V.alignmentPattern.y},bottomLeft:{x:j.x,y:j.y},topLeft:{x:Ae.x,y:Ae.y},topRight:{x:ie.x,y:ie.y},dimension:V.dimension}),Ce.length===0?null:Ce}s.locate=U;function W(L,A,_,D,k){var z,G,$;try{z=m(D,_,k,L),G=z.dimension,$=z.moduleSize}catch{return null}var K={x:_.x-D.x+k.x,y:_.y-D.y+k.y},Z=(c(D,k)+c(D,_))/2/$,ce=1-3/Z,xe={x:D.x+ce*(K.x-D.x),y:D.y+ce*(K.y-D.y)},ee=A.map(function(ie){var Ae=(ie.top.startX+ie.top.endX+ie.bottom.startX+ie.bottom.endX)/4,j=(ie.top.y+ie.bottom.y+1)/2;if(L.get(Math.floor(Ae),Math.floor(j))){var V=[ie.top.endX-ie.top.startX,ie.bottom.endX-ie.bottom.startX,ie.bottom.y-ie.top.y+1],I=p(V)/V.length,X=O({x:Math.floor(Ae),y:Math.floor(j)},[1,1,1],L),Q=X+c({x:Ae,y:j},xe);return{x:Ae,y:j,score:Q}}}).filter(function(ie){return!!ie}).sort(function(ie,Ae){return ie.score-Ae.score}),Ce=Z>=15&&ee.length?ee[0]:xe;return{alignmentPattern:Ce,dimension:G}}})]).default})});
1var kr=ht((V5,ri)=>{var ni=(function(t){"use strict";var s=Object.prototype,e=s.hasOwnProperty,i=Object.defineProperty||function(j,V,I){j[V]=I.value},n,a=typeof Symbol=="function"?Symbol:{},c=a.iterator||"@@iterator",p=a.asyncIterator||"@@asyncIterator",E=a.toStringTag||"@@toStringTag";function m(j,V,I){return Object.defineProperty(j,V,{value:I,enumerable:!0,configurable:!0,writable:!0}),j[V]}try{m({},"")}catch{m=function(V,I,X){return V[I]=X}}function b(j,V,I,X){var Q=V&&V.prototype instanceof L?V:L,q=Object.create(Q.prototype),we=new Ce(X||[]);return i(q,"_invoke",{value:Z(j,I,we)}),q}t.wrap=b;function y(j,V,I){try{return{type:"normal",arg:j.call(V,I)}}catch(X){return{type:"throw",arg:X}}}var P="suspendedStart",O="suspendedYield",R="executing",U="completed",W={};function L(){}function A(){}function _(){}var D={};m(D,c,function(){return this});var k=Object.getPrototypeOf,z=k&&k(k(ie([])));z&&z!==s&&e.call(z,c)&&(D=z);var G=_.prototype=L.prototype=Object.create(D);A.prototype=_,i(G,"constructor",{value:_,configurable:!0}),i(_,"constructor",{value:A,configurable:!0}),A.displayName=m(_,E,"GeneratorFunction");function $(j){["next","throw","return"].forEach(function(V){m(j,V,function(I){return this._invoke(V,I)})})}t.isGeneratorFunction=function(j){var V=typeof j=="function"&&j.constructor;return V?V===A||(V.displayName||V.name)==="GeneratorFunction":!1},t.mark=function(j){return Object.setPrototypeOf?Object.setPrototypeOf(j,_):(j.__proto__=_,m(j,E,"GeneratorFunction")),j.prototype=Object.create(G),j},t.awrap=function(j){return{__await:j}};function K(j,V){function I(q,we,be,ve){var Ie=y(j[q],j,we);if(Ie.type==="throw")ve(Ie.arg);else{var Ue=Ie.arg,Dt=Ue.value;return Dt&&typeof Dt=="object"&&e.call(Dt,"__await")?V.resolve(Dt.__await).then(function(We){I("next",We,be,ve)},function(We){I("throw",We,be,ve)}):V.resolve(Dt).then(function(We){Ue.value=We,be(Ue)},function(We){return I("throw",We,be,ve)})}}var X;function Q(q,we){function be(){return new V(function(ve,Ie){I(q,we,ve,Ie)})}return X=X?X.then(be,be):be()}i(this,"_invoke",{value:Q})}$(K.prototype),m(K.prototype,p,function(){return this}),t.AsyncIterator=K,t.async=function(j,V,I,X,Q){Q===void 0&&(Q=Promise);var q=new K(b(j,V,I,X),Q);return t.isGeneratorFunction(V)?q:q.next().then(function(we){return we.done?we.value:q.next()})};function Z(j,V,I){var X=P;return function(q,we){if(X===R)throw new Error("Generator is already running");if(X===U){if(q==="throw")throw we;return Ae()}for(I.method=q,I.arg=we;;){var be=I.delegate;if(be){var ve=ce(be,I);if(ve){if(ve===W)continue;return ve}}if(I.method==="next")I.sent=I._sent=I.arg;else if(I.method==="throw"){if(X===P)throw X=U,I.arg;I.dispatchException(I.arg)}else I.method==="return"&&I.abrupt("return",I.arg);X=R;var Ie=y(j,V,I);if(Ie.type==="normal"){if(X=I.done?U:O,Ie.arg===W)continue;return{value:Ie.arg,done:I.done}}else Ie.type==="throw"&&(X=U,I.method="throw",I.arg=Ie.arg)}}}function ce(j,V){var I=V.method,X=j.iterator[I];if(X===n)return V.delegate=null,I==="throw"&&j.iterator.return&&(V.method="return",V.arg=n,ce(j,V),V.method==="throw")||I!=="return"&&(V.method="throw",V.arg=new TypeError("The iterator does not provide a '"+I+"' method")),W;var Q=y(X,j.iterator,V.arg);if(Q.type==="throw")return V.method="throw",V.arg=Q.arg,V.delegate=null,W;var q=Q.arg;if(!q)return V.method="throw",V.arg=new TypeError("iterator result is not an object"),V.delegate=null,W;if(q.done)V[j.resultName]=q.value,V.next=j.nextLoc,V.method!=="return"&&(V.method="next",V.arg=n);else return q;return V.delegate=null,W}$(G),m(G,E,"Generator"),m(G,c,function(){return this}),m(G,"toString",function(){return"[object Generator]"});function xe(j){var V={tryLoc:j[0]};1 in j&&(V.catchLoc=j[1]),2 in j&&(V.finallyLoc=j[2],V.afterLoc=j[3]),this.tryEntries.push(V)}function ee(j){var V=j.completion||{};V.type="normal",delete V.arg,j.completion=V}function Ce(j){this.tryEntries=[{tryLoc:"root"}],j.forEach(xe,this),this.reset(!0)}t.keys=function(j){var V=Object(j),I=[];for(var X in V)I.push(X);return I.reverse(),function Q(){for(;I.length;){var q=I.pop();if(q in V)return Q.value=q,Q.done=!1,Q}return Q.done=!0,Q}};function ie(j){if(j!=null){var V=j[c];if(V)return V.call(j);if(typeof j.next=="function")return j;if(!isNaN(j.length)){var I=-1,X=function Q(){for(;++I<j.length;)if(e.call(j,I))return Q.value=j[I],Q.done=!1,Q;return Q.value=n,Q.done=!0,Q};return X.next=X}}throw new TypeError(typeof j+" is not iterable")}t.values=ie;function Ae(){return{value:n,done:!0}}return Ce.prototype={constructor:Ce,reset:function(j){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEac
1h(ee),!j)for(var V in this)V.charAt(0)==="t"&&e.call(this,V)&&!isNaN(+V.slice(1))&&(this[V]=n)},stop:function(){this.done=!0;var j=this.tryEntries[0],V=j.completion;if(V.type==="throw")throw V.arg;return this.rval},dispatchException:function(j){if(this.done)throw j;var V=this;function I(ve,Ie){return q.type="throw",q.arg=j,V.next=ve,Ie&&(V.method="next",V.arg=n),!!Ie}for(var X=this.tryEntries.length-1;X>=0;--X){var Q=this.tryEntries[X],q=Q.completion;if(Q.tryLoc==="root")return I("end");if(Q.tryLoc<=this.prev){var we=e.call(Q,"catchLoc"),be=e.call(Q,"finallyLoc");if(we&&be){if(this.prev<Q.catchLoc)return I(Q.catchLoc,!0);if(this.prev<Q.finallyLoc)return I(Q.finallyLoc)}else if(we){if(this.prev<Q.catchLoc)return I(Q.catchLoc,!0)}else if(be){if(this.prev<Q.finallyLoc)return I(Q.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(j,V){for(var I=this.tryEntries.length-1;I>=0;--I){var X=this.tryEntries[I];if(X.tryLoc<=this.prev&&e.call(X,"finallyLoc")&&this.prev<X.finallyLoc){var Q=X;break}}Q&&(j==="break"||j==="continue")&&Q.tryLoc<=V&&V<=Q.finallyLoc&&(Q=null);var q=Q?Q.completion:{};return q.type=j,q.arg=V,Q?(this.method="next",this.next=Q.finallyLoc,W):this.complete(q)},complete:function(j,V){if(j.type==="throw")throw j.arg;return j.type==="break"||j.type==="continue"?this.next=j.arg:j.type==="return"?(this.rval=this.arg=j.arg,this.method="return",this.next="end"):j.type==="normal"&&V&&(this.next=V),W},finish:function(j){for(var V=this.tryEntries.length-1;V>=0;--V){var I=this.tryEntries[V];if(I.finallyLoc===j)return this.complete(I.completion,I.afterLoc),ee(I),W}},catch:function(j){for(var V=this.tryEntries.length-1;V>=0;--V){var I=this.tryEntries[V];if(I.tryLoc===j){var X=I.completion;if(X.type==="throw"){var Q=X.arg;ee(I)}return Q}}throw new Error("illegal catch attempt")},delegateYield:function(j,V,I){return this.delegate={iterator:ie(j),resultName:V,nextLoc:I},this.method==="next"&&(this.arg=n),W}},t})(typeof ri=="object"?ri.exports:{});try{regeneratorRuntime=ni}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=ni:Function("r","regeneratorRuntime = r")(ni)}});var Tr=ht(j0=>{"use strict";Object.defineProperty(j0,"__esModule",{value:!0});j0.Common=void 0;function wr(t,s,e,i,n,a,c){try{var p=t[a](c),E=p.value}catch(m){e(m);return}p.done?s(E):Promise.resolve(E).then(i,n)}function pc(t){return function(){var s=this,e=arguments;return new Promise(function(i,n){var a=t.apply(s,e);function c(E){wr(a,i,n,c,p,"next",E)}function p(E){wr(a,i,n,c,p,"throw",E)}c(void 0)})}}function n0(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n0=function(e){return typeof e}:n0=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n0(t)}function mc(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function Dr(t,s){for(var e=0;e<s.length;e++){var i=s[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ec(t,s,e){return s&&Dr(t.prototype,s),e&&Dr(t,e),t}function i0(t,s,e){return s in t?Object.defineProperty(t,s,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[s]=e,t}var Sr=(function(){function t(){mc(this,t),i0(this,"body",void 0),i0(this,"deployedMap",void 0),i0(this,"_isIOS",void 0),i0(this,"_canvas",void 0),this.body=document.body||document.querySelector("body"),this.deployedMap=new Map}return Ec(t,[{key:"isIOS",value:function(){if(typeof this._isIOS=="boolean")return this._isIOS;var e=function(){var n=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"];if(navigator.platform){for(;n.length;)if(navigator.platform===n.pop())return!0}return!1};return this._isIOS=e(),this._isIOS}},{key:"jsonToHtml",value:function(e){var i=document.createElement(e.type);for(var n in e.attrs)i.setAttribute(n,e.attrs[n]);for(var a in e.children){var c=null;e.children[a].type==="#text"?c=document.createTextNode(e.children[a].text):c=this.jsonToHtml(e.children[a]),(c&&c.tagName&&c.tagName.toLowerCase()!=="undefined"||c.nodeType===3)&&i.appendChild(c)}return i}},{key:"injectStyle",value:function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=document.createElement("style");return n.appendChild(document.createTextNode(e)),i.className&&n.classList.add(i.className),this.body.appendChild(n),n}},{key:"getFormattedDim",value:function(e){if(!e)return null;e=String(e);var i=function(a,c){return{size:a.substring(0,a.indexOf(c)),suffix:c}};if(e.indexOf("%")>-1)return i(e,"%");if(e.indexOf("px")>-1)return i(e,"px");if(e.indexOf("em")>-1)return i(e,"em");if(e.indexOf("rem")>-1)return i(e,"rem");if(e.indexOf("pt")>-1)return i(e,"pt");if(e==="auto")return i(e,"")}},{key:"extend",value:function(e,i){for(var n in e)n0(e[n])==="object"?i&&i[n]&&(i[n]instanceof Array?e[n]=i[n]:e[n]=this.extend(e[n],i[n])):n0(i)==="object"&&typeof i[n]<"u"&&(e[n]=i[n]);return e}},{key:"injectIconsFont",value:function(e,i){var n=this;if(e&&e.length){var a=document.getElementsByTagName("head")[0],c=0,p=!1,E=function(b){p=p||b.type==="",--c||i(p)};e.forEach(function(m){var b=document.createElement("link");b.type="text/css",b.rel="stylesheet",b.href=m,b.className="_access-font-icon-".concat(c++),b.onload=E,b.onerror=E,n.deployedObjects.set("."+b.className,!0),a.appendChild(b)})}}},{key:"getFixedFont",value:function(e){return this.isIOS()?e.replaceAll(" ","+"):e}},{key:"getFixedPseudoFont",value:function(e){return this.isIOS()?e.replaceAll("+"," "):e}},{key:"isFontLoaded",value:function(e,i){try{var n=function(){return i(document.fonts.check("1em ".concat(e.replaceAll("+"," "))))};document.fonts.ready.then(function(){n()},function(){n()})}catch{return i(!0)}}},{key:"warn",value:function(e){var i="Accessibility: ";console.warn?console.warn(i+e):console.log(i+e)}},{key:"deployedObjects",get:function(){var e=this;return{get:function(n){return e.deployedMap.get(n)},contains:function(n){return e.deployedMap.has(n)},set:function(n,a){e.deployedMap.set(n,a)},remove:function(n){e.deployedMap.delete(n)},getAll:function(){return e.deployedMap}}}},{key:"createScreenshot",value:function(e){var i=this;return new Promise(function(n,a){i._canvas||(i._canvas=document.createElement("canvas"));var c=new Image;
1i._canvas.style.position="fixed",i._canvas.style.top="0",i._canvas.style.left="0",i._canvas.style.opacity="0.05",i._canvas.style.transform="scale(0.05)",c.crossOrigin="anonymous",c.onload=pc(regeneratorRuntime.mark(function p(){var E,m;return regeneratorRuntime.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:document.body.appendChild(i._canvas),E=i._canvas.getContext("2d"),i._canvas.width=c.naturalWidth,i._canvas.height=c.naturalHeight,E.clearRect(0,0,i._canvas.width,i._canvas.height),E.drawImage(c,0,0),m=t.DEFAULT_PIXEL;try{m=i._canvas.toDataURL("image/png")}catch{}n(m),i._canvas.remove();case 10:case"end":return y.stop()}},p)})),c.onerror=function(){n(t.DEFAULT_PIXEL)},c.src=e})}},{key:"getFileExtension",value:function(e){return e.substring(e.lastIndexOf(".")+1,e.length)||e}}]),t})();j0.Common=Sr;i0(Sr,"DEFAULT_PIXEL","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAA1JREFUGFdj+P///38ACfsD/QVDRcoAAAAASUVORK5CYII=")});var ai=ht(r0=>{"use strict";Object.defineProperty(r0,"__esModule",{value:!0});r0.AccessibilityModulesType=void 0;var oi;r0.AccessibilityModulesType=oi;(function(t){t[t.increaseText=1]="increaseText",t[t.decreaseText=2]="decreaseText",t[t.increaseTextSpacing=3]="increaseTextSpacing",t[t.decreaseTextSpacing=4]="decreaseTextSpacing",t[t.increaseLineHeight=5]="increaseLineHeight",t[t.decreaseLineHeight=6]="decreaseLineHeight",t[t.invertColors=7]="invertColors",t[t.grayHues=8]="grayHues",t[t.bigCursor=9]="bigCursor",t[t.readingGuide=10]="readingGuide",t[t.underlineLinks=11]="underlineLinks",t[t.textToSpeech=12]="textToSpeech",t[t.speechToText=13]="speechToText",t[t.disableAnimations=14]="disableAnimations",t[t.iframeModals=15]="iframeModals",t[t.customFunctions=16]="customFunctions"})(oi||(r0.AccessibilityModulesType=oi={}))});var Vr=ht(R0=>{"use strict";Object.defineProperty(R0,"__esModule",{value:!0});R0.MenuInterface=void 0;function Pr(t,s,e,i,n,a,c){try{var p=t[a](c),E=p.value}catch(m){e(m);return}p.done?s(E):Promise.resolve(E).then(i,n)}function Ir(t){return function(){var s=this,e=arguments;return new Promise(function(i,n){var a=t.apply(s,e);function c(E){Pr(a,i,n,c,p,"next",E)}function p(E){Pr(a,i,n,c,p,"throw",E)}c(void 0)})}}function N0(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?N0=function(e){return typeof e}:N0=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N0(t)}function Cc(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function Mr(t,s){for(var e=0;e<s.length;e++){var i=s[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function hc(t,s,e){return s&&Mr(t.prototype,s),e&&Mr(t,e),t}function xi(t,s,e){return s in t?Object.defineProperty(t,s,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[s]=e,t}var fc=(function(){function t(s){Cc(this,t),xi(this,"_acc",void 0),xi(this,"readBind",void 0),xi(this,"_dialog",void 0),this._acc=s,this.readBind=this._acc.read.bind(this._acc)}return hc(t,[{key:"increaseText",value:function(){this._acc.alterTextSize(!0)}},{key:"decreaseText",value:function(){this._acc.alterTextSize(!1)}},{key:"increaseTextSpacing",value:function(){this._acc.alterTextSpace(!0)}},{key:"decreaseTextSpacing",value:function(){this._acc.alterTextSpace(!1)}},{key:"invertColors",value:function(e){if(typeof this._acc.stateValues.html.backgroundColor>"u"&&(this._acc.stateValues.html.backgroundColor=getComputedStyle(this._acc.html).backgroundColor),typeof this._acc.stateValues.html.color>"u"&&(this._acc.stateValues.html.color=getComputedStyle(this._acc.html).color),e){this._acc.resetIfDefined(this._acc.stateValues.html.backgroundColor,this._acc.html.style,"backgroundColor"),this._acc.resetIfDefined(this._acc.stateValues.html.color,this._acc.html.style,"color"),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="invertColors"]').classList.remove("active"),this._acc.stateValues.invertColors=!1,this._acc.sessionState.invertColors=this._acc.stateValues.invertColors,this._acc.onChange(!0),this._acc.html.style.filter="";return}this._acc.stateValues.invertColors&&this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Colors Set To Normal"),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="invertColors"]').classList.toggle("active"),this._acc.stateValues.invertColors=!this._acc.stateValues.invertColors,this._acc.sessionState.invertColors=this._acc.stateValues.invertColors,this._acc.onChange(!0),this._acc.stateValues.invertColors?(this._acc.stateValues.grayHues&&this._acc.menuInterface.grayHues(!0),this._acc.html.style.filter="invert(1)",this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Colors Inverted")):this._acc.html.style.filter=""}},{key:"grayHues",value:function(e){if(typeof this._acc.stateValues.html.filter>"u"&&(this._acc.stateValues.html.filter=getComputedStyle(this._acc.html).filter),typeof this._acc.stateValues.html.webkitFilter>"u"&&(this._acc.stateValues.html.webkitFilter=getComputedStyle(this._acc.html).webkitFilter),typeof this._acc.stateValues.html.mozFilter>"u"&&(this._acc.stateValues.html.mozFilter=getComputedStyle(this._acc.html).mozFilter),typeof this._acc.stateValues.html.msFilter>"u"&&(this._acc.stateValues.html.msFilter=getComputedStyle(this._acc.html).msFilter),e){this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="grayHues"]').classList.remove("active"),this._acc.stateValues.grayHues=!1,this._acc.sessionState.grayHues=this._acc.stateValues.grayHues,this._acc.onChange(!0),this._acc.resetIfDefined(this._acc.stateValues.html.filter,this._acc.html.style,"filter"),this._acc.resetIfDefined(this._acc.stateValues.html.webkitFilter,this._acc.html.style,"webkitFilter"),this._acc.resetIfDefined(this._acc.stateValues.html.mozFilter,this._acc.html.style,"mozFilter"),this._acc.resetIfDefined(this._acc.stateValues.html.msFilter,this._acc.html.style,"msFilter");return}this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="grayHues"]').classList.toggle("active"),this._acc.stateValues.grayHues=!this._acc.stateValues.grayHues,this._acc.sessionState.grayHues=this._acc.stateValues.grayHues,this._acc.onChange(!0),this._acc.stateValues.textToSpeech&&!this._acc.stateValues.grayHues&&this._acc.textToSpeech("Gray Hues Disabled.");var i;this._acc.stateValues.grayHues?(i="grayscale(1)",this._acc.stateValues.invertColors&&this.invertColors(!0),this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Gray Hues Enabled.")):i="",this._acc.html.style.webkitFilter=i,this._acc.html.style.mozFilter=i,this._acc.html.style.msFilter=i,this._acc.html.style.filter=i}},{key:"underlineLinks",value:function(e){var i=this,n="_access-underline",a=function(){var E=document.querySelector("."+n);E&&(E.parentElement.removeChild(E),i._acc.common.deployedObjects.remove("."+n))};if(e)return this._acc.stateValues.underlineLinks=!1,this._acc.sessionState.underlineLinks=this._acc.stateValues.underlineLinks,this._acc.onChange(!0),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="underlineLinks"]').classList.remove("active"),a();if(this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="underlineLinks"]').classList.toggle("active"),this._acc.stateValues.underlineLinks=!this._acc.stateValues.underlineLinks,this._acc.sessionState.underlineLinks=this._acc.stateValues.underlineLinks,this._acc.onChange(!0),this._acc.stateValues.underlineLinks){var c=`
2            body a {
3                text-decoration: underline !important;
4            }
5        `;this._acc.common.injectStyle(c,{className:n}),this._acc.common.deployedObjects.set("."+n,!0),this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Links UnderLined")}else this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Links UnderLine Removed"),a()}},{key:"bigCursor",value:function(e){if(e){this._acc.html.classList.remove("_access_cursor"),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="bigCursor"]').classList.remove("active"),this._acc.stateValues.bigCursor=!1,this._acc.sessionState.bigCursor=!1,this._acc.onChange(!0);return}this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="bigCursor"]').classList.toggle("active"),this._acc.stateValues.bigCursor=!this._acc.stateValues.bigCursor,this._acc.sessionState.bigCursor=this._acc.stateValues.bigCursor,this._acc.onChange(!0),this._acc.html.classList.toggle("_access_cursor"),this._acc.stateValues.textToSpeech&&this._acc.stateValues.bigCursor&&this._acc.textToSpeech("Big Cursor Enabled"),this._acc.stateValues.textToSpeech&&!this._acc.stateValues.bigCursor&&this._acc.textToSpeech("Big Cursor Disabled")}},{key:"readingGuide",value:function(e){if(e){document.getElementById("access_read_guide_bar")&&document.getElementById("access_read_guide_bar").remove(),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="readingGuide"]').classList.remove("active"),this._acc.stateValues.readingGuide=!1,this._acc.sessionState.readingGuide=this._acc.stateValues.readingGuide,this._acc.onChange(!0),document.body.removeEventListener("touchmove",this._acc.updateReadGuide,!1),document.body.removeEventListener("mousemove",this._acc.updateReadGuide,!1),this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Reading Guide Enabled");return}if(this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="readingGuide"]').classList.toggle("active"),this._acc.stateValues.readingGuide=!this._acc.stateValues.readingGuide,this._acc.sessionState.readingGuide=this._acc.stateValues.readingGuide,this._acc.onChange(!0),this._acc.stateValues.readingGuide){var i=document.createElement("div");i.id="access_read_guide_bar",i.classList.add("access_read_guide_bar"),document.body.append(i),document.body.addEventListener("touchmove",this._acc.updateReadGuide,!1),document.body.addEventListener("mousemove",this._acc.updateReadGuide,!1)}else document.getElementById("access_read_guide_bar")!==void 0&&document.getElementById("access_read_guide_bar").remove(),document.body.removeEventListener("touchmove",this._acc.updateReadGuide,!1),document.body.removeEventListener("mousemove",this._acc.updateReadGuide,!1),this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Reading Guide Disabled")}},{key:"textToSpeech",value:function(e){var i=this,n=document.querySelector('._access-menu [data-access-action="textToSpeech"]');if(n){var a=document.getElementsByClassName("screen-reader-wrapper-step-1"),
5c=document.getElementsByClassName("screen-reader-wrapper-step-2"),p=document.getElementsByClassName("screen-reader-wrapper-step-3");this._acc.onChange(!1);var E="_access-text-to-speech",m=function(){var O=document.querySelector("."+E);O&&(O.parentElement.removeChild(O),document.removeEventListener("click",i.readBind,!1),document.removeEventListener("keyup",i.readBind,!1),i._acc.common.deployedObjects.remove("."+E)),window.speechSynthesis&&window.speechSynthesis.cancel(),i._acc.isReading=!1};if(e)return n.classList.remove("active"),a[0].classList.remove("active"),c[0].classList.remove("active"),p[0].classList.remove("active"),this._acc.stateValues.textToSpeech=!1,window.speechSynthesis.cancel(),m();if(this._acc.stateValues.speechRate===1&&!n.classList.contains("active"))this._acc.stateValues.textToSpeech=!0,this._acc.textToSpeech("Screen Reader enabled. Reading Pace - Normal"),n.classList.add("active"),a[0].classList.add("active"),c[0].classList.add("active"),p[0].classList.add("active");else if(this._acc.stateValues.speechRate===1&&n.classList.contains("active"))this._acc.stateValues.speechRate=1.5,this._acc.textToSpeech("Reading Pace - Fast"),a[0].classList.remove("active");else if(this._acc.stateValues.speechRate===1.5&&n.classList.contains("active"))this._acc.stateValues.speechRate=.7,this._acc.textToSpeech("Reading Pace - Slow"),c[0].classList.remove("active");else{this._acc.stateValues.speechRate=1,this._acc.textToSpeech("Screen Reader - Disabled"),n.classList.remove("active"),p[0].classList.remove("active");var b=setInterval(function(){i._acc.isReading||(i._acc.stateValues.textToSpeech=!1,m(),clearTimeout(b))},500);return}var y=`
6            *:hover {
7                box-shadow: 2px 2px 2px rgba(180,180,180,0.7);
8            }
9        `;n.classList.contains("active")&&this._acc.stateValues.speechRate===1&&(this._acc.common.injectStyle(y,{className:E}),this._acc.common.deployedObjects.set("."+E,!0),document.addEventListener("click",this.readBind,!1),document.addEventListener("keyup",this.readBind,!1))}}},{key:"speechToText",value:function(e){var i=this,n=document.querySelector('._access-menu [data-access-action="speechToText"]');if(n){this._acc.onChange(!1);var a="_access-speech-to-text",c=function(){i._acc.recognition&&(i._acc.recognition.stop(),i._acc.body.classList.remove("_access-listening"));var y=document.querySelector("."+a);y&&(y.parentElement.removeChild(y),i._acc.common.deployedObjects.remove("."+a));for(var P=document.querySelectorAll("._access-mic"),O=0;O<P.length;O++)P[O].removeEventListener("focus",i._acc.listen.bind(i._acc),!1),P[O].classList.remove("_access-mic");n.classList.remove("active")};if(e)return this._acc.stateValues.speechToText=!1,c();if(this._acc.stateValues.speechToText=!this._acc.stateValues.speechToText,this._acc.stateValues.speechToText){var p=`
10                body:after {
11                    content: `.concat(this._acc.options.icon.useEmojis?'var(--_access-menu-item-icon-mic,"\u{1F3A4}")':'"mic"',`;
12                    `).concat(this._acc.options.icon.useEmojis?"":"font-family: var(--_access-menu-item-icon-font-family-after, ".concat(this._acc.fixedDefaultFont),`
13                    position: fixed;
14                    z-index: 1100;
15                    top: 1vw;
16                    right: 1vw;
17                    width: 36px;
18                    height: 36px;
19                    font-size: 30px;
20                    line-height: 36px;
21                    border-radius: 50%;
22                    background: rgba(255,255,255,0.7);
23                    display: flex;
24                    justify-content: center;
25                    aling-items: center;
26                }
27
28                body._access-listening:after {
29                    animation: _access-listening-animation 2s infinite ease;
30                }
31
32                @keyframes _access-listening-animation {
33                    0%  {background-color: transparent;}
34                    50%  {background-color: #EF9A9A;}
35                }
36            `);this._acc.common.injectStyle(p,{className:a}),this._acc.common.deployedObjects.set("."+a,!0);for(var E=document.querySelectorAll('input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, [contenteditable]'),m=0;m<E.length;m++)E[m].addEventListener("blur",function(){N0(i._acc.recognition)==="object"&&typeof i._acc.recognition.stop=="function"&&i._acc.recognition.stop()},!1),E[m].addEventListener("focus",this._acc.listen.bind(this._acc),!1),E[m].parentElement.classList.add("_access-mic");n.classList.add("active")}else c()}}},{key:"disableAnimations",value:function(e){var i=this,n="_access-disable-animations",a="data-autoplay-stopped",c=function(){i._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="disableAnimations"]').classList.remove("active"),i._acc.stateValues.disableAnimations=!1;var y=document.querySelector("."+n);y&&(y.parentElement.removeChild(y),i._acc.common.deployedObjects.remove("."+n));var P=document.querySelectorAll("[data-org-src]");P.forEach((function(){var R=Ir(regeneratorRuntime.mark(function U(W){var L;return regeneratorRuntime.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:L=W.src,W.setAttribute("src",W.getAttribute("data-org-src")),W.setAttribute("data-org-src",L);case 3:case"end":return _.stop()}},U)}));return function(U){return R.apply(this,arguments)}})());var O=document.querySelectorAll("video[".concat(a,"]"));O.forEach(function(R){R.setAttribute("autoplay",""),R.removeAttribute(a),R.play()})};if(e){c();return}if(this._acc.stateValues.disableAnimations=!this._acc.stateValues.disableAnimations,!this._acc.stateValues.disableAnimations){c();return}this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="disableAnimations"]').classList.add("active");var p=`
37                body * {
38                    animation-duration: 0.0ms !important;
39                    transition-duration: 0.0ms !important;
40                }
41        `;this._acc.common.injectStyle(p,{className:n}),this._acc.common.deployedObjects.set("."+n,!0);var E=document.querySelectorAll("img");
41E.forEach((function(){var b=Ir(regeneratorRuntime.mark(function y(P){var O,R;return regeneratorRuntime.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:if(O=i._acc.common.getFileExtension(P.src),!(O&&O.toLowerCase()==="gif")){W.next=9;break}if(R=P.getAttribute("data-org-src"),R){W.next=7;break}return W.next=6,i._acc.common.createScreenshot(P.src);case 6:R=W.sent;case 7:P.setAttribute("data-org-src",P.src),P.src=R;case 9:case"end":return W.stop()}},y)}));return function(y){return b.apply(this,arguments)}})());var m=document.querySelectorAll("video[autoplay]");m.forEach(function(b){b.setAttribute(a,""),b.removeAttribute("autoplay"),b.pause()})}},{key:"iframeModals",value:function(e,i){var n=this;i||(e=!0);var a=function(){n._dialog&&(n._dialog.classList.add("closing"),setTimeout(function(){n._dialog.classList.remove("closing"),n._dialog.close(),n._dialog.remove()},350),p()),i&&i.classList.remove("active")},c=function(){a()},p=function(){n._dialog.querySelector("button").removeEventListener("click",c,!1),n._dialog.removeEventListener("close",c)};e?a():(i.classList.add("active"),this._dialog||(this._dialog=document.createElement("dialog")),this._dialog.classList.add("_access"),this._dialog.innerHTML="",this._dialog.appendChild(this._acc.common.jsonToHtml({type:"div",children:[{type:"div",children:[{type:"button",attrs:{role:"button",class:this._acc.options.icon.useEmojis?"":this._acc.options.icon.fontClass,style:`position: absolute;
42                                    top: 5px;
43                                    cursor: pointer;
44                                    font-size: 24px !important;
45                                    font-weight: bold;
46                                    background: transparent;
47                                    border: none;
48                                    left: 5px;
49                                    color: #d63c3c;
50                                    padding: 0;`},children:[{type:"#text",text:this._acc.options.icon.useEmojis?"X":"close"}]}]},{type:"div",children:[{type:"iframe",attrs:{src:i.getAttribute("data-access-url"),style:"width: 50vw;height: 50vh;padding: 30px;"}}]}]})),document.body.appendChild(this._dialog),this._dialog.querySelector("button").addEventListener("click",c,!1),this._dialog.addEventListener("close",c),this._dialog.showModal())}},{key:"customFunctions",value:function(e,i){if(i){var n=this._acc.options.customFunctions[parseInt(i.getAttribute("data-access-custom-index"))];n.toggle&&i.classList.contains("active")&&(e=!0),e?(n.toggle&&i.classList.remove("active"),n.method(n,!1)):(n.toggle&&i.classList.add("active"),n.method(n,!0))}}},{key:"increaseLineHeight",value:function(){this._acc.alterLineHeight(!0)}},{key:"decreaseLineHeight",value:function(){this._acc.alterLineHeight(!1)}}]),t})();R0.MenuInterface=fc});var jr=ht(O0=>{"use strict";Object.defineProperty(O0,"__esModule",{value:!0});O0.Storage=void 0;function gc(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function Lr(t,s){for(var e=0;e<s.length;e++){var i=s[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function vc(t,s,e){return s&&Lr(t.prototype,s),e&&Lr(t,e),t}var Bc=(function(){function t(){gc(this,t)}return vc(t,[{key:"has",value:function(e){return window.localStorage.hasOwnProperty(e)}},{key:"set",value:function(e,i){window.localStorage.setItem(e,JSON.stringify(i))}},{key:"get",value:function(e){var i=window.localStorage.getItem(e);try{return JSON.parse(i)}catch{return i}}},{key:"clear",value:function(){window.localStorage.clear()}},{key:"remove",value:function(e){window.localStorage.removeItem(e)}},{key:"isSupported",value:function(){var e="_test";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch{return!1}}}]),t})();O0.Storage=Bc});var Hr=ht($t=>{"use strict";Object.defineProperty($t,"__esModule",{value:!0});$t.default=$t.Accessibility=void 0;kr();var Nr=Tr(),Rr=ai(),Ac=Vr(),bc=jr();function z0(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z0=function(e){return typeof e}:z0=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z0(t)}function si(t){return kc(t)||yc(t)||Fc(t)||_c()}function _c(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
51In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fc(t,s){if(t){if(typeof t=="string")return ci(t,s);var e=Object.prototype.toString.call(t).slice(8,-1);
51if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return ci(t,s)}}function yc(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function kc(t){if(Array.isArray(t))return ci(t)}function ci(t,s){(s==null||s>t.length)&&(s=t.length);for(var e=0,i=new Array(s);e<s;e++)i[e]=t[e];return i}function Or(t,s,e,i,n,a,c){try{var p=t[a](c),E=p.value}catch(m){e(m);return}p.done?s(E):Promise.resolve(E).then(i,n)}function zr(t){return function(){var s=this,e=arguments;return new Promise(function(i,n){var a=t.apply(s,e);function c(E){Or(a,i,n,c,p,"next",E)}function p(E){Or(a,i,n,c,p,"throw",E)}c(void 0)})}}function wc(t,s){if(!(t instanceof s))throw new TypeError("Cannot call a class as a function")}function Gr(t,s){for(var e=0;e<s.length;e++){var i=s[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Dc(t,s,e){return s&&Gr(t.prototype,s),e&&Gr(t,e),t}function Pe(t,s,e){return s in t?Object.defineProperty(t,s,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[s]=e,t}var qt=(function(){function t(){var s=this,e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};wc(this,t),Pe(this,"_isReading",void 0),Pe(this,"_common",void 0),Pe(this,"_storage",void 0),Pe(this,"_options",void 0),Pe(this,"_sessionState",void 0),Pe(this,"_htmlInitFS",void 0),Pe(this,"_body",void 0),Pe(this,"_html",void 0),Pe(this,"_icon",void 0),Pe(this,"_menu",void 0),Pe(this,"_htmlOrgFontSize",void 0),Pe(this,"_stateValues",void 0),Pe(this,"_recognition",void 0),Pe(this,"_speechToTextTarget",void 0),Pe(this,"_onKeyDownBind",void 0),Pe(this,"_fixedDefaultFont",void 0),Pe(this,"menuInterface",void 0),Pe(this,"options",void 0),this._common=new Nr.Common,this._storage=new bc.Storage,this._fixedDefaultFont=this._common.getFixedFont("Material Icons"),this._options=this.defaultOptions,this.options=this._common.extend(this._options,e),this.addModuleOrderIfNotDefined(),this.addDefaultOptions(e),this.disabledUnsupportedFeatures(),this._onKeyDownBind=this.onKeyDown.bind(this),this._sessionState={textSize:0,textSpace:0,lineHeight:0,invertColors:!1,grayHues:!1,underlineLinks:!1,bigCursor:!1,readingGuide:!1},this.options.icon.useEmojis?(this.fontFallback(),this.build()):this._common.injectIconsFont(this.options.icon.fontFaceSrc,function(i){s.build(),s.options.icon.fontFamilyValidation&&setTimeout(function(){s._common.isFontLoaded(s.options.icon.fontFamilyValidation,function(n){(!n||i)&&(console.log("!isLoaded || hasError",!n||i),s._common.warn("".concat(s.options.icon.fontFamilyValidation," font was not loaded, using emojis instead")),s.fontFallback(),s.destroy(),s.build())})})}),this.options.modules.speechToText&&window.addEventListener("beforeunload",function(){s._isReading&&(window.speechSynthesis.cancel(),s._isReading=!1)})}return Dc(t,[{key:"stateValues",get:function(){return this._stateValues},set:function(e){this._stateValues=e}},{key:"html",get:function(){return this._html}},{key:"body",get:function(){return this._body}},{key:"sessionState",get:function(){return this._sessionState},set:function(e){this._sessionState=e}},{key:"common",get:function(){return this._common}},{key:"recognition",get:function(){return this._recognition}},{key:"isReading",get:function(){return this._isReading},set:function(e){this._isReading=e}},{key:"fixedDefaultFont",get:function(){return this._fixedDefaultFont}},{key:"defaultOptions",get:function(){var e={icon:{img:"accessibility",fontFaceSrc:["https://fonts.googleapis.com/icon?family=Material+Icons"],fontClass:"material-icons",useEmojis:!1,closeIcon:"close",resetIcon:"refresh"},hotkeys:{enabled:!1,helpTitles:!0,keys:{toggleMenu:["ctrlKey","altKey",65],invertColors:["ctrlKey","altKey",73],grayHues:["ctrlKey","altKey",71],underlineLinks:["ctrlKey","altKey",85],bigCursor:["ctrlKey","altKey",67],readingGuide:["ctrlKey","altKey",82],textToSpeech:["ctrlKey","altKey",84],speechToText:["ctrlKey","altKey",83],disableAnimations:["ctrlKey","altKey",81]}}
51,guide:{cBorder:"#20ff69",cBackground:"#000000",height:"12px"},suppressCssInjection:!1,suppressDomInjection:!1,labels:{resetTitle:"Reset",closeTitle:"Close",menuTitle:"Accessibility Options",increaseText:"increase text size",decreaseText:"decrease text size",increaseTextSpacing:"increase text spacing",decreaseTextSpacing:"decrease text spacing",invertColors:"invert colors",grayHues:"gray hues",bigCursor:"big cursor",readingGuide:"reading guide",underlineLinks:"underline links",textToSpeech:"text to speech",speechToText:"speech to text",disableAnimations:"disable animations",increaseLineHeight:"increase line height",decreaseLineHeight:"decrease line height",hotkeyPrefix:"Hotkey: "},textPixelMode:!1,textEmlMode:!0,textSizeFactor:12.5,animations:{buttons:!0},modules:{increaseText:!0,decreaseText:!0,increaseTextSpacing:!0,decreaseTextSpacing:!0,increaseLineHeight:!0,decreaseLineHeight:!0,invertColors:!0,grayHues:!0,bigCursor:!0,readingGuide:!0,underlineLinks:!0,textToSpeech:!0,speechToText:!0,disableAnimations:!0,iframeModals:!0,customFunctions:!0},modulesOrder:[],session:{persistent:!0},iframeModals:[],customFunctions:[],statement:{url:""},feedback:{url:""},language:{textToSpeechLang:"",speechToTextLang:""}},i=Object.keys(Rr.AccessibilityModulesType);return i.forEach(function(n,a){var c=parseInt(n);isNaN(c)||e.modulesOrder.push({type:c,order:c})}),e}},{key:"initFontSize",value:function(){if(!this._htmlInitFS){var e=this._common.getFormattedDim(getComputedStyle(this._html).fontSize),i=this._common.getFormattedDim(getComputedStyle(this._body).fontSize);this._html.style.fontSize=e.size/16*100+"%",this._htmlOrgFontSize=this._html.style.fontSize,this._body.style.fontSize=i.size/e.size+"em"}}},{key:"fontFallback",value:function(){this.options.icon.useEmojis=!0,this.options.icon.img="\u267F",this.options.icon.fontClass=""}},{key:"addDefaultOptions",value:function(e){var i,n,a;(i=e.icon)!==null&&i!==void 0&&i.closeIconElem&&(this.options.icon.closeIconElem=e.icon.closeIconElem),(n=e.icon)!==null&&n!==void 0&&n.resetIconElem&&(this.options.icon.resetIconElem=e.icon.resetIconElem),(a=e.icon)!==null&&a!==void 0&&a.imgElem&&(this.options.icon.imgElem=e.icon.imgElem),this.options.icon.closeIconElem||(this.options.icon.closeIconElem={type:"#text",text:"".concat(this.options.icon.useEmojis?"X":this.options.icon.closeIcon)}),this.options.icon.resetIconElem||(this.options.icon.resetIconElem={type:"#text",text:"".concat(this.options.icon.useEmojis?"\u2672":this.options.icon.resetIcon)}),this.options.icon.imgElem||(this.options.icon.imgElem={type:"#text",text:this.options.icon.img})}},{key:"addModuleOrderIfNotDefined",value:function(){var e=this;this.defaultOptions.modulesOrder.forEach(function(i){e.options.modulesOrder.find(function(n){return n.type===i.type})||e.options.modulesOrder.push(i)})}},{key:"disabledUnsupportedFeatures",value:function(){(!("webkitSpeechRecognition"in window)||location.protocol!=="https:")&&(this._common.warn("speech to text isn't supported in this browser or in http protocol (https required)"),this.options.modules.speechToText=!1);var e=window;(!e.SpeechSynthesisUtterance||!e.speechSynthesis)&&(this._common.warn("text to speech isn't supported in this browser"),this.options.modules.textToSpeech=!1)}},{key:"injectCss",value:function(e){var i="7px",n="5px",a,c=`
52        html._access_cursor * {
53            cursor: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyOS4xODhweCIgaGVpZ2h0PSI0My42MjVweCIgdmlld0JveD0iMCAwIDI5LjE4OCA0My42MjUiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI5LjE4OCA0My42MjUiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwb2x5Z29uIGZpbGw9IiNGRkZGRkYiIHN0cm9rZT0iI0Q5REFEOSIgc3Ryb2tlLXdpZHRoPSIxLjE0MDYiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgcG9pbnRzPSIyLjgsNC41NDkgMjYuODQ3LDE5LjkwMiAxNi45NjQsMjIuNzAxIDI0LjIzOSwzNy43NDkgMTguMjc4LDQyLjAxNyA5Ljc0MSwzMC43MjQgMS4xMzgsMzUuODA5ICIvPjxnPjxnPjxnPjxwYXRoIGZpbGw9IiMyMTI2MjciIGQ9Ik0yOS4xNzUsMjEuMTU1YzAuMDcxLTAuNjEzLTAuMTY1LTEuMjUzLTAuNjM1LTEuNTczTDIuMTY1LDAuMjU4Yy0wLjQyNC0wLjMyLTAuOTg4LTAuMzQ2LTEuNDM1LTAuMDUzQzAuMjgyLDAuNDk3LDAsMS4wMywwLDEuNjE3djM0LjE3MWMwLDAuNjEzLDAuMzA2LDEuMTQ2LDAuNzc2LDEuNDM5YzAuNDcxLDAuMjY3LDEuMDU5LDAuMjEzLDEuNDgyLTAuMTZsNy40ODItNi4zNDRsNi44NDcsMTIuMTU1YzAuMjU5LDAuNDgsMC43MjksMC43NDYsMS4yLDAuNzQ2YzAuMjM1LDAsMC40OTQtMC4wOCwwLjcwNi0wLjIxM2w2Ljk4OC00LjU4NWMwLjMyOS0wLjIxMywwLjU2NS0wLjU4NiwwLjY1OS0xLjAxM2MwLjA5NC0wLjQyNiwwLjAyNC0wLjg4LTAuMTg4LTEuMjI2bC02LjM3Ni0xMS4zODJsOC42MTEtMi43NDVDMjguNzA1LDIyLjI3NCwyOS4xMDUsMjEuNzY4LDI5LjE3NSwyMS4xNTV6IE0xNi45NjQsMjIuNzAxYy0wLjQyNCwwLjEzMy0wLjc3NiwwLjUwNi0wLjk0MSwwLjk2Yy0wLjE2NSwwLjQ4LTAuMTE4LDEuMDEzLDAuMTE4LDEuNDM5bDYuNTg4LDExLjc4MWwtNC41NDEsMi45ODVsLTYuODk0LTEyLjMxNWMtMC4yMTItMC4zNzMtMC41NDEtMC42NC0wLjk0MS0wLjcyYy0wLjA5NC0wLjAyNy0wLjE2NS0wLjAyNy0wLjI1OS0wLjAyN2MtMC4zMDYsMC0wLjU4OCwwLjEwNy0wLjg0NywwLjMyTDIuOCwzMi41OVY0LjU0OWwyMS41OTksMTUuODA2TDE2Ljk2NCwyMi43MDF6Ii8+PC9nPjwvZz48L2c+PC9nPjwvc3ZnPg==),auto!important;
54        }
55        @keyframes _access-dialog-backdrop {
56            0% {
57                background: var(--_access-menu-dialog-backdrop-background-start, rgba(0, 0, 0, 0.1))
58            }
59            100% {
60                background: var(--_access-menu-dialog-backdrop-background-end, rgba(0, 0, 0, 0.5))
61            }
62        }
63        dialog._access::backdrop, dialog._access {
64            transition-duration: var(--_access-menu-dialog-backdrop-transition-duration, 0.35s);
65            transition-timing-function: var(--_access-menu-dialog-backdrop-transition-timing-function, ease-in-out);
66        }
67        dialog._access:modal {
68            border-color: transparent;
69            border-width: 0;
70            padding: 0;
71        }
72        dialog._access[open]::backdrop {
73            background: var(--_access-menu-dialog-backdrop-background-end, rgba(0, 0, 0, 0.5));
74            animation: _access-dialog-backdrop var(--_access-menu-dialog-backdrop-transition-duration, 0.35s) ease-in-out;
75        }
76        dialog._access.closing[open]::backdrop {
77            background: var(--_access-menu-dialog-backdrop-background-start, rgba(0, 0, 0, 0.1));
78        }
79        dialog._access.closing[open] {
80            opacity: 0;
81        }
82        .screen-reader-wrapper {
83            margin: 0;
84            position: absolute;
85            bottom: -4px;
86            width: calc(100% - 2px);
87            left: 1px;
88        }
89        .screen-reader-wrapper-step-1, .screen-reader-wrapper-step-2,.screen-reader-wrapper-step-3 {
90            float: left;
91            background: var(--_access-menu-background-color, #fff);
92            width: 33.33%;
93            height: 3px;
94            border-radius: 10px;
95        }
96        .screen-reader-wrapper-step-1.active, .screen-reader-wrapper-step-2.active,.screen-reader-wrapper-step-3.active {
97            background: var(--_access-menu-item-button-background, #f9f9f9);
98        }
99        .access_read_guide_bar {
100            box-sizing: border-box;
101            background: var(--_access-menu-read-guide-bg, `.concat(this.options.guide.cBackgroun
101d,`);
102            width: 100%!important;
103            min-width: 100%!important;
104            position: fixed!important;
105            height: var(--_access-menu-read-guide-height, `).concat(this.options.guide.height,`) !important;
106            border: var(--_access-menu-read-guide-border, solid 3px `).concat(this.options.guide.cBorder,`);
107            border-radius: 5px;
108            top: 15px;
109            z-index: 2147483647;
110        }`);e?a=`
111            ._access-scrollbar::-webkit-scrollbar-track, .mat-autocomplete-panel::-webkit-scrollbar-track, .mat-tab-body-content::-webkit-scrollbar-track, .mat-select-panel:not([class*='mat-elevation-z'])::-webkit-scrollbar-track, .mat-menu-panel::-webkit-scrollbar-track {
112                -webkit-box-shadow: var(--_access-scrollbar-track-box-shadow, inset 0 0 6px rgba(0,0,0,0.3));
113                background-color: var(--_access-scrollbar-track-background-color, #F5F5F5);
114            }
115            ._access-scrollbar::-webkit-scrollbar, .mat-autocomplete-panel::-webkit-scrollbar, .mat-tab-body-content::-webkit-scrollbar, .mat-select-panel:not([class*='mat-elevation-z'])::-webkit-scrollbar, .mat-menu-panel::-webkit-scrollbar {
116                width: var(--_access-scrollbar-width, 6px);
117                background-color: var(--_access-scrollbar-background-color, #F5F5F5);
118            }
119            ._access-scrollbar::-webkit-scrollbar-thumb, .mat-autocomplete-panel::-webkit-scrollbar-thumb, .mat-tab-body-content::-webkit-scrollbar-thumb, .mat-select-panel:not([class*='mat-elevation-z'])::-webkit-scrollbar-thumb, .mat-menu-panel::-webkit-scrollbar-thumb {
120                background-color: var(--_access-scrollbar-thumb-background-color, #999999);
121            }
122            ._access-icon {
123                position: var(--_access-icon-position, fixed);
124                width: var(--_access-icon-width, 50px);
125                height: var(--_access-icon-height, 50px);
126                bottom: var(--_access-icon-bottom, 50px);
127                top: var(--_access-icon-top, unset);
128                left: var(--_access-icon-left, unset);
129                right: var(--_access-icon-right, 10px);
130                z-index: var(--_access-icon-z-index, 9999);
131                font: var(--_access-icon-font, 40px / 45px "Material Icons");
132                background: var(--_access-icon-bg, #4054b2);
133                color: var(--_access-icon-color, #fff);
134                background-repeat: no-repeat;
135                background-size: contain;
136                cursor: pointer;
137                opacity: 0;
138                transition-duration: .35s;
139                -moz-user-select: none;
140                -webkit-user-select: none;
141                -ms-user-select: none;
142                user-select: none;
143                `.concat(this.options.icon.useEmojis?"":"box-shadow: 1px 1px 5px rgba(0,0,0,.5);",`
144                transform: `).concat(this.options.icon.useEmojis?"skewX(14deg)":"scale(1)",`;
145                border-radius: var(--_access-icon-border-radius);
146                border: var(--_access-icon-border);
147                text-align: var(--_access-icon-text-align, center);
148            }
149            ._access-icon:hover {
150                transform: var(--_access-icon-transform-hover, scale(1.1));
151                vertical-align: var(--_access-icon-vertical-align-hover);
152            }
153            ._access-menu {
154                -moz-user-select: none;
155                -webkit-user-select: none;
156                -ms-user-select: none;
157                user-select: none;
158                position: fixed;
159                width: var(--_access-menu-width, `).concat(t.MENU_WIDTH,`);
160                height: var(--_access-menu-height, auto);
161                transition-duration: var(--_access-menu-transition-duration, .35s);
162                z-index: var(--_access-menu-z-index, 99991);
163                opacity: 1;
164                background-color: var(--_access-menu-background-color, #fff);
165                color: var(--_access-menu-color, #000);
166                border-radius: var(--_access-menu-border-radius, 3px);
167                border: var(--_access-menu-border, solid 1px #f1f0f1);
168                font-family: var(--_access-menu-font-family, RobotoDraft, Roboto, sans-serif, Arial);
169                min-width: var(--_access-menu-min-width, 300px);
170                box-shadow: var(--_access-menu-box-shadow, 0px 0px 1px #aaa);
171                max-height: calc(100vh - 80px);
172                `).concat(getComputedStyle(this._body).direction==="rtl"?"text-indent: -5px":"",`
173                top: var(--_access-menu-top, unset);
174                left: var(--_access-menu-left, unset);
175                bottom: var(--_access-menu-bottom, 0);
176                right: var(--_access-menu-right, 0);
177            }
178            ._access-menu.close {
179                z-index: -1;
180                width: 0;
181                opacity: 0;
182                background-color: transparent;
183                left: calc(-1 * var(--_access-menu-left), unset);
184                right: calc(-1 * var(--_access-menu-width, `).concat(t.MENU_WIDTH,`));
185            }
186            ._access-menu ._text-center {
187                font-size: var(--_access-menu-header-font-size, 22px);
188                font-weight: var(--_access-menu-header-font-weight, nornal);
189                margin: var(--_access-menu-header-margin, 20px 0 10px);
190                padding: 0;
191                color: var(--_access-menu-header-color, rgba(0,0,0,.87));
192                letter-spacing: var(--_access-menu-header-letter-spacing, initial);
193                word-spacing: var(--_access-menu-header-word-spacing, initial);
194                text-align: var(--_access-menu-header-text-align, center);
195            }
196            ._access-menu ._menu-close-btn {
197                left: 5px;
198                color: #d63c3c;
199                transition: .3s ease;
200                transform: rotate(0deg);
201                font-style: normal !important;
202            }
203            ._access-menu ._menu-reset-btn:hover,._access-menu ._menu-close-btn:hover {
204                transform: var(--_access-menu-header-btn-hover-rotate, rotate(180deg));
205            }
206            ._access-menu ._menu-reset-btn {
207                right: 5px;
208                color: #4054b2;
209                transition: .3s ease;
210                transform: rotate(0deg);
211                font-style: normal !important;
212            }
213            ._access-menu ._menu-btn {
214                position: absolute;
215                top: 5px;
216                cursor: pointer;
217                font-size: 24px !important;
218                font-weight: bold;
219                background: transparent;
220                border: none;
221            }
222            ._access-menu ul {
223                padding: 0 0 5px;
224                position: relative;
225                font-size: var(--_access-menu-font-size, 18px);
226                margin: 0;
227                overflow: auto;
228                max-height: var(--_access-menu-max-height, calc(100vh - 145px));
229                display: flex;
230                flex-flow: column;
231                gap: 5px;
232            }
233            `).concat(c,`
234            ._access-menu ul li {
235                position: relative;
236                list-style-type: none;
237                -ms-user-select: none;
238                -moz-user-select: none;
239                -webkit-user-select: none;
240                user-select: none;
241                margin: 0 5px 0 8px;
242                font: { size: 18, units: 'px' }
243                font-size: var(--_access-menu-item-font-size, 18px) !important;
244                line-height: var(--_access-menu-item-line-height, 18px) !important;
245                color: var(--_access-menu-item-color, rgba(0,0,0,.6));
246                letter-spacing: var(--_access-menu-item-letter-spacing, initial);
247                word-spacing: var(--_access-menu-item-word-spacing, initial);
248                width: calc(100% - 17px);
249            }
250            ._access-menu ul li button {
251                background: var(--_access-menu-item-button-background, #f9f9f9);
252                padding: var(--_access-menu-item-button-padding, 10px 0);
253                width: 100%;
254                text-indent: var(--_access-menu-item-button-text-indent, 35px);
255                text-align: start;
256                position: relative;
257                transition-duration: var(--_access-menu-item-button-transition-duration, .35s);
258                transition-timing-function: var(--_access-menu-item-button-transition-timing-function, ease-in-out);
259                border: var(--_access-menu-item-button-border, solid 1px #f1f0f1);
260                border-radius: var(--_access-menu-item-button-border-radius, 4px);
261                cursor: pointer;
262            }
263            ._access-menu ul li.position {
264                display: inline-block;
265                width: auto;
266            }
267            ._access-menu ul.before-collapse li button {
268                opacity: var(--_access-menu-item-button-before-collapse-opacity, 0.05);
269            }
270            ._access-menu ul li button.active, ._access-menu ul li button.active:hover {
271                background-color: var(--_access-menu-item-button-active-background-color, #000);
272            }
273            ._access-menu div.active {
274                color: var(--_access-menu-div-active-color, #fff);
275                background-color: var(--_access-menu-div-active-background-color, #000);
276            }
277            ._access-menu ul li button.active, ._access-menu ul li button.active:hover, ._access-menu ul li button.active:before, ._access-menu ul li button.active:hover:before {
278                color: var(--_access-menu-item-button-active-color, #fff);
279            }
280            ._access-menu ul li button:hover {
281                color: var(--_access-menu-item-button-hover-color, rgba(0,0,0,.8));
282                background-color: var(--_access-menu-item-button-hover-background-color, #eaeaea);
283            }
284            ._access-menu ul li.not-supported {
285                display: none;
286            }
287            ._access-menu ul li button:before {
288                content: ' ';
289                font-family: var(--_access-menu-button-font-family-before, `).concat(this._fixedDefaultFont,`);
290                text-rendering: optimizeLegibility;
291                font-feature-settings: "liga" 1;
292                font-style: normal;
293                text-transform: none;
294                line-height: `).concat(this.options.icon.useEmojis?"1.1":"1",`;
295                font-size: `).concat(this.options.icon.useEmojis?"20px":"24px",` !important;
296                width: 30px;
297                height: 30px;
298                display: inline-block;
299                overflow: hidden;
300                -webkit-font-smoothing: antialiased;
301                top: 7px;
302                left: 5px;
303                position: absolute;
304                color: var(--_access-menu-item-icon-color, rgba(0,0,0,.6));
305                direction: ltr;
306                text-indent: 0;
307                transition-duration: .35s;
308                transition-timing-function: ease-in-out;
309            }
310            ._access-menu ul li button svg path {
311                fill: var(--_access-menu-item-icon-color, rgba(0,0,0,.6));
312                transition-duration: .35s;
313                transition-timing-function: ease-in-out;
314            }
315            ._access-menu ul li button:hover svg path {
316                fill: var(--_access-menu-item-hover-icon-color, rgba(0,0,0,.8));
317            }
318            ._access-menu ul li button.active svg path {
319                fill: var(--_access-menu-item-active-icon-color, #fff);
320            }
321            ._access-menu ul li:hover button:before {
322                color: var(--_access-menu-item-hover-icon-color, rgba(0,0,0,.8));
323            }
324            ._access-menu ul li button.active button:before {
325                color: var(--_access-menu-item-active-icon-color, #fff);
326            }
327            ._access-menu ul li button[data-access-action="increaseText"]:before {
328                content: var(--_access-menu-item-icon-increase-text, `).concat(this.options.icon.useEmojis?'"\u{1F53C}"':'"zoom_in"',`);
329                transform: var(--_access-menu-item-icon-increase-text-transform, unset);
330                top: var(--_access-menu-item-icon-increase-text-top, `).concat(i,`);
331                left: var(--_access-menu-item-icon-increase-text-left, `).concat(n,`);
332            }
333            ._access-menu ul li button[data-access-action="decreaseText"]:before {
334                content: var(--_access-menu-item-icon-decrease-text, `).concat(this.options.icon.useEmojis?'"\u{1F53D}"':'"zoom_out"',`);
335                transform: var(--_access-menu-item-icon-decrease-text-spacing-transform, unset);
336                top: var(--_access-menu-item-icon-decrease-text-spacing-top, `).concat(i,`);
337                left: var(--_access-menu-item-icon-decrease-text-spacing-left, `).concat(n,`);
338            }
339            ._access-menu ul li button[data-access-action="increaseTextSpacing"]:before {
340                content: var(--_access-menu-item-icon-increase-text-spacing, `).concat(this.options.icon.useEmojis?'"\u{1F53C}"':'"unfold_more"',`);
341                transform: var(--_access-menu-item-icon-increase-text-spacing-transform, rotate(90deg) translate(-7px, 2px)
341);
342                top: var(--_access-menu-item-icon-increase-text-spacing-top, 14px);
343                left: var(--_access-menu-item-icon-increase-text-spacing-left, 0);
344            }
345            ._access-menu ul li button[data-access-action="decreaseTextSpacing"]:before {
346                content: var(--_access-menu-item-icon-decrease-text-spacing, `).concat(this.options.icon.useEmojis?'"\u{1F53D}"':'"unfold_less"',`);
347                transform: var(--_access-menu-item-icon-decrease-text-spacing-transform, rotate(90deg) translate(-7px, 2px));
348                top: var(--_access-menu-item-icon-decrease-text-spacing-top, 14px);
349                left: var(--_access-menu-item-icon-decrease-text-spacing-left, 0);
350            }
351            ._access-menu ul li button[data-access-action="invertColors"]:before {
352                content: var(--_access-menu-item-icon-invert-colors, `).concat(this.options.icon.useEmojis?'"\u{1F386}"':'"invert_colors"',`);
353                transform: var(--_access-menu-item-icon-invert-colors-transform, unset);
354                top: var(--_access-menu-item-icon-invert-colors-top, `).concat(i,`);
355                left: var(--_access-menu-item-icon-invert-colors-left, `).concat(n,`);
356            }
357            ._access-menu ul li button[data-access-action="grayHues"]:before {
358                content: var(--_access-menu-item-icon-gray-hues, `).concat(this.options.icon.useEmojis?'"\u{1F32B}\uFE0F"':'"format_color_reset"',`);
359                transform: var(--_access-menu-item-icon-gray-hues-transform, unset);
360                top: var(--_access-menu-item-icon-gray-hues-top, `).concat(i,`);
361                left: var(--_access-menu-item-icon-gray-hues-left, `).concat(n,`);
362            }
363            ._access-menu ul li button[data-access-action="underlineLinks"]:before {
364                content: var(--_access-menu-item-icon-underline-links, `).concat(this.options.icon.useEmojis?'"\u{1F517}"':'"format_underlined"',`);
365                transform: var(--_access-menu-item-icon-underline-links-transform, unset);
366                top: var(--_access-menu-item-icon-underline-links-top, `).concat(i,`);
367                left: var(--_access-menu-item-icon-underline-links-left, `).concat(n,`);
368            }
369            ._access-menu ul li button[data-access-action="bigCursor"]:before {
370                /*content: 'touch_app';*/
371                content: var(--_access-menu-item-icon-big-cursor, inherit);
372                transform: var(--_access-menu-item-icon-big-cursor-transform, unset);
373                top: var(--_access-menu-item-icon-big-cursor-top, `).concat(i,`);
374                left: var(--_access-menu-item-icon-big-cursor-left, `).concat(n,`);
375            }
376            ._access-menu ul li button[data-access-action="readingGuide"]:before {
377                content: var(--_access-menu-item-icon-reading-guide, `).concat(this.options.icon.useEmojis?'"\u2194\uFE0F"':'"border_horizontal"',`);
378                transform: var(--_access-menu-item-icon-reading-guide-transform, unset);
379                top: var(--_access-menu-item-icon-reading-guide-top, `).concat(i,`);
380                left: var(--_access-menu-item-icon-reading-guide-left, `).concat(n,`);
381            }
382            ._access-menu ul li button[data-access-action="textToSpeech"]:before {
383                content: var(--_access-menu-item-icon-text-to-speech, `).concat(this.options.icon.useEmojis?'"\u23FA\uFE0F"':'"record_voice_over"',`);
384                transform: var(--_access-menu-item-icon-text-to-speech-transform, unset);
385                top: var(--_access-menu-item-icon-text-to-speech-top, `).concat(i,`);
386                left: var(--_access-menu-item-icon-text-to-speech-left, `).concat(n,`);
387            }
388            ._access-menu ul li button[data-access-action="speechToText"]:before {
389                content: var(--_access-menu-item-icon-speech-to-text, `).concat(this.options.icon.useEmojis?'"\u{1F3A4}"':'"mic"',`);
390                transform: var(--_access-menu-item-icon-speech-to-text-transform, unset);
391                top: var(--_access-menu-item-icon-speech-to-text-top, `).concat(i,`);
392                left: var(--_access-menu-item-icon-speech-to-text-left, `).concat(n,`);
393            }
394            ._access-menu ul li button[data-access-action="disableAnimations"]:before {
395                content: var(--_access-menu-item-icon-disable-animations, `).concat(this.options.icon.useEmojis?'"\u{1F3C3}\u200D\u2642\uFE0F"':'"animation"',`);
396                transform: var(--_access-menu-item-icon-disable-animations-transform, unset);
397                top: var(--_access-menu-item-icon-disable-animations-top, `).concat(i,`);
398                left: var(--_access-menu-item-icon-disable-animations-left, `).concat(n,`);
399            }
400            ._access-menu ul li button[data-access-action="iframeModals"]:before {
401                content: var(--_access-menu-item-icon-iframe-modals, `).concat(this.options.icon.useEmojis?'"\u2696\uFE0F"':'"policy"',`);
402                transform: var(--_access-menu-item-icon-iframe-transform, unset);
403                top: var(--_access-menu-item-icon-iframe-top, `).concat(i,`);
404                left: var(--_access-menu-item-icon-iframe-left, `).concat(n,`);
405            }
406            ._access-menu ul li button[data-access-action="customFunctions"]:before {
407                content: var(--_access-menu-item-icon-custom-functions, `).concat(this.options.icon.useEmojis?'"\u2753"':'"psychology_alt"',`);
408                transform: var(--_access-menu-item-icon-custom-functions-transform, unset);
409                top: var(--_access-menu-item-icon-custom-functions-top, `).concat(i,`);
410                left: var(--_access-menu-item-icon-custom-functions-left, `).concat(n,`);
411            }
412            ._access-menu ul li button[data-access-action="increaseLineHeight"]:before {
413                content: var(--_access-menu-item-icon-increase-line-height, `).concat(this.options.icon.useEmojis?'"\u{1F53C}"':'"unfold_more"',`);
414                transform: var(--_access-menu-item-icon-increase-line-height-transform, unset);
415                top: var(--_access-menu-item-icon-increase-line-height-top, `).concat(i,`);
416                left: var(--_access-menu-item-icon-increase-line-height-left, `).concat(n,`);
417            }
418            ._access-menu ul li button[data-access-action="decreaseLineHeight"]:before {
419                content: var(--_access-menu-item-icon-decrease-line-height, `).concat(this.options.icon.useEmojis?'"\u{1F53D}"':'"unfold_less"',`);
420                transform: var(--_access-menu-item-icon-decrease-line-height-transform, unset);
421                top: var(--_access-menu-item-icon-decrease-line-height-top, `).concat(i,`);
422                left: var(--_access-menu-item-icon-decrease-line-height-left, `).concat(n,`);
423            }`):a=c;var p=t.CSS_CLASS_NAME;this._common.injectStyle(a,{className:p}),this._common.deployedObjects.set(".".concat(p),!1)}},{key:"removeCSS",value:function(){var e=document.querySelector(".".concat(t.CSS_CLASS_NAME));e&&e.remove()}},{key:"injectIcon",value:function(){var e="_access-icon ".concat(this.options.icon.fontClass," _access"),i=this._common.jsonToHtml({type:"i",attrs:{class:e,title:this.options.hotkeys.enabled?this.parseKeys(this.options.hotkeys.keys.toggleMenu):this.options.labels.menuTitle,tabIndex:0},children:[this.options.icon.imgElem]});return this._body.appendChild(i),this._common.deployedObjects.set("._access-icon",!1),i}},{key:"parseKeys",value:function(e){return this.options.hotkeys.enabled&&this.options.hotkeys.helpT
423itles?this.options.labels.hotkeyPrefix+e.map(function(i){return Number.isInteger(i)?String.fromCharCode(i).toLowerCase():i.replace("Key","")}).join("+"):""}},{key:"injectMenu",value:function(){var e=this,i={type:"div",attrs:{class:"_access-menu close _access"},children:[{type:"p",attrs:{class:"_text-center",role:"presentation"},children:[{type:"button",attrs:{class:"_menu-close-btn _menu-btn ".concat(this.options.icon.fontClass),style:"font-family: var(--_access-menu-close-btn-font-family, ".concat(this._fixedDefaultFont,")"),title:this.options.hotkeys.enabled?this.parseKeys(this.options.hotkeys.keys.toggleMenu):this.options.labels.closeTitle},children:[this.options.icon.closeIconElem]},{type:"#text",text:this.options.labels.menuTitle},{type:"button",attrs:{class:"_menu-reset-btn _menu-btn ".concat(this.options.icon.fontClass),style:"font-family: var(--_access-menu-reset-btn-font-family, ".concat(this._fixedDefaultFont,")"),title:this.options.labels.resetTitle},children:[this.options.icon.resetIconElem]}]},{type:"ul",attrs:{class:"before-collapse _access-scrollbar"},children:[{type:"li",children:[{type:"button",attrs:{"data-access-action":"increaseText"},children:[{type:"#text",text:this.options.labels.increaseText}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"decreaseText"},children:[{type:"#text",text:this.options.labels.decreaseText}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"increaseTextSpacing"},children:[{type:"#text",text:this.options.labels.increaseTextSpacing}
423]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"decreaseTextSpacing"},children:[{type:"#text",text:this.options.labels.decreaseTextSpacing}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"increaseLineHeight"},children:[{type:"#text",text:this.options.labels.increaseLineHeight}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"decreaseLineHeight"},children:[{type:"#text",text:this.options.labels.decreaseLineHeight}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"invertColors",title:this.parseKeys(this.options.hotkeys.keys.invertColors)},children:[{type:"#text",text:this.options.labels.invertColors}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"grayHues",title:this.parseKeys(this.options.hotkeys.keys.grayHues)},children:[{type:"#text",text:this.options.labels.grayHues}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"underlineLinks",title:this.parseKeys(this.options.hotkeys.keys.underlineLinks)},children:[{type:"#text",text:this.options.labels.underlineLinks}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"bigCursor",title:this.parseKeys(this.options.hotkeys.keys.bigCursor)},children:[{type:"div",attrs:{id:"iconBigCursor"}},{type:"#text",text:this.options.labels.bigCursor}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"readingGuide",title:this.parseKeys(this.options.hotkeys.keys.readingGuide)},children:[{type:"#text",text:this.options.labels.readingGuide}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"disableAnimations",title:this.parseKeys(this.options.hotkeys.keys.disableAnimations)},children:[{type:"#text",text:this.options.labels.disableAnimations}]}]}]}]};this.options.iframeModals&&this.options.iframeModals.forEach(function(p,E){var m={type:"li",children:[{type:"button",attrs:{"data-access-action":"iframeModals","data-access-url":p.iframeUrl},children:[{type:"#text",text:p.buttonText}]}]},b=null;if(p.icon&&!e.options.icon.useEmojis?b=p.icon:p.emoji&&e.options.icon.useEmojis&&(b=p.emoji),b){m.children[0].attrs["data-access-iframe-index"]=E;var y='._access-menu ul li button[data-access-action="iframeModals"][data-access-iframe-index="'.concat(E,`"]:before {
424                        content: "`).concat(b,`";
425                    }`),P="_data-access-iframe-index-"+E;e._common.injectStyle(y,{className:P}),e._common.deployedObjects.set("."+P,!1)}e.options.modules.textToSpeech?i.children[1].children.splice(i.children[1].children.length-2,0,m):i.children[1].children.push(m)}),this.options.customFunctions&&this.options.customFunctions.forEach(function(p,E){var m={type:"li",children:[{type:"button",attrs:{"data-access-action":"customFunctions","data-access-custom-id":p.id,"data-access-custom-index":E},children:[{type:"#text",text:p.buttonText}]}]},b=null;if(p.icon&&!e.options.icon.useEmojis?b=p.icon:p.emoji&&e.options.icon.useEmojis&&(b=p.emoji),b){var y='._access-menu ul li button[data-access-action="customFunctions"][data-access-custom-id="'.concat(p.id,`"]:before {
426                        content: "`).concat(b,`";
427                    }`),P="_data-access-custom-id-"+p.id;e._common.injectStyle(y,{className:P}),e._common.deployedObjects.set("."+P,!1)}e.options.modules.textToSpeech?i.children[1].children.splice(i.children[1].children.length-2,0,m):i.children[1].children.push(m)});var n=this._common.jsonToHtml(i);this._body.appendChild(n),setTimeout(function(){var p=document.getElementById("iconBigCursor");p&&(p.outerHTML=p.outerHTML+'<svg version="1.1" id="iconBigCursorSvg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="position: absolute;width: 19px;height: 19px;top: 9px; left: 9px;" xml:space="preserve"><path d="M 423.547 323.115 l -320 -320 c -3.051 -3.051 -7.637 -3.947 -11.627 -2.304 s -6.592 5.547 -6.592 9.856 V 480 c 0 4.501 2.837 8.533 7.083 10.048 c 4.224 1.536 8.981 0.192 11.84 -3.285 l 85.205 -104.128 l 56.853 123.179 c 1.792 3.883 5.653 6.187 9.685 6.187 c 1.408 0 2.837 -0.277 4.203 -0.875 l 74.667 -32 c 2.645 -1.131 4.736 -3.285 5.76 -5.973 c 1.024 -2.688 0.939 -5.675 -0.277 
427-8.299 l -57.024 -123.52 h 132.672 c 4.309 0 8.213 -2.603 9.856 -6.592 C 427.515 330.752 426.598 326.187 423.547 323.115 Z"/></svg>',document.getElementById("iconBigCursor").remove())},1),this._common.deployedObjects.set("._access-menu",!1);var a=document.querySelector("._access-menu ._menu-close-btn");["click","keyup"].forEach(function(p){a.addEventListener(p,function(E){var m=E||window.event;m.detail===0&&m.key!=="Enter"||e.toggleMenu()},!1)});var c=document.querySelector("._access-menu ._menu-reset-btn");return["click","keyup"].forEach(function(p){c.addEventListener(p,function(E){var m=E||window.event;m.detail===0&&m.key!=="Enter"||e.resetAll()},!1)}),n}},{key:"getVoices",value:function(){return new Promise(function(e){var i=window.speechSynthesis,n;n=setInterval(function(){i.getVoices().length!==0&&(e(i.getVoices()),clearInterval(n))},10)})}},{key:"injectTts",value:(function(){var s=zr(regeneratorRuntime.mark(function i(){var n,a,c,p,E,m;return regeneratorRuntime.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,this.getVoices();case 2:n=y.sent,a=!1,c=0;case 5:if(!(c<n.length)){y.next=12;break}if(n[c].lang!==this.options.language.textToSpeechLang){y.next=9;break}return a=!0,y.abrupt("break",12);case 9:c++,y.next=5;break;case 12:a&&(p=this.common.jsonToHtml({type:"li",children:[{type:"button",attrs:{"data-access-action":"textToSpeech",title:this.parseKeys(this.options.hotkeys.keys.textToSpeech)},children:[{type:"#text",text:this.options.labels.textToSpeech}]},{type:"div",attrs:{class:"screen-reader-wrapper"},children:[{type:"div",attrs:{class:"screen-reader-wrapper-step-1",tabIndex:"-1"}},{type:"div",attrs:{class:"screen-reader-wrapper-step-2",tabIndex:"-1"}},{type:"div",attrs:{class:"screen-reader-wrapper-step-3",tabIndex:"-1"}}]}]}),E=this.common.jsonToHtml({type:"li",children:[{type:"button",attrs:{"data-access-action":"speechToText",title:this.parseKeys(this.options.hotkeys.keys.speechToText)},children:[{type:"#text",text:this.options.labels.speechToText}]}]}),m=document.querySelector("._access-menu ul"),m.appendChild(E),m.a
427ppendChild(p));case 13:case"end":return y.stop()}},i,this)}));function e(){return s.apply(this,arguments)}return e})()},{key:"addListeners",value:function(){for(var e=this,i=document.querySelectorAll("._access-menu ul li"),n=document.getElementsByClassName("screen-reader-wrapper-step-1"),a=document.getElementsByClassName("screen-reader-wrapper-step-2"),c=document.getElementsByClassName("screen-reader-wrapper-step-3"),p=function(b){["click","keyup"].forEach(function(y){return i[b].addEventListener(y,function(P){var O=P||window.event;O.detail===0&&O.key!=="Enter"||e.invoke(O.target.getAttribute("data-access-action"),O.target)})})},E=0;E<i.length;E++)p(E);[].concat(si(Array.from(n)),si(Array.from(a)),si(Array.from(c))).forEach(function(m){return m.addEventListener("click",function(b){var y=b||window.event;e.invoke(y.target.parentElement.parentElement.getAttribute("data-access-action"),y.target)},!1)})}},{key:"sortModuleTypes",value:function(){this.options.modulesOrder.sort(function(e,i){return e.order-i.order})}},{key:"disableUnsupportedModulesAndSort",value:function(){var e=this;this.sortModuleTypes();var i=document.querySelector("._access-menu ul");this.options.modulesOrder.forEach(function(n){var a=n.type,c=Rr.AccessibilityModulesType[a],p=e.options.modules;p=p[c];var E=document.querySelector('button[data-access-action="'+c+'"]');E&&(E.parentElement.remove(),i.appendChild(E.parentElement),p||E.parentElement.classList.add("not-supported"))})}},{key:"resetAll",value:function(){this.menuInterface.textToSpeech(!0),this.menuInterface.speechToText(!0),this.menuInterface.disableAnimations(!0),this.menuInterface.underlineLinks(!0),this.menuInterface.grayHues(!0),this.menuInterface.invertColors(!0),this.menuInterface.bigCursor(!0),this.menuInterface.readingGuide(!0),this.resetTextSize(),this.resetTextSpace(),this.resetLineHeight()}},{key:"resetTextSize",value:function(){this.resetIfDefined(this._stateValues.body.fontSize,this._body.style,"fontSize"),typeof this._htmlOrgFontSize<"u"&&(this._html.style.fontSize=this._htmlOrgFontSize);for(var e=document.querySelectorAll("[data-init-font-size]"),i=0;i<e.length;i++)e[i].style.fontSize=e[i].getAttribute("data-init-font-size"),e[i].removeAttribute("data-init-font-size");this._sessionState.textSize=0,this.onChange(!0)}},{key:"resetLineHeight",value:function(){this.resetIfDefined(this._stateValues.body.lineHeight,this.body.style,"lineHeight");for(var e=document.querySelectorAll("[data-init-line-height]"),i=0;i<e.length;i++)e[i].style.lineHeight=e[i].getAttribute("data-init-line-height"),e[i].removeAttribute("data-init-line-height");this.sessionState.lineHeight=0,this.onChange(!0)}},{key:"resetTextSpace",value:function(){this.resetIfDefined(this._stateValues.body.wordSpacing,this._body.style,"wordSpacing"),this.resetIfDefined(this._stateValues.body.letterSpacing,this._body.style,"letterSpacing");for(var e=document.querySelectorAll("[data-init-word-spacing]"),i=document.querySelectorAll("[data-init-letter-spacing]"),n=0;n<e.length;n++)e[n].style.wordSpacing=e[n].getAttribute("data-init-word-spacing"),e[n].removeAttribute("data-init-word-spacing");for(var a=0;a<i.length;a++)e[a].style.letterSpacing=e[a].getAttribute("data-init-letter-spacing"),e[a].removeAttribute("data-init-letter-spacing");this._sessionState.textSpace=0,this.onChange(!0)}},{key:"alterTextSize",value:function(e){this._sessionState.textSize+=e?1:-1,this.onChange(!0);var i=this.options.textSizeFactor;if(e||(i*=-1),this.options.textPixelMode){for(var n=document.querySelectorAll("*:not(._access)"),a=0;a<n.length;a++){var c=getComputedStyle(n[a]).fontSize;c&&c.indexOf("px")>-1&&(n[a].getAttribute("data-init-font-size")||n[a].setAttribute("data-init-font-size",c))}for(var p=0;p<n.length;p++){var E=getComputedStyle(n[p]).fontSize;E&&E.indexOf("px")>-1&&(E=parseInt(E.replace("px",""))+i,n[p].style.fontSize=E+"px"),this._stateValues.textToSpeech&&this.textToSpeech("Text Size ".concat(e?"Increased":"Decreased"))}var m=getComputedStyle(this._body).fontSize;m&&m.indexOf("px")>-1&&(this._body.getAttribute("data-init-font-size")||this._body.setAttribute("data-init-font-size",m),m=parseInt(m.replace("px",""))+i,this._body.style.fontSize=m+"px")}else if(this.options.textEmlMode){var b=this._html.style.fontSize;b.indexOf("%")?(b=parseInt(b.replace("%","")),this._html.style.fontSize=b+i+"%",this._stateValues.textToSpeech&&this.textToSpeech("Text Size ".concat(e?"Increased":"Decreased"))):this._common.warn("Accessibility.textEmlMode, html element is not set in %.")}else{var y=this._common.getFormattedDim(getComputedStyle(this._body).fontSize);typeof this._stateValues.body.fontSize>
427"u"&&(this._stateValues.body.fontSize=y.size+y.suffix),y&&y.suffix&&!isNaN(y.size*1)&&(this._body.style.fontSize=y.size*1+i+y.suffix)}}},{key:"alterLineHeight",value:function(e){this.sessionState.lineHeight+=e?1:-1,this.onChange(!0);var i=2;e||(i*=-1),this.options.textEmlMode&&(i*=10);for(var n=document.querySelectorAll("*:not(._access)"),a=Array.prototype.slice.call(document.querySelectorAll("._access-menu *")),c=0;c<n.length;c++)if(!a.includes(n[c])){if(this.options.textPixelMode){var p=getComputedStyle(n[c]).lineHeight;if(p&&p.indexOf("px")>-1){n[c].getAttribute("data-init-line-height")||n[c].setAttribute("data-init-line-height",p);var E=parseInt(p.replace("px",""))+i;n[c].style.lineHeight="".concat(E,"px")}this._stateValues.textToSpeech&&this.textToSpeech("Line Height ".concat(e?"Increased":"Decreased"))}else if(this.options.textEmlMode){var m=getComputedStyle(n[c]).fontSize,b=getComputedStyle(n[c]).lineHeight;b==="normal"&&(b=(parseInt(m.replace("px",""))*1.2).toString()+"px");var y=b.replace("px",""),P=m.replace("px",""),O=parseInt(y)*100/parseInt(P);b&&b.indexOf("px")>-1&&(n[c].getAttribute("data-init-line-height")||n[c].setAttribute("data-init-line-height",O+"%"),O=O+i,n[c].style.lineHeight=O+"%"),typeof this._stateValues.body.lineHeight>"u"&&(this._stateValues.body.lineHeight=""),this._stateValues.textToSpeech&&this.textToSpeech("Line height ".concat(e?"Increased":"Decreased"))}}}},{key:"alterTextSpace",value:function(e){this._sessionState.textSpace+=e?1:-1,this.onChange(!0);var i=2;if(e||(i*=-1),this.options.textPixelMode){for(var n=document.querySelectorAll("*:not(._access)"),a=Array.prototype.slice.call(document.querySelectorAll("._access-menu *")),c=0;c<n.length;c++)if(!a.includes(n[c])){var p=n[c].style.wordSpacing;p&&p.indexOf("px")>-1?(n[c].getAttribute("data-init-word-spacing")||n[c].setAttribute("data-init-word-spacing",p),p=p.replace("px","")*1+i,n[c].style.wordSpacing=p+"px"):(n[c].setAttribute("data-init-word-spacing",p),n[c].style.wordSpacing=i+"px");var E=n[c].style.letterSpacing;E&&E.indexOf("px")>-1?(n[c].getAttribute("data-init-letter-spacing")||n[c].setAttribute("data-init-letter-spacing",E),E=E.replace("px","")*1+i,n[c].style.letterSpacing=E+"px"):(n[c].setAttribute("data-init-letter-spacing",E),n[c].style.letterSpacing=i+"px")}this._stateValues.textToSpeech&&this.textToSpeech("Text Spacing ".concat(e?"Increased":"Decreased"))}else{var m=this._common.getFormattedDim(getComputedStyle(this._body).wordSpacing);typeof this._stateValues.body.wordSpacing>"u"&&(this._stateValues.body.wordSpacing=""),m&&m.suffix&&!isNaN(m.size*1)&&(this._body.style.wordSpacing=m.size*1+i+m.suffix);var b=this._common.getFormattedDim(getComputedStyle(this._body).letterSpacing);typeof this._stateValues.body.letterSpacing>"u"&&(this._stateValues.body.letterSpacing=""),b&&b.sufix&&!isNaN(b.size*1)&&(this._body.style.letterSpacing=b.size*1+i+b.sufix),this._stateValues.textToSpeech&&this.textToSpeech("Text Spacing ".concat(e?"Increased":"Decreased"))}}},{key:"speechToText",value:function(){var e=this;("webkitSpeechRecognition"in window||"SpeechRecognition"in window)&&(this._recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this._recognition.continuous=!0,this._recognition.interimResults=!0,this._recognition.onstart=function(){e._body.classList.add("_access-listening")},this._recognition.onend=function(){e._body.classList.remove("_access-listening")},this._recognition.onresult=function(i){var n="";if(!(typeof i.results>"u")){for(var a=i.resultIndex;a<i.results.length;++a)i.results[a].isFinal&&(n+=i.results[a][0].transcript);n&&e._speechToTextTarget&&(e._speechToTextTarget.parentElement.classList.remove("_access-listening"),e._speechToTextTarget.tagName.toLowerCase()==="input"||e._speechToTextTarget.tagName.toLowerCase()==="textarea"?e._speechToTextTarget.value=n:e._speechToTextTarget.getAttribute("contenteditable")!==null&&(e._speechToTextTarget.innerText=n))}},this._recognition.lang=this.options.language.speechToTextLang,this._recognition.start())}},{key:"textToSpeech",value:function(e){var i=this,n=window;if(!(!n.SpeechSynthesisUtterance||!n.speechSynthesis)){var a=new n.SpeechSynthesisUtterance(e);a.lang=this.options.language.textToSpeechLang,a.lang=this.options.textToSpeechLang,a.rate=this._stateValues.speechRate,a.onend=function(){i._isReading=!1};for(var c=n.speechSynthesis.getVoices(),p=!1,E=0;E<c.length;E++)if(c[E].lang===a.lang){a.voice=c[E],p=!0;break}p||this._common.warn("text to speech language not supported!"),(window.speechSynthesis.pending||window.speechSynthesis.speaking)&&(window.speechSynthesis.pause,window.speechSynthesis.cancel()),window.speechSynthesis.speak(a),this._isReading=!0}}},{key:"createScreenShot",value:function(e){return new Promise(function(i){var n=document.createElement("canvas"),a=new Image;n.style.position="fixed",n.style.top="0",n.style.left="0",n.style.opacity="0",n.style.transform="scale(0.05)",a.crossOrigin="anonymous",a.onload=zr(regeneratorRuntime.mark(function c(){var p,E;return regeneratorRuntime.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:document.body.appendChild(n),p=n.getContext("2d"),n.width=a.naturalWi
427dth,n.height=a.naturalHeight,p.clearRect(0,0,n.width,n.height),p.drawImage(a,0,0);try{E=n.toDataURL("image/png")}catch{}i(E),n.remove();case 9:case"end":return b.stop()}},c)})),a.onerror=function(){i(Nr.Common.DEFAULT_PIXEL)},a.src=e})}},{key:"listen",value:function(){z0(this._recognition)==="object"&&typeof this._recognition.stop=="function"&&this._recognition.stop(),this._speechToTextTarget=window.event.target,this.speechToText()}},{key:"read",value:function(e){try{e=window.event||e||arguments[0],e&&e.preventDefault&&(e.preventDefault(),e.stopPropagation())}catch{}var i=Array.prototype.slice.call(document.querySelectorAll("._access-menu *"));for(var n in i)if(i[n]===window.event.target&&e instanceof MouseEvent)return;if(e instanceof KeyboardEvent&&(e.shiftKey&&e.key==="Tab"||e.key==="Tab")){this.textToSpeech(window.event.target.innerText);return}this._isReading?(window.speechSynthesis.cancel(),this._isReading=!1):this.textToSpeech(window.event.target.innerText)}},{key:"runHotkey",value:function(e){e==="toggleMenu"?this.toggleMenu():typeof this.menuInterface[e]=="function"&&this._options.modules[e]&&this.menuInterface[e](!1)}},{key:"toggleMenu",value:function(){var e=this,i=this._menu.classList.contains("close");setTimeout(function(){e._menu.querySelector("ul").classList.toggle("before-collapse")},i?500:10),this._menu.classList.toggle("close"),this.options.icon.tabIndex=i?0:-1,this._menu.childNodes.forEach(function(n){n.hasChildNodes()&&n.nodeType===Node.ELEMENT_NODE&&n.tagName==="P"&&(n.tabIndex=-1)})}},{key:"invoke",value:function(e,i){typeof this.menuInterface[e]=="function"&&this.menuInterface[e](void 0,i)}},{key:"onKeyDown",value:function(e){var i=Object.entries(this.options.hotkeys.keys).find(function(n){for(var a=!0,c=0;c<n[1].length;c++)Number.isInteger(n[1][c])?e.keyCode!==n[1][c]&&(a=!1):(e[n[1][c]]===void 0||e[n[1][c]]===!1)&&(a=!1);return a});i!==void 0&&this.runHotkey(i[0])}},{key:"build",value:function(){var e=this;this._stateValues={underlineLinks:!1,textToSpeech:!1,bigCursor:!1,readingGuide:!1,speechRate:1,body:{},html:{}},this._body=document.body||document.getElementsByTagName("body")[0],this._html=document.documentElement||document.getElementsByTagName("html")[0],this.options.textEmlMode&&this.initFontSize(),this.injectCss(!this.options.suppressCssInjection&&!this.options.suppressDomInjection),this.options.suppressDomInjection||(this._icon=this.injectIcon(),this._menu=this.injectMenu(),this.injectTts(),setTimeout(function(){e.addListeners(),e.disableUnsupportedModulesAndSort()},10),this.options.hotkeys.enabled&&document.addEventListener("keydown",this._onKeyDownBind,!1),this._icon.addEventListener("click",function(){e.toggleMenu()},!1),this._icon.addEventListener("keyup",function(i){i.key==="Enter"&&e.toggleMenu()},!1),setTimeout(function(){e._icon.style.opacity="1"},10)),this.updateReadGuide=function(i){var n=0;i.type==="touchmove"?n=i.changedTouches[0].clientY:n=i.y,document.getElementById("access_read_guide_bar").style.top=n-(parseInt(e.options.guide.height.replace("px",""))+5)+"px"},this.menuInterface=new Ac.MenuInterface(this),this.options.session.persistent&&this.setSessionFromCache()}},{key:"updateReadGuide",value:function(e){var i=0;e.type==="touchmove"?i=e.changedTouches[0].clientY:i=e.y,document.getElementById("access_read_guide_bar").style.top=i-(parseInt(this.options.guide.height.replace("px",""))+5)+"px"}},{key:"resetIfDefined",value:function(e,i,n){typeof e<"u"&&(i[n]=e)}},{key:"onChange",value:function(e){e&&this.options.session.persistent&&this.saveSession()}},{key:"saveSession",value:function(){this._storage.set("_accessState",this.sessionState)}},{key:"setSessionFromCache",value:function(){var e=this._storage.get("_accessState");if(e){if(e.textSize){var i=e.textSize;if(i>0)for(;i--;)this.alterTextSize(!0);else for(;i++;)this.alterTextSize(!1)}if(e.textSpace){var n=e.textSpace;if(n>0)for(;n--;)this.alterTextSpace(!0);else for(;n++;)this.alterTextSpace(!1)}if(e.lineHeight){var a=e.lineHeight;if(a>0)for(;a--;)this.alterLineHeight(!0);else for(;a++;)this.alterLineHeight(!1)}e.invertColors&&this.menuInterface.invertColors(),e.grayHues&&this.menuInterface.grayHues(),e.underlineLinks&&this.menuInterface.underlineLinks(),e.bigCursor&&this.menuInterface.b
427igCursor(),e.readingGuide&&this.menuInterface.readingGuide(),this.sessionState=e}}},{key:"destroy",value:function(){var e=this._common.deployedObjects.getAll();e.forEach(function(i,n){var a=document.querySelector(n);a&&a.parentElement.removeChild(a)}),document.removeEventListener("keydown",this._onKeyDownBind,!1)}}]),t})();$t.Accessibility=qt;Pe(qt,"CSS_CLASS_NAME","_access-main-css");Pe(qt,"MENU_WIDTH","25vw");qt.init=function(t){console.warn('"Accessibility.init()" is deprecated! Please use "new Accessibility()" instead'),new qt(t)};var Sc=qt;$t.default=Sc});var Wr=ht(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0})});var qr=ht(Me=>{"use strict";Object.defineProperty(Me,"__esModule",{value:!0});Object.defineProperty(Me,"Accessibility",{enumerable:!0,get:function(){return Qr.default}});Object.defineProperty(Me,"AccessibilityModulesType",{enumerable:!0,get:function(){return He.AccessibilityModulesType}});Object.defineProperty(Me,"IAccessibility",{enumerable:!0,get:function(){return He.IAccessibility}});Object.defineProperty(Me,"IAccessibilityGuideOptions",{enumerable:!0,get:function(){return He.IAccessibilityGuideOptions}});Object.defineProperty(Me,"IAccessibilityHotkeysKeysOptions",{enumerable:!0,get:function(){return He.IAccessibilityHotkeysKeysOptions}});Object.defineProperty(Me,"IAccessibilityHotkeysOptions",{enumerable:!0,get:function(){return He.IAccessibilityHotkeysOptions}});Object.defineProperty(Me,"IAccessibilityIconDimensionsOptions",{enumerable:!0,get:function(){return He.IAccessibilityIconDimensionsOptions}});Object.defineProperty(Me,"IAccessibilityIconOptions",{enumerable:!0,get:function(){return He.IAccessibilityIconOptions}});Object.defineProperty(Me,"IAccessibilityIconPositionOptions",{enumerable:!0,get:function(){return He.IAccessibilityIconPositionOptions}});Object.defineProperty(Me,"IAccessibilityMenuDimensionsOptions",{enumerable:!0,get:function(){return He.IAccessibilityMenuDimensionsOptions}});Object.defineProperty(Me,"IAccessibilityMenuLabelsOptions",{enumerable:!0,get:function(){return He.IAccessibilityMenuLabelsOptions}});Object.defineProperty(Me,"IAccessibilityModulesOptions",{enumerable:!0,get:function(){return He.IAccessibilityModulesOptions}});Object.defineProperty(Me,"IAccessibilityOptions",{enumerable:!0,get:function(){return He.IAccessibilityOptions}});Object.defineProperty(Me,"IAccessibilitySessionOptions",{enumerable:!0,get:function(){return He.IAccessibilitySessionOptions}});Object.defineProperty(Me,"IMenuInterface",{enumerable:!0,get:function(){return Tc.IMenuInterface}});Object.defineProperty(Me,"ISessionState",{enumerable:!0,get:function(){return He.ISessionState}});Object.defineProperty(Me,"IStateValues",{enumerable:!0,get:function(){return He.IStateValues}});var Qr=Pc(Hr()),He=ai(),Tc=Wr();function Pc(t){return t&&t.__esModule?t:{default:t}}typeof window<"u"&&(window.Accessibility=Qr.default)});var Q0=new Bi("TRANSLATE_HTTP_LOADER_CONFIG"),Yr=(()=>{class t{http;config;constructor(){this.config=li({prefix:"/assets/i18n/",suffix:".json",enforceLoading:!1,useHttpBackend:!1},se(Q0)),this.http=this.config.useHttpBackend?new h0(se(H0)):se(h0)}getTranslation(e){let i=this.config.enforceLoading?`?enforceLoading=${Date.now()}`:"";return this.http.get(`${this.config.prefix}${e}${this.config.suffix}${i}`)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=Qe({token:t,factory:t.\u0275fac})}return t})();function q0(t={}){let s=t.useHttpBackend??!1;return[{provide:Q0,useValue:t},{provide:Ni,useClass:Yr,deps:[s?H0:h0,Q0]}]}function bn(){return()=>Fe.load()}function eo(t,s){t&1&&l(0,"sflib-loading")}function to(t,s){if(t&1&&(r(0,"div",0)(1,"article",1),l(2,"div",2),C(3,"internationalized"),x()()),t&2){let e=u();o(2),g("innerHTML",h(3,1,e.page.contents),Ve)}}var gt=(()=>{class t{apiService;rootPath="content";menuPath="menu";pagePath="page";constructor(e){this.apiService=e}getMenus(){return this.apiService.get(this.rootPath+"/"+this.menuPath)}getPage(e){return this.apiService.get(`${this.rootPath}/${this.pagePath}/${e}`)}static \u0275fac=function(i){return new(i||t)(qe(zi))};static \u0275prov=Qe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),_n=(()=>{class t{activatedRoute;contentService;loading=!0;minimumLoadingPassed=!1;contentLoaded=!1;page;constructor(e,i){this.activatedRoute=e,this.contentService=i}ngOnInit(){this.activatedRoute.params.subscribe(e=>{this.onLoad();let i=e.id;if(!i)throw new Error("No id parameter");this.contentService.getPage(i).subscribe(n=>{this.page=n,this.contentLoaded=!0,this.finishLoad()})})}onLoad(){this.loading=!0,this.minimumLoadingPassed=!1,this.contentLoaded=!1;let e=setInterval(()=>{this.minimumLoadingPassed=!0,this.finishLoad(),clearInterval(e)},1500)}finishLoad(){this.minimumLoadingPassed&&this.contentLoaded&&(this.loading=!1)}static \u0275fac=function(i){return new(i||t)(F(Le),F(gt))};static \u0275cmp=H({type:t,selectors:[["lib-content-route"]],decls:2,vars:2,consts:[[1,"p-4","text-gray-800","dark:text-white"],[1,"w-full","format","format-sm","sm:format-base","lg:format-lg","format-blue","dark:format-invert"],[3,"innerHTML"]],template:function(i,n){i&1&&(v(0,eo,1,0,"sflib-loading"),v(1,to,4,3,"div",0)),i&2&&(B(n.loading?0:-1),o(),B(n.loading?-1:1))},dependencies:[Gi,mt],encapsulation:2})}return t})();var io=()=>[1,2,3,4,5,6,7];function no(t,s){if(t&1&&(l(0,"div",8),C(1,"internationalized")),t&2){let e=u();g("innerHTML",h(1,1,e.page.contents),Ve)}}function ro(t,s){t&1&&l(0,"div",18)(1,"div",19)}function oo(t,s){t&1&&(r(0,"div",9),re(1,ro,2,0,null,null,ae),r(3,"span",17),d(4,"Loading..."),x()()),t&2&&(o(),oe(it(0,io)))}var Fn=(()=>{class t extends $e{contentService;location;page;constructor(e,i){super(),this.contentService=e,this.location=i}ngOnInit(){this.getContent()}ngAfterViewInit(){he.translateService.onLangChange.subscribe(e=>{this.getContent()})}getContent(){this.loading=!0,this.contentService.getPage("ABOUT_US").subscribe(e=>{this.page=e,this.loading=!1})}goBack(){this.location.back()}static \u0275fac=function(i){return new(i||t)(F(gt),F(jt))};static \u0275cmp=H({type:t,selectors:[["app-about-us"]],features:[De],decls:19,vars:5,consts:[[1,"min-h-screen","bg-gradient-to-br","from-gray-50","via-gray-100","to-gray-50","dark:from-slate-950","dark:via-slate-900","dark:to-slate-950"],[1,"fixed","inset-0","overflow-hidden","pointer-events-none"],[1,"absolute","-top-32","-left-32","w-96","h-96","bg-indigo-200/40","dark:bg-indigo-600/20","rounded-full","blur-3xl"],[1,"absolute","-top-20","right-1/4","w-80","h-80","bg-purple-200/30","dark:bg-purple-600/15","rounded-full","blur-3xl"],[1,"absolute","-bottom-32","-right-32","w-96","h-96","bg-pink-200/30","dark:bg-pink-600/15","rounded-full","blur-3xl"],[1,"absolute","bottom-1/4","-left-20","w-72","h-72","bg-blue-200/30","dark:bg-blue-600/15","rounded-full","blur-3xl"],[1,"relative","z-10"],[1,"py-12","pb-24","max-w-7xl","mx-auto","px-4","sm:px-6","lg:px-8"],[3,"innerHTML"],["role","status",1,"animate-pulse","space-y-3"],[1,"fixed","bottom-6","left-0","right-0","z-20","flex","justify-center"],[1,"inline-flex","items-center","gap-3","px-4","py-2.5","rounded-xl","bg-white/70","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-200/50","dark:border-white/10","shadow-lg","shadow-black/10","dark:shadow-black/30"],["type","button",1,"inline-flex","items-center","gap-1.5","px-6","py-2.5","rounded-xl","text-sm","font-semibold","bg-white/70","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-200/50","dark:border-white/10","text-gray-700","dark:text-white","shadow-lg","shadow-black/10","dark:shadow-black/30","hover:bg-white/90","dark:hover:bg-white/10","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"],[1,"h-5","w-px","bg-gray-300/70","dark:bg-white/20"],[1,"min-w-28"],[1,"sr-only"],[1,"h-4","bg-gray-300/50","dark:bg-white/10","rounded-full","max-w-[640px]","mx-auto"],[1,"h-3","bg-gray-300/40","dark:bg-white/5","rounded-full","max-w-[540px]","mx-auto"]],template:function(i,n){i&1&&(r(0,"div",0)(1,"div",1),l(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),x(),r(6,"div",6)(7,"div",7),v(8,no,2,3,"div",8),v(9,oo,5,1,"div",9),x()(),r(10,"div",10)(11,"div",11)(12,"button",12),w("click",function(){return n.goBack()}),M(),r(13,"svg",13),l(14,"path",14),x(),d(15),C(16,"translate"),x(),te(),l(17,"div",15)(18,"app-lang-picker",16),x()()()),i&2&&(o(8),B(n.loading?-1:8),o(),B(n.loading?9:-1),o(6),f(" ",h(16,3,"back")," "))},dependencies:[b0,mt,J],encapsulation:2})}return t})();var Pt=(function(t){return t[t.ANNOUNCEMENTS=0]="ANNOUNCEMENTS",t[t.PARTNERS=1]="PARTNERS",t})(Pt||{});var yn=(()=>{class t{baseService;rootURL="alumni/public";announcementsPath="/announcements";partnersPath="/partners";constructor(e){this.baseService=e}getAnnouncements(){return this.baseService.get(this.rootURL+this.announcementsPath)}getPartners(){return this.baseService.get(this.rootURL+this.partnersPath)}static \u0275fac=function(i){return new(i||t)(qe(Ft))};static \u0275prov=Qe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Dn=()=>["/auth/login"],Sn=()=>["/auth/register"];function so(t,s){t&1&&(r(0,"a",14),d(1),C(2,"translate"),x()),t&2&&(g("routerLink",it(4,Sn)),o(),f(" ",h(2,2,"landing.navbar.register")," "))}function co(t,s){t&1&&(r(0,"span",55),d(1,"\u2713"),x())}function lo(t,s){if(t&1){let e=N();r(0,"button",50),w("click",function(n){let a=S(e).$implicit;return u().translateService.useLang(a),T(n.stopPropagation())}),l(1,"img",17),r(2,"div",51)(3,"div",52)(4,"span",53),d(5),x(),r(6,"span",54),d(7),x()(),v(8,co,2,0,"span",55),x()()}if(t&2){let e=s.$implicit,i=u();o(),g("src","https://flagcdn.com/w40/"+i.getCountryCode(e)+".png",ye),o(4),pe(e.toUpperCase()),o(2),pe(e),o(),B(i.translateService.getCurrentLang()===e?8:-1)}}function uo(t,s){t&1&&(r(0,"span",55),d(1,"\u2713"),x())}function po(t,s){if(t&1){let e=N();r(0,"button",56),w("click",function(){let n=S(e).$implicit,a=u();return T(a.translateService.useLang(n))}),r(1,"span",52),l(2,"img",17),r(3,"span",57),d(4),x()(),v(5,uo,2,0,"span",55),x()}if(t&2){let e=s.$implicit,i=u();o(2),g("src","https://flagcdn.com/w40/"+i.getCountryCode(e)+".png",ye),o(2),pe(e),o(),B(i.translateService.getCurrentLang()===e?5:-1)}}function mo(t,s){t&1&&(r(0,"a",38),d(1),C(2,"translate"),x()),t&2&&(g("routerLink",it(4,Dn)),o(),f(" ",h(2,2,"landing.navbar.login")," "))}
427function Eo(t,s){if(t&1){let e=N();r(0,"div",66),l(1,"app-svg",68),r(2,"button",69),w("click",function(){S(e);let n=u().$implicit,a=u(3);return T(a.downloadAttachedFile(n==null?null:n.id))}),d(3),C(4,"translate"),x()()}t&2&&(o(),g("svg-name","download")("svg-class","h-5 w-5 mb-1 mr-1"),o(2),f("",h(4,3,"announcement.downloadAttachment")," "))}function Co(t,s){if(t&1&&(r(0,"div",60)(1,"div",61)(2,"h3",62),d(3),x(),r(4,"div",63)(5,"span"),d(6),x(),l(7,"span",64),r(8,"span",65),d(9),C(10,"date"),C(11,"date"),x(),v(12,Eo,5,5,"div",66),x(),l(13,"div",67),x()()),t&2){let e=s.$implicit,i=u(3);o(3),pe(e==null?null:e.name),o(3),pe((e==null?null:e.owner.person.firstName)+" "+(e==null?null:e.owner.person.lastName)),o(3),Re(" ",Lt(10,6,e==null?null:e.startDate,"dd/MM/yyyy")," \u2013 ",Lt(11,9,e==null?null:e.endDate,"dd/MM/yyyy")," "),o(3),B(e!=null&&e.withAttachment?12:-1),o(),g("innerHTML",i.getSafeHtml(e==null?null:e.content),Ve)}}function ho(t,s){if(t&1&&(r(0,"div",58),re(1,Co,14,12,"div",60,ae),x()),t&2){let e=u(2);o(),oe(e.announcements)}}function fo(t,s){t&1&&(r(0,"div",59)(1,"div",70),l(2,"div",71),r(3,"div",72)(4,"div",73),M(),r(5,"svg",74),l(6,"path",75),x()(),te(),r(7,"p",76),d(8),C(9,"translate"),x()()()()),t&2&&(o(8),pe(h(9,1,"landing.alumni.no_announcements")))}function go(t,s){if(t&1&&(r(0,"div",45),v(1,ho,3,0,"div",58)(2,fo,10,3,"div",59),x()),t&2){let e=u();o(),B(e.announcements&&e.announcements.length>0?1:2)}}function vo(t,s){t&1&&l(0,"app-skeleton",77),t&2&&g("cards",!0)}function Bo(t,s){if(t&1&&(r(0,"div",79)(1,"h3",80),d(2),x(),r(3,"ul",81)(4,"li",82)(5,"span",83),l(6,"app-svg",68),x(),r(7,"div",84)(8,"span",85),d(9),C(10,"translate"),x(),r(11,"p",86),d(12),x()()(),r(13,"li",82)(14,"span",87),l(15,"app-svg",68),x(),r(16,"div",84)(17,"span",85),d(18),C(19,"translate"),x(),r(20,"p",86),d(21),x()()(),r(22,"li",82)(23,"span",88),l(24,"app-svg",68),x(),r(25,"div",84)(26,"span",85),d(27),C(28,"translate"),x(),r(29,"p",86),d(30),x()()(),r(31,"li",82)(32,"span",89),l(33,"app-svg",68),x(),r(34,"div",84)(35,"span",85),d(36),C(37,"translate"),x(),r(38,"p",86),d(39),x()()()()()),t&2){let e=u().$implicit;o(),g("title",(e==null?null:e.name)??""),o(),f(" ",(e==null?null:e.name)??""," "),o(4),g("svg-name","user-circle")("svg-class","w-4 h-4 text-blue-400"),o(3),pe(h(10,18,"alumni.alumni-partners.contactPersonName")),o(3),pe(e.contactPersonName),o(3),g("svg-name","pencil")("svg-class","w-4 h-4 text-orange-400"),o(3),pe(h(19,20,"alumni.alumni-partners.contactPersonPosition")),o(3),pe(e.contactPersonPosition),o(3),g("svg-name","user-circle")("svg-class","w-4 h-4 text-emerald-400"),o(3),pe(h(28,22,"alumni.alumni-partners.legalRepresentativeName")),o(3),pe(e.legalRepresentativeName),o(3),g("svg-name","briefcase")("svg-class","w-4 h-4 text-indigo-400"),o(3),pe(h(37,24,"alumni.alumni-partners.legalRepresentativePosition")),o(3),pe(e.legalRepresentativePosition)}}function Ao(t,s){if(t&1&&v(0,Bo,40,26,"div",79),t&2){let e=s.$implicit;B(e!==void 0?0:-1)}}function bo(t,s){if(t&1&&(r(0,"div",78),re(1,Ao,1,1,null,null,ae),x()),t&2){let e=u(2);o(),oe(e.partners)}}function _o(t,s){t&1&&(r(0,"div",59)(1,"div",70),l(2,"div",71),r(3,"div",72)(4,"div",73),M(),r(5,"svg",74),l(6,"path",90),x()(),te(),r(7,"p",76),d(8),C(9,"translate"),x()()()()),t&2&&(o(8),pe(h(9,1,"landing.alumni.no_partners")))}function Fo(t,s){if(t&1&&(r(0,"div",45),v(1,vo,1,1,"app-skeleton",77)(2,bo,3,0,"div",78)(3,_o,10,3,"div",59),x()),t&2){let e=u();o(),B(e.loading?1:e.partners&&e.partners.length>0?2:3)}}var Tn=(()=>{class t extends $e{alumniPublicService;translateService;sanitizer;announcementService;presentedSection=Pt.ANNOUNCEMENTS;sectionType=Pt;announcements;partners;env=Fe.ENV;constructor(e,i,n,a){super(),this.alumniPublicService=e,this.translateService=i,this.sanitizer=n,this.announcementService=a}ngOnInit(){this.alumniPublicService.getAnnouncements().subscribe(e=>{this.announcements=e,this.loading=!1}),this.alumniPublicService.getPartners().subscribe(e=>{this.partners=e,this.loading=!1})}onChangeSection(){this.presentedSection===Pt.ANNOUNCEMENTS?this.presentedSection=Pt.PARTNERS:this.presentedSection=Pt.ANNOUNCEMENTS}getCountryCode(e){return e==="en"?"us":e}downloadAttachedFile(e){this.announcementService.downloadAttachedDocument(e)}getSafeHtml(e){return this.sanitizer.bypassSecurityTrustHtml(e)}static \u0275fac=function(i){return new(i||t)(F(yn),F(he),F(f0),F(_0))};static \u0275cmp=H({type:t,selectors:[["app-alumni"]],features:[De],decls:74,vars:47,consts:[[1,"min-h-screen","bg-slate-950","text-white"],[1,"pointer-events-none","fixed","inset-0","overflow-hidden"],[1,"absolute","-top-24","left-1/2","h-[520px]","w-[520px]","-translate-x-1/2","rounded-full","bg-indigo-600/25","blur-3xl"],[1,"absolute","top-64","-left-24","h-[420px]","w-[420px]","rounded-full","bg-fuchsia-500/20","blur-3xl"],[1,"absolute","bottom-0","right-0","h-[520px]","w-[520px]","rounded-full","bg-cyan-400/15","blur-3xl"],[1,"relative","z-20","border-b","border-white/10","bg-slate-950/60","backdrop-blur"],[1,"mx-auto","flex","max-w-7xl","items-center","justify-between","px-4","py-4","sm:px-6","lg:px-8"],["href","/",1,"flex","items-center","gap-3"],[1,"grid","h-10","w-10","place-items-center","rounded-2xl","bg-white/10","ring-1","ring-white/15"],[3,"full","alwaysDark","classes"],[1,"leading-tight"],[1,"text-lg","font-semibold","tracking-tight"],[1,"text-xs","text-white/60"],[1,"hidden","md:flex","items-center","gap-3"],[1,"rounded-xl","px-4","py-2","text-sm","font-medium","text-white/80","hover:text-white",3,"routerLink"],[1,"relative","group"],[1,"list-none","inline-flex","cursor-pointer","items-center","gap-2","rounded-xl","px-3","py-2","text-sm","font-semibold","text-white/85","ring-1","ring-white/15","hover:bg-white/5","focus:outline-none","focus-visible:ring-2","focus-visible:ring-white/30"],["alt","",1,"h-5","w-5","rounded-md","object-cover","ring-1","ring-white/15",3,"src"],[1,"text-xs","font-semibold","uppercase","tracking-wider","text-white/80"],["viewBox","0 0 24 24","fill","none",1,"ml-0.5","h-4","w-4","opacity-70","transition","group-open:rotate-180"],["d","M6 9l6 6 6-6","
427stroke","currentColor","stroke-width","1.6","stroke-linecap","round","stroke-linejoin","round"],[1,"absolute","z-50","right-0","mt-3","w-52","overflow-hidden","rounded-2xl","bg-slate-950/90","backdrop-blur","ring-1","ring-white/10","shadow-2xl"],[1,"p-1"],["type","button",1,"flex","w-full","items-center","gap-3","rounded-xl","px-3","py-2","text-sm","text-white/85","hover:bg-white/5"],[1,"inline-flex","items-center","justify-center","rounded-xl","bg-white","px-4","py-2","text-sm","font-semibold","text-slate-900","hover:bg-white/90",3,"routerLink"],[1,"relative","md:hidden","group"],[1,"list-none","inline-flex","cursor-pointer","items-center","justify-center","rounded-xl","p-2","text-white/80","ring-1","ring-white/15","hover:bg-white/5","focus:outline-none","focus-visible:ring-2","focus-visible:ring-white/30"],["fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6","group-open:hidden"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","1.5","d","M4 6h16M4 12h16M4 18h16"],["fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6","hidden","group-open:block"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","1.5","d","M6 18L18 6M6 6l12 12"],[1,"absolute","right-0","mt-3","w-[min(92vw,22rem)]","overflow-hidden","rounded-2xl","bg-slate-950/85","backdrop-blur","ring-1","ring-white/10","shadow-2xl","z-50"],[1,"p-3"],[1,"px-1","pb-2","text-xs","font-semibold","uppercase","tracking-wider","text-white/50"],[1,"grid","grid-cols-2","gap-2"],["type","button",1,"flex","items-center","justify-between","gap-2","rounded-xl","bg-white/5","px-3","py-2","text-sm","text-white/85","ring-1","ring-white/10","hover:bg-white/10"],[1,"mt-3","grid","grid-cols-2","gap-3"],[1,"rounded-xl","px-4","py-2","text-center","text-sm","font-medium","text-white/85","ring-1","ring-white/15","hover:bg-white/5",3,"routerLink"],[1,"rounded-xl","bg-white","px-4","py-2","text-center","text-sm","font-semibold","text-slate-900","hover:bg-white/90",3,"routerLink"],[1,"relative","z-10","mx-auto","max-w-7xl","px-4","sm:px-6","lg:px-8","py-10","pb-24"],[1,"flex","flex-col","items-center"],[1,"text-3xl","font-bold","tracking-tight","sm:text-4xl","text-center"],[1,"mt-8","flex","justify-center"],[1,"inline-flex","rounded-2xl","bg-white/5","p-1","ring-1","ring-white/10"],["type","button",3,"click"],[1,"mt-8"],[1,"fixed","bottom-6","left-0","right-0","z-20","flex","justify-center"],["href","/",1,"inline-flex","items-center","gap-1.5","px-6","py-2.5","rounded-xl","text-sm","font-semibold","bg-slate-800/50","backdrop-blur-xl","border","border-white/10","text-white","shadow-lg","shadow-black/30","hover:bg-white/10","active:scale-[0.98]","transition-all","duration-200"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"],["type","button",1,"flex","w-full","items-center","gap-3","rounded-xl","px-3","py-2","text-sm","text-white/85","hover:bg-white/5",3,"click"],[1,"flex","min-w-0","flex-1","items-center","justify-between","gap-2"],[1,"flex","items-center","gap-2"],[1,"truncate","font-medium"],[1,"text-xs","text-white/45"],[1,"text-xs","font-semibold","text-emerald-200"],["type","button",1,"flex","items-center","justify-between","gap-2","rounded-xl","bg-white/5","px-3","py-2","text-sm","text-white/85","ring-1","ring-white/10","hover:bg-white/10",3,"click"],[1,"font-semibold","uppercase","tracking-wider"],[1,"space-y-4"],[1,"flex","items-center","justify-center","py-16"],[1,"rounded-2xl","bg-white/5","p-5","ring-1","ring-white/10","backdrop-blur-sm","hover:bg-white/[0.07]","transition-colors","duration-200"],[1,"flex","flex-col","gap-1.5"],[1,"text-lg","font-semibold","text-white"],[1,"flex","flex-wrap","items-center","gap-x-3","gap-y-1","text-sm","text-white/60"],[1,"h-1","w-1","rounded-full","bg-white/30"],[1,"text-xs"],[1,"flex"],[1,"mt-2","dark:text-gray-300","leading-relaxed",3,"innerHTML"],[3,"svg-name","svg-class"],[1,"text-sm","hover:underline",3,"click"],[1,"relative","w-full","max-w-md"],[1,"absolute","-inset-4","rounded-[2.5rem]","bg-gradient-to-br","from-indigo-500/20","via-fuchsia-500/10","to-cyan-400/15","blur-2xl"],[1,"relative","rounded-3xl","bg-white/5","p-8","text-center","ring-1","ring-white/10","backdrop-blur-sm","sm:p-10"],[1,"mx-auto","grid","h-16","w-16","place-items-center","rounded-2xl","bg-white/5","ring-1","ring-white/10"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","1.2",1,"h-8","w-8","text-white/40"],["stroke-linecap","round","stroke-linejoin","round","d","M12 7.5h1.5m-1.5 3h1.5m-7.5 3h7.5m-7.5 3h7.5m3-9h3.375c.621 0 1.125.504 1.125 1.125V18a2.25 2.25 0 0 1-2.25 2.25M16.5 7.5V18a2.25 2.25 0 0 0 2.25 2.25M16.5 7.5V4.875c0-.621-.504-1.125-1.125-1.125H4.125C3.504 3.75 3 4.254 3 4.875V18a2.25 2.25 0 0 0 2.25 2.25h13.5M6 7.5h3v3H6v-3Z"],[1,"mt-5","text-base","font-semibold","text-white/80"],[3,"cards"],[1,"grid","gap-5","sm:grid-cols-2","lg:grid-cols-3"],[1,"rounded-2xl","bg-white/5","p-6","ring-1","ring-white/10","backdrop-blur-sm","hover:bg-white/[0.07]","transition-colors","duration-200"],[1,"text-base","font-semibold","line-clamp-2",3,"title"],[1,"mt-5","space-y-4"],[1,"flex","items-start","gap-3"],[1,"mt-0.5","flex","h-7","w-7","shrink-0","items-center","justify-center","rounded-lg","bg-blue-500/15","ring-1","ring-blue-400/20"],[1,"text-sm"],[1,"text-white/50"],[1,"font-semibold","text-white/90"],[1,"mt-0.5","flex","h-7","w-7","shrink-0","items-center","justify-center","rounded-lg","bg-orange-500/15","ring-1","ring-orange-400/20"],[1,"mt-0.5","flex","h-7","w-7","shrink-0","items-center","justify-center","rounded-lg","bg-emerald-500/15","ring-1","ring-emerald-400/20"],[1,"mt-0.5","flex","h-7","w-7","shrink-0","items-center","justify-center","rounded-lg","bg-indigo-500/15","ring-1","ring-indigo-400/20"],["stroke-linecap","round","stroke-linejoin","round","d","M18 18.72a9.094 9.094 0 0 0 3.741-.479 3 3 0 0 0-4.682-2.72m.94 3.198.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0 1 12 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 0 1 6 18.719m12 0a5.971 5.971 0 0 0-.941-3.197m0 0A5.995 5.995 0 0 0 12 12.75a5.995 5.995 0 0 0-5.058 2.772m0 0a3 3 0 0 0-4.681 2.72 8.986 8.986 0 0 0 3.74.477m.94-3.197a5.971 5.971 0 0 0-.94 3.197M15 6.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm6 3a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Zm-13.5 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Z"]],template:function(i,n){i&1&&(r(0,"div",0)(1,"div",1),l(2,"div",2)(3,"div",3)(4,"div",4),x(),r(5,"nav",5)(6,"div",6)(7,"a",7)(8,"div",8),l(9,"app-logo",9),x(),r(10,"div",10)(11,"div",11),d(12,"smartUMS"),x(),r(13,"div",12),d(14),C(15,"translate"),x()()(),r(16,"div",13),v(17,so,3,5,"a",14),r(18,"details",15)(19,"summary",16),C(20,"translate"),l(21,"img",17),r(22,"span",18),d(23),x(),M(),r(24,"svg",19),l(25,"path",20),x()(),te(),r(26,"div",21)(27,"div",22),re(28,lo,9,4,"button",23,ae),x()()(),r(30,"a",24),d(31),C(32,"translate"),x()(),r(33,"details",25)(34,"summary",26),C(35,"translate"),M(),r(36,"svg",27),l(37,"path",28),x(),r(38,"svg",29),l(39,"path",30),x()(),te(),r(40,"div",31)(41,"div",32)(42,"div",33),d(43),C(44,"translate"),x(),r(45,"div",34),re(46,po,6,3,"button",35,ae),x(),r(48,"div",36)(49,"a",37),d(50),C(51,"translate"),x(),v(52,mo,3,5,"a",38),x()()()()()(),r(53,"div",39)(54,"div",40)(55,"h1",41),d(56),C(57,"translate"),x()(),r(58,"div",42)(59,"div",43)(60,"button",44),w("click",function(){return n.onChangeSection()}),d(61),C(62,"translate"),x(),r(63,"button",44),w("click",function(){return n.onChangeSection()}),d(64),C(65,"translate"),x()()(),v(66,go,3,1,"div",45),v(67,Fo,4,1,"div",45),x(),r(68,"div",46)(69,"a",47),M(),r(70,"svg",48),l(71,"path",49),x(),d(72),C(73,"translate"),x()()()),i&2&&(o(9),g("full",!1)("alwaysDark",!0)("classes","h-6"),o(5),pe(h(15,25,"landing.navbar.platform_subtitle")),o(3),B(n.env.oauth2||n.env.saml2||n.env.externalApiAuthentication?-1:17),o(2),vt("aria-label",h(20,27,"landing.navbar.
427select_language")),o(2),g("src","https://flagcdn.com/w40/"+n.getCountryCode(n.translateService.getCurrentLang())+".png",ye),o(2),f(" ",n.translateService.getCurrentLang()," "),o(5),oe(n.env.availableLanguages),o(2),g("routerLink",it(45,Dn)),o(),f(" ",h(32,29,"landing.navbar.login")," "),o(3),vt("aria-label",h(35,31,"landing.navbar.open_menu")),o(9),f(" ",h(44,33,"landing.navbar.language")," "),o(3),oe(n.env.availableLanguages),o(3),g("routerLink",it(46,Sn)),o(),f(" ",h(51,35,"landing.navbar.register")," "),o(2),B(n.env.oauth2||n.env.saml2||n.env.externalApiAuthentication?-1:52),o(4),f(" ",h(57,37,"landing.alumni.title")," "),o(4),Be((n.presentedSection===n.sectionType.ANNOUNCEMENTS?"bg-white/10 text-white shadow-sm":"text-white/60 hover:text-white hover:bg-white/5")+" rounded-xl px-5 py-2.5 text-sm font-semibold transition-all duration-200"),o(),f(" ",h(62,39,"landing.alumni.announcements")," "),o(2),Be((n.presentedSection===n.sectionType.PARTNERS?"bg-white/10 text-white shadow-sm":"text-white/60 hover:text-white hover:bg-white/5")+" rounded-xl px-5 py-2.5 text-sm font-semibold transition-all duration-200"),o(),f(" ",h(65,41,"landing.alumni.partners")," "),o(2),B(n.presentedSection===n.sectionType.ANNOUNCEMENTS?66:-1),o(),B(n.presentedSection===n.sectionType.PARTNERS?67:-1),o(5),f(" ",h(73,43,"back")," "))},dependencies:[Oe,bt,_t,nt,J,C0],encapsulation:2})}return t})();var Pn=()=>["/auth/login"],In=()=>["/auth/register"];function yo(t,s){t&1&&(r(0,"a",14),d(1),C(2,"translate"),x()),t&2&&(g("routerLink",it(4,In)),o(),f(" ",h(2,2,"landing.navbar.register")," "))}function ko(t,s){t&1&&(r(0,"span",54),d(1,"\u2713"),x())}function wo(t,s){if(t&1){let e=N();r(0,"button",49),w("click",function(n){let a=S(e).$implicit;return u().translateService.useLang(a),T(n.stopPropagation())}),l(1,"img",17),r(2,"div",50)(3,"div",51)(4,"span",52),d(5),x(),r(6,"span",53),d(7),x()(),v(8,ko,2,0,"span",54),x()()}if(t&2){let e=s.$implicit,i=u();o(),g("src","https://flagcdn.com/w40/"+i.getCountryCode(e)+".png",ye),o(4),pe(e.toUpperCase()),o(2),pe(e),o(),B(i.translateService.getCurrentLang()===e?8:-1)}}function Do(t,s){t&1&&(r(0,"span",54),d(1,"\u2713"),x())}function So(t,s){if(t&1){let e=N();r(0,"button",55),w("click",function(){let n=S(e).$implicit,a=u();return T(a.translateService.useLang(n))}),r(1,"span",51),l(2,"img",17),r(3,"span",56),d(4),x()(),v(5,Do,2,0,"span",54),x()}if(t&2){let e=s.$implicit,i=u();o(2),g("src","https://flagcdn.com/w40/"+i.getCountryCode(e)+".png",ye),o(2),pe(e),o(),B(i.translateService.getCurrentLang()===e?5:-1)}}function To(t,s){t&1&&(r(0,"a",37),d(1),C(2,"translate"),x()),t&2&&(g("routerLink",it(4,In)),o(),f(" ",h(2,2,"landing.navbar.register")," "))}function Po(t,s){if(t&1){let e=N();r(0,"div",63),l(1,"app-svg",65),r(2,"button",66),w("click",function(){S(e);let n=u().$implicit,a=u(2);return T(a.downloadAttachedFile(n==null?null:n.id))}),d(3),C(4,"translate"),x()()}t&2&&(o(),g("svg-name","download")("svg-class","h-5 w-5 mb-1"),o(2),f("",h(4,3,"announcement.downloadAttachment")," "))}function Io(t,s){if(t&1&&(r(0,"div",57)(1,"div",58)(2,"h3",59),d(3),x(),r(4,"div",60)(5,"span"),d(6),x(),l(7,"span",61),r(8,"span",62),d(9),C(10,"date"),C(11,"date"),x(),v(12,Po,5,5,"div",63),x(),l(13,"div",64),x()()),t&2){let e=s.$implicit,i=u(2);o(3),pe(e==null?null:e.name),o(3),pe((e==null?null:e.owner.person.firstName)+" "+(e==null?null:e.owner.person.lastName)),o(3),Re(" ",Lt(10,6,e==null?null:e.startDate,"dd/MM/yyyy")," \u2013 ",Lt(11,9,e==null?null:e.endDate,"dd/MM/yyyy")," "),o(3),B(e!=null&&e.withAttachment?12:-1),o(),g("innerHTML",i.getSafeHtml(e==null?null:e.content),Ve)}}function Mo(t,s){if(t&1&&(r(0,"div",43),re(1,Io,14,12,"div",57,ae),x()),t&2){let e=u();o(),oe(e.announcements)}}function Vo(t,s){t&1&&(r(0,"div",44)(1,"div",67),l(2,"div",68),r(3,"div",69)(4,"div",70),M(),r(5,"svg",71),l(6,"path",72),x()(),te(),r(7,"p",73),d(8),C(9,"translate"),x()()()()),t&2&&(o(8),pe(h(9,1,"landing.alumni.no_announcements")))}var Mn=(()=>{class t extends $e{announcementService;translateService;sanitizer;announcements;env=Fe.ENV;constructor(e,i,n){super(),this.announcementService=e,this.translateService=i,this.sanitizer=n}ngOnInit(){this.announcementService.getPublicAnnouncements().subscribe(e=>{this.announcements=e,this.loading=!1})}getCountryCode(e){return e==="en"?"us":e}getSafeHtml(e){return this.sanitizer.bypassSecurityTrustHtml(e)}downloadAttachedFile(e){this.announcementService.downloadAttachedDocument(e)}static \u0275fac=function(i){return new(i||t)(F(_0),F(he),F(f0))};static \u0275cmp=H({type:t,selectors:[["app-announcement"]],features:[De],decls:67,vars:36,consts:[[1,"min-h-screen","bg-slate-950","text-white"],[1,"pointer-events-none","fixed","inset-0","overflow-hidden"],[1,"absolute","-top-24","left-1/2","h-[520px]","w-[520px]","-translate-x-1/2","rounded-full","bg-indigo-600/25","blur-3xl"],[1,"absolute","top-64","-left-24","h-[420px]","w-[420px]","rounded-full","bg-fuchsia-500/20","blur-3xl"],[1,"absolute","bottom-0","right-0","h-[520px]","w-[520px]","rounded-full","bg-cyan-400/15","blur-3xl"],[1,"relative","z-20","border-b","border-white/10","bg-slate-950/60","backdrop-blur"],[1,"mx-auto","flex","max-w-7xl","items-center","justify-between","px-4","py-4","sm:px-6","lg:px-8"],["href","/",1,"flex","items-center","gap-3"],[1,"grid","h-10","w-10","place-items-center","rounded-2xl","bg-white/10","ring-1","ring-white/15"],[3,"full","alwaysDark","classes"],[1,"leading-tight"],[1,"text-lg","font-semibold","tracking-tight"],[1,"text-xs","text-white/60"],[1,"hidden","md:flex","items-center","gap-3"],[1,"rounded-xl","px-4","py-2","text-sm","font-medium","text-white/80","hover:text-white",3,"routerLink"],[1,"relative","group"],[1,"list-none","inline-flex","cursor-pointer","items-center","gap-2","rounded-xl","px-3","py-2","text-sm","font-semibold","text-white/85","ring-1","ring-white/15","hover:bg-white/5","focus:outline-none","focus-visible:ring-2","focus-visible:ring-white/30"],["alt","",1,"h-5","w-5","rounded-md","object-cover","ring-1","ring-white/15",3,"src"],[1,"text-xs","font-semibold","uppercase","tracking-wider","text-white/80"],["viewBox","0 0 24 24","fill","none",1,"ml-0.5","h-4","w-4","opacity-70","transition","group-open:rotate-180"],["d","M6 9l6 6 6-6","
427stroke","currentColor","stroke-width","1.6","stroke-linecap","round","stroke-linejoin","round"],[1,"absolute","z-50","right-0","mt-3","w-52","overflow-hidden","rounded-2xl","bg-slate-950/90","backdrop-blur","ring-1","ring-white/10","shadow-2xl"],[1,"p-1"],["type","button",1,"flex","w-full","items-center","gap-3","rounded-xl","px-3","py-2","text-sm","text-white/85","hover:bg-white/5"],[1,"inline-flex","items-center","justify-center","rounded-xl","bg-white","px-4","py-2","text-sm","font-semibold","text-slate-900","hover:bg-white/90",3,"routerLink"],[1,"relative","md:hidden","group"],[1,"list-none","inline-flex","cursor-pointer","items-center","justify-center","rounded-xl","p-2","text-white/80","ring-1","ring-white/15","hover:bg-white/5","focus:outline-none","focus-visible:ring-2","focus-visible:ring-white/30"],["fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6","group-open:hidden"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","1.5","d","M4 6h16M4 12h16M4 18h16"],["fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6","hidden","group-open:block"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","1.5","d","M6 18L18 6M6 6l12 12"],[1,"absolute","right-0","mt-3","w-[min(92vw,22rem)]","overflow-hidden","rounded-2xl","bg-slate-950/85","backdrop-blur","ring-1","ring-white/10","shadow-2xl","z-50"],[1,"p-3"],[1,"px-1","pb-2","text-xs","font-semibold","uppercase","tracking-wider","text-white/50"],[1,"grid","grid-cols-2","gap-2"],["type","button",1,"flex","items-center","justify-between","gap-2","rounded-xl","bg-white/5","px-3","py-2","text-sm","text-white/85","ring-1","ring-white/10","hover:bg-white/10"],[1,"mt-3","grid","grid-cols-2","gap-3"],[1,"rounded-xl","px-4","py-2","text-center","text-sm","font-medium","text-white/85","ring-1","ring-white/15","hover:bg-white/5",3,"routerLink"],[1,"rounded-xl","bg-white","px-4","py-2","text-center","text-sm","font-semibold","text-slate-900","hover:bg-white/90",3,"routerLink"],[1,"relative","z-10","mx-auto","max-w-7xl","px-4","sm:px-6","lg:px-8","py-10","pb-24"],[1,"flex","flex-col","items-center"],[1,"text-3xl","font-bold","tracking-tight","sm:text-4xl","text-center"],[1,"mt-8"],[1,"space-y-4"],[1,"flex","items-center","justify-center","py-16"],[1,"fixed","bottom-6","left-0","right-0","z-20","flex","justify-center"],["href","/",1,"inline-flex","items-center","gap-1.5","px-6","py-2.5","rounded-xl","text-sm","font-semibold","bg-slate-800/50","backdrop-blur-xl","border","border-white/10","text-white","shadow-lg","shadow-black/30","hover:bg-white/10","active:scale-[0.98]","transition-all","duration-200"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"],["type","button",1,"flex","w-full","items-center","gap-3","rounded-xl","px-3","py-2","text-sm","text-white/85","hover:bg-white/5",3,"click"],[1,"flex","min-w-0","flex-1","items-center","justify-between","gap-2"],[1,"flex","items-center","gap-2"],[1,"truncate","font-medium"],[1,"text-xs","text-white/45"],[1,"text-xs","font-semibold","text-emerald-200"],["type","button",1,"flex","items-center","justify-between","gap-2","rounded-xl","bg-white/5","px-3","py-2","text-sm","text-white/85","ring-1","ring-white/10","hover:bg-white/10",3,"click"],[1,"font-semibold","uppercase","tracking-wider"],[1,"rounded-2xl","bg-white/5","p-5","ring-1","ring-white/10","backdrop-blur-sm","hover:bg-white/[0.07]","transition-colors","duration-200"],[1,"flex","flex-col","gap-1.5"],[1,"text-lg","font-semibold","text-white"],[1,"flex","flex-wrap","items-center","gap-x-3","gap-y-1","text-sm","text-white/60"],[1,"h-1","w-1","rounded-full","bg-white/30"],[1,"text-xs"],[1,"flex"],[1,"mt-2","text-white/75","leading-relaxed",3,"innerHTML"],[3,"svg-name","svg-class"],[1,"text-sm","hover:underline",3,"click"],[1,"relative","w-full","max-w-md"],[1,"absolute","-inset-4","rounded-[2.5rem]","bg-gradient-to-br","from-indigo-500/20","via-fuchsia-500/10","to-cyan-400/15","blur-2xl"],[1,"relative","rounded-3xl","bg-white/5","p-8","text-center","ring-1","ring-white/10","backdrop-blur-sm","sm:p-10"],[1,"mx-auto","grid","h-16","w-16","place-items-center","rounded-2xl","bg-white/5","ring-1","ring-white/10"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","1.2",1,"h-8","w-8","text-white/40"],["stroke-linecap","round","stroke-linejoin","round","d","M12 7.5h1.5m-1.5 3h1.5m-7.5 3h7.5m-7.5 3h7.5m3-9h3.375c.621 0 1.125.504 1.125 1.125V18a2.25 2.25 0 0 1-2.25 2.25M16.5 7.5V18a2.25 2.25 0 0 0 2.25 2.25M16.5 7.5V4.875c0-.621-.504-1.125-1.125-1.125H4.125C3.504 3.75 3 4.254 3 4.875V18a2.25 2.25 0 0 0 2.25 2.25h13.5M6 7.5h3v3H6v-3Z"],[1,"mt-5","text-base","font-semibold","text-white/80"]],template:function(i,n){i&1&&(r(0,"div",0)(1,"div",1),l(2,"div",2)(3,"div",3)(4,"div",4),x(),r(5,"nav",5)(6,"div",6)(7,"a",7)(8,"div",8),l(9,"app-logo",9),x(),r(10,"div",10)(11,"div",11),d(12,"smartUMS"),x(),r(13,"div",12),d(14),C(15,"translate"),x()()(),r(16,"div",13),v(17,yo,3,5,"a",14),r(18,"details",15)(19,"summary",16),C(20,"translate"),l(21,"img",17),r(22,"span",18),d(23),x(),M(),r(24,"svg",19),l(25,"path",20),x()(),te(),r(26,"div",21)(27,"div",22),re(28,wo,9,4,"button",23,ae),x()()(),r(30,"a",24),d(31),C(32,"translate"),x()(),r(33,"details",25)(34,"summary",26),C(35,"translate"),M(),r(36,"svg",27),l(37,"path",28),x(),r(38,"svg",29),l(39,"path",30),x()(),te(),r(40,"div",31)(41,"div",32)(42,"div",33),d(43),C(44,"translate"),x(),r(45,"div",34),re(46,So,6,3,"button",35,ae),x(),r(48,"div",36),v(49,To,3,5,"a",37),r(50,"a",38),d(51),C(52,"translate"),x()()()()()()(),r(53,"div",39)(54,"div",40)(55,"h1",41),d(56),C(57,"translate"),x()(),r(58,"div",42),v(59,Mo,3,0,"div",43)(60,Vo,10,3,"div",44),x()(),r(61,"div",45)(62,"a",46),M(),r(63,"svg",47),l(64,"path",48),x(),d(65),C(66,"translate"),x()()()),i&2&&(o(9),g("full",!1)("alwaysDark",!0)("classes","h-6"),o(5),pe(h(15,18,"landing.navbar.platform_subtitle")),o(3),B(n.env.oauth2||n.env.saml2||n.env.externalApiAuthentication?-1:17),o(2),vt("aria-label",h(20,20,"landing.navbar.
427select_language")),o(2),g("src","https://flagcdn.com/w40/"+n.getCountryCode(n.translateService.getCurrentLang())+".png",ye),o(2),f(" ",n.translateService.getCurrentLang()," "),o(5),oe(n.env.availableLanguages),o(2),g("routerLink",it(34,Pn)),o(),f(" ",h(32,22,"landing.navbar.login")," "),o(3),vt("aria-label",h(35,24,"landing.navbar.open_menu")),o(9),f(" ",h(44,26,"landing.navbar.language")," "),o(3),oe(n.env.availableLanguages),o(3),B(n.env.oauth2||n.env.saml2||n.env.externalApiAuthentication?-1:49),o(),g("routerLink",it(35,Pn)),o(),f(" ",h(52,28,"landing.navbar.login")," "),o(5),f(" ",h(57,30,"landing.announcements.title")," "),o(3),B(n.announcements&&n.announcements.length>0?59:60),o(6),f(" ",h(66,32,"back")," "))},dependencies:[Oe,nt,_t,J,C0],encapsulation:2})}return t})();function Lo(t,s){if(t&1){let e=N();r(0,"button",17),w("click",function(){S(e);let n=u();return T(n.saveDisclaimer())}),d(1),C(2,"translate"),M(),r(3,"svg",14),l(4,"path",18),x()()}t&2&&(o(),f(" ",h(2,1,"accept")," "))}var Vn=(()=>{class t extends $e{userService;securityService;router;contentService;isAccepted=!1;disclaimerPage;constructor(e,i,n,a){super(),this.userService=e,this.securityService=i,this.router=n,this.contentService=a}ngAfterViewInit(){he.translateService.onLangChange.subscribe(e=>{this.getDisclaimer()})}ngOnInit(){this.securityService.get().subscribe(e=>{e.preferences.filter(n=>n.key==="DISCLAIMER")[0]?.value==="true"&&(this.isAccepted=!0)}),this.getDisclaimer()}getDisclaimer(){this.loading=!0,this.contentService.getPage("DISCLAIMER").subscribe(e=>{this.disclaimerPage=e,this.loading=!1})}saveDisclaimer(){this.userService?.savePreference({key:"DISCLAIMER",value:"true"}).subscribe(()=>{this.securityService.reloadUser().subscribe(()=>{this.router.navigate([""]).then()})})}refuseDisclaimer(){this.securityService.logOut()}static \u0275fac=function(i){return new(i||t)(F(yt),F(Y),F(ne),F(gt))};static \u0275cmp=H({type:t,selectors:[["app-disclaimer"]],features:[De],decls:21,vars:12,consts:[[1,"antialiased","min-h-screen","bg-gradient-to-br","from-gray-50","via-gray-100","to-gray-50","dark:from-slate-950","dark:via-slate-900","dark:to-slate-950","transition-colors","duration-300"],[1,"pointer-events-none","fixed","inset-0","overflow-hidden","z-0"],[1,"absolute","inset-0","opacity-[0.035]","dark:opacity-[0.025]","bg-[url('/assets/imgs/noise.png')]","mix-blend-soft-light","dark:mix-blend-overlay"],[1,"absolute","-top-20","-left-20","h-[250px]","w-[250px]","md:h-[350px]","md:w-[350px]","lg:h-[450px]","lg:w-[450px]","rounded-full","bg-indigo-200/35","dark:bg-indigo-600/25","blur-2xl","dark:blur-3xl","mix-blend-multiply","dark:mix-blend-normal","animate-blob"],[1,"absolute","-top-10","right-1/4","h-[200px]","w-[200px]","md:h-[280px]","md:w-[280px]","lg:h-[380px]","lg:w-[380px]","rounded-full","bg-amber-200/25","dark:bg-fuchsia-500/20","blur-2xl","dark:blur-3xl","mix-blend-multiply","dark:mix-blend-normal","animate-blob","animation-delay-2000"],[1,"absolute","bottom-1/4","left-10","h-[200px]","w-[200px]","md:h-[280px]","md:w-[280px]","lg:h-[350px]","lg:w-[350px]","rounded-full","bg-violet-200/25","dark:bg-violet-600/25","blur-2xl","dark:blur-3xl","mix-blend-multiply","dark:mix-blend-normal","animate-blob","animation-delay-3000"],[1,"absolute","-bottom-20","left-1/2","h-[250px]","w-[250px]","md:h-[350px]","md:w-[350px]","lg:h-[450px]","lg:w-[450px]","rounded-full","bg-fuchsia-200/20","dark:bg-purple-500/20","blur-2xl","dark:blur-3xl","mix-blend-multiply","dark:mix-blend-normal","animate-blob","animation-delay-5000"],[1,"absolute","top-1/2","left-48","h-[180px]","w-[180px]","md:h-[250px]","md:w-[250px]","lg:h-[320px]","lg:w-[320px]","rounded-full","bg-indigo-200/20","dark:bg-indigo-500/15","blur-2xl","dark:blur-3xl","mix-blend-multiply","dark:mix-blend-normal","animate-blob","animation-delay-1000"],[1,"relative","z-10","px-4","xl:px-0","container","mx-auto","flex","items-center","flex-col","py-10","min-h-screen"],[3,"appSkeleton"],[1,"disclaimer-content","bg-white/30","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","shadow-[inset_0_0_20px_rgba(255,255,255,0.4)]","dark:shadow-[0_8px_32px_rgba(0,0,0,0.3)]","rounded-2xl","p-6","md:p-8",3,"innerHTML"],[1,"w-full","md:w-4/5","mt-4"],[1,"flex","items-center","justify-between","gap-4",3,"appSkeleton"],[1,"inline-flex","items-center","gap-2","px-4","py-2.5","rounded-xl","text-sm","font-semibold","bg-white/50","dark:bg-white/10","text-gray-700","dark:text-gray-300","border","border-gray-300/60","dark:border-white/15","hover:bg-white/70","dark:hover:bg-white/20","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],[1,"inline-flex","items-center","gap-2","px-4","py-2.5","rounded-xl","text-sm","font-semibold","bg-gradient-to-r","from-indigo-500","to-purple-600","hover:from-indigo-600","hover:to-purple-700","text-white","shadow-md","shadow-indigo-500/25","active:scale-[0.98]","transition-all","duration-200"],[1,"inline-flex","items-center","gap-2","px-4","py-2.5","rounded-xl","text-sm","font-semibold","bg-gradient-to-r","from-indigo-500","to-purple-600","hover:from-indigo-600","hover:to-purple-700","text-white","shadow-md","shadow-indigo-500/25","active:scale-[0.98]","transition-all","duration-200",3,"click"],["stroke-linecap","round","stroke-linejoin","round","d","m4.5 12.75 6 6 9-13.5"]],template:function(i,n){i&1&&(r(0,"div",0)(1,"div",1),l(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7),x(),r(8,"div",8)(9,"div",9),l(10,"div",10),C(11,"internationalized"),x(),r(12,"div",11)(13,"div",12)(14,"button",13),w("click",function(){return n.refuseDisclaimer()}),M(),r(15,"svg",14),l(16,"path",15),x(),d(17),C(18,"translate"),x(),te(),l(19,"app-lang-picker",9),v(20,Lo,5,3,"button",16),x()()()()),i&2&&(o(9),Be("w-full md:w-4/5 rounded-2xl "+(n.loading?"min-h-screen":"")),g("appSkeleton",n.loading),o(),g("innerHTML",h(11,8,n.disclaimerPage.contents),Ve),o(3),g("appSkeleton",n.loading),o(4),f(" ",h(18,10,"refuse")," "),o(2),g("appSkeleton",n.loading),o(),B(n.isAccepted?-1:20))},dependencies:[F0,b0,J,mt],encapsulation:2})}return t})();var Y0=(()=>{class t{securityStorage;router;oauthService;securityService;constructor(e,i,n,a){this.securityStorage=e,this.router=i,this.oauthService=n,this.securityService=a}ngOnInit(){let e=Fe.ENV.oauth2Config,i=e?.redirectUri??window.location.origin+"/oauth";!!e?.skipCodeExchange?this.oauthService.loadDiscoveryDocument().then(()=>{let c=new URLSearchParams(window.location.search).get("code");if(!c){this.router.navigate(["/login"]);return}let p=sessionStorage.getItem("PKCE_verifier");if(!p){this.router.navigate(["/auth-error"]);return}this.securityService.exchange(c,p,i).subscribe(E=>{sessionStorage.removeItem("PKCE_verifier"),this.securityStorage.storeByKey(ke.storageKey,E.accessToken),this.blindAuthentication()},E=>{this.router.navigate(["/auth-error"])})}):this.oauthService.loadDiscoveryDocumentAndLogin().then(()=>{let a=this.oauthService.getAccessToken();this.securityStorage.storeByKey(ke.storageKey,a),this.blindAuthentication()})}blindAuthentication(){this.securityService.blindAuthenticate().subscribe(e=>{e===!0?this.securityService.registerLogin().subscribe(()=>{this.router.navigate(["/"]).then()}):this.router.navigate(["/auth-error"]).then()})}static \u0275fac=function(i){return new(i||t)(F(ke),F(ne),F(A0),F(Y))};static \u0275cmp=H({type:t,selectors:[["app-oauth2"]],decls:1,vars:0,template:function(i,n){i&1&&l(0,"app-process-authorization")},dependencies:[Ji],encapsulation:2})}return t})();var Ln=(()=>{class t extends $e{route;contentService;location;page;constructor(e,i,n){super(),this.route=e,this.contentService=i,this.location=n,this.loading=!0;
427let a=this.route.snapshot.paramMap.get("id");this.contentService.getPage(a).subscribe(c=>{this.page=c,this.loading=!1})}ngOnInit(){}goBack(){this.location.back()}static \u0275fac=function(i){return new(i||t)(F(Le),F(gt),F(jt))};static \u0275cmp=H({type:t,selectors:[["app-article"]],features:[De],decls:8,vars:6,consts:[[3,"innerHTML"],[1,"fixed","bottom-6","left-0","right-0","z-20","flex","justify-center"],["type","button",1,"inline-flex","items-center","gap-1.5","px-6","py-2.5","rounded-xl","text-sm","font-semibold","bg-white/70","backdrop-blur-xl","border","border-gray-200/50","text-gray-700","shadow-lg","shadow-black/10","hover:bg-white/90","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"]],template:function(i,n){i&1&&(Je(0,"div",0),C(1,"internationalized"),_e(2,"div",1)(3,"button",2),tt("click",function(){return n.goBack()}),M(),_e(4,"svg",3),Je(5,"path",4),Se(),d(6),C(7,"translate"),Se()()),i&2&&(Tt("innerHTML",h(1,2,n.page==null?null:n.page.contents),Ve),o(6),f(" ",h(7,4,"back")," "))},dependencies:[en,J],encapsulation:2})}return t})();var No=t=>[t];function Ro(t,s){if(t&1&&l(0,"img",9),t&2){let e=u();g("src","/assets/imgs/logo-"+e.environment.universityCode+"-white.png",ye)}}function Oo(t,s){if(t&1&&l(0,"img",9),t&2){let e=u();g("src","/assets/imgs/logo-"+e.environment.universityCode+"-dark.png",ye)}}function zo(t,s){if(t&1){let e=N();r(0,"div",18)(1,"span",21),d(2),C(3,"translate"),x(),r(4,"code",22),d(5),x(),r(6,"button",23),w("click",function(){S(e);let n=u();return T(n.copyCode())}),d(7),C(8,"translate"),x()()}if(t&2){let e=u();o(2),f(" ",h(3,3,"error.codeLabel")," "),o(3),f(" ",e.errorCode," "),o(2),f(" ",h(8,5,"error.copy")," ")}}function Go(t,s){if(t&1&&(r(0,"div",19)(1,"button",24),d(2),C(3,"translate"),x()()),t&2){let e=u();o(),g("routerLink",Si(4,No,e.link)),o(),f(" ",h(3,2,"error."+e.tag+".action")," ")}}var Xe=(()=>{class t{applicationStorage;tag;link;showActionButton=!0;errorCode;environment=Fe.ENV;constructor(e){this.applicationStorage=e}ngOnInit(){}getTheme(){return this.applicationStorage.getStoredTheme()??"light"}copyCode(){this.errorCode&&navigator.clipboard&&navigator.clipboard.writeText(this.errorCode)}static \u0275fac=function(i){return new(i||t)(F(et))};static \u0275cmp=H({type:t,selectors:[["app-error-page"]],inputs:{tag:"tag",link:"link",showActionButton:"showActionButton",errorCode:"errorCode"},decls:31,vars:18,consts:[[1,"min-h-screen","relative","overflow-hidden","flex","flex-col","bg-gradient-to-br","from-gray-50","via-gray-100","to-gray-50","dark:from-slate-950","dark:via-slate-900","dark:to-slate-950"],[1,"fixed","inset-0","pointer-events-none","overflow-hidden"],[1,"absolute","-top-40","-left-40","w-[520px]","h-[520px]","bg-indigo-300/35","dark:bg-indigo-600/20","rounded-full","blur-3xl"],[1,"absolute","top-1/4","right-[-120px]","w-[420px]","h-[420px]","bg-purple-300/30","dark:bg-purple-600/15","rounded-full","blur-3xl"],[1,"absolute","bottom-[-160px]","left-1/3","w-[520px]","h-[520px]","bg-pink-300/30","dark:bg-pink-600/15","rounded-full","blur-3xl"],[1,"relative","flex-1","flex","items-center","justify-center","px-6","py-12","text-center"],[1,"w-full","max-w-2xl"],[1,"flex","items-center","justify-center","gap-4","mb-10"],["href","/",1,"flex-shrink-0"],["alt","University logo",1,"h-12","w-auto",3,"src"],[1,"h-10","w-px","bg-gray-300/70","dark:bg-white/20"],["href","/",1,"flex","items-center","gap-2"],[3,"full","classes"],[1,"text-lg","font-bold","text-gray-900","dark:text-white"],[1,"inline-flex","items-center","gap-2","px-3.5","py-1.5","rounded-full","bg-white/45","dark:bg-white/10","ring-1","ring-inset","ring-gray-200/70","dark:ring-white/10","text-sm","font-semibold","text-gray-700","dark:text-gray-200"],[1,"h-2","w-2","rounded-full","bg-indigo-500"],[1,"mt-4","text-5xl","sm:text-6xl","font-extrabold","tracking-tight","bg-gradient-to-r","from-gray-900","via-gray-700","to-gray-900","dark:from-white","dark:via-gray-200","dark:to-white","bg-clip-text","text-transparent"],[1,"mt-4","text-lg","sm:text-xl","leading-relaxed","text-gray-600","dark:text-gray-300"],[1,"mt-6","inline-flex","items-center","gap-3","px-4","py-2","rounded-xl","bg-white/45","dark:bg-white/10","ring-1","ring-inset","ring-gray-200/70","dark:ring-white/10"],[1,"mt-9","flex","items-center","justify-center"],[1,"relative","z-10"],[1,"text-sm","font-medium","text-gray-500","dark:text-gray-400"],[1,"text-base","font-mono","font-semibold","text-gray-900","dark:text-white"],["type","button",1,"text-sm","font-semibold","text-indigo-600","dark:text-indigo-400","hover:underline",3,"click"],[1,"inline-flex","items-center","justify-center","px-6","py-3","rounded-xl","text-sm","font-semibold","text-white","bg-gradient-to-r","from-indigo-600","to-purple-600","hover:from-indigo-500","hover:to-purple-500","shadow-lg","shadow-indigo-500/25","hover:shadow-indigo-500/40","active:scale-[0.97]","transition-all","duration-200",3,"routerLink"]],template:function(i,n){i&1&&(r(0,"div",0)(1,"div",1),l(2,"div",2)(3,"div",3)(4,"div",4),x(),r(5,"main",5)(6,"div",6)(7,"div",7)(8,"a",8),v(9,Ro,1,1,"img",9),v(10,Oo,1,1,"img",9),x(),l(11,"div",10),r(12,"a",11),l(13,"app-logo",12),r(14,"span",13),d(15),
427C(16,"translate"),x()()(),r(17,"div",14),l(18,"span",15),d(19),C(20,"translate"),x(),r(21,"h1",16),d(22),C(23,"translate"),x(),r(24,"p",17),d(25),C(26,"translate"),x(),v(27,zo,9,7,"div",18),v(28,Go,4,6,"div",19),x()(),r(29,"footer",20),l(30,"app-footer"),x()()),i&2&&(o(9),B(n.getTheme()==="light"?9:-1),o(),B(n.getTheme()==="dark"?10:-1),o(3),g("full",!1)("classes","h-10 w-auto"),o(2),f(" ",h(16,10,"app_name")," "),o(4),f(" ",h(20,12,"error.label")," "),o(3),f(" ",h(23,14,"error."+n.tag+".title")," "),o(3),f(" ",h(26,16,"error."+n.tag+".description")," "),o(2),B(n.errorCode?27:-1),o(),B(n.showActionButton?28:-1))},dependencies:[Oe,nt,y0,J],encapsulation:2})}return t})();var jn=(()=>{class t{constructor(){}ngOnInit(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["app-auth-error"]],decls:1,vars:2,consts:[[3,"tag","link"]],template:function(i,n){i&1&&l(0,"app-error-page",0),i&2&&g("tag","auth-error")("link","")},dependencies:[Xe],encapsulation:2})}return t})();var Nn=(()=>{class t{securityService;constructor(e){this.securityService=e}ngOnInit(){this.securityService.logOut(!0)}static \u0275fac=function(i){return new(i||t)(F(Y))};static \u0275cmp=H({type:t,selectors:[["app-connection-error"]],decls:1,vars:2,consts:[[3,"tag","link"]],template:function(i,n){i&1&&l(0,"app-error-page",0),i&2&&g("tag","conn_error")("link","")},dependencies:[Xe],encapsulation:2})}return t})();var Rn=(()=>{class t{securityService;constructor(e){this.securityService=e}ngOnInit(){this.securityService.logOut(!0)}static \u0275fac=function(i){return new(i||t)(F(Y))};static \u0275cmp=H({type:t,selectors:[["app-finish-page"]],decls:1,vars:3,consts:[[3,"tag","link","showActionButton"]],template:function(i,n){i&1&&l(0,"app-error-page",0),i&2&&g("tag","finish-page")("link","")("showActionButton",!1)},dependencies:[Xe],encapsulation:2})}return t})();var On=(()=>{class t{constructor(){}ngOnInit(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["app-forbidden"]],decls:1,vars:2,consts:[[3,"tag","link"]],template:function(i,n){i&1&&l(0,"app-error-page",0),i&2&&g("tag","forbidden")("link","")},dependencies:[Xe],encapsulation:2})}return t})();var zn=(()=>{class t{constructor(){}ngOnInit(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["app-not-found"]],decls:1,vars:2,consts:[[3,"tag","link"]],template:function(i,n){i&1&&l(0,"app-error-page",0),i&2&&g("tag","404")("link","")},dependencies:[Xe],encapsulation:2})}return t})();var Gn=(()=>{class t{errorCode=history.state?.errorCode;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["app-server-error"]],decls:1,vars:3,consts:[[3,"tag","link","errorCode"]],template:function(i,n){i&1&&l(0,"app-error-page",0),i&2&&g("tag","500")("link","/")("errorCode",n.errorCode)},dependencies:[Xe],encapsulation:2})}return t})();var Hn=(()=>{class t{constructor(){}ngOnInit(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["app-soon"]],decls:1,vars:2,consts:[[3,"tag","link"]],template:function(i,n){i&1&&l(0,"app-error-page",0),i&2&&g("tag","soon")("link","")},dependencies:[Xe],encapsulation:2})}return t})();function Ho(t,s){if(t&1&&l(0,"img",13),t&2){let e=u();g("src","/assets/imgs/logo-"+e.environment.universityCode+"-white.png",ye)}}function Uo(t,s){if(t&1&&l(0,"img",13),t&2){let e=u();g("src","/assets/imgs/logo-"+e.environment.universityCode+"-dark.png",ye)}}function Wo(t,s){t&1&&(r(0,"div",20),M(),r(1,"svg",21),l(2,"circle",22)(3,"path",23),x()(),te(),r(4,"h1",24),d(5),C(6,"translate"),x(),r(7,"p",25),d(8),C(9,"translate"),x()),t&2&&(o(5),f(" ",h(6,2,"financialSituation.payment.in_progress.title")," "),o(3),f(" ",h(9,4,"financialSituation.payment.in_progress.description")," "))}function Qo(t,s){if(t&1){let e=N();r(0,"div",26),M(),r(1,"svg",27),l(2,"path",28),x()(),te(),r(3,"h1",24),d(4),C(5,"translate"),x(),r(6,"p",25),d(7),C(8,"translate"),C(9,"translate"),x(),r(10,"div",29)(11,"button",30),w("click",function(){S(e);let n=u();return T(n.redirect())}),d(12),C(13,"translate"),x()()}if(t&2){let e=u();o(4),f(" ",h(5,5,"financialSituation.payment.success.title")," "),o(3),Jt(" ",h(8,7,"financialSituation.payment.success.description")," ",e.getCounter()," ",h(9,9,"financialSituation.payment.seconds")," "),o(5),f(" ",h(13,11,"back")," ")}}function qo(t,s){if(t&1&&(r(0,"p",34),d(1),x()),t&2){let e=u(2);o(),f(" ",e.message," ")}}function $o(t,s){if(t&1){let e=N();r(0,"div",31),M(),r(1,"svg",32),l(2,"path",33),x()(),te(),r(3,"h1",24),d(4),C(5,"translate"),x(),v(6,qo,2,1,"p",34),r(7,"p",25),d(8),C(9,"translate"),C(10,"translate"),x(),r(11,"div",29)(12,"button",30),w("click",function(){S(e);let n=u();return T(n.redirect())}),d(13),C(14,"translate"),x()()}if(t&2){let e=u();o(4),f(" ",h(5,6,"financialSituation.payment.error.title")," "),o(2),B(e.message?6:-1),o(2),Jt(" ",h(9,8,"financialSituation.payment.error.description")," ",e.getCounter()," ",h(10,10,"financialSituation.payment.seconds")," "),o(5),f(" ",h(14,12,"back")," ")}}var Un=(()=>{class t{router;route;paymentService;securityService;applicationStorage;environment=Fe.ENV;state=void 0;message;counter;counterSubscription;
427statusSubscription;onlinePaymentType=Fe.ENV.onlinePaymentType;constructor(e,i,n,a,c){this.router=e,this.route=i,this.paymentService=n,this.securityService=a,this.applicationStorage=c}ngOnInit(){this.onlinePaymentType==="mobilpay"?this.mobilpayAction():this.onlinePaymentType==="euplatesc"?this.euplatescAction():this.onlinePaymentType==="romcard"?this.romcardAction():this.onlinePaymentType==="ipay"&&this.iPayAction()}euplatescAction(){let e={};e.amount=+this.route.snapshot.queryParamMap.get("amount"),e.curr=this.route.snapshot.queryParamMap.get("curr"),e.invoice_id=+this.route.snapshot.queryParamMap.get("invoice_id"),e.ep_id=this.route.snapshot.queryParamMap.get("ep_id"),e.order_desc=this.route.snapshot.queryParamMap.get("order_desc"),e.merch_id=this.route.snapshot.queryParamMap.get("merch_id"),e.timestamp=this.route.snapshot.queryParamMap.get("timestamp"),e.nonce=this.route.snapshot.queryParamMap.get("nonce"),e.fp_hash=this.route.snapshot.queryParamMap.get("fp_hash"),e.action=+this.route.snapshot.queryParamMap.get("action"),e.message=this.route.snapshot.queryParamMap.get("message"),e.approval=this.route.snapshot.queryParamMap.get("approval"),this.paymentService.verifyEuPlatesc(e).subscribe(i=>{this.state=i.action===0,this.count(),this.statusSubscription=this.checkPaymentStatus(e.invoice_id,n=>{this.state=n,this.count()})})}mobilpayAction(){let e=+this.route.snapshot.queryParamMap.get("orderId");this.statusSubscription=this.checkPaymentStatus(e,i=>{this.state=i,this.count()})}romcardAction(){let e={};e.terminal=this.route.snapshot.queryParamMap.get("TERMINAL"),e.trtype=+this.route.snapshot.queryParamMap.get("TRTYPE"),e.order=this.route.snapshot.queryParamMap.get("ORDER"),e.amount=this.route.snapshot.queryParamMap.get("AMOUNT"),e.currency=this.route.snapshot.queryParamMap.get("CURRENCY"),e.desc=this.route.snapshot.queryParamMap.get("DESC"),e.action=+this.route.snapshot.queryParamMap.get("ACTION"),e.rc=this.route.snapshot.queryParamMap.get("RC"),e.message=this.route.snapshot.queryParamMap.get("MESSAGE"),e.rrn=this.route.snapshot.queryParamMap.get("RRN"),e.int_ref=this.route.snapshot.queryParamMap.get("INT_REF"),e.approval=this.route.snapshot.queryParamMap.get("APPROVAL"),e.timestamp=this.route.snapshot.queryParamMap.get("TIMESTAMP"),e.nonce=this.route.snapshot.queryParamMap.get("NONCE"),e.p_sign=this.route.snapshot.queryParamMap.get("P_SIGN"),e.bank=this.route.snapshot.queryParamMap.get("BANK"),e.back_ref=this.route.snapshot.queryParamMap.get("BACK_REF"),e.status=this.route.snapshot.queryParamMap.get("STATUS"),e.final=this.route.snapshot.queryParamMap.get("FINAL"),e.bank==="BRD"?e.final==="true"&&(this.state=e.status==="SUCCESSFUL",this.count()):this.paymentService.verifyRomcard(e).subscribe(i=>{if(i.payment.status==="IN_PROGRESS"){let n=document.createElement("form");Object.keys(i.payment).forEach(a=>{i.payment[a]!==null&&a!=="status"&&At.addHidden(n,i.upperCaseFormElements?a.toUpperCase():a,i.payment[a])}),n.method=i.httpMethod,n.action=i.paymentURL,document.body.appendChild(n),n.submit()}else this.state=i.payment.status==="SUCCESSFUL",this.count()})}iPayAction(){return ut(this,null,function*(){let e={};e.orderNumber=this.route.snapshot.queryParamMap.get("orderId");try{let i=yield ui(this.paymentService.verifyIPay(e));this.state=i.errorCode===0&&i.actionCode===0,this.state||(this.message=i.actionCodeDescription),this.count()}catch{this.state=!1,this.count()}})}finishStatusSubscription(){this.statusSubscription.unsubscribe()}count(){this.counterSubscription&&(this.counterSubscription.unsubscribe(),this.counterSubscription=void 0),this.counter=25,this.counterSubscription=Yt(1e3).subscribe(()=>{this.counter--,this.counter===0&&(this.finishCount(),this.redirect())})}finishCount(){this.counterSubscription.unsubscribe(),this.counterSubscription=void 0}redirect(){this.securityService.isStudent()?this.router.navigate(["/as/financial-situation"]).then():this.securityService.isExternalPerson()&&this.router.navigate(["/aep/financial-situation"]).then()}getCounter(){return this.counter}checkPaymentStatus(e,i){return Yt(1e3).pipe(c0(()=>this.paymentService.getStatus(+e).pipe(Ei(()=>Ee({status:"IN_PROGRESS",action:null,message:null})))),l0(n=>n.status!=="SUCCESSFUL"&&n.status!=="FAILED",!0)).subscribe(n=>{(n.status==="SUCCESSFUL"||n.status==="FAILED")&&i(n.action===0)})}getTheme(){return this.applicationStorage.getStoredTheme()??"light"}static \u0275fac=function(i){return new(i||t)(F(ne),F(Le),F(tn),F(Y),F(et))};static \u0275cmp=H({type:t,selectors:[["app-payment-state"]],decls:27,vars:10,consts:[["redirectForm",""],[1,"min-h-screen","flex","flex-col","bg-gradient-to-br","from-gray-50","via-gray-100","to-gray-50","dark:from-slate-950","dark:via-slate-900","dark:to-slate-950"],[1,"fixed","inset-0","overflow-hidden","pointer-events-none"],[1,"absolute","-top-32","-left-32","w-96","h-96","bg-indigo-200/40","dark:bg-indigo-600/20","rounded-full","blur-3xl"],[1,"absolute","-top-20","right-1/4","w-80","h-80","bg-purple-200/30","dark:bg-purple-600/15","rounded-full","blur-3xl"],[1,"absolute","-bottom-32","-right-32","w-96","h-96","bg-pink-200/30","dark:bg-pink-600/15","rounded-full","blur-3xl"],[1,"absolute","bottom-1/4","-left-20","w-72","h-72","bg-blue-200/30","dark:bg-blue-600/15","rounded-full","blur-3xl"],[1,"auth-section-center"],[1,"w-full","max-w-md"],[1,"relative","rounded-2xl","overflow-hidden","bg-white/70","dark:bg-slate-800/70","backdrop-blur-xl","ring-1","ring-white/60","dark:ring-white/10","shadow-[0_8px_32px_rgba(0,0,0,0.08)]","dark:shadow-[0_8px_32px_rgba(0,0,0,0.3)]"],[1,"auth-header"],[1,"flex","items-center","justify-center","gap-4"],["href","/",1,"flex-shrink-0"],["alt","UniversityLogo",1,"h-12","w-auto","object-contain","dark:brightness-110",3,"src"],[1,"h-10","w-px","bg-gray-300/70","dark:bg-white/20"],["href","/",1,"flex","items-center","gap-2"],[3,"full","classes"],[1,"text-lg","font-bold","text-gray-900","dark:text-white"],[1,"p-8"],[1,"text-center"],[1,"mx-auto","mb-4","h-12","w-12","rounded-xl","bg-indigo-100/60","dark:bg-indigo-500/20","flex","items-center","justify-center"],["fill","none","viewBox","0 0 24 24",1,"h-6","w-6","text-indigo-600","dark:text-indigo-400","animate-spin"],["cx","12","cy","12","r","10","stroke","currentColor","stroke-width","4",1,"opacity-25"],["fill","currentColor","d","M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",1,"opacity-75"],[1,"text-xl","font-semibold","text-gray-900","dark:text-white"],[1,"mt-2","text-sm","text-gray-500","dark:text-gray-400"],[1,"mx-auto","mb-4","h-12","w-12","rounded-xl","bg-emerald-100/60","dark:bg-emerald-500/20","flex","items-center","justify-center"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","1.5",1,"h-6","w-6","text-emerald-600","dark:text-emerald-400"],["stroke-linecap","round","stroke-linejoin","round","d","M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"],[1,"mt-4"],["type","button",1,"inline-flex","items-center","justify-center","gap-2","w-full","py-3","px-4","rounded-xl","text-sm","font-semibold","text-white","bg-gradient-to-r","from-indigo-600","to-purple-600","hover:from-indigo-500","hover:to-purple-500","shadow-lg","shadow-indigo-500/25","hover:shadow-indigo-500/40","active:scale-[0.98]","transition-all","duration-200",3,"click"],[1,"mx-auto","mb-4","h-12","w-12","rounded-xl","bg-red-100/60","dark:bg-red-500/20","flex","items-center","justify-center"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","1.5",1,"h-6","w-6","text-red-600","dark:text-red-400"],["stroke-linecap","round","stroke-linejoin","round","d","m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"],[1,"mt-2","text-sm","font-medium","text-red-600","dark:text-red-400"]],template:function(i,n){i&1&&(r(0,"div",1)(1,"div",2),l(2,"div",3)(3,"div",4)(4,"div",5)(5,"div",6),x(),r(6,"section",7)(7,"div",8)(8,"div",9)(9,"div",10)(10,"div",11)(11,"a",12),v(12,Ho,1,1,"img",13),v(13,Uo,1,1,"img",13),x(),l(14,"div",14),r(15,"a",15),l(16,"app-logo",16),r(17,"span",17),d(18),C(19,"translate"),x()()()(),r(20,"div",18)(21,"div",19),v(22,Wo,10,6),v(23,Qo,14,13),v(24,$o,15,14),x()()()()()(),l(25,"form",null,0)),i&2&&(o(12),B(n.getTheme()==="light"?12:-1),o(),B(n.getTheme()==="dark"?13:-1),o(3),g("full",!1)("classes","h-10 w-auto"),o(2),f(" ",h(19,8,"app_name")," "),o(4),B(n.state===void 0?22:-1),o(),B(n.state===!0?23:-1),o(),B(n.state===!1?24:-1))},dependencies:[Oe,J],encapsulation:2})}return t})();var It=(function(t){return t[t.NEVER=0]="NEVER",t[t.LATER=1]="LATER",t[t.GO_TO_EVALUATION=2]="GO_TO_EVALUATION",t})(It||{});var Zo=["modal"];function Xo(t,s){if(t&1){let e=N();r(0,"div",7)(1,"div",9)(2,"h3",10),d(3),x(),r(4,"p",11),d(5),x()(),r(6,"div",12)(7,"button",13),w("click",function(){let n=S(e).$implicit,a=u();return T(a.neverClick(n))}),M(),r(8,"svg",14),l(9,"path",15),x(),d(10),C(11,"translate"),x(),te(),r(12,"button",16),w("click",function(){let n=S(e).$implicit,a=u();return T(a.laterClick(n))}),M(),r(13,"svg",14),l(14,"path",17),x(),d(15),C(16,"translate"),x(),te(),r(17,"button",18),w("click",function(){let n=S(e).$implicit,a=u();return T(a.goToEvaluation(n))}),M(),r(18,"svg",14),l(19,"path",19),x(),d(20),C(21,"translate"),x()()()}if(t&2){let e=s.$implicit;o(3),f(" ",e.appraisee," "),o(2),f(" ",e.context," "),o(5),f(" ",h(11,5,"evaluationsModal.never")," "),o(5),f(" ",h(16,7,"evaluationsModal.later")," "),o(5),f(" ",h(21,9,"evaluationsModal.complete")," ")}}function Yo(t,s){t&1&&(r(0,"div",8),M(),r(1,"svg",20),l(2,"path",21),x(),te(),r(3,"p",22),d(4),C(5,"translate"),x()()),t&2&&(o(4),f(" ",h(5,1,"evaluationsModal.noEntries")," "))}var Wn=(()=>{class t{router;didacticEvaluationService;modal;entries;constructor(e,i){this.router=e,this.didacticEvaluationService=i}ngOnInit(){}setState(e){e?this.modal.show():this.modal.close()}onCancelClick(){this.modal.close()}goToEvaluation(e){this.router.navigate(["/as/evaluation-questionnaire/start/"+e.id]).then(),this.modal.close(),this.saveResponsePreference(e,It.GO_TO_EVALUATION)}laterClick(e){this.saveResponsePreference(e,It.LATER)}neverClick(e){this.saveResponsePreference(e,It.NEVER)}saveResponsePreference(e,i){this.didacticEvaluationService.saveEvaluationResponsePreference(e.id,i).subscribe(n=>{this.entries=this.entries.filter(a=>a.id!==e.id)})}static \u0275fac=function(i){return new(i||t)(F(ne),F(k0))};static \u0275cmp=H({type:t,selectors:[["app-evaluations-modal"]],viewQuery:function(i,n){if(i&1&&le(Zo,5),i&2){let a;de(a=ue())&&(n.modal=a.first)}},decls:13,vars:7,consts:[["modal",""],["evaluationModal",""],["classes","max-w-lg",3,"title"],[1,"p-4","sm:p-5"],[1,"mb-2"],[1,"text-sm","text-gray-600","dark:text-gray-400"],[1,"max-h-[55vh]","overflow-y-auto","pr-1","-mr-1","space-y-3"],[1,"p-3","sm:p-4","rounded-xl","bg-white/50","dark:bg-white/5","border","border-gray-200/50","dark:border-white/[0.08]","hover:bg-white/70","dark:hover:bg-white/[0.07]","transition-colors","duration-200"],[1,"text-center","py-8"],[1,"mb-3"],[1,"text-sm","font-semibold","text-gray-900","dark:text-white"],[1,"text-xs","text-gray-500","dark:text-gray-400","mt-0.5"],[1,"flex","flex-wrap","gap-2"],["type","button",1,"inline-flex","items-center","gap-1.5","px-2.5","py-1.5","rounded-lg","text-xs","font-medium","text-red-600","dark:text-red-400","bg-red-100/50","dark:bg-red-500/10","border","border-red-200/50","dark:border-red-500/20","hover:bg-red-100","dark:hover:bg-red-500/20","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"w-3.5","h-3.5"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18 18 6M6 6l12 12"],["type","button",1,"inline-flex","items-center","gap-1.5","px-2.5","py-1.5","rounded-lg","text-xs","font-medium","text-amber-600","dark:text-amber-400","bg-amber-100/50","dark:bg-amber-500/10","border","border-amber-200/50","dark:border-amber-500/20","hover:bg-amber-100","dark:hover:bg-amber-500/20","active:scale-[0.98]","transition-all","duration-200",3,"click"],["stroke-linecap","round","stroke-linejoin","round","d","M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"],["type","button",1,"inline-flex","items-center","gap-1.5","px-2.5","py-1.5","rounded-lg","text-xs","font-medium","text-emerald-600","dark:text-emerald-400","bg-emerald-100/50","dark:bg-emerald-500/10","border","border-emerald-200/50","dark:border-emerald-500/20","hover:bg-emerald-100","dark:hover:bg-emerald-500/20","active:scale-[0.98]","transition-all","duration-200",3,"click"],["stroke-linecap","round","stroke-linejoin","round","d","m4.5 12.75 6 6 9-13.5"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","1.5",1,"w-12","h-12","mx-auto","text-gray-300","dark:text-gray-600","mb-3"],["stroke-linecap","round","stroke-linejoin","round","d","M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25Z"],[1,"text-sm","text-gray-500","dark:text-gray-400"]],template:function(i,n){i&1&&(r(0,"app-modal",2,0),C(2,"translate"),r(3,"div",3,1)(5,"div",4)(6,"p",5),d(7),C(8,"translate"),x()(),r(9,"div",6),re(10,Xo,22,11,"div",7,ae),v(12,Yo,6,3,"div",8),x()()()),i&2&&(g("title",h(2,3,"evaluationsModal.title")),o(7),f(" ",h(8,5,"evaluationsModal.info_1")," "),o(3),oe(n.entries),o(2),B(n.entries!=null&&n.entries.length?-1:12))},dependencies:[Ze,J],encapsulation:2})}return t})();var zt=(function(t){return t[t.OPEN=0]="OPEN",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETED=2]="COMPLETED",t[t.EXPIRED=3]="EXPIRED",t[t.REFUSED=4]="REFUSED",t})(zt||{});var Jo=["modal"];function ea(t,s){if(t&1){let e=N();r(0,"div",6),l(1,"div",7),r(2,"div",8)(3,"div",9)(4,"div",10),M(),r(5,"svg",11),l(6,"path",12),x()(),te(),r(7,"p",13),d(8),x()(),r(9,"button",14),w("click",function(){let n=S(e).$implicit,a=u();return T(a.goToSurvey(n))}),M(),r(10,"svg",15),l(11,"path",16),x(),d(12),C(13,"translate"),x()()()}if(t&2){let e=s.$implicit;o(8),f(" ",e.surveyContext.session.questionnaire.name," "),o(4),f(" ",h(13,2,"complete")," ")}}var Qn=(()=>{class t{router;state=!1;entries;modal;firstTimeOpen=!0;constructor(e){this.router=e}ngOnInit(){}setState(e){e?this.modal.show():this.modal.close()}onCancelClick(){this.modal.close()}goToSurvey(e){this.router.navigate(["/as/survey-questionnaire-start/"+e.id]).then(),this.modal.close()}static \u0275fac=function(i){return new(i||t)(F(ne))};static \u0275cmp=H({type:t,selectors:[["app-open-surveys-modal"]],viewQuery:function(i,n){if(i&1&&le(Jo,5),i&2){let a;de(a=ue())&&(n.modal=a.first)}},inputs:{state:"state",entries:"entries"},decls:11,vars:7,consts:[["modal",""],["surveyModal",""],[3,"title","classes"],[1,"w-full","max-w-lg","p-4","sm:p-6"],[1,"text-sm","text-gray-600","dark:text-gray-400","mb-4"],[1,"space-y-2"],[1,"group","relative"],[1,"absolute","-inset-0.5","rounded-xl","bg-gradient-to-r","from-indigo-500/20","via-purple-500/20","to-pink-500/20","opacity-0","group-hover:opacity-100","blur","transition-all","duration-500"],[1,"relative","bg-white/40","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-200/50","dark:border-white/10","rounded-xl","p-4","flex","flex-col","sm:flex-row","sm:items-center","justify-between","gap-3","transition-all","duration-300"],[1,"flex","items-start","gap-3","min-w-0"],[1,"flex-shrink-0","h-9","w-9","rounded-lg","bg-indigo-100/50","dark:bg-indigo-500/20","flex","items-center","justify-center"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4.5","w-4.5","text-indigo-600","dark:text-indigo-400"],["stroke-linecap","round","stroke-linejoin","round","d","M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5
427.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25ZM6.75 12h.008v.008H6.75V12Zm0 3h.008v.008H6.75V15Zm0 3h.008v.008H6.75V18Z"],[1,"text-sm","font-medium","text-gray-900","dark:text-white","line-clamp-2"],["type","button",1,"flex-shrink-0","inline-flex","items-center","justify-center","gap-2","px-4","py-2","rounded-lg","text-sm","font-medium","bg-emerald-100/70","dark:bg-emerald-500/20","text-emerald-700","dark:text-emerald-300","border","border-emerald-200/60","dark:border-emerald-500/30","hover:bg-emerald-200/70","dark:hover:bg-emerald-500/30","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"]],template:function(i,n){i&1&&(r(0,"app-modal",2,0),C(2,"translate"),r(3,"div",3,1)(5,"p",4),d(6),C(7,"translate"),x(),r(8,"div",5),re(9,ea,14,4,"div",6,ae),x()()()),i&2&&(g("title",h(2,3,"survey.openSurveysModal.title"))("classes","max-w-lg"),o(6),f(" ",h(7,5,"survey.openSurveysModal.description")," "),o(3),oe(n.entries))},dependencies:[Ze,J],encapsulation:2})}return t})();function ta(t,s){if(t&1){let e=N();r(0,"a",41),w("click",function(){S(e);let n=u(2);return T(n.close.emit())}),r(1,"span",42),d(2),C(3,"translate"),x(),l(4,"app-svg",19),x()}if(t&2){let e=u().$implicit,i=u();g("routerLink",i.getContextualLink(e.link,e.ignorePerspective)),o(2),pe(h(3,4,e.key)),o(2),g("svg-name","chevron-right")("svg-class","h-4 w-4 text-gray-400 dark:text-gray-500 group-hover:text-gray-600 dark:group-hover:text-gray-300 transition-colors")}}function ia(t,s){if(t&1&&v(0,ta,5,6,"a",40),t&2){let e=s.$implicit;B(e.enable?0:-1)}}function na(t,s){if(t&1){let e=N();r(0,"a",43),w("click",function(){S(e);let n=u();return n.identityCode.emit(),T(n.close.emit())}),r(1,"span",42),d(2),C(3,"translate"),x(),l(4,"app-svg",19),x()}t&2&&(o(2),pe(h(3,3,"attendance.identityCode.button")),o(2),g("svg-name","chevron-right")("svg-class","h-4 w-4 text-gray-400 dark:text-gray-500 group-hover:text-gray-600 dark:group-hover:text-gray-300 transition-colors"))}function ra(t,s){if(t&1){let e=N();r(0,"a",44),w("click",function(){S(e);let n=u(2);return T(n.close.emit())}),r(1,"div",45),l(2,"app-svg",19),x(),r(3,"span",36),d(4),C(5,"translate"),x(),l(6,"app-svg",19),x()}if(t&2){let e=u().$implicit,i=u();g("routerLink",i.getContextualLink(e.link,e.ignorePerspective)),o(2),g("svg-name",e.svg)("svg-class","h-4 w-4 text-gray-500 dark:text-gray-400 group-hover:text-indigo-600 dark:group-hover:text-indigo-400 transition-colors"),o(2),pe(h(5,6,e.key)),o(2),g("svg-name","chevron-right")("svg-class","h-4 w-4 text-gray-400 dark:text-gray-500 group-hover:text-gray-600 dark:group-hover:text-gray-300 transition-colors")}}function oa(t,s){if(t&1&&v(0,ra,7,8,"a",33),t&2){let e=s.$implicit;B(e.enable&&!e.dontShowOnMobile?0:-1)}}function aa(t,s){if(t&1){let e=N();r(0,"a",47),w("click",function(){let n=S(e).$implicit,a=u(3);return T(a.navigateToContent(n.entry==null?null:n.entry.id))}),r(1,"div",48),d(2),C(3,"internationalized"),x(),r(4,"span",49),d(5),C(6,"internationalized"),x(),l(7,"app-svg",19),x()}if(t&2){let e,i=s.$implicit;o(2),f(" ",(e=h(3,4,i.entry==null?null:i.entry.titles))==null||(e=e.toString())==null?null:e.charAt(0)," "),o(3),f(" ",h(6,6,i.entry==null?null:i.entry.titles)," "),o(2),g("svg-name","chevron-right")("svg-class","h-4 w-4 text-gray-400 dark:text-gray-500 group-hover:text-gray-600 dark:group-hover:text-gray-300 transition-colors")}}function xa(t,s){if(t&1&&re(0,aa,8,8,"a",46,ae),t&2){let e=s.$implicit,i=u(2);oe(i.flattenLeafEntries(e.entries))}}function sa(t,s){if(t&1&&(r(0,"div",28)(1,"div",29)(2,"span",30),d(3),C(4,"translate"),x()(),r(5,"div",31),re(6,xa,2,0,null,null,ae),x()()),t&2){let e=u();o(3),f(" ",h(4,1,"general.content")," "),o(3),oe(e.configuredMenus)}}function ca(t,s){if(t&1){let e=N();r(0,"a",44),w("click",function(){S(e);let n=u();return T(n.close.emit())}),r(1,"div",45),l(2,"app-svg",19),x(),r(3,"span",36),d(4),C(5,"translate"),x(),l(6,"app-svg",19),x()}if(t&2){let e=s.$implicit,i=u();g("routerLink",i.getContextualLink(e.link,e.ignorePerspective)),o(2),g("svg-name",e.svg)("svg-class","h-4 w-4 text-gray-500 dark:text-gray-400 group-hover:text-indigo-600 dark:group-hover:text-indigo-400 transition-colors"),o(2),pe(h(5,6,e.key)),o(2),g("svg-name","chevron-right")("svg-class","h-4 w-4 text-gray-400 dark:text-gray-500 group-hover:text-gray-600 dark:group-hover:text-gray-300 transition-colors")}}var qn=(()=>{class t{userService;securityService;applicationService;entries=[];generalEntries=[];accountEntries=[];configuredMenus=[];show=!1;close=new ze;showIdentityCode=!1;identityCode=new ze;navigateToContent(e){}constructor(e,i,n){this.userService=e,this.securityService=i,this.applicationService=n}ngOnInit(){}getContextualLink(e,i){return i?e:this.applicationService.getNavigationPathByUserType()+"/"+e}flattenLeafEntries(e){if(!e?.length)return[];let i=[];for(let n of e)if(n?.type==="PAGE"&&n?.entry)i.push(n);else if(n?.type==="NODE"){let a=n?.menu?.entries;a?.length&&i.push(...this.flattenLeafEntries(a))}return i}static \u0275fac=function(i){return new(i||t)(F(yt),F(Y),F(rt))};static \u0275cmp=H({type:t,selectors:[["app-sm-frame"]],inputs:{entries:"entries",generalEntries:"generalEntries",accountEntries:"accountEntries",configuredMenus:"configuredMenus",show:"show",showIdentityCode:"showIdentityCode",navigateToContent:"navigateToContent"},outputs:{close:"close",identityCode:"identityCode"},decls:73,vars:38,consts:[["tabindex","-1","role","dialog","aria-modal","true",1,"fixed","inset-0","z-50","transition-all","duration-300","ease-out","lg:hidden",3,"keydown.escape"],["type","button","aria-label","Close menu backdrop",1,"absolute","
427inset-0","w-full","h-full","cursor-default",3,"click"],[1,"absolute","inset-0","bg-slate-900/30","dark:bg-black/50","backdrop-blur-sm"],[1,"relative","h-full","w-full","transition-transform","duration-300","ease-out"],[1,"absolute","inset-0","bg-white/30","dark:bg-slate-900/50","backdrop-blur-xl","shadow-[inset_0_0_30px_rgba(255,255,255,0.5)]","dark:shadow-none"],[1,"pointer-events-none","absolute","inset-0","overflow-hidden"],[1,"absolute","-top-20","-left-20","h-[200px]","w-[200px]","rounded-full","bg-indigo-400/50","dark:bg-indigo-600/25","blur-3xl","animate-blob"],[1,"absolute","bottom-20","-right-10","h-[180px]","w-[180px]","rounded-full","bg-fuchsia-400/50","dark:bg-fuchsia-500/20","blur-3xl","animate-blob","animation-delay-2000"],[1,"absolute","bottom-1/3","-left-10","h-[150px]","w-[150px]","rounded-full","bg-violet-400/50","dark:bg-violet-600/25","blur-3xl","animate-blob","animation-delay-3000"],[1,"relative","h-full","flex","flex-col"],[1,"sticky","top-0","z-10","px-4","pt-4","pb-3"],[1,"flex","items-center","justify-between","gap-3","rounded-2xl","bg-white/30","dark:bg-slate-900/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","shadow-[inset_0_0_20px_rgba(255,255,255,0.4)]","dark:shadow-none","px-4","py-3"],[1,"flex","items-center","gap-3","min-w-0"],[1,"grid","h-9","w-9","place-items-center","rounded-xl","bg-white/50","dark:bg-white/10","border","border-gray-300/50","dark:border-white/10"],[3,"full","classes"],[1,"min-w-0"],[1,"text-sm","font-semibold","bg-gradient-to-r","from-gray-900","via-gray-700","to-gray-900","dark:from-white","dark:via-gray-200","dark:to-white","bg-clip-text","text-transparent","truncate"],[1,"text-xs","text-gray-500","dark:text-gray-400","truncate"],["type","button","aria-label","Close menu",1,"inline-flex","h-9","w-9","items-center","justify-center","rounded-xl","bg-white/50","dark:bg-white/10","text-gray-600","dark:text-gray-200","border","border-gray-300/50","dark:border-white/10","hover:bg-white/70","dark:hover:bg-white/15","active:scale-95","transition-all","duration-200",3,"click"],[3,"svg-name","svg-class"],[1,"flex-1","overflow-y-auto","px-4","pb-6","scrollbar-none"],[1,"pt-2"],[1,"flex","items-center","gap-3","p-3","rounded-2xl","bg-white/30","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","shadow-[inset_0_0_20px_rgba(255,255,255,0.4)]","dark:shadow-none"],[1,"relative","flex-shrink-0"],[1,"h-9","w-9","rounded-xl","bg-gradient-to-br","from-indigo-500","to-purple-600","flex","items-center","justify-center","text-white","font-semibold","text-sm","shadow-lg","shadow-indigo-500/30"],[1,"absolute","-bottom-0.5","-right-0.5","h-3","w-3","rounded-full","bg-emerald-500","border-2","border-white","dark:border-slate-800"],[1,"flex-1","min-w-0"],[1,"text-sm","font-semibold","text-gray-900","dark:text-white","truncate"],[1,"mt-5"],[1,"mb-2","px-1"],[1,"text-xs","font-semibold","uppercase","tracking-wider","text-gray-400","dark:text-gray-500"],[1,"overflow-hidden","rounded-2xl","bg-white/30","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","shadow-[inset_0_0_20px_rgba(255,255,255,0.4)]","dark:shadow-none","divide-y","divide-gray-200/50","dark:divide-white/5"],[1,"group","flex","items-center","justify-between","px-4","py-3","text-gray-700","dark:text-gray-200","hover:bg-white/50","dark:hover:bg-white/10","active:scale-[0.99]","transition-all","duration-200","cursor-pointer"],[1,"group","flex","items-center","gap-3","px-4","py-3","text-gray-700","dark:text-gray-200","hover:bg-white/50","dark:hover:bg-white/10","active:scale-[0.99]","transition-all","duration-200","cursor-pointer",3,"routerLink"],["type","button",1,"group","w-full","flex","items-center","gap-3","px-4","py-3","text-red-600","dark:text-red-400","hover:bg-red-100/30","dark:hover:bg-red-500/10","active:scale-[0.99]","transition-all","duration-200","cursor-pointer","text-left",3,"click"],[1,"flex-shrink-0","h-8","w-8","rounded-lg","bg-red-100/50","dark:bg-red-500/10","border","border-red-200/50","dark:border-red-500/20","flex","items-center","justify-center","group-hover:bg-red-500","group-hover:border-red-500","transition-all","duration-200"],[1,"flex-1","text-sm","font-medium"],[1,"pt-6"],[1,"flex","items-center","justify-center","gap-2","text-xs","text-gray-400","dark:text-gray-500"],[1,"font-semibold","bg-gradient-to-r","from-gray-600","to-gray-500","dark:from-gray-300","dark:to-gray-400","bg-clip-text","text-transparent"],[1,"group","flex","items-center","justify-between","px-4","py-3","text-gray-700","dark:text-gray-200","hover:bg-white/50","dark:hover:bg-white/10","active:scale-[0.99]","transition-all","duration-200","cursor-pointer",3,"routerLink"],[1,"group","flex","items-center","justify-between","px-4","py-3","text-gray-700","dark:text-gray-200","hover:bg-white/50","dark:hover:bg-white/10","active:scale-[0.99]","transition-all","duration-200","cursor-pointer",3,"click","routerLink"],[1,"text-sm","font-medium"],[1,"group","flex","items-center","justify-between","px-4","py-3","text-gray-700","dark:text-gray-200","hover:bg-white/50","dark:hover:bg-white/10","active:scale-[0.99]","transition-all","duration-200","cursor-pointer",3,"click"],[1,"group","flex","items-center","gap-3","px-4","py-3","text-gray-700","dark:text-gray-200","hover:bg-white/50","dark:hover:bg-white/10","active:scale-[0.99]","transition-all","duration-200","cursor-pointer",3,"click","routerLink"],[1,"flex-shrink-0","h-8","w-8","rounded-lg","bg-white/50","dark:bg-white/5","border","border-gray-200/50","dark:border-white/10","flex","items-center","justify-center","group-hover:bg-indigo-100/50","dark:group-hover:bg-indigo-500/15","group-hover:border-indigo-300/50","dark:group-hover:border-indigo-500/30","transition-all","duration-200"],[1,"group","flex","items-center","gap-3","px-4","py-3","text-gray-700","dark:text-gray-200","hover:bg-white/50","dark:hover:bg-white/10","active:scale-[0.99]","transition-all","duration-200","cursor-pointer"],[1,"group","flex","items-center","gap-3","px-4","py-3","text-gray-700","dark:text-gray-200","hover:bg-white/50","dark:hover:bg-white/10","active:scale-[0.99]","transition-all","duration-200","cursor-pointer",3,"click"],[1,"flex-shrink-0","h-8","w-8","rounded-lg","bg-white/50","dark:bg-white/5","border","border-gray-200/50","dark:border-white/10","flex","items-center","justify-center","group-hover:bg-indigo-100/50","dark:group-hover:bg-indigo-500/15","group-hover:border-indigo-300/50","dark:group-hover:border-indigo-500/30","transition-all","duration-200","text-xs","font-bold","uppercase","text-gray-500","dark:text-gray-400","group-hover:text-indigo-600","dark:group-hover:text-indigo-400"],[1,"flex-1","text-sm","font-medium","truncate"]],template:function(i,n){if(i&1&&(r(0,"div",0),w("keydown.escape",function(){return n.close.emit()}),r(1,"button",1),w("click",function(){return n.close.emit()}),l(2,"span",2),x(),r(3,"div",3),l(4,"div",4),r(5,"div",5),l(6,"div",6)(7,"div",7)(8,"div",8),x(),r(9,"div",9)(10,"div",10)(11,"div",11)(12,"div",12)(13,"div",13),l(14,"app-logo",14),x(),r(15,"div",15)(16,"div",16),d(17," smartums "),x(),r(18,"div",17),d(19),C(20,"translate"),x()()(),r(21,"button",18),w("click",function(){return n.close.emit()}),l(22,"app-svg",19),x()()(),r(23,"div",20)(24,"div",21)(25,"div",22)(26,"div",23)(27,"div",24),d(28),x(),l(29,"span",25),x(),r(30,"div",26)(31,"div",27),d(32),x(),r(33,"div",17),d(34),x()()()(),r(35,"div",28)(36,"div",29)(37,"span",30),d(38),C(39,"translate"),x()(),r(40,"div",31),re(41,ia,1,1,null,null,ae),v(43,na,5,5,"a",32),x()(),r(44,"div",28)(45,"div",29)(46,"span",30),d(47),C(48,"translate"),x()(),r(49,"div",31),re(50,oa,1,1,null,null,ae),x()(),v(52,sa,8,3,"div",28),r(53,"div",28)(54,"div",29)(55,"span",30),d(56),C(57,"translate"),x()(),r(58,"div",31),re(59,ca,7,8,"a",33,ae),r(61,"button",34),w("click",function(){return n.securityService.logOut(),n.close.emit()}),r(62,"div",35),l(63,"app-svg",19),x(),r(64,"span",36),d(65),C(66,"translate"),x()()()(),r(67,"div",37)(68,"div",38)(69,"span"),d(70,"Powered by"),x(),r(71,"span",39),d(72,"smartUMS"),x()()()()()()()),i&2){let a;xt("opacity-100",n.show)("pointer-events-auto",n.show)("opacity-0",!n.show)("pointer-events-none",!n.show),o(3),xt("translate-x-0",n.show)("-translate-x-full",!n.show),o(11),g("full",!1)("classes","h-5"),o(5),f(" ",h(20,28,"mobileMenu.subtitle")," "),o(3),g("svg-name","x")("svg-class","h-5 w-5"),o(6),f(" ",((a=n.userService.getName())==null?null:a.charAt(0))||"U"," "),o(4),f(" ",n.userService.getName()," "),o(2),f(" @",n.userService.getUsername()," "),o(4),f(" ",h(39,30,"mobileMenu.account")," "),o(3),oe(n.accountEntries),o(2),B(n.showIdentityCode?43:-1),o(4),f(" ",h(48,32,"mobileMenu.navigation")," "),o(3),oe(n.entries),o(2),B(n.configuredMenus!=null&&n.configuredMenus.length?52:-1),o(4),f(" ",h(57,34,"mobileMenu.general")," "),o(3),oe(n.generalEntries),o(4),g("svg-name","chevron-left")("svg-class","h-4 w-4 text-red-500 dark:text-red-400 group-hover:text-white transition-colors"),o(2),pe(h(66,36,"general.logout"))}},dependencies:[nt,_t,Oe,J,mt],encapsulation:2})}return t})();var $n=(()=>{class t{router;activatedRoute;applicationService;breadcrumbElements=[];constructor(e,i,n){this.router=e,this.activatedRoute=i,this.applicationService=n,this.router.events.pipe(s0(a=>a instanceof g0)).subscribe(a=>{this.processEvent(a.url)})}processEvent(e){let i=this.activatedRoute;for(;i.firstChild;)i=i.firstChild;let n=i.snapshot.data.breadcrumb;n&&(n.resetWhenAccessed&&this.resetElements(),this.insertElement({goLink:e,key:n.key}))}resetElements(){this.breadcrumbElements=[]}insertElement(e){let i=this.breadcrumbElements.findIndex(n=>n.key===e.key);i!==-1?this.breadcrumbElements=this.breadcrumbElements.slice(0,i):this.breadcrumbElements.push(e)}static \u0275fac=function(i){return new(i||t)(qe(ne),qe(Le),qe(rt))};static \u0275prov=Qe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function da(t,s){t&1&&(M(),_e(0,"svg",6),Je(1,"path",9),Se())}function ua(t,s){if(t&1){let e=N();_e(0,"a",10),tt("click",function(){S(e);let n=u().$implicit,a=u(2);return T(a.click(n))}),d(1),C(2,"translate"),Se()}if(t&2){let e=u().$implicit;o(),f(" ",h(2,1,e.key)," ")}}function pa(t,s){if(t&1&&(_e(0,"span",8),d(1),C(2,"translate"),Se()),t&2){let e=u().$implicit;o(),f(" ",h(2,1,e.key)," ")}}function ma(t,s){if(t&1&&(_e(0,"li",2),v(1,da,2,0,":svg:svg",6),v(2,ua,3,3,"a",7)(3,pa,3,3,"span",8),Se()),t&2){let e=s.$index,i=u(2);o(),B(e!==0?1:-1),o(),B(e<i.breadcrumbService.breadcrumbElements.length-1?2:3)}}function Ea(t,s){if(t&1){let e=N();_e(0,"nav",0)(1,"ol",1),re(2,ma,4,2,"li",2,ae),Se(),_e(4,"button",3),tt("click",function(){S(e);let n=u();return T(n.goBack())}),M(),_e(5,"svg",4),Je(6,"path",5),Se(),d(7),C(8,"translate"),Se()()}if(t&2){let e=u();o(2),oe(e.breadcrumbService.breadcrumbElements),o(5),f(" ",h(8,1,"back")," ")}}var Kn=(()=>{class t{breadcrumbService;router;constructor(e,i){this.breadcrumbService=e,this.router=i}goBack(){let e=this.breadcrumbService.breadcrumbElements[this.breadcrumbService.breadcrumbElements.length-2],i=this.manageBreadcrumbElementsOnNavigate(e.key);this.router.navigateByUrl(e.goLink).then(()=>{this.breadcrumbService.breadcrumbElements=i})}click(e){let i=this.manageBreadcrumbElementsOnNavigate(e.key);this.router.navigateByUrl(e.goLink).then(()=>{this.breadcrumbService.breadcrumbElements=i})}manageBreadcrumbElementsOnNavigate(e){let i=this.breadcrumbService.breadcrumbElements.findIndex(a=>a.key===e);if(i===-1)return;let n=[];for(let a=0;a<=i;a++)n.push(this.breadcrumbService.breadcrumbElements[a]);return n}static \u0275fac=function(i){return new(i||t)(F($n),F(ne))};static \u0275cmp=H({type:t,selectors:[["app-breadcrumb"]],decls:1,vars:1,consts:[[1,"flex","items-center","justify-between","gap-4","px-4","py-2.5","bg-white/30","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","rounded-xl","mb-4"],[1,"flex","flex-wrap","items-center","gap-1"],[1,"flex","items-center"],[1,"flex-shrink-0","inline-flex","items-center","gap-1.5","px-3","py-1.5","text-sm","font-medium","rounded-lg","bg-white/50","dark:bg-white/10","text-gray-600","dark:text-gray-300","border","border-gray-200/50","dark:border-white/10","hover:bg-white/70","dark:hover:bg-white/20","hover:text-gray-900","dark:hover:text-white","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"w-3.5","h-3.5"],["stroke-linecap","round","stroke-linejoin","round","d","M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"w-3.5","h-3.5","mx-1.5","text-gray-400","dark:text-gray-500"],[1,"text-sm","font-medium","text-gray-600","dark:text-gray-400","hover:text-indigo-600","dark:hover:text-indigo-400","cursor-pointer","transition-colors","duration-200"],[1,"text-sm","font-medium","text-gray-900","dark:text-white"],["stroke-linecap","round","stroke-linejoin","round","d","m8.25 4.5 7.5 7.5-7.5 7.5"],[1,"text-sm","font-medium","text-gray-600","dark:text-gray-400","hover:text-indigo-600","dark:hover:text-indigo-400","cursor-pointer","transition-colors","duration-200",3,"click"]],template:function(i,n){i&1&&v(0,Ea,9,3,"nav",0),i&2&&B(n.breadcrumbService.breadcrumbElements.length>1?0:-1)},dependencies:[J],encapsulation:2})}return t})();
427var Ca=["modal"];function ha(t,s){t&1&&(M(),r(0,"svg",14),l(1,"path",16),x())}function fa(t,s){t&1&&(M(),r(0,"svg",15),l(1,"path",17),x())}function ga(t,s){if(t&1){let e=N();r(0,"div",8),w("click",function(){let n=S(e).$implicit,a=u();return T(a.selectPerspective(n))}),r(1,"div",9)(2,"div",10)(3,"p",11),d(4),C(5,"translate"),x(),r(6,"p",12),d(7),C(8,"translate"),x()(),r(9,"div",13),v(10,ha,2,0,":svg:svg",14)(11,fa,2,0,":svg:svg",15),x()()()}if(t&2){let e=s.$implicit,i=u();g("ngClass",i.isSelected(e)?"bg-indigo-50/50 dark:bg-indigo-500/10 border-indigo-500 dark:border-indigo-500/50":"bg-white/50 dark:bg-white/5 border-gray-200/50 dark:border-white/10 hover:bg-white/80 dark:hover:bg-white/10 hover:border-gray-300/50 dark:hover:border-white/20"),o(3),g("ngClass",i.isSelected(e)?"text-indigo-700 dark:text-indigo-300":"text-gray-900 dark:text-white"),o(),f(" ",h(5,6,"userPerspective."+e.key+".title")," "),o(3),f(" ",h(8,8,"userPerspective."+e.key+".description")," "),o(2),g("ngClass",i.isSelected(e)?"bg-indigo-500 text-white shadow-lg shadow-indigo-500/25":"bg-white/50 dark:bg-white/10 text-gray-400 dark:text-gray-500 group-hover:text-indigo-500 dark:group-hover:text-indigo-400"),o(),B(i.isSelected(e)?10:11)}}var Zn=(()=>{class t{notificationService;securityStorage;securityService;frameComponent;modal;userPerspectives=[];selectedUserPerspective;constructor(e,i,n,a){this.notificationService=e,this.securityStorage=i,this.securityService=n,this.frameComponent=a,this.selectedUserPerspective=this.securityStorage.getStoredByKey(ke.userPerspective);let c=this.securityService.getUserPerspectives();for(let p of c){let E=Object.entries(Ki).find(([,m])=>m===p)?.[0];this.userPerspectives.push({key:E,path:p})}}setState(e){e?this.modal.show():this.modal.close()}showIfMultiplePerspectivesAndNotSelected(){this.userPerspectives.length>1&&!this.selectedUserPerspective&&this.setState(!0)}isSelected(e){return e.path===this.selectedUserPerspective}selectPerspective(e){if(this.isSelected(e)){this.modal.close();return}this.securityStorage.storeByKey(ke.userPerspective,e.path),this.selectedUserPerspective=e.path,this.frameComponent.loadMenu(),this.securityService.processAuthenticatedUserNavigation(),this.notificationService.defaultSuccess(),this.modal.close()}static \u0275fac=function(i){return new(i||t)(F(Ke),F(ke),F(Y),F(T0))};static \u0275cmp=H({type:t,selectors:[["app-user-perspective"]],viewQuery:function(i,n){if(i&1&&le(Ca,5),i&2){let a;de(a=ue())&&(n.modal=a.first)}},decls:12,vars:8,consts:[["modal",""],[3,"title","classes","backdropBlur"],[1,"p-4"],[1,"space-y-2.5","mb-4"],[1,"group","relative","p-3","rounded-lg","cursor-pointer","border","transition-all","duration-200",3,"ngClass"],[1,"w-full","inline-flex","items-center","justify-center","gap-2","px-4","py-2","rounded-lg","text-sm","font-medium","bg-white/50","dark:bg-white/10","text-gray-700","dark:text-gray-300","border","border-gray-200/50","dark:border-white/10","hover:bg-white/70","dark:hover:bg-white/20","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18 18 6M6 6l12 12"],[1,"group","relative","p-3","rounded-lg","cursor-pointer","border","transition-all","duration-200",3,"click","ngClass"],[1,"flex","items-center","justify-between","gap-3"],[1,"flex-1","min-w-0"],[1,"text-sm","font-semibold","transition-colors","duration-200",3,"ngClass"],[1,"mt-0.5","text-xs","text-gray-500","dark:text-gray-400"],[1,"flex-shrink-0","h-7","w-7","rounded-lg","flex","items-center","justify-center","transition-all","duration-200",3,"ngClass"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-3.5","w-3.5"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-3.5","w-3.5","group-hover:translate-x-1","transition-transform","duration-200"],["stroke-linecap","round","stroke-linejoin","round","d","m4.5 12.75 6 6 9-13.5"],["stroke-linecap","round","stroke-linejoin","round","d","m8.25 4.5 7.5 7.5-7.5 7.5"]],template:function(i,n){if(i&1){let a=N();r(0,"app-modal",1,0),C(2,"translate"),r(3,"div",2)(4,"div",3),re(5,ga,12,10,"div",4,ae),x(),r(7,"button",5),w("click",function(){return S(a),T(n.setState(!1))}),M(),r(8,"svg",6),l(9,"path",7),x(),d(10),C(11,"translate"),x()()()}i&2&&(g("title",h(2,4,"userPerspective.title"))("classes","max-w-xl")("backdropBlur",!0),o(5),oe(n.userPerspectives),o(5),f(" ",h(11,6,"close")," "))},dependencies:[Ze,Bt,J],encapsulation:2})}return t})();var Ba=["modal"],Aa=(t,s)=>s.id;function ba(t,s){t&1&&(r(0,"p",5),d(1),C(2,"translate"),x()),t&2&&(o(),f(" ",h(2,1,"impersonate.loading")," "))}function _a(t,s){t&1&&(r(0,"p",5),d(1),C(2,"translate"),x()),t&2&&(o(),f(" ",h(2,1,"impersonate.empty")," "))}function Fa(t,s){if(t&1){let e=N();r(0,"div",11),w("click",function(){let n=S(e).$implicit,a=u(2);return T(a.impersonate(n))}),r(1,"div",12)(2,"div",13)(3,"p",14),d(4),x(),r(5,"p",15),d(6),x()(),r(7,"div",16),M(),r(8,"svg",17),l(9,"path",18),x()()()()}if(t&2){let e=s.$implicit;o(4),Re(" ",e.lastName," ",e.firstName," "),o(2),f(" ",e.username," ")}}function ya(t,s){if(t&1&&(r(0,"div",6),re(1,Fa,10,3,"div",10,Aa),x()),t&2){let e=u();o(),oe(e.filtered())}}var Xn=(()=>{class t{securityService;securityStorage;notificationService;modal;users=[];filter="";loading=!1;constructor(e,i,n){this.securityService=e,this.securityStorage=i,this.notificationService=n}setState(e){e?(this.load(),this.modal.show()):this.modal.close()}load(){this.loading=!0,this.securityService.getImpersonableTeachers().subscribe({next:e=>{this.users=e||[],this.loading=!1},error:()=>{this.loading=!1}})}filtered(){let e=(this.filter||"").toLowerCase().split(/\s+/).filter(i=>i.length>0);return e.length===0?this.users:this.users.filter(i=>{let n=[i.username,i.firstName,i.lastName].filter(a=>!!a).join(" ").toLowerCase();return e.every(a=>n.includes(a))})}impersonate(e){this.securityService.impersonate(e.username).subscribe({next:()=>{this.securityStorage.removeByKey(ke.userPerspective),this.modal.close(),window.location.href=this.securityService.getHomePath()},error:()=>{this.notificationService.error("error","impersonate.error",!0)}})}static \u0275fac=function(i){return new(i||t)(F(Y),F(ke),F(Ke))};static \u0275cmp=H({type:t,selectors:[["app-impersonate"]],viewQuery:function(i,n){if(i&1&&le(Ba,5),i&2){let a;de(a=ue())&&(n.modal=a.first)}},decls:15,vars:13,consts:[["modal",""],[3,"title","classes","backdropBlur"],[1,"p-4","md:p-5"],[1,"mb-4"],["type","text",1,"w-full","px-4","py-2.5","rounded-xl","text-sm","bg-white/50","dark:bg-white/5","border","border-gray-200/50","dark:border-white/10","text-gray-900","dark:text-white","placeholder:text-gray-400","dark:placeholder:text-gray-500","focus:outline-none","focus:border-indigo-500","dark:focus:border-indigo-500/50","transition-all","duration-200",3,"ngModelChange","ngModel","placeholder"],[1,"text-sm","text-gray-500","dark:text-gray-400","text-center","py-6"],[1,"space-y-2","mb-6","max-h-96","overflow-y-auto"],[1,"w-full","inline-flex","items-center","justify-center","gap-2","px-4","py-2.5","rounded-xl","text-sm","font-medium","bg-white/50","dark:bg-white/10","text-gray-700","dark:text-gray-300","border","border-gray-200/50","dark:border-white/10","hover:bg-white/70","dark:hover:bg-white/20","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18 18 6M6 6l12 12"],[1,"group","p-4","rounded-xl","cursor-pointer","border","transition-all","duration-200","bg-white/50","dark:bg-white/5","border-gray-200/50","dark:border-white/10","hover:bg-white/80","dark:hover:bg-white/10","hover:border-gray-300/50","dark:hover:border-white/20"],[1,"group","p-4","rounded-xl","cursor-pointer","border","transition-all","duration-200","bg-white/50","dark:bg-white/5","border-gray-200/50","dark:border-white/10","hover:bg-white/80","dark:hover:bg-white/10","hover:border-gray-300/50","dark:hover:border-white/20",3,"click"],[1,"flex","items-center","justify-between","gap-4"],[1,"flex-1","min-w-0"],[1,"text-sm","font-semibold","text-gray-900","dark:text-white","truncate"],[1,"mt-0.5","text-xs","text-gray-500","dark:text-gray-400","truncate"],[1,"flex-shrink-0","h-9","w-9","rounded-xl","flex","items-center","justify-center","transition-all","duration-200","bg-white/50","dark:bg-white/10","text-gray-400","dark:text-gray-500","group-hover:bg-indigo-500","group-hover:text-white"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4","group-hover:translate-x-0.5","transition-transform","duration-200"],["stroke-linecap","round","stroke-linejoin","round","d","m8.25 4.5 7.5 7.5-7.5 7.5"]],template:function(i,n){if(i&1){let a=N();r(0,"app-modal",1,0),C(2,"translate"),r(3,"div",2)(4,"div",3)(5,"input",4),C(6,"translate"),m0("ngModelChange",function(p){return S(a),p0(n.filter,p)||(n.filter=p),T(p)}),x()(),v(7,ba,3,3,"p",5)(8,_a,3,3,"p",5)(9,ya,3,0,"div",6),r(10,"button",7),w("click",function(){return S(a),T(n.setState(!1))}),M(),r(11,"svg",8),l(12,"path",9),x(),d(13),C(14,"translate"),x()()()}i&2&&(g("title",h(2,7,"impersonate.title"))("classes","max-w-xl")("backdropBlur",!0),o(5),u0("ngModel",n.filter),g("placeholder",h(6,9,"impersonate.searchPlaceholder")),o(2),B(n.loading?7:n.filtered().length===0?8:9),o(6),f(" ",h(14,11,"close")," "))},dependencies:[Ze,$i,Wi,Qi,qi,J],encapsulation:2})}return t})();var ka=["modal"];function wa(t,s){if(t&1&&l(0,"app-qr-code-canvas",3),t&2){let e=u();g("loader",e.loadCode)}}function Da(t,s){if(t&1){let e=N();r(0,"button",5),w("click",function(){S(e);let n=u();return T(n.openScan())}),M(),r(1,"svg",6),l(2,"path",7)(3,"path",8),x(),d(4),C(5,"translate"),x()}t&2&&(o(4),f(" ",h(5,1,"attendance.identityCode.scanButton")," "))}var Jn=(()=>{class t{attendanceScanService;securityService;modal;scanRequested=new ze;constructor(e,i){this.attendanceScanService=e,this.securityService=i}get studentMode(){return this.securityService.isStudentAndSelectedPerspective()}loadCode=()=>this.attendanceScanService.getScanToken(this.studentMode?"STUDENT":"TEACHER");open(){this.modal.show()}openScan(){this.modal.close(),this.scanRequested.emit()}static \u0275fac=function(i){return new(i||t)(F(ot),F(Y))};static \u0275cmp=H({type:t,selectors:[["app-identity-code-modal"]],viewQuery:function(i,n){if(i&1&&le(ka,5),i&2){let a;de(a=ue())&&(n.modal=a.first)}},outputs:{scanRequested:"scanRequested"},decls:5,vars:4,consts:[["modal",""],[3,"title","alignTop"],[1,"flex","flex-col","items-center","gap-4","px-6","pt-4","pb-6"],[1,"contents",3,"loader"],["type","button",1,"w-full","flex","items-center","justify-center","gap-2","px-4","py-2.5","rounded-xl","bg-indigo-600","hover:bg-indigo-700","text-white","text-sm","font-medium","transition-colors"],["type","button",1,"w-full","flex","items-center","justify-center","gap-2","px-4","py-2.5","rounded-xl","bg-indigo-600","hover:bg-indigo-700","text-white","text-sm","font-medium","transition-colors",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","1.5",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M6.827 6.175A2.31 2.31 0 0 1 5.186 7.23c-.38.054-.757.112-1.134.175C2.999 7.58 2.25 8.507 2.25 9.574V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9.574c0-1.067-.75-1.994-1.802-2.169a47.865 47.865 0 0 0-1.134-.175 2.31 2.31 0 0 1-1.64-1.055l-.822-1.316a2.192 2.192 0 0 0-1.736-1.039 48.774 48.774 0 0 0-5.232 0 2.192 2.192 0 0 0-1.736 1.039l-.821 1.316Z"],["stroke-linecap","round","stroke-linejoin","round","d","M16.5 12.75a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM18.75 10.5h.008v.008h-.008V10.5Z"]],template:function(i,n){if(i&1&&(r(0,"app-modal",1,0)(2,"div",2),v(3,wa,1,1,"app-qr-code-canvas",3),v(4,Da,6,3,"button",4),x()()),i&2){let a=pt(1);g("title","attendance.identityCode.title")("alignTop",!0),o(3),B(a.showed?3:-1),o(),B(n.studentMode?4:-1)}},dependencies:[Ze,an,J],encapsulation:2})}return t})();var tr=di(er());var Sa=["modal"],Ta=["video"];function Pa(t,s){t&1&&(r(0,"p",4),d(1),C(2,"translate"),x()),t&2&&(o(),f(" ",h(2,1,"attendance.scan.sending")," "))}function Ia(t,s){if(t&1){let e=N();r(0,"button",8),w("click",function(){S(e);let n=u(2);return T(n.scanAgain())}),d(1),C(2,"translate"),x()}t&2&&(o(),f(" ",h(2,1,"attendance.scan.scanAgain")," "))}function Ma(t,s){if(t&1&&(r(0,"p",6),d(1),C(2,"translate"),x(),v(3,Ia,3,3,"button",7)),t&2){let e=u();Be(e.accepted?"text-emerald-600 dark:text-emerald-400":"text-red-600 dark:text-red-400"),o(),f(" ",h(2,4,e.resultKey)," "),o(2),B(e.accepted?-1:3)}}function Va(t,s){if(t&1&&(r(0,"p",5),d(1),C(2,"translate"),x()),t&2){let e=u();o(),f(" ",h(2,1,e.errorKey)," ")}}
427function La(t,s){t&1&&(r(0,"div",9),l(1,"video",10,1)(3,"div",11),x(),r(4,"p",12),d(5),C(6,"translate"),x()),t&2&&(o(5),f(" ",h(6,1,"attendance.scan.hint")," "))}var P0=(()=>{class t{attendanceScanService;static DETECTION_INTERVAL_MS=300;static DECODE_WIDTH=960;modal;video;scannedCode=null;errorKey=null;sending=!1;resultKey=null;accepted=!1;stream;detector;canvas;timer;detecting=!1;cameraRequest=0;constructor(e){this.attendanceScanService=e}open(){this.modal.show(),this.scanAgain()}scanAgain(){this.scannedCode=null,this.errorKey=null,this.sending=!1,this.resultKey=null,this.accepted=!1,setTimeout(()=>this.startCamera())}onClosed(){this.stopCamera()}ngOnDestroy(){this.stopCamera()}startCamera(){this.stopCamera();let e=this.cameraRequest;if(!navigator.mediaDevices?.getUserMedia){this.errorKey="attendance.scan.cameraUnavailable";return}this.detector=this.createDetector(),navigator.mediaDevices.getUserMedia({video:{facingMode:"environment",width:{ideal:1920},height:{ideal:1080}}}).then(i=>{if(e!==this.cameraRequest||!this.video){i.getTracks().forEach(n=>n.stop());return}this.stream=i,this.applyContinuousFocus(i),this.video.nativeElement.muted=!0,this.video.nativeElement.srcObject=i,this.video.nativeElement.play().catch(()=>{}),this.timer=setInterval(()=>this.detect(),t.DETECTION_INTERVAL_MS)}).catch(i=>{e===this.cameraRequest&&(this.errorKey=i?.name==="NotAllowedError"||i?.name==="SecurityError"?"attendance.scan.cameraDenied":"attendance.scan.cameraUnavailable")})}createDetector(){let e=window.BarcodeDetector;try{return e?new e({formats:["qr_code"]}):null}catch{return null}}applyContinuousFocus(e){let i=e.getVideoTracks()[0];(i.getCapabilities?i.getCapabilities():{}).focusMode?.includes("continuous")&&i.applyConstraints({advanced:[{focusMode:"continuous"}]}).catch(()=>{})}detect(){if(this.scannedCode||this.detecting||!this.video?.nativeElement.videoWidth)return;this.detecting=!0;let e=this.cameraRequest;this.decode().then(i=>{!i||this.scannedCode||e!==this.cameraRequest||(this.scannedCode=i,this.stopCamera(),this.send(this.scannedCode))}).catch(()=>{}).finally(()=>this.detecting=!1)}decode(){let e=this.video.nativeElement;if(this.detector)return this.detector.detect(e).then(E=>E.length?E[0].rawValue:null).catch(()=>(this.detector=null,null));let i=Math.min(1,t.DECODE_WIDTH/e.videoWidth),n=Math.round(e.videoWidth*i),a=Math.round(e.videoHeight*i);this.canvas??=document.createElement("canvas"),this.canvas.width=n,this.canvas.height=a;let c=this.canvas.getContext("2d",{willReadFrequently:!0});c.drawImage(e,0,0,n,a);let p=c.getImageData(0,0,n,a);return Promise.resolve((0,tr.default)(p.data,p.width,p.height,{inversionAttempts:"dontInvert"})?.data??null)}send(e){this.sending=!0,this.attendanceScanService.sendScannedCode(e).subscribe({next:i=>{this.sending=!1,this.accepted=i.outcome!=="REJECTED",this.resultKey=ot.resultKey(i)},error:()=>{this.sending=!1,this.accepted=!1,this.resultKey="attendance.scan.sendFailed"}})}stopCamera(){this.cameraRequest++,clearInterval(this.timer),this.timer=null,this.stream?.getTracks().forEach(e=>e.stop()),this.stream=null}static \u0275fac=function(i){return new(i||t)(F(ot))};static \u0275cmp=H({type:t,selectors:[["app-attendance-scan-modal"]],viewQuery:function(i,n){if(i&1&&(le(Sa,5),le(Ta,5)),i&2){let a;de(a=ue())&&(n.modal=a.first),de(a=ue())&&(n.video=a.first)}},decls:7,vars:4,consts:[["modal",""],["video",""],[3,"closed","title","classes","alignTop"],[1,"flex","flex-col","items-center","gap-4","p-6"],[1,"text-sm","text-gray-600","dark:text-gray-300","text-center"],[1,"text-sm","text-red-600","dark:text-red-400","text-center"],[1,"text-sm","font-semibold","text-center"],["type","button",1,"px-4","py-2.5","rounded-xl","bg-indigo-600","hover:bg-indigo-700","text-white","text-sm","font-medium"],["type","button",1,"px-4","py-2.5","rounded-xl","bg-indigo-600","hover:bg-indigo-700","text-white","text-sm","font-medium",3,"click"],[1,"relative","w-full","aspect-[3/4]","max-h-[70vh]","rounded-2xl","overflow-hidden","bg-gray-900"],["playsinline","","muted","",1,"w-full","h-full","object-cover"],[1,"absolute","
427inset-x-6","top-1/2","-translate-y-1/2","aspect-square","rounded-xl","border-2","border-white/70","pointer-events-none"],[1,"text-xs","text-gray-500","dark:text-gray-400","text-center"]],template:function(i,n){if(i&1){let a=N();r(0,"app-modal",2,0),w("closed",function(){return S(a),T(n.onClosed())}),r(2,"div",3),v(3,Pa,3,3,"p",4)(4,Ma,4,6)(5,Va,3,3,"p",5)(6,La,7,3),x()()}i&2&&(g("title","attendance.scan.title")("classes","max-w-lg")("alignTop",!0),o(3),B(n.sending?3:n.resultKey?4:n.errorKey?5:6))},dependencies:[Nt,Ze,J],encapsulation:2})}return t})();var Na=["userMenu"],Ra=["evaluationsModal"],Oa=["surveysModal"],za=["userPerspectiveModal"],Ga=["impersonateModal"],Ha=["identityCodeModal"],Ua=["attendanceScanModal"];function Wa(t,s){t&1&&l(0,"app-svg",20),t&2&&g("svg-name","bars-3-center-left")("svg-class","w-6 h-6")}function Qa(t,s){t&1&&l(0,"app-svg",20),t&2&&g("svg-name","x")("svg-class","w-6 h-6")}function qa(t,s){t&1&&l(0,"span",29)}function $a(t,s){if(t&1&&(r(0,"span",32),C(1,"translate"),d(2," I "),x()),t&2){let e=u();g("title",h(1,1,"impersonate.badge.tooltip")+" "+e.securityService.getImpersonatorName())}}function Ka(t,s){t&1&&l(0,"span",33)}function Za(t,s){if(t&1&&(M(),r(0,"svg",82),l(1,"path",83),x()),t&2){let e=u(2).$implicit;xt("rotate-90",e.expanded)}}function Xa(t,s){if(t&1){let e=N();r(0,"a",78),w("click",function(){S(e);let n=u().$implicit;return T(n.children?n.expanded=!n.expanded:null)}),r(1,"div",79),l(2,"app-svg",20),x(),r(3,"span",80),d(4),C(5,"translate"),x(),v(6,Za,2,2,":svg:svg",81),x()}if(t&2){let e=u().$implicit,i=u();Be("group flex items-center p-2.5 text-sm font-medium rounded-xl cursor-pointer transition-all duration-200 "+(i.selected(e)?e.children?"font-semibold text-gray-900 dark:text-white bg-white/60 dark:bg-white/10 shadow-sm":"text-indigo-700 dark:text-indigo-300 bg-gradient-to-r from-indigo-100/80 to-indigo-50/50 dark:from-indigo-500/20 dark:to-indigo-500/10 ring-1 ring-indigo-200/60 dark:ring-indigo-500/30 shadow-lg shadow-indigo-500/10":"text-gray-600 dark:text-gray-300 hover:bg-white/60 dark:hover:bg-white/10 hover:shadow-md hover:shadow-gray-200/50 dark:hover:shadow-black/20")),g("routerLink",e.children?null:i.getContextualLink(e.link,e.ignorePerspective)),o(),g("ngClass",i.selected(e)&&!e.children?"bg-indigo-500 text-white shadow-lg shadow-indigo-500/30":"bg-white/50 dark:bg-white/5 text-gray-500 dark:text-gray-400 group-hover:bg-white/70 dark:group-hover:bg-white/10 group-hover:text-gray-700 dark:group-hover:text-gray-200"),o(),g("svg-name",e.svg)("svg-class","h-5 w-5"),o(2),pe(h(5,8,e.key)),o(2),B((e.children==null?null:e.children.length)>0?6:-1)}}function Ya(t,s){t&1&&l(0,"span",86)}function Ja(t,s){if(t&1&&(r(0,"a",84),l(1,"span",85),v(2,Ya,1,0,"span",86),r(3,"span",87),d(4),C(5,"translate"),x()()),t&2){let e=u().$implicit,i=u(2).$implicit,n=u();g("ngClass",n.selected(e)?"text-indigo-700 dark:text-indigo-300 bg-indigo-50/70 dark:bg-indigo-500/10":"text-gray-500 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-200 hover:bg-white/50 dark:hover:bg-white/[0.06]")("routerLink",n.getContextualLink(e.link,i.ignorePerspective)),o(),g("ngClass",n.selected(e)?"bg-indigo-400 dark:bg-indigo-500/60":"bg-gray-300/70 dark:bg-white/10"),o(),B(n.selected(e)?2:-1),o(2),pe(h(5,5,e.key))}}function ex(t,s){if(t&1&&(r(0,"li"),v(1,Ja,6,7,"a",84),x()),t&2){let e=s.$implicit;o(),B(e.enable?1:-1)}}function tx(t,s){if(t&1&&(r(0,"ul",77),re(1,ex,2,1,"li",null,ae),x()),t&2){let e=u().$implicit;o(),oe(e.children)}}function ix(t,s){if(t&1&&(r(0,"li"),v(1,Xa,7,10,"a",76),v(2,tx,3,0,"ul",77),x()),t&2){let e=s.$implicit;o(),B(e.enable&&!e.dontShowOnSidenav?1:-1),o(),B(e.children!=null&&e.children.length&&e.expanded?2:-1)}}function nx(t,s){t&1&&l(0,"span",86)}function rx(t,s){if(t&1){let e=N();r(0,"li")(1,"a",93),w("click",function(){let n=S(e).$implicit,a=u(4);return T(a.navigateToContent(n.entry==null?null:n.entry.id))}),l(2,"span",85),v(3,nx,1,0,"span",86),r(4,"span",87),d(5),C(6,"internationalized"),x()()()}if(t&2){let e=s.$implicit,i=u(4);o(),g("ngClass",i.isConfiguredMenuActive(e.entry==null?null:e.entry.id)?"text-indigo-700 dark:text-indigo-300 bg-indigo-50/70 dark:bg-indigo-500/10":"text-gray-500 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-200 hover:bg-white/50 dark:hover:bg-white/[0.06]"),o(),g("ngClass",i.isConfiguredMenuActive(e.entry==null?null:e.entry.id)?"bg-indigo-400 dark:bg-indigo-500/60":"bg-gray-300/70 dark:bg-white/10"),o(),B(i.isConfiguredMenuActive(e.entry==null?null:e.entry.id)?3:-1),o(2),pe(h(6,4,e.entry==null?null:e.entry.titles))}}function ox(t,s){if(t&1&&(r(0,"ul",77),re(1,rx,7,6,"li",null,ae),x()),t&2){let e=u().$implicit,i=u(2);o(),oe(i.flattenLeafEntries(e.entries))}}function ax(t,s){if(t&1){let e=N();r(0,"li")(1,"a",90),w("click",function(){let n=S(e).$index,a=u(2);return T(a.toggleConfiguredMenu(n))}),r(2,"div",91),d(3),C(4,"internationalized"),x(),r(5,"span",92),d(6),C(7,"internationalized"),x(),M(),r(8,"svg",82),l(9,"path",83),x()(),v(10,ox,3,0,"ul",77),x()}if(t&2){let e,i,n=s.$implicit,a=s.$index,c=u(2);o(),g("ngClass",c.isConfiguredMenuExpanded(a)?"font-semibold text-gray-900 dark:text-white bg-white/60 dark:bg-white/10 shadow-sm":""),o(),g("ngClass",c.isConfiguredMenuExpanded(a)?"bg-indigo-500 text-white shadow-lg shadow-indigo-500/30":"bg-white/50 dark:bg-white/5 text-gray-500 dark:text-gray-400 group-hover:bg-white/70 dark:group-hover:bg-white/10 group-hover:text-gray-700 dark:group-hover:text-gray-200"),o(),f(" ",(e=h(4,7,n.labels))==null?null:e.charAt(0)," "),o(3),pe(h(7,9,n.labels)),o(2),xt("rotate-90",c.isConfiguredMenuExpanded(a)),o(2),B(c.isConfiguredMenuExpanded(a)&&((i=c.flattenLeafEntries(n.entries))!=null&&i.length)?10:-1)}}function xx(t,s){if(t&1&&(r(0,"div",88)(1,"span",89),d(2),C(3,"translate"),x()(),r(4,"ul",47),re(5,ax,11,11,"li",null,ae),x(),l(7,"div",48)),t&2){let e=u();o(2),f(" ",h(3,1,"general.content")," "),o(3),oe(e.configuredMenus)}}function sx(t,s){if(t&1&&(r(0,"li")(1,"a",94)(2,"div",79),l(3,"app-svg",20),x(),r(4,"span"),d(5),C(6,"translate"),x()()()),t&2){let e=s.$implicit,i=u();o(),Be("group flex items-center p-2.5 text-sm font-medium rounded-xl cursor-pointer transition-all duration-200 "+(i.selected(e)?"text-indigo-700 dark:text-indigo-300 bg-gradient-to-r from-indigo-100/80 to-indigo-50/50 dark:from-indigo-500/20 dark:to-indigo-500/10 ring-1 ring-indigo-200/60 dark:ring-indigo-500/30 shadow-lg shadow-indigo-500/10":"text-gray-600 dark:text-gray-300 hover:bg-white/60 dark:hover:bg-white/10 hover:shadow-md hover:shadow-gray-200/50 dark:hover:shadow-black/20")),g("routerLink",i.getContextualLink(e.link,e.ignorePerspective)),o(),g("ngClass",i.selected(e)?"bg-indigo-500 text-white shadow-lg shadow-indigo-500/30":"bg-white/50 dark:bg-white/5 text-gray-500 dark:text-gray-400 group-hover:bg-white/70 dark:group-hover:bg-white/10 group-hover:text-gray-700 dark:group-hover:text-gray-200"),o(),g("svg-name",e.svg)("svg-class","h-5 w-5"),o(2),pe(h(6,7,e.key))}}function cx(t,s){if(t&1){let e=N();r(0,"div",59)(1,"div",95),M(),r(2,"svg",96),l(3,"path",97),x(),te(),r(4,"div",80)(5,"div",98),d(6),C(7,"translate"),x(),r(8,"div",99),d(9),C(10,"translate"),r(11,"strong"),d(12),x()()()(),r(13,"button",100),w("click",function(){S(e);let n=u();return T(n.securityService.deimpersonate())}),M(),r(14,"svg",101),l(15,"path",102),x(),d(16),C(17,"translate"),x()()}if(t&2){let e=u();o(6),pe(h(7,4,"impersonate.banner.title")),o(3),f(" ",h(10,6,"impersonate.banner.as")," "),o(3),pe(e.securityService.getImpersonatorName()),o(4),f(" ",h(17,8,"impersonate.return")," ")}}function lx(t,s){if(t&1&&(r(0,"li")(1,"a",103)(2,"div",104),M(),r(3,"svg",105),l(4,"path",106),x()(),d(5),
427C(6,"translate"),x()()),t&2){let e=u().$implicit,i=u();o(),g("routerLink",i.getContextualLink(e.link,e.ignorePerspective)),o(4),f(" ",h(6,2,e.key)," ")}}function dx(t,s){if(t&1&&v(0,lx,7,4,"li"),t&2){let e=s.$implicit;B(e.enable?0:-1)}}function ux(t,s){if(t&1){let e=N();r(0,"li")(1,"a",107),w("click",function(){S(e),u();let n=pt(115);return T(n.open())}),r(2,"div",104),M(),r(3,"svg",108),l(4,"path",109),x()(),d(5),C(6,"translate"),x()()}t&2&&(o(5),f(" ",h(6,1,"attendance.identityCode.button")," "))}function px(t,s){t&1&&(M(),r(0,"svg",64),l(1,"path",110),x())}function mx(t,s){t&1&&(M(),r(0,"svg",65),l(1,"path",111),x())}function Ex(t,s){if(t&1){let e=N();r(0,"li")(1,"a",107),w("click",function(){S(e);let n=u();return T(n.openUserPerspectiveModal())}),r(2,"div",104),M(),r(3,"svg",105),l(4,"path",112),x()(),d(5),C(6,"translate"),x()()}t&2&&(o(5),f(" ",h(6,1,"userPerspective.title")," "))}function Cx(t,s){if(t&1){let e=N();r(0,"li")(1,"a",107),w("click",function(){S(e);let n=u();return T(n.openImpersonateModal())}),r(2,"div",104),M(),r(3,"svg",105),l(4,"path",106),x()(),d(5),C(6,"translate"),x()()}t&2&&(o(5),f(" ",h(6,1,"impersonate.menuItem")," "))}function hx(t,s){t&1&&l(0,"app-impersonate",null,6)}function fx(t,s){t&1&&(l(0,"div",113),r(1,"div",114)(2,"div",115)(3,"div",41),M(),r(4,"svg",116),l(5,"circle",117)(6,"circle",118),r(7,"defs")(8,"linearGradient",119),l(9,"stop",120)(10,"stop",121)(11,"stop",122),x()()(),te(),r(12,"div",123),l(13,"div",124),x()(),r(14,"div",125),d(15,"Loading..."),x()()())}var T0=(()=>{class t{router;userService;securityService;applicationService;didacticEvaluationService;surveySituationService;loadingService;contentService;applicationNotificationService;userMenu;evaluationsModal;surveysModal;userPerspectiveModal;impersonateModal;identityCodeModal;attendanceScanModal;entries=[];generalEntries=[];accountEntries=[];showSmMenu=!1;hasUnreadNotifications=!1;configuredMenus=[];activeMenuIndex=null;activeSubmenuIndex=null;expandedConfigMenus=new Map;expandedConfigSubmenus=new Map;constructor(e,i,n,a,c,p,E,m,b){this.router=e,this.userService=i,this.securityService=n,this.applicationService=a,this.didacticEvaluationService=c,this.surveySituationService=p,this.loadingService=E,this.contentService=m,this.applicationNotificationService=b,this.router.events.pipe(s0(y=>y instanceof g0)).subscribe(()=>{this.collapseAllExceptCurrent(),this.applicationNotificationService.refreshUnreadCount()})}ngOnInit(){this.loadMenu(),this.loadCustomMenu(),this.applicationService.initTheme(),this.router.events.subscribe(()=>{this.showSmMenu=!1}),this.applicationNotificationService.unreadCount$.subscribe(e=>{this.hasUnreadNotifications=e>0}),this.applicationNotificationService.refreshUnreadCount(),this.securityService.isStudentAndSelectedPerspective()&&(this.getOpenDidacticEvaluations(),this.getOpenSurveys())}ngAfterViewInit(){this.userPerspectiveModal.showIfMultiplePerspectivesAndNotSelected()}get showIdentityCode(){return ot.enabled&&(this.securityService.isTeacherAndSelectedPerspective()||this.securityService.isStudentAndSelectedPerspective())}onClickOutside(e){e.target.closest(".relative")||(this.activeMenuIndex=null,this.activeSubmenuIndex=null)}loadCustomMenu(){this.contentService.getMenus().subscribe(e=>{this.configuredMenus=e})}loadMenu(){this.entries=[],this.applicationService.initContextualMenuEntries(),(this.securityService.isStudentAndSelectedPerspective()||this.securityService.isTeacherAndSelectedPerspective()||this.securityService.isExternalPersonAndSelectedPerspective()||this.securityService.isDoctoralStudentAndSelectedPerspective())&&this.entries.push({key:"menu.home",svg:"menu",link:"dashboard",enable:!0}),this.entries.push(...this.applicationService.CONTEXTUAL_MENU_ENTRIES),this.generalEntries=[{key:"settings.title",svg:"cog",link:"settings",enable:!0}],this.accountEntries=[{key:"menu.personal_data",link:"personal-data",svg:void 0,enable:!0},{key:"settings.view_profile",link:"profile",svg:void 0,enable:!1},{key:"support.title",link:"support",svg:void 0,enable:!0}],this.securityService.getSpecialFeatures().subscribe(e=>{e.features.includes("internship")&&this.entries.push({key:"menu.internships",svg:"office-building",link:"internship",enable:!0})})}getOpenDidacticEvaluations(){ft.config.features.enableEvaluation&&this.didacticEvaluationService.getOpen().subscribe(e=>{let i=e.list;e.totalNumberOfElements>0&&(i=i.filter(n=>n.status.toString()===zt[zt.OPEN]||n.status.toString()===zt[zt.IN_PROGRESS]),this.didacticEvaluationService.getEvaluationResponsePreferences(It.NEVER).subscribe(n=>{let a=n.map(p=>p.evaluationSituation.id),c=i.filter(p=>!a.includes(p.id));c.length&&(this.evaluationsModal.entries=c,this.evaluationsModal.setState(!0))}))})}getOpenSurveys(){ft.config.features.enableSurvey&&this.surveySituationService.get().subscribe(e=>{e.length>0&&(this.surveysModal.entries=e,this.surveysModal.setState(!0))})}selected(e){if(!e)return!1;if(e.children){let i=!1;for(let n of e.children)if(this.selected(n)){i=!0,e.expanded=!0;break}return i}else return window.location.href.split("?")[0].split("/").includes(e.link)}
427collapseAllExceptCurrent(){this.entries.forEach(e=>{this.selected(e)||(e.expanded=!1)})}getContextualLink(e,i){return i?e:this.applicationService.getNavigationPathByUserType()+"/"+e}toggleMenu(e){this.activeMenuIndex=this.activeMenuIndex===e?null:e,this.activeSubmenuIndex=null}toggleSubmenu(e){this.activeSubmenuIndex=this.activeSubmenuIndex===e?null:e}closeMenu(){this.activeMenuIndex=null,this.activeSubmenuIndex=null}navigateToContent(e){this.closeMenu(),this.router.navigate(["content",e]).then()}isConfiguredMenuActive(e){return this.router.url.includes(e)}openUserPerspectiveModal(){this.userPerspectiveModal.setState(!0)}openImpersonateModal(){this.impersonateModal.setState(!0)}toggleConfiguredMenu(e){this.expandedConfigMenus.set(e,!this.expandedConfigMenus.get(e))}toggleConfiguredSubmenu(e){this.expandedConfigSubmenus.set(e,!this.expandedConfigSubmenus.get(e))}isConfiguredMenuExpanded(e){return this.expandedConfigMenus.get(e)||!1}isConfiguredSubmenuExpanded(e){return this.expandedConfigSubmenus.get(e)||!1}flattenLeafEntries(e){if(!e?.length)return[];let i=[];for(let n of e)if(n?.type==="PAGE"&&n?.entry)i.push(n);else if(n?.type==="NODE"){let a=n?.menu?.entries;a?.length&&i.push(...this.flattenLeafEntries(a))}return i}logout(e){e.stopPropagation(),this.userMenu.nativeElement.hidden=!0,this.securityService.logOut()}static \u0275fac=function(i){return new(i||t)(F(ne),F(yt),F(Y),F(rt),F(k0),F(xn),F(Xi),F(gt),F(w0))};static \u0275cmp=H({type:t,selectors:[["app-frame"]],viewQuery:function(i,n){if(i&1&&(le(Na,5),le(Ra,5),le(Oa,5),le(za,5),le(Ga,5),le(Ha,5),le(Ua,5)),i&2){let a;de(a=ue())&&(n.userMenu=a.first),de(a=ue())&&(n.evaluationsModal=a.first),de(a=ue())&&(n.surveysModal=a.first),de(a=ue())&&(n.userPerspectiveModal=a.first),de(a=ue())&&(n.impersonateModal=a.first),de(a=ue())&&(n.identityCodeModal=a.first),de(a=ue())&&(n.attendanceScanModal=a.first)}},hostBindings:function(i,n){i&1&&w("click",function(c){return n.onClickOutside(c)},yi)},decls:118,vars:46,consts:[["userMenu",""],["surveysModal",""],["evaluationsModal",""],["userPerspectiveModal",""],["identityCodeModal",""],["attendanceScanModal",""],["impersonateModal",""],[1,"antialiased","min-h-screen","bg-gradient-to-br","from-gray-50","via-gray-100","to-gray-50","dark:from-slate-950","dark:via-slate-900","dark:to-slate-950","transition-colors","duration-300"],[1,"pointer-events-none","fixed","inset-0","overflow-hidden","z-0","isolate"],[1,"absolute","inset-0","opacity-[0.035]","dark:opacity-[0.025]","bg-[url('/assets/imgs/noise.png')]","mix-blend-soft-light","dark:mix-blend-overlay"],[1,"absolute","-top-20","-left-20","h-[250px]","w-[250px]","md:h-[350px]","md:w-[350px]","lg:h-[450px]","lg:w-[450px]","rounded-full","bg-indigo-200/35","dark:bg-indigo-600/25","blur-2xl","dark:blur-3xl","mix-blend-multiply","dark:mix-blend-normal","animate-blob"],[1,"absolute","-top-10","right-1/4","h-[200px]","w-[200px]","md:h-[280px]","md:w-[280px]","lg:h-[380px]","lg:w-[380px]","rounded-full","bg-amber-200/25","dark:bg-fuchsia-500/20","blur-2xl","dark:blur-3xl","mix-blend-multiply","dark:mix-blend-normal","animate-blob","animation-delay-2000"],[1,"absolute","bottom-1/4","left-10","h-[200px]","w-[200px]","md:h-[280px]","md:w-[280px]","lg:h-[350px]","lg:w-[350px]","rounded-full","bg-violet-200/25","dark:bg-violet-600/25","blur-2xl","dark:blur-3xl","mix-blend-multiply","dark:mix-blend-normal","animate-blob","animation-delay-3000"],[1,"absolute","-bottom-20","left-1/2","h-[250px]","w-[250px]","md:h-[350px]","md:w-[350px]","lg:h-[450px]","lg:w-[450px]","rounded-full","bg-fuchsia-200/20","dark:bg-purple-500/20","blur-2xl","dark:blur-3xl","mix-blend-multiply","dark:mix-blend-normal","animate-blob","animation-delay-5000"],[1,"absolute","top-1/2","left-48","h-[180px]","w-[180px]","md:h-[250px]","md:w-[250px]","lg:h-[320px]","lg:w-[320px]","rounded-full","bg-indigo-200/20","dark:bg-indigo-500/15","blur-2xl","dark:blur-3xl","mix-blend-multiply","dark:mix-blend-normal","animate-blob","animation-delay-1000"],[1,"fixed","top-0","left-0","right-0","h-6","z-50","bg-gradient-to-b","from-gray-100/80","via-gray-100/50","to-transparent","dark:from-slate-950/80","dark:via-slate-950/50","dark:to-transparent","pointer-events-none"],[1,"fixed","left-4","right-4","top-4","z-40","max-w-[1408px]","mx-auto","bg-white/30","dark:bg-slate-900/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","rounded-2xl","shadow-[inset_0_0_20px_rgba(255,255,255,0.4),0_8px_32px_rgba(0,0,0,0.06)]","dark:shadow-[0_8px_32px_rgba(0,0,0,0.3)]"],[1,"w-full","flex","flex-wrap","justify-between","items-center","px-4","py-2.5","lg:px-6"],[1,"flex","justify-start","items-center"],["data-tour","frame-hamburger","data-drawer-target","drawer-navigation","data-drawer-toggle","drawer-navigation","aria-controls","drawer-navigation",1,"p-2","mr-2","rounded-xl","cursor-pointer","lg:hidden","text-gray-600","dark:text-gray-400","hover:text-gray-900","dark:hover:text-white","hover:bg-white/60","dark:hover:bg-white/10","active:scale-95","transition-all","duration-200",3,"click"],[3,"svg-name","svg-class"],[1,"sr-only"],[1,"flex","justify-between","items-center","mr-4","gap-2"],[3,"full","classes"],[1,"self-center","text-2xl","font-semibold","whitespace-nowrap","bg-gradient-to-r","from-gray-900","via-gray-700","to-gray-900","dark:from-white","dark:via-gray-200","dark:to-white","bg-clip-text","text-transparent","hidden","sm:block"],[1,"flex","items-center","lg:order-2","mr-4","gap-2"],["data-tour","frame-notifications","type","button","data-dropdown-toggle","notification-dropdown",1,"relative","p-2.5","rounded-xl","text-gray-500","dark:text-gray-400","hover:text-gray-900","dark:hover:text-white","hover:bg-white/60","dark:hover:bg-white/10","active:scale-95","transition-all","duration-200","group",3,"routerLink","title"],["aria-hidden","true","fill","currentColor","viewBox","0 0 20 20","xmlns","http://www.w3.org/2000/svg",1,"w-6","h-6","transition-transform","group-hover:scale-110"],["d","M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z"],[1,"absolute","top-2","right-2","h-2","w-2","rounded-full","bg-rose-500","ring-2","ring-white","dark:ring-slate-900","animate-pulse"],["data-tour","frame-user-menu-btn","type","button","id","user-menu-button",1,"relative","p-0.5","rounded-xl","bg-white/50","dark:bg-white/10","border","border-gray-200/60","dark:border-white/15","hover:bg-white/70","dark:hover:bg-white/20","hover:border-gray-300/80","dark:hover:border-white/25","active:scale-95","shadow-sm","hover:shadow-md","transition-all","duration-200",3,"appTriggerFor"],[3,"size"],[1,"absolute","-bottom-0.5","-right-0.5","h-3.5","w-3.5","rounded-full","bg-amber-500","ring-2","ring-white","dark:ring-slate-900","flex","items-center","justify-center","text-[8px]","font-bold","text-white","animate-pulse",3,"title"],[1,"absolute","-bottom-0.5","-right-0.5","h-2.5","w-2.5","rounded-full","bg-emerald-500","ring-2","ring-white","dark:ring-slate-900"],["data-tour","frame-sidebar","aria-label","Sidenav","id","drawer-navigation",1,"fixed","top-24","w-64","h-[calc(100vh-7rem)]","z-30","left-[max(1rem,calc(50%-720px+1rem))]","transition-transform","-translate-x-full","lg:translate-x-0","bg-white/30","dark:bg-slate-900/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","rounded-2xl","shadow-[inset_0_0_30px_rgba(255,255,255,0.5)]","dark:shadow-none","overflow-hidden","hidden","lg:block"],[1,"absolute","
427inset-0","pointer-events-none"],[1,"absolute","top-20","left-0","w-32","h-32","bg-indigo-400/20","dark:bg-indigo-500/10","rounded-full","blur-3xl"],[1,"absolute","bottom-40","left-10","w-24","h-24","bg-purple-400/20","dark:bg-purple-500/10","rounded-full","blur-3xl"],[1,"relative","py-5","px-3","h-full","overflow-y-auto","bg-transparent","scrollbar-custom","scrollbar-none","hover:scrollbar-thin","scrollbar-thumb-gray-300/50","hover:scrollbar-thumb-gray-400","dark:scrollbar-thumb-gray-600/50","dark:hover:scrollbar-thumb-gray-500"],[1,"mb-4","p-2.5","rounded-xl","bg-gradient-to-br","from-white/60","to-white/30","dark:from-white/10","dark:to-white/5","border","border-white/60","dark:border-white/10","shadow-sm"],[1,"flex","items-center","gap-3"],[1,"relative"],[1,"h-9","w-9","rounded-lg","bg-gradient-to-br","from-indigo-500","to-purple-600","flex","items-center","justify-center","text-white","font-semibold","text-sm","shadow-lg","shadow-indigo-500/30"],[1,"absolute","-bottom-0.5","-right-0.5","h-3","w-3","rounded-full","bg-emerald-500","border-2","border-white","dark:border-slate-800"],[1,"flex-1","min-w-0"],[1,"text-sm","font-semibold","text-gray-900","dark:text-white","truncate"],[1,"text-xs","text-gray-500","dark:text-gray-400","truncate"],[1,"space-y-1"],[1,"my-4","h-px","bg-gradient-to-r","from-transparent","via-gray-300/50","dark:via-white/10","to-transparent"],[1,"group","flex","items-center","p-2.5","text-sm","font-medium","rounded-xl","cursor-pointer","transition-all","duration-200","text-red-600","dark:text-red-400","hover:bg-red-100/50","dark:hover:bg-red-500/10","hover:shadow-md","hover:shadow-red-500/10",3,"click"],[1,"mr-3","flex-shrink-0","h-8","w-8","rounded-lg","flex","items-center","justify-center","transition-all","duration-200","bg-red-100/50","dark:bg-red-500/10","text-red-500","group-hover:bg-red-500","group-hover:text-white","group-hover:shadow-lg","group-hover:shadow-red-500/30"],[1,"min-h-[calc(100vh-72px)]","pt-24","px-4","pb-6","relative","z-[1]","max-w-[1440px]","mx-auto","lg:pl-72"],[3,"inside"],[3,"identityCode","close","entries","generalEntries","accountEntries","showIdentityCode","configuredMenus","show","navigateToContent"],["hidden","","appMenu","",1,"mt-4","w-64","z-[9999]","bg-white/50","dark:bg-slate-800/50","backdrop-blur-2xl","rounded-2xl","shadow-[0_8px_32px_rgba(0,0,0,0.08)]","dark:shadow-[0_8px_32px_rgba(0,0,0,0.4)]","ring-1","ring-white/60","dark:ring-white/10","border","border-white/40","dark:border-white/5","overflow-hidden"],[1,"relative","px-3","py-3","bg-gradient-to-br","from-indigo-500/10","via-purple-500/10","to-pink-500/10","dark:from-indigo-500/20","dark:via-purple-500/20","dark:to-pink-500/20"],[1,"flex","items-center","gap-2.5"],[1,"h-8","w-8","rounded-lg","bg-gradient-to-br","from-indigo-500","to-purple-600","flex","items-center","justify-center","text-white","text-sm","font-semibold","shadow-lg","shadow-indigo-500/30"],[1,"text-sm","font-semibold","text-gray-900","dark:text-white","truncate",3,"title"],[1,"mx-2","mt-2","p-2.5","rounded-lg","border","border-amber-300/60","dark:border-amber-500/40","bg-amber-50/80","dark:bg-amber-500/10"],["aria-labelledby","dropdownInformationButton",1,"py-1.5","px-1.5"],[1,"px-2.5","py-2"],[1,"flex","items-center","gap-2.5","cursor-pointer","group",3,"click"],[1,"h-7","w-7","rounded-md","bg-white/50","dark:bg-white/5","flex","items-center","justify-center","transition-colors","group-hover:bg-white/70","dark:group-hover:bg-white/10"],["fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4","text-amber-500"],["fill","currentColor","viewBox","0 0 20 20",1,"w-4","h-4","text-indigo-500"],[1,"flex-1","text-sm","text-gray-700","dark:text-gray-200"],["type","checkbox",1,"sr-only","peer",3,"change","checked"],[1,"w-9","h-5","rounded-full","transition-all","duration-300","bg-gray-200","dark:bg-slate-700","peer-checked:bg-gradient-to-r","peer-checked:from-indigo-500","peer-checked:to-purple-500"],[1,"absolute","top-0.5","left-0.5","h-4","w-4","rounded-full","transition-all","duration-300","bg-white","shadow-md","peer-checked:translate-x-4"],[1,"p-1.5","border-t","border-gray-200/50","dark:border-white/10"],[1,"flex","items-center","gap-2.5","px-2.5","py-2","text-sm","rounded-lg","cursor-pointer","text-red-600","dark:text-red-400","hover:bg-red-100/50","dark:hover:bg-red-500/10","transition-all","duration-200","group",3,"click"],[1,"h-7","w-7","rounded-md","bg-red-100/50","dark:bg-red-500/10","flex","items-center","justify-center","transition-all","group-hover:bg-red-500","group-hover:text-white"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-3.5","h-3.5"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"],[3,"scanRequested"],[3,"class","routerLink"],[1,"mt-1","ml-[1.375rem]","space-y-px","border-l-[1.5px]","border-gray-300/60","dark:border-white/10"],[3,"click","routerLink"],[1,"mr-3","flex-shrink-0","h-8","w-8","rounded-lg","flex","items-center","justify-center","transition-all","duration-200",3,"ngClass"],[1,"flex-1"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","transition-transform","duration-200","text-gray-400","dark:text-gray-500",3,"rotate-90"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","transition-transform","duration-200","text-gray-400","dark:text-gray-500"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M9 5l7 7-7 7"],[1,"relative","flex","items-center","ml-3.5","px-2.5","py-[7px]","text-[13px]","font-medium","rounded-lg","cursor-pointer","transition-all","duration-200",3,"ngClass","routerLink"],[1,"absolute","-left-3.5","top-1/2","w-3","h-px",3,"ngClass"],[1,"absolute","-left-[calc(0.875rem+1.5px)]","top-1/2","-translate-y-1/2","h-[7px]","w-[7px]","rounded-full","bg-indigo-500","dark:bg-indigo-400","ring-2","ring-white","dark:ring-slate-900"],[1,"truncate"],[1,"px-3","mb-2","mt-1"],[1,"text-[11px]","font-semibold","uppercase","tracking-wider","text-gray-400","dark:text-gray-500"],[1,"group","flex","items-center","p-2.5","text-sm","font-medium","rounded-xl","cursor-pointer","transition-all","duration-200","text-gray-600","dark:text-gray-300","hover:bg-white/60","dark:hover:bg-white/10","hover:shadow-md","hover:shadow-gray-200/50","dark:hover:shadow-black/20",3,"click","ngClass"],[1,"mr-3","flex-shrink-0","h-8","w-8","rounded-lg","flex","items-center","justify-center","transition-all","duration-200","text-xs","font-bold","uppercase",3,"ngClass"],[1,"flex-1","truncate"],[1,"relative","flex","items-center","ml-3.5","px-2.5","py-[7px]","text-[13px]","font-medium","rounded-lg","cursor-pointer","transition-all","duration-200",3,"click","ngClass"],[3,"routerLink"],[1,"flex","items-start","gap-2","text-xs","text-amber-900","dark:text-amber-200"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","stroke-width","2",1,"w-4","h-4","mt-0.5","flex-shrink-0"],["stroke-linecap","round","stroke-linejoin","round","d","M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"],[1,"font-semibold"],[1,"mt-0.5","opacity-80"],[1,"mt-1.5","w-full","inline-flex","items-center","justify-center","gap-1.5","px-2.5","py-1.5","rounded-md","text-xs","font-semibold","bg-amber-500","hover:bg-amber-600","text-white","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","stroke-width","2.5",1,"w-3.5","h-3.5"],["stroke-linecap","round","stroke-linejoin","round","d","M10 19l-7-7m0 0l7-7m-7 7h18"],[1,"flex","items-center","gap-2.5","px-2.5","py-2","text-sm","rounded-lg","text-gray-700","dark:text-gray-200","hover:bg-white/70","dark:hover:bg-white/10","transition-all","duration-200",3,"routerLink"],[1,"h-7","w-7","rounded-md","bg-white/50","dark:bg-white/5","flex","items-center","justify-center"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-3.5","h-3.5","text-gray-500"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"],[1,"flex","items-center","gap-2.5","px-2.5","py-2","text-sm","rounded-lg","cursor-pointer","text-gray-700","dark:text-gray-200","hover:bg-white/70","dark:hover:bg-white/10","transition-all","duration-200",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","stroke-width","1.5",1,"w-3.5","h-3.5","text-gray-500"],["stroke-linecap","round","stroke-linejoin","round","d","M3.75 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 3.75 9.375v-4.5ZM3.75 14.625c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5a1.
427125 1.125 0 0 1-1.125-1.125v-4.5ZM13.5 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 13.5 9.375v-4.5ZM13.5 14.625h3v3h-3v-3ZM19.5 19.5h-3v-3h3v3Z"],["fill-rule","evenodd","d","M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z","clip-rule","evenodd"],["d","M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M8 7h12m0 0l-4-4m4 4l-4 4m0 6H4m0 0l4 4m-4-4l4-4"],[1,"fixed","inset-0","bg-white/30","dark:bg-slate-950/30","backdrop-blur-md","transition-opacity","z-50"],["role","status",1,"fixed","-translate-x-1/2","-translate-y-1/2","top-1/2","left-1/2","z-50"],[1,"p-6","rounded-3xl","bg-white/60","dark:bg-slate-800/60","backdrop-blur-2xl","ring-1","ring-white/60","dark:ring-white/10","shadow-2xl","shadow-indigo-500/10"],["viewBox","0 0 100 100",1,"w-16","h-16","animate-spin"],["cx","50","cy","50","r","40","stroke","currentColor","stroke-width","8","fill","none",1,"text-gray-200","dark:text-gray-700"],["cx","50","cy","50","r","40","stroke","url(#gradient)","stroke-width","8","fill","none","stroke-linecap","round","stroke-dasharray","180 999"],["id","gradient","x1","0%","y1","0%","x2","100%","y2","0%"],["offset","0%","stop-color","#6366f1"],["offset","50%","stop-color","#a855f7"],["offset","100%","stop-color","#ec4899"],[1,"absolute","inset-0","flex","items-center","justify-center"],[1,"h-6","w-6","rounded-full","bg-gradient-to-br","from-indigo-500","to-purple-600","animate-pulse"],[1,"mt-4","text-sm","font-medium","text-gray-600","dark:text-gray-300","text-center"]],template:function(i,n){if(i&1){let a=N();r(0,"div",7)(1,"div",8),l(2,"div",9)(3,"div",10)(4,"div",11)(5,"div",12)(6,"div",13)(7,"div",14),x(),l(8,"div",15),r(9,"nav",16)(10,"div",17)(11,"div",18)(12,"button",19),w("click",function(){return S(a),T(n.showSmMenu=!n.showSmMenu)}),v(13,Wa,1,2,"app-svg",20),v(14,Qa,1,2,"app-svg",20),r(15,"span",21),d(16,"Toggle sidebar"),x()(),r(17,"div",22),l(18,"app-logo",23),r(19,"span",24),d(20," smartums "),x()()(),r(21,"div",25)(22,"a",26),C(23,"translate"),M(),r(24,"svg",27),l(25,"path",28),x(),v(26,qa,1,0,"span",29),x(),te(),r(27,"div")(28,"button",30),l(29,"app-avatar",31),v(30,$a,3,3,"span",32)(31,Ka,1,0,"span",33),x()()()()(),r(32,"aside",34)(33,"div",35),l(34,"div",36)(35,"div",37),x(),r(36,"div",38)(37,"div",39)(38,"div",40)(39,"div",41)(40,"div",42),d(41),x(),l(42,"span",43),x(),r(43,"div",44)(44,"div",45),d(45),x(),r(46,"div",46),d(47," Online "),x()()()(),r(48,"ul",47),re(49,ix,3,2,"li",null,ae),x(),l(51,"div",48),v(52,xx,8,3),r(53,"ul",47),re(54,sx,7,9,"li",null,ae),r(56,"li")(57,"a",49),w("click",function(){return S(a),T(n.securityService.logOut())}),r(58,"div",50),l(59,"app-svg",20),x(),r(60,"span"),d(61),C(62,"translate"),x()()()()()(),r(63,"main",51),l(64,"sflib-system-announcement-banner")(65,"app-breadcrumb")(66,"router-outlet"),x(),l(67,"app-footer",52),x(),r(68,"app-sm-frame",53),w("identityCode",function(){S(a);let p=pt(115);return T(p.open())})("close",function(){return S(a),T(n.showSmMenu=!1)}),x(),r(69,"div",54,0)(71,"div",55)(72,"div",56)(73,"div",57),d(74),x(),r(75,"div",44)(76,"div",58),d(77),x(),r(78,"div",46),d(79),x()()()(),v(80,cx,18,10,"div",59),r(81,"ul",60),re(82,dx,1,1,null,null,ae),v(84,ux,7,3,"li"),r(85,"li",61)(86,"label",62),w("click",function(p){return S(a),T(p.stopPropagation())}),r(87,"div",63),v(88,px,2,0,":svg:svg",64)(89,mx,2,0,":svg:svg",65),x(),r(90,"span",66),d(91),C(92,"translate"),x(),r(93,"div",41)(94,"input",67),w("change",function(){return S(a),T(n.applicationService.setTheme(n.applicationService.getTheme()==="dark"?"light":"dark"))}),x(),l(95,"div",68)(96,"div",69),x()()(),v(97,Ex,7,3,"li"),v(98,Cx,7,3,"li"),x(),r(99,"div",70)(100,"a",71),w("click",function(p){return S(a),T(n.logout(p))}),r(101,"div",72),M(),r(102,"svg",73),l(103,"path",74),x()(),d(104),C(105,"translate"),x()()(),te(),l(106,"app-open-surveys-modal",null,1)(108,"app-evaluations-modal",null,2)(110,"app-user-perspective",null,3),v(112,hx,2,0,"app-impersonate"),v(113,fx,16,0),r(114,"app-identity-code-modal",75,4),w("scanRequested",function(){S(a);let p=pt(117);return T(p.open())}),x(),l(116,"app-attendance-scan-modal",null,5)}if(i&2){let a,c,p=pt(70);o(13),B(n.showSmMenu?-1:13),o(),B(n.showSmMenu?14:-1),o(4),g("full",!1)("classes","h-8"),o(4),g("routerLink",n.getContextualLink("notifications"))("title",h(23,38,"general.notifications")),o(4),B(n.hasUnreadNotifications?26:-1),o(2),g("appTriggerFor",p),o(),g("size",7),o(),B(n.securityService.isImpersonating()?30:31),o(11),f(" ",((a=n.userService.getName())==null?null:a.charAt(0))||"U"," "),o(4),f(" ",n.userService.getName()," "),o(4),oe(n.entries),o(3),B(n.configuredMenus!=null&&n.configuredMenus.length?52:-1),o(2),oe(n.generalEntries),o(5),g("svg-name","chevron-left")("svg-class","h-5 w-5"),o(2),pe(h(62,40,"general.logout")),o(6),g("inside",!0),o(),g("entries",n.entr
427ies)("generalEntries",n.generalEntries)("accountEntries",n.accountEntries)("showIdentityCode",n.showIdentityCode)("configuredMenus",n.configuredMenus)("show",n.showSmMenu)("navigateToContent",n.navigateToContent.bind(n)),o(6),f(" ",((c=n.userService.getName())==null?null:c.charAt(0))||"U"," "),o(2),g("title",n.userService.getName()),o(),f(" ",n.userService.getName()," "),o(2),f(" @",n.userService.getUsername()," "),o(),B(n.securityService.isImpersonating()?80:-1),o(2),oe(n.accountEntries),o(2),B(n.showIdentityCode?84:-1),o(4),B(n.applicationService.getTheme()==="dark"?88:89),o(3),f(" ",h(92,42,"applicationSettings.theme.dark")," "),o(3),g("checked",n.applicationService.getTheme()==="dark"),o(3),B(n.securityService.getUserPerspectives().length>1?97:-1),o(),B(n.securityService.hasRole("ROLE_CAN_IMPERSONATE")&&!n.securityService.isImpersonating()?98:-1),o(6),f(" ",h(105,44,"general.logout")," "),o(8),B(n.securityService.hasRole("ROLE_CAN_IMPERSONATE")?112:-1),o(),B(n.loadingService.appLoading?113:-1)}},dependencies:[_t,Oe,nt,qn,y0,Qn,Wn,nn,rn,on,v0,Kn,Bt,Zn,Xn,Hi,Jn,P0,mt,J],styles:["@keyframes _ngcontent-%COMP%_blob{0%,to{transform:translate(0) scale(1)}25%{transform:translate(30px,-40px) scale(1.1)}50%{transform:translate(-25px,25px) scale(.9)}75%{transform:translate(35px,15px) scale(1.05)}}.animate-blob[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_blob 12s ease-in-out infinite}.animation-delay-1000[_ngcontent-%COMP%]{animation-delay:1s}.animation-delay-2000[_ngcontent-%COMP%]{animation-delay:2s}.animation-delay-3000[_ngcontent-%COMP%]{animation-delay:3s}.animation-delay-4000[_ngcontent-%COMP%]{animation-delay:4s}.animation-delay-5000[_ngcontent-%COMP%]{animation-delay:5s}.animate-in[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_animateIn .2s ease-out}.fade-in[_ngcontent-%COMP%]{--tw-enter-opacity: 0}.slide-in-from-top-2[_ngcontent-%COMP%]{--tw-enter-translate-y: -.5rem}.slide-in-from-left-2[_ngcontent-%COMP%]{--tw-enter-translate-x: -.5rem}@keyframes _ngcontent-%COMP%_animateIn{0%{opacity:var(--tw-enter-opacity, 1);transform:translate(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0))}to{opacity:1;transform:translate(0)}}"]})}return t})();var ir=(()=>{class t{router;securityService;constructor(e,i){this.router=e,this.securityService=i,this.securityService.isAuthenticated()?this.securityService.processAuthenticatedUserNavigation():this.securityService.blindAuthenticate().subscribe(n=>{if(n===!1){this.router.navigate(["landing"]).then();return}else this.securityService.processAuthenticatedUserNavigation()})}static \u0275fac=function(i){return new(i||t)(F(ne),F(Y))};static \u0275cmp=H({type:t,selectors:[["app-route"]],decls:0,vars:0,template:function(i,n){},encapsulation:2})}return t})();function gx(t,s){t&1&&(r(0,"a",14),d(1),C(2,"translate"),x()),t&2&&(g("routerLink","/auth/register"),o(),f(" ",h(2,2,"landing.navbar.register")," "))}var nr=(()=>{class t{env=Fe.ENV;constructor(){}ngOnInit(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=H({type:t,selectors:[["app-social-media-feed"]],decls:50,vars:29,consts:[[1,"min-h-screen","bg-slate-950","text-white"],[1,"pointer-events-none","fixed","inset-0","overflow-hidden"],[1,"absolute","-top-24","left-1/2","h-[520px]","w-[520px]","-translate-x-1/2","rounded-full","bg-indigo-600/25","blur-3xl"],[1,"absolute","top-64","-left-24","h-[420px]","w-[420px]","rounded-full","bg-fuchsia-500/20","blur-3xl"],[1,"absolute","bottom-0","right-0","h-[520px]","w-[520px]","rounded-full","bg-cyan-400/15","blur-3xl"],[1,"relative","z-20","border-b","border-white/10","bg-slate-950/60","backdrop-blur"],[1,"mx-auto","flex","max-w-7xl","items-center","justify-between","px-4","py-4","sm:px-6","lg:px-8"],["href","/",1,"flex","items-center","gap-3"],[1,"grid","h-10","w-10","place-items-center","rounded-2xl","bg-white/10","ring-1","ring-white/15"],[3,"full","alwaysDark","classes"],[1,"leading-tight"],[1,"text-lg","font-semibold","tracking-tight"],[1,"text-xs","text-white/60"],[1,"hidden","items-center","gap-3","md:flex"],[1,"rounded-xl","px-4","py-2","text-sm","font-medium","text-white/80","hover:text-white",3,"routerLink"],[1,"inline-flex","items-center","justify-center","rounded-xl","bg-white","px-4","py-2","text-sm","font-semibold","text-slate-900","hover:bg-white/90",3,"routerLink"],[1,"relative","md:hidden","group"],[1,"list-none","inline-flex","cursor-pointer","items-center","justify-center","rounded-xl","p-2","text-white/80","ring-1","ring-white/15","hover:bg-white/5","focus:outline-none","focus-visible:ring-2","focus-visible:ring-white/30"],["fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6","group-open:hidden"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","1.5","d","M4 6h16M4 12h16M4 18h16"],["fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6","hidden","group-open:block"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","1.5","d","M6 18L18 6M6 6l12 12"],[1,"absolute","right-0","mt-3","w-[min(92vw,22rem)]","overflow-hidden","rounded-2xl","bg-slate-950/85","backdrop-blur","ring-1","ring-white/10","shadow-2xl","z-50"],[1,"p-3"],["href","/landing#features",1,"block","rounded-xl","px-3","py-2","text-sm","text-white/85","hover:bg-white/5"],["href","/landing#how",1,"block","rounded-xl","px-3","py-2","text-sm","text-white/85","hover:bg-white/5"],["href","/landing#testimonials",1,"block","rounded-xl","px-3","py-2","text-sm","text-white/85","hover:bg-white/5"],["href","/landing#faq",1,"block","rounded-xl","px-3","py-2","text-sm","text-white/85","hover:bg-white/5"],[1,"relative","z-10","mx-auto","max-w-7xl","px-4","sm:px-6","lg:px-8","py-6","pb-20","dark"],[1,"fixed","bottom-6","left-0","right-0","z-20","flex","justify-center"],["href","/",1,"inline-flex","items-center","gap-1.5","px-6","py-2.5","rounded-xl","text-sm","font-semibold","bg-slate-800/50","backdrop-blur-xl","border","border-white/10","text-white","shadow-lg","shadow-black/30","hover:bg-white/10","active:scale-[0.98]","transition-all","duration-200"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"]],template:function(i,n){i&1&&(r(0,"div",0)(1,"div",1),l(2,"div",2)(3,"div",3)(4,"div",4),x(),r(5,"nav",5)(6,"div",6)(7,"a",7)(8,"div",8),l(9,"app-logo",9),x(),r(10,"div",10)(11,"div",11),d(12,"smartUMS"),x(),r(13,"div",12),d(14),C(15,"translate"),x()()(),r(16,"div",13),v(17,gx,3,4,"a",14),r(18,"a",15),d(19),C(20,"translate"),x()(),r(21,"details",16)(22,"summary",17),C(23,"translate"),M(),r(24,"svg",18),l(25,"path",19),x(),r(26,"svg",20),l(27,"path",21),x()(),te(),r(28,"div",22)(29,"div",23)(30,"a",24),d(31),C(32,"translate"),x(),r(33,"a",25),d(34),C(35,"translate"),x(),r(36,"a",26),d(37),C(38,"translate"),x(),r(39,"a",27),d(40),
427C(41,"translate"),x()()()()()(),r(42,"div",28),l(43,"app-social-media-post"),x(),r(44,"div",29)(45,"a",30),M(),r(46,"svg",31),l(47,"path",32),x(),d(48),C(49,"translate"),x()()()),i&2&&(o(9),g("full",!1)("alwaysDark",!0)("classes","h-6"),o(5),pe(h(15,13,"landing.navbar.platform_subtitle")),o(3),B(n.env.oauth2||n.env.saml2||n.env.externalApiAuthentication?-1:17),o(),g("routerLink","/auth/login"),o(),f(" ",h(20,15,"landing.navbar.login")," "),o(3),vt("aria-label",h(23,17,"landing.navbar.open_menu")),o(9),f(" ",h(32,19,"landing.navbar.features")," "),o(3),f(" ",h(35,21,"landing.navbar.how_it_works")," "),o(3),f(" ",h(38,23,"landing.navbar.testimonials")," "),o(3),f(" ",h(41,25,"landing.navbar.faq")," "),o(8),f(" ",h(49,27,"back")," "))},dependencies:[sn,Oe,nt,J],encapsulation:2})}return t})();function vx(t,s){if(t&1&&l(0,"img",12),t&2){let e=u();g("src","/assets/imgs/logo-"+e.environment.universityCode+"-white.png",ye)}}function Bx(t,s){if(t&1&&l(0,"img",12),t&2){let e=u();g("src","/assets/imgs/logo-"+e.environment.universityCode+"-dark.png",ye)}}var rr=(()=>{class t{route;signatureService;securityStorage;router;notificationService;applicationStorage;environment=Fe.ENV;constructor(e,i,n,a,c,p){this.route=e,this.signatureService=i,this.securityStorage=n,this.router=a,this.notificationService=c,this.applicationStorage=p}ngOnInit(){let e=this.securityStorage.getStoredByKey(ke.stsCodeVerifier);if(e==null){this.notificationService.error("error","stsSignature.codeVerifierNull",!0),this.router.navigate(["/"]).then();return}let i=this.route.snapshot.queryParams.code;if(i==null){this.notificationService.error("error","stsSignature.codeNull",!0),this.router.navigate(["/"]).then();return}this.signatureService.processStsTokenCode(e,i).subscribe(()=>{let n=this.securityStorage.getStoredByKey(ke.redirect);n?(this.securityStorage.removeByKey(ke.redirect),window.location.href=n):this.router.navigate(["/"]).then()})}getTheme(){return this.applicationStorage.getStoredTheme()??"light"}static \u0275fac=function(i){return new(i||t)(F(Le),F(cn),F(ke),F(ne),F(Ke),F(et))};static \u0275cmp=H({type:t,selectors:[["app-sts-signature"]],decls:33,vars:13,consts:[[1,"min-h-screen","flex","flex-col","bg-gradient-to-br","from-gray-50","via-gray-100","to-gray-50","dark:from-slate-950","dark:via-slate-900","dark:to-slate-950"],[1,"fixed","inset-0","overflow-hidden","pointer-events-none"],[1,"absolute","-top-32","-left-32","w-96","h-96","bg-indigo-200/40","dark:bg-indigo-600/20","rounded-full","blur-3xl"],[1,"absolute","-top-20","right-1/4","w-80","h-80","bg-purple-200/30","dark:bg-purple-600/15","rounded-full","blur-3xl"],[1,"absolute","-bottom-32","-right-32","w-96","h-96","bg-pink-200/30","dark:bg-pink-600/15","rounded-full","blur-3xl"],[1,"absolute","bottom-1/4","-left-20","w-72","h-72","bg-blue-200/30","dark:bg-blue-600/15","rounded-full","blur-3xl"],[1,"auth-section-center"],[1,"w-full","max-w-md"],[1,"relative","rounded-2xl","overflow-hidden","bg-white/70","dark:bg-slate-800/70","backdrop-blur-xl","ring-1","ring-white/60","dark:ring-white/10","shadow-[0_8px_32px_rgba(0,0,0,0.08)]","dark:shadow-[0_8px_32px_rgba(0,0,0,0.3)]"],[1,"auth-header"],[1,"flex","items-center","justify-center","gap-4"],["href","/",1,"flex-shrink-0"],["alt","UniversityLogo",1,"h-12","w-auto","object-contain","dark:brightness-110",3,"src"],[1,"h-10","w-px","bg-gray-300/70","dark:bg-white/20"],["href","/",1,"flex","items-center","gap-2"],[3,"full","classes"],[1,"text-lg","font-bold","text-gray-900","dark:text-white"],[1,"p-8"],[1,"text-center"],[1,"mx-auto","mb-4","h-12","w-12","rounded-xl","bg-indigo-100/60","dark:bg-indigo-500/20","flex","items-center","justify-center"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","1.5",1,"h-6","w-6","text-indigo-600","dark:text-indigo-400"],["stroke-linecap","round","stroke-linejoin","round","d","M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"],[1,"text-xl","font-semibold","text-gray-900","dark:text-white"],[1,"mt-2","text-sm","text-gray-500","dark:text-gray-400"],[1,"mt-4"],["color","gray"]],template:function(i,n){i&1&&(r(0,"div",0)(1,"div",1),l(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),x(),r(6,"section",6)(7,"div",7)(8,"div",8)(9,"div",9)(10,"div",10)(11,"a",11),v(12,vx,1,1,"img",12),v(13,Bx,1,1,"img",12),x(),l(14,"div",13),r(15,"a",14),l(16,"app-logo",15),r(17,"span",16),d(18),C(19,"translate"),x()()()(),r(20,"div",17)(21,"div",18)(22,"div",19),M(),r(23,"svg",20),l(24,"path",21),x()(),te(),r(25,"h1",22),d(26),C(27,"translate"),x(),r(28,"p",23),d(29),C(30,"translate"),x(),r(31,"div",24),l(32,"app-loader-dots",25),x()()()()()()()),i&2&&(o(12),B(n.getTheme()==="light"?12:-1),o(),B(n.getTheme()==="dark"?13:-1),o(3),g("full",!1)("classes","h-10 w-auto"),o(2),f(" ",h(19,7,"app_name")," "),o(8),f(" ",h(27,9,"stsSignature.title")," "),o(3),f(" ",h(30,11,"stsSignature.description")," "))},dependencies:[Yi,Oe,J],encapsulation:2})}return t})();var or=(t,s)=>se(Y).isAlumniStudent()?Ee(!0):(se(ne).navigate(["403"]).then(),Ee(!1));var Te=(t,s)=>{let e=se(Y),i=se(ne);return e.isAuthenticated()?Ee(!0):e.blindAuthenticate().pipe(pi(n=>(n===!1&&i.navigate(["auth/login"],{queryParams:{lastUrl:s.url}}).then(),n!==!1)))};var Ht=(t,s)=>{let e=se(Y),i=se(ne);return e.isTemporaryAccessSession()?Ee(!0):e.user.preferences.filter(a=>a.key==="DISCLAIMER")[0]?.value!=="true"?(i.navigate(["disclaimer"]).then(),Ee(!1)):Ee(!0)};var ar=(t,s)=>se(Y).isDoctoralStudent()?Ee(!0):(se(ne).navigate(["403"]).then(),Ee(!1));var xr=(t,s)=>se(Y).isEmployee()?Ee(!0):(se(ne).navigate(["403"]).then(),Ee(!1));var sr=(t,s)=>{let e=se(Y),i=se(ne),n=e.user.preferences.filter(a=>a.key==="ADDITIONAL_INFO")[0];return e.isExternalPerson()?n?.value==="true"?(i.navigate(["additionalInfo"]).then(),Ee(!1)):Ee(!0):(i.navigate(["403"]).then(),Ee(!1))};var cr=(t,s)=>se(Y).isExternalStudent()?Ee(!0):(se(ne).navigate(["403"]).then(),Ee(!1));var Mt=(t,s)=>{let e=se(Y),i=se(ne);return e.user.changePassword?(i.navigate(["auth/change-password"]).then(),Ee(!1)):Ee(!0)};var lr=(t,s)=>se(Y).isResidencyCoordinator()||se(Y).isResidencyAdministrationOrExaminationUser()?Ee(!0):(se(ne).navigate(["403"]).then(),Ee(!1));var dr=(t,s)=>se(Y).isResident()?Ee(!0):(se(ne).navigate(["403"]).then(),Ee(!1));var ti=(t,s)=>se(Y).isStudent()?Ee(!0):(se(ne).navigate(["403"]).then(),Ee(!1));var ur=(t,s)=>se(Y).isTeacher()?Ee(!0):(se(ne).navigate(["403"]).then(),Ee(!1));var st=(t,s)=>{let e=se(Y),i=se(ne);return e.isTemporaryAccessSession()?e.getPermittedURLs().includes(s.url.replace(e.getPathBasedOnUserType(),""))?Ee(!0):(i.navigate(["auth-error"]).then(),Ee(!1)):Ee(!0)};var ct=(function(t){return t[t.IN_PENDING=0]="IN_PENDING",t[t.ACCEPTED=1]="ACCEPTED",t[t.REJECTED=2]="REJECTED",t})(ct||{});var Ut=class{formComponents=[{key:"",fields:[{type:fe.INPUT,key:"name",validators:[Ne.required],colSpan:"6"},{type:fe.TEXT_AREA,key:"description",validators:[Ne.required],colSpan:"6"},{type:fe.BOOLEAN,key:"readerApproval",validators:[Ne.required],value:!1,colSpan:"6"},{type:fe.BOOLEAN,key:"publicWorkspace",validators:[Ne.required],value:!0,colSpan:"6"},{type:fe.DATE,key:"publicationStart",validators:[],inputType:"datetime-local",colSpan:"6"},{type:fe.DATE,key:"publicationStop",validators:[],inputType:"datetime-local",colSpan:"6"}]}]};var Wt=(()=>{class t{baseService;rootPath="library/participant";workspacesPath="/workspaces";applyPath="/apply";resourcesPath="/resources";authorsPath="/authors";constructor(e){this.baseService=e}getWorkspaces(e,i,n){return e||(e=""),this.baseService.get(this.rootPath+this.workspacesPath+"?searchTerm="+e+"&pageNumber="+i+"&pageSize="+n)}apply(e){return this.baseService.post(this.rootPath+this.applyPath,{workspaceId:e})}getWorkspaceById(e){return this.baseService.get(this.rootPath+this.workspacesPath+"/"+e)}getResources(e,i,n){return e||(e=""),this.baseService.get(this.rootPath+this.resourcesPath+"?searchTerm="+e+"&pageNumber="+i+"&pageSize="+n)}getAuthors(e,i,n){return e||(e=""),this.baseService.get(this.rootPath+this.authorsPath+"?searchTerm="+e+"&pageNumber="+i+"&pageSize="+n)}static \u0275fac=function(i){return new(i||t)(qe(Ft))};static \u0275prov=Qe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var I0=(()=>{class t{baseService;rootPath="workspace";resourcePath="/resource";resourceGroupPath="/resource/group";participantsPath="/participants";childPath="/child";constructor(e){this.baseService=e}get(e,i,n){return this.baseService.get(this.rootPath+"?onlyParent="+e+"&pageSize="+i+"&pageNumber="+n)}getView(e){return this.baseService.get(this.rootPath+"/view/"+e)}getById(e){return this.baseService.get(this.rootPath+"/"+e)}save(e){return this.baseService.post(this.rootPath,e)}delete(e){return this.baseService.delete(this.rootPath+"?id="+e)}addResource(e,i){return this.baseService.post(this.rootPath+this.resourcePath,{workspaceId:e,resourceId:i})}removeResource(e,i){return this.baseService.delete(this.rootPath+this.resourcePath+"?workspaceId="+e+"&resourceId="+i)}addResourceGroup(e,i){return this.baseService.post(this.rootPath+this.resourceGroupPath,{workspaceId:e,resourceGroupId:i})}removeResourceGroup(e,i){return this.baseService.delete(this.rootPath+this.resourceGroupPath+"?workspaceId="+e+"&resourceGroupId="+i)}getParticipantsById(e,i,n){return this.baseService.get(this.rootPath+"/"+e+this.participantsPath+"?pageSize="+i+"&pageNumber="+n)}updateParticipant(e){return this.baseService.put(this.rootPath+this.participantsPath,e)}getPossibleChild(e){return this.baseService.get(this.rootPath+"/"+e+this.childPath)}addChild(e,i){return this.baseService.post(this.rootPath+"/"+e+this.childPath,{id:i})}deleteChild(e,i){return this.baseService.delete(this.rootPath+"/"+e+this.childPath+"?childWorkspaceId="+i)}static \u0275fac=function(i){return new(i||t)(qe(Ft))};static \u0275prov=Qe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ax=["confirmModal"],bx=["formModal"];function _x(t,s){t&1&&l(0,"app-skeleton",3),t&2&&g("cards",!0)("numberOfElements",6)}function Fx(t,s){if(t&1){let e=N();r(0,"div",4)(1,"div")(2,"h3",9),d(3),C(4,"translate"),x(),r(5,"p",10),d(6),C(7,"translate"),x()(),r(8,"button",11),w("click",function(){S(e);let n=u();return T(n.openAddWorkspaceModal())}),M(),r(9,"svg",12),l(10,"path",13),x(),d(11),C(12,"translate"),x()()}t&2&&(o(3),f(" ",h(4,3,"library.workspaces.title")," "),o(3),f(" ",h(7,5,"library.workspaces.description")," "),o(5),f(" ",h(12,7,"add")," "))}function yx(t,s){if(t&1&&(r(0,"span"),d(1),C(2,"translate"),x()),t&2){let e=u().$implicit,i=u(2);Be("flex-shrink-0 inline-flex items-center px-2 py-0.5 rounded-md text-[10px] font-semibold uppercase bg-"+i.getColorByStatus(e.status)+"-100 dar
427k:bg-"+i.getColorByStatus(e.status)+"-500/20 text-"+i.getColorByStatus(e.status)+"-700 dark:text-"+i.getColorByStatus(e.status)+"-300 border border-"+i.getColorByStatus(e.status)+"-200/60 dark:border-"+i.getColorByStatus(e.status)+"-500/30"),o(),f(" ",h(2,3,"library.workspaceParticipantStatus."+e.status)," ")}}function kx(t,s){if(t&1){let e=N();r(0,"button",28),w("click",function(){S(e);let n=u().$implicit,a=u(2);return T(a.apply(n))}),M(),r(1,"svg",12),l(2,"path",29),x(),d(3),C(4,"translate"),x()}t&2&&(o(3),f(" ",h(4,1,"library.workspaces.apply")," "))}function wx(t,s){if(t&1){let e=N();r(0,"button",30),w("click",function(){S(e);let n=u().$implicit,a=u(2);return T(a.goToResources(n))}),M(),r(1,"svg",31),l(2,"path",32),x(),d(3),C(4,"translate"),x()}t&2&&(o(3),f(" ",h(4,1,"library.workspaces.resources")," "))}function Dx(t,s){t&1&&(r(0,"div",26),M(),r(1,"svg",12),l(2,"path",33),x(),d(3),C(4,"translate"),x()),t&2&&(o(3),f(" ",h(4,1,"library.workspaces.wait_validation")," "))}function Sx(t,s){if(t&1){let e=N();r(0,"div",34),w("click",function(){S(e);let n=u().$implicit,a=u(2);return T(a.showEliminationReason(n))}),M(),r(1,"svg",12),l(2,"path",35),x(),d(3),C(4,"translate"),x()}t&2&&(o(3),f(" ",h(4,1,"library.workspaces.rejected")," "))}function Tx(t,s){if(t&1&&(r(0,"div",14),l(1,"div",15),r(2,"div",16)(3,"div",17)(4,"div"),d(5),x(),r(6,"div",18)(7,"div",19)(8,"h3",20),d(9),x(),v(10,yx,3,5,"span",21),x(),r(11,"p",22),d(12),x()()(),r(13,"div",23),v(14,kx,5,3,"button",24),v(15,wx,5,3,"button",25),v(16,Dx,5,3,"div",26),v(17,Sx,5,3,"div",27),x()()()),t&2){let e=s.$implicit,i=u(2);o(4),Be("flex-shrink-0 h-9 w-9 rounded-xl bg-"+i.utils.getColorByNumber(e==null?null:e.id)+"-50 dark:bg-"+i.utils.getColorByNumber(e==null?null:e.id)+"-500/20 text-"+i.utils.getColorByNumber(e==null?null:e.id)+"-700 dark:text-"+i.utils.getColorByNumber(e==null?null:e.id)+"-300 flex items-center justify-center text-sm font-semibold"),o(),f(" ",i.utils.getFirstLetters(e==null?null:e.name,2)," "),o(4),f(" ",e.name," "),o(),B(e.status?10:-1),o(2),f(" ",e.description," "),o(2),B(e.status?-1:14),o(),B((e==null?null:e.status)===i.workspaceParticipantStatus[i.workspaceParticipantStatus.ACCEPTED]?15:-1),o(),B(e.status===i.workspaceParticipantStatus[i.workspaceParticipantStatus.IN_PENDING]?16:-1),o(),B(e.status===i.workspaceParticipantStatus[i.workspaceParticipantStatus.REJECTED]?17:-1)}}function Px(t,s){if(t&1&&(r(0,"div",5),re(1,Tx,18,10,"div",14,ae),x()),t&2){let e=u();o(),oe(e.workspaces)}}function Ix(t,s){t&1&&(r(0,"div",6),l(1,"app-no-result"),x())}function Mx(t,s){if(t&1){let e=N();r(0,"app-pagination",36),w("changedPage",function(n){S(e);let a=u();return T(a.loadData(n))}),x()}if(t&2){let e=u();g("pageNumber",e.currentPage)("pageSize",e.pageSize)("totalNumberOfElements",e.workspacesSize)("showDivider",!1)}}function Vx(t,s){if(t&1){let e=N();r(0,"app-form-modal",37,1),w("formSubmit",function(n){S(e);let a=u();return T(a.saveWorkspace(n))}),x()}t&2&&g("isSection",!1)}var mr=(()=>{class t extends Ut{participantService;workspaceService;notificationService;router;applicationService;securityService;confirmModal;formModal;searchTerm;utils=At;workspaceParticipantStatus=ct;canManage=!1;pageSize=9;loading=!0;workspaces=[];workspacesSize;currentPage;constructor(e,i,n,a,c,p){super(),this.participantService=e,this.workspaceService=i,this.notificationService=n,this.router=a,this.applicationService=c,this.securityService=p}ngOnInit(){this.canManage=this.securityService.hasRole("ROLE_SOLARIS_LIBRARY_PUBLISHER"),this.loadData(1)}loadData(e){this.loading=!0,this.participantService.getWorkspaces(this.searchTerm,e-1,this.canManage?this.pageSize-1:this.pageSize).subscribe(i=>{this.workspaces=i.list,this.currentPage=e,this.workspacesSize=i.totalNumberOfElements,this.loading=!1})}openAddWorkspaceModal(){this.formModal.setTitle("library.workspaces.manageWorkspace._title"),this.formModal.setDescription("library.workspaces.manageWorkspace._description"),this.formModal.setKey("library.workspaces.manageWorkspace"),this.formModal.setComponents(this.formComponents),this.formModal.setState(!0)}saveWorkspace(e){this.workspaceService.save(e).subscribe(i=>{this.loadData(1)})}apply(e){this.confirmModal.object=new Ct().setType(Et.CONFIRM).setDescription(he.getTranslation("library.workspaces.confirm_apply")),this.confirmModal.setState(!0),this.confirmModal.response.subscribe(i=>{i&&this.participantService.apply(e.id).subscribe(()=>{e.status=ct[ct.IN_PENDING],this.notificationService.success("success","success",!0)})})}goToResources(e){return ut(this,null,function*(){return this.router.navigate(["/view-workspace/"+e.id],{queryParams:{searchTerm:this.searchTerm}})})}getColorByStatus(e){return e===ct[ct.IN_PENDING]?"amber":e===ct[ct.ACCEPTED]?"emerald":e===ct[ct.REJECTED]?"red":"gray"}showEliminationReason(e){this.confirmModal.object=new Ct().setType(Et.INFO).setShowSubmitButton(!1).setTitle("library.workspaces.manageWorksp
427ace.reason").setDescription(e.rejectReason,!0),this.confirmModal.setState(!0)}static \u0275fac=function(i){return new(i||t)(F(Wt),F(I0),F(Oi),F(ne),F(rt),F(Y))};static \u0275cmp=H({type:t,selectors:[["app-workspaces"]],viewQuery:function(i,n){if(i&1&&(le(Ax,5),le(bx,5)),i&2){let a;de(a=ue())&&(n.confirmModal=a.first),de(a=ue())&&(n.formModal=a.first)}},inputs:{searchTerm:"searchTerm"},features:[De],decls:9,vars:6,consts:[["confirmModal",""],["formModal",""],[1,"mt-4","space-y-4"],[3,"cards","numberOfElements"],[1,"relative","bg-white/30","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","shadow-[inset_0_0_20px_rgba(255,255,255,0.4)]","dark:shadow-none","rounded-2xl","p-4","flex","items-center","justify-between","gap-4"],[1,"grid","grid-cols-1","sm:grid-cols-2","lg:grid-cols-3","gap-3"],[1,"mt-4"],[3,"pageNumber","pageSize","totalNumberOfElements","showDivider"],[3,"isSection"],[1,"text-sm","font-semibold","text-gray-900","dark:text-white"],[1,"text-xs","text-gray-500","dark:text-gray-400","mt-0.5"],["type","button",1,"inline-flex","items-center","gap-2","px-4","py-2.5","rounded-xl","text-sm","font-semibold","flex-shrink-0","bg-gradient-to-r","from-indigo-500","to-purple-600","text-white","shadow-lg","shadow-indigo-500/25","hover:from-indigo-600","hover:to-purple-700","hover:shadow-indigo-500/40","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M12 4.5v15m7.5-7.5h-15"],[1,"group","relative"],[1,"absolute","-inset-0.5","rounded-2xl","bg-gradient-to-r","from-indigo-500/20","via-purple-500/20","to-pink-500/20","opacity-0","group-hover:opacity-100","blur","transition-all","duration-500"],[1,"relative","h-full","bg-white/30","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","shadow-[inset_0_0_20px_rgba(255,255,255,0.4)]","dark:shadow-[0_8px_32px_rgba(0,0,0,0.3)]","rounded-2xl","p-4","flex","flex-col"],[1,"pb-2","flex","items-start","gap-3"],[1,"flex-1","min-w-0"],[1,"flex","items-center","gap-2","flex-wrap"],[1,"text-sm","font-semibold","text-gray-900","dark:text-white","truncate"],[3,"class"],[1,"mt-1","text-sm","text-gray-500","dark:text-gray-400","truncate"],[1,"mt-auto","pt-4","border-t","border-gray-200/50","dark:border-white/10","mt-4"],["type","button",1,"w-full","inline-flex","items-center","justify-center","gap-2","px-4","py-2","rounded-xl","text-xs","font-semibold","bg-gradient-to-r","from-indigo-500","to-purple-600","text-white","shadow-lg","shadow-indigo-500/25","hover:from-indigo-600","hover:to-purple-700","active:scale-[0.98]","transition-all","duration-200"],["type","button",1,"w-full","inline-flex","items-center","justify-center","gap-2","px-4","py-2","rounded-xl","text-xs","font-medium","bg-white/50","dark:bg-white/10","text-gray-700","dark:text-gray-200","border","border-gray-200/50","dark:border-white/10","hover:bg-white/70","dark:hover:bg-white/20","active:scale-[0.98]","transition-all","duration-200"],[1,"w-full","inline-flex","items-center","justify-center","gap-2","px-4","py-2","rounded-xl","bg-amber-100/50","dark:bg-amber-500/10","border","border-amber-300/50","dark:border-amber-500/20","text-xs","font-medium","text-amber-700","dark:text-amber-300"],[1,"w-full","inline-flex","items-center","justify-center","gap-2","px-4","py-2","rounded-xl","bg-red-100/50","dark:bg-red-500/10","border","border-red-300/50","dark:border-red-500/20","text-xs","font-medium","text-red-700","dark:text-red-300","cursor-pointer","hover:bg-red-200/50","dark:hover:bg-red-500/20","transition-all","duration-200"],["type","button",1,"w-full","inline-flex","items-center","justify-center","gap-2","px-4","py-2","rounded-xl","text-xs","font-semibold","bg-gradient-to-r","from-indigo-500","to-purple-600","text-white","shadow-lg","shadow-indigo-500/25","hover:from-indigo-600","hover:to-purple-700","active:scale-[0.98]","transition-all","duration-200",3,"click"],["stroke-linecap","round","stroke-linejoin","round","d","m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"],["type","button",1,"w-full","inline-flex","items-center","justify-center","gap-2","px-4","py-2","rounded-xl","text-xs","font-medium","bg-white/50","dark:bg-white/10","text-gray-700","dark:text-gray-200","border","border-gray-200/50","dark:border-white/10","hover:bg-white/70","dark:hover:bg-white/20","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4","text-emerald-500"],["stroke-linecap","round","stroke-linejoin","round","d","M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"],["stroke-linecap","round","stroke-linejoin","round","d","M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"],[1,"w-full","inline-flex","items-center","justify-center","gap-2","px-4","py-2","rounded-xl","bg-red-100/50","dark:bg-red-500/10","border","border-red-300/50","dark:border-red-500/20","text-xs","font-medium","text-red-700","dark:text-red-300","cursor-pointer","hover:bg-red-200/50","dark:hover:bg-red-500/20","transition-all","duration-200",3,"click"],["stroke-linecap","round","stroke-linejoin","round","d","M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"],[3,"changedPage","pageNumber","pageSize","totalNumberOfElements","showDivider"],[3,"formSubmit","isSection"]],template:function(i,n){i&1&&(r(0,"div",2),v(1,_x,1,2,"app-skeleton",3),v(2,Fx,13,9,"div",4),v(3,Px,3,0,"div",5),v(4,Ix,2,0,"div",6),v(5,Mx,1,4,"app-pagination",7),x(),l(6,"app-confirm-modal",null,0),v(8,Vx,2,1,"app-form-modal",8)),i&2&&(o(),B(n.loading?1:-1),o(),B(n.canManage?2:-1),o(),B(!n.loading&&n.workspaces.length>0?3:-1),o(),B(!n.loading&&n.workspaces.length===0?4:-1),o(),B(!n.loading&&n.workspaces.length>0?5:-1),o(3),B(n.canManage?8:-1))},dependencies:[wt,kt,Rt,Ot,bt,J],encapsulation:2})}return t})();var at=(()=>{class t{baseService;rootPath="library/resource";groupPath="/group";uploadPath="/upload";downloadPath="/download";viewPath="/view";coverPath="/cover";constructor(e){this.baseService=e}get(){return this.baseService.get(this.rootPath)}delete(e){return this.baseService.delete(this.rootPath+"?id="+e)}saveGroup(e){return this.baseService.post(this.rootPath+this.groupPath,e)}deleteGroup(e){return this.baseService.delete(this.rootPath+this.groupPath+"?id="+e)}save(e){return this.baseService.put(this.rootPath,e)}uploadDocument(e,i){return this.baseService.upload(this.rootPath+this.uploadPath+(i?"/"+i:""),e)}download(e){this.baseService.download(this.rootPath+this.downloadPath+"/"+e).subscribe(i=>{this.baseService.downloadDoc(i)})}view(e,i){this.baseService.download(this.rootPath+this.viewPath+"/"+e+"/"+i).subscribe(n=>{let a=URL.createObjectURL(n.body);window.open(a)})}viewFile(e,i){return this.baseService.download(this.rootPath+this.viewPath+"/"+e+(i?"?workspaceId="+i:""))}
427uploadCover(e,i){return this.baseService.upload(this.rootPath+this.coverPath+"/"+i,e)}getCoverURLById(e){return Fe.ENV.api+this.rootPath+this.coverPath+"/download/"+e}deleteCover(e){return this.baseService.delete(this.rootPath+this.coverPath+"/"+e)}static \u0275fac=function(i){return new(i||t)(qe(Ft))};static \u0275prov=Qe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Lx=["coverExpanded"];function jx(t,s){t&1&&(r(0,"div",2),l(1,"app-skeleton",7),x()),t&2&&(o(),g("cards",!0)("numberOfElements",8))}function Nx(t,s){if(t&1){let e=N();r(0,"div",3)(1,"div")(2,"h3",8),d(3),C(4,"translate"),x(),r(5,"p",9),d(6),C(7,"translate"),x()(),r(8,"button",10),w("click",function(){S(e);let n=u();return T(n.navigateToResourceManagement())}),d(9),C(10,"translate"),M(),r(11,"svg",11),l(12,"path",12),x()()()}t&2&&(o(3),f(" ",h(4,3,"library.resources.title")," "),o(3),f(" ",h(7,5,"library.resources.description")," "),o(3),f(" ",h(10,7,"navigate")," "))}function Rx(t,s){if(t&1){let e=N();r(0,"img",29),w("click",function(n){S(e);let a=u().$implicit,c=u(2);return n.stopPropagation(),T(c.expandCover(a.coverId))}),x()}if(t&2){let e=u().$implicit,i=u(2);g("src",i.resourceService.getCoverURLById(e.coverId),ye)}}function Ox(t,s){if(t&1&&(r(0,"div"),d(1),x()),t&2){let e=u().$implicit,i=u(2);Be("flex-shrink-0 h-9 w-9 rounded-lg bg-"+i.utils.getColorByNumber(e.id)+"-50 dark:bg-"+i.utils.getColorByNumber(e.id)+"-500/20 text-"+i.utils.getColorByNumber(e.id)+"-700 dark:text-"+i.utils.getColorByNumber(e.id)+"-300 flex items-center justify-center text-xs font-semibold"),o(),f(" ",i.utils.getFirstLetters(e.name,2)," ")}}function zx(t,s){if(t&1&&(r(0,"p",21),d(1),x()),t&2){let e=u().$implicit;o(),f(" ",e.subtitle," ")}}function Gx(t,s){if(t&1&&d(0),t&2){let e=s.$implicit,i=s.$index,n=s.$count;Jt(" ",e.lastName," ",e.firstName,"",i!==n-1?", ":""," ")}}function Hx(t,s){if(t&1&&(r(0,"p",23),re(1,Gx,1,3,null,null,ae),x()),t&2){let e=u().$implicit;o(),oe(e.authors)}}function Ux(t,s){if(t&1&&l(0,"p",24),t&2){let e=u().$implicit;g("innerHTML",e.otherInformation,Ve)}}function Wx(t,s){if(t&1){let e=N();r(0,"div",13),l(1,"div",14),r(2,"div",15),w("click",function(){let n=S(e).$implicit,a=u(2);return T(a.readResource(n))}),r(3,"div",16),v(4,Rx,1,1,"img",17),v(5,Ox,2,3,"div",18),r(6,"div",19)(7,"h3",20),d(8),x(),v(9,zx,2,1,"p",21),x()(),r(10,"div",22),v(11,Hx,3,0,"p",23),v(12,Ux,1,1,"p",24),x(),r(13,"div",25)(14,"span",26),M(),r(15,"svg",27),l(16,"path",28),x(),d(17),C(18,"translate"),x()()()()}if(t&2){let e=s.$implicit;o(4),B(e.coverId?4:-1),o(),B(e.coverId?-1:5),o(3),f(" ",e.name," "),o(),B(e.subtitle?9:-1),o(2),B(e.authors.length?11:-1),o(),B(e.otherInformation?12:-1),o(5),f(" ",h(18,7,"library.resources.read")," ")}}function Qx(t,s){if(t&1&&(r(0,"div",4),re(1,Wx,19,9,"div",13,ae),x()),t&2){let e=u();o(),oe(e.resources)}}function qx(t,s){t&1&&l(0,"app-no-result")}function $x(t,s){if(t&1){let e=N();r(0,"app-pagination",30),w("changedPage",function(n){S(e);let a=u();return T(a.loadData(n))}),x()}if(t&2){let e=u();g("pageNumber",e.currentPage)("pageSize",e.pageSize)("totalNumberOfElements",e.resourcesSize)("showDivider",!1)}}function Kx(t,s){if(t&1){let e=N();r(0,"div",6,0)(2,"div",31),w("click",function(){S(e);let n=u();return T(n.isCoverExpanded=!1)}),x(),r(3,"div",32),w("click",function(){S(e);let n=u();return T(n.isCoverExpanded=!1)}),r(4,"div",33),w("click",function(n){return S(e),T(n.stopPropagation())}),l(5,"img",34),x()()()}if(t&2){let e=u();o(5),g("src",e.resourceService.getCoverURLById(e.resourceCoverExpandedId),ye)}}var Er=(()=>{class t extends $e{participantService;router;resourceService;renderer;applicationService;securityService;coverExpanded;set searchTerm(e){this._searchTerm=e,this.loadData(1)}canManage=!1;pageSize=16;currentPage;resources=[];resourcesSize;_searchTerm="";isCoverExpanded=!1;resourceCoverExpandedId=0;constructor(e,i,n,a,c,p){super(),this.participantService=e,this.router=i,this.resourceService=n,this.renderer=a,this.applicationService=c,this.securityService=p,this.renderer.listen("window","click",E=>{this.isCoverExpanded!==!1&&this.coverExpanded?.nativeElement.contains(E.target)&&(this.isCoverExpanded=!1)})}ngOnInit(){this.canManage=this.securityService.hasRole("ROLE_SOLARIS_LIBRARY_PUBLISHER")}loadData(e){this.loading=!0,this.participantService.getResources(this._searchTerm,e-1,this.pageSize).subscribe(i=>{this.resources=i.list,this.resourcesSize=i.totalNumberOfElements,this.currentPage=e,this.resourcesSize&&this.resources.forEac
427h(n=>{n.otherInformation=this.utils.processInnerHtml(n.otherInformation)}),this.loading=!1})}readResource(e){return ut(this,null,function*(){return this.router.navigate(["/read-resource/"+e.id],{queryParams:{searchTerm:this._searchTerm}})})}expandCover(e){this.resourceCoverExpandedId=e,this.isCoverExpanded=!0}navigateToResourceManagement(){return this.router.navigate(["/resource/"])}static \u0275fac=function(i){return new(i||t)(F(Wt),F(ne),F(at),F(ki),F(rt),F(Y))};static \u0275cmp=H({type:t,selectors:[["app-view-resources"]],viewQuery:function(i,n){if(i&1&&le(Lx,5),i&2){let a;de(a=ue())&&(n.coverExpanded=a.first)}},inputs:{searchTerm:"searchTerm"},features:[De],decls:7,vars:6,consts:[["coverExpanded",""],[1,"mt-4","space-y-4"],[1,"mt-4"],[1,"relative","bg-white/30","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","shadow-[inset_0_0_20px_rgba(255,255,255,0.4)]","dark:shadow-none","rounded-2xl","p-4","flex","items-center","justify-between","gap-3"],[1,"grid","grid-cols-1","sm:grid-cols-2","md:grid-cols-3","lg:grid-cols-4","gap-3"],[3,"pageNumber","pageSize","totalNumberOfElements","showDivider"],["role","dialog","aria-modal","true",1,"relative","z-50"],[3,"cards","numberOfElements"],[1,"text-sm","font-semibold","text-gray-900","dark:text-white"],[1,"text-xs","text-gray-500","dark:text-gray-400","mt-0.5"],["type","button",1,"inline-flex","items-center","gap-2","px-4","py-2.5","rounded-xl","text-sm","font-semibold","flex-shrink-0","bg-gradient-to-r","from-indigo-500","to-purple-600","text-white","shadow-lg","shadow-indigo-500/25","hover:from-indigo-600","hover:to-purple-700","hover:shadow-indigo-500/40","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"],[1,"group","relative"],[1,"absolute","-inset-0.5","rounded-2xl","bg-gradient-to-r","from-indigo-500/20","via-purple-500/20","to-pink-500/20","opacity-0","group-hover:opacity-100","blur","transition-all","duration-500"],[1,"relative","h-full","bg-white/30","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","shadow-[inset_0_0_20px_rgba(255,255,255,0.4)]","dark:shadow-[0_8px_32px_rgba(0,0,0,0.3)]","rounded-2xl","p-3.5","flex","flex-col","cursor-pointer",3,"click"],[1,"flex","items-start","gap-2.5"],["alt","",1,"flex-shrink-0","h-9","w-9","rounded-lg","object-cover","ring-1","ring-gray-200/50","dark:ring-white/10","cursor-pointer","hover:ring-indigo-500/50","transition-all","duration-200",3,"src"],[3,"class"],[1,"min-w-0","flex-1"],[1,"text-xs","font-semibold","text-gray-900","dark:text-white","line-clamp-2","leading-tight"],[1,"mt-0.5","text-[11px]","text-gray-500","dark:text-gray-400","line-clamp-1"],[1,"flex-1"],[1,"mt-1.5","text-[11px]","text-gray-500","dark:text-gray-400","line-clamp-1"],[1,"mt-1","text-[11px]","text-gray-400","dark:text-gray-500","line-clamp-1",3,"innerHTML"],[1,"mt-auto","pt-2","flex","justify-center","border-t","border-gray-200/50","dark:border-white/10","mt-2"],[1,"inline-flex","items-center","gap-1","text-[11px]","font-medium","text-indigo-600","dark:text-indigo-400","group-hover:text-indigo-700","dark:group-hover:text-indigo-300","transition-colors"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-3","w-3"],["stroke-linecap","round","stroke-linejoin","round","d","M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"],["alt","",1,"flex-shrink-0","h-9","w-9","rounded-lg","object-cover","ring-1","ring-gray-200/50","dark:ring-white/10","cursor-pointer","hover:ring-indigo-500/50","transition-all","duration-200",3,"click","src"],[3,"changedPage","pageNumber","pageSize","totalNumberOfElements","showDivider"],[1,"fixed","inset-0","bg-black/60","backdrop-blur-sm","transition-opacity",3,"click"],[1,"fixed","z-50","inset-0","overflow-y-auto","flex","items-center","justify-center","p-4",3,"click"],[1,"relative","bg-white/30","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","rounded-2xl","overflow-hidden","shadow-2xl","max-w-lg","w-full",3,"click"],["alt","",1,"h-auto","max-w-full","m-auto",3,"src"]],template:function(i,n){i&1&&(r(0,"div",1),v(1,jx,2,2,"div",2),v(2,Nx,13,9,"div",3),v(3,Qx,3,0,"div",4),v(4,qx,1,0,"app-no-result"),v(5,$x,1,4,"app-pagination",5),x(),v(6,Kx,6,1,"div",6)),i&2&&(o(),B(n.loading?1:-1),o(),B(n.canManage?2:-1),o(),B(!n.loading&&n.resources.length>0?3:-1),o(),B(!n.loading&&n.resources.length===0?4:-1),o(),B(!n.loading&&n.resources.length>0?5:-1),o(),B(n.isCoverExpanded?6:-1))},dependencies:[wt,kt,bt,J],encapsulation:2})}return t})();var Zx=["allResourcesModal"];function Xx(t,s){t&1&&(r(0,"div",2),l(1,"app-skeleton",6),x()),t&2&&(o(),g("cards",!0)("numberOfElements",6))}function Yx(t,s){if(t&1){let e=N();r(0,"div",15)(1,"span",17),d(2),x(),r(3,"button",18),w("click",function(){let n=S(e).$implicit,a=u(3);return T(a.readResource(n))}),M(),r(4,"svg",19),l(5,"path",20),x()()()}if(t&2){let e=s.$implicit;o(2),f(" ",e.name," ")}}function Jx(t,s){if(t&1){let e=N();r(0,"div",16)(1,"button",21),w("click",function(){S(e);let n=u().$implicit,a=u(2);return T(a.openAllResourcesModal(n))}),M(),r(2,"svg",22),l(3,"path",23),x(),d(4),C(5,"translate"),x()()}if(t&2){let e=u().$implicit;o(4),Re(" ",h(5,2,"library.authors.showAll")," (",e.resources.length,") ")}}function es(t,s){if(t&1&&(r(0,"div",7),l(1,"div",8),r(2,"div",9)(3,"div",10)(4,"div"),d(5),x(),r(6,"div",11)(7,"h3",12),d(8),x(),r(9,"p",13),d(10),C(11,"translate"),x()()(),r(12,"div",14),re(13,Yx,6,1,"div",15,ae),x(),v(15,Jx,6,4,"div",16),x()()),t&2){let e=s.$implicit,i=u(2);o(4),Be("flex-shrink-0 h-8 w-8 rounded-lg bg-"+i.utils.getColorByNumber(e.id)+"-50 dark:bg-"+i.utils.getColorByNumber(e.id)+"-500/20 text-"+i.utils.getColorByNumber(e.id)+"-700 dark:text-"+i.utils.getColorByNumber(e.id)+"-300 flex items-center justify-center text-xs font-semibold"),o(),Re(" ",i.utils.getFirstLetters(e.lastName,1),"",i.utils.getFirstLetters(e.firstName,1)," "),o(3),Re(" ",e.lastName," ",e.firstName," "),o(2),Re(" ",e.resources.length," ",h(11,9,"library.authors.resourceCount")," "),o(3),oe(e.showedResources),o(2),B(e.showedResources.length<e.resources.length?15:-1)}}function ts(t,s){if(t&1&&(r(0,"div",3),re(1,es,16,11,"div",7,ae),x()),t&2){let e=u();o(),oe(e.authors)}}function is(t,s){t&1&&(r(0,"div",2),l(1,"app-no-result"),x())}function ns(t,s){if(t&1){let e=N();r(0,"app-pagination",24),w("changedPage",function(n){S(e);let a=u();
427return T(a.loadData(n))}),x()}if(t&2){let e=u();g("totalNumberOfElements",e.authorsSize)("pageNumber",e.currentPage)("showDivider",!1)}}function rs(t,s){if(t&1){let e=N();r(0,"div",25)(1,"span",26),d(2),x(),r(3,"button",27),w("click",function(){let n=S(e).$implicit,a=u(2);return T(a.readResource(n))}),M(),r(4,"svg",22),l(5,"path",20),x(),d(6),C(7,"translate"),x()()}if(t&2){let e=s.$implicit;o(2),f(" ",e.name," "),o(4),f(" ",h(7,2,"library.resources.read")," ")}}function os(t,s){if(t&1&&(r(0,"div",5),re(1,rs,8,4,"div",25,ae),x()),t&2){let e=u();o(),oe(e.selectedAuthor.resources)}}var Cr=(()=>{class t extends $e{participantService;router;applicationService;allResourcesModal;set searchTerm(e){this._searchTerm=e,this.loadData(1)}pageSize=9;currentPage;authors=[];authorsSize;_searchTerm;selectedAuthor;constructor(e,i,n){super(),this.participantService=e,this.router=i,this.applicationService=n}loadData(e){this.loading=!0,this.participantService.getAuthors(this._searchTerm,e-1,this.pageSize).subscribe(i=>{this.authors=i.list,this.currentPage=e,this.authorsSize=i.totalNumberOfElements,this.processAuthors(),this.loading=!1})}processAuthors(){this.authors.forEach(e=>{e.showedResources=e.resources.slice(0,3)})}readResource(e){return ut(this,null,function*(){return this.router.navigate(["/read-resource/"+e.id],{queryParams:{searchTerm:this._searchTerm}})})}openAllResourcesModal(e){this.selectedAuthor=e,this.allResourcesModal.title=e.lastName+" "+e.firstName,this.allResourcesModal.show()}static \u0275fac=function(i){return new(i||t)(F(Wt),F(ne),F(rt))};static \u0275cmp=H({type:t,selectors:[["app-view-authors"]],viewQuery:function(i,n){if(i&1&&le(Zx,5),i&2){let a;de(a=ue())&&(n.allResourcesModal=a.first)}},inputs:{searchTerm:"searchTerm"},features:[De],decls:8,vars:5,consts:[["allResourcesModal",""],[1,"space-y-4"],[1,"mt-4"],[1,"mt-4","grid","grid-cols-1","sm:grid-cols-2","lg:grid-cols-3","gap-3"],[3,"totalNumberOfElements","pageNumber","showDivider"],[1,"p-4","space-y-1.5","max-h-[60vh]","overflow-y-auto"],[3,"cards","numberOfElements"],[1,"group","relative"],[1,"absolute","-inset-0.5","rounded-2xl","bg-gradient-to-r","from-indigo-500/20","via-purple-500/20","to-pink-500/20","opacity-0","group-hover:opacity-100","blur","transition-all","duration-500"],[1,"relative","h-full","bg-white/30","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","shadow-[inset_0_0_20px_rgba(255,255,255,0.4)]","dark:shadow-[0_8px_32px_rgba(0,0,0,0.3)]","rounded-2xl","p-3","flex","flex-col"],[1,"flex","items-center","gap-2.5","pb-3","border-b","border-gray-200/50","dark:border-white/10"],[1,"min-w-0","flex-1"],[1,"text-xs","font-semibold","text-gray-900","dark:text-white","truncate"],[1,"text-[10px]","text-gray-500","dark:text-gray-400"],[1,"flex-1","mt-3","space-y-1"],[1,"flex","items-center","justify-between","gap-2","px-2.5","py-1.5","rounded-lg","bg-white/40","dark:bg-white/5","border","border-gray-200/50","dark:border-white/5"],[1,"mt-2","pt-2","border-t","border-gray-200/50","dark:border-white/10"],[1,"text-[11px]","text-gray-700","dark:text-gray-300","truncate"],["type","button",1,"flex-shrink-0","p-1","rounded-md","text-emerald-600","dark:text-emerald-400","hover:bg-emerald-100/60","dark:hover:bg-emerald-500/15","active:scale-[0.95]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-3.5","w-3.5"],["stroke-linecap","round","stroke-linejoin","round","d","M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"],["type","button",1,"w-full","inline-flex","items-center","justify-center","gap-1","px-2","py-1.5","rounded-lg","text-[11px]","font-medium","bg-white/50","dark:bg-white/10","text-gray-600","dark:text-gray-300","border","border-gray-200/50","dark:border-white/10","hover:bg-white/70","dark:hover:bg-white/20","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-3","w-3"],["stroke-linecap","round","stroke-linejoin","round","d","m19.5 8.25-7.5 7.5-7.5-7.5"],[3,"changedPage","totalNumberOfElements","pageNumber","showDivider"],[1,"flex","items-center","justify-between","gap-3","px-3","py-2","rounded-xl","bg-white/40","dark:bg-white/5","border","border-gray-200/50","dark:border-white/5"],[1,"text-xs","text-gray-700","dark:text-gray-300","truncate"],["type","button",1,"flex-shrink-0","inline-flex","items-center","gap-1","px-2.5","py-1","rounded-lg","text-[11px]","font-medium","bg-emerald-100/60","dark:bg-emerald-500/15","text-emerald-700","dark:text-emerald-300","border","border-emerald-200/60","dark:border-emerald-500/20","hover:bg-emerald-200/60","dark:hover:bg-emerald-500/25","active:scale-[0.98]","transition-all","duration-200",3,"click"]],template:function(i,n){i&1&&(r(0,"div",1),v(1,Xx,2,2,"div",2),v(2,ts,3,0,"div",3),v(3,is,2,0,"div",2),v(4,ns,1,3,"app-pagination",4),x(),r(5,"app-modal",null,0),v(7,os,3,0,"div",5),x()),i&2&&(o(),B(n.loading?1:-1),o(),B(!n.loading&&n.authors.length>0?2:-1),o(),B(!n.loading&&n.authors.length===0?3:-1),o(),B(!n.loading&&n.authors.length>0?4:-1),o(3),B(n.selectedAuthor?7:-1))},dependencies:[wt,kt,bt,Ze,J],encapsulation:2})}return t})();var as=["search"];function xs(t,s){if(t&1){let e=N();r(0,"button",13),w("click",function(){let n=S(e).$implicit,a=u();return T(a.sectionClick(n))}),d(1),C(2,"translate"),x()}if(t&2){let e=s.$implicit,i=s.$index,n=u();Be(Di(`px-4 py-2 text-sm font-medium transition-all duration-200 text-center
428                       `,e===n.selectedSection?"bg-indigo-500 text-white":"bg-white/50 dark:bg-white/5 text-gray-600 dark:text-gray-300 hover:bg-white/70 dark:hover:bg-white/10",`
429                       `,i!==n.sections.length-1?"border-r border-gray-200/50 dark:border-white/10":"")),o(),f(" ",h(2,5,"library."+e+".title")," ")}}function ss(t,s){if(t&1&&l(0,"app-workspaces",12),t&2){let e=u();g("searchTerm",e.searchTerm)}}function cs(t,s){if(t&1&&l(0,"app-view-resources",12),t&2){let e=u();g("searchTerm",e.searchTerm)}}function ls(t,s){if(t&1&&l(0,"app-view-authors",12),t&2){let e=u();g("searchTerm",e.searchTerm)}}var hr=(()=>{class t{storageService;route;search;sections=["resources","authors","workspaces"];selectedSection="resources";searchTerm;constructor(e,i){this.storageService=e,this.route=i}ngOnInit(){let e=this.storageService.getStoredByKey(et.librarySectionKey);e&&this.sections.includes(e)&&(this.selectedSection=e),this.route.queryParams.subscribe(i=>{this.searchTerm=i.searchTerm})}ngAfterViewInit(){mi(this.search.nativeElement,"keyup").pipe(hi(500),fi(),vi(()=>{this.searchTerm=this.search.nativeElement.value})).subscribe()}sectionClick(e){e&&e!==this.selectedSection&&(this.selectedSection=e,this.storageService.storeByKey(et.librarySectionKey,this.selectedSection))}getSectionsForSelect(){return Ee(this.sections.map(e=>({id:this.sections.indexOf(e),name:he.getTranslation("library."+e+".title")})))}static \u0275fac=function(i){return new(i||t)(F(et),F(Le))};static \u0275cmp=H({type:t,selectors:[["app-library"]],viewQuery:function(i,n){if(i&1&&le(as,5),i&2){let a;de(a=ue())&&(n.search=a.first)}},decls:17,vars:7,consts:[["search",""],[1,"space-y-4"],[1,"relative","bg-white/30","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","shadow-[inset_0_0_20px_rgba(255,255,255,0.4)]","dark:shadow-none","rounded-2xl","p-3","flex","flex-col","sm:flex-row","sm:items-center","sm:justify-between","gap-3"],[1,"sm:hidden"],[3,"selectionChanged","id","placeholder","dataSource","selectedId"],[1,"relative","w-full","sm:w-1/3"],["type","text","autocomplete","off",1,"block","w-full","rounded-xl","bg-white/50","dark:bg-white/10","border","border-gray-200/50","dark:border-white/10","text-sm","text-gray-900","dark:text-white","placeholder-gray-400","dark:placeholder-gray-500","pl-3","pr-8","py-2","focus:ring-2","focus:ring-indigo-500/50","focus:border-indigo-500/50","transition-all","duration-200"],[1,"absolute","
429inset-y-0","right-0","flex","items-center","pr-2","pointer-events-none"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-3.5","w-3.5","text-gray-400","dark:text-gray-500"],["stroke-linecap","round","stroke-linejoin","round","d","m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"],[1,"hidden","sm:flex","rounded-xl","overflow-hidden","border","border-gray-200/50","dark:border-white/10","flex-shrink-0"],["type","button",3,"class"],[3,"searchTerm"],["type","button",3,"click"]],template:function(i,n){if(i&1){let a=N();r(0,"div",1)(1,"div",2)(2,"div",3)(3,"app-dropdown",4),C(4,"translate"),w("selectionChanged",function(p){return S(a),T(n.sectionClick(n.sections[p]))}),x()(),r(5,"div",5),l(6,"input",6,0),r(8,"div",7),M(),r(9,"svg",8),l(10,"path",9),x()()(),te(),r(11,"div",10),re(12,xs,3,7,"button",11,ae),x()(),v(14,ss,1,1,"app-workspaces",12)(15,cs,1,1,"app-view-resources",12)(16,ls,1,1,"app-view-authors",12),x()}if(i&2){let a;o(3),g("id","section")("placeholder",h(4,5,"library.sectionPlaceholder"))("dataSource",n.getSectionsForSelect.bind(n))("selectedId",n.sections.indexOf(n.selectedSection)),o(9),oe(n.sections),o(2),B((a=n.selectedSection)==="workspaces"?14:a==="resources"?15:a==="authors"?16:-1)}},dependencies:[mr,Er,Cr,pn,J],encapsulation:2})}return t})();function ds(t,s){if(t&1){let e=N();_e(0,"nav",0)(1,"div",1)(2,"button",2),tt("click",function(){S(e);let n=u();return T(n.changePage(1))}),M(),_e(3,"svg",3),Je(4,"path",4),Se()(),te(),_e(5,"button",2),tt("click",function(){S(e);let n=u();return T(n.previousPage())}),M(),_e(6,"svg",3),Je(7,"path",5),Se()(),te(),_e(8,"span",6),d(9),Se(),_e(10,"button",2),tt("click",function(){S(e);let n=u();return T(n.nextPage())}),M(),_e(11,"svg",3),Je(12,"path",7),Se()(),te(),_e(13,"button",2),tt("click",function(){S(e);let n=u();return T(n.changePage(n._totalNumberOfElements))}),M(),_e(14,"svg",3),Je(15,"path",8),Se()()(),te(),_e(16,"div",9)(17,"div",1)(18,"button",10),tt("click",function(){S(e);let n=u();return T(n.zoomMinus())}),M(),_e(19,"svg",11),Je(20,"path",12),Se()(),te(),_e(21,"span",13),d(22),Se(),_e(23,"button",10),tt("click",function(){S(e);let n=u();return T(n.zoomPlus())}),M(),_e(24,"svg",11),Je(25,"path",14),Se()()()()()}if(t&2){let e=u();o(2),Tt("disabled",e.pagination.currentPage===1),o(3),Tt("disabled",!e.pagination.enablePrevious()),o(4),Re(" ",e.pagination.currentPage," / ",e._totalNumberOfElements," "),o(),Tt("disabled",!e.pagination.enableNext()),o(3),Tt("disabled",e.pagination.currentPage===e._totalNumberOfElements),o(9),f(" ",e.getZoom()," ")}}var fr=(()=>{class t{_location;set totalNumberOfElements(e){this._totalNumberOfElements=e,this.pagination=new W0(e,this._pageSize)}set pageSize(e){this._pageSize=e,this.pagination=new W0(this._totalNumberOfElements,e)}set page(e){this.pagination.currentPage=e}zoom=1;changedPage=new ze;
429changedZoom=new ze;_totalNumberOfElements;_pageSize;pagination;constructor(e){this._location=e}ngOnInit(){}changePage(e){this.pagination.currentPage!==e&&e!==void 0&&(this.pagination.currentPage=e,this.changedPage.emit(this.pagination.currentPage))}previousPage(){this.pagination.enablePrevious()&&this.changePage(this.pagination.currentPage-1)}nextPage(){this.pagination.enableNext()&&this.changePage(this.pagination.currentPage+1)}back(){this._location.back()}zoomMinus(){this.zoom-=.1,this.changedZoom.emit(Number(this.zoom))}getZoom(){return Number(this.zoom).toFixed(1)}zoomPlus(){this.zoom+=.1,this.changedZoom.emit(this.zoom)}static \u0275fac=function(i){return new(i||t)(F(jt))};static \u0275cmp=H({type:t,selectors:[["app-document-view-bar"]],inputs:{totalNumberOfElements:"totalNumberOfElements",pageSize:"pageSize",page:"page",zoom:"zoom"},outputs:{changedPage:"changedPage",changedZoom:"changedZoom"},decls:1,vars:1,consts:[["aria-label","Pagination",1,"flex","items-center","justify-between","px-4","sm:px-0"],[1,"flex","items-center","gap-1"],["type","button",1,"p-2","rounded-lg","text-gray-500","dark:text-gray-400","hover:bg-white/50","dark:hover:bg-white/10","disabled:opacity-30","disabled:cursor-not-allowed","disabled:hover:bg-transparent","transition-all","duration-200",3,"click","disabled"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","m18.75 4.5-7.5 7.5 7.5 7.5m-6-15L5.25 12l7.5 7.5"],["stroke-linecap","round","stroke-linejoin","round","d","M15.75 19.5 8.25 12l7.5-7.5"],[1,"px-3","py-1.5","rounded-lg","bg-white/40","dark:bg-white/5","border","border-gray-200/50","dark:border-white/5","text-sm","font-medium","text-gray-700","dark:text-gray-300","select-none"],["stroke-linecap","round","stroke-linejoin","round","d","m8.25 4.5 7.5 7.5-7.5 7.5"],["stroke-linecap","round","stroke-linejoin","round","d","m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5"],[1,"flex-1","flex","justify-end"],["type","button",1,"p-2","rounded-lg","text-gray-500","dark:text-gray-400","hover:bg-white/50","dark:hover:bg-white/10","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-5","w-5"],["stroke-linecap","round","stroke-linejoin","round","d","m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607ZM13.5 10.5h-6"],[1,"px-2","py-1","rounded-lg","bg-white/40","dark:bg-white/5","border","border-gray-200/50","dark:border-white/5","text-sm","font-medium","text-gray-700","dark:text-gray-300","select-none","min-w-[48px]","text-center"],["stroke-linecap","round","stroke-linejoin","round","d","m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607ZM10.5 7.5v6m3-3h-6"]],template:function(i,n){i&1&&v(0,ds,26,7,"nav",0),i&2&&B(n.pagination!==void 0?0:-1)},encapsulation:2})}return t})();var gr=(()=>{class t{route;resourceService;loading=!0;url;blob;allPages;pageNumber;zoom=1;constructor(e,i){this.route=e,this.resourceService=i}ngOnInit(){let e=Number(this.route.snapshot.paramMap.get("resourceId")),i=Number(this.route.snapshot.queryParamMap.get("workspaceId"));this.resourceService.viewFile(e,i).subscribe(n=>{this.blob=n.body,this.url=URL.createObjectURL(n.body),this.loading=!1})}callBackFn(e){this.allPages=e._pdfInfo.numPages}pageChanged(e){this.pageNumber=e}changedZoom(e){this.zoom=e}static \u0275fac=function(i){return new(i||t)(F(Le),F(at))};static \u0275cmp=H({type:t,selectors:[["app-read-resource"]],decls:4,vars:12,consts:[[1,"h-16"],[3,"changedPage","changedZoom","totalNumberOfElements","pageSize","page","zoom"],[1,"ng2-pdf-viewer-container"],[1,"main-h","ng2-pdf-viewer-container",3,"after-load-complete","pageChange","src","render-text","render-text-mode","original-size","zoom-scale","zoom","show-all","page"]],template:function(i,n){i&1&&(r(0,"div",0)(1,"app-document-view-bar",1),w("changedPage",function(c){return n.pageChanged(c)})("changedZoom",function(c){return n.changedZoom(c)}),x()(),r(2,"div",2)(3,"pdf-viewer",3),w("after-load-complete",function(c){return n.callBackFn(c)}
429),m0("pageChange",function(c){return p0(n.pageNumber,c)||(n.pageNumber=c),c}),x()()),i&2&&(o(),g("totalNumberOfElements",n.allPages)("pageSize",1)("page",n.pageNumber)("zoom",n.zoom),o(2),g("src",n.url)("render-text",!0)("render-text-mode",0)("original-size",!1)("zoom-scale","page-fit")("zoom",n.zoom)("show-all",!0),u0("page",n.pageNumber))},dependencies:[fr,En,mn],styles:[".main-h[_ngcontent-%COMP%]{height:calc(100vh - 13rem)}"]})}return t})();var ge=class{id;name;subtitle;otherInformation;authors;authorsToString;children;checkBoxSelected;coverId;isRoot;static isLeaf(s){return s?!this.isParent(s):!1}static isParent(s){return s?.children!==null&&s?.children!==void 0}static processTreeInformation(s){s.otherInformation=At.processInnerHtml(s.otherInformation),s.authors&&(s.authorsToString=s.authors.map(e=>e.lastName+" "+e.firstName).join(", ")),s.children&&s.children.forEach(e=>{this.processTreeInformation(e)})}};var us=["coverOverlay"];function ps(t,s){if(t&1){let e=N();r(0,"input",6),w("click",function(){S(e);let n=u();return T(n.onCheckBoxClick())}),x()}if(t&2){let e=u();g("checked",e.checkBoxSelected)}}function ms(t,s){if(t&1){let e=N();M(),r(0,"svg",7),w("click",function(){S(e);let n=u();return T(n.onGroupClick())}),l(1,"path",8),x()}if(t&2){let e=u();Be("h-5 w-5 cursor-pointer text-"+e.getColor()+"-500 group-hover:text-"+e.getColor()+"-700")}}function Es(t,s){if(t&1){let e=N();M(),r(0,"svg",7),w("click",function(){S(e);let n=u();return T(n.onGroupClick())}),l(1,"path",9),x()}if(t&2){let e=u();Be("h-5 w-5 cursor-pointer text-"+e.getColor()+"-500 group-hover:text-"+e.getColor()+"-700")}}function Cs(t,s){if(t&1&&(M(),r(0,"svg",10),l(1,"path",11),x()),t&2){let e=u();Be("h-5 w-5 text-"+e.getColor()+"-500 group-hover:text-"+e.getColor()+"-700")}}function hs(t,s){if(t&1&&l(0,"img",3),t&2){let e=u();g("src",e.resourceService.getCoverURLById(e._treeInput==null?null:e._treeInput.coverId),ye)}}function fs(t,s){if(t&1){let e=N();r(0,"div",12)(1,"app-tree-view",13),w("selectTree",function(n){S(e);let a=u();return T(a.onChildSelect(n))})("checkSelect",function(n){S(e);let a=u();return T(a.onCheckBoxChildSelect(n))}),x()()}if(t&2){let e=s.$implicit,i=u();
429xt("display-none",!i.open),o(),g("id",e.id+"_"+(i.treeInputClass.isParent(i._treeInput)?"parent":"child"))("treeInput",e)("checkBox",i.checkBox)("directlyEmitSelection",i.directlyEmitSelection)}}var M0=(()=>{class t{resourceService;coverOverlay;set treeInput(e){this._treeInput=e,e?.checkBoxSelected&&(this.checkBoxSelected=e.checkBoxSelected)}showDetailsActions=!1;_treeInput;checkBox=!1;directlyEmitSelection=!1;selectTree=new ze;checkSelect=new ze;readResource=new ze;childTreeViews;treeInputClass=ge;open=!0;selected=!1;checkBoxSelected=!1;selectedTreeInput;constructor(e){this.resourceService=e}ngOnInit(){}onTreeClick(e){if(!this.checkBox){if(this.directlyEmitSelection){this.selectTree.emit(this._treeInput);return}e?(this.selected=!0,this.selectedTreeInput=this._treeInput):(this.selected=!this.selected,this.selectedTreeInput=void 0),this.selectTree.emit({tree:this._treeInput,selected:this.selected}),this._treeInput.id||this.processChildTree(this._treeInput,this.childTreeViews)}}onChildSelect(e){e.selected?this.selectedTreeInput=e.tree:this.selectedTreeInput=void 0,this.selectTree.emit(e),this.selected=!1,this.processChildTree(e.tree,this.childTreeViews)}processChildTree(e,i){i.forEach(n=>{(n._treeInput?.id!==e.id||ge.isParent(n._treeInput)!==ge.isParent(e))&&(n.selected=!1),this.processChildTree(e,n.childTreeViews)})}onGroupClick(){this.open=!this.open,this.onTreeClick(!0)}getColor(){return this.selected?"green":"gray"}onCheckBoxClick(){this.checkBoxSelected=!this.checkBoxSelected,ge.isParent(this._treeInput)&&this.processCheckBoxChildTree(this.childTreeViews),this.checkSelect.emit({tree:this._treeInput,selected:this.checkBoxSelected})}processCheckBoxChildTree(e){e.forEach(i=>{i.checkBoxSelected=this.checkBoxSelected,this.processCheckBoxChildTree(i.childTreeViews)})}onCheckBoxChildSelect(e){this.checkSelect.emit({tree:e.tree,selected:e.selected}),e.selected===!1&&this.checkBoxSelected&&(this.checkBoxSelected=!1)}static \u0275fac=function(i){return new(i||t)(F(at))};static \u0275cmp=H({type:t,selectors:[["app-tree-view"]],viewQuery:function(i,n){if(i&1&&(le(us,5),le(t,5)),i&2){let a;de(a=ue())&&(n.coverOverlay=a.first),de(a=ue())&&(n.childTreeViews=a)}},inputs:{treeInput:"treeInput",showDetailsActions:"showDetailsActions",checkBox:"checkBox",directlyEmitSelection:"directlyEmitSelection"},outputs:{selectTree:"selectTree",checkSelect:"checkSelect",readResource:"readResource"},decls:11,vars:8,consts:[[1,"flex","items-center","group"],["aria-describedby","comments-description","type","checkbox",1,"h-4","w-4","mr-2","rounded","text-indigo-600","dark:text-indigo-400","border-gray-300","dark:border-white/20","bg-white","dark:bg-white/10","focus:ring-2","focus:ring-indigo-500/50","focus:outline-none",3,"checked"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",3,"class"],["alt","",1,"h-5","w-5","rounded","flex-shrink-0",3,"src"],[3,"click"],[1,"ml-4","mt-2",3,"display-none"],["aria-describedby","comments-description","type","checkbox",1,"h-4","w-4","mr-2","rounded","text-indigo-600","dark:text-indigo-400","border-gray-300","dark:border-white/20","bg-white","dark:bg-white/10","focus:ring-2","focus:ring-indigo-500/50","focus:outline-none",3,"click","checked"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",3,"click"],["stroke-linecap","round","stroke-linejoin","round","d","M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"],["stroke-linecap","round","stroke-linejoin","round","d","M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 0 0-1.883 2.542l.857 6a2.25 2.25 0 0 0 2.227 1.932H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-1.883-2.542m-16.5 0V6A2.25 2.25 0 0 1 6 3.75h3.879a1.5 1.5 0 0 1 1.06.44l2.122 2.12a1.5 1.5 0 0 0 1.06.44H18A2.25 2.25 0 0 1 20.25 9v.776"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2"],["stroke-linecap","round","stroke-linejoin","round","d","M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"],[1,"ml-4","mt-2"],[3,"selectTree","checkSelect","id","treeInput","checkBox","directlyEmitSelection"]],template:function(i,n){i&1&&(r(0,"div")(1,"div",0),v(2,ps,1,1,"input",1),v(3,ms,2,2,":svg:svg",2),v(4,Es,2,2,":svg:svg",2),v(5,Cs,2,2,":svg:svg",2),v(6,hs,1,1,"img",3),r(7,"p",4),w("click",function(){return n.onTree
429Click()}),d(8),x()(),re(9,fs,2,6,"div",5,ae),x()),i&2&&(o(2),B(n.checkBox&&(n._treeInput!=null&&n._treeInput.id)?2:-1),o(),B(!n.open&&n.treeInputClass.isParent(n._treeInput)?3:-1),o(),B(n.open&&n.treeInputClass.isParent(n._treeInput)?4:-1),o(),B(n.treeInputClass.isLeaf(n._treeInput)&&!(n._treeInput!=null&&n._treeInput.coverId)?5:-1),o(),B(n._treeInput!=null&&n._treeInput.coverId?6:-1),o(),Be("ml-1.5 text-sm truncate cursor-pointer text-"+n.getColor()+"-500 group-hover:text-"+n.getColor()+"-700 "+(n.treeInputClass.isParent(n._treeInput)?"font-medium":"")),o(),f(" ",n._treeInput==null?null:n._treeInput.name," "),o(),oe(n._treeInput==null?null:n._treeInput.children))},dependencies:[t],styles:[".paragraph[_ngcontent-%COMP%]{user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}"]})}return t})();var gs=[[["","treeSlot",""]],[["","editSlot",""]]],vs=["[treeSlot]","[editSlot]"];function Bs(t,s){if(t&1&&(r(0,"div")(1,"dt",8),d(2),C(3,"translate"),x(),r(4,"dd",9),d(5),x()()),t&2){let e=u(4);o(2),f(" ",h(3,2,"library.resources.subtitle")," "),o(3),f(" ",e.selectedTreeValue.tree.subtitle," ")}}function As(t,s){if(t&1&&(r(0,"div")(1,"dt",8),d(2),C(3,"translate"),x(),r(4,"dd",9),d(5),x()()),t&2){let e=u(4);o(2),f(" ",h(3,2,"library.resources.authors")," "),o(3),f(" ",e.selectedTreeValue.tree.authorsToString," ")}}function bs(t,s){if(t&1&&(r(0,"div")(1,"dt",8),d(2),C(3,"translate"),x(),l(4,"dd",11),x()),t&2){let e=u(4);o(2),f(" ",h(3,2,"library.resources.otherInformation")," "),o(2),g("innerHTML",e.selectedTreeValue.tree.otherInformation,Ve)}}function _s(t,s){if(t&1){let e=N();r(0,"div")(1,"dt",12),d(2),C(3,"translate"),x(),r(4,"img",13),w("click",function(){S(e);let n=u(4);return T(n.openCoverOverlay())}),x()()}if(t&2){let e=u(4);o(2),f(" ",h(3,3,"library.resources.cover")," "),o(2),g("src",e.resourceService.getCoverURLById(e.selectedTreeValue.tree.coverId),ye)("alt",e.selectedTreeValue.tree.name)}}function Fs(t,s){if(t&1){let e=N();r(0,"div",10)(1,"button",14),w("click",function(){S(e);let n=u(4);return T(n.onReadClick())}),M(),r(2,"svg",15),l(3,"path",16),x(),d(4),C(5,"translate"),x()()}t&2&&(o(4),f(" ",h(5,1,"library.resources.read")," "))}function ys(t,s){if(t&1&&(r(0,"dl",7)(1,"div")(2,"dt",8),d(3),C(4,"translate"),x(),r(5,"dd",9),d(6),x()(),v(7,Bs,6,4,"div"),v(8,As,6,4,"div"),v(9,bs,5,4,"div"),v(10,_s,5,5,"div"),v(11,Fs,6,3,"div",10),x()),t&2){let e=u(3);o(3),f(" ",h(4,7,"library.resources.titleKey")," "),o(3),f(" ",e.selectedTreeValue.tree.name||"-"," "),o(),B(e.selectedTreeValue.tree.subtitle?7:-1),o(),B(e.selectedTreeValue.tree.authorsToString?8:-1),o(),B(e.selectedTreeValue.tree.otherInformation?9:-1),o(),B(e.selectedTreeValue.tree.coverId?10:-1),o(),B(e.showReadAction?11:-1)}}function ks(t,s){if(t&1&&(r(0,"dl")(1,"dt",8),d(2),C(3,"translate"),x(),r(4,"dd",9),d(5),x()()),t&2){let e=u(3);o(2),f(" ",h(3,2,"name")," "),o(3),f(" ",e.selectedTreeValue.tree.name||"-"," ")}}function ws(t,s){if(t&1&&v(0,ys,12,9,"dl",7)(1,ks,6,4,"dl"),t&2){let e=u(2);B(e.treeInputClass.isLeaf(e.selectedTreeValue==null?null:e.selectedTreeValue.tree)?0:1)}}function Ds(t,s){t&1&&G0(0,1)}function Ss(t,s){if(t&1&&(r(0,"div",4)(1,"div",6),v(2,ws,2,1),v(3,Ds,1,0),x()()),t&2){let e=u();o(2),B(e.showEditContent?-1:2),o(),B(e.showEditContent?3:-1)}}function Ts(t,s){if(t&1){let e=N();r(0,"div",17),w("click",function(){S(e);let n=u();return T(n.closeCoverOverlay())}),l(1,"div",18),r(2,"div",19),w("click",function(n){return S(e),T(n.stopPropagation())}),r(3,"button",20),w("click",function(){S(e);let n=u();return T(n.closeCoverOverlay())}),M(),r(4,"svg",15),l(5,"path",21),x()(),te(),l(6,"img",22),x()()}if(t&2){let e=u();o(6),g("src",e.resourceService.getCoverURLById(e.selectedTreeValue.tree.coverId),ye)("alt",e.selectedTreeValue.tree.name)}}var V0=(()=>{class t{resourceService;treeInput;showReadAction=!1;showEditContent=!1;selectTree=new ze;readResource=new ze;treeInputClass=ge;selectedTreeValue;showCoverOverlay=!1;constructor(e){this.resourceService=e}onTreeSelect(e){this.selectedTreeValue=e,this.selectTree.emit(e)}onReadClick(){this.selectedTreeValue?.tree&&this.readResource.emit(this.selectedTreeValue.tree)}openCoverOverlay(){this.showCoverOverlay=!0}closeCoverOverlay(){this.showCoverOverlay=!1}static \u0275fac=function(i){return new(i||t)(F(at))};static \u0275cmp=H({type:t,selectors:[["app-tree-detail-panel"]],inputs:{treeInput:"treeInput",showReadAction:"showReadAction",showEditContent:"showEditContent"},outputs:{selectTree:"selectTree",readResource:"readResource"},ngContentSelectors:vs,decls:7,vars:4,consts:[[1,"relative","bg-white/30","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","shadow-[inset_0_0_20px_rgba(255,255,255,0.4)]","dark:shadow-none","rounded-2xl","min-h-[70vh]"],[1,"flex","flex-col","lg:flex-row","min-h-[inherit]"],[1,"p-4",3,"ngClass"],[3,"selectTree","treeInput"],[1,"w-full","lg:w-1/2","xl:w-2/5","border-t","lg:border-t-0","lg:border-l","border-gray-200/30","dark:border-white/5"],[1,"fixed","inset-0","z-50","flex","items-center","justify-center","p-4"],[1,"p-4"],[1,"space-y-4"],[1,"text-[11px]","font-medium","text-gray-500","dark:text-gray-400","uppercase","tracking-wider"],[1,"mt-1","text-sm","text-gray-900","dark:text-white"],[1,"pt-3","border-t","border-gray-200/50","dark:border-white/10"],[1,"mt-1","text-sm","text-gray-900","dark:text-white",3,"innerHTML"],[1,"text-[11px]","font-medium","text-gray-500","dark:text-gray-400","uppercase","tracking-wider","mb-2"],[1,"rounded-lg","max-h-48","object-cover","cursor-pointer","hover:opacity-80","transition-opacity","duration-200",3,"click","
429src","alt"],["type","button",1,"w-full","inline-flex","items-center","justify-center","gap-2","px-4","py-2","rounded-xl","text-xs","font-semibold","bg-gradient-to-r","from-indigo-500","to-purple-600","text-white","shadow-lg","shadow-indigo-500/25","hover:from-indigo-600","hover:to-purple-700","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"],[1,"fixed","inset-0","z-50","flex","items-center","justify-center","p-4",3,"click"],[1,"absolute","inset-0","bg-black/60","backdrop-blur-sm"],[1,"relative","max-w-3xl","max-h-[85vh]",3,"click"],["type","button",1,"absolute","-top-3","-right-3","z-10","h-8","w-8","rounded-full","bg-white/90","dark:bg-slate-700/90","text-gray-600","dark:text-gray-300","shadow-lg","flex","items-center","justify-center","hover:bg-white","dark:hover:bg-slate-600","transition-all","duration-200",3,"click"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18 18 6M6 6l12 12"],[1,"rounded-2xl","max-h-[85vh]","object-contain","shadow-2xl",3,"src","alt"]],template:function(i,n){i&1&&(wi(gs),r(0,"div",0)(1,"div",1)(2,"div",2),G0(3),r(4,"app-tree-view",3),w("selectTree",function(c){return n.onTreeSelect(c)}),x()(),v(5,Ss,4,2,"div",4),x()(),v(6,Ts,7,2,"div",5)),i&2&&(o(2),g("ngClass",n.selectedTreeValue!=null&&n.selectedTreeValue.selected&&!n.selectedTreeValue.tree.isRoot?"w-full lg:w-1/2 xl:w-3/5":"w-full"),o(2),g("treeInput",n.treeInput),o(),B(n.selectedTreeValue!=null&&n.selectedTreeValue.selected&&!n.selectedTreeValue.tree.isRoot?5:-1),o(),B(n.showCoverOverlay&&(!(n.selectedTreeValue==null||n.selectedTreeValue.tree==null)&&n.selectedTreeValue.tree.coverId)?6:-1))},dependencies:[M0,Bt,J],encapsulation:2})}return t})();var Vt=(function(t){return t[t.IN_PENDING=0]="IN_PENDING",t[t.ACCEPTED=1]="ACCEPTED",t[t.REJECTED=2]="REJECTED",t})(Vt||{});var Ps=["resources"],Is=["editWorkspace"],Ms=["confirmModal"],Vs=["eliminationReason"],Ls=["addChild"];function js(t,s){t&1&&l(0,"span",22)}function Ns(t,s){if(t&1){let e=N();r(0,"div",12)(1,"button",16),w("click",function(){S(e);let n=u();return T(n.delete())}),M(),r(2,"svg",17),l(3,"path",18),x(),d(4),C(5,"translate"),x(),te(),r(6,"button",19),w("click",function(){S(e);let n=u();return T(n.edit())}),M(),r(7,"svg",17),l(8,"path",20),x(),d(9),C(10,"translate"),x(),te(),r(11,"button",19),w("click",function(){S(e);let n=u();return T(n.onReadersClick())}),M(),r(12,"svg",17),l(13,"path",21),x(),d(14),C(15,"translate"),v(16,js,1,0,"span",22),x()()}if(t&2){let e=u();o(4),f(" ",h(5,4,"delete")," "),o(5),f(" ",h(10,6,"library.workspaces.manageWorkspace.manage")," "),o(5),f(" ",h(15,8,"library.workspaces.manageWorkspace.participants")," "),o(2),B(e.workspace!=null&&e.workspace.hasParticipantRequests?16:-1)}}function Rs(t,s){if(t&1){let e=N();r(0,"div",6)(1,"app-tree-view",23,0),w("checkSelect",function(n){S(e);let a=u();return T(a.onTreeSelect(n))}),x()()}if(t&2){let e=u();o(),g("treeInput",e.treeInput)("checkBox",!0)}}function Os(t,s){if(t&1){let e=N();r(0,"app-tree-detail-panel",24),w("readResource",function(n){S(e);let a=u();return T(a.onResourceClick(n))}),x()}if(t&2){let e=u();g("treeInput",e.treeInput)("showReadAction",!0)}}function zs(t,s){if(t&1){let e=N();r(0,"button",35),w("click",function(){S(e);let n=u().$implicit,a=u(2);return T(a.showEliminationReason(n))}),M(),r(1,"svg",36),l(2,"path",37),x()()}}function Gs(t,s){if(t&1){let e=N();r(0,"button",38),w("click",function(){S(e);let n=u().$implicit,a=u(2);return T(a.acceptReader(n))}),M(),r(1,"svg",36),l(2,"path",39),x()()}}function Hs(t,s){if(t&1){let e=N();r(0,"button",40),w("click",function(){S(e);let n=u().$implicit,a=u(2);return T(a.rejectReader(n))}),M(),r(1,"svg",36),l(2,"path",41),x()()}}function Us(t,s){if(t&1&&(r(0,"div",26)(1,"div"),d(2),x(),r(3,"div",28)(4,"p",29),d(5),x(),r(6,"p",30),d(7),x()(),r(8,"div",31),v(9,zs,3,0,"button",32),v(10,Gs,3,0,"button",33),v(11,Hs,3,0,"button",34),x()()),t&2){let e=s.$implicit,i=u(2);o(),Be("flex-shrink-0 h-8 w-8 rounded-lg bg-"+i.utils.getColorByNumber(e==null?null:e.id)+"-50 dark:bg-"+i.utils.getColorByNumber(e==null?null:e.id)+"-500/20 text-"+i.utils.getColorByNumber(e==null?null:e.id)+"-700 dark:text-"+i.utils.getColorByNumber(e==null?null:e.id)+"-300 flex items-center justify-center text-xs font-semibold"),o(),Re(" ",i.utils.getFirstLetters(e.person.firstName,1),"",i.utils.getFirstLetters(e.person.lastName,1)," "),o(3),Re(" ",e.person.firstName," ",e.person.lastName," "),o(2),f(" ",e.person.email," "),o(2),B(e.status===i.participantStatus[i.participantStatus.REJECTED]&&e.reason?9:-1),o(),B(e.status!==i.participantStatus[i.participantStatus.ACCEPTED]?10:-1),o(),B(e.status===i.participantStatus[i.participantStatus.ACCEPTED]?11:-1)}}function Ws(t,s){if(t&1){let e=N();r(0,"div",27)(1,"app-pagination",42),w("changedPage",function(n){S(e);let a=u(2);return T(a.changedReadersPage(n))}),x()()}if(t&2){let e=u(2);o(),g("pageNumber",e.currentPage)("totalNumberOfElements",e.readersSize)("pageSize",e.readersPageSize)}}function Qs(t,s){if(t&1&&(r(0,"div",14)(1,"div",6)(2,"div",25),re(3,Us,12,10,"div",26,ae),x(),v(5,Ws,2,3,"div",27),x()()),t&2){let e=u();o(2),g("appSkeleton",e.readersLoading),o(),oe(e.readers),o(2),B(e.showReadersPagination?5:-1)}}function qs(t,s){if(t&1){let e=N();r(0,"div",48)(1,"div",49)(2,"div"),d(3),x(),r(4,"div",50),w("click",function(){let n=S(e).$implicit,a=u(3);return T(a.navigateToWorkspace(n.id))}),r(5,"p",51),d(6),x(),r(7,"p",30),d(8),x()(),r(9,"button",52),w("click",function(){let n=S(e).$implicit,a=u(3);return T(a.deleteChildWorkspace(n.id))}),M(),r(10,"svg",17),l(11,"path",18),x()()()()}if(t&2){let e=s.$implicit,i=u(3);o(2),Be("flex-shrink-0 h-8 w-8 rounded-lg bg-"+i.utils.getColorByNumber(e.id)+"-100 dar
429k:bg-"+i.utils.getColorByNumber(e.id)+"-500/20 text-"+i.utils.getColorByNumber(e.id)+"-700 dark:text-"+i.utils.getColorByNumber(e.id)+"-300 flex items-center justify-center text-xs font-semibold"),o(),f(" ",i.utils.getFirstLetters(e.name,2)," "),o(3),f(" ",e.name," "),o(2),f(" ",e.description," ")}}function $s(t,s){if(t&1&&(r(0,"div",47),re(1,qs,12,5,"div",48,ae),x()),t&2){let e=u(2);o(),oe(e.workspace==null?null:e.workspace.children)}}function Ks(t,s){t&1&&l(0,"app-no-result")}function Zs(t,s){if(t&1){let e=N();r(0,"div",6)(1,"div",43)(2,"h2",44),d(3),C(4,"translate"),x(),r(5,"div",45)(6,"app-select",46,1),w("selectElement",function(n){S(e);let a=u();return T(a.selectedChildToAdd(n))}),x()()(),v(8,$s,3,0,"div",47),v(9,Ks,1,0,"app-no-result"),x()}if(t&2){let e=u();o(3),f(" ",h(4,6,"library.workspaces.children")," "),o(3),g("placeholder","library.workspaces.child_select")("clearSelection",!1)("inMemoryDataSource",e.possibleChildWorkspaces),o(2),B(!(e.workspace==null||e.workspace.children==null)&&e.workspace.children.length?8:-1),o(),B(!(!(e.workspace==null||e.workspace.children==null)&&e.workspace.children.length)&&!e.workspaceLoading?9:-1)}}function Xs(t,s){if(t&1){let e=N();r(0,"app-form-modal",53,2),w("formSubmit",function(n){S(e);let a=u();return T(a.saveWorkspace(n))}),x(),l(2,"app-confirm-modal",null,3),r(4,"app-form-modal",53,4),w("formSubmit",function(n){S(e);let a=u();return T(a.submitRejectReason(n))}),x()}t&2&&(g("isSection",!1),o(4),g("isSection",!1))}var vr=(()=>{class t extends Ut{route;workspaceService;resourceService;notificationService;router;securityService;resourcesTreeInput;editWorkspace;confirmModal;eliminationReason;addChild;canManage=!1;workspaceId;workspace;treeInput;utils=At;participantStatus=Vt;loading=!1;workspaceLoading=!1;readers=[];readersSize;readersPageSize=5;readersPageNumber=1;showReaders=!1;readersLoading=!1;showReadersPagination=!1;updateReader;currentPage=1;possibleChildWorkspaces=[];constructor(e,i,n,a,c,p){super(),this.route=e,this.workspaceService=i,this.resourceService=n,this.notificationService=a,this.router=c,this.securityService=p}ngOnInit(){this.loading=!0,this.workspaceId=Number(this.route.snapshot.paramMap.get("id")),this.workspaceService.getView(this.workspaceId).subscribe(e=>{e.canManage&&this.securityService.hasRole("ROLE_SOLARIS_LIBRARY_PUBLISHER")?(this.canManage=e.canManage,this.workspace=e.manageData,this.resourceService.get().subscribe(i=>{i.name=he.getTranslation("library.resources.title"),this.treeInput=i,this.populateResourceTree(i),this.loading=!1}),this.loadPossibleChild()):(this.workspace=e.participantData,this.workspace.tree.name=he.getTranslation("library.resources.title"),this.treeInput=this.workspace.tree,ge.processTreeInformation(this.treeInput),this.loading=!1)})}populateResourceTree(e){ge.isParent(e)&&(this.workspace.resourceGroups.map(i=>i.id).includes(e.id)&&(e.checkBoxSelected=!0),e.children.forEach(i=>this.populateResourceTree(i))),ge.isLeaf(e)&&this.workspace.resources.map(i=>i.id).includes(e.id)&&(e.checkBoxSelected=!0)}onTreeSelect(e){ge.isParent(e.tree)?e.selected?this.workspaceService.addResourceGroup(this.workspace.id,e.tree.id).subscribe():this.workspaceService.removeResourceGroup(this.workspace.id,e.tree.id).subscribe():ge.isLeaf(e.tree)&&(e.selected?this.workspaceService.addResource(this.workspace.id,e.tree.id).subscribe():this.workspaceService.removeResource(this.workspace.id,e.tree.id).subscribe())}onResourceClick(e){this.router.navigate(["/read-resource/"+e.id],{queryParams:{workspaceId:this.workspace.id}})}edit(){this.editWorkspace.setState(!0),this.editWorkspace.setTitle("library.workspaces.manageWorkspace._title"),this.editWorkspace.setDescription("library.workspaces.manageWorkspace._description"),this.editWorkspace.setKey("library.workspaces.manageWorkspace"),this.editWorkspace.setComponents(this.formComponents,this.workspace)}saveWorkspace(e){e.publicationStart&&String(e.publicationStart).includes("NaN")&&(e.publicationStart=null),e.publicationStop&&String(e.publicationStop).includes("NaN")&&(e.publicationStop=null),this.workspaceService.save(e).subscribe(()=>{this.notificationService.success("success","success",!0)})}delete(){this.confirmModal.object=new Ct().setType(Et.DELETE),this.confirmModal.setState(!0),this.confirmModal.response.subscribe(e=>{e&&this.workspaceService.delete(this.workspace.id).subscribe(()=>{this.notificationService.success("success","success",!0),this.router.navigate(["/library"]).then()})})}onReadersClick(){this.showReaders=!this.showReaders,this.showReaders&&this.loadReaders()}loadReaders(){this.readersLoading=!0,this.workspaceService.getParticipantsById(this.workspaceId,this.readersPageSize,this.currentPage-1).subscribe(e=>{this.readers=e.list,this.readersSize=e.totalNumberOfElements,this.showReadersPagination=this.readersSize>this.readersPageSize,this.readersLoading=!1})}changedReadersPage(e){this.currentPage=e,this.loadReaders()}acceptReader(e){e.reason="",e.status=Vt[Vt.ACCEPTED],this.saveReader(e)}saveReader(e){this.workspaceService.updateParticipant(e).subscribe(()=>{this.notificationService.success("success","success",!0),this.loadReaders()})}showEliminationReason(e){this.confirmModal.object=new Ct().setType(Et.INFO).setTitle("library.workspaces.manageWorksp
429ace.reason").setDescription(e.reason,!0).setShowSubmitButton(!1),this.confirmModal.setState(!0)}rejectReader(e){this.eliminationReason.setState(!0),this.eliminationReason.setTitle("library.workspaces.manageWorkspace.eliminationReason"),this.eliminationReason.setKey("library.workspaces.manageWorkspace"),this.eliminationReason.setComponents([{key:"",fields:[{type:fe.INPUT,key:"reason",validators:[Ne.required],colSpan:"6"}]}]),this.updateReader=e}submitRejectReason(e){this.updateReader.reason=e.reason,this.updateReader.status=Vt[Vt.REJECTED],this.saveReader(this.updateReader)}loadPossibleChild(){this.workspaceService.getPossibleChild(this.workspaceId).subscribe(e=>{this.possibleChildWorkspaces=e})}navigateToWorkspace(e){this.router.navigateByUrl("",{skipLocationChange:!0}).then(()=>this.router.navigate(["/view-workspace/"+e]))}deleteChildWorkspace(e){this.confirmModal.object=new Ct().setType(Et.DELETE),this.confirmModal.setState(!0),this.confirmModal.response.subscribe(i=>{i&&this.workspaceService.deleteChild(this.workspace.id,e).subscribe(()=>{this.workspace.children=this.workspace.children.filter(n=>n.id!==e),this.loadPossibleChild(),this.notificationService.success("success","success",!0)})})}selectedChildToAdd(e){this.workspaceService.addChild(this.workspace.id,e.id).subscribe(i=>{this.workspace.children?.push(i),this.addChild.reset(),this.notificationService.success("success","success",!0)})}static \u0275fac=function(i){return new(i||t)(F(Le),F(I0),F(at),F(Ke),F(ne),F(Y))};static \u0275cmp=H({type:t,selectors:[["app-workspace-view"]],viewQuery:function(i,n){if(i&1&&(le(Ps,5),le(Is,5),le(Ms,5),le(Vs,5),le(Ls,5)),i&2){let a;de(a=ue())&&(n.resourcesTreeInput=a.first),de(a=ue())&&(n.editWorkspace=a.first),de(a=ue())&&(n.confirmModal=a.first),de(a=ue())&&(n.eliminationReason=a.first),de(a=ue())&&(n.addChild=a.first)}},features:[De],decls:19,vars:10,consts:[["resources",""],["addChild",""],["editWorkspace",""],["confirmModal",""],["eliminationReason",""],[1,"space-y-4"],[1,"relative","bg-white/30","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","shadow-[inset_0_0_20px_rgba(255,255,255,0.4)]","dark:shadow-none","rounded-2xl","p-4"],[1,"flex","flex-col","sm:flex-row","sm:items-center","sm:justify-between","gap-3"],[1,"flex","items-center","gap-3"],[1,"min-w-0"],[1,"text-sm","font-semibold","text-gray-900","dark:text-white","truncate"],[1,"text-xs","text-gray-500","dark:text-gray-400","truncate"],[1,"flex","flex-wrap","items-center","gap-2"],[1,"flex","flex-col","lg:flex-row","gap-3"],[1,"flex-1"],[3,"treeInput","showReadAction"],["type","button",1,"inline-flex","items-center","gap-1.5","px-3","py-2","rounded-xl","text-xs","font-medium","bg-red-100/70","dark:bg-red-500/15","text-red-700","dark:text-red-300","border","border-red-200/60","dark:border-red-500/20","hover:bg-red-200/70","dark:hover:bg-red-500/25","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-3.5","w-3.5"],["stroke-linecap","round","stroke-linejoin","round","d","m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"],["type","button",1,"inline-flex","items-center","gap-1.5","px-3","py-2","rounded-xl","text-xs","font-medium","bg-white/50","dark:bg-white/10","text-gray-700","dark:text-gray-200","border","border-gray-200/50","dark:border-white/10","hover:bg-white/70","dark:hover:bg-white/20","active:scale-[0.98]","transition-all","duration-200",3,"click"],["stroke-linecap","round","stroke-linejoin","round","d","m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Z"],["stroke-linecap","round","stroke-linejoin","round","d","M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"],[1,"h-2","w-2","rounded-full","bg-emerald-500"],[3,"checkSelect","treeInput","checkBox"],[3,"readResource","treeInput","showReadAction"],[1,"space-y-2",3,"appSkeleton"],[1,"flex","items-center","gap-3","p-3","rounded-xl","bg-white/40","dark:bg-white/5","border","border-gray-200/50","dark:border-white/5"],[1,"mt-3"],[1,"min-w-0","flex-1"],[1,"text-xs","font-semibold","text-gray-900","dark:text-white","truncate"],[1,"text-[11px]","text-gray-500","dark:text-gray-400","truncate"],[1,"flex","items-center","gap-1.5"],["type","button",1,"p-1.5","rounded-lg","text-blue-600","dark:text-blue-400","hover:bg-blue-100/50","dark:hover:bg-blue-500/15","transition-all","duration-200"],["type","button",1,"p-1.5","rounded-lg","text-emerald-600","dark:text-emerald-400","hover:bg-emerald-100/50","dark:hover:bg-emerald-500/15","transition-all","duration-200"],["type","button",1,"p-1.5","rounded-lg","text-red-600","dark:text-red-400","hover:bg-red-100/50","dark:hover:bg-red-500/15","transition-all","duration-200"],["type","button",1,"p-1.5","rounded-lg","text-blue-600","dark:text-blue-400","hover:bg-blue-100/50","dark:hover:bg-blue-500/15","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"],["type","button",1,"p-1.5","rounded-lg","text-emerald-600","dark:text-emerald-400","hover:bg-emerald-100/50","dark:hover:bg-emerald-500/15","transition-all","duration-200",3,"click"],["stroke-linecap","round","stroke-linejoin","round","d","m4.5 12.75 6 6 9-13.5"],["type","button",1,"p-1.5","rounded-lg","text-red-600","dark:text-red-400","hover:bg-red-100/50","dark:hover:bg-red-500/15","transition-all","duration-200",3,"click"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18 18 6M6 6l12 12"],[3,"changedPage","pageNumber","totalNumberOfElements","pageSize"],[1,"flex","flex-col","sm:flex-row","sm:items-center","gap-3","mb-3"],[1,"text-sm","font-semibold","text-gray-900","dark:text-white"],[1,"sm:ml-auto","min-w-[200px]"],[3,"selectElement","placeholder","clearSelection","inMemoryDataSource"],[1,"grid","grid-cols-1","sm:grid-cols-2","lg:grid-cols-4","gap-3"],[1,"group","relative"],[1,"flex","items-center","gap-2.5","p-3","rounded-xl","bg-white/40","dark:bg-white/5","border","border-gray-200/50","dark:border-white/5","hover:bg-white/60","dark:hover:bg-white/10","transition-all","duration-200"],[1,"min-w-0","flex-1","cursor-pointer",3,"click"],[1,"text-xs","font-semibold","text-gray-900","dark:text-white","truncate","hover:text-indigo-600","dark:hover:text-indigo-400","transition-colors"],["type","button",1,"flex-shrink-0","p-1.5","rounded-lg","text-red-400","dark:text-red-500","opacity-0","group-hover:opacity-100","hover:bg-red-100/50","dark:hover:bg-red-500/15","transition-all","duration-200",3,"click"],[3,"formSubmit","isSection"]],template:function(i,n){i&1&&(r(0,"div",5)(1,"div",6)(2,"div",7)(3,"div",8)(4,"div"),d(5),x(),r(6,"div",9)(7,"h3",10),d(8),x(),r(9,"p",11),d(10),x()()(),v(11,Ns,17,10,"div",12),x()(),r(12,"div",13)(13,"div",14),v(14,Rs,3,2,"div",6)(15,Os,1,2,"app-tree-detail-panel",15),x(),v(16,Qs,6,2,"div",14),x(),v(17,Zs,10,8,"div",6),x(),v(18,Xs,6,2)),i&2&&(o(4),Be("flex-shrink-0 h-9 w-9 rounded-xl bg-"+n.utils.getColorByNumber(n.workspace==null?null:n.workspace.id)+"-50 dark:bg-"+n.utils.getColorByNumber(n.workspace==null?null:n.workspace.id)+"-500/20 text-"+n.utils.getColorByNumber(n.workspace==null?null:n.workspace.id)+"-700 dark:text-"+n.utils.getColorByNumber(n.workspace==null?null:n.workspace.id)+"-300 flex items-center justify-center text-sm font-semibold"),o(),f(" ",n.utils.getFirstLetters(n.workspace==null?null:n.workspace.name,2)," "),o(3),f(" ",n.workspace==null?null:n.workspace.name," "),o(2),f(" ",n.workspace==null?null:n.workspace.description," "),o(),B(n.canManage?11:-1),o(3),B(n.canManage?14:15),o(2),B(n.canManage&&n.showReaders?16:-1),o(),B(n.canManage?17:-1),o(),B(n.canManage?18:-1))}
429,dependencies:[wt,M0,V0,F0,ln,kt,Rt,Ot,J],encapsulation:2})}return t})();var Ys=["formModal"],Js=["confirmModal"],ec=["editForm"],tc=["detailPanel"];function ic(t,s){if(t&1){let e=N();r(0,"button",20),C(1,"translate"),w("click",function(){S(e);let n=u();return T(n.addGroup())}),M(),r(2,"svg",9),l(3,"path",21),x()()}t&2&&g("title",h(1,1,"library.resources.group_add"))}function nc(t,s){if(t&1){let e=N();r(0,"label",15),C(1,"translate"),M(),r(2,"svg",9),l(3,"path",22),x(),te(),r(4,"input",23),w("change",function(n){S(e);let a=u();return T(a.changedFile(n))}),x()()}if(t&2){let e=u();g("title",h(1,2,"library.resources.document_add")),o(4),g("accept",e.inputAcceptedFormats)}}function rc(t,s){if(t&1){let e=N();r(0,"button",29),C(1,"translate"),w("click",function(){S(e);let n=u(2);return T(n.deleteCover())}),M(),r(2,"svg",9),l(3,"path",30),x()()}t&2&&g("title",h(1,1,"library.resources.cover_delete"))}function oc(t,s){if(t&1){let e=N();r(0,"button",20),C(1,"translate"),w("click",function(){S(e);let n=u();return T(n.download())}),M(),r(2,"svg",9),l(3,"path",24),x()(),te(),r(4,"label",25),C(5,"translate"),M(),r(6,"svg",9),l(7,"path",26),x(),te(),r(8,"input",27),w("change",function(n){S(e);let a=u();return T(a.coverFileDropped(n))}),x()(),v(9,rc,4,3,"button",28)}if(t&2){let e=u();g("title",h(1,4,"library.resources.document_download")),o(4),g("title",h(5,6,!(e.selectedTreeValue==null||e.selectedTreeValue.tree==null)&&e.selectedTreeValue.tree.coverId?"library.resources.cover_edit":"library.resources.cover_add")),o(4),g("accept",e.coverAcceptedFormats),o(),B(!(e.selectedTreeValue==null||e.selectedTreeValue.tree==null)&&e.selectedTreeValue.tree.coverId?9:-1)}}function ac(t,s){if(t&1){let e=N();r(0,"div",18),l(1,"app-form",31,3),r(3,"div",32)(4,"button",33),w("click",function(){S(e);let n=u();return T(n.cancelEditing())}),d(5),C(6,"translate"),x(),r(7,"button",34),w("click",function(){S(e);let n=u();return T(n.saveFromPanel())}),M(),r(8,"svg",35),l(9,"path",36),x(),d(10),C(11,"translate"),x()()()}if(t&2){let e=u();o(),g("key","library.resources")("components",e.editFormComponents)("isSection",!1)("showHeader",!1),o(4),f(" ",h(6,6,"cancel")," "),o(5),f(" ",h(11,8,"save")," ")}}var Br=(()=>{class t{resourceService;notificationService;formModal;confirmModal;editForm;detailPanel;treeInput;treeInputClass=ge;isEditing=!1;editFormComponents=[];acceptedFormats=[dn.PDF];
429inputAcceptedFormats="application/pdf";coverAcceptedFormats="image/*";isUpdate=!1;get selectedTreeValue(){return this.detailPanel?.selectedTreeValue}constructor(e,i){this.resourceService=e,this.notificationService=i}ngOnInit(){this.resourceService.get().subscribe(e=>{e.name=he.getTranslation("library.resources.title"),e.isRoot=!0,this.treeInput=e,ge.processTreeInformation(this.treeInput)})}onTreeSelect(e){this.isEditing=!1}toggleEditing(){if(this.isEditing){this.isEditing=!1;return}let e=this.selectedTreeValue.tree,i=ge.isParent(e);!i&&!e.authors&&(e.authors=[]);let n=i?this.getGroupFields():this.getResourceFields();this.editFormComponents=[{key:void 0,fields:n}];let a=i?{name:e.name}:{name:e.name,subtitle:e.subtitle,authors:e.authors,otherInformation:e.otherInformation};this.isEditing=!0,setTimeout(()=>{this.editForm?.setComponents(this.editFormComponents,a)})}cancelEditing(){this.isEditing=!1}saveFromPanel(){let e=this.editForm?.getObject();e&&(e.id=this.selectedTreeValue.tree.id,this.isUpdate=!0,this.save(e),this.isEditing=!1)}addGroup(){this.isUpdate=!1,this.formModal.setTitle("library.resources.group_add"),this.formModal.setKey("library.resources"),this.formModal.setComponents([{key:void 0,fields:this.getGroupFields()}],{}),this.formModal.setState(!0)}formModalSubmit(e){this.selectedTreeValue?.selected&&(ge.isParent(this.selectedTreeValue.tree)&&!this.isUpdate&&(e.parentId=this.selectedTreeValue.tree.id),this.isUpdate&&(e.id=this.selectedTreeValue.tree.id)),this.save(e)}save(e){(ge.isParent(this.selectedTreeValue.tree)?this.resourceService.saveGroup(e):this.resourceService.save(e)).subscribe(a=>{this.isUpdate?this.replaceTree(this.treeInput,a):this.addInTree(e.parentId,this.treeInput,a),this.notificationService.success("success","success",!0)})}delete(){this.confirmModal.object=new Ct().setType(Et.DELETE),this.confirmModal.setState(!0),this.confirmModal.response.subscribe(e=>{if(!e)return;let i=this.selectedTreeValue.tree,n=ge.isLeaf(i);(n?this.resourceService.delete(i.id):this.resourceService.deleteGroup(i.id)).subscribe(()=>{this.removeFromTree(this.treeInput,i.id,n),this.isEditing=!1,this.notificationService.success("success","success",!0)})})}download(){this.resourceService.download(this.selectedTreeValue.tree.id)}fileDropped(e){this.resourceService.uploadDocument(e,this.selectedTreeValue?.tree?.id).subscribe(i=>{this.addInTree(this.selectedTreeValue?.tree?.id,this.treeInput,i),this.notificationService.success("success","success",!0)})}changedFile(e){let i=e.target,n=i?.files?.[0];if(n){if(n.type!=="application/pdf"){this.notificationService.error("error","library.resources.invalid_file_type",!0),i.value="";return}this.fileDropped(n),i.value=""}}coverFileDropped(e){let i=e.target,n=i?.files?.[0];
429if(n){if(!n.type.startsWith("image/")){this.notificationService.error("error","library.resources.invalid_file_type",!0),i.value="";return}this.resourceService.uploadCover(n,this.selectedTreeValue.tree.id).subscribe(a=>{this.replaceTree(this.treeInput,a),this.notificationService.success("success","success",!0)}),i.value=""}}deleteCover(){this.confirmModal.object=new Ct().setType(Et.DELETE).setDescription("library.resources.cover_delete_description"),this.confirmModal.setState(!0),this.confirmModal.response.subscribe(e=>{e&&this.resourceService.deleteCover(this.selectedTreeValue.tree.id).subscribe(i=>{this.replaceTree(this.treeInput,i),this.notificationService.success("success","success",!0)})})}replaceTree(e,i){e.id===i.id&&ge.isParent(e)===ge.isParent(i)&&(e.name=i.name,e.subtitle=i.subtitle,e.otherInformation=i.otherInformation,e.authors=i.authors,e.coverId=i.coverId,ge.processTreeInformation(e)),e.children?.forEach(n=>this.replaceTree(n,i))}addInTree(e,i,n){if(i.id==e&&ge.isParent(i))if(ge.isLeaf(n)){let a=i.children.filter(c=>ge.isLeaf(c)).length;i.children.splice(a,0,n)}else i.children.push(n);else i.children?.filter(a=>ge.isParent(a)).forEach(a=>this.addInTree(e,a,n))}removeFromTree(e,i,n){e.children?.some(c=>c.id===i&&ge.isLeaf(c)===n)?e.children=e.children.filter(c=>c.id!==i):e.children?.filter(c=>ge.isParent(c)).forEach(c=>this.removeFromTree(c,i,n))}getGroupFields(){return[{type:fe.INPUT,key:"name",colSpan:"6",validators:[Ne.required]}]}getResourceFields(){return[{type:fe.INPUT,key:"name",translatedKey:"library.resources.titleKey",colSpan:"6",validators:[Ne.required]},{type:fe.INPUT,key:"subtitle",colSpan:"6",validators:[]},{type:fe.LIST,key:"authors",colSpan:"6",validators:[],sub:[{type:fe.INPUT,key:"lastName",colSpan:"3",validators:[Ne.required]},{type:fe.INPUT,key:"firstName",colSpan:"3",validators:[Ne.required]}]},{type:fe.TEXT_AREA,key:"otherInformation",colSpan:"6",validators:[]}]}static \u0275fac=function(i){return new(i||t)(F(at),F(Ke))};static \u0275cmp=H({type:t,selectors:[["app-resources"]],viewQuery:function(i,n){if(i&1&&(le(Ys,5),le(Js,5),le(ec,5),le(tc,5)),i&2){let a;de(a=ue())&&(n.formModal=a.first),de(a=ue())&&(n.confirmModal=a.first),de(a=ue())&&(n.editForm=a.first),de(a=ue())&&(n.detailPanel=a.first)}},decls:24,vars:18,consts:[["detailPanel",""],["formModal",""],["confirmModal",""],["editForm",""],[1,"space-y-4"],[3,"title","dot","dotClass"],[1,"relative","bg-white/30","dark:bg-slate-800/50","backdrop-blur-xl","border","border-gray-300/50","dark:border-white/10","shadow-[inset_0_0_20px_rgba(255,255,255,0.4)]","dark:shadow-none","rounded-2xl","p-3"],[1,"flex","flex-wrap","items-center","gap-1.5"],["type","button",1,"p-2","rounded-lg","text-blue-600","dark:text-blue-400","hover:bg-blue-100/50","dark:hover:bg-blue-500/15","disabled:opacity-30","disabled:cursor-not-allowed","disabled:hover:bg-transparent","transition-all","duration-200",3,"click","disabled","title"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-5","w-5"],["stroke-linecap","round","stroke-linejoin","round","d","m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Z"],["type","button",1,"p-2","rounded-lg","text-red-600","dark:text-red-400","hover:bg-red-100/50","dark:hover:bg-red-500/15","disabled:opacity-30","disabled:cursor-not-allowed","disabled:hover:bg-transparent","transition-all","duration-200",3,"click","disabled","title"],["stroke-linecap","round","stroke-linejoin","round","d","m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"],[1,"w-px","h-5","bg-gray-200/50","dark:bg-white/10","mx-0.5"],["type","button",1,"p-2","rounded-lg","text-gray-600","dark:text-gray-400","hover:bg-white/50","dark:hover:bg-white/10","transition-all","duration-200",3,"title"],["for","addDocument",1,"p-2","rounded-lg","cursor-pointer","text-gray-600","dark:text-gray-400","hover:bg-white/50","dark:hover:bg-white/10","transition-all","duration-200",3,"title"],[3,"selectTree","treeInput","showEditContent"],["treeSlot","","appDragDrop","",3,"file","acceptedFormats"],["editSlot",""],[3,"formSubmit"],["type","button",1,"p-2","rounded-lg","text-gray-600","dark:text-gray-400","hover:bg-white/50","dark:hover:bg-white/10","transition-all","duration-200",3,"click","title"],["stroke-linecap","round","stroke-linejoin","round","d","M12 10.5v6m3-3H9m4.06-7.19-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"],["stroke-linecap","round","stroke-linejoin","round","d","M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m3.75 9v6m3-3H9m1.5-12H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"],["type","file","id","addDocument",1,"sr-only",3,"change","accept"],["stroke-linecap","round","stroke-linejoin","round","d","M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"],["for","addCover",1,"p-2","rounded-lg","cursor-pointer","text-gray-600","dark:text-gray-400","hover:bg-white/50","dark:hover:bg-white/10","transition-all","duration-200",3,"title"],["stroke-linecap","round","stroke-linejoin","round","d","m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909M3.75 21h16.5a2.25 2.25 0 0 0 2.25-2.25V5.25a2.25 2.25 0 0 0-2.25-2.25H3.75A2.25 2.25 0 0 0 1.5 5.25v13.5A2.25 2.25 0 0 0 3.75 21Z"],["type","file","id","addCover",1,"sr-only",3,"change","accept"],["type","button",1,"p-2","rounded-lg","text-red-600","dark:text-red-400","hover:bg-red-100/50","dark:hover:bg-red-500/15","transition-all","duration-200",3,"title"],["type","button",1,"p-2","rounded-lg","text-red-600","dark:text-red-400","hover:bg-red-100/50","dark:hover:bg-red-500/15","transition-all","duration-200",3,"click","title"],["stroke-linecap","round","stroke-linejoin","round","d","m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"],[3,"key","components","isSection","showHeader"],[1,"flex","items-center","justify-end","gap-2","mt-5","pt-4","border-t","border-gray-200/50","dark:border-white/10"],["type","button",1,"inline-flex","items-center","gap-1.5","px-4","py-2","rounded-xl","text-sm","font-medium","bg-white/50","dark:bg-white/10","text-gray-700","dark:text-gray-300","border","border-gray-200/50","dark:border-white/10","hover:bg-white/70","dark:hover:bg-white/20","active:scale-[0.98]","transition-all","duration-200",3,"click"],["type","button",1,"inline-flex","items-center","gap-1.5","px-4","py-2","rounded-xl","text-sm","font-semibold","bg-gradient-to-r","from-indigo-500","to-purple-600","text-white","shadow-lg","shadow-indigo-500/25","hover:from-indigo-600","hover:to-purple-700","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","m4.5 12.75 6 6 9-13.5"]],template:function(i,n){if(i&1){let a=N();r(0,"div",4),l(1,"app-title",5),r(2,"div",6)(3,"div",7)(4,"button",8),C(5,"translate"),w("click",function(){return S(a),T(n.toggleEditing())}),M(),r(6,"svg",9),l(7,"path",10),x()(),te(),r(8,"button",11),C(9,"translate"),w("click",function(){return S(a),T(n.delete())}),M(),r(10,"svg",9),l(11,"path",12),x()(),te(),l(12,"div",13),v(13,ic,4,3,"button",14),v(14,nc,5,4,"label",15),v(15,oc,10,8),x()(),r(16,"app-tree-detail-panel",16,0),w("selectTree",function(p){return S(a),T(n.onTreeSelect(p))}),r(18,"div",17),w("file",function(p){return S(a),T(n.fileDropped(p))}),x(),v(19,ac,12,10,"div",18),x()(),r(20,"app-form-modal",19,1),w("formSubmit",function(p){return S(a),T(n.formModalSubmit(p))}),x(),l(22,"app-confirm-modal",null,2)}i&2&&(o(),g("title","library.resources.title")("dot",!0)("dotClass","bg-indigo-500"),o(3),g("disabled",!(n.selectedTreeValue!=null&&n.selectedTreeValue.selected)||n.selectedTreeValue.tree.isRoot)("title",h(5,14,"library.resources.manage")),o(4),g("disabled",!(n.selectedTreeValue!=null&&n.selectedTreeValue.selected)||n.selectedTreeValue.tree.isRoot)("title",h(9,16,"library.resources.delete")),o(5),B(!n.treeInputClass.isLeaf(n.selectedTreeValue==null?null:n.selectedTreeValue.tree)&&(n.selectedTreeValue!=null&&n.selectedTreeValue.selected)?13:-1),o(),B(n.treeInputClass.isParent(n.selectedTreeValue==null?null:n.selectedTreeValue.tree)&&(n.selectedTreeValue!=null&&n.selectedTreeValue.selected)?14:-1),o(),B(n.treeInputClass.isLeaf(n.selectedTreeValue==null?null:n.selectedTreeValue.tree)&&(n.selectedTreeValue!=null&&n.selectedTreeValue.selected)?15:-1),o(),g("treeInput",n.treeInput)("showEditContent",n.isEditing),o(2),g("acceptedFormats",n.acceptedFormats),o(),B(n.isEditing?19:-1))},dependencies:[V0,Ot,Rt,un,Cn,D0,J],encapsulation:2})}return t})();var L0=class{countryService;countyService;cityService;maritalStatusService;
429genderService;formElements;constructor(s,e,i,n,a){this.countryService=s,this.countyService=e,this.cityService=i,this.maritalStatusService=n,this.genderService=a,this.formElements=[{key:"additionalInfo",fields:[{key:"lastName",type:fe.INPUT,colSpan:"2",validators:[Ne.required]},{key:"firstName",type:fe.INPUT,colSpan:"2",validators:[Ne.required]},{key:"personalId",type:fe.INPUT,colSpan:"2",validators:[]},{key:"birthdate",type:fe.DATE,colSpan:"2",validators:[Ne.required]},{key:"gender",type:fe.SELECT,dataSourceMethod:this.genderService.get.bind(this.genderService),showedField:"name",outputSelectHoleObj:!0,colSpan:"2",validators:[]},{key:"maritalStatus",type:fe.SELECT,dataSourceMethod:this.maritalStatusService.get.bind(this.maritalStatusService),outputSelectHoleObj:!0,showedField:"name",colSpan:"2",validators:[]},{key:"foreignPerson",type:fe.BOOLEAN,colSpan:"2",value:!1,validators:[Ne.required]},{type:fe.SELECT,key:"birthCountry",colSpan:"2",dataSourceMethod:this.countryService.get.bind(this.countryService),showedField:"name",outputSelectHoleObj:!0,validators:[],dataSourceArguments:[]},{type:fe.SELECT,key:"birthCounty",colSpan:"2",dataSourceMethod:this.countyService.getByCountry.bind(this.countyService),showedField:"name",dependsOn:"birthCountry",outputSelectHoleObj:!0,validators:[],dataSourceArguments:[]},{type:fe.SELECT,key:"birthCity",colSpan:"2",dataSourceMethod:this.cityService.getByCounty.bind(this.cityService),showedField:"name",dependsOn:"birthCounty",outputSelectHoleObj:!0,validators:[],dataSourceArguments:[]},{key:"identityCard.code",type:fe.INPUT,colSpan:"2",validators:[]},{key:"identityCard.number",type:fe.INPUT,colSpan:"2",validators:[]},{key:"identityCard.releaseDate",type:fe.DATE,colSpan:"2",validators:[]},{key:"identityCard.validThru",type:fe.DATE,colSpan:"2",validators:[]},{key:"identityCard.releaser",type:fe.INPUT,colSpan:"4",validators:[]},{key:"passportCard.series",type:fe.INPUT,colSpan:"2",validators:[]},{key:"passportCard.number",type:fe.INPUT,colSpan:"2",validators:[]},{key:"passportCard.releaseDate",type:fe.DATE,colSpan:"2",validators:[]},{key:"passportCard.validThru",type:fe.DATE,colSpan:"2",validators:[]}]}]}};var xc=["additionalInfoForm"],Ar=(()=>{class t extends L0{securityService;notificationService;userService;_countryService;_countyService;_cityService;_maritalStatusService;_genderService;formComponent;constructor(e,i,n,a,c,p,E,m){super(a,c,p,E,m),this.securityService=e,this.notificationService=i,this.userService=n,this._countryService=a,this._countyService=c,this._cityService=p,this._maritalStatusService=E,this._genderService=m}ngOnInit(){}submit(){let e=this.formComponent.getObject();e&&this.userService.additionalInfo(e).subscribe(()=>{this.notificationService.success("success","success",!0),this.securityService.reloadUser().subscribe(()=>{this.securityService.processAuthenticatedUserNavigation()})})}static \u0275fac=function(i){return new(i||t)(F(Y),F(Ke),F(yt),F(hn),F(fn),F(gn),F(vn),F(Bn))};static \u0275cmp=H({type:t,selectors:[["app-additional-info"]],viewQuery:function(i,n){if(i&1&&le(xc,5),i&2){let a;de(a=ue())&&(n.formComponent=a.first)}},features:[De],decls:20,vars:14,consts:[["additionalInfoForm",""],[1,"fixed","inset-0","z-50","overflow-y-auto"],[1,"fixed","inset-0","bg-black/40","backdrop-blur-sm"],[1,"min-h-full","flex","items-center","justify-center","p-4"],[1,"relative","w-full","max-w-5xl","bg-white/80","dark:bg-slate-800/80","backdrop-blur-xl","ring-1","ring-white/60","dark:ring-white/10","shadow-[0_8px_32px_rgba(0,0,0,0.12)]","dark:shadow-[0_8px_32px_rgba(0,0,0,0.4)]","rounded-2xl","overflow-hidden"],[1,"px-8","pt-6","pb-4","border-b","border-gray-200/50","dark:border-white/10"],[1,"text-lg","font-semibold","text-gray-900","dark:text-white"],[1,"mt-1","text-sm","text-gray-500","dark:text-gray-400"],[1,"px-8","py-6"],[3,"components","loading","isSection","key","extraFormClass"],[1,"px-8","py-4","border-t","border-gray-200/50","dark:border-white/10","bg-gray-50/50","dark:bg-white/5","flex","justify-end"],["type","button",1,"inline-flex","items-center","gap-2","px-5","py-2.5","rounded-xl","text-sm","font-semibold","text-white","bg-gradient-to-r","from-indigo-500","to-purple-600","shadow-lg","shadow-indigo-500/25","hover:from-indigo-600","hover:to-purple-700","active:scale-[0.98]","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","m4.5 12.75 6 6 9-13.5"]],template:function(i,n){if(i&1){let a=N();r(0,"div",1),l(1,"div",2),r(2,"div",3)(3,"div",4)(4,"div",5)(5,"h2",6),d(6),C(7,"translate"),x(),r(8,"p",7),d(9),C(10,"translate"),x()(),r(11,"div",8),l(12,"app-form",9,0),x(),r(14,"div",10)(15,"button",11),w("click",function(){return S(a),T(n.submit())}),M(),r(16,"svg",12),l(17,"path",13),x(),d(18),C(19,"translate"),x()()()()()}
429i&2&&(o(6),f(" ",h(7,8,"additionalInfo.title")," "),o(3),f(" ",h(10,10,"additionalInfo.description")," "),o(3),g("components",n.formElements)("loading",!1)("isSection",!1)("key","additionalInfo")("extraFormClass","pt-0"),o(6),f(" ",h(19,12,"additionalInfo.submit")," "))},dependencies:[D0,J],encapsulation:2})}return t})();var sc=["scanModal"];function cc(t,s){t&1&&(r(0,"p",4),d(1),C(2,"translate"),x()),t&2&&(o(),f(" ",h(2,1,"attendance.scan.sending")," "))}function lc(t,s){if(t&1){let e=N();r(0,"button",7),w("click",function(){S(e);let n=u(2);return T(n.scanAgain())}),d(1),C(2,"translate"),x()}t&2&&(o(),f(" ",h(2,1,"attendance.scan.scanAgain")," "))}function dc(t,s){if(t&1&&(r(0,"p",5),d(1),C(2,"translate"),x(),v(3,lc,3,3,"button",6)),t&2){let e=u();Be(e.accepted?"text-emerald-600 dark:text-emerald-400":"text-red-600 dark:text-red-400"),o(),f(" ",h(2,4,e.resultKey)," "),o(2),B(e.accepted?-1:3)}}var br=(()=>{class t{route;attendanceScanService;scanModal;sending=!1;resultKey=null;accepted=!1;constructor(e,i){this.route=e,this.attendanceScanService=i}ngOnInit(){let e=this.route.snapshot.queryParamMap.get("c");if(!e){this.resultKey="attendance.scan.missingCode";return}this.sending=!0,this.attendanceScanService.sendScannedCode(e).subscribe({next:i=>{this.sending=!1,this.accepted=i.outcome!=="REJECTED",this.resultKey=ot.resultKey(i)},error:()=>{this.sending=!1,this.resultKey="attendance.scan.sendFailed"}})}scanAgain(){this.scanModal.open()}static \u0275fac=function(i){return new(i||t)(F(Le),F(ot))};static \u0275cmp=H({type:t,selectors:[["app-attendance-scan-link"]],viewQuery:function(i,n){if(i&1&&le(sc,5),i&2){let a;de(a=ue())&&(n.scanModal=a.first)}},decls:9,vars:4,consts:[["scanModal",""],[1,"flex","justify-center","p-4"],[1,"w-full","max-w-lg","flex","flex-col","items-center","gap-4","p-6","rounded-2xl","bg-white/50","dark:bg-white/5","border","border-gray-200/60","dark:border-white/10"],[1,"text-base","font-semibold","text-gray-800","dark:text-gray-100"],[1,"text-sm","text-gray-600","dark:text-gray-300","text-center"],[1,"text-sm","font-semibold","text-center"],["type","button",1,"px-4","py-2.5","rounded-xl","bg-indigo-600","hover:bg-indigo-700","text-white","text-sm","font-medium"],["type","button",1,"px-4","py-2.5","rounded-xl","bg-indigo-600","hover:bg-indigo-700","text-white","text-sm","font-medium",3,"click"]],template:function(i,n){i&1&&(r(0,"div",1)(1,"div",2)(2,"h2",3),d(3),C(4,"translate"),x(),v(5,cc,3,3,"p",4)(6,dc,4,6),x()(),l(7,"app-attendance-scan-modal",null,0)),i&2&&(o(3),f(" ",h(4,2,"attendance.scan.title")," "),o(2),B(n.sending?5:n.resultKey?6:-1))},dependencies:[Nt,P0,J],encapsulation:2})}return t})();function Ye(t){return(s,e)=>{let i=se(bi);return x0(t).pipe(Ci(n=>_i(i,()=>n(s,e))),l0(n=>typeof n=="boolean"&&n===!0,!0),gi())}}var _r=[{path:"",component:ir,pathMatch:"full"},{path:"",component:T0,children:[{path:"at",loadChildren:()=>import("./chunk-F4T5JRNI.js").then(t=>t.routes),canActivate:[Ye([Te,ur,st,Mt])]},{path:"as",loadChildren:()=>import("./chunk-ON2ZWWJV.js").then(t=>t.routes),canActivate:[Ye([Te,ti,Ht,st,Mt])]},{path:"aes",loadChildren:()=>import("./chunk-ESKP5XFZ.js").then(t=>t.routes),canActivate:[Ye([Te,cr,Ht,st,Mt])]},{path:"ae",loadChildren:()=>import("./chunk-A6KUBF2A.js").then(t=>t.routes),canActivate:[Ye([Te,xr,Ht,st,Mt])]},{path:"arc",loadChildren:()=>import("./chunk-ECRXU66Z.js").then(t=>t.routes),canActivate:[Ye([Te,lr])]},{path:"ar",loadChildren:()=>import("./chunk-KJ255UPK.js").then(t=>t.routes),canActivate:[Ye([Te,dr])]},{path:"aep",loadChildren:()=>import("./chunk-5KPF7EOV.js").then(t=>t.routes),canActivate:[Ye([Te,sr])]},{path:"als",loadChildren:()=>import("./chunk-TTBI7NFT.js").then(t=>t.routes),canActivate:[Ye([Te,or])]},{path:"ads",loadChildren:()=>import("./chunk-C53YOSNB.js").then(t=>t.routes),canActivate:[Ye([Te,ar,Ht,st,Mt])]},{path:"attendance/scan",component:br,pathMatch:"full",canActivate:[Ye([Te,ti,Ht,st,Mt])]},{path:"content/:id",component:_n},{path:"library",component:hr,pathMatch:"full",data:{breadcrumb:{key:"menu.library",resetWhenAccessed:!0}},canActivate:[Ye([Te,st])]},{path:"read-resource/:resourceId",component:gr,data:{breadcrumb:{key:"menu.read-resource",resetWhenAccessed:!1}},canActivate:[Ye([Te,st])]},{path:"view-workspace/:id",component:vr,pathMatch:"full",data:{breadcrumb:{key:"menu.view-workspace",resetWhenAccessed:!1}},canActivate:[Ye([Te,st])]},{path:"resource",component:Br,pathMatch:"full",data:{breadcrumb:{key:"menu.resource",resetWhenAccessed:!1}},canActivate:[Ye([Te,st])]}]},{path:"auth",loadChildren:()=>import("./chunk-RQABSKIG.js").then(t=>t.routes)},{path:"landing",loadComponent:()=>import("./chunk-DT4F35BC.js").then(t=>t.LandingComponent),pathMatch:"full"},{path:"about-us",component:Fn,pathMatch:"full"},{path:"news",component:nr,data:{breadcrumb:{key:"news",resetWhenAccessed:!0}}},{path:"alumni",component:Tn,pathMatch:"full"},{path:"announcements",component:Mn,pathMatch:"full"},{path:"disclaimer",component:Vn,canActivate:[Te],pathMatch:"full"},{path:"additionalInfo",component:Ar,canActivate:[Te],pathMatch:"full"},{path:"article/:id",component:Ln,pathMatch:"full",canActivate:[Te]},{path:"404",component:zn,pathMatch:"full"},{path:"500",component:Gn,pathMatch:"full"},{path:"403",component:On,pathMatch:"full"},{path:"auth-error",component:jn,pathMatch:"full"},{path:"connection-error",component:Nn,pathMatch:"full"},{path:"soon",component:Hn,pathMatch:"full"},{path:"finish",component:Rn,pathMatch:"full"},{path:"payment",component:Un,pathMatch:"full",canActivate:[Te]},{path:"sts",component:rr,pathMatch:"full",canActivate:[Te]},{path:"test",component:Y0,pathMatch:"full"},{path:"oauth",component:Y0,pathMatch:"full"},{path:"**",redirectTo:"404"}];var Fr=(t,s)=>{let e=se(ft);return t.url.includes("setup")||e.isLoaded()?s(t):x0(e.loadConfig()).pipe(c0(()=>s(t)))};
429function uc(t){return{api:Fe.ENV.api,maxShowedAlerts:Fe.ENV.maxAlerts,currentLanguage:()=>t.currentLang,defaultLanguage:()=>Fe.ENV.defaultLang,authorizationKey:"Authorization"}}var yr={providers:[Li(_r,ji({scrollPositionRestoration:"top"})),U0({loader:q0({prefix:"/assets/i18n/",suffix:".json"})}),d0(()=>bn()()),d0(()=>ut(null,null,function*(){yield se(ft).loadConfig()})),d0(()=>An()),Pi(Mi(),Ii([Fr])),U0({loader:q0({prefix:"/assets/i18n/",suffix:".json"})}),Ai(Ui.forRoot({resourceServer:{allowedUrls:["http://127.0.0.1:8080"],sendAccessToken:!0}})),{provide:Ri,useFactory:uc,deps:[B0]},ke,et]};var Kr=di(qr());var Ic=(t,s,e,i)=>({"bg-gradient-to-r from-red-500 to-rose-500":t,"bg-gradient-to-r from-emerald-500 to-green-500":s,"bg-gradient-to-r from-amber-500 to-yellow-500":e,"bg-gradient-to-r from-blue-500 to-indigo-500":i}),Mc=(t,s,e,i)=>({"bg-red-100 dark:bg-red-500/20":t,"bg-emerald-100 dark:bg-emerald-500/20":s,"bg-amber-100 dark:bg-amber-500/20":e,"bg-blue-100 dark:bg-blue-500/20":i}),Vc=(t,s,e,i)=>({"bg-red-500":t,"bg-emerald-500":s,"bg-amber-500":e,"bg-blue-500":i});function Lc(t,s){t&1&&(M(),r(0,"svg",11),l(1,"path",24),x())}function jc(t,s){t&1&&(M(),r(0,"svg",12),l(1,"path",25),x())}function Nc(t,s){t&1&&(M(),r(0,"svg",13),l(1,"path",24),x())}function Rc(t,s){t&1&&(M(),r(0,"svg",14),l(1,"path",26),x())}function Oc(t,s){t&1&&(r(0,"span"),d(1),C(2,"translate"),x(),M(),r(3,"svg",28),l(4,"path",29),x()),t&2&&(o(),pe(h(2,1,"notification.showMore")))}function zc(t,s){t&1&&(r(0,"span"),d(1),C(2,"translate"),x(),M(),r(3,"svg",28),l(4,"path",30),x()),t&2&&(o(),pe(h(2,1,"notification.showLess")))}function Gc(t,s){if(t&1){let e=N();r(0,"button",27),w("click",function(){S(e);let n=u().$implicit;return T(n.expanded=!n.expanded)}),v(1,Oc,5,3)(2,zc,5,3),x()}if(t&2){let e=u().$implicit;o(),B(e.expanded?2:1)}}function Hc(t,s){if(t&1){let e=N();r(0,"div",4)(1,"div",6),l(2,"div",7),r(3,"div",8)(4,"div",9)(5,"div",10),v(6,Lc,2,0,":svg:svg",11),v(7,jc,2,0,":svg:svg",12),v(8,Nc,2,0,":svg:svg",13),v(9,Rc,2,0,":svg:svg",14),x(),r(10,"div",15)(11,"p",16),d(12),C(13,"translate"),x(),r(14,"p",17,0),d(16),C(17,"translate"),x(),v(18,Gc,3,1,"button",18),x(),r(19,"button",19),w("click",function(){let n=S(e).$implicit,a=u();return T(a.notificationService.remove(n.message))}),M(),r(20,"svg",20),l(21,"path",21),x()()()(),te(),r(22,"div",22),l(23,"div",23),x()()()}if(t&2){let e=s.$implicit,i=pt(15),n=u();o(2),g("ngClass",E0(16,Ic,e.type===n.notificationType.ERROR,e.type===n.notificationType.SUCCESS,e.type===n.notificationType.WARNING,e.type===n.notificationType.INFO)),o(3),g("ngClass",E0(21,Mc,e.type===n.notificationType.ERROR,e.type===n.notificationType.SUCCESS,e.type===n.notificationType.WARNING,e.type===n.notificationType.INFO)),o(),B(e.type===n.notificationType.ERROR?6:-1),o(),B(e.type===n.notificationType.SUCCESS?7:-1),o(),B(e.type===n.notificationType.WARNING?8:-1),o(),B(e.type===n.notificationType.INFO?9:-1),o(3),f(" ",h(13,12,"notification."+e.title)," "),o(2),xt("line-clamp-2",!e.expanded),o(2),f(" ",e.toInternationalize?h(17,14,e.message):e.message," "),o(2),B(i.scrollHeight>i.clientHeight||e.expanded?18:-1),o(5),g("ngClass",E0(26,Vc,e.type===n.notificationType.ERROR,e.type===n.notificationType.SUCCESS,e.type===n.notificationType.WARNING,e.type===n.notificationType.INFO))}}function Uc(t,s){if(t&1&&(r(0,"p",35),d(1),x()),t&2){let e=u().$implicit;o(),f(" ",e.title," ")}}function Wc(t,s){t&1&&(r(0,"span"),d(1),C(2,"translate"),x(),M(),r(3,"svg",28),l(4,"path",29),x()),t&2&&(o(),pe(h(2,1,"notification.showMore")))}function Qc(t,s){t&1&&(r(0,"span"),d(1),C(2,"translate"),x(),M(),r(3,"svg",28),l(4,"path",30),x()),t&2&&(o(),pe(h(2,1,"notification.showLess")))}function qc(t,s){if(t&1){let e=N();r(0,"button",27),w("click",function(){S(e);let n=u().$implicit;return T(n.expanded=!n.expanded)}),v(1,Wc,5,3)(2,Qc,5,3),x()}if(t&2){let e=u().$implicit;o(),B(e.expanded?2:1)}}function $c(t,s){if(t&1){let e=N();r(0,"div",5)(1,"div",6),l(2,"div",31),r(3,"div",8)(4,"div",9)(5,"div",32),M(),r(6,"svg",33),l(7,"path",34),x()(),te(),r(8,"div",15)(9,"p",16),d(10),x(),v(11,Uc,2,1,"p",35),l(12,"div",36,1),v(14,qc,3,1,"button",18),x(),r(15,"button",19),w("click",function(){let n=S(e).$implicit,a=u();return T(a.closeNotification(n))}),M(),r(16,"svg",20),l(17,"path",21),x()()()(),te(),r(18,"div",22),l(19,"div",37),x()()()}if(t&2){let e=s.$implicit,i=pt(13);o(10),f(" @",e.senderUsername," "),o(),B(e.title?11:-1),o(),xt("line-clamp-3",!e.expanded),g("innerHTML",e.message,Ve),o(2),B(i.scrollHeight>i.clientHeight||e.expanded?14:-1)}}var $r=(()=>{class t{notificationService;applicationNotificationService;securityService;el;notificationType=Zi;popNotifications=[];constructor(e,i,n,a){this.notificationService=e,this.applicationNotificationService=i,this.securityService=n,this.el=a}ngOnInit(){}ngAfterViewInit(){let e=this.el.nativeElement,i=setInterval(()=>{let n=document.querySelector("._access-icon");n&&n.parentElement&&(n.parentElement.insertBefore(e,n.nextSibling),clearInterval(i))},50);setTimeout(()=>clearInterval(i),2e3),Yt(1e4).subscribe(()=>{this.securityService.isAuthenticated()&&this.securityService.isTemporaryAccessSession()!==!0&&this.applicationNotificationService.getPop().subscribe(n=>
429{n.forEach(a=>{this.popNotifications.map(c=>c.id).includes(a.id)||this.popNotifications.push(a)})})})}closeNotification(e){this.applicationNotificationService.markAsRead(e).subscribe(i=>{this.popNotifications=this.popNotifications.filter(n=>n.id!==e.id)})}static \u0275fac=function(i){return new(i||t)(F(Ke),F(w0),F(Y),F(Fi))};static \u0275cmp=H({type:t,selectors:[["app-notification"]],decls:6,vars:0,consts:[["messageEl",""],["popMessageEl",""],["aria-live","assertive",1,"fixed","inset-0","flex","items-end","px-4","py-6","pointer-events-none","sm:p-6","sm:items-start","z-[10000]"],[1,"w-full","flex","flex-col","items-center","space-y-3","sm:items-end"],[1,"max-w-sm","w-full","pointer-events-auto","animate-in","slide-in-from-right-5","fade-in","duration-300"],[1,"max-w-md","w-full","pointer-events-auto","animate-in","slide-in-from-right-5","fade-in","duration-300"],[1,"bg-white","dark:bg-slate-800","rounded-2xl","shadow-2xl","dark:shadow-black/50","overflow-hidden"],[1,"h-1",3,"ngClass"],[1,"p-4"],[1,"flex","items-start","gap-3"],[1,"flex-shrink-0","p-2","rounded-xl",3,"ngClass"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-5","w-5","text-red-600","dark:text-red-400"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-5","w-5","text-emerald-600","dark:text-emerald-400"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-5","w-5","text-amber-600","dark:text-amber-400"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-5","w-5","text-blue-600","dark:text-blue-400"],[1,"flex-1","min-w-0","pt-0.5"],[1,"text-sm","font-semibold","text-gray-900","dark:text-white"],[1,"mt-1","text-sm","text-gray-600","dark:text-gray-300","break-words"],[1,"mt-1.5","inline-flex","items-center","gap-1","text-xs","font-medium","text-gray-500","dark:text-gray-400","hover:text-gray-700","dark:hover:text-gray-200","transition-colors","duration-200"],[1,"flex-shrink-0","p-1.5","rounded-lg","text-gray-400","dark:text-gray-500","hover:text-gray-600","dark:hover:text-gray-300","hover:bg-gray-100","dark:hover:bg-white/10","transition-all","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-4","w-4"],["stroke-linecap","round","stroke-linejoin","round","d","M6 18L18 6M6 6l12 12"],[1,"h-0.5","bg-gray-100","dark:bg-white/5"],[1,"h-full","animate-shrink-width",3,"ngClass"],["stroke-linecap","round","stroke-linejoin","round","d","M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"],["stroke-linecap","round","stroke-linejoin","round","d","M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"],["stroke-linecap","round","stroke-linejoin","round","d","M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"],[1,"mt-1.5","inline-flex","items-center","gap-1","text-xs","font-medium","text-gray-500","dark:text-gray-400","hover:text-gray-700","dark:hover:text-gray-200","transition-colors","duration-200",3,"click"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-3","w-3"],["stroke-linecap","round","stroke-linejoin","round","d","m19.5 8.25-7.5 7.5-7.5-7.5"],["stroke-linecap","round","stroke-linejoin","round","d","m4.5 15.75 7.5-7.5 7.5 7.5"],[1,"h-1","bg-gradient-to-r","from-indigo-500","to-purple-500"],[1,"flex-shrink-0","p-2","rounded-xl","bg-indigo-100","dark:bg-indigo-500/20"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"h-5","w-5","text-indigo-600","dark:text-indigo-400"],["stroke-linecap","round","stroke-linejoin","round","d","M8.625 9.75a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375m-13.5 3.01c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.184-4.183a1.14 1.14 0 0 1 .778-.332 48.294 48.294 0 0 0 5.83-.498c1.585-.233 2.708-1.626 2.708-3.228V6.741c0-1.602-1.
429123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"],[1,"mt-0.5","text-sm","text-gray-700","dark:text-gray-200"],[1,"mt-1","text-sm","text-gray-600","dark:text-gray-300","break-words",3,"innerHTML"],[1,"h-full","bg-indigo-500","animate-shrink-width"]],template:function(i,n){i&1&&(r(0,"div",2)(1,"div",3),re(2,Hc,24,31,"div",4,ae),re(4,$c,20,6,"div",5,ae),x()()),i&2&&(o(2),oe(n.notificationService.showed),o(2),oe(n.popNotifications))},dependencies:[Nt,Bt,J],styles:["@keyframes _ngcontent-%COMP%_shrink-width{0%{width:100%}to{width:0%}}.animate-shrink-width[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_shrink-width 5s linear forwards}@keyframes _ngcontent-%COMP%_slide-in-from-right{0%{opacity:0;transform:translate(1.25rem)}to{opacity:1;transform:translate(0)}}.animate-in.slide-in-from-right-5.fade-in[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slide-in-from-right .3s ease-out forwards}[_nghost-%COMP%]     .notification-card:hover{transform:translate(-4px)}"]})}return t})();var Zr=(()=>{class t{applicationTranslateService;translateService;oauthService;title;accessibilityInstance;constructor(e,i,n,a){this.applicationTranslateService=e,this.translateService=i,this.oauthService=n,this.title=a,this.applicationTranslateService.setTranslationService(i),this.applicationTranslateService.init(),Fe.ENV.oauth2&&(this.oauthService.configure(Fe.ENV.oauth2Config),this.oauthService.setupAutomaticSilentRefresh()),this.title.setTitle(ft.config?.clientName)}ngAfterViewInit(){this.accessibilityInstance=new Kr.Accessibility({textToSpeechLang:"en-US",speechToTextLang:"en-US",modules:{decreaseText:!0,increaseText:!0,invertColors:!0,increaseTextSpacing:!0,decreaseTextSpacing:!0,increaseLineHeight:!0,decreaseLineHeight:!0,grayHues:!0,underlineLinks:!0,bigCursor:!0,readingGuide:!0,textToSpeech:!0,speechToText:!0,disableAnimations:!0},labels:{resetTitle:he.getTranslation("accessibility.resetTitle"),closeTitle:he.getTranslation("accessibility.closeTitle"),menuTitle:he.getTranslation("accessibility.menuTitle"),increaseText:he.getTranslation("accessibility.increaseText"),decreaseText:he.getTranslation("accessibility.decreaseText"),increaseTextSpacing:he.getTranslation("accessibility.increaseTextSpacing"),decreaseTextSpacing:he.getTranslation("accessibility.decreaseTextSpacing"),increaseLineHeight:he.getTranslation("accessibility.increaseLineHeight"),decreaseLineHeight:he.getTranslation("accessibility.decreaseLineHeight"),invertColors:he.getTranslation("accessibility.invertColors"),grayHues:he.getTranslation("accessibility.grayHues"),underlineLinks:he.getTranslation("accessibility.underlineLinks"),bigCursor:he.getTranslation("accessibility.bigCursor"),readingGuide:he.getTranslation("accessibility.readingGuide"),textToSpeech:he.getTranslation("accessibility.textToSpeech"),speechToText:he.getTranslation("accessibility.speechToText"),disableAnimations:he.getTranslation("accessibility.disableAnimations"),hotkeyPrefix:he.getTranslation("accessibility.hotkeyPrefix")}})}static \u0275fac=function(i){return new(i||t)(F(he),F(B0),F(A0),F(Vi))};static \u0275cmp=H({type:t,selectors:[["app-root"]],decls:2,vars:0,template:function(i,n){i&1&&l(0,"router-outlet")(1,"app-notification")},dependencies:[v0,$r],encapsulation:2})}return t})();Ti(Zr,yr).catch(t=>console.error(t));

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